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