@hyddenlabs/hydn-ui 0.3.0-alpha.152 → 0.3.0-alpha.154

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -25,7 +25,439 @@ declare namespace ColorModeToggle {
25
25
  var displayName: string;
26
26
  }
27
27
 
28
- type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | number;
28
+ declare const visualSizes: {
29
+ readonly xs: {
30
+ readonly classes: "w-3.5 h-3.5 sm:w-3 sm:h-3";
31
+ readonly pixels: {
32
+ readonly mobile: 14;
33
+ readonly desktop: 12;
34
+ };
35
+ };
36
+ readonly sm: {
37
+ readonly classes: "w-5 h-5 sm:w-4 sm:h-4";
38
+ readonly pixels: {
39
+ readonly mobile: 20;
40
+ readonly desktop: 16;
41
+ };
42
+ };
43
+ readonly md: {
44
+ readonly classes: "w-6 h-6 sm:w-5 sm:h-5";
45
+ readonly pixels: {
46
+ readonly mobile: 24;
47
+ readonly desktop: 20;
48
+ };
49
+ };
50
+ readonly lg: {
51
+ readonly classes: "w-7 h-7 sm:w-6 sm:h-6";
52
+ readonly pixels: {
53
+ readonly mobile: 28;
54
+ readonly desktop: 24;
55
+ };
56
+ };
57
+ readonly xl: {
58
+ readonly classes: "w-8 h-8 sm:w-7 sm:h-7";
59
+ readonly pixels: {
60
+ readonly mobile: 32;
61
+ readonly desktop: 28;
62
+ };
63
+ };
64
+ readonly '2xl': {
65
+ readonly classes: "w-9 h-9 sm:w-8 sm:h-8";
66
+ readonly pixels: {
67
+ readonly mobile: 36;
68
+ readonly desktop: 32;
69
+ };
70
+ };
71
+ readonly '3xl': {
72
+ readonly classes: "w-12 h-12 sm:w-10 sm:h-10";
73
+ readonly pixels: {
74
+ readonly mobile: 48;
75
+ readonly desktop: 40;
76
+ };
77
+ };
78
+ };
79
+ type Size = keyof typeof visualSizes;
80
+ declare const spinnerSizes: {
81
+ readonly xs: {
82
+ readonly border: "border";
83
+ readonly classes: "w-3.5 h-3.5 sm:w-3 sm:h-3";
84
+ readonly pixels: {
85
+ readonly mobile: 14;
86
+ readonly desktop: 12;
87
+ };
88
+ };
89
+ readonly sm: {
90
+ readonly border: "border-2";
91
+ readonly classes: "w-5 h-5 sm:w-4 sm:h-4";
92
+ readonly pixels: {
93
+ readonly mobile: 20;
94
+ readonly desktop: 16;
95
+ };
96
+ };
97
+ readonly md: {
98
+ readonly border: "border-2";
99
+ readonly classes: "w-6 h-6 sm:w-5 sm:h-5";
100
+ readonly pixels: {
101
+ readonly mobile: 24;
102
+ readonly desktop: 20;
103
+ };
104
+ };
105
+ readonly lg: {
106
+ readonly border: "border-2";
107
+ readonly classes: "w-7 h-7 sm:w-6 sm:h-6";
108
+ readonly pixels: {
109
+ readonly mobile: 28;
110
+ readonly desktop: 24;
111
+ };
112
+ };
113
+ readonly xl: {
114
+ readonly border: "border-[3px]";
115
+ readonly classes: "w-8 h-8 sm:w-7 sm:h-7";
116
+ readonly pixels: {
117
+ readonly mobile: 32;
118
+ readonly desktop: 28;
119
+ };
120
+ };
121
+ readonly '2xl': {
122
+ readonly border: "border-[3px]";
123
+ readonly classes: "w-9 h-9 sm:w-8 sm:h-8";
124
+ readonly pixels: {
125
+ readonly mobile: 36;
126
+ readonly desktop: 32;
127
+ };
128
+ };
129
+ readonly '3xl': {
130
+ readonly border: "border-4";
131
+ readonly classes: "w-12 h-12 sm:w-10 sm:h-10";
132
+ readonly pixels: {
133
+ readonly mobile: 48;
134
+ readonly desktop: 40;
135
+ };
136
+ };
137
+ };
138
+ declare const avatarSizes: {
139
+ readonly xs: {
140
+ readonly classes: "w-8 h-8 sm:w-6 sm:h-6";
141
+ readonly text: "text-sm sm:text-xs";
142
+ };
143
+ readonly sm: {
144
+ readonly classes: "w-10 h-10 sm:w-8 sm:h-8";
145
+ readonly text: "text-base sm:text-sm";
146
+ };
147
+ readonly md: {
148
+ readonly classes: "w-12 h-12 sm:w-10 sm:h-10";
149
+ readonly text: "text-lg sm:text-base";
150
+ };
151
+ readonly lg: {
152
+ readonly classes: "w-14 h-14 sm:w-12 sm:h-12";
153
+ readonly text: "text-xl sm:text-lg";
154
+ };
155
+ readonly xl: {
156
+ readonly classes: "w-20 h-20 sm:w-16 sm:h-16";
157
+ readonly text: "text-2xl sm:text-xl";
158
+ };
159
+ readonly '2xl': {
160
+ readonly classes: "w-24 h-24 sm:w-20 sm:h-20";
161
+ readonly text: "text-3xl sm:text-2xl";
162
+ };
163
+ readonly '3xl': {
164
+ readonly classes: "w-28 h-28 sm:w-24 sm:h-24";
165
+ readonly text: "text-4xl sm:text-3xl";
166
+ };
167
+ };
168
+ declare const logoSizes: {
169
+ readonly xs: {
170
+ readonly classes: "h-5 w-5 sm:h-4 sm:w-4";
171
+ };
172
+ readonly sm: {
173
+ readonly classes: "h-7 w-7 sm:h-6 sm:w-6";
174
+ };
175
+ readonly md: {
176
+ readonly classes: "h-9 w-9 sm:h-8 sm:w-8";
177
+ };
178
+ readonly lg: {
179
+ readonly classes: "h-12 w-12 sm:h-10 sm:w-10";
180
+ };
181
+ readonly xl: {
182
+ readonly classes: "h-14 w-14 sm:h-12 sm:w-12";
183
+ };
184
+ readonly '2xl': {
185
+ readonly classes: "h-20 w-20 sm:h-16 sm:w-16";
186
+ };
187
+ readonly '3xl': {
188
+ readonly classes: "h-24 w-24 sm:h-20 sm:w-20";
189
+ };
190
+ };
191
+ declare const interactiveSizes: {
192
+ readonly xs: {
193
+ readonly height: "h-8 sm:h-6 min-h-8 sm:min-h-6";
194
+ readonly padding: "px-3 sm:px-2";
195
+ readonly text: "text-sm sm:text-xs";
196
+ readonly icon: {
197
+ readonly classes: "w-3.5 h-3.5 sm:w-3 sm:h-3";
198
+ readonly pixels: {
199
+ readonly mobile: 14;
200
+ readonly desktop: 12;
201
+ };
202
+ };
203
+ };
204
+ readonly sm: {
205
+ readonly height: "h-10 sm:h-8 min-h-10 sm:min-h-8";
206
+ readonly padding: "px-4 sm:px-3";
207
+ readonly text: "text-base sm:text-sm";
208
+ readonly icon: {
209
+ readonly classes: "w-5 h-5 sm:w-4 sm:h-4";
210
+ readonly pixels: {
211
+ readonly mobile: 20;
212
+ readonly desktop: 16;
213
+ };
214
+ };
215
+ };
216
+ readonly md: {
217
+ readonly height: "h-12 sm:h-10 min-h-12 sm:min-h-10";
218
+ readonly padding: "px-5 sm:px-4";
219
+ readonly text: "text-base sm:text-sm";
220
+ readonly icon: {
221
+ readonly classes: "w-6 h-6 sm:w-5 sm:h-5";
222
+ readonly pixels: {
223
+ readonly mobile: 24;
224
+ readonly desktop: 20;
225
+ };
226
+ };
227
+ };
228
+ readonly lg: {
229
+ readonly height: "h-14 sm:h-12 min-h-14 sm:min-h-12";
230
+ readonly padding: "px-7 sm:px-6";
231
+ readonly text: "text-lg sm:text-base";
232
+ readonly icon: {
233
+ readonly classes: "w-7 h-7 sm:w-6 sm:h-6";
234
+ readonly pixels: {
235
+ readonly mobile: 28;
236
+ readonly desktop: 24;
237
+ };
238
+ };
239
+ };
240
+ readonly xl: {
241
+ readonly height: "h-16 sm:h-14 min-h-16 sm:min-h-14";
242
+ readonly padding: "px-9 sm:px-8";
243
+ readonly text: "text-xl sm:text-lg";
244
+ readonly icon: {
245
+ readonly classes: "w-8 h-8 sm:w-7 sm:h-7";
246
+ readonly pixels: {
247
+ readonly mobile: 32;
248
+ readonly desktop: 28;
249
+ };
250
+ };
251
+ };
252
+ };
253
+ type InteractiveSize = keyof typeof interactiveSizes;
254
+ declare const badgeSizes: {
255
+ readonly sm: {
256
+ readonly classes: "px-2.5 sm:px-2 py-1 sm:py-0.5 text-sm sm:text-xs";
257
+ readonly icon: {
258
+ readonly classes: "w-3.5 h-3.5 sm:w-3 sm:h-3";
259
+ readonly pixels: {
260
+ readonly mobile: 14;
261
+ readonly desktop: 12;
262
+ };
263
+ };
264
+ };
265
+ readonly md: {
266
+ readonly classes: "px-3 sm:px-2.5 py-1 sm:py-0.5 text-sm sm:text-xs font-semibold";
267
+ readonly icon: {
268
+ readonly classes: "w-5 h-5 sm:w-4 sm:h-4";
269
+ readonly pixels: {
270
+ readonly mobile: 20;
271
+ readonly desktop: 16;
272
+ };
273
+ };
274
+ };
275
+ readonly lg: {
276
+ readonly classes: "px-4 sm:px-3 py-1.5 sm:py-1 text-base sm:text-sm font-semibold";
277
+ readonly icon: {
278
+ readonly classes: "w-6 h-6 sm:w-5 sm:h-5";
279
+ readonly pixels: {
280
+ readonly mobile: 24;
281
+ readonly desktop: 20;
282
+ };
283
+ };
284
+ };
285
+ };
286
+ declare const chipSizes: {
287
+ readonly sm: {
288
+ readonly classes: "px-2.5 sm:px-2 py-1.5 sm:py-1 text-sm sm:text-xs gap-1.5 sm:gap-1";
289
+ readonly icon: {
290
+ readonly classes: "w-3.5 h-3.5 sm:w-3 sm:h-3";
291
+ readonly pixels: {
292
+ readonly mobile: 14;
293
+ readonly desktop: 12;
294
+ };
295
+ };
296
+ };
297
+ readonly md: {
298
+ readonly classes: "px-3.5 sm:px-3 py-2 sm:py-1.5 text-base sm:text-sm gap-2 sm:gap-1.5";
299
+ readonly icon: {
300
+ readonly classes: "w-5 h-5 sm:w-4 sm:h-4";
301
+ readonly pixels: {
302
+ readonly mobile: 20;
303
+ readonly desktop: 16;
304
+ };
305
+ };
306
+ };
307
+ readonly lg: {
308
+ readonly classes: "px-5 sm:px-4 py-2.5 sm:py-2 text-lg sm:text-base gap-2.5 sm:gap-2";
309
+ readonly icon: {
310
+ readonly classes: "w-6 h-6 sm:w-5 sm:h-5";
311
+ readonly pixels: {
312
+ readonly mobile: 24;
313
+ readonly desktop: 20;
314
+ };
315
+ };
316
+ };
317
+ };
318
+ declare const codeSizes: {
319
+ readonly sm: "text-xs px-1 py-0.5";
320
+ readonly md: "text-sm px-1.5 py-0.5";
321
+ readonly lg: "text-base px-2 py-1";
322
+ };
323
+ type CodeSize = keyof typeof codeSizes;
324
+ declare const statusLabelSizes: {
325
+ readonly sm: {
326
+ readonly container: "px-2 py-0.5 text-xs gap-1.5";
327
+ readonly dot: "w-1.5 h-1.5";
328
+ };
329
+ readonly md: {
330
+ readonly container: "px-2.5 py-0.5 text-sm gap-2";
331
+ readonly dot: "w-2 h-2";
332
+ };
333
+ readonly lg: {
334
+ readonly container: "px-3 py-1 text-base gap-2";
335
+ readonly dot: "w-2.5 h-2.5";
336
+ };
337
+ };
338
+ type StatusLabelSize = keyof typeof statusLabelSizes;
339
+ declare const textSizes: {
340
+ readonly xs: "text-sm sm:text-xs";
341
+ readonly sm: "text-base sm:text-sm";
342
+ readonly base: "text-base";
343
+ readonly lg: "text-lg";
344
+ readonly xl: "text-xl sm:text-lg";
345
+ readonly '2xl': "text-2xl sm:text-xl";
346
+ readonly '3xl': "text-3xl sm:text-2xl";
347
+ readonly '4xl': "text-4xl sm:text-3xl";
348
+ readonly '5xl': "text-5xl sm:text-4xl";
349
+ };
350
+ type TextSize = keyof typeof textSizes;
351
+ declare const headingSizes: {
352
+ readonly sm: "text-base font-semibold";
353
+ readonly md: "text-lg font-bold";
354
+ readonly lg: "text-xl font-bold";
355
+ readonly xl: "text-2xl font-bold";
356
+ readonly '2xl': "text-3xl font-bold sm:text-2xl";
357
+ readonly '3xl': "text-4xl font-bold sm:text-3xl";
358
+ readonly '4xl': "text-5xl font-bold sm:text-4xl";
359
+ };
360
+ type HeadingSize = keyof typeof headingSizes;
361
+ declare const cardSizes: {
362
+ readonly xs: "w-full sm:max-w-36";
363
+ readonly sm: "w-full sm:max-w-64";
364
+ readonly md: "w-full sm:max-w-96";
365
+ readonly lg: "w-full sm:max-w-[28rem]";
366
+ readonly xl: "w-full sm:max-w-[32rem]";
367
+ readonly '2xl': "w-full sm:max-w-[36rem]";
368
+ readonly full: "w-full";
369
+ };
370
+ type CardSize = keyof typeof cardSizes;
371
+ declare const gapSizes: {
372
+ readonly none: "gap-0";
373
+ readonly xs: "gap-2 sm:gap-1";
374
+ readonly sm: "gap-3 sm:gap-2";
375
+ readonly md: "gap-5 sm:gap-4";
376
+ readonly lg: "gap-7 sm:gap-6";
377
+ readonly xl: "gap-10 sm:gap-8";
378
+ readonly '2xl': "gap-14 sm:gap-12";
379
+ readonly '3xl': "gap-20 sm:gap-16";
380
+ };
381
+ type GapSize = keyof typeof gapSizes;
382
+ declare const containerSizes: {
383
+ readonly sm: "max-w-screen-sm";
384
+ readonly md: "max-w-screen-md";
385
+ readonly lg: "max-w-screen-lg";
386
+ readonly xl: "max-w-screen-xl";
387
+ readonly '2xl': "max-w-screen-2xl";
388
+ readonly '3xl': "max-w-[1920px]";
389
+ readonly full: "max-w-full";
390
+ readonly screen: "max-w-[100vw]";
391
+ };
392
+ type ContainerSize = keyof typeof containerSizes;
393
+ declare const containerMinWidths: {
394
+ readonly xs: "min-w-[20rem]";
395
+ readonly sm: "min-w-[24rem]";
396
+ readonly md: "min-w-[28rem]";
397
+ readonly lg: "min-w-[32rem]";
398
+ readonly xl: "min-w-[36rem]";
399
+ readonly '2xl': "min-w-[42rem]";
400
+ readonly '3xl': "min-w-[48rem]";
401
+ readonly full: "min-w-full";
402
+ readonly screen: "min-w-screen";
403
+ };
404
+ declare const containerMinHeights: {
405
+ readonly xs: "min-h-[10rem]";
406
+ readonly sm: "min-h-[15rem]";
407
+ readonly md: "min-h-[20rem]";
408
+ readonly lg: "min-h-[25rem]";
409
+ readonly xl: "min-h-[30rem]";
410
+ readonly '2xl': "min-h-[35rem]";
411
+ readonly '3xl': "min-h-[40rem]";
412
+ readonly full: "min-h-full";
413
+ readonly screen: "min-h-screen";
414
+ };
415
+ declare const sectionPadding: {
416
+ readonly none: "py-0";
417
+ readonly xs: "py-6 sm:py-4";
418
+ readonly sm: "py-10 sm:py-8";
419
+ readonly md: "py-16 sm:py-12";
420
+ readonly lg: "py-20 sm:py-16";
421
+ readonly xl: "py-28 sm:py-24";
422
+ readonly '2xl': "py-36 sm:py-32";
423
+ };
424
+ type SectionPaddingSize = keyof typeof sectionPadding;
425
+ declare const cardPadding: {
426
+ readonly none: "p-0";
427
+ readonly xs: "p-3 sm:p-2";
428
+ readonly sm: "p-5 sm:p-4";
429
+ readonly md: "p-7 sm:p-6";
430
+ readonly lg: "p-9 sm:p-8";
431
+ readonly xl: "p-12 sm:p-10";
432
+ readonly '2xl': "p-14 sm:p-12";
433
+ };
434
+ type CardPaddingSize = keyof typeof cardPadding;
435
+ declare const overlaySizes: {
436
+ readonly xs: "w-full sm:w-64";
437
+ readonly sm: "w-full sm:w-80";
438
+ readonly md: "w-full sm:w-96";
439
+ readonly lg: "w-full sm:w-[28rem]";
440
+ readonly xl: "w-full sm:w-[32rem]";
441
+ readonly '2xl': "w-full sm:w-[40rem]";
442
+ readonly '3xl': "w-full sm:w-[48rem]";
443
+ readonly full: "w-full max-w-2xl";
444
+ };
445
+ type OverlaySize = keyof typeof overlaySizes;
446
+ declare const borderRadius: {
447
+ readonly none: "rounded-none";
448
+ readonly sm: "rounded-sm";
449
+ readonly md: "rounded-md";
450
+ readonly lg: "rounded-lg";
451
+ readonly xl: "rounded-xl";
452
+ readonly '2xl': "rounded-2xl";
453
+ readonly '3xl': "rounded-3xl";
454
+ readonly full: "rounded-full";
455
+ };
456
+ type BorderRadiusSize = keyof typeof borderRadius;
457
+ declare function getIconPixels(size: Size | number, variant?: 'mobile' | 'desktop'): number;
458
+ declare function getVisualClasses(size: Size): string;
459
+
460
+ type IconSize = Size | number;
29
461
  interface IconProps {
30
462
  name: string;
31
463
  size?: IconSize;
@@ -80,7 +512,7 @@ declare function redirectToLogin(authUrl: string, returnUrl?: string): void;
80
512
  declare function openLoginPopup(authUrl: string, onSuccess?: () => void): Window | null;
81
513
 
82
514
  type LogoProps = {
83
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
515
+ size?: Size;
84
516
  className?: string;
85
517
  };
86
518
  declare function Logo({ size, className }: Readonly<LogoProps>): react_jsx_runtime.JSX.Element;
@@ -88,13 +520,14 @@ declare function Logo({ size, className }: Readonly<LogoProps>): react_jsx_runti
88
520
  type ContainerProps = {
89
521
  children: React__default.ReactNode;
90
522
  className?: string;
91
- size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
92
- padding?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
523
+ size?: ContainerSize;
524
+ padding?: 'none' | SectionPaddingSize;
93
525
  align?: 'start' | 'center' | 'end';
94
- minWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' | string;
95
- minHeight?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'screen' | string;
526
+ alignItems?: 'start' | 'center' | 'end';
527
+ minWidth?: keyof typeof containerMinWidths | string;
528
+ minHeight?: keyof typeof containerMinHeights | string;
96
529
  };
97
- declare function Container({ children, className, size, padding, align, minWidth, minHeight }: Readonly<ContainerProps>): react_jsx_runtime.JSX.Element;
530
+ declare function Container({ children, className, size, padding, align, alignItems, minWidth, minHeight }: Readonly<ContainerProps>): react_jsx_runtime.JSX.Element;
98
531
  declare namespace Container {
99
532
  var displayName: string;
100
533
  }
@@ -142,7 +575,7 @@ declare namespace PageHeader {
142
575
  interface SectionProps {
143
576
  children: React.ReactNode;
144
577
  variant?: 'default' | 'muted' | 'primary' | 'dark';
145
- padding?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
578
+ padding?: SectionPaddingSize;
146
579
  className?: string;
147
580
  id?: string;
148
581
  }
@@ -167,7 +600,7 @@ type StackProps = {
167
600
  children: React__default.ReactNode;
168
601
  className?: string;
169
602
  direction?: 'horizontal' | 'vertical';
170
- spacing?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
603
+ spacing?: GapSize;
171
604
  align?: 'start' | 'center' | 'end' | 'stretch';
172
605
  justify?: 'start' | 'center' | 'end' | 'between' | 'around';
173
606
  };
@@ -208,7 +641,7 @@ type DrawerProps = {
208
641
  position?: 'left' | 'right' | 'top' | 'bottom';
209
642
  className?: string;
210
643
  title?: string;
211
- size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
644
+ size?: OverlaySize;
212
645
  closeOnEscape?: boolean;
213
646
  closeOnOutside?: boolean;
214
647
  unmountOnExit?: boolean;
@@ -224,7 +657,7 @@ type CardProps = {
224
657
  children: React__default.ReactNode;
225
658
  className?: string;
226
659
  variant?: 'default' | 'bordered' | 'ghost' | 'filled';
227
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
660
+ size?: CardSize;
228
661
  width?: 'auto' | 'full' | 'fit';
229
662
  hoverable?: boolean;
230
663
  imagePosition?: 'top' | 'bottom' | 'side' | 'overlay';
@@ -249,7 +682,7 @@ declare namespace CardHeader {
249
682
 
250
683
  interface CardBodyProps {
251
684
  children: React.ReactNode;
252
- padding?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
685
+ padding?: CardPaddingSize;
253
686
  className?: string;
254
687
  }
255
688
  declare function CardBody({ children, padding, className }: CardBodyProps): react_jsx_runtime.JSX.Element;
@@ -294,7 +727,7 @@ type CardTitleProps = {
294
727
  children: ReactNode;
295
728
  className?: string;
296
729
  as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
297
- size?: 'sm' | 'md' | 'lg' | 'xl';
730
+ size?: HeadingSize;
298
731
  };
299
732
  declare function CardTitle({ children, className, as: Component, size }: Readonly<CardTitleProps>): react_jsx_runtime.JSX.Element;
300
733
  declare namespace CardTitle {
@@ -443,7 +876,7 @@ type ButtonProps = {
443
876
  iconPosition?: 'left' | 'right';
444
877
  variant?: 'neutral' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
445
878
  style?: 'solid' | 'outline' | 'ghost' | 'link' | 'soft';
446
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
879
+ size?: InteractiveSize;
447
880
  rounded?: 'default' | 'pill' | 'square' | 'circle';
448
881
  loading?: boolean;
449
882
  fullWidth?: boolean;
@@ -639,7 +1072,7 @@ type AvatarProps = {
639
1072
  src?: string;
640
1073
  alt?: string;
641
1074
  fallback?: ReactNode;
642
- size?: 'sm' | 'md' | 'lg' | 'xl';
1075
+ size?: Size;
643
1076
  className?: string;
644
1077
  };
645
1078
  declare function Avatar({ src, alt, fallback, size, className }: Readonly<AvatarProps>): react_jsx_runtime.JSX.Element;
@@ -661,7 +1094,7 @@ declare namespace Badge {
661
1094
  type StatusLabelProps = {
662
1095
  children: ReactNode;
663
1096
  status?: 'active' | 'inactive' | 'pending' | 'success' | 'error' | 'warning' | 'info';
664
- size?: 'sm' | 'md' | 'lg';
1097
+ size?: StatusLabelSize;
665
1098
  variant?: 'filled' | 'outlined';
666
1099
  className?: string;
667
1100
  };
@@ -1052,7 +1485,7 @@ declare namespace SmoothTransition {
1052
1485
  declare function useStaggeredTransition(count: number, baseDelay?: number): number[];
1053
1486
 
1054
1487
  type SpinnerProps = {
1055
- size?: 'sm' | 'md' | 'lg';
1488
+ size?: Size;
1056
1489
  variant?: 'primary' | 'accent' | 'secondary' | 'neutral';
1057
1490
  className?: string;
1058
1491
  speed?: string;
@@ -1142,7 +1575,7 @@ type DatePickerProps = {
1142
1575
  dateFormat?: string;
1143
1576
  clearable?: boolean;
1144
1577
  className?: string;
1145
- size?: 'sm' | 'md' | 'lg';
1578
+ size?: InteractiveSize;
1146
1579
  };
1147
1580
  declare function DatePicker({ value, onChange, minDate, maxDate, placeholder, disabled, dateFormat, clearable, className, size }: Readonly<DatePickerProps>): react_jsx_runtime.JSX.Element;
1148
1581
  declare namespace DatePicker {
@@ -1167,7 +1600,7 @@ declare namespace Checkbox {
1167
1600
 
1168
1601
  type CodeProps$1 = {
1169
1602
  children: React.ReactNode;
1170
- size?: 'sm' | 'md' | 'lg';
1603
+ size?: CodeSize;
1171
1604
  variant?: 'default' | 'primary' | 'success' | 'warning' | 'error';
1172
1605
  className?: string;
1173
1606
  };
@@ -1243,7 +1676,7 @@ type InputProps = {
1243
1676
  id?: string;
1244
1677
  name?: string;
1245
1678
  required?: boolean;
1246
- size?: 'sm' | 'md' | 'lg';
1679
+ size?: InteractiveSize;
1247
1680
  validationState?: ValidationState$3;
1248
1681
  };
1249
1682
  declare function Input({ value, onChange, onFocus, placeholder, disabled, type, className, ariaLabel, ref, id, name, required, size, validationState }: Readonly<InputProps>): react_jsx_runtime.JSX.Element;
@@ -1273,7 +1706,7 @@ type MultiSelectProps = {
1273
1706
  placeholder?: string;
1274
1707
  disabled?: boolean;
1275
1708
  maxSelections?: number;
1276
- size?: 'sm' | 'md' | 'lg';
1709
+ size?: InteractiveSize;
1277
1710
  className?: string;
1278
1711
  };
1279
1712
  declare function MultiSelect({ options, value, onChange, placeholder, disabled, maxSelections, size, className }: Readonly<MultiSelectProps>): react_jsx_runtime.JSX.Element;
@@ -1425,7 +1858,7 @@ type TextProps = {
1425
1858
  children: ReactNode;
1426
1859
  as?: 'p' | 'span' | 'label' | 'strong' | 'em' | 'small' | 'mark' | 'del' | 'ins' | 'sub' | 'sup' | 'abbr' | 'cite' | 'q';
1427
1860
  variant?: 'body' | 'muted' | 'small' | 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'inherit';
1428
- size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl';
1861
+ size?: TextSize;
1429
1862
  weight?: 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold';
1430
1863
  align?: 'left' | 'center' | 'right' | 'justify';
1431
1864
  leading?: 'none' | 'tight' | 'snug' | 'normal' | 'relaxed' | 'loose';
@@ -1462,4 +1895,4 @@ declare namespace Code {
1462
1895
 
1463
1896
  declare function useScrollReset(deps: unknown[], container?: HTMLElement | null | RefObject<HTMLElement | null>): void;
1464
1897
 
1465
- export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, Alert, type AlertProps, type AuthActions, type AuthContextType, AuthProvider, type AuthProviderConfig, type AuthProviderProps, type AuthState, type AuthUser, Avatar, type AvatarProps, Badge, type BadgeProps, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, ButtonWithIcon, Calendar, type CalendarProps, Card, CardActions, type CardActionsProps, CardBody, type CardBodyProps, CardFigure, type CardFigureProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Code, CodeBlock, type CodeBlockProps, Code$1 as CodeInput, type CodeProps, ColorModeToggle, type ColorModeToggleProps, type ColumnDef, Container, type ContainerProps, DataTable, type DataTableAction, type DataTableActionItem, type DataTableProps, DatePicker, type DatePickerProps, DeleteDialog, Dialog, type DialogProps, Divider, type DividerProps, Drawer, type DrawerProps, Dropdown, DropdownItem, type DropdownItemProps, type DropdownProps, EmptyState, type EmptyStateProps, type Feature, FeatureSection, type FeatureSectionProps, Fieldset, Footer, type FooterProps, type FooterSection, Form, FormField, type FormFieldProps, Grid, type GridProps, Heading, type HeadingProps, Hero, type HeroAction, type HeroProps, Icon, IconButton, Input, InputGroup, type InputGroupProps, type InputProps, LeftNavItem, type LeftNavItemProps, LeftNavLayout, type LeftNavLayoutProps, LeftNavSection, type LeftNavSectionProps, Link, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Logo, type LogoProps, Modal, type ModalProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, Nav, NavDropdown, NavDropdownItem, type NavProps, Navbar, NavbarBrand, type NavbarBrandProps, NavbarLink, type NavbarLinkProps, type NavbarProps, NavbarToggle, type NavbarToggleProps, useOverlay as OverlayProvider, Page, PageHeader, type PageProps, PageTransition, Pagination, type PaginationProps, Popover, type PopoverProps, PriceDisplay, type PricingFeature, PricingTable, type PricingTableProps, PricingTier, type PricingTierProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Section, SectionHeader, Select, SelectItem, type SelectProps, Sidebar, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SmoothTransition, type SmoothTransitionProps, type SortConfig, type SortDirection, Spinner, type SpinnerProps, Stack, type StackProps, StatusLabel, type StepProps, Stepper, type StepperProps, Switch, type SwitchProps, type Tab, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHeadCell, type TableHeadCellProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Text, type TextProps, Textarea, type TextareaProps, type Theme, type ThemeContextType, ThemeProvider, type ThemeProviderProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, Toast, type ToastProps, Tooltip, type TooltipProps, type TransitionDuration, type TransitionType, type UseTableOptions, type UseTableReturn, authFetch, checkAuthStatus, getCurrentUser, loginExternal, logoutExternal, openLoginPopup, redirectToLogin, useAuth, useScrollReset, useStaggeredTransition, useTable, useTheme };
1898
+ export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, Alert, type AlertProps, type AuthActions, type AuthContextType, AuthProvider, type AuthProviderConfig, type AuthProviderProps, type AuthState, type AuthUser, Avatar, type AvatarProps, Badge, type BadgeProps, type BorderRadiusSize, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, ButtonWithIcon, Calendar, type CalendarProps, Card, CardActions, type CardActionsProps, CardBody, type CardBodyProps, CardFigure, type CardFigureProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardPaddingSize, type CardProps, type CardSize, CardTitle, type CardTitleProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Code, CodeBlock, type CodeBlockProps, Code$1 as CodeInput, type CodeProps, type CodeSize, ColorModeToggle, type ColorModeToggleProps, type ColumnDef, Container, type ContainerProps, type ContainerSize, DataTable, type DataTableAction, type DataTableActionItem, type DataTableProps, DatePicker, type DatePickerProps, DeleteDialog, Dialog, type DialogProps, Divider, type DividerProps, Drawer, type DrawerProps, Dropdown, DropdownItem, type DropdownItemProps, type DropdownProps, EmptyState, type EmptyStateProps, type Feature, FeatureSection, type FeatureSectionProps, Fieldset, Footer, type FooterProps, type FooterSection, Form, FormField, type FormFieldProps, type GapSize, Grid, type GridProps, Heading, type HeadingProps, type HeadingSize, Hero, type HeroAction, type HeroProps, Icon, IconButton, Input, InputGroup, type InputGroupProps, type InputProps, type InteractiveSize, LeftNavItem, type LeftNavItemProps, LeftNavLayout, type LeftNavLayoutProps, LeftNavSection, type LeftNavSectionProps, Link, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Logo, type LogoProps, Modal, type ModalProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, Nav, NavDropdown, NavDropdownItem, type NavProps, Navbar, NavbarBrand, type NavbarBrandProps, NavbarLink, type NavbarLinkProps, type NavbarProps, NavbarToggle, type NavbarToggleProps, useOverlay as OverlayProvider, type OverlaySize, Page, PageHeader, type PageProps, PageTransition, Pagination, type PaginationProps, Popover, type PopoverProps, PriceDisplay, type PricingFeature, PricingTable, type PricingTableProps, PricingTier, type PricingTierProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Section, SectionHeader, type SectionPaddingSize, Select, SelectItem, type SelectProps, Sidebar, type SidebarProps, type Size, Skeleton, type SkeletonProps, Slider, type SliderProps, SmoothTransition, type SmoothTransitionProps, type SortConfig, type SortDirection, Spinner, type SpinnerProps, Stack, type StackProps, StatusLabel, type StatusLabelSize, type StepProps, Stepper, type StepperProps, Switch, type SwitchProps, type Tab, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHeadCell, type TableHeadCellProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Text, type TextProps, type TextSize, Textarea, type TextareaProps, type Theme, type ThemeContextType, ThemeProvider, type ThemeProviderProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, Toast, type ToastProps, Tooltip, type TooltipProps, type TransitionDuration, type TransitionType, type UseTableOptions, type UseTableReturn, authFetch, avatarSizes, badgeSizes, borderRadius, cardPadding, cardSizes, checkAuthStatus, chipSizes, codeSizes, containerMinHeights, containerMinWidths, containerSizes, gapSizes, getCurrentUser, getIconPixels, getVisualClasses, headingSizes, interactiveSizes, loginExternal, logoSizes, logoutExternal, openLoginPopup, overlaySizes, redirectToLogin, sectionPadding, spinnerSizes, statusLabelSizes, textSizes, useAuth, useScrollReset, useStaggeredTransition, useTable, useTheme, visualSizes };