@plyaz/ui 0.7.8 → 0.7.10
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/{Skeleton-BTwJmyVc.cjs → Skeleton-Bn2Kdinb.cjs} +2 -2
- package/dist/{Skeleton-CkBhpSHW.js → Skeleton-CnBXKh2c.js} +2 -2
- package/dist/client.cjs.js +3 -3
- package/dist/client.es.js +3 -3
- package/dist/index.cjs.js +13 -14
- package/dist/index.es.js +92 -85
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/Select/Select.d.ts.map +1 -1
- package/dist/types/components/Select/Select.stories.d.ts +0 -3
- package/dist/types/components/Select/Select.stories.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
- package/styles/utilities.css +27 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";var Mt=Object.defineProperty;var Dt=(e,t,r)=>t in e?Mt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var S=(e,t,r)=>Dt(e,typeof t!="symbol"?t+"":t,r);const T=require("react/jsx-runtime"),nt=require("@radix-ui/react-slot"),at=require("clsx"),st=require("react"),Pt=require("react-dom");function it(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 lt=it(st),Vt=it(Pt),Ne="-",Ft=e=>{const t=Gt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{const m=l.split(Ne);return m[0]===""&&m.length!==1&&m.shift(),ct(m,t)||Ut(l)},getConflictingClassGroupIds:(l,m)=>{const d=r[l]||[];return m&&o[l]?[...d,...o[l]]:d}}},ct=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),n=o?ct(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;const a=e.join(Ne);return(l=t.validators.find(({validator:m})=>m(a)))==null?void 0:l.classGroupId},Ue=/^\[(.+)\]$/,Ut=e=>{if(Ue.test(e)){const t=Ue.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Gt=e=>{const{theme:t,classGroups:r}=e,o={nextPart:new Map,validators:[]};for(const n in r)we(r[n],o,n,t);return o},we=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){const a=n===""?t:Ge(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(jt(n)){we(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,l])=>{we(l,Ge(t,a),r,o)})})},Ge=(e,t)=>{let r=e;return t.split(Ne).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},jt=e=>e.isThemeGetter,Bt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const n=(a,l)=>{r.set(a,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let l=r.get(a);if(l!==void 0)return l;if((l=o.get(a))!==void 0)return n(a,l),l},set(a,l){r.has(a)?r.set(a,l):n(a,l)}}},ye="!",Re=":",Kt=Re.length,$t=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=n=>{const a=[];let l=0,m=0,d=0,g;for(let k=0;k<n.length;k++){let w=n[k];if(l===0&&m===0){if(w===Re){a.push(n.slice(d,k)),d=k+Kt;continue}if(w==="/"){g=k;continue}}w==="["?l++:w==="]"?l--:w==="("?m++:w===")"&&m--}const b=a.length===0?n:n.substring(d),x=Ht(b),A=x!==b,z=g&&g>d?g-d:void 0;return{modifiers:a,hasImportantModifier:A,baseClassName:x,maybePostfixModifierPosition:z}};if(t){const n=t+Re,a=o;o=l=>l.startsWith(n)?a(l.substring(n.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(r){const n=o;o=a=>r({className:a,parseClassName:n})}return o},Ht=e=>e.endsWith(ye)?e.substring(0,e.length-1):e.startsWith(ye)?e.substring(1):e,Wt=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const n=[];let a=[];return o.forEach(l=>{l[0]==="["||t[l]?(n.push(...a.sort(),l),a=[]):a.push(l)}),n.push(...a.sort()),n}},qt=e=>({cache:Bt(e.cacheSize),parseClassName:$t(e),sortModifiers:Wt(e),...Ft(e)}),Yt=/\s+/,Jt=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:a}=t,l=[],m=e.trim().split(Yt);let d="";for(let g=m.length-1;g>=0;g-=1){const b=m[g],{isExternal:x,modifiers:A,hasImportantModifier:z,baseClassName:k,maybePostfixModifierPosition:w}=r(b);if(x){d=b+(d.length>0?" "+d:d);continue}let N=!!w,M=o(N?k.substring(0,w):k);if(!M){if(!N){d=b+(d.length>0?" "+d:d);continue}if(M=o(k),!M){d=b+(d.length>0?" "+d:d);continue}N=!1}const ne=a(A).join(":"),ee=z?ne+ye:ne,G=ee+M;if(l.includes(G))continue;l.push(G);const j=n(M,N);for(let D=0;D<j.length;++D){const te=j[D];l.push(ee+te)}d=b+(d.length>0?" "+d:d)}return d};function Xt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=dt(t))&&(o&&(o+=" "),o+=r);return o}const dt=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=dt(e[o]))&&(r&&(r+=" "),r+=t);return r};function Qt(e,...t){let r,o,n,a=l;function l(d){const g=t.reduce((b,x)=>x(b),e());return r=qt(g),o=r.cache.get,n=r.cache.set,a=m,m(d)}function m(d){const g=o(d);if(g)return g;const b=Jt(d,r);return n(d,b),b}return function(){return a(Xt.apply(null,arguments))}}const h=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},ut=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,mt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Zt=/^\d+\/\d+$/,er=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tr=/\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$/,rr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,or=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,K=e=>Zt.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),L=e=>!!e&&Number.isInteger(Number(e)),he=e=>e.endsWith("%")&&p(e.slice(0,-1)),C=e=>er.test(e),ar=()=>!0,sr=e=>tr.test(e)&&!rr.test(e),ft=()=>!1,ir=e=>or.test(e),lr=e=>nr.test(e),cr=e=>!s(e)&&!i(e),dr=e=>Q(e,bt,ft),s=e=>ut.test(e),V=e=>Q(e,ht,sr),ve=e=>Q(e,gr,p),je=e=>Q(e,pt,ft),ur=e=>Q(e,gt,lr),de=e=>Q(e,vt,ir),i=e=>mt.test(e),re=e=>Z(e,ht),mr=e=>Z(e,br),Be=e=>Z(e,pt),fr=e=>Z(e,bt),pr=e=>Z(e,gt),ue=e=>Z(e,vt,!0),Q=(e,t,r)=>{const o=ut.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},Z=(e,t,r=!1)=>{const o=mt.exec(e);return o?o[1]?t(o[1]):r:!1},pt=e=>e==="position"||e==="percentage",gt=e=>e==="image"||e==="url",bt=e=>e==="length"||e==="size"||e==="bg-size",ht=e=>e==="length",gr=e=>e==="number",br=e=>e==="family-name",vt=e=>e==="shadow",hr=()=>{const e=h("color"),t=h("font"),r=h("text"),o=h("font-weight"),n=h("tracking"),a=h("leading"),l=h("breakpoint"),m=h("container"),d=h("spacing"),g=h("radius"),b=h("shadow"),x=h("inset-shadow"),A=h("text-shadow"),z=h("drop-shadow"),k=h("blur"),w=h("perspective"),N=h("aspect"),M=h("ease"),ne=h("animate"),ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],j=()=>[...G(),i,s],D=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto","contain","none"],u=()=>[i,s,d],I=()=>[K,"full","auto",...u()],Te=()=>[L,"none","subgrid",i,s],Le=()=>["auto",{span:["full",L,i,s]},L,i,s],ae=()=>[L,"auto",i,s],ze=()=>["auto","min","max","fr",i,s],pe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],B=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...u()],P=()=>[K,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...u()],c=()=>[e,i,s],Me=()=>[...G(),Be,je,{position:[i,s]}],De=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Pe=()=>["auto","cover","contain",fr,dr,{size:[i,s]}],ge=()=>[he,re,V],_=()=>["","none","full",g,i,s],y=()=>["",p,re,V],se=()=>["solid","dashed","dotted","double"],Ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],v=()=>[p,he,Be,je],Fe=()=>["","none",k,i,s],ie=()=>["none",p,i,s],le=()=>["none",p,i,s],be=()=>[p,i,s],ce=()=>[K,"full",...u()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[C],breakpoint:[C],color:[ar],container:[C],"drop-shadow":[C],ease:["in","out","in-out"],font:[cr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[C],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[C],shadow:[C],spacing:["px",p],text:[C],"text-shadow":[C],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",K,s,i,N]}],container:["container"],columns:[{columns:[p,s,i,m]}],"break-after":[{"break-after":ee()}],"break-before":[{"break-before":ee()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],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:j()}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[L,"auto",i,s]}],basis:[{basis:[K,"full","auto",m,...u()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,K,"auto","initial","none",s]}],grow:[{grow:["",p,i,s]}],shrink:[{shrink:["",p,i,s]}],order:[{order:[L,"first","last","none",i,s]}],"grid-cols":[{"grid-cols":Te()}],"col-start-end":[{col:Le()}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":Te()}],"row-start-end":[{row:Le()}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ze()}],"auto-rows":[{"auto-rows":ze()}],gap:[{gap:u()}],"gap-x":[{"gap-x":u()}],"gap-y":[{"gap-y":u()}],"justify-content":[{justify:[...pe(),"normal"]}],"justify-items":[{"justify-items":[...B(),"normal"]}],"justify-self":[{"justify-self":["auto",...B()]}],"align-content":[{content:["normal",...pe()]}],"align-items":[{items:[...B(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...B(),{baseline:["","last"]}]}],"place-content":[{"place-content":pe()}],"place-items":[{"place-items":[...B(),"baseline"]}],"place-self":[{"place-self":["auto",...B()]}],p:[{p:u()}],px:[{px:u()}],py:[{py:u()}],ps:[{ps:u()}],pe:[{pe:u()}],pt:[{pt:u()}],pr:[{pr:u()}],pb:[{pb:u()}],pl:[{pl:u()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":u()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":u()}],"space-y-reverse":["space-y-reverse"],size:[{size:P()}],w:[{w:[m,"screen",...P()]}],"min-w":[{"min-w":[m,"screen","none",...P()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[l]},...P()]}],h:[{h:["screen","lh",...P()]}],"min-h":[{"min-h":["screen","lh","none",...P()]}],"max-h":[{"max-h":["screen","lh",...P()]}],"font-size":[{text:["base",r,re,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,i,ve]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",he,s]}],"font-family":[{font:[mr,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,i,s]}],"line-clamp":[{"line-clamp":[p,"none",i,ve]}],leading:[{leading:[a,...u()]}],"list-image":[{"list-image":["none",i,s]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",i,s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:c()}],"text-color":[{text:c()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",i,V]}],"text-decoration-color":[{decoration:c()}],"underline-offset":[{"underline-offset":[p,"auto",i,s]}],"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",i,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",i,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:Me()}],"bg-repeat":[{bg:De()}],"bg-size":[{bg:Pe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},L,i,s],radial:["",i,s],conic:[L,i,s]},pr,ur]}],"bg-color":[{bg:c()}],"gradient-from-pos":[{from:ge()}],"gradient-via-pos":[{via:ge()}],"gradient-to-pos":[{to:ge()}],"gradient-from":[{from:c()}],"gradient-via":[{via:c()}],"gradient-to":[{to:c()}],rounded:[{rounded:_()}],"rounded-s":[{"rounded-s":_()}],"rounded-e":[{"rounded-e":_()}],"rounded-t":[{"rounded-t":_()}],"rounded-r":[{"rounded-r":_()}],"rounded-b":[{"rounded-b":_()}],"rounded-l":[{"rounded-l":_()}],"rounded-ss":[{"rounded-ss":_()}],"rounded-se":[{"rounded-se":_()}],"rounded-ee":[{"rounded-ee":_()}],"rounded-es":[{"rounded-es":_()}],"rounded-tl":[{"rounded-tl":_()}],"rounded-tr":[{"rounded-tr":_()}],"rounded-br":[{"rounded-br":_()}],"rounded-bl":[{"rounded-bl":_()}],"border-w":[{border:y()}],"border-w-x":[{"border-x":y()}],"border-w-y":[{"border-y":y()}],"border-w-s":[{"border-s":y()}],"border-w-e":[{"border-e":y()}],"border-w-t":[{"border-t":y()}],"border-w-r":[{"border-r":y()}],"border-w-b":[{"border-b":y()}],"border-w-l":[{"border-l":y()}],"divide-x":[{"divide-x":y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...se(),"hidden","none"]}],"divide-style":[{divide:[...se(),"hidden","none"]}],"border-color":[{border:c()}],"border-color-x":[{"border-x":c()}],"border-color-y":[{"border-y":c()}],"border-color-s":[{"border-s":c()}],"border-color-e":[{"border-e":c()}],"border-color-t":[{"border-t":c()}],"border-color-r":[{"border-r":c()}],"border-color-b":[{"border-b":c()}],"border-color-l":[{"border-l":c()}],"divide-color":[{divide:c()}],"outline-style":[{outline:[...se(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,i,s]}],"outline-w":[{outline:["",p,re,V]}],"outline-color":[{outline:c()}],shadow:[{shadow:["","none",b,ue,de]}],"shadow-color":[{shadow:c()}],"inset-shadow":[{"inset-shadow":["none",x,ue,de]}],"inset-shadow-color":[{"inset-shadow":c()}],"ring-w":[{ring:y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:c()}],"ring-offset-w":[{"ring-offset":[p,V]}],"ring-offset-color":[{"ring-offset":c()}],"inset-ring-w":[{"inset-ring":y()}],"inset-ring-color":[{"inset-ring":c()}],"text-shadow":[{"text-shadow":["none",A,ue,de]}],"text-shadow-color":[{"text-shadow":c()}],opacity:[{opacity:[p,i,s]}],"mix-blend":[{"mix-blend":[...Ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ve()}],"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":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":v()}],"mask-image-linear-to-pos":[{"mask-linear-to":v()}],"mask-image-linear-from-color":[{"mask-linear-from":c()}],"mask-image-linear-to-color":[{"mask-linear-to":c()}],"mask-image-t-from-pos":[{"mask-t-from":v()}],"mask-image-t-to-pos":[{"mask-t-to":v()}],"mask-image-t-from-color":[{"mask-t-from":c()}],"mask-image-t-to-color":[{"mask-t-to":c()}],"mask-image-r-from-pos":[{"mask-r-from":v()}],"mask-image-r-to-pos":[{"mask-r-to":v()}],"mask-image-r-from-color":[{"mask-r-from":c()}],"mask-image-r-to-color":[{"mask-r-to":c()}],"mask-image-b-from-pos":[{"mask-b-from":v()}],"mask-image-b-to-pos":[{"mask-b-to":v()}],"mask-image-b-from-color":[{"mask-b-from":c()}],"mask-image-b-to-color":[{"mask-b-to":c()}],"mask-image-l-from-pos":[{"mask-l-from":v()}],"mask-image-l-to-pos":[{"mask-l-to":v()}],"mask-image-l-from-color":[{"mask-l-from":c()}],"mask-image-l-to-color":[{"mask-l-to":c()}],"mask-image-x-from-pos":[{"mask-x-from":v()}],"mask-image-x-to-pos":[{"mask-x-to":v()}],"mask-image-x-from-color":[{"mask-x-from":c()}],"mask-image-x-to-color":[{"mask-x-to":c()}],"mask-image-y-from-pos":[{"mask-y-from":v()}],"mask-image-y-to-pos":[{"mask-y-to":v()}],"mask-image-y-from-color":[{"mask-y-from":c()}],"mask-image-y-to-color":[{"mask-y-to":c()}],"mask-image-radial":[{"mask-radial":[i,s]}],"mask-image-radial-from-pos":[{"mask-radial-from":v()}],"mask-image-radial-to-pos":[{"mask-radial-to":v()}],"mask-image-radial-from-color":[{"mask-radial-from":c()}],"mask-image-radial-to-color":[{"mask-radial-to":c()}],"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":G()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":v()}],"mask-image-conic-to-pos":[{"mask-conic-to":v()}],"mask-image-conic-from-color":[{"mask-conic-from":c()}],"mask-image-conic-to-color":[{"mask-conic-to":c()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Me()}],"mask-repeat":[{mask:De()}],"mask-size":[{mask:Pe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",i,s]}],filter:[{filter:["","none",i,s]}],blur:[{blur:Fe()}],brightness:[{brightness:[p,i,s]}],contrast:[{contrast:[p,i,s]}],"drop-shadow":[{"drop-shadow":["","none",z,ue,de]}],"drop-shadow-color":[{"drop-shadow":c()}],grayscale:[{grayscale:["",p,i,s]}],"hue-rotate":[{"hue-rotate":[p,i,s]}],invert:[{invert:["",p,i,s]}],saturate:[{saturate:[p,i,s]}],sepia:[{sepia:["",p,i,s]}],"backdrop-filter":[{"backdrop-filter":["","none",i,s]}],"backdrop-blur":[{"backdrop-blur":Fe()}],"backdrop-brightness":[{"backdrop-brightness":[p,i,s]}],"backdrop-contrast":[{"backdrop-contrast":[p,i,s]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,i,s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,i,s]}],"backdrop-invert":[{"backdrop-invert":["",p,i,s]}],"backdrop-opacity":[{"backdrop-opacity":[p,i,s]}],"backdrop-saturate":[{"backdrop-saturate":[p,i,s]}],"backdrop-sepia":[{"backdrop-sepia":["",p,i,s]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":u()}],"border-spacing-x":[{"border-spacing-x":u()}],"border-spacing-y":[{"border-spacing-y":u()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",i,s]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",i,s]}],ease:[{ease:["linear","initial",M,i,s]}],delay:[{delay:[p,i,s]}],animate:[{animate:["none",ne,i,s]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,i,s]}],"perspective-origin":[{"perspective-origin":j()}],rotate:[{rotate:ie()}],"rotate-x":[{"rotate-x":ie()}],"rotate-y":[{"rotate-y":ie()}],"rotate-z":[{"rotate-z":ie()}],scale:[{scale:le()}],"scale-x":[{"scale-x":le()}],"scale-y":[{"scale-y":le()}],"scale-z":[{"scale-z":le()}],"scale-3d":["scale-3d"],skew:[{skew:be()}],"skew-x":[{"skew-x":be()}],"skew-y":[{"skew-y":be()}],transform:[{transform:[i,s,"","none","gpu","cpu"]}],"transform-origin":[{origin:j()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ce()}],"translate-x":[{"translate-x":ce()}],"translate-y":[{"translate-y":ce()}],"translate-z":[{"translate-z":ce()}],"translate-none":["translate-none"],accent:[{accent:c()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:c()}],"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",i,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":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",i,s]}],fill:[{fill:["none",...c()]}],"stroke-w":[{stroke:[p,re,V,ve]}],stroke:[{stroke:["none",...c()]}],"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"]}},vr=Qt(hr);function oe(...e){return vr(at.clsx(e))}const Ke=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,$e=at.clsx,_t=(e,t)=>r=>{var o;if((t==null?void 0:t.variants)==null)return $e(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:n,defaultVariants:a}=t,l=Object.keys(n).map(g=>{const b=r==null?void 0:r[g],x=a==null?void 0:a[g];if(b===null)return null;const A=Ke(b)||Ke(x);return n[g][A]}),m=r&&Object.entries(r).reduce((g,b)=>{let[x,A]=b;return A===void 0||(g[x]=A),g},{}),d=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((g,b)=>{let{class:x,className:A,...z}=b;return Object.entries(z).every(k=>{let[w,N]=k;return Array.isArray(N)?N.includes({...a,...m}[w]):{...a,...m}[w]===N})?[...g,x,A]:g},[]);return $e(e,l,d,r==null?void 0:r.class,r==null?void 0:r.className)},xt=_t("inline-flex justify-center cursor-pointer items-center gap-1.5 aria-invalid:border-destructive focus-visible:border-ring rounded-full outline-none aria-invalid:ring-destructive/20 focus-visible:ring-[3px] focus-visible:ring-ring/50 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 font-medium text-sm whitespace-nowrap [&_svg]:pointer-events-none disabled:pointer-events-none shrink-0 [&_svg]:shrink-0",{variants:{variant:{default:`
|
|
2
2
|
bg-primary-foreground text-background
|
|
3
|
-
hover
|
|
3
|
+
cta-hover hover:opacity-90
|
|
4
4
|
disabled:bg-secondary disabled:opacity-50
|
|
5
5
|
`,outline:`
|
|
6
6
|
text-secondary shadow-xs
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
disabled:opacity-50
|
|
10
10
|
`,secondary:`
|
|
11
11
|
text-secondary
|
|
12
|
-
hover
|
|
12
|
+
cta-hover transition-all duration-300
|
|
13
13
|
disabled:text-secondary disabled:opacity-50
|
|
14
14
|
`,destructive:`
|
|
15
15
|
bg-destructive text-white
|
|
@@ -2770,7 +2770,7 @@ const Ke = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, $e = at, f
|
|
|
2770
2770
|
variant: {
|
|
2771
2771
|
default: `
|
|
2772
2772
|
bg-primary-foreground text-background
|
|
2773
|
-
hover
|
|
2773
|
+
cta-hover hover:opacity-90
|
|
2774
2774
|
disabled:bg-secondary disabled:opacity-50
|
|
2775
2775
|
`,
|
|
2776
2776
|
outline: `
|
|
@@ -2781,7 +2781,7 @@ const Ke = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, $e = at, f
|
|
|
2781
2781
|
`,
|
|
2782
2782
|
secondary: `
|
|
2783
2783
|
text-secondary
|
|
2784
|
-
hover
|
|
2784
|
+
cta-hover transition-all duration-300
|
|
2785
2785
|
disabled:text-secondary disabled:opacity-50
|
|
2786
2786
|
`,
|
|
2787
2787
|
destructive: `
|