UNPKG

liquidify-react

Version:

🚀 Production-ready React component library inspired by Apple's new design language post-WWDC 2025. Built with Panda CSS and React, using Bun as runtime (npm compatible). Helps developers maintain design consistency for Apple platform apps. 47+ components

3 lines (2 loc) • 948 B
"use strict";const r=require("react/jsx-runtime"),s=require("@ark-ui/react"),u=require("react"),c=require("./create-recipe-D4OItzir.cjs"),t=c.createRecipe("checkbox",{size:"md"},[]),i={size:["sm","md","lg"]},a=Object.keys(i),n=Object.assign(c.memo(t.recipeFn),{__recipe__:!0,__name__:"checkbox",__getCompoundVariantCss__:t.__getCompoundVariantCss__,raw:e=>e,variantKeys:a,variantMap:i,merge(e){return c.mergeRecipes(this,e)},splitVariantProps(e){return c.splitProps(e,a)},getVariantProps:t.getVariantProps}),p=u.forwardRef(({label:e,size:x,children:o,className:h,..._},b)=>{const[k,m]=n.splitVariantProps({size:x}),l=[n(k),h].filter(Boolean).join(" ");return r.jsxs(s.Checkbox.Root,{ref:b,className:l,...m,..._,children:[r.jsx(s.Checkbox.Control,{children:r.jsx(s.Checkbox.Indicator,{children:"✓"})}),(e||o)&&r.jsx(s.Checkbox.Label,{children:e||o})]})});p.displayName="Checkbox";exports.Checkbox=p; //# sourceMappingURL=checkbox-DhBp07EC.cjs.map