@hyddenlabs/hydn-ui 0.0.1-alpha.34

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,1029 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React$1 from 'react';
3
+ import React__default, { ReactNode, HTMLAttributes, MouseEvent } from 'react';
4
+
5
+ type ButtonProps = {
6
+ children?: React__default.ReactNode;
7
+ onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
8
+ ariaLabel?: string;
9
+ disabled?: boolean;
10
+ type?: 'button' | 'submit' | 'reset';
11
+ className?: string;
12
+ icon?: React__default.ReactNode;
13
+ iconPosition?: 'left' | 'right';
14
+ variant?: 'neutral' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
15
+ style?: 'solid' | 'outline' | 'ghost' | 'link' | 'soft';
16
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
17
+ rounded?: 'default' | 'pill' | 'square' | 'circle';
18
+ loading?: boolean;
19
+ fullWidth?: boolean;
20
+ wide?: boolean;
21
+ active?: boolean;
22
+ };
23
+ declare function Button({ children, onClick, ariaLabel, disabled, type, className, icon, iconPosition, variant, style, size, rounded, loading, fullWidth, wide, active }: Readonly<ButtonProps>): react_jsx_runtime.JSX.Element;
24
+ declare namespace Button {
25
+ var displayName: string;
26
+ }
27
+
28
+ type ValidationState$3 = 'default' | 'error' | 'success' | 'warning';
29
+ type InputProps = {
30
+ value?: string;
31
+ onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
32
+ placeholder?: string;
33
+ disabled?: boolean;
34
+ type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url';
35
+ className?: string;
36
+ ariaLabel?: string;
37
+ id?: string;
38
+ name?: string;
39
+ required?: boolean;
40
+ size?: 'sm' | 'md' | 'lg';
41
+ validationState?: ValidationState$3;
42
+ };
43
+ declare function Input({ value, onChange, placeholder, disabled, type, className, ariaLabel, id, name, required, size, validationState }: Readonly<InputProps>): react_jsx_runtime.JSX.Element;
44
+ declare namespace Input {
45
+ var displayName: string;
46
+ }
47
+
48
+ type CheckboxProps = {
49
+ checked?: boolean;
50
+ onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
51
+ disabled?: boolean;
52
+ className?: string;
53
+ ariaLabel?: string;
54
+ id?: string;
55
+ name?: string;
56
+ };
57
+ declare function Checkbox({ checked, onChange, disabled, className, ariaLabel, id, name }: Readonly<CheckboxProps>): react_jsx_runtime.JSX.Element;
58
+ declare namespace Checkbox {
59
+ var displayName: string;
60
+ }
61
+
62
+ type RadioProps = {
63
+ checked?: boolean;
64
+ onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
65
+ disabled?: boolean;
66
+ className?: string;
67
+ ariaLabel?: string;
68
+ id?: string;
69
+ name?: string;
70
+ value?: string;
71
+ };
72
+ declare function Radio({ checked, onChange, disabled, className, ariaLabel, id, name, value }: Readonly<RadioProps>): react_jsx_runtime.JSX.Element;
73
+ declare namespace Radio {
74
+ var displayName: string;
75
+ }
76
+
77
+ type ValidationState$2 = 'default' | 'error' | 'success' | 'warning';
78
+ type SelectProps = {
79
+ value?: string;
80
+ onChange?: (e: React__default.ChangeEvent<HTMLSelectElement>) => void;
81
+ disabled?: boolean;
82
+ className?: string;
83
+ ariaLabel?: string;
84
+ id?: string;
85
+ name?: string;
86
+ children: React__default.ReactNode;
87
+ required?: boolean;
88
+ size?: 'sm' | 'md' | 'lg';
89
+ validationState?: ValidationState$2;
90
+ };
91
+ declare function Select({ value, onChange, disabled, className, ariaLabel, id, name, children, required, size, validationState }: Readonly<SelectProps>): react_jsx_runtime.JSX.Element;
92
+ declare namespace Select {
93
+ var displayName: string;
94
+ }
95
+
96
+ type SelectItemProps = {
97
+ value?: string;
98
+ disabled?: boolean;
99
+ children: React__default.ReactNode;
100
+ };
101
+ declare function SelectItem({ value, disabled, children }: Readonly<SelectItemProps>): react_jsx_runtime.JSX.Element;
102
+ declare namespace SelectItem {
103
+ var displayName: string;
104
+ }
105
+
106
+ type ValidationState$1 = 'default' | 'error' | 'success' | 'warning';
107
+ type TextareaProps = {
108
+ value?: string;
109
+ onChange?: (e: React__default.ChangeEvent<HTMLTextAreaElement>) => void;
110
+ placeholder?: string;
111
+ disabled?: boolean;
112
+ className?: string;
113
+ ariaLabel?: string;
114
+ id?: string;
115
+ name?: string;
116
+ rows?: number;
117
+ required?: boolean;
118
+ validationState?: ValidationState$1;
119
+ };
120
+ declare function Textarea({ value, onChange, placeholder, disabled, className, ariaLabel, id, name, rows, required, validationState }: Readonly<TextareaProps>): react_jsx_runtime.JSX.Element;
121
+ declare namespace Textarea {
122
+ var displayName: string;
123
+ }
124
+
125
+ type SwitchProps = {
126
+ checked?: boolean;
127
+ onChange?: (checked: boolean) => void;
128
+ disabled?: boolean;
129
+ className?: string;
130
+ ariaLabel?: string;
131
+ id?: string;
132
+ name?: string;
133
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
134
+ variant?: 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'info' | 'error' | 'neutral';
135
+ };
136
+ declare function Switch({ checked, onChange, disabled, className, ariaLabel, id, name, size, variant }: Readonly<SwitchProps>): react_jsx_runtime.JSX.Element;
137
+ declare namespace Switch {
138
+ var displayName: string;
139
+ }
140
+
141
+ type SliderProps = {
142
+ value?: number;
143
+ onChange?: (value: number) => void;
144
+ min?: number;
145
+ max?: number;
146
+ step?: number;
147
+ disabled?: boolean;
148
+ className?: string;
149
+ ariaLabel?: string;
150
+ id?: string;
151
+ name?: string;
152
+ };
153
+ declare function Slider({ value, onChange, min, max, step, disabled, className, ariaLabel, id, name }: Readonly<SliderProps>): react_jsx_runtime.JSX.Element;
154
+ declare namespace Slider {
155
+ var displayName: string;
156
+ }
157
+
158
+ type ButtonGroupProps = {
159
+ children: ReactNode;
160
+ className?: string;
161
+ variant?: 'default' | 'separated';
162
+ orientation?: 'horizontal' | 'vertical';
163
+ };
164
+ declare function ButtonGroup({ children, className, variant, orientation }: Readonly<ButtonGroupProps>): react_jsx_runtime.JSX.Element;
165
+ declare namespace ButtonGroup {
166
+ var displayName: string;
167
+ }
168
+
169
+ type RadioGroupProps = {
170
+ children: ReactNode;
171
+ name: string;
172
+ label?: string;
173
+ orientation?: 'horizontal' | 'vertical';
174
+ className?: string;
175
+ };
176
+ declare function RadioGroup({ children, name: _name, label, orientation, className }: Readonly<RadioGroupProps>): react_jsx_runtime.JSX.Element;
177
+ declare namespace RadioGroup {
178
+ var displayName: string;
179
+ }
180
+
181
+ type ValidationState = 'default' | 'error' | 'success' | 'warning';
182
+ type FormFieldProps = {
183
+ children: ReactNode;
184
+ label?: string;
185
+ htmlFor?: string;
186
+ error?: string;
187
+ helperText?: string;
188
+ required?: boolean;
189
+ className?: string;
190
+ validationState?: ValidationState;
191
+ };
192
+ declare function FormField({ children, label, htmlFor, error, helperText, required, className, validationState }: Readonly<FormFieldProps>): react_jsx_runtime.JSX.Element;
193
+ declare namespace FormField {
194
+ var displayName: string;
195
+ }
196
+
197
+ type InputGroupProps = {
198
+ children: ReactNode;
199
+ prefix?: ReactNode;
200
+ suffix?: ReactNode;
201
+ className?: string;
202
+ };
203
+ declare function InputGroup({ children, prefix, suffix, className }: Readonly<InputGroupProps>): react_jsx_runtime.JSX.Element;
204
+ declare namespace InputGroup {
205
+ var displayName: string;
206
+ }
207
+
208
+ type NavProps = {
209
+ children: React__default.ReactNode;
210
+ className?: string;
211
+ ariaLabel?: string;
212
+ };
213
+ declare function Nav({ children, className, ariaLabel }: Readonly<NavProps>): react_jsx_runtime.JSX.Element;
214
+ declare namespace Nav {
215
+ var displayName: string;
216
+ }
217
+
218
+ type NavbarProps = {
219
+ brand?: ReactNode;
220
+ children: ReactNode;
221
+ sticky?: boolean;
222
+ className?: string;
223
+ actions?: ReactNode;
224
+ size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
225
+ appearance?: 'solid' | 'blur' | 'transparent';
226
+ border?: 'none' | 'bottom' | 'top' | 'both';
227
+ disableMobileMenu?: boolean;
228
+ };
229
+ declare function Navbar({ brand, children, sticky, className, actions, size, appearance, border, disableMobileMenu }: Readonly<NavbarProps>): react_jsx_runtime.JSX.Element;
230
+ declare namespace Navbar {
231
+ var displayName: string;
232
+ }
233
+
234
+ type NavbarBrandProps = {
235
+ children: ReactNode;
236
+ href?: string;
237
+ external?: boolean;
238
+ onClick?: () => void;
239
+ className?: string;
240
+ };
241
+ declare function NavbarBrand({ children, href, external, onClick, className }: Readonly<NavbarBrandProps>): react_jsx_runtime.JSX.Element;
242
+ declare namespace NavbarBrand {
243
+ var displayName: string;
244
+ }
245
+
246
+ type NavbarLinkProps = {
247
+ href: string;
248
+ children: ReactNode;
249
+ external?: boolean;
250
+ className?: string;
251
+ end?: boolean;
252
+ };
253
+ declare function NavbarLink({ href, children, external, className, end }: Readonly<NavbarLinkProps>): react_jsx_runtime.JSX.Element;
254
+ declare namespace NavbarLink {
255
+ var displayName: string;
256
+ }
257
+
258
+ type Tab = {
259
+ id: string;
260
+ label: string;
261
+ content: React__default.ReactNode;
262
+ };
263
+ type TabsProps = {
264
+ tabs: Tab[];
265
+ defaultTab?: string;
266
+ className?: string;
267
+ ariaLabel?: string;
268
+ };
269
+ declare function Tabs({ tabs, defaultTab, className, ariaLabel }: Readonly<TabsProps>): react_jsx_runtime.JSX.Element;
270
+ declare namespace Tabs {
271
+ var displayName: string;
272
+ }
273
+
274
+ type DropdownProps = {
275
+ trigger: React__default.ReactNode;
276
+ children: React__default.ReactNode;
277
+ className?: string;
278
+ };
279
+ declare function Dropdown({ trigger, children, className }: Readonly<DropdownProps>): react_jsx_runtime.JSX.Element;
280
+ declare namespace Dropdown {
281
+ var displayName: string;
282
+ }
283
+
284
+ type BreadcrumbItem = {
285
+ label: string;
286
+ href?: string;
287
+ };
288
+ type BreadcrumbsProps = {
289
+ items: BreadcrumbItem[];
290
+ separator?: ReactNode;
291
+ className?: string;
292
+ };
293
+ declare function Breadcrumbs({ items, separator, className }: Readonly<BreadcrumbsProps>): react_jsx_runtime.JSX.Element;
294
+ declare namespace Breadcrumbs {
295
+ var displayName: string;
296
+ }
297
+
298
+ type PaginationProps = {
299
+ currentPage: number;
300
+ totalPages: number;
301
+ onPageChange: (page: number) => void;
302
+ siblingCount?: number;
303
+ className?: string;
304
+ };
305
+ declare function Pagination({ currentPage, totalPages, onPageChange, siblingCount, className }: Readonly<PaginationProps>): react_jsx_runtime.JSX.Element;
306
+ declare namespace Pagination {
307
+ var displayName: string;
308
+ }
309
+
310
+ type SidebarProps = {
311
+ children: ReactNode;
312
+ className?: string;
313
+ width?: string;
314
+ };
315
+ declare function Sidebar({ children, className, width }: Readonly<SidebarProps>): react_jsx_runtime.JSX.Element;
316
+ declare namespace Sidebar {
317
+ var displayName: string;
318
+ }
319
+
320
+ type StepProps = {
321
+ title: string;
322
+ description?: string;
323
+ icon?: ReactNode;
324
+ status?: 'pending' | 'current' | 'completed' | 'error';
325
+ optional?: boolean;
326
+ };
327
+ type StepperProps = {
328
+ steps: StepProps[];
329
+ currentStep: number;
330
+ className?: string;
331
+ orientation?: 'horizontal' | 'vertical';
332
+ onStepClick?: (step: number) => void;
333
+ clickable?: boolean;
334
+ };
335
+ declare function Stepper({ steps, currentStep, className, orientation, onStepClick, clickable }: Readonly<StepperProps>): react_jsx_runtime.JSX.Element;
336
+ declare namespace Stepper {
337
+ var displayName: string;
338
+ }
339
+
340
+ type ToastProps = {
341
+ message?: string;
342
+ children?: React.ReactNode;
343
+ type?: 'info' | 'success' | 'warning' | 'error';
344
+ onClose?: () => void;
345
+ className?: string;
346
+ };
347
+ declare function Toast({ message, children, type, onClose, className }: Readonly<ToastProps>): react_jsx_runtime.JSX.Element;
348
+ declare namespace Toast {
349
+ var displayName: string;
350
+ }
351
+
352
+ type TooltipProps = {
353
+ children: ReactNode;
354
+ content: string | ReactNode;
355
+ position?: 'top' | 'bottom' | 'left' | 'right';
356
+ variant?: 'default' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | 'neutral';
357
+ open?: boolean;
358
+ usePortal?: boolean;
359
+ className?: string;
360
+ };
361
+ declare function Tooltip({ children, content, position, variant, open, usePortal, className }: Readonly<TooltipProps>): react_jsx_runtime.JSX.Element;
362
+ declare namespace Tooltip {
363
+ var displayName: string;
364
+ }
365
+
366
+ type ModalProps = {
367
+ isOpen: boolean;
368
+ onClose: () => void;
369
+ children: React__default.ReactNode;
370
+ className?: string;
371
+ ariaLabel?: string;
372
+ };
373
+ declare function Modal({ isOpen, onClose, children, className, ariaLabel }: Readonly<ModalProps>): react_jsx_runtime.JSX.Element | null;
374
+ declare namespace Modal {
375
+ var displayName: string;
376
+ }
377
+
378
+ type DialogProps = {
379
+ isOpen: boolean;
380
+ onClose: () => void;
381
+ title: string;
382
+ children: React__default.ReactNode;
383
+ actions?: React__default.ReactNode;
384
+ className?: string;
385
+ };
386
+ declare function Dialog({ isOpen, onClose, title, children, actions, className }: Readonly<DialogProps>): react_jsx_runtime.JSX.Element;
387
+ declare namespace Dialog {
388
+ var displayName: string;
389
+ }
390
+
391
+ type DeleteDialogProps = {
392
+ isOpen: boolean;
393
+ onClose: () => void;
394
+ onConfirm: () => void;
395
+ title?: string;
396
+ description?: string;
397
+ itemName?: string;
398
+ isLoading?: boolean;
399
+ confirmText?: string;
400
+ cancelText?: string;
401
+ className?: string;
402
+ };
403
+ declare function DeleteDialog({ isOpen, onClose, onConfirm, title, description, itemName, isLoading, confirmText, cancelText, className }: Readonly<DeleteDialogProps>): react_jsx_runtime.JSX.Element;
404
+ declare namespace DeleteDialog {
405
+ var displayName: string;
406
+ }
407
+
408
+ type PopoverProps = {
409
+ trigger?: React__default.ReactNode;
410
+ children?: React__default.ReactNode;
411
+ content: React__default.ReactNode;
412
+ position?: 'top' | 'bottom' | 'left' | 'right';
413
+ className?: string;
414
+ };
415
+ declare function Popover({ trigger, children, content, position, className }: Readonly<PopoverProps>): react_jsx_runtime.JSX.Element;
416
+ declare namespace Popover {
417
+ var displayName: string;
418
+ }
419
+
420
+ type AlertProps = {
421
+ children: ReactNode;
422
+ type?: 'info' | 'success' | 'warning' | 'error';
423
+ dismissible?: boolean;
424
+ onClose?: () => void;
425
+ className?: string;
426
+ };
427
+ declare function Alert({ children, type, dismissible, onClose, className }: Readonly<AlertProps>): react_jsx_runtime.JSX.Element;
428
+ declare namespace Alert {
429
+ var displayName: string;
430
+ }
431
+
432
+ type SpinnerProps = {
433
+ size?: 'sm' | 'md' | 'lg';
434
+ variant?: 'primary' | 'accent' | 'secondary' | 'neutral';
435
+ className?: string;
436
+ speed?: string;
437
+ } & React.HTMLAttributes<HTMLDivElement>;
438
+ declare function Spinner({ size, variant, className, speed, ...props }: Readonly<SpinnerProps>): react_jsx_runtime.JSX.Element;
439
+ declare namespace Spinner {
440
+ var displayName: string;
441
+ }
442
+
443
+ type ProgressBarProps = {
444
+ value: number;
445
+ max?: number;
446
+ showLabel?: boolean;
447
+ variant?: 'default' | 'success' | 'warning' | 'error';
448
+ className?: string;
449
+ };
450
+ declare function ProgressBar({ value, max, showLabel, variant, className }: Readonly<ProgressBarProps>): react_jsx_runtime.JSX.Element;
451
+ declare namespace ProgressBar {
452
+ var displayName: string;
453
+ }
454
+
455
+ type SkeletonProps = {
456
+ variant?: 'text' | 'circular' | 'rectangular';
457
+ width?: string;
458
+ height?: string;
459
+ className?: string;
460
+ } & React.HTMLAttributes<HTMLDivElement>;
461
+ declare function Skeleton({ variant, width, height, className, ...props }: Readonly<SkeletonProps>): react_jsx_runtime.JSX.Element;
462
+ declare namespace Skeleton {
463
+ var displayName: string;
464
+ }
465
+
466
+ type BadgeProps = {
467
+ children: ReactNode;
468
+ variant?: 'default' | 'primary' | 'success' | 'warning' | 'error';
469
+ size?: 'sm' | 'md' | 'lg';
470
+ className?: string;
471
+ } & React.HTMLAttributes<HTMLSpanElement>;
472
+ declare function Badge({ children, variant, size, className, ...props }: Readonly<BadgeProps>): react_jsx_runtime.JSX.Element;
473
+ declare namespace Badge {
474
+ var displayName: string;
475
+ }
476
+
477
+ type StatusLabelProps = {
478
+ children: ReactNode;
479
+ status?: 'active' | 'inactive' | 'pending' | 'success' | 'error' | 'warning' | 'info';
480
+ size?: 'sm' | 'md' | 'lg';
481
+ variant?: 'filled' | 'outlined';
482
+ className?: string;
483
+ };
484
+ declare function StatusLabel({ children, status, size, variant, className }: Readonly<StatusLabelProps>): react_jsx_runtime.JSX.Element;
485
+ declare namespace StatusLabel {
486
+ var displayName: string;
487
+ }
488
+
489
+ type AvatarProps = {
490
+ src?: string;
491
+ alt?: string;
492
+ fallback?: ReactNode;
493
+ size?: 'sm' | 'md' | 'lg' | 'xl';
494
+ className?: string;
495
+ };
496
+ declare function Avatar({ src, alt, fallback, size, className }: Readonly<AvatarProps>): react_jsx_runtime.JSX.Element;
497
+ declare namespace Avatar {
498
+ var displayName: string;
499
+ }
500
+
501
+ type EmptyStateProps = {
502
+ title: string;
503
+ description?: string;
504
+ icon?: ReactNode;
505
+ action?: ReactNode;
506
+ className?: string;
507
+ };
508
+ declare function EmptyState({ title, description, icon, action, className }: Readonly<EmptyStateProps>): react_jsx_runtime.JSX.Element;
509
+ declare namespace EmptyState {
510
+ var displayName: string;
511
+ }
512
+
513
+ type ListProps = {
514
+ children: ReactNode;
515
+ className?: string;
516
+ ordered?: boolean;
517
+ };
518
+ type ListItemProps = {
519
+ children: ReactNode;
520
+ className?: string;
521
+ };
522
+ declare function List({ children, className, ordered }: Readonly<ListProps>): react_jsx_runtime.JSX.Element;
523
+ declare function ListItem({ children, className }: Readonly<ListItemProps>): react_jsx_runtime.JSX.Element;
524
+
525
+ type TableProps = {
526
+ children: ReactNode;
527
+ className?: string;
528
+ striped?: boolean;
529
+ bordered?: boolean;
530
+ hoverable?: boolean;
531
+ compact?: boolean;
532
+ caption?: string;
533
+ } & HTMLAttributes<HTMLTableElement>;
534
+ type TableHeaderProps = {
535
+ children: ReactNode;
536
+ className?: string;
537
+ } & HTMLAttributes<HTMLTableSectionElement>;
538
+ type TableBodyProps = {
539
+ children: ReactNode;
540
+ className?: string;
541
+ } & HTMLAttributes<HTMLTableSectionElement>;
542
+ type TableFooterProps = {
543
+ children: ReactNode;
544
+ className?: string;
545
+ } & HTMLAttributes<HTMLTableSectionElement>;
546
+ type TableRowProps = {
547
+ children: ReactNode;
548
+ className?: string;
549
+ selected?: boolean;
550
+ } & HTMLAttributes<HTMLTableRowElement>;
551
+ type TableHeadCellProps = {
552
+ children: ReactNode;
553
+ className?: string;
554
+ align?: 'left' | 'center' | 'right';
555
+ scope?: 'col' | 'row';
556
+ } & HTMLAttributes<HTMLTableCellElement>;
557
+ type TableCellProps = {
558
+ children: ReactNode;
559
+ className?: string;
560
+ align?: 'left' | 'center' | 'right';
561
+ } & HTMLAttributes<HTMLTableCellElement>;
562
+ declare function Table({ children, className, striped, bordered, hoverable, compact, caption, ...props }: Readonly<TableProps>): react_jsx_runtime.JSX.Element;
563
+ declare function TableHeader({ children, className, ...props }: Readonly<TableHeaderProps>): react_jsx_runtime.JSX.Element;
564
+ declare function TableBody({ children, className, ...props }: Readonly<TableBodyProps>): react_jsx_runtime.JSX.Element;
565
+ declare function TableFooter({ children, className, ...props }: Readonly<TableFooterProps>): react_jsx_runtime.JSX.Element;
566
+ declare function TableRow({ children, className, selected, ...props }: Readonly<TableRowProps>): react_jsx_runtime.JSX.Element;
567
+ declare function TableHeadCell({ children, className, align, scope, ...props }: Readonly<TableHeadCellProps>): react_jsx_runtime.JSX.Element;
568
+ declare function TableCell({ children, className, align, ...props }: Readonly<TableCellProps>): react_jsx_runtime.JSX.Element;
569
+
570
+ type ColumnDef<T> = {
571
+ key: keyof T;
572
+ label: string;
573
+ sortable?: boolean;
574
+ width?: string;
575
+ align?: 'left' | 'center' | 'right';
576
+ render?: (value: T[keyof T], row: T, index: number) => ReactNode;
577
+ };
578
+ type DataTableProps<T> = {
579
+ data: T[];
580
+ columns: ColumnDef<T>[];
581
+ className?: string;
582
+ striped?: boolean;
583
+ bordered?: boolean;
584
+ hoverable?: boolean;
585
+ compact?: boolean;
586
+ stickyHeader?: boolean;
587
+ sortable?: boolean;
588
+ paginated?: boolean;
589
+ pageSize?: number;
590
+ selectable?: boolean;
591
+ onRowClick?: (row: T, index: number) => void;
592
+ onSelectionChange?: (selectedIndices: number[]) => void;
593
+ emptyMessage?: string;
594
+ emptyIcon?: ReactNode;
595
+ initialSort?: {
596
+ key: keyof T;
597
+ direction: 'asc' | 'desc';
598
+ };
599
+ };
600
+ declare function DataTable<T>({ data, columns, className, striped, bordered, hoverable, compact, stickyHeader, sortable, paginated, pageSize, selectable, onRowClick, onSelectionChange, emptyMessage, emptyIcon, initialSort }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
601
+ declare namespace DataTable {
602
+ var displayName: string;
603
+ }
604
+
605
+ type SortDirection = 'asc' | 'desc' | null;
606
+ type SortConfig<T> = {
607
+ key: keyof T;
608
+ direction: SortDirection;
609
+ } | null;
610
+ type UseTableOptions<T> = {
611
+ data: T[];
612
+ initialSort?: {
613
+ key: keyof T;
614
+ direction: 'asc' | 'desc';
615
+ };
616
+ pageSize?: number;
617
+ };
618
+ type UseTableReturn<T> = {
619
+ currentData: T[];
620
+ sortedData: T[];
621
+ sortConfig: SortConfig<T>;
622
+ handleSort: (key: keyof T) => void;
623
+ currentPage: number;
624
+ totalPages: number;
625
+ setCurrentPage: (page: number) => void;
626
+ nextPage: () => void;
627
+ prevPage: () => void;
628
+ canNextPage: boolean;
629
+ canPrevPage: boolean;
630
+ selectedRows: Set<number>;
631
+ toggleRow: (index: number) => void;
632
+ toggleAll: () => void;
633
+ isRowSelected: (index: number) => boolean;
634
+ isAllSelected: boolean;
635
+ clearSelection: () => void;
636
+ };
637
+ declare function useTable<T>({ data, initialSort, pageSize }: UseTableOptions<T>): UseTableReturn<T>;
638
+
639
+ type ChipProps = {
640
+ children: ReactNode;
641
+ className?: string;
642
+ variant?: 'default' | 'primary' | 'success' | 'warning' | 'error';
643
+ size?: 'sm' | 'md' | 'lg';
644
+ onRemove?: (e: MouseEvent<HTMLButtonElement>) => void;
645
+ icon?: ReactNode;
646
+ disabled?: boolean;
647
+ clickable?: boolean;
648
+ onClick?: (e: MouseEvent<HTMLDivElement>) => void;
649
+ };
650
+ declare function Chip({ children, className, variant, size, onRemove, icon, disabled, clickable, onClick }: Readonly<ChipProps>): react_jsx_runtime.JSX.Element;
651
+ declare namespace Chip {
652
+ var displayName: string;
653
+ }
654
+
655
+ type TimelineItemProps = {
656
+ children: ReactNode;
657
+ className?: string;
658
+ icon?: ReactNode;
659
+ iconColor?: 'default' | 'primary' | 'success' | 'warning' | 'error';
660
+ title?: string;
661
+ subtitle?: string;
662
+ timestamp?: string;
663
+ isLast?: boolean;
664
+ };
665
+ type TimelineProps = {
666
+ children: ReactNode;
667
+ className?: string;
668
+ position?: 'left' | 'center' | 'right';
669
+ };
670
+ declare function TimelineItem({ children, className, icon, iconColor, title, subtitle, timestamp, isLast }: Readonly<TimelineItemProps>): react_jsx_runtime.JSX.Element;
671
+ declare function Timeline({ children, className, position }: Readonly<TimelineProps>): react_jsx_runtime.JSX.Element;
672
+ declare namespace Timeline {
673
+ var displayName: string;
674
+ }
675
+
676
+ type PricingTableProps = {
677
+ title?: string;
678
+ description?: string;
679
+ children: ReactNode;
680
+ columns?: 2 | 3 | 4;
681
+ className?: string;
682
+ };
683
+ declare function PricingTable({ title, description, children, columns, className }: Readonly<PricingTableProps>): react_jsx_runtime.JSX.Element;
684
+ declare namespace PricingTable {
685
+ var displayName: string;
686
+ }
687
+
688
+ type PricingFeature = {
689
+ label: string;
690
+ included: boolean;
691
+ };
692
+ type PricingTierProps = {
693
+ name: string;
694
+ price: string;
695
+ period?: string;
696
+ description?: string;
697
+ features: PricingFeature[];
698
+ ctaLabel: string;
699
+ ctaOnClick: () => void;
700
+ featured?: boolean;
701
+ badge?: string;
702
+ className?: string;
703
+ };
704
+ declare function PricingTier({ name, price, period, description, features, ctaLabel, ctaOnClick, featured, badge, className }: Readonly<PricingTierProps>): react_jsx_runtime.JSX.Element;
705
+ declare namespace PricingTier {
706
+ var displayName: string;
707
+ }
708
+
709
+ type CodeBlockProps = {
710
+ code: string;
711
+ className?: string;
712
+ showCopy?: boolean;
713
+ };
714
+ declare function CodeBlock({ code, className, showCopy }: Readonly<CodeBlockProps>): react_jsx_runtime.JSX.Element;
715
+ declare namespace CodeBlock {
716
+ var displayName: string;
717
+ }
718
+
719
+ type CardProps = {
720
+ children: React__default.ReactNode;
721
+ className?: string;
722
+ variant?: 'default' | 'bordered' | 'ghost' | 'filled';
723
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
724
+ hoverable?: boolean;
725
+ imagePosition?: 'top' | 'bottom' | 'side' | 'overlay';
726
+ centered?: boolean;
727
+ compact?: boolean;
728
+ } & React__default.HTMLAttributes<HTMLDivElement>;
729
+ declare function Card({ children, className, variant, size, hoverable, imagePosition, centered, compact, ...props }: Readonly<CardProps>): react_jsx_runtime.JSX.Element;
730
+ declare namespace Card {
731
+ var displayName: string;
732
+ }
733
+
734
+ type CardHeaderProps = {
735
+ children: ReactNode;
736
+ className?: string;
737
+ bordered?: boolean;
738
+ padding?: 'none' | 'sm' | 'md' | 'lg';
739
+ };
740
+ declare function CardHeader({ children, className, bordered, padding }: Readonly<CardHeaderProps>): react_jsx_runtime.JSX.Element;
741
+ declare namespace CardHeader {
742
+ var displayName: string;
743
+ }
744
+
745
+ type CardFooterProps = {
746
+ children: ReactNode;
747
+ className?: string;
748
+ bordered?: boolean;
749
+ padding?: 'none' | 'sm' | 'md' | 'lg';
750
+ align?: 'start' | 'center' | 'end';
751
+ };
752
+ declare function CardFooter({ children, className, bordered, padding, align }: Readonly<CardFooterProps>): react_jsx_runtime.JSX.Element;
753
+ declare namespace CardFooter {
754
+ var displayName: string;
755
+ }
756
+
757
+ type ContainerProps = {
758
+ children: React__default.ReactNode;
759
+ className?: string;
760
+ size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
761
+ padding?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
762
+ align?: 'start' | 'center' | 'end';
763
+ };
764
+ declare function Container({ children, className, size, padding, align }: Readonly<ContainerProps>): react_jsx_runtime.JSX.Element;
765
+ declare namespace Container {
766
+ var displayName: string;
767
+ }
768
+
769
+ type GridProps = {
770
+ children: React__default.ReactNode;
771
+ className?: string;
772
+ itemSize?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
773
+ maxCols?: number;
774
+ gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
775
+ responsive?: {
776
+ sm?: number;
777
+ md?: number;
778
+ lg?: number;
779
+ xl?: number;
780
+ };
781
+ alignItems?: 'start' | 'center' | 'end' | 'stretch';
782
+ justifyItems?: 'start' | 'center' | 'end' | 'stretch';
783
+ };
784
+ declare function Grid({ children, className, itemSize, maxCols, gap, responsive, alignItems, justifyItems }: Readonly<GridProps>): react_jsx_runtime.JSX.Element;
785
+ declare namespace Grid {
786
+ var displayName: string;
787
+ }
788
+
789
+ type StackProps = {
790
+ children: React__default.ReactNode;
791
+ className?: string;
792
+ direction?: 'horizontal' | 'vertical';
793
+ spacing?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
794
+ align?: 'start' | 'center' | 'end' | 'stretch';
795
+ justify?: 'start' | 'center' | 'end' | 'between' | 'around';
796
+ };
797
+ declare function Stack({ children, className, direction, spacing, align, justify }: Readonly<StackProps>): react_jsx_runtime.JSX.Element;
798
+ declare namespace Stack {
799
+ var displayName: string;
800
+ }
801
+
802
+ type DividerProps = {
803
+ orientation?: 'horizontal' | 'vertical';
804
+ className?: string;
805
+ } & React.HTMLAttributes<HTMLHRElement>;
806
+ declare function Divider({ orientation, className, ...props }: Readonly<DividerProps>): react_jsx_runtime.JSX.Element;
807
+ declare namespace Divider {
808
+ var displayName: string;
809
+ }
810
+
811
+ type DrawerProps = {
812
+ isOpen: boolean;
813
+ onClose: () => void;
814
+ children: ReactNode;
815
+ position?: 'left' | 'right' | 'top' | 'bottom';
816
+ className?: string;
817
+ };
818
+ declare function Drawer({ isOpen, onClose, children, position, className }: Readonly<DrawerProps>): react_jsx_runtime.JSX.Element | null;
819
+ declare namespace Drawer {
820
+ var displayName: string;
821
+ }
822
+
823
+ type PageProps = {
824
+ children: React__default.ReactNode;
825
+ className?: string;
826
+ };
827
+ declare function Page({ children, className }: Readonly<PageProps>): react_jsx_runtime.JSX.Element;
828
+ declare namespace Page {
829
+ var displayName: string;
830
+ }
831
+
832
+ type AccordionItemProps = {
833
+ title: string;
834
+ children: ReactNode;
835
+ defaultOpen?: boolean;
836
+ };
837
+ type AccordionProps = {
838
+ children: ReactNode;
839
+ className?: string;
840
+ allowMultiple?: boolean;
841
+ };
842
+ declare function AccordionItem({ title, children, defaultOpen }: Readonly<AccordionItemProps>): react_jsx_runtime.JSX.Element;
843
+ declare function Accordion({ children, className }: Readonly<AccordionProps>): react_jsx_runtime.JSX.Element;
844
+ declare namespace Accordion {
845
+ var displayName: string;
846
+ }
847
+
848
+ type HeroAction = {
849
+ label: string;
850
+ onClick: () => void;
851
+ variant?: 'primary' | 'secondary' | 'neutral' | 'error';
852
+ style?: 'solid' | 'outline' | 'ghost' | 'link' | 'soft';
853
+ loading?: boolean;
854
+ };
855
+ type HeroProps = {
856
+ title: string;
857
+ description?: string;
858
+ primaryAction?: HeroAction;
859
+ secondaryAction?: HeroAction;
860
+ children?: ReactNode;
861
+ className?: string;
862
+ backgroundGradient?: boolean;
863
+ centered?: boolean;
864
+ size?: 'sm' | 'md' | 'lg';
865
+ };
866
+ declare function Hero({ title, description, primaryAction, secondaryAction, children, className, backgroundGradient, centered, size }: Readonly<HeroProps>): react_jsx_runtime.JSX.Element;
867
+ declare namespace Hero {
868
+ var displayName: string;
869
+ }
870
+
871
+ type Feature = {
872
+ icon: ReactNode;
873
+ title: string;
874
+ description: string;
875
+ };
876
+ type FeatureSectionProps = {
877
+ title?: string;
878
+ description?: string;
879
+ features: Feature[];
880
+ columns?: 2 | 3 | 4;
881
+ centered?: boolean;
882
+ className?: string;
883
+ };
884
+ declare function FeatureSection({ title, description, features, columns, centered, className }: Readonly<FeatureSectionProps>): react_jsx_runtime.JSX.Element;
885
+ declare namespace FeatureSection {
886
+ var displayName: string;
887
+ }
888
+
889
+ type FooterSection = {
890
+ title: string;
891
+ links: Array<{
892
+ label: string;
893
+ href: string;
894
+ external?: boolean;
895
+ }>;
896
+ };
897
+ type FooterProps = {
898
+ sections?: FooterSection[];
899
+ copyright?: string;
900
+ social?: ReactNode;
901
+ className?: string;
902
+ };
903
+ declare function Footer({ sections, copyright, social, className }: Readonly<FooterProps>): react_jsx_runtime.JSX.Element;
904
+ declare namespace Footer {
905
+ var displayName: string;
906
+ }
907
+
908
+ type LeftNavLayoutProps = {
909
+ nav: ReactNode;
910
+ children: ReactNode;
911
+ collapsed?: boolean;
912
+ onCollapsedChange?: (collapsed: boolean) => void;
913
+ showToggle?: boolean;
914
+ className?: string;
915
+ navClassName?: string;
916
+ contentClassName?: string;
917
+ navWidth?: string;
918
+ navWidthCollapsed?: string;
919
+ mobileCollapsible?: boolean;
920
+ mobileMenuOpen?: boolean;
921
+ onMobileMenuOpenChange?: (open: boolean) => void;
922
+ embedded?: boolean;
923
+ };
924
+ declare function LeftNavLayout({ nav, children, collapsed: controlledCollapsed, onCollapsedChange, showToggle, className, navClassName, contentClassName, navWidth, navWidthCollapsed, mobileCollapsible, mobileMenuOpen: controlledMobileMenuOpen, onMobileMenuOpenChange, embedded }: Readonly<LeftNavLayoutProps>): react_jsx_runtime.JSX.Element;
925
+ declare namespace LeftNavLayout {
926
+ var displayName: string;
927
+ }
928
+
929
+ type LeftNavItemProps = {
930
+ icon?: ReactNode;
931
+ children: ReactNode;
932
+ active?: boolean;
933
+ className?: string;
934
+ badge?: ReactNode;
935
+ href?: string;
936
+ title?: string;
937
+ preventNavigation?: boolean;
938
+ };
939
+ declare function LeftNavItem({ icon, children, active, className, badge, href, title, preventNavigation }: Readonly<LeftNavItemProps>): react_jsx_runtime.JSX.Element;
940
+ declare namespace LeftNavItem {
941
+ var displayName: string;
942
+ }
943
+
944
+ type LeftNavSectionProps = {
945
+ children: ReactNode;
946
+ label?: string;
947
+ className?: string;
948
+ };
949
+ declare function LeftNavSection({ children, label, className }: Readonly<LeftNavSectionProps>): react_jsx_runtime.JSX.Element;
950
+ declare namespace LeftNavSection {
951
+ var displayName: string;
952
+ }
953
+
954
+ type HeadingProps = {
955
+ children: ReactNode;
956
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
957
+ className?: string;
958
+ noMargin?: boolean;
959
+ };
960
+ declare function Heading({ children, level, className, noMargin }: Readonly<HeadingProps>): React$1.DetailedReactHTMLElement<{
961
+ className: string;
962
+ }, HTMLElement>;
963
+ declare namespace Heading {
964
+ var displayName: string;
965
+ }
966
+
967
+ type TextProps = {
968
+ children: ReactNode;
969
+ variant?: 'body' | 'muted' | 'small';
970
+ size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl';
971
+ weight?: 'normal' | 'medium' | 'semibold' | 'bold';
972
+ className?: string;
973
+ noMargin?: boolean;
974
+ };
975
+ declare function Text({ children, variant, size, weight, className, noMargin }: Readonly<TextProps>): react_jsx_runtime.JSX.Element;
976
+ declare namespace Text {
977
+ var displayName: string;
978
+ }
979
+
980
+ type CodeProps = {
981
+ children: ReactNode;
982
+ block?: boolean;
983
+ variant?: 'default' | 'primary' | 'muted';
984
+ className?: string;
985
+ };
986
+ declare function Code({ children, block, variant, className }: Readonly<CodeProps>): react_jsx_runtime.JSX.Element;
987
+ declare namespace Code {
988
+ var displayName: string;
989
+ }
990
+
991
+ type LinkProps = {
992
+ children: ReactNode;
993
+ href: string;
994
+ external?: boolean;
995
+ variant?: 'default' | 'muted' | 'secondary' | 'inherit';
996
+ underline?: 'hover' | 'always' | 'none';
997
+ size?: 'sm' | 'md' | 'lg';
998
+ display?: 'inline' | 'block';
999
+ className?: string;
1000
+ };
1001
+ declare function Link({ children, href, external, variant, underline, size, display, className }: Readonly<LinkProps>): react_jsx_runtime.JSX.Element;
1002
+ declare namespace Link {
1003
+ var displayName: string;
1004
+ }
1005
+
1006
+ type Theme = 'light' | 'dark';
1007
+ type ThemeContextType = {
1008
+ theme: Theme;
1009
+ setTheme: (theme: Theme) => void;
1010
+ availableThemes: Theme[];
1011
+ };
1012
+ type ThemeProviderProps = {
1013
+ children: ReactNode;
1014
+ defaultTheme?: Theme;
1015
+ storageKey?: string;
1016
+ themes?: Theme[];
1017
+ };
1018
+ declare function ThemeProvider({ children, defaultTheme, storageKey, themes }: Readonly<ThemeProviderProps>): react_jsx_runtime.JSX.Element;
1019
+ declare function useTheme(): ThemeContextType;
1020
+
1021
+ type ColorModeToggleProps = {
1022
+ className?: string;
1023
+ };
1024
+ declare function ColorModeToggle({ className }: Readonly<ColorModeToggleProps>): react_jsx_runtime.JSX.Element;
1025
+ declare namespace ColorModeToggle {
1026
+ var displayName: string;
1027
+ }
1028
+
1029
+ export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, Alert, type AlertProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Code, CodeBlock, type CodeBlockProps, type CodeProps, ColorModeToggle, type ColorModeToggleProps, type ColumnDef, Container, type ContainerProps, DataTable, type DataTableProps, DeleteDialog, Dialog, type DialogProps, Divider, type DividerProps, Drawer, type DrawerProps, Dropdown, type DropdownProps, EmptyState, type EmptyStateProps, type Feature, FeatureSection, type FeatureSectionProps, Footer, type FooterProps, type FooterSection, FormField, type FormFieldProps, Grid, type GridProps, Heading, type HeadingProps, Hero, type HeroAction, type HeroProps, Input, InputGroup, type InputGroupProps, type InputProps, LeftNavItem, type LeftNavItemProps, LeftNavLayout, type LeftNavLayoutProps, LeftNavSection, type LeftNavSectionProps, Link, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Modal, type ModalProps, Nav, type NavProps, Navbar, NavbarBrand, type NavbarBrandProps, NavbarLink, type NavbarLinkProps, type NavbarProps, Page, type PageProps, Pagination, type PaginationProps, Popover, type PopoverProps, type PricingFeature, PricingTable, type PricingTableProps, PricingTier, type PricingTierProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Select, SelectItem, type SelectItemProps, type SelectProps, Sidebar, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, 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 UseTableOptions, type UseTableReturn, useTable, useTheme };