@desafio-design-system_/reflow-ui 0.2.8 → 0.3.1
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +58 -59
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react/jsx-runtime");function ve(e){var r,o,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(r=0;r<l;r++)e[r]&&(o=ve(e[r]))&&(t&&(t+=" "),t+=o)}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function ze(){for(var e,r,o=0,t="",l=arguments.length;o<l;o++)(e=arguments[o])&&(r=ve(e))&&(t&&(t+=" "),t+=r);return t}const Ve=(e,r)=>{const o=new Array(e.length+r.length);for(let t=0;t<e.length;t++)o[t]=e[t];for(let t=0;t<r.length;t++)o[e.length+t]=r[t];return o},Le=(e,r)=>({classGroupId:e,validator:r}),Ce=(e=new Map,r=null,o)=>({nextPart:e,validators:r,classGroupId:o}),Z="-",be=[],Ee="arbitrary..",Be=e=>{const r=Fe(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return _e(a);const u=a.split(Z),c=u[0]===""&&u.length>1?1:0;return Se(u,c,r)},getConflictingClassGroupIds:(a,u)=>{if(u){const c=t[a],f=o[a];return c?f?Ve(f,c):c:f||be}return o[a]||be}}},Se=(e,r,o)=>{if(e.length-r===0)return o.classGroupId;const l=e[r],i=o.nextPart.get(l);if(i){const f=Se(e,r+1,i);if(f)return f}const a=o.validators;if(a===null)return;const u=r===0?e.join(Z):e.slice(r).join(Z),c=a.length;for(let f=0;f<c;f++){const b=a[f];if(b.validator(u))return b.classGroupId}},_e=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),o=r.indexOf(":"),t=r.slice(0,o);return t?Ee+t:void 0})(),Fe=e=>{const{theme:r,classGroups:o}=e;return We(o,r)},We=(e,r)=>{const o=Ce();for(const t in e){const l=e[t];ae(l,o,t,r)}return o},ae=(e,r,o,t)=>{const l=e.length;for(let i=0;i<l;i++){const a=e[i];$e(a,r,o,t)}},$e=(e,r,o,t)=>{if(typeof e=="string"){Ue(e,r,o);return}if(typeof e=="function"){De(e,r,o,t);return}Ye(e,r,o,t)},Ue=(e,r,o)=>{const t=e===""?r:Ae(r,e);t.classGroupId=o},De=(e,r,o,t)=>{if(qe(e)){ae(e(t),r,o,t);return}r.validators===null&&(r.validators=[]),r.validators.push(Le(o,e))},Ye=(e,r,o,t)=>{const l=Object.entries(e),i=l.length;for(let a=0;a<i;a++){const[u,c]=l[a];ae(c,Ae(r,u),o,t)}},Ae=(e,r)=>{let o=e;const t=r.split(Z),l=t.length;for(let i=0;i<l;i++){const a=t[i];let u=o.nextPart.get(a);u||(u=Ce(),o.nextPart.set(a,u)),o=u}return o},qe=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Xe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=Object.create(null),t=Object.create(null);const l=(i,a)=>{o[i]=a,r++,r>e&&(r=0,t=o,o=Object.create(null))};return{get(i){let a=o[i];if(a!==void 0)return a;if((a=t[i])!==void 0)return l(i,a),a},set(i,a){i in o?o[i]=a:l(i,a)}}},se="!",ge=":",Je=[],he=(e,r,o,t,l)=>({modifiers:e,hasImportantModifier:r,baseClassName:o,maybePostfixModifierPosition:t,isExternal:l}),Ke=e=>{const{prefix:r,experimentalParseClassName:o}=e;let t=l=>{const i=[];let a=0,u=0,c=0,f;const b=l.length;for(let v=0;v<b;v++){const k=l[v];if(a===0&&u===0){if(k===ge){i.push(l.slice(c,v)),c=v+1;continue}if(k==="/"){f=v;continue}}k==="["?a++:k==="]"?a--:k==="("?u++:k===")"&&u--}const x=i.length===0?l:l.slice(c);let y=x,S=!1;x.endsWith(se)?(y=x.slice(0,-1),S=!0):x.startsWith(se)&&(y=x.slice(1),S=!0);const A=f&&f>c?f-c:void 0;return he(i,S,y,A)};if(r){const l=r+ge,i=t;t=a=>a.startsWith(l)?i(a.slice(l.length)):he(Je,!1,a,void 0,!0)}if(o){const l=t;t=i=>o({className:i,parseClassName:l})}return t},He=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((o,t)=>{r.set(o,1e6+t)}),o=>{const t=[];let l=[];for(let i=0;i<o.length;i++){const a=o[i],u=a[0]==="[",c=r.has(a);u||c?(l.length>0&&(l.sort(),t.push(...l),l=[]),t.push(a)):l.push(a)}return l.length>0&&(l.sort(),t.push(...l)),t}},Qe=e=>({cache:Xe(e.cacheSize),parseClassName:Ke(e),sortModifiers:He(e),...Be(e)}),Ze=/\s+/,eo=(e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:l,sortModifiers:i}=r,a=[],u=e.trim().split(Ze);let c="";for(let f=u.length-1;f>=0;f-=1){const b=u[f],{isExternal:x,modifiers:y,hasImportantModifier:S,baseClassName:A,maybePostfixModifierPosition:v}=o(b);if(x){c=b+(c.length>0?" "+c:c);continue}let k=!!v,I=t(k?A.substring(0,v):A);if(!I){if(!k){c=b+(c.length>0?" "+c:c);continue}if(I=t(A),!I){c=b+(c.length>0?" "+c:c);continue}k=!1}const D=y.length===0?"":y.length===1?y[0]:i(y).join(":"),W=S?D+se:D,V=W+I;if(a.indexOf(V)>-1)continue;a.push(V);const L=l(I,k);for(let P=0;P<L.length;++P){const $=L[P];a.push(W+$)}c=b+(c.length>0?" "+c:c)}return c},oo=(...e)=>{let r=0,o,t,l="";for(;r<e.length;)(o=e[r++])&&(t=Re(o))&&(l&&(l+=" "),l+=t);return l},Re=e=>{if(typeof e=="string")return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=Re(e[t]))&&(o&&(o+=" "),o+=r);return o},to=(e,...r)=>{let o,t,l,i;const a=c=>{const f=r.reduce((b,x)=>x(b),e());return o=Qe(f),t=o.cache.get,l=o.cache.set,i=u,u(c)},u=c=>{const f=t(c);if(f)return f;const b=eo(c,o);return l(c,b),b};return i=a,(...c)=>i(oo(...c))},ro=[],g=e=>{const r=o=>o[e]||ro;return r.isThemeGetter=!0,r},Ne=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,je=/^\((?:(\w[\w-]*):)?(.+)\)$/i,no=/^\d+\/\d+$/,so=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ao=/\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$/,lo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,io=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,co=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>no.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),re=e=>e.endsWith("%")&&p(e.slice(0,-1)),j=e=>so.test(e),mo=()=>!0,uo=e=>ao.test(e)&&!lo.test(e),Me=()=>!1,po=e=>io.test(e),fo=e=>co.test(e),bo=e=>!n(e)&&!s(e),go=e=>_(e,Pe,Me),n=e=>Ne.test(e),G=e=>_(e,Oe,uo),ne=e=>_(e,wo,p),xe=e=>_(e,Te,Me),ho=e=>_(e,Ie,fo),H=e=>_(e,Ge,po),s=e=>je.test(e),U=e=>F(e,Oe),xo=e=>F(e,vo),ye=e=>F(e,Te),yo=e=>F(e,Pe),ko=e=>F(e,Ie),Q=e=>F(e,Ge,!0),_=(e,r,o)=>{const t=Ne.exec(e);return t?t[1]?r(t[1]):o(t[2]):!1},F=(e,r,o=!1)=>{const t=je.exec(e);return t?t[1]?r(t[1]):o:!1},Te=e=>e==="position"||e==="percentage",Ie=e=>e==="image"||e==="url",Pe=e=>e==="length"||e==="size"||e==="bg-size",Oe=e=>e==="length",wo=e=>e==="number",vo=e=>e==="family-name",Ge=e=>e==="shadow",zo=()=>{const e=g("color"),r=g("font"),o=g("text"),t=g("font-weight"),l=g("tracking"),i=g("leading"),a=g("breakpoint"),u=g("container"),c=g("spacing"),f=g("radius"),b=g("shadow"),x=g("inset-shadow"),y=g("text-shadow"),S=g("drop-shadow"),A=g("blur"),v=g("perspective"),k=g("aspect"),I=g("ease"),D=g("animate"),W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...V(),s,n],P=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],m=()=>[s,n,c],R=()=>[B,"full","auto",...m()],le=()=>[M,"none","subgrid",s,n],ie=()=>["auto",{span:["full",M,s,n]},M,s,n],Y=()=>[M,"auto",s,n],ce=()=>["auto","min","max","fr",s,n],ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],E=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...m()],O=()=>[B,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],d=()=>[e,s,n],de=()=>[...V(),ye,xe,{position:[s,n]}],me=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ue=()=>["auto","cover","contain",yo,go,{size:[s,n]}],oe=()=>[re,U,G],w=()=>["","none","full",f,s,n],z=()=>["",p,U,G],q=()=>["solid","dashed","dotted","double"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],h=()=>[p,re,ye,xe],fe=()=>["","none",A,s,n],X=()=>["none",p,s,n],J=()=>["none",p,s,n],te=()=>[p,s,n],K=()=>[B,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[j],breakpoint:[j],color:[mo],container:[j],"drop-shadow":[j],ease:["in","out","in-out"],font:[bo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[j],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[j],shadow:[j],spacing:["px",p],text:[j],"text-shadow":[j],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",B,n,s,k]}],container:["container"],columns:[{columns:[p,n,s,u]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"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:L()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:R()}],"inset-x":[{"inset-x":R()}],"inset-y":[{"inset-y":R()}],start:[{start:R()}],end:[{end:R()}],top:[{top:R()}],right:[{right:R()}],bottom:[{bottom:R()}],left:[{left:R()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",s,n]}],basis:[{basis:[B,"full","auto",u,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,B,"auto","initial","none",n]}],grow:[{grow:["",p,s,n]}],shrink:[{shrink:["",p,s,n]}],order:[{order:[M,"first","last","none",s,n]}],"grid-cols":[{"grid-cols":le()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":le()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ce()}],"auto-rows":[{"auto-rows":ce()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...ee(),"normal"]}],"justify-items":[{"justify-items":[...E(),"normal"]}],"justify-self":[{"justify-self":["auto",...E()]}],"align-content":[{content:["normal",...ee()]}],"align-items":[{items:[...E(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...E(),{baseline:["","last"]}]}],"place-content":[{"place-content":ee()}],"place-items":[{"place-items":[...E(),"baseline"]}],"place-self":[{"place-self":["auto",...E()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[u,"screen",...O()]}],"min-w":[{"min-w":[u,"screen","none",...O()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[a]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",o,U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,s,ne]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",re,n]}],"font-family":[{font:[xo,n,r]}],"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:[l,s,n]}],"line-clamp":[{"line-clamp":[p,"none",s,ne]}],leading:[{leading:[i,...m()]}],"list-image":[{"list-image":["none",s,n]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",s,n]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:d()}],"text-color":[{text:d()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",s,G]}],"text-decoration-color":[{decoration:d()}],"underline-offset":[{"underline-offset":[p,"auto",s,n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",s,n]}],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",s,n]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:de()}],"bg-repeat":[{bg:me()}],"bg-size":[{bg:ue()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,s,n],radial:["",s,n],conic:[M,s,n]},ko,ho]}],"bg-color":[{bg:d()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:d()}],"gradient-via":[{via:d()}],"gradient-to":[{to:d()}],rounded:[{rounded:w()}],"rounded-s":[{"rounded-s":w()}],"rounded-e":[{"rounded-e":w()}],"rounded-t":[{"rounded-t":w()}],"rounded-r":[{"rounded-r":w()}],"rounded-b":[{"rounded-b":w()}],"rounded-l":[{"rounded-l":w()}],"rounded-ss":[{"rounded-ss":w()}],"rounded-se":[{"rounded-se":w()}],"rounded-ee":[{"rounded-ee":w()}],"rounded-es":[{"rounded-es":w()}],"rounded-tl":[{"rounded-tl":w()}],"rounded-tr":[{"rounded-tr":w()}],"rounded-br":[{"rounded-br":w()}],"rounded-bl":[{"rounded-bl":w()}],"border-w":[{border:z()}],"border-w-x":[{"border-x":z()}],"border-w-y":[{"border-y":z()}],"border-w-s":[{"border-s":z()}],"border-w-e":[{"border-e":z()}],"border-w-t":[{"border-t":z()}],"border-w-r":[{"border-r":z()}],"border-w-b":[{"border-b":z()}],"border-w-l":[{"border-l":z()}],"divide-x":[{"divide-x":z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...q(),"hidden","none"]}],"divide-style":[{divide:[...q(),"hidden","none"]}],"border-color":[{border:d()}],"border-color-x":[{"border-x":d()}],"border-color-y":[{"border-y":d()}],"border-color-s":[{"border-s":d()}],"border-color-e":[{"border-e":d()}],"border-color-t":[{"border-t":d()}],"border-color-r":[{"border-r":d()}],"border-color-b":[{"border-b":d()}],"border-color-l":[{"border-l":d()}],"divide-color":[{divide:d()}],"outline-style":[{outline:[...q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,s,n]}],"outline-w":[{outline:["",p,U,G]}],"outline-color":[{outline:d()}],shadow:[{shadow:["","none",b,Q,H]}],"shadow-color":[{shadow:d()}],"inset-shadow":[{"inset-shadow":["none",x,Q,H]}],"inset-shadow-color":[{"inset-shadow":d()}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:d()}],"ring-offset-w":[{"ring-offset":[p,G]}],"ring-offset-color":[{"ring-offset":d()}],"inset-ring-w":[{"inset-ring":z()}],"inset-ring-color":[{"inset-ring":d()}],"text-shadow":[{"text-shadow":["none",y,Q,H]}],"text-shadow-color":[{"text-shadow":d()}],opacity:[{opacity:[p,s,n]}],"mix-blend":[{"mix-blend":[...pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pe()}],"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":h()}],"mask-image-linear-to-pos":[{"mask-linear-to":h()}],"mask-image-linear-from-color":[{"mask-linear-from":d()}],"mask-image-linear-to-color":[{"mask-linear-to":d()}],"mask-image-t-from-pos":[{"mask-t-from":h()}],"mask-image-t-to-pos":[{"mask-t-to":h()}],"mask-image-t-from-color":[{"mask-t-from":d()}],"mask-image-t-to-color":[{"mask-t-to":d()}],"mask-image-r-from-pos":[{"mask-r-from":h()}],"mask-image-r-to-pos":[{"mask-r-to":h()}],"mask-image-r-from-color":[{"mask-r-from":d()}],"mask-image-r-to-color":[{"mask-r-to":d()}],"mask-image-b-from-pos":[{"mask-b-from":h()}],"mask-image-b-to-pos":[{"mask-b-to":h()}],"mask-image-b-from-color":[{"mask-b-from":d()}],"mask-image-b-to-color":[{"mask-b-to":d()}],"mask-image-l-from-pos":[{"mask-l-from":h()}],"mask-image-l-to-pos":[{"mask-l-to":h()}],"mask-image-l-from-color":[{"mask-l-from":d()}],"mask-image-l-to-color":[{"mask-l-to":d()}],"mask-image-x-from-pos":[{"mask-x-from":h()}],"mask-image-x-to-pos":[{"mask-x-to":h()}],"mask-image-x-from-color":[{"mask-x-from":d()}],"mask-image-x-to-color":[{"mask-x-to":d()}],"mask-image-y-from-pos":[{"mask-y-from":h()}],"mask-image-y-to-pos":[{"mask-y-to":h()}],"mask-image-y-from-color":[{"mask-y-from":d()}],"mask-image-y-to-color":[{"mask-y-to":d()}],"mask-image-radial":[{"mask-radial":[s,n]}],"mask-image-radial-from-pos":[{"mask-radial-from":h()}],"mask-image-radial-to-pos":[{"mask-radial-to":h()}],"mask-image-radial-from-color":[{"mask-radial-from":d()}],"mask-image-radial-to-color":[{"mask-radial-to":d()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":h()}],"mask-image-conic-to-pos":[{"mask-conic-to":h()}],"mask-image-conic-from-color":[{"mask-conic-from":d()}],"mask-image-conic-to-color":[{"mask-conic-to":d()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:de()}],"mask-repeat":[{mask:me()}],"mask-size":[{mask:ue()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",s,n]}],filter:[{filter:["","none",s,n]}],blur:[{blur:fe()}],brightness:[{brightness:[p,s,n]}],contrast:[{contrast:[p,s,n]}],"drop-shadow":[{"drop-shadow":["","none",S,Q,H]}],"drop-shadow-color":[{"drop-shadow":d()}],grayscale:[{grayscale:["",p,s,n]}],"hue-rotate":[{"hue-rotate":[p,s,n]}],invert:[{invert:["",p,s,n]}],saturate:[{saturate:[p,s,n]}],sepia:[{sepia:["",p,s,n]}],"backdrop-filter":[{"backdrop-filter":["","none",s,n]}],"backdrop-blur":[{"backdrop-blur":fe()}],"backdrop-brightness":[{"backdrop-brightness":[p,s,n]}],"backdrop-contrast":[{"backdrop-contrast":[p,s,n]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,s,n]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,s,n]}],"backdrop-invert":[{"backdrop-invert":["",p,s,n]}],"backdrop-opacity":[{"backdrop-opacity":[p,s,n]}],"backdrop-saturate":[{"backdrop-saturate":[p,s,n]}],"backdrop-sepia":[{"backdrop-sepia":["",p,s,n]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",s,n]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",s,n]}],ease:[{ease:["linear","initial",I,s,n]}],delay:[{delay:[p,s,n]}],animate:[{animate:["none",D,s,n]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,s,n]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:te()}],"skew-x":[{"skew-x":te()}],"skew-y":[{"skew-y":te()}],transform:[{transform:[s,n,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:K()}],"translate-x":[{"translate-x":K()}],"translate-y":[{"translate-y":K()}],"translate-z":[{"translate-z":K()}],"translate-none":["translate-none"],accent:[{accent:d()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:d()}],"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",s,n]}],"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":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",s,n]}],fill:[{fill:["none",...d()]}],"stroke-w":[{stroke:[p,U,G,ne]}],stroke:[{stroke:["none",...d()]}],"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"]}},T=to(zo);function Co(...e){return T(ze(e))}function So({title:e,description:r,icon:o,className:t,button:l,textarea:i,...a}){const u={md:"font-medium text-sm font-inter",lg:"font-extrabold text-3xl leading-relaxed text-typography-title"};return C.jsxs("div",{className:"flex flex-row",children:[o&&C.jsx("div",{className:T("p-3 text-primary-base",t),children:o}),C.jsxs("div",{className:"flex flex-col",children:[e&&C.jsx("h2",{className:T(u.lg),children:e}),a.header&&C.jsx("h4",{className:T("",u.md),children:a.header}),r&&C.jsx("p",{className:T("text-sm font-inter text-typography-body ml-1",u.md),children:r})]})]})}const ke=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,we=ze,Ao=(e,r)=>o=>{var t;if((r==null?void 0:r.variants)==null)return we(e,o==null?void 0:o.class,o==null?void 0:o.className);const{variants:l,defaultVariants:i}=r,a=Object.keys(l).map(f=>{const b=o==null?void 0:o[f],x=i==null?void 0:i[f];if(b===null)return null;const y=ke(b)||ke(x);return l[f][y]}),u=o&&Object.entries(o).reduce((f,b)=>{let[x,y]=b;return y===void 0||(f[x]=y),f},{}),c=r==null||(t=r.compoundVariants)===null||t===void 0?void 0:t.reduce((f,b)=>{let{class:x,className:y,...S}=b;return Object.entries(S).every(A=>{let[v,k]=A;return Array.isArray(k)?k.includes({...i,...u}[v]):{...i,...u}[v]===k})?[...f,x,y]:f},[]);return we(e,a,c,o==null?void 0:o.class,o==null?void 0:o.className)},Ro=Ao("button-config",{variants:{textColor:{primary:"text-darker",secondary:"text-fg"},backgroundType:{light:"bg-primary-base",dark:"bg-secondary-default"},textOnly:{primary:"flex flex-row items-center"},both:{primary:"flex flex-row items-center justify-between"},size:{primaryTextonly:"pl-4 pr-4 font-inter h-9 min-w-36",secondaryTextonly:"h-9 w-24",primaryBoth:"gap-2 min-h-9 min-w-44 pt-2 pb-2 pl-4 pr-4",secondaryBoth:"w-24 h-7"},fontSize:{small:"text-sm",medium:"text-md",large:"text-lg"},fontWeight:{medium:"font-normal",bold:"font-bold"}}});function No({icon:e,label:r,onClick:o,...t}){return C.jsxs("button",{onClick:o,className:T("rounded-md leading-none",t.className,Ro({textColor:t.textColor,backgroundType:t.backgroundType,both:t.both,size:t.size,textOnly:t.textOnly,fontSize:t.fontSize})),children:[e&&C.jsx("span",{className:T(t.iconClassName),children:e}),r&&C.jsx("span",{className:T(t.labelClassName),children:r}),C.jsx("a",{href:"",className:"rounded-md "})]})}exports.Button=No;exports.ContentBlock=So;exports.cn=Co;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("react/jsx-runtime");function ve(e){var r,o,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(r=0;r<l;r++)e[r]&&(o=ve(e[r]))&&(t&&(t+=" "),t+=o)}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function ze(){for(var e,r,o=0,t="",l=arguments.length;o<l;o++)(e=arguments[o])&&(r=ve(e))&&(t&&(t+=" "),t+=r);return t}const Ve=(e,r)=>{const o=new Array(e.length+r.length);for(let t=0;t<e.length;t++)o[t]=e[t];for(let t=0;t<r.length;t++)o[e.length+t]=r[t];return o},Le=(e,r)=>({classGroupId:e,validator:r}),Ce=(e=new Map,r=null,o)=>({nextPart:e,validators:r,classGroupId:o}),Z="-",be=[],Ee="arbitrary..",Be=e=>{const r=Fe(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return _e(a);const u=a.split(Z),c=u[0]===""&&u.length>1?1:0;return Se(u,c,r)},getConflictingClassGroupIds:(a,u)=>{if(u){const c=t[a],f=o[a];return c?f?Ve(f,c):c:f||be}return o[a]||be}}},Se=(e,r,o)=>{if(e.length-r===0)return o.classGroupId;const l=e[r],i=o.nextPart.get(l);if(i){const f=Se(e,r+1,i);if(f)return f}const a=o.validators;if(a===null)return;const u=r===0?e.join(Z):e.slice(r).join(Z),c=a.length;for(let f=0;f<c;f++){const b=a[f];if(b.validator(u))return b.classGroupId}},_e=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),o=r.indexOf(":"),t=r.slice(0,o);return t?Ee+t:void 0})(),Fe=e=>{const{theme:r,classGroups:o}=e;return We(o,r)},We=(e,r)=>{const o=Ce();for(const t in e){const l=e[t];ae(l,o,t,r)}return o},ae=(e,r,o,t)=>{const l=e.length;for(let i=0;i<l;i++){const a=e[i];$e(a,r,o,t)}},$e=(e,r,o,t)=>{if(typeof e=="string"){Ue(e,r,o);return}if(typeof e=="function"){De(e,r,o,t);return}Ye(e,r,o,t)},Ue=(e,r,o)=>{const t=e===""?r:Ae(r,e);t.classGroupId=o},De=(e,r,o,t)=>{if(qe(e)){ae(e(t),r,o,t);return}r.validators===null&&(r.validators=[]),r.validators.push(Le(o,e))},Ye=(e,r,o,t)=>{const l=Object.entries(e),i=l.length;for(let a=0;a<i;a++){const[u,c]=l[a];ae(c,Ae(r,u),o,t)}},Ae=(e,r)=>{let o=e;const t=r.split(Z),l=t.length;for(let i=0;i<l;i++){const a=t[i];let u=o.nextPart.get(a);u||(u=Ce(),o.nextPart.set(a,u)),o=u}return o},qe=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Xe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=Object.create(null),t=Object.create(null);const l=(i,a)=>{o[i]=a,r++,r>e&&(r=0,t=o,o=Object.create(null))};return{get(i){let a=o[i];if(a!==void 0)return a;if((a=t[i])!==void 0)return l(i,a),a},set(i,a){i in o?o[i]=a:l(i,a)}}},se="!",ge=":",Je=[],he=(e,r,o,t,l)=>({modifiers:e,hasImportantModifier:r,baseClassName:o,maybePostfixModifierPosition:t,isExternal:l}),Ke=e=>{const{prefix:r,experimentalParseClassName:o}=e;let t=l=>{const i=[];let a=0,u=0,c=0,f;const b=l.length;for(let v=0;v<b;v++){const k=l[v];if(a===0&&u===0){if(k===ge){i.push(l.slice(c,v)),c=v+1;continue}if(k==="/"){f=v;continue}}k==="["?a++:k==="]"?a--:k==="("?u++:k===")"&&u--}const x=i.length===0?l:l.slice(c);let y=x,C=!1;x.endsWith(se)?(y=x.slice(0,-1),C=!0):x.startsWith(se)&&(y=x.slice(1),C=!0);const S=f&&f>c?f-c:void 0;return he(i,C,y,S)};if(r){const l=r+ge,i=t;t=a=>a.startsWith(l)?i(a.slice(l.length)):he(Je,!1,a,void 0,!0)}if(o){const l=t;t=i=>o({className:i,parseClassName:l})}return t},He=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((o,t)=>{r.set(o,1e6+t)}),o=>{const t=[];let l=[];for(let i=0;i<o.length;i++){const a=o[i],u=a[0]==="[",c=r.has(a);u||c?(l.length>0&&(l.sort(),t.push(...l),l=[]),t.push(a)):l.push(a)}return l.length>0&&(l.sort(),t.push(...l)),t}},Qe=e=>({cache:Xe(e.cacheSize),parseClassName:Ke(e),sortModifiers:He(e),...Be(e)}),Ze=/\s+/,eo=(e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:l,sortModifiers:i}=r,a=[],u=e.trim().split(Ze);let c="";for(let f=u.length-1;f>=0;f-=1){const b=u[f],{isExternal:x,modifiers:y,hasImportantModifier:C,baseClassName:S,maybePostfixModifierPosition:v}=o(b);if(x){c=b+(c.length>0?" "+c:c);continue}let k=!!v,I=t(k?S.substring(0,v):S);if(!I){if(!k){c=b+(c.length>0?" "+c:c);continue}if(I=t(S),!I){c=b+(c.length>0?" "+c:c);continue}k=!1}const D=y.length===0?"":y.length===1?y[0]:i(y).join(":"),W=C?D+se:D,V=W+I;if(a.indexOf(V)>-1)continue;a.push(V);const L=l(I,k);for(let P=0;P<L.length;++P){const $=L[P];a.push(W+$)}c=b+(c.length>0?" "+c:c)}return c},oo=(...e)=>{let r=0,o,t,l="";for(;r<e.length;)(o=e[r++])&&(t=Re(o))&&(l&&(l+=" "),l+=t);return l},Re=e=>{if(typeof e=="string")return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=Re(e[t]))&&(o&&(o+=" "),o+=r);return o},to=(e,...r)=>{let o,t,l,i;const a=c=>{const f=r.reduce((b,x)=>x(b),e());return o=Qe(f),t=o.cache.get,l=o.cache.set,i=u,u(c)},u=c=>{const f=t(c);if(f)return f;const b=eo(c,o);return l(c,b),b};return i=a,(...c)=>i(oo(...c))},ro=[],g=e=>{const r=o=>o[e]||ro;return r.isThemeGetter=!0,r},Ne=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,je=/^\((?:(\w[\w-]*):)?(.+)\)$/i,no=/^\d+\/\d+$/,so=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ao=/\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$/,lo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,io=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,co=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>no.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),re=e=>e.endsWith("%")&&p(e.slice(0,-1)),N=e=>so.test(e),mo=()=>!0,uo=e=>ao.test(e)&&!lo.test(e),Me=()=>!1,po=e=>io.test(e),fo=e=>co.test(e),bo=e=>!n(e)&&!s(e),go=e=>_(e,Pe,Me),n=e=>Ne.test(e),G=e=>_(e,Oe,uo),ne=e=>_(e,wo,p),xe=e=>_(e,Te,Me),ho=e=>_(e,Ie,fo),H=e=>_(e,Ge,po),s=e=>je.test(e),U=e=>F(e,Oe),xo=e=>F(e,vo),ye=e=>F(e,Te),yo=e=>F(e,Pe),ko=e=>F(e,Ie),Q=e=>F(e,Ge,!0),_=(e,r,o)=>{const t=Ne.exec(e);return t?t[1]?r(t[1]):o(t[2]):!1},F=(e,r,o=!1)=>{const t=je.exec(e);return t?t[1]?r(t[1]):o:!1},Te=e=>e==="position"||e==="percentage",Ie=e=>e==="image"||e==="url",Pe=e=>e==="length"||e==="size"||e==="bg-size",Oe=e=>e==="length",wo=e=>e==="number",vo=e=>e==="family-name",Ge=e=>e==="shadow",zo=()=>{const e=g("color"),r=g("font"),o=g("text"),t=g("font-weight"),l=g("tracking"),i=g("leading"),a=g("breakpoint"),u=g("container"),c=g("spacing"),f=g("radius"),b=g("shadow"),x=g("inset-shadow"),y=g("text-shadow"),C=g("drop-shadow"),S=g("blur"),v=g("perspective"),k=g("aspect"),I=g("ease"),D=g("animate"),W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...V(),s,n],P=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],m=()=>[s,n,c],A=()=>[B,"full","auto",...m()],le=()=>[M,"none","subgrid",s,n],ie=()=>["auto",{span:["full",M,s,n]},M,s,n],Y=()=>[M,"auto",s,n],ce=()=>["auto","min","max","fr",s,n],ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],E=()=>["start","end","center","stretch","center-safe","end-safe"],R=()=>["auto",...m()],O=()=>[B,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],d=()=>[e,s,n],de=()=>[...V(),ye,xe,{position:[s,n]}],me=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ue=()=>["auto","cover","contain",yo,go,{size:[s,n]}],oe=()=>[re,U,G],w=()=>["","none","full",f,s,n],z=()=>["",p,U,G],q=()=>["solid","dashed","dotted","double"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],h=()=>[p,re,ye,xe],fe=()=>["","none",S,s,n],X=()=>["none",p,s,n],J=()=>["none",p,s,n],te=()=>[p,s,n],K=()=>[B,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[N],breakpoint:[N],color:[mo],container:[N],"drop-shadow":[N],ease:["in","out","in-out"],font:[bo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[N],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[N],shadow:[N],spacing:["px",p],text:[N],"text-shadow":[N],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",B,n,s,k]}],container:["container"],columns:[{columns:[p,n,s,u]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"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:L()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:A()}],"inset-x":[{"inset-x":A()}],"inset-y":[{"inset-y":A()}],start:[{start:A()}],end:[{end:A()}],top:[{top:A()}],right:[{right:A()}],bottom:[{bottom:A()}],left:[{left:A()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",s,n]}],basis:[{basis:[B,"full","auto",u,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,B,"auto","initial","none",n]}],grow:[{grow:["",p,s,n]}],shrink:[{shrink:["",p,s,n]}],order:[{order:[M,"first","last","none",s,n]}],"grid-cols":[{"grid-cols":le()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":le()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ce()}],"auto-rows":[{"auto-rows":ce()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...ee(),"normal"]}],"justify-items":[{"justify-items":[...E(),"normal"]}],"justify-self":[{"justify-self":["auto",...E()]}],"align-content":[{content:["normal",...ee()]}],"align-items":[{items:[...E(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...E(),{baseline:["","last"]}]}],"place-content":[{"place-content":ee()}],"place-items":[{"place-items":[...E(),"baseline"]}],"place-self":[{"place-self":["auto",...E()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:R()}],mx:[{mx:R()}],my:[{my:R()}],ms:[{ms:R()}],me:[{me:R()}],mt:[{mt:R()}],mr:[{mr:R()}],mb:[{mb:R()}],ml:[{ml:R()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[u,"screen",...O()]}],"min-w":[{"min-w":[u,"screen","none",...O()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[a]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",o,U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,s,ne]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",re,n]}],"font-family":[{font:[xo,n,r]}],"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:[l,s,n]}],"line-clamp":[{"line-clamp":[p,"none",s,ne]}],leading:[{leading:[i,...m()]}],"list-image":[{"list-image":["none",s,n]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",s,n]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:d()}],"text-color":[{text:d()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",s,G]}],"text-decoration-color":[{decoration:d()}],"underline-offset":[{"underline-offset":[p,"auto",s,n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",s,n]}],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",s,n]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:de()}],"bg-repeat":[{bg:me()}],"bg-size":[{bg:ue()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,s,n],radial:["",s,n],conic:[M,s,n]},ko,ho]}],"bg-color":[{bg:d()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:d()}],"gradient-via":[{via:d()}],"gradient-to":[{to:d()}],rounded:[{rounded:w()}],"rounded-s":[{"rounded-s":w()}],"rounded-e":[{"rounded-e":w()}],"rounded-t":[{"rounded-t":w()}],"rounded-r":[{"rounded-r":w()}],"rounded-b":[{"rounded-b":w()}],"rounded-l":[{"rounded-l":w()}],"rounded-ss":[{"rounded-ss":w()}],"rounded-se":[{"rounded-se":w()}],"rounded-ee":[{"rounded-ee":w()}],"rounded-es":[{"rounded-es":w()}],"rounded-tl":[{"rounded-tl":w()}],"rounded-tr":[{"rounded-tr":w()}],"rounded-br":[{"rounded-br":w()}],"rounded-bl":[{"rounded-bl":w()}],"border-w":[{border:z()}],"border-w-x":[{"border-x":z()}],"border-w-y":[{"border-y":z()}],"border-w-s":[{"border-s":z()}],"border-w-e":[{"border-e":z()}],"border-w-t":[{"border-t":z()}],"border-w-r":[{"border-r":z()}],"border-w-b":[{"border-b":z()}],"border-w-l":[{"border-l":z()}],"divide-x":[{"divide-x":z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...q(),"hidden","none"]}],"divide-style":[{divide:[...q(),"hidden","none"]}],"border-color":[{border:d()}],"border-color-x":[{"border-x":d()}],"border-color-y":[{"border-y":d()}],"border-color-s":[{"border-s":d()}],"border-color-e":[{"border-e":d()}],"border-color-t":[{"border-t":d()}],"border-color-r":[{"border-r":d()}],"border-color-b":[{"border-b":d()}],"border-color-l":[{"border-l":d()}],"divide-color":[{divide:d()}],"outline-style":[{outline:[...q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,s,n]}],"outline-w":[{outline:["",p,U,G]}],"outline-color":[{outline:d()}],shadow:[{shadow:["","none",b,Q,H]}],"shadow-color":[{shadow:d()}],"inset-shadow":[{"inset-shadow":["none",x,Q,H]}],"inset-shadow-color":[{"inset-shadow":d()}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:d()}],"ring-offset-w":[{"ring-offset":[p,G]}],"ring-offset-color":[{"ring-offset":d()}],"inset-ring-w":[{"inset-ring":z()}],"inset-ring-color":[{"inset-ring":d()}],"text-shadow":[{"text-shadow":["none",y,Q,H]}],"text-shadow-color":[{"text-shadow":d()}],opacity:[{opacity:[p,s,n]}],"mix-blend":[{"mix-blend":[...pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pe()}],"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":h()}],"mask-image-linear-to-pos":[{"mask-linear-to":h()}],"mask-image-linear-from-color":[{"mask-linear-from":d()}],"mask-image-linear-to-color":[{"mask-linear-to":d()}],"mask-image-t-from-pos":[{"mask-t-from":h()}],"mask-image-t-to-pos":[{"mask-t-to":h()}],"mask-image-t-from-color":[{"mask-t-from":d()}],"mask-image-t-to-color":[{"mask-t-to":d()}],"mask-image-r-from-pos":[{"mask-r-from":h()}],"mask-image-r-to-pos":[{"mask-r-to":h()}],"mask-image-r-from-color":[{"mask-r-from":d()}],"mask-image-r-to-color":[{"mask-r-to":d()}],"mask-image-b-from-pos":[{"mask-b-from":h()}],"mask-image-b-to-pos":[{"mask-b-to":h()}],"mask-image-b-from-color":[{"mask-b-from":d()}],"mask-image-b-to-color":[{"mask-b-to":d()}],"mask-image-l-from-pos":[{"mask-l-from":h()}],"mask-image-l-to-pos":[{"mask-l-to":h()}],"mask-image-l-from-color":[{"mask-l-from":d()}],"mask-image-l-to-color":[{"mask-l-to":d()}],"mask-image-x-from-pos":[{"mask-x-from":h()}],"mask-image-x-to-pos":[{"mask-x-to":h()}],"mask-image-x-from-color":[{"mask-x-from":d()}],"mask-image-x-to-color":[{"mask-x-to":d()}],"mask-image-y-from-pos":[{"mask-y-from":h()}],"mask-image-y-to-pos":[{"mask-y-to":h()}],"mask-image-y-from-color":[{"mask-y-from":d()}],"mask-image-y-to-color":[{"mask-y-to":d()}],"mask-image-radial":[{"mask-radial":[s,n]}],"mask-image-radial-from-pos":[{"mask-radial-from":h()}],"mask-image-radial-to-pos":[{"mask-radial-to":h()}],"mask-image-radial-from-color":[{"mask-radial-from":d()}],"mask-image-radial-to-color":[{"mask-radial-to":d()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":h()}],"mask-image-conic-to-pos":[{"mask-conic-to":h()}],"mask-image-conic-from-color":[{"mask-conic-from":d()}],"mask-image-conic-to-color":[{"mask-conic-to":d()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:de()}],"mask-repeat":[{mask:me()}],"mask-size":[{mask:ue()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",s,n]}],filter:[{filter:["","none",s,n]}],blur:[{blur:fe()}],brightness:[{brightness:[p,s,n]}],contrast:[{contrast:[p,s,n]}],"drop-shadow":[{"drop-shadow":["","none",C,Q,H]}],"drop-shadow-color":[{"drop-shadow":d()}],grayscale:[{grayscale:["",p,s,n]}],"hue-rotate":[{"hue-rotate":[p,s,n]}],invert:[{invert:["",p,s,n]}],saturate:[{saturate:[p,s,n]}],sepia:[{sepia:["",p,s,n]}],"backdrop-filter":[{"backdrop-filter":["","none",s,n]}],"backdrop-blur":[{"backdrop-blur":fe()}],"backdrop-brightness":[{"backdrop-brightness":[p,s,n]}],"backdrop-contrast":[{"backdrop-contrast":[p,s,n]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,s,n]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,s,n]}],"backdrop-invert":[{"backdrop-invert":["",p,s,n]}],"backdrop-opacity":[{"backdrop-opacity":[p,s,n]}],"backdrop-saturate":[{"backdrop-saturate":[p,s,n]}],"backdrop-sepia":[{"backdrop-sepia":["",p,s,n]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",s,n]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",s,n]}],ease:[{ease:["linear","initial",I,s,n]}],delay:[{delay:[p,s,n]}],animate:[{animate:["none",D,s,n]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,s,n]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:te()}],"skew-x":[{"skew-x":te()}],"skew-y":[{"skew-y":te()}],transform:[{transform:[s,n,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:K()}],"translate-x":[{"translate-x":K()}],"translate-y":[{"translate-y":K()}],"translate-z":[{"translate-z":K()}],"translate-none":["translate-none"],accent:[{accent:d()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:d()}],"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",s,n]}],"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":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",s,n]}],fill:[{fill:["none",...d()]}],"stroke-w":[{stroke:[p,U,G,ne]}],stroke:[{stroke:["none",...d()]}],"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"]}},T=to(zo);function Co(...e){return T(ze(e))}function So({title:e,description:r,icon:o,className:t,button:l,textarea:i,...a}){const u={md:"font-medium text-sm font-inter",lg:"font-extrabold text-3xl leading-relaxed text-typography-title"};return j.jsxs("div",{className:"flex flex-row",children:[o&&j.jsx("div",{className:T("p-3 text-primary-base",t),children:o}),j.jsxs("div",{className:"flex flex-col",children:[e&&j.jsx("h2",{className:T(u.lg),children:e}),a.header&&j.jsx("h4",{className:T("",u.md),children:a.header}),r&&j.jsx("p",{className:T("text-sm font-inter text-typography-body ml-1",u.md),children:r})]})]})}const ke=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,we=ze,Ao=(e,r)=>o=>{var t;if((r==null?void 0:r.variants)==null)return we(e,o==null?void 0:o.class,o==null?void 0:o.className);const{variants:l,defaultVariants:i}=r,a=Object.keys(l).map(f=>{const b=o==null?void 0:o[f],x=i==null?void 0:i[f];if(b===null)return null;const y=ke(b)||ke(x);return l[f][y]}),u=o&&Object.entries(o).reduce((f,b)=>{let[x,y]=b;return y===void 0||(f[x]=y),f},{}),c=r==null||(t=r.compoundVariants)===null||t===void 0?void 0:t.reduce((f,b)=>{let{class:x,className:y,...C}=b;return Object.entries(C).every(S=>{let[v,k]=S;return Array.isArray(k)?k.includes({...i,...u}[v]):{...i,...u}[v]===k})?[...f,x,y]:f},[]);return we(e,a,c,o==null?void 0:o.class,o==null?void 0:o.className)},Ro=Ao("button-config",{variants:{textColor:{primary:"text-darker",secondary:"text-fg"},backgroundType:{light:"bg-primary-base",dark:"bg-secondary-default"},textOnly:{primary:"flex flex-row items-center"},both:{primary:"flex flex-row items-center justify-between"},size:{primaryTextonly:"pl-4 pr-4 font-inter h-9 min-w-36",secondaryTextonly:"h-9 w-24",primaryBoth:"gap-2 h-9 min-w-44 pt-2 pb-2 pl-4 pr-4",secondaryBoth:"w-24 h-7"},fontSize:{small:"text-sm",medium:"text-md",large:"text-lg"},fontWeight:{medium:"font-normal",bold:"font-bold"}}});function No({icon:e,label:r,onClick:o,...t}){return j.jsxs("button",{onClick:o,className:T("rounded-md leading-none",t.className,Ro({textColor:t.textColor,backgroundType:t.backgroundType,both:t.both,size:t.size,textOnly:t.textOnly,fontSize:t.fontSize})),children:[e&&j.jsx("span",{className:T(t.iconClassName),children:e}),r&&j.jsx("span",{className:T(t.labelClassName),children:r})]})}exports.Button=No;exports.ContentBlock=So;exports.cn=Co;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|