@matheusrizzati/ui 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,10 @@
1
1
  import { ClassValue } from 'clsx';
2
- import React, { ButtonHTMLAttributes, InputHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
2
+ import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, ReactNode, HTMLAttributes, ImgHTMLAttributes } from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
  import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import * as react_jsx_runtime from 'react/jsx-runtime';
6
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
7
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
5
8
  import * as Dialog from '@radix-ui/react-dialog';
6
9
  import * as DropdownMenu from '@radix-ui/react-dropdown-menu';
7
10
 
@@ -11,6 +14,37 @@ import * as DropdownMenu from '@radix-ui/react-dropdown-menu';
11
14
  */
12
15
  declare function cn(...inputs: ClassValue[]): string;
13
16
 
17
+ type Theme = "light" | "dark" | "system";
18
+ interface ThemeContextValue {
19
+ /** The current theme setting ('light', 'dark', or 'system') */
20
+ theme: Theme;
21
+ /** The resolved theme after evaluating system preference */
22
+ resolvedTheme: "light" | "dark";
23
+ /** Set a specific theme */
24
+ setTheme: (theme: Theme) => void;
25
+ /** Toggle between light and dark */
26
+ toggleTheme: () => void;
27
+ }
28
+ interface ThemeProviderProps {
29
+ children: React.ReactNode;
30
+ /** Default theme if nothing is stored. Defaults to 'system'. */
31
+ defaultTheme?: Theme;
32
+ /** localStorage key for persistence. Defaults to 'rizhel-theme'. */
33
+ storageKey?: string;
34
+ /** Force a specific theme, ignoring stored/default value. */
35
+ forcedTheme?: "light" | "dark";
36
+ }
37
+ declare function ThemeProvider({ children, defaultTheme, storageKey, forcedTheme, }: ThemeProviderProps): React.FunctionComponentElement<React.ProviderProps<ThemeContextValue | undefined>>;
38
+ /**
39
+ * Hook to access the current theme and theme controls.
40
+ *
41
+ * @example
42
+ * ```tsx
43
+ * const { theme, resolvedTheme, toggleTheme } = useTheme();
44
+ * ```
45
+ */
46
+ declare function useTheme(): ThemeContextValue;
47
+
14
48
  declare const buttonVariants: (props?: ({
15
49
  variant?: "primary" | "secondary" | "ghost" | "danger" | null | undefined;
16
50
  size?: "sm" | "md" | "lg" | "icon" | null | undefined;
@@ -38,11 +72,188 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size">
38
72
  startIcon?: React.ReactNode;
39
73
  /** Content rendered at the end of the input */
40
74
  endIcon?: React.ReactNode;
75
+ /** Callback to clear the input value — shows a clear (×) button when provided and input has value */
76
+ onClear?: () => void;
41
77
  }
42
78
  declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
43
79
 
80
+ declare const textareaVariants: (props?: ({
81
+ inputSize?: "sm" | "md" | "lg" | null | undefined;
82
+ state?: "default" | "error" | null | undefined;
83
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
84
+
85
+ interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size">, VariantProps<typeof textareaVariants> {
86
+ label?: string;
87
+ helperText?: string;
88
+ error?: string;
89
+ autoResize?: boolean;
90
+ showCount?: boolean;
91
+ }
92
+ declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
93
+
94
+ interface SelectOption {
95
+ value: string;
96
+ label: string;
97
+ disabled?: boolean;
98
+ /** Optional icon or element to render before the label */
99
+ icon?: ReactNode;
100
+ /** Optional description text below the label */
101
+ description?: string;
102
+ }
103
+ interface SelectGroup {
104
+ label: string;
105
+ options: SelectOption[];
106
+ }
107
+ interface SelectProps {
108
+ /** Flat list of options */
109
+ options?: SelectOption[];
110
+ /** Grouped options — takes priority over `options` */
111
+ groups?: SelectGroup[];
112
+ /** Currently selected value */
113
+ value?: string;
114
+ /** Callback when value changes */
115
+ onChange?: (value: string) => void;
116
+ /** Placeholder text shown when nothing is selected */
117
+ placeholder?: string;
118
+ /** Label above the select */
119
+ label?: string;
120
+ /** Helper text below the select */
121
+ helperText?: string;
122
+ /** Error message — activates error styling */
123
+ error?: string;
124
+ /** No search results text */
125
+ emptyMessage?: string;
126
+ /** Enable search filtering */
127
+ searchable?: boolean;
128
+ /** Search input placeholder */
129
+ searchPlaceholder?: string;
130
+ /** Allow clearing the selected value */
131
+ clearable?: boolean;
132
+ /** Component size */
133
+ size?: "sm" | "md" | "lg";
134
+ /** Disable the select */
135
+ disabled?: boolean;
136
+ /** Additional class name */
137
+ className?: string;
138
+ /** Custom option renderer */
139
+ renderOption?: (option: SelectOption, isSelected: boolean) => ReactNode;
140
+ }
141
+ declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLButtonElement>>;
142
+
143
+ interface ComboboxOption {
144
+ value: string;
145
+ label: string;
146
+ disabled?: boolean;
147
+ /** Optional icon or element before label */
148
+ icon?: ReactNode;
149
+ }
150
+ interface ComboboxGroup {
151
+ label: string;
152
+ options: ComboboxOption[];
153
+ }
154
+ interface ComboboxProps {
155
+ /** Flat list of options */
156
+ options?: ComboboxOption[];
157
+ /** Grouped options — takes priority over `options` */
158
+ groups?: ComboboxGroup[];
159
+ /** Current value (string for single, string[] for multi) */
160
+ value?: string | string[];
161
+ /** Callback when value changes */
162
+ onChange?: (value: string | string[]) => void;
163
+ /** Input placeholder */
164
+ placeholder?: string;
165
+ /** Label text */
166
+ label?: string;
167
+ /** No results message */
168
+ emptyMessage?: string;
169
+ /** Allow multiple selections */
170
+ multiple?: boolean;
171
+ /** Allow creating new options on Enter */
172
+ creatable?: boolean;
173
+ /** Text for the create option (receives the search term) */
174
+ createLabel?: (search: string) => string;
175
+ /** Show loading spinner */
176
+ loading?: boolean;
177
+ /** Disable the combobox */
178
+ disabled?: boolean;
179
+ /** Additional class name */
180
+ className?: string;
181
+ }
182
+ declare const Combobox: React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
183
+
184
+ declare const checkboxVariants: (props?: ({
185
+ size?: "sm" | "md" | null | undefined;
186
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
187
+
188
+ interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size">, VariantProps<typeof checkboxVariants> {
189
+ label?: string;
190
+ description?: string;
191
+ indeterminate?: boolean;
192
+ }
193
+ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
194
+
195
+ interface RadioGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
196
+ name?: string;
197
+ value?: string;
198
+ onChange?: (value: string) => void;
199
+ orientation?: "vertical" | "horizontal";
200
+ disabled?: boolean;
201
+ }
202
+ declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
203
+ interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "onChange"> {
204
+ label?: string;
205
+ description?: string;
206
+ }
207
+ declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
208
+
209
+ interface SwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onChange"> {
210
+ checked?: boolean;
211
+ onChange?: (checked: boolean) => void;
212
+ label?: string;
213
+ description?: string;
214
+ size?: "sm" | "md";
215
+ }
216
+ declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
217
+
218
+ interface SeparatorProps extends HTMLAttributes<HTMLDivElement> {
219
+ orientation?: "horizontal" | "vertical";
220
+ decorative?: boolean;
221
+ }
222
+ declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
223
+
224
+ declare const avatarVariants: (props?: ({
225
+ size?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
226
+ shape?: "circle" | "rounded" | null | undefined;
227
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
228
+
229
+ interface AvatarProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, "size">, VariantProps<typeof avatarVariants> {
230
+ name?: string;
231
+ status?: "online" | "offline" | "busy" | "away";
232
+ }
233
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
234
+
235
+ declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
236
+ interface TooltipProps {
237
+ children: ReactNode;
238
+ content: ReactNode;
239
+ side?: "top" | "right" | "bottom" | "left";
240
+ align?: "start" | "center" | "end";
241
+ delayDuration?: number;
242
+ sideOffset?: number;
243
+ }
244
+ declare function Tooltip({ children, content, side, align, delayDuration, sideOffset, }: TooltipProps): react_jsx_runtime.JSX.Element;
245
+ declare namespace Tooltip {
246
+ var displayName: string;
247
+ }
248
+
249
+ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
250
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
251
+ declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
252
+ declare const PopoverClose: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
253
+ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
254
+
44
255
  declare const cardVariants: (props?: ({
45
- variant?: "ghost" | "elevated" | "outlined" | null | undefined;
256
+ variant?: "ghost" | "elevated" | "outlined" | "glass" | null | undefined;
46
257
  hoverable?: boolean | null | undefined;
47
258
  } & class_variance_authority_types.ClassProp) | undefined) => string;
48
259
 
@@ -139,4 +350,325 @@ interface SidebarItemProps extends HTMLAttributes<HTMLButtonElement> {
139
350
  declare const SidebarItem: React.ForwardRefExoticComponent<SidebarItemProps & React.RefAttributes<HTMLButtonElement>>;
140
351
  declare const SidebarToggle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
141
352
 
142
- export { Badge, type BadgeProps, Button, type ButtonProps, Card, CardBody, CardFooter, CardHeader, type CardProps, Dropdown, DropdownContent, DropdownGroup, DropdownItem, DropdownLabel, DropdownSeparator, DropdownTrigger, Input, type InputProps, Modal, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalTitle, ModalTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SidebarToggle, Table, TableWrapper, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsProps, TabsTrigger, type TabsTriggerProps, Tbody, Td, Th, Thead, Tr, badgeVariants, buttonVariants, cardVariants, cn, inputVariants, useSidebar };
353
+ declare const statCardChangeVariants: (props?: ({
354
+ changeType?: "positive" | "negative" | "neutral" | null | undefined;
355
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
356
+
357
+ interface StatCardProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof statCardChangeVariants> {
358
+ title: string;
359
+ value: string | number;
360
+ change?: string;
361
+ changeType?: "positive" | "negative" | "neutral";
362
+ icon?: ReactNode;
363
+ }
364
+ declare const StatCard: React.ForwardRefExoticComponent<StatCardProps & React.RefAttributes<HTMLDivElement>>;
365
+
366
+ interface EmptyStateProps extends HTMLAttributes<HTMLDivElement> {
367
+ icon?: ReactNode;
368
+ title: string;
369
+ description?: string;
370
+ action?: ReactNode;
371
+ }
372
+ declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
373
+
374
+ declare const alertVariants: (props?: ({
375
+ variant?: "danger" | "success" | "warning" | "info" | null | undefined;
376
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
377
+
378
+ interface AlertProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
379
+ title?: string;
380
+ description?: string;
381
+ icon?: ReactNode;
382
+ dismissible?: boolean;
383
+ onDismiss?: () => void;
384
+ action?: ReactNode;
385
+ }
386
+ declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
387
+
388
+ declare const skeletonVariants: (props?: ({
389
+ variant?: "circle" | "rect" | "text" | null | undefined;
390
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
391
+
392
+ interface SkeletonProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
393
+ width?: string | number;
394
+ height?: string | number;
395
+ }
396
+ interface SkeletonTextProps extends HTMLAttributes<HTMLDivElement> {
397
+ lines?: number;
398
+ lastLineWidth?: string;
399
+ }
400
+ declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>> & {
401
+ Text: React.FC<SkeletonTextProps>;
402
+ };
403
+
404
+ declare const progressTrackVariants: (props?: ({
405
+ size?: "sm" | "md" | "lg" | null | undefined;
406
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
407
+ declare const progressBarVariants: (props?: ({
408
+ variant?: "danger" | "default" | "success" | "warning" | null | undefined;
409
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
410
+
411
+ interface ProgressProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressTrackVariants>, VariantProps<typeof progressBarVariants> {
412
+ value?: number;
413
+ max?: number;
414
+ label?: string;
415
+ showValue?: boolean;
416
+ indeterminate?: boolean;
417
+ }
418
+ declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
419
+
420
+ interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'> {
421
+ page: number;
422
+ totalPages: number;
423
+ onPageChange: (page: number) => void;
424
+ siblingCount?: number;
425
+ showInfo?: boolean;
426
+ totalItems?: number;
427
+ pageSize?: number;
428
+ }
429
+ declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLElement>>;
430
+
431
+ interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
432
+ separator?: ReactNode;
433
+ }
434
+ declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
435
+ interface BreadcrumbItemProps extends HTMLAttributes<HTMLAnchorElement> {
436
+ href?: string;
437
+ active?: boolean;
438
+ icon?: ReactNode;
439
+ }
440
+ declare const BreadcrumbItem: React.ForwardRefExoticComponent<BreadcrumbItemProps & React.RefAttributes<HTMLAnchorElement>>;
441
+
442
+ interface ToastData {
443
+ id: string;
444
+ title?: string;
445
+ description?: string;
446
+ variant?: "default" | "success" | "warning" | "danger";
447
+ duration?: number;
448
+ action?: ReactNode;
449
+ }
450
+ type ToastInput = Omit<ToastData, "id">;
451
+ interface ToastContextValue {
452
+ toast: (input: ToastInput) => void;
453
+ dismiss: (id: string) => void;
454
+ }
455
+ declare const useToast: () => ToastContextValue;
456
+ declare function ToastProvider({ children }: {
457
+ children: ReactNode;
458
+ }): react_jsx_runtime.JSX.Element;
459
+ declare namespace ToastProvider {
460
+ var displayName: string;
461
+ }
462
+
463
+ interface Command {
464
+ id: string;
465
+ label: string;
466
+ icon?: ReactNode;
467
+ shortcut?: string;
468
+ group?: string;
469
+ onAction: () => void;
470
+ }
471
+ interface CommandPaletteProps {
472
+ commands: Command[];
473
+ placeholder?: string;
474
+ open?: boolean;
475
+ onOpenChange?: (open: boolean) => void;
476
+ emptyMessage?: string;
477
+ }
478
+ declare function CommandPalette({ commands, placeholder, open: controlledOpen, onOpenChange, emptyMessage, }: CommandPaletteProps): react_jsx_runtime.JSX.Element;
479
+ declare namespace CommandPalette {
480
+ var displayName: string;
481
+ }
482
+
483
+ interface DataTableColumn<T = any> {
484
+ key: string;
485
+ header: string;
486
+ render?: (value: any, row: T, index: number) => ReactNode;
487
+ sortable?: boolean;
488
+ width?: string;
489
+ align?: "left" | "center" | "right";
490
+ }
491
+ interface DataTableProps<T = any> extends HTMLAttributes<HTMLDivElement> {
492
+ columns: DataTableColumn<T>[];
493
+ data: T[];
494
+ sortable?: boolean;
495
+ onSort?: (key: string, direction: "asc" | "desc") => void;
496
+ selectable?: boolean;
497
+ selectedRows?: Set<number>;
498
+ onSelectionChange?: (selected: Set<number>) => void;
499
+ emptyMessage?: string;
500
+ stickyHeader?: boolean;
501
+ }
502
+ declare const DataTable: <T extends Record<string, any>>(props: DataTableProps<T> & {
503
+ ref?: React.Ref<HTMLDivElement>;
504
+ }) => React.ReactElement;
505
+
506
+ interface StepData {
507
+ title: string;
508
+ description?: string;
509
+ icon?: ReactNode;
510
+ }
511
+ interface StepsProps extends HTMLAttributes<HTMLDivElement> {
512
+ steps: StepData[];
513
+ current: number;
514
+ orientation?: "horizontal" | "vertical";
515
+ }
516
+ declare const Steps: React.ForwardRefExoticComponent<StepsProps & React.RefAttributes<HTMLDivElement>>;
517
+
518
+ interface AppShellProps extends HTMLAttributes<HTMLDivElement> {
519
+ sidebar?: ReactNode;
520
+ navbar?: ReactNode;
521
+ }
522
+ declare const AppShell: React.ForwardRefExoticComponent<AppShellProps & React.RefAttributes<HTMLDivElement>>;
523
+
524
+ interface PageHeaderProps extends HTMLAttributes<HTMLDivElement> {
525
+ title: string;
526
+ description?: string;
527
+ breadcrumbs?: ReactNode;
528
+ actions?: ReactNode;
529
+ }
530
+ declare const PageHeader: React.ForwardRefExoticComponent<PageHeaderProps & React.RefAttributes<HTMLDivElement>>;
531
+
532
+ interface NavbarProps extends HTMLAttributes<HTMLElement> {
533
+ leftContent?: ReactNode;
534
+ centerContent?: ReactNode;
535
+ rightContent?: ReactNode;
536
+ }
537
+ declare const Navbar: React.ForwardRefExoticComponent<NavbarProps & React.RefAttributes<HTMLElement>>;
538
+
539
+ type DrawerSide = "left" | "right" | "top" | "bottom";
540
+ type DrawerSize = "sm" | "md" | "lg" | "xl" | "full";
541
+ interface DrawerProps {
542
+ open?: boolean;
543
+ onOpenChange?: (open: boolean) => void;
544
+ children: ReactNode;
545
+ }
546
+ interface DrawerContentProps {
547
+ children: ReactNode;
548
+ side?: DrawerSide;
549
+ size?: DrawerSize;
550
+ className?: string;
551
+ }
552
+ declare const Drawer: {
553
+ ({ children, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
554
+ displayName: string;
555
+ };
556
+ declare const DrawerTrigger: React.ForwardRefExoticComponent<Dialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
557
+ declare const DrawerClose: React.ForwardRefExoticComponent<Dialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
558
+ declare const DrawerContent: React.ForwardRefExoticComponent<DrawerContentProps & React.RefAttributes<HTMLDivElement>>;
559
+ declare const DrawerHeader: ({ children, className, onClose, }: {
560
+ children: ReactNode;
561
+ className?: string;
562
+ onClose?: () => void;
563
+ }) => react_jsx_runtime.JSX.Element;
564
+ declare const DrawerTitle: ({ children, className }: {
565
+ children: ReactNode;
566
+ className?: string;
567
+ }) => react_jsx_runtime.JSX.Element;
568
+ declare const DrawerDescription: ({ children, className }: {
569
+ children: ReactNode;
570
+ className?: string;
571
+ }) => react_jsx_runtime.JSX.Element;
572
+ declare const DrawerBody: ({ children, className }: {
573
+ children: ReactNode;
574
+ className?: string;
575
+ }) => react_jsx_runtime.JSX.Element;
576
+ declare const DrawerFooter: ({ children, className }: {
577
+ children: ReactNode;
578
+ className?: string;
579
+ }) => react_jsx_runtime.JSX.Element;
580
+
581
+ interface AccordionItemData {
582
+ value: string;
583
+ trigger: ReactNode;
584
+ content: ReactNode;
585
+ disabled?: boolean;
586
+ }
587
+ interface AccordionProps {
588
+ /** Accordion items */
589
+ items: AccordionItemData[];
590
+ /** 'single' allows one open at a time, 'multiple' allows many */
591
+ type?: "single" | "multiple";
592
+ /** Default open item value(s) */
593
+ defaultValue?: string | string[];
594
+ /** Additional className for the root */
595
+ className?: string;
596
+ }
597
+ declare function Accordion({ items, type, defaultValue, className, }: AccordionProps): react_jsx_runtime.JSX.Element;
598
+ declare namespace Accordion {
599
+ var displayName: string;
600
+ }
601
+
602
+ interface SliderProps {
603
+ /** Current value */
604
+ value?: number;
605
+ /** Callback when value changes */
606
+ onChange?: (value: number) => void;
607
+ /** Minimum value */
608
+ min?: number;
609
+ /** Maximum value */
610
+ max?: number;
611
+ /** Step increment */
612
+ step?: number;
613
+ /** Label text */
614
+ label?: string;
615
+ /** Show the current value */
616
+ showValue?: boolean;
617
+ /** Format the displayed value */
618
+ formatValue?: (value: number) => string;
619
+ /** Component size */
620
+ size?: "sm" | "md" | "lg";
621
+ /** Disable the slider */
622
+ disabled?: boolean;
623
+ /** Additional className */
624
+ className?: string;
625
+ }
626
+ declare function Slider({ value, onChange, min, max, step, label, showValue, formatValue, size, disabled, className, }: SliderProps): react_jsx_runtime.JSX.Element;
627
+ declare namespace Slider {
628
+ var displayName: string;
629
+ }
630
+
631
+ interface AvatarGroupProps {
632
+ children: ReactNode;
633
+ /** Maximum avatars to show before +N */
634
+ max?: number;
635
+ /** Size matches Avatar sizes */
636
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
637
+ /** Additional className */
638
+ className?: string;
639
+ }
640
+ declare function AvatarGroup({ children, max, size, className }: AvatarGroupProps): react_jsx_runtime.JSX.Element;
641
+ declare namespace AvatarGroup {
642
+ var displayName: string;
643
+ }
644
+
645
+ interface ConfirmDialogProps {
646
+ /** Whether the dialog is open */
647
+ open?: boolean;
648
+ /** Callback when open state changes */
649
+ onOpenChange?: (open: boolean) => void;
650
+ /** Title text */
651
+ title: string;
652
+ /** Description text */
653
+ description?: string;
654
+ /** Confirm button text */
655
+ confirmText?: string;
656
+ /** Cancel button text */
657
+ cancelText?: string;
658
+ /** Variant for the confirm button */
659
+ variant?: "danger" | "primary";
660
+ /** Callback when confirmed */
661
+ onConfirm?: () => void;
662
+ /** Callback when cancelled */
663
+ onCancel?: () => void;
664
+ /** Trigger element (if controlled via trigger instead of open/onOpenChange) */
665
+ trigger?: ReactNode;
666
+ /** Whether action is in progress */
667
+ loading?: boolean;
668
+ }
669
+ declare function ConfirmDialog({ open, onOpenChange, title, description, confirmText, cancelText, variant, onConfirm, onCancel, trigger, loading, }: ConfirmDialogProps): react_jsx_runtime.JSX.Element;
670
+ declare namespace ConfirmDialog {
671
+ var displayName: string;
672
+ }
673
+
674
+ export { Accordion, type AccordionItemData, type AccordionProps, Alert, type AlertProps, AppShell, type AppShellProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, Button, type ButtonProps, Card, CardBody, CardFooter, CardHeader, type CardProps, Checkbox, type CheckboxProps, Combobox, type ComboboxGroup, type ComboboxOption, type ComboboxProps, type Command, CommandPalette, type CommandPaletteProps, ConfirmDialog, type ConfirmDialogProps, DataTable, type DataTableColumn, type DataTableProps, Drawer, DrawerBody, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, type DrawerSide, type DrawerSize, DrawerTitle, DrawerTrigger, Dropdown, DropdownContent, DropdownGroup, DropdownItem, DropdownLabel, DropdownSeparator, DropdownTrigger, EmptyState, type EmptyStateProps, Input, type InputProps, Modal, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalTitle, ModalTrigger, Navbar, type NavbarProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Select, type SelectGroup, type SelectOption, type SelectProps, Separator, type SeparatorProps, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SidebarToggle, Skeleton, type SkeletonProps, Slider, type SliderProps, StatCard, type StatCardProps, type StepData, Steps, type StepsProps, Switch, type SwitchProps, Table, TableWrapper, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsProps, TabsTrigger, type TabsTriggerProps, Tbody, Td, Textarea, type TextareaProps, Th, Thead, type Theme, ThemeProvider, type ThemeProviderProps, type ToastData, ToastProvider, Tooltip, type TooltipProps, TooltipProvider, Tr, badgeVariants, buttonVariants, cardVariants, cn, inputVariants, textareaVariants, useSidebar, useTheme, useToast };