import { cs } from "../utils/styles.js";
import "../utils/index.js";
import { vui } from "../core/vui.js";
import { Box } from "../box/box.js";
import "../box/index.js";
import "../core/index.js";
import { boldTitles, stepClassName, titleColor } from "./consts.js";
import { jsx } from "react/jsx-runtime";

//#region src/stepperVertical/stepVerticalTitle.tsx
/**
* Implements vertical stepper tail (the vertical line) **
*/
const StepVerticalTitle = vui((props, ref) => {
	const { children, className, size = "md", variant = "active", ...rest } = props;
	return /* @__PURE__ */ jsx(Box, {
		className: cs(stepClassName + "Title"),
		color: titleColor[variant],
		fontSize: `${size === "md" ? 16 : 14}px`,
		fontWeight: boldTitles.includes(variant) ? 600 : void 0,
		pt: `${size === "md" ? 4 : 2}px`,
		whiteSpace: "nowrap",
		...rest,
		children
	});
});
StepVerticalTitle.displayName = "StepVerticalTitle";
var stepVerticalTitle_default = StepVerticalTitle;

//#endregion
export { stepVerticalTitle_default as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=stepVerticalTitle.js.map