@me1a/ui 2.0.15 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkIPKT3LIP_js=require('./chunk-IPKT3LIP.js'),chunkGH5JAZCC_js=require('./chunk-GH5JAZCC.js'),chunkKITWXTCP_js=require('./chunk-KITWXTCP.js'),chunkNCY2ZNET_js=require('./chunk-NCY2ZNET.js'),y=require('react'),classVarianceAuthority=require('class-variance-authority'),lucideReact=require('lucide-react'),jsxRuntime=require('react/jsx-runtime'),m=require('@radix-ui/react-dialog'),f=require('@radix-ui/react-avatar');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var y__namespace=/*#__PURE__*/_interopNamespace(y);var m__namespace=/*#__PURE__*/_interopNamespace(m);var f__namespace=/*#__PURE__*/_interopNamespace(f);var K=classVarianceAuthority.cva("w-full",{variants:{variant:{default:"",error:"border-destructive focus-visible:ring-destructive"},size:{default:"h-10",sm:"h-8 text-xs",lg:"h-12 text-base"}},defaultVariants:{variant:"default",size:"default"}}),E=y__namespace.forwardRef((X,D)=>{var u=X,{className:o,variant:t,size:e,startIcon:r,endIcon:a,loading:l=false,error:d,label:p,helperText:c,disabled:g}=u,h=chunkNCY2ZNET_js.c(u,["className","variant","size","startIcon","endIcon","loading","error","label","helperText","disabled"]);let A=y__namespace.useId();return jsxRuntime.jsxs("div",{className:"w-full space-y-2",children:[p&&jsxRuntime.jsx(chunkIPKT3LIP_js.a,{htmlFor:A,children:p}),jsxRuntime.jsxs("div",{className:"relative",children:[r&&jsxRuntime.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:r}),jsxRuntime.jsx(chunkGH5JAZCC_js.a,chunkNCY2ZNET_js.a({id:A,className:chunkKITWXTCP_js.a(K({variant:d?"error":t,size:e,className:o}),r&&"pl-9",(a||l)&&"pr-9"),ref:D,disabled:g||l},h)),(a||l)&&jsxRuntime.jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:l?jsxRuntime.jsx(lucideReact.Loader2,{className:"h-4 w-4 animate-spin"}):a})]}),(d||c)&&jsxRuntime.jsx("p",{className:chunkKITWXTCP_js.a("text-sm",d?"text-destructive":"text-muted-foreground"),children:d||c})]})});E.displayName="TextField";var Q=y__namespace.forwardRef((d,l)=>{var p=d,{className:o,maxWidth:t="lg",disablePadding:e=false,fluid:r=false}=p,a=chunkNCY2ZNET_js.c(p,["className","maxWidth","disablePadding","fluid"]);return jsxRuntime.jsx("div",chunkNCY2ZNET_js.a({ref:l,className:chunkKITWXTCP_js.a("mx-auto w-full",!e&&"px-4 sm:px-6 lg:px-8",!r&&{"max-w-screen-sm":t==="sm","max-w-screen-md":t==="md","max-w-screen-lg":t==="lg","max-w-screen-xl":t==="xl","max-w-full":t==="full"},o)},a))});Q.displayName="Container";var Y=y__namespace.forwardRef((p,d)=>{var c=p,{as:o="div",className:t,width:e,height:r,style:a}=c,l=chunkNCY2ZNET_js.c(c,["as","className","width","height","style"]);let g=chunkNCY2ZNET_js.a({width:typeof e=="number"?`${e}px`:e,height:typeof r=="number"?`${r}px`:r},a);return jsxRuntime.jsx(o,chunkNCY2ZNET_js.a({ref:d,className:chunkKITWXTCP_js.a(t),style:g},l))});Y.displayName="Box";var _=y__namespace.forwardRef((X,D)=>{var u=X,{className:o,direction:t="vertical",spacing:e="md",wrap:r=false,center:a=false,justify:l,align:d,width:p,height:c,style:g}=u,h=chunkNCY2ZNET_js.c(u,["className","direction","spacing","wrap","center","justify","align","width","height","style"]);return jsxRuntime.jsx("div",chunkNCY2ZNET_js.a({ref:D,className:chunkKITWXTCP_js.a("flex",t==="vertical"?"flex-col":"flex-row",{"gap-0":e==="none","gap-1":e==="xs","gap-2":e==="sm","gap-4":e==="md","gap-6":e==="lg","gap-8":e==="xl"},r&&"flex-wrap",a&&"items-center justify-center",l&&{"justify-start":l==="start","justify-end":l==="end","justify-center":l==="center","justify-between":l==="between","justify-around":l==="around","justify-evenly":l==="evenly"},d&&{"items-start":d==="start","items-end":d==="end","items-center":d==="center","items-stretch":d==="stretch","items-baseline":d==="baseline"},o),style:chunkNCY2ZNET_js.a({width:p,height:c},g)},h))});_.displayName="Stack";var Oe=m__namespace.Root,Se=m__namespace.Trigger,te=m__namespace.Portal,$e=m__namespace.Close,V=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(m__namespace.Overlay,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",o)},t))});V.displayName=m__namespace.Overlay.displayName;var ae=y__namespace.forwardRef((a,r)=>{var l=a,{className:o,children:t}=l,e=chunkNCY2ZNET_js.c(l,["className","children"]);return jsxRuntime.jsxs(te,{children:[jsxRuntime.jsx(V,{}),jsxRuntime.jsxs(m__namespace.Content,chunkNCY2ZNET_js.b(chunkNCY2ZNET_js.a({ref:r,className:chunkKITWXTCP_js.a("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",o)},e),{children:[t,jsxRuntime.jsxs(m__namespace.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]}))]})});ae.displayName=m__namespace.Content.displayName;var re=e=>{var r=e,{className:o}=r,t=chunkNCY2ZNET_js.c(r,["className"]);return jsxRuntime.jsx("div",chunkNCY2ZNET_js.a({className:chunkKITWXTCP_js.a("flex flex-col space-y-1.5 text-center sm:text-left",o)},t))};re.displayName="DialogHeader";var oe=e=>{var r=e,{className:o}=r,t=chunkNCY2ZNET_js.c(r,["className"]);return jsxRuntime.jsx("div",chunkNCY2ZNET_js.a({className:chunkKITWXTCP_js.a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",o)},t))};oe.displayName="DialogFooter";var ie=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(m__namespace.Title,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("text-lg font-semibold leading-none tracking-tight",o)},t))});ie.displayName=m__namespace.Title.displayName;var se=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(m__namespace.Description,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("text-sm text-muted-foreground",o)},t))});se.displayName=m__namespace.Description.displayName;var z=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(f__namespace.Root,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",o)},t))});z.displayName=f__namespace.Root.displayName;var B=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(f__namespace.Image,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("aspect-square h-full w-full",o)},t))});B.displayName=f__namespace.Image.displayName;var I=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(f__namespace.Fallback,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("flex h-full w-full items-center justify-center rounded-full bg-muted",o)},t))});I.displayName=f__namespace.Fallback.displayName;var T=classVarianceAuthority.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-500 text-white hover:bg-green-500/80",warning:"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80",info:"border-transparent bg-blue-500 text-white hover:bg-blue-500/80"},size:{default:"h-5",sm:"h-4 text-[10px]",lg:"h-6 text-sm"}},defaultVariants:{variant:"default",size:"default"}});var $=y__namespace.forwardRef((c,p)=>{var g=c,{className:o,variant:t,size:e,icon:r,iconAfter:a,children:l}=g,d=chunkNCY2ZNET_js.c(g,["className","variant","size","icon","iconAfter","children"]);return jsxRuntime.jsxs("div",chunkNCY2ZNET_js.b(chunkNCY2ZNET_js.a({ref:p,className:chunkKITWXTCP_js.a(T({variant:t,size:e}),o)},d),{children:[r&&jsxRuntime.jsx("span",{className:"mr-1",children:r}),l,a&&jsxRuntime.jsx("span",{className:"ml-1",children:a})]}))});$.displayName="Badge";var de=classVarianceAuthority.cva("",{variants:{variant:{h1:"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl",h2:"scroll-m-20 text-3xl font-semibold tracking-tight",h3:"scroll-m-20 text-2xl font-semibold tracking-tight",h4:"scroll-m-20 text-xl font-semibold tracking-tight",h5:"scroll-m-20 text-lg font-semibold tracking-tight",h6:"scroll-m-20 text-base font-semibold tracking-tight",p:"leading-7 [&:not(:first-child)]:mt-6",blockquote:"mt-6 border-l-2 border-slate-300 pl-6 italic",list:"my-6 ml-6 list-disc [&>li]:mt-2",lead:"text-xl text-muted-foreground",large:"text-lg font-semibold",small:"text-sm font-medium leading-none",muted:"text-sm text-muted-foreground"},align:{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"}},defaultVariants:{variant:"p",align:"left"}}),pe=y__namespace.forwardRef((d,l)=>{var p=d,{className:o,variant:t,align:e,as:r="p"}=p,a=chunkNCY2ZNET_js.c(p,["className","variant","align","as"]);return jsxRuntime.jsx(r,chunkNCY2ZNET_js.a({className:chunkKITWXTCP_js.a(de({variant:t,align:e,className:o})),ref:l},a))});pe.displayName="Typography";function ct({className:o,size:t="default",text:e,color:r="primary"}){let a={sm:"h-4 w-4",default:"h-8 w-8",lg:"h-12 w-12"},d={primary:"text-primary",secondary:"text-secondary",accent:"text-accent",muted:"text-muted-foreground",destructive:"text-destructive"}[r]||`text-[${r}]`;return jsxRuntime.jsxs("div",{className:chunkKITWXTCP_js.a("fixed inset-0 z-50 flex min-h-screen flex-col items-center justify-center bg-background/80 backdrop-blur-sm",o),role:"alert","aria-live":"assertive",children:[jsxRuntime.jsx(lucideReact.Loader2,{className:chunkKITWXTCP_js.a("animate-spin",d,a[t]),"aria-hidden":"true"}),e&&jsxRuntime.jsx("p",{className:"mt-4 text-sm text-muted-foreground","aria-label":e,children:e})]})}exports.a=E;exports.b=Q;exports.c=Y;exports.d=_;exports.e=Oe;exports.f=Se;exports.g=te;exports.h=$e;exports.i=V;exports.j=ae;exports.k=re;exports.l=oe;exports.m=ie;exports.n=se;exports.o=z;exports.p=B;exports.q=I;exports.r=T;exports.s=$;exports.t=de;exports.u=pe;exports.v=ct;//# sourceMappingURL=chunk-V6ISJWM6.js.map
2
- //# sourceMappingURL=chunk-V6ISJWM6.js.map
1
+ 'use strict';var chunkIPKT3LIP_js=require('./chunk-IPKT3LIP.js'),chunkGH5JAZCC_js=require('./chunk-GH5JAZCC.js'),chunkKITWXTCP_js=require('./chunk-KITWXTCP.js'),chunkNCY2ZNET_js=require('./chunk-NCY2ZNET.js'),y=require('react'),classVarianceAuthority=require('class-variance-authority'),lucideReact=require('lucide-react'),jsxRuntime=require('react/jsx-runtime'),m=require('@radix-ui/react-dialog'),f=require('@radix-ui/react-avatar');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var y__namespace=/*#__PURE__*/_interopNamespace(y);var m__namespace=/*#__PURE__*/_interopNamespace(m);var f__namespace=/*#__PURE__*/_interopNamespace(f);var K=classVarianceAuthority.cva("w-full",{variants:{variant:{default:"",error:"border-destructive focus-visible:ring-destructive"},size:{default:"h-10",sm:"h-8 text-xs",lg:"h-12 text-base"}},defaultVariants:{variant:"default",size:"default"}}),E=y__namespace.forwardRef((X,D)=>{var u=X,{className:o,variant:t,size:e,startIcon:r,endIcon:a,loading:l=false,error:d,label:p,helperText:c,disabled:g}=u,h=chunkNCY2ZNET_js.c(u,["className","variant","size","startIcon","endIcon","loading","error","label","helperText","disabled"]);let A=y__namespace.useId();return jsxRuntime.jsxs("div",{className:"w-full space-y-2",children:[p&&jsxRuntime.jsx(chunkIPKT3LIP_js.a,{htmlFor:A,children:p}),jsxRuntime.jsxs("div",{className:"relative",children:[r&&jsxRuntime.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:r}),jsxRuntime.jsx(chunkGH5JAZCC_js.a,chunkNCY2ZNET_js.a({id:A,className:chunkKITWXTCP_js.a(K({variant:d?"error":t,size:e,className:o}),r&&"pl-9",(a||l)&&"pr-9"),ref:D,disabled:g||l},h)),(a||l)&&jsxRuntime.jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:l?jsxRuntime.jsx(lucideReact.Loader2,{className:"h-4 w-4 animate-spin"}):a})]}),(d||c)&&jsxRuntime.jsx("p",{className:chunkKITWXTCP_js.a("text-sm",d?"text-destructive":"text-muted-foreground"),children:d||c})]})});E.displayName="TextField";var Q=y__namespace.forwardRef((d,l)=>{var p=d,{className:o,maxWidth:t="lg",disablePadding:e=false,fluid:r=false}=p,a=chunkNCY2ZNET_js.c(p,["className","maxWidth","disablePadding","fluid"]);return jsxRuntime.jsx("div",chunkNCY2ZNET_js.a({ref:l,className:chunkKITWXTCP_js.a("mx-auto w-full",!e&&"px-4 sm:px-6 lg:px-8",!r&&{"max-w-screen-sm":t==="sm","max-w-screen-md":t==="md","max-w-screen-lg":t==="lg","max-w-screen-xl":t==="xl","max-w-full":t==="full"},o)},a))});Q.displayName="Container";var Y=y__namespace.forwardRef((p,d)=>{var c=p,{as:o="div",className:t,width:e,height:r,style:a}=c,l=chunkNCY2ZNET_js.c(c,["as","className","width","height","style"]);let g=chunkNCY2ZNET_js.a({width:typeof e=="number"?`${e}px`:e,height:typeof r=="number"?`${r}px`:r},a);return jsxRuntime.jsx(o,chunkNCY2ZNET_js.a({ref:d,className:chunkKITWXTCP_js.a(t),style:g},l))});Y.displayName="Box";var _=y__namespace.forwardRef((X,D)=>{var u=X,{className:o,direction:t="vertical",spacing:e="md",wrap:r=false,center:a=false,justify:l,align:d,width:p,height:c,style:g}=u,h=chunkNCY2ZNET_js.c(u,["className","direction","spacing","wrap","center","justify","align","width","height","style"]);return jsxRuntime.jsx("div",chunkNCY2ZNET_js.a({ref:D,className:chunkKITWXTCP_js.a("flex",t==="vertical"?"flex-col":"flex-row",{"gap-0":e==="none","gap-1":e==="xs","gap-2":e==="sm","gap-4":e==="md","gap-6":e==="lg","gap-8":e==="xl"},r&&"flex-wrap",a&&"items-center justify-center",l&&{"justify-start":l==="start","justify-end":l==="end","justify-center":l==="center","justify-between":l==="between","justify-around":l==="around","justify-evenly":l==="evenly"},d&&{"items-start":d==="start","items-end":d==="end","items-center":d==="center","items-stretch":d==="stretch","items-baseline":d==="baseline"},o),style:chunkNCY2ZNET_js.a({width:p,height:c},g)},h))});_.displayName="Stack";var Oe=m__namespace.Root,Se=m__namespace.Trigger,te=m__namespace.Portal,$e=m__namespace.Close,V=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(m__namespace.Overlay,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",o)},t))});V.displayName=m__namespace.Overlay.displayName;var ae=y__namespace.forwardRef((a,r)=>{var l=a,{className:o,children:t}=l,e=chunkNCY2ZNET_js.c(l,["className","children"]);return jsxRuntime.jsxs(te,{children:[jsxRuntime.jsx(V,{}),jsxRuntime.jsxs(m__namespace.Content,chunkNCY2ZNET_js.b(chunkNCY2ZNET_js.a({ref:r,className:chunkKITWXTCP_js.a("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",o)},e),{children:[t,jsxRuntime.jsxs(m__namespace.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]}))]})});ae.displayName=m__namespace.Content.displayName;var re=e=>{var r=e,{className:o}=r,t=chunkNCY2ZNET_js.c(r,["className"]);return jsxRuntime.jsx("div",chunkNCY2ZNET_js.a({className:chunkKITWXTCP_js.a("flex flex-col space-y-1.5 text-center sm:text-left",o)},t))};re.displayName="DialogHeader";var oe=e=>{var r=e,{className:o}=r,t=chunkNCY2ZNET_js.c(r,["className"]);return jsxRuntime.jsx("div",chunkNCY2ZNET_js.a({className:chunkKITWXTCP_js.a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",o)},t))};oe.displayName="DialogFooter";var ie=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(m__namespace.Title,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("text-lg font-semibold leading-none tracking-tight",o)},t))});ie.displayName=m__namespace.Title.displayName;var se=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(m__namespace.Description,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("text-sm text-muted-foreground",o)},t))});se.displayName=m__namespace.Description.displayName;var z=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(f__namespace.Root,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",o)},t))});z.displayName=f__namespace.Root.displayName;var B=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(f__namespace.Image,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("aspect-square h-full w-full",o)},t))});B.displayName=f__namespace.Image.displayName;var I=y__namespace.forwardRef((r,e)=>{var a=r,{className:o}=a,t=chunkNCY2ZNET_js.c(a,["className"]);return jsxRuntime.jsx(f__namespace.Fallback,chunkNCY2ZNET_js.a({ref:e,className:chunkKITWXTCP_js.a("flex h-full w-full items-center justify-center rounded-full bg-muted",o)},t))});I.displayName=f__namespace.Fallback.displayName;var T=classVarianceAuthority.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-500 text-white hover:bg-green-500/80",warning:"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80",info:"border-transparent bg-blue-500 text-white hover:bg-blue-500/80"},size:{default:"h-5",sm:"h-4 text-[10px]",lg:"h-6 text-sm"}},defaultVariants:{variant:"default",size:"default"}});var $=y__namespace.forwardRef((c,p)=>{var g=c,{className:o,variant:t,size:e,icon:r,iconAfter:a,children:l}=g,d=chunkNCY2ZNET_js.c(g,["className","variant","size","icon","iconAfter","children"]);return jsxRuntime.jsxs("div",chunkNCY2ZNET_js.b(chunkNCY2ZNET_js.a({ref:p,className:chunkKITWXTCP_js.a(T({variant:t,size:e}),o)},d),{children:[r&&jsxRuntime.jsx("span",{className:"mr-1",children:r}),l,a&&jsxRuntime.jsx("span",{className:"ml-1",children:a})]}))});$.displayName="Badge";var de=classVarianceAuthority.cva("",{variants:{variant:{h1:"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl",h2:"scroll-m-20 text-3xl font-semibold tracking-tight",h3:"scroll-m-20 text-2xl font-semibold tracking-tight",h4:"scroll-m-20 text-xl font-semibold tracking-tight",h5:"scroll-m-20 text-lg font-semibold tracking-tight",h6:"scroll-m-20 text-base font-semibold tracking-tight",p:"leading-7 [&:not(:first-child)]:mt-6",blockquote:"mt-6 border-l-2 border-slate-300 pl-6 italic",list:"my-6 ml-6 list-disc [&>li]:mt-2",lead:"text-xl text-muted-foreground",large:"text-lg font-semibold",small:"text-sm font-medium leading-none",muted:"text-sm text-muted-foreground"},align:{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"}},defaultVariants:{variant:"p",align:"left"}}),pe=y__namespace.forwardRef((d,l)=>{var p=d,{className:o,variant:t,align:e,as:r="p"}=p,a=chunkNCY2ZNET_js.c(p,["className","variant","align","as"]);return jsxRuntime.jsx(r,chunkNCY2ZNET_js.a({className:chunkKITWXTCP_js.a(de({variant:t,align:e,className:o})),ref:l},a))});pe.displayName="Typography";function ct({className:o,size:t="default",text:e,color:r="primary"}){let a={sm:"h-4 w-4",default:"h-8 w-8",lg:"h-12 w-12"},d={primary:"text-primary",secondary:"text-secondary",accent:"text-accent",muted:"text-muted-foreground",destructive:"text-destructive"}[r]||`text-[${r}]`;return jsxRuntime.jsxs("div",{className:chunkKITWXTCP_js.a("fixed inset-0 z-50 flex min-h-screen flex-col items-center justify-center bg-background/80 backdrop-blur-sm",o),role:"alert","aria-live":"assertive",children:[jsxRuntime.jsx(lucideReact.Loader2,{className:chunkKITWXTCP_js.a("animate-spin",d,a[t]),"aria-hidden":"true"}),e&&jsxRuntime.jsx("p",{className:"mt-4 text-sm text-muted-foreground","aria-label":e,children:e})]})}exports.a=E;exports.b=Q;exports.c=Y;exports.d=_;exports.e=Oe;exports.f=Se;exports.g=te;exports.h=$e;exports.i=V;exports.j=ae;exports.k=re;exports.l=oe;exports.m=ie;exports.n=se;exports.o=z;exports.p=B;exports.q=I;exports.r=T;exports.s=$;exports.t=de;exports.u=pe;exports.v=ct;//# sourceMappingURL=chunk-BHENTOFB.js.map
2
+ //# sourceMappingURL=chunk-BHENTOFB.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/atoms/text-field/text-field.tsx","../src/components/atoms/container/container.tsx","../src/components/atoms/box/box.tsx","../src/components/atoms/stack/stack.tsx","../src/components/atoms/dialog/dialog.tsx","../src/components/atoms/avatar/avatar.tsx","../src/components/atoms/badge/badge.variants.ts","../src/components/atoms/badge/badge.tsx","../src/components/atoms/typography/typography.tsx","../src/components/atoms/page-loader/page-loader.tsx"],"names":["textFieldVariants","cva","TextField","P","_a","ref","_b","className","variant","size","startIcon","endIcon","loading","error","label","helperText","disabled","props","__objRest","id","jsxs","jsx","Label","Input","__spreadValues","cn","Loader2","Container","H","maxWidth","disablePadding","fluid","Box","F","Component","width","height","style","dimensionStyles","Stack","M","direction","spacing","wrap","center","justify","align","Dialog","m","DialogTrigger","DialogPortal","DialogClose","DialogOverlay","y","DialogContent","children","__spreadProps","X","DialogHeader","DialogFooter","DialogTitle","DialogDescription","Avatar","R","f","AvatarImage","AvatarFallback","badgeVariants","Badge","S","icon","iconAfter","typographyVariants","Typography","q","PageLoader","text","color","sizeClasses","loaderColor"],"mappings":"+3BAYMA,IAAAA,CAAAA,CAAoBC,0BAAI,CAAA,QAAA,CAAU,CACtC,QAAU,CAAA,CACR,OAAS,CAAA,CACP,QAAS,EACT,CAAA,KAAA,CAAO,mDACT,CAAA,CACA,KAAM,CACJ,OAAA,CAAS,MACT,CAAA,EAAA,CAAI,cACJ,EAAI,CAAA,gBACN,CACF,CAAA,CACA,eAAiB,CAAA,CACf,OAAS,CAAA,SAAA,CACT,KAAM,SACR,CACF,CAAC,CAAA,CAyBKC,EAAkBC,YACtB,CAAA,UAAA,CAAA,CACEC,CAaAC,CAAAA,CAAAA,GACG,CAdH,IAAAC,CAAAA,CAAAF,CACE,CAAA,CAAA,SAAA,CAAAG,EACA,OAAAC,CAAAA,CAAAA,CACA,IAAAC,CAAAA,CAAAA,CACA,UAAAC,CACA,CAAA,OAAA,CAAAC,CACA,CAAA,OAAA,CAAAC,EAAU,KACV,CAAA,KAAA,CAAAC,CACA,CA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AAA,CAAc,CAClB,EAAA,CAAI,UACJ,OAAS,CAAA,SAAA,CACT,EAAI,CAAA,WACN,EAUMC,CARe,CAAA,CACnB,OAAS,CAAA,cAAA,CACT,UAAW,gBACX,CAAA,MAAA,CAAQ,aACR,CAAA,KAAA,CAAO,wBACP,WAAa,CAAA,kBACf,CAEiCF,CAAAA,CAAkC,GAAK,CAASA,MAAAA,EAAAA,CAAK,CAEtF,CAAA,CAAA,CAAA,OACEzD,gBAAC,KACC,CAAA,CAAA,SAAA,CAAWK,kBACT,CAAA,6GAAA,CACAlB,CACF,CACA,CAAA,IAAA,CAAK,OACL,CAAA,WAAA,CAAU,YAEV,QAAAc,CAAAA,CAAAA,cAAAA,CAACK,mBAAA,CAAA,CAAQ,UAAWD,kBAAG,CAAA,cAAA,CAAgBsD,CAAaD,CAAAA,CAAAA,CAAYrE,CAAI,CAAC,CAAA,CAAG,aAAY,CAAA,MAAA,CAAO,EAC1FmE,CACCvD,EAAAA,cAAAA,CAAC,GAAE,CAAA,CAAA,SAAA,CAAU,qCAAqC,YAAYuD,CAAAA,CAAAA,CAC3D,QAAAA,CAAAA,CAAAA,CACH,GAEJ,CAEJ","file":"chunk-V6ISJWM6.js","sourcesContent":["import * as React from \"react\"\nimport { cva } from \"class-variance-authority\"\nimport { cn } from \"@/utils/cn\"\nimport { TextFieldProps } from \"./text-field.types\"\nimport { Loader2 } from \"lucide-react\"\nimport { Input } from \"../input\"\nimport { Label } from \"../label\"\n\n/**\n * Text field variant styles using class-variance-authority.\n * Defines the visual styles for different text field variants and sizes.\n */\nconst textFieldVariants = cva(\"w-full\", {\n variants: {\n variant: {\n default: \"\",\n error: \"border-destructive focus-visible:ring-destructive\"\n },\n size: {\n default: \"h-10\",\n sm: \"h-8 text-xs\",\n lg: \"h-12 text-base\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n})\n\n/**\n * A versatile text field component that supports multiple variants, sizes, and icons.\n * Built on top of shadcn/ui's Input component.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-text-field--docs\n *\n * @component\n * @example\n * ```tsx\n * // Default text field\n * <TextField placeholder=\"Enter text\" />\n *\n * // With icons\n * <TextField startIcon={<SearchIcon />} placeholder=\"Search...\" />\n * <TextField endIcon={<CalendarIcon />} placeholder=\"Select date\" />\n *\n * // With loading state\n * <TextField loading placeholder=\"Loading...\" />\n *\n * // With error\n * <TextField error=\"Invalid input\" placeholder=\"Enter text\" />\n * ```\n */\nconst TextField = React.forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n className,\n variant,\n size,\n startIcon,\n endIcon,\n loading = false,\n error,\n label,\n helperText,\n disabled,\n ...props\n },\n ref\n ) => {\n const id = React.useId()\n\n return (\n <div className=\"w-full space-y-2\">\n {label && <Label htmlFor={id}>{label}</Label>}\n <div className=\"relative\">\n {startIcon && (\n <div className=\"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground\">\n {startIcon}\n </div>\n )}\n <Input\n id={id}\n className={cn(\n textFieldVariants({ variant: error ? \"error\" : variant, size, className }),\n startIcon && \"pl-9\",\n (endIcon || loading) && \"pr-9\"\n )}\n ref={ref}\n disabled={disabled || loading}\n {...props}\n />\n {(endIcon || loading) && (\n <div className=\"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground\">\n {loading ? <Loader2 className=\"h-4 w-4 animate-spin\" /> : endIcon}\n </div>\n )}\n </div>\n {(error || helperText) && (\n <p className={cn(\"text-sm\", error ? \"text-destructive\" : \"text-muted-foreground\")}>\n {error || helperText}\n </p>\n )}\n </div>\n )\n }\n)\n\nTextField.displayName = \"TextField\"\n\nexport { TextField, textFieldVariants }\n","/**\n * Container is a layout component that provides a centered, max-width wrapper for content.\n * It's designed to create consistent horizontal padding and maximum widths across different screen sizes.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-container--docs\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Container>\n * <h1>Page Title</h1>\n * <p>Content goes here...</p>\n * </Container>\n *\n * // With custom max width\n * <Container maxWidth=\"xl\">\n * <h1>Wider Content</h1>\n * </Container>\n *\n * // Fluid container (no max-width)\n * <Container fluid>\n * <h1>Full Width Content</h1>\n * </Container>\n *\n * // Without padding\n * <Container disablePadding>\n * <h1>No Padding Content</h1>\n * </Container>\n * ```\n */\nimport { cn } from \"@/utils\"\nimport * as React from \"react\"\n\nexport interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The maximum width of the container.\n * - \"sm\": 640px\n * - \"md\": 768px\n * - \"lg\": 1024px\n * - \"xl\": 1280px\n * - \"full\": 100%\n * - false: No max-width (fluid)\n *\n * @default \"lg\"\n */\n maxWidth?: \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | false\n /**\n * Whether to disable the default horizontal padding.\n * When true, removes the default padding (px-4 sm:px-6 lg:px-8).\n *\n * @default false\n */\n disablePadding?: boolean\n /**\n * Whether to make the container fluid (no max-width).\n * When true, the container will expand to fill its parent's width.\n *\n * @default false\n */\n fluid?: boolean\n}\n\nconst Container = React.forwardRef<HTMLDivElement, ContainerProps>(\n ({ className, maxWidth = \"lg\", disablePadding = false, fluid = false, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n // Base styles\n \"mx-auto w-full\",\n // Padding\n !disablePadding && \"px-4 sm:px-6 lg:px-8\",\n // Max width\n !fluid && {\n \"max-w-screen-sm\": maxWidth === \"sm\",\n \"max-w-screen-md\": maxWidth === \"md\",\n \"max-w-screen-lg\": maxWidth === \"lg\",\n \"max-w-screen-xl\": maxWidth === \"xl\",\n \"max-w-full\": maxWidth === \"full\"\n },\n className\n )}\n {...props}\n />\n )\n }\n)\n\nContainer.displayName = \"Container\"\n\nexport { Container }\n","/**\n * Box is a fundamental layout component that serves as a building block for other components.\n * It's a polymorphic component that can render as different HTML elements while maintaining\n * consistent styling and behavior.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-box--docs\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Box>Content</Box>\n *\n * // As a different element\n * <Box as=\"section\">Section content</Box>\n *\n * // With custom className\n * <Box className=\"bg-primary text-white p-4\">Styled content</Box>\n *\n * // With custom dimensions\n * <Box width=\"100px\" height=\"200px\">Fixed size content</Box>\n * <Box width=\"50%\" height=\"auto\">Responsive content</Box>\n * ```\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\ntype BoxComponent =\n | \"div\"\n | \"span\"\n | \"section\"\n | \"article\"\n | \"main\"\n | \"aside\"\n | \"header\"\n | \"footer\"\n | \"nav\"\n\ntype DimensionValue = string | number\n\nexport interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The HTML element to render the Box as.\n * This allows for semantic HTML while maintaining consistent styling.\n *\n * @default \"div\"\n */\n as?: BoxComponent\n\n /**\n * The width of the Box component.\n * Can be a number (interpreted as pixels) or a string (e.g., \"100%\", \"50px\", \"10rem\").\n */\n width?: DimensionValue\n\n /**\n * The height of the Box component.\n * Can be a number (interpreted as pixels) or a string (e.g., \"100%\", \"50px\", \"10rem\").\n */\n height?: DimensionValue\n}\n\nconst Box = React.forwardRef<HTMLDivElement, BoxProps>(\n ({ as: Component = \"div\", className, width, height, style, ...props }, ref) => {\n const dimensionStyles = {\n width: typeof width === \"number\" ? `${width}px` : width,\n height: typeof height === \"number\" ? `${height}px` : height,\n ...style\n }\n\n return <Component ref={ref} className={cn(className)} style={dimensionStyles} {...props} />\n }\n)\n\nBox.displayName = \"Box\"\n\nexport { Box }\n","/**\n * Stack is a layout component that arranges its children in a vertical or horizontal stack\n * with consistent spacing between items. It's built on top of Flexbox and provides\n * a simple way to create consistent layouts.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-stack--docs\n *\n * @example\n * ```tsx\n * // Basic vertical stack\n * <Stack>\n * <div>Item 1</div>\n * <div>Item 2</div>\n * <div>Item 3</div>\n * </Stack>\n *\n * // Horizontal stack with custom spacing\n * <Stack direction=\"horizontal\" spacing=\"lg\">\n * <div>Item 1</div>\n * <div>Item 2</div>\n * </Stack>\n *\n * // Centered stack with wrapping\n * <Stack direction=\"horizontal\" center wrap>\n * <div>Item 1</div>\n * <div>Item 2</div>\n * <div>Item 3</div>\n * </Stack>\n *\n * // Stack with custom alignment\n * <Stack align=\"center\" justify=\"between\">\n * <div>Left</div>\n * <div>Center</div>\n * <div>Right</div>\n * </Stack>\n *\n * // Stack with custom dimensions\n * <Stack width=\"100%\" height=\"200px\">\n * <div>Full width, fixed height stack</div>\n * </Stack>\n * ```\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\nexport interface StackProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The direction in which to stack the items.\n * - \"vertical\": Items are stacked top to bottom\n * - \"horizontal\": Items are stacked left to right\n *\n * @default \"vertical\"\n */\n direction?: \"vertical\" | \"horizontal\"\n /**\n * The spacing between items in the stack.\n * - \"none\": 0px\n * - \"xs\": 0.25rem (4px)\n * - \"sm\": 0.5rem (8px)\n * - \"md\": 1rem (16px)\n * - \"lg\": 1.5rem (24px)\n * - \"xl\": 2rem (32px)\n *\n * @default \"md\"\n */\n spacing?: \"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"\n /**\n * Whether to allow items to wrap to the next line when they don't fit.\n * Only applies to horizontal stacks.\n *\n * @default false\n */\n wrap?: boolean\n /**\n * Whether to center items both horizontally and vertically.\n * This is a shorthand for setting both align and justify to \"center\".\n *\n * @default false\n */\n center?: boolean\n /**\n * How to justify items along the main axis.\n * - \"start\": Items are packed toward the start\n * - \"end\": Items are packed toward the end\n * - \"center\": Items are centered\n * - \"between\": Items are evenly distributed with first item at start and last at end\n * - \"around\": Items are evenly distributed with equal space around them\n * - \"evenly\": Items are distributed so that the spacing between any two items is equal\n *\n * @default undefined\n */\n justify?: \"start\" | \"end\" | \"center\" | \"between\" | \"around\" | \"evenly\"\n /**\n * How to align items along the cross axis.\n * - \"start\": Items are aligned at the start\n * - \"end\": Items are aligned at the end\n * - \"center\": Items are centered\n * - \"stretch\": Items are stretched to fill the container\n * - \"baseline\": Items are aligned at their baselines\n *\n * @default undefined\n */\n align?: \"start\" | \"end\" | \"center\" | \"stretch\" | \"baseline\"\n /**\n * The width of the stack container.\n * Can be any valid CSS width value (e.g., \"100%\", \"200px\", \"50vw\").\n *\n * @default undefined\n */\n width?: string\n /**\n * The height of the stack container.\n * Can be any valid CSS height value (e.g., \"100%\", \"200px\", \"50vh\").\n *\n * @default undefined\n */\n height?: string\n}\n\nconst Stack = React.forwardRef<HTMLDivElement, StackProps>(\n (\n {\n className,\n direction = \"vertical\",\n spacing = \"md\",\n wrap = false,\n center = false,\n justify,\n align,\n width,\n height,\n style,\n ...props\n },\n ref\n ) => {\n return (\n <div\n ref={ref}\n className={cn(\n // Base styles\n \"flex\",\n // Direction\n direction === \"vertical\" ? \"flex-col\" : \"flex-row\",\n // Spacing\n {\n \"gap-0\": spacing === \"none\",\n \"gap-1\": spacing === \"xs\",\n \"gap-2\": spacing === \"sm\",\n \"gap-4\": spacing === \"md\",\n \"gap-6\": spacing === \"lg\",\n \"gap-8\": spacing === \"xl\"\n },\n // Wrap\n wrap && \"flex-wrap\",\n // Center\n center && \"items-center justify-center\",\n // Justify\n justify && {\n \"justify-start\": justify === \"start\",\n \"justify-end\": justify === \"end\",\n \"justify-center\": justify === \"center\",\n \"justify-between\": justify === \"between\",\n \"justify-around\": justify === \"around\",\n \"justify-evenly\": justify === \"evenly\"\n },\n // Align\n align && {\n \"items-start\": align === \"start\",\n \"items-end\": align === \"end\",\n \"items-center\": align === \"center\",\n \"items-stretch\": align === \"stretch\",\n \"items-baseline\": align === \"baseline\"\n },\n className\n )}\n style={{\n width,\n height,\n ...style\n }}\n {...props}\n />\n )\n }\n)\n\nStack.displayName = \"Stack\"\n\nexport { Stack }\n","import * as React from \"react\"\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\"\nimport { X } from \"lucide-react\"\nimport { cn } from \"@/utils\"\n\n/**\n * Dialog component for creating accessible dialogs with overlay and content.\n * Built on top of Radix UI's Dialog primitive.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-dialog--docs\n *\n * @example\n * ```tsx\n * <Dialog>\n * <DialogTrigger>Open Dialog</DialogTrigger>\n * <DialogContent>Dialog Content</DialogContent>\n * </Dialog>\n */\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className\n )}\n {...props}\n >\n {children}\n <DialogPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn(\"flex flex-col space-y-1.5 text-center sm:text-left\", className)} {...props} />\n)\nDialogHeader.displayName = \"DialogHeader\"\n\nconst DialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)}\n {...props}\n />\n)\nDialogFooter.displayName = \"DialogFooter\"\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold leading-none tracking-tight\", className)}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription\n}\n","import * as React from \"react\"\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\"\nimport { cn } from \"@/utils/index\"\nimport type { AvatarProps, AvatarImageProps, AvatarFallbackProps } from \"./avatar.types\"\n\n/**\n * Avatar component that displays a user's profile picture or fallback.\n * Built on top of Radix UI's Avatar primitive.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-avatar--docs\n *\n * @example\n * ```tsx\n * <Avatar>\n * <AvatarImage src=\"/path/to/image.jpg\" alt=\"User avatar\" />\n * <AvatarFallback>JD</AvatarFallback>\n * </Avatar>\n * ```\n */\nconst Avatar = React.forwardRef<React.ElementRef<typeof AvatarPrimitive.Root>, AvatarProps>(\n ({ className, ...props }, ref) => (\n <AvatarPrimitive.Root\n ref={ref}\n className={cn(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\", className)}\n {...props}\n />\n )\n)\nAvatar.displayName = AvatarPrimitive.Root.displayName\n\n/**\n * AvatarImage component that displays the user's profile picture.\n * Falls back to AvatarFallback if the image fails to load.\n */\nconst AvatarImage = React.forwardRef<\n React.ElementRef<typeof AvatarPrimitive.Image>,\n AvatarImageProps\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Image\n ref={ref}\n className={cn(\"aspect-square h-full w-full\", className)}\n {...props}\n />\n))\nAvatarImage.displayName = AvatarPrimitive.Image.displayName\n\n/**\n * AvatarFallback component that displays when the image fails to load.\n * Typically shows the user's initials or a placeholder icon.\n */\nconst AvatarFallback = React.forwardRef<\n React.ElementRef<typeof AvatarPrimitive.Fallback>,\n AvatarFallbackProps\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Fallback\n ref={ref}\n className={cn(\n \"flex h-full w-full items-center justify-center rounded-full bg-muted\",\n className\n )}\n {...props}\n />\n))\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName\n\nexport { Avatar, AvatarImage, AvatarFallback }\n","import { cva } from \"class-variance-authority\"\n\nexport const badgeVariants = cva(\n \"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\n {\n variants: {\n variant: {\n default: \"border-transparent bg-primary text-primary-foreground hover:bg-primary/80\",\n secondary:\n \"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n destructive:\n \"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80\",\n outline: \"text-foreground\",\n success: \"border-transparent bg-green-500 text-white hover:bg-green-500/80\",\n warning: \"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80\",\n info: \"border-transparent bg-blue-500 text-white hover:bg-blue-500/80\"\n },\n size: {\n default: \"h-5\",\n sm: \"h-4 text-[10px]\",\n lg: \"h-6 text-sm\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n }\n)\n","import * as React from \"react\"\nimport { cn } from \"@/utils/index\"\nimport { badgeVariants } from \"./badge.variants\"\nimport type { BadgeProps } from \"./badge.types\"\n\n/**\n * Badge component for displaying status, counts, or labels.\n * Supports various variants, sizes, and optional icons.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-badge--docs\n *\n * @example\n * ```tsx\n * <Badge variant=\"success\">Active</Badge>\n * <Badge variant=\"warning\" icon={<AlertIcon />}>Warning</Badge>\n * <Badge variant=\"info\" size=\"lg\" iconAfter={<ArrowIcon />}>New</Badge>\n * ```\n */\nconst Badge = React.forwardRef<HTMLDivElement, BadgeProps>(\n ({ className, variant, size, icon, iconAfter, children, ...props }, ref) => {\n return (\n <div ref={ref} className={cn(badgeVariants({ variant, size }), className)} {...props}>\n {icon && <span className=\"mr-1\">{icon}</span>}\n {children}\n {iconAfter && <span className=\"ml-1\">{iconAfter}</span>}\n </div>\n )\n }\n)\n\nBadge.displayName = \"Badge\"\n\nexport { Badge, badgeVariants }\n","import * as React from \"react\"\nimport { cn } from \"@/utils\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nconst typographyVariants = cva(\"\", {\n variants: {\n variant: {\n h1: \"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl\",\n h2: \"scroll-m-20 text-3xl font-semibold tracking-tight\",\n h3: \"scroll-m-20 text-2xl font-semibold tracking-tight\",\n h4: \"scroll-m-20 text-xl font-semibold tracking-tight\",\n h5: \"scroll-m-20 text-lg font-semibold tracking-tight\",\n h6: \"scroll-m-20 text-base font-semibold tracking-tight\",\n p: \"leading-7 [&:not(:first-child)]:mt-6\",\n blockquote: \"mt-6 border-l-2 border-slate-300 pl-6 italic\",\n list: \"my-6 ml-6 list-disc [&>li]:mt-2\",\n lead: \"text-xl text-muted-foreground\",\n large: \"text-lg font-semibold\",\n small: \"text-sm font-medium leading-none\",\n muted: \"text-sm text-muted-foreground\"\n },\n align: {\n left: \"text-left\",\n center: \"text-center\",\n right: \"text-right\",\n justify: \"text-justify\"\n }\n },\n defaultVariants: {\n variant: \"p\",\n align: \"left\"\n }\n})\n\nexport interface TypographyProps\n extends React.HTMLAttributes<HTMLElement>,\n VariantProps<typeof typographyVariants> {\n as?: React.ElementType\n}\n\n/**\n * Typography component for creating accessible text elements.\n * Built on top of shadcn/ui's Typography component.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-typography--docs\n *\n */\nconst Typography = React.forwardRef<HTMLElement, TypographyProps>(\n ({ className, variant, align, as: Component = \"p\", ...props }, ref) => {\n return (\n <Component\n className={cn(typographyVariants({ variant, align, className }))}\n ref={ref}\n {...props}\n />\n )\n }\n)\n\nTypography.displayName = \"Typography\"\n\nexport { Typography, typographyVariants }\n","import { cn } from \"@/utils\"\nimport { Loader2 } from \"lucide-react\"\n\nexport interface PageLoaderProps {\n /**\n * Optional className to extend the component's styles\n */\n className?: string\n /**\n * Optional size of the loader (default: \"default\")\n */\n size?: \"sm\" | \"default\" | \"lg\"\n /**\n * Optional text to display below the loader\n */\n text?: string\n /**\n * Optional color of the loader (default: \"primary\")\n */\n color?: \"primary\" | \"secondary\" | \"accent\" | \"muted\" | \"destructive\" | string\n}\n\n/**\n * PageLoader component for displaying a loading indicator.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-page-loader--docs\n *\n */\n\nexport function PageLoader({\n className,\n size = \"default\",\n text,\n color = \"primary\"\n}: PageLoaderProps) {\n const sizeClasses = {\n sm: \"h-4 w-4\",\n default: \"h-8 w-8\",\n lg: \"h-12 w-12\"\n }\n\n const colorClasses = {\n primary: \"text-primary\",\n secondary: \"text-secondary\",\n accent: \"text-accent\",\n muted: \"text-muted-foreground\",\n destructive: \"text-destructive\"\n }\n\n const loaderColor = colorClasses[color as keyof typeof colorClasses] || `text-[${color}]`\n\n return (\n <div\n className={cn(\n \"fixed inset-0 z-50 flex min-h-screen flex-col items-center justify-center bg-background/80 backdrop-blur-sm\",\n className\n )}\n role=\"alert\"\n aria-live=\"assertive\"\n >\n <Loader2 className={cn(\"animate-spin\", loaderColor, sizeClasses[size])} aria-hidden=\"true\" />\n {text && (\n <p className=\"mt-4 text-sm text-muted-foreground\" aria-label={text}>\n {text}\n </p>\n )}\n </div>\n )\n}\n"]}
1
+ {"version":3,"sources":["../src/components/atoms/text-field/text-field.tsx","../src/components/atoms/container/container.tsx","../src/components/atoms/box/box.tsx","../src/components/atoms/stack/stack.tsx","../src/components/atoms/dialog/dialog.tsx","../src/components/atoms/avatar/avatar.tsx","../src/components/atoms/badge/badge.variants.ts","../src/components/atoms/badge/badge.tsx","../src/components/atoms/typography/typography.tsx","../src/components/atoms/page-loader/page-loader.tsx"],"names":["textFieldVariants","cva","TextField","P","_a","ref","_b","className","variant","size","startIcon","endIcon","loading","error","label","helperText","disabled","props","__objRest","id","jsxs","jsx","Label","Input","__spreadValues","cn","Loader2","Container","H","maxWidth","disablePadding","fluid","Box","F","Component","width","height","style","dimensionStyles","Stack","M","direction","spacing","wrap","center","justify","align","Dialog","m","DialogTrigger","DialogPortal","DialogClose","DialogOverlay","y","DialogContent","children","__spreadProps","X","DialogHeader","DialogFooter","DialogTitle","DialogDescription","Avatar","R","f","AvatarImage","AvatarFallback","badgeVariants","Badge","S","icon","iconAfter","typographyVariants","Typography","q","PageLoader","text","color","sizeClasses","loaderColor"],"mappings":"+3BAYMA,IAAAA,CAAAA,CAAoBC,0BAAI,CAAA,QAAA,CAAU,CACt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J,CAEJ","file":"chunk-BHENTOFB.js","sourcesContent":["import * as React from \"react\"\nimport { cva } from \"class-variance-authority\"\nimport { cn } from \"@/utils/cn\"\nimport { TextFieldProps } from \"./text-field.types\"\nimport { Loader2 } from \"lucide-react\"\nimport { Input } from \"../input\"\nimport { Label } from \"../label\"\n\n/**\n * Text field variant styles using class-variance-authority.\n * Defines the visual styles for different text field variants and sizes.\n */\nconst textFieldVariants = cva(\"w-full\", {\n variants: {\n variant: {\n default: \"\",\n error: \"border-destructive focus-visible:ring-destructive\"\n },\n size: {\n default: \"h-10\",\n sm: \"h-8 text-xs\",\n lg: \"h-12 text-base\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n})\n\n/**\n * A versatile text field component that supports multiple variants, sizes, and icons.\n * Built on top of shadcn/ui's Input component.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-text-field--docs\n *\n * @component\n * @example\n * ```tsx\n * // Default text field\n * <TextField placeholder=\"Enter text\" />\n *\n * // With icons\n * <TextField startIcon={<SearchIcon />} placeholder=\"Search...\" />\n * <TextField endIcon={<CalendarIcon />} placeholder=\"Select date\" />\n *\n * // With loading state\n * <TextField loading placeholder=\"Loading...\" />\n *\n * // With error\n * <TextField error=\"Invalid input\" placeholder=\"Enter text\" />\n * ```\n */\nconst TextField = React.forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n className,\n variant,\n size,\n startIcon,\n endIcon,\n loading = false,\n error,\n label,\n helperText,\n disabled,\n ...props\n },\n ref\n ) => {\n const id = React.useId()\n\n return (\n <div className=\"w-full space-y-2\">\n {label && <Label htmlFor={id}>{label}</Label>}\n <div className=\"relative\">\n {startIcon && (\n <div className=\"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground\">\n {startIcon}\n </div>\n )}\n <Input\n id={id}\n className={cn(\n textFieldVariants({ variant: error ? \"error\" : variant, size, className }),\n startIcon && \"pl-9\",\n (endIcon || loading) && \"pr-9\"\n )}\n ref={ref}\n disabled={disabled || loading}\n {...props}\n />\n {(endIcon || loading) && (\n <div className=\"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground\">\n {loading ? <Loader2 className=\"h-4 w-4 animate-spin\" /> : endIcon}\n </div>\n )}\n </div>\n {(error || helperText) && (\n <p className={cn(\"text-sm\", error ? \"text-destructive\" : \"text-muted-foreground\")}>\n {error || helperText}\n </p>\n )}\n </div>\n )\n }\n)\n\nTextField.displayName = \"TextField\"\n\nexport { TextField, textFieldVariants }\n","/**\n * Container is a layout component that provides a centered, max-width wrapper for content.\n * It's designed to create consistent horizontal padding and maximum widths across different screen sizes.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-container--docs\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Container>\n * <h1>Page Title</h1>\n * <p>Content goes here...</p>\n * </Container>\n *\n * // With custom max width\n * <Container maxWidth=\"xl\">\n * <h1>Wider Content</h1>\n * </Container>\n *\n * // Fluid container (no max-width)\n * <Container fluid>\n * <h1>Full Width Content</h1>\n * </Container>\n *\n * // Without padding\n * <Container disablePadding>\n * <h1>No Padding Content</h1>\n * </Container>\n * ```\n */\nimport { cn } from \"@/utils\"\nimport * as React from \"react\"\n\nexport interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The maximum width of the container.\n * - \"sm\": 640px\n * - \"md\": 768px\n * - \"lg\": 1024px\n * - \"xl\": 1280px\n * - \"full\": 100%\n * - false: No max-width (fluid)\n *\n * @default \"lg\"\n */\n maxWidth?: \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | false\n /**\n * Whether to disable the default horizontal padding.\n * When true, removes the default padding (px-4 sm:px-6 lg:px-8).\n *\n * @default false\n */\n disablePadding?: boolean\n /**\n * Whether to make the container fluid (no max-width).\n * When true, the container will expand to fill its parent's width.\n *\n * @default false\n */\n fluid?: boolean\n}\n\nconst Container = React.forwardRef<HTMLDivElement, ContainerProps>(\n ({ className, maxWidth = \"lg\", disablePadding = false, fluid = false, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n // Base styles\n \"mx-auto w-full\",\n // Padding\n !disablePadding && \"px-4 sm:px-6 lg:px-8\",\n // Max width\n !fluid && {\n \"max-w-screen-sm\": maxWidth === \"sm\",\n \"max-w-screen-md\": maxWidth === \"md\",\n \"max-w-screen-lg\": maxWidth === \"lg\",\n \"max-w-screen-xl\": maxWidth === \"xl\",\n \"max-w-full\": maxWidth === \"full\"\n },\n className\n )}\n {...props}\n />\n )\n }\n)\n\nContainer.displayName = \"Container\"\n\nexport { Container }\n","/**\n * Box is a fundamental layout component that serves as a building block for other components.\n * It's a polymorphic component that can render as different HTML elements while maintaining\n * consistent styling and behavior.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-box--docs\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Box>Content</Box>\n *\n * // As a different element\n * <Box as=\"section\">Section content</Box>\n *\n * // With custom className\n * <Box className=\"bg-primary text-white p-4\">Styled content</Box>\n *\n * // With custom dimensions\n * <Box width=\"100px\" height=\"200px\">Fixed size content</Box>\n * <Box width=\"50%\" height=\"auto\">Responsive content</Box>\n * ```\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\ntype BoxComponent =\n | \"div\"\n | \"span\"\n | \"section\"\n | \"article\"\n | \"main\"\n | \"aside\"\n | \"header\"\n | \"footer\"\n | \"nav\"\n\ntype DimensionValue = string | number\n\nexport interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The HTML element to render the Box as.\n * This allows for semantic HTML while maintaining consistent styling.\n *\n * @default \"div\"\n */\n as?: BoxComponent\n\n /**\n * The width of the Box component.\n * Can be a number (interpreted as pixels) or a string (e.g., \"100%\", \"50px\", \"10rem\").\n */\n width?: DimensionValue\n\n /**\n * The height of the Box component.\n * Can be a number (interpreted as pixels) or a string (e.g., \"100%\", \"50px\", \"10rem\").\n */\n height?: DimensionValue\n}\n\nconst Box = React.forwardRef<HTMLDivElement, BoxProps>(\n ({ as: Component = \"div\", className, width, height, style, ...props }, ref) => {\n const dimensionStyles = {\n width: typeof width === \"number\" ? `${width}px` : width,\n height: typeof height === \"number\" ? `${height}px` : height,\n ...style\n }\n\n return <Component ref={ref} className={cn(className)} style={dimensionStyles} {...props} />\n }\n)\n\nBox.displayName = \"Box\"\n\nexport { Box }\n","/**\n * Stack is a layout component that arranges its children in a vertical or horizontal stack\n * with consistent spacing between items. It's built on top of Flexbox and provides\n * a simple way to create consistent layouts.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-stack--docs\n *\n * @example\n * ```tsx\n * // Basic vertical stack\n * <Stack>\n * <div>Item 1</div>\n * <div>Item 2</div>\n * <div>Item 3</div>\n * </Stack>\n *\n * // Horizontal stack with custom spacing\n * <Stack direction=\"horizontal\" spacing=\"lg\">\n * <div>Item 1</div>\n * <div>Item 2</div>\n * </Stack>\n *\n * // Centered stack with wrapping\n * <Stack direction=\"horizontal\" center wrap>\n * <div>Item 1</div>\n * <div>Item 2</div>\n * <div>Item 3</div>\n * </Stack>\n *\n * // Stack with custom alignment\n * <Stack align=\"center\" justify=\"between\">\n * <div>Left</div>\n * <div>Center</div>\n * <div>Right</div>\n * </Stack>\n *\n * // Stack with custom dimensions\n * <Stack width=\"100%\" height=\"200px\">\n * <div>Full width, fixed height stack</div>\n * </Stack>\n * ```\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\nexport interface StackProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The direction in which to stack the items.\n * - \"vertical\": Items are stacked top to bottom\n * - \"horizontal\": Items are stacked left to right\n *\n * @default \"vertical\"\n */\n direction?: \"vertical\" | \"horizontal\"\n /**\n * The spacing between items in the stack.\n * - \"none\": 0px\n * - \"xs\": 0.25rem (4px)\n * - \"sm\": 0.5rem (8px)\n * - \"md\": 1rem (16px)\n * - \"lg\": 1.5rem (24px)\n * - \"xl\": 2rem (32px)\n *\n * @default \"md\"\n */\n spacing?: \"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"\n /**\n * Whether to allow items to wrap to the next line when they don't fit.\n * Only applies to horizontal stacks.\n *\n * @default false\n */\n wrap?: boolean\n /**\n * Whether to center items both horizontally and vertically.\n * This is a shorthand for setting both align and justify to \"center\".\n *\n * @default false\n */\n center?: boolean\n /**\n * How to justify items along the main axis.\n * - \"start\": Items are packed toward the start\n * - \"end\": Items are packed toward the end\n * - \"center\": Items are centered\n * - \"between\": Items are evenly distributed with first item at start and last at end\n * - \"around\": Items are evenly distributed with equal space around them\n * - \"evenly\": Items are distributed so that the spacing between any two items is equal\n *\n * @default undefined\n */\n justify?: \"start\" | \"end\" | \"center\" | \"between\" | \"around\" | \"evenly\"\n /**\n * How to align items along the cross axis.\n * - \"start\": Items are aligned at the start\n * - \"end\": Items are aligned at the end\n * - \"center\": Items are centered\n * - \"stretch\": Items are stretched to fill the container\n * - \"baseline\": Items are aligned at their baselines\n *\n * @default undefined\n */\n align?: \"start\" | \"end\" | \"center\" | \"stretch\" | \"baseline\"\n /**\n * The width of the stack container.\n * Can be any valid CSS width value (e.g., \"100%\", \"200px\", \"50vw\").\n *\n * @default undefined\n */\n width?: string\n /**\n * The height of the stack container.\n * Can be any valid CSS height value (e.g., \"100%\", \"200px\", \"50vh\").\n *\n * @default undefined\n */\n height?: string\n}\n\nconst Stack = React.forwardRef<HTMLDivElement, StackProps>(\n (\n {\n className,\n direction = \"vertical\",\n spacing = \"md\",\n wrap = false,\n center = false,\n justify,\n align,\n width,\n height,\n style,\n ...props\n },\n ref\n ) => {\n return (\n <div\n ref={ref}\n className={cn(\n // Base styles\n \"flex\",\n // Direction\n direction === \"vertical\" ? \"flex-col\" : \"flex-row\",\n // Spacing\n {\n \"gap-0\": spacing === \"none\",\n \"gap-1\": spacing === \"xs\",\n \"gap-2\": spacing === \"sm\",\n \"gap-4\": spacing === \"md\",\n \"gap-6\": spacing === \"lg\",\n \"gap-8\": spacing === \"xl\"\n },\n // Wrap\n wrap && \"flex-wrap\",\n // Center\n center && \"items-center justify-center\",\n // Justify\n justify && {\n \"justify-start\": justify === \"start\",\n \"justify-end\": justify === \"end\",\n \"justify-center\": justify === \"center\",\n \"justify-between\": justify === \"between\",\n \"justify-around\": justify === \"around\",\n \"justify-evenly\": justify === \"evenly\"\n },\n // Align\n align && {\n \"items-start\": align === \"start\",\n \"items-end\": align === \"end\",\n \"items-center\": align === \"center\",\n \"items-stretch\": align === \"stretch\",\n \"items-baseline\": align === \"baseline\"\n },\n className\n )}\n style={{\n width,\n height,\n ...style\n }}\n {...props}\n />\n )\n }\n)\n\nStack.displayName = \"Stack\"\n\nexport { Stack }\n","import * as React from \"react\"\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\"\nimport { X } from \"lucide-react\"\nimport { cn } from \"@/utils\"\n\n/**\n * Dialog component for creating accessible dialogs with overlay and content.\n * Built on top of Radix UI's Dialog primitive.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-dialog--docs\n *\n * @example\n * ```tsx\n * <Dialog>\n * <DialogTrigger>Open Dialog</DialogTrigger>\n * <DialogContent>Dialog Content</DialogContent>\n * </Dialog>\n */\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className\n )}\n {...props}\n >\n {children}\n <DialogPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn(\"flex flex-col space-y-1.5 text-center sm:text-left\", className)} {...props} />\n)\nDialogHeader.displayName = \"DialogHeader\"\n\nconst DialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)}\n {...props}\n />\n)\nDialogFooter.displayName = \"DialogFooter\"\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold leading-none tracking-tight\", className)}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription\n}\n","import * as React from \"react\"\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\"\nimport { cn } from \"@/utils/index\"\nimport type { AvatarProps, AvatarImageProps, AvatarFallbackProps } from \"./avatar.types\"\n\n/**\n * Avatar component that displays a user's profile picture or fallback.\n * Built on top of Radix UI's Avatar primitive.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-avatar--docs\n *\n * @example\n * ```tsx\n * <Avatar>\n * <AvatarImage src=\"/path/to/image.jpg\" alt=\"User avatar\" />\n * <AvatarFallback>JD</AvatarFallback>\n * </Avatar>\n * ```\n */\nconst Avatar = React.forwardRef<React.ElementRef<typeof AvatarPrimitive.Root>, AvatarProps>(\n ({ className, ...props }, ref) => (\n <AvatarPrimitive.Root\n ref={ref}\n className={cn(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\", className)}\n {...props}\n />\n )\n)\nAvatar.displayName = AvatarPrimitive.Root.displayName\n\n/**\n * AvatarImage component that displays the user's profile picture.\n * Falls back to AvatarFallback if the image fails to load.\n */\nconst AvatarImage = React.forwardRef<\n React.ElementRef<typeof AvatarPrimitive.Image>,\n AvatarImageProps\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Image\n ref={ref}\n className={cn(\"aspect-square h-full w-full\", className)}\n {...props}\n />\n))\nAvatarImage.displayName = AvatarPrimitive.Image.displayName\n\n/**\n * AvatarFallback component that displays when the image fails to load.\n * Typically shows the user's initials or a placeholder icon.\n */\nconst AvatarFallback = React.forwardRef<\n React.ElementRef<typeof AvatarPrimitive.Fallback>,\n AvatarFallbackProps\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Fallback\n ref={ref}\n className={cn(\n \"flex h-full w-full items-center justify-center rounded-full bg-muted\",\n className\n )}\n {...props}\n />\n))\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName\n\nexport { Avatar, AvatarImage, AvatarFallback }\n","import { cva } from \"class-variance-authority\"\n\nexport const badgeVariants = cva(\n \"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\n {\n variants: {\n variant: {\n default: \"border-transparent bg-primary text-primary-foreground hover:bg-primary/80\",\n secondary:\n \"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n destructive:\n \"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80\",\n outline: \"text-foreground\",\n success: \"border-transparent bg-green-500 text-white hover:bg-green-500/80\",\n warning: \"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80\",\n info: \"border-transparent bg-blue-500 text-white hover:bg-blue-500/80\"\n },\n size: {\n default: \"h-5\",\n sm: \"h-4 text-[10px]\",\n lg: \"h-6 text-sm\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n }\n)\n","import * as React from \"react\"\nimport { cn } from \"@/utils/index\"\nimport { badgeVariants } from \"./badge.variants\"\nimport type { BadgeProps } from \"./badge.types\"\n\n/**\n * Badge component for displaying status, counts, or labels.\n * Supports various variants, sizes, and optional icons.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-badge--docs\n *\n * @example\n * ```tsx\n * <Badge variant=\"success\">Active</Badge>\n * <Badge variant=\"warning\" icon={<AlertIcon />}>Warning</Badge>\n * <Badge variant=\"info\" size=\"lg\" iconAfter={<ArrowIcon />}>New</Badge>\n * ```\n */\nconst Badge = React.forwardRef<HTMLDivElement, BadgeProps>(\n ({ className, variant, size, icon, iconAfter, children, ...props }, ref) => {\n return (\n <div ref={ref} className={cn(badgeVariants({ variant, size }), className)} {...props}>\n {icon && <span className=\"mr-1\">{icon}</span>}\n {children}\n {iconAfter && <span className=\"ml-1\">{iconAfter}</span>}\n </div>\n )\n }\n)\n\nBadge.displayName = \"Badge\"\n\nexport { Badge, badgeVariants }\n","import * as React from \"react\"\nimport { cn } from \"@/utils\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nconst typographyVariants = cva(\"\", {\n variants: {\n variant: {\n h1: \"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl\",\n h2: \"scroll-m-20 text-3xl font-semibold tracking-tight\",\n h3: \"scroll-m-20 text-2xl font-semibold tracking-tight\",\n h4: \"scroll-m-20 text-xl font-semibold tracking-tight\",\n h5: \"scroll-m-20 text-lg font-semibold tracking-tight\",\n h6: \"scroll-m-20 text-base font-semibold tracking-tight\",\n p: \"leading-7 [&:not(:first-child)]:mt-6\",\n blockquote: \"mt-6 border-l-2 border-slate-300 pl-6 italic\",\n list: \"my-6 ml-6 list-disc [&>li]:mt-2\",\n lead: \"text-xl text-muted-foreground\",\n large: \"text-lg font-semibold\",\n small: \"text-sm font-medium leading-none\",\n muted: \"text-sm text-muted-foreground\"\n },\n align: {\n left: \"text-left\",\n center: \"text-center\",\n right: \"text-right\",\n justify: \"text-justify\"\n }\n },\n defaultVariants: {\n variant: \"p\",\n align: \"left\"\n }\n})\n\nexport interface TypographyProps\n extends React.HTMLAttributes<HTMLElement>,\n VariantProps<typeof typographyVariants> {\n as?: React.ElementType\n}\n\n/**\n * Typography component for creating accessible text elements.\n * Built on top of shadcn/ui's Typography component.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-typography--docs\n *\n */\nconst Typography = React.forwardRef<HTMLElement, TypographyProps>(\n ({ className, variant, align, as: Component = \"p\", ...props }, ref) => {\n return (\n <Component\n className={cn(typographyVariants({ variant, align, className }))}\n ref={ref}\n {...props}\n />\n )\n }\n)\n\nTypography.displayName = \"Typography\"\n\nexport { Typography, typographyVariants }\n","import { cn } from \"@/utils\"\nimport { Loader2 } from \"lucide-react\"\n\nexport interface PageLoaderProps {\n /**\n * Optional className to extend the component's styles\n */\n className?: string\n /**\n * Optional size of the loader (default: \"default\")\n */\n size?: \"sm\" | \"default\" | \"lg\"\n /**\n * Optional text to display below the loader\n */\n text?: string\n /**\n * Optional color of the loader (default: \"primary\")\n */\n color?: \"primary\" | \"secondary\" | \"accent\" | \"muted\" | \"destructive\" | string\n}\n\n/**\n * PageLoader component for displaying a loading indicator.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-page-loader--docs\n *\n */\n\nexport function PageLoader({\n className,\n size = \"default\",\n text,\n color = \"primary\"\n}: PageLoaderProps) {\n const sizeClasses = {\n sm: \"h-4 w-4\",\n default: \"h-8 w-8\",\n lg: \"h-12 w-12\"\n }\n\n const colorClasses = {\n primary: \"text-primary\",\n secondary: \"text-secondary\",\n accent: \"text-accent\",\n muted: \"text-muted-foreground\",\n destructive: \"text-destructive\"\n }\n\n const loaderColor = colorClasses[color as keyof typeof colorClasses] || `text-[${color}]`\n\n return (\n <div\n className={cn(\n \"fixed inset-0 z-50 flex min-h-screen flex-col items-center justify-center bg-background/80 backdrop-blur-sm\",\n className\n )}\n role=\"alert\"\n aria-live=\"assertive\"\n >\n <Loader2 className={cn(\"animate-spin\", loaderColor, sizeClasses[size])} aria-hidden=\"true\" />\n {text && (\n <p className=\"mt-4 text-sm text-muted-foreground\" aria-label={text}>\n {text}\n </p>\n )}\n </div>\n )\n}\n"]}
@@ -1,2 +1,2 @@
1
- import {a}from'./chunk-QY2HB6BB.mjs';import {a as a$1}from'./chunk-472YNZU2.mjs';import {a as a$3}from'./chunk-OAVWSSYJ.mjs';import {c,a as a$2,b}from'./chunk-H3TEQK57.mjs';import*as y from'react';import {cva}from'class-variance-authority';import {Loader2,X}from'lucide-react';import {jsxs,jsx}from'react/jsx-runtime';import*as m from'@radix-ui/react-dialog';import*as f from'@radix-ui/react-avatar';var K=cva("w-full",{variants:{variant:{default:"",error:"border-destructive focus-visible:ring-destructive"},size:{default:"h-10",sm:"h-8 text-xs",lg:"h-12 text-base"}},defaultVariants:{variant:"default",size:"default"}}),E=y.forwardRef((X,D)=>{var u=X,{className:o,variant:t,size:e,startIcon:r,endIcon:a$4,loading:l=false,error:d,label:p,helperText:c$1,disabled:g}=u,h=c(u,["className","variant","size","startIcon","endIcon","loading","error","label","helperText","disabled"]);let A=y.useId();return jsxs("div",{className:"w-full space-y-2",children:[p&&jsx(a,{htmlFor:A,children:p}),jsxs("div",{className:"relative",children:[r&&jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:r}),jsx(a$1,a$2({id:A,className:a$3(K({variant:d?"error":t,size:e,className:o}),r&&"pl-9",(a$4||l)&&"pr-9"),ref:D,disabled:g||l},h)),(a$4||l)&&jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:l?jsx(Loader2,{className:"h-4 w-4 animate-spin"}):a$4})]}),(d||c$1)&&jsx("p",{className:a$3("text-sm",d?"text-destructive":"text-muted-foreground"),children:d||c$1})]})});E.displayName="TextField";var Q=y.forwardRef((d,l)=>{var p=d,{className:o,maxWidth:t="lg",disablePadding:e=false,fluid:r=false}=p,a=c(p,["className","maxWidth","disablePadding","fluid"]);return jsx("div",a$2({ref:l,className:a$3("mx-auto w-full",!e&&"px-4 sm:px-6 lg:px-8",!r&&{"max-w-screen-sm":t==="sm","max-w-screen-md":t==="md","max-w-screen-lg":t==="lg","max-w-screen-xl":t==="xl","max-w-full":t==="full"},o)},a))});Q.displayName="Container";var Y=y.forwardRef((p,d)=>{var c$1=p,{as:o="div",className:t,width:e,height:r,style:a}=c$1,l=c(c$1,["as","className","width","height","style"]);let g=a$2({width:typeof e=="number"?`${e}px`:e,height:typeof r=="number"?`${r}px`:r},a);return jsx(o,a$2({ref:d,className:a$3(t),style:g},l))});Y.displayName="Box";var _=y.forwardRef((X,D)=>{var u=X,{className:o,direction:t="vertical",spacing:e="md",wrap:r=false,center:a=false,justify:l,align:d,width:p,height:c$1,style:g}=u,h=c(u,["className","direction","spacing","wrap","center","justify","align","width","height","style"]);return jsx("div",a$2({ref:D,className:a$3("flex",t==="vertical"?"flex-col":"flex-row",{"gap-0":e==="none","gap-1":e==="xs","gap-2":e==="sm","gap-4":e==="md","gap-6":e==="lg","gap-8":e==="xl"},r&&"flex-wrap",a&&"items-center justify-center",l&&{"justify-start":l==="start","justify-end":l==="end","justify-center":l==="center","justify-between":l==="between","justify-around":l==="around","justify-evenly":l==="evenly"},d&&{"items-start":d==="start","items-end":d==="end","items-center":d==="center","items-stretch":d==="stretch","items-baseline":d==="baseline"},o),style:a$2({width:p,height:c$1},g)},h))});_.displayName="Stack";var Oe=m.Root,Se=m.Trigger,te=m.Portal,$e=m.Close,V=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(m.Overlay,a$2({ref:e,className:a$3("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",o)},t))});V.displayName=m.Overlay.displayName;var ae=y.forwardRef((a,r)=>{var l=a,{className:o,children:t}=l,e=c(l,["className","children"]);return jsxs(te,{children:[jsx(V,{}),jsxs(m.Content,b(a$2({ref:r,className:a$3("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",o)},e),{children:[t,jsxs(m.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[jsx(X,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]}))]})});ae.displayName=m.Content.displayName;var re=e=>{var r=e,{className:o}=r,t=c(r,["className"]);return jsx("div",a$2({className:a$3("flex flex-col space-y-1.5 text-center sm:text-left",o)},t))};re.displayName="DialogHeader";var oe=e=>{var r=e,{className:o}=r,t=c(r,["className"]);return jsx("div",a$2({className:a$3("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",o)},t))};oe.displayName="DialogFooter";var ie=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(m.Title,a$2({ref:e,className:a$3("text-lg font-semibold leading-none tracking-tight",o)},t))});ie.displayName=m.Title.displayName;var se=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(m.Description,a$2({ref:e,className:a$3("text-sm text-muted-foreground",o)},t))});se.displayName=m.Description.displayName;var z=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(f.Root,a$2({ref:e,className:a$3("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",o)},t))});z.displayName=f.Root.displayName;var B=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(f.Image,a$2({ref:e,className:a$3("aspect-square h-full w-full",o)},t))});B.displayName=f.Image.displayName;var I=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(f.Fallback,a$2({ref:e,className:a$3("flex h-full w-full items-center justify-center rounded-full bg-muted",o)},t))});I.displayName=f.Fallback.displayName;var T=cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-500 text-white hover:bg-green-500/80",warning:"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80",info:"border-transparent bg-blue-500 text-white hover:bg-blue-500/80"},size:{default:"h-5",sm:"h-4 text-[10px]",lg:"h-6 text-sm"}},defaultVariants:{variant:"default",size:"default"}});var $=y.forwardRef((c$1,p)=>{var g=c$1,{className:o,variant:t,size:e,icon:r,iconAfter:a,children:l}=g,d=c(g,["className","variant","size","icon","iconAfter","children"]);return jsxs("div",b(a$2({ref:p,className:a$3(T({variant:t,size:e}),o)},d),{children:[r&&jsx("span",{className:"mr-1",children:r}),l,a&&jsx("span",{className:"ml-1",children:a})]}))});$.displayName="Badge";var de=cva("",{variants:{variant:{h1:"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl",h2:"scroll-m-20 text-3xl font-semibold tracking-tight",h3:"scroll-m-20 text-2xl font-semibold tracking-tight",h4:"scroll-m-20 text-xl font-semibold tracking-tight",h5:"scroll-m-20 text-lg font-semibold tracking-tight",h6:"scroll-m-20 text-base font-semibold tracking-tight",p:"leading-7 [&:not(:first-child)]:mt-6",blockquote:"mt-6 border-l-2 border-slate-300 pl-6 italic",list:"my-6 ml-6 list-disc [&>li]:mt-2",lead:"text-xl text-muted-foreground",large:"text-lg font-semibold",small:"text-sm font-medium leading-none",muted:"text-sm text-muted-foreground"},align:{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"}},defaultVariants:{variant:"p",align:"left"}}),pe=y.forwardRef((d,l)=>{var p=d,{className:o,variant:t,align:e,as:r="p"}=p,a=c(p,["className","variant","align","as"]);return jsx(r,a$2({className:a$3(de({variant:t,align:e,className:o})),ref:l},a))});pe.displayName="Typography";function ct({className:o,size:t="default",text:e,color:r="primary"}){let a={sm:"h-4 w-4",default:"h-8 w-8",lg:"h-12 w-12"},d={primary:"text-primary",secondary:"text-secondary",accent:"text-accent",muted:"text-muted-foreground",destructive:"text-destructive"}[r]||`text-[${r}]`;return jsxs("div",{className:a$3("fixed inset-0 z-50 flex min-h-screen flex-col items-center justify-center bg-background/80 backdrop-blur-sm",o),role:"alert","aria-live":"assertive",children:[jsx(Loader2,{className:a$3("animate-spin",d,a[t]),"aria-hidden":"true"}),e&&jsx("p",{className:"mt-4 text-sm text-muted-foreground","aria-label":e,children:e})]})}export{E as a,Q as b,Y as c,_ as d,Oe as e,Se as f,te as g,$e as h,V as i,ae as j,re as k,oe as l,ie as m,se as n,z as o,B as p,I as q,T as r,$ as s,de as t,pe as u,ct as v};//# sourceMappingURL=chunk-MD23GXSI.mjs.map
2
- //# sourceMappingURL=chunk-MD23GXSI.mjs.map
1
+ import {a}from'./chunk-QY2HB6BB.mjs';import {a as a$1}from'./chunk-472YNZU2.mjs';import {a as a$3}from'./chunk-OAVWSSYJ.mjs';import {c,a as a$2,b}from'./chunk-H3TEQK57.mjs';import*as y from'react';import {cva}from'class-variance-authority';import {Loader2,X}from'lucide-react';import {jsxs,jsx}from'react/jsx-runtime';import*as m from'@radix-ui/react-dialog';import*as f from'@radix-ui/react-avatar';var K=cva("w-full",{variants:{variant:{default:"",error:"border-destructive focus-visible:ring-destructive"},size:{default:"h-10",sm:"h-8 text-xs",lg:"h-12 text-base"}},defaultVariants:{variant:"default",size:"default"}}),E=y.forwardRef((X,D)=>{var u=X,{className:o,variant:t,size:e,startIcon:r,endIcon:a$4,loading:l=false,error:d,label:p,helperText:c$1,disabled:g}=u,h=c(u,["className","variant","size","startIcon","endIcon","loading","error","label","helperText","disabled"]);let A=y.useId();return jsxs("div",{className:"w-full space-y-2",children:[p&&jsx(a,{htmlFor:A,children:p}),jsxs("div",{className:"relative",children:[r&&jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:r}),jsx(a$1,a$2({id:A,className:a$3(K({variant:d?"error":t,size:e,className:o}),r&&"pl-9",(a$4||l)&&"pr-9"),ref:D,disabled:g||l},h)),(a$4||l)&&jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:l?jsx(Loader2,{className:"h-4 w-4 animate-spin"}):a$4})]}),(d||c$1)&&jsx("p",{className:a$3("text-sm",d?"text-destructive":"text-muted-foreground"),children:d||c$1})]})});E.displayName="TextField";var Q=y.forwardRef((d,l)=>{var p=d,{className:o,maxWidth:t="lg",disablePadding:e=false,fluid:r=false}=p,a=c(p,["className","maxWidth","disablePadding","fluid"]);return jsx("div",a$2({ref:l,className:a$3("mx-auto w-full",!e&&"px-4 sm:px-6 lg:px-8",!r&&{"max-w-screen-sm":t==="sm","max-w-screen-md":t==="md","max-w-screen-lg":t==="lg","max-w-screen-xl":t==="xl","max-w-full":t==="full"},o)},a))});Q.displayName="Container";var Y=y.forwardRef((p,d)=>{var c$1=p,{as:o="div",className:t,width:e,height:r,style:a}=c$1,l=c(c$1,["as","className","width","height","style"]);let g=a$2({width:typeof e=="number"?`${e}px`:e,height:typeof r=="number"?`${r}px`:r},a);return jsx(o,a$2({ref:d,className:a$3(t),style:g},l))});Y.displayName="Box";var _=y.forwardRef((X,D)=>{var u=X,{className:o,direction:t="vertical",spacing:e="md",wrap:r=false,center:a=false,justify:l,align:d,width:p,height:c$1,style:g}=u,h=c(u,["className","direction","spacing","wrap","center","justify","align","width","height","style"]);return jsx("div",a$2({ref:D,className:a$3("flex",t==="vertical"?"flex-col":"flex-row",{"gap-0":e==="none","gap-1":e==="xs","gap-2":e==="sm","gap-4":e==="md","gap-6":e==="lg","gap-8":e==="xl"},r&&"flex-wrap",a&&"items-center justify-center",l&&{"justify-start":l==="start","justify-end":l==="end","justify-center":l==="center","justify-between":l==="between","justify-around":l==="around","justify-evenly":l==="evenly"},d&&{"items-start":d==="start","items-end":d==="end","items-center":d==="center","items-stretch":d==="stretch","items-baseline":d==="baseline"},o),style:a$2({width:p,height:c$1},g)},h))});_.displayName="Stack";var Oe=m.Root,Se=m.Trigger,te=m.Portal,$e=m.Close,V=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(m.Overlay,a$2({ref:e,className:a$3("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",o)},t))});V.displayName=m.Overlay.displayName;var ae=y.forwardRef((a,r)=>{var l=a,{className:o,children:t}=l,e=c(l,["className","children"]);return jsxs(te,{children:[jsx(V,{}),jsxs(m.Content,b(a$2({ref:r,className:a$3("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",o)},e),{children:[t,jsxs(m.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[jsx(X,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]}))]})});ae.displayName=m.Content.displayName;var re=e=>{var r=e,{className:o}=r,t=c(r,["className"]);return jsx("div",a$2({className:a$3("flex flex-col space-y-1.5 text-center sm:text-left",o)},t))};re.displayName="DialogHeader";var oe=e=>{var r=e,{className:o}=r,t=c(r,["className"]);return jsx("div",a$2({className:a$3("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",o)},t))};oe.displayName="DialogFooter";var ie=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(m.Title,a$2({ref:e,className:a$3("text-lg font-semibold leading-none tracking-tight",o)},t))});ie.displayName=m.Title.displayName;var se=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(m.Description,a$2({ref:e,className:a$3("text-sm text-muted-foreground",o)},t))});se.displayName=m.Description.displayName;var z=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(f.Root,a$2({ref:e,className:a$3("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",o)},t))});z.displayName=f.Root.displayName;var B=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(f.Image,a$2({ref:e,className:a$3("aspect-square h-full w-full",o)},t))});B.displayName=f.Image.displayName;var I=y.forwardRef((r,e)=>{var a=r,{className:o}=a,t=c(a,["className"]);return jsx(f.Fallback,a$2({ref:e,className:a$3("flex h-full w-full items-center justify-center rounded-full bg-muted",o)},t))});I.displayName=f.Fallback.displayName;var T=cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-500 text-white hover:bg-green-500/80",warning:"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80",info:"border-transparent bg-blue-500 text-white hover:bg-blue-500/80"},size:{default:"h-5",sm:"h-4 text-[10px]",lg:"h-6 text-sm"}},defaultVariants:{variant:"default",size:"default"}});var $=y.forwardRef((c$1,p)=>{var g=c$1,{className:o,variant:t,size:e,icon:r,iconAfter:a,children:l}=g,d=c(g,["className","variant","size","icon","iconAfter","children"]);return jsxs("div",b(a$2({ref:p,className:a$3(T({variant:t,size:e}),o)},d),{children:[r&&jsx("span",{className:"mr-1",children:r}),l,a&&jsx("span",{className:"ml-1",children:a})]}))});$.displayName="Badge";var de=cva("",{variants:{variant:{h1:"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl",h2:"scroll-m-20 text-3xl font-semibold tracking-tight",h3:"scroll-m-20 text-2xl font-semibold tracking-tight",h4:"scroll-m-20 text-xl font-semibold tracking-tight",h5:"scroll-m-20 text-lg font-semibold tracking-tight",h6:"scroll-m-20 text-base font-semibold tracking-tight",p:"leading-7 [&:not(:first-child)]:mt-6",blockquote:"mt-6 border-l-2 border-slate-300 pl-6 italic",list:"my-6 ml-6 list-disc [&>li]:mt-2",lead:"text-xl text-muted-foreground",large:"text-lg font-semibold",small:"text-sm font-medium leading-none",muted:"text-sm text-muted-foreground"},align:{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"}},defaultVariants:{variant:"p",align:"left"}}),pe=y.forwardRef((d,l)=>{var p=d,{className:o,variant:t,align:e,as:r="p"}=p,a=c(p,["className","variant","align","as"]);return jsx(r,a$2({className:a$3(de({variant:t,align:e,className:o})),ref:l},a))});pe.displayName="Typography";function ct({className:o,size:t="default",text:e,color:r="primary"}){let a={sm:"h-4 w-4",default:"h-8 w-8",lg:"h-12 w-12"},d={primary:"text-primary",secondary:"text-secondary",accent:"text-accent",muted:"text-muted-foreground",destructive:"text-destructive"}[r]||`text-[${r}]`;return jsxs("div",{className:a$3("fixed inset-0 z-50 flex min-h-screen flex-col items-center justify-center bg-background/80 backdrop-blur-sm",o),role:"alert","aria-live":"assertive",children:[jsx(Loader2,{className:a$3("animate-spin",d,a[t]),"aria-hidden":"true"}),e&&jsx("p",{className:"mt-4 text-sm text-muted-foreground","aria-label":e,children:e})]})}export{E as a,Q as b,Y as c,_ as d,Oe as e,Se as f,te as g,$e as h,V as i,ae as j,re as k,oe as l,ie as m,se as n,z as o,B as p,I as q,T as r,$ as s,de as t,pe as u,ct as v};//# sourceMappingURL=chunk-YXIEDY5R.mjs.map
2
+ //# sourceMappingURL=chunk-YXIEDY5R.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/atoms/text-field/text-field.tsx","../src/components/atoms/container/container.tsx","../src/components/atoms/box/box.tsx","../src/components/atoms/stack/stack.tsx","../src/components/atoms/dialog/dialog.tsx","../src/components/atoms/avatar/avatar.tsx","../src/components/atoms/badge/badge.variants.ts","../src/components/atoms/badge/badge.tsx","../src/components/atoms/typography/typography.tsx","../src/components/atoms/page-loader/page-loader.tsx"],"names":["textFieldVariants","cva","TextField","P","_a","ref","_b","className","variant","size","startIcon","endIcon","loading","error","label","helperText","disabled","props","__objRest","id","jsxs","jsx","Label","Input","__spreadValues","cn","Loader2","Container","H","maxWidth","disablePadding","fluid","Box","F","Component","width","height","style","dimensionStyles","Stack","M","direction","spacing","wrap","center","justify","align","Dialog","DialogTrigger","DialogPortal","DialogClose","DialogOverlay","DialogContent","children","__spreadProps","X","DialogHeader","DialogFooter","DialogTitle","DialogDescription","Avatar","R","AvatarImage","AvatarFallback","badgeVariants","Badge","S","icon","iconAfter","typographyVariants","Typography","q","PageLoader","text","color","sizeClasses","loaderColor"],"mappings":"gZAYMA,IAAAA,CAAAA,CAAoBC,GAAI,CAAA,QAAA,CAAU,CACtC,QAAU,CAAA,CACR,OAAS,CAAA,CACP,QAAS,EACT,CAAA,KAAA,CAAO,mDACT,CAAA,CACA,KAAM,CACJ,OAAA,CAAS,MACT,CAAA,EAAA,CAAI,cACJ,EAAI,CAAA,gBACN,CACF,CAAA,CACA,eAAiB,CAAA,CACf,OAAS,CAAA,SAAA,CACT,KAAM,SACR,CACF,CAAC,CAAA,CAyBKC,EAAkBC,CACtB,CAAA,UAAA,CAAA,CACEC,CAaAC,CAAAA,CAAAA,GACG,CAdH,IAAAC,CAAAA,CAAAF,CACE,CAAA,CAAA,SAAA,CAAAG,EACA,OAAAC,CAAAA,CAAAA,CACA,IAAAC,CAAAA,CAAAA,CACA,UAAAC,CACA,CAAA,OAAA,CAAAC,GACA,CAAA,OAAA,CAAAC,EAAU,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CACnB,OAAS,CAAA,cAAA,CACT,UAAW,gBACX,CAAA,MAAA,CAAQ,aACR,CAAA,KAAA,CAAO,wBACP,WAAa,CAAA,kBACf,CAEiCF,CAAAA,CAAkC,GAAK,CAASA,MAAAA,EAAAA,CAAK,CAEtF,CAAA,CAAA,CAAA,OACEtD,KAAC,KACC,CAAA,CAAA,SAAA,CAAWK,GACT,CAAA,6GAAA,CACAlB,CACF,CACA,CAAA,IAAA,CAAK,OACL,CAAA,WAAA,CAAU,YAEV,QAAAc,CAAAA,CAAAA,GAAAA,CAACK,OAAA,CAAA,CAAQ,UAAWD,GAAG,CAAA,cAAA,CAAgBmD,CAAaD,CAAAA,CAAAA,CAAYlE,CAAI,CAAC,CAAA,CAAG,aAAY,CAAA,MAAA,CAAO,EAC1FgE,CACCpD,EAAAA,GAAAA,CAAC,GAAE,CAAA,CAAA,SAAA,CAAU,qCAAqC,YAAYoD,CAAAA,CAAAA,CAC3D,QAAAA,CAAAA,CAAAA,CACH,GAEJ,CAEJ","file":"chunk-MD23GXSI.mjs","sourcesContent":["import * as React from \"react\"\nimport { cva } from \"class-variance-authority\"\nimport { cn } from \"@/utils/cn\"\nimport { TextFieldProps } from \"./text-field.types\"\nimport { Loader2 } from \"lucide-react\"\nimport { Input } from \"../input\"\nimport { Label } from \"../label\"\n\n/**\n * Text field variant styles using class-variance-authority.\n * Defines the visual styles for different text field variants and sizes.\n */\nconst textFieldVariants = cva(\"w-full\", {\n variants: {\n variant: {\n default: \"\",\n error: \"border-destructive focus-visible:ring-destructive\"\n },\n size: {\n default: \"h-10\",\n sm: \"h-8 text-xs\",\n lg: \"h-12 text-base\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n})\n\n/**\n * A versatile text field component that supports multiple variants, sizes, and icons.\n * Built on top of shadcn/ui's Input component.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-text-field--docs\n *\n * @component\n * @example\n * ```tsx\n * // Default text field\n * <TextField placeholder=\"Enter text\" />\n *\n * // With icons\n * <TextField startIcon={<SearchIcon />} placeholder=\"Search...\" />\n * <TextField endIcon={<CalendarIcon />} placeholder=\"Select date\" />\n *\n * // With loading state\n * <TextField loading placeholder=\"Loading...\" />\n *\n * // With error\n * <TextField error=\"Invalid input\" placeholder=\"Enter text\" />\n * ```\n */\nconst TextField = React.forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n className,\n variant,\n size,\n startIcon,\n endIcon,\n loading = false,\n error,\n label,\n helperText,\n disabled,\n ...props\n },\n ref\n ) => {\n const id = React.useId()\n\n return (\n <div className=\"w-full space-y-2\">\n {label && <Label htmlFor={id}>{label}</Label>}\n <div className=\"relative\">\n {startIcon && (\n <div className=\"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground\">\n {startIcon}\n </div>\n )}\n <Input\n id={id}\n className={cn(\n textFieldVariants({ variant: error ? \"error\" : variant, size, className }),\n startIcon && \"pl-9\",\n (endIcon || loading) && \"pr-9\"\n )}\n ref={ref}\n disabled={disabled || loading}\n {...props}\n />\n {(endIcon || loading) && (\n <div className=\"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground\">\n {loading ? <Loader2 className=\"h-4 w-4 animate-spin\" /> : endIcon}\n </div>\n )}\n </div>\n {(error || helperText) && (\n <p className={cn(\"text-sm\", error ? \"text-destructive\" : \"text-muted-foreground\")}>\n {error || helperText}\n </p>\n )}\n </div>\n )\n }\n)\n\nTextField.displayName = \"TextField\"\n\nexport { TextField, textFieldVariants }\n","/**\n * Container is a layout component that provides a centered, max-width wrapper for content.\n * It's designed to create consistent horizontal padding and maximum widths across different screen sizes.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-container--docs\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Container>\n * <h1>Page Title</h1>\n * <p>Content goes here...</p>\n * </Container>\n *\n * // With custom max width\n * <Container maxWidth=\"xl\">\n * <h1>Wider Content</h1>\n * </Container>\n *\n * // Fluid container (no max-width)\n * <Container fluid>\n * <h1>Full Width Content</h1>\n * </Container>\n *\n * // Without padding\n * <Container disablePadding>\n * <h1>No Padding Content</h1>\n * </Container>\n * ```\n */\nimport { cn } from \"@/utils\"\nimport * as React from \"react\"\n\nexport interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The maximum width of the container.\n * - \"sm\": 640px\n * - \"md\": 768px\n * - \"lg\": 1024px\n * - \"xl\": 1280px\n * - \"full\": 100%\n * - false: No max-width (fluid)\n *\n * @default \"lg\"\n */\n maxWidth?: \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | false\n /**\n * Whether to disable the default horizontal padding.\n * When true, removes the default padding (px-4 sm:px-6 lg:px-8).\n *\n * @default false\n */\n disablePadding?: boolean\n /**\n * Whether to make the container fluid (no max-width).\n * When true, the container will expand to fill its parent's width.\n *\n * @default false\n */\n fluid?: boolean\n}\n\nconst Container = React.forwardRef<HTMLDivElement, ContainerProps>(\n ({ className, maxWidth = \"lg\", disablePadding = false, fluid = false, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n // Base styles\n \"mx-auto w-full\",\n // Padding\n !disablePadding && \"px-4 sm:px-6 lg:px-8\",\n // Max width\n !fluid && {\n \"max-w-screen-sm\": maxWidth === \"sm\",\n \"max-w-screen-md\": maxWidth === \"md\",\n \"max-w-screen-lg\": maxWidth === \"lg\",\n \"max-w-screen-xl\": maxWidth === \"xl\",\n \"max-w-full\": maxWidth === \"full\"\n },\n className\n )}\n {...props}\n />\n )\n }\n)\n\nContainer.displayName = \"Container\"\n\nexport { Container }\n","/**\n * Box is a fundamental layout component that serves as a building block for other components.\n * It's a polymorphic component that can render as different HTML elements while maintaining\n * consistent styling and behavior.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-box--docs\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Box>Content</Box>\n *\n * // As a different element\n * <Box as=\"section\">Section content</Box>\n *\n * // With custom className\n * <Box className=\"bg-primary text-white p-4\">Styled content</Box>\n *\n * // With custom dimensions\n * <Box width=\"100px\" height=\"200px\">Fixed size content</Box>\n * <Box width=\"50%\" height=\"auto\">Responsive content</Box>\n * ```\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\ntype BoxComponent =\n | \"div\"\n | \"span\"\n | \"section\"\n | \"article\"\n | \"main\"\n | \"aside\"\n | \"header\"\n | \"footer\"\n | \"nav\"\n\ntype DimensionValue = string | number\n\nexport interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The HTML element to render the Box as.\n * This allows for semantic HTML while maintaining consistent styling.\n *\n * @default \"div\"\n */\n as?: BoxComponent\n\n /**\n * The width of the Box component.\n * Can be a number (interpreted as pixels) or a string (e.g., \"100%\", \"50px\", \"10rem\").\n */\n width?: DimensionValue\n\n /**\n * The height of the Box component.\n * Can be a number (interpreted as pixels) or a string (e.g., \"100%\", \"50px\", \"10rem\").\n */\n height?: DimensionValue\n}\n\nconst Box = React.forwardRef<HTMLDivElement, BoxProps>(\n ({ as: Component = \"div\", className, width, height, style, ...props }, ref) => {\n const dimensionStyles = {\n width: typeof width === \"number\" ? `${width}px` : width,\n height: typeof height === \"number\" ? `${height}px` : height,\n ...style\n }\n\n return <Component ref={ref} className={cn(className)} style={dimensionStyles} {...props} />\n }\n)\n\nBox.displayName = \"Box\"\n\nexport { Box }\n","/**\n * Stack is a layout component that arranges its children in a vertical or horizontal stack\n * with consistent spacing between items. It's built on top of Flexbox and provides\n * a simple way to create consistent layouts.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-stack--docs\n *\n * @example\n * ```tsx\n * // Basic vertical stack\n * <Stack>\n * <div>Item 1</div>\n * <div>Item 2</div>\n * <div>Item 3</div>\n * </Stack>\n *\n * // Horizontal stack with custom spacing\n * <Stack direction=\"horizontal\" spacing=\"lg\">\n * <div>Item 1</div>\n * <div>Item 2</div>\n * </Stack>\n *\n * // Centered stack with wrapping\n * <Stack direction=\"horizontal\" center wrap>\n * <div>Item 1</div>\n * <div>Item 2</div>\n * <div>Item 3</div>\n * </Stack>\n *\n * // Stack with custom alignment\n * <Stack align=\"center\" justify=\"between\">\n * <div>Left</div>\n * <div>Center</div>\n * <div>Right</div>\n * </Stack>\n *\n * // Stack with custom dimensions\n * <Stack width=\"100%\" height=\"200px\">\n * <div>Full width, fixed height stack</div>\n * </Stack>\n * ```\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\nexport interface StackProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The direction in which to stack the items.\n * - \"vertical\": Items are stacked top to bottom\n * - \"horizontal\": Items are stacked left to right\n *\n * @default \"vertical\"\n */\n direction?: \"vertical\" | \"horizontal\"\n /**\n * The spacing between items in the stack.\n * - \"none\": 0px\n * - \"xs\": 0.25rem (4px)\n * - \"sm\": 0.5rem (8px)\n * - \"md\": 1rem (16px)\n * - \"lg\": 1.5rem (24px)\n * - \"xl\": 2rem (32px)\n *\n * @default \"md\"\n */\n spacing?: \"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"\n /**\n * Whether to allow items to wrap to the next line when they don't fit.\n * Only applies to horizontal stacks.\n *\n * @default false\n */\n wrap?: boolean\n /**\n * Whether to center items both horizontally and vertically.\n * This is a shorthand for setting both align and justify to \"center\".\n *\n * @default false\n */\n center?: boolean\n /**\n * How to justify items along the main axis.\n * - \"start\": Items are packed toward the start\n * - \"end\": Items are packed toward the end\n * - \"center\": Items are centered\n * - \"between\": Items are evenly distributed with first item at start and last at end\n * - \"around\": Items are evenly distributed with equal space around them\n * - \"evenly\": Items are distributed so that the spacing between any two items is equal\n *\n * @default undefined\n */\n justify?: \"start\" | \"end\" | \"center\" | \"between\" | \"around\" | \"evenly\"\n /**\n * How to align items along the cross axis.\n * - \"start\": Items are aligned at the start\n * - \"end\": Items are aligned at the end\n * - \"center\": Items are centered\n * - \"stretch\": Items are stretched to fill the container\n * - \"baseline\": Items are aligned at their baselines\n *\n * @default undefined\n */\n align?: \"start\" | \"end\" | \"center\" | \"stretch\" | \"baseline\"\n /**\n * The width of the stack container.\n * Can be any valid CSS width value (e.g., \"100%\", \"200px\", \"50vw\").\n *\n * @default undefined\n */\n width?: string\n /**\n * The height of the stack container.\n * Can be any valid CSS height value (e.g., \"100%\", \"200px\", \"50vh\").\n *\n * @default undefined\n */\n height?: string\n}\n\nconst Stack = React.forwardRef<HTMLDivElement, StackProps>(\n (\n {\n className,\n direction = \"vertical\",\n spacing = \"md\",\n wrap = false,\n center = false,\n justify,\n align,\n width,\n height,\n style,\n ...props\n },\n ref\n ) => {\n return (\n <div\n ref={ref}\n className={cn(\n // Base styles\n \"flex\",\n // Direction\n direction === \"vertical\" ? \"flex-col\" : \"flex-row\",\n // Spacing\n {\n \"gap-0\": spacing === \"none\",\n \"gap-1\": spacing === \"xs\",\n \"gap-2\": spacing === \"sm\",\n \"gap-4\": spacing === \"md\",\n \"gap-6\": spacing === \"lg\",\n \"gap-8\": spacing === \"xl\"\n },\n // Wrap\n wrap && \"flex-wrap\",\n // Center\n center && \"items-center justify-center\",\n // Justify\n justify && {\n \"justify-start\": justify === \"start\",\n \"justify-end\": justify === \"end\",\n \"justify-center\": justify === \"center\",\n \"justify-between\": justify === \"between\",\n \"justify-around\": justify === \"around\",\n \"justify-evenly\": justify === \"evenly\"\n },\n // Align\n align && {\n \"items-start\": align === \"start\",\n \"items-end\": align === \"end\",\n \"items-center\": align === \"center\",\n \"items-stretch\": align === \"stretch\",\n \"items-baseline\": align === \"baseline\"\n },\n className\n )}\n style={{\n width,\n height,\n ...style\n }}\n {...props}\n />\n )\n }\n)\n\nStack.displayName = \"Stack\"\n\nexport { Stack }\n","import * as React from \"react\"\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\"\nimport { X } from \"lucide-react\"\nimport { cn } from \"@/utils\"\n\n/**\n * Dialog component for creating accessible dialogs with overlay and content.\n * Built on top of Radix UI's Dialog primitive.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-dialog--docs\n *\n * @example\n * ```tsx\n * <Dialog>\n * <DialogTrigger>Open Dialog</DialogTrigger>\n * <DialogContent>Dialog Content</DialogContent>\n * </Dialog>\n */\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className\n )}\n {...props}\n >\n {children}\n <DialogPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn(\"flex flex-col space-y-1.5 text-center sm:text-left\", className)} {...props} />\n)\nDialogHeader.displayName = \"DialogHeader\"\n\nconst DialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)}\n {...props}\n />\n)\nDialogFooter.displayName = \"DialogFooter\"\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold leading-none tracking-tight\", className)}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription\n}\n","import * as React from \"react\"\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\"\nimport { cn } from \"@/utils/index\"\nimport type { AvatarProps, AvatarImageProps, AvatarFallbackProps } from \"./avatar.types\"\n\n/**\n * Avatar component that displays a user's profile picture or fallback.\n * Built on top of Radix UI's Avatar primitive.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-avatar--docs\n *\n * @example\n * ```tsx\n * <Avatar>\n * <AvatarImage src=\"/path/to/image.jpg\" alt=\"User avatar\" />\n * <AvatarFallback>JD</AvatarFallback>\n * </Avatar>\n * ```\n */\nconst Avatar = React.forwardRef<React.ElementRef<typeof AvatarPrimitive.Root>, AvatarProps>(\n ({ className, ...props }, ref) => (\n <AvatarPrimitive.Root\n ref={ref}\n className={cn(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\", className)}\n {...props}\n />\n )\n)\nAvatar.displayName = AvatarPrimitive.Root.displayName\n\n/**\n * AvatarImage component that displays the user's profile picture.\n * Falls back to AvatarFallback if the image fails to load.\n */\nconst AvatarImage = React.forwardRef<\n React.ElementRef<typeof AvatarPrimitive.Image>,\n AvatarImageProps\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Image\n ref={ref}\n className={cn(\"aspect-square h-full w-full\", className)}\n {...props}\n />\n))\nAvatarImage.displayName = AvatarPrimitive.Image.displayName\n\n/**\n * AvatarFallback component that displays when the image fails to load.\n * Typically shows the user's initials or a placeholder icon.\n */\nconst AvatarFallback = React.forwardRef<\n React.ElementRef<typeof AvatarPrimitive.Fallback>,\n AvatarFallbackProps\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Fallback\n ref={ref}\n className={cn(\n \"flex h-full w-full items-center justify-center rounded-full bg-muted\",\n className\n )}\n {...props}\n />\n))\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName\n\nexport { Avatar, AvatarImage, AvatarFallback }\n","import { cva } from \"class-variance-authority\"\n\nexport const badgeVariants = cva(\n \"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\n {\n variants: {\n variant: {\n default: \"border-transparent bg-primary text-primary-foreground hover:bg-primary/80\",\n secondary:\n \"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n destructive:\n \"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80\",\n outline: \"text-foreground\",\n success: \"border-transparent bg-green-500 text-white hover:bg-green-500/80\",\n warning: \"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80\",\n info: \"border-transparent bg-blue-500 text-white hover:bg-blue-500/80\"\n },\n size: {\n default: \"h-5\",\n sm: \"h-4 text-[10px]\",\n lg: \"h-6 text-sm\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n }\n)\n","import * as React from \"react\"\nimport { cn } from \"@/utils/index\"\nimport { badgeVariants } from \"./badge.variants\"\nimport type { BadgeProps } from \"./badge.types\"\n\n/**\n * Badge component for displaying status, counts, or labels.\n * Supports various variants, sizes, and optional icons.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-badge--docs\n *\n * @example\n * ```tsx\n * <Badge variant=\"success\">Active</Badge>\n * <Badge variant=\"warning\" icon={<AlertIcon />}>Warning</Badge>\n * <Badge variant=\"info\" size=\"lg\" iconAfter={<ArrowIcon />}>New</Badge>\n * ```\n */\nconst Badge = React.forwardRef<HTMLDivElement, BadgeProps>(\n ({ className, variant, size, icon, iconAfter, children, ...props }, ref) => {\n return (\n <div ref={ref} className={cn(badgeVariants({ variant, size }), className)} {...props}>\n {icon && <span className=\"mr-1\">{icon}</span>}\n {children}\n {iconAfter && <span className=\"ml-1\">{iconAfter}</span>}\n </div>\n )\n }\n)\n\nBadge.displayName = \"Badge\"\n\nexport { Badge, badgeVariants }\n","import * as React from \"react\"\nimport { cn } from \"@/utils\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nconst typographyVariants = cva(\"\", {\n variants: {\n variant: {\n h1: \"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl\",\n h2: \"scroll-m-20 text-3xl font-semibold tracking-tight\",\n h3: \"scroll-m-20 text-2xl font-semibold tracking-tight\",\n h4: \"scroll-m-20 text-xl font-semibold tracking-tight\",\n h5: \"scroll-m-20 text-lg font-semibold tracking-tight\",\n h6: \"scroll-m-20 text-base font-semibold tracking-tight\",\n p: \"leading-7 [&:not(:first-child)]:mt-6\",\n blockquote: \"mt-6 border-l-2 border-slate-300 pl-6 italic\",\n list: \"my-6 ml-6 list-disc [&>li]:mt-2\",\n lead: \"text-xl text-muted-foreground\",\n large: \"text-lg font-semibold\",\n small: \"text-sm font-medium leading-none\",\n muted: \"text-sm text-muted-foreground\"\n },\n align: {\n left: \"text-left\",\n center: \"text-center\",\n right: \"text-right\",\n justify: \"text-justify\"\n }\n },\n defaultVariants: {\n variant: \"p\",\n align: \"left\"\n }\n})\n\nexport interface TypographyProps\n extends React.HTMLAttributes<HTMLElement>,\n VariantProps<typeof typographyVariants> {\n as?: React.ElementType\n}\n\n/**\n * Typography component for creating accessible text elements.\n * Built on top of shadcn/ui's Typography component.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-typography--docs\n *\n */\nconst Typography = React.forwardRef<HTMLElement, TypographyProps>(\n ({ className, variant, align, as: Component = \"p\", ...props }, ref) => {\n return (\n <Component\n className={cn(typographyVariants({ variant, align, className }))}\n ref={ref}\n {...props}\n />\n )\n }\n)\n\nTypography.displayName = \"Typography\"\n\nexport { Typography, typographyVariants }\n","import { cn } from \"@/utils\"\nimport { Loader2 } from \"lucide-react\"\n\nexport interface PageLoaderProps {\n /**\n * Optional className to extend the component's styles\n */\n className?: string\n /**\n * Optional size of the loader (default: \"default\")\n */\n size?: \"sm\" | \"default\" | \"lg\"\n /**\n * Optional text to display below the loader\n */\n text?: string\n /**\n * Optional color of the loader (default: \"primary\")\n */\n color?: \"primary\" | \"secondary\" | \"accent\" | \"muted\" | \"destructive\" | string\n}\n\n/**\n * PageLoader component for displaying a loading indicator.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-page-loader--docs\n *\n */\n\nexport function PageLoader({\n className,\n size = \"default\",\n text,\n color = \"primary\"\n}: PageLoaderProps) {\n const sizeClasses = {\n sm: \"h-4 w-4\",\n default: \"h-8 w-8\",\n lg: \"h-12 w-12\"\n }\n\n const colorClasses = {\n primary: \"text-primary\",\n secondary: \"text-secondary\",\n accent: \"text-accent\",\n muted: \"text-muted-foreground\",\n destructive: \"text-destructive\"\n }\n\n const loaderColor = colorClasses[color as keyof typeof colorClasses] || `text-[${color}]`\n\n return (\n <div\n className={cn(\n \"fixed inset-0 z-50 flex min-h-screen flex-col items-center justify-center bg-background/80 backdrop-blur-sm\",\n className\n )}\n role=\"alert\"\n aria-live=\"assertive\"\n >\n <Loader2 className={cn(\"animate-spin\", loaderColor, sizeClasses[size])} aria-hidden=\"true\" />\n {text && (\n <p className=\"mt-4 text-sm text-muted-foreground\" aria-label={text}>\n {text}\n </p>\n )}\n </div>\n )\n}\n"]}
1
+ {"version":3,"sources":["../src/components/atoms/text-field/text-field.tsx","../src/components/atoms/container/container.tsx","../src/components/atoms/box/box.tsx","../src/components/atoms/stack/stack.tsx","../src/components/atoms/dialog/dialog.tsx","../src/components/atoms/avatar/avatar.tsx","../src/components/atoms/badge/badge.variants.ts","../src/components/atoms/badge/badge.tsx","../src/components/atoms/typography/typography.tsx","../src/components/atoms/page-loader/page-loader.tsx"],"names":["textFieldVariants","cva","TextField","P","_a","ref","_b","className","variant","size","startIcon","endIcon","loading","error","label","helperText","disabled","props","__objRest","id","jsxs","jsx","Label","Input","__spreadValues","cn","Loader2","Container","H","maxWidth","disablePadding","fluid","Box","F","Component","width","height","style","dimensionStyles","Stack","M","direction","spacing","wrap","center","justify","align","Dialog","DialogTrigger","DialogPortal","DialogClose","DialogOverlay","DialogContent","children","__spreadProps","X","DialogHeader","DialogFooter","DialogTitle","DialogDescription","Avatar","R","AvatarImage","AvatarFallback","badgeVariants","Badge","S","icon","iconAfter","typographyVariants","Typography","q","PageLoader","text","color","sizeClasses","loaderColor"],"mappings":"gZAYMA,IAAAA,CAAAA,CAAoBC,GAAI,CAAA,QAAA,CAAU,CACtC,QAAU,CAAA,CACR,OAAS,CAAA,CACP,QAAS,EACT,CAAA,KAAA,CAAO,mDACT,CAAA,CACA,KAAM,CACJ,OAAA,CAAS,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AC,EAC/D,GAAKF,CAAAA,CAAAA,CAAAA,CACDY,CACN,CAAA,CAEJ,CACF,EAEAqD,EAAAA,CAAW,WAAc,CAAA,YAAA,CC9BlB,SAASE,EAAW,CAAA,CACzB,SAAAjE,CAAAA,CAAAA,CACA,IAAAE,CAAAA,CAAAA,CAAO,SACP,CAAA,IAAA,CAAAgE,EACA,KAAAC,CAAAA,CAAAA,CAAQ,SACV,CAAA,CAAoB,CAClB,IAAMC,CAAAA,CAAc,CAClB,EAAA,CAAI,UACJ,OAAS,CAAA,SAAA,CACT,EAAI,CAAA,WACN,EAUMC,CARe,CAAA,CACnB,OAAS,CAAA,cAAA,CACT,UAAW,gBACX,CAAA,MAAA,CAAQ,aACR,CAAA,KAAA,CAAO,wBACP,WAAa,CAAA,kBACf,CAEiCF,CAAAA,CAAkC,GAAK,CAASA,MAAAA,EAAAA,CAAK,CAEtF,CAAA,CAAA,CAAA,OACEtD,KAAC,KACC,CAAA,CAAA,SAAA,CAAWK,GACT,CAAA,6GAAA,CACAlB,CACF,CACA,CAAA,IAAA,CAAK,OACL,CAAA,WAAA,CAAU,YAEV,QAAAc,CAAAA,CAAAA,GAAAA,CAACK,OAAA,CAAA,CAAQ,UAAWD,GAAG,CAAA,cAAA,CAAgBmD,CAAaD,CAAAA,CAAAA,CAAYlE,CAAI,CAAC,CAAA,CAAG,aAAY,CAAA,MAAA,CAAO,EAC1FgE,CACCpD,EAAAA,GAAAA,CAAC,GAAE,CAAA,CAAA,SAAA,CAAU,qCAAqC,YAAYoD,CAAAA,CAAAA,CAC3D,QAAAA,CAAAA,CAAAA,CACH,GAEJ,CAEJ","file":"chunk-YXIEDY5R.mjs","sourcesContent":["import * as React from \"react\"\nimport { cva } from \"class-variance-authority\"\nimport { cn } from \"@/utils/cn\"\nimport { TextFieldProps } from \"./text-field.types\"\nimport { Loader2 } from \"lucide-react\"\nimport { Input } from \"../input\"\nimport { Label } from \"../label\"\n\n/**\n * Text field variant styles using class-variance-authority.\n * Defines the visual styles for different text field variants and sizes.\n */\nconst textFieldVariants = cva(\"w-full\", {\n variants: {\n variant: {\n default: \"\",\n error: \"border-destructive focus-visible:ring-destructive\"\n },\n size: {\n default: \"h-10\",\n sm: \"h-8 text-xs\",\n lg: \"h-12 text-base\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n})\n\n/**\n * A versatile text field component that supports multiple variants, sizes, and icons.\n * Built on top of shadcn/ui's Input component.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-text-field--docs\n *\n * @component\n * @example\n * ```tsx\n * // Default text field\n * <TextField placeholder=\"Enter text\" />\n *\n * // With icons\n * <TextField startIcon={<SearchIcon />} placeholder=\"Search...\" />\n * <TextField endIcon={<CalendarIcon />} placeholder=\"Select date\" />\n *\n * // With loading state\n * <TextField loading placeholder=\"Loading...\" />\n *\n * // With error\n * <TextField error=\"Invalid input\" placeholder=\"Enter text\" />\n * ```\n */\nconst TextField = React.forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n className,\n variant,\n size,\n startIcon,\n endIcon,\n loading = false,\n error,\n label,\n helperText,\n disabled,\n ...props\n },\n ref\n ) => {\n const id = React.useId()\n\n return (\n <div className=\"w-full space-y-2\">\n {label && <Label htmlFor={id}>{label}</Label>}\n <div className=\"relative\">\n {startIcon && (\n <div className=\"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground\">\n {startIcon}\n </div>\n )}\n <Input\n id={id}\n className={cn(\n textFieldVariants({ variant: error ? \"error\" : variant, size, className }),\n startIcon && \"pl-9\",\n (endIcon || loading) && \"pr-9\"\n )}\n ref={ref}\n disabled={disabled || loading}\n {...props}\n />\n {(endIcon || loading) && (\n <div className=\"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground\">\n {loading ? <Loader2 className=\"h-4 w-4 animate-spin\" /> : endIcon}\n </div>\n )}\n </div>\n {(error || helperText) && (\n <p className={cn(\"text-sm\", error ? \"text-destructive\" : \"text-muted-foreground\")}>\n {error || helperText}\n </p>\n )}\n </div>\n )\n }\n)\n\nTextField.displayName = \"TextField\"\n\nexport { TextField, textFieldVariants }\n","/**\n * Container is a layout component that provides a centered, max-width wrapper for content.\n * It's designed to create consistent horizontal padding and maximum widths across different screen sizes.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-container--docs\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Container>\n * <h1>Page Title</h1>\n * <p>Content goes here...</p>\n * </Container>\n *\n * // With custom max width\n * <Container maxWidth=\"xl\">\n * <h1>Wider Content</h1>\n * </Container>\n *\n * // Fluid container (no max-width)\n * <Container fluid>\n * <h1>Full Width Content</h1>\n * </Container>\n *\n * // Without padding\n * <Container disablePadding>\n * <h1>No Padding Content</h1>\n * </Container>\n * ```\n */\nimport { cn } from \"@/utils\"\nimport * as React from \"react\"\n\nexport interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The maximum width of the container.\n * - \"sm\": 640px\n * - \"md\": 768px\n * - \"lg\": 1024px\n * - \"xl\": 1280px\n * - \"full\": 100%\n * - false: No max-width (fluid)\n *\n * @default \"lg\"\n */\n maxWidth?: \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | false\n /**\n * Whether to disable the default horizontal padding.\n * When true, removes the default padding (px-4 sm:px-6 lg:px-8).\n *\n * @default false\n */\n disablePadding?: boolean\n /**\n * Whether to make the container fluid (no max-width).\n * When true, the container will expand to fill its parent's width.\n *\n * @default false\n */\n fluid?: boolean\n}\n\nconst Container = React.forwardRef<HTMLDivElement, ContainerProps>(\n ({ className, maxWidth = \"lg\", disablePadding = false, fluid = false, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n // Base styles\n \"mx-auto w-full\",\n // Padding\n !disablePadding && \"px-4 sm:px-6 lg:px-8\",\n // Max width\n !fluid && {\n \"max-w-screen-sm\": maxWidth === \"sm\",\n \"max-w-screen-md\": maxWidth === \"md\",\n \"max-w-screen-lg\": maxWidth === \"lg\",\n \"max-w-screen-xl\": maxWidth === \"xl\",\n \"max-w-full\": maxWidth === \"full\"\n },\n className\n )}\n {...props}\n />\n )\n }\n)\n\nContainer.displayName = \"Container\"\n\nexport { Container }\n","/**\n * Box is a fundamental layout component that serves as a building block for other components.\n * It's a polymorphic component that can render as different HTML elements while maintaining\n * consistent styling and behavior.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-box--docs\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Box>Content</Box>\n *\n * // As a different element\n * <Box as=\"section\">Section content</Box>\n *\n * // With custom className\n * <Box className=\"bg-primary text-white p-4\">Styled content</Box>\n *\n * // With custom dimensions\n * <Box width=\"100px\" height=\"200px\">Fixed size content</Box>\n * <Box width=\"50%\" height=\"auto\">Responsive content</Box>\n * ```\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\ntype BoxComponent =\n | \"div\"\n | \"span\"\n | \"section\"\n | \"article\"\n | \"main\"\n | \"aside\"\n | \"header\"\n | \"footer\"\n | \"nav\"\n\ntype DimensionValue = string | number\n\nexport interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The HTML element to render the Box as.\n * This allows for semantic HTML while maintaining consistent styling.\n *\n * @default \"div\"\n */\n as?: BoxComponent\n\n /**\n * The width of the Box component.\n * Can be a number (interpreted as pixels) or a string (e.g., \"100%\", \"50px\", \"10rem\").\n */\n width?: DimensionValue\n\n /**\n * The height of the Box component.\n * Can be a number (interpreted as pixels) or a string (e.g., \"100%\", \"50px\", \"10rem\").\n */\n height?: DimensionValue\n}\n\nconst Box = React.forwardRef<HTMLDivElement, BoxProps>(\n ({ as: Component = \"div\", className, width, height, style, ...props }, ref) => {\n const dimensionStyles = {\n width: typeof width === \"number\" ? `${width}px` : width,\n height: typeof height === \"number\" ? `${height}px` : height,\n ...style\n }\n\n return <Component ref={ref} className={cn(className)} style={dimensionStyles} {...props} />\n }\n)\n\nBox.displayName = \"Box\"\n\nexport { Box }\n","/**\n * Stack is a layout component that arranges its children in a vertical or horizontal stack\n * with consistent spacing between items. It's built on top of Flexbox and provides\n * a simple way to create consistent layouts.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-stack--docs\n *\n * @example\n * ```tsx\n * // Basic vertical stack\n * <Stack>\n * <div>Item 1</div>\n * <div>Item 2</div>\n * <div>Item 3</div>\n * </Stack>\n *\n * // Horizontal stack with custom spacing\n * <Stack direction=\"horizontal\" spacing=\"lg\">\n * <div>Item 1</div>\n * <div>Item 2</div>\n * </Stack>\n *\n * // Centered stack with wrapping\n * <Stack direction=\"horizontal\" center wrap>\n * <div>Item 1</div>\n * <div>Item 2</div>\n * <div>Item 3</div>\n * </Stack>\n *\n * // Stack with custom alignment\n * <Stack align=\"center\" justify=\"between\">\n * <div>Left</div>\n * <div>Center</div>\n * <div>Right</div>\n * </Stack>\n *\n * // Stack with custom dimensions\n * <Stack width=\"100%\" height=\"200px\">\n * <div>Full width, fixed height stack</div>\n * </Stack>\n * ```\n */\nimport * as React from \"react\"\nimport { cn } from \"@/utils\"\n\nexport interface StackProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The direction in which to stack the items.\n * - \"vertical\": Items are stacked top to bottom\n * - \"horizontal\": Items are stacked left to right\n *\n * @default \"vertical\"\n */\n direction?: \"vertical\" | \"horizontal\"\n /**\n * The spacing between items in the stack.\n * - \"none\": 0px\n * - \"xs\": 0.25rem (4px)\n * - \"sm\": 0.5rem (8px)\n * - \"md\": 1rem (16px)\n * - \"lg\": 1.5rem (24px)\n * - \"xl\": 2rem (32px)\n *\n * @default \"md\"\n */\n spacing?: \"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"\n /**\n * Whether to allow items to wrap to the next line when they don't fit.\n * Only applies to horizontal stacks.\n *\n * @default false\n */\n wrap?: boolean\n /**\n * Whether to center items both horizontally and vertically.\n * This is a shorthand for setting both align and justify to \"center\".\n *\n * @default false\n */\n center?: boolean\n /**\n * How to justify items along the main axis.\n * - \"start\": Items are packed toward the start\n * - \"end\": Items are packed toward the end\n * - \"center\": Items are centered\n * - \"between\": Items are evenly distributed with first item at start and last at end\n * - \"around\": Items are evenly distributed with equal space around them\n * - \"evenly\": Items are distributed so that the spacing between any two items is equal\n *\n * @default undefined\n */\n justify?: \"start\" | \"end\" | \"center\" | \"between\" | \"around\" | \"evenly\"\n /**\n * How to align items along the cross axis.\n * - \"start\": Items are aligned at the start\n * - \"end\": Items are aligned at the end\n * - \"center\": Items are centered\n * - \"stretch\": Items are stretched to fill the container\n * - \"baseline\": Items are aligned at their baselines\n *\n * @default undefined\n */\n align?: \"start\" | \"end\" | \"center\" | \"stretch\" | \"baseline\"\n /**\n * The width of the stack container.\n * Can be any valid CSS width value (e.g., \"100%\", \"200px\", \"50vw\").\n *\n * @default undefined\n */\n width?: string\n /**\n * The height of the stack container.\n * Can be any valid CSS height value (e.g., \"100%\", \"200px\", \"50vh\").\n *\n * @default undefined\n */\n height?: string\n}\n\nconst Stack = React.forwardRef<HTMLDivElement, StackProps>(\n (\n {\n className,\n direction = \"vertical\",\n spacing = \"md\",\n wrap = false,\n center = false,\n justify,\n align,\n width,\n height,\n style,\n ...props\n },\n ref\n ) => {\n return (\n <div\n ref={ref}\n className={cn(\n // Base styles\n \"flex\",\n // Direction\n direction === \"vertical\" ? \"flex-col\" : \"flex-row\",\n // Spacing\n {\n \"gap-0\": spacing === \"none\",\n \"gap-1\": spacing === \"xs\",\n \"gap-2\": spacing === \"sm\",\n \"gap-4\": spacing === \"md\",\n \"gap-6\": spacing === \"lg\",\n \"gap-8\": spacing === \"xl\"\n },\n // Wrap\n wrap && \"flex-wrap\",\n // Center\n center && \"items-center justify-center\",\n // Justify\n justify && {\n \"justify-start\": justify === \"start\",\n \"justify-end\": justify === \"end\",\n \"justify-center\": justify === \"center\",\n \"justify-between\": justify === \"between\",\n \"justify-around\": justify === \"around\",\n \"justify-evenly\": justify === \"evenly\"\n },\n // Align\n align && {\n \"items-start\": align === \"start\",\n \"items-end\": align === \"end\",\n \"items-center\": align === \"center\",\n \"items-stretch\": align === \"stretch\",\n \"items-baseline\": align === \"baseline\"\n },\n className\n )}\n style={{\n width,\n height,\n ...style\n }}\n {...props}\n />\n )\n }\n)\n\nStack.displayName = \"Stack\"\n\nexport { Stack }\n","import * as React from \"react\"\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\"\nimport { X } from \"lucide-react\"\nimport { cn } from \"@/utils\"\n\n/**\n * Dialog component for creating accessible dialogs with overlay and content.\n * Built on top of Radix UI's Dialog primitive.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-dialog--docs\n *\n * @example\n * ```tsx\n * <Dialog>\n * <DialogTrigger>Open Dialog</DialogTrigger>\n * <DialogContent>Dialog Content</DialogContent>\n * </Dialog>\n */\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className\n )}\n {...props}\n >\n {children}\n <DialogPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn(\"flex flex-col space-y-1.5 text-center sm:text-left\", className)} {...props} />\n)\nDialogHeader.displayName = \"DialogHeader\"\n\nconst DialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)}\n {...props}\n />\n)\nDialogFooter.displayName = \"DialogFooter\"\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold leading-none tracking-tight\", className)}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription\n}\n","import * as React from \"react\"\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\"\nimport { cn } from \"@/utils/index\"\nimport type { AvatarProps, AvatarImageProps, AvatarFallbackProps } from \"./avatar.types\"\n\n/**\n * Avatar component that displays a user's profile picture or fallback.\n * Built on top of Radix UI's Avatar primitive.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-avatar--docs\n *\n * @example\n * ```tsx\n * <Avatar>\n * <AvatarImage src=\"/path/to/image.jpg\" alt=\"User avatar\" />\n * <AvatarFallback>JD</AvatarFallback>\n * </Avatar>\n * ```\n */\nconst Avatar = React.forwardRef<React.ElementRef<typeof AvatarPrimitive.Root>, AvatarProps>(\n ({ className, ...props }, ref) => (\n <AvatarPrimitive.Root\n ref={ref}\n className={cn(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\", className)}\n {...props}\n />\n )\n)\nAvatar.displayName = AvatarPrimitive.Root.displayName\n\n/**\n * AvatarImage component that displays the user's profile picture.\n * Falls back to AvatarFallback if the image fails to load.\n */\nconst AvatarImage = React.forwardRef<\n React.ElementRef<typeof AvatarPrimitive.Image>,\n AvatarImageProps\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Image\n ref={ref}\n className={cn(\"aspect-square h-full w-full\", className)}\n {...props}\n />\n))\nAvatarImage.displayName = AvatarPrimitive.Image.displayName\n\n/**\n * AvatarFallback component that displays when the image fails to load.\n * Typically shows the user's initials or a placeholder icon.\n */\nconst AvatarFallback = React.forwardRef<\n React.ElementRef<typeof AvatarPrimitive.Fallback>,\n AvatarFallbackProps\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Fallback\n ref={ref}\n className={cn(\n \"flex h-full w-full items-center justify-center rounded-full bg-muted\",\n className\n )}\n {...props}\n />\n))\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName\n\nexport { Avatar, AvatarImage, AvatarFallback }\n","import { cva } from \"class-variance-authority\"\n\nexport const badgeVariants = cva(\n \"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\n {\n variants: {\n variant: {\n default: \"border-transparent bg-primary text-primary-foreground hover:bg-primary/80\",\n secondary:\n \"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n destructive:\n \"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80\",\n outline: \"text-foreground\",\n success: \"border-transparent bg-green-500 text-white hover:bg-green-500/80\",\n warning: \"border-transparent bg-yellow-500 text-white hover:bg-yellow-500/80\",\n info: \"border-transparent bg-blue-500 text-white hover:bg-blue-500/80\"\n },\n size: {\n default: \"h-5\",\n sm: \"h-4 text-[10px]\",\n lg: \"h-6 text-sm\"\n }\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\"\n }\n }\n)\n","import * as React from \"react\"\nimport { cn } from \"@/utils/index\"\nimport { badgeVariants } from \"./badge.variants\"\nimport type { BadgeProps } from \"./badge.types\"\n\n/**\n * Badge component for displaying status, counts, or labels.\n * Supports various variants, sizes, and optional icons.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-badge--docs\n *\n * @example\n * ```tsx\n * <Badge variant=\"success\">Active</Badge>\n * <Badge variant=\"warning\" icon={<AlertIcon />}>Warning</Badge>\n * <Badge variant=\"info\" size=\"lg\" iconAfter={<ArrowIcon />}>New</Badge>\n * ```\n */\nconst Badge = React.forwardRef<HTMLDivElement, BadgeProps>(\n ({ className, variant, size, icon, iconAfter, children, ...props }, ref) => {\n return (\n <div ref={ref} className={cn(badgeVariants({ variant, size }), className)} {...props}>\n {icon && <span className=\"mr-1\">{icon}</span>}\n {children}\n {iconAfter && <span className=\"ml-1\">{iconAfter}</span>}\n </div>\n )\n }\n)\n\nBadge.displayName = \"Badge\"\n\nexport { Badge, badgeVariants }\n","import * as React from \"react\"\nimport { cn } from \"@/utils\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nconst typographyVariants = cva(\"\", {\n variants: {\n variant: {\n h1: \"scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl\",\n h2: \"scroll-m-20 text-3xl font-semibold tracking-tight\",\n h3: \"scroll-m-20 text-2xl font-semibold tracking-tight\",\n h4: \"scroll-m-20 text-xl font-semibold tracking-tight\",\n h5: \"scroll-m-20 text-lg font-semibold tracking-tight\",\n h6: \"scroll-m-20 text-base font-semibold tracking-tight\",\n p: \"leading-7 [&:not(:first-child)]:mt-6\",\n blockquote: \"mt-6 border-l-2 border-slate-300 pl-6 italic\",\n list: \"my-6 ml-6 list-disc [&>li]:mt-2\",\n lead: \"text-xl text-muted-foreground\",\n large: \"text-lg font-semibold\",\n small: \"text-sm font-medium leading-none\",\n muted: \"text-sm text-muted-foreground\"\n },\n align: {\n left: \"text-left\",\n center: \"text-center\",\n right: \"text-right\",\n justify: \"text-justify\"\n }\n },\n defaultVariants: {\n variant: \"p\",\n align: \"left\"\n }\n})\n\nexport interface TypographyProps\n extends React.HTMLAttributes<HTMLElement>,\n VariantProps<typeof typographyVariants> {\n as?: React.ElementType\n}\n\n/**\n * Typography component for creating accessible text elements.\n * Built on top of shadcn/ui's Typography component.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-typography--docs\n *\n */\nconst Typography = React.forwardRef<HTMLElement, TypographyProps>(\n ({ className, variant, align, as: Component = \"p\", ...props }, ref) => {\n return (\n <Component\n className={cn(typographyVariants({ variant, align, className }))}\n ref={ref}\n {...props}\n />\n )\n }\n)\n\nTypography.displayName = \"Typography\"\n\nexport { Typography, typographyVariants }\n","import { cn } from \"@/utils\"\nimport { Loader2 } from \"lucide-react\"\n\nexport interface PageLoaderProps {\n /**\n * Optional className to extend the component's styles\n */\n className?: string\n /**\n * Optional size of the loader (default: \"default\")\n */\n size?: \"sm\" | \"default\" | \"lg\"\n /**\n * Optional text to display below the loader\n */\n text?: string\n /**\n * Optional color of the loader (default: \"primary\")\n */\n color?: \"primary\" | \"secondary\" | \"accent\" | \"muted\" | \"destructive\" | string\n}\n\n/**\n * PageLoader component for displaying a loading indicator.\n *\n * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-page-loader--docs\n *\n */\n\nexport function PageLoader({\n className,\n size = \"default\",\n text,\n color = \"primary\"\n}: PageLoaderProps) {\n const sizeClasses = {\n sm: \"h-4 w-4\",\n default: \"h-8 w-8\",\n lg: \"h-12 w-12\"\n }\n\n const colorClasses = {\n primary: \"text-primary\",\n secondary: \"text-secondary\",\n accent: \"text-accent\",\n muted: \"text-muted-foreground\",\n destructive: \"text-destructive\"\n }\n\n const loaderColor = colorClasses[color as keyof typeof colorClasses] || `text-[${color}]`\n\n return (\n <div\n className={cn(\n \"fixed inset-0 z-50 flex min-h-screen flex-col items-center justify-center bg-background/80 backdrop-blur-sm\",\n className\n )}\n role=\"alert\"\n aria-live=\"assertive\"\n >\n <Loader2 className={cn(\"animate-spin\", loaderColor, sizeClasses[size])} aria-hidden=\"true\" />\n {text && (\n <p className=\"mt-4 text-sm text-muted-foreground\" aria-label={text}>\n {text}\n </p>\n )}\n </div>\n )\n}\n"]}
@@ -7,6 +7,7 @@ import * as DialogPrimitive from '@radix-ui/react-dialog';
7
7
  export { I as Input } from '../../input-TJ_d3ROF.mjs';
