sodtrack-web-ui 0.41.1 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/accordion-form.d.mts +25 -0
  2. package/dist/accordion-form.d.ts +25 -0
  3. package/dist/accordion-form.js +50 -0
  4. package/dist/accordion-form.mjs +1 -0
  5. package/dist/chip-form-complementary.d.mts +3 -3
  6. package/dist/chip-form-complementary.d.ts +3 -3
  7. package/dist/chip-form.d.mts +3 -3
  8. package/dist/chip-form.d.ts +3 -3
  9. package/dist/chip-form.js +1 -1
  10. package/dist/chip-form.mjs +1 -1
  11. package/dist/chip-status-complementary.d.mts +1 -1
  12. package/dist/chip-status-complementary.d.ts +1 -1
  13. package/dist/chip-status-table.d.mts +1 -1
  14. package/dist/chip-status-table.d.ts +1 -1
  15. package/dist/chip-status-table.js +1 -1
  16. package/dist/chip-status-table.mjs +1 -1
  17. package/dist/chunk-7BFU6TCN.mjs +1 -0
  18. package/dist/{chunk-ANMP3LHW.mjs → chunk-ASVUFZGH.mjs} +1 -1
  19. package/dist/{chunk-Q2ZVCFP4.mjs → chunk-BIIAV5AU.mjs} +1 -1
  20. package/dist/chunk-C2KEN44B.mjs +1 -0
  21. package/dist/{chunk-NKFFXTFS.mjs → chunk-D5M2AWF7.mjs} +1 -1
  22. package/dist/chunk-E2RD5D5W.mjs +1 -0
  23. package/dist/{chunk-433WSESP.mjs → chunk-LI35AH5L.mjs} +1 -1
  24. package/dist/chunk-MQQOA36W.mjs +1 -0
  25. package/dist/chunk-RRPGL57C.mjs +1 -0
  26. package/dist/{chunk-QLOBYRYP.mjs → chunk-XCXA5AVQ.mjs} +1 -1
  27. package/dist/data-table.d.mts +1 -1
  28. package/dist/data-table.d.ts +1 -1
  29. package/dist/data-table.js +2 -2
  30. package/dist/data-table.mjs +1 -1
  31. package/dist/flag-select.mjs +1 -1
  32. package/dist/index.css +1 -1
  33. package/dist/index.d.mts +2 -1
  34. package/dist/index.d.ts +2 -1
  35. package/dist/index.js +2 -2
  36. package/dist/index.mjs +1 -1
  37. package/dist/list-item-arrow.css +1 -1
  38. package/dist/list-item-arrow.mjs +1 -1
  39. package/dist/list-item-checkbox.css +1 -1
  40. package/dist/list-item-checkbox.mjs +1 -1
  41. package/dist/list-item.css +1 -1
  42. package/dist/list-item.mjs +1 -1
  43. package/dist/rating.d.mts +2 -0
  44. package/dist/rating.d.ts +2 -0
  45. package/dist/rating.js +1 -1
  46. package/dist/rating.mjs +1 -1
  47. package/dist/select.mjs +1 -1
  48. package/dist/tab.d.mts +1 -1
  49. package/dist/tab.d.ts +1 -1
  50. package/dist/table.js +1 -1
  51. package/dist/table.mjs +1 -1
  52. package/dist/tailwind-preset.js +1 -1
  53. package/dist/tailwind-preset.mjs +1 -1
  54. package/dist/time-picker.mjs +1 -1
  55. package/package.json +8 -8
  56. package/dist/chunk-5KXTOKO4.mjs +0 -1
  57. package/dist/chunk-DC3X5JDM.mjs +0 -1
  58. package/dist/chunk-GF3AWDCV.mjs +0 -1
  59. package/dist/chunk-WNLJSMHT.mjs +0 -1
