"use strict";const s=require("react/jsx-runtime"),a=require("@chakra-ui/react"),f=require("./extract-style-props-B4hqila-.cjs.js"),x=require("./index-CVXB9mwf.cjs.js"),l=require("./utils-DVb3jcp5.cjs.js"),p=require("./useToolbar-D0DQSSBf.cjs.js"),P=require("./mergeProps-CxnHrnow.cjs.js"),h=require("./filterDOMProps-WUskt27c.cjs.js"),c=require("react"),q=c.createContext({}),C=c.forwardRef(function(e,t){[e,t]=l.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,q);let{toolbarProps:n}=p.$2680b1829e803644$export$fa142eb1681c520(e,t),o=l.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{orientation:e.orientation||"horizontal"},defaultClassName:"react-aria-Toolbar"}),r=h.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return delete r.id,c.createElement("div",{...P.$3ef42575df84b30b$export$9d1611c77c2fe928(r,o,n),ref:t,slot:e.slot||void 0,"data-orientation":e.orientation||"horizontal"},o.children)}),{withContext:m}=a.createRecipeContext({key:"toolbar"}),R=m("div"),y=({ref:i,orientation:e="horizontal",...t})=>{const n=a.useRecipe({recipe:x.toolbarRecipe}),[o,r]=n.splitVariantProps({orientation:e,...t}),[d,u]=f.extractStyleProps(r),$=a.useChakraContext().normalizeValue(e),b=a.useBreakpointValue($)??"horizontal";return s.jsx(R,{orientation:e,...o,...d,asChild:!0,children:s.jsx(C,{ref:i,orientation:b,...u})})};exports.Toolbar=y;
//# sourceMappingURL=toolbar-D4fLFiSb.cjs.js.map
