sodtrack-web-ui 0.77.1 → 0.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-7DZXTSLA.mjs → chunk-ERR4CIFD.mjs} +1 -1
- package/dist/chunk-F4CJC6K3.mjs +1 -0
- package/dist/{chunk-D4T5LV6D.mjs → chunk-FERU7XG4.mjs} +1 -1
- package/dist/chunk-FJDFWKWK.mjs +1 -0
- package/dist/{chunk-IOPKDUN7.mjs → chunk-LDZGP3ON.mjs} +1 -1
- package/dist/{chunk-DLRA36N6.mjs → chunk-MNT76J6I.mjs} +1 -1
- package/dist/chunk-R6G332AM.mjs +1 -0
- package/dist/{chunk-7BAYO73B.mjs → chunk-XC3O5GCV.mjs} +1 -1
- package/dist/components/accordion-form.mjs +1 -1
- package/dist/components/accordion.mjs +1 -1
- package/dist/components/calendar-new.js +2 -2
- package/dist/components/calendar-new.mjs +1 -1
- package/dist/components/card-expandable.mjs +1 -1
- package/dist/components/chip-form-complementary.d.mts +3 -3
- package/dist/components/chip-form-complementary.d.ts +3 -3
- package/dist/components/chip-form.d.mts +3 -3
- package/dist/components/chip-form.d.ts +3 -3
- package/dist/components/chip-status-complementary.d.mts +1 -1
- package/dist/components/chip-status-complementary.d.ts +1 -1
- package/dist/components/data-table.mjs +1 -1
- package/dist/components/dialog.d.mts +14 -10
- package/dist/components/dialog.d.ts +14 -10
- package/dist/components/dialog.js +2 -2
- package/dist/components/dialog.mjs +1 -1
- package/dist/components/drawer.d.mts +26 -31
- package/dist/components/drawer.d.ts +26 -31
- package/dist/components/drawer.js +2 -2
- package/dist/components/drawer.mjs +1 -1
- package/dist/components/index.d.mts +3 -7
- package/dist/components/index.d.ts +3 -7
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/components/list-item-arrow.mjs +1 -1
- package/dist/components/list-item-button.mjs +1 -1
- package/dist/components/list-item-checkbox-left.mjs +1 -1
- package/dist/components/list-item-checkbox.mjs +1 -1
- package/dist/components/list-item.mjs +1 -1
- package/dist/components/tab.d.mts +1 -1
- package/dist/components/tab.d.ts +1 -1
- package/dist/components/tab.mjs +1 -1
- package/dist/styles/index.css +1 -1
- package/package.json +1 -2
- package/dist/chunk-37PSCZGH.mjs +0 -1
- package/dist/chunk-3WSGPG4I.mjs +0 -1
- package/dist/chunk-EGWEEKXR.mjs +0 -1
- package/dist/chunk-RJIZILVF.mjs +0 -1
- package/dist/chunk-XU47B6TC.mjs +0 -1
- package/dist/components/dialog-new.d.mts +0 -34
- package/dist/components/dialog-new.d.ts +0 -34
- package/dist/components/dialog-new.js +0 -16
- package/dist/components/dialog-new.mjs +0 -1
- package/dist/components/drawer-sticky.d.mts +0 -42
- package/dist/components/drawer-sticky.d.ts +0 -42
- package/dist/components/drawer-sticky.js +0 -16
- package/dist/components/drawer-sticky.mjs +0 -1
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { FC } from 'react';
|
|
4
|
-
import
|
|
5
|
-
export { Dialog$1 as DialogPrimitive };
|
|
4
|
+
import { DialogRootProps, Dialog } from '@ark-ui/react/dialog';
|
|
6
5
|
import { ButtonProps } from './button.mjs';
|
|
7
6
|
import 'tailwind-variants';
|
|
8
7
|
import 'lucide-react';
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
declare const
|
|
14
|
-
declare const
|
|
9
|
+
type DialogProps = Omit<DialogRootProps, "onOpenChange"> & {
|
|
10
|
+
onOpenChange?: (open: boolean) => void;
|
|
11
|
+
};
|
|
12
|
+
declare const DialogRoot: FC<DialogProps>;
|
|
13
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<Dialog.TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof Dialog.Content> {
|
|
15
|
+
className?: string;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
19
|
declare const DialogHeader: {
|
|
16
20
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
17
21
|
displayName: string;
|
|
@@ -21,10 +25,10 @@ declare const DialogFooter: {
|
|
|
21
25
|
displayName: string;
|
|
22
26
|
};
|
|
23
27
|
declare const DialogBody: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
24
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<Dialog
|
|
25
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<Dialog
|
|
28
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<Dialog.TitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
29
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<Dialog.DescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
26
30
|
declare const DialogActionButton: FC<ButtonProps>;
|
|
27
31
|
declare const DialogCloseButton: FC<ButtonProps>;
|
|
28
32
|
declare const DialogExtraButton: FC<ButtonProps>;
|
|
29
33
|
|
|
30
|
-
export { Dialog, DialogActionButton, DialogBody, DialogCloseButton, DialogContent, DialogDescription, DialogExtraButton, DialogFooter, DialogHeader,
|
|
34
|
+
export { DialogRoot as Dialog, DialogActionButton, DialogBody, DialogCloseButton, DialogContent, DialogDescription, DialogExtraButton, DialogFooter, DialogHeader, DialogTitle, DialogTrigger };
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { FC } from 'react';
|
|
4
|
-
import
|
|
5
|
-
export { Dialog$1 as DialogPrimitive };
|
|
4
|
+
import { DialogRootProps, Dialog } from '@ark-ui/react/dialog';
|
|
6
5
|
import { ButtonProps } from './button.js';
|
|
7
6
|
import 'tailwind-variants';
|
|
8
7
|
import 'lucide-react';
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
declare const
|
|
14
|
-
declare const
|
|
9
|
+
type DialogProps = Omit<DialogRootProps, "onOpenChange"> & {
|
|
10
|
+
onOpenChange?: (open: boolean) => void;
|
|
11
|
+
};
|
|
12
|
+
declare const DialogRoot: FC<DialogProps>;
|
|
13
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<Dialog.TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof Dialog.Content> {
|
|
15
|
+
className?: string;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
19
|
declare const DialogHeader: {
|
|
16
20
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
17
21
|
displayName: string;
|
|
@@ -21,10 +25,10 @@ declare const DialogFooter: {
|
|
|
21
25
|
displayName: string;
|
|
22
26
|
};
|
|
23
27
|
declare const DialogBody: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
24
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<Dialog
|
|
25
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<Dialog
|
|
28
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<Dialog.TitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
29
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<Dialog.DescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
26
30
|
declare const DialogActionButton: FC<ButtonProps>;
|
|
27
31
|
declare const DialogCloseButton: FC<ButtonProps>;
|
|
28
32
|
declare const DialogExtraButton: FC<ButtonProps>;
|
|
29
33
|
|
|
30
|
-
export { Dialog, DialogActionButton, DialogBody, DialogCloseButton, DialogContent, DialogDescription, DialogExtraButton, DialogFooter, DialogHeader,
|
|
34
|
+
export { DialogRoot as Dialog, DialogActionButton, DialogBody, DialogCloseButton, DialogContent, DialogDescription, DialogExtraButton, DialogFooter, DialogHeader, DialogTitle, DialogTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var J=require('react'),m=require('@radix-ui/react-dialog'),xe=require('@radix-ui/react-separator'),jsxRuntime=require('react/jsx-runtime'),tailwindVariants=require('tailwind-variants');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var J__namespace=/*#__PURE__*/_interopNamespace(J);var m__namespace=/*#__PURE__*/_interopNamespace(m);var xe__namespace=/*#__PURE__*/_interopNamespace(xe);var Be=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),aa=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,t)=>t?t.toUpperCase():o.toLowerCase()),fe=e=>{let a=aa(e);return a.charAt(0).toUpperCase()+a.slice(1)},ae=(...e)=>e.filter((a,o,t)=>!!a&&a.trim()!==""&&t.indexOf(a)===o).join(" ").trim(),De=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var Me={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Re=J.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:r="",children:d,iconNode:s,...p},n)=>J.createElement("svg",{ref:n,...Me,width:a,height:a,stroke:e,strokeWidth:t?Number(o)*24/Number(a):o,className:ae("lucide",r),...!d&&!De(p)&&{"aria-hidden":"true"},...p},[...s.map(([L,x])=>J.createElement(L,x)),...Array.isArray(d)?d:[d]]));var te=(e,a)=>{let o=J.forwardRef(({className:t,...r},d)=>J.createElement(Re,{ref:d,iconNode:a,className:ae(`lucide-${Be(fe(e))}`,`lucide-${e}`,t),...r}));return o.displayName=fe(e),o};var ua=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],D=te("loader-circle",ua);var ra=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],K=te("x",ra);var ve=D;var Te=K;function qe(e){var a,o,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(a=0;a<r;a++)e[a]&&(o=qe(e[a]))&&(t&&(t+=" "),t+=o);}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function Ue(){for(var e,a,o=0,t="",r=arguments.length;o<r;o++)(e=arguments[o])&&(a=qe(e))&&(t&&(t+=" "),t+=a);return t}var Le="-",da=e=>{let a=fa(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:s=>{let p=s.split(Le);return p[0]===""&&p.length!==1&&p.shift(),Ee(p,a)||sa(s)},getConflictingClassGroupIds:(s,p)=>{let n=o[s]||[];return p&&t[s]?[...n,...t[s]]:n}}},Ee=(e,a)=>{if(e.length===0)return a.classGroupId;let o=e[0],t=a.nextPart.get(o),r=t?Ee(e.slice(1),t):void 0;if(r)return r;if(a.validators.length===0)return;let d=e.join(Le);return a.validators.find(({validator:s})=>s(d))?.classGroupId},Oe=/^\[(.+)\]$/,sa=e=>{if(Oe.test(e)){let a=Oe.exec(e)[1],o=a?.substring(0,a.indexOf(":"));if(o)return "arbitrary.."+o}},fa=e=>{let{theme:a,classGroups:o}=e,t={nextPart:new Map,validators:[]};for(let r in o)ce(o[r],t,r,a);return t},ce=(e,a,o,t)=>{e.forEach(r=>{if(typeof r=="string"){let d=r===""?a:He(a,r);d.classGroupId=o;return}if(typeof r=="function"){if(ia(r)){ce(r(t),a,o,t);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([d,s])=>{ce(s,He(a,d),o,t);});});},He=(e,a)=>{let o=e;return a.split(Le).forEach(t=>{o.nextPart.has(t)||o.nextPart.set(t,{nextPart:new Map,validators:[]}),o=o.nextPart.get(t);}),o},ia=e=>e.isThemeGetter,na=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,o=new Map,t=new Map,r=(d,s)=>{o.set(d,s),a++,a>e&&(a=0,t=o,o=new Map);};return {get(d){let s=o.get(d);if(s!==void 0)return s;if((s=t.get(d))!==void 0)return r(d,s),s},set(d,s){o.has(d)?o.set(d,s):r(d,s);}}},pe="!",me=":",ca=me.length,pa=e=>{let{prefix:a,experimentalParseClassName:o}=e,t=r=>{let d=[],s=0,p=0,n=0,L;for(let g=0;g<r.length;g++){let w=r[g];if(s===0&&p===0){if(w===me){d.push(r.slice(n,g)),n=g+ca;continue}if(w==="/"){L=g;continue}}w==="["?s++:w==="]"?s--:w==="("?p++:w===")"&&p--;}let x=d.length===0?r:r.substring(n),b=ma(x),F=b!==x,R=L&&L>n?L-n:void 0;return {modifiers:d,hasImportantModifier:F,baseClassName:b,maybePostfixModifierPosition:R}};if(a){let r=a+me,d=t;t=s=>s.startsWith(r)?d(s.substring(r.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:s,maybePostfixModifierPosition:void 0};}if(o){let r=t;t=d=>o({className:d,parseClassName:r});}return t},ma=e=>e.endsWith(pe)?e.substring(0,e.length-1):e.startsWith(pe)?e.substring(1):e,La=e=>{let a=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,true]));return t=>{if(t.length<=1)return t;let r=[],d=[];return t.forEach(s=>{s[0]==="["||a[s]?(r.push(...d.sort(),s),d=[]):d.push(s);}),r.push(...d.sort()),r}},xa=e=>({cache:na(e.cacheSize),parseClassName:pa(e),sortModifiers:La(e),...da(e)}),Ia=/\s+/,Ca=(e,a)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:r,sortModifiers:d}=a,s=[],p=e.trim().split(Ia),n="";for(let L=p.length-1;L>=0;L-=1){let x=p[L],{isExternal:b,modifiers:F,hasImportantModifier:R,baseClassName:g,maybePostfixModifierPosition:w}=o(x);if(b){n=x+(n.length>0?" "+n:n);continue}let O=!!w,v=t(O?g.substring(0,w):g);if(!v){if(!O){n=x+(n.length>0?" "+n:n);continue}if(v=t(g),!v){n=x+(n.length>0?" "+n:n);continue}O=false;}let Q=d(F).join(":"),N=R?Q+pe:Q,H=N+v;if(s.includes(H))continue;s.push(H);let G=r(v,O);for(let T=0;T<G.length;++T){let X=G[T];s.push(N+X);}n=x+(n.length>0?" "+n:n);}return n};function ga(){let e=0,a,o,t="";for(;e<arguments.length;)(a=arguments[e++])&&(o=Ve(a))&&(t&&(t+=" "),t+=o);return t}var Ve=e=>{if(typeof e=="string")return e;let a,o="";for(let t=0;t<e.length;t++)e[t]&&(a=Ve(e[t]))&&(o&&(o+=" "),o+=a);return o};function ha(e,...a){let o,t,r,d=s;function s(n){let L=a.reduce((x,b)=>b(x),e());return o=xa(L),t=o.cache.get,r=o.cache.set,d=p,p(n)}function p(n){let L=t(n);if(L)return L;let x=Ca(n,o);return r(n,x),x}return function(){return d(ga.apply(null,arguments))}}var I=e=>{let a=o=>o[e]||[];return a.isThemeGetter=true,a},We=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ne=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Sa=/^\d+\/\d+$/,wa=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ka=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Pa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ba=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Aa=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>Sa.test(e),c=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),ie=e=>e.endsWith("%")&&c(e.slice(0,-1)),B=e=>wa.test(e),ya=()=>true,Ba=e=>ka.test(e)&&!Pa.test(e),Xe=()=>false,Da=e=>ba.test(e),Ma=e=>Aa.test(e),Fa=e=>!l(e)&&!u(e),Ra=e=>V(e,Je,Xe),l=e=>We.test(e),U=e=>V(e,Qe,Ba),ne=e=>V(e,Oa,c),Ge=e=>V(e,Ke,Xe),va=e=>V(e,Ze,Ma),oe=e=>V(e,_e,Da),u=e=>Ne.test(e),Z=e=>W(e,Qe),Ta=e=>W(e,Ha),ze=e=>W(e,Ke),qa=e=>W(e,Je),Ua=e=>W(e,Ze),le=e=>W(e,_e,true),V=(e,a,o)=>{let t=We.exec(e);return t?t[1]?a(t[1]):o(t[2]):false},W=(e,a,o=false)=>{let t=Ne.exec(e);return t?t[1]?a(t[1]):o:false},Ke=e=>e==="position"||e==="percentage",Ze=e=>e==="image"||e==="url",Je=e=>e==="length"||e==="size"||e==="bg-size",Qe=e=>e==="length",Oa=e=>e==="number",Ha=e=>e==="family-name",_e=e=>e==="shadow";var Ga=()=>{let e=I("color"),a=I("font"),o=I("text"),t=I("font-weight"),r=I("tracking"),d=I("leading"),s=I("breakpoint"),p=I("container"),n=I("spacing"),L=I("radius"),x=I("shadow"),b=I("inset-shadow"),F=I("text-shadow"),R=I("drop-shadow"),g=I("blur"),w=I("perspective"),O=I("aspect"),v=I("ease"),Q=I("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],G=()=>[...H(),u,l],T=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto","contain","none"],i=()=>[u,l,n],A=()=>[E,"full","auto",...i()],he=()=>[M,"none","subgrid",u,l],Se=()=>["auto",{span:["full",M,u,l]},M,u,l],_=()=>[M,"auto",u,l],we=()=>["auto","min","max","fr",u,l],re=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],z=()=>["start","end","center","stretch","center-safe","end-safe"],y=()=>["auto",...i()],q=()=>[E,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...i()],f=()=>[e,u,l],ke=()=>[...H(),ze,Ge,{position:[u,l]}],Pe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],be=()=>["auto","cover","contain",qa,Ra,{size:[u,l]}],de=()=>[ie,Z,U],S=()=>["","none","full",L,u,l],k=()=>["",c,Z,U],j=()=>["solid","dashed","dotted","double"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],C=()=>[c,ie,ze,Ge],ye=()=>["","none",g,u,l],Y=()=>["none",c,u,l],$=()=>["none",c,u,l],se=()=>[c,u,l],ee=()=>[E,"full",...i()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[B],breakpoint:[B],color:[ya],container:[B],"drop-shadow":[B],ease:["in","out","in-out"],font:[Fa],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[B],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[B],shadow:[B],spacing:["px",c],text:[B],"text-shadow":[B],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",E,l,u,O]}],container:["container"],columns:[{columns:[c,l,u,p]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:G()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:X()}],"overscroll-x":[{"overscroll-x":X()}],"overscroll-y":[{"overscroll-y":X()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:A()}],"inset-x":[{"inset-x":A()}],"inset-y":[{"inset-y":A()}],start:[{start:A()}],end:[{end:A()}],top:[{top:A()}],right:[{right:A()}],bottom:[{bottom:A()}],left:[{left:A()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",u,l]}],basis:[{basis:[E,"full","auto",p,...i()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[c,E,"auto","initial","none",l]}],grow:[{grow:["",c,u,l]}],shrink:[{shrink:["",c,u,l]}],order:[{order:[M,"first","last","none",u,l]}],"grid-cols":[{"grid-cols":he()}],"col-start-end":[{col:Se()}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":he()}],"row-start-end":[{row:Se()}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":we()}],"auto-rows":[{"auto-rows":we()}],gap:[{gap:i()}],"gap-x":[{"gap-x":i()}],"gap-y":[{"gap-y":i()}],"justify-content":[{justify:[...re(),"normal"]}],"justify-items":[{"justify-items":[...z(),"normal"]}],"justify-self":[{"justify-self":["auto",...z()]}],"align-content":[{content:["normal",...re()]}],"align-items":[{items:[...z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...z(),{baseline:["","last"]}]}],"place-content":[{"place-content":re()}],"place-items":[{"place-items":[...z(),"baseline"]}],"place-self":[{"place-self":["auto",...z()]}],p:[{p:i()}],px:[{px:i()}],py:[{py:i()}],ps:[{ps:i()}],pe:[{pe:i()}],pt:[{pt:i()}],pr:[{pr:i()}],pb:[{pb:i()}],pl:[{pl:i()}],m:[{m:y()}],mx:[{mx:y()}],my:[{my:y()}],ms:[{ms:y()}],me:[{me:y()}],mt:[{mt:y()}],mr:[{mr:y()}],mb:[{mb:y()}],ml:[{ml:y()}],"space-x":[{"space-x":i()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":i()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],w:[{w:[p,"screen",...q()]}],"min-w":[{"min-w":[p,"screen","none",...q()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[s]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",o,Z,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,u,ne]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ie,l]}],"font-family":[{font:[Ta,l,a]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,u,l]}],"line-clamp":[{"line-clamp":[c,"none",u,ne]}],leading:[{leading:[d,...i()]}],"list-image":[{"list-image":["none",u,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",u,l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:f()}],"text-color":[{text:f()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:[c,"from-font","auto",u,U]}],"text-decoration-color":[{decoration:f()}],"underline-offset":[{"underline-offset":[c,"auto",u,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u,l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ke()}],"bg-repeat":[{bg:Pe()}],"bg-size":[{bg:be()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,u,l],radial:["",u,l],conic:[M,u,l]},Ua,va]}],"bg-color":[{bg:f()}],"gradient-from-pos":[{from:de()}],"gradient-via-pos":[{via:de()}],"gradient-to-pos":[{to:de()}],"gradient-from":[{from:f()}],"gradient-via":[{via:f()}],"gradient-to":[{to:f()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:k()}],"border-w-x":[{"border-x":k()}],"border-w-y":[{"border-y":k()}],"border-w-s":[{"border-s":k()}],"border-w-e":[{"border-e":k()}],"border-w-t":[{"border-t":k()}],"border-w-r":[{"border-r":k()}],"border-w-b":[{"border-b":k()}],"border-w-l":[{"border-l":k()}],"divide-x":[{"divide-x":k()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":k()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...j(),"hidden","none"]}],"divide-style":[{divide:[...j(),"hidden","none"]}],"border-color":[{border:f()}],"border-color-x":[{"border-x":f()}],"border-color-y":[{"border-y":f()}],"border-color-s":[{"border-s":f()}],"border-color-e":[{"border-e":f()}],"border-color-t":[{"border-t":f()}],"border-color-r":[{"border-r":f()}],"border-color-b":[{"border-b":f()}],"border-color-l":[{"border-l":f()}],"divide-color":[{divide:f()}],"outline-style":[{outline:[...j(),"none","hidden"]}],"outline-offset":[{"outline-offset":[c,u,l]}],"outline-w":[{outline:["",c,Z,U]}],"outline-color":[{outline:f()}],shadow:[{shadow:["","none",x,le,oe]}],"shadow-color":[{shadow:f()}],"inset-shadow":[{"inset-shadow":["none",b,le,oe]}],"inset-shadow-color":[{"inset-shadow":f()}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:f()}],"ring-offset-w":[{"ring-offset":[c,U]}],"ring-offset-color":[{"ring-offset":f()}],"inset-ring-w":[{"inset-ring":k()}],"inset-ring-color":[{"inset-ring":f()}],"text-shadow":[{"text-shadow":["none",F,le,oe]}],"text-shadow-color":[{"text-shadow":f()}],opacity:[{opacity:[c,u,l]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[c]}],"mask-image-linear-from-pos":[{"mask-linear-from":C()}],"mask-image-linear-to-pos":[{"mask-linear-to":C()}],"mask-image-linear-from-color":[{"mask-linear-from":f()}],"mask-image-linear-to-color":[{"mask-linear-to":f()}],"mask-image-t-from-pos":[{"mask-t-from":C()}],"mask-image-t-to-pos":[{"mask-t-to":C()}],"mask-image-t-from-color":[{"mask-t-from":f()}],"mask-image-t-to-color":[{"mask-t-to":f()}],"mask-image-r-from-pos":[{"mask-r-from":C()}],"mask-image-r-to-pos":[{"mask-r-to":C()}],"mask-image-r-from-color":[{"mask-r-from":f()}],"mask-image-r-to-color":[{"mask-r-to":f()}],"mask-image-b-from-pos":[{"mask-b-from":C()}],"mask-image-b-to-pos":[{"mask-b-to":C()}],"mask-image-b-from-color":[{"mask-b-from":f()}],"mask-image-b-to-color":[{"mask-b-to":f()}],"mask-image-l-from-pos":[{"mask-l-from":C()}],"mask-image-l-to-pos":[{"mask-l-to":C()}],"mask-image-l-from-color":[{"mask-l-from":f()}],"mask-image-l-to-color":[{"mask-l-to":f()}],"mask-image-x-from-pos":[{"mask-x-from":C()}],"mask-image-x-to-pos":[{"mask-x-to":C()}],"mask-image-x-from-color":[{"mask-x-from":f()}],"mask-image-x-to-color":[{"mask-x-to":f()}],"mask-image-y-from-pos":[{"mask-y-from":C()}],"mask-image-y-to-pos":[{"mask-y-to":C()}],"mask-image-y-from-color":[{"mask-y-from":f()}],"mask-image-y-to-color":[{"mask-y-to":f()}],"mask-image-radial":[{"mask-radial":[u,l]}],"mask-image-radial-from-pos":[{"mask-radial-from":C()}],"mask-image-radial-to-pos":[{"mask-radial-to":C()}],"mask-image-radial-from-color":[{"mask-radial-from":f()}],"mask-image-radial-to-color":[{"mask-radial-to":f()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":H()}],"mask-image-conic-pos":[{"mask-conic":[c]}],"mask-image-conic-from-pos":[{"mask-conic-from":C()}],"mask-image-conic-to-pos":[{"mask-conic-to":C()}],"mask-image-conic-from-color":[{"mask-conic-from":f()}],"mask-image-conic-to-color":[{"mask-conic-to":f()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ke()}],"mask-repeat":[{mask:Pe()}],"mask-size":[{mask:be()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",u,l]}],filter:[{filter:["","none",u,l]}],blur:[{blur:ye()}],brightness:[{brightness:[c,u,l]}],contrast:[{contrast:[c,u,l]}],"drop-shadow":[{"drop-shadow":["","none",R,le,oe]}],"drop-shadow-color":[{"drop-shadow":f()}],grayscale:[{grayscale:["",c,u,l]}],"hue-rotate":[{"hue-rotate":[c,u,l]}],invert:[{invert:["",c,u,l]}],saturate:[{saturate:[c,u,l]}],sepia:[{sepia:["",c,u,l]}],"backdrop-filter":[{"backdrop-filter":["","none",u,l]}],"backdrop-blur":[{"backdrop-blur":ye()}],"backdrop-brightness":[{"backdrop-brightness":[c,u,l]}],"backdrop-contrast":[{"backdrop-contrast":[c,u,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",c,u,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c,u,l]}],"backdrop-invert":[{"backdrop-invert":["",c,u,l]}],"backdrop-opacity":[{"backdrop-opacity":[c,u,l]}],"backdrop-saturate":[{"backdrop-saturate":[c,u,l]}],"backdrop-sepia":[{"backdrop-sepia":["",c,u,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":i()}],"border-spacing-x":[{"border-spacing-x":i()}],"border-spacing-y":[{"border-spacing-y":i()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",u,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[c,"initial",u,l]}],ease:[{ease:["linear","initial",v,u,l]}],delay:[{delay:[c,u,l]}],animate:[{animate:["none",Q,u,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,u,l]}],"perspective-origin":[{"perspective-origin":G()}],rotate:[{rotate:Y()}],"rotate-x":[{"rotate-x":Y()}],"rotate-y":[{"rotate-y":Y()}],"rotate-z":[{"rotate-z":Y()}],scale:[{scale:$()}],"scale-x":[{"scale-x":$()}],"scale-y":[{"scale-y":$()}],"scale-z":[{"scale-z":$()}],"scale-3d":["scale-3d"],skew:[{skew:se()}],"skew-x":[{"skew-x":se()}],"skew-y":[{"skew-y":se()}],transform:[{transform:[u,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:G()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ee()}],"translate-x":[{"translate-x":ee()}],"translate-y":[{"translate-y":ee()}],"translate-z":[{"translate-z":ee()}],"translate-none":["translate-none"],accent:[{accent:f()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:f()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u,l]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u,l]}],fill:[{fill:["none",...f()]}],"stroke-w":[{stroke:[c,Z,U,ne]}],stroke:[{stroke:["none",...f()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var je=ha(Ga);function P(...e){return je(Ue(e))}var Ie=J__namespace.forwardRef(({className:e,orientation:a="horizontal",decorative:o=true,...t},r)=>jsxRuntime.jsx(xe__namespace.Root,{ref:r,decorative:o,orientation:a,className:P("shrink-0 bg-neutral-200",a==="horizontal"?"h-px w-full":"h-full w-px",e),...t}));Ie.displayName=xe__namespace.Root.displayName;var Wa=tailwindVariants.tv({slots:{button:"font-inter flex shrink-0 items-center justify-center gap-2 rounded-lg text-base leading-[130%] font-semibold transition-all ease-linear disabled:cursor-not-allowed disabled:ring-0",icon:"",loadingIcon:"absolute animate-spin text-neutral-400"},variants:{size:{lg:{button:"h-12 px-4",icon:"h-4.5 w-4.5",loadingIcon:"h-4.5 w-4.5"},md:{button:"h-10 px-4 text-sm leading-[130%]",icon:"h-4.5 w-4.5",loadingIcon:"h-4.5 w-4.5"},sm:{button:"h-8 gap-1 px-3 text-sm leading-[130%]",icon:"h-3.5 w-3.5",loadingIcon:"h-3.5 w-3.5"},xs:{button:"h-6 gap-1 rounded-[6px] px-3 text-xs leading-[130%]",icon:"h-3.5 w-3.5",loadingIcon:"h-3.5 w-3.5"}},variant:{contained:{button:"bg-primary-500 hover:bg-primary-600 focus:bg-primary-500 focus:ring-primary-800 active:bg-primary-700 text-neutral-50 focus:ring-[3px] focus:ring-inset active:ring-0 disabled:bg-neutral-100 disabled:text-neutral-400"},secondary:{button:"text-primary-500 ring-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 hover:ring-primary-600 focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-primary-700 ring-[1.5px] ring-inset focus:ring-[3px] disabled:bg-neutral-50/0 disabled:text-neutral-400 disabled:ring-[1.5px] disabled:ring-neutral-400"},outlined:{button:"focus:bg-opacity-0 focus:ring-primary-900 [&:not([disabled])]:hover:bg-transparent-primary-20 [&:not([disabled])]:active:bg-transparent-primary-40 leading-[130%] text-neutral-900 ring-[1.5px] ring-neutral-900 ring-inset focus:bg-neutral-50 focus:ring-[3px] active:ring-[1.5px] disabled:bg-neutral-50/0 disabled:text-neutral-400 disabled:ring-[1.5px] disabled:ring-neutral-400"},ghost:{button:"text-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-opacity-0 focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 disabled:bg-opacity-0 focus:bg-neutral-50 focus:ring-[3px] focus:ring-inset active:ring-0 disabled:bg-neutral-50 disabled:text-neutral-400"},standard:{button:"hover:bg-transparent-primary-20 focus:ring-primary-800 active:bg-transparent-primary-40 disabled:bg-opacity-0 text-neutral-900 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset active:ring-0 disabled:bg-neutral-50 disabled:text-neutral-400"},link:{button:"text-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 focus:text-primary-500 focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 disabled:bg-opacity-0 underline underline-offset-2 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset active:ring-0 disabled:bg-neutral-50 disabled:text-neutral-400"},white:{button:"bg-neutral-50 text-neutral-900"}},loading:{true:{button:"disabled:text-opacity-0 disabled:text-neutral-50"}}},defaultVariants:{variant:"contained",size:"md",loading:false,disabled:false}}),ue=J.forwardRef(({children:e,className:a,variant:o,size:t,startIcon:r,endIcon:d,loading:s,disabled:p,type:n="button",StartIcon:L,EndIcon:x,...b},F)=>{let{button:R,icon:g,loadingIcon:w}=Wa({variant:o,size:t,loading:s});return jsxRuntime.jsxs("button",{...b,ref:F,disabled:s||p,className:P(R(),a),type:n,children:[s&&jsxRuntime.jsx(ve,{className:w()}),r&&J__namespace.default.cloneElement(r,{className:g()}),L&&jsxRuntime.jsx(L,{className:g()}),e,d&&J__namespace.default.cloneElement(d,{className:g()}),x&&jsxRuntime.jsx(x,{className:g()})]})});var lo=m__namespace.Root,uo=m__namespace.Trigger,Xa=m__namespace.Portal,Ka=m__namespace.Close,ea=J__namespace.forwardRef(({className:e,...a},o)=>jsxRuntime.jsx(m__namespace.Overlay,{ref:o,className:P("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-neutral-900/50",e),...a}));ea.displayName=m__namespace.Overlay.displayName;var Za=J__namespace.forwardRef(({className:e,children:a,onPointerDownOutside:o,...t},r)=>jsxRuntime.jsx(Xa,{children:jsxRuntime.jsx(ea,{children:jsxRuntime.jsx(m__namespace.Content,{onPointerDownOutside:d=>{d.target instanceof Element&&d.target.closest(".pac-container")&&d.preventDefault(),o?.(d);},ref:r,className:P("elevation-9 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-10000 grid max-h-[80vh] w-full max-w-2xl translate-x-[-50%] translate-y-[-50%] overflow-y-auto rounded-2xl bg-neutral-50 py-3 pr-0 duration-200",e),...t,children:a})})}));Za.displayName=m__namespace.Content.displayName;var Ja=({className:e,...a})=>jsxRuntime.jsx("div",{className:P("mr-4 mb-4 ml-6 flex flex-col gap-4 text-left",e),...a});Ja.displayName="DialogHeader";var Qa=({className:e,...a})=>jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(Ie,{className:"w-full"}),jsxRuntime.jsx("div",{className:P("mx-6 mt-3 flex justify-end gap-2",e),...a})]});Qa.displayName="DialogFooter";var ro=({className:e,...a})=>jsxRuntime.jsx("div",{className:P("mx-6 mb-4.5",e),...a}),_a=J__namespace.forwardRef(({className:e,...a},o)=>jsxRuntime.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntime.jsx(m__namespace.Title,{ref:o,className:P("font-jakarta pr-2 text-lg leading-[160%] font-semibold",e),...a}),jsxRuntime.jsxs(m__namespace.Close,{className:"h-5.5 w-5.5",children:[jsxRuntime.jsx(Te,{className:"h-5.5 w-5.5"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]}));_a.displayName=m__namespace.Title.displayName;var ja=J__namespace.forwardRef(({className:e,...a},o)=>jsxRuntime.jsx(m__namespace.Description,{ref:o,className:P("font-inter text-sm leading-[130%] font-normal",e),...a}));ja.displayName=m__namespace.Description.displayName;var so=e=>jsxRuntime.jsx(ue,{variant:"contained",...e}),fo=e=>jsxRuntime.jsx(Ka,{asChild:true,children:jsxRuntime.jsx(ue,{variant:"secondary",...e})}),io=e=>jsxRuntime.jsx(ue,{variant:"ghost",...e});/*! Bundled license information:
|
|
1
|
+
'use strict';var de=require('react'),dialog=require('@ark-ui/react/dialog'),portal=require('@ark-ui/react/portal'),Ie=require('@radix-ui/react-separator'),jsxRuntime=require('react/jsx-runtime'),tailwindVariants=require('tailwind-variants');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var de__namespace=/*#__PURE__*/_interopNamespace(de);var Ie__namespace=/*#__PURE__*/_interopNamespace(Ie);var ye=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ea=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,t)=>t?t.toUpperCase():o.toLowerCase()),ie=e=>{let a=ea(e);return a.charAt(0).toUpperCase()+a.slice(1)},ee=(...e)=>e.filter((a,o,t)=>!!a&&a.trim()!==""&&t.indexOf(a)===o).join(" ").trim(),De=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var Me={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Re=de.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:d="",children:f,iconNode:r,...p},n)=>de.createElement("svg",{ref:n,...Me,width:a,height:a,stroke:e,strokeWidth:t?Number(o)*24/Number(a):o,className:ee("lucide",d),...!f&&!De(p)&&{"aria-hidden":"true"},...p},[...r.map(([m,L])=>de.createElement(m,L)),...Array.isArray(f)?f:[f]]));var ae=(e,a)=>{let o=de.forwardRef(({className:t,...d},f)=>de.createElement(Re,{ref:f,iconNode:a,className:ee(`lucide-${ye(ie(e))}`,`lucide-${e}`,t),...d}));return o.displayName=ie(e),o};var la=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],D=ae("loader-circle",la);var ua=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],K=ae("x",ua);var Te=D;var ve=K;function qe(e){var a,o,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var d=e.length;for(a=0;a<d;a++)e[a]&&(o=qe(e[a]))&&(t&&(t+=" "),t+=o);}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function Ue(){for(var e,a,o=0,t="",d=arguments.length;o<d;o++)(e=arguments[o])&&(a=qe(e))&&(t&&(t+=" "),t+=a);return t}var xe="-",da=e=>{let a=sa(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:r=>{let p=r.split(xe);return p[0]===""&&p.length!==1&&p.shift(),Ee(p,a)||ra(r)},getConflictingClassGroupIds:(r,p)=>{let n=o[r]||[];return p&&t[r]?[...n,...t[r]]:n}}},Ee=(e,a)=>{if(e.length===0)return a.classGroupId;let o=e[0],t=a.nextPart.get(o),d=t?Ee(e.slice(1),t):void 0;if(d)return d;if(a.validators.length===0)return;let f=e.join(xe);return a.validators.find(({validator:r})=>r(f))?.classGroupId},Oe=/^\[(.+)\]$/,ra=e=>{if(Oe.test(e)){let a=Oe.exec(e)[1],o=a?.substring(0,a.indexOf(":"));if(o)return "arbitrary.."+o}},sa=e=>{let{theme:a,classGroups:o}=e,t={nextPart:new Map,validators:[]};for(let d in o)pe(o[d],t,d,a);return t},pe=(e,a,o,t)=>{e.forEach(d=>{if(typeof d=="string"){let f=d===""?a:He(a,d);f.classGroupId=o;return}if(typeof d=="function"){if(fa(d)){pe(d(t),a,o,t);return}a.validators.push({validator:d,classGroupId:o});return}Object.entries(d).forEach(([f,r])=>{pe(r,He(a,f),o,t);});});},He=(e,a)=>{let o=e;return a.split(xe).forEach(t=>{o.nextPart.has(t)||o.nextPart.set(t,{nextPart:new Map,validators:[]}),o=o.nextPart.get(t);}),o},fa=e=>e.isThemeGetter,ia=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,o=new Map,t=new Map,d=(f,r)=>{o.set(f,r),a++,a>e&&(a=0,t=o,o=new Map);};return {get(f){let r=o.get(f);if(r!==void 0)return r;if((r=t.get(f))!==void 0)return d(f,r),r},set(f,r){o.has(f)?o.set(f,r):d(f,r);}}},me="!",Le=":",na=Le.length,ca=e=>{let{prefix:a,experimentalParseClassName:o}=e,t=d=>{let f=[],r=0,p=0,n=0,m;for(let C=0;C<d.length;C++){let S=d[C];if(r===0&&p===0){if(S===Le){f.push(d.slice(n,C)),n=C+na;continue}if(S==="/"){m=C;continue}}S==="["?r++:S==="]"?r--:S==="("?p++:S===")"&&p--;}let L=f.length===0?d:d.substring(n),P=pa(L),F=P!==L,R=m&&m>n?m-n:void 0;return {modifiers:f,hasImportantModifier:F,baseClassName:P,maybePostfixModifierPosition:R}};if(a){let d=a+Le,f=t;t=r=>r.startsWith(d)?f(r.substring(d.length)):{isExternal:true,modifiers:[],hasImportantModifier:false,baseClassName:r,maybePostfixModifierPosition:void 0};}if(o){let d=t;t=f=>o({className:f,parseClassName:d});}return t},pa=e=>e.endsWith(me)?e.substring(0,e.length-1):e.startsWith(me)?e.substring(1):e,ma=e=>{let a=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,true]));return t=>{if(t.length<=1)return t;let d=[],f=[];return t.forEach(r=>{r[0]==="["||a[r]?(d.push(...f.sort(),r),f=[]):f.push(r);}),d.push(...f.sort()),d}},La=e=>({cache:ia(e.cacheSize),parseClassName:ca(e),sortModifiers:ma(e),...da(e)}),xa=/\s+/,Ia=(e,a)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:d,sortModifiers:f}=a,r=[],p=e.trim().split(xa),n="";for(let m=p.length-1;m>=0;m-=1){let L=p[m],{isExternal:P,modifiers:F,hasImportantModifier:R,baseClassName:C,maybePostfixModifierPosition:S}=o(L);if(P){n=L+(n.length>0?" "+n:n);continue}let O=!!S,T=t(O?C.substring(0,S):C);if(!T){if(!O){n=L+(n.length>0?" "+n:n);continue}if(T=t(C),!T){n=L+(n.length>0?" "+n:n);continue}O=false;}let J=f(F).join(":"),X=R?J+me:J,H=X+T;if(r.includes(H))continue;r.push(H);let G=d(T,O);for(let v=0;v<G.length;++v){let N=G[v];r.push(X+N);}n=L+(n.length>0?" "+n:n);}return n};function Ca(){let e=0,a,o,t="";for(;e<arguments.length;)(a=arguments[e++])&&(o=Ve(a))&&(t&&(t+=" "),t+=o);return t}var Ve=e=>{if(typeof e=="string")return e;let a,o="";for(let t=0;t<e.length;t++)e[t]&&(a=Ve(e[t]))&&(o&&(o+=" "),o+=a);return o};function ga(e,...a){let o,t,d,f=r;function r(n){let m=a.reduce((L,P)=>P(L),e());return o=La(m),t=o.cache.get,d=o.cache.set,f=p,p(n)}function p(n){let m=t(n);if(m)return m;let L=Ia(n,o);return d(n,L),L}return function(){return f(Ca.apply(null,arguments))}}var x=e=>{let a=o=>o[e]||[];return a.isThemeGetter=true,a},We=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Xe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ha=/^\d+\/\d+$/,Sa=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,wa=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ka=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Pa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ba=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>ha.test(e),c=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),ne=e=>e.endsWith("%")&&c(e.slice(0,-1)),B=e=>Sa.test(e),Aa=()=>true,Ba=e=>wa.test(e)&&!ka.test(e),Ne=()=>false,ya=e=>Pa.test(e),Da=e=>ba.test(e),Ma=e=>!l(e)&&!u(e),Fa=e=>V(e,Je,Ne),l=e=>We.test(e),U=e=>V(e,Qe,Ba),ce=e=>V(e,Ua,c),Ge=e=>V(e,Ke,Ne),Ra=e=>V(e,Ze,Da),te=e=>V(e,_e,ya),u=e=>Xe.test(e),Z=e=>W(e,Qe),Ta=e=>W(e,Oa),ze=e=>W(e,Ke),va=e=>W(e,Je),qa=e=>W(e,Ze),oe=e=>W(e,_e,true),V=(e,a,o)=>{let t=We.exec(e);return t?t[1]?a(t[1]):o(t[2]):false},W=(e,a,o=false)=>{let t=Xe.exec(e);return t?t[1]?a(t[1]):o:false},Ke=e=>e==="position"||e==="percentage",Ze=e=>e==="image"||e==="url",Je=e=>e==="length"||e==="size"||e==="bg-size",Qe=e=>e==="length",Ua=e=>e==="number",Oa=e=>e==="family-name",_e=e=>e==="shadow";var Ha=()=>{let e=x("color"),a=x("font"),o=x("text"),t=x("font-weight"),d=x("tracking"),f=x("leading"),r=x("breakpoint"),p=x("container"),n=x("spacing"),m=x("radius"),L=x("shadow"),P=x("inset-shadow"),F=x("text-shadow"),R=x("drop-shadow"),C=x("blur"),S=x("perspective"),O=x("aspect"),T=x("ease"),J=x("animate"),X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],G=()=>[...H(),u,l],v=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto","contain","none"],i=()=>[u,l,n],b=()=>[E,"full","auto",...i()],he=()=>[M,"none","subgrid",u,l],Se=()=>["auto",{span:["full",M,u,l]},M,u,l],Q=()=>[M,"auto",u,l],we=()=>["auto","min","max","fr",u,l],re=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],z=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...i()],q=()=>[E,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...i()],s=()=>[e,u,l],ke=()=>[...H(),ze,Ge,{position:[u,l]}],Pe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],be=()=>["auto","cover","contain",va,Fa,{size:[u,l]}],se=()=>[ne,Z,U],h=()=>["","none","full",m,u,l],w=()=>["",c,Z,U],_=()=>["solid","dashed","dotted","double"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],I=()=>[c,ne,ze,Ge],Be=()=>["","none",C,u,l],j=()=>["none",c,u,l],Y=()=>["none",c,u,l],fe=()=>[c,u,l],$=()=>[E,"full",...i()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[B],breakpoint:[B],color:[Aa],container:[B],"drop-shadow":[B],ease:["in","out","in-out"],font:[Ma],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[B],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[B],shadow:[B],spacing:["px",c],text:[B],"text-shadow":[B],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",E,l,u,O]}],container:["container"],columns:[{columns:[c,l,u,p]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:G()}],overflow:[{overflow:v()}],"overflow-x":[{"overflow-x":v()}],"overflow-y":[{"overflow-y":v()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:b()}],"inset-x":[{"inset-x":b()}],"inset-y":[{"inset-y":b()}],start:[{start:b()}],end:[{end:b()}],top:[{top:b()}],right:[{right:b()}],bottom:[{bottom:b()}],left:[{left:b()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",u,l]}],basis:[{basis:[E,"full","auto",p,...i()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[c,E,"auto","initial","none",l]}],grow:[{grow:["",c,u,l]}],shrink:[{shrink:["",c,u,l]}],order:[{order:[M,"first","last","none",u,l]}],"grid-cols":[{"grid-cols":he()}],"col-start-end":[{col:Se()}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":he()}],"row-start-end":[{row:Se()}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":we()}],"auto-rows":[{"auto-rows":we()}],gap:[{gap:i()}],"gap-x":[{"gap-x":i()}],"gap-y":[{"gap-y":i()}],"justify-content":[{justify:[...re(),"normal"]}],"justify-items":[{"justify-items":[...z(),"normal"]}],"justify-self":[{"justify-self":["auto",...z()]}],"align-content":[{content:["normal",...re()]}],"align-items":[{items:[...z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...z(),{baseline:["","last"]}]}],"place-content":[{"place-content":re()}],"place-items":[{"place-items":[...z(),"baseline"]}],"place-self":[{"place-self":["auto",...z()]}],p:[{p:i()}],px:[{px:i()}],py:[{py:i()}],ps:[{ps:i()}],pe:[{pe:i()}],pt:[{pt:i()}],pr:[{pr:i()}],pb:[{pb:i()}],pl:[{pl:i()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":i()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":i()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],w:[{w:[p,"screen",...q()]}],"min-w":[{"min-w":[p,"screen","none",...q()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[r]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",o,Z,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,u,ce]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ne,l]}],"font-family":[{font:[Ta,l,a]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[d,u,l]}],"line-clamp":[{"line-clamp":[c,"none",u,ce]}],leading:[{leading:[f,...i()]}],"list-image":[{"list-image":["none",u,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",u,l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:s()}],"text-color":[{text:s()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:[c,"from-font","auto",u,U]}],"text-decoration-color":[{decoration:s()}],"underline-offset":[{"underline-offset":[c,"auto",u,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u,l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ke()}],"bg-repeat":[{bg:Pe()}],"bg-size":[{bg:be()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,u,l],radial:["",u,l],conic:[M,u,l]},qa,Ra]}],"bg-color":[{bg:s()}],"gradient-from-pos":[{from:se()}],"gradient-via-pos":[{via:se()}],"gradient-to-pos":[{to:se()}],"gradient-from":[{from:s()}],"gradient-via":[{via:s()}],"gradient-to":[{to:s()}],rounded:[{rounded:h()}],"rounded-s":[{"rounded-s":h()}],"rounded-e":[{"rounded-e":h()}],"rounded-t":[{"rounded-t":h()}],"rounded-r":[{"rounded-r":h()}],"rounded-b":[{"rounded-b":h()}],"rounded-l":[{"rounded-l":h()}],"rounded-ss":[{"rounded-ss":h()}],"rounded-se":[{"rounded-se":h()}],"rounded-ee":[{"rounded-ee":h()}],"rounded-es":[{"rounded-es":h()}],"rounded-tl":[{"rounded-tl":h()}],"rounded-tr":[{"rounded-tr":h()}],"rounded-br":[{"rounded-br":h()}],"rounded-bl":[{"rounded-bl":h()}],"border-w":[{border:w()}],"border-w-x":[{"border-x":w()}],"border-w-y":[{"border-y":w()}],"border-w-s":[{"border-s":w()}],"border-w-e":[{"border-e":w()}],"border-w-t":[{"border-t":w()}],"border-w-r":[{"border-r":w()}],"border-w-b":[{"border-b":w()}],"border-w-l":[{"border-l":w()}],"divide-x":[{"divide-x":w()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":w()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[..._(),"hidden","none"]}],"divide-style":[{divide:[..._(),"hidden","none"]}],"border-color":[{border:s()}],"border-color-x":[{"border-x":s()}],"border-color-y":[{"border-y":s()}],"border-color-s":[{"border-s":s()}],"border-color-e":[{"border-e":s()}],"border-color-t":[{"border-t":s()}],"border-color-r":[{"border-r":s()}],"border-color-b":[{"border-b":s()}],"border-color-l":[{"border-l":s()}],"divide-color":[{divide:s()}],"outline-style":[{outline:[..._(),"none","hidden"]}],"outline-offset":[{"outline-offset":[c,u,l]}],"outline-w":[{outline:["",c,Z,U]}],"outline-color":[{outline:s()}],shadow:[{shadow:["","none",L,oe,te]}],"shadow-color":[{shadow:s()}],"inset-shadow":[{"inset-shadow":["none",P,oe,te]}],"inset-shadow-color":[{"inset-shadow":s()}],"ring-w":[{ring:w()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:s()}],"ring-offset-w":[{"ring-offset":[c,U]}],"ring-offset-color":[{"ring-offset":s()}],"inset-ring-w":[{"inset-ring":w()}],"inset-ring-color":[{"inset-ring":s()}],"text-shadow":[{"text-shadow":["none",F,oe,te]}],"text-shadow-color":[{"text-shadow":s()}],opacity:[{opacity:[c,u,l]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[c]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":s()}],"mask-image-linear-to-color":[{"mask-linear-to":s()}],"mask-image-t-from-pos":[{"mask-t-from":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"mask-image-t-from-color":[{"mask-t-from":s()}],"mask-image-t-to-color":[{"mask-t-to":s()}],"mask-image-r-from-pos":[{"mask-r-from":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"mask-image-r-from-color":[{"mask-r-from":s()}],"mask-image-r-to-color":[{"mask-r-to":s()}],"mask-image-b-from-pos":[{"mask-b-from":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"mask-image-b-from-color":[{"mask-b-from":s()}],"mask-image-b-to-color":[{"mask-b-to":s()}],"mask-image-l-from-pos":[{"mask-l-from":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"mask-image-l-from-color":[{"mask-l-from":s()}],"mask-image-l-to-color":[{"mask-l-to":s()}],"mask-image-x-from-pos":[{"mask-x-from":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"mask-image-x-from-color":[{"mask-x-from":s()}],"mask-image-x-to-color":[{"mask-x-to":s()}],"mask-image-y-from-pos":[{"mask-y-from":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":s()}],"mask-image-y-to-color":[{"mask-y-to":s()}],"mask-image-radial":[{"mask-radial":[u,l]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"mask-image-radial-from-color":[{"mask-radial-from":s()}],"mask-image-radial-to-color":[{"mask-radial-to":s()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":H()}],"mask-image-conic-pos":[{"mask-conic":[c]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"mask-image-conic-from-color":[{"mask-conic-from":s()}],"mask-image-conic-to-color":[{"mask-conic-to":s()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ke()}],"mask-repeat":[{mask:Pe()}],"mask-size":[{mask:be()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",u,l]}],filter:[{filter:["","none",u,l]}],blur:[{blur:Be()}],brightness:[{brightness:[c,u,l]}],contrast:[{contrast:[c,u,l]}],"drop-shadow":[{"drop-shadow":["","none",R,oe,te]}],"drop-shadow-color":[{"drop-shadow":s()}],grayscale:[{grayscale:["",c,u,l]}],"hue-rotate":[{"hue-rotate":[c,u,l]}],invert:[{invert:["",c,u,l]}],saturate:[{saturate:[c,u,l]}],sepia:[{sepia:["",c,u,l]}],"backdrop-filter":[{"backdrop-filter":["","none",u,l]}],"backdrop-blur":[{"backdrop-blur":Be()}],"backdrop-brightness":[{"backdrop-brightness":[c,u,l]}],"backdrop-contrast":[{"backdrop-contrast":[c,u,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",c,u,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c,u,l]}],"backdrop-invert":[{"backdrop-invert":["",c,u,l]}],"backdrop-opacity":[{"backdrop-opacity":[c,u,l]}],"backdrop-saturate":[{"backdrop-saturate":[c,u,l]}],"backdrop-sepia":[{"backdrop-sepia":["",c,u,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":i()}],"border-spacing-x":[{"border-spacing-x":i()}],"border-spacing-y":[{"border-spacing-y":i()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",u,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[c,"initial",u,l]}],ease:[{ease:["linear","initial",T,u,l]}],delay:[{delay:[c,u,l]}],animate:[{animate:["none",J,u,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,u,l]}],"perspective-origin":[{"perspective-origin":G()}],rotate:[{rotate:j()}],"rotate-x":[{"rotate-x":j()}],"rotate-y":[{"rotate-y":j()}],"rotate-z":[{"rotate-z":j()}],scale:[{scale:Y()}],"scale-x":[{"scale-x":Y()}],"scale-y":[{"scale-y":Y()}],"scale-z":[{"scale-z":Y()}],"scale-3d":["scale-3d"],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[u,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:G()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:$()}],"translate-x":[{"translate-x":$()}],"translate-y":[{"translate-y":$()}],"translate-z":[{"translate-z":$()}],"translate-none":["translate-none"],accent:[{accent:s()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:s()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u,l]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u,l]}],fill:[{fill:["none",...s()]}],"stroke-w":[{stroke:[c,Z,U,ce]}],stroke:[{stroke:["none",...s()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var je=ga(Ha);function k(...e){return je(Ue(e))}var Ce=de__namespace.forwardRef(({className:e,orientation:a="horizontal",decorative:o=true,...t},d)=>jsxRuntime.jsx(Ie__namespace.Root,{ref:d,decorative:o,orientation:a,className:k("shrink-0 bg-neutral-200",a==="horizontal"?"h-px w-full":"h-full w-px",e),...t}));Ce.displayName=Ie__namespace.Root.displayName;var Va=tailwindVariants.tv({slots:{button:"font-inter flex shrink-0 items-center justify-center gap-2 rounded-lg text-base leading-[130%] font-semibold transition-all ease-linear disabled:cursor-not-allowed disabled:ring-0",icon:"",loadingIcon:"absolute animate-spin text-neutral-400"},variants:{size:{lg:{button:"h-12 px-4",icon:"h-4.5 w-4.5",loadingIcon:"h-4.5 w-4.5"},md:{button:"h-10 px-4 text-sm leading-[130%]",icon:"h-4.5 w-4.5",loadingIcon:"h-4.5 w-4.5"},sm:{button:"h-8 gap-1 px-3 text-sm leading-[130%]",icon:"h-3.5 w-3.5",loadingIcon:"h-3.5 w-3.5"},xs:{button:"h-6 gap-1 rounded-[6px] px-3 text-xs leading-[130%]",icon:"h-3.5 w-3.5",loadingIcon:"h-3.5 w-3.5"}},variant:{contained:{button:"bg-primary-500 hover:bg-primary-600 focus:bg-primary-500 focus:ring-primary-800 active:bg-primary-700 text-neutral-50 focus:ring-[3px] focus:ring-inset active:ring-0 disabled:bg-neutral-100 disabled:text-neutral-400"},secondary:{button:"text-primary-500 ring-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 hover:ring-primary-600 focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-primary-700 ring-[1.5px] ring-inset focus:ring-[3px] disabled:bg-neutral-50/0 disabled:text-neutral-400 disabled:ring-[1.5px] disabled:ring-neutral-400"},outlined:{button:"focus:bg-opacity-0 focus:ring-primary-900 [&:not([disabled])]:hover:bg-transparent-primary-20 [&:not([disabled])]:active:bg-transparent-primary-40 leading-[130%] text-neutral-900 ring-[1.5px] ring-neutral-900 ring-inset focus:bg-neutral-50 focus:ring-[3px] active:ring-[1.5px] disabled:bg-neutral-50/0 disabled:text-neutral-400 disabled:ring-[1.5px] disabled:ring-neutral-400"},ghost:{button:"text-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-opacity-0 focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 disabled:bg-opacity-0 focus:bg-neutral-50 focus:ring-[3px] focus:ring-inset active:ring-0 disabled:bg-neutral-50 disabled:text-neutral-400"},standard:{button:"hover:bg-transparent-primary-20 focus:ring-primary-800 active:bg-transparent-primary-40 disabled:bg-opacity-0 text-neutral-900 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset active:ring-0 disabled:bg-neutral-50 disabled:text-neutral-400"},link:{button:"text-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 focus:text-primary-500 focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 disabled:bg-opacity-0 underline underline-offset-2 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset active:ring-0 disabled:bg-neutral-50 disabled:text-neutral-400"},white:{button:"bg-neutral-50 text-neutral-900"}},loading:{true:{button:"disabled:text-opacity-0 disabled:text-neutral-50"}}},defaultVariants:{variant:"contained",size:"md",loading:false,disabled:false}}),le=de.forwardRef(({children:e,className:a,variant:o,size:t,startIcon:d,endIcon:f,loading:r,disabled:p,type:n="button",StartIcon:m,EndIcon:L,...P},F)=>{let{button:R,icon:C,loadingIcon:S}=Va({variant:o,size:t,loading:r});return jsxRuntime.jsxs("button",{...P,ref:F,disabled:r||p,className:k(R(),a),type:n,children:[r&&jsxRuntime.jsx(Te,{className:S()}),d&&de__namespace.default.cloneElement(d,{className:C()}),m&&jsxRuntime.jsx(m,{className:C()}),e,f&&de__namespace.default.cloneElement(f,{className:C()}),L&&jsxRuntime.jsx(L,{className:C()})]})});var io=({onOpenChange:e,...a})=>{let o=de.useCallback(t=>{e?.(t.open);},[e]);return jsxRuntime.jsx(dialog.Dialog.Root,{unmountOnExit:true,lazyMount:true,onOpenChange:o,...a})},no=dialog.Dialog.Trigger,Ka=de__namespace.forwardRef(({className:e,children:a,...o},t)=>jsxRuntime.jsxs(portal.Portal,{children:[jsxRuntime.jsx(dialog.Dialog.Backdrop,{className:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-neutral-900/50"}),jsxRuntime.jsx(dialog.Dialog.Positioner,{className:"fixed inset-0 z-50",children:jsxRuntime.jsx(dialog.Dialog.Content,{ref:t,className:k("elevation-9 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid max-h-[80vh] w-full max-w-2xl translate-x-[-50%] translate-y-[-50%] overflow-y-auto rounded-2xl bg-neutral-50 py-3 pr-0 duration-200",e),...o,children:a})})]}));Ka.displayName="DialogContent";var Za=({className:e,...a})=>jsxRuntime.jsx("div",{className:k("mr-4 mb-4 ml-6 flex flex-col gap-4 text-left",e),...a});Za.displayName="DialogHeader";var Ja=({className:e,...a})=>jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(Ce,{className:"w-full"}),jsxRuntime.jsx("div",{className:k("mx-6 mt-3 flex justify-end gap-2",e),...a})]});Ja.displayName="DialogFooter";var co=({className:e,...a})=>jsxRuntime.jsx("div",{className:k("mx-6 mb-4.5",e),...a}),Qa=de__namespace.forwardRef(({className:e,...a},o)=>jsxRuntime.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntime.jsx(dialog.Dialog.Title,{ref:o,className:k("font-jakarta pr-2 text-lg leading-[160%] font-semibold",e),...a}),jsxRuntime.jsxs(dialog.Dialog.CloseTrigger,{className:"h-5.5 w-5.5",children:[jsxRuntime.jsx(ve,{className:"h-5.5 w-5.5"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]}));Qa.displayName="DialogTitle";var _a=de__namespace.forwardRef(({className:e,...a},o)=>jsxRuntime.jsx(dialog.Dialog.Description,{ref:o,className:k("font-inter text-sm leading-[130%] font-normal",e),...a}));_a.displayName="DialogDescription";var po=e=>jsxRuntime.jsx(le,{variant:"contained",...e}),mo=e=>jsxRuntime.jsx(dialog.Dialog.CloseTrigger,{asChild:true,children:jsxRuntime.jsx(le,{variant:"secondary",...e})}),Lo=e=>jsxRuntime.jsx(le,{variant:"ghost",...e});/*! Bundled license information:
|
|
2
2
|
|
|
3
3
|
lucide-react/dist/esm/shared/src/utils.js:
|
|
4
4
|
lucide-react/dist/esm/defaultAttributes.js:
|
|
@@ -13,4 +13,4 @@ lucide-react/dist/esm/lucide-react.js:
|
|
|
13
13
|
* This source code is licensed under the ISC license.
|
|
14
14
|
* See the LICENSE file in the root directory of this source tree.
|
|
15
15
|
*)
|
|
16
|
-
*/exports.
|
|
16
|
+
*/exports.Dialog=io;exports.DialogActionButton=po;exports.DialogBody=co;exports.DialogCloseButton=mo;exports.DialogContent=Ka;exports.DialogDescription=_a;exports.DialogExtraButton=Lo;exports.DialogFooter=Ja;exports.DialogHeader=Za;exports.DialogTitle=Qa;exports.DialogTrigger=no;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{a as Dialog,i as DialogActionButton,f as DialogBody,j as DialogCloseButton,c as DialogContent,h as DialogDescription,k as DialogExtraButton,e as DialogFooter,d as DialogHeader,g as DialogTitle,b as DialogTrigger}from'../chunk-F4CJC6K3.mjs';import'../chunk-T2IU5QUU.mjs';import'../chunk-KKWH3QUT.mjs';import'../chunk-4HYLZVI5.mjs';import'../chunk-BO6XI5BE.mjs';
|
|
@@ -1,47 +1,42 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
|
-
import { FC } from 'react';
|
|
4
|
-
import
|
|
5
|
-
import { ButtonProps } from './button.mjs';
|
|
2
|
+
import { FC, HTMLAttributes } from 'react';
|
|
3
|
+
import { DialogRootProps, Dialog, DialogContentProps } from '@ark-ui/react/dialog';
|
|
6
4
|
import { IconButtonProps } from './icon-button.mjs';
|
|
5
|
+
import { ButtonProps } from './button.mjs';
|
|
6
|
+
import { LucideIcon } from 'lucide-react';
|
|
7
7
|
import 'tailwind-variants';
|
|
8
|
-
import 'lucide-react';
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
({ ...props }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime.JSX.Element;
|
|
13
|
-
displayName: string;
|
|
9
|
+
type DrawerProps = Omit<DialogRootProps, "onOpenChange"> & {
|
|
10
|
+
onOpenChange?: (open: boolean) => void;
|
|
14
11
|
};
|
|
15
|
-
declare const
|
|
16
|
-
declare const
|
|
17
|
-
declare const
|
|
18
|
-
|
|
19
|
-
type DrawerContentProps = {
|
|
12
|
+
declare const Drawer: FC<DrawerProps>;
|
|
13
|
+
declare const DrawerTrigger: React.ForwardRefExoticComponent<Dialog.TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
declare const DrawerSizes: readonly ["sm", "md", "lg", "xl"];
|
|
15
|
+
type DrawerContentProps = DialogContentProps & {
|
|
20
16
|
size?: (typeof DrawerSizes)[number];
|
|
21
|
-
title?: string;
|
|
22
|
-
description?: string;
|
|
23
|
-
isLoading?: boolean;
|
|
24
|
-
loadingText?: string;
|
|
25
|
-
buttons?: DrawerHeaderButtons;
|
|
26
|
-
hideHeader?: boolean;
|
|
27
17
|
};
|
|
28
|
-
declare const DrawerContent: React.ForwardRefExoticComponent<
|
|
18
|
+
declare const DrawerContent: React.ForwardRefExoticComponent<Dialog.ContentProps & {
|
|
19
|
+
size?: (typeof DrawerSizes)[number];
|
|
20
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
29
21
|
type DrawerHeaderButtons = (IconButtonProps & {
|
|
30
22
|
visible?: boolean;
|
|
31
23
|
})[] | (ButtonProps & {
|
|
32
24
|
visible?: boolean;
|
|
33
25
|
});
|
|
34
26
|
type DrawerHeaderProps = {
|
|
35
|
-
title
|
|
27
|
+
title: string;
|
|
36
28
|
description?: string;
|
|
37
29
|
buttons?: DrawerHeaderButtons;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
declare const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
30
|
+
Icon?: LucideIcon;
|
|
31
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "title" | "description">;
|
|
32
|
+
declare const DrawerHeader: React.ForwardRefExoticComponent<{
|
|
33
|
+
title: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
buttons?: DrawerHeaderButtons;
|
|
36
|
+
Icon?: LucideIcon;
|
|
37
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "title" | "description"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
declare const DrawerFooter: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
39
|
+
declare const DrawerBody: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
declare const DrawerCloseTrigger: React.ForwardRefExoticComponent<Dialog.CloseTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
46
41
|
|
|
47
|
-
export { Drawer,
|
|
42
|
+
export { Drawer, DrawerBody, DrawerCloseTrigger, DrawerContent, type DrawerContentProps, DrawerFooter, DrawerHeader, type DrawerHeaderProps, DrawerSizes, DrawerTrigger };
|
|
@@ -1,47 +1,42 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
|
-
import { FC } from 'react';
|
|
4
|
-
import
|
|
5
|
-
import { ButtonProps } from './button.js';
|
|
2
|
+
import { FC, HTMLAttributes } from 'react';
|
|
3
|
+
import { DialogRootProps, Dialog, DialogContentProps } from '@ark-ui/react/dialog';
|
|
6
4
|
import { IconButtonProps } from './icon-button.js';
|
|
5
|
+
import { ButtonProps } from './button.js';
|
|
6
|
+
import { LucideIcon } from 'lucide-react';
|
|
7
7
|
import 'tailwind-variants';
|
|
8
|
-
import 'lucide-react';
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
({ ...props }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime.JSX.Element;
|
|
13
|
-
displayName: string;
|
|
9
|
+
type DrawerProps = Omit<DialogRootProps, "onOpenChange"> & {
|
|
10
|
+
onOpenChange?: (open: boolean) => void;
|
|
14
11
|
};
|
|
15
|
-
declare const
|
|
16
|
-
declare const
|
|
17
|
-
declare const
|
|
18
|
-
|
|
19
|
-
type DrawerContentProps = {
|
|
12
|
+
declare const Drawer: FC<DrawerProps>;
|
|
13
|
+
declare const DrawerTrigger: React.ForwardRefExoticComponent<Dialog.TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
declare const DrawerSizes: readonly ["sm", "md", "lg", "xl"];
|
|
15
|
+
type DrawerContentProps = DialogContentProps & {
|
|
20
16
|
size?: (typeof DrawerSizes)[number];
|
|
21
|
-
title?: string;
|
|
22
|
-
description?: string;
|
|
23
|
-
isLoading?: boolean;
|
|
24
|
-
loadingText?: string;
|
|
25
|
-
buttons?: DrawerHeaderButtons;
|
|
26
|
-
hideHeader?: boolean;
|
|
27
17
|
};
|
|
28
|
-
declare const DrawerContent: React.ForwardRefExoticComponent<
|
|
18
|
+
declare const DrawerContent: React.ForwardRefExoticComponent<Dialog.ContentProps & {
|
|
19
|
+
size?: (typeof DrawerSizes)[number];
|
|
20
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
29
21
|
type DrawerHeaderButtons = (IconButtonProps & {
|
|
30
22
|
visible?: boolean;
|
|
31
23
|
})[] | (ButtonProps & {
|
|
32
24
|
visible?: boolean;
|
|
33
25
|
});
|
|
34
26
|
type DrawerHeaderProps = {
|
|
35
|
-
title
|
|
27
|
+
title: string;
|
|
36
28
|
description?: string;
|
|
37
29
|
buttons?: DrawerHeaderButtons;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
declare const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
30
|
+
Icon?: LucideIcon;
|
|
31
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "title" | "description">;
|
|
32
|
+
declare const DrawerHeader: React.ForwardRefExoticComponent<{
|
|
33
|
+
title: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
buttons?: DrawerHeaderButtons;
|
|
36
|
+
Icon?: LucideIcon;
|
|
37
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "title" | "description"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
declare const DrawerFooter: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
39
|
+
declare const DrawerBody: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
declare const DrawerCloseTrigger: React.ForwardRefExoticComponent<Dialog.CloseTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
46
41
|
|
|
47
|
-
export { Drawer,
|
|
42
|
+
export { Drawer, DrawerBody, DrawerCloseTrigger, DrawerContent, type DrawerContentProps, DrawerFooter, DrawerHeader, type DrawerHeaderProps, DrawerSizes, DrawerTrigger };
|