sodtrack-web-ui 0.32.9 → 0.32.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/button.d.mts +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/chip-status-table.js +1 -1
- package/dist/chip-status-table.mjs +1 -1
- package/dist/chip-status.d.mts +2 -1
- package/dist/chip-status.d.ts +2 -1
- package/dist/chip-status.js +2 -2
- package/dist/chip-status.mjs +1 -1
- package/dist/chunk-HGZ3GS6Q.mjs +8 -0
- package/dist/{chunk-U3BRWYTY.mjs → chunk-K2AYJC6N.mjs} +1 -1
- package/dist/chunk-MJDHGOUR.mjs +6 -0
- package/dist/{chunk-WV4EUTB5.mjs → chunk-ORQ6QSWQ.mjs} +2 -2
- package/dist/{chunk-EJWS5JFM.mjs → chunk-P7K6YPPH.mjs} +1 -1
- package/dist/chunk-PGTXWUSK.mjs +11 -0
- package/dist/data-table.d.mts +2 -0
- package/dist/data-table.d.ts +2 -0
- package/dist/data-table.js +1 -1
- package/dist/data-table.mjs +2 -2
- package/dist/dialog.js +1 -1
- package/dist/dialog.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +6 -6
- package/dist/list-item-arrow.css +1 -1
- package/dist/list-item-arrow.mjs +6 -6
- package/dist/list-item-checkbox.css +1 -1
- package/dist/list-item-checkbox.mjs +6 -6
- package/dist/list-item.css +1 -1
- package/dist/list-item.mjs +6 -6
- package/dist/table.d.mts +2 -0
- package/dist/table.d.ts +2 -0
- package/dist/table.js +1 -1
- package/dist/table.mjs +1 -1
- package/package.json +8 -8
- package/dist/chunk-EX7OBG46.mjs +0 -11
- package/dist/chunk-TOI7X4TG.mjs +0 -8
- package/dist/chunk-WXAB2HRW.mjs +0 -6
package/dist/button.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ type ButtonProps = {
|
|
|
8
8
|
} & React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & VariantProps<typeof button>;
|
|
9
9
|
declare const Button: FC<ButtonProps>;
|
|
10
10
|
declare const button: (props?: ({
|
|
11
|
-
size?: "
|
|
11
|
+
size?: "small" | "large" | "medium" | undefined;
|
|
12
12
|
variant?: "link" | "contained" | "outlined" | "ghost" | "standard" | undefined;
|
|
13
13
|
loading?: boolean | undefined;
|
|
14
14
|
} & ({
|
package/dist/button.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ type ButtonProps = {
|
|
|
8
8
|
} & React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & VariantProps<typeof button>;
|
|
9
9
|
declare const Button: FC<ButtonProps>;
|
|
10
10
|
declare const button: (props?: ({
|
|
11
|
-
size?: "
|
|
11
|
+
size?: "small" | "large" | "medium" | undefined;
|
|
12
12
|
variant?: "link" | "contained" | "outlined" | "ghost" | "standard" | undefined;
|
|
13
13
|
loading?: boolean | undefined;
|
|
14
14
|
} & ({
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
var cva = require('cva');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
|
|
6
|
-
function Q(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=Q(e[r]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Y(){for(var e,r,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Q(e))&&(o&&(o+=" "),o+=r);return o}var B="-",ce=e=>{let r=pe(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:l=>{let s=l.split(B);return s[0]===""&&s.length!==1&&s.shift(),re(s,r)||de(l)},getConflictingClassGroupIds:(l,s)=>{let u=t[l]||[];return s&&o[l]?[...u,...o[l]]:u}}},re=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?re(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let n=e.join(B);return r.validators.find(({validator:l})=>l(n))?.classGroupId},D=/^\[(.+)\]$/,de=e=>{if(D.test(e)){let r=D.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return "arbitrary.."+t}},pe=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return be(Object.entries(e.classGroups),t).forEach(([n,l])=>{F(l,o,n,r);}),o},F=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?r:ee(r,a);n.classGroupId=t;return}if(typeof a=="function"){if(ue(a)){F(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([n,l])=>{F(l,ee(r,n),t,o);});});},ee=(e,r)=>{let t=e;return r.split(B).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},ue=e=>e.isThemeGetter,be=(e,r)=>r?e.map(([t,o])=>{let a=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([l,s])=>[r+l,s])):n);return [t,a]}):e,ge=e=>{if(e<1)return {get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(n,l)=>{t.set(n,l),r++,r>e&&(r=0,o=t,t=new Map);};return {get(n){let l=t.get(n);if(l!==void 0)return l;if((l=o.get(n))!==void 0)return a(n,l),l},set(n,l){t.has(n)?t.set(n,l):a(n,l);}}},te="!",fe=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],n=r.length,l=s=>{let u=[],g=0,m=0,y;for(let p=0;p<s.length;p++){let f=s[p];if(g===0){if(f===a&&(o||s.slice(p,p+n)===r)){u.push(s.slice(m,p)),m=p+n;continue}if(f==="/"){y=p;continue}}f==="["?g++:f==="]"&&g--;}let x=u.length===0?s:s.substring(m),v=x.startsWith(te),w=v?x.substring(1):x,b=y&&y>m?y-m:void 0;return {modifiers:u,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:b}};return t?s=>t({className:s,parseClassName:l}):l},me=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o);}),r.push(...t.sort()),r},he=e=>({cache:ge(e.cacheSize),parseClassName:fe(e),...ce(e)}),ye=/\s+/,xe=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,n=[],l=e.trim().split(ye),s="";for(let u=l.length-1;u>=0;u-=1){let g=l[u],{modifiers:m,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:v}=t(g),w=!!v,b=o(w?x.substring(0,v):x);if(!b){if(!w){s=g+(s.length>0?" "+s:s);continue}if(b=o(x),!b){s=g+(s.length>0?" "+s:s);continue}w=!1;}let p=me(m).join(":"),f=y?p+te:p,h=f+b;if(n.includes(h))continue;n.push(h);let T=a(b,w);for(let A=0;A<T.length;++A){let I=T[A];n.push(f+I);}s=g+(s.length>0?" "+s:s);}return s};function we(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=oe(r))&&(o&&(o+=" "),o+=t);return o}var oe=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=oe(e[o]))&&(t&&(t+=" "),t+=r);return t};function ve(e,...r){let t,o,a,n=l;function l(u){let g=r.reduce((m,y)=>y(m),e());return t=he(g),o=t.cache.get,a=t.cache.set,n=s,s(u)}function s(u){let g=o(u);if(g)return g;let m=xe(u,t);return a(u,m),m}return function(){return n(we.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ne=/^\[(?:([a-z-]+):)?(.+)\]$/i,ke=/^\d+\/\d+$/,Ce=new Set(["px","full","screen"]),ze=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Se=/\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$/,Ae=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Me=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Pe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C=e=>M(e)||Ce.has(e)||ke.test(e),z=e=>P(e,"length",Le),M=e=>!!e&&!Number.isNaN(Number(e)),$=e=>P(e,"number",M),R=e=>!!e&&Number.isInteger(Number(e)),Te=e=>e.endsWith("%")&&M(e.slice(0,-1)),i=e=>ne.test(e),S=e=>ze.test(e),Ge=new Set(["length","size","percentage"]),Re=e=>P(e,Ge,se),je=e=>P(e,"position",se),Ie=new Set(["image","url"]),Ne=e=>P(e,Ie,_e),Ee=e=>P(e,"",Ve),j=()=>!0,P=(e,r,t)=>{let o=ne.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Le=e=>Se.test(e)&&!Ae.test(e),se=()=>!1,Ve=e=>Me.test(e),_e=e=>Pe.test(e);var We=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),n=c("borderRadius"),l=c("borderSpacing"),s=c("borderWidth"),u=c("contrast"),g=c("grayscale"),m=c("hueRotate"),y=c("invert"),x=c("gap"),v=c("gradientColorStops"),w=c("gradientColorStopPositions"),b=c("inset"),p=c("margin"),f=c("opacity"),h=c("padding"),T=c("saturate"),A=c("scale"),I=c("sepia"),H=c("skew"),O=c("space"),q=c("translate"),L=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",i,r],d=()=>[i,r],J=()=>["",C,z],N=()=>["auto",M,i],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],E=()=>["solid","dashed","dotted","double","none"],X=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",i],Z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[M,i];return {cacheSize:500,separator:":",theme:{colors:[j],spacing:[C,z],blur:["none","",S,i],brightness:k(),borderColor:[e],borderRadius:["none","","full",S,i],borderSpacing:d(),borderWidth:J(),contrast:k(),grayscale:G(),hueRotate:k(),invert:G(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Te,z],inset:_(),margin:_(),opacity:k(),padding:d(),saturate:k(),scale:k(),sepia:G(),skew:k(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),i]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...W()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...W(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...W(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[O]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[O]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[j]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",M,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",C,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...E(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",C,z]}],"underline-offset":[{"underline-offset":["auto",C,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),je]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Re]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ne]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...E(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:E()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...E()]}],"outline-offset":[{"outline-offset":[C,i]}],"outline-w":[{outline:[C,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[C,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Ee]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...X(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",S,i]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[y]}],saturate:[{saturate:[T]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[q]}],"translate-y":[{"translate-y":[q]}],"skew-x":[{"skew-x":[H]}],"skew-y":[{"skew-y":[H]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[C,z,$]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ae=ve(We);function U(...e){return ae(Y(e))}var ie=cva.cva({variants:{variant:{success:"bg-success-100 text-success-700",info:"bg-info-100 text-info-700",warning:"bg-warning-100 text-warning-900",error:"bg-error-100 text-error-900",zoro:"bg-zoro-300 text-sunny-800",ussop:"bg-ussop-300 text-sunny-800",crocodile:"bg-crocodile-300 text-sunny-800",silvers:"bg-silvers-300 text-sunny-800",buggy:"bg-buggy-300 text-sunny-800",nami:"bg-nami-300 text-polartang-800",shanks:"bg-shanks-300 text-polartang-800",piiman:"bg-piiman-300 text-polartang-800",sanji:"bg-sanji-300 text-polartang-800",ace:"bg-ace-300 text-polartang-800",hancock:"bg-hancock-300 text-merry-800",chopper:"bg-chopper-300 text-merry-800",bentham:"bg-bentham-300 text-merry-800",ivankov:"bg-ivankov-300 text-merry-800",brook:"bg-brook-300 text-merry-800",luffy:"bg-luffy-300 text-jackson-800",frankie:"bg-frankie-300 text-jackson-800",jinbe:"bg-jinbe-300 text-jackson-800",robin:"bg-robin-300 text-jackson-800",law:"bg-law-300 text-jackson-800"}},defaultVariants:{variant:"info"}}),Xe=({variant:e,className:r,children:t,...o})=>jsxRuntime.jsx("div",{className:U(ie({variant:e}),"flex h-[3.75rem] w-[8.5rem] items-center justify-center overflow-hidden rounded p-2",r),...o,children:jsxRuntime.jsx("p",{className:U(ie({variant:e}),"line-clamp-3 text-center text-xs leading-[120%] tracking-[0.015rem]"),children:t})});
|
|
6
|
+
function Q(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=Q(e[r]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Y(){for(var e,r,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Q(e))&&(o&&(o+=" "),o+=r);return o}var B="-",ce=e=>{let r=pe(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:l=>{let s=l.split(B);return s[0]===""&&s.length!==1&&s.shift(),re(s,r)||de(l)},getConflictingClassGroupIds:(l,s)=>{let u=t[l]||[];return s&&o[l]?[...u,...o[l]]:u}}},re=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?re(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let n=e.join(B);return r.validators.find(({validator:l})=>l(n))?.classGroupId},D=/^\[(.+)\]$/,de=e=>{if(D.test(e)){let r=D.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return "arbitrary.."+t}},pe=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return be(Object.entries(e.classGroups),t).forEach(([n,l])=>{F(l,o,n,r);}),o},F=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?r:ee(r,a);n.classGroupId=t;return}if(typeof a=="function"){if(ue(a)){F(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([n,l])=>{F(l,ee(r,n),t,o);});});},ee=(e,r)=>{let t=e;return r.split(B).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},ue=e=>e.isThemeGetter,be=(e,r)=>r?e.map(([t,o])=>{let a=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([l,s])=>[r+l,s])):n);return [t,a]}):e,ge=e=>{if(e<1)return {get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(n,l)=>{t.set(n,l),r++,r>e&&(r=0,o=t,t=new Map);};return {get(n){let l=t.get(n);if(l!==void 0)return l;if((l=o.get(n))!==void 0)return a(n,l),l},set(n,l){t.has(n)?t.set(n,l):a(n,l);}}},te="!",fe=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],n=r.length,l=s=>{let u=[],g=0,m=0,y;for(let p=0;p<s.length;p++){let f=s[p];if(g===0){if(f===a&&(o||s.slice(p,p+n)===r)){u.push(s.slice(m,p)),m=p+n;continue}if(f==="/"){y=p;continue}}f==="["?g++:f==="]"&&g--;}let x=u.length===0?s:s.substring(m),v=x.startsWith(te),w=v?x.substring(1):x,b=y&&y>m?y-m:void 0;return {modifiers:u,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:b}};return t?s=>t({className:s,parseClassName:l}):l},me=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o);}),r.push(...t.sort()),r},he=e=>({cache:ge(e.cacheSize),parseClassName:fe(e),...ce(e)}),ye=/\s+/,xe=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,n=[],l=e.trim().split(ye),s="";for(let u=l.length-1;u>=0;u-=1){let g=l[u],{modifiers:m,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:v}=t(g),w=!!v,b=o(w?x.substring(0,v):x);if(!b){if(!w){s=g+(s.length>0?" "+s:s);continue}if(b=o(x),!b){s=g+(s.length>0?" "+s:s);continue}w=!1;}let p=me(m).join(":"),f=y?p+te:p,h=f+b;if(n.includes(h))continue;n.push(h);let T=a(b,w);for(let A=0;A<T.length;++A){let I=T[A];n.push(f+I);}s=g+(s.length>0?" "+s:s);}return s};function we(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=oe(r))&&(o&&(o+=" "),o+=t);return o}var oe=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=oe(e[o]))&&(t&&(t+=" "),t+=r);return t};function ve(e,...r){let t,o,a,n=l;function l(u){let g=r.reduce((m,y)=>y(m),e());return t=he(g),o=t.cache.get,a=t.cache.set,n=s,s(u)}function s(u){let g=o(u);if(g)return g;let m=xe(u,t);return a(u,m),m}return function(){return n(we.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ne=/^\[(?:([a-z-]+):)?(.+)\]$/i,ke=/^\d+\/\d+$/,Ce=new Set(["px","full","screen"]),ze=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Se=/\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$/,Ae=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Me=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Pe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C=e=>M(e)||Ce.has(e)||ke.test(e),z=e=>P(e,"length",Le),M=e=>!!e&&!Number.isNaN(Number(e)),$=e=>P(e,"number",M),R=e=>!!e&&Number.isInteger(Number(e)),Te=e=>e.endsWith("%")&&M(e.slice(0,-1)),i=e=>ne.test(e),S=e=>ze.test(e),Ge=new Set(["length","size","percentage"]),Re=e=>P(e,Ge,se),je=e=>P(e,"position",se),Ie=new Set(["image","url"]),Ne=e=>P(e,Ie,_e),Ee=e=>P(e,"",Ve),j=()=>!0,P=(e,r,t)=>{let o=ne.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Le=e=>Se.test(e)&&!Ae.test(e),se=()=>!1,Ve=e=>Me.test(e),_e=e=>Pe.test(e);var We=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),n=c("borderRadius"),l=c("borderSpacing"),s=c("borderWidth"),u=c("contrast"),g=c("grayscale"),m=c("hueRotate"),y=c("invert"),x=c("gap"),v=c("gradientColorStops"),w=c("gradientColorStopPositions"),b=c("inset"),p=c("margin"),f=c("opacity"),h=c("padding"),T=c("saturate"),A=c("scale"),I=c("sepia"),H=c("skew"),O=c("space"),q=c("translate"),L=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",i,r],d=()=>[i,r],J=()=>["",C,z],N=()=>["auto",M,i],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],E=()=>["solid","dashed","dotted","double","none"],X=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",i],Z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[M,i];return {cacheSize:500,separator:":",theme:{colors:[j],spacing:[C,z],blur:["none","",S,i],brightness:k(),borderColor:[e],borderRadius:["none","","full",S,i],borderSpacing:d(),borderWidth:J(),contrast:k(),grayscale:G(),hueRotate:k(),invert:G(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Te,z],inset:_(),margin:_(),opacity:k(),padding:d(),saturate:k(),scale:k(),sepia:G(),skew:k(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),i]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...W()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...W(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...W(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[O]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[O]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[j]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",M,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",C,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...E(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",C,z]}],"underline-offset":[{"underline-offset":["auto",C,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),je]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Re]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ne]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...E(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:E()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...E()]}],"outline-offset":[{"outline-offset":[C,i]}],"outline-w":[{outline:[C,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[C,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Ee]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...X(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",S,i]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[y]}],saturate:[{saturate:[T]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[q]}],"translate-y":[{"translate-y":[q]}],"skew-x":[{"skew-x":[H]}],"skew-y":[{"skew-y":[H]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[C,z,$]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ae=ve(We);function U(...e){return ae(Y(e))}var ie=cva.cva({variants:{variant:{success:"bg-success-100 text-success-700",info:"bg-info-100 text-info-700",warning:"bg-warning-100 text-warning-900",error:"bg-error-100 text-error-900",zoro:"bg-zoro-300 text-sunny-800",ussop:"bg-ussop-300 text-sunny-800",crocodile:"bg-crocodile-300 text-sunny-800",silvers:"bg-silvers-300 text-sunny-800",buggy:"bg-buggy-300 text-sunny-800",nami:"bg-nami-300 text-polartang-800",shanks:"bg-shanks-300 text-polartang-800",piiman:"bg-piiman-300 text-polartang-800",sanji:"bg-sanji-300 text-polartang-800",ace:"bg-ace-300 text-polartang-800",hancock:"bg-hancock-300 text-merry-800",chopper:"bg-chopper-300 text-merry-800",bentham:"bg-bentham-300 text-merry-800",ivankov:"bg-ivankov-300 text-merry-800",brook:"bg-brook-300 text-merry-800",luffy:"bg-luffy-300 text-jackson-800",frankie:"bg-frankie-300 text-jackson-800",jinbe:"bg-jinbe-300 text-jackson-800",robin:"bg-robin-300 text-jackson-800",law:"bg-law-300 text-jackson-800"}},defaultVariants:{variant:"info"}}),Xe=({variant:e,className:r,children:t,...o})=>jsxRuntime.jsx("div",{className:U(ie({variant:e}),"flex h-full max-h-[3.75rem] w-[8.5rem] items-center justify-center overflow-hidden rounded p-2",r),...o,children:jsxRuntime.jsx("p",{className:U(ie({variant:e}),"line-clamp-3 text-center text-xs leading-[130%] tracking-normal"),children:t})});
|
|
7
7
|
|
|
8
8
|
exports.ChipStatusTable = Xe;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as ChipStatusTable } from './chunk-
|
|
1
|
+
export { a as ChipStatusTable } from './chunk-P7K6YPPH.mjs';
|
|
2
2
|
import './chunk-P5UTQFFP.mjs';
|
package/dist/chip-status.d.mts
CHANGED
|
@@ -60,6 +60,7 @@ declare const chipStatus: (props?: ({
|
|
|
60
60
|
} | null | undefined;
|
|
61
61
|
})) | undefined) => string;
|
|
62
62
|
type ChipStatusProps = {} & VariantProps<typeof chipStatus> & HTMLAttributes<HTMLSpanElement>;
|
|
63
|
+
type ChipStatusVariants = VariantProps<typeof chipStatus>["variant"];
|
|
63
64
|
declare const ChipStatus: FC<ChipStatusProps>;
|
|
64
65
|
|
|
65
|
-
export { ChipStatus };
|
|
66
|
+
export { ChipStatus, type ChipStatusVariants };
|
package/dist/chip-status.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ declare const chipStatus: (props?: ({
|
|
|
60
60
|
} | null | undefined;
|
|
61
61
|
})) | undefined) => string;
|
|
62
62
|
type ChipStatusProps = {} & VariantProps<typeof chipStatus> & HTMLAttributes<HTMLSpanElement>;
|
|
63
|
+
type ChipStatusVariants = VariantProps<typeof chipStatus>["variant"];
|
|
63
64
|
declare const ChipStatus: FC<ChipStatusProps>;
|
|
64
65
|
|
|
65
|
-
export { ChipStatus };
|
|
66
|
+
export { ChipStatus, type ChipStatusVariants };
|
package/dist/chip-status.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
var cva = require('cva');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
|
|
6
|
-
var s=cva.cva({base:"
|
|
6
|
+
var s=cva.cva({base:"rounded-2xl w-fit flex items-center tracking-normal",variants:{variant:{success:"bg-success-100 text-success-700",info:"bg-info-100 text-info-700",warning:"bg-warning-100 text-warning-900",error:"bg-error-100 text-error-900",zoro:"bg-zoro-300 text-sunny-800",ussop:"bg-ussop-300 text-sunny-800",crocodile:"bg-crocodile-300 text-sunny-800",silvers:"bg-silvers-300 text-sunny-800",buggy:"bg-buggy-300 text-sunny-800",nami:"bg-nami-300 text-polartang-800",shanks:"bg-shanks-300 text-polartang-800",piiman:"bg-piiman-300 text-polartang-800",sanji:"bg-sanji-300 text-polartang-800",ace:"bg-ace-300 text-polartang-800",hancock:"bg-hancock-300 text-merry-800",chopper:"bg-chopper-300 text-merry-800",bentham:"bg-bentham-300 text-merry-800",ivankov:"bg-ivankov-300 text-merry-800",brook:"bg-brook-300 text-merry-800",luffy:"bg-luffy-300 text-jackson-800",frankie:"bg-frankie-300 text-jackson-800",jinbe:"bg-jinbe-300 text-jackson-800",robin:"bg-robin-300 text-jackson-800",law:"bg-law-300 text-jackson-800"},size:{xs:"px-2 py-0.25 text-xs leading-[130%] min-h-4.5",sm:"px-2 py-0.75 text-sm leading-[130%] min-h-6",md:"px-3 py-1 text-base leading-[130%] min-h-8"}},defaultVariants:{variant:"info",size:"sm"}}),g=({size:t,variant:a,className:e,...n})=>jsxRuntime.jsx("span",{className:s({variant:a,size:t,className:e}),...n});
|
|
7
7
|
|
|
8
|
-
exports.ChipStatus =
|
|
8
|
+
exports.ChipStatus = g;
|
package/dist/chip-status.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as ChipStatus } from './chunk-
|
|
1
|
+
export { a as ChipStatus } from './chunk-MJDHGOUR.mjs';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { i, h } from './chunk-7WAVGNKP.mjs';
|
|
2
|
+
import { a } from './chunk-P5UTQFFP.mjs';
|
|
3
|
+
import * as r from 'react';
|
|
4
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
|
+
|
|
6
|
+
var u=r.forwardRef(({className:t,...a$1},l)=>jsx("div",{ref:l,className:a("flex flex-col overflow-hidden rounded-2xl border border-primary-200 bg-neutral-50",t),...a$1}));u.displayName="TableContainer";var R=r.forwardRef(({className:t,...a$1},l)=>jsx("div",{className:"relative w-full overflow-auto",children:jsx("table",{ref:l,className:a("w-full table-auto overflow-hidden text-neutral-900",t),...a$1})}));R.displayName="Table";var x=r.forwardRef(({className:t,...a},l)=>jsx("thead",{ref:l,className:t,...a}));x.displayName="TableHeader";var g=r.forwardRef(({className:t,...a},l)=>jsx("tbody",{ref:l,className:t,...a}));g.displayName="TableBody";var N=r.forwardRef(({className:t,...a$1},l)=>jsx("tr",{ref:l,className:a("text-base font-normal leading-[130%] tracking-body",t),...a$1}));N.displayName="TableBodyRow";var H=r.forwardRef(({colSpan:t,Icon:a,icon:l,title:m,description:o,...s},d)=>jsx("tr",{ref:d,...s,children:jsx("td",{colSpan:t,children:jsxs("div",{className:"flex flex-col items-center justify-center px-10 pb-12 pt-10 font-normal leading-[120%] tracking-body-lg text-neutral-500",children:[l,a&&jsx(a,{size:40,className:"text-neutral-300"}),jsx("span",{className:"mt-2 font-semibold leading-[130%] text-neutral-500",children:m}),o&&jsx("span",{className:"leading-[130%] text-neutral-500",children:o})]})})}));H.displayName="TableBodyRowNoResults";var w=r.forwardRef(({className:t,...a$1},l)=>jsx("tr",{ref:l,className:a("bg-primary-100",t),...a$1}));w.displayName="TableHeaderRow";var L=r.forwardRef(({className:t,...a$1},l)=>jsx("th",{ref:l,className:a("h-10 px-3 py-1 text-left text-sm font-semibold uppercase leading-[130%]",t),...a$1}));L.displayName="TableHead";var v=r.forwardRef(({className:t,...a$1},l)=>jsx("td",{ref:l,className:a("h-16 px-3 py-1",t),...a$1}));v.displayName="TableCell";var E=({disableNextPage:t,disablePreviousPage:a$1,onNextPageClick:l,onPreviousPageClick:m,pagination:o,rowsCount:s,rowsPerPageText:d="Rows per page",ofText:T="of",onRowsPerPageChange:p})=>jsxs("div",{className:"ml-auto flex h-8 items-center justify-end gap-6 border-t-1 border-t-primary-200",children:[jsxs("div",{className:"flex items-center",children:[jsx("span",{className:"mr-2 text-sm font-semibold leading-[130%] text-neutral-700",children:`${d}:`}),jsxs("select",{className:"text-sm leading-[130%]",value:o.pageSize,id:"rows_per_page",onChange:f=>{p?.(Number(f.target.value));},children:[jsx("option",{value:"10",children:"10"}),jsx("option",{value:"25",children:"25"}),jsx("option",{value:"50",children:"50"})]})]}),!!s&&jsx("span",{className:"text-sm font-normal leading-[130%] text-neutral-700",children:`${o?.pageIndex*o.pageSize+1}-${s>o?.pageIndex*o.pageSize+o.pageSize?o?.pageIndex*o.pageSize+o.pageSize:s} ${T} ${s}`}),!s&&jsx("span",{className:"text-sm font-normal leading-[120%] tracking-sm text-neutral-700",children:`${o.pageIndex>0?"... ":""}${o.pageIndex+1}${t?"":" ..."}`}),jsxs("div",{className:"flex items-center",children:[jsx("button",{type:"button",disabled:a$1,className:"flex h-8 cursor-pointer items-center px-3 disabled:cursor-not-allowed",onClick:m,children:jsx(i,{className:a("h-[1.125rem] w-[1.125rem] text-neutral-900",a$1&&"text-neutral-500")})}),jsx("button",{type:"button",disabled:t,className:"flex h-8 cursor-pointer items-center px-3 disabled:cursor-not-allowed",onClick:l,children:jsx(h,{className:a("h-[1.125rem] w-[1.125rem] text-neutral-900",t&&"text-neutral-500")})})]})]});
|
|
7
|
+
|
|
8
|
+
export { u as a, R as b, x as c, g as d, N as e, H as f, w as g, L as h, v as i, E as j };
|
|
@@ -6,6 +6,6 @@ import * as e from '@radix-ui/react-dialog';
|
|
|
6
6
|
export { e as a };
|
|
7
7
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
|
-
var N=e.Root,x=e.Trigger,f=e.Portal,C=e.Close,d=s.forwardRef(({className:t,...a$1},o)=>jsx(e.Overlay,{ref:o,className:a("bg-black/80 fixed inset-0 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...a$1}));d.displayName=e.Overlay.displayName;var c=s.forwardRef(({className:t,children:a$2,...o},p)=>jsx(f,{children:jsx(d,{className:"bg-neutral-900/50",children:jsxs(e.Content,{ref:p,className:a("elevation-9 fixed left-[50%] top-[50%] z-[10000] grid w-full max-w-2xl translate-x-[-50%] translate-y-[-50%] rounded-2xl bg-neutral-50 p-8 pr-0 pt-2 duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",t),...o,children:[jsxs(e.Close,{className:"data-[state=open]:bg-accent data-[state=open]:text-muted-foreground mr-2 self-end justify-self-end rounded-sm
|
|
9
|
+
var N=e.Root,x=e.Trigger,f=e.Portal,C=e.Close,d=s.forwardRef(({className:t,...a$1},o)=>jsx(e.Overlay,{ref:o,className:a("bg-black/80 fixed inset-0 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...a$1}));d.displayName=e.Overlay.displayName;var c=s.forwardRef(({className:t,children:a$2,...o},p)=>jsx(f,{children:jsx(d,{className:"bg-neutral-900/50",children:jsxs(e.Content,{ref:p,className:a("elevation-9 fixed left-[50%] top-[50%] z-[10000] grid w-full max-w-2xl translate-x-[-50%] translate-y-[-50%] rounded-2xl bg-neutral-50 p-8 pr-0 pt-2 duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",t),...o,children:[jsxs(e.Close,{className:"data-[state=open]:bg-accent data-[state=open]:text-muted-foreground mr-2 self-end justify-self-end rounded-sm transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none",children:[jsx(d$1,{className:"h-6 w-6"}),jsx("span",{className:"sr-only",children:"Close"})]}),jsx(a$1,{className:"max-h-[80vh] pr-8",children:a$2})]})})}));c.displayName=e.Content.displayName;var g=({className:t,...a$1})=>jsx("div",{className:a("flex flex-col gap-4 text-left",t),...a$1});g.displayName="DialogHeader";var D=({className:t,...a$1})=>jsx("div",{className:a("mt-6 flex justify-end gap-3",t),...a$1});D.displayName="DialogFooter";var v=s.forwardRef(({className:t,...a$1},o)=>jsx(e.Title,{ref:o,className:a("font-jakarta text-xl font-semibold leading-[130%]",t),...a$1}));v.displayName=e.Title.displayName;var P=s.forwardRef(({className:t,...a$1},o)=>jsx(e.Description,{ref:o,className:a("font-inter text-base font-normal leading-[130%]",t),...a$1}));P.displayName=e.Description.displayName;
|
|
10
10
|
|
|
11
11
|
export { N as b, x as c, f as d, C as e, d as f, c as g, g as h, D as i, v as j, P as k };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { cva } from 'cva';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
var s=cva({base:"rounded-2xl w-fit flex items-center tracking-normal",variants:{variant:{success:"bg-success-100 text-success-700",info:"bg-info-100 text-info-700",warning:"bg-warning-100 text-warning-900",error:"bg-error-100 text-error-900",zoro:"bg-zoro-300 text-sunny-800",ussop:"bg-ussop-300 text-sunny-800",crocodile:"bg-crocodile-300 text-sunny-800",silvers:"bg-silvers-300 text-sunny-800",buggy:"bg-buggy-300 text-sunny-800",nami:"bg-nami-300 text-polartang-800",shanks:"bg-shanks-300 text-polartang-800",piiman:"bg-piiman-300 text-polartang-800",sanji:"bg-sanji-300 text-polartang-800",ace:"bg-ace-300 text-polartang-800",hancock:"bg-hancock-300 text-merry-800",chopper:"bg-chopper-300 text-merry-800",bentham:"bg-bentham-300 text-merry-800",ivankov:"bg-ivankov-300 text-merry-800",brook:"bg-brook-300 text-merry-800",luffy:"bg-luffy-300 text-jackson-800",frankie:"bg-frankie-300 text-jackson-800",jinbe:"bg-jinbe-300 text-jackson-800",robin:"bg-robin-300 text-jackson-800",law:"bg-law-300 text-jackson-800"},size:{xs:"px-2 py-0.25 text-xs leading-[130%] min-h-4.5",sm:"px-2 py-0.75 text-sm leading-[130%] min-h-6",md:"px-3 py-1 text-base leading-[130%] min-h-8"}},defaultVariants:{variant:"info",size:"sm"}}),g=({size:t,variant:a,className:e,...n})=>jsx("span",{className:s({variant:a,size:t,className:e}),...n});
|
|
5
|
+
|
|
6
|
+
export { g as a };
|
|
@@ -12,6 +12,6 @@ import wt, { createContext, useMemo, useCallback, useState, useRef, useEffect, u
|
|
|
12
12
|
import * as Rt from '@radix-ui/react-portal';
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
|
-
var Vt=({title:t,titleLines:a=1,description:r,descriptionLines:e=1,Icon:n,iconAsColumn:o=!0,className:s,...i})=>jsxs("div",{className:a$3("flex gap-2 py-4 pl-4 pr-6",o&&"flex-col items-center gap-1",!o&&!r&&"items-center"),...i,children:[n&&jsx(n,{className:a$3("shrink-0 text-neutral-300"),size:24}),jsxs("div",{className:a$3("flex flex-col gap-1",o&&"text-center"),children:[jsx("p",{className:a$3("leading-[130%] text-neutral-500",!!r&&"font-medium"),style:a?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:a}:void 0,children:t}),r&&jsx("p",{className:"text-sm leading-[130%] text-neutral-500",style:e?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:e}:void 0,children:r})]})]}),rt=Vt;var Ut=wt.memo(({handleSelect:t,NoResultsIcon:a$4,noResultsLabel:r,noResultsDescription:e,noResultsDescriptionLines:n,noResultsAsColumn:o,noResultsButtonOnClick:s,optionDescriptionLines:i,noResultsButtonLabel:p,filteredOptions:l,inputRect:g,inputRef:v,popoverPosition:x,optionsListRef:m,selectedOption:f,options:k,setFilteredOptions:u})=>jsx(Rt.Root,{asChild:!0,children:jsx("div",{ref:m,className:"pointer-events-auto fixed z-50 hidden w-full",style:g?{width:`${g.width}px`,left:g.left,top:x==="bottom"?`${g.bottom}px`:void 0,bottom:x==="top"?`${window.innerHeight-g.top}px`:void 0}:void 0,children:jsxs(a,{className:"elevation-8 mb-2 flex max-h-[336px] w-full flex-col rounded-lg bg-neutral-50",children:[l.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(rt,{title:r,description:e,Icon:a$4,iconAsColumn:o,descriptionLines:n}),s&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(a$2,{variant:"ghost",className:"my-3 w-fit self-center",onClick:y=>{m.current.style.display="none",v.current.value="",u(k),s();},children:p})]})]}),l.map(y=>jsx(Ct,{title:y.label,disabled:y.disabled,description:y.description,descriptionLines:i,onClick:()=>t(y),className:a$3(f?.value===y.value&&"bg-primary-200")},y.key??y.value))]})})})),Lt=Ut;var $t=336,er=({options:t,defaultSelectedOption:a,onSelect:r,onClick:e,onInputChange:n,error:o,helperText:s,label:i,placeholder:p,value:l,size:g="md",optionDescriptionLines:v=1,noResultsLabel:x,noResultsIcon:m,noResultsDescription:f,noResultsDescriptionLines:k,noResultsAsColumn:u,noResultsButtonOnClick:y,noResultsButtonLabel:D,className:b,disabled:w})=>{let[R,O]=useState(a??null),L=useRef(null),h=useRef(null),[it,nt]=useState(),[st,T]=useState([]),[lt,j]=useState("bottom"),[N,U]=useState(),H=$t,q=useCallback(d=>{L.current.style.display="none",l||(h.current.value=d.label,O(d)),r?.(d);},[l]),A=useCallback(()=>{if(!h?.current)return;let d=h.current.getBoundingClientRect();nt(d);let P=N?N.height:H,C=window.innerHeight-d.bottom>P,M=d.top>P;j(C?"bottom":M?"top":"bottom");},[N?.height]),E=useCallback(()=>{let d=t.filter(P=>P.label.toLowerCase().includes(h?.current?.value.toLowerCase()??""));if(T(d),L?.current){let P=L.current.getBoundingClientRect();U(P);}},[t,L?.current,h.current?.value]),S=useCallback(()=>{h.current.value=R?.label||"",h.current.value||E();},[R]);return useEffect(()=>{T(t);},[t]),useEffect(()=>{O(l||null),h.current.value=l?.label||"";},[l]),a$6(L,()=>{L.current.style.display="none";}),useEffect(()=>{if(h?.current)return A(),h.current.addEventListener("mousedown",A),h.current.addEventListener("input",E),h.current.addEventListener("blur",S),window.addEventListener("scroll",A,!0),window.addEventListener("resize",A),()=>{h.current?.removeEventListener("mousedown",A),h.current?.removeEventListener("input",A),h.current?.removeEventListener("blur",S),window.removeEventListener("scroll",A,!0),window.removeEventListener("resize",A);}},[A,E,S]),jsxs("div",{className:a$3("relative",b),children:[jsx(a$5,{ref:h,autoComplete:"off",list:"",selectMode:!0,onChange:d=>{d.target.value||(O(null),r?.(null)),n?.(d);},onClean:()=>{O(null),T(t),r?.(null);},onClick:d=>{L.current.style.display="flex",e?.(d);},label:i,helperText:s,placeholder:p,size:g,error:o,disabled:w}),jsx(Lt,{handleSelect:q,noResultsLabel:x,NoResultsIcon:m,optionDescriptionLines:v,noResultsAsColumn:u,noResultsButtonLabel:D,noResultsButtonOnClick:y,noResultsDescription:f,noResultsDescriptionLines:k,filteredOptions:st,inputRect:it,inputRef:h,popoverPosition:lt,optionsListRef:L,selectedOption:R,options:t,setFilteredOptions:T})]})};var Jt=({children:t,title:a,titleLines:r,description:e="",descriptionLines:n,disabled:o=!1,className:s,...i})=>jsxs("div",{className:"flex w-full flex-col",...i,children:[jsx("p",{className:a$3(!!e&&"font-medium"),style:r?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:r}:void 0,children:a}),e&&jsx("p",{className:a$3("text-sm",o?"text-neutral-400":"text-neutral-700"),style:n?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:n}:void 0,children:e})]}),Y=Jt;var mr=({children:t,title:a,titleLines:r,description:e="",descriptionLines:n,startIcon:o,badgeContent:s,hasDivider:i=!1,disabled:p=!1,onSelect:l,className:g,...v})=>jsxs(_,{hasDescription:!!e,disabled:p,onClick:l,hasDivider:i,className:a$3(!p&&"cursor-pointer",g),...v,children:[o&&wt.cloneElement(o,{className:a$3(e?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(Y,{title:a,titleLines:r,description:e,descriptionLines:n,disabled:p}),jsxs("div",{className:"flex gap-2",children:[s&&jsx(a$4,{content:s,size:"lg",variant:"alert",className:a$3("self-center",p&&"bg-neutral-400")}),jsx(h,{className:"h-4.5 w-4.5 self-center"})]})]});var It=({children:t,title:a,titleLines:r,description:e="",descriptionLines:n,startIcon:o,hasDivider:s=!1,disabled:i=!1,checked:p,onCheckedChange:l,className:g,...v})=>jsxs(_,{hasDescription:!!e,disabled:i,hasDivider:s,...v,className:a$3("pr-6",g),children:[o&&wt.cloneElement(o,{className:a$3(e?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(Y,{title:a,titleLines:r,description:e,descriptionLines:n,disabled:i}),jsx(a$7,{checked:p,onCheckedChange:l,className:"self-center",disabled:i})]});var Et=336,St=createContext({inputRef:null,optionsListRef:null,scrollAreaRef:null,autocompleteId:"",inputRect:void 0,showChips:!1,filteredOptions:[],currentFocus:-1,popoverPosition:"bottom",setFilteredOptions:()=>{},setCurrentFocus:()=>{},setShowChips:()=>{},setPopoverPosition:()=>{},setInputRect:()=>{},maxOptionsListHeight:Et,optionsListRect:void 0,setOptionsListRect:()=>{}}),z=()=>{let t=useContext(St);if(t===null)throw new Error("useAutocompleteMultipleContext must be used within a AutocompleteMultipleProvider");return t},Ft=({children:t})=>{let a=useRef(null),r=useRef(null),e=useRef(null),n=useId(),[o,s]=useState(),[i,p]=useState(!1),[l,g]=useState([]),[v,x]=useState(-1),[m,f]=useState("bottom"),[k,u]=useState();return jsx(St.Provider,{value:{optionsListRef:a,inputRef:r,scrollAreaRef:e,autocompleteId:n,inputRect:o,showChips:i,filteredOptions:l,currentFocus:v,popoverPosition:m,setFilteredOptions:g,setCurrentFocus:x,setShowChips:p,setPopoverPosition:f,setInputRect:s,maxOptionsListHeight:Et,optionsListRect:k,setOptionsListRect:u},children:t})};var se=({option:t,onMountWidth:a,size:r})=>{let e=useRef(null);return useEffect(()=>{e.current&&a?.(e.current.clientWidth);},[]),jsx(a$8,{ref:e,className:"flex-shrink-0",size:r==="sm"?"xs":"md",hasCloseIcon:!1,children:t.label})},Dt=se;var pe=150,ge=wt.memo(({selectedOptions:t,error:a,onCleanSelectedOptions:r,size:e})=>{let{autocompleteId:n,inputRect:o,inputRef:s,optionsListRef:i}=z(),p=wt.useRef(null),[l,g]=wt.useState(new Map),v=useMemo(()=>{if(!o?.width)return [];let m=0,f=o.width-pe,k=0;for(let u=0;u<t.length&&(k+=l.get(u)??0,!(k>f));u++)m++;return t.slice(0,m)},[o?.width,t,l]),x=useCallback(()=>{s?.current?.focus(),i.current.style.display="flex";},[]);return jsxs("div",{onClick:x,className:"absolute top-0 z-30 flex w-full cursor-pointer flex-nowrap items-center gap-2 pl-3 pr-12",style:{maxWidth:o?.width?o?.width:void 0,height:o?.height?o?.height:void 0},children:[jsx("div",{className:"flex flex-1 gap-1 overflow-hidden",ref:p,children:v.map((m,f)=>jsx(Dt,{option:m,onMountWidth:k=>g(u=>new Map(u).set(f,k)),size:e},`chip-input-${n}-${m.value}`))}),t.length>v.length&&jsx("span",{className:"text-base",children:"..."}),t.length>0&&!a&&jsx(a$4,{content:String(t.length),size:e}),a&&t.length>0&&jsx(c,{className:"h-6 w-6 text-error-700",onClick:m=>{m.stopPropagation(),r();}})]})}),Tt=ge;var ue=wt.memo(({option:t,index:a,onPressOption:r,isSelected:e,optionDescriptionLines:n})=>{let{currentFocus:o,inputRef:s}=z();return jsx(It,{title:t.label,checked:e,disabled:t.disabled,className:o===a?"bg-primary-200":void 0,onMouseDown:i=>{s?.current?.value&&i.preventDefault(),r?.(t,i);},description:t.description,descriptionLines:n})}),ut=ue;var ye=wt.memo(({selectedOptions:t,handleSelect:a$3,NoResultsIcon:r,noResultsLabel:e,noResultsDescription:n,noResultsDescriptionLines:o,noResultsAsColumn:s,noResultsButtonOnClick:i,optionDescriptionLines:p,noResultsButtonLabel:l})=>{let{popoverPosition:g,scrollAreaRef:v,optionsListRef:x,filteredOptions:m,inputRect:f,autocompleteId:k,inputRef:u}=z(),y=useCallback(b=>t.some(w=>w.value===b.value),[t]),D=useMemo(()=>t.filter(b=>b.label.toLowerCase().includes(u?.current?.value.toLowerCase()??"")),[t,u?.current?.value]);return jsx(Rt.Root,{asChild:!0,children:jsx("div",{ref:x,className:"pointer-events-auto fixed z-50 hidden w-full",style:f?{width:`${f.width}px`,left:f.left,top:g==="bottom"?`${f.bottom}px`:void 0,bottom:g==="top"?`${window.innerHeight-f.top}px`:void 0}:void 0,children:jsxs(a,{className:"elevation-8 mb-2 flex max-h-[336px] w-full flex-col rounded-lg bg-neutral-50",ref:v,children:[m.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(rt,{title:e,description:n,Icon:r,iconAsColumn:s,descriptionLines:o}),i&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(a$2,{variant:"ghost",className:"my-3 w-fit self-center",onClick:b=>{x.current.style.display="none",u.current.value="",i();},children:l})]})]}),D.map((b,w)=>jsx(ut,{option:b,index:w,onPressOption:(R,O)=>a$3(R),isSelected:y(b),optionDescriptionLines:p},`autocomplete-option-${k}-${b.key??b.value}`)),m.map((b,w)=>!t.some(R=>R.value===b.value)&&jsx(ut,{option:b,index:w,onPressOption:(R,O)=>a$3(R),isSelected:y(b),optionDescriptionLines:p},`autocomplete-option-${k}-${b.key??b.value}`))]})})})}),Ht=ye;var Re=wt.memo(({selectedOptions:t,onSelect:a,error:r,helperText:e,label:n,placeholder:o,options:s,onInputChange:i,size:p})=>{let{setCurrentFocus:l,setFilteredOptions:g,optionsListRef:v,inputRef:x}=z();return jsx(a$5,{ref:x,autoComplete:"off",list:"",selectMode:!0,onChange:m=>{l(-1),i?.(m.target.value);},onClean:()=>{l(-1),g(s),a?.(null,t);},onClick:()=>{v.current.style.display="flex";},error:r,helperText:e,label:n,placeholder:o,fixedTopLabel:t.length>0,size:p})}),Bt=Re;var Xt=({options:t,defaultSelectedOptions:a,onSelect:r,error:e,helperText:n,label:o,placeholder:s,noResultsLabel:i,noResultsIcon:p,noResultsDescription:l,noResultsDescriptionLines:g,noResultsAsColumn:v,noResultsButtonOnClick:x,noResultsButtonLabel:m,className:f,onInputChange:k,value:u,loading:y,size:D="md",optionDescriptionLines:b=1})=>{let{inputRef:w,optionsListRef:R,setFilteredOptions:O,setShowChips:L,setInputRect:h,setPopoverPosition:it,setCurrentFocus:nt,showChips:st,maxOptionsListHeight:T,setOptionsListRect:lt,optionsListRect:j}=z(),N=useRef(!1),[U,H]=useState(a??[]),q=useCallback(C=>{H(M=>{let I,J=M.findIndex(Wt=>Wt.value===C.value);return J===-1?(I=M.concat(C),r?.(C,I),I):(I=M.toSpliced(J,1),r?.(C,I),I)});},[]),A=useCallback(()=>{H([]),O(t),r?.(null,[]);},[]),E=useCallback(()=>{L(!1);},[]),S=useCallback(()=>{L(!0);},[]),d=useCallback(()=>{if(!w?.current)return;let C=w.current.getBoundingClientRect();h(C);let M=j?j.height:T,I=window.innerHeight-C.bottom>M,J=C.top>M;it(I?"bottom":J?"top":"bottom");},[j?.height]),P=useCallback(()=>{let C=t.filter(M=>M.label.toLowerCase().includes(w?.current?.value.toLowerCase()??""));if(O(C),R?.current){let M=R.current.getBoundingClientRect();lt(M);}},[t,R?.current]);return useEffect(()=>{O(t);},[t]),a$6(R,()=>{R.current.style.display="none",nt(-1);}),useEffect(()=>{if(w?.current)return d(),w.current.addEventListener("mousedown",d),w.current.addEventListener("input",P),w.current.addEventListener("focusin",E),w.current.addEventListener("focusout",S),window.addEventListener("scroll",d,!0),window.addEventListener("resize",d),()=>{w.current?.removeEventListener("mousedown",d),w.current?.removeEventListener("input",d),w.current?.removeEventListener("focusout",S),w.current?.removeEventListener("focusin",E),window.removeEventListener("scroll",d,!0),window.removeEventListener("resize",d);}},[d,S,E,P]),useEffect(()=>{u&&(H(u),L(!0));},[u]),useEffect(()=>{y||a&&a.length&&!N.current&&(H(a),N.current=!0,L(!0));},[a,y]),jsxs("div",{className:a$3("relative",f),children:[jsx(Bt,{selectedOptions:U,onSelect:r,error:e,helperText:n,label:o,placeholder:s,handleSelect:q,options:t,onInputChange:k,size:D}),st&&jsx(Tt,{selectedOptions:U,error:e,onCleanSelectedOptions:A,size:D}),jsx(Ht,{handleSelect:q,selectedOptions:U,noResultsLabel:i,NoResultsIcon:p,optionDescriptionLines:b,noResultsAsColumn:v,noResultsButtonLabel:m,noResultsButtonOnClick:x,noResultsDescription:l,noResultsDescriptionLines:g})]})};var Ao=t=>jsx(Ft,{children:jsx(Xt,{...t})});var Oe=({children:t,hasDescription:a=!1,disabled:r=!1,hasDivider:e=!1,className:n,onClick:o,...s})=>jsxs(Fragment,{children:[jsx("div",{className:a$3("line-height-[120%] flex flex-row gap-4 pl-4 pr-3",a?"py-3":"py-[0.875rem]",r?"text-neutral-400":"hover:bg-primary-100 focus:bg-primary-200",n),onClick:i=>{r||o?.(i);},...s,children:t}),e&&jsx(a$1,{})]}),_=Oe;var Ct=({children:t,title:a,titleLines:r,description:e="",descriptionLines:n,startIcon:o,hasDivider:s=!1,disabled:i=!1,className:p,...l})=>jsxs(_,{hasDescription:!!e,disabled:i,hasDivider:s,className:p,...l,children:[o&&wt.cloneElement(o,{className:a$3(e?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(Y,{title:a,titleLines:r,description:e,descriptionLines:n,disabled:i})]});
|
|
15
|
+
var Vt=({title:t,titleLines:a=1,description:r,descriptionLines:e=1,Icon:n,iconAsColumn:o=!0,className:s,...i})=>jsxs("div",{className:a$3("flex gap-2 py-4 pl-4 pr-6",o&&"flex-col items-center gap-1",!o&&!r&&"items-center"),...i,children:[n&&jsx(n,{className:a$3("shrink-0 text-neutral-300"),size:24}),jsxs("div",{className:a$3("flex flex-col gap-1",o&&"text-center"),children:[jsx("p",{className:a$3("leading-[130%] text-neutral-500",!!r&&"font-medium"),style:a?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:a}:void 0,children:t}),r&&jsx("p",{className:"text-sm leading-[130%] text-neutral-500",style:e?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:e}:void 0,children:r})]})]}),rt=Vt;var Ut=wt.memo(({handleSelect:t,NoResultsIcon:a$4,noResultsLabel:r,noResultsDescription:e,noResultsDescriptionLines:n,noResultsAsColumn:o,noResultsButtonOnClick:s,optionDescriptionLines:i,noResultsButtonLabel:p,filteredOptions:l,inputRect:m,inputRef:v,popoverPosition:x,optionsListRef:g,selectedOption:f,options:k,setFilteredOptions:u})=>jsx(Rt.Root,{asChild:!0,children:jsx("div",{ref:g,className:"pointer-events-auto fixed z-50 hidden w-full",style:m?{width:`${m.width}px`,left:m.left,top:x==="bottom"?`${m.bottom}px`:void 0,bottom:x==="top"?`${window.innerHeight-m.top}px`:void 0}:void 0,children:jsxs(a,{className:"elevation-8 mb-2 flex max-h-[336px] w-full flex-col rounded-lg bg-neutral-50",children:[l.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(rt,{title:r,description:e,Icon:a$4,iconAsColumn:o,descriptionLines:n}),s&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(a$2,{variant:"ghost",className:"my-3 w-fit self-center",onClick:y=>{g.current.style.display="none",v.current.value="",u(k),s();},children:p})]})]}),l.map(y=>jsx(Ct,{title:y.label,disabled:y.disabled,description:y.description,descriptionLines:i,onClick:()=>t(y),className:a$3(f?.value===y.value&&"bg-primary-200")},y.key??y.value))]})})})),Lt=Ut;var $t=336,er=({options:t,defaultSelectedOption:a,onSelect:r,onClick:e,onInputChange:n,error:o,helperText:s,label:i,placeholder:p,value:l,size:m="md",optionDescriptionLines:v=1,noResultsLabel:x,noResultsIcon:g,noResultsDescription:f,noResultsDescriptionLines:k,noResultsAsColumn:u,noResultsButtonOnClick:y,noResultsButtonLabel:D,className:b,disabled:w})=>{let[R,O]=useState(a??null),L=useRef(null),h=useRef(null),[it,nt]=useState(),[st,T]=useState([]),[lt,j]=useState("bottom"),[N,U]=useState(),H=$t,q=useCallback(d=>{L.current.style.display="none",l||(h.current.value=d.label,O(d)),r?.(d);},[l]),A=useCallback(()=>{if(!h?.current)return;let d=h.current.getBoundingClientRect();nt(d);let P=N?N.height:H,C=window.innerHeight-d.bottom>P,M=d.top>P;j(C?"bottom":M?"top":"bottom");},[N?.height]),E=useCallback(()=>{let d=t.filter(P=>P.label.toLowerCase().includes(h?.current?.value.toLowerCase()??""));if(T(d),L?.current){let P=L.current.getBoundingClientRect();U(P);}},[t,L?.current,h.current?.value]),S=useCallback(()=>{h.current.value=R?.label||"",h.current.value||E();},[R]);return useEffect(()=>{T(t);},[t]),useEffect(()=>{O(l||null),h.current.value=l?.label||"";},[l]),a$6(L,()=>{L.current.style.display="none";}),useEffect(()=>{if(h?.current)return A(),h.current.addEventListener("mousedown",A),h.current.addEventListener("input",E),h.current.addEventListener("blur",S),window.addEventListener("scroll",A,!0),window.addEventListener("resize",A),()=>{h.current?.removeEventListener("mousedown",A),h.current?.removeEventListener("input",A),h.current?.removeEventListener("blur",S),window.removeEventListener("scroll",A,!0),window.removeEventListener("resize",A);}},[A,E,S]),jsxs("div",{className:a$3("relative",b),children:[jsx(a$5,{ref:h,autoComplete:"off",list:"",selectMode:!0,onChange:d=>{d.target.value||(O(null),r?.(null)),n?.(d);},onClean:()=>{O(null),T(t),r?.(null);},onClick:d=>{L.current.style.display="flex",e?.(d);},label:i,helperText:s,placeholder:p,size:m,error:o,disabled:w}),jsx(Lt,{handleSelect:q,noResultsLabel:x,NoResultsIcon:g,optionDescriptionLines:v,noResultsAsColumn:u,noResultsButtonLabel:D,noResultsButtonOnClick:y,noResultsDescription:f,noResultsDescriptionLines:k,filteredOptions:st,inputRect:it,inputRef:h,popoverPosition:lt,optionsListRef:L,selectedOption:R,options:t,setFilteredOptions:T})]})};var Jt=({children:t,title:a,titleLines:r,description:e="",descriptionLines:n,disabled:o=!1,className:s,...i})=>jsxs("div",{className:"flex w-full flex-col",...i,children:[jsx("p",{className:a$3(!!e&&"font-medium"),style:r?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:r}:void 0,children:a}),e&&jsx("p",{className:a$3("text-sm",o?"text-neutral-400":"text-neutral-700"),style:n?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:n}:void 0,children:e})]}),Y=Jt;var gr=({children:t,title:a,titleLines:r,description:e="",descriptionLines:n,startIcon:o,badgeContent:s,hasDivider:i=!1,disabled:p=!1,onSelect:l,className:m,...v})=>jsxs(_,{hasDescription:!!e,disabled:p,onClick:l,hasDivider:i,className:a$3(!p&&"cursor-pointer",m),...v,children:[o&&wt.cloneElement(o,{className:a$3(e?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(Y,{title:a,titleLines:r,description:e,descriptionLines:n,disabled:p}),jsxs("div",{className:"flex gap-2",children:[s&&jsx(a$4,{content:s,size:"lg",variant:"alert",className:a$3("self-center",p&&"bg-neutral-400")}),jsx(h,{className:"h-4.5 w-4.5 self-center"})]})]});var It=({children:t,title:a,titleLines:r,description:e="",descriptionLines:n,startIcon:o,hasDivider:s=!1,disabled:i=!1,checked:p,onCheckedChange:l,className:m,...v})=>jsxs(_,{hasDescription:!!e,disabled:i,hasDivider:s,...v,className:a$3("pr-6",m),children:[o&&wt.cloneElement(o,{className:a$3(e?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(Y,{title:a,titleLines:r,description:e,descriptionLines:n,disabled:i}),jsx(a$7,{checked:p,onCheckedChange:l,className:"self-center",disabled:i})]});var Et=336,St=createContext({inputRef:null,optionsListRef:null,scrollAreaRef:null,autocompleteId:"",inputRect:void 0,showChips:!1,filteredOptions:[],currentFocus:-1,popoverPosition:"bottom",setFilteredOptions:()=>{},setCurrentFocus:()=>{},setShowChips:()=>{},setPopoverPosition:()=>{},setInputRect:()=>{},maxOptionsListHeight:Et,optionsListRect:void 0,setOptionsListRect:()=>{}}),z=()=>{let t=useContext(St);if(t===null)throw new Error("useAutocompleteMultipleContext must be used within a AutocompleteMultipleProvider");return t},Ft=({children:t})=>{let a=useRef(null),r=useRef(null),e=useRef(null),n=useId(),[o,s]=useState(),[i,p]=useState(!1),[l,m]=useState([]),[v,x]=useState(-1),[g,f]=useState("bottom"),[k,u]=useState();return jsx(St.Provider,{value:{optionsListRef:a,inputRef:r,scrollAreaRef:e,autocompleteId:n,inputRect:o,showChips:i,filteredOptions:l,currentFocus:v,popoverPosition:g,setFilteredOptions:m,setCurrentFocus:x,setShowChips:p,setPopoverPosition:f,setInputRect:s,maxOptionsListHeight:Et,optionsListRect:k,setOptionsListRect:u},children:t})};var se=({option:t,onMountWidth:a,size:r})=>{let e=useRef(null);return useEffect(()=>{e.current&&a?.(e.current.clientWidth);},[]),jsx(a$8,{ref:e,className:"flex-shrink-0",size:r==="sm"?"xs":"md",hasCloseIcon:!1,children:t.label})},Dt=se;var pe=150,me=wt.memo(({selectedOptions:t,error:a,onCleanSelectedOptions:r,size:e})=>{let{autocompleteId:n,inputRect:o,inputRef:s,optionsListRef:i}=z(),p=wt.useRef(null),[l,m]=wt.useState(new Map),v=useMemo(()=>{if(!o?.width)return [];let g=0,f=o.width-pe,k=0;for(let u=0;u<t.length&&(k+=l.get(u)??0,!(k>f));u++)g++;return t.slice(0,g)},[o?.width,t,l]),x=useCallback(()=>{s?.current?.focus(),i.current.style.display="flex";},[]);return jsxs("div",{onClick:x,className:"absolute top-0 z-30 flex w-full cursor-pointer flex-nowrap items-center gap-2 pl-3 pr-12",style:{maxWidth:o?.width?o?.width:void 0,height:o?.height?o?.height:void 0},children:[jsx("div",{className:"flex flex-1 gap-1 overflow-hidden",ref:p,children:v.map((g,f)=>jsx(Dt,{option:g,onMountWidth:k=>m(u=>new Map(u).set(f,k)),size:e},`chip-input-${n}-${g.value}`))}),t.length>v.length&&jsx("span",{className:"text-base",children:"..."}),t.length>0&&!a&&jsx(a$4,{content:String(t.length),size:e}),a&&t.length>0&&jsx(c,{className:"h-6 w-6 text-error-700",onClick:g=>{g.stopPropagation(),r();}})]})}),Tt=me;var ue=wt.memo(({option:t,index:a,onPressOption:r,isSelected:e,optionDescriptionLines:n})=>{let{currentFocus:o,inputRef:s}=z();return jsx(It,{title:t.label,checked:e,disabled:t.disabled,className:o===a?"bg-primary-200":void 0,onMouseDown:i=>{s?.current?.value&&i.preventDefault(),r?.(t,i);},description:t.description,descriptionLines:n})}),ut=ue;var ye=wt.memo(({selectedOptions:t,handleSelect:a$3,NoResultsIcon:r,noResultsLabel:e,noResultsDescription:n,noResultsDescriptionLines:o,noResultsAsColumn:s,noResultsButtonOnClick:i,optionDescriptionLines:p,noResultsButtonLabel:l})=>{let{popoverPosition:m,scrollAreaRef:v,optionsListRef:x,filteredOptions:g,inputRect:f,autocompleteId:k,inputRef:u}=z(),y=useCallback(b=>t.some(w=>w.value===b.value),[t]),D=useMemo(()=>t.filter(b=>b.label.toLowerCase().includes(u?.current?.value.toLowerCase()??"")),[t,u?.current?.value]);return jsx(Rt.Root,{asChild:!0,children:jsx("div",{ref:x,className:"pointer-events-auto fixed z-50 hidden w-full",style:f?{width:`${f.width}px`,left:f.left,top:m==="bottom"?`${f.bottom}px`:void 0,bottom:m==="top"?`${window.innerHeight-f.top}px`:void 0}:void 0,children:jsxs(a,{className:"elevation-8 mb-2 flex max-h-[336px] w-full flex-col rounded-lg bg-neutral-50",ref:v,children:[g.length===0&&jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(rt,{title:e,description:n,Icon:r,iconAsColumn:s,descriptionLines:o}),i&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(a$2,{variant:"ghost",className:"my-3 w-fit self-center",onClick:b=>{x.current.style.display="none",u.current.value="",i();},children:l})]})]}),D.map((b,w)=>jsx(ut,{option:b,index:w,onPressOption:(R,O)=>a$3(R),isSelected:y(b),optionDescriptionLines:p},`autocomplete-option-${k}-${b.key??b.value}`)),g.map((b,w)=>!t.some(R=>R.value===b.value)&&jsx(ut,{option:b,index:w,onPressOption:(R,O)=>a$3(R),isSelected:y(b),optionDescriptionLines:p},`autocomplete-option-${k}-${b.key??b.value}`))]})})})}),Ht=ye;var Re=wt.memo(({selectedOptions:t,onSelect:a,error:r,helperText:e,label:n,placeholder:o,options:s,onInputChange:i,size:p})=>{let{setCurrentFocus:l,setFilteredOptions:m,optionsListRef:v,inputRef:x}=z();return jsx(a$5,{ref:x,autoComplete:"off",list:"",selectMode:!0,onChange:g=>{l(-1),i?.(g.target.value);},onClean:()=>{l(-1),m(s),a?.(null,t);},onClick:()=>{v.current.style.display="flex";},error:r,helperText:e,label:n,placeholder:o,fixedTopLabel:t.length>0,size:p})}),Bt=Re;var Xt=({options:t,defaultSelectedOptions:a,onSelect:r,error:e,helperText:n,label:o,placeholder:s,noResultsLabel:i,noResultsIcon:p,noResultsDescription:l,noResultsDescriptionLines:m,noResultsAsColumn:v,noResultsButtonOnClick:x,noResultsButtonLabel:g,className:f,onInputChange:k,value:u,loading:y,size:D="md",optionDescriptionLines:b=1})=>{let{inputRef:w,optionsListRef:R,setFilteredOptions:O,setShowChips:L,setInputRect:h,setPopoverPosition:it,setCurrentFocus:nt,showChips:st,maxOptionsListHeight:T,setOptionsListRect:lt,optionsListRect:j}=z(),N=useRef(!1),[U,H]=useState(a??[]),q=useCallback(C=>{H(M=>{let I,J=M.findIndex(Wt=>Wt.value===C.value);return J===-1?(I=M.concat(C),r?.(C,I),I):(I=M.toSpliced(J,1),r?.(C,I),I)});},[]),A=useCallback(()=>{H([]),O(t),r?.(null,[]);},[]),E=useCallback(()=>{L(!1);},[]),S=useCallback(()=>{L(!0);},[]),d=useCallback(()=>{if(!w?.current)return;let C=w.current.getBoundingClientRect();h(C);let M=j?j.height:T,I=window.innerHeight-C.bottom>M,J=C.top>M;it(I?"bottom":J?"top":"bottom");},[j?.height]),P=useCallback(()=>{let C=t.filter(M=>M.label.toLowerCase().includes(w?.current?.value.toLowerCase()??""));if(O(C),R?.current){let M=R.current.getBoundingClientRect();lt(M);}},[t,R?.current]);return useEffect(()=>{O(t);},[t]),a$6(R,()=>{R.current.style.display="none",nt(-1);}),useEffect(()=>{if(w?.current)return d(),w.current.addEventListener("mousedown",d),w.current.addEventListener("input",P),w.current.addEventListener("focusin",E),w.current.addEventListener("focusout",S),window.addEventListener("scroll",d,!0),window.addEventListener("resize",d),()=>{w.current?.removeEventListener("mousedown",d),w.current?.removeEventListener("input",d),w.current?.removeEventListener("focusout",S),w.current?.removeEventListener("focusin",E),window.removeEventListener("scroll",d,!0),window.removeEventListener("resize",d);}},[d,S,E,P]),useEffect(()=>{u&&(H(u),L(!0));},[u]),useEffect(()=>{y||a&&a.length&&!N.current&&(H(a),N.current=!0,L(!0));},[a,y]),jsxs("div",{className:a$3("relative",f),children:[jsx(Bt,{selectedOptions:U,onSelect:r,error:e,helperText:n,label:o,placeholder:s,handleSelect:q,options:t,onInputChange:k,size:D}),st&&jsx(Tt,{selectedOptions:U,error:e,onCleanSelectedOptions:A,size:D}),jsx(Ht,{handleSelect:q,selectedOptions:U,noResultsLabel:i,NoResultsIcon:p,optionDescriptionLines:b,noResultsAsColumn:v,noResultsButtonLabel:g,noResultsButtonOnClick:x,noResultsDescription:l,noResultsDescriptionLines:m})]})};var Ao=t=>jsx(Ft,{children:jsx(Xt,{...t})});var Oe=({children:t,hasDescription:a=!1,disabled:r=!1,hasDivider:e=!1,className:n,onClick:o,...s})=>jsxs(Fragment,{children:[jsx("div",{className:a$3("line-height-[120%] flex flex-row gap-4 pl-4 pr-3",a?"py-3":"py-[0.875rem]",r?"text-neutral-400":"hover:bg-primary-100 focus:bg-primary-200",n),onClick:i=>{r||o?.(i);},...s,children:t}),e&&jsx(a$1,{})]}),_=Oe;var Ct=({children:t,title:a,titleLines:r,description:e="",descriptionLines:n,startIcon:o,hasDivider:s=!1,disabled:i=!1,className:p,...l})=>jsxs(_,{hasDescription:!!e,disabled:i,hasDivider:s,className:p,...l,children:[o&&wt.cloneElement(o,{className:a$3(e?"mt-[0.4rem]":"self-center","shrink-0"),size:18}),jsx(Y,{title:a,titleLines:r,description:e,descriptionLines:n,disabled:i})]});
|
|
16
16
|
|
|
17
|
-
export { er as a, Ct as b,
|
|
17
|
+
export { er as a, Ct as b, gr as c, It as d, Ao as e };
|
|
@@ -2,6 +2,6 @@ import { a as a$1 } from './chunk-P5UTQFFP.mjs';
|
|
|
2
2
|
import { cva } from 'cva';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
-
var a=cva({variants:{variant:{success:"bg-success-100 text-success-700",info:"bg-info-100 text-info-700",warning:"bg-warning-100 text-warning-900",error:"bg-error-100 text-error-900",zoro:"bg-zoro-300 text-sunny-800",ussop:"bg-ussop-300 text-sunny-800",crocodile:"bg-crocodile-300 text-sunny-800",silvers:"bg-silvers-300 text-sunny-800",buggy:"bg-buggy-300 text-sunny-800",nami:"bg-nami-300 text-polartang-800",shanks:"bg-shanks-300 text-polartang-800",piiman:"bg-piiman-300 text-polartang-800",sanji:"bg-sanji-300 text-polartang-800",ace:"bg-ace-300 text-polartang-800",hancock:"bg-hancock-300 text-merry-800",chopper:"bg-chopper-300 text-merry-800",bentham:"bg-bentham-300 text-merry-800",ivankov:"bg-ivankov-300 text-merry-800",brook:"bg-brook-300 text-merry-800",luffy:"bg-luffy-300 text-jackson-800",frankie:"bg-frankie-300 text-jackson-800",jinbe:"bg-jinbe-300 text-jackson-800",robin:"bg-robin-300 text-jackson-800",law:"bg-law-300 text-jackson-800"}},defaultVariants:{variant:"info"}}),c=({variant:e,className:n,children:o,...s})=>jsx("div",{className:a$1(a({variant:e}),"flex h-[3.75rem] w-[8.5rem] items-center justify-center overflow-hidden rounded p-2",n),...s,children:jsx("p",{className:a$1(a({variant:e}),"line-clamp-3 text-center text-xs leading-[
|
|
5
|
+
var a=cva({variants:{variant:{success:"bg-success-100 text-success-700",info:"bg-info-100 text-info-700",warning:"bg-warning-100 text-warning-900",error:"bg-error-100 text-error-900",zoro:"bg-zoro-300 text-sunny-800",ussop:"bg-ussop-300 text-sunny-800",crocodile:"bg-crocodile-300 text-sunny-800",silvers:"bg-silvers-300 text-sunny-800",buggy:"bg-buggy-300 text-sunny-800",nami:"bg-nami-300 text-polartang-800",shanks:"bg-shanks-300 text-polartang-800",piiman:"bg-piiman-300 text-polartang-800",sanji:"bg-sanji-300 text-polartang-800",ace:"bg-ace-300 text-polartang-800",hancock:"bg-hancock-300 text-merry-800",chopper:"bg-chopper-300 text-merry-800",bentham:"bg-bentham-300 text-merry-800",ivankov:"bg-ivankov-300 text-merry-800",brook:"bg-brook-300 text-merry-800",luffy:"bg-luffy-300 text-jackson-800",frankie:"bg-frankie-300 text-jackson-800",jinbe:"bg-jinbe-300 text-jackson-800",robin:"bg-robin-300 text-jackson-800",law:"bg-law-300 text-jackson-800"}},defaultVariants:{variant:"info"}}),c=({variant:e,className:n,children:o,...s})=>jsx("div",{className:a$1(a({variant:e}),"flex h-full max-h-[3.75rem] w-[8.5rem] items-center justify-center overflow-hidden rounded p-2",n),...s,children:jsx("p",{className:a$1(a({variant:e}),"line-clamp-3 text-center text-xs leading-[130%] tracking-normal"),children:o})});
|
|
6
6
|
|
|
7
7
|
export { c as a };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { a as a$1, b as b$1, c, g, h, d, e as e$1, i, f, j } from './chunk-HGZ3GS6Q.mjs';
|
|
2
|
+
import { a, b as b$2 } from './chunk-S6DPBMYM.mjs';
|
|
3
|
+
import { a as a$2, b } from './chunk-XVWN2O5L.mjs';
|
|
4
|
+
import { e } from './chunk-7WAVGNKP.mjs';
|
|
5
|
+
import { useMemo } from 'react';
|
|
6
|
+
import { useReactTable, getCoreRowModel, getPaginationRowModel, flexRender } from '@tanstack/react-table';
|
|
7
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
function V({columns:g$1,data:d$1,rowsCount:n,pagination:l,onPaginationChange:c$1,noResults:r,rowsPerPageText:k="Rows per page",ofText:z="of",onNextPageClick:$,onPreviousPageClick:q,disableNextPage:p,disablePreviousPage:T,className:M,...B}){let o=useReactTable({data:d$1,columns:g$1,rowCount:n,state:{pagination:l},onPaginationChange:c$1,manualPagination:!0,getCoreRowModel:getCoreRowModel(),getPaginationRowModel:getPaginationRowModel()}),A=useMemo(()=>T||!!n&&!o.getCanPreviousPage(),[T,n,l?.pageIndex]),L=useMemo(()=>p||!!n&&!o.getCanNextPage(),[p,n,l?.pageIndex]);return jsx(a,{children:jsxs(a$1,{className:M,...B,children:[jsxs(a$2,{children:[jsx(b,{orientation:"horizontal"}),jsxs(b$1,{children:[jsx("colgroup",{children:o.getHeaderGroups()[0].headers.map(t=>{let a=t.column.getSize()/o.getHeaderGroups()[0].headers.reduce((i,G)=>i+G.getSize(),0)*100;return jsx("col",{span:1,style:{width:`${a}%`}},t.id)})}),jsx(c,{children:o.getHeaderGroups().map(t=>jsx(g,{children:t.headers.map(a=>{let i=a.column.columnDef;return jsx(h,{children:jsxs("div",{className:"flex items-center",children:[a.isPlaceholder?null:flexRender(i.header,a.getContext()),i.headerInfoTooltip&&jsx(b$2,{size:i.headerInfoTooltipSize,content:i.headerInfoTooltip,className:"font-normal normal-case",children:jsx(e,{className:"ml-1 w-[0.875rem]"})})]})},a.id)})},t.id))}),jsx(d,{children:o.getRowModel().rows?.length?o.getRowModel().rows.map(t=>jsx(e$1,{"data-state":t.getIsSelected()&&"selected",children:t.getVisibleCells().map(a=>jsx(i,{children:flexRender(a.column.columnDef.cell,a.getContext())},a.id))},t.id)):jsx(f,{colSpan:g$1.length,icon:r.icon,Icon:r.Icon,title:r.title,description:r.description})})]})]}),l&&c$1&&d$1.length>0&&jsx(j,{rowsCount:n,pagination:l,onRowsPerPageChange:t=>{o.setPageSize(t),o.setPageIndex(0);},onPreviousPageClick:o.previousPage,onNextPageClick:o.nextPage,disableNextPage:L,disablePreviousPage:A,ofText:z,rowsPerPageText:k})]})})}var te=V;
|
|
10
|
+
|
|
11
|
+
export { V as a, te as b };
|
package/dist/data-table.d.mts
CHANGED
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import React__default, { HTMLAttributes } from 'react';
|
|
3
3
|
import { ColumnDef as ColumnDef$1, PaginationState as PaginationState$1, OnChangeFn } from '@tanstack/react-table';
|
|
4
4
|
import { TooltipSize } from './tooltip.mjs';
|
|
5
|
+
import { LucideProps } from 'lucide-react';
|
|
5
6
|
import '@radix-ui/react-tooltip';
|
|
6
7
|
|
|
7
8
|
type ColumnDef<TData> = ColumnDef$1<TData> & {
|
|
@@ -20,6 +21,7 @@ interface DataTableProps<TData> extends HTMLAttributes<HTMLDivElement> {
|
|
|
20
21
|
onPaginationChange?: OnChangeFn<PaginationState>;
|
|
21
22
|
noResults: {
|
|
22
23
|
icon?: React__default.ReactNode;
|
|
24
|
+
Icon?: React__default.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
|
|
23
25
|
title: string;
|
|
24
26
|
description?: string;
|
|
25
27
|
};
|
package/dist/data-table.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import React__default, { HTMLAttributes } from 'react';
|
|
3
3
|
import { ColumnDef as ColumnDef$1, PaginationState as PaginationState$1, OnChangeFn } from '@tanstack/react-table';
|
|
4
4
|
import { TooltipSize } from './tooltip.js';
|
|
5
|
+
import { LucideProps } from 'lucide-react';
|
|
5
6
|
import '@radix-ui/react-tooltip';
|
|
6
7
|
|
|
7
8
|
type ColumnDef<TData> = ColumnDef$1<TData> & {
|
|
@@ -20,6 +21,7 @@ interface DataTableProps<TData> extends HTMLAttributes<HTMLDivElement> {
|
|
|
20
21
|
onPaginationChange?: OnChangeFn<PaginationState>;
|
|
21
22
|
noResults: {
|
|
22
23
|
icon?: React__default.ReactNode;
|
|
24
|
+
Icon?: React__default.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
|
|
23
25
|
title: string;
|
|
24
26
|
description?: string;
|
|
25
27
|
};
|