@@ -0,0 +1,25 @@
1
+ import * as React from 'react';
2
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
3
+ import { LucideIcon } from 'lucide-react';
4
+ import { ChipStatusVariantType, ChipStatusTypeType } from './chip-status.mjs';
5
+ import 'cva';
6
+
7
+ declare const AccordionFormSizes: readonly ["sm", "md"];
8
+ declare const AccordionForm: React.ForwardRefExoticComponent<((Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & {
9
+ size?: (typeof AccordionFormSizes)[number];
10
+ }) & React.RefAttributes<HTMLDivElement>>;
11
+ declare const AccordionFormItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
+ declare const AccordionFormTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
13
+ title: string;
14
+ StartIcon?: LucideIcon;
15
+ onEndButtonClick?: () => void;
16
+ badgeNumber?: number;
17
+ chipStatus?: {
18
+ text: string;
19
+ variant: ChipStatusVariantType;
20
+ type: ChipStatusTypeType;
21
+ };
22
+ } & React.RefAttributes<HTMLButtonElement>>;
23
+ declare const AccordionFormContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
24
+
25
+ export { AccordionForm, AccordionFormContent, AccordionFormItem, AccordionFormSizes, AccordionFormTrigger };
@@ -0,0 +1,25 @@
1
+ import * as React from 'react';
2
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
3
+ import { LucideIcon } from 'lucide-react';
4
+ import { ChipStatusVariantType, ChipStatusTypeType } from './chip-status.js';
5
+ import 'cva';
6
+
7
+ declare const AccordionFormSizes: readonly ["sm", "md"];
8
+ declare const AccordionForm: React.ForwardRefExoticComponent<((Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & {
9
+ size?: (typeof AccordionFormSizes)[number];
10
+ }) & React.RefAttributes<HTMLDivElement>>;
11
+ declare const AccordionFormItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
+ declare const AccordionFormTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
13
+ title: string;
14
+ StartIcon?: LucideIcon;
15
+ onEndButtonClick?: () => void;
16
+ badgeNumber?: number;
17
+ chipStatus?: {
18
+ text: string;
19
+ variant: ChipStatusVariantType;
20
+ type: ChipStatusTypeType;
21
+ };
22
+ } & React.RefAttributes<HTMLButtonElement>>;
23
+ declare const AccordionFormContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
24
+
25
+ export { AccordionForm, AccordionFormContent, AccordionFormItem, AccordionFormSizes, AccordionFormTrigger };
@@ -0,0 +1,50 @@
1
+ 'use strict';var O=require('react'),C=require('@radix-ui/react-accordion'),jsxRuntime=require('react/jsx-runtime'),cva=require('cva');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 O__namespace=/*#__PURE__*/_interopNamespace(O);var C__namespace=/*#__PURE__*/_interopNamespace(C);function oe(e){var a,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(a=0;a<u;a++)e[a]&&(t=oe(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function le(){for(var e,a,t=0,o="",u=arguments.length;t<u;t++)(e=arguments[t])&&(a=oe(e))&&(o&&(o+=" "),o+=a);return o}var J="-",Se=e=>{let a=Pe(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:r=>{let d=r.split(J);return d[0]===""&&d.length!==1&&d.shift(),re(d,a)||we(r)},getConflictingClassGroupIds:(r,d)=>{let i=t[r]||[];return d&&o[r]?[...i,...o[r]]:i}}},re=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),u=o?re(e.slice(1),o):void 0;if(u)return u;if(a.validators.length===0)return;let l=e.join(J);return a.validators.find(({validator:r})=>r(l))?.classGroupId},ue=/^\[(.+)\]$/,we=e=>{if(ue.test(e)){let a=ue.exec(e)[1],t=a?.substring(0,a.indexOf(":"));if(t)return "arbitrary.."+t}},Pe=e=>{let{theme:a,prefix:t}=e,o={nextPart:new Map,validators:[]};return be(Object.entries(e.classGroups),t).forEach(([l,r])=>{Z(r,o,l,a);}),o},Z=(e,a,t,o)=>{e.forEach(u=>{if(typeof u=="string"){let l=u===""?a:de(a,u);l.classGroupId=t;return}if(typeof u=="function"){if(ke(u)){Z(u(o),a,t,o);return}a.validators.push({validator:u,classGroupId:t});return}Object.entries(u).forEach(([l,r])=>{Z(r,de(a,l),t,o);});});},de=(e,a)=>{let t=e;return a.split(J).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},ke=e=>e.isThemeGetter,be=(e,a)=>a?e.map(([t,o])=>{let u=o.map(l=>typeof l=="string"?a+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([r,d])=>[a+r,d])):l);return [t,u]}):e,Ae=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,t=new Map,o=new Map,u=(l,r)=>{t.set(l,r),a++,a>e&&(a=0,o=t,t=new Map);};return {get(l){let r=t.get(l);if(r!==void 0)return r;if((r=o.get(l))!==void 0)return u(l,r),r},set(l,r){t.has(l)?t.set(l,r):u(l,r);}}},se="!",ye=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,u=a[0],l=a.length,r=d=>{let i=[],p=0,m=0,g;for(let n=0;n<d.length;n++){let I=d[n];if(p===0){if(I===u&&(o||d.slice(n,n+l)===a)){i.push(d.slice(m,n)),m=n+l;continue}if(I==="/"){g=n;continue}}I==="["?p++:I==="]"&&p--;}let h=i.length===0?d:d.substring(m),P=h.startsWith(se),w=P?h.substring(1):h,L=g&&g>m?g-m:void 0;return {modifiers:i,hasImportantModifier:P,baseClassName:w,maybePostfixModifierPosition:L}};return t?d=>t({className:d,parseClassName:r}):r},Be=e=>{if(e.length<=1)return e;let a=[],t=[];return e.forEach(o=>{o[0]==="["?(a.push(...t.sort(),o),t=[]):t.push(o);}),a.push(...t.sort()),a},Fe=e=>({cache:Ae(e.cacheSize),parseClassName:ye(e),...Se(e)}),Me=/\s+/,De=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:u}=a,l=[],r=e.trim().split(Me),d="";for(let i=r.length-1;i>=0;i-=1){let p=r[i],{modifiers:m,hasImportantModifier:g,baseClassName:h,maybePostfixModifierPosition:P}=t(p),w=!!P,L=o(w?h.substring(0,P):h);if(!L){if(!w){d=p+(d.length>0?" "+d:d);continue}if(L=o(h),!L){d=p+(d.length>0?" "+d:d);continue}w=!1;}let n=Be(m).join(":"),I=g?n+se:n,x=I+L;if(l.includes(x))continue;l.push(x);let D=u(L,w);for(let B=0;B<D.length;++B){let H=D[B];l.push(I+H);}d=p+(d.length>0?" "+d:d);}return d};function Re(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=fe(a))&&(o&&(o+=" "),o+=t);return o}var fe=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=fe(e[o]))&&(t&&(t+=" "),t+=a);return t};function Te(e,...a){let t,o,u,l=r;function r(i){let p=a.reduce((m,g)=>g(m),e());return t=Fe(p),o=t.cache.get,u=t.cache.set,l=d,d(i)}function d(i){let p=o(i);if(p)return p;let m=De(i,t);return u(i,m),m}return function(){return l(Re.apply(null,arguments))}}var f=e=>{let a=t=>t[e]||[];return a.isThemeGetter=!0,a},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)\(.+\)$/,b=e=>F(e)||qe.has(e)||ve.test(e),A=e=>M(e,"length",Je),F=e=>!!e&&!Number.isNaN(Number(e)),K=e=>M(e,"number",F),T=e=>!!e&&Number.isInteger(Number(e)),Ve=e=>e.endsWith("%")&&F(e.slice(0,-1)),s=e=>ie.test(e),y=e=>Ue.test(e),Ee=new Set(["length","size","percentage"]),We=e=>M(e,Ee,ce),Ne=e=>M(e,"position",ce),Xe=new Set(["image","url"]),Ke=e=>M(e,Xe,je),Ze=e=>M(e,"",Qe),v=()=>!0,M=(e,a,t)=>{let o=ie.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(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"),a=f("spacing"),t=f("blur"),o=f("brightness"),u=f("borderColor"),l=f("borderRadius"),r=f("borderSpacing"),d=f("borderWidth"),i=f("contrast"),p=f("grayscale"),m=f("hueRotate"),g=f("invert"),h=f("gap"),P=f("gradientColorStops"),w=f("gradientColorStopPositions"),L=f("inset"),n=f("margin"),I=f("opacity"),x=f("padding"),D=f("saturate"),B=f("scale"),H=f("sepia"),j=f("skew"),Y=f("space"),_=f("translate"),E=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",s,a],c=()=>[s,a],$=()=>["",b,A],G=()=>["auto",F,s],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"],X=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",s],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[F,s];return {cacheSize:500,separator:":",theme:{colors:[v],spacing:[b,A],blur:["none","",y,s],brightness:k(),borderColor:[e],borderRadius:["none","","full",y,s],borderSpacing:c(),borderWidth:$(),contrast:k(),grayscale:R(),hueRotate:k(),invert:R(),gap:c(),gradientColorStops:[e],gradientColorStopPositions:[Ve,A],inset:N(),margin:N(),opacity:k(),padding:c(),saturate:k(),scale:k(),sepia:R(),skew:k(),space:c(),translate:c()},classGroups:{aspect:[{aspect:["auto","square","video",s]}],container:["container"],columns:[{columns:[y]}],"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(),s]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],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",T,s]}],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",s]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",T,s]}],"grid-cols":[{"grid-cols":[v]}],"col-start-end":[{col:["auto",{span:["full",T,s]},s]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[v]}],"row-start-end":[{row:["auto",{span:[T,s]},s]}],"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",s]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",s]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"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",s,a]}],"min-w":[{"min-w":[s,a,"min","max","fit"]}],"max-w":[{"max-w":[s,a,"none","full","min","max","fit","prose",{screen:[y]},y]}],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",y,A]}],"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:[v]}],"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",F,K]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",b,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:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",b,A]}],"underline-offset":[{"underline-offset":["auto",b,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:c()}],"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(),Ne]}],"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"]},Ke]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],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:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:z()}],"border-color":[{border:[u]}],"border-color-x":[{"border-x":[u]}],"border-color-y":[{"border-y":[u]}],"border-color-s":[{"border-s":[u]}],"border-color-e":[{"border-e":[u]}],"border-color-t":[{"border-t":[u]}],"border-color-r":[{"border-r":[u]}],"border-color-b":[{"border-b":[u]}],"border-color-l":[{"border-l":[u]}],"divide-color":[{divide:[u]}],"outline-style":[{outline:["",...z()]}],"outline-offset":[{"outline-offset":[b,s]}],"outline-w":[{outline:[b,A]}],"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":[b,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",y,Ze]}],"shadow-color":[{shadow:[v]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...ae(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ae()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",y,s]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[g]}],saturate:[{saturate:[D]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[D]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"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:k()}],ease:[{ease:["linear","in","out","in-out",s]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",s]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-x":[{"scale-x":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[T,s]}],"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",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":c()}],"scroll-mx":[{"scroll-mx":c()}],"scroll-my":[{"scroll-my":c()}],"scroll-ms":[{"scroll-ms":c()}],"scroll-me":[{"scroll-me":c()}],"scroll-mt":[{"scroll-mt":c()}],"scroll-mr":[{"scroll-mr":c()}],"scroll-mb":[{"scroll-mb":c()}],"scroll-ml":[{"scroll-ml":c()}],"scroll-p":[{"scroll-p":c()}],"scroll-px":[{"scroll-px":c()}],"scroll-py":[{"scroll-py":c()}],"scroll-ps":[{"scroll-ps":c()}],"scroll-pe":[{"scroll-pe":c()}],"scroll-pt":[{"scroll-pt":c()}],"scroll-pr":[{"scroll-pr":c()}],"scroll-pb":[{"scroll-pb":c()}],"scroll-pl":[{"scroll-pl":c()}],"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:[b,A,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 ne=Te(Ye);function q(...e){return ne(le(e))}var pe=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),V=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).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=O.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:u="",children:l,iconNode:r,...d},i)=>O.createElement("svg",{ref:i,...me,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:V("lucide",u),...d},[...r.map(([p,m])=>O.createElement(p,m)),...Array.isArray(l)?l:[l]]));var xe=(e,a)=>{let t=O.forwardRef(({className:o,...u},l)=>O.createElement(Ie,{ref:l,iconNode:a,className:V(`lucide-${pe(e)}`,o),...u}));return t.displayName=`${e}`,t};var U=xe("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);var Ce=U;var ge=({content:e,variant:a="select",size:t="lg",className:o,...u})=>jsxRuntime.jsx("div",{className:q("content-center px-1 text-center text-neutral-50",t==="sm"&&"h-4 min-w-4 text-xs",t==="md"&&"h-4.5 min-w-4.5 text-xs",t==="lg"&&"h-6 min-w-6",a==="select"&&"rounded-sm bg-primary-700",a==="alert"&&"rounded-full bg-error-700",a==="alert"&&t==="sm"&&"h-[0.375rem] min-w-[0.375rem] p-0",a==="alert"&&t==="md"&&"h-4 min-w-4",o),...u,children:!(a==="alert"&&t==="sm")&&e});var oa=cva.cva({base:"flex w-fit items-center rounded-2xl tracking-normal",variants:{variant:{success:"",info:"",warning:"",error:"",generic:""},size:{xs:"min-h-4.5 rounded-2xl px-2 text-xs leading-[130%]",sm:"min-h-6 rounded-2xl px-2 py-0.75 text-sm leading-[120%]",md:"min-h-8 rounded-3xl px-3 py-1 text-base leading-[130%]"},type:{light:"",full:""},disabled:{true:"bg-neutral-100 text-neutral-400",false:""}},compoundVariants:[{variant:"success",type:"light",disabled:!1,className:"bg-success-100 text-success-700"},{variant:"success",type:"full",disabled:!1,className:"bg-success-300 text-neutral-50"},{variant:"info",type:"light",disabled:!1,className:"bg-info-100 text-info-700"},{variant:"info",type:"full",disabled:!1,className:"bg-info-300 text-neutral-50"},{variant:"warning",type:"light",disabled:!1,className:"bg-warning-100 text-warning-900"},{variant:"warning",type:"full",disabled:!1,className:"bg-warning-500 text-warning-900"},{variant:"error",type:"light",disabled:!1,className:"bg-error-100 text-error-900"},{variant:"error",type:"full",disabled:!1,className:"bg-error-500 text-neutral-50"},{variant:"generic",type:"light",disabled:!1,className:"bg-primary-200 text-primary-600"},{variant:"generic",type:"full",disabled:!1,className:"bg-primary-500 text-neutral-50"}],defaultVariants:{disabled:!1,size:"sm"}}),he=({size:e,variant:a,className:t,type:o,disabled:u,StartIcon:l,children:r,...d})=>jsxRuntime.jsxs("span",{className:oa({variant:a,size:e,type:o,disabled:u,className:t}),...d,children:[l&&jsxRuntime.jsx(l,{size:14,className:"mr-1"}),r]});var lt=["sm","md"],ut=O__namespace.forwardRef(({className:e,children:a,size:t="md",...o},u)=>jsxRuntime.jsx(C__namespace.Root,{"data-size":t,className:q("group/root space-y-2",e),...o,ref:u,children:a})),da=O__namespace.forwardRef(({className:e,...a},t)=>jsxRuntime.jsx(C__namespace.Item,{ref:t,className:e,...a}));da.displayName="AccordionFormItem";var ra=O__namespace.forwardRef(({className:e,title:a,onEndButtonClick:t,StartIcon:o,children:u,badgeNumber:l,chipStatus:r,...d},i)=>jsxRuntime.jsx(C__namespace.Header,{className:"flex",children:jsxRuntime.jsxs(C__namespace.Trigger,{title:a,ref:i,className:q("group flex h-8 items-center gap-4 [&[data-state=open]>div>.chevron-icon]:rotate-180",e),...d,children:[jsxRuntime.jsxs("div",{className:"group flex items-center",children:[o&&jsxRuntime.jsx(o,{className:"mr-2 h-4.5 w-4.5 flex-shrink-0 text-primary-500 transition-colors group-hover:group-enabled:text-primary-700 group-disabled:text-neutral-500 group-data-[size=sm]/root:h-3.5 group-data-[size=sm]/root:w-3.5"}),jsxRuntime.jsx("div",{children:jsxRuntime.jsx("p",{className:"line-clamp-1 text-left text-base font-semibold !leading-[130%] text-primary-500 transition-colors group-hover:group-enabled:text-primary-700 group-disabled:text-neutral-500 group-data-[size=sm]/root:text-sm",children:a})})]}),jsxRuntime.jsxs("div",{className:"flex flex-shrink-0 items-center gap-1",children:[r&&jsxRuntime.jsx(he,{variant:r.variant,type:r.type,size:"xs",className:"flex-shrink-0",children:r.text}),l?.toString()&&jsxRuntime.jsx(ge,{variant:"alert",size:"md",content:l.toString()}),jsxRuntime.jsx(Ce,{className:"chevron-icon h-4.5 w-4.5 shrink-0 text-primary-500 transition-transform group-hover:group-enabled:text-primary-700 group-disabled:text-neutral-500"})]})]})}));ra.displayName=C__namespace.Trigger.displayName;var sa=O__namespace.forwardRef(({className:e,children:a,...t},o)=>jsxRuntime.jsx(C__namespace.Content,{ref:o,className:"overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...t,children:jsxRuntime.jsx("div",{className:e,children:a})}));sa.displayName=C__namespace.Content.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/chevron-down.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/lucide-react.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
+ */exports.AccordionForm=ut;exports.AccordionFormContent=sa;exports.AccordionFormItem=da;exports.AccordionFormSizes=lt;exports.AccordionFormTrigger=ra;
@@ -0,0 +1 @@
1
+ export{b as AccordionForm,e as AccordionFormContent,c as AccordionFormItem,a as AccordionFormSizes,d as AccordionFormTrigger}from'./chunk-RRPGL57C.mjs';import'./chunk-5WTPUEJA.mjs';import'./chunk-BVHU5ZT3.mjs';import'./chunk-AF7XWQ5Y.mjs';import'./chunk-4SUP4N33.mjs';import'./chunk-2WINTZSS.mjs';
@@ -6,7 +6,7 @@ type ChipFormComplementaryVariantsType = (typeof ChipFormComplementaryVariants)[
6
6
  declare const ChipFormComplementaryVariantsClassNames: Record<ChipFormComplementaryVariantsType, string>;
7
7
  declare const chipForm: (props?: ({
8
8
  variant?: "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
9
- size?: "md" | "sm" | undefined;
9
+ size?: "sm" | "md" | undefined;
10
10
  selected?: boolean | undefined;
11
11
  disabled?: boolean | undefined;
12
12
  } & ({
@@ -74,7 +74,7 @@ declare const ChipFormComplementary: React__default.ForwardRefExoticComponent<{
74
74
  children?: React__default.ReactNode | undefined;
75
75
  } & Omit<VariantProps<(props?: ({
76
76
  variant?: "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
77
- size?: "md" | "sm" | undefined;
77
+ size?: "sm" | "md" | undefined;
78
78
  selected?: boolean | undefined;
79
79
  disabled?: boolean | undefined;
80
80
  } & ({
@@ -133,7 +133,7 @@ declare const ChipFormComplementary: React__default.ForwardRefExoticComponent<{
133
133
  } | null | undefined;
134
134
  })) | undefined) => string>, "variant"> & Required<Pick<VariantProps<(props?: ({
135
135
  variant?: "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
136
- size?: "md" | "sm" | undefined;
136
+ size?: "sm" | "md" | undefined;
137
137
  selected?: boolean | undefined;
138
138
  disabled?: boolean | undefined;
139
139
  } & ({
@@ -6,7 +6,7 @@ type ChipFormComplementaryVariantsType = (typeof ChipFormComplementaryVariants)[
6
6
  declare const ChipFormComplementaryVariantsClassNames: Record<ChipFormComplementaryVariantsType, string>;
7
7
  declare const chipForm: (props?: ({
8
8
  variant?: "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
9
- size?: "md" | "sm" | undefined;
9
+ size?: "sm" | "md" | undefined;
10
10
  selected?: boolean | undefined;
11
11
  disabled?: boolean | undefined;
12
12
  } & ({
@@ -74,7 +74,7 @@ declare const ChipFormComplementary: React__default.ForwardRefExoticComponent<{
74
74
  children?: React__default.ReactNode | undefined;
75
75
  } & Omit<VariantProps<(props?: ({
76
76
  variant?: "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
77
- size?: "md" | "sm" | undefined;
77
+ size?: "sm" | "md" | undefined;
78
78
  selected?: boolean | undefined;
79
79
  disabled?: boolean | undefined;
80
80
  } & ({
@@ -133,7 +133,7 @@ declare const ChipFormComplementary: React__default.ForwardRefExoticComponent<{
133
133
  } | null | undefined;
134
134
  })) | undefined) => string>, "variant"> & Required<Pick<VariantProps<(props?: ({
135
135
  variant?: "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
136
- size?: "md" | "sm" | undefined;
136
+ size?: "sm" | "md" | undefined;
137
137
  selected?: boolean | undefined;
138
138
  disabled?: boolean | undefined;
139
139
  } & ({
@@ -19,7 +19,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
19
19
  selected?: boolean | undefined;
20
20
  disabled?: boolean | undefined;
21
21
  duotone?: boolean | undefined;
22
- size?: "md" | "sm" | "xs" | undefined;
22
+ size?: "sm" | "md" | "xs" | undefined;
23
23
  } & ({
24
24
  class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
25
25
  [x: string]: any;
@@ -80,7 +80,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
80
80
  selected?: boolean | undefined;
81
81
  disabled?: boolean | undefined;
82
82
  duotone?: boolean | undefined;
83
- size?: "md" | "sm" | "xs" | undefined;
83
+ size?: "sm" | "md" | "xs" | undefined;
84
84
  } & ({
85
85
  class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
86
86
  [x: string]: any;
@@ -141,7 +141,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
141
141
  selected?: boolean | undefined;
142
142
  disabled?: boolean | undefined;
143
143
  duotone?: boolean | undefined;
144
- size?: "md" | "sm" | "xs" | undefined;
144
+ size?: "sm" | "md" | "xs" | undefined;
145
145
  } & ({
146
146
  class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
147
147
  [x: string]: any;
@@ -19,7 +19,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
19
19
  selected?: boolean | undefined;
20
20
  disabled?: boolean | undefined;
21
21
  duotone?: boolean | undefined;
22
- size?: "md" | "sm" | "xs" | undefined;
22
+ size?: "sm" | "md" | "xs" | undefined;
23
23
  } & ({
24
24
  class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
25
25
  [x: string]: any;
@@ -80,7 +80,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
80
80
  selected?: boolean | undefined;
81
81
  disabled?: boolean | undefined;
82
82
  duotone?: boolean | undefined;
83
- size?: "md" | "sm" | "xs" | undefined;
83
+ size?: "sm" | "md" | "xs" | undefined;
84
84
  } & ({
85
85
  class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
86
86
  [x: string]: any;
@@ -141,7 +141,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
141
141
  selected?: boolean | undefined;
142
142
  disabled?: boolean | undefined;
143
143
  duotone?: boolean | undefined;
144
- size?: "md" | "sm" | "xs" | undefined;
144
+ size?: "sm" | "md" | "xs" | undefined;
145
145
  } & ({
146
146
  class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
147
147
  [x: string]: any;
package/dist/chip-form.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var react=require('react'),cva=require('cva'),jsxRuntime=require('react/jsx-runtime');function Y(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=Y(e[r]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function D(){for(var e,r,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Y(e))&&(o&&(o+=" "),o+=r);return o}var $="-",ce=e=>{let r=pe(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:l=>{let n=l.split($);return n[0]===""&&n.length!==1&&n.shift(),te(n,r)||de(l)},getConflictingClassGroupIds:(l,n)=>{let p=t[l]||[];return n&&o[l]?[...p,...o[l]]:p}}},te=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?te(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let s=e.join($);return r.validators.find(({validator:l})=>l(s))?.classGroupId},ee=/^\[(.+)\]$/,de=e=>{if(ee.test(e)){let r=ee.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return "arbitrary.."+t}},pe=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return me(Object.entries(e.classGroups),t).forEach(([s,l])=>{O(l,o,s,r);}),o},O=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?r:re(r,a);s.classGroupId=t;return}if(typeof a=="function"){if(ue(a)){O(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([s,l])=>{O(l,re(r,s),t,o);});});},re=(e,r)=>{let t=e;return r.split($).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},ue=e=>e.isThemeGetter,me=(e,r)=>r?e.map(([t,o])=>{let a=o.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,n])=>[r+l,n])):s);return [t,a]}):e,be=e=>{if(e<1)return {get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(s,l)=>{t.set(s,l),r++,r>e&&(r=0,o=t,t=new Map);};return {get(s){let l=t.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return a(s,l),l},set(s,l){t.has(s)?t.set(s,l):a(s,l);}}},oe="!",fe=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],s=r.length,l=n=>{let p=[],b=0,u=0,h;for(let m=0;m<n.length;m++){let g=n[m];if(b===0){if(g===a&&(o||n.slice(m,m+s)===r)){p.push(n.slice(u,m)),u=m+s;continue}if(g==="/"){h=m;continue}}g==="["?b++:g==="]"&&b--;}let y=p.length===0?n:n.substring(u),w=y.startsWith(oe),v=w?y.substring(1):y,f=h&&h>u?h-u:void 0;return {modifiers:p,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:f}};return t?n=>t({className:n,parseClassName:l}):l},ge=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o);}),r.push(...t.sort()),r},he=e=>({cache:be(e.cacheSize),parseClassName:fe(e),...ce(e)}),ye=/\s+/,xe=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,s=[],l=e.trim().split(ye),n="";for(let p=l.length-1;p>=0;p-=1){let b=l[p],{modifiers:u,hasImportantModifier:h,baseClassName:y,maybePostfixModifierPosition:w}=t(b),v=!!w,f=o(v?y.substring(0,w):y);if(!f){if(!v){n=b+(n.length>0?" "+n:n);continue}if(f=o(y),!f){n=b+(n.length>0?" "+n:n);continue}v=!1;}let m=ge(u).join(":"),g=h?m+oe:m,x=g+f;if(s.includes(x))continue;s.push(x);let G=a(f,v);for(let S=0;S<G.length;++S){let I=G[S];s.push(g+I);}n=b+(n.length>0?" "+n:n);}return n};function we(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=ne(r))&&(o&&(o+=" "),o+=t);return o}var ne=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ne(e[o]))&&(t&&(t+=" "),t+=r);return t};function ve(e,...r){let t,o,a,s=l;function l(p){let b=r.reduce((u,h)=>h(u),e());return t=he(b),o=t.cache.get,a=t.cache.set,s=n,n(p)}function n(p){let b=o(p);if(b)return b;let u=xe(p,t);return a(p,u),u}return function(){return s(we.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},se=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ce=/^\d+\/\d+$/,ke=new Set(["px","full","screen"]),ze=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pe=/\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$/,Se=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ae=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Me=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k=e=>A(e)||ke.has(e)||Ce.test(e),z=e=>M(e,"length",Ve),A=e=>!!e&&!Number.isNaN(Number(e)),_=e=>M(e,"number",A),T=e=>!!e&&Number.isInteger(Number(e)),Re=e=>e.endsWith("%")&&A(e.slice(0,-1)),i=e=>se.test(e),P=e=>ze.test(e),Ge=new Set(["length","size","percentage"]),Ne=e=>M(e,Ge,ae),Te=e=>M(e,"position",ae),Ee=new Set(["image","url"]),Ie=e=>M(e,Ee,je),Le=e=>M(e,"",Fe),E=()=>!0,M=(e,r,t)=>{let o=se.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Ve=e=>Pe.test(e)&&!Se.test(e),ae=()=>!1,Fe=e=>Ae.test(e),je=e=>Me.test(e);var We=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),s=c("borderRadius"),l=c("borderSpacing"),n=c("borderWidth"),p=c("contrast"),b=c("grayscale"),u=c("hueRotate"),h=c("invert"),y=c("gap"),w=c("gradientColorStops"),v=c("gradientColorStopPositions"),f=c("inset"),m=c("margin"),g=c("opacity"),x=c("padding"),G=c("saturate"),S=c("scale"),I=c("sepia"),U=c("skew"),q=c("space"),J=c("translate"),F=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto",i,r],d=()=>[i,r],K=()=>["",k,z],L=()=>["auto",A,i],X=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",i],Q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[A,i];return {cacheSize:500,separator:":",theme:{colors:[E],spacing:[k,z],blur:["none","",P,i],brightness:C(),borderColor:[e],borderRadius:["none","","full",P,i],borderSpacing:d(),borderWidth:K(),contrast:C(),grayscale:N(),hueRotate:C(),invert:N(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Re,z],inset:W(),margin:W(),opacity:C(),padding:d(),saturate:C(),scale:C(),sepia:N(),skew:C(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[P]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"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:[...X(),i]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,i]}],basis:[{basis:W()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",T,i]}],"grid-cols":[{"grid-cols":[E]}],"col-start-end":[{col:["auto",{span:["full",T,i]},i]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[E]}],"row-start-end":[{row:["auto",{span:[T,i]},i]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...B()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...B(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...B(),"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:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[P]},P]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",P,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_]}],"font-family":[{font:[E]}],"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",i]}],"line-clamp":[{"line-clamp":["none",A,_]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,z]}],"underline-offset":[{"underline-offset":["auto",k,i]}],"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:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...X(),Te]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ne]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ie]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:V()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[k,i]}],"outline-w":[{outline:[k,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[k,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",P,Le]}],"shadow-color":[{shadow:[E]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",P,i]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[G]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[T,i]}],"translate-x":[{"translate-x":[J]}],"translate-y":[{"translate-y":[J]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[k,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 ie=ve(We);function R(...e){return ie(D(e))}var le=({content:e,variant:r="select",size:t="lg",className:o,...a})=>jsxRuntime.jsx("div",{className:R("content-center px-1 text-center text-neutral-50",t==="sm"&&"h-4 min-w-4 text-xs",t==="md"&&"h-4.5 min-w-4.5 text-xs",t==="lg"&&"h-6 min-w-6",r==="select"&&"rounded-sm bg-primary-700",r==="alert"&&"rounded-full bg-error-700",r==="alert"&&t==="sm"&&"h-[0.375rem] min-w-[0.375rem] p-0",r==="alert"&&t==="md"&&"h-4 min-w-4",o),...a,children:!(r==="alert"&&t==="sm")&&e});var ir=["standard","primary"],lr=["outlined","ghost","fill"],cr=["xs","sm","md"],$e=cva.cva({base:"flex w-fit items-center justify-center rounded-lg px-3 py-1 leading-[130%] text-neutral-700 transition-all",variants:{variant:{standard:"ring-neutral-700",primary:"text-primary-500 ring-primary-500"},type:{outlined:"ring-1",ghost:"",fill:"text-primary-600"},selected:{true:"",false:""},disabled:{true:"text-neutral-400 ring-neutral-400"},duotone:{true:"",false:""},size:{xs:"h-6 text-sm",sm:"h-8 text-sm",md:"h-10 text-base"}},compoundVariants:[{variant:"standard",selected:!1,disabled:!1,className:"hover:bg-primary-100"},{variant:"primary",selected:!1,disabled:!1,className:"hover:bg-primary-200"},{variant:"standard",selected:!0,disabled:!1,className:"bg-primary-200"},{variant:"primary",selected:!0,disabled:!1,className:"bg-primary-300"},{type:"fill",disabled:!1,className:"bg-primary-100"}],defaultVariants:{size:"md",selected:!1,disabled:!1}}),dr=react.forwardRef(({children:e,variant:r,size:t,selected:o,onClick:a,className:s,type:l,disabled:n,StartIcon:p,EndIcon:b,duotone:u,badgeNumber:h,...y},w)=>jsxRuntime.jsxs("button",{ref:w,type:"button",disabled:n,onClick:()=>a?.(!o),className:R($e({variant:r,size:t,type:l,selected:o,disabled:n,duotone:u}),s),...y,children:[p&&jsxRuntime.jsx(p,{size:t==="md"?18:14,className:R("mr-1",!n&&r==="standard"&&u&&"text-primary-500",!n&&r==="standard"&&u&&o&&"text-primary-600",!n&&r==="primary"&&u&&"text-neutral-800")}),e,b&&jsxRuntime.jsx(b,{size:t==="md"?18:14,className:R("ml-1",!n&&r==="standard"&&u&&"text-primary-500",!n&&r==="standard"&&u&&o&&"text-primary-600",!n&&r==="primary"&&u&&"text-primary-800")}),h&&jsxRuntime.jsx(le,{content:h?String(h):void 0,className:"ml-2",size:t==="md"?"md":"sm"})]}));exports.ChipForm=dr;exports.ChipFormSizes=cr;exports.ChipFormTypes=lr;exports.ChipFormVariants=ir;
1
+ 'use strict';var react=require('react'),cva=require('cva'),jsxRuntime=require('react/jsx-runtime');function Y(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=Y(e[r]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function D(){for(var e,r,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Y(e))&&(o&&(o+=" "),o+=r);return o}var $="-",ce=e=>{let r=pe(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:l=>{let n=l.split($);return n[0]===""&&n.length!==1&&n.shift(),te(n,r)||de(l)},getConflictingClassGroupIds:(l,n)=>{let p=t[l]||[];return n&&o[l]?[...p,...o[l]]:p}}},te=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?te(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let s=e.join($);return r.validators.find(({validator:l})=>l(s))?.classGroupId},ee=/^\[(.+)\]$/,de=e=>{if(ee.test(e)){let r=ee.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return "arbitrary.."+t}},pe=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return me(Object.entries(e.classGroups),t).forEach(([s,l])=>{O(l,o,s,r);}),o},O=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?r:re(r,a);s.classGroupId=t;return}if(typeof a=="function"){if(ue(a)){O(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([s,l])=>{O(l,re(r,s),t,o);});});},re=(e,r)=>{let t=e;return r.split($).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},ue=e=>e.isThemeGetter,me=(e,r)=>r?e.map(([t,o])=>{let a=o.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,n])=>[r+l,n])):s);return [t,a]}):e,be=e=>{if(e<1)return {get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(s,l)=>{t.set(s,l),r++,r>e&&(r=0,o=t,t=new Map);};return {get(s){let l=t.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return a(s,l),l},set(s,l){t.has(s)?t.set(s,l):a(s,l);}}},oe="!",fe=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],s=r.length,l=n=>{let p=[],b=0,u=0,h;for(let m=0;m<n.length;m++){let g=n[m];if(b===0){if(g===a&&(o||n.slice(m,m+s)===r)){p.push(n.slice(u,m)),u=m+s;continue}if(g==="/"){h=m;continue}}g==="["?b++:g==="]"&&b--;}let y=p.length===0?n:n.substring(u),w=y.startsWith(oe),v=w?y.substring(1):y,f=h&&h>u?h-u:void 0;return {modifiers:p,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:f}};return t?n=>t({className:n,parseClassName:l}):l},ge=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o);}),r.push(...t.sort()),r},he=e=>({cache:be(e.cacheSize),parseClassName:fe(e),...ce(e)}),ye=/\s+/,xe=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,s=[],l=e.trim().split(ye),n="";for(let p=l.length-1;p>=0;p-=1){let b=l[p],{modifiers:u,hasImportantModifier:h,baseClassName:y,maybePostfixModifierPosition:w}=t(b),v=!!w,f=o(v?y.substring(0,w):y);if(!f){if(!v){n=b+(n.length>0?" "+n:n);continue}if(f=o(y),!f){n=b+(n.length>0?" "+n:n);continue}v=!1;}let m=ge(u).join(":"),g=h?m+oe:m,x=g+f;if(s.includes(x))continue;s.push(x);let G=a(f,v);for(let S=0;S<G.length;++S){let I=G[S];s.push(g+I);}n=b+(n.length>0?" "+n:n);}return n};function we(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=ne(r))&&(o&&(o+=" "),o+=t);return o}var ne=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ne(e[o]))&&(t&&(t+=" "),t+=r);return t};function ve(e,...r){let t,o,a,s=l;function l(p){let b=r.reduce((u,h)=>h(u),e());return t=he(b),o=t.cache.get,a=t.cache.set,s=n,n(p)}function n(p){let b=o(p);if(b)return b;let u=xe(p,t);return a(p,u),u}return function(){return s(we.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},se=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ce=/^\d+\/\d+$/,ke=new Set(["px","full","screen"]),ze=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pe=/\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$/,Se=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ae=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Me=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k=e=>A(e)||ke.has(e)||Ce.test(e),z=e=>M(e,"length",Ve),A=e=>!!e&&!Number.isNaN(Number(e)),_=e=>M(e,"number",A),T=e=>!!e&&Number.isInteger(Number(e)),Re=e=>e.endsWith("%")&&A(e.slice(0,-1)),i=e=>se.test(e),P=e=>ze.test(e),Ge=new Set(["length","size","percentage"]),Ne=e=>M(e,Ge,ae),Te=e=>M(e,"position",ae),Ee=new Set(["image","url"]),Ie=e=>M(e,Ee,je),Le=e=>M(e,"",Fe),E=()=>!0,M=(e,r,t)=>{let o=se.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Ve=e=>Pe.test(e)&&!Se.test(e),ae=()=>!1,Fe=e=>Ae.test(e),je=e=>Me.test(e);var We=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),s=c("borderRadius"),l=c("borderSpacing"),n=c("borderWidth"),p=c("contrast"),b=c("grayscale"),u=c("hueRotate"),h=c("invert"),y=c("gap"),w=c("gradientColorStops"),v=c("gradientColorStopPositions"),f=c("inset"),m=c("margin"),g=c("opacity"),x=c("padding"),G=c("saturate"),S=c("scale"),I=c("sepia"),U=c("skew"),q=c("space"),J=c("translate"),F=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto",i,r],d=()=>[i,r],K=()=>["",k,z],L=()=>["auto",A,i],X=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",i],Q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[A,i];return {cacheSize:500,separator:":",theme:{colors:[E],spacing:[k,z],blur:["none","",P,i],brightness:C(),borderColor:[e],borderRadius:["none","","full",P,i],borderSpacing:d(),borderWidth:K(),contrast:C(),grayscale:N(),hueRotate:C(),invert:N(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Re,z],inset:W(),margin:W(),opacity:C(),padding:d(),saturate:C(),scale:C(),sepia:N(),skew:C(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[P]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"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:[...X(),i]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,i]}],basis:[{basis:W()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",T,i]}],"grid-cols":[{"grid-cols":[E]}],"col-start-end":[{col:["auto",{span:["full",T,i]},i]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[E]}],"row-start-end":[{row:["auto",{span:[T,i]},i]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...B()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...B(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...B(),"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:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[P]},P]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",P,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_]}],"font-family":[{font:[E]}],"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",i]}],"line-clamp":[{"line-clamp":["none",A,_]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,z]}],"underline-offset":[{"underline-offset":["auto",k,i]}],"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:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...X(),Te]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ne]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ie]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:V()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[k,i]}],"outline-w":[{outline:[k,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[k,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",P,Le]}],"shadow-color":[{shadow:[E]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",P,i]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[G]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[T,i]}],"translate-x":[{"translate-x":[J]}],"translate-y":[{"translate-y":[J]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[k,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 ie=ve(We);function R(...e){return ie(D(e))}var le=({content:e,variant:r="select",size:t="lg",className:o,...a})=>jsxRuntime.jsx("div",{className:R("content-center px-1 text-center text-neutral-50",t==="sm"&&"h-4 min-w-4 text-xs",t==="md"&&"h-4.5 min-w-4.5 text-xs",t==="lg"&&"h-6 min-w-6",r==="select"&&"rounded-sm bg-primary-700",r==="alert"&&"rounded-full bg-error-700",r==="alert"&&t==="sm"&&"h-[0.375rem] min-w-[0.375rem] p-0",r==="alert"&&t==="md"&&"h-4 min-w-4",o),...a,children:!(r==="alert"&&t==="sm")&&e});var ir=["standard","primary"],lr=["outlined","ghost","fill"],cr=["xs","sm","md"],$e=cva.cva({base:"flex w-fit items-center justify-center rounded-lg px-3 py-1 leading-[130%] text-neutral-700 transition-all",variants:{variant:{standard:"ring-neutral-700",primary:"text-primary-500 ring-primary-500"},type:{outlined:"ring-1",ghost:"",fill:"text-primary-600"},selected:{true:"",false:""},disabled:{true:"text-neutral-400 ring-neutral-400"},duotone:{true:"",false:""},size:{xs:"h-6 rounded-md text-sm",sm:"h-8 text-sm",md:"h-10 text-base"}},compoundVariants:[{variant:"standard",selected:!1,disabled:!1,className:"hover:bg-primary-100"},{variant:"primary",selected:!1,disabled:!1,className:"hover:bg-primary-200"},{variant:"standard",selected:!0,disabled:!1,className:"bg-primary-200"},{variant:"primary",selected:!0,disabled:!1,className:"bg-primary-300"},{type:"fill",disabled:!1,className:"bg-primary-100"}],defaultVariants:{size:"md",selected:!1,disabled:!1}}),dr=react.forwardRef(({children:e,variant:r,size:t,selected:o,onClick:a,className:s,type:l,disabled:n,StartIcon:p,EndIcon:b,duotone:u,badgeNumber:h,...y},w)=>jsxRuntime.jsxs("button",{ref:w,type:"button",disabled:n,onClick:()=>a?.(!o),className:R($e({variant:r,size:t,type:l,selected:o,disabled:n,duotone:u}),s),...y,children:[p&&jsxRuntime.jsx(p,{size:t==="md"?18:14,className:R("mr-1",!n&&r==="standard"&&u&&"text-primary-500",!n&&r==="standard"&&u&&o&&"text-primary-600",!n&&r==="primary"&&u&&"text-neutral-800")}),e,b&&jsxRuntime.jsx(b,{size:t==="md"?18:14,className:R("ml-1",!n&&r==="standard"&&u&&"text-primary-500",!n&&r==="standard"&&u&&o&&"text-primary-600",!n&&r==="primary"&&u&&"text-primary-800")}),h&&jsxRuntime.jsx(le,{content:h?String(h):void 0,className:"ml-2",size:t==="md"?"md":"sm"})]}));exports.ChipForm=dr;exports.ChipFormSizes=cr;exports.ChipFormTypes=lr;exports.ChipFormVariants=ir;
@@ -1 +1 @@
1
- export{d as ChipForm,c as ChipFormSizes,b as ChipFormTypes,a as ChipFormVariants}from'./chunk-GF3AWDCV.mjs';import'./chunk-BVHU5ZT3.mjs';import'./chunk-2WINTZSS.mjs';
1
+ export{d as ChipForm,c as ChipFormSizes,b as ChipFormTypes,a as ChipFormVariants}from'./chunk-C2KEN44B.mjs';import'./chunk-BVHU5ZT3.mjs';import'./chunk-2WINTZSS.mjs';
@@ -6,7 +6,7 @@ type ChipStatusComplementaryVariantType = (typeof ChipStatusComplementaryVariant
6
6
  type ChipStatusComplementarySizeType = (typeof ChipStatusComplementarySizes)[number];
7
7
  declare const chipStatusComplementary: (props?: ({
8
8
  variant?: "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
9
- size?: "md" | "sm" | "xs" | undefined;
9
+ size?: "sm" | "md" | "xs" | undefined;
10
10
  } & ({
11
11
  class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
12
12
  [x: string]: any;
@@ -6,7 +6,7 @@ type ChipStatusComplementaryVariantType = (typeof ChipStatusComplementaryVariant
6
6
  type ChipStatusComplementarySizeType = (typeof ChipStatusComplementarySizes)[number];
7
7
  declare const chipStatusComplementary: (props?: ({
8
8
  variant?: "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
9
- size?: "md" | "sm" | "xs" | undefined;
9
+ size?: "sm" | "md" | "xs" | undefined;
10
10
  } & ({
11
11
  class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
12
12
  [x: string]: any;
@@ -2,7 +2,7 @@ import { VariantProps } from 'cva';
2
2
  import { HTMLAttributes, FC } from 'react';
3
3
 
4
4
  declare const chipStatusTable: (props?: ({
5
- variant?: "warning" | "success" | "error" | "info" | "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
5
+ variant?: "success" | "info" | "warning" | "error" | "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
6
6
  } & ({
7
7
  class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
8
8
  [x: string]: any;
@@ -2,7 +2,7 @@ import { VariantProps } from 'cva';
2
2
  import { HTMLAttributes, FC } from 'react';
3
3
 
4
4
  declare const chipStatusTable: (props?: ({
5
- variant?: "warning" | "success" | "error" | "info" | "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
5
+ variant?: "success" | "info" | "warning" | "error" | "zoro" | "ussop" | "crocodile" | "silvers" | "buggy" | "nami" | "shanks" | "piiman" | "sanji" | "ace" | "hancock" | "chopper" | "bentham" | "ivankov" | "brook" | "luffy" | "frankie" | "jinbe" | "robin" | "law" | undefined;
6
6
  } & ({
7
7
  class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
8
8
  [x: string]: any;