@hemia/lume-vue 0.0.1 → 0.0.2

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/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function ee(e){var o,r,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(o=0;o<l;o++)e[o]&&(r=ee(e[o]))&&(t&&(t+=" "),t+=r)}else for(r in e)e[r]&&(t&&(t+=" "),t+=r);return t}function re(){for(var e,o,r=0,t="",l=arguments.length;r<l;r++)(e=arguments[r])&&(o=ee(e))&&(t&&(t+=" "),t+=o);return t}const L="-",ae=e=>{const o=ce(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:l=>{const n=l.split(L);return n[0]===""&&n.length!==1&&n.shift(),oe(n,o)||ie(l)},getConflictingClassGroupIds:(l,n)=>{const i=r[l]||[];return n&&t[l]?[...i,...t[l]]:i}}},oe=(e,o)=>{var r;if(e.length===0)return o.classGroupId;const t=e[0],l=o.nextPart.get(t),n=l?oe(e.slice(1),l):void 0;if(n)return n;if(o.validators.length===0)return;const i=e.join(L);return(r=o.validators.find(({validator:s})=>s(i)))==null?void 0:r.classGroupId},Q=/^\[(.+)\]$/,ie=e=>{if(Q.test(e)){const o=Q.exec(e)[1],r=o==null?void 0:o.substring(0,o.indexOf(":"));if(r)return"arbitrary.."+r}},ce=e=>{const{theme:o,prefix:r}=e,t={nextPart:new Map,validators:[]};return pe(Object.entries(e.classGroups),r).forEach(([l,n])=>{q(n,t,l,o)}),t},q=(e,o,r,t)=>{e.forEach(l=>{if(typeof l=="string"){const n=l===""?o:X(o,l);n.classGroupId=r;return}if(typeof l=="function"){if(de(l)){q(l(t),o,r,t);return}o.validators.push({validator:l,classGroupId:r});return}Object.entries(l).forEach(([n,i])=>{q(i,X(o,n),r,t)})})},X=(e,o)=>{let r=e;return o.split(L).forEach(t=>{r.nextPart.has(t)||r.nextPart.set(t,{nextPart:new Map,validators:[]}),r=r.nextPart.get(t)}),r},de=e=>e.isThemeGetter,pe=(e,o)=>o?e.map(([r,t])=>{const l=t.map(n=>typeof n=="string"?o+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,s])=>[o+i,s])):n);return[r,l]}):e,ue=e=>{if(e<1)return{get:()=>{},set:()=>{}};let o=0,r=new Map,t=new Map;const l=(n,i)=>{r.set(n,i),o++,o>e&&(o=0,t=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=t.get(n))!==void 0)return l(n,i),i},set(n,i){r.has(n)?r.set(n,i):l(n,i)}}},te="!",be=e=>{const{separator:o,experimentalParseClassName:r}=e,t=o.length===1,l=o[0],n=o.length,i=s=>{const f=[];let c=0,b=0,h;for(let d=0;d<s.length;d++){let v=s[d];if(c===0){if(v===l&&(t||s.slice(d,d+n)===o)){f.push(s.slice(b,d)),b=d+n;continue}if(v==="/"){h=d;continue}}v==="["?c++:v==="]"&&c--}const g=f.length===0?s:s.substring(b),w=g.startsWith(te),y=w?g.substring(1):g,m=h&&h>b?h-b:void 0;return{modifiers:f,hasImportantModifier:w,baseClassName:y,maybePostfixModifierPosition:m}};return r?s=>r({className:s,parseClassName:i}):i},me=e=>{if(e.length<=1)return e;const o=[];let r=[];return e.forEach(t=>{t[0]==="["?(o.push(...r.sort(),t),r=[]):r.push(t)}),o.push(...r.sort()),o},fe=e=>({cache:ue(e.cacheSize),parseClassName:be(e),...ae(e)}),ge=/\s+/,he=(e,o)=>{const{parseClassName:r,getClassGroupId:t,getConflictingClassGroupIds:l}=o,n=[],i=e.trim().split(ge);let s="";for(let f=i.length-1;f>=0;f-=1){const c=i[f],{modifiers:b,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:w}=r(c);let y=!!w,m=t(y?g.substring(0,w):g);if(!m){if(!y){s=c+(s.length>0?" "+s:s);continue}if(m=t(g),!m){s=c+(s.length>0?" "+s:s);continue}y=!1}const d=me(b).join(":"),v=h?d+te:d,x=v+m;if(n.includes(x))continue;n.push(x);const S=l(m,y);for(let G=0;G<S.length;++G){const $=S[G];n.push(v+$)}s=c+(s.length>0?" "+s:s)}return s};function ve(){let e=0,o,r,t="";for(;e<arguments.length;)(o=arguments[e++])&&(r=ne(o))&&(t&&(t+=" "),t+=r);return t}const ne=e=>{if(typeof e=="string")return e;let o,r="";for(let t=0;t<e.length;t++)e[t]&&(o=ne(e[t]))&&(r&&(r+=" "),r+=o);return r};function ye(e,...o){let r,t,l,n=i;function i(f){const c=o.reduce((b,h)=>h(b),e());return r=fe(c),t=r.cache.get,l=r.cache.set,n=s,s(f)}function s(f){const c=t(f);if(c)return c;const b=he(f,r);return l(f,b),b}return function(){return n(ve.apply(null,arguments))}}const p=e=>{const o=r=>r[e]||[];return o.isThemeGetter=!0,o},le=/^\[(?:([a-z-]+):)?(.+)\]$/i,xe=/^\d+\/\d+$/,we=new Set(["px","full","screen"]),ke=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ze=/\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$/,je=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ce=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ge=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>N(e)||we.has(e)||xe.test(e),j=e=>P(e,"length",Ee),N=e=>!!e&&!Number.isNaN(Number(e)),_=e=>P(e,"number",N),I=e=>!!e&&Number.isInteger(Number(e)),Ne=e=>e.endsWith("%")&&N(e.slice(0,-1)),a=e=>le.test(e),C=e=>ke.test(e),Pe=new Set(["length","size","percentage"]),Se=e=>P(e,Pe,se),Me=e=>P(e,"position",se),Ie=new Set(["image","url"]),Oe=e=>P(e,Ie,Ae),$e=e=>P(e,"",Re),O=()=>!0,P=(e,o,r)=>{const t=le.exec(e);return t?t[1]?typeof o=="string"?t[1]===o:o.has(t[1]):r(t[2]):!1},Ee=e=>ze.test(e)&&!je.test(e),se=()=>!1,Re=e=>Ce.test(e),Ae=e=>Ge.test(e),We=()=>{const e=p("colors"),o=p("spacing"),r=p("blur"),t=p("brightness"),l=p("borderColor"),n=p("borderRadius"),i=p("borderSpacing"),s=p("borderWidth"),f=p("contrast"),c=p("grayscale"),b=p("hueRotate"),h=p("invert"),g=p("gap"),w=p("gradientColorStops"),y=p("gradientColorStopPositions"),m=p("inset"),d=p("margin"),v=p("opacity"),x=p("padding"),S=p("saturate"),G=p("scale"),$=p("sepia"),U=p("skew"),B=p("space"),D=p("translate"),A=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto",a,o],u=()=>[a,o],F=()=>["",z,j],E=()=>["auto",N,a],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],R=()=>["solid","dashed","dotted","double","none"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],V=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",a],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[N,a];return{cacheSize:500,separator:":",theme:{colors:[O],spacing:[z,j],blur:["none","",C,a],brightness:k(),borderColor:[e],borderRadius:["none","","full",C,a],borderSpacing:u(),borderWidth:F(),contrast:k(),grayscale:M(),hueRotate:k(),invert:M(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[Ne,j],inset:T(),margin:T(),opacity:k(),padding:u(),saturate:k(),scale:k(),sepia:M(),skew:k(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",a]}],container:["container"],columns:[{columns:[C]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"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:[...H(),a]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",I,a]}],basis:[{basis:T()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",a]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",I,a]}],"grid-cols":[{"grid-cols":[O]}],"col-start-end":[{col:["auto",{span:["full",I,a]},a]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[O]}],"row-start-end":[{row:["auto",{span:[I,a]},a]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",a]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",a]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...V()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...V(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...V(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[d]}],mx:[{mx:[d]}],my:[{my:[d]}],ms:[{ms:[d]}],me:[{me:[d]}],mt:[{mt:[d]}],mr:[{mr:[d]}],mb:[{mb:[d]}],ml:[{ml:[d]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",a,o]}],"min-w":[{"min-w":[a,o,"min","max","fit"]}],"max-w":[{"max-w":[a,o,"none","full","min","max","fit","prose",{screen:[C]},C]}],h:[{h:[a,o,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[a,o,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[a,o,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[a,o,"auto","min","max","fit"]}],"font-size":[{text:["base",C,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_]}],"font-family":[{font:[O]}],"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",a]}],"line-clamp":[{"line-clamp":["none",N,_]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,a]}],"list-image":[{"list-image":["none",a]}],"list-style-type":[{list:["none","disc","decimal",a]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...R(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,j]}],"underline-offset":[{"underline-offset":["auto",z,a]}],"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:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",a]}],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",a]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),Me]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Se]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Oe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...R(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:R()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...R()]}],"outline-offset":[{"outline-offset":[z,a]}],"outline-w":[{outline:[z,j]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[z,j]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",C,$e]}],"shadow-color":[{shadow:[O]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...J(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[t]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",C,a]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[h]}],saturate:[{saturate:[S]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[t]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",a]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",a]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",a]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[I,a]}],"translate-x":[{"translate-x":[D]}],"translate-y":[{"translate-y":[D]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",a]}],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",a]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"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]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,j,_]}],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"]}}},Te=ye(We);function Ve(...e){return Te(re(e))}const Y=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Z=re,_e=(e,o)=>r=>{var t;if((o==null?void 0:o.variants)==null)return Z(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:l,defaultVariants:n}=o,i=Object.keys(l).map(c=>{const b=r==null?void 0:r[c],h=n==null?void 0:n[c];if(b===null)return null;const g=Y(b)||Y(h);return l[c][g]}),s=r&&Object.entries(r).reduce((c,b)=>{let[h,g]=b;return g===void 0||(c[h]=g),c},{}),f=o==null||(t=o.compoundVariants)===null||t===void 0?void 0:t.reduce((c,b)=>{let{class:h,className:g,...w}=b;return Object.entries(w).every(y=>{let[m,d]=y;return Array.isArray(d)?d.includes({...n,...s}[m]):{...n,...s}[m]===d})?[...c,h,g]:c},[]);return Z(e,i,f,r==null?void 0:r.class,r==null?void 0:r.className)},qe={primary:"hsl(var(--primary))",secondary:"hsl(var(--secondary))",destructive:"hsl(var(--destructive))",muted:"hsl(var(--muted))",accent:"hsl(var(--accent))"},Le={sm:"var(--radius-sm)",md:"var(--radius-md)",lg:"var(--radius-lg)"};exports.cn=Ve;exports.colors=qe;exports.cva=_e;exports.radius=Le;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function ee(e){var o,r,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(o=0;o<l;o++)e[o]&&(r=ee(e[o]))&&(t&&(t+=" "),t+=r)}else for(r in e)e[r]&&(t&&(t+=" "),t+=r);return t}function re(){for(var e,o,r=0,t="",l=arguments.length;r<l;r++)(e=arguments[r])&&(o=ee(e))&&(t&&(t+=" "),t+=o);return t}const L="-",ae=e=>{const o=ce(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:l=>{const n=l.split(L);return n[0]===""&&n.length!==1&&n.shift(),oe(n,o)||ie(l)},getConflictingClassGroupIds:(l,n)=>{const i=r[l]||[];return n&&t[l]?[...i,...t[l]]:i}}},oe=(e,o)=>{var r;if(e.length===0)return o.classGroupId;const t=e[0],l=o.nextPart.get(t),n=l?oe(e.slice(1),l):void 0;if(n)return n;if(o.validators.length===0)return;const i=e.join(L);return(r=o.validators.find(({validator:s})=>s(i)))==null?void 0:r.classGroupId},Q=/^\[(.+)\]$/,ie=e=>{if(Q.test(e)){const o=Q.exec(e)[1],r=o==null?void 0:o.substring(0,o.indexOf(":"));if(r)return"arbitrary.."+r}},ce=e=>{const{theme:o,prefix:r}=e,t={nextPart:new Map,validators:[]};return ue(Object.entries(e.classGroups),r).forEach(([l,n])=>{q(n,t,l,o)}),t},q=(e,o,r,t)=>{e.forEach(l=>{if(typeof l=="string"){const n=l===""?o:X(o,l);n.classGroupId=r;return}if(typeof l=="function"){if(de(l)){q(l(t),o,r,t);return}o.validators.push({validator:l,classGroupId:r});return}Object.entries(l).forEach(([n,i])=>{q(i,X(o,n),r,t)})})},X=(e,o)=>{let r=e;return o.split(L).forEach(t=>{r.nextPart.has(t)||r.nextPart.set(t,{nextPart:new Map,validators:[]}),r=r.nextPart.get(t)}),r},de=e=>e.isThemeGetter,ue=(e,o)=>o?e.map(([r,t])=>{const l=t.map(n=>typeof n=="string"?o+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,s])=>[o+i,s])):n);return[r,l]}):e,pe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let o=0,r=new Map,t=new Map;const l=(n,i)=>{r.set(n,i),o++,o>e&&(o=0,t=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=t.get(n))!==void 0)return l(n,i),i},set(n,i){r.has(n)?r.set(n,i):l(n,i)}}},te="!",be=e=>{const{separator:o,experimentalParseClassName:r}=e,t=o.length===1,l=o[0],n=o.length,i=s=>{const f=[];let c=0,b=0,h;for(let d=0;d<s.length;d++){let v=s[d];if(c===0){if(v===l&&(t||s.slice(d,d+n)===o)){f.push(s.slice(b,d)),b=d+n;continue}if(v==="/"){h=d;continue}}v==="["?c++:v==="]"&&c--}const g=f.length===0?s:s.substring(b),w=g.startsWith(te),y=w?g.substring(1):g,m=h&&h>b?h-b:void 0;return{modifiers:f,hasImportantModifier:w,baseClassName:y,maybePostfixModifierPosition:m}};return r?s=>r({className:s,parseClassName:i}):i},me=e=>{if(e.length<=1)return e;const o=[];let r=[];return e.forEach(t=>{t[0]==="["?(o.push(...r.sort(),t),r=[]):r.push(t)}),o.push(...r.sort()),o},fe=e=>({cache:pe(e.cacheSize),parseClassName:be(e),...ae(e)}),ge=/\s+/,he=(e,o)=>{const{parseClassName:r,getClassGroupId:t,getConflictingClassGroupIds:l}=o,n=[],i=e.trim().split(ge);let s="";for(let f=i.length-1;f>=0;f-=1){const c=i[f],{modifiers:b,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:w}=r(c);let y=!!w,m=t(y?g.substring(0,w):g);if(!m){if(!y){s=c+(s.length>0?" "+s:s);continue}if(m=t(g),!m){s=c+(s.length>0?" "+s:s);continue}y=!1}const d=me(b).join(":"),v=h?d+te:d,x=v+m;if(n.includes(x))continue;n.push(x);const S=l(m,y);for(let G=0;G<S.length;++G){const $=S[G];n.push(v+$)}s=c+(s.length>0?" "+s:s)}return s};function ve(){let e=0,o,r,t="";for(;e<arguments.length;)(o=arguments[e++])&&(r=ne(o))&&(t&&(t+=" "),t+=r);return t}const ne=e=>{if(typeof e=="string")return e;let o,r="";for(let t=0;t<e.length;t++)e[t]&&(o=ne(e[t]))&&(r&&(r+=" "),r+=o);return r};function ye(e,...o){let r,t,l,n=i;function i(f){const c=o.reduce((b,h)=>h(b),e());return r=fe(c),t=r.cache.get,l=r.cache.set,n=s,s(f)}function s(f){const c=t(f);if(c)return c;const b=he(f,r);return l(f,b),b}return function(){return n(ve.apply(null,arguments))}}const u=e=>{const o=r=>r[e]||[];return o.isThemeGetter=!0,o},le=/^\[(?:([a-z-]+):)?(.+)\]$/i,xe=/^\d+\/\d+$/,we=new Set(["px","full","screen"]),ke=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ze=/\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$/,je=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ce=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ge=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>N(e)||we.has(e)||xe.test(e),j=e=>P(e,"length",Ee),N=e=>!!e&&!Number.isNaN(Number(e)),_=e=>P(e,"number",N),I=e=>!!e&&Number.isInteger(Number(e)),Ne=e=>e.endsWith("%")&&N(e.slice(0,-1)),a=e=>le.test(e),C=e=>ke.test(e),Pe=new Set(["length","size","percentage"]),Se=e=>P(e,Pe,se),Me=e=>P(e,"position",se),Ie=new Set(["image","url"]),Oe=e=>P(e,Ie,Ae),$e=e=>P(e,"",Re),O=()=>!0,P=(e,o,r)=>{const t=le.exec(e);return t?t[1]?typeof o=="string"?t[1]===o:o.has(t[1]):r(t[2]):!1},Ee=e=>ze.test(e)&&!je.test(e),se=()=>!1,Re=e=>Ce.test(e),Ae=e=>Ge.test(e),We=()=>{const e=u("colors"),o=u("spacing"),r=u("blur"),t=u("brightness"),l=u("borderColor"),n=u("borderRadius"),i=u("borderSpacing"),s=u("borderWidth"),f=u("contrast"),c=u("grayscale"),b=u("hueRotate"),h=u("invert"),g=u("gap"),w=u("gradientColorStops"),y=u("gradientColorStopPositions"),m=u("inset"),d=u("margin"),v=u("opacity"),x=u("padding"),S=u("saturate"),G=u("scale"),$=u("sepia"),U=u("skew"),B=u("space"),D=u("translate"),A=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto",a,o],p=()=>[a,o],F=()=>["",z,j],E=()=>["auto",N,a],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],R=()=>["solid","dashed","dotted","double","none"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],V=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",a],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[N,a];return{cacheSize:500,separator:":",theme:{colors:[O],spacing:[z,j],blur:["none","",C,a],brightness:k(),borderColor:[e],borderRadius:["none","","full",C,a],borderSpacing:p(),borderWidth:F(),contrast:k(),grayscale:M(),hueRotate:k(),invert:M(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[Ne,j],inset:T(),margin:T(),opacity:k(),padding:p(),saturate:k(),scale:k(),sepia:M(),skew:k(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",a]}],container:["container"],columns:[{columns:[C]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"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:[...H(),a]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",I,a]}],basis:[{basis:T()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",a]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",I,a]}],"grid-cols":[{"grid-cols":[O]}],"col-start-end":[{col:["auto",{span:["full",I,a]},a]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[O]}],"row-start-end":[{row:["auto",{span:[I,a]},a]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",a]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",a]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...V()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...V(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...V(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[d]}],mx:[{mx:[d]}],my:[{my:[d]}],ms:[{ms:[d]}],me:[{me:[d]}],mt:[{mt:[d]}],mr:[{mr:[d]}],mb:[{mb:[d]}],ml:[{ml:[d]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",a,o]}],"min-w":[{"min-w":[a,o,"min","max","fit"]}],"max-w":[{"max-w":[a,o,"none","full","min","max","fit","prose",{screen:[C]},C]}],h:[{h:[a,o,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[a,o,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[a,o,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[a,o,"auto","min","max","fit"]}],"font-size":[{text:["base",C,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_]}],"font-family":[{font:[O]}],"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",a]}],"line-clamp":[{"line-clamp":["none",N,_]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,a]}],"list-image":[{"list-image":["none",a]}],"list-style-type":[{list:["none","disc","decimal",a]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...R(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,j]}],"underline-offset":[{"underline-offset":["auto",z,a]}],"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:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",a]}],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",a]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),Me]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Se]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Oe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...R(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:R()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...R()]}],"outline-offset":[{"outline-offset":[z,a]}],"outline-w":[{outline:[z,j]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[z,j]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",C,$e]}],"shadow-color":[{shadow:[O]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...J(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[t]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",C,a]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[h]}],saturate:[{saturate:[S]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[t]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",a]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",a]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",a]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[I,a]}],"translate-x":[{"translate-x":[D]}],"translate-y":[{"translate-y":[D]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",a]}],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",a]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"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]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,j,_]}],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"]}}},Te=ye(We);function Ve(...e){return Te(re(e))}const Y=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Z=re,_e=(e,o)=>r=>{var t;if((o==null?void 0:o.variants)==null)return Z(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:l,defaultVariants:n}=o,i=Object.keys(l).map(c=>{const b=r==null?void 0:r[c],h=n==null?void 0:n[c];if(b===null)return null;const g=Y(b)||Y(h);return l[c][g]}),s=r&&Object.entries(r).reduce((c,b)=>{let[h,g]=b;return g===void 0||(c[h]=g),c},{}),f=o==null||(t=o.compoundVariants)===null||t===void 0?void 0:t.reduce((c,b)=>{let{class:h,className:g,...w}=b;return Object.entries(w).every(y=>{let[m,d]=y;return Array.isArray(d)?d.includes({...n,...s}[m]):{...n,...s}[m]===d})?[...c,h,g]:c},[]);return Z(e,i,f,r==null?void 0:r.class,r==null?void 0:r.className)},qe={primary:"hsl(var(--primary))",secondary:"hsl(var(--secondary))",destructive:"hsl(var(--destructive))",muted:"hsl(var(--muted))",accent:"hsl(var(--accent))"},Le={sm:"var(--lume-radius-sm)",md:"var(--lume-radius-md)",lg:"var(--lume-radius-lg)"};exports.cn=Ve;exports.colors=qe;exports.cva=_e;exports.radius=Le;
package/dist/index.mjs CHANGED
@@ -2,13 +2,13 @@ function ee(e) {
2
2
  var o, r, t = "";
3
3
  if (typeof e == "string" || typeof e == "number") t += e;
4
4
  else if (typeof e == "object") if (Array.isArray(e)) {
5
- var s = e.length;
6
- for (o = 0; o < s; o++) e[o] && (r = ee(e[o])) && (t && (t += " "), t += r);
5
+ var l = e.length;
6
+ for (o = 0; o < l; o++) e[o] && (r = ee(e[o])) && (t && (t += " "), t += r);
7
7
  } else for (r in e) e[r] && (t && (t += " "), t += r);
8
8
  return t;
9
9
  }
