import { cs } from "../utils/styles.js";
import vui from "../core/vui.js";
import Box from "../box/box.js";
import { tailClassName, variantColor } from "./consts.js";
import { jsx } from "react/jsx-runtime";

//#region src/stepperVertical/stepVerticalTail.tsx
/**
* Implements vertical stepper tail (the vertical line) **
*/
const StepVerticalTail = vui((props, ref) => {
	const { children, className, size = "md", variant = "active", ...rest } = props;
	return /* @__PURE__ */ jsx(Box, {
		borderRight: `1px solid ${variantColor[variant]}`,
		className: cs(tailClassName),
		maxW: "16px",
		minH: "100%",
		position: "absolute",
		ref,
		w: `${size === "md" ? 16 : 12}px`,
		...rest
	});
});
StepVerticalTail.displayName = "StepVerticalTail";

//#endregion
export { StepVerticalTail as default };
globalThis.__vuiVersion__ = "4.0.1"
//# sourceMappingURL=stepVerticalTail.js.map