"use strict";const s=require("react/jsx-runtime"),l=require("@chakra-ui/react/styled-system"),a=require("./ToggleButton-D3aar_By.cjs.js"),d=require("./extract-style-props-DVhOcGEi.cjs.js"),p=require("@chakra-ui/react"),g=require("./emotion-is-prop-valid.esm-ux_11lix.cjs.js"),P=require("./index-Dzrt5_tw.cjs.js"),{withContext:y}=p.createRecipeContext({key:"nimbusToggleButton"}),x=y("button",{defaultProps:{type:"button"},shouldForwardProp(e,t){const o=!t?.includes(e)&&!P.system.isValidProperty(e);return g.isPropValid(e)&&o&&!e.includes("onPress")}}),r=({ref:e,...t})=>{const o=l.useRecipe({key:"nimbusToggleButton"}),[n,i]=o.splitVariantProps(t),[c,u]=d.extractStyleProps(i);return s.jsx(x,{...n,...c,asChild:!0,children:s.jsx(a.$efde0372d7a700fe$export$d2b052e7b4be1756,{ref:e,...u})})};r.displayName="ToggleButton";exports.ToggleButton=r;
//# sourceMappingURL=toggle-button-CtCn05Nm.cjs.js.map