8
8
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
9
9
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
10
+ import * as LabelPrimitive from '@radix-ui/react-label';
10
11
  import '@radix-ui/react-tooltip';
11
12
 
12
13
  /**
@@ -480,4 +481,16 @@ interface PageLoaderProps {
480
481
  color?: "primary" | "secondary" | "accent" | "muted" | "destructive" | string;
481
482
  }
482
483
 
483
- export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, PageLoader, type PageLoaderProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Stack, type StackProps, TextField, type TextFieldProps, Typography, type TypographyAlign, type TypographyProps, type TypographyVariant, badgeVariants, typographyVariants };
484
+ declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
485
+ interface LabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {
486
+ }
487
+ /**
488
+ * Label component for creating accessible labels.
489
+ * Built on top of Radix UI's Label primitive.
490
+ *
491
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-label--docs
492
+ *
493
+ */
494
+ declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
495
+
496
+ export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Label, type LabelProps, PageLoader, type PageLoaderProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Stack, type StackProps, TextField, type TextFieldProps, Typography, type TypographyAlign, type TypographyProps, type TypographyVariant, badgeVariants, typographyVariants };
@@ -7,6 +7,7 @@ import * as DialogPrimitive from '@radix-ui/react-dialog';
7
7
  export { I as Input } from '../../input-TJ_d3ROF.js';
