sodtrack-web-ui 0.54.0 → 0.55.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,15 @@
1
- import * as React from 'react';
2
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
1
+ import { CheckboxCheckedState as CheckboxCheckedState$1, CheckboxRootProps } from '@ark-ui/react';
2
+ import { FC } from 'react';
3
3
 
4
4
  declare const CheckboxSizes: readonly ["sm", "md"];
5
5
  type CheckboxSize = (typeof CheckboxSizes)[number];
6
- type CheckboxProps = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> & {
7
- id?: string;
6
+ type CheckboxCheckedState = CheckboxCheckedState$1;
7
+ declare const CheckboxCheckedStates: CheckboxCheckedState[];
8
+ type CheckboxProps = Omit<CheckboxRootProps, "onCheckedChange"> & {
8
9
  label?: string;
9
10
  size?: CheckboxSize;
11
+ onCheckedChange?: (checked: CheckboxCheckedState) => void;
10
12
  };
11
- declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
12
- id?: string;
13
- label?: string;
14
- size?: CheckboxSize;
15
- } & React.RefAttributes<HTMLButtonElement>>;
13
+ declare const Checkbox: FC<CheckboxProps>;
16
14
 
17
- export { Checkbox, type CheckboxProps, type CheckboxSize, CheckboxSizes };
15
+ export { Checkbox, type CheckboxCheckedState, CheckboxCheckedStates, type CheckboxProps, type CheckboxSize, CheckboxSizes };
@@ -1,17 +1,15 @@
1
- import * as React from 'react';
2
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
1
+ import { CheckboxCheckedState as CheckboxCheckedState$1, CheckboxRootProps } from '@ark-ui/react';
2
+ import { FC } from 'react';
3
3
 
4
4
  declare const CheckboxSizes: readonly ["sm", "md"];
5
5
  type CheckboxSize = (typeof CheckboxSizes)[number];
6
- type CheckboxProps = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> & {
7
- id?: string;
6
+ type CheckboxCheckedState = CheckboxCheckedState$1;
7
+ declare const CheckboxCheckedStates: CheckboxCheckedState[];
8
+ type CheckboxProps = Omit<CheckboxRootProps, "onCheckedChange"> & {
8
9
  label?: string;
9
10
  size?: CheckboxSize;
11
+ onCheckedChange?: (checked: CheckboxCheckedState) => void;
10
12
  };
11
- declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
12
- id?: string;
13
- label?: string;
14
- size?: CheckboxSize;
15
- } & React.RefAttributes<HTMLButtonElement>>;
13
+ declare const Checkbox: FC<CheckboxProps>;
16
14
 
