sodtrack-web-ui 0.57.11 → 0.58.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 (50) hide show
  1. package/dist/chip-context.js +1 -1
  2. package/dist/chip-context.mjs +1 -1
  3. package/dist/chip-form-complementary.d.mts +3 -3
  4. package/dist/chip-form-complementary.d.ts +3 -3
  5. package/dist/chip-form.d.mts +6 -6
  6. package/dist/chip-form.d.ts +6 -6
  7. package/dist/chip-form.js +1 -1
  8. package/dist/chip-form.mjs +1 -1
  9. package/dist/chip-status-complementary.d.mts +1 -1
  10. package/dist/chip-status-complementary.d.ts +1 -1
  11. package/dist/chip-status-table.d.mts +1 -1
  12. package/dist/chip-status-table.d.ts +1 -1
  13. package/dist/chunk-DTJU34JK.mjs +1 -0
  14. package/dist/chunk-MHCA2PNK.mjs +1 -0
  15. package/dist/chunk-R6SKDZJ5.mjs +1 -0
  16. package/dist/chunk-SRXC3HT5.mjs +1 -0
  17. package/dist/chunk-T74WGWVK.mjs +1 -0
  18. package/dist/drawer-sticky.js +1 -1
  19. package/dist/drawer-sticky.mjs +1 -1
  20. package/dist/index.css +1 -1
  21. package/dist/index.d.mts +2 -1
  22. package/dist/index.d.ts +2 -1
  23. package/dist/index.js +2 -2
  24. package/dist/index.mjs +1 -1
  25. package/dist/list-item-arrow.css +1 -1
  26. package/dist/list-item-arrow.mjs +1 -1
  27. package/dist/list-item-button.css +1 -1
  28. package/dist/list-item-button.mjs +1 -1
  29. package/dist/list-item-checkbox.css +1 -1
  30. package/dist/list-item-checkbox.mjs +1 -1
  31. package/dist/list-item.css +1 -1
  32. package/dist/list-item.mjs +1 -1
  33. package/dist/snackbar.d.mts +16 -12
  34. package/dist/snackbar.d.ts +16 -12
  35. package/dist/snackbar.js +10 -2
  36. package/dist/snackbar.mjs +1 -1
  37. package/dist/snackbar_old.d.mts +14 -0
  38. package/dist/snackbar_old.d.ts +14 -0
  39. package/dist/snackbar_old.js +50 -0
  40. package/dist/snackbar_old.mjs +1 -0
  41. package/dist/tab.d.mts +2 -2
  42. package/dist/tab.d.ts +2 -2
  43. package/dist/tailwind-preset.js +1 -1
  44. package/dist/tailwind-preset.mjs +1 -1
  45. package/package.json +1 -1
  46. package/dist/chunk-6PKCW63O.mjs +0 -1
  47. package/dist/chunk-C2KEN44B.mjs +0 -1
  48. package/dist/chunk-FUJQCVG2.mjs +0 -1
  49. package/dist/chunk-G3WNWAAR.mjs +0 -1
  50. /package/dist/{chunk-5KG3ZZEN.mjs → chunk-NZJFMRPR.mjs} +0 -0