8
8
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
9
9
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
10
+ import * as LabelPrimitive from '@radix-ui/react-label';
10
11
  import '@radix-ui/react-tooltip';
11
12
 
12
13
  /**
@@ -480,4 +481,16 @@ interface PageLoaderProps {
480
481
  color?: "primary" | "secondary" | "accent" | "muted" | "destructive" | string;
481
482
  }
482
483
 
483
- export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, PageLoader, type PageLoaderProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Stack, type StackProps, TextField, type TextFieldProps, Typography, type TypographyAlign, type TypographyProps, type TypographyVariant, badgeVariants, typographyVariants };
484
+ declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
485
+ interface LabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {
486
+ }
487
+ /**
488
+ * Label component for creating accessible labels.
489
+ * Built on top of Radix UI's Label primitive.
490
+ *
491
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-label--docs
492
+ *
493
+ */
494
+ declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
495
+
496
+ export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Label, type LabelProps, PageLoader, type PageLoaderProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Stack, type StackProps, TextField, type TextFieldProps, Typography, type TypographyAlign, type TypographyProps, type TypographyVariant, badgeVariants, typographyVariants };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkV6ISJWM6_js=require('../../chunk-V6ISJWM6.js');require('../../chunk-IPKT3LIP.js');var chunkZEUOBWG4_js=require('../../chunk-ZEUOBWG4.js'),chunkGH5JAZCC_js=require('../../chunk-GH5JAZCC.js');require('../../chunk-KITWXTCP.js'),require('../../chunk-NCY2ZNET.js');Object.defineProperty(exports,"Avatar",{enumerable:true,get:function(){return chunkV6ISJWM6_js.o}});Object.defineProperty(exports,"AvatarFallback",{enumerable:true,get:function(){return chunkV6ISJWM6_js.q}});Object.defineProperty(exports,"AvatarImage",{enumerable:true,get:function(){return chunkV6ISJWM6_js.p}});Object.defineProperty(exports,"Badge",{enumerable:true,get:function(){return chunkV6ISJWM6_js.s}});Object.defineProperty(exports,"Box",{enumerable:true,get:function(){return chunkV6ISJWM6_js.c}});Object.defineProperty(exports,"Container",{enumerable:true,get:function(){return chunkV6ISJWM6_js.b}});Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkV6ISJWM6_js.e}});Object.defineProperty(exports,"DialogClose",{enumerable:true,get:function(){return chunkV6ISJWM6_js.h}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkV6ISJWM6_js.j}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkV6ISJWM6_js.n}});Object.defineProperty(exports,"DialogFooter",{enumerable:true,get:function(){return chunkV6ISJWM6_js.l}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkV6ISJWM6_js.k}});Object.defineProperty(exports,"DialogOverlay",{enumerable:true,get:function(){return chunkV6ISJWM6_js.i}});Object.defineProperty(exports,"DialogPortal",{enumerable:true,get:function(){return chunkV6ISJWM6_js.g}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkV6ISJWM6_js.m}});Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return chunkV6ISJWM6_js.f}});Object.defineProperty(exports,"PageLoader",{enumerable:true,get:function(){return chunkV6ISJWM6_js.v}});Object.defineProperty(exports,"Stack",{enumerable:true,get:function(){return chunkV6ISJWM6_js.d}});Object.defineProperty(exports,"TextField",{enumerable:true,get:function(){return chunkV6ISJWM6_js.a}});Object.defineProperty(exports,"Typography",{enumerable:true,get:function(){return chunkV6ISJWM6_js.u}});Object.defineProperty(exports,"badgeVariants",{enumerable:true,get:function(){return chunkV6ISJWM6_js.r}});Object.defineProperty(exports,"typographyVariants",{enumerable:true,get:function(){return chunkV6ISJWM6_js.t}});Object.defineProperty(exports,"Button",{enumerable:true,get:function(){return chunkZEUOBWG4_js.b}});Object.defineProperty(exports,"Separator",{enumerable:true,get:function(){return chunkZEUOBWG4_js.c}});Object.defineProperty(exports,"Sheet",{enumerable:true,get:function(){return chunkZEUOBWG4_js.d}});Object.defineProperty(exports,"SheetClose",{enumerable:true,get:function(){return chunkZEUOBWG4_js.f}});Object.defineProperty(exports,"SheetContent",{enumerable:true,get:function(){return chunkZEUOBWG4_js.i}});Object.defineProperty(exports,"SheetDescription",{enumerable:true,get:function(){return chunkZEUOBWG4_js.m}});Object.defineProperty(exports,"SheetFooter",{enumerable:true,get:function(){return chunkZEUOBWG4_js.k}});Object.defineProperty(exports,"SheetHeader",{enumerable:true,get:function(){return chunkZEUOBWG4_js.j}});Object.defineProperty(exports,"SheetOverlay",{enumerable:true,get:function(){return chunkZEUOBWG4_js.h}});Object.defineProperty(exports,"SheetPortal",{enumerable:true,get:function(){return chunkZEUOBWG4_js.g}});Object.defineProperty(exports,"SheetTitle",{enumerable:true,get:function(){return chunkZEUOBWG4_js.l}});Object.defineProperty(exports,"SheetTrigger",{enumerable:true,get:function(){return chunkZEUOBWG4_js.e}});Object.defineProperty(exports,"Skeleton",{enumerable:true,get:function(){return chunkZEUOBWG4_js.n}});Object.defineProperty(exports,"Tooltip",{enumerable:true,get:function(){return chunkZEUOBWG4_js.p}});Object.defineProperty(exports,"TooltipContent",{enumerable:true,get:function(){return chunkZEUOBWG4_js.r}});Object.defineProperty(exports,"TooltipProvider",{enumerable:true,get:function(){return chunkZEUOBWG4_js.o}});Object.defineProperty(exports,"TooltipTrigger",{enumerable:true,get:function(){return chunkZEUOBWG4_js.q}});Object.defineProperty(exports,"buttonVariants",{enumerable:true,get:function(){return chunkZEUOBWG4_js.a}});Object.defineProperty(exports,"Input",{enumerable:true,get:function(){return chunkGH5JAZCC_js.a}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkBHENTOFB_js=require('../../chunk-BHENTOFB.js'),chunkIPKT3LIP_js=require('../../chunk-IPKT3LIP.js'),chunkZEUOBWG4_js=require('../../chunk-ZEUOBWG4.js'),chunkGH5JAZCC_js=require('../../chunk-GH5JAZCC.js');require('../../chunk-KITWXTCP.js'),require('../../chunk-NCY2ZNET.js');Object.defineProperty(exports,"Avatar",{enumerable:true,get:function(){return chunkBHENTOFB_js.o}});Object.defineProperty(exports,"AvatarFallback",{enumerable:true,get:function(){return chunkBHENTOFB_js.q}});Object.defineProperty(exports,"AvatarImage",{enumerable:true,get:function(){return chunkBHENTOFB_js.p}});Object.defineProperty(exports,"Badge",{enumerable:true,get:function(){return chunkBHENTOFB_js.s}});Object.defineProperty(exports,"Box",{enumerable:true,get:function(){return chunkBHENTOFB_js.c}});Object.defineProperty(exports,"Container",{enumerable:true,get:function(){return chunkBHENTOFB_js.b}});Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkBHENTOFB_js.e}});Object.defineProperty(exports,"DialogClose",{enumerable:true,get:function(){return chunkBHENTOFB_js.h}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkBHENTOFB_js.j}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkBHENTOFB_js.n}});Object.defineProperty(exports,"DialogFooter",{enumerable:true,get:function(){return chunkBHENTOFB_js.l}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkBHENTOFB_js.k}});Object.defineProperty(exports,"DialogOverlay",{enumerable:true,get:function(){return chunkBHENTOFB_js.i}});Object.defineProperty(exports,"DialogPortal",{enumerable:true,get:function(){return chunkBHENTOFB_js.g}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkBHENTOFB_js.m}});Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return chunkBHENTOFB_js.f}});Object.defineProperty(exports,"PageLoader",{enumerable:true,get:function(){return chunkBHENTOFB_js.v}});Object.defineProperty(exports,"Stack",{enumerable:true,get:function(){return chunkBHENTOFB_js.d}});Object.defineProperty(exports,"TextField",{enumerable:true,get:function(){return chunkBHENTOFB_js.a}});Object.defineProperty(exports,"Typography",{enumerable:true,get:function(){return chunkBHENTOFB_js.u}});Object.defineProperty(exports,"badgeVariants",{enumerable:true,get:function(){return chunkBHENTOFB_js.r}});Object.defineProperty(exports,"typographyVariants",{enumerable:true,get:function(){return chunkBHENTOFB_js.t}});Object.defineProperty(exports,"Label",{enumerable:true,get:function(){return chunkIPKT3LIP_js.a}});Object.defineProperty(exports,"Button",{enumerable:true,get:function(){return chunkZEUOBWG4_js.b}});Object.defineProperty(exports,"Separator",{enumerable:true,get:function(){return chunkZEUOBWG4_js.c}});Object.defineProperty(exports,"Sheet",{enumerable:true,get:function(){return chunkZEUOBWG4_js.d}});Object.defineProperty(exports,"SheetClose",{enumerable:true,get:function(){return chunkZEUOBWG4_js.f}});Object.defineProperty(exports,"SheetContent",{enumerable:true,get:function(){return chunkZEUOBWG4_js.i}});Object.defineProperty(exports,"SheetDescription",{enumerable:true,get:function(){return chunkZEUOBWG4_js.m}});Object.defineProperty(exports,"SheetFooter",{enumerable:true,get:function(){return chunkZEUOBWG4_js.k}});Object.defineProperty(exports,"SheetHeader",{enumerable:true,get:function(){return chunkZEUOBWG4_js.j}});Object.defineProperty(exports,"SheetOverlay",{enumerable:true,get:function(){return chunkZEUOBWG4_js.h}});Object.defineProperty(exports,"SheetPortal",{enumerable:true,get:function(){return chunkZEUOBWG4_js.g}});Object.defineProperty(exports,"SheetTitle",{enumerable:true,get:function(){return chunkZEUOBWG4_js.l}});Object.defineProperty(exports,"SheetTrigger",{enumerable:true,get:function(){return chunkZEUOBWG4_js.e}});Object.defineProperty(exports,"Skeleton",{enumerable:true,get:function(){return chunkZEUOBWG4_js.n}});Object.defineProperty(exports,"Tooltip",{enumerable:true,get:function(){return chunkZEUOBWG4_js.p}});Object.defineProperty(exports,"TooltipContent",{enumerable:true,get:function(){return chunkZEUOBWG4_js.r}});Object.defineProperty(exports,"TooltipProvider",{enumerable:true,get:function(){return chunkZEUOBWG4_js.o}});Object.defineProperty(exports,"TooltipTrigger",{enumerable:true,get:function(){return chunkZEUOBWG4_js.q}});Object.defineProperty(exports,"buttonVariants",{enumerable:true,get:function(){return chunkZEUOBWG4_js.a}});Object.defineProperty(exports,"Input",{enumerable:true,get:function(){return chunkGH5JAZCC_js.a}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{o as Avatar,q as AvatarFallback,p as AvatarImage,s as Badge,c as Box,b as Container,e as Dialog,h as DialogClose,j as DialogContent,n as DialogDescription,l as DialogFooter,k as DialogHeader,i as DialogOverlay,g as DialogPortal,m as DialogTitle,f as DialogTrigger,v as PageLoader,d as Stack,a as TextField,u as Typography,r as badgeVariants,t as typographyVariants}from'../../chunk-MD23GXSI.mjs';import'../../chunk-QY2HB6BB.mjs';export{b as Button,c as Separator,d as Sheet,f as SheetClose,i as SheetContent,m as SheetDescription,k as SheetFooter,j as SheetHeader,h as SheetOverlay,g as SheetPortal,l as SheetTitle,e as SheetTrigger,n as Skeleton,p as Tooltip,r as TooltipContent,o as TooltipProvider,q as TooltipTrigger,a as buttonVariants}from'../../chunk-FWZYVYLU.mjs';export{a as Input}from'../../chunk-472YNZU2.mjs';import'../../chunk-OAVWSSYJ.mjs';import'../../chunk-H3TEQK57.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{o as Avatar,q as AvatarFallback,p as AvatarImage,s as Badge,c as Box,b as Container,e as Dialog,h as DialogClose,j as DialogContent,n as DialogDescription,l as DialogFooter,k as DialogHeader,i as DialogOverlay,g as DialogPortal,m as DialogTitle,f as DialogTrigger,v as PageLoader,d as Stack,a as TextField,u as Typography,r as badgeVariants,t as typographyVariants}from'../../chunk-YXIEDY5R.mjs';export{a as Label}from'../../chunk-QY2HB6BB.mjs';export{b as Button,c as Separator,d as Sheet,f as SheetClose,i as SheetContent,m as SheetDescription,k as SheetFooter,j as SheetHeader,h as SheetOverlay,g as SheetPortal,l as SheetTitle,e as SheetTrigger,n as Skeleton,p as Tooltip,r as TooltipContent,o as TooltipProvider,q as TooltipTrigger,a as buttonVariants}from'../../chunk-FWZYVYLU.mjs';export{a as Input}from'../../chunk-472YNZU2.mjs';import'../../chunk-OAVWSSYJ.mjs';import'../../chunk-H3TEQK57.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { B as Button, a as ButtonProps, T as Tooltip, d as TooltipContent, e as TooltipProvider, c as TooltipTrigger, b as buttonVariants } from './tooltip-Vd-UgSJF.mjs';
2
- export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps, Badge, BadgeProps, Box, BoxProps, Container, ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, PageLoader, PageLoaderProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Stack, StackProps, TextField, TextFieldProps, Typography, TypographyAlign, TypographyProps, TypographyVariant, badgeVariants, typographyVariants } from './components/atoms/index.mjs';
2
+ export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps, Badge, BadgeProps, Box, BoxProps, Container, ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Label, LabelProps, PageLoader, PageLoaderProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Stack, StackProps, TextField, TextFieldProps, Typography, TypographyAlign, TypographyProps, TypographyVariant, badgeVariants, typographyVariants } from './components/atoms/index.mjs';
3
3
  export { I as Input } from './input-TJ_d3ROF.mjs';
