eglador-ui-react 0.1.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,679 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import { EmblaOptionsType } from 'embla-carousel';
4
+ import { ClassValue } from 'clsx';
5
+
6
+ type AccordionVariant = "default" | "bordered" | "filled";
7
+ type AccordionSize = "xs" | "sm" | "md";
8
+ interface AccordionProps {
9
+ title: React.ReactNode;
10
+ icon?: React.ReactNode;
11
+ extra?: React.ReactNode;
12
+ defaultOpen?: boolean;
13
+ open?: boolean;
14
+ onOpenChange?: (open: boolean) => void;
15
+ variant?: AccordionVariant;
16
+ size?: AccordionSize;
17
+ disabled?: boolean;
18
+ hideChevron?: boolean;
19
+ children: React.ReactNode;
20
+ className?: string;
21
+ }
22
+ declare function Accordion({ title, icon, extra, defaultOpen, open, onOpenChange, variant, size, disabled, hideChevron, children, className, }: AccordionProps): react_jsx_runtime.JSX.Element;
23
+
24
+ type AlertVariant = "soft" | "outline" | "filled";
25
+ type AlertColor = "default" | "primary" | "danger" | "success" | "warning" | "info";
26
+ type AlertSize = "sm" | "md";
27
+ interface AlertProps {
28
+ variant?: AlertVariant;
29
+ color?: AlertColor;
30
+ size?: AlertSize;
31
+ icon?: React.ReactNode;
32
+ title?: React.ReactNode;
33
+ dismissible?: boolean;
34
+ onDismiss?: () => void;
35
+ className?: string;
36
+ children?: React.ReactNode;
37
+ }
38
+ declare function Alert({ variant, color, size, icon, title, dismissible, onDismiss, className, children, }: AlertProps): react_jsx_runtime.JSX.Element | null;
39
+
40
+ type BadgeVariant = "solid" | "soft" | "outline";
41
+ type BadgeColor = "default" | "black" | "primary" | "danger" | "success" | "warning" | "info";
42
+ type BadgeSize = "xs" | "sm" | "md";
43
+ type BadgeShape = "square" | "rounded" | "pill";
44
+ interface BadgeProps {
45
+ variant?: BadgeVariant;
46
+ color?: BadgeColor;
47
+ size?: BadgeSize;
48
+ shape?: BadgeShape;
49
+ icon?: React.ReactNode;
50
+ iconRight?: React.ReactNode;
51
+ removable?: boolean;
52
+ onRemove?: () => void;
53
+ className?: string;
54
+ children: React.ReactNode;
55
+ }
56
+ declare function Badge({ variant, color, size, shape, icon, iconRight, removable, onRemove, className, children, }: BadgeProps): react_jsx_runtime.JSX.Element;
57
+
58
+ interface BreadcrumbProps {
59
+ children: React.ReactNode;
60
+ className?: string;
61
+ separator?: React.ReactNode;
62
+ }
63
+ interface BreadcrumbItemProps {
64
+ children: React.ReactNode;
65
+ href?: string;
66
+ className?: string;
67
+ isActive?: boolean;
68
+ }
69
+ declare function BreadcrumbRoot({ children, className, separator }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
70
+ declare function BreadcrumbItem({ children, href, className, isActive }: BreadcrumbItemProps): react_jsx_runtime.JSX.Element;
71
+ declare const Breadcrumb: typeof BreadcrumbRoot & {
72
+ Item: typeof BreadcrumbItem;
73
+ };
74
+
75
+ type ButtonColor = "default" | "black" | "primary" | "danger" | "success" | "warning" | "info";
76
+ type ButtonSize = "xs" | "sm" | "md";
77
+ type ButtonShape = "square" | "rounded" | "circle";
78
+ type ButtonVariant = "solid" | "outline" | "ghost";
79
+ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "active"> {
80
+ variant?: ButtonVariant;
81
+ color?: ButtonColor;
82
+ soft?: boolean;
83
+ size?: ButtonSize;
84
+ shape?: ButtonShape;
85
+ icon?: React.ReactNode;
86
+ iconRight?: React.ReactNode;
87
+ loading?: boolean;
88
+ active?: boolean;
89
+ className?: string;
90
+ }
91
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
92
+
93
+ type CarouselBreakpointOptions = EmblaOptionsType & {
94
+ slidesPerView?: number | "auto";
95
+ };
96
+ interface CarouselProps {
97
+ slides: React.ReactNode[];
98
+ slidesPerView?: number | "auto";
99
+ align?: EmblaOptionsType["align"];
100
+ containScroll?: EmblaOptionsType["containScroll"];
101
+ dragFree?: boolean;
102
+ loop?: boolean;
103
+ axis?: "x" | "y";
104
+ direction?: "ltr" | "rtl";
105
+ autoplay?: boolean | Record<string, unknown>;
106
+ autoScroll?: boolean | Record<string, unknown>;
107
+ autoHeight?: boolean | Record<string, unknown>;
108
+ fade?: boolean | Record<string, unknown>;
109
+ wheelGestures?: boolean | Record<string, unknown>;
110
+ classNames?: boolean | Record<string, unknown>;
111
+ parallax?: boolean;
112
+ opacity?: boolean;
113
+ lazyLoad?: boolean;
114
+ showNavigation?: boolean;
115
+ showPagination?: boolean;
116
+ scrollToIndex?: number;
117
+ breakpoints?: Record<string, CarouselBreakpointOptions>;
118
+ className?: string;
119
+ viewportClassName?: string;
120
+ containerClassName?: string;
121
+ slideClassName?: string;
122
+ styles?: {
123
+ controls?: string;
124
+ navigation?: string;
125
+ pagination?: string;
126
+ prevButton?: string;
127
+ nextButton?: string;
128
+ dot?: string;
129
+ };
130
+ }
131
+ declare function Carousel({ slides, slidesPerView, align, containScroll, dragFree, loop, axis, direction, autoplay, autoScroll, autoHeight, fade: fadeProp, wheelGestures: wheelGesturesProp, classNames: classNamesProp, parallax, opacity, lazyLoad, showNavigation, showPagination, scrollToIndex, breakpoints, className, viewportClassName, containerClassName, slideClassName, styles, }: CarouselProps): react_jsx_runtime.JSX.Element | null;
132
+
133
+ type ButtonGroupVariant = "bordered" | "segmented";
134
+ interface ButtonGroupProps {
135
+ variant?: ButtonGroupVariant;
136
+ className?: string;
137
+ children: React.ReactNode;
138
+ }
139
+ declare function ButtonGroup({ variant, className, children, }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
140
+
141
+ type CheckboxSize = "xs" | "sm" | "md";
142
+ type CheckboxColor = "default" | "black" | "primary" | "danger" | "success" | "warning" | "info";
143
+ type CheckboxVariant = "default" | "card" | "list";
144
+ interface CheckboxProps {
145
+ variant?: CheckboxVariant;
146
+ checked?: boolean;
147
+ onChange?: (checked: boolean) => void;
148
+ indeterminate?: boolean;
149
+ size?: CheckboxSize;
150
+ color?: CheckboxColor;
151
+ label?: React.ReactNode;
152
+ description?: React.ReactNode;
153
+ disabled?: boolean;
154
+ className?: string;
155
+ name?: string;
156
+ value?: string;
157
+ id?: string;
158
+ }
159
+ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
160
+
161
+ type DrawerSide = "left" | "right" | "top" | "bottom";
162
+ type DrawerSize = "sm" | "md" | "lg" | "full";
163
+ interface DrawerProps {
164
+ open?: boolean;
165
+ defaultOpen?: boolean;
166
+ onOpenChange?: (open: boolean) => void;
167
+ side?: DrawerSide;
168
+ size?: DrawerSize;
169
+ closeOnBackdrop?: boolean;
170
+ closeOnEscape?: boolean;
171
+ children: React.ReactNode;
172
+ }
173
+ interface DrawerTriggerProps {
174
+ asChild?: boolean;
175
+ className?: string;
176
+ children: React.ReactNode;
177
+ }
178
+ interface DrawerContentProps {
179
+ className?: string;
180
+ children: React.ReactNode;
181
+ }
182
+ interface DrawerHeaderProps {
183
+ hideClose?: boolean;
184
+ className?: string;
185
+ children: React.ReactNode;
186
+ }
187
+ interface DrawerBodyProps {
188
+ className?: string;
189
+ children: React.ReactNode;
190
+ }
191
+ interface DrawerFooterProps {
192
+ className?: string;
193
+ children: React.ReactNode;
194
+ }
195
+ declare function DrawerRoot({ open, defaultOpen, onOpenChange, side, size, closeOnBackdrop, closeOnEscape, children, }: DrawerProps): react_jsx_runtime.JSX.Element;
196
+ declare namespace DrawerRoot {
197
+ var displayName: string;
198
+ }
199
+ declare function DrawerTrigger({ asChild, className, children }: DrawerTriggerProps): react_jsx_runtime.JSX.Element;
200
+ declare namespace DrawerTrigger {
201
+ var displayName: string;
202
+ }
203
+ declare function DrawerContent({ className, children }: DrawerContentProps): React.ReactPortal | null;
204
+ declare namespace DrawerContent {
205
+ var displayName: string;
206
+ }
207
+ declare function DrawerHeader({ hideClose, className, children }: DrawerHeaderProps): react_jsx_runtime.JSX.Element;
208
+ declare namespace DrawerHeader {
209
+ var displayName: string;
210
+ }
211
+ declare function DrawerBody({ className, children }: DrawerBodyProps): react_jsx_runtime.JSX.Element;
212
+ declare namespace DrawerBody {
213
+ var displayName: string;
214
+ }
215
+ declare function DrawerFooter({ className, children }: DrawerFooterProps): react_jsx_runtime.JSX.Element;
216
+ declare namespace DrawerFooter {
217
+ var displayName: string;
218
+ }
219
+ declare const Drawer: typeof DrawerRoot & {
220
+ Trigger: typeof DrawerTrigger;
221
+ Content: typeof DrawerContent;
222
+ Header: typeof DrawerHeader;
223
+ Body: typeof DrawerBody;
224
+ Footer: typeof DrawerFooter;
225
+ };
226
+
227
+ type CheckboxGroupVariant = "bordered" | "segmented";
228
+ interface CheckboxGroupProps {
229
+ variant?: CheckboxGroupVariant;
230
+ className?: string;
231
+ children: React.ReactNode;
232
+ }
233
+ declare function CheckboxGroup({ variant, className, children, }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
234
+
235
+ type DropdownSide = "bottom" | "top" | "right" | "left";
236
+ type DropdownAlign = "left" | "right" | "top" | "bottom" | "start" | "center" | "end";
237
+ type DropdownWidth = number | "trigger" | "auto";
238
+ interface DropdownProps {
239
+ side?: DropdownSide;
240
+ align?: DropdownAlign;
241
+ width?: DropdownWidth;
242
+ maxHeight?: number;
243
+ scroll?: boolean;
244
+ autoFlip?: boolean;
245
+ open?: boolean;
246
+ onOpenChange?: (open: boolean) => void;
247
+ className?: string;
248
+ children: React.ReactNode;
249
+ }
250
+ interface DropdownTriggerProps {
251
+ className?: string;
252
+ children?: React.ReactNode;
253
+ asChild?: boolean;
254
+ }
255
+ interface DropdownContentProps {
256
+ className?: string;
257
+ children: React.ReactNode;
258
+ }
259
+ declare function DropdownTrigger({ className, children, asChild }: DropdownTriggerProps): react_jsx_runtime.JSX.Element;
260
+ declare namespace DropdownTrigger {
261
+ var displayName: string;
262
+ }
263
+ declare function DropdownContent({ className, children }: DropdownContentProps): react_jsx_runtime.JSX.Element | null;
264
+ declare namespace DropdownContent {
265
+ var displayName: string;
266
+ }
267
+ declare const Dropdown: React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<HTMLDivElement>> & {
268
+ Trigger: typeof DropdownTrigger;
269
+ Content: typeof DropdownContent;
270
+ };
271
+
272
+ type InputSize = "xs" | "sm" | "md";
273
+ type InputShape = "square" | "rounded";
274
+ type InputVariant = "default" | "outline" | "ghost";
275
+ type InputColor = "default" | "black" | "primary" | "danger" | "success" | "warning" | "info";
276
+ type InputState = "idle" | "error" | "success";
277
+ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
278
+ variant?: InputVariant;
279
+ size?: InputSize;
280
+ shape?: InputShape;
281
+ color?: InputColor;
282
+ state?: InputState;
283
+ icon?: React.ReactNode;
284
+ iconRight?: React.ReactNode;
285
+ loading?: boolean;
286
+ label?: string;
287
+ errorMessage?: string;
288
+ successMessage?: string;
289
+ wrapperClassName?: string;
290
+ className?: string;
291
+ }
292
+ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
293
+
294
+ type InputGroupVariant = "bordered" | "stacked";
295
+ interface InputGroupProps {
296
+ variant?: InputGroupVariant;
297
+ className?: string;
298
+ children: React.ReactNode;
299
+ }
300
+ declare function InputGroup({ variant, className, children, }: InputGroupProps): react_jsx_runtime.JSX.Element;
301
+
302
+ type LinkVariant = "default" | "underline" | "ghost";
303
+ type LinkColor = "default" | "black" | "primary" | "danger" | "success" | "warning" | "info";
304
+ type LinkSize = "xs" | "sm" | "md";
305
+ interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
306
+ variant?: LinkVariant;
307
+ color?: LinkColor;
308
+ size?: LinkSize;
309
+ icon?: React.ReactNode;
310
+ iconRight?: React.ReactNode;
311
+ external?: boolean;
312
+ disabled?: boolean;
313
+ className?: string;
314
+ }
315
+ declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
316
+
317
+ type MediaImageRatio = "1:1" | "16:9" | "4:3" | "1:2" | "free";
318
+ type MediaImageSize = "xs" | "sm" | "md" | "lg";
319
+ type MediaImageShape = "square" | "rounded" | "circle";
320
+ interface MediaImageProps {
321
+ src: string;
322
+ alt: string;
323
+ caption?: string;
324
+ ratio?: MediaImageRatio;
325
+ size?: MediaImageSize;
326
+ shape?: MediaImageShape;
327
+ children?: React.ReactNode;
328
+ hideCaption?: boolean;
329
+ objectFit?: "cover" | "contain" | "fill" | "none";
330
+ loading?: "lazy" | "eager";
331
+ onError?: () => void;
332
+ className?: string;
333
+ }
334
+ declare function MediaImage({ src, alt, caption, ratio, size, shape, children, hideCaption, objectFit, loading, onError, className, }: MediaImageProps): react_jsx_runtime.JSX.Element;
335
+
336
+ type MediaVideoRatio = "1:1" | "16:9" | "4:3" | "1:2" | "free";
337
+ type MediaVideoSize = "xs" | "sm" | "md";
338
+ type MediaVideoShape = "square" | "rounded" | "circle";
339
+ interface MediaVideoProps {
340
+ src: string;
341
+ caption?: string;
342
+ ratio?: MediaVideoRatio;
343
+ size?: MediaVideoSize;
344
+ shape?: MediaVideoShape;
345
+ children?: React.ReactNode;
346
+ hideCaption?: boolean;
347
+ controls?: boolean;
348
+ preload?: "none" | "metadata" | "auto";
349
+ autoPlay?: boolean;
350
+ muted?: boolean;
351
+ loop?: boolean;
352
+ poster?: string;
353
+ onError?: () => void;
354
+ className?: string;
355
+ }
356
+ declare function MediaVideo({ src, caption, ratio, size, shape, children, hideCaption, controls, preload, autoPlay, muted, loop, poster, onError, className, }: MediaVideoProps): react_jsx_runtime.JSX.Element;
357
+
358
+ type ModalSize = "sm" | "md" | "lg";
359
+ interface ModalProps {
360
+ open?: boolean;
361
+ defaultOpen?: boolean;
362
+ onOpenChange?: (open: boolean) => void;
363
+ size?: ModalSize;
364
+ closeOnBackdrop?: boolean;
365
+ closeOnEscape?: boolean;
366
+ children: React.ReactNode;
367
+ }
368
+ interface ModalTriggerProps {
369
+ asChild?: boolean;
370
+ className?: string;
371
+ children: React.ReactNode;
372
+ }
373
+ interface ModalContentProps {
374
+ className?: string;
375
+ children: React.ReactNode;
376
+ }
377
+ interface ModalHeaderProps {
378
+ icon?: React.ReactNode;
379
+ hideClose?: boolean;
380
+ className?: string;
381
+ children: React.ReactNode;
382
+ }
383
+ interface ModalBodyProps {
384
+ className?: string;
385
+ children: React.ReactNode;
386
+ }
387
+ interface ModalFooterProps {
388
+ className?: string;
389
+ children: React.ReactNode;
390
+ }
391
+ declare function ModalRoot({ open, defaultOpen, onOpenChange, size, closeOnBackdrop, closeOnEscape, children, }: ModalProps): react_jsx_runtime.JSX.Element;
392
+ declare namespace ModalRoot {
393
+ var displayName: string;
394
+ }
395
+ declare function ModalTrigger({ asChild, className, children }: ModalTriggerProps): react_jsx_runtime.JSX.Element;
396
+ declare namespace ModalTrigger {
397
+ var displayName: string;
398
+ }
399
+ declare function ModalContent({ className, children }: ModalContentProps): React.ReactPortal | null;
400
+ declare namespace ModalContent {
401
+ var displayName: string;
402
+ }
403
+ declare function ModalHeader({ icon, hideClose, className, children }: ModalHeaderProps): react_jsx_runtime.JSX.Element;
404
+ declare namespace ModalHeader {
405
+ var displayName: string;
406
+ }
407
+ declare function ModalBody({ className, children }: ModalBodyProps): react_jsx_runtime.JSX.Element;
408
+ declare namespace ModalBody {
409
+ var displayName: string;
410
+ }
411
+ declare function ModalFooter({ className, children }: ModalFooterProps): react_jsx_runtime.JSX.Element;
412
+ declare namespace ModalFooter {
413
+ var displayName: string;
414
+ }
415
+ declare const Modal: typeof ModalRoot & {
416
+ Trigger: typeof ModalTrigger;
417
+ Content: typeof ModalContent;
418
+ Header: typeof ModalHeader;
419
+ Body: typeof ModalBody;
420
+ Footer: typeof ModalFooter;
421
+ };
422
+
423
+ interface MultiSelectOption {
424
+ label: string;
425
+ value: string;
426
+ [key: string]: unknown;
427
+ }
428
+ interface MultiSelectProps {
429
+ value?: string[];
430
+ onChange?: (values: string[], options?: MultiSelectOption[]) => void;
431
+ options?: MultiSelectOption[];
432
+ placeholder?: string;
433
+ className?: string;
434
+ disabled?: boolean;
435
+ autoFlip?: boolean;
436
+ maxHeight?: number;
437
+ searchable?: boolean;
438
+ searchPlaceholder?: string;
439
+ maxSelected?: number;
440
+ maxVisibleChips?: number;
441
+ clearLabel?: string;
442
+ selectedLabel?: string;
443
+ noResultsLabel?: string;
444
+ noOptionsLabel?: string;
445
+ }
446
+ declare function MultiSelect({ value, onChange, options, placeholder, className, disabled, autoFlip, maxHeight, searchable, searchPlaceholder, maxSelected, maxVisibleChips, clearLabel, selectedLabel, noResultsLabel, noOptionsLabel, }: MultiSelectProps): react_jsx_runtime.JSX.Element;
447
+
448
+ type NotificationColor = "default" | "primary" | "danger" | "success" | "warning" | "info";
449
+ type NotificationPosition = "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top-center" | "bottom-center";
450
+ interface NotificationAction {
451
+ label: string;
452
+ onClick: () => void;
453
+ variant?: "default" | "primary";
454
+ }
455
+ interface NotificationItem {
456
+ id: string;
457
+ title?: React.ReactNode;
458
+ message?: React.ReactNode;
459
+ icon?: React.ReactNode;
460
+ color?: NotificationColor;
461
+ /** Auto-dismiss duration in ms (0 = persistent, default: 5000) */
462
+ duration?: number;
463
+ /** Show close button (default: true) */
464
+ dismissible?: boolean;
465
+ /** Show progress bar for auto-dismiss countdown */
466
+ showProgress?: boolean;
467
+ /** Action buttons */
468
+ actions?: NotificationAction[];
469
+ /** Pause auto-dismiss on hover (default: true) */
470
+ pauseOnHover?: boolean;
471
+ /** Callback when notification is dismissed */
472
+ onDismiss?: () => void;
473
+ /** Timestamp for "time ago" display */
474
+ timestamp?: Date;
475
+ }
476
+ interface NotificationProps {
477
+ item: NotificationItem;
478
+ onDismiss: (id: string) => void;
479
+ }
480
+ interface NotificationContainerProps {
481
+ position?: NotificationPosition;
482
+ /** Max visible notifications (older ones hidden, default: 5) */
483
+ maxVisible?: number;
484
+ className?: string;
485
+ children: React.ReactNode;
486
+ }
487
+ declare function Notification({ item, onDismiss }: NotificationProps): react_jsx_runtime.JSX.Element;
488
+ declare function NotificationContainer({ position, maxVisible, className, children, }: NotificationContainerProps): React.ReactPortal;
489
+ declare function useNotification(): {
490
+ notifications: NotificationItem[];
491
+ push: (item: Omit<NotificationItem, "id"> & {
492
+ id?: string;
493
+ }) => string;
494
+ dismiss: (id: string) => void;
495
+ dismissAll: () => void;
496
+ update: (id: string, updates: Partial<Omit<NotificationItem, "id">>) => void;
497
+ };
498
+
499
+ type RadioSize = "xs" | "sm" | "md";
500
+ type RadioColor = "default" | "black" | "primary" | "danger" | "success" | "warning" | "info";
501
+ type RadioVariant = "default" | "card" | "list";
502
+ interface RadioProps {
503
+ variant?: RadioVariant;
504
+ checked?: boolean;
505
+ onChange?: (checked: boolean) => void;
506
+ size?: RadioSize;
507
+ color?: RadioColor;
508
+ label?: React.ReactNode;
509
+ description?: React.ReactNode;
510
+ disabled?: boolean;
511
+ className?: string;
512
+ name?: string;
513
+ value?: string;
514
+ id?: string;
515
+ }
516
+ declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
517
+
518
+ type RadioGroupVariant = "bordered" | "segmented";
519
+ interface RadioGroupProps {
520
+ variant?: RadioGroupVariant;
521
+ className?: string;
522
+ children: React.ReactNode;
523
+ }
524
+ declare function RadioGroup({ variant, className, children, }: RadioGroupProps): react_jsx_runtime.JSX.Element;
525
+
526
+ interface SelectOption {
527
+ label: string;
528
+ value: string;
529
+ [key: string]: unknown;
530
+ }
531
+ interface SelectProps {
532
+ value?: string;
533
+ onChange?: (value: string, option?: SelectOption) => void;
534
+ options?: SelectOption[];
535
+ placeholder?: string;
536
+ className?: string;
537
+ disabled?: boolean;
538
+ autoFlip?: boolean;
539
+ maxHeight?: number;
540
+ }
541
+ declare function Select({ value, onChange, options, placeholder, className, disabled, autoFlip, maxHeight, }: SelectProps): react_jsx_runtime.JSX.Element;
542
+
543
+ type SwitchSize = "xs" | "sm" | "md";
544
+ type SwitchColor = "default" | "black" | "primary" | "danger" | "success" | "warning" | "info";
545
+ interface SwitchProps {
546
+ checked?: boolean;
547
+ onChange?: (checked: boolean) => void;
548
+ size?: SwitchSize;
549
+ color?: SwitchColor;
550
+ label?: React.ReactNode;
551
+ description?: React.ReactNode;
552
+ disabled?: boolean;
553
+ className?: string;
554
+ name?: string;
555
+ value?: string;
556
+ id?: string;
557
+ }
558
+ declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
559
+
560
+ type TableSize = "xs" | "sm" | "md";
561
+ type TableVariant = "default" | "bordered" | "striped";
562
+ type TableShape = "square" | "rounded";
563
+ interface TableProps {
564
+ size?: TableSize;
565
+ variant?: TableVariant;
566
+ shape?: TableShape;
567
+ fullWidth?: boolean;
568
+ scrollX?: boolean;
569
+ scrollY?: boolean;
570
+ maxHeight?: string;
571
+ className?: string;
572
+ children: React.ReactNode;
573
+ }
574
+ interface TableHeadProps {
575
+ className?: string;
576
+ children: React.ReactNode;
577
+ }
578
+ interface TableBodyProps {
579
+ className?: string;
580
+ children: React.ReactNode;
581
+ }
582
+ interface TableRowProps {
583
+ onClick?: () => void;
584
+ isActive?: boolean;
585
+ className?: string;
586
+ children: React.ReactNode;
587
+ }
588
+ interface TableHeaderProps {
589
+ align?: "left" | "center" | "right";
590
+ width?: string;
591
+ className?: string;
592
+ children?: React.ReactNode;
593
+ }
594
+ interface TableCellProps {
595
+ align?: "left" | "center" | "right";
596
+ truncate?: boolean;
597
+ className?: string;
598
+ children?: React.ReactNode;
599
+ }
600
+ declare function TableRoot({ size, variant, shape, fullWidth, scrollX, scrollY, maxHeight, className, children, }: TableProps): react_jsx_runtime.JSX.Element;
601
+ declare function TableHead({ className, children }: TableHeadProps): react_jsx_runtime.JSX.Element;
602
+ declare function TableBody({ className, children }: TableBodyProps): react_jsx_runtime.JSX.Element;
603
+ declare function TableRow({ onClick, isActive, className, children }: TableRowProps): react_jsx_runtime.JSX.Element;
604
+ declare function TableHeader({ align, width, className, children }: TableHeaderProps): react_jsx_runtime.JSX.Element;
605
+ declare function TableCell({ align, truncate, className, children }: TableCellProps): react_jsx_runtime.JSX.Element;
606
+ declare const Table: typeof TableRoot & {
607
+ Head: typeof TableHead;
608
+ Body: typeof TableBody;
609
+ Row: typeof TableRow;
610
+ Header: typeof TableHeader;
611
+ Cell: typeof TableCell;
612
+ };
613
+
614
+ type TabsVariant = "default" | "bordered" | "segmented";
615
+ type TabsSize = "xs" | "sm" | "md";
616
+ interface TabsProps {
617
+ value?: string;
618
+ defaultValue?: string;
619
+ onValueChange?: (value: string) => void;
620
+ variant?: TabsVariant;
621
+ size?: TabsSize;
622
+ className?: string;
623
+ children: React.ReactNode;
624
+ }
625
+ interface TabsListProps {
626
+ className?: string;
627
+ children: React.ReactNode;
628
+ }
629
+ interface TabsTriggerProps {
630
+ value: string;
631
+ icon?: React.ReactNode;
632
+ activeClassName?: string;
633
+ disabled?: boolean;
634
+ className?: string;
635
+ children?: React.ReactNode;
636
+ }
637
+ interface TabsContentProps {
638
+ value: string;
639
+ className?: string;
640
+ children: React.ReactNode;
641
+ }
642
+ declare function TabsRoot({ value, defaultValue, onValueChange, variant, size, className, children, }: TabsProps): react_jsx_runtime.JSX.Element;
643
+ declare function TabsList({ className, children }: TabsListProps): react_jsx_runtime.JSX.Element;
644
+ declare function TabsTrigger({ value, icon, activeClassName, disabled, className, children }: TabsTriggerProps): react_jsx_runtime.JSX.Element;
645
+ declare function TabsContent({ value, className, children }: TabsContentProps): react_jsx_runtime.JSX.Element | null;
646
+ declare const Tabs: typeof TabsRoot & {
647
+ List: typeof TabsList;
648
+ Trigger: typeof TabsTrigger;
649
+ Content: typeof TabsContent;
650
+ };
651
+
652
+ type TooltipPosition = "top" | "bottom" | "left" | "right";
653
+ interface TooltipProps {
654
+ content: React.ReactNode;
655
+ position?: TooltipPosition;
656
+ delay?: number;
657
+ children: React.ReactElement;
658
+ className?: string;
659
+ }
660
+ declare function Tooltip({ content, position, delay, children, className, }: TooltipProps): react_jsx_runtime.JSX.Element;
661
+
662
+ interface TypewriterProps {
663
+ texts: string[];
664
+ typingSpeed?: number;
665
+ deletingSpeed?: number;
666
+ pauseDuration?: number;
667
+ deleteMode?: "backspace" | "clear";
668
+ loop?: boolean;
669
+ startDelay?: number;
670
+ cursor?: boolean;
671
+ cursorStyle?: "line" | "block" | "underscore";
672
+ onComplete?: () => void;
673
+ className?: string;
674
+ }
675
+ declare function Typewriter({ texts, typingSpeed, deletingSpeed, pauseDuration, deleteMode, loop, startDelay, cursor, cursorStyle, onComplete, className, }: TypewriterProps): react_jsx_runtime.JSX.Element;
676
+
677
+ declare function cn(...inputs: ClassValue[]): string;
678
+
679
+ export { Accordion, type AccordionProps, type AccordionSize, type AccordionVariant, Alert, type AlertColor, type AlertProps, type AlertSize, type AlertVariant, Badge, type BadgeColor, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Breadcrumb, type BreadcrumbItemProps, type BreadcrumbProps, Button, type ButtonColor, ButtonGroup, type ButtonGroupProps, type ButtonGroupVariant, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonVariant, Carousel, type CarouselBreakpointOptions, type CarouselProps, Checkbox, type CheckboxColor, CheckboxGroup, type CheckboxGroupProps, type CheckboxGroupVariant, type CheckboxProps, type CheckboxSize, type CheckboxVariant, Drawer, type DrawerBodyProps, type DrawerContentProps, type DrawerFooterProps, type DrawerHeaderProps, type DrawerProps, type DrawerSide, type DrawerSize, type DrawerTriggerProps, Dropdown, type DropdownAlign, type DropdownContentProps, type DropdownProps, type DropdownSide, type DropdownTriggerProps, type DropdownWidth, Input, type InputColor, InputGroup, type InputGroupProps, type InputGroupVariant, type InputProps, type InputShape, type InputSize, type InputState, type InputVariant, Link, type LinkColor, type LinkProps, type LinkSize, type LinkVariant, MediaImage, type MediaImageProps, type MediaImageRatio, type MediaImageShape, type MediaImageSize, MediaVideo, type MediaVideoProps, type MediaVideoRatio, type MediaVideoShape, type MediaVideoSize, Modal, type ModalBodyProps, type ModalContentProps, type ModalFooterProps, type ModalHeaderProps, type ModalProps, type ModalSize, type ModalTriggerProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, Notification, type NotificationAction, type NotificationColor, NotificationContainer, type NotificationContainerProps, type NotificationItem, type NotificationPosition, type NotificationProps, Radio, type RadioColor, RadioGroup, type RadioGroupProps, type RadioGroupVariant, type RadioProps, type RadioSize, type RadioVariant, Select, type SelectOption, type SelectProps, Switch, type SwitchColor, type SwitchProps, type SwitchSize, Table, type TableBodyProps, type TableCellProps, type TableHeadProps, type TableHeaderProps, type TableProps, type TableRowProps, type TableShape, type TableSize, type TableVariant, Tabs, type TabsContentProps, type TabsListProps, type TabsProps, type TabsSize, type TabsTriggerProps, type TabsVariant, Tooltip, type TooltipPosition, type TooltipProps, Typewriter, type TypewriterProps, cn, useNotification };