glintly-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.
@@ -0,0 +1,967 @@
1
+ import { default as default_2 } from 'react';
2
+ import { Dropdown } from './dropdown';
3
+ import { DropdownDivider } from './dropdown';
4
+ import { DropdownForm } from './dropdown';
5
+ import { DropdownHeader } from './dropdown';
6
+ import { DropdownItem } from './dropdown';
7
+ import { DropdownMenu } from './dropdown';
8
+ import { DropdownSearch } from './dropdown';
9
+ import { DropdownText } from './dropdown';
10
+ import { DropdownToggle } from './dropdown';
11
+ import { List } from './list';
12
+ import { ListDivider } from './list';
13
+ import { ListItem } from './list';
14
+ import { ListSectionHeader } from './list';
15
+ import { Pagination } from './pagination';
16
+ import { ReactNode } from 'react';
17
+
18
+ export declare const Accordion: default_2.FC<AccordionProps>;
19
+
20
+ declare interface AccordionItemData {
21
+ id: string | number;
22
+ title: default_2.ReactNode;
23
+ content: default_2.ReactNode;
24
+ disabled?: boolean;
25
+ defaultOpen?: boolean;
26
+ iconLeft?: string;
27
+ }
28
+
29
+ declare interface AccordionProps {
30
+ items: AccordionItemData[];
31
+ allowMultiple?: boolean;
32
+ defaultOpenIds?: Array<string | number>;
33
+ openIds?: Array<string | number>;
34
+ onChange?: (openIds: Array<string | number>) => void;
35
+ variant?: AccordionVariant;
36
+ size?: AccordionSize;
37
+ className?: string;
38
+ }
39
+
40
+ declare type AccordionSize = "sm" | "md" | "lg";
41
+
42
+ declare type AccordionVariant = "solid" | "bordered" | "shadow";
43
+
44
+ declare interface Action {
45
+ type: ActionType;
46
+ label: string;
47
+ iconName: string;
48
+ isVisible?: (row: DataTableItem) => boolean;
49
+ isDisabled?: (row: DataTableItem) => boolean;
50
+ onClick?: (row: DataTableItem) => void;
51
+ }
52
+
53
+ declare type ActionType = string;
54
+
55
+ export declare const Avatar: default_2.FC<AvatarProps>;
56
+
57
+ declare interface AvatarProps {
58
+ src?: string;
59
+ title?: string;
60
+ subTitle?: string;
61
+ data?: Data[];
62
+ size?: AvatarSize;
63
+ max?: number;
64
+ showDetails?: boolean;
65
+ group?: boolean;
66
+ placeholder?: string;
67
+ variant?: AvatarVariant;
68
+ outlined?: boolean;
69
+ status?: default_2.ReactNode;
70
+ showInitials?: 0 | 1 | 2 | 3;
71
+ theme?: AvatarTheme;
72
+ badge?: BadgeProps;
73
+ onClick?: (event: default_2.MouseEvent<HTMLDivElement>, item?: Data) => void;
74
+ }
75
+
76
+ declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
77
+
78
+ declare type AvatarTheme = 'default' | 'gradient-blue' | 'gradient-purple' | 'gradient-pink' | 'gradient-green';
79
+
80
+ declare type AvatarVariant = 'circle' | 'square';
81
+
82
+ export declare const Badge: default_2.FC<BadgeProps_2>;
83
+
84
+ export declare const BadgeGroup: default_2.FC<BadgeGroupProps>;
85
+
86
+ declare interface BadgeGroupProps {
87
+ children: default_2.ReactNode;
88
+ spacing?: string;
89
+ className?: string;
90
+ style?: default_2.CSSProperties;
91
+ 'data-testid'?: string;
92
+ }
93
+
94
+ declare interface BadgeProp {
95
+ content?: string | number;
96
+ variant?: 'primary' | 'success' | 'warning' | 'error';
97
+ }
98
+
99
+ declare interface BadgeProps {
100
+ content?: string | number;
101
+ position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
102
+ variant?: 'primary' | 'success' | 'warning' | 'error' | 'info';
103
+ }
104
+
105
+ declare interface BadgeProps_2 {
106
+ children?: default_2.ReactNode;
107
+ variant?: BadgeVariant;
108
+ size?: BadgeSize;
109
+ radius?: BadgeRadius;
110
+ icon?: IconProp_2;
111
+ dot?: boolean;
112
+ outlined?: boolean;
113
+ dismissible?: boolean;
114
+ onDismiss?: () => void;
115
+ className?: string;
116
+ style?: default_2.CSSProperties;
117
+ 'data-testid'?: string;
118
+ }
119
+
120
+ declare type BadgeRadius = 'none' | 'sm' | 'md' | 'lg' | 'full';
121
+
122
+ declare type BadgeSize = 'xs' | 'sm' | 'md' | 'lg';
123
+
124
+ declare type BadgeVariant = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' | 'gray';
125
+
126
+ declare interface BorderRadius {
127
+ [key: string]: string;
128
+ }
129
+
130
+ export declare const BoxIcon: default_2.FC<{
131
+ name: string;
132
+ color?: string;
133
+ type?: string;
134
+ height?: string;
135
+ width?: string;
136
+ style?: default_2.CSSProperties;
137
+ }>;
138
+
139
+ declare type BreakpointKey = "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
140
+
141
+ declare interface Breakpoints {
142
+ [key: string]: string;
143
+ }
144
+
145
+ export declare const Button: default_2.FC<ButtonComponentProps>;
146
+
147
+ declare interface ButtonComponentProps extends Omit<default_2.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect"> {
148
+ children?: default_2.ReactNode;
149
+ variant?: ButtonVariant;
150
+ size?: ButtonSize;
151
+ shade?: ShadeKey;
152
+ icon?: IconProp_2;
153
+ shadow?: ButtonShadow;
154
+ border?: boolean;
155
+ fullWidth?: boolean;
156
+ transparent?: boolean;
157
+ }
158
+
159
+ declare type ButtonShadow = "sm" | "md" | "lg";
160
+
161
+ declare type ButtonSize = "xs" | "sm" | "md" | "lg" | "xl";
162
+
163
+ declare type ButtonVariant = "primary" | "secondary" | "gray" | "transparent";
164
+
165
+ export declare const Card: default_2.FC<CardProps>;
166
+
167
+ declare interface CardProps {
168
+ title?: string;
169
+ subtitle?: string;
170
+ children?: default_2.ReactNode;
171
+ backgroundColor?: string;
172
+ borderRadius?: string;
173
+ padding?: string;
174
+ shadow?: boolean;
175
+ width?: string;
176
+ className?: string;
177
+ onClick?: () => void;
178
+ style?: default_2.CSSProperties;
179
+ }
180
+
181
+ export declare const Carousel: default_2.FC<CarouselProps>;
182
+
183
+ export declare const CarouselCaption: default_2.FC<CarouselCaptionProps>;
184
+
185
+ declare interface CarouselCaptionProps {
186
+ children: ReactNode;
187
+ className?: string;
188
+ style?: React.CSSProperties;
189
+ }
190
+
191
+ export declare const CarouselItem: default_2.FC<CarouselItemProps>;
192
+
193
+ declare interface CarouselItemProps {
194
+ children: ReactNode;
195
+ className?: string;
196
+ style?: React.CSSProperties;
197
+ }
198
+
199
+ declare interface CarouselProps {
200
+ children?: ReactNode;
201
+ slides?: CarouselSlide[];
202
+ autoPlay?: boolean;
203
+ autoPlayInterval?: number;
204
+ showNavigation?: boolean;
205
+ showDots?: boolean;
206
+ showArrows?: boolean;
207
+ infinite?: boolean;
208
+ className?: string;
209
+ style?: React.CSSProperties;
210
+ onSlideChange?: (currentIndex: number) => void;
211
+ }
212
+
213
+ declare interface CarouselSlide {
214
+ id: string | number;
215
+ content: ReactNode;
216
+ alt?: string;
217
+ }
218
+
219
+ export declare const CodeViewer: default_2.FC<CodeViewerProps>;
220
+
221
+ declare interface CodeViewerProps {
222
+ isOpen?: boolean;
223
+ data?: {
224
+ title?: string;
225
+ code: {
226
+ react?: string;
227
+ css?: string;
228
+ html?: string;
229
+ };
230
+ };
231
+ onClose?: () => void;
232
+ variant?: "default" | "modal";
233
+ }
234
+
235
+ export declare const Col: default_2.FC<ColProps>;
236
+
237
+ declare interface Colors {
238
+ light: ColorVariant;
239
+ dark: ColorVariant;
240
+ [key: string]: ColorVariant;
241
+ }
242
+
243
+ declare type ColorScale = {
244
+ 25?: string;
245
+ 50?: string;
246
+ 100?: string;
247
+ 200?: string;
248
+ 300?: string;
249
+ 400?: string;
250
+ 500?: string;
251
+ 600?: string;
252
+ 700?: string;
253
+ 800?: string;
254
+ 900?: string;
255
+ };
256
+
257
+ declare interface ColorVariant {
258
+ primary: ColorScale;
259
+ secondary: ColorScale;
260
+ background: string;
261
+ surface: string;
262
+ text: {
263
+ primary: string;
264
+ secondary: string;
265
+ disabled: string;
266
+ };
267
+ error: ColorScale;
268
+ success: ColorScale;
269
+ warning: ColorScale;
270
+ gray: ColorScale;
271
+ iconButton: ColorScale;
272
+ [key: string]: ColorScale | string | {
273
+ [key: string]: string;
274
+ };
275
+ }
276
+
277
+ declare type ColProps = {
278
+ xs?: number;
279
+ sm?: number;
280
+ md?: number;
281
+ lg?: number;
282
+ xl?: number;
283
+ children: default_2.ReactNode;
284
+ style?: default_2.CSSProperties;
285
+ className?: string;
286
+ };
287
+
288
+ declare interface ComingSoonProps {
289
+ title?: string;
290
+ description?: string;
291
+ buttonText?: string;
292
+ onClick?: () => void;
293
+ }
294
+
295
+ declare interface ConnectionErrorProps {
296
+ title?: string;
297
+ description?: string;
298
+ buttonText?: string;
299
+ onClick?: () => void;
300
+ }
301
+
302
+ declare interface ConnectionVariantsProp {
303
+ title?: string;
304
+ description?: string;
305
+ }
306
+
307
+ export declare const Container: default_2.FC<ContainerProps>;
308
+
309
+ declare interface ContainerProps extends default_2.HTMLAttributes<HTMLDivElement> {
310
+ maxWidth?: BreakpointKey | number | false;
311
+ fullWidth?: boolean;
312
+ disableGutters?: boolean;
313
+ center?: boolean;
314
+ children?: default_2.ReactNode;
315
+ }
316
+
317
+ declare interface Data {
318
+ title?: string;
319
+ subTitle?: string;
320
+ avatar?: string;
321
+ status?: default_2.ReactNode;
322
+ showInitials?: 0 | 1 | 2 | 3;
323
+ theme?: AvatarTheme;
324
+ badge?: BadgeProps;
325
+ [key: string]: unknown;
326
+ }
327
+
328
+ export declare const DataTable: default_2.FC<DataTableProps>;
329
+
330
+ declare interface DataTableColumn {
331
+ title: string;
332
+ key: string;
333
+ render?: (value: unknown, rowData: DataTableItem) => default_2.ReactNode;
334
+ renderLinks?: (value: unknown, rowData: DataTableItem) => default_2.ReactNode;
335
+ onRowClick?: (id: string | number) => void;
336
+ link?: string;
337
+ data?: Record<string, unknown>;
338
+ sortable?: boolean;
339
+ actionDisplay?: "menu" | "default";
340
+ actions?: Action[];
341
+ maxWords?: number;
342
+ width?: string | number;
343
+ align?: "left" | "center" | "right";
344
+ }
345
+
346
+ declare interface DataTableItem {
347
+ id: number | string;
348
+ [key: string]: unknown;
349
+ }
350
+
351
+ declare interface DataTablePaginationProps {
352
+ currentPage: number;
353
+ rowsPerPage: number;
354
+ totalRows: number;
355
+ rowsPerPageLabel?: string;
356
+ onPageChange: (page: number) => void;
357
+ onRowsPerPageChange?: (rows: number) => void;
358
+ rowsPerPageOptions?: number[];
359
+ }
360
+
361
+ declare interface DataTableProps {
362
+ data: DataTableItem[];
363
+ columns: DataTableColumn[];
364
+ searchable?: boolean;
365
+ pagination?: DataTablePaginationProps;
366
+ onRowClick?: (row: DataTableItem) => void;
367
+ checkboxSelection?: boolean;
368
+ loading?: boolean;
369
+ emptyStateMessage?: string;
370
+ className?: string;
371
+ style?: default_2.CSSProperties;
372
+ }
373
+
374
+ export declare const DatePicker: default_2.FC<DatePickerProps>;
375
+
376
+ declare interface DatePickerProps {
377
+ id?: string;
378
+ label?: string;
379
+ name?: string;
380
+ required?: boolean;
381
+ minDate?: Date;
382
+ maxDate?: Date;
383
+ mode?: "single" | "range";
384
+ value?: Date | {
385
+ start: Date | null;
386
+ end: Date | null;
387
+ } | null;
388
+ onChange?: (e: {
389
+ target: {
390
+ name: string;
391
+ value: any;
392
+ };
393
+ }) => void;
394
+ placeholder?: string;
395
+ fullwidth?: boolean;
396
+ dualInput?: boolean;
397
+ showButtons?: boolean;
398
+ shadow?: "sm" | "md" | "lg";
399
+ }
400
+
401
+ declare const defaultFontSizes: {
402
+ xs: string;
403
+ sm: string;
404
+ base: string;
405
+ lg: string;
406
+ xl: string;
407
+ '2xl': string;
408
+ '3xl': string;
409
+ '4xl': string;
410
+ };
411
+
412
+ declare const defaultLineHeights: Record<string, string>;
413
+
414
+ export { Dropdown }
415
+
416
+ export { DropdownDivider }
417
+
418
+ export { DropdownForm }
419
+
420
+ export { DropdownHeader }
421
+
422
+ export { DropdownItem }
423
+
424
+ export { DropdownMenu }
425
+
426
+ export { DropdownSearch }
427
+
428
+ export { DropdownText }
429
+
430
+ export { DropdownToggle }
431
+
432
+ export declare const ErrorPage: default_2.FC<ErrorPageProps>;
433
+
434
+ declare interface ErrorPageProps extends EyesVariantProps, ConnectionVariantsProp, ComingSoonProps, ConnectionErrorProps {
435
+ variant?: 'default' | 'connection' | 'comingSoon';
436
+ height?: string;
437
+ }
438
+
439
+ declare interface EyesVariantProps {
440
+ title?: string;
441
+ description?: string;
442
+ buttonText?: string;
443
+ onClick?: () => void;
444
+ }
445
+
446
+ export declare const FilterBar: default_2.FC<FilterBarProps>;
447
+
448
+ declare interface FilterBarProps {
449
+ filterFields?: FilterField[];
450
+ onFilterChange?: (filters: Record<string, string | string[]>) => void;
451
+ onClearFilters?: () => void;
452
+ disabled?: boolean;
453
+ className?: string;
454
+ style?: default_2.CSSProperties;
455
+ showClearButton?: boolean;
456
+ compactMode?: boolean;
457
+ title?: string;
458
+ }
459
+
460
+ declare interface FilterField {
461
+ key: string;
462
+ label: string;
463
+ type: "input" | "dropdown" | "multiSelect";
464
+ options?: {
465
+ label: string;
466
+ value: string | number;
467
+ }[];
468
+ source?: "toolbar" | "dialog";
469
+ placeholder?: string;
470
+ }
471
+
472
+ declare type IconPosition = 'left' | 'right' | 'both' | "onlyIcon";
473
+
474
+ declare type IconPosition_2 = 'left' | 'right' | 'both' | "onlyIcon";
475
+
476
+ declare interface IconProp {
477
+ left?: string;
478
+ right?: string;
479
+ onlyIcon?: string;
480
+ both?: [string, string];
481
+ color?: string;
482
+ width?: string;
483
+ height?: string;
484
+ }
485
+
486
+ declare interface IconProp_2 {
487
+ position?: IconPosition;
488
+ name?: string;
489
+ size?: IconSize;
490
+ color?: string;
491
+ width?: number | string;
492
+ height?: number | string;
493
+ className?: string;
494
+ style?: React.CSSProperties;
495
+ onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
496
+ onMouseEnter?: () => void;
497
+ onMouseLeave?: () => void;
498
+ onMouseDown?: () => void;
499
+ }
500
+
501
+ declare interface IconProp_3 {
502
+ position?: IconPosition_2;
503
+ name?: string;
504
+ size?: IconSize_2;
505
+ color?: string;
506
+ width?: number | string;
507
+ height?: number | string;
508
+ className?: string;
509
+ style?: React.CSSProperties;
510
+ onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
511
+ onMouseEnter?: () => void;
512
+ onMouseLeave?: () => void;
513
+ onMouseDown?: () => void;
514
+ }
515
+
516
+ declare type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
517
+
518
+ declare type IconSize_2 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
519
+
520
+ export declare const Input: default_2.FC<InputProps>;
521
+
522
+ declare type InputProps = {
523
+ label?: string;
524
+ name: string;
525
+ icon?: IconProp_3;
526
+ type?: InputType;
527
+ value?: string | number | boolean | (string | number)[];
528
+ checked?: boolean;
529
+ onChange?: (e: default_2.ChangeEvent<HTMLInputElement | HTMLSelectElement> | {
530
+ target: {
531
+ name: string;
532
+ value: string | number | boolean | (string | number)[];
533
+ };
534
+ }) => void;
535
+ options?: Option_2[];
536
+ placeholder?: string;
537
+ disabled?: boolean;
538
+ required?: boolean;
539
+ multiple?: boolean;
540
+ size?: InputSize;
541
+ autoComplete?: string;
542
+ helperText?: string;
543
+ errorMessage?: string;
544
+ readOnly?: boolean;
545
+ min?: number | string;
546
+ max?: number | string;
547
+ step?: number | string;
548
+ pattern?: string;
549
+ maxLength?: number;
550
+ minLength?: number;
551
+ defaultCountry?: string;
552
+ dropdownPosition?: "left" | "right";
553
+ enableSearch?: boolean;
554
+ formatValue?: boolean;
555
+ showToggle?: boolean;
556
+ accept?: string;
557
+ } & default_2.HTMLAttributes<HTMLInputElement>;
558
+
559
+ declare type InputSize = "xs" | "sm" | "md" | "lg";
560
+
561
+ declare type InputType = "text" | "number" | "password" | "email" | "checkbox" | "radio" | "select" | "url" | "tel" | "phone" | "date" | "time" | "datetime-local" | "file";
562
+
563
+ declare type InternalStepProps = StepProps & {
564
+ index?: number;
565
+ last?: boolean;
566
+ };
567
+
568
+ export { List }
569
+
570
+ export { ListDivider }
571
+
572
+ export { ListItem }
573
+
574
+ export { ListSectionHeader }
575
+
576
+ export declare const Modal: default_2.FC<ModalProps>;
577
+
578
+ declare interface ModalProps {
579
+ isOpen: boolean;
580
+ title?: string;
581
+ children: default_2.ReactNode;
582
+ onClose: () => void;
583
+ onConfirm?: () => void;
584
+ showFooter?: boolean;
585
+ confirmText?: string;
586
+ cancelText?: string;
587
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "fullWidth";
588
+ }
589
+
590
+ declare type ModeType = 'light' | 'dark';
591
+
592
+ export declare const Navbar: default_2.FC<NavbarProps>;
593
+
594
+ declare interface NavbarLinkItem {
595
+ label: string;
596
+ href?: string;
597
+ icon?: string;
598
+ active?: boolean;
599
+ disabled?: boolean;
600
+ onClick?: (e: default_2.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
601
+ }
602
+
603
+ declare type NavbarPosition = "static" | "sticky" | "fixed";
604
+
605
+ declare interface NavbarProps {
606
+ title?: string;
607
+ logoSrc?: string;
608
+ onBrandClick?: () => void;
609
+ links?: NavbarLinkItem[];
610
+ actions?: default_2.ReactNode;
611
+ align?: "left" | "center" | "right";
612
+ fullWidth?: boolean;
613
+ variant?: NavbarVariant;
614
+ position?: NavbarPosition;
615
+ size?: NavbarSize;
616
+ collapseAt?: number;
617
+ className?: string;
618
+ }
619
+
620
+ declare type NavbarSize = "sm" | "md" | "lg";
621
+
622
+ declare type NavbarVariant = "solid" | "transparent" | "elevated";
623
+
624
+ export declare const Offcanvas: default_2.FC<OffcanvasProps>;
625
+
626
+ declare interface OffcanvasProps {
627
+ isOpen: boolean;
628
+ onClose: () => void;
629
+ placement?: 'start' | 'end' | 'top' | 'bottom';
630
+ backdrop?: boolean;
631
+ children: default_2.ReactNode;
632
+ width?: string;
633
+ height?: string;
634
+ className?: string;
635
+ }
636
+
637
+ declare type Option_2 = {
638
+ label: string;
639
+ value: string | number;
640
+ };
641
+
642
+ export { Pagination }
643
+
644
+ export declare const Row: default_2.FC<RowProps>;
645
+
646
+ declare type RowProps = {
647
+ spacing?: number;
648
+ children: default_2.ReactNode;
649
+ style?: default_2.CSSProperties;
650
+ className?: string;
651
+ };
652
+
653
+ export declare const SearchBar: default_2.FC<SearchBarProps>;
654
+
655
+ declare interface SearchBarProps {
656
+ placeholder?: string;
657
+ onSearch?: (query: string) => void;
658
+ debounceMs?: number;
659
+ disabled?: boolean;
660
+ size?: "xs" | "sm" | "md" | "lg";
661
+ className?: string;
662
+ style?: default_2.CSSProperties;
663
+ value?: string;
664
+ onChange?: (value: string) => void;
665
+ }
666
+
667
+ declare type ShadeKey = keyof ColorScale;
668
+
669
+ export declare const SortBar: default_2.FC<SortBarProps>;
670
+
671
+ declare interface SortBarProps {
672
+ sortOptions?: SortOption[];
673
+ onSortChange?: (sortState: SortState | null) => void;
674
+ defaultSort?: SortState;
675
+ disabled?: boolean;
676
+ className?: string;
677
+ style?: default_2.CSSProperties;
678
+ showClearButton?: boolean;
679
+ compactMode?: boolean;
680
+ title?: string;
681
+ }
682
+
683
+ declare interface SortOption {
684
+ key: string;
685
+ label: string;
686
+ defaultDirection?: "asc" | "desc";
687
+ }
688
+
689
+ declare interface SortState {
690
+ key: string;
691
+ direction: "asc" | "desc";
692
+ }
693
+
694
+ declare interface Spacing {
695
+ [key: string]: string;
696
+ }
697
+
698
+ export declare const Spinner: default_2.FC<SpinnerProps>;
699
+
700
+ declare type SpinnerProps = {
701
+ variant?: "3d-box" | "pyramid" | "cube" | "bouncing" | "default";
702
+ size?: "xs" | "sm" | "md" | "lg";
703
+ color?: string;
704
+ bgColor?: string;
705
+ } & default_2.HTMLAttributes<HTMLDivElement>;
706
+
707
+ export declare const Step: default_2.FC<InternalStepProps>;
708
+
709
+ export declare const StepContent: default_2.FC<StepContentProps>;
710
+
711
+ declare interface StepContentProps {
712
+ children?: default_2.ReactNode;
713
+ }
714
+
715
+ export declare const StepLabel: default_2.FC<StepLabelProps & {
716
+ centered?: boolean;
717
+ }>;
718
+
719
+ declare interface StepLabelProps {
720
+ children?: default_2.ReactNode;
721
+ optional?: default_2.ReactNode;
722
+ active?: boolean;
723
+ completed?: boolean;
724
+ index?: number;
725
+ StepIconComponent?: default_2.ComponentType<{
726
+ active?: boolean;
727
+ completed?: boolean;
728
+ icon?: default_2.ReactNode;
729
+ index?: number;
730
+ }>;
731
+ }
732
+
733
+ export declare const Stepper: default_2.FC<StepperProps>;
734
+
735
+ declare type StepperOrientation = "horizontal" | "vertical";
736
+
737
+ declare interface StepperProps {
738
+ activeStep?: number;
739
+ alternativeLabel?: boolean;
740
+ orientation?: StepperOrientation;
741
+ connector?: default_2.ReactNode;
742
+ children: default_2.ReactNode;
743
+ className?: string;
744
+ }
745
+
746
+ declare interface StepProps {
747
+ children: default_2.ReactNode;
748
+ }
749
+
750
+ declare type Subscriber = (toasts: ToastRecord[]) => void;
751
+
752
+ export declare const Table: default_2.FC<TableProps>;
753
+
754
+ export declare const TableBody: default_2.FC<TableBodyProps>;
755
+
756
+ declare interface TableBodyProps extends default_2.HTMLAttributes<HTMLTableSectionElement> {
757
+ children: default_2.ReactNode;
758
+ striped?: boolean;
759
+ hover?: boolean;
760
+ variant?: "default" | "dark";
761
+ bordered?: boolean;
762
+ }
763
+
764
+ export declare const TableCell: default_2.FC<TableCellProps>;
765
+
766
+ declare interface TableCellProps extends default_2.TdHTMLAttributes<HTMLTableCellElement> {
767
+ children: default_2.ReactNode;
768
+ size?: "sm" | "md" | "lg";
769
+ align?: "left" | "center" | "right";
770
+ variant?: "default" | "dark";
771
+ header?: boolean;
772
+ sortable?: boolean;
773
+ sortDirection?: "asc" | "desc" | null;
774
+ sticky?: boolean;
775
+ width?: string;
776
+ onSort?: () => void;
777
+ }
778
+
779
+ export declare const TableHead: default_2.FC<TableHeadProps>;
780
+
781
+ declare interface TableHeadProps extends default_2.HTMLAttributes<HTMLTableSectionElement> {
782
+ children: default_2.ReactNode;
783
+ variant?: "default" | "dark";
784
+ bordered?: boolean;
785
+ }
786
+
787
+ declare interface TableProps extends default_2.TableHTMLAttributes<HTMLTableElement> {
788
+ children: default_2.ReactNode;
789
+ striped?: boolean;
790
+ bordered?: boolean;
791
+ hover?: boolean;
792
+ size?: "sm" | "md" | "lg";
793
+ variant?: "default" | "dark";
794
+ responsive?: boolean;
795
+ maxHeight?: string;
796
+ caption?: string;
797
+ }
798
+
799
+ export declare const TableRow: default_2.FC<TableRowProps>;
800
+
801
+ declare interface TableRowProps extends default_2.HTMLAttributes<HTMLTableRowElement> {
802
+ children: default_2.ReactNode;
803
+ variant?: "default" | "dark";
804
+ clickable?: boolean;
805
+ onClick?: (event: default_2.MouseEvent<HTMLTableRowElement>) => void;
806
+ }
807
+
808
+ declare interface TabOption {
809
+ name: string;
810
+ icon?: IconProp;
811
+ disabled?: boolean;
812
+ content?: default_2.ReactNode;
813
+ badge?: BadgeProp;
814
+ [key: string]: unknown;
815
+ }
816
+
817
+ export declare const Tabs: default_2.FC<TabsProps>;
818
+
819
+ declare interface TabsProps {
820
+ options: TabOption[];
821
+ defaultTab?: string;
822
+ onClick?: (tabName: string) => void;
823
+ className?: string;
824
+ ariaLabel?: string;
825
+ variant?: TabVariant;
826
+ size?: 'sm' | 'md' | 'lg';
827
+ }
828
+
829
+ declare type TabVariant = 'default' | 'button' | 'shadow' | 'underline' | 'pills';
830
+
831
+ declare interface Theme extends Omit<ThemeSet, 'colors' | 'shadows'> {
832
+ colors: ColorVariant;
833
+ shadows: {
834
+ [key: string]: string;
835
+ };
836
+ }
837
+
838
+ declare interface ThemeContextType {
839
+ theme: Theme;
840
+ mode: ModeType;
841
+ toggleMode: () => void;
842
+ setCustomTheme: (theme: Partial<ThemeSet> | any) => void;
843
+ }
844
+
845
+ export declare const ThemeProvider: default_2.FC<ThemeProviderProps | any>;
846
+
847
+ declare interface ThemeProviderProps {
848
+ children: ReactNode;
849
+ theme?: Partial<ThemeSet> | any;
850
+ }
851
+
852
+ declare interface ThemeSet {
853
+ colors: Colors;
854
+ typography: Typography_2;
855
+ spacing: Spacing;
856
+ borderRadius: BorderRadius;
857
+ breakpoints: Breakpoints;
858
+ shadows: {
859
+ light: {
860
+ [key: string]: string;
861
+ };
862
+ dark: {
863
+ [key: string]: string;
864
+ };
865
+ [key: string]: {
866
+ [key: string]: string;
867
+ };
868
+ };
869
+ [key: string]: any;
870
+ }
871
+
872
+ export declare const toast: ((content: ReactNode, options?: ToastOptions) => string) & {
873
+ success: (content: ReactNode, options?: ToastOptions) => string;
874
+ info: (content: ReactNode, options?: ToastOptions) => string;
875
+ warning: (content: ReactNode, options?: ToastOptions) => string;
876
+ error: (content: ReactNode, options?: ToastOptions) => string;
877
+ loading: (content: ReactNode, options?: ToastOptions) => string;
878
+ update: (id: string, next: Partial<ToastOptions & {
879
+ content: ReactNode;
880
+ }>) => void;
881
+ dismiss: (id?: string) => void;
882
+ subscribe: (fn: Subscriber) => () => void;
883
+ };
884
+
885
+ export declare const ToastContainer: default_2.FC<ToastContainerProps>;
886
+
887
+ declare interface ToastContainerProps {
888
+ position?: ToastPosition;
889
+ }
890
+
891
+ declare interface ToastOptions {
892
+ id?: string;
893
+ type?: ToastType;
894
+ position?: ToastPosition;
895
+ autoClose?: number | false;
896
+ closeOnClick?: boolean;
897
+ pauseOnHover?: boolean;
898
+ icon?: ReactNode;
899
+ description?: ReactNode;
900
+ ariaRole?: 'status' | 'alert';
901
+ onClose?: (id: string) => void;
902
+ }
903
+
904
+ declare type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
905
+
906
+ declare interface ToastRecord extends Omit<ToastOptions, 'id'> {
907
+ id: string;
908
+ content: ReactNode;
909
+ type: ToastType;
910
+ position: ToastPosition;
911
+ autoClose: number | false;
912
+ closeOnClick: boolean;
913
+ pauseOnHover: boolean;
914
+ ariaRole: 'status' | 'alert';
915
+ }
916
+
917
+ declare type ToastType = 'default' | 'success' | 'info' | 'warning' | 'error';
918
+
919
+ export declare const Tooltip: default_2.FC<TooltipProps>;
920
+
921
+ declare type TooltipPlacement = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
922
+
923
+ declare interface TooltipProps {
924
+ title: default_2.ReactNode;
925
+ children: default_2.ReactElement;
926
+ placement?: TooltipPlacement;
927
+ open?: boolean;
928
+ disabled?: boolean;
929
+ offset?: number;
930
+ className?: string;
931
+ style?: default_2.CSSProperties;
932
+ }
933
+
934
+ export declare const Typography: default_2.FC<TypographyProps>;
935
+
936
+ declare interface Typography_2 {
937
+ fontFamily: string;
938
+ fontSize: {
939
+ [key: string]: string;
940
+ };
941
+ fontWeight: {
942
+ [key: string]: number;
943
+ };
944
+ lineHeight?: {
945
+ [key: string]: string;
946
+ };
947
+ }
948
+
949
+ declare type TypographyAlign = 'left' | 'center' | 'right' | 'justify';
950
+
951
+ declare interface TypographyProps extends default_2.HTMLAttributes<HTMLElement> {
952
+ variant?: TypographyVariant;
953
+ as?: keyof JSX.IntrinsicElements;
954
+ color?: string;
955
+ fontWeight?: number | string;
956
+ fontSize?: keyof typeof defaultFontSizes;
957
+ lineHeight?: keyof typeof defaultLineHeights | string;
958
+ align?: TypographyAlign;
959
+ children: default_2.ReactNode;
960
+ style?: default_2.CSSProperties;
961
+ }
962
+
963
+ declare type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption' | 'overline';
964
+
965
+ export declare const useTheme: () => ThemeContextType | any;
966
+
967
+ export { }