package/dist/snackbar.js CHANGED
@@ -1,4 +1,4 @@
1
- 'use strict';var M=require('react'),p=require('@radix-ui/react-toast'),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 p__namespace=/*#__PURE__*/_interopNamespace(p);function te(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=te(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function oe(){for(var e,a,t=0,o="",d=arguments.length;t<d;t++)(e=arguments[t])&&(a=te(e))&&(o&&(o+=" "),o+=a);return o}var Z="-",ge=e=>{let a=Se(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:s=>{let u=s.split(Z);return u[0]===""&&u.length!==1&&u.shift(),de(u,a)||he(s)},getConflictingClassGroupIds:(s,u)=>{let c=t[s]||[];return u&&o[s]?[...c,...o[s]]:c}}},de=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),d=o?de(e.slice(1),o):void 0;if(d)return d;if(a.validators.length===0)return;let l=e.join(Z);return a.validators.find(({validator:s})=>s(l))?.classGroupId},le=/^\[(.+)\]$/,he=e=>{if(le.test(e)){let a=le.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(([l,s])=>{K(s,o,l,a);}),o},K=(e,a,t,o)=>{e.forEach(d=>{if(typeof d=="string"){let l=d===""?a:ue(a,d);l.classGroupId=t;return}if(typeof d=="function"){if(we(d)){K(d(o),a,t,o);return}a.validators.push({validator:d,classGroupId:t});return}Object.entries(d).forEach(([l,s])=>{K(s,ue(a,l),t,o);});});},ue=(e,a)=>{let t=e;return a.split(Z).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(l=>typeof l=="string"?a+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([s,u])=>[a+s,u])):l);return [t,d]}):e,ke=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,t=new Map,o=new Map,d=(l,s)=>{t.set(l,s),a++,a>e&&(a=0,o=t,t=new Map);};return {get(l){let s=t.get(l);if(s!==void 0)return s;if((s=o.get(l))!==void 0)return d(l,s),s},set(l,s){t.has(l)?t.set(l,s):d(l,s);}}},re="!",be=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,d=a[0],l=a.length,s=u=>{let c=[],m=0,L=0,g;for(let n=0;n<u.length;n++){let x=u[n];if(m===0){if(x===d&&(o||u.slice(n,n+l)===a)){c.push(u.slice(L,n)),L=n+l;continue}if(x==="/"){g=n;continue}}x==="["?m++:x==="]"&&m--;}let h=c.length===0?u:u.substring(L),w=h.startsWith(re),S=w?h.substring(1):h,I=g&&g>L?g-L:void 0;return {modifiers:c,hasImportantModifier:w,baseClassName:S,maybePostfixModifierPosition:I}};return t?u=>t({className:u,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)}),ye=/\s+/,Me=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:d}=a,l=[],s=e.trim().split(ye),u="";for(let c=s.length-1;c>=0;c-=1){let m=s[c],{modifiers:L,hasImportantModifier:g,baseClassName:h,maybePostfixModifierPosition:w}=t(m),S=!!w,I=o(S?h.substring(0,w):h);if(!I){if(!S){u=m+(u.length>0?" "+u:u);continue}if(I=o(h),!I){u=m+(u.length>0?" "+u:u);continue}S=!1;}let n=Ae(L).join(":"),x=g?n+re:n,C=x+I;if(l.includes(C))continue;l.push(C);let R=d(I,S);for(let y=0;y<R.length;++y){let O=R[y];l.push(x+O);}u=m+(u.length>0?" "+u:u);}return u};function Fe(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=se(a))&&(o&&(o+=" "),o+=t);return o}var se=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=se(e[o]))&&(t&&(t+=" "),t+=a);return t};function De(e,...a){let t,o,d,l=s;function s(c){let m=a.reduce((L,g)=>g(L),e());return t=Be(m),o=t.cache.get,d=t.cache.set,l=u,u(c)}function u(c){let m=o(c);if(m)return m;let L=Me(c,t);return d(c,L),L}return function(){return l(Fe.apply(null,arguments))}}var f=e=>{let a=t=>t[e]||[];return a.isThemeGetter=!0,a},fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Re=/^\d+\/\d+$/,Te=new Set(["px","full","screen"]),ve=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qe=/\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)\(.+\)$/,k=e=>F(e)||Te.has(e)||Re.test(e),b=e=>D(e,"length",Ke),F=e=>!!e&&!Number.isNaN(Number(e)),X=e=>D(e,"number",F),v=e=>!!e&&Number.isInteger(Number(e)),Ge=e=>e.endsWith("%")&&F(e.slice(0,-1)),r=e=>fe.test(e),A=e=>ve.test(e),ze=new Set(["length","size","percentage"]),Ve=e=>D(e,ze,ie),We=e=>D(e,"position",ie),Ee=new Set(["image","url"]),Ne=e=>D(e,Ee,Je),Xe=e=>D(e,"",Ze),q=()=>!0,D=(e,a,t)=>{let o=fe.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(o[2]):!1},Ke=e=>qe.test(e)&&!Ue.test(e),ie=()=>!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"),l=f("borderRadius"),s=f("borderSpacing"),u=f("borderWidth"),c=f("contrast"),m=f("grayscale"),L=f("hueRotate"),g=f("invert"),h=f("gap"),w=f("gradientColorStops"),S=f("gradientColorStopPositions"),I=f("inset"),n=f("margin"),x=f("opacity"),C=f("padding"),R=f("saturate"),y=f("scale"),O=f("sepia"),Q=f("skew"),j=f("space"),Y=f("translate"),V=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto",r,a],i=()=>[r,a],_=()=>["",k,b],H=()=>["auto",F,r],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",r],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[F,r];return {cacheSize:500,separator:":",theme:{colors:[q],spacing:[k,b],blur:["none","",A,r],brightness:P(),borderColor:[e],borderRadius:["none","","full",A,r],borderSpacing:i(),borderWidth:_(),contrast:P(),grayscale:T(),hueRotate:P(),invert:T(),gap:i(),gradientColorStops:[e],gradientColorStopPositions:[Ge,b],inset:E(),margin:E(),opacity:P(),padding:i(),saturate:P(),scale:P(),sepia:T(),skew:P(),space:i(),translate:i()},classGroups:{aspect:[{aspect:["auto","square","video",r]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...$(),r]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[I]}],"inset-x":[{"inset-x":[I]}],"inset-y":[{"inset-y":[I]}],start:[{start:[I]}],end:[{end:[I]}],top:[{top:[I]}],right:[{right:[I]}],bottom:[{bottom:[I]}],left:[{left:[I]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",v,r]}],basis:[{basis:E()}],"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:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",v,r]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",v,r]},r]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[v,r]},r]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",r]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",r]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[n]}],mx:[{mx:[n]}],my:[{my:[n]}],ms:[{ms:[n]}],me:[{me:[n]}],mt:[{mt:[n]}],mr:[{mr:[n]}],mb:[{mb:[n]}],ml:[{ml:[n]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",r,a]}],"min-w":[{"min-w":[r,a,"min","max","fit"]}],"max-w":[{"max-w":[r,a,"none","full","min","max","fit","prose",{screen:[A]},A]}],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",A,b]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",X]}],"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",F,X]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,r]}],"list-image":[{"list-image":["none",r]}],"list-style-type":[{list:["none","disc","decimal",r]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,b]}],"underline-offset":[{"underline-offset":["auto",k,r]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",r]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",r]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"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"]},Ne]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:G()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[k,r]}],"outline-w":[{outline:[k,b]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[k,b]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,Xe]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",A,r]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[L]}],invert:[{invert:[g]}],saturate:[{saturate:[R]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[L]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"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:P()}],ease:[{ease:["linear","in","out","in-out",r]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",r]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[v,r]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",r]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",r]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",r]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[k,b,X]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ce=De(Qe);function J(...e){return ce(oe(e))}var ne=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),z=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim();var pe={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Le=M.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:d="",children:l,iconNode:s,...u},c)=>M.createElement("svg",{ref:c,...pe,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:z("lucide",d),...u},[...s.map(([m,L])=>M.createElement(m,L)),...Array.isArray(l)?l:[l]]));var Ie=(e,a)=>{let t=M.forwardRef(({className:o,...d},l)=>M.createElement(Le,{ref:l,iconNode:a,className:z(`lucide-${ne(e)}`,o),...d}));return t.displayName=`${e}`,t};var U=Ie("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var xe=U;var Xa=({children:e,...a})=>jsxRuntime.jsxs(p__namespace.Provider,{...a,children:[e,jsxRuntime.jsx(Ce,{})]}),Ce=M__namespace.forwardRef(({className:e,...a},t)=>jsxRuntime.jsx(p__namespace.Viewport,{ref:t,className:J("fixed right-4 top-5 z-[100000]",e),...a}));Ce.displayName=p__namespace.Viewport.displayName;var $e=M__namespace.forwardRef(({className:e,...a},t)=>jsxRuntime.jsx(p__namespace.Root,{ref:t,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",...a}));$e.displayName=p__namespace.Root.displayName;var ea=M__namespace.forwardRef(({className:e,...a},t)=>jsxRuntime.jsx(p__namespace.Action,{ref:t,className:"px-3 py-2 text-sm font-semibold text-primary-400",altText:"action",...a}));ea.displayName=p__namespace.Action.displayName;var aa=M__namespace.forwardRef((e,a)=>jsxRuntime.jsx(p__namespace.Close,{ref:a,"toast-close":"",...e,children:jsxRuntime.jsx(xe,{className:"h-6 w-6 text-neutral-50"})}));aa.displayName=p__namespace.Close.displayName;var ta=M__namespace.forwardRef(({className:e,...a},t)=>jsxRuntime.jsx(p__namespace.Title,{ref:t,className:J("text-sm text-neutral-50",e),...a}));ta.displayName=p__namespace.Title.displayName;var oa=M__namespace.forwardRef(({className:e,...a},t)=>jsxRuntime.jsx(p__namespace.Description,{ref:t,className:"text-sm text-neutral-50",...a}));oa.displayName=p__namespace.Description.displayName;/*! Bundled license information:
1
+ 'use strict';var he=require('react'),toast=require('@ark-ui/react/toast'),tailwindVariants=require('tailwind-variants'),jsxRuntime=require('react/jsx-runtime');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var he__default=/*#__PURE__*/_interopDefault(he);var le=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),G=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim();var ue={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var re=he.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:u="",children:l,iconNode:r,...d},i)=>he.createElement("svg",{ref:i,...ue,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:G("lucide",u),...d},[...r.map(([n,m])=>he.createElement(n,m)),...Array.isArray(l)?l:[l]]));var z=(e,a)=>{let t=he.forwardRef(({className:o,...u},l)=>he.createElement(re,{ref:l,iconNode:a,className:G(`lucide-${le(e)}`,o),...u}));return t.displayName=`${e}`,t};var k=z("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);var R=z("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var se=k;var fe=R;function ie(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=ie(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function ce(){for(var e,a,t=0,o="",u=arguments.length;t<u;t++)(e=arguments[t])&&(a=ie(e))&&(o&&(o+=" "),o+=a);return o}var J="-",ye=e=>{let a=Me(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:r=>{let d=r.split(J);return d[0]===""&&d.length!==1&&d.shift(),me(d,a)||Be(r)},getConflictingClassGroupIds:(r,d)=>{let i=t[r]||[];return d&&o[r]?[...i,...o[r]]:i}}},me=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),u=o?me(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},ne=/^\[(.+)\]$/,Be=e=>{if(ne.test(e)){let a=ne.exec(e)[1],t=a?.substring(0,a.indexOf(":"));if(t)return "arbitrary.."+t}},Me=e=>{let{theme:a,prefix:t}=e,o={nextPart:new Map,validators:[]};return De(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:pe(a,u);l.classGroupId=t;return}if(typeof u=="function"){if(Fe(u)){Z(u(o),a,t,o);return}a.validators.push({validator:u,classGroupId:t});return}Object.entries(u).forEach(([l,r])=>{Z(r,pe(a,l),t,o);});});},pe=(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},Fe=e=>e.isThemeGetter,De=(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,Re=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);}}},Le="!",Te=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,u=a[0],l=a.length,r=d=>{let i=[],n=0,m=0,C;for(let p=0;p<d.length;p++){let I=d[p];if(n===0){if(I===u&&(o||d.slice(p,p+l)===a)){i.push(d.slice(m,p)),m=p+l;continue}if(I==="/"){C=p;continue}}I==="["?n++:I==="]"&&n--;}let g=i.length===0?d:d.substring(m),S=g.startsWith(Le),x=S?g.substring(1):g,L=C&&C>m?C-m:void 0;return {modifiers:i,hasImportantModifier:S,baseClassName:x,maybePostfixModifierPosition:L}};return t?d=>t({className:d,parseClassName:r}):r},ve=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},qe=e=>({cache:Re(e.cacheSize),parseClassName:Te(e),...ye(e)}),Ue=/\s+/,Oe=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:u}=a,l=[],r=e.trim().split(Ue),d="";for(let i=r.length-1;i>=0;i-=1){let n=r[i],{modifiers:m,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:S}=t(n),x=!!S,L=o(x?g.substring(0,S):g);if(!L){if(!x){d=n+(d.length>0?" "+d:d);continue}if(L=o(g),!L){d=n+(d.length>0?" "+d:d);continue}x=!1;}let p=ve(m).join(":"),I=C?p+Le:p,h=I+L;if(l.includes(h))continue;l.push(h);let F=u(L,x);for(let y=0;y<F.length;++y){let U=F[y];l.push(I+U);}d=n+(d.length>0?" "+d:d);}return d};function He(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=Ie(a))&&(o&&(o+=" "),o+=t);return o}var Ie=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=Ie(e[o]))&&(t&&(t+=" "),t+=a);return t};function Ge(e,...a){let t,o,u,l=r;function r(i){let n=a.reduce((m,C)=>C(m),e());return t=qe(n),o=t.cache.get,u=t.cache.set,l=d,d(i)}function d(i){let n=o(i);if(n)return n;let m=Oe(i,t);return u(i,m),m}return function(){return l(He.apply(null,arguments))}}var f=e=>{let a=t=>t[e]||[];return a.isThemeGetter=!0,a},xe=/^\[(?:([a-z-]+):)?(.+)\]$/i,ze=/^\d+\/\d+$/,Ve=new Set(["px","full","screen"]),Ee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,We=/\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$/,Xe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ne=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,b=e=>B(e)||Ve.has(e)||ze.test(e),P=e=>M(e,"length",ea),B=e=>!!e&&!Number.isNaN(Number(e)),K=e=>M(e,"number",B),T=e=>!!e&&Number.isInteger(Number(e)),Ze=e=>e.endsWith("%")&&B(e.slice(0,-1)),s=e=>xe.test(e),A=e=>Ee.test(e),Je=new Set(["length","size","percentage"]),Qe=e=>M(e,Je,Ce),je=e=>M(e,"position",Ce),Ye=new Set(["image","url"]),_e=e=>M(e,Ye,ta),$e=e=>M(e,"",aa),v=()=>!0,M=(e,a,t)=>{let o=xe.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(o[2]):!1},ea=e=>We.test(e)&&!Xe.test(e),Ce=()=>!1,aa=e=>Ne.test(e),ta=e=>Ke.test(e);var oa=()=>{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"),n=f("grayscale"),m=f("hueRotate"),C=f("invert"),g=f("gap"),S=f("gradientColorStops"),x=f("gradientColorStopPositions"),L=f("inset"),p=f("margin"),I=f("opacity"),h=f("padding"),F=f("saturate"),y=f("scale"),U=f("sepia"),Y=f("skew"),_=f("space"),$=f("translate"),E=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",s,a],c=()=>[s,a],ee=()=>["",b,P],O=()=>["auto",B,s],ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",s],oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>[B,s];return {cacheSize:500,separator:":",theme:{colors:[v],spacing:[b,P],blur:["none","",A,s],brightness:w(),borderColor:[e],borderRadius:["none","","full",A,s],borderSpacing:c(),borderWidth:ee(),contrast:w(),grayscale:D(),hueRotate:w(),invert:D(),gap:c(),gradientColorStops:[e],gradientColorStopPositions:[Ze,P],inset:X(),margin:X(),opacity:w(),padding:c(),saturate:w(),scale:w(),sepia:D(),skew:w(),space:c(),translate:c()},classGroups:{aspect:[{aspect:["auto","square","video",s]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":oe()}],"break-before":[{"break-before":oe()}],"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:[...ae(),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:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",s]}],grow:[{grow:D()}],shrink:[{shrink:D()}],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":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[v]}],"row-start-end":[{row:["auto",{span:[T,s]},s]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",s]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",s]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[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":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",s,a]}],"min-w":[{"min-w":[s,a,"min","max","fit"]}],"max-w":[{"max-w":[s,a,"none","full","min","max","fit","prose",{screen:[A]},A]}],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",A,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",K]}],"font-family":[{font:[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",B,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:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",b,P]}],"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:[...ae(),je]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Qe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_e]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[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:[...H(),"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:H()}],"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:["",...H()]}],"outline-offset":[{"outline-offset":[b,s]}],"outline-w":[{outline:[b,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[b,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,$e]}],"shadow-color":[{shadow:[v]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":te()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",A,s]}],grayscale:[{grayscale:[n]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[F]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[n]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[r]}],"border-spacing-x":[{"border-spacing-x":[r]}],"border-spacing-y":[{"border-spacing-y":[r]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",s]}],duration:[{duration:w()}],ease:[{ease:["linear","in","out","in-out",s]}],delay:[{delay:w()}],animate:[{animate:["none","spin","ping","pulse","bounce",s]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[T,s]}],"translate-x":[{"translate-x":[$]}],"translate-y":[{"translate-y":[$]}],"skew-x":[{"skew-x":[Y]}],"skew-y":[{"skew-y":[Y]}],"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,P,K]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ge=Ge(oa);function V(...e){return ge(ce(e))}var da=tailwindVariants.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}}),Se=he.forwardRef(({children:e,className:a,variant:t,size:o,startIcon:u,endIcon:l,loading:r,disabled:d,type:i="button",StartIcon:n,EndIcon:m,...C},g)=>{let{button:S,icon:x,loadingIcon:L}=da({variant:t,size:o,loading:r});return jsxRuntime.jsxs("button",{...C,ref:g,disabled:r||d,className:V(S(),a),type:i,children:[r&&jsxRuntime.jsx(se,{className:L()}),u&&he__default.default.cloneElement(u,{className:x()}),n&&jsxRuntime.jsx(n,{className:x()}),e,l&&he__default.default.cloneElement(l,{className:x()}),m&&jsxRuntime.jsx(m,{className:x()})]})});var we=toast.createToaster({placement:"top-end",overlap:!1,gap:8,duration:8e3}),nt=e=>{let[a,t]=he.useTransition();return jsxRuntime.jsx(toast.Toaster,{toaster:we,...e,children:({closable:o=!0,...u})=>jsxRuntime.jsxs(toast.Toast.Root,{className:V("group z-[var(--z-index)] flex w-86 translate-x-[var(--x)] translate-y-[var(--y)] rounded-lg bg-neutral-900 p-4 opacity-[var(--opacity)] transition-all will-change-transform","flex items-center gap-2 data-[state=close]:animate-slide-up data-[state=open]:animate-slide-down"),children:[jsxRuntime.jsx(toast.Toast.Title,{className:"line-clamp-3 flex-1 font-inter text-sm leading-[130%] text-neutral-50",children:u.title}),jsxRuntime.jsxs("div",{className:"flex items-center empty:hidden",children:[u.action&&jsxRuntime.jsx(Se,{variant:"ghost",loading:a,size:"sm",onClick:()=>{t(async()=>{try{await u.action?.onClick();}catch{}finally{we.dismiss();}});},children:u.action.label}),o&&jsxRuntime.jsx(toast.Toast.CloseTrigger,{children:jsxRuntime.jsx(fe,{className:"h-6 w-6 text-neutral-50"})})]})]},u.id)})};/*! Bundled license information:
2
2
 
3
3
  lucide-react/dist/esm/shared/src/utils.js:
4
4
  (**
@@ -32,6 +32,14 @@ lucide-react/dist/esm/createLucideIcon.js:
32
32
  * See the LICENSE file in the root directory of this source tree.
33
33
  *)
34
34
 
35
+ lucide-react/dist/esm/icons/loader-circle.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
+
35
43
  lucide-react/dist/esm/icons/x.js:
36
44
  (**
37
45
  * @license lucide-react v0.469.0 - ISC
@@ -47,4 +55,4 @@ lucide-react/dist/esm/lucide-react.js:
47
55
  * This source code is licensed under the ISC license.
48
56
  * See the LICENSE file in the root directory of this source tree.
49
57
  *)
50
- */exports.Snackbar=$e;exports.SnackbarAction=ea;exports.SnackbarClose=aa;exports.SnackbarProvider=Xa;exports.SnackbarTitle=ta;exports.SnackbarViewport=Ce;
58
+ */exports.SnackbarProvider=nt;exports.snackbar=we;
package/dist/snackbar.mjs CHANGED
@@ -1 +1 @@
1
- export{c as Snackbar,d as SnackbarAction,e as SnackbarClose,a as SnackbarProvider,f as SnackbarTitle,b as SnackbarViewport}from'./chunk-6PKCW63O.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
1
+ export{b as SnackbarProvider,a as snackbar}from'./chunk-DTJU34JK.mjs';import'./chunk-DZLL7IH6.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
@@ -0,0 +1,14 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import * as ToastPrimitives from '@radix-ui/react-toast';
4
+
5
+ declare const SnackbarProvider_old: ({ children, ...props }: React.ComponentPropsWithoutRef<typeof ToastPrimitives.Provider>) => react_jsx_runtime.JSX.Element;
6
+ declare const SnackbarViewport_old: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
7
+ declare const Snackbar_old: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
8
+ declare const SnackbarAction_old: React.ForwardRefExoticComponent<Omit<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref">, "altText"> & React.RefAttributes<HTMLButtonElement>>;
9
+ declare const SnackbarClose_old: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
+ declare const SnackbarTitle_old: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
+ type SnackbarProps_old = React.ComponentPropsWithoutRef<typeof Snackbar_old>;
12
+ type SnackbarActionElement_old = React.ReactElement<typeof SnackbarAction_old>;
13
+
14
+ export { type SnackbarActionElement_old, SnackbarAction_old, SnackbarClose_old, type SnackbarProps_old, SnackbarProvider_old, SnackbarTitle_old, SnackbarViewport_old, Snackbar_old };
@@ -0,0 +1,14 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import * as ToastPrimitives from '@radix-ui/react-toast';
4
+
5
+ declare const SnackbarProvider_old: ({ children, ...props }: React.ComponentPropsWithoutRef<typeof ToastPrimitives.Provider>) => react_jsx_runtime.JSX.Element;
6
+ declare const SnackbarViewport_old: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
7
+ declare const Snackbar_old: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
8
+ declare const SnackbarAction_old: React.ForwardRefExoticComponent<Omit<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref">, "altText"> & React.RefAttributes<HTMLButtonElement>>;
9
+ declare const SnackbarClose_old: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
+ declare const SnackbarTitle_old: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
+ type SnackbarProps_old = React.ComponentPropsWithoutRef<typeof Snackbar_old>;
12
+ type SnackbarActionElement_old = React.ReactElement<typeof SnackbarAction_old>;
13
+
14
+ export { type SnackbarActionElement_old, SnackbarAction_old, SnackbarClose_old, type SnackbarProps_old, SnackbarProvider_old, SnackbarTitle_old, SnackbarViewport_old, Snackbar_old };
@@ -0,0 +1,50 @@
1
+ 'use strict';var M=require('react'),p=require('@radix-ui/react-toast'),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 p__namespace=/*#__PURE__*/_interopNamespace(p);function te(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=te(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function oe(){for(var e,a,t=0,o="",d=arguments.length;t<d;t++)(e=arguments[t])&&(a=te(e))&&(o&&(o+=" "),o+=a);return o}var Z="-",ge=e=>{let a=Se(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:s=>{let u=s.split(Z);return u[0]===""&&u.length!==1&&u.shift(),de(u,a)||he(s)},getConflictingClassGroupIds:(s,u)=>{let c=t[s]||[];return u&&o[s]?[...c,...o[s]]:c}}},de=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),d=o?de(e.slice(1),o):void 0;if(d)return d;if(a.validators.length===0)return;let l=e.join(Z);return a.validators.find(({validator:s})=>s(l))?.classGroupId},le=/^\[(.+)\]$/,he=e=>{if(le.test(e)){let a=le.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(([l,s])=>{K(s,o,l,a);}),o},K=(e,a,t,o)=>{e.forEach(d=>{if(typeof d=="string"){let l=d===""?a:ue(a,d);l.classGroupId=t;return}if(typeof d=="function"){if(we(d)){K(d(o),a,t,o);return}a.validators.push({validator:d,classGroupId:t});return}Object.entries(d).forEach(([l,s])=>{K(s,ue(a,l),t,o);});});},ue=(e,a)=>{let t=e;return a.split(Z).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(l=>typeof l=="string"?a+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([s,u])=>[a+s,u])):l);return [t,d]}):e,ke=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,t=new Map,o=new Map,d=(l,s)=>{t.set(l,s),a++,a>e&&(a=0,o=t,t=new Map);};return {get(l){let s=t.get(l);if(s!==void 0)return s;if((s=o.get(l))!==void 0)return d(l,s),s},set(l,s){t.has(l)?t.set(l,s):d(l,s);}}},re="!",be=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,d=a[0],l=a.length,s=u=>{let c=[],m=0,L=0,g;for(let n=0;n<u.length;n++){let x=u[n];if(m===0){if(x===d&&(o||u.slice(n,n+l)===a)){c.push(u.slice(L,n)),L=n+l;continue}if(x==="/"){g=n;continue}}x==="["?m++:x==="]"&&m--;}let h=c.length===0?u:u.substring(L),w=h.startsWith(re),S=w?h.substring(1):h,I=g&&g>L?g-L:void 0;return {modifiers:c,hasImportantModifier:w,baseClassName:S,maybePostfixModifierPosition:I}};return t?u=>t({className:u,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)}),ye=/\s+/,Me=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:d}=a,l=[],s=e.trim().split(ye),u="";for(let c=s.length-1;c>=0;c-=1){let m=s[c],{modifiers:L,hasImportantModifier:g,baseClassName:h,maybePostfixModifierPosition:w}=t(m),S=!!w,I=o(S?h.substring(0,w):h);if(!I){if(!S){u=m+(u.length>0?" "+u:u);continue}if(I=o(h),!I){u=m+(u.length>0?" "+u:u);continue}S=!1;}let n=Ae(L).join(":"),x=g?n+re:n,C=x+I;if(l.includes(C))continue;l.push(C);let R=d(I,S);for(let y=0;y<R.length;++y){let O=R[y];l.push(x+O);}u=m+(u.length>0?" "+u:u);}return u};function Fe(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=se(a))&&(o&&(o+=" "),o+=t);return o}var se=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=se(e[o]))&&(t&&(t+=" "),t+=a);return t};function De(e,...a){let t,o,d,l=s;function s(c){let m=a.reduce((L,g)=>g(L),e());return t=Be(m),o=t.cache.get,d=t.cache.set,l=u,u(c)}function u(c){let m=o(c);if(m)return m;let L=Me(c,t);return d(c,L),L}return function(){return l(Fe.apply(null,arguments))}}var f=e=>{let a=t=>t[e]||[];return a.isThemeGetter=!0,a},fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Re=/^\d+\/\d+$/,Te=new Set(["px","full","screen"]),ve=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qe=/\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)\(.+\)$/,k=e=>F(e)||Te.has(e)||Re.test(e),b=e=>D(e,"length",Ke),F=e=>!!e&&!Number.isNaN(Number(e)),X=e=>D(e,"number",F),v=e=>!!e&&Number.isInteger(Number(e)),Ge=e=>e.endsWith("%")&&F(e.slice(0,-1)),r=e=>fe.test(e),A=e=>ve.test(e),ze=new Set(["length","size","percentage"]),Ve=e=>D(e,ze,ie),We=e=>D(e,"position",ie),Ee=new Set(["image","url"]),Ne=e=>D(e,Ee,Je),Xe=e=>D(e,"",Ze),q=()=>!0,D=(e,a,t)=>{let o=fe.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(o[2]):!1},Ke=e=>qe.test(e)&&!Ue.test(e),ie=()=>!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"),l=f("borderRadius"),s=f("borderSpacing"),u=f("borderWidth"),c=f("contrast"),m=f("grayscale"),L=f("hueRotate"),g=f("invert"),h=f("gap"),w=f("gradientColorStops"),S=f("gradientColorStopPositions"),I=f("inset"),n=f("margin"),x=f("opacity"),C=f("padding"),R=f("saturate"),y=f("scale"),O=f("sepia"),Q=f("skew"),_=f("space"),j=f("translate"),V=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto",r,a],i=()=>[r,a],Y=()=>["",k,b],H=()=>["auto",F,r],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",r],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[F,r];return {cacheSize:500,separator:":",theme:{colors:[q],spacing:[k,b],blur:["none","",A,r],brightness:P(),borderColor:[e],borderRadius:["none","","full",A,r],borderSpacing:i(),borderWidth:Y(),contrast:P(),grayscale:T(),hueRotate:P(),invert:T(),gap:i(),gradientColorStops:[e],gradientColorStopPositions:[Ge,b],inset:E(),margin:E(),opacity:P(),padding:i(),saturate:P(),scale:P(),sepia:T(),skew:P(),space:i(),translate:i()},classGroups:{aspect:[{aspect:["auto","square","video",r]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...$(),r]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[I]}],"inset-x":[{"inset-x":[I]}],"inset-y":[{"inset-y":[I]}],start:[{start:[I]}],end:[{end:[I]}],top:[{top:[I]}],right:[{right:[I]}],bottom:[{bottom:[I]}],left:[{left:[I]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",v,r]}],basis:[{basis:E()}],"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:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",v,r]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",v,r]},r]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[v,r]},r]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",r]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",r]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[n]}],mx:[{mx:[n]}],my:[{my:[n]}],ms:[{ms:[n]}],me:[{me:[n]}],mt:[{mt:[n]}],mr:[{mr:[n]}],mb:[{mb:[n]}],ml:[{ml:[n]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",r,a]}],"min-w":[{"min-w":[r,a,"min","max","fit"]}],"max-w":[{"max-w":[r,a,"none","full","min","max","fit","prose",{screen:[A]},A]}],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",A,b]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",X]}],"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",F,X]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,r]}],"list-image":[{"list-image":["none",r]}],"list-style-type":[{list:["none","disc","decimal",r]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,b]}],"underline-offset":[{"underline-offset":["auto",k,r]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",r]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",r]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"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"]},Ne]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:G()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[k,r]}],"outline-w":[{outline:[k,b]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[k,b]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,Xe]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",A,r]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[L]}],invert:[{invert:[g]}],saturate:[{saturate:[R]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[L]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"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:P()}],ease:[{ease:["linear","in","out","in-out",r]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",r]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[v,r]}],"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",r]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",r]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",r]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[k,b,X]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ce=De(Qe);function J(...e){return ce(oe(e))}var ne=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),z=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim();var pe={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Le=M.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:d="",children:l,iconNode:s,...u},c)=>M.createElement("svg",{ref:c,...pe,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:z("lucide",d),...u},[...s.map(([m,L])=>M.createElement(m,L)),...Array.isArray(l)?l:[l]]));var Ie=(e,a)=>{let t=M.forwardRef(({className:o,...d},l)=>M.createElement(Le,{ref:l,iconNode:a,className:z(`lucide-${ne(e)}`,o),...d}));return t.displayName=`${e}`,t};var U=Ie("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var xe=U;var Xa=({children:e,...a})=>jsxRuntime.jsxs(p__namespace.Provider,{...a,children:[e,jsxRuntime.jsx(Ce,{})]}),Ce=M__namespace.forwardRef(({className:e,...a},t)=>jsxRuntime.jsx(p__namespace.Viewport,{ref:t,className:J("fixed right-4 top-5 z-[100000]",e),...a}));Ce.displayName=p__namespace.Viewport.displayName;var $e=M__namespace.forwardRef(({className:e,...a},t)=>jsxRuntime.jsx(p__namespace.Root,{ref:t,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",...a}));$e.displayName=p__namespace.Root.displayName;var ea=M__namespace.forwardRef(({className:e,...a},t)=>jsxRuntime.jsx(p__namespace.Action,{ref:t,className:"px-3 py-2 text-sm font-semibold text-primary-400",altText:"action",...a}));ea.displayName=p__namespace.Action.displayName;var aa=M__namespace.forwardRef((e,a)=>jsxRuntime.jsx(p__namespace.Close,{ref:a,"toast-close":"",...e,children:jsxRuntime.jsx(xe,{className:"h-6 w-6 text-neutral-50"})}));aa.displayName=p__namespace.Close.displayName;var ta=M__namespace.forwardRef(({className:e,...a},t)=>jsxRuntime.jsx(p__namespace.Title,{ref:t,className:J("text-sm text-neutral-50",e),...a}));ta.displayName=p__namespace.Title.displayName;var oa=M__namespace.forwardRef(({className:e,...a},t)=>jsxRuntime.jsx(p__namespace.Description,{ref:t,className:"text-sm text-neutral-50",...a}));oa.displayName=p__namespace.Description.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/x.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.SnackbarAction_old=ea;exports.SnackbarClose_old=aa;exports.SnackbarProvider_old=Xa;exports.SnackbarTitle_old=ta;exports.SnackbarViewport_old=Ce;exports.Snackbar_old=$e;
@@ -0,0 +1 @@
1
+ export{d as SnackbarAction_old,e as SnackbarClose_old,a as SnackbarProvider_old,f as SnackbarTitle_old,b as SnackbarViewport_old,c as Snackbar_old}from'./chunk-R6SKDZJ5.mjs';import'./chunk-XJSC6PKJ.mjs';import'./chunk-2WINTZSS.mjs';
package/dist/tab.d.mts CHANGED
@@ -12,8 +12,8 @@ type TabsVariantsType = (typeof TabsVariants)[number];
12
12
  declare const TabsSizes: readonly ["sm", "md"];
13
13
  type TabsSizesType = "sm" | "md";
14
14
  declare const tabTrigger: (props?: ({
15
- variant?: "ghost" | "fill" | "fillWithCloseButton" | undefined;
16
- size?: "md" | "sm" | undefined;
15
+ variant?: "fill" | "ghost" | "fillWithCloseButton" | undefined;
16
+ size?: "sm" | "md" | undefined;
17
17
  } & ({
18
18
  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 | {
19
19
  [x: string]: any;
package/dist/tab.d.ts CHANGED
@@ -12,8 +12,8 @@ type TabsVariantsType = (typeof TabsVariants)[number];
12
12
  declare const TabsSizes: readonly ["sm", "md"];
13
13
  type TabsSizesType = "sm" | "md";
14
14
  declare const tabTrigger: (props?: ({
15
- variant?: "ghost" | "fill" | "fillWithCloseButton" | undefined;
16
- size?: "md" | "sm" | undefined;
15
+ variant?: "fill" | "ghost" | "fillWithCloseButton" | undefined;
16
+ size?: "sm" | "md" | undefined;
17
17
  } & ({
18
18
  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 | {
19
19
  [x: string]: any;
@@ -1 +1 @@
1
- 'use strict';var r={content:[],theme:{fontFamily:{inter:["Inter Variable","sans-serif"],jakarta:['"Plus Jakarta Sans Variable"',"sans-serif"]},spacing:{0:"0",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",16:"3.5rem"},colors:{primary:{50:"rgb(var(--color-primary-50) / <alpha-value>)",100:"rgb(var(--color-primary-100) / <alpha-value>)",200:"rgb(var(--color-primary-200) / <alpha-value>)",300:"rgb(var(--color-primary-300) / <alpha-value>)",400:"rgb(var(--color-primary-400) / <alpha-value>)",500:"rgb(var(--color-primary-500) / <alpha-value>)",600:"rgb(var(--color-primary-600) / <alpha-value>)",700:"rgb(var(--color-primary-700) / <alpha-value>)",800:"rgb(var(--color-primary-800) / <alpha-value>)",900:"rgb(var(--color-primary-900) / <alpha-value>)"},"transparent-primary":{10:"rgb(var(--color-primary-400) / 0.1)",20:"rgb(var(--color-primary-400) / 0.2)",30:"rgb(var(--color-primary-400) / 0.3)",40:"rgb(var(--color-primary-400) / 0.4)"},"transparent-neutral":{10:"rgb(var(--color-neutral-50) / 0.1)",20:"rgb(var(--color-neutral-100) / 0.2)",30:"rgb(var(--color-neutral-200) / 0.3)",40:"rgb(var(--color-neutral-300) / 0.4)",50:"rgb(var(--color-neutral-400) / 0.5)"},neutral:{50:"rgb(var(--color-neutral-50) / <alpha-value>)",70:"rgb(var(--color-neutral-70) / <alpha-value>)",80:"rgb(var(--color-neutral-80) / <alpha-value>)",100:"rgb(var(--color-neutral-100) / <alpha-value>)",200:"rgb(var(--color-neutral-200) / <alpha-value>)",300:"rgb(var(--color-neutral-300) / <alpha-value>)",400:"rgb(var(--color-neutral-400) / <alpha-value>)",500:"rgb(var(--color-neutral-500) / <alpha-value>)",600:"rgb(var(--color-neutral-600) / <alpha-value>)",700:"rgb(var(--color-neutral-700) / <alpha-value>)",800:"rgb(var(--color-neutral-800) / <alpha-value>)",900:"rgb(var(--color-neutral-900) / <alpha-value>)"},error:{100:"rgb(var(--color-error-100) / <alpha-value>)",300:"rgb(var(--color-error-300) / <alpha-value>)",500:"rgb(var(--color-error-500) / <alpha-value>)",700:"rgb(var(--color-error-700) / <alpha-value>)",900:"rgb(var(--color-error-900) / <alpha-value>)"},"transparent-error":{10:"rgb(var(--color-error-300) / 0.1)"},warning:{100:"#FFF9D6",300:"#FFE885",500:"#FFCF35",700:"#D69A00",900:"#5C4B22"},success:{100:"#E3FAD7",300:"#67C45E",500:"#319E31",700:"#187128",900:"#094B20"},info:{100:"#CFEBFE",300:"#71B6FA",500:"#1570EF",700:"#0A40AC",900:"#273767"},zoro:{300:"#E9F0C4",500:"#DBE3AB"},ussop:{300:"#D5E9CE",500:"#BFE4B2"},crocodile:{300:"#CDE0B9",500:"#BED5A4"},silvers:{300:"#DFF7DE",500:"#CFF4CE"},buggy:{300:"#E5F5B3",500:"#DAEF9D"},nami:{300:"#FFDBBB",500:"#FFCEA2"},shanks:{300:"#F6CFBC",500:"#FBC5A9"},piiman:{300:"#FFE3B4",500:"#FFDA9B"},sanji:{300:"#FFECCA",500:"#FFE0A9"},ace:{300:"#FFDAD3",500:"#FFC1B5"},hancock:{300:"#F6CFE6",500:"#F3B9DC"},chopper:{300:"#FFE2F8",500:"#FFCDF3"},bentham:{300:"#EDD8F0",500:"#ECCCF1"},ivankov:{300:"#F0E4FF",500:"#E6D1FF"},brook:{300:"#E2E3FF",500:"#CED0FF"},luffy:{300:"#D8E3FF",500:"#C7D7FF"},frankie:{300:"#CDF1F8",500:"#B8EEF9"},jinbe:{300:"#CDF0FF",500:"#B3E8FF"},robin:{300:"#BAD2F5",500:"#ADCDFB"},law:{300:"#CBD8F3",500:"#B0C3EA"},sunny:{800:"#4B7E12"},polartang:{600:"#C68130",800:"#A75A00"},merry:{600:"#8F3FA2",800:"#581769"},jackson:{800:"#4E6697"}},extend:{translate:{.5:"0.125rem",1.5:"0.375rem",4.5:"1.125rem",5.5:"1.375rem"},ringWidth:{3:"3px",6:"6px",12:"12px"},letterSpacing:{body:"0.32px","body-lg":"0.36px",sm:"0.28px"},margin:{.125:"0.03125rem",.25:"0.0625rem",.5:"0.125rem",1.5:"0.375rem",1.6:"0.4rem",1.75:"0.4375rem",2.5:"0.625rem",4.5:"1.125rem"},padding:{.25:"0.0625rem",.5:"0.125rem",.75:"0.1875rem",2.5:"0.625rem",3.75:"0.9375rem",4.25:"1.0625rem",4.5:"1.125rem",14:"3.5rem",20:"5rem"},gap:{1.5:"0.375rem",2.75:"0.6875rem",3.25:"0.8125rem",4.5:"1.125rem"},width:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",13:"3.25rem",14:"3.5rem",18.5:"4.625rem",29:"7.25rem",55:"13.75rem",88:"22rem",112.5:"28.125rem",117.5:"29.375rem",187:"46.75rem",235:"58.75rem",312:"78rem"},minWidth:{4.5:"1.125rem"},minHeight:{4.5:"1.125rem",15.75:"3.9375rem",40:"10rem",160:"40rem"},maxHeight:{84:"21rem"},height:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",14:"3.5rem",15:"3.75rem",16:"4rem",18:"4.5rem",20:"5rem",22:"5.5rem"},borderWidth:{1:"1px",1.5:"1.5px",3:"3px"},borderColor:{transparent:"transparent"},inset:{1.5:"0.375rem",2.5:"0.625rem",3.875:"0.96875rem",14:"3.5rem",22:"6rem"},keyframes:{hide:{from:{opacity:"1"},to:{opacity:"0"}},slideIn:{from:{transform:"translateX(100%)"},to:{transform:"translateX(0)"}},swipeOut:{from:{transform:"translateX(0)"},to:{transform:"translateX(100%)"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"slide-down":{from:{transform:"translateY(-100%) scale(0.95)",opacity:"0"},to:{transform:"translateY(0) scale(1)",opacity:"1"}},"slide-up":{from:{transform:"translateY(0) scale(1)",opacity:"1"},to:{transform:"translateY(-100%) scale(0.95)",opacity:"0"}}},animation:{hide:"hide 100ms ease-in",slideIn:"slideIn 500ms cubic-bezier(0.16, 1, 0.3, 1)",swipeOut:"swipeOut 200ms ease-out","accordion-down":"accordion-down 300ms cubic-bezier(0.87, 0, 0.13, 1)","accordion-up":"accordion-up 300ms cubic-bezier(0.87, 0, 0.13, 1)","slide-down":"slide-down 300ms cubic-bezier(0.16, 1, 0.3, 1)","slide-up":"slide-up 300ms cubic-bezier(0.16, 1, 0.3, 1)"}}}},a=r;module.exports=a;
1
+ 'use strict';var r={content:[],theme:{fontFamily:{inter:["Inter Variable","sans-serif"],jakarta:['"Plus Jakarta Sans Variable"',"sans-serif"]},spacing:{0:"0",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",16:"3.5rem"},colors:{primary:{50:"rgb(var(--color-primary-50) / <alpha-value>)",100:"rgb(var(--color-primary-100) / <alpha-value>)",200:"rgb(var(--color-primary-200) / <alpha-value>)",300:"rgb(var(--color-primary-300) / <alpha-value>)",400:"rgb(var(--color-primary-400) / <alpha-value>)",500:"rgb(var(--color-primary-500) / <alpha-value>)",600:"rgb(var(--color-primary-600) / <alpha-value>)",700:"rgb(var(--color-primary-700) / <alpha-value>)",800:"rgb(var(--color-primary-800) / <alpha-value>)",900:"rgb(var(--color-primary-900) / <alpha-value>)"},"transparent-primary":{10:"rgb(var(--color-primary-400) / 0.1)",20:"rgb(var(--color-primary-400) / 0.2)",30:"rgb(var(--color-primary-400) / 0.3)",40:"rgb(var(--color-primary-400) / 0.4)"},"transparent-neutral":{10:"rgb(var(--color-neutral-50) / 0.1)",20:"rgb(var(--color-neutral-100) / 0.2)",30:"rgb(var(--color-neutral-200) / 0.3)",40:"rgb(var(--color-neutral-300) / 0.4)",50:"rgb(var(--color-neutral-400) / 0.5)"},neutral:{50:"rgb(var(--color-neutral-50) / <alpha-value>)",70:"rgb(var(--color-neutral-70) / <alpha-value>)",80:"rgb(var(--color-neutral-80) / <alpha-value>)",100:"rgb(var(--color-neutral-100) / <alpha-value>)",200:"rgb(var(--color-neutral-200) / <alpha-value>)",300:"rgb(var(--color-neutral-300) / <alpha-value>)",400:"rgb(var(--color-neutral-400) / <alpha-value>)",500:"rgb(var(--color-neutral-500) / <alpha-value>)",600:"rgb(var(--color-neutral-600) / <alpha-value>)",700:"rgb(var(--color-neutral-700) / <alpha-value>)",800:"rgb(var(--color-neutral-800) / <alpha-value>)",900:"rgb(var(--color-neutral-900) / <alpha-value>)"},error:{100:"rgb(var(--color-error-100) / <alpha-value>)",300:"rgb(var(--color-error-300) / <alpha-value>)",500:"rgb(var(--color-error-500) / <alpha-value>)",700:"rgb(var(--color-error-700) / <alpha-value>)",900:"rgb(var(--color-error-900) / <alpha-value>)"},"transparent-error":{10:"rgb(var(--color-error-300) / 0.1)"},warning:{100:"#FFF9D6",300:"#FFE885",500:"#FFCF35",700:"#D69A00",900:"#5C4B22"},success:{100:"#E3FAD7",300:"#67C45E",500:"#319E31",700:"#187128",900:"#094B20"},info:{100:"#CFEBFE",300:"#71B6FA",500:"#1570EF",700:"#0A40AC",900:"#273767"},zoro:{300:"#E9F0C4",500:"#DBE3AB"},ussop:{300:"#D5E9CE",500:"#BFE4B2"},crocodile:{300:"#CDE0B9",500:"#BED5A4"},silvers:{300:"#DFF7DE",500:"#CFF4CE"},buggy:{300:"#E5F5B3",500:"#DAEF9D"},nami:{300:"#FFDBBB",500:"#FFCEA2"},shanks:{300:"#F6CFBC",500:"#FBC5A9"},piiman:{300:"#FFE3B4",500:"#FFDA9B"},sanji:{300:"#FFECCA",500:"#FFE0A9"},ace:{300:"#FFDAD3",500:"#FFC1B5"},hancock:{300:"#F6CFE6",500:"#F3B9DC"},chopper:{300:"#FFE2F8",500:"#FFCDF3"},bentham:{300:"#EDD8F0",500:"#ECCCF1"},ivankov:{300:"#F0E4FF",500:"#E6D1FF"},brook:{300:"#E2E3FF",500:"#CED0FF"},luffy:{300:"#D8E3FF",500:"#C7D7FF"},frankie:{300:"#CDF1F8",500:"#B8EEF9"},jinbe:{300:"#CDF0FF",500:"#B3E8FF"},robin:{300:"#BAD2F5",500:"#ADCDFB"},law:{300:"#CBD8F3",500:"#B0C3EA"},sunny:{800:"#4B7E12"},polartang:{600:"#C68130",800:"#A75A00"},merry:{600:"#8F3FA2",800:"#581769"},jackson:{800:"#4E6697"}},extend:{translate:{.5:"0.125rem",1.5:"0.375rem",4.5:"1.125rem",5.5:"1.375rem"},ringWidth:{3:"3px",6:"6px",12:"12px"},letterSpacing:{body:"0.32px","body-lg":"0.36px",sm:"0.28px"},margin:{.125:"0.03125rem",.25:"0.0625rem",.5:"0.125rem",1.5:"0.375rem",1.6:"0.4rem",1.75:"0.4375rem",2.5:"0.625rem",4.5:"1.125rem"},padding:{.25:"0.0625rem",.5:"0.125rem",.75:"0.1875rem",2.5:"0.625rem",3.75:"0.9375rem",4.25:"1.0625rem",4.5:"1.125rem",14:"3.5rem",20:"5rem"},gap:{1.5:"0.375rem",2.75:"0.6875rem",3.25:"0.8125rem",4.5:"1.125rem"},width:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",13:"3.25rem",14:"3.5rem",18.5:"4.625rem",29:"7.25rem",55:"13.75rem",86:"21.5rem",88:"22rem",112.5:"28.125rem",117.5:"29.375rem",187:"46.75rem",235:"58.75rem",312:"78rem"},minWidth:{4.5:"1.125rem"},minHeight:{4.5:"1.125rem",15.75:"3.9375rem",40:"10rem",160:"40rem"},maxHeight:{84:"21rem"},height:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",14:"3.5rem",15:"3.75rem",16:"4rem",18:"4.5rem",20:"5rem",22:"5.5rem"},borderWidth:{1:"1px",1.5:"1.5px",3:"3px"},borderColor:{transparent:"transparent"},inset:{1.5:"0.375rem",2.5:"0.625rem",3.875:"0.96875rem",14:"3.5rem",22:"6rem"},keyframes:{hide:{from:{opacity:"1"},to:{opacity:"0"}},slideIn:{from:{transform:"translateX(100%)"},to:{transform:"translateX(0)"}},swipeOut:{from:{transform:"translateX(0)"},to:{transform:"translateX(100%)"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"slide-down":{from:{transform:"translateY(-100%) scale(0.95)",opacity:"0"},to:{transform:"translateY(0) scale(1)",opacity:"1"}},"slide-up":{from:{transform:"translateY(0) scale(1)",opacity:"1"},to:{transform:"translateY(-100%) scale(0.95)",opacity:"0"}}},animation:{hide:"hide 100ms ease-in",slideIn:"slideIn 500ms cubic-bezier(0.16, 1, 0.3, 1)",swipeOut:"swipeOut 200ms ease-out","accordion-down":"accordion-down 300ms cubic-bezier(0.87, 0, 0.13, 1)","accordion-up":"accordion-up 300ms cubic-bezier(0.87, 0, 0.13, 1)","slide-down":"slide-down 300ms cubic-bezier(0.16, 1, 0.3, 1)","slide-up":"slide-up 300ms cubic-bezier(0.16, 1, 0.3, 1)"}}}},a=r;module.exports=a;
@@ -1 +1 @@
1
- var r={content:[],theme:{fontFamily:{inter:["Inter Variable","sans-serif"],jakarta:['"Plus Jakarta Sans Variable"',"sans-serif"]},spacing:{0:"0",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",16:"3.5rem"},colors:{primary:{50:"rgb(var(--color-primary-50) / <alpha-value>)",100:"rgb(var(--color-primary-100) / <alpha-value>)",200:"rgb(var(--color-primary-200) / <alpha-value>)",300:"rgb(var(--color-primary-300) / <alpha-value>)",400:"rgb(var(--color-primary-400) / <alpha-value>)",500:"rgb(var(--color-primary-500) / <alpha-value>)",600:"rgb(var(--color-primary-600) / <alpha-value>)",700:"rgb(var(--color-primary-700) / <alpha-value>)",800:"rgb(var(--color-primary-800) / <alpha-value>)",900:"rgb(var(--color-primary-900) / <alpha-value>)"},"transparent-primary":{10:"rgb(var(--color-primary-400) / 0.1)",20:"rgb(var(--color-primary-400) / 0.2)",30:"rgb(var(--color-primary-400) / 0.3)",40:"rgb(var(--color-primary-400) / 0.4)"},"transparent-neutral":{10:"rgb(var(--color-neutral-50) / 0.1)",20:"rgb(var(--color-neutral-100) / 0.2)",30:"rgb(var(--color-neutral-200) / 0.3)",40:"rgb(var(--color-neutral-300) / 0.4)",50:"rgb(var(--color-neutral-400) / 0.5)"},neutral:{50:"rgb(var(--color-neutral-50) / <alpha-value>)",70:"rgb(var(--color-neutral-70) / <alpha-value>)",80:"rgb(var(--color-neutral-80) / <alpha-value>)",100:"rgb(var(--color-neutral-100) / <alpha-value>)",200:"rgb(var(--color-neutral-200) / <alpha-value>)",300:"rgb(var(--color-neutral-300) / <alpha-value>)",400:"rgb(var(--color-neutral-400) / <alpha-value>)",500:"rgb(var(--color-neutral-500) / <alpha-value>)",600:"rgb(var(--color-neutral-600) / <alpha-value>)",700:"rgb(var(--color-neutral-700) / <alpha-value>)",800:"rgb(var(--color-neutral-800) / <alpha-value>)",900:"rgb(var(--color-neutral-900) / <alpha-value>)"},error:{100:"rgb(var(--color-error-100) / <alpha-value>)",300:"rgb(var(--color-error-300) / <alpha-value>)",500:"rgb(var(--color-error-500) / <alpha-value>)",700:"rgb(var(--color-error-700) / <alpha-value>)",900:"rgb(var(--color-error-900) / <alpha-value>)"},"transparent-error":{10:"rgb(var(--color-error-300) / 0.1)"},warning:{100:"#FFF9D6",300:"#FFE885",500:"#FFCF35",700:"#D69A00",900:"#5C4B22"},success:{100:"#E3FAD7",300:"#67C45E",500:"#319E31",700:"#187128",900:"#094B20"},info:{100:"#CFEBFE",300:"#71B6FA",500:"#1570EF",700:"#0A40AC",900:"#273767"},zoro:{300:"#E9F0C4",500:"#DBE3AB"},ussop:{300:"#D5E9CE",500:"#BFE4B2"},crocodile:{300:"#CDE0B9",500:"#BED5A4"},silvers:{300:"#DFF7DE",500:"#CFF4CE"},buggy:{300:"#E5F5B3",500:"#DAEF9D"},nami:{300:"#FFDBBB",500:"#FFCEA2"},shanks:{300:"#F6CFBC",500:"#FBC5A9"},piiman:{300:"#FFE3B4",500:"#FFDA9B"},sanji:{300:"#FFECCA",500:"#FFE0A9"},ace:{300:"#FFDAD3",500:"#FFC1B5"},hancock:{300:"#F6CFE6",500:"#F3B9DC"},chopper:{300:"#FFE2F8",500:"#FFCDF3"},bentham:{300:"#EDD8F0",500:"#ECCCF1"},ivankov:{300:"#F0E4FF",500:"#E6D1FF"},brook:{300:"#E2E3FF",500:"#CED0FF"},luffy:{300:"#D8E3FF",500:"#C7D7FF"},frankie:{300:"#CDF1F8",500:"#B8EEF9"},jinbe:{300:"#CDF0FF",500:"#B3E8FF"},robin:{300:"#BAD2F5",500:"#ADCDFB"},law:{300:"#CBD8F3",500:"#B0C3EA"},sunny:{800:"#4B7E12"},polartang:{600:"#C68130",800:"#A75A00"},merry:{600:"#8F3FA2",800:"#581769"},jackson:{800:"#4E6697"}},extend:{translate:{.5:"0.125rem",1.5:"0.375rem",4.5:"1.125rem",5.5:"1.375rem"},ringWidth:{3:"3px",6:"6px",12:"12px"},letterSpacing:{body:"0.32px","body-lg":"0.36px",sm:"0.28px"},margin:{.125:"0.03125rem",.25:"0.0625rem",.5:"0.125rem",1.5:"0.375rem",1.6:"0.4rem",1.75:"0.4375rem",2.5:"0.625rem",4.5:"1.125rem"},padding:{.25:"0.0625rem",.5:"0.125rem",.75:"0.1875rem",2.5:"0.625rem",3.75:"0.9375rem",4.25:"1.0625rem",4.5:"1.125rem",14:"3.5rem",20:"5rem"},gap:{1.5:"0.375rem",2.75:"0.6875rem",3.25:"0.8125rem",4.5:"1.125rem"},width:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",13:"3.25rem",14:"3.5rem",18.5:"4.625rem",29:"7.25rem",55:"13.75rem",88:"22rem",112.5:"28.125rem",117.5:"29.375rem",187:"46.75rem",235:"58.75rem",312:"78rem"},minWidth:{4.5:"1.125rem"},minHeight:{4.5:"1.125rem",15.75:"3.9375rem",40:"10rem",160:"40rem"},maxHeight:{84:"21rem"},height:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",14:"3.5rem",15:"3.75rem",16:"4rem",18:"4.5rem",20:"5rem",22:"5.5rem"},borderWidth:{1:"1px",1.5:"1.5px",3:"3px"},borderColor:{transparent:"transparent"},inset:{1.5:"0.375rem",2.5:"0.625rem",3.875:"0.96875rem",14:"3.5rem",22:"6rem"},keyframes:{hide:{from:{opacity:"1"},to:{opacity:"0"}},slideIn:{from:{transform:"translateX(100%)"},to:{transform:"translateX(0)"}},swipeOut:{from:{transform:"translateX(0)"},to:{transform:"translateX(100%)"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"slide-down":{from:{transform:"translateY(-100%) scale(0.95)",opacity:"0"},to:{transform:"translateY(0) scale(1)",opacity:"1"}},"slide-up":{from:{transform:"translateY(0) scale(1)",opacity:"1"},to:{transform:"translateY(-100%) scale(0.95)",opacity:"0"}}},animation:{hide:"hide 100ms ease-in",slideIn:"slideIn 500ms cubic-bezier(0.16, 1, 0.3, 1)",swipeOut:"swipeOut 200ms ease-out","accordion-down":"accordion-down 300ms cubic-bezier(0.87, 0, 0.13, 1)","accordion-up":"accordion-up 300ms cubic-bezier(0.87, 0, 0.13, 1)","slide-down":"slide-down 300ms cubic-bezier(0.16, 1, 0.3, 1)","slide-up":"slide-up 300ms cubic-bezier(0.16, 1, 0.3, 1)"}}}},a=r;export{a as default};
1
+ var r={content:[],theme:{fontFamily:{inter:["Inter Variable","sans-serif"],jakarta:['"Plus Jakarta Sans Variable"',"sans-serif"]},spacing:{0:"0",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",16:"3.5rem"},colors:{primary:{50:"rgb(var(--color-primary-50) / <alpha-value>)",100:"rgb(var(--color-primary-100) / <alpha-value>)",200:"rgb(var(--color-primary-200) / <alpha-value>)",300:"rgb(var(--color-primary-300) / <alpha-value>)",400:"rgb(var(--color-primary-400) / <alpha-value>)",500:"rgb(var(--color-primary-500) / <alpha-value>)",600:"rgb(var(--color-primary-600) / <alpha-value>)",700:"rgb(var(--color-primary-700) / <alpha-value>)",800:"rgb(var(--color-primary-800) / <alpha-value>)",900:"rgb(var(--color-primary-900) / <alpha-value>)"},"transparent-primary":{10:"rgb(var(--color-primary-400) / 0.1)",20:"rgb(var(--color-primary-400) / 0.2)",30:"rgb(var(--color-primary-400) / 0.3)",40:"rgb(var(--color-primary-400) / 0.4)"},"transparent-neutral":{10:"rgb(var(--color-neutral-50) / 0.1)",20:"rgb(var(--color-neutral-100) / 0.2)",30:"rgb(var(--color-neutral-200) / 0.3)",40:"rgb(var(--color-neutral-300) / 0.4)",50:"rgb(var(--color-neutral-400) / 0.5)"},neutral:{50:"rgb(var(--color-neutral-50) / <alpha-value>)",70:"rgb(var(--color-neutral-70) / <alpha-value>)",80:"rgb(var(--color-neutral-80) / <alpha-value>)",100:"rgb(var(--color-neutral-100) / <alpha-value>)",200:"rgb(var(--color-neutral-200) / <alpha-value>)",300:"rgb(var(--color-neutral-300) / <alpha-value>)",400:"rgb(var(--color-neutral-400) / <alpha-value>)",500:"rgb(var(--color-neutral-500) / <alpha-value>)",600:"rgb(var(--color-neutral-600) / <alpha-value>)",700:"rgb(var(--color-neutral-700) / <alpha-value>)",800:"rgb(var(--color-neutral-800) / <alpha-value>)",900:"rgb(var(--color-neutral-900) / <alpha-value>)"},error:{100:"rgb(var(--color-error-100) / <alpha-value>)",300:"rgb(var(--color-error-300) / <alpha-value>)",500:"rgb(var(--color-error-500) / <alpha-value>)",700:"rgb(var(--color-error-700) / <alpha-value>)",900:"rgb(var(--color-error-900) / <alpha-value>)"},"transparent-error":{10:"rgb(var(--color-error-300) / 0.1)"},warning:{100:"#FFF9D6",300:"#FFE885",500:"#FFCF35",700:"#D69A00",900:"#5C4B22"},success:{100:"#E3FAD7",300:"#67C45E",500:"#319E31",700:"#187128",900:"#094B20"},info:{100:"#CFEBFE",300:"#71B6FA",500:"#1570EF",700:"#0A40AC",900:"#273767"},zoro:{300:"#E9F0C4",500:"#DBE3AB"},ussop:{300:"#D5E9CE",500:"#BFE4B2"},crocodile:{300:"#CDE0B9",500:"#BED5A4"},silvers:{300:"#DFF7DE",500:"#CFF4CE"},buggy:{300:"#E5F5B3",500:"#DAEF9D"},nami:{300:"#FFDBBB",500:"#FFCEA2"},shanks:{300:"#F6CFBC",500:"#FBC5A9"},piiman:{300:"#FFE3B4",500:"#FFDA9B"},sanji:{300:"#FFECCA",500:"#FFE0A9"},ace:{300:"#FFDAD3",500:"#FFC1B5"},hancock:{300:"#F6CFE6",500:"#F3B9DC"},chopper:{300:"#FFE2F8",500:"#FFCDF3"},bentham:{300:"#EDD8F0",500:"#ECCCF1"},ivankov:{300:"#F0E4FF",500:"#E6D1FF"},brook:{300:"#E2E3FF",500:"#CED0FF"},luffy:{300:"#D8E3FF",500:"#C7D7FF"},frankie:{300:"#CDF1F8",500:"#B8EEF9"},jinbe:{300:"#CDF0FF",500:"#B3E8FF"},robin:{300:"#BAD2F5",500:"#ADCDFB"},law:{300:"#CBD8F3",500:"#B0C3EA"},sunny:{800:"#4B7E12"},polartang:{600:"#C68130",800:"#A75A00"},merry:{600:"#8F3FA2",800:"#581769"},jackson:{800:"#4E6697"}},extend:{translate:{.5:"0.125rem",1.5:"0.375rem",4.5:"1.125rem",5.5:"1.375rem"},ringWidth:{3:"3px",6:"6px",12:"12px"},letterSpacing:{body:"0.32px","body-lg":"0.36px",sm:"0.28px"},margin:{.125:"0.03125rem",.25:"0.0625rem",.5:"0.125rem",1.5:"0.375rem",1.6:"0.4rem",1.75:"0.4375rem",2.5:"0.625rem",4.5:"1.125rem"},padding:{.25:"0.0625rem",.5:"0.125rem",.75:"0.1875rem",2.5:"0.625rem",3.75:"0.9375rem",4.25:"1.0625rem",4.5:"1.125rem",14:"3.5rem",20:"5rem"},gap:{1.5:"0.375rem",2.75:"0.6875rem",3.25:"0.8125rem",4.5:"1.125rem"},width:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",13:"3.25rem",14:"3.5rem",18.5:"4.625rem",29:"7.25rem",55:"13.75rem",86:"21.5rem",88:"22rem",112.5:"28.125rem",117.5:"29.375rem",187:"46.75rem",235:"58.75rem",312:"78rem"},minWidth:{4.5:"1.125rem"},minHeight:{4.5:"1.125rem",15.75:"3.9375rem",40:"10rem",160:"40rem"},maxHeight:{84:"21rem"},height:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",14:"3.5rem",15:"3.75rem",16:"4rem",18:"4.5rem",20:"5rem",22:"5.5rem"},borderWidth:{1:"1px",1.5:"1.5px",3:"3px"},borderColor:{transparent:"transparent"},inset:{1.5:"0.375rem",2.5:"0.625rem",3.875:"0.96875rem",14:"3.5rem",22:"6rem"},keyframes:{hide:{from:{opacity:"1"},to:{opacity:"0"}},slideIn:{from:{transform:"translateX(100%)"},to:{transform:"translateX(0)"}},swipeOut:{from:{transform:"translateX(0)"},to:{transform:"translateX(100%)"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"slide-down":{from:{transform:"translateY(-100%) scale(0.95)",opacity:"0"},to:{transform:"translateY(0) scale(1)",opacity:"1"}},"slide-up":{from:{transform:"translateY(0) scale(1)",opacity:"1"},to:{transform:"translateY(-100%) scale(0.95)",opacity:"0"}}},animation:{hide:"hide 100ms ease-in",slideIn:"slideIn 500ms cubic-bezier(0.16, 1, 0.3, 1)",swipeOut:"swipeOut 200ms ease-out","accordion-down":"accordion-down 300ms cubic-bezier(0.87, 0, 0.13, 1)","accordion-up":"accordion-up 300ms cubic-bezier(0.87, 0, 0.13, 1)","slide-down":"slide-down 300ms cubic-bezier(0.16, 1, 0.3, 1)","slide-up":"slide-up 300ms cubic-bezier(0.16, 1, 0.3, 1)"}}}},a=r;export{a as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sodtrack-web-ui",
3
- "version": "0.57.11",
3
+ "version": "0.58.0",
4
4
  "description": "UI components for Sodtrack Web",
5
5
  "exports": {
6
6
  "./dist/index.css": "./dist/index.css",
@@ -1 +0,0 @@
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 +0,0 @@
1
- import {a as a$1}from'./chunk-BVHU5ZT3.mjs';import {a}from'./chunk-2WINTZSS.mjs';import {forwardRef}from'react';import {cva}from'cva';import {jsxs,jsx}from'react/jsx-runtime';var S=["standard","primary"],T=["outlined","ghost","fill"],k=["xs","sm","md"],g=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}}),w=forwardRef(({children:d,variant:r,size:a$2,selected:s,onClick:c,className:f,type:y,disabled:t,StartIcon:n,EndIcon:p,duotone:e,badgeNumber:m,...u},x)=>jsxs("button",{ref:x,type:"button",disabled:t,onClick:()=>c?.(!s),className:a(g({variant:r,size:a$2,type:y,selected:s,disabled:t,duotone:e}),f),...u,children:[n&&jsx(n,{size:a$2==="md"?18:14,className:a("mr-1",!t&&r==="standard"&&e&&"text-primary-500",!t&&r==="standard"&&e&&s&&"text-primary-600",!t&&r==="primary"&&e&&"text-neutral-800")}),d,p&&jsx(p,{size:a$2==="md"?18:14,className:a("ml-1",!t&&r==="standard"&&e&&"text-primary-500",!t&&r==="standard"&&e&&s&&"text-primary-600",!t&&r==="primary"&&e&&"text-primary-800")}),m&&jsx(a$1,{content:m?String(m):void 0,className:"ml-2",size:a$2==="md"?"md":"sm"})]}));export{S as a,T as b,k as c,w as d};
@@ -1 +0,0 @@
1
- import {c as c$1}from'./chunk-WS2F7JWJ.mjs';import {a as a$1}from'./chunk-QHBCNAWO.mjs';import {c}from'./chunk-DZLL7IH6.mjs';import {d}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import {Dialog}from'@ark-ui/react/dialog';import {Portal}from'@ark-ui/react/portal';import {forwardRef,useCallback}from'react';import {jsxs,jsx}from'react/jsx-runtime';var q=({onOpenChange:a,...o})=>{let r=useCallback(t=>{a?.(t.open);},[a]);return jsx(Dialog.Root,{unmountOnExit:!0,lazyMount:!0,onOpenChange:r,...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 +0,0 @@
1
- import {a}from'./chunk-2WINTZSS.mjs';import {forwardRef}from'react';import {tv}from'tailwind-variants';import {jsxs,jsx}from'react/jsx-runtime';var k=["light","fill","outlined","ghost"],P=["xs","sm","md"],V=["p-light","p-dark","neutral","violet","sunny","disabled"],y=tv({slots:{container:"flex items-center gap-1",text:"line-clamp-1 tracking-[130%]",icon:"h-3.5 w-3.5"},variants:{color:{"p-light":"","p-dark":"",neutral:"",violet:"",sunny:"",disabled:""},variant:{light:{},fill:{},outlined:{},ghost:{}},size:{sm:{container:"h-6 rounded-2xl px-2 py-0.5",text:"text-sm"},xs:{container:"h-4.5 rounded-2xl px-2",text:"text-xs"},md:{container:"h-8 rounded-3xl px-3 py-1",text:"text-base"}}},compoundVariants:[{variant:"light",color:"p-light",className:{container:"bg-primary-200",text:"text-primary-700",icon:"text-primary-700"}},{variant:"fill",color:"p-light",className:{container:"bg-primary-500",text:"text-neutral-50",icon:"text-neutral-50"}},{variant:"outlined",color:"p-light",className:{container:"ring-1 ring-primary-500",text:"text-primary-500",icon:"text-primary-500"}},{variant:"ghost",color:"p-light",className:{text:"font-semibold text-primary-500",icon:"text-primary-500"}},{variant:"light",color:"p-dark",className:{container:"bg-primary-400",text:"text-primary-700",icon:"text-primary-700"}},{variant:"fill",color:"p-dark",className:{container:"bg-primary-600",text:"text-neutral-50",icon:"text-neutral-50"}},{variant:"outlined",color:"p-dark",className:{container:"ring-1 ring-primary-600",text:"text-primary-600",icon:"text-primary-600"}},{variant:"ghost",color:"p-dark",className:{text:"font-semibold text-primary-600",icon:"text-primary-600"}},{variant:"light",color:"neutral",className:{container:"bg-neutral-100",text:"text-neutral-700",icon:"text-neutral-700"}},{variant:"fill",color:"neutral",className:{container:"bg-neutral-600",text:"text-neutral-50",icon:"text-neutral-50"}},{variant:"outlined",color:"neutral",className:{container:"ring-1 ring-neutral-600",text:"text-neutral-600",icon:"text-neutral-600"}},{variant:"ghost",color:"neutral",className:{text:"font-semibold text-neutral-600",icon:"text-neutral-600"}},{variant:"light",color:"violet",className:{container:"bg-ivankov-300",text:"text-merry-800",icon:"text-merry-800"}},{variant:"fill",color:"violet",className:{container:"bg-merry-600",text:"text-neutral-50",icon:"text-neutral-50"}},{variant:"outlined",color:"violet",className:{container:"ring-1 ring-merry-600",text:"text-merry-600",icon:"text-merry-600"}},{variant:"ghost",color:"violet",className:{text:"font-semibold text-merry-600",icon:"text-merry-600"}},{variant:"light",color:"sunny",className:{container:"bg-sanji-300",text:"text-polartang-800",icon:"text-polartang-800"}},{variant:"fill",color:"sunny",className:{container:"bg-polartang-600",text:"text-neutral-50",icon:"text-neutral-50"}},{variant:"outlined",color:"sunny",className:{container:"ring-1 ring-polartang-600",text:"text-polartang-600",icon:"text-polartang-600"}},{variant:"ghost",color:"sunny",className:{text:"font-semibold text-polartang-600",icon:"text-polartang-600"}},{variant:"light",color:"disabled",className:{container:"bg-neutral-100",text:"text-neutral-400",icon:"text-neutral-400"}},{variant:"outlined",color:"disabled",className:{container:"ring-1 ring-neutral-400",text:"text-neutral-400",icon:"text-neutral-400"}},{variant:"ghost",color:"disabled",className:{text:"font-semibold text-neutral-400",icon:"text-neutral-400"}}]}),S=forwardRef(({children:a$1,className:n,size:o,color:i,variant:l,StartIcon:t,...c},s)=>{let{container:x,text:p,icon:m}=y({size:o,color:i,variant:l});return jsxs("div",{className:a(x(),n),ref:s,...c,children:[t&&jsx(t,{className:m()}),jsx("span",{className:p(),children:a$1})]})});export{k as a,P as b,V as c,S as d};
File without changes