dgz-ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -0
- package/dist/dgz-ui.css +1 -0
- package/dist/dgz-ui.es.js +3226 -0
- package/dist/dgz-ui.umd.js +22 -0
- package/package.json +95 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
(function(N,H){typeof exports=="object"&&typeof module<"u"?H(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],H):(N=typeof globalThis<"u"?globalThis:N||self,H(N["dgz-ui"]={},N.React))})(this,function(N,H){"use strict";function Je(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const _=Je(H);var le={exports:{}},oe={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var we;function Xe(){if(we)return oe;we=1;var e=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function r(t,s,a){var c=null;if(a!==void 0&&(c=""+a),s.key!==void 0&&(c=""+s.key),"key"in s){a={};for(var f in s)f!=="key"&&(a[f]=s[f])}else a=s;return s=a.ref,{$$typeof:e,type:t,key:c,ref:s!==void 0?s:null,props:a}}return oe.Fragment=o,oe.jsx=r,oe.jsxs=r,oe}var ne={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var ke;function He(){return ke||(ke=1,process.env.NODE_ENV!=="production"&&function(){function e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===me?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case S:return"Fragment";case G:return"Profiler";case z:return"StrictMode";case Y:return"Suspense";case L:return"SuspenseList";case O:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case A:return"Portal";case U:return(n.displayName||"Context")+".Provider";case ee:return(n._context.displayName||"Context")+".Consumer";case $:var b=n.render;return n=n.displayName,n||(n=b.displayName||b.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case q:return b=n.displayName||null,b!==null?b:e(n.type)||"Memo";case m:b=n._payload,n=n._init;try{return e(n(b))}catch{}}return null}function o(n){return""+n}function r(n){try{o(n);var b=!1}catch{b=!0}if(b){b=console;var y=b.error,h=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return y.call(b,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",h),o(n)}}function t(n){if(n===S)return"<>";if(typeof n=="object"&&n!==null&&n.$$typeof===m)return"<...>";try{var b=e(n);return b?"<"+b+">":"<...>"}catch{return"<...>"}}function s(){var n=re.A;return n===null?null:n.getOwner()}function a(){return Error("react-stack-top-frame")}function c(n){if(J.call(n,"key")){var b=Object.getOwnPropertyDescriptor(n,"key").get;if(b&&b.isReactWarning)return!1}return n.key!==void 0}function f(n,b){function y(){F||(F=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",b))}y.isReactWarning=!0,Object.defineProperty(n,"key",{get:y,configurable:!0})}function u(){var n=e(this.type);return P[n]||(P[n]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),n=this.props.ref,n!==void 0?n:null}function g(n,b,y,h,x,C,te,w){return y=C.ref,n={$$typeof:M,type:n,key:b,props:C,_owner:x},(y!==void 0?y:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:u}):Object.defineProperty(n,"ref",{enumerable:!1,value:null}),n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(n,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(n,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:te}),Object.defineProperty(n,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function v(n,b,y,h,x,C,te,w){var E=b.children;if(E!==void 0)if(h)if(fe(E)){for(h=0;h<E.length;h++)k(E[h]);Object.freeze&&Object.freeze(E)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else k(E);if(J.call(b,"key")){E=e(n);var j=Object.keys(b).filter(function(ie){return ie!=="key"});h=0<j.length?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}",ae[E+h]||(j=0<j.length?"{"+j.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
+
let props = %s;
|
|
19
|
+
<%s {...props} />
|
|
20
|
+
React keys must be passed directly to JSX without using spread:
|
|
21
|
+
let props = %s;
|
|
22
|
+
<%s key={someKey} {...props} />`,h,E,j,E),ae[E+h]=!0)}if(E=null,y!==void 0&&(r(y),E=""+y),c(b)&&(r(b.key),E=""+b.key),"key"in b){y={};for(var D in b)D!=="key"&&(y[D]=b[D])}else y=b;return E&&f(y,typeof n=="function"?n.displayName||n.name||"Unknown":n),g(n,E,C,x,s(),y,te,w)}function k(n){typeof n=="object"&&n!==null&&n.$$typeof===M&&n._store&&(n._store.validated=1)}var T=H,M=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),ee=Symbol.for("react.consumer"),U=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),me=Symbol.for("react.client.reference"),re=T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=Object.prototype.hasOwnProperty,fe=Array.isArray,X=console.createTask?console.createTask:function(){return null};T={"react-stack-bottom-frame":function(n){return n()}};var F,P={},I=T["react-stack-bottom-frame"].bind(T,a)(),d=X(t(a)),ae={};ne.Fragment=S,ne.jsx=function(n,b,y,h,x){var C=1e4>re.recentlyCreatedOwnerStacks++;return v(n,b,y,!1,h,x,C?Error("react-stack-top-frame"):I,C?X(t(n)):d)},ne.jsxs=function(n,b,y,h,x){var C=1e4>re.recentlyCreatedOwnerStacks++;return v(n,b,y,!0,h,x,C?Error("react-stack-top-frame"):I,C?X(t(n)):d)}}()),ne}var Re;function Ze(){return Re||(Re=1,process.env.NODE_ENV==="production"?le.exports=Xe():le.exports=He()),le.exports}var ce=Ze();function Ee(e,o){if(typeof e=="function")return e(o);e!=null&&(e.current=o)}function Qe(...e){return o=>{let r=!1;const t=e.map(s=>{const a=Ee(s,o);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let s=0;s<t.length;s++){const a=t[s];typeof a=="function"?a():Ee(e[s],null)}}}}function Ke(e){const o=rr(e),r=_.forwardRef((t,s)=>{const{children:a,...c}=t,f=_.Children.toArray(a),u=f.find(or);if(u){const g=u.props.children,v=f.map(k=>k===u?_.Children.count(g)>1?_.Children.only(null):_.isValidElement(g)?g.props.children:null:k);return ce.jsx(o,{...c,ref:s,children:_.isValidElement(g)?_.cloneElement(g,void 0,v):null})}return ce.jsx(o,{...c,ref:s,children:a})});return r.displayName=`${e}.Slot`,r}var er=Ke("Slot");function rr(e){const o=_.forwardRef((r,t)=>{const{children:s,...a}=r;if(_.isValidElement(s)){const c=sr(s),f=nr(a,s.props);return s.type!==_.Fragment&&(f.ref=t?Qe(t,c):c),_.cloneElement(s,f)}return _.Children.count(s)>1?_.Children.only(null):null});return o.displayName=`${e}.SlotClone`,o}var tr=Symbol("radix.slottable");function or(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===tr}function nr(e,o){const r={...o};for(const t in o){const s=e[t],a=o[t];/^on[A-Z]/.test(t)?s&&a?r[t]=(...f)=>{const u=a(...f);return s(...f),u}:s&&(r[t]=s):t==="style"?r[t]={...s,...a}:t==="className"&&(r[t]=[s,a].filter(Boolean).join(" "))}return{...e,...r}}function sr(e){var t,s;let o=(t=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:t.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?e.ref:(o=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function Se(e){var o,r,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(o=0;o<s;o++)e[o]&&(r=Se(e[o]))&&(t&&(t+=" "),t+=r)}else for(r in e)e[r]&&(t&&(t+=" "),t+=r);return t}function Te(){for(var e,o,r=0,t="",s=arguments.length;r<s;r++)(e=arguments[r])&&(o=Se(e))&&(t&&(t+=" "),t+=o);return t}const Ae=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,_e=Te,Ce=(e,o)=>r=>{var t;if((o==null?void 0:o.variants)==null)return _e(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:s,defaultVariants:a}=o,c=Object.keys(s).map(g=>{const v=r==null?void 0:r[g],k=a==null?void 0:a[g];if(v===null)return null;const T=Ae(v)||Ae(k);return s[g][T]}),f=r&&Object.entries(r).reduce((g,v)=>{let[k,T]=v;return T===void 0||(g[k]=T),g},{}),u=o==null||(t=o.compoundVariants)===null||t===void 0?void 0:t.reduce((g,v)=>{let{class:k,className:T,...M}=v;return Object.entries(M).every(A=>{let[S,z]=A;return Array.isArray(z)?z.includes({...a,...f}[S]):{...a,...f}[S]===z})?[...g,k,T]:g},[]);return _e(e,c,u,r==null?void 0:r.class,r==null?void 0:r.className)},pe="-",ar=e=>{const o=lr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:c=>{const f=c.split(pe);return f[0]===""&&f.length!==1&&f.shift(),ze(f,o)||ir(c)},getConflictingClassGroupIds:(c,f)=>{const u=r[c]||[];return f&&t[c]?[...u,...t[c]]:u}}},ze=(e,o)=>{var c;if(e.length===0)return o.classGroupId;const r=e[0],t=o.nextPart.get(r),s=t?ze(e.slice(1),t):void 0;if(s)return s;if(o.validators.length===0)return;const a=e.join(pe);return(c=o.validators.find(({validator:f})=>f(a)))==null?void 0:c.classGroupId},Pe=/^\[(.+)\]$/,ir=e=>{if(Pe.test(e)){const o=Pe.exec(e)[1],r=o==null?void 0:o.substring(0,o.indexOf(":"));if(r)return"arbitrary.."+r}},lr=e=>{const{theme:o,classGroups:r}=e,t={nextPart:new Map,validators:[]};for(const s in r)ge(r[s],t,s,o);return t},ge=(e,o,r,t)=>{e.forEach(s=>{if(typeof s=="string"){const a=s===""?o:Oe(o,s);a.classGroupId=r;return}if(typeof s=="function"){if(cr(s)){ge(s(t),o,r,t);return}o.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([a,c])=>{ge(c,Oe(o,a),r,t)})})},Oe=(e,o)=>{let r=e;return o.split(pe).forEach(t=>{r.nextPart.has(t)||r.nextPart.set(t,{nextPart:new Map,validators:[]}),r=r.nextPart.get(t)}),r},cr=e=>e.isThemeGetter,dr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let o=0,r=new Map,t=new Map;const s=(a,c)=>{r.set(a,c),o++,o>e&&(o=0,t=r,r=new Map)};return{get(a){let c=r.get(a);if(c!==void 0)return c;if((c=t.get(a))!==void 0)return s(a,c),c},set(a,c){r.has(a)?r.set(a,c):s(a,c)}}},he="!",ve=":",ur=ve.length,mr=e=>{const{prefix:o,experimentalParseClassName:r}=e;let t=s=>{const a=[];let c=0,f=0,u=0,g;for(let A=0;A<s.length;A++){let S=s[A];if(c===0&&f===0){if(S===ve){a.push(s.slice(u,A)),u=A+ur;continue}if(S==="/"){g=A;continue}}S==="["?c++:S==="]"?c--:S==="("?f++:S===")"&&f--}const v=a.length===0?s:s.substring(u),k=fr(v),T=k!==v,M=g&&g>u?g-u:void 0;return{modifiers:a,hasImportantModifier:T,baseClassName:k,maybePostfixModifierPosition:M}};if(o){const s=o+ve,a=t;t=c=>c.startsWith(s)?a(c.substring(s.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:c,maybePostfixModifierPosition:void 0}}if(r){const s=t;t=a=>r({className:a,parseClassName:s})}return t},fr=e=>e.endsWith(he)?e.substring(0,e.length-1):e.startsWith(he)?e.substring(1):e,br=e=>{const o=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,!0]));return t=>{if(t.length<=1)return t;const s=[];let a=[];return t.forEach(c=>{c[0]==="["||o[c]?(s.push(...a.sort(),c),a=[]):a.push(c)}),s.push(...a.sort()),s}},pr=e=>({cache:dr(e.cacheSize),parseClassName:mr(e),sortModifiers:br(e),...ar(e)}),gr=/\s+/,hr=(e,o)=>{const{parseClassName:r,getClassGroupId:t,getConflictingClassGroupIds:s,sortModifiers:a}=o,c=[],f=e.trim().split(gr);let u="";for(let g=f.length-1;g>=0;g-=1){const v=f[g],{isExternal:k,modifiers:T,hasImportantModifier:M,baseClassName:A,maybePostfixModifierPosition:S}=r(v);if(k){u=v+(u.length>0?" "+u:u);continue}let z=!!S,G=t(z?A.substring(0,S):A);if(!G){if(!z){u=v+(u.length>0?" "+u:u);continue}if(G=t(A),!G){u=v+(u.length>0?" "+u:u);continue}z=!1}const ee=a(T).join(":"),U=M?ee+he:ee,$=U+G;if(c.includes($))continue;c.push($);const Y=s(G,z);for(let L=0;L<Y.length;++L){const q=Y[L];c.push(U+q)}u=v+(u.length>0?" "+u:u)}return u};function vr(){let e=0,o,r,t="";for(;e<arguments.length;)(o=arguments[e++])&&(r=je(o))&&(t&&(t+=" "),t+=r);return t}const je=e=>{if(typeof e=="string")return e;let o,r="";for(let t=0;t<e.length;t++)e[t]&&(o=je(e[t]))&&(r&&(r+=" "),r+=o);return r};function yr(e,...o){let r,t,s,a=c;function c(u){const g=o.reduce((v,k)=>k(v),e());return r=pr(g),t=r.cache.get,s=r.cache.set,a=f,f(u)}function f(u){const g=t(u);if(g)return g;const v=hr(u,r);return s(u,v),v}return function(){return a(vr.apply(null,arguments))}}const R=e=>{const o=r=>r[e]||[];return o.isThemeGetter=!0,o},Ne=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Me=/^\((?:(\w[\w-]*):)?(.+)\)$/i,xr=/^\d+\/\d+$/,wr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Er=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Sr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Z=e=>xr.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),W=e=>!!e&&Number.isInteger(Number(e)),ye=e=>e.endsWith("%")&&p(e.slice(0,-1)),V=e=>wr.test(e),Tr=()=>!0,Ar=e=>kr.test(e)&&!Rr.test(e),Ie=()=>!1,_r=e=>Er.test(e),Cr=e=>Sr.test(e),zr=e=>!i(e)&&!l(e),Pr=e=>Q(e,We,Ie),i=e=>Ne.test(e),B=e=>Q(e,$e,Ar),xe=e=>Q(e,Ir,p),Ve=e=>Q(e,Le,Ie),Or=e=>Q(e,Fe,Cr),de=e=>Q(e,Ye,_r),l=e=>Me.test(e),se=e=>K(e,$e),jr=e=>K(e,Vr),Ge=e=>K(e,Le),Nr=e=>K(e,We),Mr=e=>K(e,Fe),ue=e=>K(e,Ye,!0),Q=(e,o,r)=>{const t=Ne.exec(e);return t?t[1]?o(t[1]):r(t[2]):!1},K=(e,o,r=!1)=>{const t=Me.exec(e);return t?t[1]?o(t[1]):r:!1},Le=e=>e==="position"||e==="percentage",Fe=e=>e==="image"||e==="url",We=e=>e==="length"||e==="size"||e==="bg-size",$e=e=>e==="length",Ir=e=>e==="number",Vr=e=>e==="family-name",Ye=e=>e==="shadow",Gr=yr(()=>{const e=R("color"),o=R("font"),r=R("text"),t=R("font-weight"),s=R("tracking"),a=R("leading"),c=R("breakpoint"),f=R("container"),u=R("spacing"),g=R("radius"),v=R("shadow"),k=R("inset-shadow"),T=R("text-shadow"),M=R("drop-shadow"),A=R("blur"),S=R("perspective"),z=R("aspect"),G=R("ease"),ee=R("animate"),U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],Y=()=>[...$(),l,i],L=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto","contain","none"],m=()=>[l,i,u],O=()=>[Z,"full","auto",...m()],me=()=>[W,"none","subgrid",l,i],re=()=>["auto",{span:["full",W,l,i]},W,l,i],J=()=>[W,"auto",l,i],fe=()=>["auto","min","max","fr",l,i],X=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],F=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...m()],I=()=>[Z,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],d=()=>[e,l,i],ae=()=>[...$(),Ge,Ve,{position:[l,i]}],n=()=>["no-repeat",{repeat:["","x","y","space","round"]}],b=()=>["auto","cover","contain",Nr,Pr,{size:[l,i]}],y=()=>[ye,se,B],h=()=>["","none","full",g,l,i],x=()=>["",p,se,B],C=()=>["solid","dashed","dotted","double"],te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],w=()=>[p,ye,Ge,Ve],E=()=>["","none",A,l,i],j=()=>["none",p,l,i],D=()=>["none",p,l,i],ie=()=>[p,l,i],be=()=>[Z,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[V],breakpoint:[V],color:[Tr],container:[V],"drop-shadow":[V],ease:["in","out","in-out"],font:[zr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[V],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[V],shadow:[V],spacing:["px",p],text:[V],"text-shadow":[V],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Z,i,l,z]}],container:["container"],columns:[{columns:[p,i,l,f]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:Y()}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:O()}],"inset-x":[{"inset-x":O()}],"inset-y":[{"inset-y":O()}],start:[{start:O()}],end:[{end:O()}],top:[{top:O()}],right:[{right:O()}],bottom:[{bottom:O()}],left:[{left:O()}],visibility:["visible","invisible","collapse"],z:[{z:[W,"auto",l,i]}],basis:[{basis:[Z,"full","auto",f,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,Z,"auto","initial","none",i]}],grow:[{grow:["",p,l,i]}],shrink:[{shrink:["",p,l,i]}],order:[{order:[W,"first","last","none",l,i]}],"grid-cols":[{"grid-cols":me()}],"col-start-end":[{col:re()}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":me()}],"row-start-end":[{row:re()}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":fe()}],"auto-rows":[{"auto-rows":fe()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...X(),"normal"]}],"justify-items":[{"justify-items":[...F(),"normal"]}],"justify-self":[{"justify-self":["auto",...F()]}],"align-content":[{content:["normal",...X()]}],"align-items":[{items:[...F(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...F(),{baseline:["","last"]}]}],"place-content":[{"place-content":X()}],"place-items":[{"place-items":[...F(),"baseline"]}],"place-self":[{"place-self":["auto",...F()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m: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":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],w:[{w:[f,"screen",...I()]}],"min-w":[{"min-w":[f,"screen","none",...I()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[c]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",r,se,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,l,xe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ye,i]}],"font-family":[{font:[jr,i,o]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,l,i]}],"line-clamp":[{"line-clamp":[p,"none",l,xe]}],leading:[{leading:[a,...m()]}],"list-image":[{"list-image":["none",l,i]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",l,i]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:d()}],"text-color":[{text:d()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...C(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",l,B]}],"text-decoration-color":[{decoration:d()}],"underline-offset":[{"underline-offset":[p,"auto",l,i]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l,i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l,i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ae()}],"bg-repeat":[{bg:n()}],"bg-size":[{bg:b()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},W,l,i],radial:["",l,i],conic:[W,l,i]},Mr,Or]}],"bg-color":[{bg:d()}],"gradient-from-pos":[{from:y()}],"gradient-via-pos":[{via:y()}],"gradient-to-pos":[{to:y()}],"gradient-from":[{from:d()}],"gradient-via":[{via:d()}],"gradient-to":[{to:d()}],rounded:[{rounded:h()}],"rounded-s":[{"rounded-s":h()}],"rounded-e":[{"rounded-e":h()}],"rounded-t":[{"rounded-t":h()}],"rounded-r":[{"rounded-r":h()}],"rounded-b":[{"rounded-b":h()}],"rounded-l":[{"rounded-l":h()}],"rounded-ss":[{"rounded-ss":h()}],"rounded-se":[{"rounded-se":h()}],"rounded-ee":[{"rounded-ee":h()}],"rounded-es":[{"rounded-es":h()}],"rounded-tl":[{"rounded-tl":h()}],"rounded-tr":[{"rounded-tr":h()}],"rounded-br":[{"rounded-br":h()}],"rounded-bl":[{"rounded-bl":h()}],"border-w":[{border:x()}],"border-w-x":[{"border-x":x()}],"border-w-y":[{"border-y":x()}],"border-w-s":[{"border-s":x()}],"border-w-e":[{"border-e":x()}],"border-w-t":[{"border-t":x()}],"border-w-r":[{"border-r":x()}],"border-w-b":[{"border-b":x()}],"border-w-l":[{"border-l":x()}],"divide-x":[{"divide-x":x()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":x()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...C(),"hidden","none"]}],"divide-style":[{divide:[...C(),"hidden","none"]}],"border-color":[{border:d()}],"border-color-x":[{"border-x":d()}],"border-color-y":[{"border-y":d()}],"border-color-s":[{"border-s":d()}],"border-color-e":[{"border-e":d()}],"border-color-t":[{"border-t":d()}],"border-color-r":[{"border-r":d()}],"border-color-b":[{"border-b":d()}],"border-color-l":[{"border-l":d()}],"divide-color":[{divide:d()}],"outline-style":[{outline:[...C(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,l,i]}],"outline-w":[{outline:["",p,se,B]}],"outline-color":[{outline:d()}],shadow:[{shadow:["","none",v,ue,de]}],"shadow-color":[{shadow:d()}],"inset-shadow":[{"inset-shadow":["none",k,ue,de]}],"inset-shadow-color":[{"inset-shadow":d()}],"ring-w":[{ring:x()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:d()}],"ring-offset-w":[{"ring-offset":[p,B]}],"ring-offset-color":[{"ring-offset":d()}],"inset-ring-w":[{"inset-ring":x()}],"inset-ring-color":[{"inset-ring":d()}],"text-shadow":[{"text-shadow":["none",T,ue,de]}],"text-shadow-color":[{"text-shadow":d()}],opacity:[{opacity:[p,l,i]}],"mix-blend":[{"mix-blend":[...te(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":te()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":w()}],"mask-image-linear-to-pos":[{"mask-linear-to":w()}],"mask-image-linear-from-color":[{"mask-linear-from":d()}],"mask-image-linear-to-color":[{"mask-linear-to":d()}],"mask-image-t-from-pos":[{"mask-t-from":w()}],"mask-image-t-to-pos":[{"mask-t-to":w()}],"mask-image-t-from-color":[{"mask-t-from":d()}],"mask-image-t-to-color":[{"mask-t-to":d()}],"mask-image-r-from-pos":[{"mask-r-from":w()}],"mask-image-r-to-pos":[{"mask-r-to":w()}],"mask-image-r-from-color":[{"mask-r-from":d()}],"mask-image-r-to-color":[{"mask-r-to":d()}],"mask-image-b-from-pos":[{"mask-b-from":w()}],"mask-image-b-to-pos":[{"mask-b-to":w()}],"mask-image-b-from-color":[{"mask-b-from":d()}],"mask-image-b-to-color":[{"mask-b-to":d()}],"mask-image-l-from-pos":[{"mask-l-from":w()}],"mask-image-l-to-pos":[{"mask-l-to":w()}],"mask-image-l-from-color":[{"mask-l-from":d()}],"mask-image-l-to-color":[{"mask-l-to":d()}],"mask-image-x-from-pos":[{"mask-x-from":w()}],"mask-image-x-to-pos":[{"mask-x-to":w()}],"mask-image-x-from-color":[{"mask-x-from":d()}],"mask-image-x-to-color":[{"mask-x-to":d()}],"mask-image-y-from-pos":[{"mask-y-from":w()}],"mask-image-y-to-pos":[{"mask-y-to":w()}],"mask-image-y-from-color":[{"mask-y-from":d()}],"mask-image-y-to-color":[{"mask-y-to":d()}],"mask-image-radial":[{"mask-radial":[l,i]}],"mask-image-radial-from-pos":[{"mask-radial-from":w()}],"mask-image-radial-to-pos":[{"mask-radial-to":w()}],"mask-image-radial-from-color":[{"mask-radial-from":d()}],"mask-image-radial-to-color":[{"mask-radial-to":d()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":$()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":w()}],"mask-image-conic-to-pos":[{"mask-conic-to":w()}],"mask-image-conic-from-color":[{"mask-conic-from":d()}],"mask-image-conic-to-color":[{"mask-conic-to":d()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ae()}],"mask-repeat":[{mask:n()}],"mask-size":[{mask:b()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",l,i]}],filter:[{filter:["","none",l,i]}],blur:[{blur:E()}],brightness:[{brightness:[p,l,i]}],contrast:[{contrast:[p,l,i]}],"drop-shadow":[{"drop-shadow":["","none",M,ue,de]}],"drop-shadow-color":[{"drop-shadow":d()}],grayscale:[{grayscale:["",p,l,i]}],"hue-rotate":[{"hue-rotate":[p,l,i]}],invert:[{invert:["",p,l,i]}],saturate:[{saturate:[p,l,i]}],sepia:[{sepia:["",p,l,i]}],"backdrop-filter":[{"backdrop-filter":["","none",l,i]}],"backdrop-blur":[{"backdrop-blur":E()}],"backdrop-brightness":[{"backdrop-brightness":[p,l,i]}],"backdrop-contrast":[{"backdrop-contrast":[p,l,i]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,l,i]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,l,i]}],"backdrop-invert":[{"backdrop-invert":["",p,l,i]}],"backdrop-opacity":[{"backdrop-opacity":[p,l,i]}],"backdrop-saturate":[{"backdrop-saturate":[p,l,i]}],"backdrop-sepia":[{"backdrop-sepia":["",p,l,i]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",l,i]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",l,i]}],ease:[{ease:["linear","initial",G,l,i]}],delay:[{delay:[p,l,i]}],animate:[{animate:["none",ee,l,i]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,l,i]}],"perspective-origin":[{"perspective-origin":Y()}],rotate:[{rotate:j()}],"rotate-x":[{"rotate-x":j()}],"rotate-y":[{"rotate-y":j()}],"rotate-z":[{"rotate-z":j()}],scale:[{scale:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:ie()}],"skew-x":[{"skew-x":ie()}],"skew-y":[{"skew-y":ie()}],transform:[{transform:[l,i,"","none","gpu","cpu"]}],"transform-origin":[{origin:Y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:be()}],"translate-x":[{"translate-x":be()}],"translate-y":[{"translate-y":be()}],"translate-z":[{"translate-z":be()}],"translate-none":["translate-none"],accent:[{accent:d()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:d()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l,i]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l,i]}],fill:[{fill:["none",...d()]}],"stroke-w":[{stroke:[p,se,B,xe]}],stroke:[{stroke:["none",...d()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function De(...e){return Gr(Te(e))}const Be=Ce("inline-flex border border-border-alpha-strong items-center justify-center gap-2 whitespace-nowrap font-medium focus:ring-2 focus:ring-offset-2 focus:ring-offset-bg focus:ring-item-primary-focus transition-colors disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-item-primary hover:bg-item-primary-hover active:bg-item-primary-active !text-white",destructive:"bg-item-destructive hover:bg-item-destructive-hover active:bg-item-destructive-active focus:ring-2 focus:ring-item-destructive-focus !text-white",secondary:"bg-item-secondary hover:bg-item-secondary-hover active:bg-item-secondary-active",tertiary:"bg-item-tertiary hover:bg-item-tertiary-hover active:bg-item-tertiary-active border-0",ghost:"bg-item-ghost hover:bg-item-ghost-hover active:bg-item-ghost-active border-0"},size:{lg:"h-12 px-4 text-body-sm-medium [&>svg]:size-5 rounded-5",default:"h-10 px-3 text-body-sm-medium [&>svg]:size-5 rounded-4",sm:"h-8 px-2.5 text-body-xs-medium [&>svg]:size-4 rounded-3",xs:"h-7 px-2 text-body-xs-medium [&>svg]:size-4 rounded-2",icon:"h-10 w-10 text-body-xs-medium [&>svg]:size-4 rounded-3"}},defaultVariants:{variant:"default",size:"default"}}),Ue=_.forwardRef(({className:e,variant:o,size:r,asChild:t=!1,...s},a)=>{const c=t?er:"button";return ce.jsx(c,{className:De(Be({variant:o,size:r,className:e})),ref:a,...s})});Ue.displayName="Button";const qe=Ce("inline-flex flex-nowrap whitespace-nowrap justify-center items-center border px-2.5 text-body-2xs-medium dark:border [&>svg]:size-3.5 gap-1",{variants:{type:{default:"!text-white before:hidden ",status:"!text-primary !border-border-alpha-subtle !bg-transparent before:hidden ",indicator:'!text-white before:content-[""] before:inline-block before:size-2 before:rounded-xs',icon:"!text-white [&>svg]:!text-white p-0.5 before:hidden "},variant:{default:"bg-neutral-950 dark:bg-neutral-0 before:bg-white",gray:"bg-gray-500 [&>svg]:text-gray-700 before:bg-gray-700",blue:"bg-blue-500 [&>svg]:text-blue-700 before:bg-blue-700",cyan:"bg-cyan-500 [&>svg]:text-cyan-700 before:bg-cyan-700",green:"bg-green-500 [&>svg]:text-green-700 before:bg-green-700",lime:"bg-lime-500 [&>svg]:text-lime-700 before:bg-lime-700",orange:"bg-orange-500 [&>svg]:text-orange-700 before:bg-orange-700",red:"bg-red-500 [&>svg]:text-red-700 before:bg-red-700",purple:"bg-purple-500 [&>svg]:text-purple-700 before:bg-purple-700",indigo:"bg-indigo-500 [&>svg]:text-indigo-700 before:bg-indigo-700","default-outlined":"!bg-item-primary-secondary !text-primary border-border-alpha-subtle [&>svg]:!text-primary before:bg-primary","gray-outlined":"!bg-neutral-alpha-5 !text-secondary [&>svg]:!text-gray-700 before:bg-gray-700","blue-outlined":"!bg-blue-100 !text-blue-700 border-blue-200 [&>svg]:!text-blue-700 before:bg-blue-700","cyan-outlined":"!bg-cyan-100 !text-cyan-700 border-cyan-200 [&>svg]:!text-cyan-700 before:bg-cyan-700","green-outlined":"!bg-green-100 !text-green-700 border-green-200 [&>svg]:!text-green-700 before:bg-green-700","lime-outlined":"!bg-lime-100 !text-lime-700 border-lime-200 [&>svg]:!text-lime-700 before:bg-lime-700","orange-outlined":"!bg-orange-100 !text-orange-700 border-orange-200 [&>svg]:!text-orange-700 before:bg-orange-700","red-outlined":"!bg-red-100 !text-red-700 border-red-200 [&>svg]:!text-red-700 before:bg-red-700","purple-outlined":"!bg-purple-100 !text-purple-700 border-purple-200 [&>svg]:!text-purple-700 before:bg-purple-700","indigo-outlined":"!bg-indigo-100 !text-indigo-700 border-indigo-200 [&>svg]:!text-indigo-700 before:bg-indigo-700"},size:{sm:"h-5 min-w-5",lg:"h-6 min-w-6"},rounded:{default:"rounded-md",full:"rounded-full"}},defaultVariants:{variant:"default",rounded:"default",size:"sm",type:"default"}});function Lr({className:e,variant:o,rounded:r,type:t,size:s,...a}){return ce.jsx("div",{className:De(qe({type:t,variant:o,rounded:r,size:s}),e),...a})}N.Badge=Lr,N.Button=Ue,N.badgeVariants=qe,N.buttonVariants=Be,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dgz-ui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"main": "./dist/dgz-ui.umd.js",
|
|
9
|
+
"module": "./dist/dgz-ui.es.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/dgz-ui.es.js",
|
|
15
|
+
"require": "./dist/dgz-ui.umd.js"
|
|
16
|
+
},
|
|
17
|
+
"./dist/style.css": "./dist/dgz-ui.css"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"dev": "vite",
|
|
21
|
+
"build": "tsc -b && vite build",
|
|
22
|
+
"lint": "eslint .",
|
|
23
|
+
"test": "vitest run",
|
|
24
|
+
"preview": "vite preview",
|
|
25
|
+
"build-lib": "vite build",
|
|
26
|
+
"prepublishOnly": "npm run build-lib"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@hookform/resolvers": "^5.0.1",
|
|
30
|
+
"@radix-ui/react-accordion": "^1.2.11",
|
|
31
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
|
32
|
+
"@radix-ui/react-checkbox": "^1.3.2",
|
|
33
|
+
"@radix-ui/react-dialog": "^1.1.14",
|
|
34
|
+
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
35
|
+
"@radix-ui/react-label": "^2.1.7",
|
|
36
|
+
"@radix-ui/react-popover": "^1.1.14",
|
|
37
|
+
"@radix-ui/react-scroll-area": "^1.2.9",
|
|
38
|
+
"@radix-ui/react-separator": "^1.1.7",
|
|
39
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
40
|
+
"@radix-ui/react-switch": "^1.2.5",
|
|
41
|
+
"@radix-ui/react-tabs": "^1.1.12",
|
|
42
|
+
"@radix-ui/react-tooltip": "^1.2.7",
|
|
43
|
+
"@remixicon/react": "^4.6.0",
|
|
44
|
+
"@tailwindcss/vite": "^4.1.7",
|
|
45
|
+
"class-variance-authority": "^0.7.1",
|
|
46
|
+
"clsx": "^2.1.1",
|
|
47
|
+
"cmdk": "^1.1.1",
|
|
48
|
+
"date-fns": "^4.1.0",
|
|
49
|
+
"filepond-plugin-file-validate-size": "^2.2.8",
|
|
50
|
+
"filepond-plugin-file-validate-type": "^1.2.9",
|
|
51
|
+
"filepond-plugin-image-preview": "^4.6.12",
|
|
52
|
+
"filepond-plugin-image-resize": "^2.0.10",
|
|
53
|
+
"lodash": "^4.17.21",
|
|
54
|
+
"lucide-react": "^0.511.0",
|
|
55
|
+
"next-themes": "^0.4.6",
|
|
56
|
+
"react-day-picker": "^9.7.0",
|
|
57
|
+
"react-filepond": "^7.1.3",
|
|
58
|
+
"react-hook-form": "^7.56.4",
|
|
59
|
+
"react-select": "^5.10.1",
|
|
60
|
+
"sonner": "^2.0.3",
|
|
61
|
+
"styled-components": "^6.1.18",
|
|
62
|
+
"tailwind-merge": "^3.3.0",
|
|
63
|
+
"tailwindcss": "^4.1.7",
|
|
64
|
+
"tailwindcss-animate": "^1.0.7",
|
|
65
|
+
"zod": "^3.25.30"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@eslint/js": "^9.25.0",
|
|
69
|
+
"@rollup/plugin-typescript": "^12.1.2",
|
|
70
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
71
|
+
"@testing-library/react": "^16.3.0",
|
|
72
|
+
"@types/lodash": "^4.17.17",
|
|
73
|
+
"@types/node": "^22.15.21",
|
|
74
|
+
"@types/react": "^19.1.6",
|
|
75
|
+
"@types/react-dom": "^19.1.5",
|
|
76
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
77
|
+
"eslint": "^9.25.0",
|
|
78
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
79
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
80
|
+
"globals": "^16.0.0",
|
|
81
|
+
"jest": "^29.7.0",
|
|
82
|
+
"jsdom": "^26.1.0",
|
|
83
|
+
"rollup-plugin-dts": "^6.2.1",
|
|
84
|
+
"tslib": "^2.8.1",
|
|
85
|
+
"tw-animate-css": "^1.3.0",
|
|
86
|
+
"typescript": "~5.8.3",
|
|
87
|
+
"typescript-eslint": "^8.30.1",
|
|
88
|
+
"vite": "^6.3.5",
|
|
89
|
+
"vitest": "^3.1.4"
|
|
90
|
+
},
|
|
91
|
+
"peerDependencies": {
|
|
92
|
+
"react": "^19.1.0",
|
|
93
|
+
"react-dom": "^19.1.0"
|
|
94
|
+
}
|
|
95
|
+
}
|