4
4
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Form, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormFieldContextValue, FormFieldProps, FormItem, FormItemContextValue, FormItemProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, FormProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NavigationMenuViewport, NavigationMenuViewportProps, RHFTextField, RHFTextarea, useFormField } from './components/molecules/index.mjs';
5
5
  export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, Sidebar, SidebarContent, SidebarContextProps, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupContent, SidebarGroupLabel, SidebarGroupLabelProps, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar } from './components/organisms/index.mjs';
@@ -13,10 +13,10 @@ import 'react/jsx-runtime';
13
13
  import '@radix-ui/react-dialog';
14
14
  import '@radix-ui/react-separator';
15
15
  import '@radix-ui/react-avatar';
16
+ import '@radix-ui/react-label';
16
17
  import '@radix-ui/react-navigation-menu';
17
18
  import 'react-hook-form';
18
19
  import '@radix-ui/react-slot';
19
- import '@radix-ui/react-label';
20
20
  import 'vaul';
21
21
  import '@radix-ui/react-dropdown-menu';
22
22
  import 'clsx';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { B as Button, a as ButtonProps, T as Tooltip, d as TooltipContent, e as TooltipProvider, c as TooltipTrigger, b as buttonVariants } from './tooltip-Vd-UgSJF.js';
