import { jsx as e } from "react/jsx-runtime";
import { $ as n } from "./Separator-DFaT-SpI.es.js";
import { createRecipeContext as f, useRecipe as m } from "@chakra-ui/react";
import { e as l } from "./extract-style-props-CMyV-es-.es.js";
import { b as x } from "./index-N3Xxo-X9.es.js";
const { withContext: P } = /* @__PURE__ */ f({ key: "nimbusSeparator" }), S = /* @__PURE__ */ P("div"), u = ({
  ref: o,
  orientation: r = "horizontal",
  ...t
}) => {
  const a = m({ recipe: x }), [p, s] = a.splitVariantProps({
    orientation: r,
    ...t
  }), [i, c] = l({
    orientation: r,
    ...s
  });
  return /* @__PURE__ */ e(S, { asChild: !0, ...p, ...i, children: /* @__PURE__ */ e(n, { ref: o, ...c }) });
};
u.displayName = "Separator";
export {
  u as S
};
//# sourceMappingURL=separator-D5lH4oxr.es.js.map
