import { filterUndefined } from "../utils/object.js";
import { cs } from "../utils/styles.js";
import "../utils/index.js";
import { useStyleConfig } from "../core/theme.js";
import { vui } from "../core/vui.js";
import "../core/index.js";
import { StepperVerticalProvider } from "./context.js";
import stepperVerticalBase_default from "./stepperVerticalBase.js";
import { useMemo } from "react";
import { jsx } from "react/jsx-runtime";

//#region src/stepperVertical/stepperVertical.tsx
/**
* Implements vertical stepper **
*/
const StepperVertical = vui((props, ref) => {
	const { children, className, size, ...rest } = props;
	const styles = useStyleConfig("StepperVertical", props);
	return /* @__PURE__ */ jsx(StepperVerticalProvider, {
		value: useMemo(() => filterUndefined({ size }), [size]),
		children: /* @__PURE__ */ jsx(stepperVerticalBase_default, {
			className: cs("vui-stepperVertical", className),
			ref,
			...styles.container,
			...rest,
			children
		})
	});
});
StepperVertical.displayName = "StepperVertical";

//#endregion
export { StepperVertical };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=stepperVertical.js.map