2
- export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps, Badge, BadgeProps, Box, BoxProps, Container, ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, PageLoader, PageLoaderProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Stack, StackProps, TextField, TextFieldProps, Typography, TypographyAlign, TypographyProps, TypographyVariant, badgeVariants, typographyVariants } from './components/atoms/index.js';
2
+ export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps, Badge, BadgeProps, Box, BoxProps, Container, ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Label, LabelProps, PageLoader, PageLoaderProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Stack, StackProps, TextField, TextFieldProps, Typography, TypographyAlign, TypographyProps, TypographyVariant, badgeVariants, typographyVariants } from './components/atoms/index.js';
3
3
  export { I as Input } from './input-TJ_d3ROF.js';
4
4
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Form, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormFieldContextValue, FormFieldProps, FormItem, FormItemContextValue, FormItemProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, FormProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NavigationMenuViewport, NavigationMenuViewportProps, RHFTextField, RHFTextarea, useFormField } from './components/molecules/index.js';
5
5
  export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, Sidebar, SidebarContent, SidebarContextProps, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupContent, SidebarGroupLabel, SidebarGroupLabelProps, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar } from './components/organisms/index.js';
@@ -13,10 +13,10 @@ import 'react/jsx-runtime';
13
13
  import '@radix-ui/react-dialog';
