@enonic/ui 0.8.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/enonic-ui.cjs +4 -4
- package/dist/enonic-ui.es.js +207 -91
- package/dist/styles/preset.css +1 -1
- package/dist/styles/style.css +1 -1
- package/dist/styles/tokens.css +1 -1
- package/dist/styles/utilities.css +1 -1
- package/dist/types/components/button/button.d.ts +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +2 -0
- package/dist/types/components/search-input/index.d.ts +1 -0
- package/dist/types/components/search-input/search-input.d.ts +13 -0
- package/dist/types/utils/ref.d.ts +2 -0
- package/package.json +1 -1
package/dist/enonic-ui.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("preact"),r=require("react");function t(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const t in e)if("default"!==t){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}return r.default=e,Object.freeze(r)}require("preact/compat");const o=t(r);var n=0;function a(r,t,o,a,i,s){t||(t={});var l,d,c=t;if("ref"in c)for(d in c={},t)"ref"==d?l=t[d]:c[d]=t[d];var u={type:r,props:c,key:o,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--n,__i:-1,__u:0,__source:i,__self:s};if("function"==typeof r&&(l=r.defaultProps))for(d in l)void 0===c[d]&&(c[d]=l[d]);return e.options.vnode&&e.options.vnode(u),u}function i(e){var r,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=i(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function s(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=i(e))&&(o&&(o+=" "),o+=r);return o}const l=e=>{const r=m(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),d(t,r)||u(e)},getConflictingClassGroupIds:(e,r)=>{const n=t[e]||[];return r&&o[e]?[...n,...o[e]]:n}}},d=(e,r)=>{if(0===e.length)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?d(e.slice(1),o):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find(({validator:e})=>e(a))?.classGroupId},c=/^\[(.+)\]$/,u=e=>{if(c.test(e)){const r=c.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},m=e=>{const{theme:r,classGroups:t}=e,o={nextPart:new Map,validators:[]};for(const n in t)p(t[n],o,n,r);return o},p=(e,r,t,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?r:f(r,e)).classGroupId=t)}if("function"==typeof e)return b(e)?void p(e(o),r,t,o):void r.validators.push({validator:e,classGroupId:t});Object.entries(e).forEach(([e,n])=>{p(n,f(r,e),t,o)})})},f=(e,r)=>{let t=e;return r.split("-").forEach(e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)}),t},b=e=>e.isThemeGetter,h=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}},g=e=>{const{prefix:r,experimentalParseClassName:t}=e;let o=e=>{const r=[];let t,o=0,n=0,a=0;for(let l=0;l<e.length;l++){let i=e[l];if(0===o&&0===n){if(":"===i){r.push(e.slice(a,l)),a=l+1;continue}if("/"===i){t=l;continue}}"["===i?o++:"]"===i?o--:"("===i?n++:")"===i&&n--}const i=0===r.length?e:e.substring(a),s=v(i);return{modifiers:r,hasImportantModifier:s!==i,baseClassName:s,maybePostfixModifierPosition:t&&t>a?t-a:void 0}};if(r){const e=r+":",t=o;o=r=>r.startsWith(e)?t(r.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:r,maybePostfixModifierPosition:void 0}}if(t){const e=o;o=r=>t({className:r,parseClassName:e})}return o},v=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,x=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const t=[];let o=[];return e.forEach(e=>{"["===e[0]||r[e]?(t.push(...o.sort(),e),o=[]):o.push(e)}),t.push(...o.sort()),t}},k=/\s+/;function y(){let e,r,t=0,o="";for(;t<arguments.length;)(e=arguments[t++])&&(r=w(e))&&(o&&(o+=" "),o+=r);return o}const w=e=>{if("string"==typeof e)return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=w(e[o]))&&(t&&(t+=" "),t+=r);return t};function N(e,...r){let t,o,n,a=function(s){const d=r.reduce((e,r)=>r(e),e());return t=(e=>({cache:h(e.cacheSize),parseClassName:g(e),sortModifiers:x(e),...l(e)}))(d),o=t.cache.get,n=t.cache.set,a=i,i(s)};function i(e){const r=o(e);if(r)return r;const a=((e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:a}=r,i=[],s=e.trim().split(k);let l="";for(let d=s.length-1;d>=0;d-=1){const e=s[d],{isExternal:r,modifiers:c,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:p}=t(e);if(r){l=e+(l.length>0?" "+l:l);continue}let f=!!p,b=o(f?m.substring(0,p):m);if(!b){if(!f){l=e+(l.length>0?" "+l:l);continue}if(b=o(m),!b){l=e+(l.length>0?" "+l:l);continue}f=!1}const h=a(c).join(":"),g=u?h+"!":h,v=g+b;if(i.includes(v))continue;i.push(v);const x=n(b,f);for(let t=0;t<x.length;++t){const e=x[t];i.push(g+e)}l=e+(l.length>0?" "+l:l)}return l})(e,t);return n(e,a),a}return function(){return a(y.apply(null,arguments))}}const z=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},C=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,j=/^\((?:(\w[\w-]*):)?(.+)\)$/i,M=/^\d+\/\d+$/,I=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,O=/\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$/,_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,R=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,P=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=e=>M.test(e),E=e=>!!e&&!Number.isNaN(Number(e)),W=e=>!!e&&Number.isInteger(Number(e)),$=e=>e.endsWith("%")&&E(e.slice(0,-1)),L=e=>I.test(e),A=()=>!0,G=e=>O.test(e)&&!_.test(e),V=()=>!1,q=e=>R.test(e),B=e=>P.test(e),T=e=>!X(e)&&!J(e),F=e=>ne(e,le,V),X=e=>C.test(e),Y=e=>ne(e,de,G),D=e=>ne(e,ce,E),H=e=>ne(e,ie,V),U=e=>ne(e,se,B),Z=e=>ne(e,me,q),J=e=>j.test(e),K=e=>ae(e,de),Q=e=>ae(e,ue),ee=e=>ae(e,ie),re=e=>ae(e,le),te=e=>ae(e,se),oe=e=>ae(e,me,!0),ne=(e,r,t)=>{const o=C.exec(e);return!!o&&(o[1]?r(o[1]):t(o[2]))},ae=(e,r,t=!1)=>{const o=j.exec(e);return!!o&&(o[1]?r(o[1]):t)},ie=e=>"position"===e||"percentage"===e,se=e=>"image"===e||"url"===e,le=e=>"length"===e||"size"===e||"bg-size"===e,de=e=>"length"===e,ce=e=>"number"===e,ue=e=>"family-name"===e,me=e=>"shadow"===e,pe=N(()=>{const e=z("color"),r=z("font"),t=z("text"),o=z("font-weight"),n=z("tracking"),a=z("leading"),i=z("breakpoint"),s=z("container"),l=z("spacing"),d=z("radius"),c=z("shadow"),u=z("inset-shadow"),m=z("text-shadow"),p=z("drop-shadow"),f=z("blur"),b=z("perspective"),h=z("aspect"),g=z("ease"),v=z("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",J,X],k=()=>[J,X,l],y=()=>[S,"full","auto",...k()],w=()=>[W,"none","subgrid",J,X],N=()=>["auto",{span:["full",W,J,X]},W,J,X],C=()=>[W,"auto",J,X],j=()=>["auto","min","max","fr",J,X],M=()=>["auto",...k()],I=()=>[S,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],O=()=>[e,J,X],_=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ee,H,{position:[J,X]}],R=()=>["auto","cover","contain",re,F,{size:[J,X]}],P=()=>[$,K,Y],G=()=>["","none","full",d,J,X],V=()=>["",E,K,Y],q=()=>[E,$,ee,H],B=()=>["","none",f,J,X],ne=()=>["none",E,J,X],ae=()=>["none",E,J,X],ie=()=>[E,J,X],se=()=>[S,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[L],breakpoint:[L],color:[A],container:[L],"drop-shadow":[L],ease:["in","out","in-out"],font:[T],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[L],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[L],shadow:[L],spacing:["px",E],text:[L],"text-shadow":[L],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",S,X,J,h]}],container:["container"],columns:[{columns:[E,X,J,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:y()}],"inset-x":[{"inset-x":y()}],"inset-y":[{"inset-y":y()}],start:[{start:y()}],end:[{end:y()}],top:[{top:y()}],right:[{right:y()}],bottom:[{bottom:y()}],left:[{left:y()}],visibility:["visible","invisible","collapse"],z:[{z:[W,"auto",J,X]}],basis:[{basis:[S,"full","auto",s,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[E,S,"auto","initial","none",X]}],grow:[{grow:["",E,J,X]}],shrink:[{shrink:["",E,J,X]}],order:[{order:[W,"first","last","none",J,X]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:N()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":j()}],"auto-rows":[{"auto-rows":j()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],w:[{w:[s,"screen",...I()]}],"min-w":[{"min-w":[s,"screen","none",...I()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",t,K,Y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,J,D]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",$,X]}],"font-family":[{font:[Q,X,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:[n,J,X]}],"line-clamp":[{"line-clamp":[E,"none",J,D]}],leading:[{leading:[a,...k()]}],"list-image":[{"list-image":["none",J,X]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",J,X]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[E,"from-font","auto",J,Y]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[E,"auto",J,X]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J,X]}],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",J,X]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:_()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},W,J,X],radial:["",J,X],conic:[W,J,X]},te,U]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[E,J,X]}],"outline-w":[{outline:["",E,K,Y]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",c,oe,Z]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",u,oe,Z]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[E,Y]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",m,oe,Z]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[E,J,X]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"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":[E]}],"mask-image-linear-from-pos":[{"mask-linear-from":q()}],"mask-image-linear-to-pos":[{"mask-linear-to":q()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":q()}],"mask-image-t-to-pos":[{"mask-t-to":q()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":q()}],"mask-image-r-to-pos":[{"mask-r-to":q()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":q()}],"mask-image-b-to-pos":[{"mask-b-to":q()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":q()}],"mask-image-l-to-pos":[{"mask-l-to":q()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":q()}],"mask-image-x-to-pos":[{"mask-x-to":q()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":q()}],"mask-image-y-to-pos":[{"mask-y-to":q()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[J,X]}],"mask-image-radial-from-pos":[{"mask-radial-from":q()}],"mask-image-radial-to-pos":[{"mask-radial-to":q()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"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":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[E]}],"mask-image-conic-from-pos":[{"mask-conic-from":q()}],"mask-image-conic-to-pos":[{"mask-conic-to":q()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:_()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",J,X]}],filter:[{filter:["","none",J,X]}],blur:[{blur:B()}],brightness:[{brightness:[E,J,X]}],contrast:[{contrast:[E,J,X]}],"drop-shadow":[{"drop-shadow":["","none",p,oe,Z]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",E,J,X]}],"hue-rotate":[{"hue-rotate":[E,J,X]}],invert:[{invert:["",E,J,X]}],saturate:[{saturate:[E,J,X]}],sepia:[{sepia:["",E,J,X]}],"backdrop-filter":[{"backdrop-filter":["","none",J,X]}],"backdrop-blur":[{"backdrop-blur":B()}],"backdrop-brightness":[{"backdrop-brightness":[E,J,X]}],"backdrop-contrast":[{"backdrop-contrast":[E,J,X]}],"backdrop-grayscale":[{"backdrop-grayscale":["",E,J,X]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[E,J,X]}],"backdrop-invert":[{"backdrop-invert":["",E,J,X]}],"backdrop-opacity":[{"backdrop-opacity":[E,J,X]}],"backdrop-saturate":[{"backdrop-saturate":[E,J,X]}],"backdrop-sepia":[{"backdrop-sepia":["",E,J,X]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",J,X]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[E,"initial",J,X]}],ease:[{ease:["linear","initial",g,J,X]}],delay:[{delay:[E,J,X]}],animate:[{animate:["none",v,J,X]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,J,X]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ne()}],"rotate-x":[{"rotate-x":ne()}],"rotate-y":[{"rotate-y":ne()}],"rotate-z":[{"rotate-z":ne()}],scale:[{scale:ae()}],"scale-x":[{"scale-x":ae()}],"scale-y":[{"scale-y":ae()}],"scale-z":[{"scale-z":ae()}],"scale-3d":["scale-3d"],skew:[{skew:ie()}],"skew-x":[{"skew-x":ie()}],"skew-y":[{"skew-y":ie()}],transform:[{transform:[J,X,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"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",J,X]}],"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":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",J,X]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[E,K,Y,D]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function fe(...e){return pe(s(e))}function be(e){return function(e){return!!(e&&"object"==typeof e&&"value"in e&&"peek"in e&&"function"==typeof e.peek&&"subscribe"in e&&"function"==typeof e.subscribe)}(e)?e.value:e}const he=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,ge=s,ve=(e,r)=>t=>{var o;if(null==(null==r?void 0:r.variants))return ge(e,null==t?void 0:t.class,null==t?void 0:t.className);const{variants:n,defaultVariants:a}=r,i=Object.keys(n).map(e=>{const r=null==t?void 0:t[e],o=null==a?void 0:a[e];if(null===r)return null;const i=he(r)||he(o);return n[e][i]}),s=t&&Object.entries(t).reduce((e,r)=>{let[t,o]=r;return void 0===o||(e[t]=o),e},{}),l=null==r||null===(o=r.compoundVariants)||void 0===o?void 0:o.reduce((e,r)=>{let{class:t,className:o,...n}=r;return Object.entries(n).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...a,...s}[r]):{...a,...s}[r]===t})?[...e,t,o]:e},[]);return ge(e,i,l,null==t?void 0:t.class,null==t?void 0:t.className)},xe=ve(["inline-flex items-center justify-center","text-main dark:text-main font-medium","box-border rounded-sm transition-highlight","focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-offset-0","disabled:pointer-events-none disabled:opacity-30","cursor-pointer"],{variants:{variant:{text:"bg-btn-primary hover:bg-btn-primary-hover active:bg-btn-active active:text-rev dark:active:text-main",filled:"bg-btn-secondary hover:bg-btn-secondary-hover active:bg-btn-active active:text-rev dark:active:text-main",solid:"bg-btn-tertiary text-rev dark:text-main hover:bg-btn-tertiary-hover active:bg-btn-active dark:active:text-main",outline:"bg-btn-primary hover:bg-btn-primary-hover active:bg-btn-active active:text-rev dark:active:text-main border border-bdr-strong"},size:{sm:"h-9 px-3.5 gap-2 text-sm",md:"h-10 px-3.5 gap-2.5 text-base",lg:"h-11.5 px-4 gap-3 text-lg"}},defaultVariants:{variant:"text",size:"md"}}),ke=r.forwardRef(({className:e,variant:r="text",size:t="md",startIcon:o,label:n,endIcon:i,title:s,children:l,...d},c)=>{const u=o,m=i,p=(e=>{switch(e){case"sm":return 16;case"md":return 18;case"lg":return 20}})(t??"md");return a("button",{ref:c,type:"button",className:fe(xe({variant:r,size:t}),e),title:s,"aria-label":s??n,"aria-disabled":d.disabled,...d,children:[u&&a(u,{size:p}),l,n,m&&a(m,{size:p})]})});ke.displayName="Button";const ye=r.createContext(void 0),we=({children:e,prefix:r})=>a(ye.Provider,{value:{prefix:r},children:e});we.displayName="IdProvider";const Ne=e=>{const t=r.useId(),o=r.useContext(ye);if(e)return e;return o?.prefix?`${o.prefix}-${t}`:t},ze=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},Ce=(...e)=>e.filter((e,r,t)=>Boolean(e)&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim(),je=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("preact"),r=require("react");require("preact/compat");const t=require("preact/hooks");function o(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const t in e)if("default"!==t){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}return r.default=e,Object.freeze(r)}const n=o(r);var a=0;function s(r,t,o,n,s,i){t||(t={});var l,d,c=t;if("ref"in c)for(d in c={},t)"ref"==d?l=t[d]:c[d]=t[d];var u={type:r,props:c,key:o,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--a,__i:-1,__u:0,__source:s,__self:i};if("function"==typeof r&&(l=r.defaultProps))for(d in l)void 0===c[d]&&(c[d]=l[d]);return e.options.vnode&&e.options.vnode(u),u}function i(e){var r,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=i(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function l(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=i(e))&&(o&&(o+=" "),o+=r);return o}const d=e=>{const r=p(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),c(t,r)||m(e)},getConflictingClassGroupIds:(e,r)=>{const n=t[e]||[];return r&&o[e]?[...n,...o[e]]:n}}},c=(e,r)=>{if(0===e.length)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?c(e.slice(1),o):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find(({validator:e})=>e(a))?.classGroupId},u=/^\[(.+)\]$/,m=e=>{if(u.test(e)){const r=u.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},p=e=>{const{theme:r,classGroups:t}=e,o={nextPart:new Map,validators:[]};for(const n in t)f(t[n],o,n,r);return o},f=(e,r,t,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?r:b(r,e)).classGroupId=t)}if("function"==typeof e)return h(e)?void f(e(o),r,t,o):void r.validators.push({validator:e,classGroupId:t});Object.entries(e).forEach(([e,n])=>{f(n,b(r,e),t,o)})})},b=(e,r)=>{let t=e;return r.split("-").forEach(e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)}),t},h=e=>e.isThemeGetter,g=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}},v=e=>{const{prefix:r,experimentalParseClassName:t}=e;let o=e=>{const r=[];let t,o=0,n=0,a=0;for(let l=0;l<e.length;l++){let s=e[l];if(0===o&&0===n){if(":"===s){r.push(e.slice(a,l)),a=l+1;continue}if("/"===s){t=l;continue}}"["===s?o++:"]"===s?o--:"("===s?n++:")"===s&&n--}const s=0===r.length?e:e.substring(a),i=x(s);return{modifiers:r,hasImportantModifier:i!==s,baseClassName:i,maybePostfixModifierPosition:t&&t>a?t-a:void 0}};if(r){const e=r+":",t=o;o=r=>r.startsWith(e)?t(r.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:r,maybePostfixModifierPosition:void 0}}if(t){const e=o;o=r=>t({className:r,parseClassName:e})}return o},x=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,y=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const t=[];let o=[];return e.forEach(e=>{"["===e[0]||r[e]?(t.push(...o.sort(),e),o=[]):o.push(e)}),t.push(...o.sort()),t}},k=/\s+/;function w(){let e,r,t=0,o="";for(;t<arguments.length;)(e=arguments[t++])&&(r=N(e))&&(o&&(o+=" "),o+=r);return o}const N=e=>{if("string"==typeof e)return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=N(e[o]))&&(t&&(t+=" "),t+=r);return t};function z(e,...r){let t,o,n,a=function(i){const l=r.reduce((e,r)=>r(e),e());return t=(e=>({cache:g(e.cacheSize),parseClassName:v(e),sortModifiers:y(e),...d(e)}))(l),o=t.cache.get,n=t.cache.set,a=s,s(i)};function s(e){const r=o(e);if(r)return r;const a=((e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:a}=r,s=[],i=e.trim().split(k);let l="";for(let d=i.length-1;d>=0;d-=1){const e=i[d],{isExternal:r,modifiers:c,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:p}=t(e);if(r){l=e+(l.length>0?" "+l:l);continue}let f=!!p,b=o(f?m.substring(0,p):m);if(!b){if(!f){l=e+(l.length>0?" "+l:l);continue}if(b=o(m),!b){l=e+(l.length>0?" "+l:l);continue}f=!1}const h=a(c).join(":"),g=u?h+"!":h,v=g+b;if(s.includes(v))continue;s.push(v);const x=n(b,f);for(let t=0;t<x.length;++t){const e=x[t];s.push(g+e)}l=e+(l.length>0?" "+l:l)}return l})(e,t);return n(e,a),a}return function(){return a(w.apply(null,arguments))}}const C=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},j=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,M=/^\((?:(\w[\w-]*):)?(.+)\)$/i,I=/^\d+\/\d+$/,O=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,S=/\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$/,_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,R=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,W=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>I.test(e),E=e=>!!e&&!Number.isNaN(Number(e)),L=e=>!!e&&Number.isInteger(Number(e)),$=e=>e.endsWith("%")&&E(e.slice(0,-1)),A=e=>O.test(e),q=()=>!0,G=e=>S.test(e)&&!_.test(e),V=()=>!1,B=e=>R.test(e),T=e=>W.test(e),F=e=>!Y(e)&&!K(e),X=e=>ae(e,de,V),Y=e=>j.test(e),D=e=>ae(e,ce,G),H=e=>ae(e,ue,E),U=e=>ae(e,ie,V),Z=e=>ae(e,le,T),J=e=>ae(e,pe,B),K=e=>M.test(e),Q=e=>se(e,ce),ee=e=>se(e,me),re=e=>se(e,ie),te=e=>se(e,de),oe=e=>se(e,le),ne=e=>se(e,pe,!0),ae=(e,r,t)=>{const o=j.exec(e);return!!o&&(o[1]?r(o[1]):t(o[2]))},se=(e,r,t=!1)=>{const o=M.exec(e);return!!o&&(o[1]?r(o[1]):t)},ie=e=>"position"===e||"percentage"===e,le=e=>"image"===e||"url"===e,de=e=>"length"===e||"size"===e||"bg-size"===e,ce=e=>"length"===e,ue=e=>"number"===e,me=e=>"family-name"===e,pe=e=>"shadow"===e,fe=z(()=>{const e=C("color"),r=C("font"),t=C("text"),o=C("font-weight"),n=C("tracking"),a=C("leading"),s=C("breakpoint"),i=C("container"),l=C("spacing"),d=C("radius"),c=C("shadow"),u=C("inset-shadow"),m=C("text-shadow"),p=C("drop-shadow"),f=C("blur"),b=C("perspective"),h=C("aspect"),g=C("ease"),v=C("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",K,Y],y=()=>[K,Y,l],k=()=>[P,"full","auto",...y()],w=()=>[L,"none","subgrid",K,Y],N=()=>["auto",{span:["full",L,K,Y]},L,K,Y],z=()=>[L,"auto",K,Y],j=()=>["auto","min","max","fr",K,Y],M=()=>["auto",...y()],I=()=>[P,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],O=()=>[e,K,Y],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",re,U,{position:[K,Y]}],_=()=>["auto","cover","contain",te,X,{size:[K,Y]}],R=()=>[$,Q,D],W=()=>["","none","full",d,K,Y],G=()=>["",E,Q,D],V=()=>[E,$,re,U],B=()=>["","none",f,K,Y],T=()=>["none",E,K,Y],ae=()=>["none",E,K,Y],se=()=>[E,K,Y],ie=()=>[P,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[A],breakpoint:[A],color:[q],container:[A],"drop-shadow":[A],ease:["in","out","in-out"],font:[F],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[A],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[A],shadow:[A],spacing:["px",E],text:[A],"text-shadow":[A],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",P,Y,K,h]}],container:["container"],columns:[{columns:[E,Y,K,i]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[L,"auto",K,Y]}],basis:[{basis:[P,"full","auto",i,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[E,P,"auto","initial","none",Y]}],grow:[{grow:["",E,K,Y]}],shrink:[{shrink:["",E,K,Y]}],order:[{order:[L,"first","last","none",K,Y]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":z()}],"col-end":[{"col-end":z()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:N()}],"row-start":[{"row-start":z()}],"row-end":[{"row-end":z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":j()}],"auto-rows":[{"auto-rows":j()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],w:[{w:[i,"screen",...I()]}],"min-w":[{"min-w":[i,"screen","none",...I()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[s]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",t,Q,D]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,K,H]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",$,Y]}],"font-family":[{font:[ee,Y,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:[n,K,Y]}],"line-clamp":[{"line-clamp":[E,"none",K,H]}],leading:[{leading:[a,...y()]}],"list-image":[{"list-image":["none",K,Y]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,Y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[E,"from-font","auto",K,D]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[E,"auto",K,Y]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K,Y]}],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",K,Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:_()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},L,K,Y],radial:["",K,Y],conic:[L,K,Y]},oe,Z]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:R()}],"gradient-via-pos":[{via:R()}],"gradient-to-pos":[{to:R()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],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:G()}],"border-w-x":[{"border-x":G()}],"border-w-y":[{"border-y":G()}],"border-w-s":[{"border-s":G()}],"border-w-e":[{"border-e":G()}],"border-w-t":[{"border-t":G()}],"border-w-r":[{"border-r":G()}],"border-w-b":[{"border-b":G()}],"border-w-l":[{"border-l":G()}],"divide-x":[{"divide-x":G()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":G()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[E,K,Y]}],"outline-w":[{outline:["",E,Q,D]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",c,ne,J]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",u,ne,J]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[E,D]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":G()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",m,ne,J]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[E,K,Y]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"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":[E]}],"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":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"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":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"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":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"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":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"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":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"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":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"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":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[K,Y]}],"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":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"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":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[E]}],"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":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:_()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,Y]}],filter:[{filter:["","none",K,Y]}],blur:[{blur:B()}],brightness:[{brightness:[E,K,Y]}],contrast:[{contrast:[E,K,Y]}],"drop-shadow":[{"drop-shadow":["","none",p,ne,J]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",E,K,Y]}],"hue-rotate":[{"hue-rotate":[E,K,Y]}],invert:[{invert:["",E,K,Y]}],saturate:[{saturate:[E,K,Y]}],sepia:[{sepia:["",E,K,Y]}],"backdrop-filter":[{"backdrop-filter":["","none",K,Y]}],"backdrop-blur":[{"backdrop-blur":B()}],"backdrop-brightness":[{"backdrop-brightness":[E,K,Y]}],"backdrop-contrast":[{"backdrop-contrast":[E,K,Y]}],"backdrop-grayscale":[{"backdrop-grayscale":["",E,K,Y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[E,K,Y]}],"backdrop-invert":[{"backdrop-invert":["",E,K,Y]}],"backdrop-opacity":[{"backdrop-opacity":[E,K,Y]}],"backdrop-saturate":[{"backdrop-saturate":[E,K,Y]}],"backdrop-sepia":[{"backdrop-sepia":["",E,K,Y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",K,Y]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[E,"initial",K,Y]}],ease:[{ease:["linear","initial",g,K,Y]}],delay:[{delay:[E,K,Y]}],animate:[{animate:["none",v,K,Y]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,K,Y]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:T()}],"rotate-x":[{"rotate-x":T()}],"rotate-y":[{"rotate-y":T()}],"rotate-z":[{"rotate-z":T()}],scale:[{scale:ae()}],"scale-x":[{"scale-x":ae()}],"scale-y":[{"scale-y":ae()}],"scale-z":[{"scale-z":ae()}],"scale-3d":["scale-3d"],skew:[{skew:se()}],"skew-x":[{"skew-x":se()}],"skew-y":[{"skew-y":se()}],transform:[{transform:[K,Y,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"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",K,Y]}],"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":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",K,Y]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[E,Q,D,H]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function be(...e){return fe(l(e))}function he(e){return function(e){return!!(e&&"object"==typeof e&&"value"in e&&"peek"in e&&"function"==typeof e.peek&&"subscribe"in e&&"function"==typeof e.subscribe)}(e)?e.value:e}const ge=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,ve=l,xe=(e,r)=>t=>{var o;if(null==(null==r?void 0:r.variants))return ve(e,null==t?void 0:t.class,null==t?void 0:t.className);const{variants:n,defaultVariants:a}=r,s=Object.keys(n).map(e=>{const r=null==t?void 0:t[e],o=null==a?void 0:a[e];if(null===r)return null;const s=ge(r)||ge(o);return n[e][s]}),i=t&&Object.entries(t).reduce((e,r)=>{let[t,o]=r;return void 0===o||(e[t]=o),e},{}),l=null==r||null===(o=r.compoundVariants)||void 0===o?void 0:o.reduce((e,r)=>{let{class:t,className:o,...n}=r;return Object.entries(n).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...a,...i}[r]):{...a,...i}[r]===t})?[...e,t,o]:e},[]);return ve(e,s,l,null==t?void 0:t.class,null==t?void 0:t.className)},ye=xe(["inline-flex items-center justify-center","text-main dark:text-main font-medium","box-border rounded-sm transition-highlight","focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-offset-0","disabled:pointer-events-none disabled:opacity-30","cursor-pointer"],{variants:{variant:{text:"bg-btn-primary hover:bg-btn-primary-hover active:bg-btn-active active:text-rev dark:active:text-main",filled:"bg-btn-secondary hover:bg-btn-secondary-hover active:bg-btn-active active:text-rev dark:active:text-main",solid:"bg-btn-tertiary text-rev dark:text-main hover:bg-btn-tertiary-hover active:bg-btn-active dark:active:text-main",outline:"bg-btn-primary hover:bg-btn-primary-hover active:bg-btn-active active:text-rev dark:active:text-main border border-bdr-strong"},size:{sm:"h-9 px-3.5 gap-2 text-sm",md:"h-10 px-3.5 gap-2.5 text-base",lg:"h-11.5 px-4 gap-3 text-lg"}},defaultVariants:{variant:"text",size:"md"}}),ke=r.forwardRef(({className:e,variant:r="text",size:t="md",iconSize:o,startIcon:n,label:a,endIcon:i,title:l,children:d,...c},u)=>{const m=n,p=i,f=o??(e=>{switch(e){case"sm":return 16;case"md":return 18;case"lg":return 20}})(t??"md");return s("button",{ref:u,type:"button",className:be(ye({variant:r,size:t}),e),title:l,"aria-label":l??a,"aria-disabled":c.disabled,...c,children:[m&&s(m,{size:f,strokeWidth:1.5}),d,a,p&&s(p,{size:f,strokeWidth:1.5})]})});ke.displayName="Button";const we=r.createContext(void 0),Ne=({children:e,prefix:r})=>s(we.Provider,{value:{prefix:r},children:e});Ne.displayName="IdProvider";const ze=e=>{const t=r.useId(),o=r.useContext(we);if(e)return e;return o?.prefix?`${o.prefix}-${t}`:t},Ce=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},je=(...e)=>e.filter((e,r,t)=>Boolean(e)&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim(),Me=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
|
|
2
2
|
/**
|
|
3
3
|
* @license lucide-react v0.544.0 - ISC
|
|
4
4
|
*
|
|
@@ -11,16 +11,16 @@
|
|
|
11
11
|
* This source code is licensed under the ISC license.
|
|
12
12
|
* See the LICENSE file in the root directory of this source tree.
|
|
13
13
|
*/
|
|
14
|
-
var
|
|
14
|
+
var Ie={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
|
|
15
15
|
/**
|
|
16
16
|
* @license lucide-react v0.544.0 - ISC
|
|
17
17
|
*
|
|
18
18
|
* This source code is licensed under the ISC license.
|
|
19
19
|
* See the LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/const
|
|
20
|
+
*/const Oe=r.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:o=2,absoluteStrokeWidth:n,className:a="",children:s,iconNode:i,...l},d)=>r.createElement("svg",{ref:d,...Ie,width:t,height:t,stroke:e,strokeWidth:n?24*Number(o)/Number(t):o,className:je("lucide",a),...!s&&!Me(l)&&{"aria-hidden":"true"},...l},[...i.map(([e,t])=>r.createElement(e,t)),...Array.isArray(s)?s:[s]])),Se=(e,t)=>{const o=r.forwardRef(({className:o,...n},a)=>{return r.createElement(Oe,{ref:a,iconNode:t,className:je(`lucide-${s=Ce(e),s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...n});var s});return o.displayName=Ce(e),o},_e=Se("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),Re=Se("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),We=Se("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),Pe=Se("lock-keyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]),Ee=Se("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),Le=Se("octagon-alert",[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]]),$e=Se("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),Ae=Se("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),qe=xe(["inline-block","flex-shrink-0 flex items-center justify-center","h-3.5 w-3.5","border-[1.5px] rounded-xs","bg-transparent","transition-highlight"],{variants:{editable:{true:"peer-focus-visible:focus-ring peer-hover:focus-ring",false:"opacity-30"},state:{default:["border-main","peer-checked:bg-main peer-checked:border-main","peer-indeterminate:bg-main peer-indeterminate:border-main","group-data-[tone=inverse]:border-alt","group-data-[tone=inverse]:peer-checked:bg-alt","group-data-[tone=inverse]:peer-checked:border-alt","group-data-[tone=inverse]:peer-indeterminate:bg-alt","group-data-[tone=inverse]:peer-indeterminate:border-alt"],error:["border-error","peer-checked:bg-error peer-checked:border-error","peer-indeterminate:bg-error peer-indeterminate:border-error","peer-focus-visible:border-error peer-focus-visible:ring-error/50","peer-hover:border-error peer-hover:ring-error/50"]}},defaultVariants:{state:"default",editable:!0}}),Ge=r.forwardRef(({id:e,className:t,name:o,label:n,defaultChecked:a=!1,checked:i,align:l="left",error:d,disabled:c,readOnly:u,required:m,value:p="on",onCheckedChange:f,errorMessage:b,...h},g)=>{const v=ze(he(e)),x=d?"error":"default",y=!c&&!u,[k,w]=r.useState(a),N=void 0!==i,z=N?i:k,C="indeterminate"===z,j=!0===z;return s("div",{children:[s("label",{htmlFor:v,className:be("relative flex items-center select-none gap-2","right"===l&&"flex-row-reverse justify-end",y?"cursor-pointer":"cursor-default",t),children:[s("input",{ref:e=>{"function"==typeof g?g(e):g&&(g.current=e),e&&(e.indeterminate=C)},...h,id:v,type:"checkbox",className:"peer sr-only",checked:j,disabled:u??c,required:m,name:o,value:p,"aria-checked":C?"mixed":j,"aria-disabled":c,"aria-invalid":d,"aria-readonly":u,"data-state":C?"indeterminate":j?"checked":"unchecked","data-disabled":c?"":void 0,onChange:e=>{if(!y)return;let r;r=!C&&e.currentTarget.checked,N||w(r),f?.(r)}}),s("span",{className:be(qe({state:x,editable:y})),"aria-hidden":"true",children:C?s(Ee,{size:10,className:be("text-rev",!d&&"group-data-[tone=inverse]:text-alt-rev"),strokeWidth:4}):j?s(Re,{size:10,className:be("text-rev",!d&&"group-data-[tone=inverse]:text-alt-rev"),strokeWidth:4}):null}),n&&s("span",{className:be("text-main group-data-[tone=inverse]:text-alt",c&&"opacity-30"),children:n})]}),"error"===x&&b&&s("div",{className:be("flex items-center gap-2 mt-1 text-error leading-5",c&&"opacity-30"),children:[s(Le,{size:14,strokeWidth:2.5}),b]})]})});
|
|
21
21
|
/**
|
|
22
22
|
* @license lucide-react v0.544.0 - ISC
|
|
23
23
|
*
|
|
24
24
|
* This source code is licensed under the ISC license.
|
|
25
25
|
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/Le.displayName="Checkbox";const Ae=ve(["p-0"],{variants:{size:{sm:"h-9 w-9",md:"h-10 w-10",lg:"h-11.5 w-11.5"},shape:{square:"rounded-sm",round:"rounded-full"}},defaultVariants:{size:"md",shape:"square"}}),Ge=r.forwardRef(({className:e,variant:r="text",size:t="md",shape:o="square",icon:n,...i},s)=>a(ke,{ref:s,className:fe(Ae({size:t,shape:o}),e),variant:r,size:t,startIcon:n,label:"",...i}));Ge.displayName="IconButton";const Ve=ve(["relative flex rounded-sm overflow-hidden","h-10 border focus-within:border-bdr-solid","focus-within:outline-none focus-within:ring-3 focus-within:ring-ring/50 focus-within:ring-offset-0","transition-highlight"],{variants:{state:{default:"border-bdr-subtle focus-within:border-bdr-strong",error:"border-fbk-error focus-within:border-fbk-error focus-within:ring-fbk-error/50"},disabled:{true:"pointer-events-none",false:""}},defaultVariants:{state:"default",disabled:!1}}),qe=ve(["w-full px-3 text-base h-10","text-main bg-surface-neutral","placeholder:text-subtle","focus:outline-none","disabled:pointer-events-none","read-only:bg-surface-primary","border-0"]),Be=ve(["block text-base font-semibold text-main"],{variants:{disabled:{true:"opacity-30",false:""}},defaultVariants:{disabled:!1}}),Te=ve(["text-sm text-subtle"],{variants:{disabled:{true:"opacity-30",false:""}},defaultVariants:{disabled:!1}}),Fe=ve(["flex items-center gap-1 text-fbk-error mt-1"]),Xe=ve(["flex items-center justify-center shrink-0","min-h-10 min-w-10","px-4 text-sm text-subtle bg-surface-primary","first:rounded-l-sm last:rounded-r-sm","first:border-r first:border-bdr-soft","last:border-l last:border-bdr-soft"]),Ye=e=>a("div",{className:fe(Xe()),children:e}),De=r.forwardRef(({className:e,label:r,description:t,error:o,startAddon:n,endAddon:i,id:s,...l},d)=>{const c=Ne(be(s)),u=be(l.disabled)??!1,m=be(l.readOnly)??!1,p=o?"error":"default";return a("div",{className:fe("w-full",u&&"opacity-30",e),children:[a("div",{className:"mb-2",children:[r&&a("label",{htmlFor:c,className:fe(Be({disabled:u})),children:a("div",{className:"flex items-center gap-1",children:[m&&a(Se,{size:16}),r]})}),t&&a("div",{className:fe(Te({disabled:u})),children:t})]}),a("div",{className:fe(Ve({state:p,disabled:u})),children:[n&&Ye(n),a("input",{ref:d,id:c,...l,className:fe(qe(),n&&"rounded-l-none",i&&"rounded-r-none","flex-1")}),i&&Ye(i)]}),o&&a("div",{className:fe(Fe()),children:[a(We,{size:16}),o]})]})});function He(e,r,t=!1){return"function"==typeof e?e:!0===e||void 0===e&&t?r:void 0}De.displayName="Input";const Ue=r.forwardRef(({className:e,href:r,external:t="auto",newTab:o,leftIcon:n,rightIcon:i,children:s,rel:l,...d},c)=>{const u="auto"===t?function(e){try{if(e.startsWith("mailto:")||e.startsWith("tel:"))return!0;const r="undefined"!=typeof window?window.location:void 0;return!r||new URL(e,r.origin).origin!==r.origin}catch{return!0}}(r):t,m=o??u?"_blank":void 0,p=He(n,_e),f=He(i,Pe,u);return a("a",{ref:c,href:r,className:fe("inline-flex items-center align-baseline gap-1","text-sm font-normal underline underline-offset-3 decoration-1","visited:text-link-visited hover:text-main-hover",e),target:m,rel:o||u?"noopener noreferrer":"noreferrer",...d,children:[p&&a(p,{className:"inline-block flex-none w-3.5 h-3.5",strokeWidth:1.5,"aria-hidden":"true"}),s,f&&a(f,{className:"inline-block flex-none w-3.5 h-3.5",strokeWidth:1.5,"aria-hidden":"true"})]})});function Ze(e,t){return r.Children.toArray(e).find(e=>function(e,t){return r.isValidElement(e)&&e.type===t}(e,t))}Ue.displayName="Link";const Je=({children:e,className:r,...t})=>a("div",{className:fe("flex items-center gap-2.5 flex-shrink-0",r),...t,children:e}),Ke=({className:e,children:r,...t})=>a("div",{className:fe("flex-1 min-w-0",e),...t,children:r});Ke.displayName="ListItem.Content";const Qe=({className:e,label:r,description:t,metadata:o,icon:n})=>a(Ke,{className:fe(n&&"grid grid-cols-[auto_1fr] gap-2.5 items-center",e),children:[n&&a("div",{className:"flex items-center justify-center flex-shrink-0 group-data-[tone=inverse]:text-alt",children:n}),a("div",{className:"min-w-0 text-left",children:[r&&a("h1",{className:"truncate font-semibold group-data-[tone=inverse]:text-alt",children:r}),t&&a("p",{className:"truncate text-sm text-subtle group-data-[tone=inverse]:text-alt",children:t}),o&&a("p",{className:"text-xs text-subtle group-data-[tone=inverse]:text-alt",children:o})]})]}),er=({children:e,className:r,...t})=>a("div",{className:fe("flex items-center gap-5 flex-shrink-0",r),...t,children:e});er.displayName="ListItem.Right";const rr=({children:e,className:r,selected:t,...o})=>{const n=Ze(e,Je),i=Ze(e,Ke)??Ze(e,Qe),s=Ze(e,er);return a("div",{className:fe("group flex items-center px-2.5 py-1 gap-2.5",t&&"bg-surface-primary-selected text-alt",r),"data-tone":t&&"inverse",role:"listitem",...o,children:[n,i,s]})};rr.displayName="ListItem";const tr=Object.assign(rr,{Left:Je,Content:Ke,DefaultContent:Qe,Right:er}),or=({className:e,selected:r,children:t,label:o,description:n,metadata:i,icon:s,readOnly:l,checked:d,defaultChecked:c,onCheckedChange:u,...m})=>a(tr,{className:fe(!r&&"hover:bg-surface-primary-hover",e),selected:r,role:"row","aria-selected":r,...m,children:[a(tr.Left,{children:a(Le,{checked:d,defaultChecked:c,onCheckedChange:u,readOnly:l})}),a(tr.DefaultContent,{label:o,description:n,metadata:i,icon:s}),a(tr.Right,{children:t})]});function nr(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function ar(e){const r=sr(e),t=o.forwardRef((e,t)=>{const{children:n,...i}=e,s=o.Children.toArray(n),l=s.find(dr);if(l){const e=l.props.children,n=s.map(r=>r===l?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:r);return a(r,{...i,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return a(r,{...i,ref:t,children:n})});return t.displayName=`${e}.Slot`,t}or.displayName="SelectableListItem";var ir=ar("Slot");function sr(e){const r=o.forwardRef((e,r)=>{const{children:t,...n}=e;if(o.isValidElement(t)){const e=function(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning;if(t)return e.ref;if(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t)return e.props.ref;return e.props.ref||e.ref}(t),a=function(e,r){const t={...r};for(const o in r){const n=e[o],a=r[o];/^on[A-Z]/.test(o)?n&&a?t[o]=(...e)=>{const r=a(...e);return n(...e),r}:n&&(t[o]=n):"style"===o?t[o]={...n,...a}:"className"===o&&(t[o]=[n,a].filter(Boolean).join(" "))}return{...e,...t}}(n,t.props);return t.type!==o.Fragment&&(a.ref=r?function(...e){return r=>{let t=!1;const o=e.map(e=>{const o=nr(e,r);return t||"function"!=typeof o||(t=!0),o});if(t)return()=>{for(let r=0;r<o.length;r++){const t=o[r];"function"==typeof t?t():nr(e[r],null)}}}}(r,e):e),o.cloneElement(t,a)}return o.Children.count(t)>1?o.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var lr=Symbol("radix.slottable");function dr(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===lr}const cr={top:"bottom",bottom:"top",left:"right",right:"left"};function ur({children:e,asChild:r,triggerRef:t,isOpen:o,onMouseEnter:n,onMouseLeave:i,onFocus:s,onBlur:l}){return a(r?ir:"div",{ref:t,className:r?void 0:"inline-flex",onMouseEnter:n,onMouseLeave:i,onFocus:s,onBlur:l,"aria-describedby":o?"tooltip":void 0,role:r?void 0:"button",tabIndex:r?void 0:0,children:e})}function mr({children:e,actualSide:r,className:t,position:o,tooltipRef:n}){return a("div",{ref:n,role:"tooltip",className:fe("fixed z-50 pointer-events-none",!o.transformOrigin&&"opacity-0"),style:{top:`${o.top}px`,left:`${o.left}px`,transformOrigin:o.transformOrigin},children:a("div",{className:fe("relative w-fit rounded-xs px-2 py-1 text-xs","bg-tooltip text-tooltip-foreground shadow-md","animate-in fade-in-0 zoom-in-95","top"===r&&"slide-in-from-top-2","bottom"===r&&"slide-in-from-bottom-2","left"===r&&"slide-in-from-left-2","right"===r&&"slide-in-from-right-2",t),children:[e,a("div",{className:fe("absolute size-2 rotate-45","top"===r&&"bottom-0 left-1/2 -translate-x-1/2 translate-y-1/2","bottom"===r&&"top-0 left-1/2 -translate-x-1/2 -translate-y-1/2","left"===r&&"right-0 top-1/2 -translate-y-1/2 translate-x-1/2","right"===r&&"left-0 top-1/2 -translate-y-1/2 -translate-x-1/2"),style:{backgroundColor:"inherit"}})]})})}exports.Button=ke,exports.Checkbox=Le,exports.IconButton=Ge,exports.IdProvider=we,exports.Input=De,exports.Link=Ue,exports.ListItem=tr,exports.SelectableListItem=or,exports.Tooltip=function({className:t,children:o,value:n,side:i="bottom",asChild:s=!0,delay:l=0}){const[d,c]=r.useState(!1),u=r.useRef(null),m=r.useRef(null),p=r.useRef(),f=null!=n&&""!==n,b=function(e,t,o,n){const[a,i]=r.useState({top:0,left:0,transformOrigin:"",actualSide:t});return r.useEffect(()=>{if(!e||!o.current||!n.current)return;const r=o.current.getBoundingClientRect(),a=n.current.getBoundingClientRect(),s=e=>{let t=0,o=0,n="";switch(e){case"top":t=r.top+window.scrollY-a.height-8,o=r.left+window.scrollX+(r.width-a.width)/2,n="bottom center";break;case"bottom":t=r.bottom+window.scrollY+8,o=r.left+window.scrollX+(r.width-a.width)/2,n="top center";break;case"left":t=r.top+window.scrollY+(r.height-a.height)/2,o=r.left+window.scrollX-a.width-8,n="center right";break;case"right":t=r.top+window.scrollY+(r.height-a.height)/2,o=r.right+window.scrollX+8,n="center left"}return{top:t,left:o,transformOrigin:n,actualSide:e}},l=({top:e,left:r})=>{const t=window.scrollY+8,o=window.scrollY+window.innerHeight-a.height-8,n=window.scrollX+8,i=window.scrollX+window.innerWidth-a.width-8;return e>=t&&e<=o&&r>=n&&r<=i};let d=s(t);if(!l(d)){const e=s(cr[t]);l(e)&&(d=e)}i(d)},[e,t]),a}(d&&f,i,u,m);r.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const h=r.useCallback(()=>{f&&(p.current&&clearTimeout(p.current),l>0?p.current=window.setTimeout(()=>c(!0),l):c(!0))},[l,f]),g=r.useCallback(()=>{p.current&&clearTimeout(p.current),c(!1)},[]),v=r.useCallback(()=>{f&&c(!0)},[f]),x=r.useCallback(()=>c(!1),[]);return a(e.Fragment,{children:[a(ur,{asChild:s,triggerRef:u,isOpen:d,onMouseEnter:h,onMouseLeave:g,onFocus:v,onBlur:x,children:o}),d&&f&&r.createPortal(a(mr,{actualSide:b.actualSide,className:t,position:b,tooltipRef:m,children:n}),document.body)]})},exports.cn=fe,exports.unwrap=be,exports.usePrefixedId=Ne;
|
|
26
|
+
*/Ge.displayName="Checkbox";const Ve=xe(["p-0"],{variants:{size:{sm:"h-9 w-9",md:"h-10 w-10",lg:"h-11.5 w-11.5"},shape:{square:"rounded-sm",round:"rounded-full"}},defaultVariants:{size:"md",shape:"square"}}),Be=r.forwardRef(({className:e,variant:r="text",size:t="md",shape:o="square",icon:n,...a},i)=>s(ke,{ref:i,className:be(Ve({size:t,shape:o}),e),variant:r,size:t,startIcon:n,label:"",...a}));Be.displayName="IconButton";const Te=xe(["relative flex rounded-sm overflow-hidden","h-12 border focus-within:border-bdr-solid","focus-within:focus-ring transition-highlight"],{variants:{state:{default:"border-bdr-subtle focus-within:border-bdr-strong",error:"border-error focus-within:border-error focus-within:ring-error/50"},disabled:{true:"pointer-events-none"}},defaultVariants:{state:"default",disabled:!1}}),Fe=({children:e,error:r})=>s("div",{className:be("flex items-center justify-center shrink-0 min-w-12 px-4","text-sm text-subtle bg-surface-primary","first:rounded-l-sm first:border-r first:border-bdr-subtle","last:rounded-r-sm last:border-l last:border-bdr-subtle",r&&"first:border-error last:border-error"),children:e}),Xe=r.forwardRef(({className:e,label:r,description:t,error:o,startAddon:n,endAddon:a,id:i,disabled:l,readOnly:d,...c},u)=>{const m=ze(he(i)),p=o?"error":"default",f="error"===p;return s("div",{className:be("w-full",l&&"opacity-30",e),children:[s("div",{className:"mb-2",children:[r&&s("label",{htmlFor:m,className:be("block text-base font-semibold text-main",l&&"opacity-30"),children:s("div",{className:"flex items-center gap-2",children:[d&&s(Pe,{size:16,strokeWidth:2.5}),r]})}),t&&s("div",{className:be("text-sm text-subtle",l&&"opacity-30"),children:t})]}),s("div",{className:be(Te({state:p,disabled:l})),children:[n&&s(Fe,{error:f,children:n}),s("input",{ref:u,id:m,className:be("flex-1 w-full px-4.5 text-base","text-main bg-surface-neutral placeholder:text-subtle","border-0 focus:outline-none","disabled:pointer-events-none read-only:bg-surface-primary",n&&"rounded-l-none",a&&"rounded-r-none"),disabled:l,readOnly:d,...c}),a&&s(Fe,{error:f,children:a})]}),o&&s("div",{className:"flex items-center gap-2 mt-2 leading-5 text-error",children:[s(Le,{size:16,strokeWidth:2.5}),o]})]})});function Ye(e,r,t=!1){return"function"==typeof e?e:!0===e||void 0===e&&t?r:void 0}Xe.displayName="Input";const De=r.forwardRef(({className:e,href:r,external:t="auto",newTab:o,leftIcon:n,rightIcon:a,children:i,rel:l,...d},c)=>{const u="auto"===t?function(e){try{if(e.startsWith("mailto:")||e.startsWith("tel:"))return!0;const r="undefined"!=typeof window?window.location:void 0;return!r||new URL(e,r.origin).origin!==r.origin}catch{return!0}}(r):t,m=o??u?"_blank":void 0,p=Ye(n,_e),f=Ye(a,We,u);return s("a",{ref:c,href:r,className:be("inline-flex items-center align-baseline gap-1","text-sm font-normal underline underline-offset-3 decoration-1","visited:text-link-visited hover:text-main-hover",e),target:m,rel:o||u?"noopener noreferrer":"noreferrer",...d,children:[p&&s(p,{className:"inline-block flex-none w-3.5 h-3.5",strokeWidth:1.5,"aria-hidden":"true"}),i,f&&s(f,{className:"inline-block flex-none w-3.5 h-3.5",strokeWidth:1.5,"aria-hidden":"true"})]})});function He(e,t){return r.Children.toArray(e).find(e=>function(e,t){return r.isValidElement(e)&&e.type===t}(e,t))}De.displayName="Link";const Ue=({children:e,className:r,...t})=>s("div",{className:be("flex items-center gap-2.5 flex-shrink-0",r),...t,children:e}),Ze=({className:e,children:r,...t})=>s("div",{className:be("flex-1 min-w-0",e),...t,children:r});Ze.displayName="ListItem.Content";const Je=({className:e,label:r,description:t,metadata:o,icon:n})=>s(Ze,{className:be(n&&"grid grid-cols-[auto_1fr] gap-2.5 items-center",e),children:[n&&s("div",{className:"flex items-center justify-center flex-shrink-0 group-data-[tone=inverse]:text-alt",children:n}),s("div",{className:"min-w-0 text-left",children:[r&&s("h1",{className:"truncate font-semibold group-data-[tone=inverse]:text-alt",children:r}),t&&s("p",{className:"truncate text-sm text-subtle group-data-[tone=inverse]:text-alt",children:t}),o&&s("p",{className:"text-xs text-subtle group-data-[tone=inverse]:text-alt",children:o})]})]}),Ke=({children:e,className:r,...t})=>s("div",{className:be("flex items-center gap-5 flex-shrink-0",r),...t,children:e});Ke.displayName="ListItem.Right";const Qe=({children:e,className:r,selected:t,...o})=>{const n=He(e,Ue),a=He(e,Ze)??He(e,Je),i=He(e,Ke);return s("div",{className:be("group flex items-center px-2.5 py-1 gap-2.5",t&&"bg-surface-primary-selected text-alt",r),"data-tone":t&&"inverse",role:"listitem",...o,children:[n,a,i]})};Qe.displayName="ListItem";const er=Object.assign(Qe,{Left:Ue,Content:Ze,DefaultContent:Je,Right:Ke}),rr=({className:e,selected:r,children:t,label:o,description:n,metadata:a,icon:i,readOnly:l,checked:d,defaultChecked:c,onCheckedChange:u,...m})=>s(er,{className:be(!r&&"hover:bg-surface-primary-hover",e),selected:r,role:"row","aria-selected":r,...m,children:[s(er.Left,{children:s(Ge,{checked:d,defaultChecked:c,onCheckedChange:u,readOnly:l})}),s(er.DefaultContent,{label:o,description:n,metadata:a,icon:i}),s(er.Right,{children:t})]});function tr(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function or(e){const r=ar(e),t=n.forwardRef((e,t)=>{const{children:o,...a}=e,i=n.Children.toArray(o),l=i.find(ir);if(l){const e=l.props.children,o=i.map(r=>r===l?n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null:r);return s(r,{...a,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return s(r,{...a,ref:t,children:o})});return t.displayName=`${e}.Slot`,t}rr.displayName="SelectableListItem";var nr=or("Slot");function ar(e){const r=n.forwardRef((e,r)=>{const{children:t,...o}=e;if(n.isValidElement(t)){const e=function(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning;if(t)return e.ref;if(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t)return e.props.ref;return e.props.ref||e.ref}(t),a=function(e,r){const t={...r};for(const o in r){const n=e[o],a=r[o];/^on[A-Z]/.test(o)?n&&a?t[o]=(...e)=>{const r=a(...e);return n(...e),r}:n&&(t[o]=n):"style"===o?t[o]={...n,...a}:"className"===o&&(t[o]=[n,a].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props);return t.type!==n.Fragment&&(a.ref=r?function(...e){return r=>{let t=!1;const o=e.map(e=>{const o=tr(e,r);return t||"function"!=typeof o||(t=!0),o});if(t)return()=>{for(let r=0;r<o.length;r++){const t=o[r];"function"==typeof t?t():tr(e[r],null)}}}}(r,e):e),n.cloneElement(t,a)}return n.Children.count(t)>1?n.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var sr=Symbol("radix.slottable");function ir(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===sr}const lr={top:"bottom",bottom:"top",left:"right",right:"left"};function dr({children:e,asChild:r,triggerRef:t,isOpen:o,onMouseEnter:n,onMouseLeave:a,onFocus:i,onBlur:l}){return s(r?nr:"div",{ref:t,className:r?void 0:"inline-flex",onMouseEnter:n,onMouseLeave:a,onFocus:i,onBlur:l,"aria-describedby":o?"tooltip":void 0,role:r?void 0:"button",tabIndex:r?void 0:0,children:e})}function cr({children:e,actualSide:r,className:t,position:o,tooltipRef:n}){return s("div",{ref:n,role:"tooltip",className:be("fixed z-50 pointer-events-none",!o.transformOrigin&&"opacity-0"),style:{top:`${o.top}px`,left:`${o.left}px`,transformOrigin:o.transformOrigin},children:s("div",{className:be("relative w-fit rounded-xs px-2 py-1 text-xs","bg-tooltip text-tooltip-foreground shadow-md","animate-in fade-in-0 zoom-in-95","top"===r&&"slide-in-from-top-2","bottom"===r&&"slide-in-from-bottom-2","left"===r&&"slide-in-from-left-2","right"===r&&"slide-in-from-right-2",t),children:[e,s("div",{className:be("absolute size-2 rotate-45","top"===r&&"bottom-0 left-1/2 -translate-x-1/2 translate-y-1/2","bottom"===r&&"top-0 left-1/2 -translate-x-1/2 -translate-y-1/2","left"===r&&"right-0 top-1/2 -translate-y-1/2 translate-x-1/2","right"===r&&"left-0 top-1/2 -translate-y-1/2 -translate-x-1/2"),style:{backgroundColor:"inherit"}})]})})}function ur(...e){return r.useCallback(r=>{e.forEach(e=>function(e,r){if(e)if("function"==typeof e)e(r);else try{e.current=r}catch{}}(e,r))},e)}const mr=r.forwardRef(({className:e,id:o,value:n,defaultValue:a="",placeholder:i="Search",clearLabel:l="Clear",onChange:d,disabled:c,readOnly:u,...m},p)=>{const f=ze(he(o)),[b,h]=t.useState(a),g=void 0!==n,v=g?n:b,x=v.length>0&&!c&&!u,y=r.useRef(null);return s("div",{className:be("relative flex rounded-sm overflow-hidden","h-12 border border-bdr-subtle focus-within:border-bdr-strong","focus-within:focus-ring transition-highlight",c&&"pointer-events-none opacity-30",e),children:[s($e,{className:"absolute left-4.5 top-1/2 -translate-y-1/2 mt-0.25 text-subtle pointer-events-none",size:20,strokeWidth:1.5}),s("input",{ref:ur(p,y),id:f,className:be("w-full text-base pr-1 px-12 border-0","text-main bg-surface-neutral","placeholder:text-subtle","focus:outline-none","disabled:pointer-events-none","read-only:bg-surface-primary"),value:v,onChange:e=>{const r=e.currentTarget.value;g||h(r),d?.(r)},readOnly:u,disabled:c,placeholder:i,"aria-label":"Search","aria-disabled":c,...m}),x&&s(Be,{className:"absolute right-3 top-1/2 -translate-y-1/2 w-8 h-8 text-subtle",size:"lg",icon:Ae,title:l,onClick:()=>{g||h(""),d?.(""),y.current?.focus()},disabled:c})]})});mr.displayName="SearchInput",exports.Button=ke,exports.Checkbox=Ge,exports.IconButton=Be,exports.IdProvider=Ne,exports.Input=Xe,exports.Link=De,exports.ListItem=er,exports.SearchInput=mr,exports.SelectableListItem=rr,exports.Tooltip=function({className:t,children:o,value:n,side:a="bottom",asChild:i=!0,delay:l=0}){const[d,c]=r.useState(!1),u=r.useRef(null),m=r.useRef(null),p=r.useRef(),f=null!=n&&""!==n,b=function(e,t,o,n){const[a,s]=r.useState({top:0,left:0,transformOrigin:"",actualSide:t});return r.useEffect(()=>{if(!e||!o.current||!n.current)return;const r=o.current.getBoundingClientRect(),a=n.current.getBoundingClientRect(),i=e=>{let t=0,o=0,n="";switch(e){case"top":t=r.top+window.scrollY-a.height-8,o=r.left+window.scrollX+(r.width-a.width)/2,n="bottom center";break;case"bottom":t=r.bottom+window.scrollY+8,o=r.left+window.scrollX+(r.width-a.width)/2,n="top center";break;case"left":t=r.top+window.scrollY+(r.height-a.height)/2,o=r.left+window.scrollX-a.width-8,n="center right";break;case"right":t=r.top+window.scrollY+(r.height-a.height)/2,o=r.right+window.scrollX+8,n="center left"}return{top:t,left:o,transformOrigin:n,actualSide:e}},l=({top:e,left:r})=>{const t=window.scrollY+8,o=window.scrollY+window.innerHeight-a.height-8,n=window.scrollX+8,s=window.scrollX+window.innerWidth-a.width-8;return e>=t&&e<=o&&r>=n&&r<=s};let d=i(t);if(!l(d)){const e=i(lr[t]);l(e)&&(d=e)}s(d)},[e,t]),a}(d&&f,a,u,m);r.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const h=r.useCallback(()=>{f&&(p.current&&clearTimeout(p.current),l>0?p.current=window.setTimeout(()=>c(!0),l):c(!0))},[l,f]),g=r.useCallback(()=>{p.current&&clearTimeout(p.current),c(!1)},[]),v=r.useCallback(()=>{f&&c(!0)},[f]),x=r.useCallback(()=>c(!1),[]);return s(e.Fragment,{children:[s(dr,{asChild:i,triggerRef:u,isOpen:d,onMouseEnter:h,onMouseLeave:g,onFocus:v,onBlur:x,children:o}),d&&f&&r.createPortal(s(cr,{actualSide:b.actualSide,className:t,position:b,tooltipRef:m,children:n}),document.body)]})},exports.cn=be,exports.unwrap=he,exports.usePrefixedId=ze;
|
package/dist/enonic-ui.es.js
CHANGED
|
@@ -2,6 +2,7 @@ import { options, Fragment } from "preact";
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { forwardRef, createContext, useId, useContext, createElement, useState, isValidElement, Children, useRef, useEffect, useCallback, createPortal } from "react";
|
|
4
4
|
import "preact/compat";
|
|
5
|
+
import { useState as useState$1 } from "preact/hooks";
|
|
5
6
|
var f = 0;
|
|
6
7
|
function u(e, t, n, o, i, u2) {
|
|
7
8
|
t || (t = {});
|
|
@@ -3064,10 +3065,10 @@ const getIconSize = (size) => {
|
|
|
3064
3065
|
}
|
|
3065
3066
|
};
|
|
3066
3067
|
const Button = forwardRef(
|
|
3067
|
-
({ className, variant = "text", size = "md", startIcon, label, endIcon, title, children, ...props }, ref) => {
|
|
3068
|
+
({ className, variant = "text", size = "md", iconSize, startIcon, label, endIcon, title, children, ...props }, ref) => {
|
|
3068
3069
|
const StartIcon = startIcon;
|
|
3069
3070
|
const EndIcon = endIcon;
|
|
3070
|
-
const
|
|
3071
|
+
const iconSizeValue = iconSize ?? getIconSize(size ?? "md");
|
|
3071
3072
|
return /* @__PURE__ */ u(
|
|
3072
3073
|
"button",
|
|
3073
3074
|
{
|
|
@@ -3079,10 +3080,10 @@ const Button = forwardRef(
|
|
|
3079
3080
|
"aria-disabled": props.disabled,
|
|
3080
3081
|
...props,
|
|
3081
3082
|
children: [
|
|
3082
|
-
StartIcon && /* @__PURE__ */ u(StartIcon, { size:
|
|
3083
|
+
StartIcon && /* @__PURE__ */ u(StartIcon, { size: iconSizeValue, strokeWidth: 1.5 }),
|
|
3083
3084
|
children,
|
|
3084
3085
|
label,
|
|
3085
|
-
EndIcon && /* @__PURE__ */ u(EndIcon, { size:
|
|
3086
|
+
EndIcon && /* @__PURE__ */ u(EndIcon, { size: iconSizeValue, strokeWidth: 1.5 })
|
|
3086
3087
|
]
|
|
3087
3088
|
}
|
|
3088
3089
|
);
|
|
@@ -3208,58 +3209,58 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
3208
3209
|
* This source code is licensed under the ISC license.
|
|
3209
3210
|
* See the LICENSE file in the root directory of this source tree.
|
|
3210
3211
|
*/
|
|
3211
|
-
const __iconNode$
|
|
3212
|
+
const __iconNode$7 = [
|
|
3212
3213
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
3213
3214
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
3214
3215
|
];
|
|
3215
|
-
const ArrowRight = createLucideIcon("arrow-right", __iconNode$
|
|
3216
|
+
const ArrowRight = createLucideIcon("arrow-right", __iconNode$7);
|
|
3216
3217
|
/**
|
|
3217
3218
|
* @license lucide-react v0.544.0 - ISC
|
|
3218
3219
|
*
|
|
3219
3220
|
* This source code is licensed under the ISC license.
|
|
3220
3221
|
* See the LICENSE file in the root directory of this source tree.
|
|
3221
3222
|
*/
|
|
3222
|
-
const __iconNode$
|
|
3223
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
3223
|
+
const __iconNode$6 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
3224
|
+
const Check = createLucideIcon("check", __iconNode$6);
|
|
3224
3225
|
/**
|
|
3225
3226
|
* @license lucide-react v0.544.0 - ISC
|
|
3226
3227
|
*
|
|
3227
3228
|
* This source code is licensed under the ISC license.
|
|
3228
3229
|
* See the LICENSE file in the root directory of this source tree.
|
|
3229
3230
|
*/
|
|
3230
|
-
const __iconNode$
|
|
3231
|
+
const __iconNode$5 = [
|
|
3231
3232
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
3232
3233
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
3233
3234
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
3234
3235
|
];
|
|
3235
|
-
const ExternalLink = createLucideIcon("external-link", __iconNode$
|
|
3236
|
+
const ExternalLink = createLucideIcon("external-link", __iconNode$5);
|
|
3236
3237
|
/**
|
|
3237
3238
|
* @license lucide-react v0.544.0 - ISC
|
|
3238
3239
|
*
|
|
3239
3240
|
* This source code is licensed under the ISC license.
|
|
3240
3241
|
* See the LICENSE file in the root directory of this source tree.
|
|
3241
3242
|
*/
|
|
3242
|
-
const __iconNode$
|
|
3243
|
+
const __iconNode$4 = [
|
|
3243
3244
|
["circle", { cx: "12", cy: "16", r: "1", key: "1au0dj" }],
|
|
3244
3245
|
["rect", { x: "3", y: "10", width: "18", height: "12", rx: "2", key: "6s8ecr" }],
|
|
3245
3246
|
["path", { d: "M7 10V7a5 5 0 0 1 10 0v3", key: "1pqi11" }]
|
|
3246
3247
|
];
|
|
3247
|
-
const LockKeyhole = createLucideIcon("lock-keyhole", __iconNode$
|
|
3248
|
+
const LockKeyhole = createLucideIcon("lock-keyhole", __iconNode$4);
|
|
3248
3249
|
/**
|
|
3249
3250
|
* @license lucide-react v0.544.0 - ISC
|
|
3250
3251
|
*
|
|
3251
3252
|
* This source code is licensed under the ISC license.
|
|
3252
3253
|
* See the LICENSE file in the root directory of this source tree.
|
|
3253
3254
|
*/
|
|
3254
|
-
const __iconNode$
|
|
3255
|
-
const Minus = createLucideIcon("minus", __iconNode$
|
|
3255
|
+
const __iconNode$3 = [["path", { d: "M5 12h14", key: "1ays0h" }]];
|
|
3256
|
+
const Minus = createLucideIcon("minus", __iconNode$3);
|
|
3256
3257
|
/**
|
|
3257
3258
|
* @license lucide-react v0.544.0 - ISC
|
|
3258
3259
|
*
|
|
3259
3260
|
* This source code is licensed under the ISC license.
|
|
3260
3261
|
* See the LICENSE file in the root directory of this source tree.
|
|
3261
3262
|
*/
|
|
3262
|
-
const __iconNode = [
|
|
3263
|
+
const __iconNode$2 = [
|
|
3263
3264
|
["path", { d: "M12 16h.01", key: "1drbdi" }],
|
|
3264
3265
|
["path", { d: "M12 8v4", key: "1got3b" }],
|
|
3265
3266
|
[
|
|
@@ -3270,7 +3271,29 @@ const __iconNode = [
|
|
|
3270
3271
|
}
|
|
3271
3272
|
]
|
|
3272
3273
|
];
|
|
3273
|
-
const OctagonAlert = createLucideIcon("octagon-alert", __iconNode);
|
|
3274
|
+
const OctagonAlert = createLucideIcon("octagon-alert", __iconNode$2);
|
|
3275
|
+
/**
|
|
3276
|
+
* @license lucide-react v0.544.0 - ISC
|
|
3277
|
+
*
|
|
3278
|
+
* This source code is licensed under the ISC license.
|
|
3279
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3280
|
+
*/
|
|
3281
|
+
const __iconNode$1 = [
|
|
3282
|
+
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
3283
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
3284
|
+
];
|
|
3285
|
+
const Search = createLucideIcon("search", __iconNode$1);
|
|
3286
|
+
/**
|
|
3287
|
+
* @license lucide-react v0.544.0 - ISC
|
|
3288
|
+
*
|
|
3289
|
+
* This source code is licensed under the ISC license.
|
|
3290
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3291
|
+
*/
|
|
3292
|
+
const __iconNode = [
|
|
3293
|
+
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
3294
|
+
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
3295
|
+
];
|
|
3296
|
+
const X = createLucideIcon("x", __iconNode);
|
|
3274
3297
|
const checkboxBoxVariants = cva(
|
|
3275
3298
|
[
|
|
3276
3299
|
"inline-block",
|
|
@@ -3283,10 +3306,7 @@ const checkboxBoxVariants = cva(
|
|
|
3283
3306
|
{
|
|
3284
3307
|
variants: {
|
|
3285
3308
|
editable: {
|
|
3286
|
-
true:
|
|
3287
|
-
"peer-focus-visible:outline-none peer-focus-visible:ring-3 peer-focus-visible:ring-ring/75 peer-focus-visible:ring-offset-0",
|
|
3288
|
-
"peer-hover:outline-none peer-hover:ring-3 peer-hover:ring-ring/50 peer-hover:ring-offset-0"
|
|
3289
|
-
],
|
|
3309
|
+
true: "peer-focus-visible:focus-ring peer-hover:focus-ring",
|
|
3290
3310
|
false: "opacity-30"
|
|
3291
3311
|
},
|
|
3292
3312
|
state: {
|
|
@@ -3301,11 +3321,11 @@ const checkboxBoxVariants = cva(
|
|
|
3301
3321
|
"group-data-[tone=inverse]:peer-indeterminate:border-alt"
|
|
3302
3322
|
],
|
|
3303
3323
|
error: [
|
|
3304
|
-
"border-
|
|
3305
|
-
"peer-checked:bg-
|
|
3306
|
-
"peer-indeterminate:bg-
|
|
3307
|
-
"peer-focus-visible:border-
|
|
3308
|
-
"peer-hover:border-
|
|
3324
|
+
"border-error",
|
|
3325
|
+
"peer-checked:bg-error peer-checked:border-error",
|
|
3326
|
+
"peer-indeterminate:bg-error peer-indeterminate:border-error",
|
|
3327
|
+
"peer-focus-visible:border-error peer-focus-visible:ring-error/50",
|
|
3328
|
+
"peer-hover:border-error peer-hover:ring-error/50"
|
|
3309
3329
|
]
|
|
3310
3330
|
}
|
|
3311
3331
|
},
|
|
@@ -3321,7 +3341,7 @@ const Checkbox = forwardRef(
|
|
|
3321
3341
|
className,
|
|
3322
3342
|
name,
|
|
3323
3343
|
label,
|
|
3324
|
-
defaultChecked,
|
|
3344
|
+
defaultChecked = false,
|
|
3325
3345
|
checked,
|
|
3326
3346
|
align = "left",
|
|
3327
3347
|
error,
|
|
@@ -3336,7 +3356,7 @@ const Checkbox = forwardRef(
|
|
|
3336
3356
|
const inputId = usePrefixedId(unwrap(id));
|
|
3337
3357
|
const state = error ? "error" : "default";
|
|
3338
3358
|
const editable = !disabled && !readOnly;
|
|
3339
|
-
const [uncontrolledChecked, setUncontrolledChecked] = useState(defaultChecked
|
|
3359
|
+
const [uncontrolledChecked, setUncontrolledChecked] = useState(defaultChecked);
|
|
3340
3360
|
const isControlled = checked !== void 0;
|
|
3341
3361
|
const checkedState = isControlled ? checked : uncontrolledChecked;
|
|
3342
3362
|
const isIndeterminate = checkedState === "indeterminate";
|
|
@@ -3411,7 +3431,7 @@ const Checkbox = forwardRef(
|
|
|
3411
3431
|
]
|
|
3412
3432
|
}
|
|
3413
3433
|
),
|
|
3414
|
-
state === "error" && errorMessage && /* @__PURE__ */ u("div", { className: cn("flex items-center gap-2 text-
|
|
3434
|
+
state === "error" && errorMessage && /* @__PURE__ */ u("div", { className: cn("flex items-center gap-2 mt-1 text-error leading-5", disabled && "opacity-30"), children: [
|
|
3415
3435
|
/* @__PURE__ */ u(OctagonAlert, { size: 14, strokeWidth: 2.5 }),
|
|
3416
3436
|
errorMessage
|
|
3417
3437
|
] })
|
|
@@ -3456,19 +3476,17 @@ IconButton.displayName = "IconButton";
|
|
|
3456
3476
|
const inputContainerVariants = cva(
|
|
3457
3477
|
[
|
|
3458
3478
|
"relative flex rounded-sm overflow-hidden",
|
|
3459
|
-
"h-
|
|
3460
|
-
"focus-within:
|
|
3461
|
-
"transition-highlight"
|
|
3479
|
+
"h-12 border focus-within:border-bdr-solid",
|
|
3480
|
+
"focus-within:focus-ring transition-highlight"
|
|
3462
3481
|
],
|
|
3463
3482
|
{
|
|
3464
3483
|
variants: {
|
|
3465
3484
|
state: {
|
|
3466
3485
|
default: "border-bdr-subtle focus-within:border-bdr-strong",
|
|
3467
|
-
error: "border-
|
|
3486
|
+
error: "border-error focus-within:border-error focus-within:ring-error/50"
|
|
3468
3487
|
},
|
|
3469
3488
|
disabled: {
|
|
3470
|
-
true: "pointer-events-none"
|
|
3471
|
-
false: ""
|
|
3489
|
+
true: "pointer-events-none"
|
|
3472
3490
|
}
|
|
3473
3491
|
},
|
|
3474
3492
|
defaultVariants: {
|
|
@@ -3477,76 +3495,63 @@ const inputContainerVariants = cva(
|
|
|
3477
3495
|
}
|
|
3478
3496
|
}
|
|
3479
3497
|
);
|
|
3480
|
-
const
|
|
3481
|
-
"
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
disabled: {
|
|
3492
|
-
true: "opacity-30",
|
|
3493
|
-
false: ""
|
|
3494
|
-
}
|
|
3495
|
-
},
|
|
3496
|
-
defaultVariants: {
|
|
3497
|
-
disabled: false
|
|
3498
|
-
}
|
|
3499
|
-
});
|
|
3500
|
-
const descriptionVariants = cva(["text-sm text-subtle"], {
|
|
3501
|
-
variants: {
|
|
3502
|
-
disabled: {
|
|
3503
|
-
true: "opacity-30",
|
|
3504
|
-
false: ""
|
|
3505
|
-
}
|
|
3506
|
-
},
|
|
3507
|
-
defaultVariants: {
|
|
3508
|
-
disabled: false
|
|
3498
|
+
const Addon = ({ children, error }) => /* @__PURE__ */ u(
|
|
3499
|
+
"div",
|
|
3500
|
+
{
|
|
3501
|
+
className: cn(
|
|
3502
|
+
"flex items-center justify-center shrink-0 min-w-12 px-4",
|
|
3503
|
+
"text-sm text-subtle bg-surface-primary",
|
|
3504
|
+
"first:rounded-l-sm first:border-r first:border-bdr-subtle",
|
|
3505
|
+
"last:rounded-r-sm last:border-l last:border-bdr-subtle",
|
|
3506
|
+
error && "first:border-error last:border-error"
|
|
3507
|
+
),
|
|
3508
|
+
children
|
|
3509
3509
|
}
|
|
3510
|
-
|
|
3511
|
-
const errorVariants = cva(["flex items-center gap-1 text-fbk-error mt-1"]);
|
|
3512
|
-
const addonVariants = cva([
|
|
3513
|
-
"flex items-center justify-center shrink-0",
|
|
3514
|
-
"min-h-10 min-w-10",
|
|
3515
|
-
"px-4 text-sm text-subtle bg-surface-primary",
|
|
3516
|
-
"first:rounded-l-sm last:rounded-r-sm",
|
|
3517
|
-
"first:border-r first:border-bdr-soft",
|
|
3518
|
-
"last:border-l last:border-bdr-soft"
|
|
3519
|
-
]);
|
|
3520
|
-
const renderAddon = (addon) => /* @__PURE__ */ u("div", { className: cn(addonVariants()), children: addon });
|
|
3510
|
+
);
|
|
3521
3511
|
const Input = forwardRef(
|
|
3522
|
-
({ className, label, description, error, startAddon, endAddon, id, ...props }, ref) => {
|
|
3512
|
+
({ className, label, description, error, startAddon, endAddon, id, disabled, readOnly, ...props }, ref) => {
|
|
3523
3513
|
const inputId = usePrefixedId(unwrap(id));
|
|
3524
|
-
const disabled = unwrap(props.disabled) ?? false;
|
|
3525
|
-
const readOnly = unwrap(props.readOnly) ?? false;
|
|
3526
3514
|
const state = error ? "error" : "default";
|
|
3515
|
+
const hasError = state === "error";
|
|
3527
3516
|
return /* @__PURE__ */ u("div", { className: cn("w-full", disabled && "opacity-30", className), children: [
|
|
3528
3517
|
/* @__PURE__ */ u("div", { className: "mb-2", children: [
|
|
3529
|
-
label && /* @__PURE__ */ u(
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3518
|
+
label && /* @__PURE__ */ u(
|
|
3519
|
+
"label",
|
|
3520
|
+
{
|
|
3521
|
+
htmlFor: inputId,
|
|
3522
|
+
className: cn("block text-base font-semibold text-main", disabled && "opacity-30"),
|
|
3523
|
+
children: /* @__PURE__ */ u("div", { className: "flex items-center gap-2", children: [
|
|
3524
|
+
readOnly && /* @__PURE__ */ u(LockKeyhole, { size: 16, strokeWidth: 2.5 }),
|
|
3525
|
+
label
|
|
3526
|
+
] })
|
|
3527
|
+
}
|
|
3528
|
+
),
|
|
3529
|
+
description && /* @__PURE__ */ u("div", { className: cn("text-sm text-subtle", disabled && "opacity-30"), children: description })
|
|
3534
3530
|
] }),
|
|
3535
3531
|
/* @__PURE__ */ u("div", { className: cn(inputContainerVariants({ state, disabled })), children: [
|
|
3536
|
-
startAddon &&
|
|
3532
|
+
startAddon && /* @__PURE__ */ u(Addon, { error: hasError, children: startAddon }),
|
|
3537
3533
|
/* @__PURE__ */ u(
|
|
3538
3534
|
"input",
|
|
3539
3535
|
{
|
|
3540
3536
|
ref,
|
|
3541
3537
|
id: inputId,
|
|
3542
|
-
|
|
3543
|
-
|
|
3538
|
+
className: cn(
|
|
3539
|
+
"flex-1 w-full px-4.5 text-base",
|
|
3540
|
+
"text-main bg-surface-neutral placeholder:text-subtle",
|
|
3541
|
+
"border-0 focus:outline-none",
|
|
3542
|
+
"disabled:pointer-events-none read-only:bg-surface-primary",
|
|
3543
|
+
startAddon && "rounded-l-none",
|
|
3544
|
+
endAddon && "rounded-r-none"
|
|
3545
|
+
),
|
|
3546
|
+
disabled,
|
|
3547
|
+
readOnly,
|
|
3548
|
+
...props
|
|
3544
3549
|
}
|
|
3545
3550
|
),
|
|
3546
|
-
endAddon &&
|
|
3551
|
+
endAddon && /* @__PURE__ */ u(Addon, { error: hasError, children: endAddon })
|
|
3547
3552
|
] }),
|
|
3548
|
-
error && /* @__PURE__ */ u("div", { className:
|
|
3549
|
-
/* @__PURE__ */ u(OctagonAlert, { size: 16 }),
|
|
3553
|
+
error && /* @__PURE__ */ u("div", { className: "flex items-center gap-2 mt-2 leading-5 text-error", children: [
|
|
3554
|
+
/* @__PURE__ */ u(OctagonAlert, { size: 16, strokeWidth: 2.5 }),
|
|
3550
3555
|
error
|
|
3551
3556
|
] })
|
|
3552
3557
|
] });
|
|
@@ -3714,7 +3719,7 @@ const SelectableListItem = ({
|
|
|
3714
3719
|
);
|
|
3715
3720
|
};
|
|
3716
3721
|
SelectableListItem.displayName = "SelectableListItem";
|
|
3717
|
-
function setRef(ref, value) {
|
|
3722
|
+
function setRef$1(ref, value) {
|
|
3718
3723
|
if (typeof ref === "function") {
|
|
3719
3724
|
return ref(value);
|
|
3720
3725
|
} else if (ref !== null && ref !== void 0) {
|
|
@@ -3725,7 +3730,7 @@ function composeRefs(...refs) {
|
|
|
3725
3730
|
return (node) => {
|
|
3726
3731
|
let hasCleanup = false;
|
|
3727
3732
|
const cleanups = refs.map((ref) => {
|
|
3728
|
-
const cleanup = setRef(ref, node);
|
|
3733
|
+
const cleanup = setRef$1(ref, node);
|
|
3729
3734
|
if (!hasCleanup && typeof cleanup == "function") {
|
|
3730
3735
|
hasCleanup = true;
|
|
3731
3736
|
}
|
|
@@ -3738,7 +3743,7 @@ function composeRefs(...refs) {
|
|
|
3738
3743
|
if (typeof cleanup == "function") {
|
|
3739
3744
|
cleanup();
|
|
3740
3745
|
} else {
|
|
3741
|
-
setRef(refs[i], null);
|
|
3746
|
+
setRef$1(refs[i], null);
|
|
3742
3747
|
}
|
|
3743
3748
|
}
|
|
3744
3749
|
};
|
|
@@ -4042,6 +4047,116 @@ function Tooltip({
|
|
|
4042
4047
|
)
|
|
4043
4048
|
] });
|
|
4044
4049
|
}
|
|
4050
|
+
function setRef(ref, value) {
|
|
4051
|
+
if (!ref) return;
|
|
4052
|
+
if (typeof ref === "function") {
|
|
4053
|
+
ref(value);
|
|
4054
|
+
} else {
|
|
4055
|
+
try {
|
|
4056
|
+
ref.current = value;
|
|
4057
|
+
} catch {
|
|
4058
|
+
}
|
|
4059
|
+
}
|
|
4060
|
+
}
|
|
4061
|
+
function useComposedRefs(...refs) {
|
|
4062
|
+
return useCallback((node) => {
|
|
4063
|
+
refs.forEach((ref) => setRef(ref, node));
|
|
4064
|
+
}, refs);
|
|
4065
|
+
}
|
|
4066
|
+
const SearchInput = forwardRef(
|
|
4067
|
+
({
|
|
4068
|
+
className,
|
|
4069
|
+
id,
|
|
4070
|
+
value,
|
|
4071
|
+
defaultValue = "",
|
|
4072
|
+
placeholder = "Search",
|
|
4073
|
+
clearLabel = "Clear",
|
|
4074
|
+
onChange,
|
|
4075
|
+
disabled,
|
|
4076
|
+
readOnly,
|
|
4077
|
+
...props
|
|
4078
|
+
}, ref) => {
|
|
4079
|
+
const inputId = usePrefixedId(unwrap(id));
|
|
4080
|
+
const [uncontrolledValue, setUncontrolledValue] = useState$1(defaultValue);
|
|
4081
|
+
const isControlled = value !== void 0;
|
|
4082
|
+
const inputValue = isControlled ? value : uncontrolledValue;
|
|
4083
|
+
const isValueSet = inputValue.length > 0;
|
|
4084
|
+
const canClear = isValueSet && !disabled && !readOnly;
|
|
4085
|
+
const handleChange = (e) => {
|
|
4086
|
+
const newValue = e.currentTarget.value;
|
|
4087
|
+
if (!isControlled) {
|
|
4088
|
+
setUncontrolledValue(newValue);
|
|
4089
|
+
}
|
|
4090
|
+
onChange?.(newValue);
|
|
4091
|
+
};
|
|
4092
|
+
const inputRef = useRef(null);
|
|
4093
|
+
const handleClear = () => {
|
|
4094
|
+
const newValue = "";
|
|
4095
|
+
if (!isControlled) {
|
|
4096
|
+
setUncontrolledValue(newValue);
|
|
4097
|
+
}
|
|
4098
|
+
onChange?.(newValue);
|
|
4099
|
+
inputRef.current?.focus();
|
|
4100
|
+
};
|
|
4101
|
+
return /* @__PURE__ */ u(
|
|
4102
|
+
"div",
|
|
4103
|
+
{
|
|
4104
|
+
className: cn(
|
|
4105
|
+
"relative flex rounded-sm overflow-hidden",
|
|
4106
|
+
"h-12 border border-bdr-subtle focus-within:border-bdr-strong",
|
|
4107
|
+
"focus-within:focus-ring transition-highlight",
|
|
4108
|
+
disabled && "pointer-events-none opacity-30",
|
|
4109
|
+
className
|
|
4110
|
+
),
|
|
4111
|
+
children: [
|
|
4112
|
+
/* @__PURE__ */ u(
|
|
4113
|
+
Search,
|
|
4114
|
+
{
|
|
4115
|
+
className: "absolute left-4.5 top-1/2 -translate-y-1/2 mt-0.25 text-subtle pointer-events-none",
|
|
4116
|
+
size: 20,
|
|
4117
|
+
strokeWidth: 1.5
|
|
4118
|
+
}
|
|
4119
|
+
),
|
|
4120
|
+
/* @__PURE__ */ u(
|
|
4121
|
+
"input",
|
|
4122
|
+
{
|
|
4123
|
+
ref: useComposedRefs(ref, inputRef),
|
|
4124
|
+
id: inputId,
|
|
4125
|
+
className: cn(
|
|
4126
|
+
"w-full text-base pr-1 px-12 border-0",
|
|
4127
|
+
"text-main bg-surface-neutral",
|
|
4128
|
+
"placeholder:text-subtle",
|
|
4129
|
+
"focus:outline-none",
|
|
4130
|
+
"disabled:pointer-events-none",
|
|
4131
|
+
"read-only:bg-surface-primary"
|
|
4132
|
+
),
|
|
4133
|
+
value: inputValue,
|
|
4134
|
+
onChange: handleChange,
|
|
4135
|
+
readOnly,
|
|
4136
|
+
disabled,
|
|
4137
|
+
placeholder,
|
|
4138
|
+
"aria-label": "Search",
|
|
4139
|
+
"aria-disabled": disabled,
|
|
4140
|
+
...props
|
|
4141
|
+
}
|
|
4142
|
+
),
|
|
4143
|
+
canClear && /* @__PURE__ */ u(
|
|
4144
|
+
IconButton,
|
|
4145
|
+
{
|
|
4146
|
+
className: "absolute right-3 top-1/2 -translate-y-1/2 w-8 h-8 text-subtle",
|
|
4147
|
+
size: "lg",
|
|
4148
|
+
icon: X,
|
|
4149
|
+
title: clearLabel,
|
|
4150
|
+
onClick: handleClear,
|
|
4151
|
+
disabled
|
|
4152
|
+
}
|
|
4153
|
+
)
|
|
4154
|
+
]
|
|
4155
|
+
}
|
|
4156
|
+
);
|
|
4157
|
+
}
|
|
4158
|
+
);
|
|
4159
|
+
SearchInput.displayName = "SearchInput";
|
|
4045
4160
|
export {
|
|
4046
4161
|
Button,
|
|
4047
4162
|
Checkbox,
|
|
@@ -4050,6 +4165,7 @@ export {
|
|
|
4050
4165
|
Input,
|
|
4051
4166
|
Link,
|
|
4052
4167
|
ListItem,
|
|
4168
|
+
SearchInput,
|
|
4053
4169
|
SelectableListItem,
|
|
4054
4170
|
Tooltip,
|
|
4055
4171
|
cn,
|
package/dist/styles/preset.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer base{:root{--color-black:#000;--color-grey-950:#242829;--color-grey-900:#3d4142;--color-grey-800:#5b5f60;--color-grey-700:#797d7e;--color-grey-600:#8d9192;--color-grey-500:#b2b2b2;--color-grey-400:#b5b9ba;--color-grey-300:#d3d7d8;--color-grey-200:#dde1e2;--color-grey-100:#e7ebeb;--color-grey-50:#f1f5f6;--color-white:#fff;--color-fbk-info:#0270a0;--color-fbk-info-subtle:#208ebe;--color-fbk-info-surface:#d7f3ff;--color-fbk-warn:#cb9126;--color-fbk-warn-subtle:#e9af44;--color-fbk-warn-surface:#f7e5c4;--color-fbk-success:#499349;--color-fbk-success-subtle:#67b167;--color-fbk-success-surface:#cee2ce;--color-fbk-danger:#d33030;--color-fbk-danger-subtle:#f56262;--color-fbk-danger-surface:#f6d7d7;--color-purple:purple;--color-purple-subtle:#e46ee4;--color-juke:#9747ff;--color-main:var(--color-black);--color-main-hover:var(--color-grey-800);--color-subtle:var(--color-grey-800);--color-alt:var(--color-white);--color-rev:var(--color-white);--color-alt-rev:var(--color-black);--color-info:var(--color-fbk-info);--color-warn:var(--color-fbk-warn);--color-success:var(--color-fbk-success);--color-error:var(--color-fbk-danger);--color-surface-neutral:var(--color-white);--color-surface-primary:var(--color-grey-50);--color-surface-primary-hover:var(--color-grey-50);--color-surface-primary-selected:var(--color-grey-800);--color-bdr-subtle:var(--color-grey-500);--color-bdr-soft:var(--color-grey-200);--color-bdr-strong:var(--color-black);--color-ring:var(--color-grey-500);--color-btn-primary:var(--color-white);--color-btn-primary-hover:var(--color-grey-50);--color-btn-secondary:var(--color-grey-50);--color-btn-secondary-hover:var(--color-grey-100);--color-btn-tertiary:var(--color-black);--color-btn-tertiary-hover:var(--color-grey-900);--color-btn-active:var(--color-grey-800);--color-input-disabled:var(--color-grey-100);--color-link-visited:var(--color-purple);--color-tooltip:var(--color-black);--color-tooltip-foreground:var(--color-white);--color-docs:var(--color-juke);color:var(--color-main);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px}.dark{--color-main:var(--color-white);--color-main-hover:var(--color-grey-200);--color-subtle:var(--color-grey-400);--color-alt:var(--color-white);--color-rev:var(--color-black);--color-alt-rev:var(--color-black);--color-info:var(--color-fbk-info-subtle);--color-warn:var(--color-fbk-warn-subtle);--color-success:var(--color-fbk-success-subtle);--color-error:var(--color-fbk-danger-subtle);--color-surface-neutral:var(--color-grey-950);--color-surface-primary:var(--color-grey-900);--color-surface-primary-hover:var(--color-grey-900);--color-surface-primary-selected:var(--color-grey-800);--color-bdr-subtle:var(--color-grey-500);--color-bdr-soft:var(--color-grey-800);--color-bdr-strong:var(--color-white);--color-ring:var(--color-grey-500);--color-btn-primary:var(--color-grey-950);--color-btn-primary-hover:var(--color-grey-900);--color-btn-secondary:var(--color-grey-900);--color-btn-secondary-hover:var(--color-grey-800);--color-btn-tertiary:var(--color-grey-600);--color-btn-tertiary-hover:var(--color-grey-700);--color-btn-active:var(--color-grey-800);--color-input-disabled:var(--color-grey-800);--color-link-visited:var(--color-purple-subtle);--color-tooltip:var(--color-grey-600);--color-tooltip-foreground:var(--color-white);--color-docs:var(--color-juke)}}:root,:host{--color-main:var(--color-main);--color-main-hover:var(--color-main-hover);--color-subtle:var(--color-subtle);--color-alt:var(--color-alt);--color-rev:var(--color-rev);--color-alt-rev:var(--color-alt-rev);--color-surface-neutral:var(--color-surface-neutral);--color-surface-primary:var(--color-surface-primary);--color-surface-primary-hover:var(--color-surface-primary-hover);--color-surface-primary-selected:var(--color-surface-primary-selected);--color-bdr-subtle:var(--color-bdr-subtle);--color-bdr-soft:var(--color-bdr-soft);--color-bdr-strong:var(--color-bdr-strong);--color-ring:var(--color-ring);--color-btn-primary:var(--color-btn-primary);--color-btn-primary-hover:var(--color-btn-primary-hover);--color-btn-secondary:var(--color-btn-secondary);--color-btn-secondary-hover:var(--color-btn-secondary-hover);--color-btn-tertiary:var(--color-btn-tertiary);--color-btn-tertiary-hover:var(--color-btn-tertiary-hover);--color-btn-active:var(--color-btn-active);--color-input-disabled:var(--color-input-disabled);--color-link-visited:var(--color-link-visited);--color-tooltip:var(--color-tooltip);--color-tooltip-foreground:var(--color-tooltip-foreground);--color-docs:var(--color-docs)}
|
package/dist/styles/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-blue-50:oklch(97% .014 254.604);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-900:oklch(37.9% .146 265.522);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-slate-400:oklch(70.4% .04 256.788);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xs:.125rem;--radius-sm:.25rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-main:var(--color-main);--color-main-hover:var(--color-main-hover);--color-subtle:var(--color-subtle);--color-alt:var(--color-alt);--color-rev:var(--color-rev);--color-alt-rev:var(--color-alt-rev);--color-surface-neutral:var(--color-surface-neutral);--color-surface-primary:var(--color-surface-primary);--color-surface-primary-hover:var(--color-surface-primary-hover);--color-surface-primary-selected:var(--color-surface-primary-selected);--color-fbk-error:var(--color-fbk-error);--color-fbk-success:var(--color-fbk-success);--color-bdr-subtle:var(--color-bdr-subtle);--color-bdr-soft:var(--color-bdr-soft);--color-bdr-strong:var(--color-bdr-strong);--color-ring:var(--color-ring);--color-btn-primary:var(--color-btn-primary);--color-btn-primary-hover:var(--color-btn-primary-hover);--color-btn-secondary:var(--color-btn-secondary);--color-btn-secondary-hover:var(--color-btn-secondary-hover);--color-btn-tertiary:var(--color-btn-tertiary);--color-btn-tertiary-hover:var(--color-btn-tertiary-hover);--color-btn-active:var(--color-btn-active);--color-input-disabled:var(--color-input-disabled);--color-link-visited:var(--color-link-visited);--color-tooltip:var(--color-tooltip);--color-tooltip-foreground:var(--color-tooltip-foreground);--color-docs:var(--color-docs)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}:root{--color-black:#000;--color-grey-950:#242829;--color-grey-900:#3d4142;--color-grey-800:#5b5f60;--color-grey-700:#797d7e;--color-grey-600:#8d9192;--color-grey-500:#b2b2b2;--color-grey-400:#b5b9ba;--color-grey-300:#d3d7d8;--color-grey-200:#dde1e2;--color-grey-100:#e7ebeb;--color-grey-50:#f1f5f6;--color-white:#fff;--color-info:#0270a0;--color-info-subtle:#208ebe;--color-info-surface:#d7f3ff;--color-warn:#cb9126;--color-warn-subtle:#e9af44;--color-warn-surface:#f7e5c4;--color-success:#499349;--color-success-subtle:#67b167;--color-success-surface:#cee2ce;--color-danger:#d33030;--color-danger-subtle:#f56262;--color-danger-surface:#f6d7d7;--color-purple-subtle:#e46ee4;--color-juke:#9747ff;--color-purple:purple;--color-main:var(--color-black);--color-main-hover:var(--color-grey-800);--color-subtle:var(--color-grey-800);--color-alt:var(--color-white);--color-rev:var(--color-white);--color-alt-rev:var(--color-black);--color-surface-neutral:var(--color-white);--color-surface-primary:var(--color-grey-50);--color-surface-primary-hover:var(--color-grey-50);--color-surface-primary-selected:var(--color-grey-800);--color-fbk-error:var(--color-danger);--color-fbk-success:var(--color-success);--color-bdr-subtle:var(--color-grey-500);--color-bdr-soft:var(--color-grey-200);--color-bdr-strong:var(--color-black);--color-ring:var(--color-grey-500);--color-btn-primary:var(--color-white);--color-btn-primary-hover:var(--color-grey-50);--color-btn-secondary:var(--color-grey-50);--color-btn-secondary-hover:var(--color-grey-100);--color-btn-tertiary:var(--color-black);--color-btn-tertiary-hover:var(--color-grey-900);--color-btn-active:var(--color-grey-800);--color-input-disabled:var(--color-grey-100);--color-link-visited:var(--color-purple);--color-tooltip:var(--color-black);--color-tooltip-foreground:var(--color-white);--color-docs:var(--color-juke)}.dark{--color-main:var(--color-white);--color-main-hover:var(--color-grey-200);--color-subtle:var(--color-grey-400);--color-alt:var(--color-white);--color-rev:var(--color-black);--color-alt-rev:var(--color-black);--color-surface-neutral:var(--color-grey-950);--color-surface-primary:var(--color-grey-900);--color-surface-primary-hover:var(--color-grey-900);--color-surface-primary-selected:var(--color-grey-800);--color-fbk-error:var(--color-danger-subtle);--color-fbk-success:var(--color-success-subtle);--color-bdr-subtle:var(--color-grey-500);--color-bdr-soft:var(--color-grey-800);--color-bdr-strong:var(--color-white);--color-ring:var(--color-grey-500);--color-btn-primary:var(--color-grey-950);--color-btn-primary-hover:var(--color-grey-900);--color-btn-secondary:var(--color-grey-900);--color-btn-secondary-hover:var(--color-grey-800);--color-btn-tertiary:var(--color-grey-600);--color-btn-tertiary-hover:var(--color-grey-700);--color-btn-active:var(--color-grey-800);--color-input-disabled:var(--color-grey-800);--color-link-visited:var(--color-purple-subtle);--color-tooltip:var(--color-grey-600);--color-tooltip-foreground:var(--color-white);--color-docs:var(--color-juke)}:root{color:var(--color-main);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.right-0{right:calc(var(--spacing)*0)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-1\/2{left:50%}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-m-1{margin:calc(var(--spacing)*-1)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-4{margin-top:calc(var(--spacing)*4)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-6{margin-left:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-2{width:calc(var(--spacing)*2);height:calc(var(--spacing)*2)}.h-2{height:calc(var(--spacing)*2)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11\.5{height:calc(var(--spacing)*11.5)}.h-12{height:calc(var(--spacing)*12)}.min-h-10{min-height:calc(var(--spacing)*10)}.w-2{width:calc(var(--spacing)*2)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-11\.5{width:calc(var(--spacing)*11.5)}.w-12{width:calc(var(--spacing)*12)}.w-80{width:calc(var(--spacing)*80)}.w-96{width:calc(var(--spacing)*96)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-10{min-width:calc(var(--spacing)*10)}.flex-1{flex:1}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1\/2{--tw-translate-x: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-1\/2{--tw-translate-y: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-45{rotate:45deg}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.animate-pulse{animation:var(--animate-pulse)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-bdr-strong{border-color:var(--color-bdr-strong)}.border-bdr-subtle{border-color:var(--color-bdr-subtle)}.border-fbk-error{border-color:var(--color-fbk-error)}.border-main{border-color:var(--color-main)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-btn-primary{background-color:var(--color-btn-primary)}.bg-btn-secondary{background-color:var(--color-btn-secondary)}.bg-btn-tertiary{background-color:var(--color-btn-tertiary)}.bg-fbk-error{background-color:var(--color-fbk-error)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-red-500{background-color:var(--color-red-500)}.bg-surface-neutral{background-color:var(--color-surface-neutral)}.bg-surface-primary{background-color:var(--color-surface-primary)}.bg-surface-primary-selected{background-color:var(--color-surface-primary-selected)}.bg-tooltip{background-color:var(--color-tooltip)}.bg-transparent{background-color:#0000}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.text-left{text-align:left}.align-baseline{vertical-align:baseline}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-alt{color:var(--color-alt)}.text-blue-700{color:var(--color-blue-700)}.text-blue-900{color:var(--color-blue-900)}.text-fbk-error{color:var(--color-fbk-error)}.text-gray-900{color:var(--color-gray-900)}.text-main{color:var(--color-main)}.text-red-400{color:var(--color-red-400)}.text-red-600{color:var(--color-red-600)}.text-rev{color:var(--color-rev)}.text-slate-400{color:var(--color-slate-400)}.text-subtle{color:var(--color-subtle)}.text-tooltip-foreground{color:var(--color-tooltip-foreground)}.text-white{color:var(--color-white)}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.decoration-1{text-decoration-thickness:1px}.underline-offset-3{text-underline-offset:3px}.opacity-0{opacity:0}.opacity-30{opacity:.3}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline,.outline-1{outline-style:var(--tw-outline-style);outline-width:1px}.outline-purple-200{outline-color:var(--color-purple-200)}.transition-highlight{transition-property:color,box-shadow;transition-duration:.1s}.fade-in-0{--tw-enter-opacity:0}.select-none{-webkit-user-select:none;user-select:none}.zoom-in-95{--tw-enter-scale:.95}.slide-in-from-bottom-2{--tw-enter-translate-y:calc(var(--spacing)*2)}.slide-in-from-left-2{--tw-enter-translate-x:calc(var(--spacing)*2*-1)}.slide-in-from-right-2{--tw-enter-translate-x:calc(var(--spacing)*2)}.slide-in-from-top-2{--tw-enter-translate-y:calc(var(--spacing)*2*-1)}.group-data-\[tone\=inverse\]\:border-alt:is(:where(.group)[data-tone=inverse] *){border-color:var(--color-alt)}.group-data-\[tone\=inverse\]\:text-alt:is(:where(.group)[data-tone=inverse] *){color:var(--color-alt)}.group-data-\[tone\=inverse\]\:text-alt-rev:is(:where(.group)[data-tone=inverse] *){color:var(--color-alt-rev)}.peer-checked\:border-fbk-error:is(:where(.peer):checked~*){border-color:var(--color-fbk-error)}.peer-checked\:border-main:is(:where(.peer):checked~*){border-color:var(--color-main)}.peer-checked\:bg-fbk-error:is(:where(.peer):checked~*){background-color:var(--color-fbk-error)}.peer-checked\:bg-main:is(:where(.peer):checked~*){background-color:var(--color-main)}.group-data-\[tone\=inverse\]\:peer-checked\:border-alt:is(:where(.group)[data-tone=inverse] *):is(:where(.peer):checked~*){border-color:var(--color-alt)}.group-data-\[tone\=inverse\]\:peer-checked\:bg-alt:is(:where(.group)[data-tone=inverse] *):is(:where(.peer):checked~*){background-color:var(--color-alt)}.peer-indeterminate\:border-fbk-error:is(:where(.peer):indeterminate~*){border-color:var(--color-fbk-error)}.peer-indeterminate\:border-main:is(:where(.peer):indeterminate~*){border-color:var(--color-main)}.peer-indeterminate\:bg-fbk-error:is(:where(.peer):indeterminate~*){background-color:var(--color-fbk-error)}.peer-indeterminate\:bg-main:is(:where(.peer):indeterminate~*){background-color:var(--color-main)}.group-data-\[tone\=inverse\]\:peer-indeterminate\:border-alt:is(:where(.group)[data-tone=inverse] *):is(:where(.peer):indeterminate~*){border-color:var(--color-alt)}.group-data-\[tone\=inverse\]\:peer-indeterminate\:bg-alt:is(:where(.group)[data-tone=inverse] *):is(:where(.peer):indeterminate~*){background-color:var(--color-alt)}@media (hover:hover){.peer-hover\:border-fbk-error:is(:where(.peer):hover~*){border-color:var(--color-fbk-error)}.peer-hover\:ring-3:is(:where(.peer):hover~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-hover\:ring-fbk-error\/50:is(:where(.peer):hover~*){--tw-ring-color:var(--color-fbk-error)}@supports (color:color-mix(in lab,red,red)){.peer-hover\:ring-fbk-error\/50:is(:where(.peer):hover~*){--tw-ring-color:color-mix(in oklab,var(--color-fbk-error)50%,transparent)}}.peer-hover\:ring-ring\/50:is(:where(.peer):hover~*){--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.peer-hover\:ring-ring\/50:is(:where(.peer):hover~*){--tw-ring-color:color-mix(in oklab,var(--color-ring)50%,transparent)}}.peer-hover\:ring-offset-0:is(:where(.peer):hover~*){--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.peer-hover\:outline-none:is(:where(.peer):hover~*){--tw-outline-style:none;outline-style:none}}.peer-focus-visible\:border-fbk-error:is(:where(.peer):focus-visible~*){border-color:var(--color-fbk-error)}.peer-focus-visible\:ring-3:is(:where(.peer):focus-visible~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-focus-visible\:ring-fbk-error\/50:is(:where(.peer):focus-visible~*){--tw-ring-color:var(--color-fbk-error)}@supports (color:color-mix(in lab,red,red)){.peer-focus-visible\:ring-fbk-error\/50:is(:where(.peer):focus-visible~*){--tw-ring-color:color-mix(in oklab,var(--color-fbk-error)50%,transparent)}}.peer-focus-visible\:ring-ring\/75:is(:where(.peer):focus-visible~*){--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.peer-focus-visible\:ring-ring\/75:is(:where(.peer):focus-visible~*){--tw-ring-color:color-mix(in oklab,var(--color-ring)75%,transparent)}}.peer-focus-visible\:ring-offset-0:is(:where(.peer):focus-visible~*){--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.peer-focus-visible\:outline-none:is(:where(.peer):focus-visible~*){--tw-outline-style:none;outline-style:none}.placeholder\:text-subtle::placeholder{color:var(--color-subtle)}.first\:rounded-l-sm:first-child{border-top-left-radius:var(--radius-sm);border-bottom-left-radius:var(--radius-sm)}.first\:border-r:first-child{border-right-style:var(--tw-border-style);border-right-width:1px}.first\:border-bdr-soft:first-child{border-color:var(--color-bdr-soft)}.last\:rounded-r-sm:last-child{border-top-right-radius:var(--radius-sm);border-bottom-right-radius:var(--radius-sm)}.last\:border-l:last-child{border-left-style:var(--tw-border-style);border-left-width:1px}.last\:border-bdr-soft:last-child{border-color:var(--color-bdr-soft)}.visited\:text-link-visited:visited{color:var(--color-link-visited)}.read-only\:bg-surface-primary:read-only{background-color:var(--color-surface-primary)}.focus-within\:border-bdr-strong:focus-within{border-color:var(--color-bdr-strong)}.focus-within\:border-fbk-error:focus-within{border-color:var(--color-fbk-error)}.focus-within\:ring-3:focus-within{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-within\:ring-fbk-error\/50:focus-within{--tw-ring-color:var(--color-fbk-error)}@supports (color:color-mix(in lab,red,red)){.focus-within\:ring-fbk-error\/50:focus-within{--tw-ring-color:color-mix(in oklab,var(--color-fbk-error)50%,transparent)}}.focus-within\:ring-ring\/50:focus-within{--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.focus-within\:ring-ring\/50:focus-within{--tw-ring-color:color-mix(in oklab,var(--color-ring)50%,transparent)}}.focus-within\:ring-offset-0:focus-within{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-within\:outline-none:focus-within{--tw-outline-style:none;outline-style:none}@media (hover:hover){.hover\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\:bg-btn-primary-hover:hover{background-color:var(--color-btn-primary-hover)}.hover\:bg-btn-secondary-hover:hover{background-color:var(--color-btn-secondary-hover)}.hover\:bg-btn-tertiary-hover:hover{background-color:var(--color-btn-tertiary-hover)}.hover\:bg-surface-primary-hover:hover{background-color:var(--color-surface-primary-hover)}.hover\:text-main-hover:hover{color:var(--color-main-hover)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-3:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-ring)50%,transparent)}}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:bg-btn-active:active{background-color:var(--color-btn-active)}.active\:bg-surface-primary-selected:active{background-color:var(--color-surface-primary-selected)}.active\:text-rev:active{color:var(--color-rev)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-30:disabled{opacity:.3}@media (min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:48rem){.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:64rem){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.dark\:text-main:where(.dark,.dark *),.dark\:active\:text-main:where(.dark,.dark *):active{color:var(--color-main)}.active\:\[\&_\*\]\:text-rev:active *{color:var(--color-rev)}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}
|
|
1
|
+
/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-blue-50:oklch(97% .014 254.604);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-900:oklch(37.9% .146 265.522);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-slate-400:oklch(70.4% .04 256.788);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xs:.125rem;--radius-sm:.25rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-main:var(--color-main);--color-main-hover:var(--color-main-hover);--color-subtle:var(--color-subtle);--color-alt:var(--color-alt);--color-rev:var(--color-rev);--color-alt-rev:var(--color-alt-rev);--color-error:var(--color-fbk-danger);--color-surface-neutral:var(--color-surface-neutral);--color-surface-primary:var(--color-surface-primary);--color-surface-primary-hover:var(--color-surface-primary-hover);--color-surface-primary-selected:var(--color-surface-primary-selected);--color-bdr-subtle:var(--color-bdr-subtle);--color-bdr-soft:var(--color-bdr-soft);--color-bdr-strong:var(--color-bdr-strong);--color-ring:var(--color-ring);--color-btn-primary:var(--color-btn-primary);--color-btn-primary-hover:var(--color-btn-primary-hover);--color-btn-secondary:var(--color-btn-secondary);--color-btn-secondary-hover:var(--color-btn-secondary-hover);--color-btn-tertiary:var(--color-btn-tertiary);--color-btn-tertiary-hover:var(--color-btn-tertiary-hover);--color-btn-active:var(--color-btn-active);--color-input-disabled:var(--color-input-disabled);--color-link-visited:var(--color-link-visited);--color-tooltip:var(--color-tooltip);--color-tooltip-foreground:var(--color-tooltip-foreground);--color-docs:var(--color-docs)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}:root{--color-black:#000;--color-grey-950:#242829;--color-grey-900:#3d4142;--color-grey-800:#5b5f60;--color-grey-700:#797d7e;--color-grey-600:#8d9192;--color-grey-500:#b2b2b2;--color-grey-400:#b5b9ba;--color-grey-300:#d3d7d8;--color-grey-200:#dde1e2;--color-grey-100:#e7ebeb;--color-grey-50:#f1f5f6;--color-white:#fff;--color-fbk-info:#0270a0;--color-fbk-info-subtle:#208ebe;--color-fbk-info-surface:#d7f3ff;--color-fbk-warn:#cb9126;--color-fbk-warn-subtle:#e9af44;--color-fbk-warn-surface:#f7e5c4;--color-fbk-success:#499349;--color-fbk-success-subtle:#67b167;--color-fbk-success-surface:#cee2ce;--color-fbk-danger:#d33030;--color-fbk-danger-subtle:#f56262;--color-fbk-danger-surface:#f6d7d7;--color-purple:purple;--color-purple-subtle:#e46ee4;--color-juke:#9747ff;--color-main:var(--color-black);--color-main-hover:var(--color-grey-800);--color-subtle:var(--color-grey-800);--color-alt:var(--color-white);--color-rev:var(--color-white);--color-alt-rev:var(--color-black);--color-info:var(--color-fbk-info);--color-warn:var(--color-fbk-warn);--color-success:var(--color-fbk-success);--color-error:var(--color-fbk-danger);--color-surface-neutral:var(--color-white);--color-surface-primary:var(--color-grey-50);--color-surface-primary-hover:var(--color-grey-50);--color-surface-primary-selected:var(--color-grey-800);--color-bdr-subtle:var(--color-grey-500);--color-bdr-soft:var(--color-grey-200);--color-bdr-strong:var(--color-black);--color-ring:var(--color-grey-500);--color-btn-primary:var(--color-white);--color-btn-primary-hover:var(--color-grey-50);--color-btn-secondary:var(--color-grey-50);--color-btn-secondary-hover:var(--color-grey-100);--color-btn-tertiary:var(--color-black);--color-btn-tertiary-hover:var(--color-grey-900);--color-btn-active:var(--color-grey-800);--color-input-disabled:var(--color-grey-100);--color-link-visited:var(--color-purple);--color-tooltip:var(--color-black);--color-tooltip-foreground:var(--color-white);--color-docs:var(--color-juke);color:var(--color-main);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px}.dark{--color-main:var(--color-white);--color-main-hover:var(--color-grey-200);--color-subtle:var(--color-grey-400);--color-alt:var(--color-white);--color-rev:var(--color-black);--color-alt-rev:var(--color-black);--color-info:var(--color-fbk-info-subtle);--color-warn:var(--color-fbk-warn-subtle);--color-success:var(--color-fbk-success-subtle);--color-error:var(--color-fbk-danger-subtle);--color-surface-neutral:var(--color-grey-950);--color-surface-primary:var(--color-grey-900);--color-surface-primary-hover:var(--color-grey-900);--color-surface-primary-selected:var(--color-grey-800);--color-bdr-subtle:var(--color-grey-500);--color-bdr-soft:var(--color-grey-800);--color-bdr-strong:var(--color-white);--color-ring:var(--color-grey-500);--color-btn-primary:var(--color-grey-950);--color-btn-primary-hover:var(--color-grey-900);--color-btn-secondary:var(--color-grey-900);--color-btn-secondary-hover:var(--color-grey-800);--color-btn-tertiary:var(--color-grey-600);--color-btn-tertiary-hover:var(--color-grey-700);--color-btn-active:var(--color-grey-800);--color-input-disabled:var(--color-grey-800);--color-link-visited:var(--color-purple-subtle);--color-tooltip:var(--color-grey-600);--color-tooltip-foreground:var(--color-white);--color-docs:var(--color-juke)}}@layer components;@layer utilities{.\@container{container-type:inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-3{right:calc(var(--spacing)*3)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-1\/2{left:50%}.left-4\.5{left:calc(var(--spacing)*4.5)}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.\!m-2{margin:calc(var(--spacing)*2)!important}.-m-1{margin:calc(var(--spacing)*-1)}.mx-auto{margin-inline:auto}.me-2{margin-inline-end:calc(var(--spacing)*2)}.mt-0\.25{margin-top:calc(var(--spacing)*.25)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-6{margin-left:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-2{width:calc(var(--spacing)*2);height:calc(var(--spacing)*2)}.h-2{height:calc(var(--spacing)*2)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11\.5{height:calc(var(--spacing)*11.5)}.h-12{height:calc(var(--spacing)*12)}.min-h-screen{min-height:100vh}.w-2{width:calc(var(--spacing)*2)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-11\.5{width:calc(var(--spacing)*11.5)}.w-12{width:calc(var(--spacing)*12)}.w-80{width:calc(var(--spacing)*80)}.w-96{width:calc(var(--spacing)*96)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-7xl{max-width:var(--container-7xl)}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-12{min-width:calc(var(--spacing)*12)}.flex-1{flex:1}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1\/2{--tw-translate-x: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-1\/2{--tw-translate-y: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-45{rotate:45deg}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.animate-pulse{animation:var(--animate-pulse)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-bdr-strong{border-color:var(--color-bdr-strong)}.border-bdr-subtle{border-color:var(--color-bdr-subtle)}.border-error{border-color:var(--color-error)}.border-gray-200{border-color:var(--color-gray-200)}.border-main{border-color:var(--color-main)}.bg-\[\#3B82F6\]{background-color:#3b82f6}.bg-blue-500{background-color:var(--color-blue-500)}.bg-btn-primary{background-color:var(--color-btn-primary)}.bg-btn-secondary{background-color:var(--color-btn-secondary)}.bg-btn-tertiary{background-color:var(--color-btn-tertiary)}.bg-error{background-color:var(--color-error)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-red-500{background-color:var(--color-red-500)}.bg-surface-neutral{background-color:var(--color-surface-neutral)}.bg-surface-primary{background-color:var(--color-surface-primary)}.bg-surface-primary-selected{background-color:var(--color-surface-primary-selected)}.bg-tooltip{background-color:var(--color-tooltip)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.\!p-4{padding:calc(var(--spacing)*4)!important}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-4\.5{padding-inline:calc(var(--spacing)*4.5)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-12{padding-inline:calc(var(--spacing)*12)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-8{padding-block:calc(var(--spacing)*8)}.ps-4{padding-inline-start:calc(var(--spacing)*4)}.pr-1{padding-right:calc(var(--spacing)*1)}.\!text-center{text-align:center!important}.text-left{text-align:left}.align-baseline{vertical-align:baseline}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-5{--tw-leading:calc(var(--spacing)*5);line-height:calc(var(--spacing)*5)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-alt{color:var(--color-alt)}.text-black{color:var(--color-black)}.text-blue-700{color:var(--color-blue-700)}.text-blue-900{color:var(--color-blue-900)}.text-error{color:var(--color-error)}.text-gray-900{color:var(--color-gray-900)}.text-main{color:var(--color-main)}.text-red-400{color:var(--color-red-400)}.text-red-600{color:var(--color-red-600)}.text-rev{color:var(--color-rev)}.text-slate-400{color:var(--color-slate-400)}.text-subtle{color:var(--color-subtle)}.text-tooltip-foreground{color:var(--color-tooltip-foreground)}.text-white{color:var(--color-white)}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.decoration-1{text-decoration-thickness:1px}.underline-offset-3{text-underline-offset:3px}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-blue-500{--tw-ring-color:var(--color-blue-500)}.outline,.outline-1{outline-style:var(--tw-outline-style);outline-width:1px}.outline-purple-200{outline-color:var(--color-purple-200)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-highlight{transition-property:color,box-shadow;transition-duration:.1s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.animation-duration-300{--tw-animation-duration: 300ms ;animation-duration:.3s}.fade-in-0{--tw-enter-opacity:0}.select-none{-webkit-user-select:none;user-select:none}.zoom-in-95{--tw-enter-scale:.95}.slide-in-from-bottom-2{--tw-enter-translate-y:calc(var(--spacing)*2)}.slide-in-from-left-2{--tw-enter-translate-x:calc(var(--spacing)*2*-1)}.slide-in-from-right-2{--tw-enter-translate-x:calc(var(--spacing)*2)}.slide-in-from-top-2{--tw-enter-translate-y:calc(var(--spacing)*2*-1)}.group-data-\[tone\=inverse\]\:border-alt:is(:where(.group)[data-tone=inverse] *){border-color:var(--color-alt)}.group-data-\[tone\=inverse\]\:text-alt:is(:where(.group)[data-tone=inverse] *){color:var(--color-alt)}.group-data-\[tone\=inverse\]\:text-alt-rev:is(:where(.group)[data-tone=inverse] *){color:var(--color-alt-rev)}.peer-checked\:border-error:is(:where(.peer):checked~*){border-color:var(--color-error)}.peer-checked\:border-main:is(:where(.peer):checked~*){border-color:var(--color-main)}.peer-checked\:bg-error:is(:where(.peer):checked~*){background-color:var(--color-error)}.peer-checked\:bg-main:is(:where(.peer):checked~*){background-color:var(--color-main)}.group-data-\[tone\=inverse\]\:peer-checked\:border-alt:is(:where(.group)[data-tone=inverse] *):is(:where(.peer):checked~*){border-color:var(--color-alt)}.group-data-\[tone\=inverse\]\:peer-checked\:bg-alt:is(:where(.group)[data-tone=inverse] *):is(:where(.peer):checked~*){background-color:var(--color-alt)}.peer-indeterminate\:border-error:is(:where(.peer):indeterminate~*){border-color:var(--color-error)}.peer-indeterminate\:border-main:is(:where(.peer):indeterminate~*){border-color:var(--color-main)}.peer-indeterminate\:bg-error:is(:where(.peer):indeterminate~*){background-color:var(--color-error)}.peer-indeterminate\:bg-main:is(:where(.peer):indeterminate~*){background-color:var(--color-main)}.group-data-\[tone\=inverse\]\:peer-indeterminate\:border-alt:is(:where(.group)[data-tone=inverse] *):is(:where(.peer):indeterminate~*){border-color:var(--color-alt)}.group-data-\[tone\=inverse\]\:peer-indeterminate\:bg-alt:is(:where(.group)[data-tone=inverse] *):is(:where(.peer):indeterminate~*){background-color:var(--color-alt)}@media (hover:hover){.peer-hover\:border-error:is(:where(.peer):hover~*){border-color:var(--color-error)}.peer-hover\:focus-ring:is(:where(.peer):hover~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.peer-hover\:focus-ring:is(:where(.peer):hover~*){--tw-ring-color:color-mix(in oklab,var(--color-ring)50%,transparent)}}.peer-hover\:focus-ring:is(:where(.peer):hover~*){--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-outline-style:none;outline-style:none}.peer-hover\:ring-error\/50:is(:where(.peer):hover~*){--tw-ring-color:var(--color-error)}@supports (color:color-mix(in lab,red,red)){.peer-hover\:ring-error\/50:is(:where(.peer):hover~*){--tw-ring-color:color-mix(in oklab,var(--color-error)50%,transparent)}}}.peer-focus-visible\:border-error:is(:where(.peer):focus-visible~*){border-color:var(--color-error)}.peer-focus-visible\:focus-ring:is(:where(.peer):focus-visible~*){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.peer-focus-visible\:focus-ring:is(:where(.peer):focus-visible~*){--tw-ring-color:color-mix(in oklab,var(--color-ring)50%,transparent)}}.peer-focus-visible\:focus-ring:is(:where(.peer):focus-visible~*){--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-outline-style:none;outline-style:none}.peer-focus-visible\:ring-error\/50:is(:where(.peer):focus-visible~*){--tw-ring-color:var(--color-error)}@supports (color:color-mix(in lab,red,red)){.peer-focus-visible\:ring-error\/50:is(:where(.peer):focus-visible~*){--tw-ring-color:color-mix(in oklab,var(--color-error)50%,transparent)}}.placeholder\:text-subtle::placeholder{color:var(--color-subtle)}.first\:rounded-l-sm:first-child{border-top-left-radius:var(--radius-sm);border-bottom-left-radius:var(--radius-sm)}.first\:border-r:first-child{border-right-style:var(--tw-border-style);border-right-width:1px}.first\:border-bdr-subtle:first-child{border-color:var(--color-bdr-subtle)}.first\:border-error:first-child{border-color:var(--color-error)}.last\:rounded-r-sm:last-child{border-top-right-radius:var(--radius-sm);border-bottom-right-radius:var(--radius-sm)}.last\:border-l:last-child{border-left-style:var(--tw-border-style);border-left-width:1px}.last\:border-bdr-subtle:last-child{border-color:var(--color-bdr-subtle)}.last\:border-error:last-child{border-color:var(--color-error)}.visited\:text-link-visited:visited{color:var(--color-link-visited)}.read-only\:bg-surface-primary:read-only{background-color:var(--color-surface-primary)}.focus-within\:border-bdr-strong:focus-within{border-color:var(--color-bdr-strong)}.focus-within\:border-error:focus-within{border-color:var(--color-error)}.focus-within\:focus-ring:focus-within{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.focus-within\:focus-ring:focus-within{--tw-ring-color:color-mix(in oklab,var(--color-ring)50%,transparent)}}.focus-within\:focus-ring:focus-within{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-outline-style:none;outline-style:none}.focus-within\:ring-error\/50:focus-within{--tw-ring-color:var(--color-error)}@supports (color:color-mix(in lab,red,red)){.focus-within\:ring-error\/50:focus-within{--tw-ring-color:color-mix(in oklab,var(--color-error)50%,transparent)}}@media (hover:hover){.hover\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\:bg-btn-primary-hover:hover{background-color:var(--color-btn-primary-hover)}.hover\:bg-btn-secondary-hover:hover{background-color:var(--color-btn-secondary-hover)}.hover\:bg-btn-tertiary-hover:hover{background-color:var(--color-btn-tertiary-hover)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-300:hover{background-color:var(--color-gray-300)}.hover\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\:bg-surface-primary-hover:hover{background-color:var(--color-surface-primary-hover)}.hover\:text-main-hover:hover{color:var(--color-main-hover)}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-3:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-ring)50%,transparent)}}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:bg-btn-active:active{background-color:var(--color-btn-active)}.active\:bg-surface-primary-selected:active{background-color:var(--color-surface-primary-selected)}.active\:text-rev:active{color:var(--color-rev)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-30:disabled{opacity:.3}@media (min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:48rem){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}}@media (min-width:64rem){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}}@container (min-width:32rem){.\@lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.dark\:text-main:where(.dark,.dark *),.dark\:active\:text-main:where(.dark,.dark *):active{color:var(--color-main)}.active\:\[\&_\*\]\:text-rev:active *{color:var(--color-rev)}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}
|
package/dist/styles/tokens.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer base{:root{--color-black: #000000;--color-grey-950: #242829;--color-grey-900: #3d4142;--color-grey-800: #5b5f60;--color-grey-700: #797d7e;--color-grey-600: #8d9192;--color-grey-500: #b2b2b2;--color-grey-400: #b5b9ba;--color-grey-300: #d3d7d8;--color-grey-200: #dde1e2;--color-grey-100: #e7ebeb;--color-grey-50: #f1f5f6;--color-white: #ffffff;--color-info: #0270a0;--color-info-subtle: #208ebe;--color-info-surface: #d7f3ff;--color-warn: #cb9126;--color-warn-subtle: #e9af44;--color-warn-surface: #f7e5c4;--color-success: #499349;--color-success-subtle: #67b167;--color-success-surface: #cee2ce;--color-danger: #d33030;--color-danger-subtle: #f56262;--color-danger-surface: #f6d7d7;--color-purple
|
|
1
|
+
@layer base{:root{--color-black: #000000;--color-grey-950: #242829;--color-grey-900: #3d4142;--color-grey-800: #5b5f60;--color-grey-700: #797d7e;--color-grey-600: #8d9192;--color-grey-500: #b2b2b2;--color-grey-400: #b5b9ba;--color-grey-300: #d3d7d8;--color-grey-200: #dde1e2;--color-grey-100: #e7ebeb;--color-grey-50: #f1f5f6;--color-white: #ffffff;--color-fbk-info: #0270a0;--color-fbk-info-subtle: #208ebe;--color-fbk-info-surface: #d7f3ff;--color-fbk-warn: #cb9126;--color-fbk-warn-subtle: #e9af44;--color-fbk-warn-surface: #f7e5c4;--color-fbk-success: #499349;--color-fbk-success-subtle: #67b167;--color-fbk-success-surface: #cee2ce;--color-fbk-danger: #d33030;--color-fbk-danger-subtle: #f56262;--color-fbk-danger-surface: #f6d7d7;--color-purple: #800080;--color-purple-subtle: #e46ee4;--color-juke: #9747ff}}@layer base{:root{--color-main: var(--color-black);--color-main-hover: var(--color-grey-800);--color-subtle: var(--color-grey-800);--color-alt: var(--color-white);--color-rev: var(--color-white);--color-alt-rev: var(--color-black);--color-info: var(--color-fbk-info);--color-warn: var(--color-fbk-warn);--color-success: var(--color-fbk-success);--color-error: var(--color-fbk-danger);--color-surface-neutral: var(--color-white);--color-surface-primary: var(--color-grey-50);--color-surface-primary-hover: var(--color-grey-50);--color-surface-primary-selected: var(--color-grey-800);--color-bdr-subtle: var(--color-grey-500);--color-bdr-soft: var(--color-grey-200);--color-bdr-strong: var(--color-black);--color-ring: var(--color-grey-500);--color-btn-primary: var(--color-white);--color-btn-primary-hover: var(--color-grey-50);--color-btn-secondary: var(--color-grey-50);--color-btn-secondary-hover: var(--color-grey-100);--color-btn-tertiary: var(--color-black);--color-btn-tertiary-hover: var(--color-grey-900);--color-btn-active: var(--color-grey-800);--color-input-disabled: var(--color-grey-100);--color-link-visited: var(--color-purple);--color-tooltip: var(--color-black);--color-tooltip-foreground: var(--color-white);--color-docs: var(--color-juke)}}@layer base{.dark{--color-main: var(--color-white);--color-main-hover: var(--color-grey-200);--color-subtle: var(--color-grey-400);--color-alt: var(--color-white);--color-rev: var(--color-black);--color-alt-rev: var(--color-black);--color-info: var(--color-fbk-info-subtle);--color-warn: var(--color-fbk-warn-subtle);--color-success: var(--color-fbk-success-subtle);--color-error: var(--color-fbk-danger-subtle);--color-surface-neutral: var(--color-grey-950);--color-surface-primary: var(--color-grey-900);--color-surface-primary-hover: var(--color-grey-900);--color-surface-primary-selected: var(--color-grey-800);--color-bdr-subtle: var(--color-grey-500);--color-bdr-soft: var(--color-grey-800);--color-bdr-strong: var(--color-white);--color-ring: var(--color-grey-500);--color-btn-primary: var(--color-grey-950);--color-btn-primary-hover: var(--color-grey-900);--color-btn-secondary: var(--color-grey-900);--color-btn-secondary-hover: var(--color-grey-800);--color-btn-tertiary: var(--color-grey-600);--color-btn-tertiary-hover: var(--color-grey-700);--color-btn-active: var(--color-grey-800);--color-input-disabled: var(--color-grey-800);--color-link-visited: var(--color-purple-subtle);--color-tooltip: var(--color-grey-600);--color-tooltip-foreground: var(--color-white);--color-docs: var(--color-juke)}}@custom-variant dark (&:where(.dark,.dark *));@theme{ --color-main: var(--color-main); --color-main-hover: var(--color-main-hover); --color-subtle: var(--color-subtle); --color-alt: var(--color-alt); --color-rev: var(--color-rev); --color-alt-rev: var(--color-alt-rev); --color-info: var(--color-fbk-info); --color-warn: var(--color-fbk-warn); --color-success: var(--color-fbk-success); --color-error: var(--color-fbk-danger); --color-surface-neutral: var(--color-surface-neutral); --color-surface-primary: var(--color-surface-primary); --color-surface-primary-hover: var(--color-surface-primary-hover); --color-surface-primary-selected: var(--color-surface-primary-selected); --color-surface-info: var(--color-fbk-info-surface); --color-surface-warn: var(--color-fbk-warn-surface); --color-surface-success: var(--color-fbk-success-surface); --color-surface-error: var(--color-fbk-danger-surface); --color-bdr-subtle: var(--color-bdr-subtle); --color-bdr-soft: var(--color-bdr-soft); --color-bdr-strong: var(--color-bdr-strong); --color-ring: var(--color-ring); --color-btn-primary: var(--color-btn-primary); --color-btn-primary-hover: var(--color-btn-primary-hover); --color-btn-secondary: var(--color-btn-secondary); --color-btn-secondary-hover: var(--color-btn-secondary-hover); --color-btn-tertiary: var(--color-btn-tertiary); --color-btn-tertiary-hover: var(--color-btn-tertiary-hover); --color-btn-active: var(--color-btn-active); --color-input-disabled: var(--color-input-disabled); --color-link-visited: var(--color-link-visited); --color-tooltip: var(--color-tooltip); --color-tooltip-foreground: var(--color-tooltip-foreground); --color-docs: var(--color-docs); --sizing-11\.5: calc(var(--spacing) * 11.5); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer base{:root{--color-black:#000;--color-grey-950:#242829;--color-grey-900:#3d4142;--color-grey-800:#5b5f60;--color-grey-700:#797d7e;--color-grey-600:#8d9192;--color-grey-500:#b2b2b2;--color-grey-400:#b5b9ba;--color-grey-300:#d3d7d8;--color-grey-200:#dde1e2;--color-grey-100:#e7ebeb;--color-grey-50:#f1f5f6;--color-white:#fff;--color-fbk-info:#0270a0;--color-fbk-info-subtle:#208ebe;--color-fbk-info-surface:#d7f3ff;--color-fbk-warn:#cb9126;--color-fbk-warn-subtle:#e9af44;--color-fbk-warn-surface:#f7e5c4;--color-fbk-success:#499349;--color-fbk-success-subtle:#67b167;--color-fbk-success-surface:#cee2ce;--color-fbk-danger:#d33030;--color-fbk-danger-subtle:#f56262;--color-fbk-danger-surface:#f6d7d7;--color-purple:purple;--color-purple-subtle:#e46ee4;--color-juke:#9747ff;--color-main:var(--color-black);--color-main-hover:var(--color-grey-800);--color-subtle:var(--color-grey-800);--color-alt:var(--color-white);--color-rev:var(--color-white);--color-alt-rev:var(--color-black);--color-info:var(--color-fbk-info);--color-warn:var(--color-fbk-warn);--color-success:var(--color-fbk-success);--color-error:var(--color-fbk-danger);--color-surface-neutral:var(--color-white);--color-surface-primary:var(--color-grey-50);--color-surface-primary-hover:var(--color-grey-50);--color-surface-primary-selected:var(--color-grey-800);--color-bdr-subtle:var(--color-grey-500);--color-bdr-soft:var(--color-grey-200);--color-bdr-strong:var(--color-black);--color-ring:var(--color-grey-500);--color-btn-primary:var(--color-white);--color-btn-primary-hover:var(--color-grey-50);--color-btn-secondary:var(--color-grey-50);--color-btn-secondary-hover:var(--color-grey-100);--color-btn-tertiary:var(--color-black);--color-btn-tertiary-hover:var(--color-grey-900);--color-btn-active:var(--color-grey-800);--color-input-disabled:var(--color-grey-100);--color-link-visited:var(--color-purple);--color-tooltip:var(--color-black);--color-tooltip-foreground:var(--color-white);--color-docs:var(--color-juke)}.dark{--color-main:var(--color-white);--color-main-hover:var(--color-grey-200);--color-subtle:var(--color-grey-400);--color-alt:var(--color-white);--color-rev:var(--color-black);--color-alt-rev:var(--color-black);--color-info:var(--color-fbk-info-subtle);--color-warn:var(--color-fbk-warn-subtle);--color-success:var(--color-fbk-success-subtle);--color-error:var(--color-fbk-danger-subtle);--color-surface-neutral:var(--color-grey-950);--color-surface-primary:var(--color-grey-900);--color-surface-primary-hover:var(--color-grey-900);--color-surface-primary-selected:var(--color-grey-800);--color-bdr-subtle:var(--color-grey-500);--color-bdr-soft:var(--color-grey-800);--color-bdr-strong:var(--color-white);--color-ring:var(--color-grey-500);--color-btn-primary:var(--color-grey-950);--color-btn-primary-hover:var(--color-grey-900);--color-btn-secondary:var(--color-grey-900);--color-btn-secondary-hover:var(--color-grey-800);--color-btn-tertiary:var(--color-grey-600);--color-btn-tertiary-hover:var(--color-grey-700);--color-btn-active:var(--color-grey-800);--color-input-disabled:var(--color-grey-800);--color-link-visited:var(--color-purple-subtle);--color-tooltip:var(--color-grey-600);--color-tooltip-foreground:var(--color-white);--color-docs:var(--color-juke)}}:root,:host{--color-main:var(--color-main);--color-main-hover:var(--color-main-hover);--color-subtle:var(--color-subtle);--color-alt:var(--color-alt);--color-rev:var(--color-rev);--color-alt-rev:var(--color-alt-rev);--color-surface-neutral:var(--color-surface-neutral);--color-surface-primary:var(--color-surface-primary);--color-surface-primary-hover:var(--color-surface-primary-hover);--color-surface-primary-selected:var(--color-surface-primary-selected);--color-bdr-subtle:var(--color-bdr-subtle);--color-bdr-soft:var(--color-bdr-soft);--color-bdr-strong:var(--color-bdr-strong);--color-ring:var(--color-ring);--color-btn-primary:var(--color-btn-primary);--color-btn-primary-hover:var(--color-btn-primary-hover);--color-btn-secondary:var(--color-btn-secondary);--color-btn-secondary-hover:var(--color-btn-secondary-hover);--color-btn-tertiary:var(--color-btn-tertiary);--color-btn-tertiary-hover:var(--color-btn-tertiary-hover);--color-btn-active:var(--color-btn-active);--color-input-disabled:var(--color-input-disabled);--color-link-visited:var(--color-link-visited);--color-tooltip:var(--color-tooltip);--color-tooltip-foreground:var(--color-tooltip-foreground);--color-docs:var(--color-docs)}
|
|
@@ -11,6 +11,7 @@ export type ButtonProps = {
|
|
|
11
11
|
startIcon?: LucideIcon;
|
|
12
12
|
label?: string;
|
|
13
13
|
endIcon?: LucideIcon;
|
|
14
|
+
iconSize?: number;
|
|
14
15
|
} & ButtonVariantsProps & React.ButtonHTMLAttributes;
|
|
15
16
|
export declare const Button: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<ButtonProps> & {
|
|
16
17
|
ref?: import('preact').Ref<HTMLButtonElement> | undefined;
|
|
@@ -5,6 +5,8 @@ export type InputProps = {
|
|
|
5
5
|
error?: string;
|
|
6
6
|
startAddon?: string | React.ReactElement;
|
|
7
7
|
endAddon?: string | React.ReactElement;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readOnly?: boolean;
|
|
8
10
|
} & React.InputHTMLAttributes;
|
|
9
11
|
export declare const Input: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<InputProps> & {
|
|
10
12
|
ref?: import('preact').Ref<HTMLInputElement> | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SearchInput, type SearchInputProps } from './search-input';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type SearchInputProps = {
|
|
2
|
+
className?: string;
|
|
3
|
+
value?: string;
|
|
4
|
+
defaultValue?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
clearLabel?: string;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readOnly?: boolean;
|
|
10
|
+
} & Omit<React.InputHTMLAttributes, 'className' | 'value' | 'defaultValue' | 'onChange' | 'disabled' | 'readOnly'>;
|
|
11
|
+
export declare const SearchInput: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<SearchInputProps> & {
|
|
12
|
+
ref?: import('preact').Ref<HTMLInputElement> | undefined;
|
|
13
|
+
}>;
|