@ghostly-solutions/ui 0.3.1 → 0.3.3

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.
Files changed (83) hide show
  1. package/dist/chunk-rbysacxc.js +12 -0
  2. package/dist/components/accordion/accordion.d.ts +2 -2
  3. package/dist/components/alert/alert.d.ts +1 -1
  4. package/dist/components/alert-dialog/alert-dialog.d.ts +1 -1
  5. package/dist/components/avatar/avatar.d.ts +1 -1
  6. package/dist/components/badge/badge.d.ts +2 -2
  7. package/dist/components/breadcrumb/breadcrumb.d.ts +3 -3
  8. package/dist/components/button/button.d.ts +3 -3
  9. package/dist/components/calendar/calendar.d.ts +8 -8
  10. package/dist/components/checkbox/checkbox.d.ts +1 -1
  11. package/dist/components/code-block/code-block.d.ts +8 -8
  12. package/dist/components/command/command.d.ts +1 -1
  13. package/dist/components/context-menu/context-menu.d.ts +5 -5
  14. package/dist/components/dialog/dialog.d.ts +1 -1
  15. package/dist/components/dropdown-menu/dropdown-menu.d.ts +5 -5
  16. package/dist/components/empty-state/empty-state.d.ts +4 -4
  17. package/dist/components/error-boundary/error-boundary.d.ts +7 -7
  18. package/dist/components/file-upload/file-upload.d.ts +5 -5
  19. package/dist/components/form-field/form-field.d.ts +1 -1
  20. package/dist/components/hover-card/hover-card.d.ts +1 -1
  21. package/dist/components/kbd/kbd.d.ts +1 -1
  22. package/dist/components/label/label.d.ts +1 -1
  23. package/dist/components/loader/index.d.ts +2 -0
  24. package/dist/components/loader/index.d.ts.map +1 -0
  25. package/dist/components/loader/loader.d.ts +5 -0
  26. package/dist/components/loader/loader.d.ts.map +1 -0
  27. package/dist/components/multiselect/multiselect.d.ts +1 -1
  28. package/dist/components/navbar/navbar.d.ts +10 -10
  29. package/dist/components/navigation-menu/navigation-menu.d.ts +2 -2
  30. package/dist/components/otp-input/otp-input.d.ts +6 -6
  31. package/dist/components/pagination/pagination.d.ts +2 -2
  32. package/dist/components/popover/popover.d.ts +1 -1
  33. package/dist/components/progress/progress.d.ts +1 -1
  34. package/dist/components/radio/radio.d.ts +1 -1
  35. package/dist/components/segmented-control/segmented-control.d.ts +3 -3
  36. package/dist/components/sidebar/sidebar.d.ts +12 -12
  37. package/dist/components/skeleton/skeleton.d.ts +3 -3
  38. package/dist/components/slider/slider.d.ts +1 -1
  39. package/dist/components/spotlight/spotlight.d.ts +1 -1
  40. package/dist/components/stat-card/stat-card.d.ts +1 -1
  41. package/dist/components/stepper/stepper.d.ts +4 -4
  42. package/dist/components/switch/switch.d.ts +1 -1
  43. package/dist/components/table/table.d.ts +3 -3
  44. package/dist/components/tabs/tabs.d.ts +2 -2
  45. package/dist/components/textarea/textarea.d.ts +1 -1
  46. package/dist/components/timeline/timeline.d.ts +7 -7
  47. package/dist/components/toast/toast.d.ts +2 -2
  48. package/dist/components/toggle/toggle.d.ts +1 -1
  49. package/dist/components/toolbar/toolbar.d.ts +2 -2
  50. package/dist/components/tooltip/tooltip.d.ts +1 -1
  51. package/dist/components/ui-provider/index.d.ts +2 -0
  52. package/dist/components/ui-provider/index.d.ts.map +1 -0
  53. package/dist/components/ui-provider/ui-provider.d.ts +13 -0
  54. package/dist/components/ui-provider/ui-provider.d.ts.map +1 -0
  55. package/dist/index.d.ts +4 -2
  56. package/dist/index.d.ts.map +1 -1
  57. package/dist/index.js +3 -3
  58. package/dist/lib/density.d.ts +6 -8
  59. package/dist/lib/density.d.ts.map +1 -1
  60. package/dist/lib/index.d.ts +1 -1
  61. package/dist/lib/index.d.ts.map +1 -1
  62. package/dist/lib/theme/constants.d.ts +17 -0
  63. package/dist/lib/theme/constants.d.ts.map +1 -0
  64. package/dist/lib/theme/core.d.ts +94 -0
  65. package/dist/lib/theme/core.d.ts.map +1 -0
  66. package/dist/lib/theme/index.d.ts +5 -0
  67. package/dist/lib/theme/index.d.ts.map +1 -0
  68. package/dist/lib/theme/provider.d.ts +43 -0
  69. package/dist/lib/theme/provider.d.ts.map +1 -0
  70. package/dist/lib/theme/system.d.ts +82 -0
  71. package/dist/lib/theme/system.d.ts.map +1 -0
  72. package/dist/server.d.ts +1 -2
  73. package/dist/server.d.ts.map +1 -1
  74. package/dist/server.js +1 -1
  75. package/dist/styles/index.css +1 -1
  76. package/package.json +1 -1
  77. package/dist/chunk-rd0k3j0c.js +0 -2
  78. package/dist/lib/theme-constants.d.ts +0 -13
  79. package/dist/lib/theme-constants.d.ts.map +0 -1
  80. package/dist/lib/theme-script.d.ts +0 -12
  81. package/dist/lib/theme-script.d.ts.map +0 -1
  82. package/dist/lib/theme.d.ts +0 -26
  83. package/dist/lib/theme.d.ts.map +0 -1