14
14
  import '@radix-ui/react-separator';
15
15
  import '@radix-ui/react-avatar';
16
+ import '@radix-ui/react-label';
16
17
  import '@radix-ui/react-navigation-menu';
17
18
  import 'react-hook-form';
18
19
  import '@radix-ui/react-slot';
19
- import '@radix-ui/react-label';
20
20
  import 'vaul';
21
21
  import '@radix-ui/react-dropdown-menu';
22
22
  import 'clsx';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';require('./chunk-GATZOHQ6.js'),require('./chunk-K7EIJSYQ.js');var chunkV6ISJWM6_js=require('./chunk-V6ISJWM6.js'),chunkRMPK4VVB_js=require('./chunk-RMPK4VVB.js');require('./chunk-IPKT3LIP.js');var chunk7ID4QLIR_js=require('./chunk-7ID4QLIR.js'),chunkQ6STEQO7_js=require('./chunk-Q6STEQO7.js'),chunkZEUOBWG4_js=require('./chunk-ZEUOBWG4.js'),chunkGH5JAZCC_js=require('./chunk-GH5JAZCC.js'),chunkKITWXTCP_js=require('./chunk-KITWXTCP.js');require('./chunk-NCY2ZNET.js');Object.defineProperty(exports,"Avatar",{enumerable:true,get:function(){return chunkV6ISJWM6_js.o}});Object.defineProperty(exports,"AvatarFallback",{enumerable:true,get:function(){return chunkV6ISJWM6_js.q}});Object.defineProperty(exports,"AvatarImage",{enumerable:true,get:function(){return chunkV6ISJWM6_js.p}});Object.defineProperty(exports,"Badge",{enumerable:true,get:function(){return chunkV6ISJWM6_js.s}});Object.defineProperty(exports,"Box",{enumerable:true,get:function(){return chunkV6ISJWM6_js.c}});Object.defineProperty(exports,"Container",{enumerable:true,get:function(){return chunkV6ISJWM6_js.b}});Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkV6ISJWM6_js.e}});Object.defineProperty(exports,"DialogClose",{enumerable:true,get:function(){return chunkV6ISJWM6_js.h}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkV6ISJWM6_js.j}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkV6ISJWM6_js.n}});Object.defineProperty(exports,"DialogFooter",{enumerable:true,get:function(){return chunkV6ISJWM6_js.l}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkV6ISJWM6_js.k}});Object.defineProperty(exports,"DialogOverlay",{enumerable:true,get:function(){return chunkV6ISJWM6_js.i}});Object.defineProperty(exports,"DialogPortal",{enumerable:true,get:function(){return chunkV6ISJWM6_js.g}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkV6ISJWM6_js.m}});Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return chunkV6ISJWM6_js.f}});Object.defineProperty(exports,"PageLoader",{enumerable:true,get:function(){return chunkV6ISJWM6_js.v}});Object.defineProperty(exports,"Stack",{enumerable:true,get:function(){return chunkV6ISJWM6_js.d}});Object.defineProperty(exports,"TextField",{enumerable:true,get:function(){return chunkV6ISJWM6_js.a}});Object.defineProperty(exports,"Typography",{enumerable:true,get:function(){return chunkV6ISJWM6_js.u}});Object.defineProperty(exports,"badgeVariants",{enumerable:true,get:function(){return chunkV6ISJWM6_js.r}});Object.defineProperty(exports,"typographyVariants",{enumerable:true,get:function(){return chunkV6ISJWM6_js.t}});Object.defineProperty(exports,"Card",{enumerable:true,get:function(){return chunkRMPK4VVB_js.a}});Object.defineProperty(exports,"CardContent",{enumerable:true,get:function(){return chunkRMPK4VVB_js.e}});Object.defineProperty(exports,"CardDescription",{enumerable:true,get:function(){return chunkRMPK4VVB_js.d}});Object.defineProperty(exports,"CardFooter",{enumerable:true,get:function(){return chunkRMPK4VVB_js.f}});Object.defineProperty(exports,"CardHeader",{enumerable:true,get:function(){return chunkRMPK4VVB_js.b}});Object.defineProperty(exports,"CardTitle",{enumerable:true,get:function(){return chunkRMPK4VVB_js.c}});Object.defineProperty(exports,"Form",{enumerable:true,get:function(){return chunkRMPK4VVB_js.o}});Object.defineProperty(exports,"FormControl",{enumerable:true,get:function(){return chunkRMPK4VVB_js.t}});Object.defineProperty(exports,"FormDescription",{enumerable:true,get:function(){return chunkRMPK4VVB_js.u}});Object.defineProperty(exports,"FormField",{enumerable:true,get:function(){return chunkRMPK4VVB_js.p}});Object.defineProperty(exports,"FormItem",{enumerable:true,get:function(){return chunkRMPK4VVB_js.r}});Object.defineProperty(exports,"FormLabel",{enumerable:true,get:function(){return chunkRMPK4VVB_js.s}});Object.defineProperty(exports,"FormMessage",{enumerable:true,get:function(){return chunkRMPK4VVB_js.v}});Object.defineProperty(exports,"NavigationMenu",{enumerable:true,get:function(){return chunkRMPK4VVB_js.g}});Object.defineProperty(exports,"NavigationMenuContent",{enumerable:true,get:function(){return chunkRMPK4VVB_js.k}});Object.defineProperty(exports,"NavigationMenuIndicator",{enumerable:true,get:function(){return chunkRMPK4VVB_js.n}});Object.defineProperty(exports,"NavigationMenuItem",{enumerable:true,get:function(){return chunkRMPK4VVB_js.i}});Object.defineProperty(exports,"NavigationMenuLink",{enumerable:true,get:function(){return chunkRMPK4VVB_js.l}});Object.defineProperty(exports,"NavigationMenuList",{enumerable:true,get:function(){return chunkRMPK4VVB_js.h}});Object.defineProperty(exports,"NavigationMenuTrigger",{enumerable:true,get:function(){return chunkRMPK4VVB_js.j}});Object.defineProperty(exports,"NavigationMenuViewport",{enumerable:true,get:function(){return chunkRMPK4VVB_js.m}});Object.defineProperty(exports,"RHFTextField",{enumerable:true,get:function(){return chunkRMPK4VVB_js.w}});Object.defineProperty(exports,"RHFTextarea",{enumerable:true,get:function(){return chunkRMPK4VVB_js.x}});Object.defineProperty(exports,"useFormField",{enumerable:true,get:function(){return chunkRMPK4VVB_js.q}});Object.defineProperty(exports,"Drawer",{enumerable:true,get:function(){return chunk7ID4QLIR_js.a}});Object.defineProperty(exports,"DrawerClose",{enumerable:true,get:function(){return chunk7ID4QLIR_js.d}});Object.defineProperty(exports,"DrawerContent",{enumerable:true,get:function(){return chunk7ID4QLIR_js.f}});Object.defineProperty(exports,"DrawerDescription",{enumerable:true,get:function(){return chunk7ID4QLIR_js.j}});Object.defineProperty(exports,"DrawerFooter",{enumerable:true,get:function(){return chunk7ID4QLIR_js.h}});Object.defineProperty(exports,"DrawerHeader",{enumerable:true,get:function(){return chunk7ID4QLIR_js.g}});Object.defineProperty(exports,"DrawerOverlay",{enumerable:true,get:function(){return chunk7ID4QLIR_js.e}});Object.defineProperty(exports,"DrawerPortal",{enumerable:true,get:function(){return chunk7ID4QLIR_js.c}});Object.defineProperty(exports,"DrawerTitle",{enumerable:true,get:function(){return chunk7ID4QLIR_js.i}});Object.defineProperty(exports,"DrawerTrigger",{enumerable:true,get:function(){return chunk7ID4QLIR_js.b}});Object.defineProperty(exports,"DropdownMenu",{enumerable:true,get:function(){return chunk7ID4QLIR_js.J}});Object.defineProperty(exports,"DropdownMenuCheckboxItem",{enumerable:true,get:function(){return chunk7ID4QLIR_js.T}});Object.defineProperty(exports,"DropdownMenuContent",{enumerable:true,get:function(){return chunk7ID4QLIR_js.R}});Object.defineProperty(exports,"DropdownMenuGroup",{enumerable:true,get:function(){return chunk7ID4QLIR_js.L}});Object.defineProperty(exports,"DropdownMenuItem",{enumerable:true,get:function(){return chunk7ID4QLIR_js.S}});Object.defineProperty(exports,"DropdownMenuLabel",{enumerable:true,get:function(){return chunk7ID4QLIR_js.V}});Object.defineProperty(exports,"DropdownMenuPortal",{enumerable:true,get:function(){return chunk7ID4QLIR_js.M}});Object.defineProperty(exports,"DropdownMenuRadioGroup",{enumerable:true,get:function(){return chunk7ID4QLIR_js.O}});Object.defineProperty(exports,"DropdownMenuRadioItem",{enumerable:true,get:function(){return chunk7ID4QLIR_js.U}});Object.defineProperty(exports,"DropdownMenuSeparator",{enumerable:true,get:function(){return chunk7ID4QLIR_js.W}});Object.defineProperty(exports,"DropdownMenuShortcut",{enumerable:true,get:function(){return chunk7ID4QLIR_js.X}});Object.defineProperty(exports,"DropdownMenuSub",{enumerable:true,get:function(){return chunk7ID4QLIR_js.N}});Object.defineProperty(exports,"DropdownMenuSubContent",{enumerable:true,get:function(){return chunk7ID4QLIR_js.Q}});Object.defineProperty(exports,"DropdownMenuSubTrigger",{enumerable:true,get:function(){return chunk7ID4QLIR_js.P}});Object.defineProperty(exports,"DropdownMenuTrigger",{enumerable:true,get:function(){return chunk7ID4QLIR_js.K}});Object.defineProperty(exports,"Sidebar",{enumerable:true,get:function(){return chunk7ID4QLIR_js.m}});Object.defineProperty(exports,"SidebarContent",{enumerable:true,get:function(){return chunk7ID4QLIR_js.u}});Object.defineProperty(exports,"SidebarFooter",{enumerable:true,get:function(){return chunk7ID4QLIR_js.s}});Object.defineProperty(exports,"SidebarGroup",{enumerable:true,get:function(){return chunk7ID4QLIR_js.v}});Object.defineProperty(exports,"SidebarGroupAction",{enumerable:true,get:function(){return chunk7ID4QLIR_js.x}});Object.defineProperty(exports,"SidebarGroupContent",{enumerable:true,get:function(){return chunk7ID4QLIR_js.y}});Object.defineProperty(exports,"SidebarGroupLabel",{enumerable:true,get:function(){return chunk7ID4QLIR_js.w}});Object.defineProperty(exports,"SidebarHeader",{enumerable:true,get:function(){return chunk7ID4QLIR_js.r}});Object.defineProperty(exports,"SidebarInput",{enumerable:true,get:function(){return chunk7ID4QLIR_js.q}});Object.defineProperty(exports,"SidebarInset",{enumerable:true,get:function(){return chunk7ID4QLIR_js.p}});Object.defineProperty(exports,"SidebarMenu",{enumerable:true,get:function(){return chunk7ID4QLIR_js.z}});Object.defineProperty(exports,"SidebarMenuAction",{enumerable:true,get:function(){return chunk7ID4QLIR_js.D}});Object.defineProperty(exports,"SidebarMenuBadge",{enumerable:true,get:function(){return chunk7ID4QLIR_js.E}});Object.defineProperty(exports,"SidebarMenuButton",{enumerable:true,get:function(){return chunk7ID4QLIR_js.C}});Object.defineProperty(exports,"SidebarMenuItem",{enumerable:true,get:function(){return chunk7ID4QLIR_js.A}});Object.defineProperty(exports,"SidebarMenuSkeleton",{enumerable:true,get:function(){return chunk7ID4QLIR_js.F}});Object.defineProperty(exports,"SidebarMenuSub",{enumerable:true,get:function(){return chunk7ID4QLIR_js.G}});Object.defineProperty(exports,"SidebarMenuSubButton",{enumerable:true,get:function(){return chunk7ID4QLIR_js.I}});Object.defineProperty(exports,"SidebarMenuSubItem",{enumerable:true,get:function(){return chunk7ID4QLIR_js.H}});Object.defineProperty(exports,"SidebarProvider",{enumerable:true,get:function(){return chunk7ID4QLIR_js.l}});Object.defineProperty(exports,"SidebarRail",{enumerable:true,get:function(){return chunk7ID4QLIR_js.o}});Object.defineProperty(exports,"SidebarSeparator",{enumerable:true,get:function(){return chunk7ID4QLIR_js.t}});Object.defineProperty(exports,"SidebarTrigger",{enumerable:true,get:function(){return chunk7ID4QLIR_js.n}});Object.defineProperty(exports,"sidebarMenuButtonVariants",{enumerable:true,get:function(){return chunk7ID4QLIR_js.B}});Object.defineProperty(exports,"useSidebar",{enumerable:true,get:function(){return chunk7ID4QLIR_js.k}});Object.defineProperty(exports,"useIsMobile",{enumerable:true,get:function(){return chunkQ6STEQO7_js.a}});Object.defineProperty(exports,"Button",{enumerable:true,get:function(){return chunkZEUOBWG4_js.b}});Object.defineProperty(exports,"Separator",{enumerable:true,get:function(){return chunkZEUOBWG4_js.c}});Object.defineProperty(exports,"Sheet",{enumerable:true,get:function(){return chunkZEUOBWG4_js.d}});Object.defineProperty(exports,"SheetClose",{enumerable:true,get:function(){return chunkZEUOBWG4_js.f}});Object.defineProperty(exports,"SheetContent",{enumerable:true,get:function(){return chunkZEUOBWG4_js.i}});Object.defineProperty(exports,"SheetDescription",{enumerable:true,get:function(){return chunkZEUOBWG4_js.m}});Object.defineProperty(exports,"SheetFooter",{enumerable:true,get:function(){return chunkZEUOBWG4_js.k}});Object.defineProperty(exports,"SheetHeader",{enumerable:true,get:function(){return chunkZEUOBWG4_js.j}});Object.defineProperty(exports,"SheetOverlay",{enumerable:true,get:function(){return chunkZEUOBWG4_js.h}});Object.defineProperty(exports,"SheetPortal",{enumerable:true,get:function(){return chunkZEUOBWG4_js.g}});Object.defineProperty(exports,"SheetTitle",{enumerable:true,get:function(){return chunkZEUOBWG4_js.l}});Object.defineProperty(exports,"SheetTrigger",{enumerable:true,get:function(){return chunkZEUOBWG4_js.e}});Object.defineProperty(exports,"Skeleton",{enumerable:true,get:function(){return chunkZEUOBWG4_js.n}});Object.defineProperty(exports,"Tooltip",{enumerable:true,get:function(){return chunkZEUOBWG4_js.p}});Object.defineProperty(exports,"TooltipContent",{enumerable:true,get:function(){return chunkZEUOBWG4_js.r}});Object.defineProperty(exports,"TooltipProvider",{enumerable:true,get:function(){return chunkZEUOBWG4_js.o}});Object.defineProperty(exports,"TooltipTrigger",{enumerable:true,get:function(){return chunkZEUOBWG4_js.q}});Object.defineProperty(exports,"buttonVariants",{enumerable:true,get:function(){return chunkZEUOBWG4_js.a}});Object.defineProperty(exports,"Input",{enumerable:true,get:function(){return chunkGH5JAZCC_js.a}});Object.defineProperty(exports,"cn",{enumerable:true,get:function(){return chunkKITWXTCP_js.a}});//# sourceMappingURL=index.js.map
