"use client";
import { ark } from "../factory.js";
import { useStepsContext } from "./use-steps-context.js";
import { useStepsItemPropsContext } from "./use-steps-item-props-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/steps/steps-separator.tsx
var StepsSeparator = forwardRef((props, ref) => {
	const steps = useStepsContext();
	const itemProps = useStepsItemPropsContext();
	const mergedProps = mergeProps(steps.getSeparatorProps(itemProps), props);
	return /* @__PURE__ */ jsx(ark.div, {
		...mergedProps,
		ref
	});
});
StepsSeparator.displayName = "StepsSeparator";
//#endregion
export { StepsSeparator };
