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 { StepperHorizontalProvider } from "./context.js";
import stepperHorizontalBase_default from "./stepperHorizontalBase.js";
import { useMemo } from "react";
import { jsx } from "react/jsx-runtime";

//#region src/stepperHorizontal/stepperHorizontal.tsx
/**
* [Beta] Implements Horizontal stepper **
*/
const StepperHorizontal = vui((props, ref) => {
	const { children, className, size, ...rest } = props;
	const styles = useStyleConfig("StepperHorizontal", props);
	return /* @__PURE__ */ jsx(StepperHorizontalProvider, {
		value: useMemo(() => filterUndefined({ size }), [size]),
		children: /* @__PURE__ */ jsx(stepperHorizontalBase_default, {
			className: cs("vui-stepperHorizontal", className),
			ref,
			...styles.container,
			...rest,
			children
		})
	});
});
StepperHorizontal.displayName = "StepperHorizontal";

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