1
+ 'use strict';require('./chunk-GATZOHQ6.js'),require('./chunk-K7EIJSYQ.js');var chunkBHENTOFB_js=require('./chunk-BHENTOFB.js'),chunkRMPK4VVB_js=require('./chunk-RMPK4VVB.js'),chunkIPKT3LIP_js=require('./chunk-IPKT3LIP.js'),chunk7ID4QLIR_js=require('./chunk-7ID4QLIR.js'),chunkQ6STEQO7_js=require('./chunk-Q6STEQO7.js'),chunkZEUOBWG4_js=require('./chunk-ZEUOBWG4.js'),chunkGH5JAZCC_js=require('./chunk-GH5JAZCC.js'),chunkKITWXTCP_js=require('./chunk-KITWXTCP.js');require('./chunk-NCY2ZNET.js');Object.defineProperty(exports,"Avatar",{enumerable:true,get:function(){return chunkBHENTOFB_js.o}});Object.defineProperty(exports,"AvatarFallback",{enumerable:true,get:function(){return chunkBHENTOFB_js.q}});Object.defineProperty(exports,"AvatarImage",{enumerable:true,get:function(){return chunkBHENTOFB_js.p}});Object.defineProperty(exports,"Badge",{enumerable:true,get:function(){return chunkBHENTOFB_js.s}});Object.defineProperty(exports,"Box",{enumerable:true,get:function(){return chunkBHENTOFB_js.c}});Object.defineProperty(exports,"Container",{enumerable:true,get:function(){return chunkBHENTOFB_js.b}});Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkBHENTOFB_js.e}});Object.defineProperty(exports,"DialogClose",{enumerable:true,get:function(){return chunkBHENTOFB_js.h}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkBHENTOFB_js.j}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkBHENTOFB_js.n}});Object.defineProperty(exports,"DialogFooter",{enumerable:true,get:function(){return chunkBHENTOFB_js.l}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkBHENTOFB_js.k}});Object.defineProperty(exports,"DialogOverlay",{enumerable:true,get:function(){return chunkBHENTOFB_js.i}});Object.defineProperty(exports,"DialogPortal",{enumerable:true,get:function(){return chunkBHENTOFB_js.g}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkBHENTOFB_js.m}});Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return chunkBHENTOFB_js.f}});Object.defineProperty(exports,"PageLoader",{enumerable:true,get:function(){return chunkBHENTOFB_js.v}});Object.defineProperty(exports,"Stack",{enumerable:true,get:function(){return chunkBHENTOFB_js.d}});Object.defineProperty(exports,"TextField",{enumerable:true,get:function(){return chunkBHENTOFB_js.a}});Object.defineProperty(exports,"Typography",{enumerable:true,get:function(){return chunkBHENTOFB_js.u}});Object.defineProperty(exports,"badgeVariants",{enumerable:true,get:function(){return chunkBHENTOFB_js.r}});Object.defineProperty(exports,"typographyVariants",{enumerable:true,get:function(){return chunkBHENTOFB_js.t}});Object.defineProperty(exports,"Card",{enumerable:true,get:function(){return chunkRMPK4VVB_js.a}});Object.defineProperty(exports,"CardContent",{enumerable:true,get:function(){return chunkRMPK4VVB_js.e}});Object.defineProperty(exports,"CardDescription",{enumerable:true,get:function(){return chunkRMPK4VVB_js.d}});Object.defineProperty(exports,"CardFooter",{enumerable:true,get:function(){return chunkRMPK4VVB_js.f}});Object.defineProperty(exports,"CardHeader",{enumerable:true,get:function(){return chunkRMPK4VVB_js.b}});Object.defineProperty(exports,"CardTitle",{enumerable:true,get:function(){return chunkRMPK4VVB_js.c}});Object.defineProperty(exports,"Form",{enumerable:true,get:function(){return chunkRMPK4VVB_js.o}});Object.defineProperty(exports,"FormControl",{enumerable:true,get:function(){return chunkRMPK4VVB_js.t}});Object.defineProperty(exports,"FormDescription",{enumerable:true,get:function(){return chunkRMPK4VVB_js.u}});Object.defineProperty(exports,"FormField",{enumerable:true,get:function(){return chunkRMPK4VVB_js.p}});Object.defineProperty(exports,"FormItem",{enumerable:true,get:function(){return chunkRMPK4VVB_js.r}});Object.defineProperty(exports,"FormLabel",{enumerable:true,get:function(){return chunkRMPK4VVB_js.s}});Object.defineProperty(exports,"FormMessage",{enumerable:true,get:function(){return chunkRMPK4VVB_js.v}});Object.defineProperty(exports,"NavigationMenu",{enumerable:true,get:function(){return chunkRMPK4VVB_js.g}});Object.defineProperty(exports,"NavigationMenuContent",{enumerable:true,get:function(){return chunkRMPK4VVB_js.k}});Object.defineProperty(exports,"NavigationMenuIndicator",{enumerable:true,get:function(){return chunkRMPK4VVB_js.n}});Object.defineProperty(exports,"NavigationMenuItem",{enumerable:true,get:function(){return chunkRMPK4VVB_js.i}});Object.defineProperty(exports,"NavigationMenuLink",{enumerable:true,get:function(){return chunkRMPK4VVB_js.l}});Object.defineProperty(exports,"NavigationMenuList",{enumerable:true,get:function(){return chunkRMPK4VVB_js.h}});Object.defineProperty(exports,"NavigationMenuTrigger",{enumerable:true,get:function(){return chunkRMPK4VVB_js.j}});Object.defineProperty(exports,"NavigationMenuViewport",{enumerable:true,get:function(){return chunkRMPK4VVB_js.m}});Object.defineProperty(exports,"RHFTextField",{enumerable:true,get:function(){return chunkRMPK4VVB_js.w}});Object.defineProperty(exports,"RHFTextarea",{enumerable:true,get:function(){return chunkRMPK4VVB_js.x}});Object.defineProperty(exports,"useFormField",{enumerable:true,get:function(){return chunkRMPK4VVB_js.q}});Object.defineProperty(exports,"Label",{enumerable:true,get:function(){return chunkIPKT3LIP_js.a}});Object.defineProperty(exports,"Drawer",{enumerable:true,get:function(){return chunk7ID4QLIR_js.a}});Object.defineProperty(exports,"DrawerClose",{enumerable:true,get:function(){return chunk7ID4QLIR_js.d}});Object.defineProperty(exports,"DrawerContent",{enumerable:true,get:function(){return chunk7ID4QLIR_js.f}});Object.defineProperty(exports,"DrawerDescription",{enumerable:true,get:function(){return chunk7ID4QLIR_js.j}});Object.defineProperty(exports,"DrawerFooter",{enumerable:true,get:function(){return chunk7ID4QLIR_js.h}});Object.defineProperty(exports,"DrawerHeader",{enumerable:true,get:function(){return chunk7ID4QLIR_js.g}});Object.defineProperty(exports,"DrawerOverlay",{enumerable:true,get:function(){return chunk7ID4QLIR_js.e}});Object.defineProperty(exports,"DrawerPortal",{enumerable:true,get:function(){return chunk7ID4QLIR_js.c}});Object.defineProperty(exports,"DrawerTitle",{enumerable:true,get:function(){return chunk7ID4QLIR_js.i}});Object.defineProperty(exports,"DrawerTrigger",{enumerable:true,get:function(){return chunk7ID4QLIR_js.b}});Object.defineProperty(exports,"DropdownMenu",{enumerable:true,get:function(){return chunk7ID4QLIR_js.J}});Object.defineProperty(exports,"DropdownMenuCheckboxItem",{enumerable:true,get:function(){return chunk7ID4QLIR_js.T}});Object.defineProperty(exports,"DropdownMenuContent",{enumerable:true,get:function(){return chunk7ID4QLIR_js.R}});Object.defineProperty(exports,"DropdownMenuGroup",{enumerable:true,get:function(){return chunk7ID4QLIR_js.L}});Object.defineProperty(exports,"DropdownMenuItem",{enumerable:true,get:function(){return chunk7ID4QLIR_js.S}});Object.defineProperty(exports,"DropdownMenuLabel",{enumerable:true,get:function(){return chunk7ID4QLIR_js.V}});Object.defineProperty(exports,"DropdownMenuPortal",{enumerable:true,get:function(){return chunk7ID4QLIR_js.M}});Object.defineProperty(exports,"DropdownMenuRadioGroup",{enumerable:true,get:function(){return chunk7ID4QLIR_js.O}});Object.defineProperty(exports,"DropdownMenuRadioItem",{enumerable:true,get:function(){return chunk7ID4QLIR_js.U}});Object.defineProperty(exports,"DropdownMenuSeparator",{enumerable:true,get:function(){return chunk7ID4QLIR_js.W}});Object.defineProperty(exports,"DropdownMenuShortcut",{enumerable:true,get:function(){return chunk7ID4QLIR_js.X}});Object.defineProperty(exports,"DropdownMenuSub",{enumerable:true,get:function(){return chunk7ID4QLIR_js.N}});Object.defineProperty(exports,"DropdownMenuSubContent",{enumerable:true,get:function(){return chunk7ID4QLIR_js.Q}});Object.defineProperty(exports,"DropdownMenuSubTrigger",{enumerable:true,get:function(){return chunk7ID4QLIR_js.P}});Object.defineProperty(exports,"DropdownMenuTrigger",{enumerable:true,get:function(){return chunk7ID4QLIR_js.K}});Object.defineProperty(exports,"Sidebar",{enumerable:true,get:function(){return chunk7ID4QLIR_js.m}});Object.defineProperty(exports,"SidebarContent",{enumerable:true,get:function(){return chunk7ID4QLIR_js.u}});Object.defineProperty(exports,"SidebarFooter",{enumerable:true,get:function(){return chunk7ID4QLIR_js.s}});Object.defineProperty(exports,"SidebarGroup",{enumerable:true,get:function(){return chunk7ID4QLIR_js.v}});Object.defineProperty(exports,"SidebarGroupAction",{enumerable:true,get:function(){return chunk7ID4QLIR_js.x}});Object.defineProperty(exports,"SidebarGroupContent",{enumerable:true,get:function(){return chunk7ID4QLIR_js.y}});Object.defineProperty(exports,"SidebarGroupLabel",{enumerable:true,get:function(){return chunk7ID4QLIR_js.w}});Object.defineProperty(exports,"SidebarHeader",{enumerable:true,get:function(){return chunk7ID4QLIR_js.r}});Object.defineProperty(exports,"SidebarInput",{enumerable:true,get:function(){return chunk7ID4QLIR_js.q}});Object.defineProperty(exports,"SidebarInset",{enumerable:true,get:function(){return chunk7ID4QLIR_js.p}});Object.defineProperty(exports,"SidebarMenu",{enumerable:true,get:function(){return chunk7ID4QLIR_js.z}});Object.defineProperty(exports,"SidebarMenuAction",{enumerable:true,get:function(){return chunk7ID4QLIR_js.D}});Object.defineProperty(exports,"SidebarMenuBadge",{enumerable:true,get:function(){return chunk7ID4QLIR_js.E}});Object.defineProperty(exports,"SidebarMenuButton",{enumerable:true,get:function(){return chunk7ID4QLIR_js.C}});Object.defineProperty(exports,"SidebarMenuItem",{enumerable:true,get:function(){return chunk7ID4QLIR_js.A}});Object.defineProperty(exports,"SidebarMenuSkeleton",{enumerable:true,get:function(){return chunk7ID4QLIR_js.F}});Object.defineProperty(exports,"SidebarMenuSub",{enumerable:true,get:function(){return chunk7ID4QLIR_js.G}});Object.defineProperty(exports,"SidebarMenuSubButton",{enumerable:true,get:function(){return chunk7ID4QLIR_js.I}});Object.defineProperty(exports,"SidebarMenuSubItem",{enumerable:true,get:function(){return chunk7ID4QLIR_js.H}});Object.defineProperty(exports,"SidebarProvider",{enumerable:true,get:function(){return chunk7ID4QLIR_js.l}});Object.defineProperty(exports,"SidebarRail",{enumerable:true,get:function(){return chunk7ID4QLIR_js.o}});Object.defineProperty(exports,"SidebarSeparator",{enumerable:true,get:function(){return chunk7ID4QLIR_js.t}});Object.defineProperty(exports,"SidebarTrigger",{enumerable:true,get:function(){return chunk7ID4QLIR_js.n}});Object.defineProperty(exports,"sidebarMenuButtonVariants",{enumerable:true,get:function(){return chunk7ID4QLIR_js.B}});Object.defineProperty(exports,"useSidebar",{enumerable:true,get:function(){return chunk7ID4QLIR_js.k}});Object.defineProperty(exports,"useIsMobile",{enumerable:true,get:function(){return chunkQ6STEQO7_js.a}});Object.defineProperty(exports,"Button",{enumerable:true,get:function(){return chunkZEUOBWG4_js.b}});Object.defineProperty(exports,"Separator",{enumerable:true,get:function(){return chunkZEUOBWG4_js.c}});Object.defineProperty(exports,"Sheet",{enumerable:true,get:function(){return chunkZEUOBWG4_js.d}});Object.defineProperty(exports,"SheetClose",{enumerable:true,get:function(){return chunkZEUOBWG4_js.f}});Object.defineProperty(exports,"SheetContent",{enumerable:true,get:function(){return chunkZEUOBWG4_js.i}});Object.defineProperty(exports,"SheetDescription",{enumerable:true,get:function(){return chunkZEUOBWG4_js.m}});Object.defineProperty(exports,"SheetFooter",{enumerable:true,get:function(){return chunkZEUOBWG4_js.k}});Object.defineProperty(exports,"SheetHeader",{enumerable:true,get:function(){return chunkZEUOBWG4_js.j}});Object.defineProperty(exports,"SheetOverlay",{enumerable:true,get:function(){return chunkZEUOBWG4_js.h}});Object.defineProperty(exports,"SheetPortal",{enumerable:true,get:function(){return chunkZEUOBWG4_js.g}});Object.defineProperty(exports,"SheetTitle",{enumerable:true,get:function(){return chunkZEUOBWG4_js.l}});Object.defineProperty(exports,"SheetTrigger",{enumerable:true,get:function(){return chunkZEUOBWG4_js.e}});Object.defineProperty(exports,"Skeleton",{enumerable:true,get:function(){return chunkZEUOBWG4_js.n}});Object.defineProperty(exports,"Tooltip",{enumerable:true,get:function(){return chunkZEUOBWG4_js.p}});Object.defineProperty(exports,"TooltipContent",{enumerable:true,get:function(){return chunkZEUOBWG4_js.r}});Object.defineProperty(exports,"TooltipProvider",{enumerable:true,get:function(){return chunkZEUOBWG4_js.o}});Object.defineProperty(exports,"TooltipTrigger",{enumerable:true,get:function(){return chunkZEUOBWG4_js.q}});Object.defineProperty(exports,"buttonVariants",{enumerable:true,get:function(){return chunkZEUOBWG4_js.a}});Object.defineProperty(exports,"Input",{enumerable:true,get:function(){return chunkGH5JAZCC_js.a}});Object.defineProperty(exports,"cn",{enumerable:true,get:function(){return chunkKITWXTCP_js.a}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import'./chunk-T26KLXLH.mjs';import'./chunk-7NSRDJ5C.mjs';export{o as Avatar,q as AvatarFallback,p as AvatarImage,s as Badge,c as Box,b as Container,e as Dialog,h as DialogClose,j as DialogContent,n as DialogDescription,l as DialogFooter,k as DialogHeader,i as DialogOverlay,g as DialogPortal,m as DialogTitle,f as DialogTrigger,v as PageLoader,d as Stack,a as TextField,u as Typography,r as badgeVariants,t as typographyVariants}from'./chunk-MD23GXSI.mjs';export{a as Card,e as CardContent,d as CardDescription,f as CardFooter,b as CardHeader,c as CardTitle,o as Form,t as FormControl,u as FormDescription,p as FormField,r as FormItem,s as FormLabel,v as FormMessage,g as NavigationMenu,k as NavigationMenuContent,n as NavigationMenuIndicator,i as NavigationMenuItem,l as NavigationMenuLink,h as NavigationMenuList,j as NavigationMenuTrigger,m as NavigationMenuViewport,w as RHFTextField,x as RHFTextarea,q as useFormField}from'./chunk-SXXL472R.mjs';import'./chunk-QY2HB6BB.mjs';export{a as Drawer,d as DrawerClose,f as DrawerContent,j as DrawerDescription,h as DrawerFooter,g as DrawerHeader,e as DrawerOverlay,c as DrawerPortal,i as DrawerTitle,b as DrawerTrigger,J as DropdownMenu,T as DropdownMenuCheckboxItem,R as DropdownMenuContent,L as DropdownMenuGroup,S as DropdownMenuItem,V as DropdownMenuLabel,M as DropdownMenuPortal,O as DropdownMenuRadioGroup,U as DropdownMenuRadioItem,W as DropdownMenuSeparator,X as DropdownMenuShortcut,N as DropdownMenuSub,Q as DropdownMenuSubContent,P as DropdownMenuSubTrigger,K as DropdownMenuTrigger,m as Sidebar,u as SidebarContent,s as SidebarFooter,v as SidebarGroup,x as SidebarGroupAction,y as SidebarGroupContent,w as SidebarGroupLabel,r as SidebarHeader,q as SidebarInput,p as SidebarInset,z as SidebarMenu,D as SidebarMenuAction,E as SidebarMenuBadge,C as SidebarMenuButton,A as SidebarMenuItem,F as SidebarMenuSkeleton,G as SidebarMenuSub,I as SidebarMenuSubButton,H as SidebarMenuSubItem,l as SidebarProvider,o as SidebarRail,t as SidebarSeparator,n as SidebarTrigger,B as sidebarMenuButtonVariants,k as useSidebar}from'./chunk-SWBVTAUB.mjs';export{a as useIsMobile}from'./chunk-XY7LUWOK.mjs';export{b as Button,c as Separator,d as Sheet,f as SheetClose,i as SheetContent,m as SheetDescription,k as SheetFooter,j as SheetHeader,h as SheetOverlay,g as SheetPortal,l as SheetTitle,e as SheetTrigger,n as Skeleton,p as Tooltip,r as TooltipContent,o as TooltipProvider,q as TooltipTrigger,a as buttonVariants}from'./chunk-FWZYVYLU.mjs';export{a as Input}from'./chunk-472YNZU2.mjs';export{a as cn}from'./chunk-OAVWSSYJ.mjs';import'./chunk-H3TEQK57.mjs';//# sourceMappingURL=index.mjs.map
1
+ import'./chunk-T26KLXLH.mjs';import'./chunk-7NSRDJ5C.mjs';export{o as Avatar,q as AvatarFallback,p as AvatarImage,s as Badge,c as Box,b as Container,e as Dialog,h as DialogClose,j as DialogContent,n as DialogDescription,l as DialogFooter,k as DialogHeader,i as DialogOverlay,g as DialogPortal,m as DialogTitle,f as DialogTrigger,v as PageLoader,d as Stack,a as TextField,u as Typography,r as badgeVariants,t as typographyVariants}from'./chunk-YXIEDY5R.mjs';export{a as Card,e as CardContent,d as CardDescription,f as CardFooter,b as CardHeader,c as CardTitle,o as Form,t as FormControl,u as FormDescription,p as FormField,r as FormItem,s as FormLabel,v as FormMessage,g as NavigationMenu,k as NavigationMenuContent,n as NavigationMenuIndicator,i as NavigationMenuItem,l as NavigationMenuLink,h as NavigationMenuList,j as NavigationMenuTrigger,m as NavigationMenuViewport,w as RHFTextField,x as RHFTextarea,q as useFormField}from'./chunk-SXXL472R.mjs';export{a as Label}from'./chunk-QY2HB6BB.mjs';export{a as Drawer,d as DrawerClose,f as DrawerContent,j as DrawerDescription,h as DrawerFooter,g as DrawerHeader,e as DrawerOverlay,c as DrawerPortal,i as DrawerTitle,b as DrawerTrigger,J as DropdownMenu,T as DropdownMenuCheckboxItem,R as DropdownMenuContent,L as DropdownMenuGroup,S as DropdownMenuItem,V as DropdownMenuLabel,M as DropdownMenuPortal,O as DropdownMenuRadioGroup,U as DropdownMenuRadioItem,W as DropdownMenuSeparator,X as DropdownMenuShortcut,N as DropdownMenuSub,Q as DropdownMenuSubContent,P as DropdownMenuSubTrigger,K as DropdownMenuTrigger,m as Sidebar,u as SidebarContent,s as SidebarFooter,v as SidebarGroup,x as SidebarGroupAction,y as SidebarGroupContent,w as SidebarGroupLabel,r as SidebarHeader,q as SidebarInput,p as SidebarInset,z as SidebarMenu,D as SidebarMenuAction,E as SidebarMenuBadge,C as SidebarMenuButton,A as SidebarMenuItem,F as SidebarMenuSkeleton,G as SidebarMenuSub,I as SidebarMenuSubButton,H as SidebarMenuSubItem,l as SidebarProvider,o as SidebarRail,t as SidebarSeparator,n as SidebarTrigger,B as sidebarMenuButtonVariants,k as useSidebar}from'./chunk-SWBVTAUB.mjs';export{a as useIsMobile}from'./chunk-XY7LUWOK.mjs';export{b as Button,c as Separator,d as Sheet,f as SheetClose,i as SheetContent,m as SheetDescription,k as SheetFooter,j as SheetHeader,h as SheetOverlay,g as SheetPortal,l as SheetTitle,e as SheetTrigger,n as Skeleton,p as Tooltip,r as TooltipContent,o as TooltipProvider,q as TooltipTrigger,a as buttonVariants}from'./chunk-FWZYVYLU.mjs';export{a as Input}from'./chunk-472YNZU2.mjs';export{a as cn}from'./chunk-OAVWSSYJ.mjs';import'./chunk-H3TEQK57.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@me1a/ui",
3
- "version": "2.0.15",
3
+ "version": "2.1.0",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -10,36 +10,6 @@
10
10
  "types": "./dist/index.d.ts",
11
11
  "import": "./dist/index.mjs",
12
12
  "require": "./dist/index.js"
13
- },
14
- "./atoms": {
15
- "types": "./dist/components/atoms.d.ts",
16
- "import": "./dist/components/atoms.mjs",
17
- "require": "./dist/components/atoms.js"
18
- },
19
- "./molecules": {
20
- "types": "./dist/components/molecules.d.ts",
21
- "import": "./dist/components/molecules.mjs",
22
- "require": "./dist/components/molecules.js"
23
- },
24
- "./organisms": {
25
- "types": "./dist/components/organisms.d.ts",
26
- "import": "./dist/components/organisms.mjs",
27
- "require": "./dist/components/organisms.js"
28
- },
29
- "./hooks": {
30
- "types": "./dist/hooks.d.ts",
31
- "import": "./dist/hooks.mjs",
32
- "require": "./dist/hooks.js"
33
- },
34
- "./utils": {
35
- "types": "./dist/utils.d.ts",
36
- "import": "./dist/utils.mjs",
37
- "require": "./dist/utils.js"
38
- },
39
- "./types": {
40
- "types": "./dist/types.d.ts",
41
- "import": "./dist/types.mjs",
42
- "require": "./dist/types.js"
43
13
  }
44
14
  },
