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) • 1.02 kB
JavaScript
;const e=require("react/jsx-runtime"),s=require("@ark-ui/react"),V=require("react"),a=require("./create-recipe-D4OItzir.cjs"),t=a.createRecipe("progress-linear",{size:"md"},[]),c={size:["sm","md","lg"]},i=Object.keys(c),o=Object.assign(a.memo(t.recipeFn),{__recipe__:!0,__name__:"progressLinear",__getCompoundVariantCss__:t.__getCompoundVariantCss__,raw:r=>r,variantKeys:i,variantMap:c,merge(r){return a.mergeRecipes(this,r)},splitVariantProps(r){return a.splitProps(r,i)},getVariantProps:t.getVariantProps}),p=V.forwardRef(({label:r,value:g=0,max:_=100,size:P,children:n,className:m,...u},l)=>{const[j,L]=o.splitVariantProps({size:P});return e.jsxs(s.Progress.Root,{ref:l,className:[o(j),m].filter(Boolean).join(" "),value:g,max:_,...L,...u,children:[(r||n)&&e.jsx(s.Progress.Label,{children:r||n}),e.jsx(s.Progress.Track,{children:e.jsx(s.Progress.Range,{})}),e.jsx(s.Progress.ValueText,{})]})});p.displayName="ProgressLinear";exports.ProgressLinear=p;
//# sourceMappingURL=progressLinear-CVanAIHn.cjs.map