next-ui-lib 0.1.20 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.umd.js CHANGED
@@ -1,7 +1,7 @@
1
- (function(v,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],p):(v=typeof globalThis<"u"?globalThis:v||self,p(v.ui={},v.jsxRuntime,v.React))})(this,(function(v,p,pe){"use strict";function Re(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const j=Re(pe),re={lightBlue:{primary:{text:"#FFFFFF",value:"#27a7e3",dark:"#1f8ecb"},secondary:{text:"#1CB0F6",value:"#E0F3FF",dark:"#B3DFFC"}},amber:{primary:{text:"#936E00",value:"#FFC107",dark:"#D39E00"},secondary:{text:"#936E00",value:"#FFE082",dark:"#FFCA28"}},cyan:{primary:{text:"#FFFFFF",value:"#00BCD4",dark:"#0097A7"},secondary:{text:"#00BCD4",value:"#B2EBF2",dark:"#80DEEA"}}},Ue={Gray:{value:"#F1F1F1"}},oe=({color:e="lightBlue",onClick:t,label:r,size:o="medium",variant:n="primary",customClass:c=""})=>{const l={small:"px-2 py-1 text-xs rounded-lg",medium:"px-3 py-1 text-base rounded-xl",large:"px-8 py-3 text-2xl rounded-2xl",full:"px-8 py-2 text-xl rounded-2xl w-full"},f=re[e];return p.jsx("button",{className:`relative flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${l[o]} ${c}`,style:{backgroundColor:n=="primary"?f.primary.value:f.secondary.value,boxShadow:`0 ${o==="large"?"6px":"4px"} 0 ${n=="primary"?f.primary.dark:f.secondary.dark}`,color:n=="primary"?f.primary.text:f.secondary.text},onMouseDown:m=>{m.currentTarget.style.boxShadow="none"},onMouseUp:m=>{m.currentTarget.style.boxShadow=`0 4px 0 ${n=="primary"?f.primary.dark:f.secondary.dark}`},onClick:t,children:p.jsx("span",{className:"font-bold",children:r})})};function ue(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=ue(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function qe(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=ue(e))&&(o&&(o+=" "),o+=t);return o}const te="-",He=e=>{const t=Xe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{const f=l.split(te);return f[0]===""&&f.length!==1&&f.shift(),fe(f,t)||Je(l)},getConflictingClassGroupIds:(l,f)=>{const m=r[l]||[];return f&&o[l]?[...m,...o[l]]:m}}},fe=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),n=o?fe(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;const c=e.join(te);return t.validators.find(({validator:l})=>l(c))?.classGroupId},ge=/^\[(.+)\]$/,Je=e=>{if(ge.test(e)){const t=ge.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Xe=e=>{const{theme:t,classGroups:r}=e,o={nextPart:new Map,validators:[]};for(const n in r)se(r[n],o,n,t);return o},se=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){const c=n===""?t:be(t,n);c.classGroupId=r;return}if(typeof n=="function"){if(Ke(n)){se(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([c,l])=>{se(l,be(t,c),r,o)})})},be=(e,t)=>{let r=e;return t.split(te).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ke=e=>e.isThemeGetter,Qe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const n=(c,l)=>{r.set(c,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(c){let l=r.get(c);if(l!==void 0)return l;if((l=o.get(c))!==void 0)return n(c,l),l},set(c,l){r.has(c)?r.set(c,l):n(c,l)}}},ae="!",ne=":",Ye=ne.length,Ze=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=n=>{const c=[];let l=0,f=0,m=0,b;for(let k=0;k<n.length;k++){let z=n[k];if(l===0&&f===0){if(z===ne){c.push(n.slice(m,k)),m=k+Ye;continue}if(z==="/"){b=k;continue}}z==="["?l++:z==="]"?l--:z==="("?f++:z===")"&&f--}const h=c.length===0?n:n.substring(m),C=er(h),I=C!==h,A=b&&b>m?b-m:void 0;return{modifiers:c,hasImportantModifier:I,baseClassName:C,maybePostfixModifierPosition:A}};if(t){const n=t+ne,c=o;o=l=>l.startsWith(n)?c(l.substring(n.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(r){const n=o;o=c=>r({className:c,parseClassName:n})}return o},er=e=>e.endsWith(ae)?e.substring(0,e.length-1):e.startsWith(ae)?e.substring(1):e,rr=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const n=[];let c=[];return o.forEach(l=>{l[0]==="["||t[l]?(n.push(...c.sort(),l),c=[]):c.push(l)}),n.push(...c.sort()),n}},or=e=>({cache:Qe(e.cacheSize),parseClassName:Ze(e),sortModifiers:rr(e),...He(e)}),tr=/\s+/,sr=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:c}=t,l=[],f=e.trim().split(tr);let m="";for(let b=f.length-1;b>=0;b-=1){const h=f[b],{isExternal:C,modifiers:I,hasImportantModifier:A,baseClassName:k,maybePostfixModifierPosition:z}=r(h);if(C){m=h+(m.length>0?" "+m:m);continue}let V=!!z,T=o(V?k.substring(0,z):k);if(!T){if(!V){m=h+(m.length>0?" "+m:m);continue}if(T=o(k),!T){m=h+(m.length>0?" "+m:m);continue}V=!1}const X=c(I).join(":"),U=A?X+ae:X,_=U+T;if(l.includes(_))continue;l.push(_);const D=n(T,V);for(let G=0;G<D.length;++G){const q=D[G];l.push(U+q)}m=h+(m.length>0?" "+m:m)}return m};function ar(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=he(t))&&(o&&(o+=" "),o+=r);return o}const he=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=he(e[o]))&&(r&&(r+=" "),r+=t);return r};function nr(e,...t){let r,o,n,c=l;function l(m){const b=t.reduce((h,C)=>C(h),e());return r=or(b),o=r.cache.get,n=r.cache.set,c=f,f(m)}function f(m){const b=o(m);if(b)return b;const h=sr(m,r);return n(m,h),h}return function(){return c(ar.apply(null,arguments))}}const g=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},xe=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ye=/^\((?:(\w[\w-]*):)?(.+)\)$/i,lr=/^\d+\/\d+$/,ir=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,cr=/\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$/,dr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,mr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>lr.test(e),u=e=>!!e&&!Number.isNaN(Number(e)),F=e=>!!e&&Number.isInteger(Number(e)),le=e=>e.endsWith("%")&&u(e.slice(0,-1)),N=e=>ir.test(e),ur=()=>!0,fr=e=>cr.test(e)&&!dr.test(e),we=()=>!1,gr=e=>mr.test(e),br=e=>pr.test(e),hr=e=>!s(e)&&!a(e),xr=e=>$(e,Ne,we),s=e=>xe.test(e),P=e=>$(e,Se,fr),ie=e=>$(e,Cr,u),ke=e=>$(e,Ce,we),yr=e=>$(e,ze,br),H=e=>$(e,Me,gr),a=e=>ye.test(e),R=e=>O(e,Se),wr=e=>O(e,zr),ve=e=>O(e,Ce),kr=e=>O(e,Ne),vr=e=>O(e,ze),J=e=>O(e,Me,!0),$=(e,t,r)=>{const o=xe.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},O=(e,t,r=!1)=>{const o=ye.exec(e);return o?o[1]?t(o[1]):r:!1},Ce=e=>e==="position"||e==="percentage",ze=e=>e==="image"||e==="url",Ne=e=>e==="length"||e==="size"||e==="bg-size",Se=e=>e==="length",Cr=e=>e==="number",zr=e=>e==="family-name",Me=e=>e==="shadow",Nr=nr(()=>{const e=g("color"),t=g("font"),r=g("text"),o=g("font-weight"),n=g("tracking"),c=g("leading"),l=g("breakpoint"),f=g("container"),m=g("spacing"),b=g("radius"),h=g("shadow"),C=g("inset-shadow"),I=g("text-shadow"),A=g("drop-shadow"),k=g("blur"),z=g("perspective"),V=g("aspect"),T=g("ease"),X=g("animate"),U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[..._(),a,s],G=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto","contain","none"],d=()=>[a,s,m],S=()=>[E,"full","auto",...d()],Ee=()=>[F,"none","subgrid",a,s],$e=()=>["auto",{span:["full",F,a,s]},F,a,s],K=()=>[F,"auto",a,s],Oe=()=>["auto","min","max","fr",a,s],ce=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...d()],B=()=>[E,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...d()],i=()=>[e,a,s],Le=()=>[..._(),ve,ke,{position:[a,s]}],Ve=()=>["no-repeat",{repeat:["","x","y","space","round"]}],_e=()=>["auto","cover","contain",kr,xr,{size:[a,s]}],de=()=>[le,R,P],y=()=>["","none","full",b,a,s],w=()=>["",u,R,P],Q=()=>["solid","dashed","dotted","double"],De=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],x=()=>[u,le,ve,ke],We=()=>["","none",k,a,s],Y=()=>["none",u,a,s],Z=()=>["none",u,a,s],me=()=>[u,a,s],ee=()=>[E,"full",...d()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[N],breakpoint:[N],color:[ur],container:[N],"drop-shadow":[N],ease:["in","out","in-out"],font:[hr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[N],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[N],shadow:[N],spacing:["px",u],text:[N],"text-shadow":[N],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",E,s,a,V]}],container:["container"],columns:[{columns:[u,s,a,f]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:D()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{start:S()}],end:[{end:S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[F,"auto",a,s]}],basis:[{basis:[E,"full","auto",f,...d()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[u,E,"auto","initial","none",s]}],grow:[{grow:["",u,a,s]}],shrink:[{shrink:["",u,a,s]}],order:[{order:[F,"first","last","none",a,s]}],"grid-cols":[{"grid-cols":Ee()}],"col-start-end":[{col:$e()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":Ee()}],"row-start-end":[{row:$e()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Oe()}],"auto-rows":[{"auto-rows":Oe()}],gap:[{gap:d()}],"gap-x":[{"gap-x":d()}],"gap-y":[{"gap-y":d()}],"justify-content":[{justify:[...ce(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...ce()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":ce()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:d()}],px:[{px:d()}],py:[{py:d()}],ps:[{ps:d()}],pe:[{pe:d()}],pt:[{pt:d()}],pr:[{pr:d()}],pb:[{pb:d()}],pl:[{pl:d()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":d()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":d()}],"space-y-reverse":["space-y-reverse"],size:[{size:B()}],w:[{w:[f,"screen",...B()]}],"min-w":[{"min-w":[f,"screen","none",...B()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[l]},...B()]}],h:[{h:["screen","lh",...B()]}],"min-h":[{"min-h":["screen","lh","none",...B()]}],"max-h":[{"max-h":["screen","lh",...B()]}],"font-size":[{text:["base",r,R,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,a,ie]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",le,s]}],"font-family":[{font:[wr,s,t]}],"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:[n,a,s]}],"line-clamp":[{"line-clamp":[u,"none",a,ie]}],leading:[{leading:[c,...d()]}],"list-image":[{"list-image":["none",a,s]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",a,s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:i()}],"text-color":[{text:i()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:[u,"from-font","auto",a,P]}],"text-decoration-color":[{decoration:i()}],"underline-offset":[{"underline-offset":[u,"auto",a,s]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",a,s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",a,s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Le()}],"bg-repeat":[{bg:Ve()}],"bg-size":[{bg:_e()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},F,a,s],radial:["",a,s],conic:[F,a,s]},vr,yr]}],"bg-color":[{bg:i()}],"gradient-from-pos":[{from:de()}],"gradient-via-pos":[{via:de()}],"gradient-to-pos":[{to:de()}],"gradient-from":[{from:i()}],"gradient-via":[{via:i()}],"gradient-to":[{to:i()}],rounded:[{rounded:y()}],"rounded-s":[{"rounded-s":y()}],"rounded-e":[{"rounded-e":y()}],"rounded-t":[{"rounded-t":y()}],"rounded-r":[{"rounded-r":y()}],"rounded-b":[{"rounded-b":y()}],"rounded-l":[{"rounded-l":y()}],"rounded-ss":[{"rounded-ss":y()}],"rounded-se":[{"rounded-se":y()}],"rounded-ee":[{"rounded-ee":y()}],"rounded-es":[{"rounded-es":y()}],"rounded-tl":[{"rounded-tl":y()}],"rounded-tr":[{"rounded-tr":y()}],"rounded-br":[{"rounded-br":y()}],"rounded-bl":[{"rounded-bl":y()}],"border-w":[{border:w()}],"border-w-x":[{"border-x":w()}],"border-w-y":[{"border-y":w()}],"border-w-s":[{"border-s":w()}],"border-w-e":[{"border-e":w()}],"border-w-t":[{"border-t":w()}],"border-w-r":[{"border-r":w()}],"border-w-b":[{"border-b":w()}],"border-w-l":[{"border-l":w()}],"divide-x":[{"divide-x":w()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":w()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Q(),"hidden","none"]}],"divide-style":[{divide:[...Q(),"hidden","none"]}],"border-color":[{border:i()}],"border-color-x":[{"border-x":i()}],"border-color-y":[{"border-y":i()}],"border-color-s":[{"border-s":i()}],"border-color-e":[{"border-e":i()}],"border-color-t":[{"border-t":i()}],"border-color-r":[{"border-r":i()}],"border-color-b":[{"border-b":i()}],"border-color-l":[{"border-l":i()}],"divide-color":[{divide:i()}],"outline-style":[{outline:[...Q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[u,a,s]}],"outline-w":[{outline:["",u,R,P]}],"outline-color":[{outline:i()}],shadow:[{shadow:["","none",h,J,H]}],"shadow-color":[{shadow:i()}],"inset-shadow":[{"inset-shadow":["none",C,J,H]}],"inset-shadow-color":[{"inset-shadow":i()}],"ring-w":[{ring:w()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:i()}],"ring-offset-w":[{"ring-offset":[u,P]}],"ring-offset-color":[{"ring-offset":i()}],"inset-ring-w":[{"inset-ring":w()}],"inset-ring-color":[{"inset-ring":i()}],"text-shadow":[{"text-shadow":["none",I,J,H]}],"text-shadow-color":[{"text-shadow":i()}],opacity:[{opacity:[u,a,s]}],"mix-blend":[{"mix-blend":[...De(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":De()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[u]}],"mask-image-linear-from-pos":[{"mask-linear-from":x()}],"mask-image-linear-to-pos":[{"mask-linear-to":x()}],"mask-image-linear-from-color":[{"mask-linear-from":i()}],"mask-image-linear-to-color":[{"mask-linear-to":i()}],"mask-image-t-from-pos":[{"mask-t-from":x()}],"mask-image-t-to-pos":[{"mask-t-to":x()}],"mask-image-t-from-color":[{"mask-t-from":i()}],"mask-image-t-to-color":[{"mask-t-to":i()}],"mask-image-r-from-pos":[{"mask-r-from":x()}],"mask-image-r-to-pos":[{"mask-r-to":x()}],"mask-image-r-from-color":[{"mask-r-from":i()}],"mask-image-r-to-color":[{"mask-r-to":i()}],"mask-image-b-from-pos":[{"mask-b-from":x()}],"mask-image-b-to-pos":[{"mask-b-to":x()}],"mask-image-b-from-color":[{"mask-b-from":i()}],"mask-image-b-to-color":[{"mask-b-to":i()}],"mask-image-l-from-pos":[{"mask-l-from":x()}],"mask-image-l-to-pos":[{"mask-l-to":x()}],"mask-image-l-from-color":[{"mask-l-from":i()}],"mask-image-l-to-color":[{"mask-l-to":i()}],"mask-image-x-from-pos":[{"mask-x-from":x()}],"mask-image-x-to-pos":[{"mask-x-to":x()}],"mask-image-x-from-color":[{"mask-x-from":i()}],"mask-image-x-to-color":[{"mask-x-to":i()}],"mask-image-y-from-pos":[{"mask-y-from":x()}],"mask-image-y-to-pos":[{"mask-y-to":x()}],"mask-image-y-from-color":[{"mask-y-from":i()}],"mask-image-y-to-color":[{"mask-y-to":i()}],"mask-image-radial":[{"mask-radial":[a,s]}],"mask-image-radial-from-pos":[{"mask-radial-from":x()}],"mask-image-radial-to-pos":[{"mask-radial-to":x()}],"mask-image-radial-from-color":[{"mask-radial-from":i()}],"mask-image-radial-to-color":[{"mask-radial-to":i()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":_()}],"mask-image-conic-pos":[{"mask-conic":[u]}],"mask-image-conic-from-pos":[{"mask-conic-from":x()}],"mask-image-conic-to-pos":[{"mask-conic-to":x()}],"mask-image-conic-from-color":[{"mask-conic-from":i()}],"mask-image-conic-to-color":[{"mask-conic-to":i()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Le()}],"mask-repeat":[{mask:Ve()}],"mask-size":[{mask:_e()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",a,s]}],filter:[{filter:["","none",a,s]}],blur:[{blur:We()}],brightness:[{brightness:[u,a,s]}],contrast:[{contrast:[u,a,s]}],"drop-shadow":[{"drop-shadow":["","none",A,J,H]}],"drop-shadow-color":[{"drop-shadow":i()}],grayscale:[{grayscale:["",u,a,s]}],"hue-rotate":[{"hue-rotate":[u,a,s]}],invert:[{invert:["",u,a,s]}],saturate:[{saturate:[u,a,s]}],sepia:[{sepia:["",u,a,s]}],"backdrop-filter":[{"backdrop-filter":["","none",a,s]}],"backdrop-blur":[{"backdrop-blur":We()}],"backdrop-brightness":[{"backdrop-brightness":[u,a,s]}],"backdrop-contrast":[{"backdrop-contrast":[u,a,s]}],"backdrop-grayscale":[{"backdrop-grayscale":["",u,a,s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u,a,s]}],"backdrop-invert":[{"backdrop-invert":["",u,a,s]}],"backdrop-opacity":[{"backdrop-opacity":[u,a,s]}],"backdrop-saturate":[{"backdrop-saturate":[u,a,s]}],"backdrop-sepia":[{"backdrop-sepia":["",u,a,s]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":d()}],"border-spacing-x":[{"border-spacing-x":d()}],"border-spacing-y":[{"border-spacing-y":d()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",a,s]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[u,"initial",a,s]}],ease:[{ease:["linear","initial",T,a,s]}],delay:[{delay:[u,a,s]}],animate:[{animate:["none",X,a,s]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[z,a,s]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:Y()}],"rotate-x":[{"rotate-x":Y()}],"rotate-y":[{"rotate-y":Y()}],"rotate-z":[{"rotate-z":Y()}],scale:[{scale:Z()}],"scale-x":[{"scale-x":Z()}],"scale-y":[{"scale-y":Z()}],"scale-z":[{"scale-z":Z()}],"scale-3d":["scale-3d"],skew:[{skew:me()}],"skew-x":[{"skew-x":me()}],"skew-y":[{"skew-y":me()}],transform:[{transform:[a,s,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ee()}],"translate-x":[{"translate-x":ee()}],"translate-y":[{"translate-y":ee()}],"translate-z":[{"translate-z":ee()}],"translate-none":["translate-none"],accent:[{accent:i()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:i()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",a,s]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",a,s]}],fill:[{fill:["none",...i()]}],"stroke-w":[{stroke:[u,R,P,ie]}],stroke:[{stroke:["none",...i()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function L(...e){return Nr(qe(e))}const Fe=j.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Fe.displayName="Card";const Ae=j.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("flex",e),...t}));Ae.displayName="CardHeader";const Pe=j.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("font-semibold leading-none tracking-tight",e),...t}));Pe.displayName="CardTitle";const Ie=j.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("text-sm text-muted-foreground",e),...t}));Ie.displayName="CardDescription";const Te=j.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("pt-0",e),...t}));Te.displayName="CardContent";const Ge=j.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("flex items-center pt-0",e),...t}));Ge.displayName="CardFooter";const Be=({color:e="amber",onClick:t,customClass:r="",iconSrc:o})=>{const n=re[e];return p.jsx("button",{className:`w-12 h-12 rounded-lg flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${r}`,onClick:t,style:{backgroundColor:n.primary.value,boxShadow:`0 4px 0 ${n.primary.dark}`},children:p.jsx("span",{className:"text-2xl",children:p.jsx("img",{style:{maxWidth:"1.2em",maxHeight:"1.2em",display:"inline-block"},src:o})})})},je=({title:e,description:t,children:r,iconSrc:o,customClass:n="",button:c=!1,buttonLabel:l="Button",buttonPosition:f="top-right",bgIconColor:m="lightBlue",buttonColor:b="lightBlue",buttonVariant:h="primary",buttonSize:C="medium",onButtonClick:I})=>{const A=I??(()=>{});return p.jsxs(Fe,{className:`
1
+ (function(v,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],p):(v=typeof globalThis<"u"?globalThis:v||self,p(v.ui={},v.jsxRuntime,v.React))})(this,(function(v,p,me){"use strict";function Re(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const G=Re(me),Ue={lightBlue:{primary:{text:"#FFFFFF",value:"#27a7e3",dark:"#1f8ecb"},secondary:{text:"#1CB0F6",value:"#E0F3FF",dark:"#B3DFFC"}},amber:{primary:{text:"#936E00",value:"#FFC107",dark:"#D39E00"},secondary:{text:"#936E00",value:"#FFE082",dark:"#FFCA28"}},cyan:{primary:{text:"#FFFFFF",value:"#00BCD4",dark:"#0097A7"},secondary:{text:"#00BCD4",value:"#B2EBF2",dark:"#80DEEA"}}},pe={red:{value:"#FF5733",dark:"#C74422"},amber:{text:"#936E00",value:"#FFC107",dark:"#D39E00"},green:{value:"#79C70B",dark:"#619F08"},blue:{value:"#2196F3",dark:"#1976D2"},purple:{value:"#9C27B0",dark:"#7B1FA2"},orange:{value:"#FF9800",dark:"#E68900"},pink:{text:"#FFFFFF",value:"#E91E63",dark:"#C2185B"},cyan:{text:"#FFFFFF",value:"#00BCD4",dark:"#0097A7"}},qe={Gray:{value:"#F1F1F1"}},re=({color:e="lightBlue",onClick:t,label:r,size:o="medium",variant:n="primary",customClass:c=""})=>{const l={small:"px-2 py-1 text-xs rounded-lg",medium:"px-3 py-1 text-base rounded-xl",large:"px-8 py-3 text-2xl rounded-2xl",full:"px-8 py-2 text-xl rounded-2xl w-full"},f=Ue[e];return p.jsx("button",{className:`relative flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${l[o]} ${c}`,style:{backgroundColor:n=="primary"?f.primary.value:f.secondary.value,boxShadow:`0 ${o==="large"?"6px":"4px"} 0 ${n=="primary"?f.primary.dark:f.secondary.dark}`,color:n=="primary"?f.primary.text:f.secondary.text},onMouseDown:m=>{m.currentTarget.style.boxShadow="none"},onMouseUp:m=>{m.currentTarget.style.boxShadow=`0 4px 0 ${n=="primary"?f.primary.dark:f.secondary.dark}`},onClick:t,children:p.jsx("span",{className:"font-bold",children:r})})};function ue(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=ue(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function He(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=ue(e))&&(o&&(o+=" "),o+=t);return o}const oe="-",Je=e=>{const t=Ke(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{const f=l.split(oe);return f[0]===""&&f.length!==1&&f.shift(),fe(f,t)||Xe(l)},getConflictingClassGroupIds:(l,f)=>{const m=r[l]||[];return f&&o[l]?[...m,...o[l]]:m}}},fe=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),n=o?fe(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;const c=e.join(oe);return t.validators.find(({validator:l})=>l(c))?.classGroupId},ge=/^\[(.+)\]$/,Xe=e=>{if(ge.test(e)){const t=ge.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ke=e=>{const{theme:t,classGroups:r}=e,o={nextPart:new Map,validators:[]};for(const n in r)te(r[n],o,n,t);return o},te=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){const c=n===""?t:be(t,n);c.classGroupId=r;return}if(typeof n=="function"){if(Qe(n)){te(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([c,l])=>{te(l,be(t,c),r,o)})})},be=(e,t)=>{let r=e;return t.split(oe).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Qe=e=>e.isThemeGetter,Ye=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const n=(c,l)=>{r.set(c,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(c){let l=r.get(c);if(l!==void 0)return l;if((l=o.get(c))!==void 0)return n(c,l),l},set(c,l){r.has(c)?r.set(c,l):n(c,l)}}},se="!",ae=":",Ze=ae.length,er=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=n=>{const c=[];let l=0,f=0,m=0,b;for(let k=0;k<n.length;k++){let F=n[k];if(l===0&&f===0){if(F===ae){c.push(n.slice(m,k)),m=k+Ze;continue}if(F==="/"){b=k;continue}}F==="["?l++:F==="]"?l--:F==="("?f++:F===")"&&f--}const h=c.length===0?n:n.substring(m),C=rr(h),I=C!==h,A=b&&b>m?b-m:void 0;return{modifiers:c,hasImportantModifier:I,baseClassName:C,maybePostfixModifierPosition:A}};if(t){const n=t+ae,c=o;o=l=>l.startsWith(n)?c(l.substring(n.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(r){const n=o;o=c=>r({className:c,parseClassName:n})}return o},rr=e=>e.endsWith(se)?e.substring(0,e.length-1):e.startsWith(se)?e.substring(1):e,or=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const n=[];let c=[];return o.forEach(l=>{l[0]==="["||t[l]?(n.push(...c.sort(),l),c=[]):c.push(l)}),n.push(...c.sort()),n}},tr=e=>({cache:Ye(e.cacheSize),parseClassName:er(e),sortModifiers:or(e),...Je(e)}),sr=/\s+/,ar=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:c}=t,l=[],f=e.trim().split(sr);let m="";for(let b=f.length-1;b>=0;b-=1){const h=f[b],{isExternal:C,modifiers:I,hasImportantModifier:A,baseClassName:k,maybePostfixModifierPosition:F}=r(h);if(C){m=h+(m.length>0?" "+m:m);continue}let D=!!F,E=o(D?k.substring(0,F):k);if(!E){if(!D){m=h+(m.length>0?" "+m:m);continue}if(E=o(k),!E){m=h+(m.length>0?" "+m:m);continue}D=!1}const X=c(I).join(":"),U=A?X+se:X,V=U+E;if(l.includes(V))continue;l.push(V);const _=n(E,D);for(let T=0;T<_.length;++T){const q=_[T];l.push(U+q)}m=h+(m.length>0?" "+m:m)}return m};function nr(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=he(t))&&(o&&(o+=" "),o+=r);return o}const he=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=he(e[o]))&&(r&&(r+=" "),r+=t);return r};function lr(e,...t){let r,o,n,c=l;function l(m){const b=t.reduce((h,C)=>C(h),e());return r=tr(b),o=r.cache.get,n=r.cache.set,c=f,f(m)}function f(m){const b=o(m);if(b)return b;const h=ar(m,r);return n(m,h),h}return function(){return c(nr.apply(null,arguments))}}const g=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},xe=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ye=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ir=/^\d+\/\d+$/,cr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dr=/\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$/,mr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ur=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=e=>ir.test(e),u=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),ne=e=>e.endsWith("%")&&u(e.slice(0,-1)),z=e=>cr.test(e),fr=()=>!0,gr=e=>dr.test(e)&&!mr.test(e),we=()=>!1,br=e=>pr.test(e),hr=e=>ur.test(e),xr=e=>!s(e)&&!a(e),yr=e=>$(e,ze,we),s=e=>xe.test(e),P=e=>$(e,Ne,gr),le=e=>$(e,Fr,u),ke=e=>$(e,Ce,we),wr=e=>$(e,Fe,hr),H=e=>$(e,Se,br),a=e=>ye.test(e),R=e=>O(e,Ne),kr=e=>O(e,zr),ve=e=>O(e,Ce),vr=e=>O(e,ze),Cr=e=>O(e,Fe),J=e=>O(e,Se,!0),$=(e,t,r)=>{const o=xe.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},O=(e,t,r=!1)=>{const o=ye.exec(e);return o?o[1]?t(o[1]):r:!1},Ce=e=>e==="position"||e==="percentage",Fe=e=>e==="image"||e==="url",ze=e=>e==="length"||e==="size"||e==="bg-size",Ne=e=>e==="length",Fr=e=>e==="number",zr=e=>e==="family-name",Se=e=>e==="shadow",Nr=lr(()=>{const e=g("color"),t=g("font"),r=g("text"),o=g("font-weight"),n=g("tracking"),c=g("leading"),l=g("breakpoint"),f=g("container"),m=g("spacing"),b=g("radius"),h=g("shadow"),C=g("inset-shadow"),I=g("text-shadow"),A=g("drop-shadow"),k=g("blur"),F=g("perspective"),D=g("aspect"),E=g("ease"),X=g("animate"),U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],_=()=>[...V(),a,s],T=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto","contain","none"],d=()=>[a,s,m],N=()=>[j,"full","auto",...d()],je=()=>[M,"none","subgrid",a,s],$e=()=>["auto",{span:["full",M,a,s]},M,a,s],K=()=>[M,"auto",a,s],Oe=()=>["auto","min","max","fr",a,s],ie=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],S=()=>["auto",...d()],B=()=>[j,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...d()],i=()=>[e,a,s],Le=()=>[...V(),ve,ke,{position:[a,s]}],De=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Ve=()=>["auto","cover","contain",vr,yr,{size:[a,s]}],ce=()=>[ne,R,P],y=()=>["","none","full",b,a,s],w=()=>["",u,R,P],Q=()=>["solid","dashed","dotted","double"],_e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],x=()=>[u,ne,ve,ke],We=()=>["","none",k,a,s],Y=()=>["none",u,a,s],Z=()=>["none",u,a,s],de=()=>[u,a,s],ee=()=>[j,"full",...d()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[z],breakpoint:[z],color:[fr],container:[z],"drop-shadow":[z],ease:["in","out","in-out"],font:[xr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[z],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[z],shadow:[z],spacing:["px",u],text:[z],"text-shadow":[z],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",j,s,a,D]}],container:["container"],columns:[{columns:[u,s,a,f]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:_()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:N()}],"inset-x":[{"inset-x":N()}],"inset-y":[{"inset-y":N()}],start:[{start:N()}],end:[{end:N()}],top:[{top:N()}],right:[{right:N()}],bottom:[{bottom:N()}],left:[{left:N()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",a,s]}],basis:[{basis:[j,"full","auto",f,...d()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[u,j,"auto","initial","none",s]}],grow:[{grow:["",u,a,s]}],shrink:[{shrink:["",u,a,s]}],order:[{order:[M,"first","last","none",a,s]}],"grid-cols":[{"grid-cols":je()}],"col-start-end":[{col:$e()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":je()}],"row-start-end":[{row:$e()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Oe()}],"auto-rows":[{"auto-rows":Oe()}],gap:[{gap:d()}],"gap-x":[{"gap-x":d()}],"gap-y":[{"gap-y":d()}],"justify-content":[{justify:[...ie(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...ie()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:d()}],px:[{px:d()}],py:[{py:d()}],ps:[{ps:d()}],pe:[{pe:d()}],pt:[{pt:d()}],pr:[{pr:d()}],pb:[{pb:d()}],pl:[{pl:d()}],m:[{m:S()}],mx:[{mx:S()}],my:[{my:S()}],ms:[{ms:S()}],me:[{me:S()}],mt:[{mt:S()}],mr:[{mr:S()}],mb:[{mb:S()}],ml:[{ml:S()}],"space-x":[{"space-x":d()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":d()}],"space-y-reverse":["space-y-reverse"],size:[{size:B()}],w:[{w:[f,"screen",...B()]}],"min-w":[{"min-w":[f,"screen","none",...B()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[l]},...B()]}],h:[{h:["screen","lh",...B()]}],"min-h":[{"min-h":["screen","lh","none",...B()]}],"max-h":[{"max-h":["screen","lh",...B()]}],"font-size":[{text:["base",r,R,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,a,le]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ne,s]}],"font-family":[{font:[kr,s,t]}],"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:[n,a,s]}],"line-clamp":[{"line-clamp":[u,"none",a,le]}],leading:[{leading:[c,...d()]}],"list-image":[{"list-image":["none",a,s]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",a,s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:i()}],"text-color":[{text:i()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:[u,"from-font","auto",a,P]}],"text-decoration-color":[{decoration:i()}],"underline-offset":[{"underline-offset":[u,"auto",a,s]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",a,s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",a,s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Le()}],"bg-repeat":[{bg:De()}],"bg-size":[{bg:Ve()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,a,s],radial:["",a,s],conic:[M,a,s]},Cr,wr]}],"bg-color":[{bg:i()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:i()}],"gradient-via":[{via:i()}],"gradient-to":[{to:i()}],rounded:[{rounded:y()}],"rounded-s":[{"rounded-s":y()}],"rounded-e":[{"rounded-e":y()}],"rounded-t":[{"rounded-t":y()}],"rounded-r":[{"rounded-r":y()}],"rounded-b":[{"rounded-b":y()}],"rounded-l":[{"rounded-l":y()}],"rounded-ss":[{"rounded-ss":y()}],"rounded-se":[{"rounded-se":y()}],"rounded-ee":[{"rounded-ee":y()}],"rounded-es":[{"rounded-es":y()}],"rounded-tl":[{"rounded-tl":y()}],"rounded-tr":[{"rounded-tr":y()}],"rounded-br":[{"rounded-br":y()}],"rounded-bl":[{"rounded-bl":y()}],"border-w":[{border:w()}],"border-w-x":[{"border-x":w()}],"border-w-y":[{"border-y":w()}],"border-w-s":[{"border-s":w()}],"border-w-e":[{"border-e":w()}],"border-w-t":[{"border-t":w()}],"border-w-r":[{"border-r":w()}],"border-w-b":[{"border-b":w()}],"border-w-l":[{"border-l":w()}],"divide-x":[{"divide-x":w()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":w()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Q(),"hidden","none"]}],"divide-style":[{divide:[...Q(),"hidden","none"]}],"border-color":[{border:i()}],"border-color-x":[{"border-x":i()}],"border-color-y":[{"border-y":i()}],"border-color-s":[{"border-s":i()}],"border-color-e":[{"border-e":i()}],"border-color-t":[{"border-t":i()}],"border-color-r":[{"border-r":i()}],"border-color-b":[{"border-b":i()}],"border-color-l":[{"border-l":i()}],"divide-color":[{divide:i()}],"outline-style":[{outline:[...Q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[u,a,s]}],"outline-w":[{outline:["",u,R,P]}],"outline-color":[{outline:i()}],shadow:[{shadow:["","none",h,J,H]}],"shadow-color":[{shadow:i()}],"inset-shadow":[{"inset-shadow":["none",C,J,H]}],"inset-shadow-color":[{"inset-shadow":i()}],"ring-w":[{ring:w()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:i()}],"ring-offset-w":[{"ring-offset":[u,P]}],"ring-offset-color":[{"ring-offset":i()}],"inset-ring-w":[{"inset-ring":w()}],"inset-ring-color":[{"inset-ring":i()}],"text-shadow":[{"text-shadow":["none",I,J,H]}],"text-shadow-color":[{"text-shadow":i()}],opacity:[{opacity:[u,a,s]}],"mix-blend":[{"mix-blend":[..._e(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":_e()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[u]}],"mask-image-linear-from-pos":[{"mask-linear-from":x()}],"mask-image-linear-to-pos":[{"mask-linear-to":x()}],"mask-image-linear-from-color":[{"mask-linear-from":i()}],"mask-image-linear-to-color":[{"mask-linear-to":i()}],"mask-image-t-from-pos":[{"mask-t-from":x()}],"mask-image-t-to-pos":[{"mask-t-to":x()}],"mask-image-t-from-color":[{"mask-t-from":i()}],"mask-image-t-to-color":[{"mask-t-to":i()}],"mask-image-r-from-pos":[{"mask-r-from":x()}],"mask-image-r-to-pos":[{"mask-r-to":x()}],"mask-image-r-from-color":[{"mask-r-from":i()}],"mask-image-r-to-color":[{"mask-r-to":i()}],"mask-image-b-from-pos":[{"mask-b-from":x()}],"mask-image-b-to-pos":[{"mask-b-to":x()}],"mask-image-b-from-color":[{"mask-b-from":i()}],"mask-image-b-to-color":[{"mask-b-to":i()}],"mask-image-l-from-pos":[{"mask-l-from":x()}],"mask-image-l-to-pos":[{"mask-l-to":x()}],"mask-image-l-from-color":[{"mask-l-from":i()}],"mask-image-l-to-color":[{"mask-l-to":i()}],"mask-image-x-from-pos":[{"mask-x-from":x()}],"mask-image-x-to-pos":[{"mask-x-to":x()}],"mask-image-x-from-color":[{"mask-x-from":i()}],"mask-image-x-to-color":[{"mask-x-to":i()}],"mask-image-y-from-pos":[{"mask-y-from":x()}],"mask-image-y-to-pos":[{"mask-y-to":x()}],"mask-image-y-from-color":[{"mask-y-from":i()}],"mask-image-y-to-color":[{"mask-y-to":i()}],"mask-image-radial":[{"mask-radial":[a,s]}],"mask-image-radial-from-pos":[{"mask-radial-from":x()}],"mask-image-radial-to-pos":[{"mask-radial-to":x()}],"mask-image-radial-from-color":[{"mask-radial-from":i()}],"mask-image-radial-to-color":[{"mask-radial-to":i()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[u]}],"mask-image-conic-from-pos":[{"mask-conic-from":x()}],"mask-image-conic-to-pos":[{"mask-conic-to":x()}],"mask-image-conic-from-color":[{"mask-conic-from":i()}],"mask-image-conic-to-color":[{"mask-conic-to":i()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Le()}],"mask-repeat":[{mask:De()}],"mask-size":[{mask:Ve()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",a,s]}],filter:[{filter:["","none",a,s]}],blur:[{blur:We()}],brightness:[{brightness:[u,a,s]}],contrast:[{contrast:[u,a,s]}],"drop-shadow":[{"drop-shadow":["","none",A,J,H]}],"drop-shadow-color":[{"drop-shadow":i()}],grayscale:[{grayscale:["",u,a,s]}],"hue-rotate":[{"hue-rotate":[u,a,s]}],invert:[{invert:["",u,a,s]}],saturate:[{saturate:[u,a,s]}],sepia:[{sepia:["",u,a,s]}],"backdrop-filter":[{"backdrop-filter":["","none",a,s]}],"backdrop-blur":[{"backdrop-blur":We()}],"backdrop-brightness":[{"backdrop-brightness":[u,a,s]}],"backdrop-contrast":[{"backdrop-contrast":[u,a,s]}],"backdrop-grayscale":[{"backdrop-grayscale":["",u,a,s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u,a,s]}],"backdrop-invert":[{"backdrop-invert":["",u,a,s]}],"backdrop-opacity":[{"backdrop-opacity":[u,a,s]}],"backdrop-saturate":[{"backdrop-saturate":[u,a,s]}],"backdrop-sepia":[{"backdrop-sepia":["",u,a,s]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":d()}],"border-spacing-x":[{"border-spacing-x":d()}],"border-spacing-y":[{"border-spacing-y":d()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",a,s]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[u,"initial",a,s]}],ease:[{ease:["linear","initial",E,a,s]}],delay:[{delay:[u,a,s]}],animate:[{animate:["none",X,a,s]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[F,a,s]}],"perspective-origin":[{"perspective-origin":_()}],rotate:[{rotate:Y()}],"rotate-x":[{"rotate-x":Y()}],"rotate-y":[{"rotate-y":Y()}],"rotate-z":[{"rotate-z":Y()}],scale:[{scale:Z()}],"scale-x":[{"scale-x":Z()}],"scale-y":[{"scale-y":Z()}],"scale-z":[{"scale-z":Z()}],"scale-3d":["scale-3d"],skew:[{skew:de()}],"skew-x":[{"skew-x":de()}],"skew-y":[{"skew-y":de()}],transform:[{transform:[a,s,"","none","gpu","cpu"]}],"transform-origin":[{origin:_()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ee()}],"translate-x":[{"translate-x":ee()}],"translate-y":[{"translate-y":ee()}],"translate-z":[{"translate-z":ee()}],"translate-none":["translate-none"],accent:[{accent:i()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:i()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",a,s]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",a,s]}],fill:[{fill:["none",...i()]}],"stroke-w":[{stroke:[u,R,P,le]}],stroke:[{stroke:["none",...i()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function L(...e){return Nr(He(e))}const Me=G.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Me.displayName="Card";const Ae=G.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("flex",e),...t}));Ae.displayName="CardHeader";const Pe=G.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("font-semibold leading-none tracking-tight",e),...t}));Pe.displayName="CardTitle";const Ie=G.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("text-sm text-muted-foreground",e),...t}));Ie.displayName="CardDescription";const Ee=G.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("pt-0",e),...t}));Ee.displayName="CardContent";const Te=G.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:L("flex items-center pt-0",e),...t}));Te.displayName="CardFooter";const Be=({color:e="amber",onClick:t,customClass:r="",iconSrc:o})=>{const n=pe[e];return p.jsx("button",{className:`w-12 h-12 rounded-lg flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${r}`,onClick:t,style:{backgroundColor:n.value,boxShadow:`0 4px 0 ${n.dark}`},children:p.jsx("span",{className:"text-2xl",children:p.jsx("img",{style:{maxWidth:"1.2em",maxHeight:"1.2em",display:"inline-block"},src:o})})})},Ge=({title:e,description:t,children:r,iconSrc:o,customClass:n="",button:c=!1,buttonLabel:l="Button",buttonPosition:f="top-right",bgIconColor:m="amber",buttonColor:b="lightBlue",buttonVariant:h="primary",buttonSize:C="medium",onButtonClick:I})=>{const A=I??(()=>{});return p.jsxs(Me,{className:`
2
2
  w-full max-w-full sm:max-w-md md:max-w-lg lg:max-w-xl
3
3
  border-2 border-b-4 border-gray-200 border-opacity-80
4
- px-4 sm:px-6 py-4 sm:py-6 rounded-xl
4
+ px-4 sm:px-6 py-4 sm:py-6 rounded-xl h-full
5
5
  flex flex-col relative
6
6
  ${n}
7
- `,children:[(e||t||c&&f==="top-right")&&p.jsxs(Ae,{className:"mb-4 flex items-start justify-between",children:[p.jsxs("div",{className:"flex items-center gap-3",children:[o&&p.jsx(Be,{color:m,iconSrc:o,onClick:()=>{}}),p.jsxs("div",{children:[e&&p.jsx(Pe,{className:"text-main text-xl font-gabaritoBold font-medium leading-5 sm:text-lg md:text-xl",children:e}),t&&p.jsx(Ie,{className:"text-sm sm:text-base text-gray-600",children:t})]})]}),c&&f==="top-right"&&p.jsx(oe,{label:l,size:C,onClick:A,color:b,variant:h})]}),r&&p.jsx(Te,{className:"flex flex-col gap-3 font-regular",children:r}),c&&f==="bottom-right"&&p.jsx(Ge,{className:"flex justify-end pt-2",children:p.jsx(oe,{label:l,size:C,onClick:A,color:b,variant:h})})]})},Sr=({color:e="lightBlue"})=>{const[t,r]=pe.useState(!1),o={lightBlue:"bg-blue-500",amber:"bg-amber-500",cyan:"bg-cyan-500"},n=c=>{r(c.target.checked)};return p.jsxs("div",{className:"inline-block relative w-12 h-6",children:[p.jsx("input",{checked:t,onChange:n,className:"absolute opacity-0 w-0 h-0",id:`react-switch-${e}`,type:"checkbox"}),p.jsx("label",{className:"block overflow-hidden h-6 rounded-full cursor-pointer bg-gray-300",htmlFor:`react-switch-${e}`,children:p.jsx("span",{className:`block h-6 w-6 rounded-full shadow transform transition-transform duration-200 ${t?`translate-x-full ${o[e]}`:"bg-white"}`})})]})},Mr=({bgIconColor:e="lightBlue",iconSrc:t="",label:r="",percentage:o=0,showCard:n=!1,showPercentage:c=!1})=>{const l=re[e],f=p.jsxs("div",{className:"flex w-full items-center",children:[p.jsx(Be,{color:e,iconSrc:t,onClick:()=>{}}),p.jsxs("div",{className:"flex flex-col ml-3 flex-1",children:[p.jsxs("div",{className:"flex justify-between mb-1 items-end",children:[r&&p.jsx("p",{className:"font-semibold text-sec text-md",children:r}),c&&p.jsxs("span",{className:"text-base text-gray-500",children:[o,"%"]})]}),p.jsx("div",{className:"relative w-full h-4 rounded-2xl overflow-hidden",style:{backgroundColor:Ue.Gray.value},children:p.jsx("div",{className:"absolute top-0 left-0 h-full rounded-2xl transition-all duration-300",style:{width:`${o}%`,background:"linear-gradient(to right, #FFC801, #FFC801)",boxShadow:`0 1px 2px ${l.primary.dark}`}})})]})]});return n?p.jsx(je,{children:f}):f};v.Button=oe,v.Card=je,v.ProgressBar=Mr,v.Toggle=Sr,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})}));
7
+ `,children:[(e||t||c&&f==="top-right")&&p.jsxs(Ae,{className:"mb-4 flex items-start justify-between",children:[p.jsxs("div",{className:"flex items-center gap-3",children:[o&&p.jsx(Be,{color:m,iconSrc:o,onClick:()=>{}}),p.jsxs("div",{children:[e&&p.jsx(Pe,{className:"text-main text-xl font-gabaritoBold font-medium leading-5 sm:text-lg md:text-xl",children:e}),t&&p.jsx(Ie,{className:"text-sm sm:text-base text-gray-600",children:t})]})]}),c&&f==="top-right"&&p.jsx(re,{label:l,size:C,onClick:A,color:b,variant:h})]}),r&&p.jsx(Ee,{className:"flex flex-col gap-4 font-regular",children:r}),c&&f==="bottom-right"&&p.jsx(Te,{className:"flex justify-end pt-2",children:p.jsx(re,{label:l,size:C,onClick:A,color:b,variant:h})})]})},Sr=({color:e="lightBlue"})=>{const[t,r]=me.useState(!1),o={lightBlue:"bg-blue-500",amber:"bg-amber-500",cyan:"bg-cyan-500"},n=c=>{r(c.target.checked)};return p.jsxs("div",{className:"inline-block relative w-12 h-6",children:[p.jsx("input",{checked:t,onChange:n,className:"absolute opacity-0 w-0 h-0",id:`react-switch-${e}`,type:"checkbox"}),p.jsx("label",{className:"block overflow-hidden h-6 rounded-full cursor-pointer bg-gray-300",htmlFor:`react-switch-${e}`,children:p.jsx("span",{className:`block h-6 w-6 rounded-full shadow transform transition-transform duration-200 ${t?`translate-x-full ${o[e]}`:"bg-white"}`})})]})},Mr=({bgIconColor:e="amber",iconSrc:t="",label:r="",percentage:o=0,showCard:n=!1,showPercentage:c=!1})=>{const l=pe[e],f=p.jsxs("div",{className:"flex w-full items-center",children:[p.jsx(Be,{color:e,iconSrc:t,onClick:()=>{}}),p.jsxs("div",{className:"flex flex-col ml-3 flex-1",children:[p.jsxs("div",{className:"flex justify-between mb-1 items-end",children:[r&&p.jsx("p",{className:"font-medium text-sec text-md",children:r}),c&&p.jsxs("span",{className:"text-base text-gray-500",children:[o,"%"]})]}),p.jsx("div",{className:"relative w-full h-4 rounded-2xl overflow-hidden",style:{backgroundColor:qe.Gray.value},children:p.jsx("div",{className:"absolute top-0 left-0 h-full rounded-2xl transition-all duration-300",style:{width:`${o}%`,background:"linear-gradient(to right, #FFC801, #FFC801)",boxShadow:`0 1px 2px ${l.dark}`}})})]})]});return n?p.jsx(Ge,{children:f}):f};v.Button=re,v.Card=Ge,v.ProgressBar=Mr,v.Toggle=Sr,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-ui-lib",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "type": "module",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {