sodtrack-web-ui 0.53.1 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion-form.mjs +1 -1
- package/dist/accordion.mjs +1 -1
- package/dist/alert-dialog.mjs +1 -1
- package/dist/alert-message.mjs +1 -1
- package/dist/avatar.d.mts +8 -8
- package/dist/avatar.d.ts +8 -8
- package/dist/avatar.js +1 -50
- package/dist/avatar.mjs +1 -1
- package/dist/button.mjs +1 -1
- package/dist/calendar.mjs +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chip-form.d.mts +3 -3
- package/dist/chip-form.d.ts +3 -3
- package/dist/chip-input.mjs +1 -1
- package/dist/chip-status-table.d.mts +1 -1
- package/dist/chip-status-table.d.ts +1 -1
- package/dist/{chunk-5E3VGYQJ.mjs → chunk-2HRXP2I4.mjs} +1 -1
- package/dist/{chunk-XSOK32QE.mjs → chunk-3GG6BNGR.mjs} +1 -1
- package/dist/{chunk-5FC6Y6GC.mjs → chunk-3U3UI5XP.mjs} +1 -1
- package/dist/{chunk-6AFCO3N6.mjs → chunk-6BGB6K4U.mjs} +1 -1
- package/dist/{chunk-YG4GZU65.mjs → chunk-6PKCW63O.mjs} +1 -1
- package/dist/{chunk-Z7HQYK3T.mjs → chunk-BNV3EY4N.mjs} +1 -1
- package/dist/{chunk-T22XDFYS.mjs → chunk-CXOA3OCG.mjs} +1 -1
- package/dist/{chunk-RLWH7O3A.mjs → chunk-DPSSQH5W.mjs} +1 -1
- package/dist/{chunk-AQPJ5OS4.mjs → chunk-DZLL7IH6.mjs} +1 -1
- package/dist/{chunk-N42EN3DO.mjs → chunk-ENF7AQB7.mjs} +1 -1
- package/dist/{chunk-MLQUPPLV.mjs → chunk-EYEAWZZH.mjs} +1 -1
- package/dist/{chunk-VEYMK4K2.mjs → chunk-GLKJ3FOO.mjs} +1 -1
- package/dist/chunk-HF2DUXOQ.mjs +1 -0
- package/dist/{chunk-L43TLWY4.mjs → chunk-IOSO66TV.mjs} +1 -1
- package/dist/{chunk-B65IFRKA.mjs → chunk-IWVOTU6P.mjs} +1 -1
- package/dist/{chunk-ZXOJX4FK.mjs → chunk-L75FPM36.mjs} +1 -1
- package/dist/{chunk-46WLKGPD.mjs → chunk-LIHWSINZ.mjs} +1 -1
- package/dist/chunk-LRXLPCBB.mjs +1 -0
- package/dist/{chunk-QMBF563Y.mjs → chunk-OCF546MQ.mjs} +1 -1
- package/dist/{chunk-THQYCFLR.mjs → chunk-OR7K6UNK.mjs} +1 -1
- package/dist/{chunk-6NIMZBNH.mjs → chunk-R2C5CBU5.mjs} +1 -1
- package/dist/{chunk-V4O5XAB2.mjs → chunk-S2HBU3YJ.mjs} +1 -1
- package/dist/{chunk-27KPDDYB.mjs → chunk-SNGRNP57.mjs} +1 -1
- package/dist/{chunk-XCVRZRCP.mjs → chunk-V5FJMVUN.mjs} +1 -1
- package/dist/{chunk-7RQ3O67S.mjs → chunk-VZKFL2XP.mjs} +1 -1
- package/dist/{chunk-P7XUCLSY.mjs → chunk-WB3TMFNI.mjs} +1 -1
- package/dist/{chunk-SNIFUQVS.mjs → chunk-XJSC6PKJ.mjs} +2 -10
- package/dist/country-text-field.mjs +1 -1
- package/dist/data-table.mjs +1 -1
- package/dist/date-picker.mjs +1 -1
- package/dist/dialog.mjs +1 -1
- package/dist/drawer-sticky.d.mts +1 -1
- package/dist/drawer-sticky.d.ts +1 -1
- package/dist/drawer-sticky.mjs +1 -1
- package/dist/drawer.mjs +1 -1
- package/dist/flag-select.mjs +1 -1
- package/dist/icons.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -10
- package/dist/index.mjs +1 -1
- package/dist/list-item-arrow.css +1 -1
- package/dist/list-item-arrow.mjs +1 -1
- package/dist/list-item-checkbox.css +1 -1
- package/dist/list-item-checkbox.mjs +1 -1
- package/dist/list-item.css +1 -1
- package/dist/list-item.mjs +1 -1
- package/dist/rating.mjs +1 -1
- package/dist/search-bar.mjs +1 -1
- package/dist/select.mjs +1 -1
- package/dist/snackbar.mjs +1 -1
- package/dist/spinner.mjs +1 -1
- package/dist/tab.d.mts +1 -1
- package/dist/tab.d.ts +1 -1
- package/dist/tab.mjs +1 -1
- package/dist/table.mjs +1 -1
- package/dist/tailwind-preset.js +1 -1
- package/dist/tailwind-preset.mjs +1 -1
- package/dist/text-field.mjs +1 -1
- package/dist/time-picker.mjs +1 -1
- package/package.json +1 -2
- package/dist/chunk-7TPCN744.mjs +0 -1
- package/dist/chunk-PTBL4WCK.mjs +0 -1
- package/dist/chunk-QUFOGBCP.mjs +0 -1
package/dist/accordion-form.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as AccordionForm,e as AccordionFormContent,c as AccordionFormItem,a as AccordionFormSizes,d as AccordionFormTrigger}from'./chunk-
|
|
1
|
+
export{b as AccordionForm,e as AccordionFormContent,c as AccordionFormItem,a as AccordionFormSizes,d as AccordionFormTrigger}from'./chunk-OR7K6UNK.mjs';import'./chunk-FAMLJ6AJ.mjs';import'./chunk-BVHU5ZT3.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/accordion.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as Accordion,g as AccordionContent,d as AccordionItem,a as AccordionPrimitive,b as AccordionSizes,f as AccordionTrigger,e as AccordionTriggerEmpty}from'./chunk-
|
|
1
|
+
export{c as Accordion,g as AccordionContent,d as AccordionItem,a as AccordionPrimitive,b as AccordionSizes,f as AccordionTrigger,e as AccordionTriggerEmpty}from'./chunk-V5FJMVUN.mjs';import'./chunk-FAMLJ6AJ.mjs';import'./chunk-BVHU5ZT3.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/alert-dialog.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as AlertDialog,f as AlertDialogActionButton,m as AlertDialogBody,g as AlertDialogCloseButton,e as AlertDialogContent,l as AlertDialogDescription,h as AlertDialogExtraButton,j as AlertDialogFooter,i as AlertDialogHeader,d as AlertDialogOverlay,c as AlertDialogPortal,k as AlertDialogTitle,b as AlertDialogTrigger}from'./chunk-
|
|
1
|
+
export{a as AlertDialog,f as AlertDialogActionButton,m as AlertDialogBody,g as AlertDialogCloseButton,e as AlertDialogContent,l as AlertDialogDescription,h as AlertDialogExtraButton,j as AlertDialogFooter,i as AlertDialogHeader,d as AlertDialogOverlay,c as AlertDialogPortal,k as AlertDialogTitle,b as AlertDialogTrigger}from'./chunk-6BGB6K4U.mjs';import'./chunk-WGMDH4XX.mjs';import'./chunk-DZLL7IH6.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/alert-message.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as AlertMessage}from'./chunk-
|
|
1
|
+
export{a as AlertMessage}from'./chunk-DPSSQH5W.mjs';import'./chunk-DZLL7IH6.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/avatar.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { AvatarRootProps } from '@ark-ui/react/avatar';
|
|
3
3
|
|
|
4
|
+
declare const AvatarSizes: readonly ["xs", "sm", "md", "lg"];
|
|
4
5
|
type AvatarProps = {
|
|
5
|
-
src?: string
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} & React__default.ComponentProps<typeof AvatarPrimitive.Root>;
|
|
6
|
+
src?: string;
|
|
7
|
+
size: (typeof AvatarSizes)[number];
|
|
8
|
+
fallback: string;
|
|
9
|
+
} & AvatarRootProps;
|
|
10
10
|
declare const Avatar: FC<AvatarProps>;
|
|
11
11
|
|
|
12
|
-
export { Avatar };
|
|
12
|
+
export { Avatar, type AvatarProps, AvatarSizes };
|
package/dist/avatar.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { AvatarRootProps } from '@ark-ui/react/avatar';
|
|
3
3
|
|
|
4
|
+
declare const AvatarSizes: readonly ["xs", "sm", "md", "lg"];
|
|
4
5
|
type AvatarProps = {
|
|
5
|
-
src?: string
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} & React__default.ComponentProps<typeof AvatarPrimitive.Root>;
|
|
6
|
+
src?: string;
|
|
7
|
+
size: (typeof AvatarSizes)[number];
|
|
8
|
+
fallback: string;
|
|
9
|
+
} & AvatarRootProps;
|
|
10
10
|
declare const Avatar: FC<AvatarProps>;
|
|
11
11
|
|
|
12
|
-
export { Avatar };
|
|
12
|
+
export { Avatar, type AvatarProps, AvatarSizes };
|
package/dist/avatar.js
CHANGED
|
@@ -1,50 +1 @@
|
|
|
1
|
-
'use strict';var M=require('@radix-ui/react-avatar'),react=require('react'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var M__namespace=/*#__PURE__*/_interopNamespace(M);var ae=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),H=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim();var te={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 ue=react.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:d="",children:u,iconNode:s,...l},c)=>react.createElement("svg",{ref:c,...te,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:H("lucide",d),...l},[...s.map(([p,m])=>react.createElement(p,m)),...Array.isArray(u)?u:[u]]));var le=(e,a)=>{let t=react.forwardRef(({className:o,...d},u)=>react.createElement(ue,{ref:u,iconNode:a,className:H(`lucide-${ae(e)}`,o),...d}));return t.displayName=`${e}`,t};var R=le("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);function de(e){var a,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var d=e.length;for(a=0;a<d;a++)e[a]&&(t=de(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function re(){for(var e,a,t=0,o="",d=arguments.length;t<d;t++)(e=arguments[t])&&(a=de(e))&&(o&&(o+=" "),o+=a);return o}var N="-",ge=e=>{let a=Se(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:s=>{let l=s.split(N);return l[0]===""&&l.length!==1&&l.shift(),ie(l,a)||he(s)},getConflictingClassGroupIds:(s,l)=>{let c=t[s]||[];return l&&o[s]?[...c,...o[s]]:c}}},ie=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),d=o?ie(e.slice(1),o):void 0;if(d)return d;if(a.validators.length===0)return;let u=e.join(N);return a.validators.find(({validator:s})=>s(u))?.classGroupId},se=/^\[(.+)\]$/,he=e=>{if(se.test(e)){let a=se.exec(e)[1],t=a?.substring(0,a.indexOf(":"));if(t)return "arbitrary.."+t}},Se=e=>{let{theme:a,prefix:t}=e,o={nextPart:new Map,validators:[]};return Pe(Object.entries(e.classGroups),t).forEach(([u,s])=>{X(s,o,u,a);}),o},X=(e,a,t,o)=>{e.forEach(d=>{if(typeof d=="string"){let u=d===""?a:fe(a,d);u.classGroupId=t;return}if(typeof d=="function"){if(we(d)){X(d(o),a,t,o);return}a.validators.push({validator:d,classGroupId:t});return}Object.entries(d).forEach(([u,s])=>{X(s,fe(a,u),t,o);});});},fe=(e,a)=>{let t=e;return a.split(N).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},we=e=>e.isThemeGetter,Pe=(e,a)=>a?e.map(([t,o])=>{let d=o.map(u=>typeof u=="string"?a+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([s,l])=>[a+s,l])):u);return [t,d]}):e,ke=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,t=new Map,o=new Map,d=(u,s)=>{t.set(u,s),a++,a>e&&(a=0,o=t,t=new Map);};return {get(u){let s=t.get(u);if(s!==void 0)return s;if((s=o.get(u))!==void 0)return d(u,s),s},set(u,s){t.has(u)?t.set(u,s):d(u,s);}}},ce="!",be=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,d=a[0],u=a.length,s=l=>{let c=[],p=0,m=0,C;for(let n=0;n<l.length;n++){let I=l[n];if(p===0){if(I===d&&(o||l.slice(n,n+u)===a)){c.push(l.slice(m,n)),m=n+u;continue}if(I==="/"){C=n;continue}}I==="["?p++:I==="]"&&p--;}let g=c.length===0?l:l.substring(m),S=g.startsWith(ce),h=S?g.substring(1):g,L=C&&C>m?C-m:void 0;return {modifiers:c,hasImportantModifier:S,baseClassName:h,maybePostfixModifierPosition:L}};return t?l=>t({className:l,parseClassName:s}):s},Ae=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},Be=e=>({cache:ke(e.cacheSize),parseClassName:be(e),...ge(e)}),Fe=/\s+/,Me=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:d}=a,u=[],s=e.trim().split(Fe),l="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:m,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:S}=t(p),h=!!S,L=o(h?g.substring(0,S):g);if(!L){if(!h){l=p+(l.length>0?" "+l:l);continue}if(L=o(g),!L){l=p+(l.length>0?" "+l:l);continue}h=!1;}let n=Ae(m).join(":"),I=C?n+ce:n,x=I+L;if(u.includes(x))continue;u.push(x);let y=d(L,h);for(let A=0;A<y.length;++A){let v=y[A];u.push(I+v);}l=p+(l.length>0?" "+l:l);}return l};function ye(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=ne(a))&&(o&&(o+=" "),o+=t);return o}var ne=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=ne(e[o]))&&(t&&(t+=" "),t+=a);return t};function De(e,...a){let t,o,d,u=s;function s(c){let p=a.reduce((m,C)=>C(m),e());return t=Be(p),o=t.cache.get,d=t.cache.set,u=l,l(c)}function l(c){let p=o(c);if(p)return p;let m=Me(c,t);return d(c,m),m}return function(){return u(ye.apply(null,arguments))}}var f=e=>{let a=t=>t[e]||[];return a.isThemeGetter=!0,a},pe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Re=/^\d+\/\d+$/,Te=new Set(["px","full","screen"]),qe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ve=/\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$/,Ue=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Oe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,He=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>B(e)||Te.has(e)||Re.test(e),k=e=>F(e,"length",Ke),B=e=>!!e&&!Number.isNaN(Number(e)),E=e=>F(e,"number",B),T=e=>!!e&&Number.isInteger(Number(e)),Ge=e=>e.endsWith("%")&&B(e.slice(0,-1)),r=e=>pe.test(e),b=e=>qe.test(e),ze=new Set(["length","size","percentage"]),Ve=e=>F(e,ze,me),We=e=>F(e,"position",me),Ee=new Set(["image","url"]),Xe=e=>F(e,Ee,Je),Ne=e=>F(e,"",Ze),q=()=>!0,F=(e,a,t)=>{let o=pe.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(o[2]):!1},Ke=e=>ve.test(e)&&!Ue.test(e),me=()=>!1,Ze=e=>Oe.test(e),Je=e=>He.test(e);var Qe=()=>{let e=f("colors"),a=f("spacing"),t=f("blur"),o=f("brightness"),d=f("borderColor"),u=f("borderRadius"),s=f("borderSpacing"),l=f("borderWidth"),c=f("contrast"),p=f("grayscale"),m=f("hueRotate"),C=f("invert"),g=f("gap"),S=f("gradientColorStops"),h=f("gradientColorStopPositions"),L=f("inset"),n=f("margin"),I=f("opacity"),x=f("padding"),y=f("saturate"),A=f("scale"),v=f("sepia"),J=f("skew"),Q=f("space"),j=f("translate"),G=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",r,a],i=()=>[r,a],Y=()=>["",P,k],U=()=>["auto",B,r],_=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],O=()=>["solid","dashed","dotted","double","none"],$=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",r],ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>[B,r];return {cacheSize:500,separator:":",theme:{colors:[q],spacing:[P,k],blur:["none","",b,r],brightness:w(),borderColor:[e],borderRadius:["none","","full",b,r],borderSpacing:i(),borderWidth:Y(),contrast:w(),grayscale:D(),hueRotate:w(),invert:D(),gap:i(),gradientColorStops:[e],gradientColorStopPositions:[Ge,k],inset:V(),margin:V(),opacity:w(),padding:i(),saturate:w(),scale:w(),sepia:D(),skew:w(),space:i(),translate:i()},classGroups:{aspect:[{aspect:["auto","square","video",r]}],container:["container"],columns:[{columns:[b]}],"break-after":[{"break-after":ee()}],"break-before":[{"break-before":ee()}],"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:[..._(),r]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:G()}],"overscroll-x":[{"overscroll-x":G()}],"overscroll-y":[{"overscroll-y":G()}],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,r]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",r]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",T,r]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",T,r]},r]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[T,r]},r]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",r]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",r]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...W()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...W(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...W(),"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":[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",r,a]}],"min-w":[{"min-w":[r,a,"min","max","fit"]}],"max-w":[{"max-w":[r,a,"none","full","min","max","fit","prose",{screen:[b]},b]}],h:[{h:[r,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[r,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[r,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[r,a,"auto","min","max","fit"]}],"font-size":[{text:["base",b,k]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",E]}],"font-family":[{font:[q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",r]}],"line-clamp":[{"line-clamp":["none",B,E]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,r]}],"list-image":[{"list-image":["none",r]}],"list-style-type":[{list:["none","disc","decimal",r]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...O(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,k]}],"underline-offset":[{"underline-offset":["auto",P,r]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",r]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",r]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[..._(),We]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ve]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[u]}],"rounded-s":[{"rounded-s":[u]}],"rounded-e":[{"rounded-e":[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-ss":[{"rounded-ss":[u]}],"rounded-se":[{"rounded-se":[u]}],"rounded-ee":[{"rounded-ee":[u]}],"rounded-es":[{"rounded-es":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...O(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:O()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...O()]}],"outline-offset":[{"outline-offset":[P,r]}],"outline-w":[{outline:[P,k]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[P,k]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",b,Ne]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...$(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",b,r]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[y]}],sepia:[{sepia:[v]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[v]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",r]}],duration:[{duration:w()}],ease:[{ease:["linear","in","out","in-out",r]}],delay:[{delay:w()}],animate:[{animate:["none","spin","ping","pulse","bounce",r]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[T,r]}],"translate-x":[{"translate-x":[j]}],"translate-y":[{"translate-y":[j]}],"skew-x":[{"skew-x":[J]}],"skew-y":[{"skew-y":[J]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",r]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",r]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",r]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,k,E]}],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 Le=De(Qe);function K(...e){return Le(re(e))}var Ca=({alt:e,src:a,className:t,iconSize:o=24,...d})=>jsxRuntime.jsxs(M__namespace.Root,{...d,children:[jsxRuntime.jsx(M__namespace.Image,{className:K("h-10 w-10 rounded-full",t),src:a??void 0,alt:e}),jsxRuntime.jsx(M__namespace.Fallback,{className:K("flex h-10 w-10 items-center justify-center rounded-full bg-neutral-200",t),children:jsxRuntime.jsx(R,{size:o})})]});/*! 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/user.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.Avatar=Ca;
|
|
1
|
+
'use strict';var avatar=require('@ark-ui/react/avatar'),jsxRuntime=require('react/jsx-runtime');function Q(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=Q(e[r]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Y(){for(var e,r,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Q(e))&&(o&&(o+=" "),o+=r);return o}var B="-",ie=e=>{let r=de(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:i=>{let s=i.split(B);return s[0]===""&&s.length!==1&&s.shift(),re(s,r)||ce(i)},getConflictingClassGroupIds:(i,s)=>{let u=t[i]||[];return s&&o[i]?[...u,...o[i]]:u}}},re=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?re(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let n=e.join(B);return r.validators.find(({validator:i})=>i(n))?.classGroupId},D=/^\[(.+)\]$/,ce=e=>{if(D.test(e)){let r=D.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return "arbitrary.."+t}},de=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return ue(Object.entries(e.classGroups),t).forEach(([n,i])=>{$(i,o,n,r);}),o},$=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?r:ee(r,a);n.classGroupId=t;return}if(typeof a=="function"){if(pe(a)){$(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([n,i])=>{$(i,ee(r,n),t,o);});});},ee=(e,r)=>{let t=e;return r.split(B).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},pe=e=>e.isThemeGetter,ue=(e,r)=>r?e.map(([t,o])=>{let a=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,s])=>[r+i,s])):n);return [t,a]}):e,be=e=>{if(e<1)return {get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(n,i)=>{t.set(n,i),r++,r>e&&(r=0,o=t,t=new Map);};return {get(n){let i=t.get(n);if(i!==void 0)return i;if((i=o.get(n))!==void 0)return a(n,i),i},set(n,i){t.has(n)?t.set(n,i):a(n,i);}}},te="!",ge=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],n=r.length,i=s=>{let u=[],g=0,m=0,y;for(let p=0;p<s.length;p++){let f=s[p];if(g===0){if(f===a&&(o||s.slice(p,p+n)===r)){u.push(s.slice(m,p)),m=p+n;continue}if(f==="/"){y=p;continue}}f==="["?g++:f==="]"&&g--;}let x=u.length===0?s:s.substring(m),v=x.startsWith(te),w=v?x.substring(1):x,b=y&&y>m?y-m:void 0;return {modifiers:u,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:b}};return t?s=>t({className:s,parseClassName:i}):i},fe=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},me=e=>({cache:be(e.cacheSize),parseClassName:ge(e),...ie(e)}),he=/\s+/,ye=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,n=[],i=e.trim().split(he),s="";for(let u=i.length-1;u>=0;u-=1){let g=i[u],{modifiers:m,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:v}=t(g),w=!!v,b=o(w?x.substring(0,v):x);if(!b){if(!w){s=g+(s.length>0?" "+s:s);continue}if(b=o(x),!b){s=g+(s.length>0?" "+s:s);continue}w=!1;}let p=fe(m).join(":"),f=y?p+te:p,h=f+b;if(n.includes(h))continue;n.push(h);let R=a(b,w);for(let S=0;S<R.length;++S){let T=R[S];n.push(f+T);}s=g+(s.length>0?" "+s:s);}return s};function xe(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=oe(r))&&(o&&(o+=" "),o+=t);return o}var oe=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=oe(e[o]))&&(t&&(t+=" "),t+=r);return t};function we(e,...r){let t,o,a,n=i;function i(u){let g=r.reduce((m,y)=>y(m),e());return t=me(g),o=t.cache.get,a=t.cache.set,n=s,s(u)}function s(u){let g=o(u);if(g)return g;let m=ye(u,t);return a(u,m),m}return function(){return n(xe.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ne=/^\[(?:([a-z-]+):)?(.+)\]$/i,ve=/^\d+\/\d+$/,ke=new Set(["px","full","screen"]),ze=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ce=/\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$/,Ae=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Se=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Me=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>M(e)||ke.has(e)||ve.test(e),C=e=>P(e,"length",Ee),M=e=>!!e&&!Number.isNaN(Number(e)),F=e=>P(e,"number",M),I=e=>!!e&&Number.isInteger(Number(e)),Pe=e=>e.endsWith("%")&&M(e.slice(0,-1)),l=e=>ne.test(e),A=e=>ze.test(e),Re=new Set(["length","size","percentage"]),Ge=e=>P(e,Re,se),Ie=e=>P(e,"position",se),Ne=new Set(["image","url"]),Te=e=>P(e,Ne,_e),je=e=>P(e,"",Le),N=()=>!0,P=(e,r,t)=>{let o=ne.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Ee=e=>Ce.test(e)&&!Ae.test(e),se=()=>!1,Le=e=>Se.test(e),_e=e=>Me.test(e);var Ve=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),n=c("borderRadius"),i=c("borderSpacing"),s=c("borderWidth"),u=c("contrast"),g=c("grayscale"),m=c("hueRotate"),y=c("invert"),x=c("gap"),v=c("gradientColorStops"),w=c("gradientColorStopPositions"),b=c("inset"),p=c("margin"),f=c("opacity"),h=c("padding"),R=c("saturate"),S=c("scale"),T=c("sepia"),q=c("skew"),O=c("space"),J=c("translate"),L=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",l,r],d=()=>[l,r],K=()=>["",z,C],j=()=>["auto",M,l],X=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],E=()=>["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"],W=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",l],H=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[M,l];return {cacheSize:500,separator:":",theme:{colors:[N],spacing:[z,C],blur:["none","",A,l],brightness:k(),borderColor:[e],borderRadius:["none","","full",A,l],borderSpacing:d(),borderWidth:K(),contrast:k(),grayscale:G(),hueRotate:k(),invert:G(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Pe,C],inset:V(),margin:V(),opacity:k(),padding:d(),saturate:k(),scale:k(),sepia:G(),skew:k(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"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(),l]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",I,l]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",I,l]}],"grid-cols":[{"grid-cols":[N]}],"col-start-end":[{col:["auto",{span:["full",I,l]},l]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[N]}],"row-start-end":[{row:["auto",{span:[I,l]},l]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...W()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...W(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...W(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[O]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[O]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[A]},A]}],h:[{h:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",A,C]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",F]}],"font-family":[{font:[N]}],"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",l]}],"line-clamp":[{"line-clamp":["none",M,F]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...E(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,C]}],"underline-offset":[{"underline-offset":["auto",z,l]}],"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",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...X(),Ie]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ge]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Te]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...E(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:E()}],"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:["",...E()]}],"outline-offset":[{"outline-offset":[z,l]}],"outline-w":[{outline:[z,C]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[z,C]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,je]}],"shadow-color":[{shadow:[N]}],opacity:[{opacity:[f]}],"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:[u]}],"drop-shadow":[{"drop-shadow":["","none",A,l]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[y]}],saturate:[{saturate:[R]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[I,l]}],"translate-x":[{"translate-x":[J]}],"translate-y":[{"translate-y":[J]}],"skew-x":[{"skew-x":[q]}],"skew-y":[{"skew-y":[q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],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",l]}],"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",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,C,F]}],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 ae=we(Ve);function U(...e){return ae(Y(e))}var Qe=["xs","sm","md","lg"],Ye=({fallback:e,src:r,className:t,size:o="sm",...a})=>jsxRuntime.jsxs(avatar.AvatarRoot,{"data-size":o,className:U("flex aspect-square items-center justify-center overflow-hidden rounded-full bg-primary-300","data-[size=xs]:w-8","data-[size=sm]:w-10","data-[size=md]:w-14","data-[size=lg]:w-18.5",t),...a,children:[jsxRuntime.jsx(avatar.AvatarFallback,{"data-size":o,className:U("font-semibold uppercase !leading-[130%] text-primary-600","data-[size=xs]:text-sm","data-[size=sm]:text-base","data-[size=md]:text-lg","data-[size=lg]:text-2xl"),children:e.slice(0,2)}),jsxRuntime.jsx(avatar.AvatarImage,{className:"aspect-square object-cover",src:r,alt:"avatar"})]});exports.Avatar=Ye;exports.AvatarSizes=Qe;
|
package/dist/avatar.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as
|
|
1
|
+
export{b as Avatar,a as AvatarSizes}from'./chunk-HF2DUXOQ.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/button.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as Button,a as ButtonSizes,b as ButtonVariants}from'./chunk-
|
|
1
|
+
export{c as Button,a as ButtonSizes,b as ButtonVariants}from'./chunk-DZLL7IH6.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/calendar.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as Calendar}from'./chunk-
|
|
1
|
+
export{a as Calendar}from'./chunk-3U3UI5XP.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/checkbox.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as Checkbox,a as CheckboxSizes}from'./chunk-
|
|
1
|
+
export{b as Checkbox,a as CheckboxSizes}from'./chunk-WB3TMFNI.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/chip-form.d.mts
CHANGED
|
@@ -15,7 +15,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
|
|
|
15
15
|
children?: React__default.ReactNode | undefined;
|
|
16
16
|
} & Omit<Omit<VariantProps<(props?: ({
|
|
17
17
|
variant?: "standard" | "primary" | undefined;
|
|
18
|
-
type?: "
|
|
18
|
+
type?: "outlined" | "ghost" | "fill" | undefined;
|
|
19
19
|
selected?: boolean | undefined;
|
|
20
20
|
disabled?: boolean | undefined;
|
|
21
21
|
duotone?: boolean | undefined;
|
|
@@ -76,7 +76,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
|
|
|
76
76
|
} | null | undefined;
|
|
77
77
|
})) | undefined) => string>, "variant">, "type"> & Required<Pick<VariantProps<(props?: ({
|
|
78
78
|
variant?: "standard" | "primary" | undefined;
|
|
79
|
-
type?: "
|
|
79
|
+
type?: "outlined" | "ghost" | "fill" | undefined;
|
|
80
80
|
selected?: boolean | undefined;
|
|
81
81
|
disabled?: boolean | undefined;
|
|
82
82
|
duotone?: boolean | undefined;
|
|
@@ -137,7 +137,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
|
|
|
137
137
|
} | null | undefined;
|
|
138
138
|
})) | undefined) => string>, "variant">> & Required<Pick<VariantProps<(props?: ({
|
|
139
139
|
variant?: "standard" | "primary" | undefined;
|
|
140
|
-
type?: "
|
|
140
|
+
type?: "outlined" | "ghost" | "fill" | undefined;
|
|
141
141
|
selected?: boolean | undefined;
|
|
142
142
|
disabled?: boolean | undefined;
|
|
143
143
|
duotone?: boolean | undefined;
|
package/dist/chip-form.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
|
|
|
15
15
|
children?: React__default.ReactNode | undefined;
|
|
16
16
|
} & Omit<Omit<VariantProps<(props?: ({
|
|
17
17
|
variant?: "standard" | "primary" | undefined;
|
|
18
|
-
type?: "
|
|
18
|
+
type?: "outlined" | "ghost" | "fill" | undefined;
|
|
19
19
|
selected?: boolean | undefined;
|
|
20
20
|
disabled?: boolean | undefined;
|
|
21
21
|
duotone?: boolean | undefined;
|
|
@@ -76,7 +76,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
|
|
|
76
76
|
} | null | undefined;
|
|
77
77
|
})) | undefined) => string>, "variant">, "type"> & Required<Pick<VariantProps<(props?: ({
|
|
78
78
|
variant?: "standard" | "primary" | undefined;
|
|
79
|
-
type?: "
|
|
79
|
+
type?: "outlined" | "ghost" | "fill" | undefined;
|
|
80
80
|
selected?: boolean | undefined;
|
|
81
81
|
disabled?: boolean | undefined;
|
|
82
82
|
duotone?: boolean | undefined;
|
|
@@ -137,7 +137,7 @@ declare const ChipForm: React__default.ForwardRefExoticComponent<{
|
|
|
137
137
|
} | null | undefined;
|
|
138
138
|
})) | undefined) => string>, "variant">> & Required<Pick<VariantProps<(props?: ({
|
|
139
139
|
variant?: "standard" | "primary" | undefined;
|
|
140
|
-
type?: "
|
|
140
|
+
type?: "outlined" | "ghost" | "fill" | undefined;
|
|
141
141
|
selected?: boolean | undefined;
|
|
142
142
|
disabled?: boolean | undefined;
|
|
143
143
|
duotone?: boolean | undefined;
|
package/dist/chip-input.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{d as ChipInput,a as ChipInputSizes,c as ChipInputTypes,b as ChipInputVariants}from'./chunk-
|
|
1
|
+
export{d as ChipInput,a as ChipInputSizes,c as ChipInputTypes,b as ChipInputVariants}from'./chunk-VZKFL2XP.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
|
|
@@ -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?: "
|
|
5
|
+
variant?: "info" | "warning" | "success" | "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?: "
|
|
5
|
+
variant?: "info" | "warning" | "success" | "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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$2}from'./chunk-
|
|
1
|
+
import {a as a$2}from'./chunk-ENF7AQB7.mjs';import {j as j$1}from'./chunk-EYEAWZZH.mjs';import {a as a$1}from'./chunk-QHBCNAWO.mjs';import {c as c$1}from'./chunk-WS2F7JWJ.mjs';import {c}from'./chunk-DZLL7IH6.mjs';import {a}from'./chunk-2WINTZSS.mjs';import*as s from'react';import*as t from'@radix-ui/react-dialog';import*as v from'@radix-ui/react-visually-hidden';import {jsx,jsxs}from'react/jsx-runtime';var V=["sm","md","lg","xl"],h=({...r})=>jsx(t.Root,{...r});h.displayName="Drawer";var j=t.Trigger,B=t.Portal,k=t.Close,x=s.forwardRef(({className:r,...a$1},o)=>jsx(t.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-neutral-900/60","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=open]:animate-in data-[state=closed]:animate-out","transition-all",r),...a$1}));x.displayName=t.Overlay.displayName;var A=s.forwardRef(({className:r,size:a$3="sm",title:o,description:i,children:f,isLoading:c=!1,loadingText:n="",buttons:d,hideHeader:D=!1,onPointerDownOutside:b,...H},T)=>jsx(B,{children:jsx(x,{children:jsx(t.Content,{onPointerDownOutside:m=>{m.target instanceof Element&&m.target.closest(".pac-container")&&m.preventDefault(),b?.(m);},ref:T,...!i||D?{"aria-describedby":void 0}:{},className:a("fixed right-0 top-0 z-50 flex h-full flex-col bg-neutral-50",a$3==="sm"&&"w-[29.375rem] max-w-[29.375rem]",a$3==="md"&&"w-[47.5rem] max-w-[47.5rem]",a$3==="lg"&&"w-[58.75rem] max-w-[58.75rem]",a$3==="xl"&&"w-[78.125rem] max-w-[78.125rem]","data-[state=open]:animate-slideIn","data-[state=closed]:animate-swipeOut",r),...H,children:jsxs(a$1,{className:"h-full",viewPortClassName:"pr-8 pt-10 pl-6",children:[D?jsx(v.Root,{children:jsx(j$1,{children:"Drawer"})}):jsx(N,{title:o,description:i,buttons:d}),jsx("div",{className:a("flex flex-1 flex-col pb-6",r),children:c?jsxs("div",{className:"flex flex-1 flex-col items-center justify-center",children:[jsx(a$2,{}),n&&jsx("p",{children:n})]}):f})]})})})}));A.displayName="DrawerContent";var N=({className:r,title:a$1,description:o,buttons:i=[],...f})=>jsxs("div",{className:a("mb-7",r),...f,children:[jsxs("div",{className:"flex justify-between gap-2",children:[a$1&&jsx(C,{children:a$1}),!Array.isArray(i)&&i.visible!==!1&&jsx(c,{size:"sm",variant:"ghost",...i}),Array.isArray(i)&&jsx("div",{className:"flex gap-1",children:i.map(({visible:c=!0,...n},d)=>c?jsx(c$1,{variant:"ghost",size:"sm",...n},d):null)})]}),o&&jsx(P,{className:"mt-1",children:o})]});N.displayName="DrawerHeader";var O=({className:r,...a$1})=>jsx("div",{className:a("mt-auto flex pt-6",r),...a$1});O.displayName="DrawerFooter";var C=s.forwardRef(({className:r,...a$1},o)=>jsx(t.Title,{ref:o,className:a("font-jakarta text-2xl font-semibold leading-[130%] text-neutral-900",r),...a$1}));C.displayName=t.Title.displayName;var P=s.forwardRef(({className:r,...a$1},o)=>jsx(t.Description,{ref:o,className:a("text-sm leading-[130%] text-neutral-900",r),...a$1}));P.displayName=t.Description.displayName;export{V as a,h as b,j as c,B as d,k as e,x as f,A as g,N as h,O as i,C as j,P as k};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-QHBCNAWO.mjs';import {c as c$1}from'./chunk-WS2F7JWJ.mjs';import {c}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-QHBCNAWO.mjs';import {c as c$1}from'./chunk-WS2F7JWJ.mjs';import {c}from'./chunk-DZLL7IH6.mjs';import {d}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import {Dialog}from'@ark-ui/react/dialog';import {Portal}from'@ark-ui/react/portal';import {forwardRef,useCallback}from'react';import {jsxs,jsx}from'react/jsx-runtime';var q=({onOpenChange:a,...o})=>{let r=useCallback(t=>{a?.(t.open);},[a]);return jsx(Dialog.Root,{unmountOnExit:!0,lazyMount:!0,onOpenChange:r,trapFocus:!1,...o})},G=Dialog.Trigger,J=["sm","md","lg","xl"],v=forwardRef(({children:a$1,className:o,size:r="sm",...t},n)=>jsxs(Portal,{children:[jsx(Dialog.Backdrop,{className:"fixed inset-0 z-40 bg-neutral-900/60 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),jsx(Dialog.Positioner,{className:"fixed left-0 top-0 z-40 flex h-screen w-screen items-center justify-end",children:jsx(Dialog.Content,{ref:n,className:a("elevation-10 h-full bg-neutral-50 data-[state=closed]:animate-swipeOut data-[state=open]:animate-slideIn",r==="sm"&&"w-117.5",r==="md"&&"w-187",r==="lg"&&"w-235",r==="xl"&&"w-312",o),...t,children:jsx("div",{className:"flex h-full flex-1 flex-col",children:a$1})})})]}));v.displayName="DrawerStickyContent";var C=forwardRef(({children:a$1,className:o,title:r,buttons:t=[],description:n,...D},g)=>jsxs("div",{className:a("border-b-1 border-neutral-200 pb-3.75 pl-4.5 pt-2",o),ref:g,...D,children:[jsx(Dialog.CloseTrigger,{asChild:!0,children:jsx(d,{className:"ml-auto mr-2 size-6 cursor-pointer"})}),jsxs("div",{className:"mr-4.5 mt-2 flex items-center justify-between gap-4.5",children:[jsx(Dialog.Title,{className:"line-clamp-1 break-all font-jakarta text-2xl font-semibold leading-[130%] text-neutral-900",children:r}),!Array.isArray(t)&&t.visible!==!1&&jsx(c,{size:"sm",variant:"ghost",...t}),Array.isArray(t)&&jsx("div",{className:"flex gap-1",children:t.map(({visible:f=!0,...u},w)=>f?jsx(c$1,{variant:"ghost",size:"sm",...u},w):null)})]}),n&&jsx(Dialog.Description,{className:"mr-4.5 mt-1 line-clamp-2 break-all font-inter text-sm leading-[130%] text-neutral-900",children:n})]}));C.displayName="DrawerStickyHeader";var P=forwardRef(({children:a$1,className:o,...r},t)=>jsx("div",{className:a("flex justify-end gap-3 border-t-1 border-neutral-200 px-4.5 pb-4.5 pt-4.25",o),ref:t,...r,children:a$1}));P.displayName="DrawerStickyFooter";var b=forwardRef(({children:a$2,className:o,...r},t)=>jsxs(a$1,{viewPortClassName:"py-4 px-6",className:a("h-full",o),ref:t,...r,children:[a$2,jsx("div",{className:"min-h-4"})]}));b.displayName="DrawerStickyBody";var K=Dialog.CloseTrigger;export{q as a,G as b,J as c,v as d,C as e,P as f,b as g,K as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {i,h}from'./chunk-
|
|
1
|
+
import {i,h}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import {DayPicker,UI}from'react-day-picker';import {jsx}from'react/jsx-runtime';var p=({classNames:t,...l})=>jsx(DayPicker,{classNames:{[UI.Dropdowns]:a("flex",t?.dropdowns),[UI.Months]:a("flex flex-col relative",t?.months),[UI.Month]:a("overflow-hidden w-full rounded-[1.75rem] px-3 pb-7 bg-neutral-100",t?.month),[UI.MonthGrid]:a("w-full",t?.month_grid),[UI.MonthCaption]:a("flex ml-4 h-8 justify-between items-center my-1.5",t?.month_caption),[UI.Nav]:a("flex absolute right-0 top-1.5",t?.nav),[UI.PreviousMonthButton]:a("m-1.75",t?.button_previous),[UI.NextMonthButton]:a("m-1.75",t?.button_next),caption_label:a("capitalize text-sm font-semibold text-neutral-700",t?.caption_label),[UI.Weekdays]:a("flex",t?.weekdays),[UI.Weekday]:a("capitalize text-neutral-700 w-[14.3%] aspect-square font-normal flex justify-center items-center",t?.weekday),[UI.Week]:a("flex w-full text-neutral-700",t?.week),[UI.Day]:a(" w-[14.3%] aspect-square data-[outside=true]:text-neutral-500 hover:bg-neutral-200 h-full ring-inset rounded-full hover:cursor-pointer flex justify-center items-center text-small",t?.day),[UI.DayButton]:a("w-full h-full",t?.day_button),range_end:"day-range-end",today:a("ring-1 ring-primary-500 hover:bg-primary-100 hover:ring-0 text-primary-500",t?.today),selected:a("bg-primary-500 !text-neutral-50 hover:!text-primary-500 hover:bg-primary-200",t?.selected),disabled:a("text-neutral-500 hover:bg-opacity-0",t?.disabled),hidden:a("hidden",t?.hidden)},formatters:{formatWeekdayName:(o,d)=>d?.locale?.localize.day(o.getDay(),{width:"narrow"})??""},components:{Chevron:o=>o.orientation==="left"?jsx(i,{size:18,...o}):jsx(h,{size:18,...o})},showOutsideDays:!0,mode:"single",...l});p.displayName="Calendar";export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-WGMDH4XX.mjs';import {c}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-WGMDH4XX.mjs';import {c}from'./chunk-DZLL7IH6.mjs';import {a}from'./chunk-2WINTZSS.mjs';import*as r from'react';import*as t from'@radix-ui/react-alert-dialog';import {jsx,jsxs}from'react/jsx-runtime';var N=t.Root,x=t.Trigger,p=t.Portal,f=t.Cancel,m=r.forwardRef(({className:e,...a$1},l)=>jsx(t.Overlay,{ref:l,className:a("bg-black/80 fixed inset-0 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...a$1}));m.displayName=t.Overlay.displayName;var g=r.forwardRef(({className:e,children:a$1,...l},c)=>jsxs(p,{children:[jsx(m,{className:"bg-neutral-900/50"}),jsx(t.Content,{ref:c,className:a("elevation-9 fixed left-[50%] top-[50%] z-[10000] grid w-full max-w-2xl translate-x-[-50%] translate-y-[-50%] rounded-2xl bg-neutral-50 py-3 duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",e),...l,children:a$1})]}));g.displayName=t.Content.displayName;var T=e=>jsx(c,{variant:"contained",...e}),b=e=>jsx(f,{asChild:!0,children:jsx(c,{variant:"secondary",...e})}),B=e=>jsx(c,{variant:"ghost",...e}),D=({className:e,...a$1})=>jsx("div",{className:a("mx-6 mb-4 flex flex-col gap-4 text-left",e),...a$1});D.displayName="AlertDialogHeader";var A=({className:e,...a$2})=>jsxs("div",{children:[jsx(a$1,{className:"w-full"}),jsx("div",{className:a("mt-3 flex justify-end gap-2 px-6",e),...a$2})]});A.displayName="AlertDialogFooter";var v=r.forwardRef(({className:e,...a$1},l)=>jsx(t.Title,{ref:l,className:a("font-jakarta text-lg font-semibold leading-[160%]",e),...a$1}));v.displayName=t.Title.displayName;var P=r.forwardRef(({className:e,...a$1},l)=>jsx(t.Description,{ref:l,className:a("font-inter text-sm font-normal leading-[130%]",e),...a$1}));P.displayName=t.Description.displayName;var E=({className:e,...a$1})=>jsx("div",{className:a("mb-4.5 mx-6",e),...a$1});export{N as a,x as b,p as c,m as d,g as e,T as f,b as g,B as h,D as i,A as j,v as k,P as l,E as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {d as d$1}from'./chunk-
|
|
1
|
+
import {d as d$1}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import*as s from'react';import*as t from'@radix-ui/react-toast';import {jsx,jsxs}from'react/jsx-runtime';var d=({children:i,...e})=>jsxs(t.Provider,{...e,children:[i,jsx(n,{})]}),n=s.forwardRef(({className:i,...e},a$1)=>jsx(t.Viewport,{ref:a$1,className:a("fixed right-4 top-5 z-[100000]",i),...e}));n.displayName=t.Viewport.displayName;var p=s.forwardRef(({className:i,...e},a)=>jsx(t.Root,{ref:a,className:"flex items-center rounded-lg bg-neutral-900 px-4 py-4 data-[state=closed]:animate-swipeOut data-[state=end]:animate-hide data-[state=open]:animate-slideIn",...e}));p.displayName=t.Root.displayName;var c=s.forwardRef(({className:i,...e},a)=>jsx(t.Action,{ref:a,className:"px-3 py-2 text-sm font-semibold text-primary-400",altText:"action",...e}));c.displayName=t.Action.displayName;var f=s.forwardRef((i,e)=>jsx(t.Close,{ref:e,"toast-close":"",...i,children:jsx(d$1,{className:"h-6 w-6 text-neutral-50"})}));f.displayName=t.Close.displayName;var l=s.forwardRef(({className:i,...e},a$1)=>jsx(t.Title,{ref:a$1,className:a("text-sm text-neutral-50",i),...e}));l.displayName=t.Title.displayName;var R=s.forwardRef(({className:i,...e},a)=>jsx(t.Description,{ref:a,className:"text-sm text-neutral-50",...e}));R.displayName=t.Description.displayName;export{d as a,n as b,p as c,c as d,f as e,l as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$3,b,c,d,e,f,g as g$1,h,i}from'./chunk-E5G7444M.mjs';import {a as a$1}from'./chunk-
|
|
1
|
+
import {a as a$3,b,c,d,e,f,g as g$1,h,i}from'./chunk-E5G7444M.mjs';import {a as a$1}from'./chunk-IOSO66TV.mjs';import {a as a$2}from'./chunk-QHBCNAWO.mjs';import {g}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import Q,{useId,useRef,useState,useEffect}from'react';import*as A from'@radix-ui/react-portal';import {jsx,jsxs}from'react/jsx-runtime';var H=56,p=6,Z=[{id:0,code:"+56",name:"Chile",flag:a$3,country:"CL"},{id:1,code:"+54",name:"Argentina",flag:b,country:"AR"},{id:2,code:"+57",name:"Colombia",flag:c,country:"CO"},{id:3,code:"+502",name:"Guatemala",flag:d,country:"GT"},{id:4,code:"+52",name:"Mexico",flag:e,country:"MX"},{id:5,code:"+51",name:"Per\xFA",flag:f,country:"PE"},{id:6,code:"+55",name:"Brasil",flag:g$1,country:"BR"},{id:7,code:"+598",name:"Uruguay",flag:h,country:"UY"},{id:8,code:"+1",name:"Estados Unidos",flag:i,country:"US"}],we=({options:o=Z,noResults:y,selectedOption:B,onSelect:U,onChange:h,onClick:ee,className:G,defaultCountry:v="CL",initialValue:s,size:$="md",...i})=>{let z=useId(),c=useRef(null),l=useRef(null),D=useRef(null),[Y,_]=useState("bottom"),[d,V]=useState(),[X,j]=useState(-1),[a$3,x]=useState(B??null),[E,F]=useState(""),q=e=>{let t={target:{value:e.code+E}};h?.(t),c.current.style.display="none",l.current.value=e.code,x(e),U?.(e);};return useEffect(()=>{if(!l.current)return;let e=()=>{if(!l.current)return;let t=H*(o.length<p?o.length:p)+16,m=l.current.getBoundingClientRect();V(m);let J=window.innerHeight-m.bottom>t,K=m.top>t;_(J?"bottom":K?"top":"bottom");};return e(),l.current.addEventListener("mousedown",e),window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{l.current?.removeEventListener("mousedown",e),window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e);}},[l.current]),useEffect(()=>{function e(t){c.current&&!c.current.contains(t.target)&&(c.current.style.display="none",j(-1));}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e);}},[c.current]),useEffect(()=>{if(v&&!s){let e=o.find(t=>t.country===v)??null;x(e);}},[v,s]),useEffect(()=>{if(s){let e=o.find(t=>s.includes(t.code))??null;x(e),F(s.replace(e?.code??"",""));}},[s]),jsx("div",{className:a("flex flex-col",G),children:jsxs("div",{className:a("relative flex flex-col"),children:[jsx(a$1,{ref:l,value:E,placeholder:i.placeholder??"",onChange:e=>{let t=e.target.value.replace(/\D/g,"");F(t);let m={target:{value:a$3?.code&&!t.includes(a$3.code)?a$3?.code+t:t}};h?.(m);},startComponent:jsxs("div",{className:"z-[100000] ml-3 flex h-2 w-[7.5rem] cursor-pointer items-center",onClick:()=>{i.disabled||(c.current.style.display="flex");},children:[jsx("img",{src:a$3?.flag,alt:a$3?.country,className:a("h-6 w-6 cursor-pointer",i.disabled&&"cursor-not-allowed text-neutral-400")}),jsx("span",{className:a("ml-1",i.disabled&&"cursor-not-allowed text-neutral-400"),children:a$3?.code}),jsx(g,{className:a($==="md"?"h-6 w-6":"h-4.5 w-4.5","cursor-pointer",i.disabled&&"cursor-not-allowed text-neutral-400")})]}),...i}),jsx(A.Root,{asChild:!0,children:jsx("ul",{ref:c,className:"pointer-events-auto absolute z-[10000] hidden w-full",style:d?{width:`${d.width}px`,left:d.left,top:Y==="bottom"?`${d.height+d.top+window.scrollY}px`:window.scrollY+d.top-(o.length<p?o.length:p)*H-16}:void 0,children:jsxs(a$2,{className:"elevation-8 my-2 flex max-h-[336px] w-full flex-col rounded-lg bg-neutral-50",ref:D,children:[o.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col items-center justify-center rounded-lg bg-neutral-50 px-8 py-6",children:[Q.cloneElement(y.icon,{className:"mb-2 h-8 w-8 text-neutral-300"}),jsx("p",{className:"text-center text-sm leading-[120%] text-neutral-500",children:y.message})]}),o.map((e,t)=>jsx("li",{onClick:()=>{q(e);},className:a("flex-shrink-0 cursor-pointer py-4 pl-4 pr-6 text-left hover:bg-primary-100",a$3?.code===e.code&&"bg-primary-200",X===t&&"bg-primary-200"),value:e.code,children:jsxs("div",{className:a("flex items-center space-x-3"),children:[jsx("img",{src:e.flag,alt:e.country,className:"h-6 w-6"}),jsx("p",{children:e.name}),jsx("p",{className:"text-primary-500",children:`(${e.code})`})]})},`select-option-${z}-${e.id??e.code}`))]})})})]})})};export{we as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-IOSO66TV.mjs';import {a as a$2}from'./chunk-QHBCNAWO.mjs';import {a as a$1}from'./chunk-2WINTZSS.mjs';import $,{useId,useRef,useState,useEffect}from'react';import*as R from'@radix-ui/react-portal';import {jsxs,Fragment,jsx}from'react/jsx-runtime';var i=56,u=6,q=({options:n,noResults:w,selectedOption:L,onSelect:P,onChange:C,onClick:T,className:k,...I})=>{let N=useId(),l=useRef(null),o=useRef(null),g=useRef(null),[H,M]=useState("bottom"),[r,F]=useState(),[s,c]=useState(-1),[h,y]=useState(L??null),b=e=>{l.current.style.display="none",o.current.value=e.label,y(e),P?.(e);},A=e=>{if(e.key==="ArrowDown"){if(s===n.length-1)return;c(t=>t+1),l.current.style.display="flex",x();}else if(e.key==="ArrowUp"){if(s===0)return;c(t=>t-1),x();}else e.key==="Enter"&&(b(n[s]),c(-1));},x=()=>{let e=i*u;g.current.scroll({top:(s+2)*i<=e?0:i*(s+2)-e,behavior:"smooth"});};return useEffect(()=>{if(!o.current)return;let e=()=>{if(!o.current)return;let t=i*(n.length<u?n.length:u)+16,m=o.current.getBoundingClientRect();F(m);let B=window.innerHeight-m.bottom>t,D=m.top>t;M(B?"bottom":D?"top":"bottom");};return e(),o.current.addEventListener("mousedown",e),window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{o.current?.removeEventListener("mousedown",e),window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e);}},[o.current]),useEffect(()=>{function e(t){l.current&&!l.current.contains(t.target)&&(l.current.style.display="none",c(-1));}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e);}},[l.current]),jsxs(Fragment,{children:[jsx(a,{className:a$1("w-full !cursor-pointer",k),readOnly:!0,ref:o,autoComplete:"off",list:"",selectMode:!0,value:h?.label,showClearButton:!1,onClick:e=>{l.current.style.display="flex",T?.(e);},onChange:e=>{c(-1),y(null),C?.(e);},onKeyDown:A,...I}),jsx(R.Root,{asChild:!0,children:jsx("ul",{ref:l,className:"pointer-events-auto absolute z-[10000] hidden w-full",style:r?{width:`${r.width}px`,left:r.left,top:H==="bottom"?`${r.height+r.top+window.scrollY}px`:window.scrollY+r.top-(n.length<u?n.length:u)*i-16}:void 0,children:jsxs(a$2,{className:"elevation-8 my-2 flex max-h-[336px] w-full flex-col rounded-lg bg-neutral-50",ref:g,children:[n.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col items-center justify-center rounded-lg bg-neutral-50 px-8 py-6",children:[$.cloneElement(w.icon,{className:"mb-2 h-8 w-8 text-neutral-300"}),jsx("p",{className:"text-center text-sm leading-[120%] text-neutral-500",children:w.message})]}),n.map((e,t)=>jsx("li",{onClick:()=>{b(e);},className:a$1("w-full flex-shrink-0 cursor-pointer py-4 pl-4 pr-6 text-left hover:bg-primary-100",h?.value===e.value&&"bg-primary-200",s===t&&"bg-primary-200"),children:e.label},`select-option-${N}-${e.key??e.value}`))]})})})]})};export{q as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {c as c$1}from'./chunk-
|
|
1
|
+
import {c as c$1}from'./chunk-DZLL7IH6.mjs';import {f,b,c,e,d}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import {useState}from'react';import {tv}from'tailwind-variants';import {jsxs,jsx}from'react/jsx-runtime';var M=tv({slots:{container:"flex flex-shrink-0 justify-between rounded-lg",icon:"mr-3 h-[1.375rem] w-[1.375rem] shrink-0"},variants:{hasCloseButton:{true:{container:"pr-2"}},size:{sm:{container:"p-2"},md:{container:"p-4"},lg:{container:"p-4"}},variant:{warning:{container:"bg-warning-100",icon:"text-warning-500"},success:{container:"bg-success-100",icon:"text-success-500"},error:{container:"bg-error-100",icon:"text-error-500"},info:{container:"bg-info-100",icon:"text-info-500"}}},defaultVariants:{variant:"info",size:"md",hasCloseButton:!0}}),S=({variant:s,className:u,description:N,size:n,title:i,hasCloseButton:c$2=!0,actionButton:a$1})=>{let[x,h]=useState(!0),{container:v,icon:t}=M({variant:s,hasCloseButton:c$2,size:n});return jsxs("div",{className:a(v(),u,!x&&"hidden"),children:[jsxs("div",{className:"flex flex-1 items-center justify-between gap-2",children:[jsxs("div",{className:"flex",children:[s==="warning"&&jsx(f,{className:t()}),s==="success"&&jsx(b,{className:t()}),s==="error"&&jsx(c,{className:t()}),s==="info"&&jsx(e,{className:t({})}),n==="sm"&&jsx("p",{className:"leading-[130%]",children:i}),n!=="sm"&&jsxs("div",{className:"flex flex-col",children:[jsx("h6",{className:"font-semibold leading-[130%]",children:i}),jsx("p",{className:"mt-1 text-sm leading-[130%] text-neutral-700",children:N})]})]}),a$1&&jsx(c$1,{...a$1,variant:"white",className:a("mr-1",a$1.className),size:"md"})]}),c$2&&jsx(d,{className:"-mt-1 ml-4 size-6 shrink-0 cursor-pointer",onClick:()=>h(!1)})]})};export{S as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import c,{forwardRef}from'react';import {tv}from'tailwind-variants';import {jsxs,jsx}from'react/jsx-runtime';var M=["xs","sm","md","lg"],T=["contained","outlined","ghost","standard","link","secondary","white"],I=tv({slots:{button:"flex flex-shrink-0 items-center justify-center gap-2 rounded-lg font-inter text-base font-semibold leading-[130%] transition-all ease-linear disabled:cursor-not-allowed disabled:ring-0",icon:"",loadingIcon:"absolute animate-spin text-neutral-400"},variants:{size:{lg:{button:"h-12 px-4",icon:"h-4.5 w-4.5",loadingIcon:"h-4.5 w-4.5"},md:{button:"h-10 px-4 text-sm leading-[130%]",icon:"h-4.5 w-4.5",loadingIcon:"h-4.5 w-4.5"},sm:{button:"h-8 gap-1 px-3 text-sm leading-[130%]",icon:"h-3.5 w-3.5",loadingIcon:"h-3.5 w-3.5"},xs:{button:"h-6 gap-1 rounded-[6px] px-3 text-xs leading-[130%]",icon:"h-3.5 w-3.5",loadingIcon:"h-3.5 w-3.5"}},variant:{contained:{button:"bg-primary-500 text-neutral-50 hover:bg-primary-600 focus:bg-primary-500 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-primary-700 active:ring-0 disabled:bg-neutral-100 disabled:text-neutral-400"},secondary:{button:"text-primary-500 ring-[1.5px] ring-inset ring-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 hover:ring-primary-600 focus:ring-[3px] focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-primary-700 disabled:bg-neutral-50/0 disabled:text-neutral-400 disabled:ring-[1.5px] disabled:ring-neutral-400"},outlined:{button:"leading-[130%] text-neutral-900 ring-[1.5px] ring-inset ring-neutral-900 focus:bg-neutral-50 focus:bg-opacity-0 focus:ring-[3px] focus:ring-primary-900 active:ring-[1.5px] disabled:bg-neutral-50/0 disabled:text-neutral-400 disabled:ring-[1.5px] disabled:ring-neutral-400 [&:not([disabled])]:hover:bg-transparent-primary-20 [&:not([disabled])]:active:bg-transparent-primary-40"},ghost:{button:"text-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-neutral-50 focus:bg-opacity-0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-0 disabled:bg-neutral-50 disabled:bg-opacity-0 disabled:text-neutral-400"},standard:{button:"text-neutral-900 hover:bg-transparent-primary-20 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:ring-0 disabled:bg-neutral-50 disabled:bg-opacity-0 disabled:text-neutral-400"},link:{button:"text-primary-500 underline underline-offset-2 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-neutral-50/0 focus:text-primary-500 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-0 disabled:bg-neutral-50 disabled:bg-opacity-0 disabled:text-neutral-400"},white:{button:"bg-neutral-50 text-neutral-900"}},loading:{true:{button:"disabled:text-neutral-50 disabled:text-opacity-0"}}},defaultVariants:{variant:"contained",size:"md",loading:!1,disabled:!1}}),V=forwardRef(({children:d,className:u,variant:p,size:g,startIcon:a$2,endIcon:n,loading:e,disabled:b,type:m="button",StartIcon:i,EndIcon:o,...x},y)=>{let{button:f,icon:t,loadingIcon:v}=I({variant:p,size:g,loading:e});return jsxs("button",{...x,ref:y,disabled:e||b,className:a(f(),u),type:m,children:[e&&jsx(a$1,{className:v()}),a$2&&c.cloneElement(a$2,{className:t()}),i&&jsx(i,{className:t()}),d,n&&c.cloneElement(n,{className:t()}),o&&jsx(o,{className:t()})]})});export{M as a,T as b,V as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-XJSC6PKJ.mjs';import {cva}from'cva';import {jsx}from'react/jsx-runtime';var p=cva({base:"h-12 w-12 animate-spin",variants:{variant:{primary:"text-primary-500",neutral:"text-neutral-100"}},defaultVariants:{variant:"primary"}}),c=({variant:a$1,className:n,...t})=>jsx(a,{className:p({variant:a$1,className:n}),...t});export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-QHBCNAWO.mjs';import {a as a$2}from'./chunk-WGMDH4XX.mjs';import {c}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-QHBCNAWO.mjs';import {a as a$2}from'./chunk-WGMDH4XX.mjs';import {c}from'./chunk-DZLL7IH6.mjs';import {d}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import*as r from'react';import*as t from'@radix-ui/react-dialog';export{t as a };import {jsx,jsxs}from'react/jsx-runtime';var E=t.Root,H=t.Trigger,v=t.Portal,P=t.Close,f=r.forwardRef(({className:e,...i},l)=>jsx(t.Overlay,{ref:l,className:a("fixed inset-0 z-50 bg-neutral-900/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...i}));f.displayName=t.Overlay.displayName;var u=r.forwardRef(({className:e,children:i,onPointerDownOutside:l,...g},D)=>jsx(v,{children:jsx(f,{children:jsx(t.Content,{onPointerDownOutside:s=>{s.target instanceof Element&&s.target.closest(".pac-container")&&s.preventDefault(),l?.(s);},ref:D,className:a("elevation-9 fixed left-[50%] top-[50%] z-[10000] grid w-full max-w-2xl translate-x-[-50%] translate-y-[-50%] rounded-2xl bg-neutral-50 pr-0 duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",e),...g,children:jsx(a$1,{className:"max-h-[80vh]",viewPortClassName:"py-3 ",children:i})})})}));u.displayName=t.Content.displayName;var y=({className:e,...i})=>jsx("div",{className:a("mb-4 ml-6 mr-4 flex flex-col gap-4 text-left",e),...i});y.displayName="DialogHeader";var R=({className:e,...i})=>jsxs("div",{children:[jsx(a$2,{className:"w-full"}),jsx("div",{className:a("mx-6 mt-3 flex justify-end gap-2",e),...i})]});R.displayName="DialogFooter";var O=({className:e,...i})=>jsx("div",{className:a("mb-4.5 mx-6",e),...i}),N=r.forwardRef(({className:e,...i},l)=>jsxs("div",{className:"flex items-center justify-between",children:[jsx(t.Title,{ref:l,className:a("pr-2 font-jakarta text-lg font-semibold leading-[160%]",e),...i}),jsxs(t.Close,{className:"h-5.5 w-5.5",children:[jsx(d,{className:"h-5.5 w-5.5"}),jsx("span",{className:"sr-only",children:"Close"})]})]}));N.displayName=t.Title.displayName;var C=r.forwardRef(({className:e,...i},l)=>jsx(t.Description,{ref:l,className:a("font-inter text-sm font-normal leading-[130%]",e),...i}));C.displayName=t.Description.displayName;var A=e=>jsx(c,{variant:"contained",...e}),F=e=>jsx(P,{asChild:!0,children:jsx(c,{variant:"secondary",...e})}),L=e=>jsx(c,{variant:"ghost",...e});export{E as b,H as c,v as d,f as e,u as f,y as g,R as h,O as i,N as j,C as k,A as l,F as m,L as n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-KTRSJBA4.mjs';import {a as a$1}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-KTRSJBA4.mjs';import {a as a$1}from'./chunk-IOSO66TV.mjs';import {a as a$3}from'./chunk-3U3UI5XP.mjs';import {n}from'./chunk-XJSC6PKJ.mjs';import {a as a$2}from'./chunk-2WINTZSS.mjs';import {useState,useRef,useMemo,useCallback,useEffect}from'react';import*as w from'@radix-ui/react-portal';import {format}from'date-fns';import {jsxs,Fragment,jsx}from'react/jsx-runtime';var q=({value:c,onChange:m,locale:x,disabledDates:D,...T})=>{let[E,f]=useState(!1),[a$4,d]=useState(c),[o,P]=useState(),[L,F]=useState("bottom"),[k,y]=useState(0),l=useRef(null),e=useRef(null),[u,H]=useState();a(l,()=>{f(!1);});let z=n=>{d(n),m?.(n);},M=useMemo(()=>a$4?format(a$4,"P"):"",[a$4]),N=()=>{d(void 0),m?.(void 0);},t=useCallback(()=>{if(!e.current)return;let n=e.current.getBoundingClientRect();if(!u)return;let i=u.height;y(i),P(n);let O=window.innerHeight-n.bottom>i,B=n.top+n.height>i;F(O?"bottom":B?"top":"bottom");},[e.current,u]);return useEffect(()=>{d(c);},[c]),useEffect(()=>{if(e?.current)return t(),e.current.addEventListener("mousedown",t),e.current.addEventListener("input",t),window.addEventListener("scroll",t,!0),window.addEventListener("resize",t),()=>{e.current?.removeEventListener("mousedown",t),e.current?.removeEventListener("input",t),window.removeEventListener("scroll",t,!0),window.removeEventListener("resize",t);}},[e.current,t]),useEffect(()=>{H(l.current?.getBoundingClientRect());},[l.current]),jsxs(Fragment,{children:[jsx(a$1,{ref:e,startIcon:jsx(n,{}),onClean:N,readOnly:!0,value:M,onClick:n=>{P(n.currentTarget.getBoundingClientRect()),f(i=>!i);},...T}),jsx(w.Root,{asChild:!0,children:jsx("div",{ref:l,className:a$2("pointer-events-auto fixed z-50 hidden",E&&"block"),style:o?{top:L==="bottom"?`${o.height+o.y}px`:o.top-k,left:o?.left}:void 0,children:jsx(a$3,{className:"w-[20rem] max-w-full",mode:"single",selected:a$4,onSelect:z,locale:x,disabled:D})})})]})};q.displayName="DatePicker";export{q as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-2WINTZSS.mjs';import {AvatarRoot,AvatarFallback,AvatarImage}from'@ark-ui/react/avatar';import {jsxs,jsx}from'react/jsx-runtime';var x=["xs","sm","md","lg"],z=({fallback:s,src:r,className:o,size:t="sm",...i})=>jsxs(AvatarRoot,{"data-size":t,className:a("flex aspect-square items-center justify-center overflow-hidden rounded-full bg-primary-300","data-[size=xs]:w-8","data-[size=sm]:w-10","data-[size=md]:w-14","data-[size=lg]:w-18.5",o),...i,children:[jsx(AvatarFallback,{"data-size":t,className:a("font-semibold uppercase !leading-[130%] text-primary-600","data-[size=xs]:text-sm","data-[size=sm]:text-base","data-[size=md]:text-lg","data-[size=lg]:text-2xl"),children:s.slice(0,2)}),jsx(AvatarImage,{className:"aspect-square object-cover",src:r,alt:"avatar"})]});export{x as a,z as b};
|