17
- export { Checkbox, type CheckboxProps, type CheckboxSize, CheckboxSizes };
15
+ export { Checkbox, type CheckboxCheckedState, CheckboxCheckedStates, type CheckboxProps, type CheckboxSize, CheckboxSizes };
package/dist/checkbox.js CHANGED
@@ -1,4 +1,4 @@
1
- 'use strict';var he=require('react'),O=require('@radix-ui/react-checkbox'),reactLabel=require('@radix-ui/react-label'),jsxRuntime=require('react/jsx-runtime');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 he__namespace=/*#__PURE__*/_interopNamespace(he);var O__namespace=/*#__PURE__*/_interopNamespace(O);function oe(e){var t,a,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var d=e.length;for(t=0;t<d;t++)e[t]&&(a=oe(e[t]))&&(o&&(o+=" "),o+=a);}else for(a in e)e[a]&&(o&&(o+=" "),o+=a);return o}function le(){for(var e,t,a=0,o="",d=arguments.length;a<d;a++)(e=arguments[a])&&(t=oe(e))&&(o&&(o+=" "),o+=t);return o}var Q="-",Se=e=>{let t=ke(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:s=>{let u=s.split(Q);return u[0]===""&&u.length!==1&&u.shift(),re(u,t)||we(s)},getConflictingClassGroupIds:(s,u)=>{let c=a[s]||[];return u&&o[s]?[...c,...o[s]]:c}}},re=(e,t)=>{if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),d=o?re(e.slice(1),o):void 0;if(d)return d;if(t.validators.length===0)return;let l=e.join(Q);return t.validators.find(({validator:s})=>s(l))?.classGroupId},ue=/^\[(.+)\]$/,we=e=>{if(ue.test(e)){let t=ue.exec(e)[1],a=t?.substring(0,t.indexOf(":"));if(a)return "arbitrary.."+a}},ke=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return be(Object.entries(e.classGroups),a).forEach(([l,s])=>{J(s,o,l,t);}),o},J=(e,t,a,o)=>{e.forEach(d=>{if(typeof d=="string"){let l=d===""?t:de(t,d);l.classGroupId=a;return}if(typeof d=="function"){if(Pe(d)){J(d(o),t,a,o);return}t.validators.push({validator:d,classGroupId:a});return}Object.entries(d).forEach(([l,s])=>{J(s,de(t,l),a,o);});});},de=(e,t)=>{let a=e;return t.split(Q).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o);}),a},Pe=e=>e.isThemeGetter,be=(e,t)=>t?e.map(([a,o])=>{let d=o.map(l=>typeof l=="string"?t+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([s,u])=>[t+s,u])):l);return [a,d]}):e,Ae=e=>{if(e<1)return {get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,d=(l,s)=>{a.set(l,s),t++,t>e&&(t=0,o=a,a=new Map);};return {get(l){let s=a.get(l);if(s!==void 0)return s;if((s=o.get(l))!==void 0)return d(l,s),s},set(l,s){a.has(l)?a.set(l,s):d(l,s);}}},se="!",Be=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,d=t[0],l=t.length,s=u=>{let c=[],p=0,m=0,C;for(let n=0;n<u.length;n++){let I=u[n];if(p===0){if(I===d&&(o||u.slice(n,n+l)===t)){c.push(u.slice(m,n)),m=n+l;continue}if(I==="/"){C=n;continue}}I==="["?p++:I==="]"&&p--;}let g=c.length===0?u:u.substring(m),S=g.startsWith(se),h=S?g.substring(1):g,L=C&&C>m?C-m:void 0;return {modifiers:c,hasImportantModifier:S,baseClassName:h,maybePostfixModifierPosition:L}};return a?u=>a({className:u,parseClassName:s}):s},Me=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o);}),t.push(...a.sort()),t},ye=e=>({cache:Ae(e.cacheSize),parseClassName:Be(e),...Se(e)}),Fe=/\s+/,De=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:d}=t,l=[],s=e.trim().split(Fe),u="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:m,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:S}=a(p),h=!!S,L=o(h?g.substring(0,S):g);if(!L){if(!h){u=p+(u.length>0?" "+u:u);continue}if(L=o(g),!L){u=p+(u.length>0?" "+u:u);continue}h=!1;}let n=Me(m).join(":"),I=C?n+se:n,x=I+L;if(l.includes(x))continue;l.push(x);let y=d(L,h);for(let A=0;A<y.length;++A){let H=y[A];l.push(I+H);}u=p+(u.length>0?" "+u:u);}return u};function Re(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=fe(t))&&(o&&(o+=" "),o+=a);return o}var fe=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=fe(e[o]))&&(a&&(a+=" "),a+=t);return a};function Te(e,...t){let a,o,d,l=s;function s(c){let p=t.reduce((m,C)=>C(m),e());return a=ye(p),o=a.cache.get,d=a.cache.set,l=u,u(c)}function u(c){let p=o(c);if(p)return p;let m=De(c,a);return d(c,m),m}return function(){return l(Re.apply(null,arguments))}}var f=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},ie=/^\[(?:([a-z-]+):)?(.+)\]$/i,ve=/^\d+\/\d+$/,qe=new Set(["px","full","screen"]),Ue=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Oe=/\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$/,He=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ge=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ze=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k=e=>B(e)||qe.has(e)||ve.test(e),P=e=>M(e,"length",Je),B=e=>!!e&&!Number.isNaN(Number(e)),Z=e=>M(e,"number",B),D=e=>!!e&&Number.isInteger(Number(e)),Ve=e=>e.endsWith("%")&&B(e.slice(0,-1)),r=e=>ie.test(e),b=e=>Ue.test(e),We=new Set(["length","size","percentage"]),Ee=e=>M(e,We,ce),Xe=e=>M(e,"position",ce),Ne=new Set(["image","url"]),Ke=e=>M(e,Ne,je),Ze=e=>M(e,"",Qe),R=()=>!0,M=(e,t,a)=>{let o=ie.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},Je=e=>Oe.test(e)&&!He.test(e),ce=()=>!1,Qe=e=>Ge.test(e),je=e=>ze.test(e);var Ye=()=>{let e=f("colors"),t=f("spacing"),a=f("blur"),o=f("brightness"),d=f("borderColor"),l=f("borderRadius"),s=f("borderSpacing"),u=f("borderWidth"),c=f("contrast"),p=f("grayscale"),m=f("hueRotate"),C=f("invert"),g=f("gap"),S=f("gradientColorStops"),h=f("gradientColorStopPositions"),L=f("inset"),n=f("margin"),I=f("opacity"),x=f("padding"),y=f("saturate"),A=f("scale"),H=f("sepia"),j=f("skew"),Y=f("space"),_=f("translate"),E=()=>["auto","contain","none"],X=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",r,t],i=()=>[r,t],$=()=>["",k,P],G=()=>["auto",B,r],ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],F=()=>["","0",r],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>[B,r];return {cacheSize:500,separator:":",theme:{colors:[R],spacing:[k,P],blur:["none","",b,r],brightness:w(),borderColor:[e],borderRadius:["none","","full",b,r],borderSpacing:i(),borderWidth:$(),contrast:w(),grayscale:F(),hueRotate:w(),invert:F(),gap:i(),gradientColorStops:[e],gradientColorStopPositions:[Ve,P],inset:N(),margin:N(),opacity:w(),padding:i(),saturate:w(),scale:w(),sepia:F(),skew:w(),space:i(),translate:i()},classGroups:{aspect:[{aspect:["auto","square","video",r]}],container:["container"],columns:[{columns:[b]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"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"],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:[...ee(),r]}],overflow:[{overflow:X()}],"overflow-x":[{"overflow-x":X()}],"overflow-y":[{"overflow-y":X()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[L]}],"inset-x":[{"inset-x":[L]}],"inset-y":[{"inset-y":[L]}],start:[{start:[L]}],end:[{end:[L]}],top:[{top:[L]}],right:[{right:[L]}],bottom:[{bottom:[L]}],left:[{left:[L]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",D,r]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",r]}],grow:[{grow:F()}],shrink:[{shrink:F()}],order:[{order:["first","last","none",D,r]}],"grid-cols":[{"grid-cols":[R]}],"col-start-end":[{col:["auto",{span:["full",D,r]},r]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[R]}],"row-start-end":[{row:["auto",{span:[D,r]},r]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",r]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",r]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[n]}],mx:[{mx:[n]}],my:[{my:[n]}],ms:[{ms:[n]}],me:[{me:[n]}],mt:[{mt:[n]}],mr:[{mr:[n]}],mb:[{mb:[n]}],ml:[{ml:[n]}],"space-x":[{"space-x":[Y]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Y]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",r,t]}],"min-w":[{"min-w":[r,t,"min","max","fit"]}],"max-w":[{"max-w":[r,t,"none","full","min","max","fit","prose",{screen:[b]},b]}],h:[{h:[r,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[r,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[r,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[r,t,"auto","min","max","fit"]}],"font-size":[{text:["base",b,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Z]}],"font-family":[{font:[R]}],"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:["tighter","tight","normal","wide","wider","widest",r]}],"line-clamp":[{"line-clamp":["none",B,Z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,r]}],"list-image":[{"list-image":["none",r]}],"list-style-type":[{list:["none","disc","decimal",r]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,P]}],"underline-offset":[{"underline-offset":["auto",k,r]}],"text-decoration-color":[{decoration:[e]}],"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",r]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",r]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ee(),Xe]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ee]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ke]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:z()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...z()]}],"outline-offset":[{"outline-offset":[k,r]}],"outline-w":[{outline:[k,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[k,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",b,Ze]}],"shadow-color":[{shadow:[R]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...ae(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ae()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",b,r]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[y]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",r]}],duration:[{duration:w()}],ease:[{ease:["linear","in","out","in-out",r]}],delay:[{delay:w()}],animate:[{animate:["none","spin","ping","pulse","bounce",r]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[D,r]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",r]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",r]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],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",r]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[k,P,Z]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}};var ne=Te(Ye);function T(...e){return ne(le(e))}var pe=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),V=(...e)=>e.filter((t,a,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===a).join(" ").trim();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 Ie=he.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:d="",children:l,iconNode:s,...u},c)=>he.createElement("svg",{ref:c,...me,width:t,height:t,stroke:e,strokeWidth:o?Number(a)*24/Number(t):a,className:V("lucide",d),...u},[...s.map(([p,m])=>he.createElement(p,m)),...Array.isArray(l)?l:[l]]));var W=(e,t)=>{let a=he.forwardRef(({className:o,...d},l)=>he.createElement(Ie,{ref:l,iconNode:t,className:V(`lucide-${pe(e)}`,o),...d}));return a.displayName=`${e}`,a};var v=W("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var q=W("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);var xe=v,Ce=q;var Ka=["sm","md"],ta=he__namespace.forwardRef(({className:e,label:t,size:a="md",...o},d)=>jsxRuntime.jsxs("div",{className:T("flex items-center",a==="md"&&"gap-3",a==="sm"&&"gap-2",e),children:[jsxRuntime.jsx("div",{className:T("flex flex-shrink-0 rounded-full transition-all has-[:hover]:has-[:enabled]:[&:not(:active)]:bg-transparent-primary-20 has-[:hover]:[&:not(:disabled)]:[&:not(:active)]:ring-transparent-primary-20",a==="sm"&&"h-4 w-4 has-[:hover]:has-[:enabled]:[&:not(:active)]:ring-4",a=="md"&&"h-5 w-5 has-[:hover]:has-[:enabled]:[&:not(:active)]:ring-6"),children:jsxRuntime.jsx(O__namespace.Root,{ref:d,className:T("flex-shrink-0 rounded-sm ring-2 ring-inset ring-neutral-900 active:enabled:ring-primary-700 disabled:cursor-not-allowed disabled:ring-neutral-500 data-[state=checked]:enabled:bg-primary-500 data-[state=indeterminate]:enabled:bg-primary-500 data-[state=checked]:enabled:ring-0 data-[state=indeterminate]:enabled:ring-0 hover:data-[state=checked]:enabled:bg-primary-600 hover:data-[state=indeterminate]:enabled:bg-primary-600 hover:data-[state=unchecked]:enabled:ring-primary-600 active:enabled:data-[state=checked]:bg-primary-700 active:enabled:data-[state=indeterminate]:bg-primary-700 disabled:data-[state=checked]:bg-neutral-500 disabled:data-[state=indeterminate]:bg-neutral-500",a==="sm"&&"h-4 w-4",a==="md"&&"h-5 w-5"),...o,children:jsxRuntime.jsxs(O__namespace.Indicator,{className:"flex items-center justify-center",children:[o.checked!=="indeterminate"&&jsxRuntime.jsx(xe,{size:a==="sm"?14:18,className:"text-neutral-50"}),o.checked==="indeterminate"&&jsxRuntime.jsx(Ce,{size:a==="sm"?14:18,className:"text-neutral-50"})]})})}),t&&jsxRuntime.jsx(reactLabel.Label,{htmlFor:o.id,className:T("font-normal leading-[130%] text-neutral-900",o.disabled&&"text-neutral-500",a==="md"&&"text-base",a==="sm"&&"text-sm"),children:t})]}));ta.displayName=O__namespace.Root.displayName;/*! Bundled license information:
1
+ 'use strict';var react=require('react'),react$1=require('@ark-ui/react'),jsxRuntime=require('react/jsx-runtime');function te(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=te(e[a]))&&(t&&(t+=" "),t+=o);}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function oe(){for(var e,a,o=0,t="",d=arguments.length;o<d;o++)(e=arguments[o])&&(a=te(e))&&(t&&(t+=" "),t+=a);return t}var J="-",he=e=>{let a=we(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:r=>{let l=r.split(J);return l[0]===""&&l.length!==1&&l.shift(),de(l,a)||Se(r)},getConflictingClassGroupIds:(r,l)=>{let c=o[r]||[];return l&&t[r]?[...c,...t[r]]:c}}},de=(e,a)=>{if(e.length===0)return a.classGroupId;let o=e[0],t=a.nextPart.get(o),d=t?de(e.slice(1),t):void 0;if(d)return d;if(a.validators.length===0)return;let u=e.join(J);return a.validators.find(({validator:r})=>r(u))?.classGroupId},ue=/^\[(.+)\]$/,Se=e=>{if(ue.test(e)){let a=ue.exec(e)[1],o=a?.substring(0,a.indexOf(":"));if(o)return "arbitrary.."+o}},we=e=>{let{theme:a,prefix:o}=e,t={nextPart:new Map,validators:[]};return Pe(Object.entries(e.classGroups),o).forEach(([u,r])=>{Z(r,t,u,a);}),t},Z=(e,a,o,t)=>{e.forEach(d=>{if(typeof d=="string"){let u=d===""?a:le(a,d);u.classGroupId=o;return}if(typeof d=="function"){if(ke(d)){Z(d(t),a,o,t);return}a.validators.push({validator:d,classGroupId:o});return}Object.entries(d).forEach(([u,r])=>{Z(r,le(a,u),o,t);});});},le=(e,a)=>{let o=e;return a.split(J).forEach(t=>{o.nextPart.has(t)||o.nextPart.set(t,{nextPart:new Map,validators:[]}),o=o.nextPart.get(t);}),o},ke=e=>e.isThemeGetter,Pe=(e,a)=>a?e.map(([o,t])=>{let d=t.map(u=>typeof u=="string"?a+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([r,l])=>[a+r,l])):u);return [o,d]}):e,be=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,o=new Map,t=new Map,d=(u,r)=>{o.set(u,r),a++,a>e&&(a=0,t=o,o=new Map);};return {get(u){let r=o.get(u);if(r!==void 0)return r;if((r=t.get(u))!==void 0)return d(u,r),r},set(u,r){o.has(u)?o.set(u,r):d(u,r);}}},re="!",Ae=e=>{let{separator:a,experimentalParseClassName:o}=e,t=a.length===1,d=a[0],u=a.length,r=l=>{let c=[],p=0,m=0,C;for(let n=0;n<l.length;n++){let I=l[n];if(p===0){if(I===d&&(t||l.slice(n,n+u)===a)){c.push(l.slice(m,n)),m=n+u;continue}if(I==="/"){C=n;continue}}I==="["?p++:I==="]"&&p--;}let g=c.length===0?l:l.substring(m),S=g.startsWith(re),h=S?g.substring(1):g,L=C&&C>m?C-m:void 0;return {modifiers:c,hasImportantModifier:S,baseClassName:h,maybePostfixModifierPosition:L}};return o?l=>o({className:l,parseClassName:r}):r},Be=e=>{if(e.length<=1)return e;let a=[],o=[];return e.forEach(t=>{t[0]==="["?(a.push(...o.sort(),t),o=[]):o.push(t);}),a.push(...o.sort()),a},Me=e=>({cache:be(e.cacheSize),parseClassName:Ae(e),...he(e)}),Fe=/\s+/,ye=(e,a)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:d}=a,u=[],r=e.trim().split(Fe),l="";for(let c=r.length-1;c>=0;c-=1){let p=r[c],{modifiers:m,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:S}=o(p),h=!!S,L=t(h?g.substring(0,S):g);if(!L){if(!h){l=p+(l.length>0?" "+l:l);continue}if(L=t(g),!L){l=p+(l.length>0?" "+l:l);continue}h=!1;}let n=Be(m).join(":"),I=C?n+re:n,x=I+L;if(u.includes(x))continue;u.push(x);let D=d(L,h);for(let A=0;A<D.length;++A){let O=D[A];u.push(I+O);}l=p+(l.length>0?" "+l:l);}return l};function De(){let e=0,a,o,t="";for(;e<arguments.length;)(a=arguments[e++])&&(o=se(a))&&(t&&(t+=" "),t+=o);return t}var se=e=>{if(typeof e=="string")return e;let a,o="";for(let t=0;t<e.length;t++)e[t]&&(a=se(e[t]))&&(o&&(o+=" "),o+=a);return o};function Re(e,...a){let o,t,d,u=r;function r(c){let p=a.reduce((m,C)=>C(m),e());return o=Me(p),t=o.cache.get,d=o.cache.set,u=l,l(c)}function l(c){let p=t(c);if(p)return p;let m=ye(c,o);return d(c,m),m}return function(){return u(De.apply(null,arguments))}}var f=e=>{let a=o=>o[e]||[];return a.isThemeGetter=!0,a},fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Te=/^\d+\/\d+$/,qe=new Set(["px","full","screen"]),ve=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ue=/\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$/,Oe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,He=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ge=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k=e=>B(e)||qe.has(e)||Te.test(e),P=e=>M(e,"length",Ze),B=e=>!!e&&!Number.isNaN(Number(e)),K=e=>M(e,"number",B),T=e=>!!e&&Number.isInteger(Number(e)),ze=e=>e.endsWith("%")&&B(e.slice(0,-1)),s=e=>fe.test(e),b=e=>ve.test(e),Ve=new Set(["length","size","percentage"]),We=e=>M(e,Ve,ie),Ee=e=>M(e,"position",ie),Xe=new Set(["image","url"]),Ne=e=>M(e,Xe,Qe),Ke=e=>M(e,"",Je),q=()=>!0,M=(e,a,o)=>{let t=fe.exec(e);return t?t[1]?typeof a=="string"?t[1]===a:a.has(t[1]):o(t[2]):!1},Ze=e=>Ue.test(e)&&!Oe.test(e),ie=()=>!1,Je=e=>He.test(e),Qe=e=>Ge.test(e);var je=()=>{let e=f("colors"),a=f("spacing"),o=f("blur"),t=f("brightness"),d=f("borderColor"),u=f("borderRadius"),r=f("borderSpacing"),l=f("borderWidth"),c=f("contrast"),p=f("grayscale"),m=f("hueRotate"),C=f("invert"),g=f("gap"),S=f("gradientColorStops"),h=f("gradientColorStopPositions"),L=f("inset"),n=f("margin"),I=f("opacity"),x=f("padding"),D=f("saturate"),A=f("scale"),O=f("sepia"),Q=f("skew"),j=f("space"),Y=f("translate"),W=()=>["auto","contain","none"],E=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",s,a],i=()=>[s,a],$=()=>["",k,P],H=()=>["auto",B,s],_=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",s],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>[B,s];return {cacheSize:500,separator:":",theme:{colors:[q],spacing:[k,P],blur:["none","",b,s],brightness:w(),borderColor:[e],borderRadius:["none","","full",b,s],borderSpacing:i(),borderWidth:$(),contrast:w(),grayscale:R(),hueRotate:w(),invert:R(),gap:i(),gradientColorStops:[e],gradientColorStopPositions:[ze,P],inset:X(),margin:X(),opacity:w(),padding:i(),saturate:w(),scale:w(),sepia:R(),skew:w(),space:i(),translate:i()},classGroups:{aspect:[{aspect:["auto","square","video",s]}],container:["container"],columns:[{columns:[b]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"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"],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:[..._(),s]}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[L]}],"inset-x":[{"inset-x":[L]}],"inset-y":[{"inset-y":[L]}],start:[{start:[L]}],end:[{end:[L]}],top:[{top:[L]}],right:[{right:[L]}],bottom:[{bottom:[L]}],left:[{left:[L]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,s]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",s]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",T,s]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",T,s]},s]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[T,s]},s]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",s]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",s]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[n]}],mx:[{mx:[n]}],my:[{my:[n]}],ms:[{ms:[n]}],me:[{me:[n]}],mt:[{mt:[n]}],mr:[{mr:[n]}],mb:[{mb:[n]}],ml:[{ml:[n]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",s,a]}],"min-w":[{"min-w":[s,a,"min","max","fit"]}],"max-w":[{"max-w":[s,a,"none","full","min","max","fit","prose",{screen:[b]},b]}],h:[{h:[s,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[s,a,"auto","min","max","fit"]}],"font-size":[{text:["base",b,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",K]}],"font-family":[{font:[q]}],"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:["tighter","tight","normal","wide","wider","widest",s]}],"line-clamp":[{"line-clamp":["none",B,K]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,s]}],"list-image":[{"list-image":["none",s]}],"list-style-type":[{list:["none","disc","decimal",s]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,P]}],"underline-offset":[{"underline-offset":["auto",k,s]}],"text-decoration-color":[{decoration:[e]}],"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",s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[..._(),Ee]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",We]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ne]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[u]}],"rounded-s":[{"rounded-s":[u]}],"rounded-e":[{"rounded-e":[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-ss":[{"rounded-ss":[u]}],"rounded-se":[{"rounded-se":[u]}],"rounded-ee":[{"rounded-ee":[u]}],"rounded-es":[{"rounded-es":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:G()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[k,s]}],"outline-w":[{outline:[k,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[k,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",b,Ke]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[t]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",b,s]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[D]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[t]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[D]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[r]}],"border-spacing-x":[{"border-spacing-x":[r]}],"border-spacing-y":[{"border-spacing-y":[r]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",s]}],duration:[{duration:w()}],ease:[{ease:["linear","in","out","in-out",s]}],delay:[{delay:w()}],animate:[{animate:["none","spin","ping","pulse","bounce",s]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[T,s]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",s]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",s]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],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",s]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[k,P,K]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}};var ce=Re(je);function F(...e){return ce(oe(e))}var ne=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),z=(...e)=>e.filter((a,o,t)=>!!a&&a.trim()!==""&&t.indexOf(a)===o).join(" ").trim();var pe={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 Le=react.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:d="",children:u,iconNode:r,...l},c)=>react.createElement("svg",{ref:c,...pe,width:a,height:a,stroke:e,strokeWidth:t?Number(o)*24/Number(a):o,className:z("lucide",d),...l},[...r.map(([p,m])=>react.createElement(p,m)),...Array.isArray(u)?u:[u]]));var V=(e,a)=>{let o=react.forwardRef(({className:t,...d},u)=>react.createElement(Le,{ref:u,iconNode:a,className:z(`lucide-${ne(e)}`,t),...d}));return o.displayName=`${e}`,o};var v=V("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var U=V("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);var Ie=v,xe=U;var _a=["sm","md"],et=[!0,"indeterminate",!1],at=({className:e,label:a,size:o="md",disabled:t=!1,onCheckedChange:d,...u})=>{let r=react.useCallback(l=>{d?.(l.checked);},[d]);return jsxRuntime.jsxs(react$1.CheckboxRoot,{"data-size":o,className:F("group flex h-fit w-fit data-[disabled]:cursor-not-allowed data-[size=md]:gap-2.5 data-[size=sm]:gap-2",e),disabled:t,onCheckedChange:r,...u,children:[jsxRuntime.jsxs(react$1.CheckboxControl,{className:F("relative flex items-center justify-center rounded-sm ring-1 ring-inset ring-neutral-900 transition-all after:absolute after:rounded-full group-data-[size=md]:mt-0.125 group-data-[size=sm]:mt-0.25","group-data-[size=sm]:h-4 group-data-[size=sm]:w-4 after:group-data-[size=sm]:h-6 after:group-data-[size=sm]:w-6","group-data-[size=md]:h-5 group-data-[size=md]:w-5 after:group-data-[size=md]:-left-1.5 after:group-data-[size=md]:-top-1.5 after:group-data-[size=md]:h-8 after:group-data-[size=md]:w-8",!t&&"after:group-hover:bg-transparent-primary-20 group-hover:data-[state=unchecked]:ring-primary-600",!t&&"group-active:data-[state=checked]:bg-primary-700 group-active:data-[state=indeterminate]:bg-primary-700 group-active:data-[state=unchecked]:ring-primary-700",!t&&"data-[state=checked]:bg-primary-500 data-[state=checked]:ring-0 group-hover:data-[state=checked]:bg-primary-600",!t&&"data-[state=indeterminate]:bg-primary-500 data-[state=indeterminate]:ring-0 group-hover:data-[state=indeterminate]:bg-primary-600",t&&"data-[state=checked]:data-[disabled]:bg-neutral-500 data-[state=checked]:data-[disabled]:ring-0",t&&"data-[state=unchecked]:data-[disabled]:ring-neutral-500",t&&"data-[state=indeterminate]:data-[disabled]:ring-neutral-500"),children:[jsxRuntime.jsx(react$1.CheckboxIndicator,{children:jsxRuntime.jsx(Ie,{className:F("text-neutral-50","group-data-[size=md]:h-4.5 group-data-[size=md]:w-4.5","group-data-[size=sm]:h-4 group-data-[size=sm]:w-4")})}),jsxRuntime.jsx(react$1.CheckboxIndicator,{indeterminate:!0,children:jsxRuntime.jsx(xe,{className:F("text-neutral-50","group-data-[size=md]:h-4.5 group-data-[size=md]:w-4.5","group-data-[size=sm]:h-4 group-data-[size=sm]:w-4")})})]}),a&&jsxRuntime.jsx(react$1.CheckboxLabel,{className:F("font-inter !leading-[130%]","group-data-[size=md]:text-base","group-data-[size=sm]:text-sm",!t&&"text-neutral-900",t&&"text-neutral-500"),children:a}),jsxRuntime.jsx(react$1.CheckboxHiddenInput,{})]})};/*! Bundled license information:
2
2
 
3
3
  lucide-react/dist/esm/shared/src/utils.js:
4
4
  (**
@@ -55,4 +55,4 @@ lucide-react/dist/esm/lucide-react.js:
55
55
  * This source code is licensed under the ISC license.
56
56
  * See the LICENSE file in the root directory of this source tree.
57
57
  *)
58
- */exports.Checkbox=ta;exports.CheckboxSizes=Ka;
58
+ */exports.Checkbox=at;exports.CheckboxCheckedStates=et;exports.CheckboxSizes=_a;
package/dist/checkbox.mjs CHANGED
@@ -1 +1 @@
1
- export{b as Checkbox,a as CheckboxSizes}from'./chunk-WB3TMFNI.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
1
+ export{c as Checkbox,b as CheckboxCheckedStates,a as CheckboxSizes}from'./chunk-FXWF3IBH.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
+
4
+ declare const CheckboxSizes_old: readonly ["sm", "md"];
5
+ type CheckboxSize_old = (typeof CheckboxSizes_old)[number];
6
+ type CheckboxProps_old = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> & {
7
+ id?: string;
8
+ label?: string;
9
+ size?: CheckboxSize_old;
10
+ };
11
+ declare const Checkbox_old: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
12
+ id?: string;
13
+ label?: string;
14
+ size?: CheckboxSize_old;
15
+ } & React.RefAttributes<HTMLButtonElement>>;
16
+
17
+ export { type CheckboxProps_old, type CheckboxSize_old, CheckboxSizes_old, Checkbox_old };
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
+
4
+ declare const CheckboxSizes_old: readonly ["sm", "md"];
5
+ type CheckboxSize_old = (typeof CheckboxSizes_old)[number];
6
+ type CheckboxProps_old = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> & {
7
+ id?: string;
8
+ label?: string;
9
+ size?: CheckboxSize_old;
10
+ };
11
+ declare const Checkbox_old: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
12
+ id?: string;
13
+ label?: string;
14
+ size?: CheckboxSize_old;
15
+ } & React.RefAttributes<HTMLButtonElement>>;
16
+
17
+ export { type CheckboxProps_old, type CheckboxSize_old, CheckboxSizes_old, Checkbox_old };
@@ -0,0 +1,58 @@
1
+ 'use strict';var he=require('react'),O=require('@radix-ui/react-checkbox'),reactLabel=require('@radix-ui/react-label'),jsxRuntime=require('react/jsx-runtime');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 he__namespace=/*#__PURE__*/_interopNamespace(he);var O__namespace=/*#__PURE__*/_interopNamespace(O);function oe(e){var t,a,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var d=e.length;for(t=0;t<d;t++)e[t]&&(a=oe(e[t]))&&(o&&(o+=" "),o+=a);}else for(a in e)e[a]&&(o&&(o+=" "),o+=a);return o}function le(){for(var e,t,a=0,o="",d=arguments.length;a<d;a++)(e=arguments[a])&&(t=oe(e))&&(o&&(o+=" "),o+=t);return o}var Q="-",Se=e=>{let t=ke(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:s=>{let u=s.split(Q);return u[0]===""&&u.length!==1&&u.shift(),re(u,t)||we(s)},getConflictingClassGroupIds:(s,u)=>{let c=a[s]||[];return u&&o[s]?[...c,...o[s]]:c}}},re=(e,t)=>{if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),d=o?re(e.slice(1),o):void 0;if(d)return d;if(t.validators.length===0)return;let l=e.join(Q);return t.validators.find(({validator:s})=>s(l))?.classGroupId},ue=/^\[(.+)\]$/,we=e=>{if(ue.test(e)){let t=ue.exec(e)[1],a=t?.substring(0,t.indexOf(":"));if(a)return "arbitrary.."+a}},ke=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return be(Object.entries(e.classGroups),a).forEach(([l,s])=>{J(s,o,l,t);}),o},J=(e,t,a,o)=>{e.forEach(d=>{if(typeof d=="string"){let l=d===""?t:de(t,d);l.classGroupId=a;return}if(typeof d=="function"){if(Pe(d)){J(d(o),t,a,o);return}t.validators.push({validator:d,classGroupId:a});return}Object.entries(d).forEach(([l,s])=>{J(s,de(t,l),a,o);});});},de=(e,t)=>{let a=e;return t.split(Q).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o);}),a},Pe=e=>e.isThemeGetter,be=(e,t)=>t?e.map(([a,o])=>{let d=o.map(l=>typeof l=="string"?t+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([s,u])=>[t+s,u])):l);return [a,d]}):e,Ae=e=>{if(e<1)return {get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,d=(l,s)=>{a.set(l,s),t++,t>e&&(t=0,o=a,a=new Map);};return {get(l){let s=a.get(l);if(s!==void 0)return s;if((s=o.get(l))!==void 0)return d(l,s),s},set(l,s){a.has(l)?a.set(l,s):d(l,s);}}},se="!",Be=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,d=t[0],l=t.length,s=u=>{let c=[],p=0,m=0,C;for(let n=0;n<u.length;n++){let I=u[n];if(p===0){if(I===d&&(o||u.slice(n,n+l)===t)){c.push(u.slice(m,n)),m=n+l;continue}if(I==="/"){C=n;continue}}I==="["?p++:I==="]"&&p--;}let g=c.length===0?u:u.substring(m),S=g.startsWith(se),h=S?g.substring(1):g,L=C&&C>m?C-m:void 0;return {modifiers:c,hasImportantModifier:S,baseClassName:h,maybePostfixModifierPosition:L}};return a?u=>a({className:u,parseClassName:s}):s},Me=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o);}),t.push(...a.sort()),t},ye=e=>({cache:Ae(e.cacheSize),parseClassName:Be(e),...Se(e)}),Fe=/\s+/,De=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:d}=t,l=[],s=e.trim().split(Fe),u="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:m,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:S}=a(p),h=!!S,L=o(h?g.substring(0,S):g);if(!L){if(!h){u=p+(u.length>0?" "+u:u);continue}if(L=o(g),!L){u=p+(u.length>0?" "+u:u);continue}h=!1;}let n=Me(m).join(":"),I=C?n+se:n,x=I+L;if(l.includes(x))continue;l.push(x);let y=d(L,h);for(let A=0;A<y.length;++A){let H=y[A];l.push(I+H);}u=p+(u.length>0?" "+u:u);}return u};function Re(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=fe(t))&&(o&&(o+=" "),o+=a);return o}var fe=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=fe(e[o]))&&(a&&(a+=" "),a+=t);return a};function Te(e,...t){let a,o,d,l=s;function s(c){let p=t.reduce((m,C)=>C(m),e());return a=ye(p),o=a.cache.get,d=a.cache.set,l=u,u(c)}function u(c){let p=o(c);if(p)return p;let m=De(c,a);return d(c,m),m}return function(){return l(Re.apply(null,arguments))}}var f=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},ie=/^\[(?:([a-z-]+):)?(.+)\]$/i,ve=/^\d+\/\d+$/,qe=new Set(["px","full","screen"]),Ue=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Oe=/\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$/,He=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ge=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ze=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k=e=>B(e)||qe.has(e)||ve.test(e),P=e=>M(e,"length",Je),B=e=>!!e&&!Number.isNaN(Number(e)),Z=e=>M(e,"number",B),D=e=>!!e&&Number.isInteger(Number(e)),Ve=e=>e.endsWith("%")&&B(e.slice(0,-1)),r=e=>ie.test(e),b=e=>Ue.test(e),We=new Set(["length","size","percentage"]),Ee=e=>M(e,We,ce),Xe=e=>M(e,"position",ce),Ne=new Set(["image","url"]),Ke=e=>M(e,Ne,je),Ze=e=>M(e,"",Qe),R=()=>!0,M=(e,t,a)=>{let o=ie.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},Je=e=>Oe.test(e)&&!He.test(e),ce=()=>!1,Qe=e=>Ge.test(e),je=e=>ze.test(e);var _e=()=>{let e=f("colors"),t=f("spacing"),a=f("blur"),o=f("brightness"),d=f("borderColor"),l=f("borderRadius"),s=f("borderSpacing"),u=f("borderWidth"),c=f("contrast"),p=f("grayscale"),m=f("hueRotate"),C=f("invert"),g=f("gap"),S=f("gradientColorStops"),h=f("gradientColorStopPositions"),L=f("inset"),n=f("margin"),I=f("opacity"),x=f("padding"),y=f("saturate"),A=f("scale"),H=f("sepia"),j=f("skew"),_=f("space"),Y=f("translate"),E=()=>["auto","contain","none"],X=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",r,t],i=()=>[r,t],$=()=>["",k,P],G=()=>["auto",B,r],ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],F=()=>["","0",r],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>[B,r];return {cacheSize:500,separator:":",theme:{colors:[R],spacing:[k,P],blur:["none","",b,r],brightness:w(),borderColor:[e],borderRadius:["none","","full",b,r],borderSpacing:i(),borderWidth:$(),contrast:w(),grayscale:F(),hueRotate:w(),invert:F(),gap:i(),gradientColorStops:[e],gradientColorStopPositions:[Ve,P],inset:N(),margin:N(),opacity:w(),padding:i(),saturate:w(),scale:w(),sepia:F(),skew:w(),space:i(),translate:i()},classGroups:{aspect:[{aspect:["auto","square","video",r]}],container:["container"],columns:[{columns:[b]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"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"],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:[...ee(),r]}],overflow:[{overflow:X()}],"overflow-x":[{"overflow-x":X()}],"overflow-y":[{"overflow-y":X()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[L]}],"inset-x":[{"inset-x":[L]}],"inset-y":[{"inset-y":[L]}],start:[{start:[L]}],end:[{end:[L]}],top:[{top:[L]}],right:[{right:[L]}],bottom:[{bottom:[L]}],left:[{left:[L]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",D,r]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",r]}],grow:[{grow:F()}],shrink:[{shrink:F()}],order:[{order:["first","last","none",D,r]}],"grid-cols":[{"grid-cols":[R]}],"col-start-end":[{col:["auto",{span:["full",D,r]},r]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[R]}],"row-start-end":[{row:["auto",{span:[D,r]},r]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",r]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",r]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[n]}],mx:[{mx:[n]}],my:[{my:[n]}],ms:[{ms:[n]}],me:[{me:[n]}],mt:[{mt:[n]}],mr:[{mr:[n]}],mb:[{mb:[n]}],ml:[{ml:[n]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",r,t]}],"min-w":[{"min-w":[r,t,"min","max","fit"]}],"max-w":[{"max-w":[r,t,"none","full","min","max","fit","prose",{screen:[b]},b]}],h:[{h:[r,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[r,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[r,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[r,t,"auto","min","max","fit"]}],"font-size":[{text:["base",b,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Z]}],"font-family":[{font:[R]}],"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:["tighter","tight","normal","wide","wider","widest",r]}],"line-clamp":[{"line-clamp":["none",B,Z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,r]}],"list-image":[{"list-image":["none",r]}],"list-style-type":[{list:["none","disc","decimal",r]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,P]}],"underline-offset":[{"underline-offset":["auto",k,r]}],"text-decoration-color":[{decoration:[e]}],"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",r]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",r]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ee(),Xe]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ee]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ke]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:z()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...z()]}],"outline-offset":[{"outline-offset":[k,r]}],"outline-w":[{outline:[k,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[k,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",b,Ze]}],"shadow-color":[{shadow:[R]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...ae(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ae()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",b,r]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[y]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",r]}],duration:[{duration:w()}],ease:[{ease:["linear","in","out","in-out",r]}],delay:[{delay:w()}],animate:[{animate:["none","spin","ping","pulse","bounce",r]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[D,r]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",r]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",r]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],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",r]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[k,P,Z]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}};var ne=Te(_e);function T(...e){return ne(le(e))}var pe=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),V=(...e)=>e.filter((t,a,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===a).join(" ").trim();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 Ie=he.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:d="",children:l,iconNode:s,...u},c)=>he.createElement("svg",{ref:c,...me,width:t,height:t,stroke:e,strokeWidth:o?Number(a)*24/Number(t):a,className:V("lucide",d),...u},[...s.map(([p,m])=>he.createElement(p,m)),...Array.isArray(l)?l:[l]]));var W=(e,t)=>{let a=he.forwardRef(({className:o,...d},l)=>he.createElement(Ie,{ref:l,iconNode:t,className:V(`lucide-${pe(e)}`,o),...d}));return a.displayName=`${e}`,a};var v=W("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var q=W("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);var xe=v,Ce=q;var Ka=["sm","md"],ta=he__namespace.forwardRef(({className:e,label:t,size:a="md",...o},d)=>jsxRuntime.jsxs("div",{className:T("flex items-center",a==="md"&&"gap-3",a==="sm"&&"gap-2",e),children:[jsxRuntime.jsx("div",{className:T("flex flex-shrink-0 rounded-full transition-all has-[:hover]:has-[:enabled]:[&:not(:active)]:bg-transparent-primary-20 has-[:hover]:[&:not(:disabled)]:[&:not(:active)]:ring-transparent-primary-20",a==="sm"&&"h-4 w-4 has-[:hover]:has-[:enabled]:[&:not(:active)]:ring-4",a=="md"&&"h-5 w-5 has-[:hover]:has-[:enabled]:[&:not(:active)]:ring-6"),children:jsxRuntime.jsx(O__namespace.Root,{ref:d,className:T("flex-shrink-0 rounded-sm ring-2 ring-inset ring-neutral-900 active:enabled:ring-primary-700 disabled:cursor-not-allowed disabled:ring-neutral-500 data-[state=checked]:enabled:bg-primary-500 data-[state=indeterminate]:enabled:bg-primary-500 data-[state=checked]:enabled:ring-0 data-[state=indeterminate]:enabled:ring-0 hover:data-[state=checked]:enabled:bg-primary-600 hover:data-[state=indeterminate]:enabled:bg-primary-600 hover:data-[state=unchecked]:enabled:ring-primary-600 active:enabled:data-[state=checked]:bg-primary-700 active:enabled:data-[state=indeterminate]:bg-primary-700 disabled:data-[state=checked]:bg-neutral-500 disabled:data-[state=indeterminate]:bg-neutral-500",a==="sm"&&"h-4 w-4",a==="md"&&"h-5 w-5"),...o,children:jsxRuntime.jsxs(O__namespace.Indicator,{className:"flex items-center justify-center",children:[o.checked!=="indeterminate"&&jsxRuntime.jsx(xe,{size:a==="sm"?14:18,className:"text-neutral-50"}),o.checked==="indeterminate"&&jsxRuntime.jsx(Ce,{size:a==="sm"?14:18,className:"text-neutral-50"})]})})}),t&&jsxRuntime.jsx(reactLabel.Label,{htmlFor:o.id,className:T("font-normal leading-[130%] text-neutral-900",o.disabled&&"text-neutral-500",a==="md"&&"text-base",a==="sm"&&"text-sm"),children:t})]}));ta.displayName=O__namespace.Root.displayName;/*! Bundled license information:
2
+
3
+ lucide-react/dist/esm/shared/src/utils.js:
4
+ (**
5
+ * @license lucide-react v0.469.0 - ISC
6
+ *
7
+ * This source code is licensed under the ISC license.
8
+ * See the LICENSE file in the root directory of this source tree.
9
+ *)
10
+
11
+ lucide-react/dist/esm/defaultAttributes.js:
12
+ (**
13
+ * @license lucide-react v0.469.0 - ISC
14
+ *
15
+ * This source code is licensed under the ISC license.
16
+ * See the LICENSE file in the root directory of this source tree.
17
+ *)
18
+
19
+ lucide-react/dist/esm/Icon.js:
20
+ (**
21
+ * @license lucide-react v0.469.0 - ISC
22
+ *
23
+ * This source code is licensed under the ISC license.
24
+ * See the LICENSE file in the root directory of this source tree.
25
+ *)
26
+
27
+ lucide-react/dist/esm/createLucideIcon.js:
28
+ (**
29
+ * @license lucide-react v0.469.0 - ISC
30
+ *
31
+ * This source code is licensed under the ISC license.
32
+ * See the LICENSE file in the root directory of this source tree.
33
+ *)
34
+
35
+ lucide-react/dist/esm/icons/check.js:
36
+ (**
37
+ * @license lucide-react v0.469.0 - ISC
38
+ *
39
+ * This source code is licensed under the ISC license.
40
+ * See the LICENSE file in the root directory of this source tree.
41
+ *)
42
+
43
+ lucide-react/dist/esm/icons/minus.js:
44
+ (**
45
+ * @license lucide-react v0.469.0 - ISC
46
+ *
47
+ * This source code is licensed under the ISC license.
48
+ * See the LICENSE file in the root directory of this source tree.
49
+ *)
50
+
51
+ lucide-react/dist/esm/lucide-react.js:
52
+ (**
53
+ * @license lucide-react v0.469.0 - ISC
54
+ *
55
+ * This source code is licensed under the ISC license.
56
+ * See the LICENSE file in the root directory of this source tree.
57
+ *)
58
+ */exports.CheckboxSizes_old=Ka;exports.Checkbox_old=ta;
@@ -0,0 +1 @@
1
+ export{a as CheckboxSizes_old,b as Checkbox_old}from'./chunk-5I7W67E3.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
@@ -1 +1 @@
1
- import {a as a$2}from'./chunk-ENF7AQB7.mjs';import {j as j$1}from'./chunk-EYEAWZZH.mjs';import {a as a$1}from'./chunk-QHBCNAWO.mjs';import {c as c$1}from'./chunk-WS2F7JWJ.mjs';import {c}from'./chunk-DZLL7IH6.mjs';import {a}from'./chunk-2WINTZSS.mjs';import*as s from'react';import*as t from'@radix-ui/react-dialog';import*as v from'@radix-ui/react-visually-hidden';import {jsx,jsxs}from'react/jsx-runtime';var V=["sm","md","lg","xl"],h=({...r})=>jsx(t.Root,{...r});h.displayName="Drawer";var j=t.Trigger,B=t.Portal,k=t.Close,x=s.forwardRef(({className:r,...a$1},o)=>jsx(t.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-neutral-900/60","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=open]:animate-in data-[state=closed]:animate-out","transition-all",r),...a$1}));x.displayName=t.Overlay.displayName;var A=s.forwardRef(({className:r,size:a$3="sm",title:o,description:i,children:f,isLoading:c=!1,loadingText:n="",buttons:d,hideHeader:D=!1,onPointerDownOutside:b,...H},T)=>jsx(B,{children:jsx(x,{children:jsx(t.Content,{onPointerDownOutside:m=>{m.target instanceof Element&&m.target.closest(".pac-container")&&m.preventDefault(),b?.(m);},ref:T,...!i||D?{"aria-describedby":void 0}:{},className:a("fixed right-0 top-0 z-50 flex h-full flex-col bg-neutral-50",a$3==="sm"&&"w-[29.375rem] max-w-[29.375rem]",a$3==="md"&&"w-[47.5rem] max-w-[47.5rem]",a$3==="lg"&&"w-[58.75rem] max-w-[58.75rem]",a$3==="xl"&&"w-[78.125rem] max-w-[78.125rem]","data-[state=open]:animate-slideIn","data-[state=closed]:animate-swipeOut",r),...H,children:jsxs(a$1,{className:"h-full",viewPortClassName:"pr-8 pt-10 pl-6",children:[D?jsx(v.Root,{children:jsx(j$1,{children:"Drawer"})}):jsx(N,{title:o,description:i,buttons:d}),jsx("div",{className:a("flex flex-1 flex-col pb-6",r),children:c?jsxs("div",{className:"flex flex-1 flex-col items-center justify-center",children:[jsx(a$2,{}),n&&jsx("p",{children:n})]}):f})]})})})}));A.displayName="DrawerContent";var N=({className:r,title:a$1,description:o,buttons:i=[],...f})=>jsxs("div",{className:a("mb-7",r),...f,children:[jsxs("div",{className:"flex justify-between gap-2",children:[a$1&&jsx(C,{children:a$1}),!Array.isArray(i)&&i.visible!==!1&&jsx(c,{size:"sm",variant:"ghost",...i}),Array.isArray(i)&&jsx("div",{className:"flex gap-1",children:i.map(({visible:c=!0,...n},d)=>c?jsx(c$1,{variant:"ghost",size:"sm",...n},d):null)})]}),o&&jsx(P,{className:"mt-1",children:o})]});N.displayName="DrawerHeader";var O=({className:r,...a$1})=>jsx("div",{className:a("mt-auto flex pt-6",r),...a$1});O.displayName="DrawerFooter";var C=s.forwardRef(({className:r,...a$1},o)=>jsx(t.Title,{ref:o,className:a("font-jakarta text-2xl font-semibold leading-[130%] text-neutral-900",r),...a$1}));C.displayName=t.Title.displayName;var P=s.forwardRef(({className:r,...a$1},o)=>jsx(t.Description,{ref:o,className:a("text-sm leading-[130%] text-neutral-900",r),...a$1}));P.displayName=t.Description.displayName;export{V as a,h as b,j as c,B as d,k as e,x as f,A as g,N as h,O as i,C as j,P as k};
1
+ import {a as a$2}from'./chunk-ENF7AQB7.mjs';import {j as j$1}from'./chunk-EYEAWZZH.mjs';import {c as c$1}from'./chunk-WS2F7JWJ.mjs';import {a as a$1}from'./chunk-QHBCNAWO.mjs';import {c}from'./chunk-DZLL7IH6.mjs';import {a}from'./chunk-2WINTZSS.mjs';import*as s from'react';import*as t from'@radix-ui/react-dialog';import*as v from'@radix-ui/react-visually-hidden';import {jsx,jsxs}from'react/jsx-runtime';var V=["sm","md","lg","xl"],h=({...r})=>jsx(t.Root,{...r});h.displayName="Drawer";var j=t.Trigger,B=t.Portal,k=t.Close,x=s.forwardRef(({className:r,...a$1},o)=>jsx(t.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-neutral-900/60","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=open]:animate-in data-[state=closed]:animate-out","transition-all",r),...a$1}));x.displayName=t.Overlay.displayName;var A=s.forwardRef(({className:r,size:a$3="sm",title:o,description:i,children:f,isLoading:c=!1,loadingText:n="",buttons:d,hideHeader:D=!1,onPointerDownOutside:b,...H},T)=>jsx(B,{children:jsx(x,{children:jsx(t.Content,{onPointerDownOutside:m=>{m.target instanceof Element&&m.target.closest(".pac-container")&&m.preventDefault(),b?.(m);},ref:T,...!i||D?{"aria-describedby":void 0}:{},className:a("fixed right-0 top-0 z-50 flex h-full flex-col bg-neutral-50",a$3==="sm"&&"w-[29.375rem] max-w-[29.375rem]",a$3==="md"&&"w-[47.5rem] max-w-[47.5rem]",a$3==="lg"&&"w-[58.75rem] max-w-[58.75rem]",a$3==="xl"&&"w-[78.125rem] max-w-[78.125rem]","data-[state=open]:animate-slideIn","data-[state=closed]:animate-swipeOut",r),...H,children:jsxs(a$1,{className:"h-full",viewPortClassName:"pr-8 pt-10 pl-6",children:[D?jsx(v.Root,{children:jsx(j$1,{children:"Drawer"})}):jsx(N,{title:o,description:i,buttons:d}),jsx("div",{className:a("flex flex-1 flex-col pb-6",r),children:c?jsxs("div",{className:"flex flex-1 flex-col items-center justify-center",children:[jsx(a$2,{}),n&&jsx("p",{children:n})]}):f})]})})})}));A.displayName="DrawerContent";var N=({className:r,title:a$1,description:o,buttons:i=[],...f})=>jsxs("div",{className:a("mb-7",r),...f,children:[jsxs("div",{className:"flex justify-between gap-2",children:[a$1&&jsx(C,{children:a$1}),!Array.isArray(i)&&i.visible!==!1&&jsx(c,{size:"sm",variant:"ghost",...i}),Array.isArray(i)&&jsx("div",{className:"flex gap-1",children:i.map(({visible:c=!0,...n},d)=>c?jsx(c$1,{variant:"ghost",size:"sm",...n},d):null)})]}),o&&jsx(P,{className:"mt-1",children:o})]});N.displayName="DrawerHeader";var O=({className:r,...a$1})=>jsx("div",{className:a("mt-auto flex pt-6",r),...a$1});O.displayName="DrawerFooter";var C=s.forwardRef(({className:r,...a$1},o)=>jsx(t.Title,{ref:o,className:a("font-jakarta text-2xl font-semibold leading-[130%] text-neutral-900",r),...a$1}));C.displayName=t.Title.displayName;var P=s.forwardRef(({className:r,...a$1},o)=>jsx(t.Description,{ref:o,className:a("text-sm leading-[130%] text-neutral-900",r),...a$1}));P.displayName=t.Description.displayName;export{V as a,h as b,j as c,B as d,k as e,x as f,A as g,N as h,O as i,C as j,P as k};
@@ -0,0 +1 @@
1
+ import {j,k}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import {CheckboxRoot,CheckboxControl,CheckboxIndicator,CheckboxLabel,CheckboxHiddenInput}from'@ark-ui/react';import {useCallback}from'react';import {jsxs,jsx}from'react/jsx-runtime';var P=["sm","md"],N=[!0,"indeterminate",!1],R=({className:n,label:r,size:h="md",disabled:e=!1,onCheckedChange:o,...m})=>{let p=useCallback(g=>{o?.(g.checked);},[o]);return jsxs(CheckboxRoot,{"data-size":h,className:a("group flex h-fit w-fit data-[disabled]:cursor-not-allowed data-[size=md]:gap-2.5 data-[size=sm]:gap-2",n),disabled:e,onCheckedChange:p,...m,children:[jsxs(CheckboxControl,{className:a("relative flex items-center justify-center rounded-sm ring-1 ring-inset ring-neutral-900 transition-all after:absolute after:rounded-full group-data-[size=md]:mt-0.125 group-data-[size=sm]:mt-0.25","group-data-[size=sm]:h-4 group-data-[size=sm]:w-4 after:group-data-[size=sm]:h-6 after:group-data-[size=sm]:w-6","group-data-[size=md]:h-5 group-data-[size=md]:w-5 after:group-data-[size=md]:-left-1.5 after:group-data-[size=md]:-top-1.5 after:group-data-[size=md]:h-8 after:group-data-[size=md]:w-8",!e&&"after:group-hover:bg-transparent-primary-20 group-hover:data-[state=unchecked]:ring-primary-600",!e&&"group-active:data-[state=checked]:bg-primary-700 group-active:data-[state=indeterminate]:bg-primary-700 group-active:data-[state=unchecked]:ring-primary-700",!e&&"data-[state=checked]:bg-primary-500 data-[state=checked]:ring-0 group-hover:data-[state=checked]:bg-primary-600",!e&&"data-[state=indeterminate]:bg-primary-500 data-[state=indeterminate]:ring-0 group-hover:data-[state=indeterminate]:bg-primary-600",e&&"data-[state=checked]:data-[disabled]:bg-neutral-500 data-[state=checked]:data-[disabled]:ring-0",e&&"data-[state=unchecked]:data-[disabled]:ring-neutral-500",e&&"data-[state=indeterminate]:data-[disabled]:ring-neutral-500"),children:[jsx(CheckboxIndicator,{children:jsx(j,{className:a("text-neutral-50","group-data-[size=md]:h-4.5 group-data-[size=md]:w-4.5","group-data-[size=sm]:h-4 group-data-[size=sm]:w-4")})}),jsx(CheckboxIndicator,{indeterminate:!0,children:jsx(k,{className:a("text-neutral-50","group-data-[size=md]:h-4.5 group-data-[size=md]:w-4.5","group-data-[size=sm]:h-4 group-data-[size=sm]:w-4")})})]}),r&&jsx(CheckboxLabel,{className:a("font-inter !leading-[130%]","group-data-[size=md]:text-base","group-data-[size=sm]:text-sm",!e&&"text-neutral-900",e&&"text-neutral-500"),children:r}),jsx(CheckboxHiddenInput,{})]})};export{P as a,N as b,R as c};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-QHBCNAWO.mjs';import {c as c$1}from'./chunk-WS2F7JWJ.mjs';import {c}from'./chunk-DZLL7IH6.mjs';import {d}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import {Dialog}from'@ark-ui/react/dialog';import {Portal}from'@ark-ui/react/portal';import {forwardRef,useCallback}from'react';import {jsxs,jsx}from'react/jsx-runtime';var q=({onOpenChange:a,...o})=>{let r=useCallback(t=>{a?.(t.open);},[a]);return jsx(Dialog.Root,{unmountOnExit:!0,lazyMount:!0,onOpenChange:r,trapFocus:!1,...o})},G=Dialog.Trigger,J=["sm","md","lg","xl"],v=forwardRef(({children:a$1,className:o,size:r="sm",...t},n)=>jsxs(Portal,{children:[jsx(Dialog.Backdrop,{className:"fixed inset-0 z-40 bg-neutral-900/60 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),jsx(Dialog.Positioner,{className:"fixed left-0 top-0 z-40 flex h-screen w-screen items-center justify-end",children:jsx(Dialog.Content,{ref:n,className:a("elevation-10 h-full bg-neutral-50 data-[state=closed]:animate-swipeOut data-[state=open]:animate-slideIn",r==="sm"&&"w-117.5",r==="md"&&"w-187",r==="lg"&&"w-235",r==="xl"&&"w-312",o),...t,children:jsx("div",{className:"flex h-full flex-1 flex-col",children:a$1})})})]}));v.displayName="DrawerStickyContent";var C=forwardRef(({children:a$1,className:o,title:r,buttons:t=[],description:n,...D},g)=>jsxs("div",{className:a("border-b-1 border-neutral-200 pb-3.75 pl-4.5 pt-2",o),ref:g,...D,children:[jsx(Dialog.CloseTrigger,{asChild:!0,children:jsx(d,{className:"ml-auto mr-2 size-6 cursor-pointer"})}),jsxs("div",{className:"mr-4.5 mt-2 flex items-center justify-between gap-4.5",children:[jsx(Dialog.Title,{className:"line-clamp-1 break-all font-jakarta text-2xl font-semibold leading-[130%] text-neutral-900",children:r}),!Array.isArray(t)&&t.visible!==!1&&jsx(c,{size:"sm",variant:"ghost",...t}),Array.isArray(t)&&jsx("div",{className:"flex gap-1",children:t.map(({visible:f=!0,...u},w)=>f?jsx(c$1,{variant:"ghost",size:"sm",...u},w):null)})]}),n&&jsx(Dialog.Description,{className:"mr-4.5 mt-1 line-clamp-2 break-all font-inter text-sm leading-[130%] text-neutral-900",children:n})]}));C.displayName="DrawerStickyHeader";var P=forwardRef(({children:a$1,className:o,...r},t)=>jsx("div",{className:a("flex justify-end gap-3 border-t-1 border-neutral-200 px-4.5 pb-4.5 pt-4.25",o),ref:t,...r,children:a$1}));P.displayName="DrawerStickyFooter";var b=forwardRef(({children:a$2,className:o,...r},t)=>jsxs(a$1,{viewPortClassName:"py-4 px-6",className:a("h-full",o),ref:t,...r,children:[a$2,jsx("div",{className:"min-h-4"})]}));b.displayName="DrawerStickyBody";var K=Dialog.CloseTrigger;export{q as a,G as b,J as c,v as d,C as e,P as f,b as g,K as h};
1
+ import {c as c$1}from'./chunk-WS2F7JWJ.mjs';import {a as a$1}from'./chunk-QHBCNAWO.mjs';import {c}from'./chunk-DZLL7IH6.mjs';import {d}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import {Dialog}from'@ark-ui/react/dialog';import {Portal}from'@ark-ui/react/portal';import {forwardRef,useCallback}from'react';import {jsxs,jsx}from'react/jsx-runtime';var q=({onOpenChange:a,...o})=>{let r=useCallback(t=>{a?.(t.open);},[a]);return jsx(Dialog.Root,{unmountOnExit:!0,lazyMount:!0,onOpenChange:r,trapFocus:!1,...o})},G=Dialog.Trigger,J=["sm","md","lg","xl"],v=forwardRef(({children:a$1,className:o,size:r="sm",...t},n)=>jsxs(Portal,{children:[jsx(Dialog.Backdrop,{className:"fixed inset-0 z-40 bg-neutral-900/60 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),jsx(Dialog.Positioner,{className:"fixed left-0 top-0 z-40 flex h-screen w-screen items-center justify-end",children:jsx(Dialog.Content,{ref:n,className:a("elevation-10 h-full bg-neutral-50 data-[state=closed]:animate-swipeOut data-[state=open]:animate-slideIn",r==="sm"&&"w-117.5",r==="md"&&"w-187",r==="lg"&&"w-235",r==="xl"&&"w-312",o),...t,children:jsx("div",{className:"flex h-full flex-1 flex-col",children:a$1})})})]}));v.displayName="DrawerStickyContent";var C=forwardRef(({children:a$1,className:o,title:r,buttons:t=[],description:n,...D},g)=>jsxs("div",{className:a("border-b-1 border-neutral-200 pb-3.75 pl-4.5 pt-2",o),ref:g,...D,children:[jsx(Dialog.CloseTrigger,{asChild:!0,children:jsx(d,{className:"ml-auto mr-2 size-6 cursor-pointer"})}),jsxs("div",{className:"mr-4.5 mt-2 flex items-center justify-between gap-4.5",children:[jsx(Dialog.Title,{className:"line-clamp-1 break-all font-jakarta text-2xl font-semibold leading-[130%] text-neutral-900",children:r}),!Array.isArray(t)&&t.visible!==!1&&jsx(c,{size:"sm",variant:"ghost",...t}),Array.isArray(t)&&jsx("div",{className:"flex gap-1",children:t.map(({visible:f=!0,...u},w)=>f?jsx(c$1,{variant:"ghost",size:"sm",...u},w):null)})]}),n&&jsx(Dialog.Description,{className:"mr-4.5 mt-1 line-clamp-2 break-all font-inter text-sm leading-[130%] text-neutral-900",children:n})]}));C.displayName="DrawerStickyHeader";var P=forwardRef(({children:a$1,className:o,...r},t)=>jsx("div",{className:a("flex justify-end gap-3 border-t-1 border-neutral-200 px-4.5 pb-4.5 pt-4.25",o),ref:t,...r,children:a$1}));P.displayName="DrawerStickyFooter";var b=forwardRef(({children:a$2,className:o,...r},t)=>jsxs(a$1,{viewPortClassName:"py-4 px-6",className:a("h-full",o),ref:t,...r,children:[a$2,jsx("div",{className:"min-h-4"})]}));b.displayName="DrawerStickyBody";var K=Dialog.CloseTrigger;export{q as a,G as b,J as c,v as d,C as e,P as f,b as g,K as h};
@@ -0,0 +1 @@
1
+ import {a as a$5}from'./chunk-KTRSJBA4.mjs';import {a as a$4}from'./chunk-IOSO66TV.mjs';import {a}from'./chunk-QHBCNAWO.mjs';import {c as c$2}from'./chunk-FXWF3IBH.mjs';import {d}from'./chunk-VZKFL2XP.mjs';import {a as a$1}from'./chunk-WGMDH4XX.mjs';import {a as a$3}from'./chunk-BVHU5ZT3.mjs';import {c}from'./chunk-DZLL7IH6.mjs';import {c as c$1,h}from'./chunk-XJSC6PKJ.mjs';import {a as a$2}from'./chunk-2WINTZSS.mjs';import bt,{createContext,useMemo,useCallback,useState,useRef,useEffect,useContext,useId}from'react';import*as Lt from'@radix-ui/react-portal';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var Gt=({title:t,titleLines:o=2,description:r,descriptionLines:e=1,Icon:s,iconAsColumn:i=!0,className:a,...n})=>jsxs("div",{className:a$2("flex gap-2 py-4 pl-4 pr-6",i&&"flex-col items-center gap-1",!i&&!r&&"items-center"),...n,children:[s&&jsx(s,{className:a$2("shrink-0 text-neutral-300"),size:24}),jsxs("div",{className:a$2("flex flex-col gap-1",i&&"text-center"),children:[jsx("p",{className:a$2("leading-[130%] text-neutral-500",!!r&&"font-medium"),style:o?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:o}:void 0,children:t}),r&&jsx("p",{className:"text-sm leading-[130%] text-neutral-500",style:e?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:e}:void 0,children:r})]})]}),at=Gt;var $t=bt.memo(({handleSelect:t,NoResultsIcon:o,noResultsLabel:r,noResultsDescription:e,noResultsDescriptionLines:s,noResultsAsColumn:i,noResultsButtonOnClick:a$3,optionDescriptionLines:n,noResultsButtonLabel:w,filteredOptions:l,inputRect:p,inputRef:f,popoverPosition:x,optionsListRef:k,selectedOption:m,options:z,setFilteredOptions:h})=>jsx(Lt.Root,{asChild:!0,children:jsx("div",{ref:k,className:"pointer-events-auto fixed z-50 hidden w-full",style:p?{width:`${p.width}px`,left:p.left,top:x==="bottom"?`${p.bottom}px`:void 0,bottom:x==="top"?`${window.innerHeight-p.top}px`:void 0}:void 0,children:jsxs(a,{className:"elevation-8 mb-2 flex max-h-[336px] w-full flex-col rounded-lg bg-neutral-50",children:[l.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(at,{title:r,description:e,Icon:o,iconAsColumn:i,descriptionLines:s}),a$3&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:u=>{k.current.style.display="none",f.current.value="",h(z),a$3();},children:w})]})]}),l.map(u=>jsx(Mt,{title:u.label,disabled:u.disabled,description:u.description,descriptionLines:n,onClick:()=>t(u),className:a$2(m?.value===u.value&&"bg-primary-200")},u.key??u.value))]})})})),Ct=$t;var qt=336,rr=({options:t,defaultSelectedOption:o,onSelect:r,onClick:e,onInputChange:s,error:i,helperText:a,label:n,placeholder:w,value:l,size:p="md",optionDescriptionLines:f=1,noResultsLabel:x,noResultsIcon:k,noResultsDescription:m,noResultsDescriptionLines:z,noResultsAsColumn:h,noResultsButtonOnClick:u,noResultsButtonLabel:A,className:V,disabled:b})=>{let[d,y]=useState(o??null),L=useRef(null),g=useRef(null),[nt,st]=useState(),[ct,T]=useState([]),[lt,H]=useState("bottom"),[G,K]=useState(),U=qt,N=useCallback(v=>{L.current.style.display="none",g.current.value=v.label,y(v),r?.(v);},[r]),C=useCallback(()=>{if(!g?.current)return;let v=g.current.getBoundingClientRect();st(v);let O=G?G.height:U,M=window.innerHeight-v.bottom>O,Q=v.top>O;H(M?"bottom":Q?"top":"bottom");},[G?.height]),$=useCallback(()=>{let v=t.filter(O=>O.label.toLowerCase().includes(g?.current?.value.toLowerCase()??""));if(T(v),L?.current){let O=L.current.getBoundingClientRect();K(O);}},[t]);return useEffect(()=>{T(t);},[t]),useEffect(()=>{if(!l){y(null),g.current&&(g.current.value="");return}(!g.current?.value||d?.value!==l.value)&&(y(l),g.current.value=l.label);},[l]),a$5(L,()=>{L.current.style.display="none",d&&g.current&&(g.current.value=d.label);}),useEffect(()=>{if(g?.current)return C(),g.current.addEventListener("mousedown",C),g.current.addEventListener("input",$),window.addEventListener("scroll",C,!0),window.addEventListener("resize",C),()=>{g.current?.removeEventListener("mousedown",C),g.current?.removeEventListener("input",$),window.removeEventListener("scroll",C,!0),window.removeEventListener("resize",C);}},[C,$]),jsxs("div",{className:a$2("relative",V),children:[jsx(a$4,{ref:g,autoComplete:"off",list:"",selectMode:!0,onChange:v=>{v.target.value||(y(null),r?.(null)),s?.(v);},onClean:()=>{y(null),T(t),r?.(null);},onClick:v=>{L.current.style.display="flex",e?.(v);},onBlur:()=>{d&&g.current&&(g.current.value=d.label);},label:n,helperText:a,placeholder:w,size:p,error:i,disabled:b}),jsx(Ct,{handleSelect:N,noResultsLabel:x,NoResultsIcon:k,optionDescriptionLines:f,noResultsAsColumn:h,noResultsButtonLabel:A,noResultsButtonOnClick:u,noResultsDescription:m,noResultsDescriptionLines:z,filteredOptions:ct,inputRect:nt,inputRef:g,popoverPosition:lt,optionsListRef:L,selectedOption:d,options:t,setFilteredOptions:T})]})};var Kt=({children:t,title:o,titleLines:r,description:e="",descriptionLines:s,disabled:i=!1,className:a,...n})=>jsxs("div",{className:"flex w-full flex-col",...n,children:[jsx("p",{className:a$2("break-all",!!e&&"font-medium"),style:r?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:r}:void 0,children:o}),e&&jsx("p",{className:a$2("text-sm",i?"text-neutral-400":"text-neutral-700"),style:s?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:s}:void 0,children:e})]}),Y=Kt;var mr=({children:t,title:o,titleLines:r,description:e="",descriptionLines:s,startIcon:i,badgeContent:a,hasDivider:n=!1,disabled:w=!1,onSelect:l,className:p,...f})=>jsxs(W,{hasDescription:!!e,disabled:w,onClick:l,hasDivider:n,className:a$2(!w&&"cursor-pointer",p),...f,children:[i&&bt.cloneElement(i,{className:a$2(e?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(Y,{title:o,titleLines:r,description:e,descriptionLines:s,disabled:w}),jsxs("div",{className:"flex gap-2",children:[a&&jsx(a$3,{content:a,size:"lg",variant:"alert",className:a$2("self-center",w&&"bg-neutral-400")}),jsx(h,{className:"h-4.5 w-4.5 self-center"})]})]});var St=({children:t,title:o,titleLines:r=1,description:e="",descriptionLines:s,startIcon:i,hasDivider:a=!1,disabled:n=!1,checked:w,onCheckedChange:l,className:p,...f})=>jsxs(W,{hasDescription:!!e,disabled:n,hasDivider:a,...f,className:a$2("pr-6",p),children:[i&&bt.cloneElement(i,{className:a$2(e?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(Y,{title:o,titleLines:r,description:e,descriptionLines:s,disabled:n}),jsx(c$2,{size:"sm",checked:w,onCheckedChange:l,className:"self-center",disabled:n})]});var E=336,Ft=createContext({inputRef:null,optionsListRef:null,scrollAreaRef:null,autocompleteId:"",inputRect:void 0,showChips:!1,filteredOptions:[],currentFocus:-1,popoverPosition:"bottom",setFilteredOptions:()=>{},setCurrentFocus:()=>{},setShowChips:()=>{},setPopoverPosition:()=>{},setInputRect:()=>{},optionsListHeight:E,setOptionsListHeight:()=>{},optionsListRect:void 0,setOptionsListRect:()=>{}}),I=()=>{let t=useContext(Ft);if(t===null)throw new Error("useAutocompleteMultipleContext must be used within a AutocompleteMultipleProvider");return t},Dt=({children:t})=>{let o=useRef(null),r=useRef(null),e=useRef(null),s=useId(),[i,a]=useState(),[n,w]=useState(!0),[l,p]=useState([]),[f,x]=useState(-1),[k,m]=useState("bottom"),[z,h]=useState(),[u,A]=useState(E);return jsx(Ft.Provider,{value:{optionsListRef:o,inputRef:r,scrollAreaRef:e,autocompleteId:s,inputRect:i,showChips:n,filteredOptions:l,currentFocus:f,popoverPosition:k,setFilteredOptions:p,setCurrentFocus:x,setShowChips:w,setPopoverPosition:m,setInputRect:a,optionsListHeight:u,optionsListRect:z,setOptionsListRect:h,setOptionsListHeight:A},children:t})};var ce=({option:t,onMountWidth:o,size:r})=>{let e=useRef(null);return useEffect(()=>{e.current&&o?.(e.current.clientWidth);},[]),jsx(d,{type:"fill",variant:"standard",ref:e,className:"flex-shrink-0",size:r==="md"?"xs":"sm",hasCloseIcon:!1,children:t.label})},Tt=ce;var ge=150,we=bt.memo(({selectedOptions:t,error:o,onCleanSelectedOptions:r,disabled:e,size:s})=>{let{autocompleteId:i,inputRect:a,inputRef:n,optionsListRef:w}=I(),l=bt.useRef(null),[p,f]=bt.useState(new Map),x=useMemo(()=>{if(!a?.width)return [];let m=0,z=a.width-ge,h=0;for(let u=0;u<t.length&&(h+=p.get(u)??0,!(h>z));u++)m++;return t.slice(0,m)},[a?.width,t,p]),k=useCallback(()=>{e||(n?.current?.focus(),w.current.style.display="flex");},[e]);return jsxs("div",{onClick:k,className:a$2("absolute top-0 z-30 flex w-full cursor-pointer flex-nowrap items-center gap-2 pl-3 pr-12",e&&"cursor-not-allowed"),style:{maxWidth:a?.width?a?.width:void 0,height:a?.height?a?.height:void 0},children:[jsx("div",{className:"flex flex-1 gap-1 overflow-hidden",ref:l,children:x.map((m,z)=>jsx(Tt,{option:m,onMountWidth:h=>f(u=>new Map(u).set(z,h)),size:s},`chip-input-${i}-${m.value}`))}),t.length>x.length&&jsx("span",{className:"text-base",children:"..."}),t.length>0&&!o&&jsx(a$3,{content:String(t.length),size:s}),o&&t.length>0&&jsx(c$1,{className:"h-6 w-6 text-error-700",onClick:m=>{m.stopPropagation(),r();}})]})}),Ht=we;var be=bt.memo(({option:t,index:o,onPressOption:r,isSelected:e,optionDescriptionLines:s})=>{let{currentFocus:i,inputRef:a}=I();return jsx(St,{title:t.label,checked:e,disabled:t.disabled,className:i===o?"bg-primary-200":void 0,onMouseDown:n=>{t.disabled||(a?.current?.value&&n.preventDefault(),r?.(t,n));},description:t.description,descriptionLines:s})}),ht=be;var xe=bt.memo(({selectedOptions:t,handleSelect:o,NoResultsIcon:r,noResultsLabel:e,noResultsDescription:s,noResultsDescriptionLines:i,noResultsAsColumn:a$2,noResultsButtonOnClick:n,optionDescriptionLines:w,noResultsButtonLabel:l})=>{let{popoverPosition:p,scrollAreaRef:f,optionsListRef:x,filteredOptions:k,inputRect:m,autocompleteId:z,inputRef:h,optionsListHeight:u}=I(),A=useCallback(b=>t.some(d=>d.value===b.value),[t]),V=useMemo(()=>t.filter(b=>b.label.toLowerCase().includes(h?.current?.value.toLowerCase()??"")),[t,h?.current?.value]);return jsx(Lt.Root,{asChild:!0,children:jsx("div",{ref:x,className:"pointer-events-auto fixed z-50 hidden w-full",style:m?{width:`${m.width}px`,left:m.left,top:p==="bottom"?`${m.bottom}px`:void 0,bottom:p==="top"?`${window.innerHeight-m.top}px`:void 0}:void 0,children:jsxs(a,{className:"elevation-8 mb-2 flex w-full flex-col rounded-lg bg-neutral-50",style:{maxHeight:u+"px"},ref:f,children:[k.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(at,{title:e,description:s,Icon:r,iconAsColumn:a$2,descriptionLines:i}),n&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:b=>{x.current.style.display="none",h.current.value="",n();},children:l})]})]}),V.map((b,d)=>jsx(ht,{option:b,index:d,onPressOption:y=>o(y),isSelected:A(b),optionDescriptionLines:w},`autocomplete-option-${z}-${b.key??b.value}`)),k.map((b,d)=>!t.some(y=>y.value===b.value)&&jsx(ht,{option:b,index:d,onPressOption:y=>o(y),isSelected:A(b),optionDescriptionLines:w},`autocomplete-option-${z}-${b.key??b.value}`))]})})})}),Xt=xe;var Re=bt.memo(({selectedOptions:t,onSelect:o,error:r,helperText:e,label:s,placeholder:i,options:a,onInputChange:n,size:w,disabled:l})=>{let{setCurrentFocus:p,setFilteredOptions:f,optionsListRef:x,inputRef:k}=I();return jsx(a$4,{ref:k,autoComplete:"off",list:"",disabled:l,selectMode:!0,onChange:m=>{p(-1),n?.(m.target.value);},onClean:()=>{p(-1),f(a),o?.(null,t);},onClick:()=>{l||(x.current.style.display="flex");},error:r,helperText:e,label:s,placeholder:i,fixedTopLabel:t.length>0,size:w})}),Bt=Re;var Yt=({options:t,defaultSelectedOptions:o,onSelect:r,error:e,helperText:s,label:i,placeholder:a,noResultsLabel:n,noResultsIcon:w,noResultsDescription:l,noResultsDescriptionLines:p,noResultsAsColumn:f,noResultsButtonOnClick:x,noResultsButtonLabel:k,className:m,onInputChange:z,value:h,loading:u,size:A="md",optionDescriptionLines:V=1,disabled:b})=>{let{inputRef:d,optionsListRef:y,setFilteredOptions:L,setShowChips:g,setInputRect:nt,setPopoverPosition:st,setCurrentFocus:ct,showChips:T,setOptionsListRect:lt,optionsListRect:H,setOptionsListHeight:G}=I(),K=useRef(!1),[U,N]=useState(o??[]),C=useCallback(R=>{N(P=>{let S,_=P.findIndex(Vt=>Vt.value===R.value);return _===-1?(S=P.concat(R),r?.(R,S),S):(S=P.toSpliced(_,1),r?.(R,S),S)});},[r]),$=useCallback(()=>{N([]),L(t),r?.(null,[]);},[]),v=useCallback(()=>{g(!1);},[]),O=useCallback(()=>{g(!0);},[]),M=useCallback(()=>{if(!d?.current)return;let R=d.current.getBoundingClientRect();nt(R);let P=H?H.height>E?E:H.height:E,S=window.innerHeight-R.bottom>P,_=R.top>P;st(S?"bottom":_?"top":"bottom"),G(_?E:window.innerHeight-R.bottom>E?E:window.innerHeight-R.bottom);},[H?.height]),Q=useCallback(()=>{let R=t.filter(P=>P.label.toLowerCase().includes(d?.current?.value.toLowerCase()??""));if(L(R),y?.current){let P=y.current.getBoundingClientRect();lt(P);}},[t,y?.current]);return useEffect(()=>{L(t);},[t]),a$5(y,()=>{y.current.style.display="none",ct(-1);}),useEffect(()=>{if(d?.current)return M(),d.current.addEventListener("mousedown",M),d.current.addEventListener("input",Q),d.current.addEventListener("focusin",v),d.current.addEventListener("focusout",O),window.addEventListener("scroll",M,!0),window.addEventListener("resize",M),()=>{d.current?.removeEventListener("mousedown",M),d.current?.removeEventListener("input",M),d.current?.removeEventListener("focusout",O),d.current?.removeEventListener("focusin",v),window.removeEventListener("scroll",M,!0),window.removeEventListener("resize",M);}},[M,O,v,Q]),useEffect(()=>{h&&(N(h),g(!0));},[h]),useEffect(()=>{u||o&&o.length&&!K.current&&(N(o),K.current=!0,g(!0));},[o,u]),jsxs("div",{className:a$2("relative",m),children:[jsx(Bt,{selectedOptions:U,onSelect:r,error:e,helperText:s,label:i,placeholder:a,handleSelect:C,options:t,onInputChange:z,size:A,disabled:b}),T&&jsx(Ht,{selectedOptions:U,disabled:b,error:e,onCleanSelectedOptions:$,size:A}),jsx(Xt,{handleSelect:C,selectedOptions:U,noResultsLabel:n,NoResultsIcon:w,optionDescriptionLines:V,noResultsAsColumn:f,noResultsButtonLabel:k,noResultsButtonOnClick:x,noResultsDescription:l,noResultsDescriptionLines:p})]})};var Po=t=>jsx(Dt,{children:jsx(Yt,{...t})});var Oe=({children:t,hasDescription:o=!1,disabled:r=!1,hasDivider:e=!1,className:s,onClick:i,...a})=>jsxs(Fragment,{children:[jsx("div",{className:a$2("line-height-[120%] flex flex-row gap-4 pl-4 pr-3",o?"py-3":"py-[0.875rem]",r?"text-neutral-400":"hover:bg-primary-100 focus:bg-primary-200",s),onClick:n=>{r||i?.(n);},...a,children:t}),e&&jsx(a$1,{})]}),W=Oe;var Mt=({children:t,title:o,titleLines:r,description:e="",descriptionLines:s,startIcon:i,hasDivider:a=!1,disabled:n=!1,className:w,...l})=>jsxs(W,{hasDescription:!!e,disabled:n,hasDivider:a,className:w,...l,children:[i&&bt.cloneElement(i,{className:a$2(e?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(Y,{title:o,titleLines:r,description:e,descriptionLines:s,disabled:n})]});export{rr as a,Mt as b,mr as c,St as d,Po as e};
@@ -1 +1 @@
1
- import {a,b as b$1,c,g,h,d,e as e$1,i,j,f}from'./chunk-R2C5CBU5.mjs';import {b as b$2}from'./chunk-36HW67AH.mjs';import {a as a$1,b}from'./chunk-QHBCNAWO.mjs';import {e}from'./chunk-XJSC6PKJ.mjs';import {useMemo}from'react';import {useReactTable,getCoreRowModel,getPaginationRowModel,flexRender}from'@tanstack/react-table';import {jsxs,jsx}from'react/jsx-runtime';function re({columns:z,data:m,rowsCount:l,pagination:i$1,onPaginationChange:p,noResults:H,rowsPerPageText:I="Rows per page",ofText:v="of",onNextPageClick:k,onPreviousPageClick:M,disableNextPage:d$1,disablePreviousPage:T,className:B,onRowsPerPageChange:O,columnOrder:A,columnVisibility:V,rowsPerPageOptions:L,...F}){let o=useReactTable({data:m,columns:z,rowCount:l,state:{pagination:i$1,columnOrder:A,columnVisibility:V},onPaginationChange:p,manualPagination:!0,getCoreRowModel:getCoreRowModel(),getPaginationRowModel:getPaginationRowModel()}),G=useMemo(()=>T||!!l&&!o.getCanPreviousPage(),[T,l,i$1?.pageIndex]),$=useMemo(()=>d$1||!!l&&!o.getCanNextPage(),[d$1,l,i$1?.pageIndex]);return o.getRowModel().rows?.length?jsxs(a,{className:B,...F,children:[jsxs(a$1,{children:[jsx(b,{orientation:"horizontal",className:"z-10"}),jsxs(b$1,{className:"mb-3",children:[jsx("colgroup",{children:o.getHeaderGroups()[0].headers.map(a=>{let t=a.column.getSize()/o.getHeaderGroups()[0].headers.reduce((n,E)=>n+E.getSize(),0)*100;return jsx("col",{span:1,style:{width:`${t}%`,minWidth:`${a.column.getSize()}px`}},a.id)})}),jsx(c,{children:o.getHeaderGroups().map(a=>jsx(g,{children:a.headers.map(t=>{let n=t.column.columnDef;return jsx(h,{children:jsxs("div",{className:"flex items-center",children:[t.isPlaceholder?null:jsx(b$2,{content:flexRender(n.header,t.getContext()),contentClassName:"font-normal normal-case",children:jsx("span",{className:"line-clamp-1",children:flexRender(n.header,t.getContext())})}),n.headerInfoTooltip&&jsx(b$2,{size:n.headerInfoTooltipSize,content:n.headerInfoTooltip,contentClassName:"font-normal normal-case",children:jsx(e,{className:"ml-1 w-[0.875rem] flex-shrink-0"})})]})},t.id)})},a.id))}),jsx(d,{children:o.getRowModel().rows.map(a=>jsx(e$1,{"data-state":a.getIsSelected()&&"selected",children:a.getVisibleCells().map(t=>jsx(i,{children:flexRender(t.column.columnDef.cell,t.getContext())},t.id))},a.id))})]})]}),i$1&&p&&m.length>0&&jsx(j,{rowsPerPageOptions:L,rowsCount:l,pagination:i$1,onRowsPerPageChange:a=>{o.setPageSize(a),o.setPageIndex(0),O?.(a);},onPreviousPageClick:()=>{o.previousPage(),M?.();},onNextPageClick:()=>{o.nextPage(),k?.();},disableNextPage:$,disablePreviousPage:G,ofText:v,rowsPerPageText:I})]}):jsx(f,{...H})}export{re as a};
1
+ import {b as b$2}from'./chunk-36HW67AH.mjs';import {a,b as b$1,c,g,h,d,e as e$1,i,j,f}from'./chunk-R2C5CBU5.mjs';import {a as a$1,b}from'./chunk-QHBCNAWO.mjs';import {e}from'./chunk-XJSC6PKJ.mjs';import {useMemo}from'react';import {useReactTable,getCoreRowModel,getPaginationRowModel,flexRender}from'@tanstack/react-table';import {jsxs,jsx}from'react/jsx-runtime';function re({columns:z,data:m,rowsCount:l,pagination:i$1,onPaginationChange:p,noResults:H,rowsPerPageText:I="Rows per page",ofText:v="of",onNextPageClick:k,onPreviousPageClick:M,disableNextPage:d$1,disablePreviousPage:T,className:B,onRowsPerPageChange:O,columnOrder:A,columnVisibility:V,rowsPerPageOptions:L,...F}){let o=useReactTable({data:m,columns:z,rowCount:l,state:{pagination:i$1,columnOrder:A,columnVisibility:V},onPaginationChange:p,manualPagination:!0,getCoreRowModel:getCoreRowModel(),getPaginationRowModel:getPaginationRowModel()}),G=useMemo(()=>T||!!l&&!o.getCanPreviousPage(),[T,l,i$1?.pageIndex]),$=useMemo(()=>d$1||!!l&&!o.getCanNextPage(),[d$1,l,i$1?.pageIndex]);return o.getRowModel().rows?.length?jsxs(a,{className:B,...F,children:[jsxs(a$1,{children:[jsx(b,{orientation:"horizontal",className:"z-10"}),jsxs(b$1,{className:"mb-3",children:[jsx("colgroup",{children:o.getHeaderGroups()[0].headers.map(a=>{let t=a.column.getSize()/o.getHeaderGroups()[0].headers.reduce((n,E)=>n+E.getSize(),0)*100;return jsx("col",{span:1,style:{width:`${t}%`,minWidth:`${a.column.getSize()}px`}},a.id)})}),jsx(c,{children:o.getHeaderGroups().map(a=>jsx(g,{children:a.headers.map(t=>{let n=t.column.columnDef;return jsx(h,{children:jsxs("div",{className:"flex items-center",children:[t.isPlaceholder?null:jsx(b$2,{content:flexRender(n.header,t.getContext()),contentClassName:"font-normal normal-case",children:jsx("span",{className:"line-clamp-1",children:flexRender(n.header,t.getContext())})}),n.headerInfoTooltip&&jsx(b$2,{size:n.headerInfoTooltipSize,content:n.headerInfoTooltip,contentClassName:"font-normal normal-case",children:jsx(e,{className:"ml-1 w-[0.875rem] flex-shrink-0"})})]})},t.id)})},a.id))}),jsx(d,{children:o.getRowModel().rows.map(a=>jsx(e$1,{"data-state":a.getIsSelected()&&"selected",children:a.getVisibleCells().map(t=>jsx(i,{children:flexRender(t.column.columnDef.cell,t.getContext())},t.id))},a.id))})]})]}),i$1&&p&&m.length>0&&jsx(j,{rowsPerPageOptions:L,rowsCount:l,pagination:i$1,onRowsPerPageChange:a=>{o.setPageSize(a),o.setPageIndex(0),O?.(a);},onPreviousPageClick:()=>{o.previousPage(),M?.();},onNextPageClick:()=>{o.nextPage(),k?.();},disableNextPage:$,disablePreviousPage:G,ofText:v,rowsPerPageText:I})]}):jsx(f,{...H})}export{re as a};
@@ -1 +1 @@
1
- export{a as DataTable}from'./chunk-S2HBU3YJ.mjs';import'./chunk-R2C5CBU5.mjs';import'./chunk-36HW67AH.mjs';import'./chunk-QHBCNAWO.mjs';import'./chunk-DZLL7IH6.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
1
+ export{a as DataTable}from'./chunk-SNKYINVT.mjs';import'./chunk-36HW67AH.mjs';import'./chunk-R2C5CBU5.mjs';import'./chunk-QHBCNAWO.mjs';import'./chunk-DZLL7IH6.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
@@ -1 +1 @@
1
- export{a as DrawerSticky,g as DrawerStickyBody,h as DrawerStickyCloseTrigger,d as DrawerStickyContent,f as DrawerStickyFooter,e as DrawerStickyHeader,c as DrawerStickySizes,b as DrawerStickyTrigger}from'./chunk-3GG6BNGR.mjs';import'./chunk-QHBCNAWO.mjs';import'./chunk-WS2F7JWJ.mjs';import'./chunk-DZLL7IH6.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
1
+ export{a as DrawerSticky,g as DrawerStickyBody,h as DrawerStickyCloseTrigger,d as DrawerStickyContent,f as DrawerStickyFooter,e as DrawerStickyHeader,c as DrawerStickySizes,b as DrawerStickyTrigger}from'./chunk-LWOIFDHA.mjs';import'./chunk-WS2F7JWJ.mjs';import'./chunk-QHBCNAWO.mjs';import'./chunk-DZLL7IH6.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
package/dist/drawer.mjs CHANGED
@@ -1 +1 @@
1
- export{b as Drawer,e as DrawerClose,g as DrawerContent,k as DrawerDescription,i as DrawerFooter,h as DrawerHeader,f as DrawerOverlay,d as DrawerPortal,a as DrawerSizes,j as DrawerTitle,c as DrawerTrigger}from'./chunk-2HRXP2I4.mjs';import'./chunk-ENF7AQB7.mjs';import'./chunk-EYEAWZZH.mjs';import'./chunk-QHBCNAWO.mjs';import'./chunk-WS2F7JWJ.mjs';import'./chunk-WGMDH4XX.mjs';import'./chunk-DZLL7IH6.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
1
+ export{b as Drawer,e as DrawerClose,g as DrawerContent,k as DrawerDescription,i as DrawerFooter,h as DrawerHeader,f as DrawerOverlay,d as DrawerPortal,a as DrawerSizes,j as DrawerTitle,c as DrawerTrigger}from'./chunk-E5YXU74O.mjs';import'./chunk-ENF7AQB7.mjs';import'./chunk-EYEAWZZH.mjs';import'./chunk-WS2F7JWJ.mjs';import'./chunk-QHBCNAWO.mjs';import'./chunk-WGMDH4XX.mjs';import'./chunk-DZLL7IH6.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';