45
15
  "sideEffects": false,
@@ -61,10 +31,10 @@
61
31
  "serve-storybook": "npx serve storybook-static"
62
32
  },
63
33
  "peerDependencies": {
64
- "@hookform/resolvers": "^5.0.1",
65
- "next": "^14.2.28",
66
- "react": "^18.2.0",
67
- "react-dom": "^18.2.0",
34
+ "next": "^15.3.2",
35
+ "react": "^19.1.0",
36
+ "react-dom": "^19.1.0",
37
+ "react-hook-form": "^7.56.4",
68
38
  "tailwind-merge": "^3.3.0",
69
39
  "zod": "^3.25.3"
70
40
  },
@@ -94,8 +64,10 @@
94
64
  "autoprefixer": "^10.4.21",
95
65
  "babel-jest": "^29.7.0",
96
66
  "eslint": "^8.56.0",
67
+ "eslint-config-airbnb": "^19.0.4",
97
68
  "eslint-config-next": "^14.1.0",
98
69
  "eslint-config-prettier": "^9.1.0",
70
+ "eslint-plugin-prettier": "^5.4.0",
99
71
  "eslint-plugin-react": "^7.33.2",
100
72
  "eslint-plugin-react-hooks": "^4.6.0",
101
73
  "eslint-plugin-storybook": "^0.12.0",
@@ -112,6 +84,7 @@
112
84
  "typescript": "^5.3.3"
113
85
  },
114
86
  "dependencies": {
87
+ "@hookform/resolvers": "^5.0.1",
115
88
  "@radix-ui/react-avatar": "^1.1.9",
116
89
  "@radix-ui/react-dialog": "^1.1.13",
117
90
  "@radix-ui/react-dropdown-menu": "^2.1.14",
@@ -123,8 +96,7 @@
123
96
  "@radix-ui/react-tooltip": "^1.2.6",
124
97
  "class-variance-authority": "^0.7.1",
125
98
  "clsx": "^2.1.1",
126
- "lucide-react": "^0.330.0",
127
- "react-hook-form": "^7.56.4",
99
+ "lucide-react": "^0.511.0",
128
100
  "vaul": "^1.1.2"
129
101
  },
130
102
  "publishConfig": {