@xploreu/components 0.4.7 → 0.4.8
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.
- package/dist/chunk-F5B3WGPQ.js +2 -0
- package/dist/chunk-F5B3WGPQ.js.map +1 -0
- package/dist/chunk-TWWH5V2P.js +2 -0
- package/dist/chunk-TWWH5V2P.js.map +1 -0
- package/dist/composites/combobox-chip-outside.js +1 -1
- package/dist/composites/index.js +1 -1
- package/dist/composites/profile-avatar.d.ts +1 -1
- package/dist/primitives/index.js +1 -1
- package/dist/primitives/toast.d.ts +1 -1
- package/dist/primitives/toast.js +1 -1
- package/dist/ui/index.js +1 -1
- package/dist/ui/toast.d.ts +1 -1
- package/dist/ui/toast.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-3XWZPMXH.js +0 -2
- package/dist/chunk-3XWZPMXH.js.map +0 -1
- package/dist/chunk-KT5JRJJR.js +0 -2
- package/dist/chunk-KT5JRJJR.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {f,g,d,e,h,i,j,k as k$1,l,c}from'./chunk-TWWH5V2P.js';import {b as b$1}from'./chunk-VNAMAKPG.js';import {a}from'./chunk-WI5V5Z76.js';import {b as b$3}from'./chunk-QWCYJC3T.js';import {b as b$4}from'./chunk-4WDDWMBW.js';import {b as b$2}from'./chunk-ZQWDYX2E.js';import'react';import {cn}from'@xploreu/lib/cn';import {XIcon,Loader2Icon}from'lucide-react';import {jsx,jsxs}from'react/jsx-runtime';function b({...t}){return jsx(f,{...t})}function _({className:t,...a}){return jsx(g,{className:cn("pointer-events-none fixed inset-x-4 bottom-4 z-50 mx-auto w-auto max-w-sm outline-none sm:right-4 sm:left-auto sm:mx-0 sm:w-full",t),...a})}function C(t){return jsx(d,{...t})}function N({className:t,children:a,...r}){return jsxs(e,{className:cn("group/toast pointer-events-auto absolute right-0 bottom-0 z-[calc(1000-var(--toast-index))] w-full origin-bottom rounded-l-[10.4px] rounded-r-lg shadow-lg will-change-transform outline-none select-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-focus-ring","[--gap:0.75rem] [--height:var(--toast-frontmost-height,var(--toast-height))] [--offset-y:calc(var(--toast-offset-y)*-1+calc(var(--toast-index)*var(--gap)*-1)+var(--toast-swipe-movement-y))] [--peek:0.75rem] [--scale:calc(max(0,1-(var(--toast-index)*0.1)))] [--shrink:calc(1-var(--scale))]","h-(--height) [transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)-(var(--toast-index)*var(--peek))-(var(--shrink)*var(--height))))_scale(var(--scale))] [transition:transform_500ms_cubic-bezier(0.22,1,0.36,1),opacity_500ms,height_150ms]","after:absolute after:top-full after:left-0 after:h-[calc(var(--gap)+1px)] after:w-full after:content-['']","data-expanded:h-(--toast-height) data-expanded:[transform:translateX(var(--toast-swipe-movement-x))_translateY(var(--offset-y))]","data-limited:opacity-0 data-starting-style:[transform:translateY(150%)]","[&[data-ending-style]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(150%)]","data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]","data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]","data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]","data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]","data-expanded:data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]","data-expanded:data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]","data-expanded:data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]","data-expanded:data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]",t),...r,children:[jsx("div",{className:cn("absolute left-0 inset-y-0 w-[10.4px] rounded-l-[10.4px] bg-[linear-gradient(180deg,#377DFA_0%,#185BC2_80%)]","group-data-[type=warning]/toast:bg-[linear-gradient(180deg,#F79009_0%,#B54708_80%)]","group-data-[type=info]/toast:bg-[linear-gradient(180deg,#068BEE_0%,#175BCC_80%)]","group-data-[type=success]/toast:bg-[linear-gradient(180deg,#17B26A_0%,#067647_80%)]","group-data-[type=error]/toast:bg-[linear-gradient(180deg,#F04438_0%,#B42318_80%)]")}),jsx("div",{className:cn("relative border border-border-secondary rounded-lg ml-[2.4px] bg-bg-primary z-10 bg-radial-[100%_200%_at_0%_0%] to-bg-primary","from-modal-dialog-stop-0","group-data-[type=warning]/toast:from-utility-warning-50","group-data-[type=info]/toast:from-utility-blue-50","group-data-[type=success]/toast:from-utility-success-50","group-data-[type=error]/toast:from-utility-error-50"),children:a})]})}function Y({className:t,...a}){return jsx(h,{className:cn("flex h-full items-center gap-3 overflow-hidden p-4 transition-opacity duration-250 ease-[cubic-bezier(0.22,1,0.36,1)] data-behind:opacity-0 data-expanded:opacity-100",t),...a})}function z({className:t,...a}){return jsx(i,{className:cn("text-label-semibold-2 text-text-primary","group-data-[type=warning]/toast:text-text-warning-primary","group-data-[type=info]/toast:text-text-info-primary","group-data-[type=success]/toast:text-text-success-primary","group-data-[type=error]/toast:text-text-error-primary",t),...a})}function A({className:t,...a}){return jsx(j,{className:cn("text-body-regular-2 text-text-secondary",t),...a})}function D({className:t,render:a=jsx(b$1,{size:"sm",variant:"secondary"}),...r}){return jsx(k$1,{render:a,className:cn("shrink-0",t),...r})}function V({className:t,children:a,...r}){return jsx(l,{"aria-label":"Close toast",className:cn("relative shrink-0 text-fg-quaternary after:absolute after:-inset-2 after:content-[''] hover:text-text-error-primary size-6 inline-flex items-center justify-center [&_svg:not([class*='size-'])]:size-3.5",t),...r,children:a??jsx(XIcon,{"aria-hidden":"true"})})}function k({type:t}){let a$1=null;return t==="success"&&(a$1=jsx(b$2,{className:"text-fg-success-primary"})),t==="info"&&(a$1=jsx(a,{className:"text-fg-info-primary"})),t==="warning"&&(a$1=jsx(b$3,{className:"text-fg-warning-primary"})),t==="error"&&(a$1=jsx(b$4,{className:"text-fg-error-primary"})),t==="loading"&&(a$1=jsx(Loader2Icon,{className:"animate-spin","aria-hidden":"true"})),a$1?jsx("span",{"data-slot":"toast-icon",className:"shrink-0 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-6",children:a$1}):null}function I(){let{toasts:t}=c();return t.map(a=>jsx(N,{toast:a,children:jsxs(Y,{children:[jsx(k,{type:a.type}),jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[jsx(z,{}),jsx(A,{})]}),jsx(D,{}),jsx(V,{})]})},a.id))}function M({children:t,...a}){return jsxs(C,{...a,children:[t,jsx(b,{children:jsx(_,{children:jsx(I,{})})})]})}export{b as a,_ as b,C as c,N as d,Y as e,z as f,A as g,D as h,V as i,M as j};//# sourceMappingURL=chunk-F5B3WGPQ.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-F5B3WGPQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/ui/toast.tsx"],"names":["ToastPortal","props","jsx","ToastViewport","className","cn","ToastProvider","Toast","children","jsxs","ToastContent","ToastTitle","ToastDescription","ToastAction","render","Button","ToastClose","XIcon","ToastIcon","type","icon","check_square_icon_default","info_square_icon_default","danger_triangle_icon_default","close_square_icon_default","Loader2Icon","ToastList","toasts","useToastManager","toastItem","Toaster"],"mappings":"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","file":"chunk-F5B3WGPQ.js","sourcesContent":["\"use client\";\r\n\r\nimport * as React from \"react\";\r\nimport {\r\n ToastPortal as ToastPortalPrimitive,\r\n ToastViewport as ToastViewportPrimitive,\r\n ToastProvider as ToastProviderPrimitive,\r\n Toast as ToastPrimitive,\r\n ToastContent as ToastContentPrimitive,\r\n ToastTitle as ToastTitlePrimitive,\r\n ToastDescription as ToastDescriptionPrimitive,\r\n ToastAction as ToastActionPrimitive,\r\n ToastClose as ToastClosePrimitive,\r\n toast,\r\n createToastManager,\r\n useToastManager,\r\n type ToastPortalProps as ToastPortalPrimitiveProps,\r\n type ToastViewportProps as ToastViewportPrimitiveProps,\r\n type ToastProviderProps as ToastProviderPrimitiveProps,\r\n type ToastProps as ToastPrimitiveProps,\r\n type ToastContentProps as ToastContentPrimitiveProps,\r\n type ToastTitleProps as ToastTitlePrimitiveProps,\r\n type ToastDescriptionProps as ToastDescriptionPrimitiveProps,\r\n type ToastActionProps as ToastActionPrimitiveProps,\r\n type ToastCloseProps as ToastClosePrimitiveProps,\r\n} from \"../primitives/toast\";\r\nimport { cn } from \"@xploreu/lib/cn\";\r\nimport {\r\n InfoSquareIcon,\r\n CheckSquareIcon,\r\n CloseSquareIcon,\r\n DangerTriangleIcon,\r\n} from \"../icons\";\r\nimport { Button } from \"./button\";\r\nimport {\r\n XIcon,\r\n Loader2Icon\r\n} from \"lucide-react\"\r\n\r\ntype ToastPortalProps = ToastPortalPrimitiveProps;\r\n\r\nfunction ToastPortal({ ...props }: ToastPortalProps) {\r\n return <ToastPortalPrimitive {...props} />;\r\n}\r\n\r\ntype ToastViewportProps = ToastViewportPrimitiveProps;\r\n\r\nfunction ToastViewport({ className, ...props }: ToastViewportProps) {\r\n return (\r\n <ToastViewportPrimitive\r\n className={cn(\r\n \"pointer-events-none fixed inset-x-4 bottom-4 z-50 mx-auto w-auto max-w-sm outline-none sm:right-4 sm:left-auto sm:mx-0 sm:w-full\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\ntype ToastProviderProps = ToastProviderPrimitiveProps;\r\n\r\nfunction ToastProvider(props: ToastProviderProps) {\r\n return <ToastProviderPrimitive {...props} />;\r\n}\r\n\r\ntype ToastProps = ToastPrimitiveProps\r\n\r\nfunction Toast({ \r\n className, \r\n children, \r\n ...props \r\n}: ToastProps) {\r\n return (\r\n <ToastPrimitive\r\n className={cn(\r\n \"group/toast pointer-events-auto absolute right-0 bottom-0 z-[calc(1000-var(--toast-index))] w-full origin-bottom rounded-l-[10.4px] rounded-r-lg shadow-lg will-change-transform outline-none select-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-focus-ring\",\r\n \"[--gap:0.75rem] [--height:var(--toast-frontmost-height,var(--toast-height))] [--offset-y:calc(var(--toast-offset-y)*-1+calc(var(--toast-index)*var(--gap)*-1)+var(--toast-swipe-movement-y))] [--peek:0.75rem] [--scale:calc(max(0,1-(var(--toast-index)*0.1)))] [--shrink:calc(1-var(--scale))]\",\r\n \"h-(--height) [transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)-(var(--toast-index)*var(--peek))-(var(--shrink)*var(--height))))_scale(var(--scale))] [transition:transform_500ms_cubic-bezier(0.22,1,0.36,1),opacity_500ms,height_150ms]\",\r\n \"after:absolute after:top-full after:left-0 after:h-[calc(var(--gap)+1px)] after:w-full after:content-['']\",\r\n \"data-expanded:h-(--toast-height) data-expanded:[transform:translateX(var(--toast-swipe-movement-x))_translateY(var(--offset-y))]\",\r\n \"data-limited:opacity-0 data-starting-style:[transform:translateY(150%)]\",\r\n \"[&[data-ending-style]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(150%)]\",\r\n \"data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]\",\r\n \"data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]\",\r\n \"data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]\",\r\n \"data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]\",\r\n \"data-expanded:data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]\",\r\n \"data-expanded:data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]\",\r\n \"data-expanded:data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]\",\r\n \"data-expanded:data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n <div className={cn(\r\n \"absolute left-0 inset-y-0 w-[10.4px] rounded-l-[10.4px] bg-[linear-gradient(180deg,#377DFA_0%,#185BC2_80%)]\",\r\n \"group-data-[type=warning]/toast:bg-[linear-gradient(180deg,#F79009_0%,#B54708_80%)]\",\r\n \"group-data-[type=info]/toast:bg-[linear-gradient(180deg,#068BEE_0%,#175BCC_80%)]\",\r\n \"group-data-[type=success]/toast:bg-[linear-gradient(180deg,#17B26A_0%,#067647_80%)]\",\r\n \"group-data-[type=error]/toast:bg-[linear-gradient(180deg,#F04438_0%,#B42318_80%)]\",\r\n )} />\r\n <div className={cn(\r\n \"relative border border-border-secondary rounded-lg ml-[2.4px] bg-bg-primary z-10 bg-radial-[100%_200%_at_0%_0%] to-bg-primary\",\r\n \"from-modal-dialog-stop-0\",\r\n \"group-data-[type=warning]/toast:from-utility-warning-50\",\r\n \"group-data-[type=info]/toast:from-utility-blue-50\",\r\n \"group-data-[type=success]/toast:from-utility-success-50\",\r\n \"group-data-[type=error]/toast:from-utility-error-50\",\r\n )}>\r\n {children}\r\n </div>\r\n </ToastPrimitive>\r\n );\r\n}\r\n\r\ntype ToastContentProps = ToastContentPrimitiveProps;\r\n\r\nfunction ToastContent({ className, ...props }: ToastContentProps) {\r\n return (\r\n <ToastContentPrimitive\r\n className={cn(\r\n \"flex h-full items-center gap-3 overflow-hidden p-4 transition-opacity duration-250 ease-[cubic-bezier(0.22,1,0.36,1)] data-behind:opacity-0 data-expanded:opacity-100\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\ntype ToastTitleProps = ToastTitlePrimitiveProps;\r\n\r\nfunction ToastTitle({ className, ...props }: ToastTitleProps) {\r\n return (\r\n <ToastTitlePrimitive\r\n className={cn(\r\n \"text-label-semibold-2 text-text-primary\", \r\n \"group-data-[type=warning]/toast:text-text-warning-primary\",\r\n \"group-data-[type=info]/toast:text-text-info-primary\",\r\n \"group-data-[type=success]/toast:text-text-success-primary\",\r\n \"group-data-[type=error]/toast:text-text-error-primary\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\ntype ToastDescriptionProps = ToastDescriptionPrimitiveProps;\r\n\r\nfunction ToastDescription({ className, ...props }: ToastDescriptionProps) {\r\n return (\r\n <ToastDescriptionPrimitive\r\n className={cn(\"text-body-regular-2 text-text-secondary\", className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\ntype ToastActionProps = ToastActionPrimitiveProps;\r\n\r\nfunction ToastAction({\r\n className,\r\n render = <Button size=\"sm\" variant=\"secondary\" />,\r\n ...props\r\n}: ToastActionProps) {\r\n return (\r\n <ToastActionPrimitive\r\n render={render}\r\n className={cn(\"shrink-0\", className)}\r\n {...props}\r\n />\r\n )\r\n}\r\n\r\ntype ToastCloseProps = ToastClosePrimitiveProps;\r\n\r\nfunction ToastClose({ className, children, ...props }: ToastCloseProps) {\r\n return (\r\n <ToastClosePrimitive\r\n aria-label=\"Close toast\"\r\n className={cn(\r\n \"relative shrink-0 text-fg-quaternary after:absolute after:-inset-2 after:content-[''] hover:text-text-error-primary size-6 inline-flex items-center justify-center [&_svg:not([class*='size-'])]:size-3.5\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n {children ?? <XIcon aria-hidden=\"true\" />}\r\n </ToastClosePrimitive>\r\n );\r\n}\r\n\r\ntype ToastIconProps = { type: string | undefined }\r\n\r\nfunction ToastIcon({ type }: ToastIconProps) {\r\n let icon: React.ReactNode = null;\r\n\r\n if (type === \"success\") {\r\n icon = <CheckSquareIcon className=\"text-fg-success-primary\" />;\r\n } \r\n \r\n if (type === \"info\") {\r\n icon = <InfoSquareIcon className=\"text-fg-info-primary\" />;\r\n }\r\n \r\n if (type === \"warning\") {\r\n icon = <DangerTriangleIcon className=\"text-fg-warning-primary\" />;\r\n }\r\n \r\n if (type === \"error\") {\r\n icon = <CloseSquareIcon className=\"text-fg-error-primary\" />;\r\n }\r\n\r\n if (type === \"loading\") {\r\n icon = <Loader2Icon className=\"animate-spin\" aria-hidden=\"true\" />\r\n }\r\n\r\n if (!icon) return null;\r\n\r\n return (\r\n <span\r\n data-slot=\"toast-icon\"\r\n className=\"shrink-0 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-6\"\r\n >\r\n {icon}\r\n </span>\r\n );\r\n}\r\n\r\nfunction ToastList() {\r\n const { toasts } = useToastManager();\r\n\r\n return toasts.map((toastItem) => (\r\n <Toast key={toastItem.id} toast={toastItem}>\r\n <ToastContent>\r\n <ToastIcon type={toastItem.type} />\r\n <div className=\"flex min-w-0 flex-1 flex-col gap-1\">\r\n <ToastTitle />\r\n <ToastDescription />\r\n </div>\r\n <ToastAction />\r\n <ToastClose />\r\n </ToastContent>\r\n </Toast>\r\n ));\r\n}\r\n\r\ntype ToasterProps = ToastProviderPrimitiveProps;\r\n\r\nfunction Toaster({\r\n children,\r\n ...props\r\n}: ToasterProps) {\r\n return (\r\n <ToastProvider {...props}>\r\n {children}\r\n <ToastPortal>\r\n <ToastViewport>\r\n <ToastList />\r\n </ToastViewport>\r\n </ToastPortal>\r\n </ToastProvider>\r\n );\r\n}\r\n\r\nexport {\r\n Toaster,\r\n Toast,\r\n ToastProvider,\r\n ToastAction,\r\n ToastClose,\r\n ToastContent,\r\n ToastDescription,\r\n ToastPortal,\r\n ToastTitle,\r\n ToastViewport,\r\n toast,\r\n createToastManager,\r\n useToastManager,\r\n type ToasterProps,\r\n type ToastProps,\r\n type ToastProviderProps,\r\n type ToastActionProps,\r\n type ToastCloseProps,\r\n type ToastContentProps,\r\n type ToastDescriptionProps,\r\n type ToastPortalProps,\r\n type ToastTitleProps,\r\n type ToastViewportProps,\r\n};\r\n\r\n\r\n"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import'react';import {Toast}from'@base-ui/react/toast';import {jsx}from'react/jsx-runtime';var a=Toast.createToastManager(),i=Toast.createToastManager,n=Toast.useToastManager;function P({toastManager:t=a,...e}){return jsx(Toast.Provider,{toastManager:t,...e})}function T(t){return jsx(Toast.Root,{"data-slot":"toast",...t})}function c(t){return jsx(Toast.Portal,{"data-slot":"toast-portal",...t})}function l(t){return jsx(Toast.Viewport,{"data-slot":"toast-viewport",...t})}function y(t){return jsx(Toast.Content,{"data-slot":"toast-content",...t})}function m(t){return jsx(Toast.Title,{"data-slot":"toast-title",...t})}function C(t){return jsx(Toast.Description,{"data-slot":"toast-description",...t})}function f(t){return jsx(Toast.Action,{"data-slot":"toast-action",...t})}function u(t){return jsx(Toast.Close,{"data-slot":"toast-close",...t})}export{a,i as b,n as c,P as d,T as e,c as f,l as g,y as h,m as i,C as j,f as k,u as l};//# sourceMappingURL=chunk-TWWH5V2P.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-TWWH5V2P.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/primitives/toast.tsx"],"names":["toast","ToastPrimitive","createToastManager","useToastManager","ToastProvider","toastManager","props","jsx","Toast","ToastPortal","ToastViewport","ToastContent","ToastTitle","ToastDescription","ToastAction","ToastClose"],"mappings":"2FAKA,IAAMA,CAAAA,CAAQC,MAAe,kBAAA,EAAmB,CAC1CC,CAAAA,CAAqBD,KAAAA,CAAe,mBACpCE,CAAAA,CAAkBF,KAAAA,CAAe,gBAIvC,SAASG,EAAc,CACrB,YAAA,CAAAC,CAAAA,CAAeL,CAAAA,CACf,GAAGM,CACL,CAAA,CAAuB,CACrB,OAAOC,IAACN,KAAAA,CAAe,QAAA,CAAf,CAAwB,YAAA,CAAcI,EAAe,GAAGC,CAAAA,CAAO,CACzE,CAIA,SAASE,CAAAA,CAAMF,CAAAA,CAAmB,CAChC,OAAOC,IAACN,KAAAA,CAAe,IAAA,CAAf,CAAoB,WAAA,CAAU,QAAS,GAAGK,CAAAA,CAAO,CAC3D,CAIA,SAASG,CAAAA,CAAYH,CAAAA,CAAyB,CAC5C,OAAOC,IAACN,KAAAA,CAAe,MAAA,CAAf,CAAsB,WAAA,CAAU,eAAgB,GAAGK,CAAAA,CAAO,CACpE,CAIA,SAASI,CAAAA,CAAcJ,CAAAA,CAA2B,CAChD,OAAOC,GAAAA,CAACN,MAAe,QAAA,CAAf,CAAwB,WAAA,CAAU,gBAAA,CAAkB,GAAGK,CAAAA,CAAO,CACxE,CAIA,SAASK,EAAaL,CAAAA,CAA0B,CAC9C,OAAOC,GAAAA,CAACN,MAAe,OAAA,CAAf,CAAuB,WAAA,CAAU,eAAA,CAAiB,GAAGK,CAAAA,CAAO,CACtE,CAIA,SAASM,EAAWN,CAAAA,CAAwB,CAC1C,OAAOC,GAAAA,CAACN,MAAe,KAAA,CAAf,CAAqB,WAAA,CAAU,aAAA,CAAe,GAAGK,CAAAA,CAAO,CAClE,CAIA,SAASO,EAAiBP,CAAAA,CAA8B,CACtD,OAAOC,GAAAA,CAACN,MAAe,WAAA,CAAf,CAA2B,WAAA,CAAU,mBAAA,CAAqB,GAAGK,CAAAA,CAAO,CAC9E,CAIA,SAASQ,EAAYR,CAAAA,CAAyB,CAC5C,OAAOC,GAAAA,CAACN,MAAe,MAAA,CAAf,CAAsB,WAAA,CAAU,cAAA,CAAgB,GAAGK,CAAAA,CAAO,CACpE,CAIA,SAASS,EAAWT,CAAAA,CAAwB,CAC1C,OAAOC,GAAAA,CAACN,MAAe,KAAA,CAAf,CAAqB,YAAU,aAAA,CAAe,GAAGK,EAAO,CAClE","file":"chunk-TWWH5V2P.js","sourcesContent":["\"use client\";\r\n\r\nimport * as React from \"react\";\r\nimport { Toast as ToastPrimitive } from \"@base-ui/react/toast\";\r\n\r\nconst toast = ToastPrimitive.createToastManager();\r\nconst createToastManager = ToastPrimitive.createToastManager\r\nconst useToastManager = ToastPrimitive.useToastManager;\r\n\r\ntype ToastProviderProps = React.ComponentProps<typeof ToastPrimitive.Provider>;\r\n\r\nfunction ToastProvider({\r\n toastManager = toast,\r\n ...props\r\n}: ToastProviderProps) {\r\n return <ToastPrimitive.Provider toastManager={toastManager} {...props} />;\r\n}\r\n\r\ntype ToastProps = React.ComponentProps<typeof ToastPrimitive.Root>;\r\n\r\nfunction Toast(props: ToastProps) {\r\n return <ToastPrimitive.Root data-slot=\"toast\" {...props} />;\r\n}\r\n\r\ntype ToastPortalProps = React.ComponentProps<typeof ToastPrimitive.Portal>;\r\n\r\nfunction ToastPortal(props: ToastPortalProps) {\r\n return <ToastPrimitive.Portal data-slot=\"toast-portal\" {...props} />;\r\n}\r\n\r\ntype ToastViewportProps = React.ComponentProps<typeof ToastPrimitive.Viewport>;\r\n\r\nfunction ToastViewport(props: ToastViewportProps) {\r\n return <ToastPrimitive.Viewport data-slot=\"toast-viewport\" {...props} />;\r\n}\r\n\r\ntype ToastContentProps = React.ComponentProps<typeof ToastPrimitive.Content>;\r\n\r\nfunction ToastContent(props: ToastContentProps) {\r\n return <ToastPrimitive.Content data-slot=\"toast-content\" {...props} />;\r\n}\r\n\r\ntype ToastTitleProps = React.ComponentProps<typeof ToastPrimitive.Title>;\r\n\r\nfunction ToastTitle(props: ToastTitleProps) {\r\n return <ToastPrimitive.Title data-slot=\"toast-title\" {...props} />;\r\n}\r\n\r\ntype ToastDescriptionProps = React.ComponentProps<typeof ToastPrimitive.Description>;\r\n\r\nfunction ToastDescription(props: ToastDescriptionProps) {\r\n return <ToastPrimitive.Description data-slot=\"toast-description\" {...props} />;\r\n}\r\n\r\ntype ToastActionProps = React.ComponentProps<typeof ToastPrimitive.Action>;\r\n\r\nfunction ToastAction(props: ToastActionProps) {\r\n return <ToastPrimitive.Action data-slot=\"toast-action\" {...props} />;\r\n}\r\n\r\ntype ToastCloseProps = React.ComponentProps<typeof ToastPrimitive.Close>;\r\n\r\nfunction ToastClose(props: ToastCloseProps) {\r\n return <ToastPrimitive.Close data-slot=\"toast-close\" {...props} />;\r\n}\r\n\r\nexport {\r\n ToastProvider,\r\n Toast,\r\n ToastPortal,\r\n ToastViewport,\r\n ToastContent,\r\n ToastTitle,\r\n ToastDescription,\r\n ToastAction,\r\n ToastClose,\r\n toast,\r\n createToastManager,\r\n useToastManager,\r\n type ToastProviderProps,\r\n type ToastProps,\r\n type ToastPortalProps,\r\n type ToastViewportProps,\r\n type ToastContentProps,\r\n type ToastTitleProps,\r\n type ToastDescriptionProps,\r\n type ToastActionProps,\r\n type ToastCloseProps,\r\n};\r\n\r\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ComboboxChipOutside}from'../chunk-XZKSYHE5.js';import'../chunk-ZP4ZPH65.js';import'../chunk-PJYKUR4F.js';import'../chunk-3ASGRRVT.js';import'../chunk-K2BMQ2TN.js';import'../chunk-G6HDEOYZ.js';import'../chunk-K7GGFR7W.js';import'../chunk-EE5QQGMX.js';import'../chunk-ITR3T6UB.js';import'../chunk-77T5FOYW.js';import'../chunk-WWCXHCNU.js';import'../chunk-OF4LN45Z.js';import'../chunk-XLACGAIR.js';import'../chunk-
|
|
1
|
+
export{a as ComboboxChipOutside}from'../chunk-XZKSYHE5.js';import'../chunk-ZP4ZPH65.js';import'../chunk-PJYKUR4F.js';import'../chunk-3ASGRRVT.js';import'../chunk-K2BMQ2TN.js';import'../chunk-G6HDEOYZ.js';import'../chunk-K7GGFR7W.js';import'../chunk-EE5QQGMX.js';import'../chunk-ITR3T6UB.js';import'../chunk-77T5FOYW.js';import'../chunk-WWCXHCNU.js';import'../chunk-OF4LN45Z.js';import'../chunk-XLACGAIR.js';import'../chunk-F5B3WGPQ.js';import'../chunk-TWWH5V2P.js';import'../chunk-NGSCUYDU.js';import'../chunk-Y6JASO6W.js';import'../chunk-RCA6JRHN.js';import'../chunk-JP737TCG.js';import'../chunk-WIUYDPXB.js';import'../chunk-MMCL4HWD.js';import'../chunk-ZVME3JB3.js';import'../chunk-2TUGHMFW.js';import'../chunk-P2DJG2OD.js';import'../chunk-P6Y4P5QT.js';import'../chunk-RN6CYJKG.js';import'../chunk-TES3PKRE.js';import'../chunk-BX7TD4RH.js';import'../chunk-YKX7SKZA.js';import'../chunk-BRZUHQYB.js';import'../chunk-NKQ3MFRE.js';import'../chunk-UBTCCHVI.js';import'../chunk-VNAMAKPG.js';import'../chunk-XG3W7QMP.js';import'../chunk-DCH35MB4.js';import'../chunk-YB5ZNOPP.js';import'../chunk-JH6RZ3QH.js';import'../chunk-AUYPBFZJ.js';import'../chunk-QDCD6MNO.js';import'../chunk-BEJ2SIQP.js';import'../chunk-4PD3DZE6.js';import'../chunk-3RJED3RZ.js';import'../chunk-FKOYTHRM.js';import'../chunk-GJ5F6YBZ.js';import'../chunk-4D2HXXN3.js';import'../chunk-S7ZMBRYT.js';import'../chunk-322IBGFZ.js';import'../chunk-RCP2CZRA.js';import'../chunk-AGKZWMW5.js';import'../chunk-YWG6HJAX.js';import'../chunk-NHQA6KSU.js';import'../chunk-DDCGJBN7.js';import'../chunk-SGJYHWYM.js';import'../chunk-QYGN3VYS.js';import'../chunk-LFQAJN4H.js';import'../chunk-ICQEZHVV.js';import'../chunk-PSHB2EQA.js';import'../chunk-JVBWH3DS.js';import'../chunk-EHRGIXKH.js';import'../chunk-CQC2IBSD.js';import'../chunk-CKVTRZ3S.js';import'../chunk-YSG3MHTX.js';import'../chunk-TIVYCE4X.js';import'../chunk-4EYPU56T.js';import'../chunk-2JHFRTOZ.js';import'../chunk-FJTQQ4SC.js';import'../chunk-W2HFGSVH.js';import'../chunk-2GABMQSA.js';import'../chunk-7ECOWHUV.js';import'../chunk-IUPJTP3B.js';import'../chunk-ADC7WDF4.js';import'../chunk-PEHI6LCP.js';import'../chunk-3HUMZKFZ.js';import'../chunk-U5N2WWD3.js';import'../chunk-F2D445K4.js';import'../chunk-NUCPKDK5.js';import'../chunk-2IOTGL4J.js';import'../chunk-NASTZUK6.js';import'../chunk-ZSYQCIYS.js';import'../chunk-7YXRTIXL.js';import'../chunk-4NU44YPN.js';import'../chunk-3SQB2TJB.js';import'../chunk-L5AG5DTS.js';import'../chunk-EAF4H4YJ.js';import'../chunk-XH22TH7N.js';import'../chunk-7LF2CJ3L.js';import'../chunk-KO4EAVJY.js';import'../chunk-XJTOYNCA.js';import'../chunk-BZGVXBP3.js';import'../chunk-U6W5PRLZ.js';import'../chunk-JXTOUSXQ.js';import'../chunk-DRYKJQ72.js';import'../chunk-46KQF4UN.js';import'../chunk-556ANF7Z.js';import'../chunk-UKXYDUDY.js';import'../chunk-Z22ALCLD.js';import'../chunk-IHTB4XCP.js';import'../chunk-5KMCPFGM.js';import'../chunk-6I4GG756.js';import'../chunk-4UC2VYI5.js';import'../chunk-UCCQUPMT.js';import'../chunk-TMDCYGCN.js';import'../chunk-5ETIHFSE.js';import'../chunk-Y72C3IVO.js';import'../chunk-5OQVCPXP.js';import'../chunk-LSW5TIYQ.js';import'../chunk-5YFGDOSH.js';import'../chunk-3NFGWKSO.js';import'../chunk-L73GMVVO.js';import'../chunk-OL4WHG4U.js';import'../chunk-V5WX4TSN.js';import'../chunk-A2U6VIQW.js';import'../chunk-VZMFSH37.js';import'../chunk-ECVIBKDN.js';import'../chunk-MPD36YFP.js';import'../chunk-Z5GMQ477.js';import'../chunk-6FL6AY4D.js';import'../chunk-3376QA4Q.js';import'../chunk-PDZ7VJPX.js';import'../chunk-UACQQO3I.js';import'../chunk-IHLMMP5Q.js';import'../chunk-LN37WPV7.js';import'../chunk-5NAO3POG.js';import'../chunk-JWAU7A2Q.js';import'../chunk-YFCBMUPK.js';import'../chunk-SLLTAQ22.js';import'../chunk-WMUM5NGX.js';import'../chunk-CAK44O3E.js';import'../chunk-MTWFWU3I.js';import'../chunk-NREZRMEX.js';import'../chunk-3SKJUZ5H.js';import'../chunk-EDXV6BE6.js';import'../chunk-HM2QBLIL.js';import'../chunk-6IKHZM3V.js';import'../chunk-ZVCIT3QN.js';import'../chunk-KHCZBVOK.js';import'../chunk-2TO4PAQM.js';import'../chunk-HSTY767P.js';import'../chunk-BKWINCGB.js';import'../chunk-VOTCMLJE.js';import'../chunk-ZKFUHFBC.js';import'../chunk-CEYIRTZQ.js';import'../chunk-TORDOY73.js';import'../chunk-K7EZKYBC.js';import'../chunk-FIXJ55FT.js';import'../chunk-GDU3OVET.js';import'../chunk-3EU5QGAN.js';import'../chunk-6EMNBLEM.js';import'../chunk-4CBZOTZR.js';import'../chunk-XY4CWRWG.js';import'../chunk-2FGDZ6WR.js';import'../chunk-FBKS63GQ.js';import'../chunk-NUGYUIN6.js';import'../chunk-6KFTNJLJ.js';import'../chunk-C7GZULSV.js';import'../chunk-GGD2FGWK.js';import'../chunk-AI5FYYCO.js';import'../chunk-UCQKCAYY.js';import'../chunk-HL32HBMO.js';import'../chunk-EJ5XTT5H.js';import'../chunk-6FEBVO2P.js';import'../chunk-JCFEHT75.js';import'../chunk-5I545S2U.js';import'../chunk-V6YCCR75.js';import'../chunk-NYSABCPP.js';import'../chunk-M5IVXDZ4.js';import'../chunk-2ZG2WNSI.js';import'../chunk-2PQUW476.js';import'../chunk-HEKI5WR2.js';import'../chunk-TTZ2UE5L.js';import'../chunk-JZJHLBOV.js';import'../chunk-L6ZGEGUV.js';import'../chunk-DQSDZXTX.js';import'../chunk-R33XCP5H.js';import'../chunk-SDKXW3R4.js';import'../chunk-GE3TPDYX.js';import'../chunk-RMGJAA2L.js';import'../chunk-Z7IOYXOK.js';import'../chunk-X2VRJLPR.js';import'../chunk-KPA4J3CC.js';import'../chunk-4JEHGT2R.js';import'../chunk-QNEJRZ4U.js';import'../chunk-SCPA3CM2.js';import'../chunk-VLSPFIZU.js';import'../chunk-BGSHHAM2.js';import'../chunk-SR76VRAC.js';import'../chunk-4GMRFP6B.js';import'../chunk-F5FFAJ6B.js';import'../chunk-5FALHJEA.js';import'../chunk-ICHHISXQ.js';import'../chunk-EERDL5XC.js';import'../chunk-IRRA2OTH.js';import'../chunk-QM2KF35E.js';import'../chunk-WI5V5Z76.js';import'../chunk-PCUUUW7T.js';import'../chunk-FELUIC3Z.js';import'../chunk-BKBLZKQ7.js';import'../chunk-3Q72MLBZ.js';import'../chunk-ZWZZVZOP.js';import'../chunk-SX54FORI.js';import'../chunk-XOIZGRZ6.js';import'../chunk-EY3W3WZX.js';import'../chunk-X2J6MJ6Y.js';import'../chunk-KCSDB6W4.js';import'../chunk-3N22A4KQ.js';import'../chunk-F7KNYOYR.js';import'../chunk-UESMX3LA.js';import'../chunk-33MUUBSB.js';import'../chunk-VK62KNI7.js';import'../chunk-OREIXD3L.js';import'../chunk-EYH5SNDK.js';import'../chunk-RUTYHOHT.js';import'../chunk-4FH2LYOC.js';import'../chunk-U27RVBYT.js';import'../chunk-EKS6U6XR.js';import'../chunk-5LAJMBKN.js';import'../chunk-ZEONZS5N.js';import'../chunk-75BEGXGF.js';import'../chunk-CP6DGMEP.js';import'../chunk-7TNSQNT7.js';import'../chunk-YTN4DVWB.js';import'../chunk-XNDNAHCC.js';import'../chunk-FFYGBVMN.js';import'../chunk-HJJ2VCYO.js';import'../chunk-KZMULPFK.js';import'../chunk-X5TJ3Z24.js';import'../chunk-J64EBQ23.js';import'../chunk-PFSN7DQX.js';import'../chunk-Y2R7ZZYY.js';import'../chunk-LYV7R7DB.js';import'../chunk-GOXCPAUM.js';import'../chunk-6L6HTR6E.js';import'../chunk-4VQUQ3NT.js';import'../chunk-MHRHCLIU.js';import'../chunk-V4VKQ2QF.js';import'../chunk-NVVCGBML.js';import'../chunk-ZTCAXM77.js';import'../chunk-UVYYUEHO.js';import'../chunk-Y2TTBBRP.js';import'../chunk-NYQJHUKD.js';import'../chunk-6NPT5BJ7.js';import'../chunk-MYGQXM66.js';import'../chunk-ZY5FUK37.js';import'../chunk-DNIYW2WB.js';import'../chunk-DVXIIACM.js';import'../chunk-ZPPUEK2E.js';import'../chunk-Y56EKYRN.js';import'../chunk-IW6VX3I7.js';import'../chunk-QWCYJC3T.js';import'../chunk-4S6MFDRP.js';import'../chunk-OE7VPOT4.js';import'../chunk-LHVBJHQZ.js';import'../chunk-2V46QEC7.js';import'../chunk-TJNOFRWB.js';import'../chunk-ZPKZLDR2.js';import'../chunk-EBXTHJF5.js';import'../chunk-ZXSIHT6V.js';import'../chunk-TJFA5O6Z.js';import'../chunk-KCCBSGT3.js';import'../chunk-QWFECUYL.js';import'../chunk-IPTGAZ37.js';import'../chunk-DEFVXH3J.js';import'../chunk-WVOOXXON.js';import'../chunk-YRO736RI.js';import'../chunk-QBNIE5KZ.js';import'../chunk-4WDDWMBW.js';import'../chunk-24ZESL25.js';import'../chunk-QH67MZKV.js';import'../chunk-O5CSN63E.js';import'../chunk-I2K2QQOA.js';import'../chunk-JUM5W2FF.js';import'../chunk-MOH4SNJJ.js';import'../chunk-YFZPYFTS.js';import'../chunk-JSE2CMYN.js';import'../chunk-WSMQZH5E.js';import'../chunk-CEY3P2QK.js';import'../chunk-E6ZLTD7K.js';import'../chunk-YWDIILO5.js';import'../chunk-ZT35KBQN.js';import'../chunk-T7HRX3EC.js';import'../chunk-C4ELFIL6.js';import'../chunk-UJRREWOA.js';import'../chunk-3KSOBU4X.js';import'../chunk-ZMNFPSA3.js';import'../chunk-6C2TVGCV.js';import'../chunk-ZQWDYX2E.js';import'../chunk-6UJXNDLR.js';import'../chunk-HG6NCRSN.js';import'../chunk-4TNLRALG.js';import'../chunk-WYRCNM2M.js';import'../chunk-EYKDAQEG.js';import'../chunk-K3RU27VR.js';import'../chunk-CFKH5BM3.js';import'../chunk-OEEQX3JR.js';import'../chunk-PEAZKA47.js';import'../chunk-XU65MB53.js';import'../chunk-JUY2JZGK.js';import'../chunk-CHPQMJNP.js';import'../chunk-CJSVB5XT.js';import'../chunk-XFY6L3B6.js';import'../chunk-BNOMWF6G.js';import'../chunk-XQ5APSL5.js';import'../chunk-NTXAFTKR.js';import'../chunk-MFV4KTCM.js';import'../chunk-I56A4HTS.js';import'../chunk-BM65PK4H.js';import'../chunk-3Q67KQWC.js';import'../chunk-A4G246BH.js';import'../chunk-WUGIELON.js';import'../chunk-GYYQR6WJ.js';import'../chunk-TED2PUK6.js';import'../chunk-KYD4ATTG.js';import'../chunk-DZKJRP4J.js';import'../chunk-AKTRVGKT.js';import'../chunk-NY57FUA3.js';import'../chunk-RBLL355H.js';import'../chunk-YZNI5HEX.js';import'../chunk-Z67QQMOX.js';import'../chunk-5YDJTHDG.js';//# sourceMappingURL=combobox-chip-outside.js.map
|
|
2
2
|
//# sourceMappingURL=combobox-chip-outside.js.map
|
package/dist/composites/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ComboboxChipOutside}from'../chunk-XZKSYHE5.js';export{a as ComboboxChip}from'../chunk-S4IFBDOJ.js';export{a as ComboboxSimple}from'../chunk-CHN5ZCUY.js';export{a as FilterCombobox}from'../chunk-MXDNSGGI.js';export{a as ProfileAvatar}from'../chunk-7WQRDDWL.js';export{a as PhoneInput}from'../chunk-QV2OO65X.js';import'../chunk-ZP4ZPH65.js';import'../chunk-PJYKUR4F.js';import'../chunk-3ASGRRVT.js';import'../chunk-K2BMQ2TN.js';import'../chunk-G6HDEOYZ.js';import'../chunk-K7GGFR7W.js';import'../chunk-EE5QQGMX.js';import'../chunk-ITR3T6UB.js';import'../chunk-77T5FOYW.js';import'../chunk-WWCXHCNU.js';import'../chunk-OF4LN45Z.js';import'../chunk-XLACGAIR.js';import'../chunk-
|
|
1
|
+
export{a as ComboboxChipOutside}from'../chunk-XZKSYHE5.js';export{a as ComboboxChip}from'../chunk-S4IFBDOJ.js';export{a as ComboboxSimple}from'../chunk-CHN5ZCUY.js';export{a as FilterCombobox}from'../chunk-MXDNSGGI.js';export{a as ProfileAvatar}from'../chunk-7WQRDDWL.js';export{a as PhoneInput}from'../chunk-QV2OO65X.js';import'../chunk-ZP4ZPH65.js';import'../chunk-PJYKUR4F.js';import'../chunk-3ASGRRVT.js';import'../chunk-K2BMQ2TN.js';import'../chunk-G6HDEOYZ.js';import'../chunk-K7GGFR7W.js';import'../chunk-EE5QQGMX.js';import'../chunk-ITR3T6UB.js';import'../chunk-77T5FOYW.js';import'../chunk-WWCXHCNU.js';import'../chunk-OF4LN45Z.js';import'../chunk-XLACGAIR.js';import'../chunk-F5B3WGPQ.js';import'../chunk-TWWH5V2P.js';import'../chunk-NGSCUYDU.js';import'../chunk-Y6JASO6W.js';import'../chunk-RCA6JRHN.js';import'../chunk-JP737TCG.js';import'../chunk-WIUYDPXB.js';import'../chunk-MMCL4HWD.js';import'../chunk-ZVME3JB3.js';import'../chunk-2TUGHMFW.js';import'../chunk-P2DJG2OD.js';import'../chunk-P6Y4P5QT.js';import'../chunk-RN6CYJKG.js';import'../chunk-TES3PKRE.js';import'../chunk-BX7TD4RH.js';import'../chunk-YKX7SKZA.js';import'../chunk-BRZUHQYB.js';import'../chunk-NKQ3MFRE.js';import'../chunk-UBTCCHVI.js';import'../chunk-VNAMAKPG.js';import'../chunk-XG3W7QMP.js';import'../chunk-DCH35MB4.js';import'../chunk-YB5ZNOPP.js';import'../chunk-JH6RZ3QH.js';import'../chunk-AUYPBFZJ.js';import'../chunk-QDCD6MNO.js';import'../chunk-BEJ2SIQP.js';import'../chunk-4PD3DZE6.js';import'../chunk-3RJED3RZ.js';import'../chunk-FKOYTHRM.js';import'../chunk-GJ5F6YBZ.js';import'../chunk-4D2HXXN3.js';import'../chunk-S7ZMBRYT.js';import'../chunk-322IBGFZ.js';import'../chunk-RCP2CZRA.js';import'../chunk-AGKZWMW5.js';import'../chunk-YWG6HJAX.js';import'../chunk-NHQA6KSU.js';import'../chunk-DDCGJBN7.js';import'../chunk-SGJYHWYM.js';import'../chunk-QYGN3VYS.js';import'../chunk-LFQAJN4H.js';import'../chunk-ICQEZHVV.js';import'../chunk-PSHB2EQA.js';import'../chunk-JVBWH3DS.js';import'../chunk-EHRGIXKH.js';import'../chunk-CQC2IBSD.js';import'../chunk-CKVTRZ3S.js';import'../chunk-YSG3MHTX.js';import'../chunk-TIVYCE4X.js';import'../chunk-4EYPU56T.js';import'../chunk-2JHFRTOZ.js';import'../chunk-FJTQQ4SC.js';import'../chunk-W2HFGSVH.js';import'../chunk-2GABMQSA.js';import'../chunk-7ECOWHUV.js';import'../chunk-IUPJTP3B.js';import'../chunk-ADC7WDF4.js';import'../chunk-PEHI6LCP.js';import'../chunk-3HUMZKFZ.js';import'../chunk-U5N2WWD3.js';import'../chunk-F2D445K4.js';import'../chunk-NUCPKDK5.js';import'../chunk-2IOTGL4J.js';import'../chunk-NASTZUK6.js';import'../chunk-ZSYQCIYS.js';import'../chunk-7YXRTIXL.js';import'../chunk-4NU44YPN.js';import'../chunk-3SQB2TJB.js';import'../chunk-L5AG5DTS.js';import'../chunk-EAF4H4YJ.js';import'../chunk-XH22TH7N.js';import'../chunk-7LF2CJ3L.js';import'../chunk-KO4EAVJY.js';import'../chunk-XJTOYNCA.js';import'../chunk-BZGVXBP3.js';import'../chunk-U6W5PRLZ.js';import'../chunk-JXTOUSXQ.js';import'../chunk-DRYKJQ72.js';import'../chunk-46KQF4UN.js';import'../chunk-556ANF7Z.js';import'../chunk-UKXYDUDY.js';import'../chunk-Z22ALCLD.js';import'../chunk-IHTB4XCP.js';import'../chunk-5KMCPFGM.js';import'../chunk-6I4GG756.js';import'../chunk-4UC2VYI5.js';import'../chunk-UCCQUPMT.js';import'../chunk-TMDCYGCN.js';import'../chunk-5ETIHFSE.js';import'../chunk-Y72C3IVO.js';import'../chunk-5OQVCPXP.js';import'../chunk-LSW5TIYQ.js';import'../chunk-5YFGDOSH.js';import'../chunk-3NFGWKSO.js';import'../chunk-L73GMVVO.js';import'../chunk-OL4WHG4U.js';import'../chunk-V5WX4TSN.js';import'../chunk-A2U6VIQW.js';import'../chunk-VZMFSH37.js';import'../chunk-ECVIBKDN.js';import'../chunk-MPD36YFP.js';import'../chunk-Z5GMQ477.js';import'../chunk-6FL6AY4D.js';import'../chunk-3376QA4Q.js';import'../chunk-PDZ7VJPX.js';import'../chunk-UACQQO3I.js';import'../chunk-IHLMMP5Q.js';import'../chunk-LN37WPV7.js';import'../chunk-5NAO3POG.js';import'../chunk-JWAU7A2Q.js';import'../chunk-YFCBMUPK.js';import'../chunk-SLLTAQ22.js';import'../chunk-WMUM5NGX.js';import'../chunk-CAK44O3E.js';import'../chunk-MTWFWU3I.js';import'../chunk-NREZRMEX.js';import'../chunk-3SKJUZ5H.js';import'../chunk-EDXV6BE6.js';import'../chunk-HM2QBLIL.js';import'../chunk-6IKHZM3V.js';import'../chunk-ZVCIT3QN.js';import'../chunk-KHCZBVOK.js';import'../chunk-2TO4PAQM.js';import'../chunk-HSTY767P.js';import'../chunk-BKWINCGB.js';import'../chunk-VOTCMLJE.js';import'../chunk-ZKFUHFBC.js';import'../chunk-CEYIRTZQ.js';import'../chunk-TORDOY73.js';import'../chunk-K7EZKYBC.js';import'../chunk-FIXJ55FT.js';import'../chunk-GDU3OVET.js';import'../chunk-3EU5QGAN.js';import'../chunk-6EMNBLEM.js';import'../chunk-4CBZOTZR.js';import'../chunk-XY4CWRWG.js';import'../chunk-2FGDZ6WR.js';import'../chunk-FBKS63GQ.js';import'../chunk-NUGYUIN6.js';import'../chunk-6KFTNJLJ.js';import'../chunk-C7GZULSV.js';import'../chunk-GGD2FGWK.js';import'../chunk-AI5FYYCO.js';import'../chunk-UCQKCAYY.js';import'../chunk-HL32HBMO.js';import'../chunk-EJ5XTT5H.js';import'../chunk-6FEBVO2P.js';import'../chunk-JCFEHT75.js';import'../chunk-5I545S2U.js';import'../chunk-V6YCCR75.js';import'../chunk-NYSABCPP.js';import'../chunk-M5IVXDZ4.js';import'../chunk-2ZG2WNSI.js';import'../chunk-2PQUW476.js';import'../chunk-HEKI5WR2.js';import'../chunk-TTZ2UE5L.js';import'../chunk-JZJHLBOV.js';import'../chunk-L6ZGEGUV.js';import'../chunk-DQSDZXTX.js';import'../chunk-R33XCP5H.js';import'../chunk-SDKXW3R4.js';import'../chunk-GE3TPDYX.js';import'../chunk-RMGJAA2L.js';import'../chunk-Z7IOYXOK.js';import'../chunk-X2VRJLPR.js';import'../chunk-KPA4J3CC.js';import'../chunk-4JEHGT2R.js';import'../chunk-QNEJRZ4U.js';import'../chunk-SCPA3CM2.js';import'../chunk-VLSPFIZU.js';import'../chunk-BGSHHAM2.js';import'../chunk-SR76VRAC.js';import'../chunk-4GMRFP6B.js';import'../chunk-F5FFAJ6B.js';import'../chunk-5FALHJEA.js';import'../chunk-ICHHISXQ.js';import'../chunk-EERDL5XC.js';import'../chunk-IRRA2OTH.js';import'../chunk-QM2KF35E.js';import'../chunk-WI5V5Z76.js';import'../chunk-PCUUUW7T.js';import'../chunk-FELUIC3Z.js';import'../chunk-BKBLZKQ7.js';import'../chunk-3Q72MLBZ.js';import'../chunk-ZWZZVZOP.js';import'../chunk-SX54FORI.js';import'../chunk-XOIZGRZ6.js';import'../chunk-EY3W3WZX.js';import'../chunk-X2J6MJ6Y.js';import'../chunk-KCSDB6W4.js';import'../chunk-3N22A4KQ.js';import'../chunk-F7KNYOYR.js';import'../chunk-UESMX3LA.js';import'../chunk-33MUUBSB.js';import'../chunk-VK62KNI7.js';import'../chunk-OREIXD3L.js';import'../chunk-EYH5SNDK.js';import'../chunk-RUTYHOHT.js';import'../chunk-4FH2LYOC.js';import'../chunk-U27RVBYT.js';import'../chunk-EKS6U6XR.js';import'../chunk-5LAJMBKN.js';import'../chunk-ZEONZS5N.js';import'../chunk-75BEGXGF.js';import'../chunk-CP6DGMEP.js';import'../chunk-7TNSQNT7.js';import'../chunk-YTN4DVWB.js';import'../chunk-XNDNAHCC.js';import'../chunk-FFYGBVMN.js';import'../chunk-HJJ2VCYO.js';import'../chunk-KZMULPFK.js';import'../chunk-X5TJ3Z24.js';import'../chunk-J64EBQ23.js';import'../chunk-PFSN7DQX.js';import'../chunk-Y2R7ZZYY.js';import'../chunk-LYV7R7DB.js';import'../chunk-GOXCPAUM.js';import'../chunk-6L6HTR6E.js';import'../chunk-4VQUQ3NT.js';import'../chunk-MHRHCLIU.js';import'../chunk-V4VKQ2QF.js';import'../chunk-NVVCGBML.js';import'../chunk-ZTCAXM77.js';import'../chunk-UVYYUEHO.js';import'../chunk-Y2TTBBRP.js';import'../chunk-NYQJHUKD.js';import'../chunk-6NPT5BJ7.js';import'../chunk-MYGQXM66.js';import'../chunk-ZY5FUK37.js';import'../chunk-DNIYW2WB.js';import'../chunk-DVXIIACM.js';import'../chunk-ZPPUEK2E.js';import'../chunk-Y56EKYRN.js';import'../chunk-IW6VX3I7.js';import'../chunk-QWCYJC3T.js';import'../chunk-4S6MFDRP.js';import'../chunk-OE7VPOT4.js';import'../chunk-LHVBJHQZ.js';import'../chunk-2V46QEC7.js';import'../chunk-TJNOFRWB.js';import'../chunk-ZPKZLDR2.js';import'../chunk-EBXTHJF5.js';import'../chunk-ZXSIHT6V.js';import'../chunk-TJFA5O6Z.js';import'../chunk-KCCBSGT3.js';import'../chunk-QWFECUYL.js';import'../chunk-IPTGAZ37.js';import'../chunk-DEFVXH3J.js';import'../chunk-WVOOXXON.js';import'../chunk-YRO736RI.js';import'../chunk-QBNIE5KZ.js';import'../chunk-4WDDWMBW.js';import'../chunk-24ZESL25.js';import'../chunk-QH67MZKV.js';import'../chunk-O5CSN63E.js';import'../chunk-I2K2QQOA.js';import'../chunk-JUM5W2FF.js';import'../chunk-MOH4SNJJ.js';import'../chunk-YFZPYFTS.js';import'../chunk-JSE2CMYN.js';import'../chunk-WSMQZH5E.js';import'../chunk-CEY3P2QK.js';import'../chunk-E6ZLTD7K.js';import'../chunk-YWDIILO5.js';import'../chunk-ZT35KBQN.js';import'../chunk-T7HRX3EC.js';import'../chunk-C4ELFIL6.js';import'../chunk-UJRREWOA.js';import'../chunk-3KSOBU4X.js';import'../chunk-ZMNFPSA3.js';import'../chunk-6C2TVGCV.js';import'../chunk-ZQWDYX2E.js';import'../chunk-6UJXNDLR.js';import'../chunk-HG6NCRSN.js';import'../chunk-4TNLRALG.js';import'../chunk-WYRCNM2M.js';import'../chunk-EYKDAQEG.js';import'../chunk-K3RU27VR.js';import'../chunk-CFKH5BM3.js';import'../chunk-OEEQX3JR.js';import'../chunk-PEAZKA47.js';import'../chunk-XU65MB53.js';import'../chunk-JUY2JZGK.js';import'../chunk-CHPQMJNP.js';import'../chunk-CJSVB5XT.js';import'../chunk-XFY6L3B6.js';import'../chunk-BNOMWF6G.js';import'../chunk-XQ5APSL5.js';import'../chunk-NTXAFTKR.js';import'../chunk-MFV4KTCM.js';import'../chunk-I56A4HTS.js';import'../chunk-BM65PK4H.js';import'../chunk-3Q67KQWC.js';import'../chunk-A4G246BH.js';import'../chunk-WUGIELON.js';import'../chunk-GYYQR6WJ.js';import'../chunk-TED2PUK6.js';import'../chunk-KYD4ATTG.js';import'../chunk-DZKJRP4J.js';import'../chunk-AKTRVGKT.js';import'../chunk-NY57FUA3.js';import'../chunk-RBLL355H.js';import'../chunk-YZNI5HEX.js';import'../chunk-Z67QQMOX.js';import'../chunk-5YDJTHDG.js';//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
type ProfileAvatarStatus = "open-to-all" | "open-to-work" | "open-to-freelance" | "open-to-coach" | undefined;
|
|
6
6
|
type ProfileAvatarVariant = "profile" | "company" | "university" | "group";
|
|
7
7
|
declare const profileAvatarVariants: (props?: ({
|
|
8
|
-
size?: "
|
|
8
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
declare function ProfileAvatar({ avatarClassName, badgeClassName, imageSrc, avatarImageClassName, imageAlt, className, status, size, isVerified, onEdit, onClickAvatar, variant, isOnline, companyLogoSrc, bordered, badged, ...props }: React.ComponentProps<"div"> & {
|
|
11
11
|
avatarClassName?: string;
|
package/dist/primitives/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{e as Toast,k as ToastAction,l as ToastClose,h as ToastContent,j as ToastDescription,f as ToastPortal,d as ToastProvider,i as ToastTitle,g as ToastViewport,b as createToastManager,a as toast,c as useToastManager}from'../chunk-
|
|
1
|
+
export{e as Toast,k as ToastAction,l as ToastClose,h as ToastContent,j as ToastDescription,f as ToastPortal,d as ToastProvider,i as ToastTitle,g as ToastViewport,b as createToastManager,a as toast,c as useToastManager}from'../chunk-TWWH5V2P.js';export{b as Popover,h as PopoverArrow,g as PopoverBackdrop,k as PopoverClose,j as PopoverDescription,f as PopoverPopup,d as PopoverPortal,e as PopoverPositioner,i as PopoverTitle,c as PopoverTrigger,a as usePopover}from'../chunk-Y6JASO6W.js';export{c as Menu,l as MenuArrow,p as MenuCheckboxItem,q as MenuCheckboxItemIndicator,h as MenuGroup,i as MenuGroupLabel,m as MenuHighlight,n as MenuHighlightItem,o as MenuItem,g as MenuPopup,e as MenuPortal,f as MenuPositioner,r as MenuRadioGroup,s as MenuRadioItem,t as MenuRadioItemIndicator,j as MenuSeparator,k as MenuShortcut,u as MenuSubmenu,v as MenuSubmenuTrigger,d as MenuTrigger,b as useMenu,a as useMenuActiveValue}from'../chunk-JP737TCG.js';export{a as Tabs,b as TabsHighlight,d as TabsHighlightItem,c as TabsList,f as TabsPanel,g as TabsPanels,e as TabsTab}from'../chunk-MMCL4HWD.js';import'../chunk-ZVME3JB3.js';export{a as Slot}from'../chunk-2TUGHMFW.js';export{a as Tooltip,f as TooltipArrow,e as TooltipPopup,c as TooltipPortal,d as TooltipPositioner,b as TooltipTrigger}from'../chunk-P6Y4P5QT.js';export{b as SliderControlPrimitive,e as SliderIndicatorPrimitive,a as SliderPrimitive,d as SliderThumbPrimitive,c as SliderTrackPrimitive,f as SliderValuePrimitive}from'../chunk-TES3PKRE.js';export{c as Accordion,e as AccordionHeader,d as AccordionItem,g as AccordionPanel,f as AccordionTrigger,a as useAccordion,b as useAccordionItem}from'../chunk-YKX7SKZA.js';export{b as Collapsible,d as CollapsiblePanel,c as CollapsibleTrigger,a as useCollapsible}from'../chunk-NKQ3MFRE.js';import'../chunk-KYD4ATTG.js';export{b as AlertDialog,e as AlertDialogBackdrop,g as AlertDialogClose,k as AlertDialogDescription,i as AlertDialogFooter,h as AlertDialogHeader,f as AlertDialogPopup,d as AlertDialogPortal,j as AlertDialogTitle,c as AlertDialogTrigger,a as useAlertDialog}from'../chunk-RBLL355H.js';export{a as Sheet,e as SheetClose,l as SheetContent,i as SheetDescription,g as SheetFooter,f as SheetHeader,d as SheetOverlay,k as SheetPopup,c as SheetPortal,h as SheetTitle,b as SheetTrigger,j as useSheet}from'../chunk-Z67QQMOX.js';export{b as Dialog,e as DialogBackdrop,g as DialogClose,k as DialogDescription,i as DialogFooter,h as DialogHeader,f as DialogPopup,d as DialogPortal,j as DialogTitle,c as DialogTrigger,a as useDialog}from'../chunk-5YDJTHDG.js';//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -6,7 +6,7 @@ declare const toast: _base_ui_react.ToastManager<any>;
|
|
|
6
6
|
declare const createToastManager: typeof Toast$1.createToastManager;
|
|
7
7
|
declare const useToastManager: typeof Toast$1.useToastManager;
|
|
8
8
|
type ToastProviderProps = React.ComponentProps<typeof Toast$1.Provider>;
|
|
9
|
-
declare function ToastProvider(props: ToastProviderProps): React.JSX.Element;
|
|
9
|
+
declare function ToastProvider({ toastManager, ...props }: ToastProviderProps): React.JSX.Element;
|
|
10
10
|
type ToastProps = React.ComponentProps<typeof Toast$1.Root>;
|
|
11
11
|
declare function Toast(props: ToastProps): React.JSX.Element;
|
|
12
12
|
type ToastPortalProps = React.ComponentProps<typeof Toast$1.Portal>;
|
package/dist/primitives/toast.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{e as Toast,k as ToastAction,l as ToastClose,h as ToastContent,j as ToastDescription,f as ToastPortal,d as ToastProvider,i as ToastTitle,g as ToastViewport,b as createToastManager,a as toast,c as useToastManager}from'../chunk-
|
|
1
|
+
export{e as Toast,k as ToastAction,l as ToastClose,h as ToastContent,j as ToastDescription,f as ToastPortal,d as ToastProvider,i as ToastTitle,g as ToastViewport,b as createToastManager,a as toast,c as useToastManager}from'../chunk-TWWH5V2P.js';//# sourceMappingURL=toast.js.map
|
|
2
2
|
//# sourceMappingURL=toast.js.map
|
package/dist/ui/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import'../chunk-ZP4ZPH65.js';export{a as FormInput}from'../chunk-PJYKUR4F.js';export{a as FormTextarea}from'../chunk-3ASGRRVT.js';export{a as Textarea}from'../chunk-K2BMQ2TN.js';export{a as Form,f as FormControl,g as FormDescription,b as FormField,d as FormItem,e as FormLabel,h as FormMessage,c as useFormField}from'../chunk-G6HDEOYZ.js';export{b as Label,a as labelVariants}from'../chunk-K7GGFR7W.js';export{a as DatePicker}from'../chunk-EE5QQGMX.js';export{a as DateMultiplePicker}from'../chunk-ITR3T6UB.js';export{a as DateRangePicker}from'../chunk-77T5FOYW.js';export{a as Calendar}from'../chunk-WWCXHCNU.js';export{a as Table,c as TableBody,h as TableCaption,g as TableCell,d as TableFooter,f as TableHead,b as TableHeader,e as TableRow}from'../chunk-OF4LN45Z.js';export{a as Pagination}from'../chunk-XLACGAIR.js';export{j as Toaster}from'../chunk-3XWZPMXH.js';export{a as toast}from'../chunk-KT5JRJJR.js';export{a as Popover,f as PopoverArrow,e as PopoverBackdrop,d as PopoverClose,h as PopoverDescription,c as PopoverPopup,g as PopoverTitle,b as PopoverTrigger}from'../chunk-NGSCUYDU.js';import'../chunk-Y6JASO6W.js';export{a as Menu,m as MenuArrow,h as MenuCheckboxItem,e as MenuGroup,f as MenuGroupLabel,g as MenuItem,d as MenuPanel,c as MenuPortal,i as MenuRadioGroup,j as MenuRadioItem,k as MenuSeparator,l as MenuShortcut,n as MenuSubmenu,p as MenuSubmenuPanel,o as MenuSubmenuTrigger,b as MenuTrigger}from'../chunk-RCA6JRHN.js';import'../chunk-JP737TCG.js';export{a as Tabs,b as TabsList,e as TabsPanel,d as TabsPanels,c as TabsTab}from'../chunk-WIUYDPXB.js';import'../chunk-MMCL4HWD.js';import'../chunk-ZVME3JB3.js';import'../chunk-2TUGHMFW.js';export{a as Tooltip,e as TooltipPopup,c as TooltipPortal,d as TooltipPositioner,b as TooltipTrigger}from'../chunk-P2DJG2OD.js';import'../chunk-P6Y4P5QT.js';export{a as Slider}from'../chunk-RN6CYJKG.js';import'../chunk-TES3PKRE.js';export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger}from'../chunk-BX7TD4RH.js';import'../chunk-YKX7SKZA.js';export{a as Collapsible,c as CollapsibleContent,b as CollapsibleTrigger}from'../chunk-BRZUHQYB.js';import'../chunk-NKQ3MFRE.js';export{a as Carousel,b as CarouselContent,f as CarouselDots,c as CarouselItem,e as CarouselNext,d as CarouselPrevious}from'../chunk-UBTCCHVI.js';export{b as Button,a as buttonVariants}from'../chunk-VNAMAKPG.js';export{a as Checkbox}from'../chunk-XG3W7QMP.js';import'../chunk-DCH35MB4.js';export{d as Combobox,F as ComboboxArrow,s as ComboboxBackdrop,n as ComboboxChip,o as ComboboxChipRemove,m as ComboboxChips,k as ComboboxClear,E as ComboboxCollection,u as ComboboxEmpty,C as ComboboxGroup,D as ComboboxGroupLabel,w as ComboboxHighlight,x as ComboboxHighlightItem,j as ComboboxIcon,G as ComboboxInfiniteScroll,h as ComboboxInput,i as ComboboxInputFilter,g as ComboboxInputGroup,z as ComboboxItem,A as ComboboxItemIndicator,f as ComboboxLabel,v as ComboboxList,p as ComboboxPopup,q as ComboboxPortal,r as ComboboxPositioner,y as ComboboxRow,B as ComboboxSeparator,t as ComboboxStatus,e as ComboboxTrigger,l as ComboboxValue}from'../chunk-YB5ZNOPP.js';export{b as Input,a as inputVariants}from'../chunk-JH6RZ3QH.js';import'../chunk-AUYPBFZJ.js';import'../chunk-QDCD6MNO.js';import'../chunk-BEJ2SIQP.js';import'../chunk-4PD3DZE6.js';import'../chunk-3RJED3RZ.js';import'../chunk-FKOYTHRM.js';import'../chunk-GJ5F6YBZ.js';import'../chunk-4D2HXXN3.js';import'../chunk-S7ZMBRYT.js';import'../chunk-322IBGFZ.js';import'../chunk-RCP2CZRA.js';import'../chunk-AGKZWMW5.js';import'../chunk-YWG6HJAX.js';import'../chunk-NHQA6KSU.js';import'../chunk-DDCGJBN7.js';import'../chunk-SGJYHWYM.js';import'../chunk-QYGN3VYS.js';import'../chunk-LFQAJN4H.js';import'../chunk-ICQEZHVV.js';import'../chunk-PSHB2EQA.js';import'../chunk-JVBWH3DS.js';import'../chunk-EHRGIXKH.js';import'../chunk-CQC2IBSD.js';import'../chunk-CKVTRZ3S.js';import'../chunk-YSG3MHTX.js';import'../chunk-TIVYCE4X.js';import'../chunk-4EYPU56T.js';import'../chunk-2JHFRTOZ.js';import'../chunk-FJTQQ4SC.js';import'../chunk-W2HFGSVH.js';import'../chunk-2GABMQSA.js';import'../chunk-7ECOWHUV.js';import'../chunk-IUPJTP3B.js';import'../chunk-ADC7WDF4.js';import'../chunk-PEHI6LCP.js';import'../chunk-3HUMZKFZ.js';import'../chunk-U5N2WWD3.js';import'../chunk-F2D445K4.js';import'../chunk-NUCPKDK5.js';import'../chunk-2IOTGL4J.js';import'../chunk-NASTZUK6.js';import'../chunk-ZSYQCIYS.js';import'../chunk-7YXRTIXL.js';import'../chunk-4NU44YPN.js';import'../chunk-3SQB2TJB.js';import'../chunk-L5AG5DTS.js';import'../chunk-EAF4H4YJ.js';import'../chunk-XH22TH7N.js';import'../chunk-7LF2CJ3L.js';import'../chunk-KO4EAVJY.js';import'../chunk-XJTOYNCA.js';import'../chunk-BZGVXBP3.js';import'../chunk-U6W5PRLZ.js';import'../chunk-JXTOUSXQ.js';import'../chunk-DRYKJQ72.js';import'../chunk-46KQF4UN.js';import'../chunk-556ANF7Z.js';import'../chunk-UKXYDUDY.js';import'../chunk-Z22ALCLD.js';import'../chunk-IHTB4XCP.js';import'../chunk-5KMCPFGM.js';import'../chunk-6I4GG756.js';import'../chunk-4UC2VYI5.js';import'../chunk-UCCQUPMT.js';import'../chunk-TMDCYGCN.js';import'../chunk-5ETIHFSE.js';import'../chunk-Y72C3IVO.js';import'../chunk-5OQVCPXP.js';import'../chunk-LSW5TIYQ.js';import'../chunk-5YFGDOSH.js';import'../chunk-3NFGWKSO.js';import'../chunk-L73GMVVO.js';import'../chunk-OL4WHG4U.js';import'../chunk-V5WX4TSN.js';import'../chunk-A2U6VIQW.js';import'../chunk-VZMFSH37.js';import'../chunk-ECVIBKDN.js';import'../chunk-MPD36YFP.js';import'../chunk-Z5GMQ477.js';import'../chunk-6FL6AY4D.js';import'../chunk-3376QA4Q.js';import'../chunk-PDZ7VJPX.js';import'../chunk-UACQQO3I.js';import'../chunk-IHLMMP5Q.js';import'../chunk-LN37WPV7.js';import'../chunk-5NAO3POG.js';import'../chunk-JWAU7A2Q.js';import'../chunk-YFCBMUPK.js';import'../chunk-SLLTAQ22.js';import'../chunk-WMUM5NGX.js';import'../chunk-CAK44O3E.js';import'../chunk-MTWFWU3I.js';import'../chunk-NREZRMEX.js';import'../chunk-3SKJUZ5H.js';import'../chunk-EDXV6BE6.js';import'../chunk-HM2QBLIL.js';import'../chunk-6IKHZM3V.js';import'../chunk-ZVCIT3QN.js';import'../chunk-KHCZBVOK.js';import'../chunk-2TO4PAQM.js';import'../chunk-HSTY767P.js';import'../chunk-BKWINCGB.js';import'../chunk-VOTCMLJE.js';import'../chunk-ZKFUHFBC.js';import'../chunk-CEYIRTZQ.js';import'../chunk-TORDOY73.js';import'../chunk-K7EZKYBC.js';import'../chunk-FIXJ55FT.js';import'../chunk-GDU3OVET.js';import'../chunk-3EU5QGAN.js';import'../chunk-6EMNBLEM.js';import'../chunk-4CBZOTZR.js';import'../chunk-XY4CWRWG.js';import'../chunk-2FGDZ6WR.js';import'../chunk-FBKS63GQ.js';import'../chunk-NUGYUIN6.js';import'../chunk-6KFTNJLJ.js';import'../chunk-C7GZULSV.js';import'../chunk-GGD2FGWK.js';import'../chunk-AI5FYYCO.js';import'../chunk-UCQKCAYY.js';import'../chunk-HL32HBMO.js';import'../chunk-EJ5XTT5H.js';import'../chunk-6FEBVO2P.js';import'../chunk-JCFEHT75.js';import'../chunk-5I545S2U.js';import'../chunk-V6YCCR75.js';import'../chunk-NYSABCPP.js';import'../chunk-M5IVXDZ4.js';import'../chunk-2ZG2WNSI.js';import'../chunk-2PQUW476.js';import'../chunk-HEKI5WR2.js';import'../chunk-TTZ2UE5L.js';import'../chunk-JZJHLBOV.js';import'../chunk-L6ZGEGUV.js';import'../chunk-DQSDZXTX.js';import'../chunk-R33XCP5H.js';import'../chunk-SDKXW3R4.js';import'../chunk-GE3TPDYX.js';import'../chunk-RMGJAA2L.js';import'../chunk-Z7IOYXOK.js';import'../chunk-X2VRJLPR.js';import'../chunk-KPA4J3CC.js';import'../chunk-4JEHGT2R.js';import'../chunk-QNEJRZ4U.js';import'../chunk-SCPA3CM2.js';import'../chunk-VLSPFIZU.js';import'../chunk-BGSHHAM2.js';import'../chunk-SR76VRAC.js';import'../chunk-4GMRFP6B.js';import'../chunk-F5FFAJ6B.js';import'../chunk-5FALHJEA.js';import'../chunk-ICHHISXQ.js';import'../chunk-EERDL5XC.js';import'../chunk-IRRA2OTH.js';import'../chunk-QM2KF35E.js';import'../chunk-WI5V5Z76.js';import'../chunk-PCUUUW7T.js';import'../chunk-FELUIC3Z.js';import'../chunk-BKBLZKQ7.js';import'../chunk-3Q72MLBZ.js';import'../chunk-ZWZZVZOP.js';import'../chunk-SX54FORI.js';import'../chunk-XOIZGRZ6.js';import'../chunk-EY3W3WZX.js';import'../chunk-X2J6MJ6Y.js';import'../chunk-KCSDB6W4.js';import'../chunk-3N22A4KQ.js';import'../chunk-F7KNYOYR.js';import'../chunk-UESMX3LA.js';import'../chunk-33MUUBSB.js';import'../chunk-VK62KNI7.js';import'../chunk-OREIXD3L.js';import'../chunk-EYH5SNDK.js';import'../chunk-RUTYHOHT.js';import'../chunk-4FH2LYOC.js';import'../chunk-U27RVBYT.js';import'../chunk-EKS6U6XR.js';import'../chunk-5LAJMBKN.js';import'../chunk-ZEONZS5N.js';import'../chunk-75BEGXGF.js';import'../chunk-CP6DGMEP.js';import'../chunk-7TNSQNT7.js';import'../chunk-YTN4DVWB.js';import'../chunk-XNDNAHCC.js';import'../chunk-FFYGBVMN.js';import'../chunk-HJJ2VCYO.js';import'../chunk-KZMULPFK.js';import'../chunk-X5TJ3Z24.js';import'../chunk-J64EBQ23.js';import'../chunk-PFSN7DQX.js';import'../chunk-Y2R7ZZYY.js';import'../chunk-LYV7R7DB.js';import'../chunk-GOXCPAUM.js';import'../chunk-6L6HTR6E.js';import'../chunk-4VQUQ3NT.js';import'../chunk-MHRHCLIU.js';import'../chunk-V4VKQ2QF.js';import'../chunk-NVVCGBML.js';import'../chunk-ZTCAXM77.js';import'../chunk-UVYYUEHO.js';import'../chunk-Y2TTBBRP.js';import'../chunk-NYQJHUKD.js';import'../chunk-6NPT5BJ7.js';import'../chunk-MYGQXM66.js';import'../chunk-ZY5FUK37.js';import'../chunk-DNIYW2WB.js';import'../chunk-DVXIIACM.js';import'../chunk-ZPPUEK2E.js';import'../chunk-Y56EKYRN.js';import'../chunk-IW6VX3I7.js';import'../chunk-QWCYJC3T.js';import'../chunk-4S6MFDRP.js';import'../chunk-OE7VPOT4.js';import'../chunk-LHVBJHQZ.js';import'../chunk-2V46QEC7.js';import'../chunk-TJNOFRWB.js';import'../chunk-ZPKZLDR2.js';import'../chunk-EBXTHJF5.js';import'../chunk-ZXSIHT6V.js';import'../chunk-TJFA5O6Z.js';import'../chunk-KCCBSGT3.js';import'../chunk-QWFECUYL.js';import'../chunk-IPTGAZ37.js';import'../chunk-DEFVXH3J.js';import'../chunk-WVOOXXON.js';import'../chunk-YRO736RI.js';import'../chunk-QBNIE5KZ.js';import'../chunk-4WDDWMBW.js';import'../chunk-24ZESL25.js';import'../chunk-QH67MZKV.js';import'../chunk-O5CSN63E.js';import'../chunk-I2K2QQOA.js';import'../chunk-JUM5W2FF.js';import'../chunk-MOH4SNJJ.js';import'../chunk-YFZPYFTS.js';import'../chunk-JSE2CMYN.js';import'../chunk-WSMQZH5E.js';import'../chunk-CEY3P2QK.js';import'../chunk-E6ZLTD7K.js';import'../chunk-YWDIILO5.js';import'../chunk-ZT35KBQN.js';import'../chunk-T7HRX3EC.js';import'../chunk-C4ELFIL6.js';import'../chunk-UJRREWOA.js';import'../chunk-3KSOBU4X.js';import'../chunk-ZMNFPSA3.js';import'../chunk-6C2TVGCV.js';import'../chunk-ZQWDYX2E.js';import'../chunk-6UJXNDLR.js';import'../chunk-HG6NCRSN.js';import'../chunk-4TNLRALG.js';import'../chunk-WYRCNM2M.js';import'../chunk-EYKDAQEG.js';import'../chunk-K3RU27VR.js';import'../chunk-CFKH5BM3.js';import'../chunk-OEEQX3JR.js';import'../chunk-PEAZKA47.js';import'../chunk-XU65MB53.js';import'../chunk-JUY2JZGK.js';import'../chunk-CHPQMJNP.js';import'../chunk-CJSVB5XT.js';import'../chunk-XFY6L3B6.js';import'../chunk-BNOMWF6G.js';import'../chunk-XQ5APSL5.js';import'../chunk-NTXAFTKR.js';import'../chunk-MFV4KTCM.js';import'../chunk-I56A4HTS.js';import'../chunk-BM65PK4H.js';import'../chunk-3Q67KQWC.js';import'../chunk-A4G246BH.js';import'../chunk-WUGIELON.js';import'../chunk-GYYQR6WJ.js';export{a as InfiniteScroll}from'../chunk-TED2PUK6.js';import'../chunk-KYD4ATTG.js';export{b as Badge,c as BadgeButton,d as BadgeDot,a as badgeVariants}from'../chunk-DZKJRP4J.js';export{a as Dialog,c as DialogClose,f as DialogContent,i as DialogDescription,g as DialogFooter,e as DialogHeader,j as DialogIcon,d as DialogPopup,h as DialogTitle,b as DialogTrigger}from'../chunk-AKTRVGKT.js';export{a as AlertDialog,c as AlertDialogClose,f as AlertDialogContent,i as AlertDialogDescription,g as AlertDialogFooter,e as AlertDialogHeader,j as AlertDialogIcon,d as AlertDialogPopup,h as AlertDialogTitle,b as AlertDialogTrigger}from'../chunk-NY57FUA3.js';import'../chunk-RBLL355H.js';export{a as Sheet,c as SheetClose,f as SheetContent,j as SheetDescription,h as SheetFooter,g as SheetHeader,d as SheetOverlay,e as SheetPopup,i as SheetTitle,b as SheetTrigger}from'../chunk-YZNI5HEX.js';import'../chunk-Z67QQMOX.js';import'../chunk-5YDJTHDG.js';//# sourceMappingURL=index.js.map
|
|
1
|
+
import'../chunk-ZP4ZPH65.js';export{a as FormInput}from'../chunk-PJYKUR4F.js';export{a as FormTextarea}from'../chunk-3ASGRRVT.js';export{a as Textarea}from'../chunk-K2BMQ2TN.js';export{a as Form,f as FormControl,g as FormDescription,b as FormField,d as FormItem,e as FormLabel,h as FormMessage,c as useFormField}from'../chunk-G6HDEOYZ.js';export{b as Label,a as labelVariants}from'../chunk-K7GGFR7W.js';export{a as DatePicker}from'../chunk-EE5QQGMX.js';export{a as DateMultiplePicker}from'../chunk-ITR3T6UB.js';export{a as DateRangePicker}from'../chunk-77T5FOYW.js';export{a as Calendar}from'../chunk-WWCXHCNU.js';export{a as Table,c as TableBody,h as TableCaption,g as TableCell,d as TableFooter,f as TableHead,b as TableHeader,e as TableRow}from'../chunk-OF4LN45Z.js';export{a as Pagination}from'../chunk-XLACGAIR.js';export{j as Toaster}from'../chunk-F5B3WGPQ.js';export{a as toast}from'../chunk-TWWH5V2P.js';export{a as Popover,f as PopoverArrow,e as PopoverBackdrop,d as PopoverClose,h as PopoverDescription,c as PopoverPopup,g as PopoverTitle,b as PopoverTrigger}from'../chunk-NGSCUYDU.js';import'../chunk-Y6JASO6W.js';export{a as Menu,m as MenuArrow,h as MenuCheckboxItem,e as MenuGroup,f as MenuGroupLabel,g as MenuItem,d as MenuPanel,c as MenuPortal,i as MenuRadioGroup,j as MenuRadioItem,k as MenuSeparator,l as MenuShortcut,n as MenuSubmenu,p as MenuSubmenuPanel,o as MenuSubmenuTrigger,b as MenuTrigger}from'../chunk-RCA6JRHN.js';import'../chunk-JP737TCG.js';export{a as Tabs,b as TabsList,e as TabsPanel,d as TabsPanels,c as TabsTab}from'../chunk-WIUYDPXB.js';import'../chunk-MMCL4HWD.js';import'../chunk-ZVME3JB3.js';import'../chunk-2TUGHMFW.js';export{a as Tooltip,e as TooltipPopup,c as TooltipPortal,d as TooltipPositioner,b as TooltipTrigger}from'../chunk-P2DJG2OD.js';import'../chunk-P6Y4P5QT.js';export{a as Slider}from'../chunk-RN6CYJKG.js';import'../chunk-TES3PKRE.js';export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger}from'../chunk-BX7TD4RH.js';import'../chunk-YKX7SKZA.js';export{a as Collapsible,c as CollapsibleContent,b as CollapsibleTrigger}from'../chunk-BRZUHQYB.js';import'../chunk-NKQ3MFRE.js';export{a as Carousel,b as CarouselContent,f as CarouselDots,c as CarouselItem,e as CarouselNext,d as CarouselPrevious}from'../chunk-UBTCCHVI.js';export{b as Button,a as buttonVariants}from'../chunk-VNAMAKPG.js';export{a as Checkbox}from'../chunk-XG3W7QMP.js';import'../chunk-DCH35MB4.js';export{d as Combobox,F as ComboboxArrow,s as ComboboxBackdrop,n as ComboboxChip,o as ComboboxChipRemove,m as ComboboxChips,k as ComboboxClear,E as ComboboxCollection,u as ComboboxEmpty,C as ComboboxGroup,D as ComboboxGroupLabel,w as ComboboxHighlight,x as ComboboxHighlightItem,j as ComboboxIcon,G as ComboboxInfiniteScroll,h as ComboboxInput,i as ComboboxInputFilter,g as ComboboxInputGroup,z as ComboboxItem,A as ComboboxItemIndicator,f as ComboboxLabel,v as ComboboxList,p as ComboboxPopup,q as ComboboxPortal,r as ComboboxPositioner,y as ComboboxRow,B as ComboboxSeparator,t as ComboboxStatus,e as ComboboxTrigger,l as ComboboxValue}from'../chunk-YB5ZNOPP.js';export{b as Input,a as inputVariants}from'../chunk-JH6RZ3QH.js';import'../chunk-AUYPBFZJ.js';import'../chunk-QDCD6MNO.js';import'../chunk-BEJ2SIQP.js';import'../chunk-4PD3DZE6.js';import'../chunk-3RJED3RZ.js';import'../chunk-FKOYTHRM.js';import'../chunk-GJ5F6YBZ.js';import'../chunk-4D2HXXN3.js';import'../chunk-S7ZMBRYT.js';import'../chunk-322IBGFZ.js';import'../chunk-RCP2CZRA.js';import'../chunk-AGKZWMW5.js';import'../chunk-YWG6HJAX.js';import'../chunk-NHQA6KSU.js';import'../chunk-DDCGJBN7.js';import'../chunk-SGJYHWYM.js';import'../chunk-QYGN3VYS.js';import'../chunk-LFQAJN4H.js';import'../chunk-ICQEZHVV.js';import'../chunk-PSHB2EQA.js';import'../chunk-JVBWH3DS.js';import'../chunk-EHRGIXKH.js';import'../chunk-CQC2IBSD.js';import'../chunk-CKVTRZ3S.js';import'../chunk-YSG3MHTX.js';import'../chunk-TIVYCE4X.js';import'../chunk-4EYPU56T.js';import'../chunk-2JHFRTOZ.js';import'../chunk-FJTQQ4SC.js';import'../chunk-W2HFGSVH.js';import'../chunk-2GABMQSA.js';import'../chunk-7ECOWHUV.js';import'../chunk-IUPJTP3B.js';import'../chunk-ADC7WDF4.js';import'../chunk-PEHI6LCP.js';import'../chunk-3HUMZKFZ.js';import'../chunk-U5N2WWD3.js';import'../chunk-F2D445K4.js';import'../chunk-NUCPKDK5.js';import'../chunk-2IOTGL4J.js';import'../chunk-NASTZUK6.js';import'../chunk-ZSYQCIYS.js';import'../chunk-7YXRTIXL.js';import'../chunk-4NU44YPN.js';import'../chunk-3SQB2TJB.js';import'../chunk-L5AG5DTS.js';import'../chunk-EAF4H4YJ.js';import'../chunk-XH22TH7N.js';import'../chunk-7LF2CJ3L.js';import'../chunk-KO4EAVJY.js';import'../chunk-XJTOYNCA.js';import'../chunk-BZGVXBP3.js';import'../chunk-U6W5PRLZ.js';import'../chunk-JXTOUSXQ.js';import'../chunk-DRYKJQ72.js';import'../chunk-46KQF4UN.js';import'../chunk-556ANF7Z.js';import'../chunk-UKXYDUDY.js';import'../chunk-Z22ALCLD.js';import'../chunk-IHTB4XCP.js';import'../chunk-5KMCPFGM.js';import'../chunk-6I4GG756.js';import'../chunk-4UC2VYI5.js';import'../chunk-UCCQUPMT.js';import'../chunk-TMDCYGCN.js';import'../chunk-5ETIHFSE.js';import'../chunk-Y72C3IVO.js';import'../chunk-5OQVCPXP.js';import'../chunk-LSW5TIYQ.js';import'../chunk-5YFGDOSH.js';import'../chunk-3NFGWKSO.js';import'../chunk-L73GMVVO.js';import'../chunk-OL4WHG4U.js';import'../chunk-V5WX4TSN.js';import'../chunk-A2U6VIQW.js';import'../chunk-VZMFSH37.js';import'../chunk-ECVIBKDN.js';import'../chunk-MPD36YFP.js';import'../chunk-Z5GMQ477.js';import'../chunk-6FL6AY4D.js';import'../chunk-3376QA4Q.js';import'../chunk-PDZ7VJPX.js';import'../chunk-UACQQO3I.js';import'../chunk-IHLMMP5Q.js';import'../chunk-LN37WPV7.js';import'../chunk-5NAO3POG.js';import'../chunk-JWAU7A2Q.js';import'../chunk-YFCBMUPK.js';import'../chunk-SLLTAQ22.js';import'../chunk-WMUM5NGX.js';import'../chunk-CAK44O3E.js';import'../chunk-MTWFWU3I.js';import'../chunk-NREZRMEX.js';import'../chunk-3SKJUZ5H.js';import'../chunk-EDXV6BE6.js';import'../chunk-HM2QBLIL.js';import'../chunk-6IKHZM3V.js';import'../chunk-ZVCIT3QN.js';import'../chunk-KHCZBVOK.js';import'../chunk-2TO4PAQM.js';import'../chunk-HSTY767P.js';import'../chunk-BKWINCGB.js';import'../chunk-VOTCMLJE.js';import'../chunk-ZKFUHFBC.js';import'../chunk-CEYIRTZQ.js';import'../chunk-TORDOY73.js';import'../chunk-K7EZKYBC.js';import'../chunk-FIXJ55FT.js';import'../chunk-GDU3OVET.js';import'../chunk-3EU5QGAN.js';import'../chunk-6EMNBLEM.js';import'../chunk-4CBZOTZR.js';import'../chunk-XY4CWRWG.js';import'../chunk-2FGDZ6WR.js';import'../chunk-FBKS63GQ.js';import'../chunk-NUGYUIN6.js';import'../chunk-6KFTNJLJ.js';import'../chunk-C7GZULSV.js';import'../chunk-GGD2FGWK.js';import'../chunk-AI5FYYCO.js';import'../chunk-UCQKCAYY.js';import'../chunk-HL32HBMO.js';import'../chunk-EJ5XTT5H.js';import'../chunk-6FEBVO2P.js';import'../chunk-JCFEHT75.js';import'../chunk-5I545S2U.js';import'../chunk-V6YCCR75.js';import'../chunk-NYSABCPP.js';import'../chunk-M5IVXDZ4.js';import'../chunk-2ZG2WNSI.js';import'../chunk-2PQUW476.js';import'../chunk-HEKI5WR2.js';import'../chunk-TTZ2UE5L.js';import'../chunk-JZJHLBOV.js';import'../chunk-L6ZGEGUV.js';import'../chunk-DQSDZXTX.js';import'../chunk-R33XCP5H.js';import'../chunk-SDKXW3R4.js';import'../chunk-GE3TPDYX.js';import'../chunk-RMGJAA2L.js';import'../chunk-Z7IOYXOK.js';import'../chunk-X2VRJLPR.js';import'../chunk-KPA4J3CC.js';import'../chunk-4JEHGT2R.js';import'../chunk-QNEJRZ4U.js';import'../chunk-SCPA3CM2.js';import'../chunk-VLSPFIZU.js';import'../chunk-BGSHHAM2.js';import'../chunk-SR76VRAC.js';import'../chunk-4GMRFP6B.js';import'../chunk-F5FFAJ6B.js';import'../chunk-5FALHJEA.js';import'../chunk-ICHHISXQ.js';import'../chunk-EERDL5XC.js';import'../chunk-IRRA2OTH.js';import'../chunk-QM2KF35E.js';import'../chunk-WI5V5Z76.js';import'../chunk-PCUUUW7T.js';import'../chunk-FELUIC3Z.js';import'../chunk-BKBLZKQ7.js';import'../chunk-3Q72MLBZ.js';import'../chunk-ZWZZVZOP.js';import'../chunk-SX54FORI.js';import'../chunk-XOIZGRZ6.js';import'../chunk-EY3W3WZX.js';import'../chunk-X2J6MJ6Y.js';import'../chunk-KCSDB6W4.js';import'../chunk-3N22A4KQ.js';import'../chunk-F7KNYOYR.js';import'../chunk-UESMX3LA.js';import'../chunk-33MUUBSB.js';import'../chunk-VK62KNI7.js';import'../chunk-OREIXD3L.js';import'../chunk-EYH5SNDK.js';import'../chunk-RUTYHOHT.js';import'../chunk-4FH2LYOC.js';import'../chunk-U27RVBYT.js';import'../chunk-EKS6U6XR.js';import'../chunk-5LAJMBKN.js';import'../chunk-ZEONZS5N.js';import'../chunk-75BEGXGF.js';import'../chunk-CP6DGMEP.js';import'../chunk-7TNSQNT7.js';import'../chunk-YTN4DVWB.js';import'../chunk-XNDNAHCC.js';import'../chunk-FFYGBVMN.js';import'../chunk-HJJ2VCYO.js';import'../chunk-KZMULPFK.js';import'../chunk-X5TJ3Z24.js';import'../chunk-J64EBQ23.js';import'../chunk-PFSN7DQX.js';import'../chunk-Y2R7ZZYY.js';import'../chunk-LYV7R7DB.js';import'../chunk-GOXCPAUM.js';import'../chunk-6L6HTR6E.js';import'../chunk-4VQUQ3NT.js';import'../chunk-MHRHCLIU.js';import'../chunk-V4VKQ2QF.js';import'../chunk-NVVCGBML.js';import'../chunk-ZTCAXM77.js';import'../chunk-UVYYUEHO.js';import'../chunk-Y2TTBBRP.js';import'../chunk-NYQJHUKD.js';import'../chunk-6NPT5BJ7.js';import'../chunk-MYGQXM66.js';import'../chunk-ZY5FUK37.js';import'../chunk-DNIYW2WB.js';import'../chunk-DVXIIACM.js';import'../chunk-ZPPUEK2E.js';import'../chunk-Y56EKYRN.js';import'../chunk-IW6VX3I7.js';import'../chunk-QWCYJC3T.js';import'../chunk-4S6MFDRP.js';import'../chunk-OE7VPOT4.js';import'../chunk-LHVBJHQZ.js';import'../chunk-2V46QEC7.js';import'../chunk-TJNOFRWB.js';import'../chunk-ZPKZLDR2.js';import'../chunk-EBXTHJF5.js';import'../chunk-ZXSIHT6V.js';import'../chunk-TJFA5O6Z.js';import'../chunk-KCCBSGT3.js';import'../chunk-QWFECUYL.js';import'../chunk-IPTGAZ37.js';import'../chunk-DEFVXH3J.js';import'../chunk-WVOOXXON.js';import'../chunk-YRO736RI.js';import'../chunk-QBNIE5KZ.js';import'../chunk-4WDDWMBW.js';import'../chunk-24ZESL25.js';import'../chunk-QH67MZKV.js';import'../chunk-O5CSN63E.js';import'../chunk-I2K2QQOA.js';import'../chunk-JUM5W2FF.js';import'../chunk-MOH4SNJJ.js';import'../chunk-YFZPYFTS.js';import'../chunk-JSE2CMYN.js';import'../chunk-WSMQZH5E.js';import'../chunk-CEY3P2QK.js';import'../chunk-E6ZLTD7K.js';import'../chunk-YWDIILO5.js';import'../chunk-ZT35KBQN.js';import'../chunk-T7HRX3EC.js';import'../chunk-C4ELFIL6.js';import'../chunk-UJRREWOA.js';import'../chunk-3KSOBU4X.js';import'../chunk-ZMNFPSA3.js';import'../chunk-6C2TVGCV.js';import'../chunk-ZQWDYX2E.js';import'../chunk-6UJXNDLR.js';import'../chunk-HG6NCRSN.js';import'../chunk-4TNLRALG.js';import'../chunk-WYRCNM2M.js';import'../chunk-EYKDAQEG.js';import'../chunk-K3RU27VR.js';import'../chunk-CFKH5BM3.js';import'../chunk-OEEQX3JR.js';import'../chunk-PEAZKA47.js';import'../chunk-XU65MB53.js';import'../chunk-JUY2JZGK.js';import'../chunk-CHPQMJNP.js';import'../chunk-CJSVB5XT.js';import'../chunk-XFY6L3B6.js';import'../chunk-BNOMWF6G.js';import'../chunk-XQ5APSL5.js';import'../chunk-NTXAFTKR.js';import'../chunk-MFV4KTCM.js';import'../chunk-I56A4HTS.js';import'../chunk-BM65PK4H.js';import'../chunk-3Q67KQWC.js';import'../chunk-A4G246BH.js';import'../chunk-WUGIELON.js';import'../chunk-GYYQR6WJ.js';export{a as InfiniteScroll}from'../chunk-TED2PUK6.js';import'../chunk-KYD4ATTG.js';export{b as Badge,c as BadgeButton,d as BadgeDot,a as badgeVariants}from'../chunk-DZKJRP4J.js';export{a as Dialog,c as DialogClose,f as DialogContent,i as DialogDescription,g as DialogFooter,e as DialogHeader,j as DialogIcon,d as DialogPopup,h as DialogTitle,b as DialogTrigger}from'../chunk-AKTRVGKT.js';export{a as AlertDialog,c as AlertDialogClose,f as AlertDialogContent,i as AlertDialogDescription,g as AlertDialogFooter,e as AlertDialogHeader,j as AlertDialogIcon,d as AlertDialogPopup,h as AlertDialogTitle,b as AlertDialogTrigger}from'../chunk-NY57FUA3.js';import'../chunk-RBLL355H.js';export{a as Sheet,c as SheetClose,f as SheetContent,j as SheetDescription,h as SheetFooter,g as SheetHeader,d as SheetOverlay,e as SheetPopup,i as SheetTitle,b as SheetTrigger}from'../chunk-YZNI5HEX.js';import'../chunk-Z67QQMOX.js';import'../chunk-5YDJTHDG.js';//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/ui/toast.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare function ToastPortal({ ...props }: ToastPortalProps): React.JSX.Element;
|
|
|
9
9
|
type ToastViewportProps = ToastViewportProps$1;
|
|
10
10
|
declare function ToastViewport({ className, ...props }: ToastViewportProps): React.JSX.Element;
|
|
11
11
|
type ToastProviderProps = ToastProviderProps$1;
|
|
12
|
-
declare function ToastProvider(
|
|
12
|
+
declare function ToastProvider(props: ToastProviderProps): React.JSX.Element;
|
|
13
13
|
type ToastProps = ToastProps$1;
|
|
14
14
|
declare function Toast({ className, children, ...props }: ToastProps): React.JSX.Element;
|
|
15
15
|
type ToastContentProps = ToastContentProps$1;
|
package/dist/ui/toast.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{d as Toast,h as ToastAction,i as ToastClose,e as ToastContent,g as ToastDescription,a as ToastPortal,c as ToastProvider,f as ToastTitle,b as ToastViewport,j as Toaster}from'../chunk-
|
|
1
|
+
export{d as Toast,h as ToastAction,i as ToastClose,e as ToastContent,g as ToastDescription,a as ToastPortal,c as ToastProvider,f as ToastTitle,b as ToastViewport,j as Toaster}from'../chunk-F5B3WGPQ.js';export{b as createToastManager,a as toast,c as useToastManager}from'../chunk-TWWH5V2P.js';import'../chunk-VNAMAKPG.js';import'../chunk-AUYPBFZJ.js';import'../chunk-QDCD6MNO.js';import'../chunk-BEJ2SIQP.js';import'../chunk-4PD3DZE6.js';import'../chunk-3RJED3RZ.js';import'../chunk-FKOYTHRM.js';import'../chunk-GJ5F6YBZ.js';import'../chunk-4D2HXXN3.js';import'../chunk-S7ZMBRYT.js';import'../chunk-322IBGFZ.js';import'../chunk-RCP2CZRA.js';import'../chunk-AGKZWMW5.js';import'../chunk-YWG6HJAX.js';import'../chunk-NHQA6KSU.js';import'../chunk-DDCGJBN7.js';import'../chunk-SGJYHWYM.js';import'../chunk-QYGN3VYS.js';import'../chunk-LFQAJN4H.js';import'../chunk-ICQEZHVV.js';import'../chunk-PSHB2EQA.js';import'../chunk-JVBWH3DS.js';import'../chunk-EHRGIXKH.js';import'../chunk-CQC2IBSD.js';import'../chunk-CKVTRZ3S.js';import'../chunk-YSG3MHTX.js';import'../chunk-TIVYCE4X.js';import'../chunk-4EYPU56T.js';import'../chunk-2JHFRTOZ.js';import'../chunk-FJTQQ4SC.js';import'../chunk-W2HFGSVH.js';import'../chunk-2GABMQSA.js';import'../chunk-7ECOWHUV.js';import'../chunk-IUPJTP3B.js';import'../chunk-ADC7WDF4.js';import'../chunk-PEHI6LCP.js';import'../chunk-3HUMZKFZ.js';import'../chunk-U5N2WWD3.js';import'../chunk-F2D445K4.js';import'../chunk-NUCPKDK5.js';import'../chunk-2IOTGL4J.js';import'../chunk-NASTZUK6.js';import'../chunk-ZSYQCIYS.js';import'../chunk-7YXRTIXL.js';import'../chunk-4NU44YPN.js';import'../chunk-3SQB2TJB.js';import'../chunk-L5AG5DTS.js';import'../chunk-EAF4H4YJ.js';import'../chunk-XH22TH7N.js';import'../chunk-7LF2CJ3L.js';import'../chunk-KO4EAVJY.js';import'../chunk-XJTOYNCA.js';import'../chunk-BZGVXBP3.js';import'../chunk-U6W5PRLZ.js';import'../chunk-JXTOUSXQ.js';import'../chunk-DRYKJQ72.js';import'../chunk-46KQF4UN.js';import'../chunk-556ANF7Z.js';import'../chunk-UKXYDUDY.js';import'../chunk-Z22ALCLD.js';import'../chunk-IHTB4XCP.js';import'../chunk-5KMCPFGM.js';import'../chunk-6I4GG756.js';import'../chunk-4UC2VYI5.js';import'../chunk-UCCQUPMT.js';import'../chunk-TMDCYGCN.js';import'../chunk-5ETIHFSE.js';import'../chunk-Y72C3IVO.js';import'../chunk-5OQVCPXP.js';import'../chunk-LSW5TIYQ.js';import'../chunk-5YFGDOSH.js';import'../chunk-3NFGWKSO.js';import'../chunk-L73GMVVO.js';import'../chunk-OL4WHG4U.js';import'../chunk-V5WX4TSN.js';import'../chunk-A2U6VIQW.js';import'../chunk-VZMFSH37.js';import'../chunk-ECVIBKDN.js';import'../chunk-MPD36YFP.js';import'../chunk-Z5GMQ477.js';import'../chunk-6FL6AY4D.js';import'../chunk-3376QA4Q.js';import'../chunk-PDZ7VJPX.js';import'../chunk-UACQQO3I.js';import'../chunk-IHLMMP5Q.js';import'../chunk-LN37WPV7.js';import'../chunk-5NAO3POG.js';import'../chunk-JWAU7A2Q.js';import'../chunk-YFCBMUPK.js';import'../chunk-SLLTAQ22.js';import'../chunk-WMUM5NGX.js';import'../chunk-CAK44O3E.js';import'../chunk-MTWFWU3I.js';import'../chunk-NREZRMEX.js';import'../chunk-3SKJUZ5H.js';import'../chunk-EDXV6BE6.js';import'../chunk-HM2QBLIL.js';import'../chunk-6IKHZM3V.js';import'../chunk-ZVCIT3QN.js';import'../chunk-KHCZBVOK.js';import'../chunk-2TO4PAQM.js';import'../chunk-HSTY767P.js';import'../chunk-BKWINCGB.js';import'../chunk-VOTCMLJE.js';import'../chunk-ZKFUHFBC.js';import'../chunk-CEYIRTZQ.js';import'../chunk-TORDOY73.js';import'../chunk-K7EZKYBC.js';import'../chunk-FIXJ55FT.js';import'../chunk-GDU3OVET.js';import'../chunk-3EU5QGAN.js';import'../chunk-6EMNBLEM.js';import'../chunk-4CBZOTZR.js';import'../chunk-XY4CWRWG.js';import'../chunk-2FGDZ6WR.js';import'../chunk-FBKS63GQ.js';import'../chunk-NUGYUIN6.js';import'../chunk-6KFTNJLJ.js';import'../chunk-C7GZULSV.js';import'../chunk-GGD2FGWK.js';import'../chunk-AI5FYYCO.js';import'../chunk-UCQKCAYY.js';import'../chunk-HL32HBMO.js';import'../chunk-EJ5XTT5H.js';import'../chunk-6FEBVO2P.js';import'../chunk-JCFEHT75.js';import'../chunk-5I545S2U.js';import'../chunk-V6YCCR75.js';import'../chunk-NYSABCPP.js';import'../chunk-M5IVXDZ4.js';import'../chunk-2ZG2WNSI.js';import'../chunk-2PQUW476.js';import'../chunk-HEKI5WR2.js';import'../chunk-TTZ2UE5L.js';import'../chunk-JZJHLBOV.js';import'../chunk-L6ZGEGUV.js';import'../chunk-DQSDZXTX.js';import'../chunk-R33XCP5H.js';import'../chunk-SDKXW3R4.js';import'../chunk-GE3TPDYX.js';import'../chunk-RMGJAA2L.js';import'../chunk-Z7IOYXOK.js';import'../chunk-X2VRJLPR.js';import'../chunk-KPA4J3CC.js';import'../chunk-4JEHGT2R.js';import'../chunk-QNEJRZ4U.js';import'../chunk-SCPA3CM2.js';import'../chunk-VLSPFIZU.js';import'../chunk-BGSHHAM2.js';import'../chunk-SR76VRAC.js';import'../chunk-4GMRFP6B.js';import'../chunk-F5FFAJ6B.js';import'../chunk-5FALHJEA.js';import'../chunk-ICHHISXQ.js';import'../chunk-EERDL5XC.js';import'../chunk-IRRA2OTH.js';import'../chunk-QM2KF35E.js';import'../chunk-WI5V5Z76.js';import'../chunk-PCUUUW7T.js';import'../chunk-FELUIC3Z.js';import'../chunk-BKBLZKQ7.js';import'../chunk-3Q72MLBZ.js';import'../chunk-ZWZZVZOP.js';import'../chunk-SX54FORI.js';import'../chunk-XOIZGRZ6.js';import'../chunk-EY3W3WZX.js';import'../chunk-X2J6MJ6Y.js';import'../chunk-KCSDB6W4.js';import'../chunk-3N22A4KQ.js';import'../chunk-F7KNYOYR.js';import'../chunk-UESMX3LA.js';import'../chunk-33MUUBSB.js';import'../chunk-VK62KNI7.js';import'../chunk-OREIXD3L.js';import'../chunk-EYH5SNDK.js';import'../chunk-RUTYHOHT.js';import'../chunk-4FH2LYOC.js';import'../chunk-U27RVBYT.js';import'../chunk-EKS6U6XR.js';import'../chunk-5LAJMBKN.js';import'../chunk-ZEONZS5N.js';import'../chunk-75BEGXGF.js';import'../chunk-CP6DGMEP.js';import'../chunk-7TNSQNT7.js';import'../chunk-YTN4DVWB.js';import'../chunk-XNDNAHCC.js';import'../chunk-FFYGBVMN.js';import'../chunk-HJJ2VCYO.js';import'../chunk-KZMULPFK.js';import'../chunk-X5TJ3Z24.js';import'../chunk-J64EBQ23.js';import'../chunk-PFSN7DQX.js';import'../chunk-Y2R7ZZYY.js';import'../chunk-LYV7R7DB.js';import'../chunk-GOXCPAUM.js';import'../chunk-6L6HTR6E.js';import'../chunk-4VQUQ3NT.js';import'../chunk-MHRHCLIU.js';import'../chunk-V4VKQ2QF.js';import'../chunk-NVVCGBML.js';import'../chunk-ZTCAXM77.js';import'../chunk-UVYYUEHO.js';import'../chunk-Y2TTBBRP.js';import'../chunk-NYQJHUKD.js';import'../chunk-6NPT5BJ7.js';import'../chunk-MYGQXM66.js';import'../chunk-ZY5FUK37.js';import'../chunk-DNIYW2WB.js';import'../chunk-DVXIIACM.js';import'../chunk-ZPPUEK2E.js';import'../chunk-Y56EKYRN.js';import'../chunk-IW6VX3I7.js';import'../chunk-QWCYJC3T.js';import'../chunk-4S6MFDRP.js';import'../chunk-OE7VPOT4.js';import'../chunk-LHVBJHQZ.js';import'../chunk-2V46QEC7.js';import'../chunk-TJNOFRWB.js';import'../chunk-ZPKZLDR2.js';import'../chunk-EBXTHJF5.js';import'../chunk-ZXSIHT6V.js';import'../chunk-TJFA5O6Z.js';import'../chunk-KCCBSGT3.js';import'../chunk-QWFECUYL.js';import'../chunk-IPTGAZ37.js';import'../chunk-DEFVXH3J.js';import'../chunk-WVOOXXON.js';import'../chunk-YRO736RI.js';import'../chunk-QBNIE5KZ.js';import'../chunk-4WDDWMBW.js';import'../chunk-24ZESL25.js';import'../chunk-QH67MZKV.js';import'../chunk-O5CSN63E.js';import'../chunk-I2K2QQOA.js';import'../chunk-JUM5W2FF.js';import'../chunk-MOH4SNJJ.js';import'../chunk-YFZPYFTS.js';import'../chunk-JSE2CMYN.js';import'../chunk-WSMQZH5E.js';import'../chunk-CEY3P2QK.js';import'../chunk-E6ZLTD7K.js';import'../chunk-YWDIILO5.js';import'../chunk-ZT35KBQN.js';import'../chunk-T7HRX3EC.js';import'../chunk-C4ELFIL6.js';import'../chunk-UJRREWOA.js';import'../chunk-3KSOBU4X.js';import'../chunk-ZMNFPSA3.js';import'../chunk-6C2TVGCV.js';import'../chunk-ZQWDYX2E.js';import'../chunk-6UJXNDLR.js';import'../chunk-HG6NCRSN.js';import'../chunk-4TNLRALG.js';import'../chunk-WYRCNM2M.js';import'../chunk-EYKDAQEG.js';import'../chunk-K3RU27VR.js';import'../chunk-CFKH5BM3.js';import'../chunk-OEEQX3JR.js';import'../chunk-PEAZKA47.js';import'../chunk-XU65MB53.js';import'../chunk-JUY2JZGK.js';import'../chunk-CHPQMJNP.js';import'../chunk-CJSVB5XT.js';import'../chunk-XFY6L3B6.js';import'../chunk-BNOMWF6G.js';import'../chunk-XQ5APSL5.js';import'../chunk-NTXAFTKR.js';import'../chunk-MFV4KTCM.js';import'../chunk-I56A4HTS.js';import'../chunk-BM65PK4H.js';import'../chunk-3Q67KQWC.js';import'../chunk-A4G246BH.js';import'../chunk-WUGIELON.js';import'../chunk-GYYQR6WJ.js';//# sourceMappingURL=toast.js.map
|
|
2
2
|
//# sourceMappingURL=toast.js.map
|
package/package.json
CHANGED
package/dist/chunk-3XWZPMXH.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {f,g,d,a,e,h,i,j,k as k$1,l,c}from'./chunk-KT5JRJJR.js';import {b}from'./chunk-VNAMAKPG.js';import {a as a$1}from'./chunk-WI5V5Z76.js';import {b as b$2}from'./chunk-QWCYJC3T.js';import {b as b$3}from'./chunk-4WDDWMBW.js';import {b as b$1}from'./chunk-ZQWDYX2E.js';import'react';import {cn}from'@xploreu/lib/cn';import {XIcon,Loader2Icon}from'lucide-react';import {jsx,jsxs}from'react/jsx-runtime';function _({...a}){return jsx(f,{...a})}function C({className:a,...t}){return jsx(g,{className:cn("pointer-events-none fixed inset-x-4 bottom-4 z-50 mx-auto w-auto max-w-sm outline-none sm:right-4 sm:left-auto sm:mx-0 sm:w-full",a),...t})}function N({toastManager:a$1=a,...t}){return jsx(d,{toastManager:a$1,...t})}function Y({className:a,children:t,...r}){return jsxs(e,{className:cn("group/toast pointer-events-auto absolute right-0 bottom-0 z-[calc(1000-var(--toast-index))] w-full origin-bottom rounded-l-[10.4px] rounded-r-lg shadow-lg will-change-transform outline-none select-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-focus-ring","[--gap:0.75rem] [--height:var(--toast-frontmost-height,var(--toast-height))] [--offset-y:calc(var(--toast-offset-y)*-1+calc(var(--toast-index)*var(--gap)*-1)+var(--toast-swipe-movement-y))] [--peek:0.75rem] [--scale:calc(max(0,1-(var(--toast-index)*0.1)))] [--shrink:calc(1-var(--scale))]","h-(--height) [transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)-(var(--toast-index)*var(--peek))-(var(--shrink)*var(--height))))_scale(var(--scale))] [transition:transform_500ms_cubic-bezier(0.22,1,0.36,1),opacity_500ms,height_150ms]","after:absolute after:top-full after:left-0 after:h-[calc(var(--gap)+1px)] after:w-full after:content-['']","data-expanded:h-(--toast-height) data-expanded:[transform:translateX(var(--toast-swipe-movement-x))_translateY(var(--offset-y))]","data-limited:opacity-0 data-starting-style:[transform:translateY(150%)]","[&[data-ending-style]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(150%)]","data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]","data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]","data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]","data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]","data-expanded:data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]","data-expanded:data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]","data-expanded:data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]","data-expanded:data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]",a),...r,children:[jsx("div",{className:cn("absolute left-0 inset-y-0 w-[10.4px] rounded-l-[10.4px] bg-[linear-gradient(180deg,#377DFA_0%,#185BC2_80%)]","group-data-[type=warning]/toast:bg-[linear-gradient(180deg,#F79009_0%,#B54708_80%)]","group-data-[type=info]/toast:bg-[linear-gradient(180deg,#068BEE_0%,#175BCC_80%)]","group-data-[type=success]/toast:bg-[linear-gradient(180deg,#17B26A_0%,#067647_80%)]","group-data-[type=error]/toast:bg-[linear-gradient(180deg,#F04438_0%,#B42318_80%)]")}),jsx("div",{className:cn("relative border border-border-secondary rounded-lg ml-[2.4px] bg-bg-primary z-10 bg-radial-[100%_200%_at_0%_0%] to-bg-primary","from-modal-dialog-stop-0","group-data-[type=warning]/toast:from-utility-warning-50","group-data-[type=info]/toast:from-utility-blue-50","group-data-[type=success]/toast:from-utility-success-50","group-data-[type=error]/toast:from-utility-error-50"),children:t})]})}function z({className:a,...t}){return jsx(h,{className:cn("flex h-full items-center gap-3 overflow-hidden p-4 transition-opacity duration-250 ease-[cubic-bezier(0.22,1,0.36,1)] data-behind:opacity-0 data-expanded:opacity-100",a),...t})}function A({className:a,...t}){return jsx(i,{className:cn("text-label-semibold-2 text-text-primary","group-data-[type=warning]/toast:text-text-warning-primary","group-data-[type=info]/toast:text-text-info-primary","group-data-[type=success]/toast:text-text-success-primary","group-data-[type=error]/toast:text-text-error-primary",a),...t})}function D({className:a,...t}){return jsx(j,{className:cn("text-body-regular-2 text-text-secondary",a),...t})}function V({className:a,render:t=jsx(b,{size:"sm",variant:"secondary"}),...r}){return jsx(k$1,{render:t,className:cn("shrink-0",a),...r})}function k({className:a,children:t,...r}){return jsx(l,{"aria-label":"Close toast",className:cn("relative shrink-0 text-fg-quaternary after:absolute after:-inset-2 after:content-[''] hover:text-text-error-primary size-6 inline-flex items-center justify-center [&_svg:not([class*='size-'])]:size-3.5",a),...r,children:t??jsx(XIcon,{"aria-hidden":"true"})})}function I({type:a}){let t=null;return a==="success"&&(t=jsx(b$1,{className:"text-fg-success-primary"})),a==="info"&&(t=jsx(a$1,{className:"text-fg-info-primary"})),a==="warning"&&(t=jsx(b$2,{className:"text-fg-warning-primary"})),a==="error"&&(t=jsx(b$3,{className:"text-fg-error-primary"})),a==="loading"&&(t=jsx(Loader2Icon,{className:"animate-spin","aria-hidden":"true"})),t?jsx("span",{"data-slot":"toast-icon",className:"shrink-0 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-6",children:t}):null}function B(){let{toasts:a}=c();return a.map(t=>jsx(Y,{toast:t,children:jsxs(z,{children:[jsx(I,{type:t.type}),jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[jsx(A,{}),jsx(D,{})]}),jsx(V,{}),jsx(k,{})]})},t.id))}function L({children:a,...t}){return jsxs(N,{...t,children:[a,jsx(_,{children:jsx(C,{children:jsx(B,{})})})]})}export{_ as a,C as b,N as c,Y as d,z as e,A as f,D as g,V as h,k as i,L as j};//# sourceMappingURL=chunk-3XWZPMXH.js.map
|
|
2
|
-
//# sourceMappingURL=chunk-3XWZPMXH.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/ui/toast.tsx"],"names":["ToastPortal","props","jsx","ToastViewport","className","cn","ToastProvider","toastManager","toast","Toast","children","jsxs","ToastContent","ToastTitle","ToastDescription","ToastAction","render","Button","ToastClose","XIcon","ToastIcon","type","icon","check_square_icon_default","info_square_icon_default","danger_triangle_icon_default","close_square_icon_default","Loader2Icon","ToastList","toasts","useToastManager","toastItem","Toaster"],"mappings":"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","file":"chunk-3XWZPMXH.js","sourcesContent":["\"use client\";\r\n\r\nimport * as React from \"react\";\r\nimport {\r\n ToastPortal as ToastPortalPrimitive,\r\n ToastViewport as ToastViewportPrimitive,\r\n ToastProvider as ToastProviderPrimitive,\r\n Toast as ToastPrimitive,\r\n ToastContent as ToastContentPrimitive,\r\n ToastTitle as ToastTitlePrimitive,\r\n ToastDescription as ToastDescriptionPrimitive,\r\n ToastAction as ToastActionPrimitive,\r\n ToastClose as ToastClosePrimitive,\r\n toast,\r\n createToastManager,\r\n useToastManager,\r\n type ToastPortalProps as ToastPortalPrimitiveProps,\r\n type ToastViewportProps as ToastViewportPrimitiveProps,\r\n type ToastProviderProps as ToastProviderPrimitiveProps,\r\n type ToastProps as ToastPrimitiveProps,\r\n type ToastContentProps as ToastContentPrimitiveProps,\r\n type ToastTitleProps as ToastTitlePrimitiveProps,\r\n type ToastDescriptionProps as ToastDescriptionPrimitiveProps,\r\n type ToastActionProps as ToastActionPrimitiveProps,\r\n type ToastCloseProps as ToastClosePrimitiveProps,\r\n} from \"../primitives/toast\";\r\nimport { cn } from \"@xploreu/lib/cn\";\r\nimport {\r\n InfoSquareIcon,\r\n CheckSquareIcon,\r\n CloseSquareIcon,\r\n DangerTriangleIcon,\r\n} from \"../icons\";\r\nimport { Button } from \"./button\";\r\nimport {\r\n XIcon,\r\n Loader2Icon\r\n} from \"lucide-react\"\r\n\r\ntype ToastPortalProps = ToastPortalPrimitiveProps;\r\n\r\nfunction ToastPortal({ ...props }: ToastPortalProps) {\r\n return <ToastPortalPrimitive {...props} />;\r\n}\r\n\r\ntype ToastViewportProps = ToastViewportPrimitiveProps;\r\n\r\nfunction ToastViewport({ className, ...props }: ToastViewportProps) {\r\n return (\r\n <ToastViewportPrimitive\r\n className={cn(\r\n \"pointer-events-none fixed inset-x-4 bottom-4 z-50 mx-auto w-auto max-w-sm outline-none sm:right-4 sm:left-auto sm:mx-0 sm:w-full\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\ntype ToastProviderProps = ToastProviderPrimitiveProps;\r\n\r\nfunction ToastProvider({\r\n toastManager = toast,\r\n ...props\r\n}: ToastProviderProps) {\r\n return <ToastProviderPrimitive toastManager={toastManager} {...props} />;\r\n}\r\n\r\ntype ToastProps = ToastPrimitiveProps\r\n\r\nfunction Toast({ \r\n className, \r\n children, \r\n ...props \r\n}: ToastProps) {\r\n return (\r\n <ToastPrimitive\r\n className={cn(\r\n \"group/toast pointer-events-auto absolute right-0 bottom-0 z-[calc(1000-var(--toast-index))] w-full origin-bottom rounded-l-[10.4px] rounded-r-lg shadow-lg will-change-transform outline-none select-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-focus-ring\",\r\n \"[--gap:0.75rem] [--height:var(--toast-frontmost-height,var(--toast-height))] [--offset-y:calc(var(--toast-offset-y)*-1+calc(var(--toast-index)*var(--gap)*-1)+var(--toast-swipe-movement-y))] [--peek:0.75rem] [--scale:calc(max(0,1-(var(--toast-index)*0.1)))] [--shrink:calc(1-var(--scale))]\",\r\n \"h-(--height) [transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)-(var(--toast-index)*var(--peek))-(var(--shrink)*var(--height))))_scale(var(--scale))] [transition:transform_500ms_cubic-bezier(0.22,1,0.36,1),opacity_500ms,height_150ms]\",\r\n \"after:absolute after:top-full after:left-0 after:h-[calc(var(--gap)+1px)] after:w-full after:content-['']\",\r\n \"data-expanded:h-(--toast-height) data-expanded:[transform:translateX(var(--toast-swipe-movement-x))_translateY(var(--offset-y))]\",\r\n \"data-limited:opacity-0 data-starting-style:[transform:translateY(150%)]\",\r\n \"[&[data-ending-style]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(150%)]\",\r\n \"data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]\",\r\n \"data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]\",\r\n \"data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]\",\r\n \"data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]\",\r\n \"data-expanded:data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]\",\r\n \"data-expanded:data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]\",\r\n \"data-expanded:data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]\",\r\n \"data-expanded:data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n <div className={cn(\r\n \"absolute left-0 inset-y-0 w-[10.4px] rounded-l-[10.4px] bg-[linear-gradient(180deg,#377DFA_0%,#185BC2_80%)]\",\r\n \"group-data-[type=warning]/toast:bg-[linear-gradient(180deg,#F79009_0%,#B54708_80%)]\",\r\n \"group-data-[type=info]/toast:bg-[linear-gradient(180deg,#068BEE_0%,#175BCC_80%)]\",\r\n \"group-data-[type=success]/toast:bg-[linear-gradient(180deg,#17B26A_0%,#067647_80%)]\",\r\n \"group-data-[type=error]/toast:bg-[linear-gradient(180deg,#F04438_0%,#B42318_80%)]\",\r\n )} />\r\n <div className={cn(\r\n \"relative border border-border-secondary rounded-lg ml-[2.4px] bg-bg-primary z-10 bg-radial-[100%_200%_at_0%_0%] to-bg-primary\",\r\n \"from-modal-dialog-stop-0\",\r\n \"group-data-[type=warning]/toast:from-utility-warning-50\",\r\n \"group-data-[type=info]/toast:from-utility-blue-50\",\r\n \"group-data-[type=success]/toast:from-utility-success-50\",\r\n \"group-data-[type=error]/toast:from-utility-error-50\",\r\n )}>\r\n {children}\r\n </div>\r\n </ToastPrimitive>\r\n );\r\n}\r\n\r\ntype ToastContentProps = ToastContentPrimitiveProps;\r\n\r\nfunction ToastContent({ className, ...props }: ToastContentProps) {\r\n return (\r\n <ToastContentPrimitive\r\n className={cn(\r\n \"flex h-full items-center gap-3 overflow-hidden p-4 transition-opacity duration-250 ease-[cubic-bezier(0.22,1,0.36,1)] data-behind:opacity-0 data-expanded:opacity-100\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\ntype ToastTitleProps = ToastTitlePrimitiveProps;\r\n\r\nfunction ToastTitle({ className, ...props }: ToastTitleProps) {\r\n return (\r\n <ToastTitlePrimitive\r\n className={cn(\r\n \"text-label-semibold-2 text-text-primary\", \r\n \"group-data-[type=warning]/toast:text-text-warning-primary\",\r\n \"group-data-[type=info]/toast:text-text-info-primary\",\r\n \"group-data-[type=success]/toast:text-text-success-primary\",\r\n \"group-data-[type=error]/toast:text-text-error-primary\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\ntype ToastDescriptionProps = ToastDescriptionPrimitiveProps;\r\n\r\nfunction ToastDescription({ className, ...props }: ToastDescriptionProps) {\r\n return (\r\n <ToastDescriptionPrimitive\r\n className={cn(\"text-body-regular-2 text-text-secondary\", className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\ntype ToastActionProps = ToastActionPrimitiveProps;\r\n\r\nfunction ToastAction({\r\n className,\r\n render = <Button size=\"sm\" variant=\"secondary\" />,\r\n ...props\r\n}: ToastActionProps) {\r\n return (\r\n <ToastActionPrimitive\r\n render={render}\r\n className={cn(\"shrink-0\", className)}\r\n {...props}\r\n />\r\n )\r\n}\r\n\r\ntype ToastCloseProps = ToastClosePrimitiveProps;\r\n\r\nfunction ToastClose({ className, children, ...props }: ToastCloseProps) {\r\n return (\r\n <ToastClosePrimitive\r\n aria-label=\"Close toast\"\r\n className={cn(\r\n \"relative shrink-0 text-fg-quaternary after:absolute after:-inset-2 after:content-[''] hover:text-text-error-primary size-6 inline-flex items-center justify-center [&_svg:not([class*='size-'])]:size-3.5\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n {children ?? <XIcon aria-hidden=\"true\" />}\r\n </ToastClosePrimitive>\r\n );\r\n}\r\n\r\ntype ToastIconProps = { type: string | undefined }\r\n\r\nfunction ToastIcon({ type }: ToastIconProps) {\r\n let icon: React.ReactNode = null;\r\n\r\n if (type === \"success\") {\r\n icon = <CheckSquareIcon className=\"text-fg-success-primary\" />;\r\n } \r\n \r\n if (type === \"info\") {\r\n icon = <InfoSquareIcon className=\"text-fg-info-primary\" />;\r\n }\r\n \r\n if (type === \"warning\") {\r\n icon = <DangerTriangleIcon className=\"text-fg-warning-primary\" />;\r\n }\r\n \r\n if (type === \"error\") {\r\n icon = <CloseSquareIcon className=\"text-fg-error-primary\" />;\r\n }\r\n\r\n if (type === \"loading\") {\r\n icon = <Loader2Icon className=\"animate-spin\" aria-hidden=\"true\" />\r\n }\r\n\r\n if (!icon) return null;\r\n\r\n return (\r\n <span\r\n data-slot=\"toast-icon\"\r\n className=\"shrink-0 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-6\"\r\n >\r\n {icon}\r\n </span>\r\n );\r\n}\r\n\r\nfunction ToastList() {\r\n const { toasts } = useToastManager();\r\n\r\n return toasts.map((toastItem) => (\r\n <Toast key={toastItem.id} toast={toastItem}>\r\n <ToastContent>\r\n <ToastIcon type={toastItem.type} />\r\n <div className=\"flex min-w-0 flex-1 flex-col gap-1\">\r\n <ToastTitle />\r\n <ToastDescription />\r\n </div>\r\n <ToastAction />\r\n <ToastClose />\r\n </ToastContent>\r\n </Toast>\r\n ));\r\n}\r\n\r\ntype ToasterProps = ToastProviderPrimitiveProps;\r\n\r\nfunction Toaster({\r\n children,\r\n ...props\r\n}: ToasterProps) {\r\n return (\r\n <ToastProvider {...props}>\r\n {children}\r\n <ToastPortal>\r\n <ToastViewport>\r\n <ToastList />\r\n </ToastViewport>\r\n </ToastPortal>\r\n </ToastProvider>\r\n );\r\n}\r\n\r\nexport {\r\n Toaster,\r\n Toast,\r\n ToastProvider,\r\n ToastAction,\r\n ToastClose,\r\n ToastContent,\r\n ToastDescription,\r\n ToastPortal,\r\n ToastTitle,\r\n ToastViewport,\r\n toast,\r\n createToastManager,\r\n useToastManager,\r\n type ToasterProps,\r\n type ToastProps,\r\n type ToastProviderProps,\r\n type ToastActionProps,\r\n type ToastCloseProps,\r\n type ToastContentProps,\r\n type ToastDescriptionProps,\r\n type ToastPortalProps,\r\n type ToastTitleProps,\r\n type ToastViewportProps,\r\n};\r\n\r\n\r\n"]}
|
package/dist/chunk-KT5JRJJR.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import'react';import {Toast}from'@base-ui/react/toast';import {jsx}from'react/jsx-runtime';var r=Toast.createToastManager(),p=Toast.createToastManager,i=Toast.useToastManager;function n(t){return jsx(Toast.Provider,{...t})}function P(t){return jsx(Toast.Root,{"data-slot":"toast",...t})}function T(t){return jsx(Toast.Portal,{"data-slot":"toast-portal",...t})}function c(t){return jsx(Toast.Viewport,{"data-slot":"toast-viewport",...t})}function l(t){return jsx(Toast.Content,{"data-slot":"toast-content",...t})}function y(t){return jsx(Toast.Title,{"data-slot":"toast-title",...t})}function m(t){return jsx(Toast.Description,{"data-slot":"toast-description",...t})}function C(t){return jsx(Toast.Action,{"data-slot":"toast-action",...t})}function f(t){return jsx(Toast.Close,{"data-slot":"toast-close",...t})}export{r as a,p as b,i as c,n as d,P as e,T as f,c as g,l as h,y as i,m as j,C as k,f as l};//# sourceMappingURL=chunk-KT5JRJJR.js.map
|
|
2
|
-
//# sourceMappingURL=chunk-KT5JRJJR.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/primitives/toast.tsx"],"names":["toast","ToastPrimitive","createToastManager","useToastManager","ToastProvider","props","jsx","Toast","ToastPortal","ToastViewport","ToastContent","ToastTitle","ToastDescription","ToastAction","ToastClose"],"mappings":"2FAKA,IAAMA,EAAQC,KAAAA,CAAe,kBAAA,EAAmB,CAC1CC,CAAAA,CAAqBD,MAAe,kBAAA,CACpCE,CAAAA,CAAkBF,KAAAA,CAAe,gBAIvC,SAASG,CAAAA,CAAcC,CAAAA,CAA2B,CAChD,OAAOC,GAAAA,CAACL,KAAAA,CAAe,QAAA,CAAf,CAAyB,GAAGI,CAAAA,CAAO,CAC7C,CAIA,SAASE,EAAMF,CAAAA,CAAmB,CAChC,OAAOC,GAAAA,CAACL,KAAAA,CAAe,IAAA,CAAf,CAAoB,WAAA,CAAU,QAAS,GAAGI,CAAAA,CAAO,CAC3D,CAIA,SAASG,CAAAA,CAAYH,CAAAA,CAAyB,CAC5C,OAAOC,IAACL,KAAAA,CAAe,MAAA,CAAf,CAAsB,WAAA,CAAU,eAAgB,GAAGI,CAAAA,CAAO,CACpE,CAIA,SAASI,CAAAA,CAAcJ,CAAAA,CAA2B,CAChD,OAAOC,IAACL,KAAAA,CAAe,QAAA,CAAf,CAAwB,WAAA,CAAU,iBAAkB,GAAGI,CAAAA,CAAO,CACxE,CAIA,SAASK,CAAAA,CAAaL,CAAAA,CAA0B,CAC9C,OAAOC,GAAAA,CAACL,KAAAA,CAAe,OAAA,CAAf,CAAuB,YAAU,eAAA,CAAiB,GAAGI,CAAAA,CAAO,CACtE,CAIA,SAASM,CAAAA,CAAWN,CAAAA,CAAwB,CAC1C,OAAOC,GAAAA,CAACL,KAAAA,CAAe,KAAA,CAAf,CAAqB,WAAA,CAAU,aAAA,CAAe,GAAGI,CAAAA,CAAO,CAClE,CAIA,SAASO,CAAAA,CAAiBP,CAAAA,CAA8B,CACtD,OAAOC,GAAAA,CAACL,KAAAA,CAAe,WAAA,CAAf,CAA2B,WAAA,CAAU,mBAAA,CAAqB,GAAGI,EAAO,CAC9E,CAIA,SAASQ,CAAAA,CAAYR,EAAyB,CAC5C,OAAOC,GAAAA,CAACL,KAAAA,CAAe,OAAf,CAAsB,WAAA,CAAU,cAAA,CAAgB,GAAGI,EAAO,CACpE,CAIA,SAASS,CAAAA,CAAWT,EAAwB,CAC1C,OAAOC,GAAAA,CAACL,KAAAA,CAAe,MAAf,CAAqB,WAAA,CAAU,aAAA,CAAe,GAAGI,EAAO,CAClE","file":"chunk-KT5JRJJR.js","sourcesContent":["\"use client\";\r\n\r\nimport * as React from \"react\";\r\nimport { Toast as ToastPrimitive } from \"@base-ui/react/toast\";\r\n\r\nconst toast = ToastPrimitive.createToastManager();\r\nconst createToastManager = ToastPrimitive.createToastManager\r\nconst useToastManager = ToastPrimitive.useToastManager;\r\n\r\ntype ToastProviderProps = React.ComponentProps<typeof ToastPrimitive.Provider>;\r\n\r\nfunction ToastProvider(props: ToastProviderProps) {\r\n return <ToastPrimitive.Provider {...props} />;\r\n}\r\n\r\ntype ToastProps = React.ComponentProps<typeof ToastPrimitive.Root>;\r\n\r\nfunction Toast(props: ToastProps) {\r\n return <ToastPrimitive.Root data-slot=\"toast\" {...props} />;\r\n}\r\n\r\ntype ToastPortalProps = React.ComponentProps<typeof ToastPrimitive.Portal>;\r\n\r\nfunction ToastPortal(props: ToastPortalProps) {\r\n return <ToastPrimitive.Portal data-slot=\"toast-portal\" {...props} />;\r\n}\r\n\r\ntype ToastViewportProps = React.ComponentProps<typeof ToastPrimitive.Viewport>;\r\n\r\nfunction ToastViewport(props: ToastViewportProps) {\r\n return <ToastPrimitive.Viewport data-slot=\"toast-viewport\" {...props} />;\r\n}\r\n\r\ntype ToastContentProps = React.ComponentProps<typeof ToastPrimitive.Content>;\r\n\r\nfunction ToastContent(props: ToastContentProps) {\r\n return <ToastPrimitive.Content data-slot=\"toast-content\" {...props} />;\r\n}\r\n\r\ntype ToastTitleProps = React.ComponentProps<typeof ToastPrimitive.Title>;\r\n\r\nfunction ToastTitle(props: ToastTitleProps) {\r\n return <ToastPrimitive.Title data-slot=\"toast-title\" {...props} />;\r\n}\r\n\r\ntype ToastDescriptionProps = React.ComponentProps<typeof ToastPrimitive.Description>;\r\n\r\nfunction ToastDescription(props: ToastDescriptionProps) {\r\n return <ToastPrimitive.Description data-slot=\"toast-description\" {...props} />;\r\n}\r\n\r\ntype ToastActionProps = React.ComponentProps<typeof ToastPrimitive.Action>;\r\n\r\nfunction ToastAction(props: ToastActionProps) {\r\n return <ToastPrimitive.Action data-slot=\"toast-action\" {...props} />;\r\n}\r\n\r\ntype ToastCloseProps = React.ComponentProps<typeof ToastPrimitive.Close>;\r\n\r\nfunction ToastClose(props: ToastCloseProps) {\r\n return <ToastPrimitive.Close data-slot=\"toast-close\" {...props} />;\r\n}\r\n\r\nexport {\r\n ToastProvider,\r\n Toast,\r\n ToastPortal,\r\n ToastViewport,\r\n ToastContent,\r\n ToastTitle,\r\n ToastDescription,\r\n ToastAction,\r\n ToastClose,\r\n toast,\r\n createToastManager,\r\n useToastManager,\r\n type ToastProviderProps,\r\n type ToastProps,\r\n type ToastPortalProps,\r\n type ToastViewportProps,\r\n type ToastContentProps,\r\n type ToastTitleProps,\r\n type ToastDescriptionProps,\r\n type ToastActionProps,\r\n type ToastCloseProps,\r\n};\r\n\r\n"]}
|