10
10
  function re() {
11
- for (var e, o, r = 0, t = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (o = ee(e)) && (t && (t += " "), t += o);
11
+ for (var e, o, r = 0, t = "", l = arguments.length; r < l; r++) (e = arguments[r]) && (o = ee(e)) && (t && (t += " "), t += o);
12
12
  return t;
13
13
  }
14
14
  const L = "-", ae = (e) => {
@@ -17,28 +17,28 @@ const L = "-", ae = (e) => {
17
17
  conflictingClassGroupModifiers: t
18
18
  } = e;
19
19
  return {
20
- getClassGroupId: (s) => {
21
- const n = s.split(L);
22
- return n[0] === "" && n.length !== 1 && n.shift(), oe(n, o) || ie(s);
20
+ getClassGroupId: (l) => {
21
+ const n = l.split(L);
22
+ return n[0] === "" && n.length !== 1 && n.shift(), oe(n, o) || ie(l);
23
23
  },
24
- getConflictingClassGroupIds: (s, n) => {
25
- const i = r[s] || [];
26
- return n && t[s] ? [...i, ...t[s]] : i;
24
+ getConflictingClassGroupIds: (l, n) => {
25
+ const i = r[l] || [];
26
+ return n && t[l] ? [...i, ...t[l]] : i;
27
27
  }
28
28
  };
29
29
  }, oe = (e, o) => {
30
30
  var r;
31
31
  if (e.length === 0)
32
32
  return o.classGroupId;
33
- const t = e[0], s = o.nextPart.get(t), n = s ? oe(e.slice(1), s) : void 0;
33
+ const t = e[0], l = o.nextPart.get(t), n = l ? oe(e.slice(1), l) : void 0;
34
34
  if (n)
35
35
  return n;
36
36
  if (o.validators.length === 0)
37
37
  return;
38
38
  const i = e.join(L);
39
39
  return (r = o.validators.find(({
40
- validator: l
41
- }) => l(i))) == null ? void 0 : r.classGroupId;
40
+ validator: s
41
+ }) => s(i))) == null ? void 0 : r.classGroupId;
42
42
  }, Q = /^\[(.+)\]$/, ie = (e) => {
43
43
  if (Q.test(e)) {
44
44
  const o = Q.exec(e)[1], r = o == null ? void 0 : o.substring(0, o.indexOf(":"));
@@ -53,28 +53,28 @@ const L = "-", ae = (e) => {
53
53
  nextPart: /* @__PURE__ */ new Map(),
54
54
  validators: []
55
55
  };
56
- return pe(Object.entries(e.classGroups), r).forEach(([s, n]) => {
57
- q(n, t, s, o);
56
+ return pe(Object.entries(e.classGroups), r).forEach(([l, n]) => {
57
+ q(n, t, l, o);
58
58
  }), t;
59
59
  }, q = (e, o, r, t) => {
60
- e.forEach((s) => {
61
- if (typeof s == "string") {
62
- const n = s === "" ? o : X(o, s);
60
+ e.forEach((l) => {
61
+ if (typeof l == "string") {
62
+ const n = l === "" ? o : X(o, l);
63
63
  n.classGroupId = r;
64
64
  return;
65
65
  }
66
- if (typeof s == "function") {
67
- if (de(s)) {
68
- q(s(t), o, r, t);
66
+ if (typeof l == "function") {
67
+ if (de(l)) {
68
+ q(l(t), o, r, t);
69
69
  return;
70
70
  }
71
71
  o.validators.push({
72
- validator: s,
72
+ validator: l,
73
73
  classGroupId: r
74
74
  });
75
75
  return;
76
76
  }
77
- Object.entries(s).forEach(([n, i]) => {
77
+ Object.entries(l).forEach(([n, i]) => {
78
78
  q(i, X(o, n), r, t);
79
79
  });
80
80
  });
@@ -87,8 +87,8 @@ const L = "-", ae = (e) => {
87
87
  }), r = r.nextPart.get(t);
88
88
  }), r;
89
89
  }, de = (e) => e.isThemeGetter, pe = (e, o) => o ? e.map(([r, t]) => {
90
- const s = t.map((n) => typeof n == "string" ? o + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([i, l]) => [o + i, l])) : n);
91
- return [r, s];
90
+ const l = t.map((n) => typeof n == "string" ? o + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([i, s]) => [o + i, s])) : n);
91
+ return [r, l];
92
92
  }) : e, ue = (e) => {
93
93
  if (e < 1)
94
94
  return {
@@ -98,7 +98,7 @@ const L = "-", ae = (e) => {
98
98
  }
99
99
  };
100
100
  let o = 0, r = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
101
- const s = (n, i) => {
101
+ const l = (n, i) => {
102
102
  r.set(n, i), o++, o > e && (o = 0, t = r, r = /* @__PURE__ */ new Map());
103
103
  };
104
104
  return {
@@ -107,24 +107,24 @@ const L = "-", ae = (e) => {
107
107
  if (i !== void 0)
108
108
  return i;
109
109
  if ((i = t.get(n)) !== void 0)
110
- return s(n, i), i;
110
+ return l(n, i), i;
111
111
  },
112
112
  set(n, i) {
113
- r.has(n) ? r.set(n, i) : s(n, i);
113
+ r.has(n) ? r.set(n, i) : l(n, i);
114
114
  }
115
115
  };
116
116
  }, te = "!", be = (e) => {
117
117
  const {
118
118
  separator: o,
119
119
  experimentalParseClassName: r
120
- } = e, t = o.length === 1, s = o[0], n = o.length, i = (l) => {
120
+ } = e, t = o.length === 1, l = o[0], n = o.length, i = (s) => {
121
121
  const f = [];
122
122
  let c = 0, b = 0, h;
123
- for (let d = 0; d < l.length; d++) {
124
- let v = l[d];
123
+ for (let d = 0; d < s.length; d++) {
124
+ let v = s[d];
125
125
  if (c === 0) {
126
- if (v === s && (t || l.slice(d, d + n) === o)) {
127
- f.push(l.slice(b, d)), b = d + n;
126
+ if (v === l && (t || s.slice(d, d + n) === o)) {
127
+ f.push(s.slice(b, d)), b = d + n;
128
128
  continue;
129
129
  }
130
130
  if (v === "/") {
@@ -134,7 +134,7 @@ const L = "-", ae = (e) => {
134
134
  }
135
135
  v === "[" ? c++ : v === "]" && c--;
136
136
  }
137
- const g = f.length === 0 ? l : l.substring(b), w = g.startsWith(te), y = w ? g.substring(1) : g, m = h && h > b ? h - b : void 0;
137
+ const g = f.length === 0 ? s : s.substring(b), w = g.startsWith(te), y = w ? g.substring(1) : g, m = h && h > b ? h - b : void 0;
138
138
  return {
139
139
  modifiers: f,
140
140
  hasImportantModifier: w,
@@ -142,8 +142,8 @@ const L = "-", ae = (e) => {
142
142
  maybePostfixModifierPosition: m
143
143
  };
144
144
  };
145
- return r ? (l) => r({
146
- className: l,
145
+ return r ? (s) => r({
146
+ className: s,
147
147
  parseClassName: i
148
148
  }) : i;
149
149
  }, me = (e) => {
@@ -162,9 +162,9 @@ const L = "-", ae = (e) => {
162
162
  const {
163
163
  parseClassName: r,
164
164
  getClassGroupId: t,
165
- getConflictingClassGroupIds: s
165
+ getConflictingClassGroupIds: l
166
166
  } = o, n = [], i = e.trim().split(ge);
167
- let l = "";
167
+ let s = "";
168
168
  for (let f = i.length - 1; f >= 0; f -= 1) {
169
169
  const c = i[f], {
170
170
  modifiers: b,
@@ -175,11 +175,11 @@ const L = "-", ae = (e) => {
175
175
  let y = !!w, m = t(y ? g.substring(0, w) : g);
176
176
  if (!m) {
177
177
  if (!y) {
178
- l = c + (l.length > 0 ? " " + l : l);
178
+ s = c + (s.length > 0 ? " " + s : s);
179
179
  continue;
180
180
  }
181
181
  if (m = t(g), !m) {
182
- l = c + (l.length > 0 ? " " + l : l);
182
+ s = c + (s.length > 0 ? " " + s : s);
183
183
  continue;
184
184
  }
185
185
  y = !1;
@@ -188,14 +188,14 @@ const L = "-", ae = (e) => {
188
188
  if (n.includes(x))
189
189
  continue;
190
190
  n.push(x);
191
- const S = s(m, y);
191
+ const S = l(m, y);
192
192
  for (let G = 0; G < S.length; ++G) {
193
193
  const $ = S[G];
194
194
  n.push(v + $);
195
195
  }
196
- l = c + (l.length > 0 ? " " + l : l);
196
+ s = c + (s.length > 0 ? " " + s : s);
197
197
  }
198
- return l;
198
+ return s;
199
199
  };
200
200
  function ve() {
201
201
  let e = 0, o, r, t = "";
@@ -212,17 +212,17 @@ const ne = (e) => {
212
212
  return r;
213
213
  };
214
214
  function ye(e, ...o) {
215
- let r, t, s, n = i;
215
+ let r, t, l, n = i;
216
216
  function i(f) {
217
217
  const c = o.reduce((b, h) => h(b), e());
218
- return r = fe(c), t = r.cache.get, s = r.cache.set, n = l, l(f);
218
+ return r = fe(c), t = r.cache.get, l = r.cache.set, n = s, s(f);
219
219
  }
220
- function l(f) {
220
+ function s(f) {
221
221
  const c = t(f);
222
222
  if (c)
223
223
  return c;
224
224
  const b = he(f, r);
225
- return s(f, b), b;
225
+ return l(f, b), b;
226
226
  }
227
227
  return function() {
228
228
  return n(ve.apply(null, arguments));
@@ -231,16 +231,16 @@ function ye(e, ...o) {
231
231
  const p = (e) => {
232
232
  const o = (r) => r[e] || [];
233
233
  return o.isThemeGetter = !0, o;
234
- }, se = /^\[(?:([a-z-]+):)?(.+)\]$/i, xe = /^\d+\/\d+$/, we = /* @__PURE__ */ new Set(["px", "full", "screen"]), ke = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ze = /\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$/, je = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ge = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => N(e) || we.has(e) || xe.test(e), j = (e) => P(e, "length", Ee), N = (e) => !!e && !Number.isNaN(Number(e)), _ = (e) => P(e, "number", N), M = (e) => !!e && Number.isInteger(Number(e)), Ne = (e) => e.endsWith("%") && N(e.slice(0, -1)), a = (e) => se.test(e), C = (e) => ke.test(e), Pe = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Se = (e) => P(e, Pe, le), Ie = (e) => P(e, "position", le), Me = /* @__PURE__ */ new Set(["image", "url"]), Oe = (e) => P(e, Me, Ae), $e = (e) => P(e, "", Re), O = () => !0, P = (e, o, r) => {
235
- const t = se.exec(e);
234
+ }, le = /^\[(?:([a-z-]+):)?(.+)\]$/i, xe = /^\d+\/\d+$/, we = /* @__PURE__ */ new Set(["px", "full", "screen"]), ke = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ze = /\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$/, je = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ge = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => N(e) || we.has(e) || xe.test(e), j = (e) => P(e, "length", Ee), N = (e) => !!e && !Number.isNaN(Number(e)), _ = (e) => P(e, "number", N), M = (e) => !!e && Number.isInteger(Number(e)), Ne = (e) => e.endsWith("%") && N(e.slice(0, -1)), a = (e) => le.test(e), C = (e) => ke.test(e), Pe = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Se = (e) => P(e, Pe, se), Ie = (e) => P(e, "position", se), Me = /* @__PURE__ */ new Set(["image", "url"]), Oe = (e) => P(e, Me, Ae), $e = (e) => P(e, "", Re), O = () => !0, P = (e, o, r) => {
235
+ const t = le.exec(e);
236
236
  return t ? t[1] ? typeof o == "string" ? t[1] === o : o.has(t[1]) : r(t[2]) : !1;
237
237
  }, Ee = (e) => (
238
238
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
239
239
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
240
240
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
241
241
  ze.test(e) && !je.test(e)
242
- ), le = () => !1, Re = (e) => Ce.test(e), Ae = (e) => Ge.test(e), We = () => {
243
- const e = p("colors"), o = p("spacing"), r = p("blur"), t = p("brightness"), s = p("borderColor"), n = p("borderRadius"), i = p("borderSpacing"), l = p("borderWidth"), f = p("contrast"), c = p("grayscale"), b = p("hueRotate"), h = p("invert"), g = p("gap"), w = p("gradientColorStops"), y = p("gradientColorStopPositions"), m = p("inset"), d = p("margin"), v = p("opacity"), x = p("padding"), S = p("saturate"), G = p("scale"), $ = p("sepia"), U = p("skew"), B = p("space"), D = p("translate"), A = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], T = () => ["auto", a, o], u = () => [a, o], F = () => ["", z, j], E = () => ["auto", N, a], H = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], R = () => ["solid", "dashed", "dotted", "double", "none"], J = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], I = () => ["", "0", a], K = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], k = () => [N, a];
242
+ ), se = () => !1, Re = (e) => Ce.test(e), Ae = (e) => Ge.test(e), We = () => {
243
+ const e = p("colors"), o = p("spacing"), r = p("blur"), t = p("brightness"), l = p("borderColor"), n = p("borderRadius"), i = p("borderSpacing"), s = p("borderWidth"), f = p("contrast"), c = p("grayscale"), b = p("hueRotate"), h = p("invert"), g = p("gap"), w = p("gradientColorStops"), y = p("gradientColorStopPositions"), m = p("inset"), d = p("margin"), v = p("opacity"), x = p("padding"), S = p("saturate"), G = p("scale"), $ = p("sepia"), U = p("skew"), B = p("space"), D = p("translate"), A = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], T = () => ["auto", a, o], u = () => [a, o], F = () => ["", z, j], E = () => ["auto", N, a], H = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], R = () => ["solid", "dashed", "dotted", "double", "none"], J = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], I = () => ["", "0", a], K = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], k = () => [N, a];
244
244
  return {
245
245
  cacheSize: 500,
246
246
  separator: ":",
@@ -1359,63 +1359,63 @@ const p = (e) => {
1359
1359
  * @see https://tailwindcss.com/docs/border-width
1360
1360
  */
1361
1361
  "border-w": [{
1362
- border: [l]
1362
+ border: [s]
1363
1363
  }],
1364
1364
  /**
1365
1365
  * Border Width X
1366
1366
  * @see https://tailwindcss.com/docs/border-width
1367
1367
  */
1368
1368
  "border-w-x": [{
1369
- "border-x": [l]
1369
+ "border-x": [s]
1370
1370
  }],
1371
1371
  /**
1372
1372
  * Border Width Y
1373
1373
  * @see https://tailwindcss.com/docs/border-width
1374
1374
  */
1375
1375
  "border-w-y": [{
1376
- "border-y": [l]
1376
+ "border-y": [s]
1377
1377
  }],
1378
1378
  /**
1379
1379
  * Border Width Start
1380
1380
  * @see https://tailwindcss.com/docs/border-width
1381
1381
  */
1382
1382
  "border-w-s": [{
1383
- "border-s": [l]
1383
+ "border-s": [s]
1384
1384
  }],
1385
1385
  /**
1386
1386
  * Border Width End
1387
1387
  * @see https://tailwindcss.com/docs/border-width
1388
1388
  */
1389
1389
  "border-w-e": [{
1390
- "border-e": [l]
1390
+ "border-e": [s]
1391
1391
  }],
1392
1392
  /**
1393
1393
  * Border Width Top
1394
1394
  * @see https://tailwindcss.com/docs/border-width
1395
1395
  */
1396
1396
  "border-w-t": [{
1397
- "border-t": [l]
1397
+ "border-t": [s]
1398
1398
  }],
1399
1399
  /**
1400
1400
  * Border Width Right
1401
1401
  * @see https://tailwindcss.com/docs/border-width
1402
1402
  */
1403
1403
  "border-w-r": [{
1404
- "border-r": [l]
1404
+ "border-r": [s]
1405
1405
  }],
1406
1406
  /**
1407
1407
  * Border Width Bottom
1408
1408
  * @see https://tailwindcss.com/docs/border-width
1409
1409
  */
1410
1410
  "border-w-b": [{
1411
- "border-b": [l]
1411
+ "border-b": [s]
1412
1412
  }],
1413
1413
  /**
1414
1414
  * Border Width Left
1415
1415
  * @see https://tailwindcss.com/docs/border-width
1416
1416
  */
1417
1417
  "border-w-l": [{
1418
- "border-l": [l]
1418
+ "border-l": [s]
1419
1419
  }],
1420
1420
  /**
1421
1421
  * Border Opacity
@@ -1436,7 +1436,7 @@ const p = (e) => {
1436
1436
  * @see https://tailwindcss.com/docs/divide-width
1437
1437
  */
1438
1438
  "divide-x": [{
1439
- "divide-x": [l]
1439
+ "divide-x": [s]
1440
1440
  }],
1441
1441
  /**
1442
1442
  * Divide Width X Reverse
@@ -1448,7 +1448,7 @@ const p = (e) => {
1448
1448
  * @see https://tailwindcss.com/docs/divide-width
1449
1449
  */
1450
1450
  "divide-y": [{
1451
- "divide-y": [l]
1451
+ "divide-y": [s]
1452
1452
  }],
1453
1453
  /**
1454
1454
  * Divide Width Y Reverse
@@ -1474,70 +1474,70 @@ const p = (e) => {
1474
1474
  * @see https://tailwindcss.com/docs/border-color
1475
1475
  */
1476
1476
  "border-color": [{
1477
- border: [s]
1477
+ border: [l]
1478
1478
  }],
1479
1479
  /**
1480
1480
  * Border Color X
1481
1481
  * @see https://tailwindcss.com/docs/border-color
1482
1482
  */
1483
1483
  "border-color-x": [{
1484
- "border-x": [s]
1484
+ "border-x": [l]
1485
1485
  }],
1486
1486
  /**
1487
1487
  * Border Color Y
1488
1488
  * @see https://tailwindcss.com/docs/border-color
1489
1489
  */
1490
1490
  "border-color-y": [{
1491
- "border-y": [s]
1491
+ "border-y": [l]
1492
1492
  }],
1493
1493
  /**
1494
1494
  * Border Color S
1495
1495
  * @see https://tailwindcss.com/docs/border-color
1496
1496
  */
1497
1497
  "border-color-s": [{
1498
- "border-s": [s]
1498
+ "border-s": [l]
1499
1499
  }],
1500
1500
  /**
1501
1501
  * Border Color E
1502
1502
  * @see https://tailwindcss.com/docs/border-color
1503
1503
  */
1504
1504
  "border-color-e": [{
1505
- "border-e": [s]
1505
+ "border-e": [l]
1506
1506
  }],
1507
1507
  /**
1508
1508
  * Border Color Top
1509
1509
  * @see https://tailwindcss.com/docs/border-color
1510
1510
  */
1511
1511
  "border-color-t": [{
1512
- "border-t": [s]
1512
+ "border-t": [l]
1513
1513
  }],
1514
1514
  /**
1515
1515
  * Border Color Right
1516
1516
  * @see https://tailwindcss.com/docs/border-color
1517
1517
  */
1518
1518
  "border-color-r": [{
1519
- "border-r": [s]
1519
+ "border-r": [l]
1520
1520
  }],
1521
1521
  /**
1522
1522
  * Border Color Bottom
1523
1523
  * @see https://tailwindcss.com/docs/border-color
1524
1524
  */
1525
1525
  "border-color-b": [{
1526
- "border-b": [s]
1526
+ "border-b": [l]
1527
1527
  }],
1528
1528
  /**
1529
1529
  * Border Color Left
1530
1530
  * @see https://tailwindcss.com/docs/border-color
1531
1531
  */
1532
1532
  "border-color-l": [{
1533
- "border-l": [s]
1533
+ "border-l": [l]
1534
1534
  }],
1535
1535
  /**
1536
1536
  * Divide Color
1537
1537
  * @see https://tailwindcss.com/docs/divide-color
1538
1538
  */
1539
1539
  "divide-color": [{
1540
- divide: [s]
1540
+ divide: [l]
1541
1541
  }],
1542
1542
  /**
1543
1543
  * Outline Style
@@ -2275,12 +2275,12 @@ function Ve(...e) {
2275
2275
  const Y = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Z = re, _e = (e, o) => (r) => {
2276
2276
  var t;
2277
2277
  if ((o == null ? void 0 : o.variants) == null) return Z(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
2278
- const { variants: s, defaultVariants: n } = o, i = Object.keys(s).map((c) => {
2278
+ const { variants: l, defaultVariants: n } = o, i = Object.keys(l).map((c) => {
2279
2279
  const b = r == null ? void 0 : r[c], h = n == null ? void 0 : n[c];
2280
2280
  if (b === null) return null;
2281
2281
  const g = Y(b) || Y(h);
2282
- return s[c][g];
2283
- }), l = r && Object.entries(r).reduce((c, b) => {
2282
+ return l[c][g];
2283
+ }), s = r && Object.entries(r).reduce((c, b) => {
2284
2284
  let [h, g] = b;
2285
2285
  return g === void 0 || (c[h] = g), c;
2286
2286
  }, {}), f = o == null || (t = o.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((c, b) => {
@@ -2289,10 +2289,10 @@ const Y = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Z = re, _e
2289
2289
  let [m, d] = y;
2290
2290
  return Array.isArray(d) ? d.includes({
2291
2291
  ...n,
2292
- ...l
2292
+ ...s
2293
2293
  }[m]) : {
2294
2294
  ...n,
2295
- ...l
2295
+ ...s
2296
2296
  }[m] === d;
2297
2297
  }) ? [
2298
2298
  ...c,
@@ -2308,9 +2308,9 @@ const Y = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Z = re, _e
2308
2308
  muted: "hsl(var(--muted))",
2309
2309
  accent: "hsl(var(--accent))"
2310
2310
  }, Le = {
2311
- sm: "var(--radius-sm)",
2312
- md: "var(--radius-md)",
2313
- lg: "var(--radius-lg)"
2311
+ sm: "var(--lume-radius-sm)",
2312
+ md: "var(--lume-radius-md)",
2313
+ lg: "var(--lume-radius-lg)"
2314
2314
  };
2315
2315
  export {
2316
2316
  Ve as cn,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hemia/lume-vue",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -19,7 +19,7 @@
19
19
  "typecheck": "vue-tsc --noEmit"
20
20
  },
21
21
  "dependencies": {
22
- "@hemia/lume-core": "^0.0.1"
22
+ "@hemia/lume-core": "^0.0.2"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"