@@ -0,0 +1,12 @@
1
+ import{clsx as ce}from"clsx";import{twMerge as ze}from"tailwind-merge";function KT(...e){return ze(ce(e))}import*as x from"react";function ve(...e){return(T)=>{for(let m of e)if(typeof m==="function")m(T);else if(m!=null)m.current=T}}function bT(...e){return x.useCallback(ve(...e),e)}function kT(e,T){let m=x.createContext(T);m.displayName=e;function i(){let s=x.useContext(m);if(s===void 0)throw Error(`use${e} must be used within a ${e}Provider`);return s}return[m.Provider,i,m]}function CT(e){let T=x.createContext(void 0);T.displayName=e;function m(){return x.useContext(T)}return[T.Provider,m,T]}var M=null;function $(){if(M)return M;if(typeof navigator>"u")return M={os:"linux",isMac:!1,isWindows:!1,isLinux:!0,isMobile:!1},M;let e=navigator.userAgentData?.platform??navigator.platform??"",T=navigator.userAgent??"",m=/mac/i.test(e),i=/win/i.test(e),s=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(T)||"maxTouchPoints"in navigator&&navigator.maxTouchPoints>1&&m,n=/linux/i.test(e)&&!s;return M={os:m?"mac":i?"windows":"linux",isMac:m,isWindows:i,isLinux:n,isMobile:s},M}var le={esc:"escape",return:"enter",del:"delete",space:" ",spacebar:" ",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright",plus:"+"},we={mod:"⌘",ctrl:"⌃",control:"⌃",alt:"⌥",option:"⌥",shift:"⇧",meta:"⌘",cmd:"⌘",command:"⌘",enter:"⏎",return:"⏎",backspace:"⌫",delete:"⌦",tab:"⇥",escape:"Esc",esc:"Esc",space:"␣",up:"↑",down:"↓",left:"←",right:"→",arrowup:"↑",arrowdown:"↓",arrowleft:"←",arrowright:"→"},_e={mod:"Ctrl",cmd:"Ctrl",command:"Ctrl",meta:"Super",ctrl:"Ctrl",control:"Ctrl",alt:"Alt",option:"Alt",shift:"Shift",enter:"Enter",return:"Enter",backspace:"Backspace",delete:"Del",tab:"Tab",escape:"Esc",esc:"Esc",space:"Space",up:"↑",down:"↓",left:"←",right:"→",arrowup:"↑",arrowdown:"↓",arrowleft:"←",arrowright:"→"};function $T(e){let T=e.split("+").map((i)=>i.trim().toLowerCase()),m={key:"",mod:!1,ctrl:!1,alt:!1,shift:!1,meta:!1};for(let i of T)if(i==="mod")m.mod=!0;else if(i==="ctrl"||i==="control")m.ctrl=!0;else if(i==="alt"||i==="option")m.alt=!0;else if(i==="shift")m.shift=!0;else if(i==="meta"||i==="cmd"||i==="command")m.meta=!0;else m.key=le[i]??i;return m}function XT(e,T){let{isMac:m}=$(),i=e.key.toLowerCase(),s=T.key.toLowerCase();if(s&&i!==s&&e.code.toLowerCase()!==`key${s}`)return!1;let n=T.meta||T.mod&&m,h=T.ctrl||T.mod&&!m;if(e.metaKey!==n)return!1;if(e.ctrlKey!==h)return!1;if(e.altKey!==T.alt)return!1;if(e.shiftKey!==T.shift)return!1;return!0}function VT(e,T){let m=T??$().isMac,i=m?we:_e,s=e.split("+").map((n)=>{let h=n.trim().toLowerCase();return i[h]??n.trim().toUpperCase()});return m?s.join(""):s.join("+")}function jT(e,T){let i=T??$().isMac?we:_e;return e.split("+").map((s)=>{let n=s.trim().toLowerCase();return i[n]??s.trim().toUpperCase()})}var y={light:"light",dark:"dark",system:"system"},L="data-gs-theme",K="data-gs-color-scheme",z="dark",oe=1,Se="gs",v="gs-theme-state",ae="gs-density",l="gs-theme-state";var eT="ghostly-solutions",TT=y.system,mT="both",iT="/",sT="lax",nT=31536000;function Me(e){return typeof e==="object"&&e!==null}function X(e){return e===y.light||e===y.dark||e===y.system}function Ke(e){return e===y.light||e===y.dark}function f(e){return typeof e==="string"&&e.trim().length>0}function Le(e,T=TT){if(X(e))return e;return T}function hT(e){if(!Array.isArray(e))return[];let T=e.filter(f);if(T.length===0)return[];return[...new Set(T)]}function rT(e,T){let m=f(e)?e:eT;if(T.length===0)return m;if(T.includes(m))return m;return T[0]??m}function be(e,T,m){if(!f(e))return T;if(m.length===0)return e;if(m.includes(e))return e;return T}function yT(e){if(e===!1)return!1;let T=e?.mode==="localStorage"||e?.mode==="cookie"||e?.mode==="both"?e.mode:mT,m=f(e?.key)?e.key:v,i=f(e?.cookie?.name)?e.cookie.name:l,s=f(e?.cookie?.path)?e.cookie.path:iT,n=typeof e?.cookie?.maxAge==="number"&&Number.isFinite(e.cookie.maxAge)?Math.max(0,Math.floor(e.cookie.maxAge)):nT,h=e?.cookie?.sameSite==="strict"||e?.cookie?.sameSite==="none"||e?.cookie?.sameSite==="lax"?e.cookie.sameSite:sT,N=e?.cookie?.secure===!0;return{mode:T,key:m,cookie:{name:i,path:s,maxAge:n,sameSite:h,secure:N}}}function d(e={}){let T=hT(e.themes);return{defaultTheme:rT(e.defaultTheme,T),defaultColorScheme:Le(e.defaultColorScheme),themes:T,attribute:f(e.attribute)?e.attribute:L,colorSchemeAttribute:e.colorSchemeAttribute===!1?!1:f(e.colorSchemeAttribute)?e.colorSchemeAttribute:K,darkClassName:f(e.darkClassName)?e.darkClassName:z,storage:yT(e.storage)}}function t(e,T={}){let m=d(T);return{theme:be(e?.theme,m.defaultTheme,m.themes),colorScheme:Le(e?.colorScheme,m.defaultColorScheme)}}function o(e,T={}){let m=t(e,T);return JSON.stringify({theme:m.theme,colorScheme:m.colorScheme})}function S(e){if(!f(e))return null;try{let T=JSON.parse(e);if(!Me(T))return null;let m=f(T.theme)?T.theme:f(T.t)?T.t:null,i=X(T.colorScheme)?T.colorScheme:X(T.c)?T.c:null;if(!(m&&i))return null;return{theme:m,colorScheme:i}}catch{return null}}function fT(e,T){if(!(f(e)&&f(T)))return null;let m=e.split(";");for(let i of m){let s=i.trim();if(!s)continue;let n=s.indexOf("=");if(n===-1)continue;if(s.slice(0,n).trim()!==T)continue;let N=s.slice(n+1).trim();return N.length>0?N:null}return null}function ke(e){return Boolean(e&&(e.mode==="localStorage"||e.mode==="both"))}function b(e){return Boolean(e&&(e.mode==="cookie"||e.mode==="both"))}function a(e,T={}){if(!f(e))return null;let m=d(T);if(!b(m.storage))return null;let i=fT(e,m.storage.cookie.name);if(!f(i))return null;try{let s=decodeURIComponent(i),n=S(s);if(!n)return null;return t(n,m)}catch{return null}}function RT(e){if(e==="strict")return"Strict";if(e==="none")return"None";return"Lax"}function Ce(e,T={}){let m=d(T);if(!b(m.storage))return null;let i=t(e,m),s=encodeURIComponent(o(i,m)),n=m.storage.cookie,h=`${n.name}=${s}; Path=${n.path}; Max-Age=${n.maxAge}; SameSite=${RT(n.sameSite)}`;if(n.secure)h+="; Secure";return h}function ee(e={}){if(typeof window>"u")return null;let T=d(e);if(ke(T.storage))try{let m=window.localStorage.getItem(T.storage.key),i=S(m);if(i)return t(i,T)}catch{}if(b(T.storage))return a(window.document.cookie,T);return null}function Te(e,T={}){if(typeof window>"u")return;let m=d(T),i=t(e,m),s=o(i,m);if(ke(m.storage))try{window.localStorage.setItem(m.storage.key,s)}catch{}if(b(m.storage)){let n=Ce(i,m);if(n)window.document.cookie=n}}function k(e,T){if(e===y.system)return T;return e}function V(){if(typeof window>"u"||typeof window.matchMedia!=="function")return y.light;return window.matchMedia("(prefers-color-scheme: dark)").matches?y.dark:y.light}function tT(e={}){let T=d(e),m=f(e.state?.theme),i=X(e.state?.colorScheme),s=t(e.state,T);if(f(e.cookieHeader)&&b(T.storage)){let h=a(e.cookieHeader,T);if(h)s=t({theme:m?e.state?.theme:h.theme,colorScheme:i?e.state?.colorScheme:h.colorScheme},T)}let n=Ke(e.systemColorScheme)?e.systemColorScheme:y.light;return{...s,resolvedColorScheme:k(s.colorScheme,n)}}function pT(e){return Me(e)&&Ke(e.resolvedColorScheme)}function He(e,T={},m=y.light){let i=d(T),s=t(e,i),n=pT(e)?{...s,resolvedColorScheme:e.resolvedColorScheme}:{...s,resolvedColorScheme:k(s.colorScheme,m)},h={[i.attribute]:n.theme};if(i.colorSchemeAttribute)h[i.colorSchemeAttribute]=n.colorScheme;return{attributes:h,className:n.resolvedColorScheme===y.dark?i.darkClassName:"",style:{colorScheme:n.resolvedColorScheme},state:n}}function me(e,T,m={}){let i=d(m),s=He(T,i,V());if(e.setAttribute(i.attribute,s.state.theme),i.attribute!==L)e.removeAttribute(L);if(i.colorSchemeAttribute){if(e.setAttribute(i.colorSchemeAttribute,s.state.colorScheme),i.colorSchemeAttribute!==K)e.removeAttribute(K)}else e.removeAttribute(K);if(s.state.resolvedColorScheme===y.dark)e.classList.add(i.darkClassName);else e.classList.remove(i.darkClassName);return e.style.colorScheme=s.state.resolvedColorScheme,s.state}function gT(e){return e.replace(/\\/g,"\\\\").replace(/"/g,"\\\"")}function Ae(e,T){let m=Object.entries(T).filter(([s,n])=>f(s)&&f(n));if(m.length===0)return"";let i=m.map(([s,n])=>` --${s}: ${n};`).join(`
2
+ `);return`${e} {
3
+ ${i}
4
+ }`}function Ge(e){let T=d({attribute:e.attribute,darkClassName:e.darkClassName,defaultTheme:e.theme}),m=be(e.theme,T.defaultTheme,[]),i=gT(m),s=`:root[${T.attribute}="${i}"]`,n=`${s}.${T.darkClassName}`,h=Ae(s,e.light),N=e.dark?Ae(n,e.dark):"";if(h&&N)return`${h}
5
+
6
+ ${N}
7
+ `;if(h)return`${h}
8
+ `;if(N)return`${N}
9
+ `;return""}function ie(e){if(!Array.isArray(e.themes)||e.themes.length===0)return"";return e.themes.map((T)=>Ge({theme:T.theme,light:T.light,dark:T.dark,attribute:e.attribute,darkClassName:e.darkClassName})).filter(f).join(`
10
+ `)}import{createContext as NT,useCallback as _,useContext as dT,useEffect as J,useLayoutEffect as PT,useMemo as j,useRef as C,useState as Ye}from"react";import{jsxDEV as OT}from"react/jsx-dev-runtime";var $e=typeof window<"u"?PT:J,se=NT(null);function U(e,T){return e.theme===T.theme&&e.colorScheme===T.colorScheme}var W=({children:e,value:T,initialState:m,onChange:i,onStateChange:s,transformState:n,readState:h,writeState:N,syncWithSystem:O=!0,defaultTheme:u,defaultColorScheme:fe,themes:Re,attribute:te,colorSchemeAttribute:pe,darkClassName:ge,storage:Ne})=>{let R=j(()=>d({defaultTheme:u,defaultColorScheme:fe,themes:Re,attribute:te,colorSchemeAttribute:pe,darkClassName:ge,storage:Ne}),[u,fe,Re,te,pe,ge,Ne]),[We,Q]=Ye(()=>t(m,R)),[de,Ze]=Ye(V),p=j(()=>T?t(T,R):null,[T,R])??We,F=j(()=>({...p,resolvedColorScheme:k(p.colorScheme,de)}),[p,de]),A=T!==void 0,B=C(p);B.current=p;let Pe=C(!1),Oe=C(!1),c=C(p),H=C(null),qe=_((r)=>{return ee(r)},[]),Qe=_((r,g)=>{Te(r,g)},[]),ue=h??qe,Ee=N??Qe;J(()=>{if(!O||typeof window>"u"||typeof window.matchMedia!=="function")return;let r=window.matchMedia("(prefers-color-scheme: dark)"),g=()=>{Ze(r.matches?y.dark:y.light)};return g(),r.addEventListener("change",g),()=>r.removeEventListener("change",g)},[O]),J(()=>{if(A)return;Q((r)=>{let g=t(r,R);return U(r,g)?r:g})},[R,A]),$e(()=>{if(A||Pe.current)return;Pe.current=!0;let r=ue(R);if(!r)return;let g=B.current,I=t(r,R),D={reason:"hydrate",previousState:g},w=n?t(n(I,D),R):I;if(U(g,w))return;H.current=D,Q(w),i?.(w,D),s?.(w,D)},[R,A,i,s,ue,n]),$e(()=>{if(typeof document>"u")return;me(document.documentElement,F,R)},[R,F]),J(()=>{if(typeof window>"u")return;if(!Oe.current){Oe.current=!0,c.current=p;return}let r=c.current;if(U(r,p))return;let g=H.current??{reason:"set-state",previousState:r};H.current=null,Ee(p,R,g),c.current=p},[R,p,Ee]);let E=_((r,g)=>{let I=B.current,D=typeof r==="function"?r(I):r,w=t({theme:D.theme??I.theme,colorScheme:D.colorScheme??I.colorScheme},R),G={reason:g,previousState:I},Y=n?t(n(w,G),R):w;if(U(I,Y))return;if(H.current=G,!A)Q(Y);i?.(Y,G),s?.(Y,G)},[R,A,i,s,n]),Ie=_((r)=>{E(r,"set-state")},[E]),xe=_((r)=>{E({theme:r},"set-theme")},[E]),Fe=_((r)=>{E({colorScheme:r},"set-color-scheme")},[E]),De=_(()=>{let r=F.resolvedColorScheme===y.dark?y.light:y.dark;E({colorScheme:r},"toggle-color-scheme")},[F.resolvedColorScheme,E]),Be=j(()=>({theme:p.theme,colorScheme:p.colorScheme,resolvedColorScheme:F.resolvedColorScheme,state:p,resolvedState:F,contract:R,themes:R.themes,setTheme:xe,setColorScheme:Fe,setState:Ie,toggleColorScheme:De}),[p,F,R,xe,Fe,Ie,De]);return OT(se.Provider,{value:Be,children:e},void 0,!1,void 0,this)};W.displayName="ThemeProvider";var ne=()=>{let e=dT(se);if(!e)throw Error("useTheme must be used within a ThemeProvider");return e};import{jsxDEV as Z}from"react/jsx-dev-runtime";function q(e){return typeof e==="object"&&e!==null}function P(e){return typeof e==="string"&&e.trim().length>0}function Xe(e){if(!q(e))return!1;return Object.values(e).every(P)}function je(e){if(!q(e))return!1;if(!Xe(e.light))return!1;if(e.dark===void 0)return!0;return Xe(e.dark)}function Ue(e){return q(e)&&P(e.cssText)}function uT(e){return q(e)&&P(e.theme)}function he(e){return Error(`Invalid theme registry definition: ${e}`)}function Ve(e){let T=new Set,m=[];for(let i of e){if(!P(i)||T.has(i))continue;T.add(i),m.push(i)}return m}function ET(e){return e.filter(P).join(`
11
+
12
+ `)}function IT(e){let T=[],m=[],i=[];for(let[s,n]of Object.entries(e)){if(!P(s))continue;if(T.push(s),P(n)){i.push(n);continue}if(Ue(n)){i.push(n.cssText);continue}if(je(n)){m.push({theme:s,light:n.light,dark:n.dark});continue}throw he(`record key "${s}" has unsupported value shape`)}return{themeNames:T,tokenDefinitions:m,cssBlocks:i}}function xT(e){let T=[],m=[],i=[];for(let s of e){if(P(s)){T.push(s);continue}if(!uT(s))throw he("array entry must be a theme name or an object with `theme`");let n=s.theme;if(T.push(n),Ue(s)){i.push(s.cssText);continue}if(je(s)){m.push({theme:n,light:s.light,dark:s.dark});continue}throw he(`array entry "${n}" has unsupported value shape`)}return{themeNames:T,tokenDefinitions:m,cssBlocks:i}}function FT(e){if(Array.isArray(e))return xT(e);return IT(e)}function DT(e){return e}function Je(e){let{themes:T,cssText:m,...i}=e,s=FT(T),n=Ve(s.themeNames),h=d({...i,themes:n}),N=ie({themes:s.tokenDefinitions,attribute:h.attribute,darkClassName:h.darkClassName}),O=ET([N,...s.cssBlocks,m??""]),u=Ve(h.themes);if(u.length===0)u.push(h.defaultTheme);return{defaultTheme:h.defaultTheme,themes:u,cssText:O,contract:h}}function re({registry:e,children:T,...m}){return Z(W,{defaultTheme:e.defaultTheme,themes:e.themes,attribute:e.contract.attribute,colorSchemeAttribute:e.contract.colorSchemeAttribute,darkClassName:e.contract.darkClassName,storage:e.contract.storage,...m,children:T},void 0,!1,void 0,this)}re.displayName="ThemeRegistryProvider";function ye({registry:e,id:T,nonce:m,media:i}){if(!P(e.cssText))return null;return Z("style",{id:T,nonce:m,media:i,children:e.cssText},void 0,!1,void 0,this)}ye.displayName="ThemeStyles";function wT(e){let T=Je(e),{themes:m,cssText:i,...s}=e;return{registry:T,provider:({children:O,...u})=>{return Z(re,{registry:T,...s,...u,children:O},void 0,!1,void 0,this)},styles:(O={})=>{return Z(ye,{registry:T,...O},void 0,!1,void 0,this)},useTheme:()=>{return ne()}}}export{KT as a,ve as b,bT as c,kT as d,CT as e,$ as f,$T as g,XT as h,VT as i,jT as j,y as k,L as l,K as m,z as n,oe as o,Se as p,v as q,ae as r,l as s,d as t,t as u,o as v,S as w,a as x,Ce as y,ee as z,Te as A,V as B,tT as C,He as D,Ge as E,ie as F,W as G,ne as H,DT as I,Je as J,re as K,ye as L,wT as M};
@@ -8,10 +8,10 @@ declare const AccordionSize: {
8
8
  type AccordionSizeValue = (typeof AccordionSize)[keyof typeof AccordionSize];
9
9
  declare const accordionItemVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
10
  declare const accordionTriggerVariants: (props?: ({
11
- size?: "lg" | "md" | "sm" | null | undefined;
11
+ size?: "sm" | "md" | "lg" | null | undefined;
12
12
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
13
  declare const accordionContentVariants: (props?: ({
14
- size?: "lg" | "md" | "sm" | null | undefined;
14
+ size?: "sm" | "md" | "lg" | null | undefined;
15
15
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
16
16
  type AccordionRootProps = ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;
17
17
  type AccordionProps = AccordionRootProps & {
@@ -17,7 +17,7 @@ type VariantValue = (typeof Variant)[keyof typeof Variant];
17
17
  type SizeValue = (typeof Size)[keyof typeof Size];
18
18
  declare const alertVariants: (props?: ({
19
19
  variant?: "default" | "success" | "warning" | "error" | "info" | null | undefined;
20
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
20
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
21
21
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
22
22
  declare const alertTitleVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
23
23
  declare const alertDescriptionVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
@@ -10,7 +10,7 @@ declare const AlertDialogSize: {
10
10
  type AlertDialogSizeValue = (typeof AlertDialogSize)[keyof typeof AlertDialogSize];
11
11
  declare const alertDialogOverlayVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
12
12
  declare const alertDialogContentVariants: (props?: ({
13
- size?: "lg" | "xl" | "md" | "sm" | "full" | null | undefined;
13
+ size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
14
14
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
15
  declare const AlertDialog: import("react").FC<AlertDialogPrimitive.AlertDialogProps>;
16
16
  declare const AlertDialogTrigger: import("react").ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -8,7 +8,7 @@ declare const AvatarSize: {
8
8
  };
9
9
  type AvatarSizeValue = (typeof AvatarSize)[keyof typeof AvatarSize];
10
10
  declare const avatarVariants: (props?: ({
11
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
11
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
12
12
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
13
  interface AvatarProps extends ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> {
14
14
  size?: AvatarSizeValue;
@@ -17,9 +17,9 @@ declare const Size: {
17
17
  type VariantValue = (typeof Variant)[keyof typeof Variant];
18
18
  type SizeValue = (typeof Size)[keyof typeof Size];
19
19
  declare const badgeVariants: (props?: ({
20
- variant?: "default" | "success" | "warning" | "error" | "info" | "primary" | "outline" | null | undefined;
20
+ variant?: "default" | "outline" | "primary" | "success" | "warning" | "error" | "info" | null | undefined;
21
21
  solid?: boolean | null | undefined;
22
- size?: "lg" | "md" | "sm" | "dot" | null | undefined;
22
+ size?: "sm" | "md" | "lg" | "dot" | null | undefined;
23
23
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
24
24
  interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
25
25
  asChild?: boolean;
@@ -6,16 +6,16 @@ declare const BreadcrumbSize: {
6
6
  };
7
7
  type BreadcrumbSizeValue = (typeof BreadcrumbSize)[keyof typeof BreadcrumbSize];
8
8
  declare const breadcrumbListVariants: (props?: ({
9
- size?: "lg" | "md" | "sm" | null | undefined;
9
+ size?: "sm" | "md" | "lg" | null | undefined;
10
10
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
11
11
  declare const breadcrumbItemVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
12
12
  declare const breadcrumbLinkVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
13
13
  declare const breadcrumbPageVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
14
14
  declare const breadcrumbSeparatorVariants: (props?: ({
15
- size?: "lg" | "md" | "sm" | null | undefined;
15
+ size?: "sm" | "md" | "lg" | null | undefined;
16
16
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
17
  declare const breadcrumbEllipsisVariants: (props?: ({
18
- size?: "lg" | "md" | "sm" | null | undefined;
18
+ size?: "sm" | "md" | "lg" | null | undefined;
19
19
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
20
20
  interface BreadcrumbProps extends ComponentPropsWithoutRef<"nav"> {
21
21
  size?: BreadcrumbSizeValue;
@@ -33,11 +33,11 @@ type SizeValue = (typeof Size)[keyof typeof Size];
33
33
  type BadgeToneValue = (typeof BadgeTone)[keyof typeof BadgeTone];
34
34
  type IconSizeValue = (typeof IconSize)[keyof typeof IconSize];
35
35
  declare const buttonVariants: (props?: ({
36
- variant?: "primary" | "secondary" | "neutral" | "outline" | "ghost" | "danger" | null | undefined;
37
- size?: "lg" | "xl" | "md" | "sm" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
36
+ variant?: "secondary" | "outline" | "ghost" | "primary" | "danger" | "neutral" | null | undefined;
37
+ size?: "sm" | "md" | "lg" | "xl" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
38
38
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
39
39
  declare const buttonIconVariants: (props?: ({
40
- size?: "lg" | "md" | "sm" | null | undefined;
40
+ size?: "sm" | "md" | "lg" | null | undefined;
41
41
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
42
42
  declare const buttonBadgeVariants: (props?: ({
43
43
  tone?: "default" | "success" | "warning" | "error" | "info" | null | undefined;
@@ -7,29 +7,29 @@ declare const Size: {
7
7
  };
8
8
  type SizeValue = (typeof Size)[keyof typeof Size];
9
9
  declare const calendarVariants: (props?: ({
10
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
10
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
11
11
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
12
  declare const calendarHeaderVariants: (props?: ({
13
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
13
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
14
14
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
15
  declare const calendarTitleVariants: (props?: ({
16
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
16
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
17
17
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
18
  declare const calendarNavButtonVariants: (props?: ({
19
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
19
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
20
20
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
21
21
  declare const calendarGridVariants: (props?: ({
22
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
22
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
23
23
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
24
24
  declare const calendarWeekdayVariants: (props?: ({
25
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
25
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
26
26
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
27
27
  declare const calendarDayVariants: (props?: ({
28
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
28
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
29
29
  state?: "default" | "disabled" | "selected" | "today" | "outside" | "rangeStart" | "rangeEnd" | "range" | null | undefined;
30
30
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
31
31
  declare const calendarDayPlaceholderVariants: (props?: ({
32
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
32
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
33
33
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
34
34
  interface DateRange {
35
35
  from: Date | undefined;
@@ -14,7 +14,7 @@ declare const CheckboxStatus: {
14
14
  readonly success: "success";
15
15
  };
16
16
  declare const checkboxVariants: (props?: ({
17
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
17
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
18
18
  status?: "default" | "success" | "error" | null | undefined;
19
19
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
20
20
  interface CheckboxProps extends Omit<ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, "asChild"> {
@@ -11,32 +11,32 @@ declare const Variant: {
11
11
  };
12
12
  type VariantValue = (typeof Variant)[keyof typeof Variant];
13
13
  declare const codeBlockVariants: (props?: ({
14
- size?: "lg" | "md" | "sm" | null | undefined;
14
+ size?: "sm" | "md" | "lg" | null | undefined;
15
15
  variant?: "default" | "ghost" | null | undefined;
16
16
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
17
  declare const codeBlockHeaderVariants: (props?: ({
18
- size?: "lg" | "md" | "sm" | null | undefined;
18
+ size?: "sm" | "md" | "lg" | null | undefined;
19
19
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
20
20
  declare const codeBlockLanguageVariants: (props?: ({
21
- size?: "lg" | "md" | "sm" | null | undefined;
21
+ size?: "sm" | "md" | "lg" | null | undefined;
22
22
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
23
23
  declare const codeBlockCopyVariants: (props?: ({
24
- size?: "lg" | "md" | "sm" | null | undefined;
24
+ size?: "sm" | "md" | "lg" | null | undefined;
25
25
  copied?: boolean | null | undefined;
26
26
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
27
27
  declare const codeBlockContentVariants: (props?: ({
28
- size?: "lg" | "md" | "sm" | null | undefined;
28
+ size?: "sm" | "md" | "lg" | null | undefined;
29
29
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
30
30
  declare const codeBlockPreVariants: (props?: ({
31
- size?: "lg" | "md" | "sm" | null | undefined;
31
+ size?: "sm" | "md" | "lg" | null | undefined;
32
32
  showLineNumbers?: boolean | null | undefined;
33
33
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
34
34
  declare const codeBlockLineVariants: (props?: ({
35
- size?: "lg" | "md" | "sm" | null | undefined;
35
+ size?: "sm" | "md" | "lg" | null | undefined;
36
36
  highlighted?: boolean | null | undefined;
37
37
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
38
38
  declare const codeBlockLineNumberVariants: (props?: ({
39
- size?: "lg" | "md" | "sm" | null | undefined;
39
+ size?: "sm" | "md" | "lg" | null | undefined;
40
40
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
41
41
  interface CodeBlockProps extends Omit<ComponentPropsWithoutRef<"div">, "onCopy"> {
42
42
  code: string;
@@ -2,7 +2,7 @@ import * as DialogPrimitive from "@radix-ui/react-dialog";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  import { type ComponentPropsWithoutRef, type ReactNode } from "react";
4
4
  declare const commandDialogVariants: (props?: ({
5
- size?: "lg" | "md" | "sm" | null | undefined;
5
+ size?: "sm" | "md" | "lg" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  declare const commandOverlayVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
8
8
  declare const commandInputVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
@@ -13,21 +13,21 @@ type SizeValue = (typeof Size)[keyof typeof Size];
13
13
  type ItemVariantValue = (typeof ItemVariant)[keyof typeof ItemVariant];
14
14
  declare const contextMenuContentVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
15
15
  declare const contextMenuItemVariants: (props?: ({
16
- size?: "lg" | "md" | "sm" | null | undefined;
16
+ size?: "sm" | "md" | "lg" | null | undefined;
17
17
  variant?: "default" | "danger" | null | undefined;
18
18
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
19
19
  declare const contextMenuCheckboxItemVariants: (props?: ({
20
- size?: "lg" | "md" | "sm" | null | undefined;
20
+ size?: "sm" | "md" | "lg" | null | undefined;
21
21
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
22
22
  declare const contextMenuRadioItemVariants: (props?: ({
23
- size?: "lg" | "md" | "sm" | null | undefined;
23
+ size?: "sm" | "md" | "lg" | null | undefined;
24
24
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
25
25
  declare const contextMenuLabelVariants: (props?: ({
26
- size?: "lg" | "md" | "sm" | null | undefined;
26
+ size?: "sm" | "md" | "lg" | null | undefined;
27
27
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
28
28
  declare const contextMenuSeparatorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
29
29
  declare const contextMenuShortcutVariants: (props?: ({
30
- size?: "lg" | "md" | "sm" | null | undefined;
30
+ size?: "sm" | "md" | "lg" | null | undefined;
31
31
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
32
32
  declare const ContextMenu: import("react").FC<ContextMenuPrimitive.ContextMenuProps>;
33
33
  declare const ContextMenuTrigger: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & import("react").RefAttributes<HTMLSpanElement>>;
@@ -14,7 +14,7 @@ declare const DialogPortal: import("react").FC<DialogPrimitive.DialogPortalProps
14
14
  declare const DialogClose: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
15
15
  declare const DialogOverlay: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
16
16
  declare const dialogContentVariants: (props?: ({
17
- size?: "lg" | "xl" | "md" | "sm" | "full" | null | undefined;
17
+ size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
18
18
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
19
19
  interface DialogContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
20
20
  size?: DialogSizeValue;
@@ -13,21 +13,21 @@ type SizeValue = (typeof Size)[keyof typeof Size];
13
13
  type ItemVariantValue = (typeof ItemVariant)[keyof typeof ItemVariant];
14
14
  declare const dropdownMenuContentVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
15
15
  declare const dropdownMenuItemVariants: (props?: ({
16
- size?: "lg" | "md" | "sm" | null | undefined;
16
+ size?: "sm" | "md" | "lg" | null | undefined;
17
17
  variant?: "default" | "danger" | null | undefined;
18
18
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
19
19
  declare const dropdownMenuCheckboxItemVariants: (props?: ({
20
- size?: "lg" | "md" | "sm" | null | undefined;
20
+ size?: "sm" | "md" | "lg" | null | undefined;
21
21
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
22
22
  declare const dropdownMenuRadioItemVariants: (props?: ({
23
- size?: "lg" | "md" | "sm" | null | undefined;
23
+ size?: "sm" | "md" | "lg" | null | undefined;
24
24
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
25
25
  declare const dropdownMenuLabelVariants: (props?: ({
26
- size?: "lg" | "md" | "sm" | null | undefined;
26
+ size?: "sm" | "md" | "lg" | null | undefined;
27
27
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
28
28
  declare const dropdownMenuSeparatorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
29
29
  declare const dropdownMenuShortcutVariants: (props?: ({
30
- size?: "lg" | "md" | "sm" | null | undefined;
30
+ size?: "sm" | "md" | "lg" | null | undefined;
31
31
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
32
32
  declare const DropdownMenu: {
33
33
  ({ children, open: controlledOpen, defaultOpen, onOpenChange, ...props }: ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
@@ -6,16 +6,16 @@ declare const Size: {
6
6
  };
7
7
  type SizeValue = (typeof Size)[keyof typeof Size];
8
8
  declare const emptyStateVariants: (props?: ({
9
- size?: "lg" | "md" | "sm" | null | undefined;
9
+ size?: "sm" | "md" | "lg" | null | undefined;
10
10
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
11
11
  declare const emptyStateIconVariants: (props?: ({
12
- size?: "lg" | "md" | "sm" | null | undefined;
12
+ size?: "sm" | "md" | "lg" | null | undefined;
13
13
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
14
14
  declare const emptyStateTitleVariants: (props?: ({
15
- size?: "lg" | "md" | "sm" | null | undefined;
15
+ size?: "sm" | "md" | "lg" | null | undefined;
16
16
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
17
  declare const emptyStateDescriptionVariants: (props?: ({
18
- size?: "lg" | "md" | "sm" | null | undefined;
18
+ size?: "sm" | "md" | "lg" | null | undefined;
19
19
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
20
20
  declare const emptyStateActionsVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
21
21
  interface EmptyStateProps extends HTMLAttributes<HTMLDivElement> {
@@ -1,18 +1,18 @@
1
1
  import { Component, type ErrorInfo, type ReactNode } from "react";
2
2
  declare const errorBoundaryVariants: (props?: ({
3
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
4
- variant?: "warning" | "info" | "destructive" | null | undefined;
3
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
4
+ variant?: "destructive" | "warning" | "info" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  declare const errorBoundaryIconVariants: (props?: ({
7
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
8
- variant?: "warning" | "info" | "destructive" | null | undefined;
7
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
8
+ variant?: "destructive" | "warning" | "info" | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
10
  declare const errorBoundaryTitleVariants: (props?: ({
11
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
12
- variant?: "warning" | "info" | "destructive" | null | undefined;
11
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
12
+ variant?: "destructive" | "warning" | "info" | null | undefined;
13
13
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
14
14
  declare const errorBoundaryDescriptionVariants: (props?: ({
15
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
15
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
16
16
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
17
  declare const errorBoundaryActionsVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
18
18
  declare const errorBoundaryDetailsVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
@@ -7,25 +7,25 @@ declare const Size: {
7
7
  };
8
8
  type SizeValue = (typeof Size)[keyof typeof Size];
9
9
  declare const fileUploadVariants: (props?: ({
10
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
10
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
11
11
  isDragging?: boolean | null | undefined;
12
12
  disabled?: boolean | null | undefined;
13
13
  hasError?: boolean | null | undefined;
14
14
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
15
  declare const fileUploadIconVariants: (props?: ({
16
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
16
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
17
17
  isDragging?: boolean | null | undefined;
18
18
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
19
19
  declare const fileUploadTextVariants: (props?: ({
20
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
20
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
21
21
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
22
22
  declare const fileUploadListVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
23
23
  declare const fileUploadItemVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
24
24
  declare const fileUploadItemNameVariants: (props?: ({
25
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
25
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
26
26
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
27
27
  declare const fileUploadItemSizeVariants: (props?: ({
28
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
28
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
29
29
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
30
30
  declare const fileUploadItemRemoveVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
31
31
  interface FileUploadProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange" | "onError"> {
@@ -14,7 +14,7 @@ interface FormFieldContextValue {
14
14
  }
15
15
  declare const useFormField: () => FormFieldContextValue;
16
16
  declare const formFieldVariants: (props?: ({
17
- size?: "lg" | "md" | "sm" | null | undefined;
17
+ size?: "sm" | "md" | "lg" | null | undefined;
18
18
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
19
19
  interface FormFieldProps extends HTMLAttributes<HTMLDivElement> {
20
20
  size?: SizeValue;
@@ -7,7 +7,7 @@ declare const HoverCardSize: {
7
7
  };
8
8
  type HoverCardSizeValue = (typeof HoverCardSize)[keyof typeof HoverCardSize];
9
9
  declare const hoverCardContentVariants: (props?: ({
10
- size?: "lg" | "md" | "sm" | null | undefined;
10
+ size?: "sm" | "md" | "lg" | null | undefined;
11
11
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
12
  declare const HoverCard: import("react").FC<HoverCardPrimitive.HoverCardProps>;
13
13
  declare const HoverCardTrigger: import("react").ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -6,7 +6,7 @@ declare const Size: {
6
6
  };
7
7
  type SizeValue = (typeof Size)[keyof typeof Size];
8
8
  declare const kbdVariants: (props?: ({
9
- size?: "lg" | "md" | "sm" | null | undefined;
9
+ size?: "sm" | "md" | "lg" | null | undefined;
10
10
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
11
11
  interface KbdProps extends HTMLAttributes<HTMLElement> {
12
12
  size?: SizeValue;
@@ -6,7 +6,7 @@ declare const Size: {
6
6
  };
7
7
  type SizeValue = (typeof Size)[keyof typeof Size];
8
8
  declare const labelVariants: (props?: ({
9
- size?: "lg" | "md" | "sm" | null | undefined;
9
+ size?: "sm" | "md" | "lg" | null | undefined;
10
10
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
11
11
  interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
12
12
  size?: SizeValue;
@@ -0,0 +1,2 @@
1
+ export { Loader, type LoaderProps } from "./loader";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type SpinnerProps } from "@/components/spinner";
2
+ type LoaderProps = SpinnerProps;
3
+ declare const Loader: import("react").ForwardRefExoticComponent<SpinnerProps & import("react").RefAttributes<HTMLSpanElement>>;
4
+ export { Loader, type LoaderProps };
5
+ //# sourceMappingURL=loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../src/components/loader/loader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAElE,KAAK,WAAW,GAAG,YAAY,CAAC;AAEhC,QAAA,MAAM,MAAM,0GAAU,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,CAAC"}
@@ -8,7 +8,7 @@ declare const MultiselectSize: {
8
8
  };
9
9
  type MultiselectSizeValue = (typeof MultiselectSize)[keyof typeof MultiselectSize];
10
10
  declare const multiselectTriggerVariants: (props?: ({
11
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
11
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
12
12
  status?: "default" | "success" | "error" | null | undefined;
13
13
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
14
14
  interface MultiselectOption {
@@ -1,33 +1,33 @@
1
1
  import { type HTMLAttributes, type ReactNode } from "react";
2
2
  declare const navbarVariants: (props?: ({
3
3
  variant?: "default" | "solid" | "blur" | "transparent" | null | undefined;
4
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
4
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
5
5
  sticky?: boolean | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  declare const navbarBrandVariants: (props?: ({
8
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
8
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
10
  declare const navbarBrandTaglineVariants: (props?: ({
11
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
11
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
12
12
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
13
  declare const navbarContentVariants: (props?: ({
14
- align?: "center" | "end" | "start" | null | undefined;
15
- gap?: "lg" | "xl" | "md" | "sm" | null | undefined;
16
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
14
+ align?: "center" | "start" | "end" | null | undefined;
15
+ gap?: "sm" | "md" | "lg" | "xl" | null | undefined;
16
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
17
17
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
18
  declare const navbarItemVariants: (props?: ({
19
19
  active?: boolean | null | undefined;
20
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
20
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
21
21
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
22
22
  declare const navbarLinkVariants: (props?: ({
23
23
  active?: boolean | null | undefined;
24
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
24
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
25
25
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
26
26
  declare const navbarActionsVariants: (props?: ({
27
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
27
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
28
28
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
29
29
  declare const navbarDividerVariants: (props?: ({
30
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
30
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
31
31
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
32
32
  declare const Variant: {
33
33
  readonly default: "default";
@@ -9,11 +9,11 @@ type NavigationMenuSizeValue = (typeof NavigationMenuSize)[keyof typeof Navigati
9
9
  declare const navigationMenuVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
10
  declare const navigationMenuListVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
11
11
  declare const navigationMenuTriggerVariants: (props?: ({
12
- size?: "lg" | "md" | "sm" | null | undefined;
12
+ size?: "sm" | "md" | "lg" | null | undefined;
13
13
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
14
14
  declare const navigationMenuContentVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
15
15
  declare const navigationMenuLinkVariants: (props?: ({
16
- size?: "lg" | "md" | "sm" | null | undefined;
16
+ size?: "sm" | "md" | "lg" | null | undefined;
17
17
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
18
  declare const navigationMenuViewportVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
19
19
  declare const navigationMenuIndicatorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
@@ -13,14 +13,14 @@ declare const Status: {
13
13
  type SizeValue = (typeof Size)[keyof typeof Size];
14
14
  type StatusValue = (typeof Status)[keyof typeof Status];
15
15
  declare const otpContainerVariants: (props?: ({
16
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
16
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
17
17
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
18
  declare const otpGroupVariants: (props?: ({
19
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
19
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
20
20
  status?: "default" | "success" | "error" | null | undefined;
21
21
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
22
22
  declare const otpSlotVariants: (props?: ({
23
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
23
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
24
24
  filled?: boolean | null | undefined;
25
25
  focused?: boolean | null | undefined;
26
26
  status?: "default" | "success" | "error" | null | undefined;
@@ -28,16 +28,16 @@ declare const otpSlotVariants: (props?: ({
28
28
  position?: "single" | "first" | "last" | "middle" | null | undefined;
29
29
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
30
30
  declare const otpInputVariants: (props?: ({
31
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
31
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
32
32
  status?: "default" | "success" | "error" | null | undefined;
33
33
  filled?: boolean | null | undefined;
34
34
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
35
35
  declare const otpPlaceholderVariants: (props?: ({
36
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
36
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
37
37
  focused?: boolean | null | undefined;
38
38
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
39
39
  declare const otpSeparatorVariants: (props?: ({
40
- size?: "lg" | "xl" | "md" | "sm" | null | undefined;
40
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
41
41
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
42
42
  interface OTPInputProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange"> {
43
43
  length?: number;
@@ -10,10 +10,10 @@ declare const paginationContentVariants: (props?: import("class-variance-authori
10
10
  declare const paginationItemVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
11
11
  declare const paginationLinkVariants: (props?: ({
12
12
  isActive?: boolean | null | undefined;
13
- size?: "lg" | "md" | "sm" | null | undefined;
13
+ size?: "sm" | "md" | "lg" | null | undefined;
14
14
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
15
  declare const paginationEllipsisVariants: (props?: ({
16
- size?: "lg" | "md" | "sm" | null | undefined;
16
+ size?: "sm" | "md" | "lg" | null | undefined;
17
17
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
18
  interface PaginationProps extends ComponentProps<"nav"> {
19
19
  size?: PaginationSizeValue;