@retrodevs/ui-library 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1840 @@
1
+ import { AlertDialog as AlertDialog_2 } from '@base-ui/react/alert-dialog';
2
+ import { AutocompleteInputProps } from '@base-ui/react';
3
+ import { AutocompleteTriggerProps } from '@base-ui/react';
4
+ import { AvatarFallbackProps } from '@base-ui/react';
5
+ import { AvatarImageProps } from '@base-ui/react';
6
+ import { AvatarRootProps } from '@base-ui/react';
7
+ import { CheckboxRootProps } from '@base-ui/react';
8
+ import { ClassProp } from 'class-variance-authority/types';
9
+ import { ClassValue } from 'clsx';
10
+ import { Combobox as Combobox_2 } from '@base-ui/react/combobox';
11
+ import { ComboboxClearProps } from '@base-ui/react';
12
+ import { ComponentRenderFn } from '@base-ui/react';
13
+ import { ControllerRenderProps } from 'react-hook-form';
14
+ import { DayPicker } from 'react-day-picker';
15
+ import { default as default_2 } from 'embla-carousel-react';
16
+ import { Dialog as Dialog_2 } from '@base-ui/react/dialog';
17
+ import { DialogBackdropProps } from '@base-ui/react';
18
+ import { DialogCloseProps } from '@base-ui/react';
19
+ import { DialogDescriptionProps } from '@base-ui/react';
20
+ import { DialogPopupProps } from '@base-ui/react';
21
+ import { DialogPortalProps } from '@base-ui/react';
22
+ import { DialogTitleProps } from '@base-ui/react';
23
+ import { DialogTriggerProps } from '@base-ui/react';
24
+ import { FieldError } from 'react-hook-form';
25
+ import { FieldValues } from 'react-hook-form';
26
+ import { FormProviderProps } from 'react-hook-form';
27
+ import { HTMLProps } from '@base-ui/react';
28
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
29
+ import { Menu } from '@base-ui/react/menu';
30
+ import { MenuTriggerProps } from '@base-ui/react';
31
+ import { NativeButtonProps } from 'node_modules/@base-ui/react/esm/utils/types';
32
+ import { Path } from 'react-hook-form';
33
+ import { Popover as Popover_2 } from '@base-ui/react/popover';
34
+ import { PopoverTriggerState } from '@base-ui/react';
35
+ import { Progress as Progress_2 } from '@base-ui/react/progress';
36
+ import * as React_2 from 'react';
37
+ import { ReactElement } from 'react';
38
+ import { ReactNode } from 'react';
39
+ import * as RechartsPrimitive from 'recharts';
40
+ import { Select as Select_2 } from '@base-ui/react/select';
41
+ import { SelectTriggerProps } from '@base-ui/react';
42
+ import { Slider as Slider_2 } from '@base-ui/react/slider';
43
+ import { SliderThumbProps } from '@base-ui/react';
44
+ import { SwitchRootProps } from '@base-ui/react';
45
+ import { TabsListProps } from '@base-ui/react';
46
+ import { TabsPanelProps } from '@base-ui/react';
47
+ import { TabsRootProps } from '@base-ui/react';
48
+ import { TabsTabProps } from '@base-ui/react';
49
+ import { ToasterProps } from 'sonner';
50
+ import { Tooltip as Tooltip_2 } from '@base-ui/react/tooltip';
51
+ import { UseEmblaCarouselType } from 'embla-carousel-react';
52
+ import { UseFormReturn } from 'react-hook-form';
53
+ import { VariantProps } from 'class-variance-authority';
54
+ import { WithBaseUIEvent } from 'node_modules/@base-ui/react/esm/utils/types';
55
+
56
+ /**
57
+ * AlertDialog root component.
58
+ * Controls the open/closed state of the alert dialog.
59
+ */
60
+ export declare const AlertDialog: typeof AlertDialog_2.Root;
61
+
62
+ /**
63
+ * AlertDialog action button component.
64
+ * Primary action button in the alert dialog footer.
65
+ *
66
+ * @param props - AlertDialogAction props
67
+ * @param props.className - Additional CSS classes
68
+ * @param props.variant - Button variant style
69
+ * @returns AlertDialog action button element
70
+ */
71
+ export declare const AlertDialogAction: React_2.ForwardRefExoticComponent<AlertDialogActionProps & React_2.RefAttributes<HTMLButtonElement>>;
72
+
73
+ /**
74
+ * AlertDialog action button props.
75
+ * Extends AlertDialog Close props and includes button variant.
76
+ */
77
+ declare interface AlertDialogActionProps extends React_2.ComponentPropsWithoutRef<typeof AlertDialog_2.Close>, Pick<ButtonProps, 'variant'> {
78
+ }
79
+
80
+ /**
81
+ * AlertDialog cancel button component.
82
+ * Cancel/close button in the alert dialog footer.
83
+ *
84
+ * @param props - AlertDialogCancel props
85
+ * @param props.className - Additional CSS classes
86
+ * @returns AlertDialog cancel button element
87
+ */
88
+ export declare const AlertDialogCancel: React_2.ForwardRefExoticComponent<Omit<Omit<DialogCloseProps, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
89
+
90
+ /**
91
+ * AlertDialog content component.
92
+ * Main content container of the alert dialog.
93
+ *
94
+ * @param props - AlertDialogContent props
95
+ * @param props.className - Additional CSS classes
96
+ * @returns AlertDialog content element
97
+ */
98
+ export declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<Omit<DialogPopupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
99
+
100
+ /**
101
+ * AlertDialog description component.
102
+ * Displays descriptive text below the alert dialog title.
103
+ *
104
+ * @param props - AlertDialogDescription props
105
+ * @param props.className - Additional CSS classes
106
+ * @returns AlertDialog description element
107
+ */
108
+ export declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<Omit<DialogDescriptionProps, "ref"> & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
109
+
110
+ /**
111
+ * AlertDialog footer component.
112
+ * Container for alert dialog action buttons.
113
+ *
114
+ * @param props - AlertDialogFooter props
115
+ * @param props.className - Additional CSS classes
116
+ * @returns AlertDialog footer element
117
+ */
118
+ export declare const AlertDialogFooter: {
119
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
120
+ displayName: string;
121
+ };
122
+
123
+ /**
124
+ * AlertDialog header component.
125
+ * Container for alert dialog title and description.
126
+ *
127
+ * @param props - AlertDialogHeader props
128
+ * @param props.className - Additional CSS classes
129
+ * @returns AlertDialog header element
130
+ */
131
+ export declare const AlertDialogHeader: {
132
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
133
+ displayName: string;
134
+ };
135
+
136
+ /**
137
+ * AlertDialog overlay component.
138
+ * Backdrop that appears behind the dialog content.
139
+ *
140
+ * @param props - AlertDialogOverlay props
141
+ * @param props.className - Additional CSS classes
142
+ * @returns AlertDialog overlay element
143
+ */
144
+ export declare const AlertDialogOverlay: React_2.ForwardRefExoticComponent<Omit<Omit<DialogBackdropProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
145
+
146
+ /**
147
+ * AlertDialog portal component.
148
+ * Portals the dialog content to the document body.
149
+ */
150
+ export declare const AlertDialogPortal: React_2.ForwardRefExoticComponent<Omit<DialogPortalProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
151
+
152
+ /**
153
+ * AlertDialog title component.
154
+ * Displays the alert dialog title with proper accessibility.
155
+ *
156
+ * @param props - AlertDialogTitle props
157
+ * @param props.className - Additional CSS classes
158
+ * @returns AlertDialog title element
159
+ */
160
+ export declare const AlertDialogTitle: React_2.ForwardRefExoticComponent<Omit<Omit<DialogTitleProps, "ref"> & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
161
+
162
+ /**
163
+ * AlertDialog trigger component.
164
+ * Element that opens the alert dialog when clicked.
165
+ */
166
+ export declare const AlertDialogTrigger: AlertDialog_2.Trigger;
167
+
168
+ /**
169
+ * Avatar container component.
170
+ * Wraps AvatarImage and AvatarFallback to display user avatars.
171
+ *
172
+ * @param props - Avatar component props (extends React.ComponentProps<typeof AvatarPrimitive.Root>)
173
+ * @param props.className - Additional CSS classes
174
+ * @returns Avatar root element
175
+ *
176
+ * @example
177
+ * ```tsx
178
+ * <Avatar>
179
+ * <AvatarImage src="/avatar.jpg" alt="User" />
180
+ * <AvatarFallback>JD</AvatarFallback>
181
+ * </Avatar>
182
+ * ```
183
+ */
184
+ export declare const Avatar: React_2.ForwardRefExoticComponent<Omit<Omit<AvatarRootProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
185
+
186
+ /**
187
+ * Avatar fallback component.
188
+ * Displays when the avatar image fails to load or is not provided.
189
+ *
190
+ * @param props - AvatarFallback component props (extends React.ComponentProps<typeof Avatar.Fallback>)
191
+ * @param props.className - Additional CSS classes
192
+ * @returns Avatar fallback element
193
+ */
194
+ export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<Omit<AvatarFallbackProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
195
+
196
+ /**
197
+ * Avatar image component.
198
+ * Displays the user's avatar image with automatic fallback handling.
199
+ *
200
+ * @param props - AvatarImage component props (extends React.ComponentProps<typeof Avatar.Image>)
201
+ * @param props.className - Additional CSS classes
202
+ * @param props.src - Image source URL
203
+ * @param props.alt - Alternative text for the image
204
+ * @returns Avatar image element
205
+ */
206
+ export declare const AvatarImage: React_2.ForwardRefExoticComponent<Omit<Omit<AvatarImageProps, "ref"> & React_2.RefAttributes<HTMLImageElement>, "ref"> & React_2.RefAttributes<HTMLImageElement>>;
207
+
208
+ export declare function BaseAvatar({ src, alt, fallback, size, className, defaultImage }: CustomAvatarProps): JSX_2.Element;
209
+
210
+ /**
211
+ * Base card component that provides a simplified way to create cards.
212
+ * Automatically composes CardHeader, CardTitle, CardDescription, CardContent, and CardFooter.
213
+ *
214
+ * @param props - BaseCard component props
215
+ * @param props.title - Card title
216
+ * @param props.description - Card description
217
+ * @param props.content - Main card content (or use children)
218
+ * @param props.footer - Footer content
219
+ * @param props.action - Action button in header
220
+ * @param props.className - Additional CSS classes
221
+ * @param props.children - Alternative to content prop
222
+ * @returns Card component with simplified API
223
+ */
224
+ export declare function BaseCard({ title, description, content, footer, action, className, children, }: BaseCardProps): JSX_2.Element;
225
+
226
+ declare interface BaseCardProps {
227
+ /** Card title */
228
+ title?: string;
229
+ /** Card description */
230
+ description?: string;
231
+ /** Main card content (alternative to children prop) */
232
+ content?: ReactNode;
233
+ /** Footer content (buttons, actions) */
234
+ footer?: ReactNode;
235
+ /** Action button/control in header (uses CardAction) */
236
+ action?: ReactNode;
237
+ /** Additional CSS classes for the Card */
238
+ className?: string;
239
+ /** Card content (alternative to content prop) */
240
+ children?: ReactNode;
241
+ }
242
+
243
+ export declare function BaseCarousel({ items, showIndicators, showNavigation, className, itemClassName, indicatorsPosition, onSlideChange, }: BaseCarouselProps): JSX_2.Element;
244
+
245
+ declare interface BaseCarouselProps {
246
+ /** Array of items to display in the carousel */
247
+ items: {
248
+ /** Unique identifier for the item */
249
+ id: string;
250
+ /** React node to render as the carousel item content */
251
+ content: React.ReactNode;
252
+ }[];
253
+ /** Whether to show the slide indicators */
254
+ showIndicators?: boolean;
255
+ /** Whether to show the navigation arrows */
256
+ showNavigation?: boolean;
257
+ /** Additional CSS classes for the carousel container */
258
+ className?: string;
259
+ /** Additional CSS classes for individual carousel items */
260
+ itemClassName?: string;
261
+ /** CSS position for the indicators (default: 'bottom-4') */
262
+ indicatorsPosition?: string;
263
+ /** Callback function triggered when the active slide changes */
264
+ onSlideChange?: (index: number) => void;
265
+ }
266
+
267
+ /**
268
+ * Base confirmation dialog component that provides a consistent way to display confirmation dialogs.
269
+ *
270
+ * @param props - BaseConfirmation component props
271
+ * @returns Confirmation dialog component
272
+ */
273
+ export declare function BaseConfirmation({ trigger, title, description, confirmText, cancelText, onConfirm, actionVariant, }: CustomConfirmationProps): JSX_2.Element;
274
+
275
+ /**
276
+ * Base date-time picker component that provides a consistent way to select dates and times.
277
+ * Supports both single date+time and date range+time selection modes.
278
+ */
279
+ export declare function BaseDateTimePicker({ mode, value, onChange, showTime, use12Hour, placeholder, className, disabled, }: BaseDateTimePickerProps): JSX_2.Element;
280
+
281
+ declare interface BaseDateTimePickerProps {
282
+ /** Selection mode: single date+time or date range+time */
283
+ mode?: "single" | "range";
284
+ /** Selected value - Date for single mode, { from: Date, to: Date } for range mode */
285
+ value?: Date | {
286
+ from?: Date;
287
+ to?: Date;
288
+ };
289
+ /** Callback when value changes */
290
+ onChange?: (value: Date | {
291
+ from?: Date;
292
+ to?: Date;
293
+ } | undefined) => void;
294
+ /** Whether to show time picker */
295
+ showTime?: boolean;
296
+ /** Whether to use 12-hour format for time */
297
+ use12Hour?: boolean;
298
+ /** Placeholder text */
299
+ placeholder?: string;
300
+ /** Additional CSS classes */
301
+ className?: string;
302
+ /** Whether the picker is disabled */
303
+ disabled?: boolean;
304
+ }
305
+
306
+ /**
307
+ * Base dropdown component that provides a consistent way to display dropdown menus.
308
+ * Supports click actions, icons, custom positioning, and optional header content.
309
+ *
310
+ * @param props - BaseDropdown component props
311
+ * @param props.trigger - Element that opens the dropdown
312
+ * @param props.items - Array of menu items with labels, icons, and click handlers
313
+ * @param props.className - Additional CSS classes
314
+ * @param props.align - Horizontal alignment (default: "end")
315
+ * @param props.side - Position relative to trigger (default: "bottom")
316
+ * @param props.header - Optional header content
317
+ * @returns Dropdown menu component
318
+ */
319
+ export declare function BaseDropdown({ trigger, items, className, align, side, header, }: CustomDropdownProps): JSX_2.Element;
320
+
321
+ /**
322
+ * Base modal component that provides a consistent way to display content in a modal dialog.
323
+ * Supports various customization options including size, footer, and overlay behaviors.
324
+ */
325
+ export declare function BaseModal({ trigger, title, description, children, open, onClose, size, hasFooter, footerContent, className, disableOverlayClick, }: CustomModalProps): JSX_2.Element;
326
+
327
+ /**
328
+ * Base popover component that provides a consistent way to display floating content.
329
+ * The popover appears when the trigger element is clicked and is positioned relative to it.
330
+ * Supports both simple trigger/content API and controlled state with children pattern.
331
+ */
332
+ export declare function BasePopover(props: BasePopoverProps): JSX_2.Element | null;
333
+
334
+ declare type BasePopoverProps = IPopoverSimpleProps | IPopoverControlledProps;
335
+
336
+ /**
337
+ * Base searchable select component that provides a consistent way to create searchable dropdown inputs.
338
+ * Supports filtering, loading states, and custom content rendering.
339
+ */
340
+ export declare function BaseSearchableSelect({ items, value, onChange, defaultValue, placeholder, searchPlaceholder, emptyMessage, isLoading, disabled, label, selectedItemRenderer, triggerClassName, popupClassName, itemClassName, width, closeOnSelect, }: BaseSearchableSelectProps): JSX_2.Element;
341
+
342
+ declare interface BaseSearchableSelectProps {
343
+ /** Array of selectable items */
344
+ items: {
345
+ value: string;
346
+ label: string;
347
+ }[];
348
+ /** Controlled selected value */
349
+ value?: string;
350
+ /** Callback when selection changes */
351
+ onChange?: (value: string) => void;
352
+ /** Default selected value */
353
+ defaultValue?: string;
354
+ /** Placeholder text when no value is selected */
355
+ placeholder?: string;
356
+ /** Placeholder text for the search input */
357
+ searchPlaceholder?: string;
358
+ /** Message to display when no results are found */
359
+ emptyMessage?: string;
360
+ /** Whether to show loading state */
361
+ isLoading?: boolean;
362
+ /** Whether the combobox is disabled */
363
+ disabled?: boolean;
364
+ /** Label text for the combobox group */
365
+ label?: string;
366
+ /** Custom renderer for the selected item */
367
+ selectedItemRenderer?: (value: string) => React_2.ReactNode;
368
+ /** Additional CSS classes for the trigger/input element */
369
+ triggerClassName?: string;
370
+ /** Additional CSS classes for the popup element */
371
+ popupClassName?: string;
372
+ /** Additional CSS classes for the item elements */
373
+ itemClassName?: string;
374
+ /** Minimum width of the trigger in pixels */
375
+ width?: number;
376
+ /** Whether to close popup on selection */
377
+ closeOnSelect?: boolean;
378
+ }
379
+
380
+ /**
381
+ * Base select component that provides a consistent way to create dropdown select inputs.
382
+ * Supports different styling variants, loading states, and custom content rendering.
383
+ */
384
+ export declare function BaseSelect({ type, width, defaultValue, placeholder, items, value, onChange, selectedItemRenderer, customOptions, label, isLoading, triggerClassName, contentClassName, itemClassName, disabled, }: ICustomSelectProps): JSX_2.Element;
385
+
386
+ /**
387
+ * Base side drawer component that provides a consistent way to display content in a sliding panel.
388
+ * Supports various customization options including size, position, navigation, and footer.
389
+ */
390
+ export declare function BaseSideDrawer({ open, hasFooter, footerContent, setOpen, side, size, title, description, trigger, triggerClassName, contentClassName, children, hasNav, navChildren, }: CustomSideDrawerProps): JSX_2.Element;
391
+
392
+ /**
393
+ * Base tabs component that provides a clean, standard shadcn/ui tabs interface.
394
+ * Uses standard horizontal tabs layout with proper styling.
395
+ *
396
+ * @param props - BaseTab component props
397
+ * @param props.activeTab - Controlled active tab value
398
+ * @param props.setActiveTab - Callback when active tab changes
399
+ * @param props.tab - Array of tab configurations
400
+ * @returns Tabs component with standard styling
401
+ */
402
+ export declare function BaseTab({ activeTab, setActiveTab, tab, }: {
403
+ activeTab?: string;
404
+ setActiveTab?: (activeTab: string) => void;
405
+ tab: ITabProps[];
406
+ }): JSX_2.Element;
407
+
408
+ /**
409
+ * Base tooltip component that provides a consistent way to display helpful information.
410
+ * The tooltip appears when hovering over the trigger element and supports various positioning options.
411
+ */
412
+ export declare function BaseTooltip({ content, children, side, align, delayDuration, className, }: CustomTooltipProps): JSX_2.Element;
413
+
414
+ /**
415
+ * Versatile button component with multiple variants and sizes.
416
+ * Supports all standard button HTML attributes and can be rendered as a child element.
417
+ *
418
+ * @param props - Button component props
419
+ * @param props.variant - Visual style variant (default, destructive, outline, secondary, ghost, link)
420
+ * @param props.size - Size variant (default, sm, lg, icon)
421
+ * @param props.asChild - Render as child element instead of button
422
+ * @returns Button component
423
+ *
424
+ * @example
425
+ * ```tsx
426
+ * <Button variant="default" size="lg">Click me</Button>
427
+ * <Button variant="destructive" onClick={handleDelete}>Delete</Button>
428
+ * ```
429
+ */
430
+ export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
431
+
432
+ /**
433
+ * Button component props.
434
+ * Extends standard button HTML attributes and includes variant props.
435
+ */
436
+ export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, ButtonVariants {
437
+ /** Render as a child element instead of a button */
438
+ asChild?: boolean;
439
+ }
440
+
441
+ export declare type ButtonVariants = VariantProps<typeof buttonVariants>;
442
+
443
+ export declare const buttonVariants: (props?: ({
444
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
445
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
446
+ } & ClassProp) | undefined) => string;
447
+
448
+ /**
449
+ * Calendar component for date selection.
450
+ * Built on react-day-picker with support for single date and date range selection.
451
+ *
452
+ * @param props - Calendar props (extends DayPicker props from react-day-picker)
453
+ * @param props.className - Additional CSS classes
454
+ * @param props.mode - Selection mode ("single" | "range" | "multiple")
455
+ * @param props.selected - Selected date(s)
456
+ * @param props.onSelect - Callback when date selection changes
457
+ * @returns Calendar component
458
+ *
459
+ * @example
460
+ * ```tsx
461
+ * <Calendar mode="single" selected={date} onSelect={setDate} />
462
+ * <Calendar mode="range" selected={range} onSelect={setRange} />
463
+ * ```
464
+ */
465
+ export declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): JSX_2.Element;
466
+
467
+ export declare namespace Calendar {
468
+ var displayName: string;
469
+ }
470
+
471
+ /**
472
+ * Calendar component props.
473
+ * Extends DayPicker props from react-day-picker.
474
+ */
475
+ export declare type CalendarProps = React_2.ComponentProps<typeof DayPicker>;
476
+
477
+ /**
478
+ * Card container component.
479
+ * Provides a styled container for card content with consistent spacing and styling.
480
+ *
481
+ * @param props - Card component props (extends React.ComponentProps<"div">)
482
+ * @param props.className - Additional CSS classes
483
+ * @returns Card container element
484
+ *
485
+ * @example
486
+ * ```tsx
487
+ * <Card>
488
+ * <CardHeader>
489
+ * <CardTitle>Title</CardTitle>
490
+ * </CardHeader>
491
+ * <CardContent>Content</CardContent>
492
+ * </Card>
493
+ * ```
494
+ */
495
+ export declare function Card({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
496
+
497
+ /**
498
+ * Card action component.
499
+ * Container for action buttons or controls, typically positioned in the header.
500
+ *
501
+ * @param props - CardAction component props (extends React.ComponentProps<"div">)
502
+ * @param props.className - Additional CSS classes
503
+ * @returns Card action element
504
+ */
505
+ export declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
506
+
507
+ /**
508
+ * Card content component.
509
+ * Main content area of the card with proper padding.
510
+ *
511
+ * @param props - CardContent component props (extends React.ComponentProps<"div">)
512
+ * @param props.className - Additional CSS classes
513
+ * @returns Card content element
514
+ */
515
+ export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
516
+
517
+ /**
518
+ * Card description component.
519
+ * Displays secondary descriptive text below the title.
520
+ *
521
+ * @param props - CardDescription component props (extends React.ComponentProps<"div">)
522
+ * @param props.className - Additional CSS classes
523
+ * @returns Card description element
524
+ */
525
+ export declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
526
+
527
+ /**
528
+ * Card footer component.
529
+ * Container for footer content, typically action buttons.
530
+ *
531
+ * @param props - CardFooter component props (extends React.ComponentProps<"div">)
532
+ * @param props.className - Additional CSS classes
533
+ * @returns Card footer element
534
+ */
535
+ export declare function CardFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
536
+
537
+ /**
538
+ * Card header component.
539
+ * Container for card title, description, and action elements.
540
+ *
541
+ * @param props - CardHeader component props (extends React.ComponentProps<"div">)
542
+ * @param props.className - Additional CSS classes
543
+ * @returns Card header element
544
+ */
545
+ export declare function CardHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
546
+
547
+ /**
548
+ * Card title component.
549
+ * Displays the main title of the card.
550
+ *
551
+ * @param props - CardTitle component props (extends React.ComponentProps<"div">)
552
+ * @param props.className - Additional CSS classes
553
+ * @returns Card title element
554
+ */
555
+ export declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
556
+
557
+ /**
558
+ * Carousel root component.
559
+ * Creates a carousel/slider with navigation and indicators.
560
+ *
561
+ * @param props - Carousel props
562
+ * @param props.orientation - Carousel direction ("horizontal" | "vertical")
563
+ * @param props.opts - Embla carousel options
564
+ * @param props.setApi - Callback to receive carousel API instance
565
+ * @param props.plugins - Embla carousel plugins
566
+ * @param props.className - Additional CSS classes
567
+ * @param props.children - Carousel content (CarouselContent, CarouselItem, etc.)
568
+ * @returns Carousel root element
569
+ */
570
+ export declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React_2.ComponentProps<"div"> & CarouselProps): JSX_2.Element;
571
+
572
+ export declare type CarouselApi = UseEmblaCarouselType[1];
573
+
574
+ export declare function CarouselContent({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
575
+
576
+ export declare function CarouselItem({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
577
+
578
+ export declare function CarouselNext({ className, variant, size, ...props }: React_2.ComponentProps<typeof Button>): JSX_2.Element;
579
+
580
+ declare type CarouselOptions = UseCarouselParameters[0];
581
+
582
+ declare type CarouselPlugin = UseCarouselParameters[1];
583
+
584
+ export declare function CarouselPrevious({ className, variant, size, ...props }: React_2.ComponentProps<typeof Button>): JSX_2.Element;
585
+
586
+ declare type CarouselProps = {
587
+ opts?: CarouselOptions;
588
+ plugins?: CarouselPlugin;
589
+ orientation?: "horizontal" | "vertical";
590
+ setApi?: (api: CarouselApi) => void;
591
+ };
592
+
593
+ export declare type ChartConfig = {
594
+ [k in string]: {
595
+ label?: React_2.ReactNode;
596
+ icon?: React_2.ComponentType;
597
+ } & ({
598
+ color?: string;
599
+ theme?: never;
600
+ } | {
601
+ color?: never;
602
+ theme: Record<keyof typeof THEMES, string>;
603
+ });
604
+ };
605
+
606
+ /**
607
+ * Chart container component.
608
+ * Wraps Recharts components and provides chart configuration context.
609
+ *
610
+ * @param props - ChartContainer props
611
+ * @param props.id - Unique chart ID
612
+ * @param props.className - Additional CSS classes
613
+ * @param props.config - Chart configuration with colors and labels
614
+ * @param props.children - Recharts components (LineChart, BarChart, etc.)
615
+ * @returns Chart container element
616
+ */
617
+ export declare function ChartContainer({ id, className, children, config, ...props }: React_2.ComponentProps<"div"> & {
618
+ config: ChartConfig;
619
+ children: React_2.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
620
+ }): JSX_2.Element;
621
+
622
+ export declare const ChartLegend: typeof RechartsPrimitive.Legend;
623
+
624
+ /**
625
+ * Chart legend content component.
626
+ * Displays legend items with icons or color indicators.
627
+ */
628
+ export declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: ChartLegendContentProps): JSX_2.Element | null;
629
+
630
+ declare interface ChartLegendContentProps extends React_2.ComponentProps<"div">, Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> {
631
+ hideIcon?: boolean;
632
+ nameKey?: string;
633
+ }
634
+
635
+ /**
636
+ * Chart style component that generates CSS for chart colors.
637
+ */
638
+ export declare function ChartStyle({ id, config }: ChartStyleProps): JSX_2.Element | null;
639
+
640
+ declare interface ChartStyleProps {
641
+ /** Unique chart ID */
642
+ id: string;
643
+ /** Chart configuration */
644
+ config: ChartConfig;
645
+ }
646
+
647
+ export declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
648
+
649
+ /**
650
+ * Chart tooltip content component.
651
+ * Displays formatted tooltip information for chart data points.
652
+ */
653
+ export declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: ChartTooltipContentProps): JSX_2.Element | null;
654
+
655
+ declare interface ChartTooltipContentProps {
656
+ active?: boolean;
657
+ payload?: Array<{
658
+ name?: string;
659
+ value?: number | string;
660
+ dataKey?: string;
661
+ color?: string;
662
+ payload?: Record<string, unknown>;
663
+ fill?: string;
664
+ }>;
665
+ label?: string | number;
666
+ labelFormatter?: (value: string | number | undefined, payload: Array<unknown>) => React_2.ReactNode;
667
+ formatter?: (value: number | string, name: string, item: unknown, index: number, payload: Record<string, unknown>) => React_2.ReactNode;
668
+ color?: string;
669
+ className?: string;
670
+ labelClassName?: string;
671
+ hideLabel?: boolean;
672
+ hideIndicator?: boolean;
673
+ indicator?: "line" | "dot" | "dashed";
674
+ nameKey?: string;
675
+ labelKey?: string;
676
+ }
677
+
678
+ /**
679
+ * Checkbox component for boolean input.
680
+ * Provides accessible checkbox functionality with visual feedback.
681
+ *
682
+ * @param props - Checkbox component props (extends React.ComponentProps<typeof CheckboxPrimitive.Root>)
683
+ * @param props.className - Additional CSS classes
684
+ * @param props.checked - Controlled checked state
685
+ * @param props.defaultChecked - Uncontrolled default checked state
686
+ * @param props.onCheckedChange - Callback when checked state changes
687
+ * @returns Checkbox element
688
+ *
689
+ * @example
690
+ * ```tsx
691
+ * <Checkbox checked={isChecked} onCheckedChange={setIsChecked} />
692
+ * <Checkbox defaultChecked />
693
+ * ```
694
+ */
695
+ export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<Omit<CheckboxRootProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
696
+
697
+ export declare function cn(...inputs: ClassValue[]): string;
698
+
699
+ /**
700
+ * Combobox root component.
701
+ * Controls the open/closed state, value, and input value of the combobox.
702
+ *
703
+ * @param props - Combobox props (extends React.ComponentProps<typeof Combobox.Root>)
704
+ * @param props.value - Controlled selected value
705
+ * @param props.defaultValue - Uncontrolled default value
706
+ * @param props.onValueChange - Callback when value changes
707
+ * @param props.inputValue - Controlled input value
708
+ * @param props.defaultInputValue - Uncontrolled default input value
709
+ * @param props.onInputValueChange - Callback when input value changes
710
+ * @param props.open - Controlled open state
711
+ * @param props.defaultOpen - Uncontrolled default open state
712
+ * @param props.onOpenChange - Callback when open state changes
713
+ * @returns Combobox root element
714
+ */
715
+ export declare function Combobox({ ...props }: React_2.ComponentProps<typeof Combobox_2.Root>): JSX_2.Element;
716
+
717
+ /**
718
+ * Combobox clear component.
719
+ * Clears the value when clicked.
720
+ *
721
+ * @param props - ComboboxClear props (extends React.ComponentProps<typeof Combobox.Clear>)
722
+ * @param props.className - Additional CSS classes
723
+ * @returns Combobox clear button element
724
+ */
725
+ export declare const ComboboxClear: React_2.ForwardRefExoticComponent<Omit<Omit<ComboboxClearProps, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
726
+
727
+ /**
728
+ * Combobox empty component.
729
+ * Renders its children only when the list is empty.
730
+ *
731
+ * @param props - ComboboxEmpty props (extends React.ComponentProps<typeof Combobox.Empty>)
732
+ * @param props.className - Additional CSS classes
733
+ * @returns Combobox empty element
734
+ */
735
+ export declare function ComboboxEmpty({ className, ...props }: React_2.ComponentProps<typeof Combobox_2.Empty>): JSX_2.Element;
736
+
737
+ /**
738
+ * Combobox group component.
739
+ * Groups related items with the corresponding label.
740
+ *
741
+ * @param props - ComboboxGroup props (extends React.ComponentProps<typeof Combobox.Group>)
742
+ * @param props.className - Additional CSS classes
743
+ * @returns Combobox group element
744
+ */
745
+ export declare function ComboboxGroup({ className, ...props }: React_2.ComponentProps<typeof Combobox_2.Group>): JSX_2.Element;
746
+
747
+ /**
748
+ * Combobox group label component.
749
+ * An accessible label that is automatically associated with its parent group.
750
+ *
751
+ * @param props - ComboboxGroupLabel props (extends React.ComponentProps<typeof Combobox.GroupLabel>)
752
+ * @param props.className - Additional CSS classes
753
+ * @returns Combobox group label element
754
+ */
755
+ export declare function ComboboxGroupLabel({ className, ...props }: React_2.ComponentProps<typeof Combobox_2.GroupLabel>): JSX_2.Element;
756
+
757
+ /**
758
+ * Combobox input component.
759
+ * A text input to search for items in the list.
760
+ *
761
+ * @param props - ComboboxInput props (extends React.ComponentProps<typeof Combobox.Input>)
762
+ * @param props.className - Additional CSS classes
763
+ * @param props.placeholder - Placeholder text
764
+ * @returns Combobox input element
765
+ */
766
+ export declare const ComboboxInput: React_2.ForwardRefExoticComponent<Omit<Omit<AutocompleteInputProps, "ref"> & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
767
+
768
+ /**
769
+ * Combobox item component.
770
+ * An individual item in the list.
771
+ *
772
+ * @param props - ComboboxItem props (extends React.ComponentProps<typeof Combobox.Item>)
773
+ * @param props.className - Additional CSS classes
774
+ * @param props.value - Item value
775
+ * @param props.children - Item label/content
776
+ * @returns Combobox item element
777
+ */
778
+ export declare function ComboboxItem({ className, children, ...props }: React_2.ComponentProps<typeof Combobox_2.Item>): JSX_2.Element;
779
+
780
+ /**
781
+ * Combobox item indicator component.
782
+ * Indicates whether the item is selected.
783
+ *
784
+ * @param props - ComboboxItemIndicator props (extends React.ComponentProps<typeof Combobox.ItemIndicator>)
785
+ * @param props.className - Additional CSS classes
786
+ * @returns Combobox item indicator element
787
+ */
788
+ export declare function ComboboxItemIndicator({ className, ...props }: React_2.ComponentProps<typeof Combobox_2.ItemIndicator>): JSX_2.Element;
789
+
790
+ /**
791
+ * Combobox list component.
792
+ * A list container for the items.
793
+ *
794
+ * @param props - ComboboxList props (extends React.ComponentProps<typeof Combobox.List>)
795
+ * @param props.className - Additional CSS classes
796
+ * @param props.children - Items or render function
797
+ * @returns Combobox list element
798
+ */
799
+ export declare function ComboboxList({ className, ...props }: React_2.ComponentProps<typeof Combobox_2.List>): JSX_2.Element;
800
+
801
+ /**
802
+ * Combobox popup component.
803
+ * A container for the list.
804
+ *
805
+ * @param props - ComboboxPopup props (extends React.ComponentProps<typeof Combobox.Popup>)
806
+ * @param props.className - Additional CSS classes
807
+ * @returns Combobox popup element
808
+ */
809
+ export declare function ComboboxPopup({ className, style, ...props }: React_2.ComponentProps<typeof Combobox_2.Popup>): JSX_2.Element;
810
+
811
+ /**
812
+ * Combobox portal component.
813
+ * A portal element that moves the popup to a different part of the DOM.
814
+ *
815
+ * @param props - ComboboxPortal props (extends React.ComponentProps<typeof Combobox.Portal>)
816
+ * @returns Combobox portal element
817
+ */
818
+ export declare function ComboboxPortal({ ...props }: React_2.ComponentProps<typeof Combobox_2.Portal>): JSX_2.Element;
819
+
820
+ /**
821
+ * Combobox positioner component.
822
+ * Positions the popup against the trigger.
823
+ *
824
+ * @param props - ComboboxPositioner props (extends React.ComponentProps<typeof Combobox.Positioner>)
825
+ * @param props.className - Additional CSS classes
826
+ * @param props.sideOffset - Distance from trigger in pixels (default: 4)
827
+ * @param props.align - Alignment relative to trigger (default: "center")
828
+ * @param props.side - Position relative to trigger (default: "bottom")
829
+ * @returns Combobox positioner element
830
+ */
831
+ export declare function ComboboxPositioner({ className, sideOffset, align, side, ...props }: React_2.ComponentProps<typeof Combobox_2.Positioner> & {
832
+ sideOffset?: number;
833
+ align?: "start" | "center" | "end";
834
+ side?: "top" | "right" | "bottom" | "left";
835
+ }): JSX_2.Element;
836
+
837
+ /**
838
+ * Combobox trigger component.
839
+ * A button that opens the popup.
840
+ *
841
+ * @param props - ComboboxTrigger props (extends React.ComponentProps<typeof Combobox.Trigger>)
842
+ * @param props.className - Additional CSS classes
843
+ * @returns Combobox trigger element
844
+ */
845
+ export declare const ComboboxTrigger: React_2.ForwardRefExoticComponent<Omit<Omit<AutocompleteTriggerProps, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
846
+
847
+ /**
848
+ * Combobox value component.
849
+ * Displays the current value of the combobox.
850
+ *
851
+ * @param props - ComboboxValue props (extends React.ComponentProps<typeof Combobox.Value>)
852
+ * @param props.placeholder - Placeholder text when no value is selected
853
+ * @param props.children - Custom render function for formatted value
854
+ * @returns Combobox value element
855
+ */
856
+ export declare function ComboboxValue({ ...props }: React_2.ComponentProps<typeof Combobox_2.Value>): JSX_2.Element;
857
+
858
+ declare interface CustomAvatarProps {
859
+ /** The source URL of the avatar image */
860
+ src?: string | null;
861
+ /** Alternative text for the avatar image */
862
+ alt?: string;
863
+ /** Custom fallback content to display when the image fails to load */
864
+ fallback?: ReactNode;
865
+ /** Size variant of the avatar */
866
+ size?: 'sm' | 'md' | 'lg' | 'xl' | 'huge';
867
+ /** Additional CSS classes to apply to the avatar */
868
+ className?: string;
869
+ /** Fallback image path when src is not provided */
870
+ defaultImage?: string;
871
+ }
872
+
873
+ declare interface CustomConfirmationProps {
874
+ /** The trigger element that opens the confirmation dialog (usually a button) */
875
+ trigger: React_2.ReactNode;
876
+ /** The title displayed in the dialog header */
877
+ title: string;
878
+ /** The description text displayed in the dialog body */
879
+ description: string;
880
+ /** Text for the confirm button (default: 'Confirm') */
881
+ confirmText?: string;
882
+ /** Text for the cancel button (default: 'Cancel') */
883
+ cancelText?: string;
884
+ /** Variant of the confirm button (inherits from ButtonProps) */
885
+ actionVariant?: ButtonProps['variant'];
886
+ /** Callback function executed when the confirm button is clicked */
887
+ onConfirm: () => void;
888
+ }
889
+
890
+ declare interface CustomDropdownProps {
891
+ /** The trigger element that opens the dropdown (usually a button) */
892
+ trigger: ReactNode;
893
+ /** Array of menu items to display */
894
+ items: DropdownItemProps[];
895
+ /** Additional CSS classes for the dropdown content */
896
+ className?: string;
897
+ /** Horizontal alignment of the dropdown relative to the trigger */
898
+ align?: "start" | "center" | "end";
899
+ /** Position of the dropdown relative to the trigger */
900
+ side?: "top" | "right" | "bottom" | "left";
901
+ /** Optional header content to display above the menu items */
902
+ header?: ReactNode;
903
+ }
904
+
905
+ declare interface CustomModalProps {
906
+ /** Trigger element that opens the modal (usually a button) */
907
+ trigger?: ReactNode;
908
+ /** Modal title (visually hidden by default) */
909
+ title?: string;
910
+ /** Modal description (visually hidden by default) */
911
+ description?: string;
912
+ /** Modal content */
913
+ children: ReactNode;
914
+ /** Additional CSS classes for the modal */
915
+ className?: string;
916
+ /** Controlled open state */
917
+ open?: boolean;
918
+ /** Callback when modal closes */
919
+ onClose?: (open: boolean) => void;
920
+ /** Modal size variant */
921
+ size?: keyof typeof sizeClasses;
922
+ /** Whether to show the footer section */
923
+ hasFooter?: boolean;
924
+ /** Footer content (usually buttons) */
925
+ footerContent?: ReactNode;
926
+ /** Whether to disable closing on overlay click */
927
+ disableOverlayClick?: boolean;
928
+ }
929
+
930
+ declare interface CustomSideDrawerProps extends SideDrawerVariantProps {
931
+ /** Controlled open state */
932
+ open?: boolean;
933
+ /** Callback when side drawer state changes */
934
+ setOpen?: (open: boolean) => void;
935
+ /** Position of the side drawer relative to the viewport */
936
+ side?: 'top' | 'right' | 'bottom' | 'left';
937
+ /** Trigger element that opens the side drawer */
938
+ trigger?: ReactNode;
939
+ /** Additional CSS classes for the trigger */
940
+ triggerClassName?: string;
941
+ /** Side drawer title */
942
+ title: string;
943
+ /** Side drawer description */
944
+ description?: string;
945
+ /** Side drawer content */
946
+ children: ReactNode;
947
+ /** Additional CSS classes for the content */
948
+ contentClassName?: string;
949
+ /** Whether to show the navigation bar */
950
+ hasNav?: boolean;
951
+ /** Navigation bar content */
952
+ navChildren?: ReactNode;
953
+ /** Whether to show the footer */
954
+ hasFooter?: boolean;
955
+ /** Footer content */
956
+ footerContent?: ReactNode;
957
+ /** Function to call when closing the side drawer */
958
+ closeFunction?: () => void;
959
+ }
960
+
961
+ declare interface CustomTooltipProps {
962
+ /** Content to display in the tooltip */
963
+ content: React_2.ReactNode;
964
+ /** Element that triggers the tooltip on hover */
965
+ children: React_2.ReactNode;
966
+ /** Position of the tooltip relative to the trigger element */
967
+ side?: 'top' | 'right' | 'bottom' | 'left';
968
+ /** Horizontal alignment of the tooltip */
969
+ align?: 'start' | 'center' | 'end';
970
+ /** Delay in milliseconds before showing the tooltip */
971
+ delayDuration?: number;
972
+ /** Additional CSS classes for the tooltip content */
973
+ className?: string;
974
+ }
975
+
976
+ /**
977
+ * Date picker component.
978
+ * Combines Calendar with Popover for a dropdown date selection interface.
979
+ *
980
+ * @param props - DatePicker props
981
+ * @param props.date - Selected date (Date object)
982
+ * @param props.onDateChange - Callback when date changes
983
+ * @param props.placeholder - Placeholder text (default: "Pick a date")
984
+ * @param props.className - Additional CSS classes
985
+ * @param props.mode - Selection mode ("single" | "range")
986
+ * @param props.selected - Selected date(s) - can be Date or { from: Date, to: Date }
987
+ * @returns Date picker component
988
+ *
989
+ * @example
990
+ * ```tsx
991
+ * <DatePicker date={date} onDateChange={setDate} />
992
+ * ```
993
+ */
994
+ export declare function DatePicker({ date, onDateChange, placeholder, className, mode, selected, ...props }: DatePickerComponentProps): JSX_2.Element;
995
+
996
+ declare type DatePickerComponentProps = DatePickerProps & Omit<React_2.ComponentProps<typeof Calendar>, "selected" | "onSelect">;
997
+
998
+ declare interface DatePickerProps {
999
+ /** Selected date (Date object) */
1000
+ date?: Date;
1001
+ /** Callback when date changes */
1002
+ onDateChange?: (date: Date | undefined) => void;
1003
+ /** Placeholder text (default: "Pick a date") */
1004
+ placeholder?: string;
1005
+ /** Additional CSS classes */
1006
+ className?: string;
1007
+ /** Selection mode ("single" | "range") */
1008
+ mode?: "single" | "range";
1009
+ /** Selected date(s) - can be Date or { from: Date, to: Date } */
1010
+ selected?: Date | {
1011
+ from?: Date;
1012
+ to?: Date;
1013
+ };
1014
+ /** Callback when range changes */
1015
+ onRangeChange?: (range: {
1016
+ from?: Date;
1017
+ to?: Date;
1018
+ } | undefined) => void;
1019
+ }
1020
+
1021
+ /**
1022
+ * Dialog root component.
1023
+ * Controls the open/closed state of the dialog.
1024
+ *
1025
+ * @param props - Dialog props (extends React.ComponentProps<typeof Dialog.Root>)
1026
+ * @param props.open - Controlled open state
1027
+ * @param props.defaultOpen - Uncontrolled default open state
1028
+ * @param props.onOpenChange - Callback when open state changes
1029
+ * @returns Dialog root element
1030
+ */
1031
+ export declare function Dialog({ ...props }: React_2.ComponentProps<typeof Dialog_2.Root>): JSX_2.Element;
1032
+
1033
+ export declare namespace Dialog {
1034
+ var displayName: string;
1035
+ }
1036
+
1037
+ export declare function DialogClose({ ...props }: React_2.ComponentProps<typeof Dialog_2.Close>): JSX_2.Element;
1038
+
1039
+ /**
1040
+ * Dialog content component.
1041
+ * The main content container of the dialog with overlay and close button.
1042
+ *
1043
+ * @param props - DialogContent props (extends React.ComponentProps<typeof Dialog.Popup>)
1044
+ * @param props.className - Additional CSS classes
1045
+ * @param props.children - Dialog content
1046
+ * @returns Dialog content element
1047
+ */
1048
+ export declare const DialogContent: React_2.ForwardRefExoticComponent<Omit<Omit<DialogPopupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1049
+
1050
+ /**
1051
+ * Dialog description component.
1052
+ * Displays descriptive text below the title.
1053
+ *
1054
+ * @param props - DialogDescription props (extends React.ComponentProps<typeof Dialog.Description>)
1055
+ * @param props.className - Additional CSS classes
1056
+ * @returns Dialog description element
1057
+ */
1058
+ export declare const DialogDescription: React_2.ForwardRefExoticComponent<Omit<Omit<DialogDescriptionProps, "ref"> & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
1059
+
1060
+ /**
1061
+ * Dialog footer component.
1062
+ * Container for dialog action buttons.
1063
+ *
1064
+ * @param props - DialogFooter props (extends React.ComponentProps<"div">)
1065
+ * @param props.className - Additional CSS classes
1066
+ * @returns Dialog footer element
1067
+ */
1068
+ export declare function DialogFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
1069
+
1070
+ /**
1071
+ * Dialog header component.
1072
+ * Container for dialog title and description.
1073
+ *
1074
+ * @param props - DialogHeader props (extends React.ComponentProps<"div">)
1075
+ * @param props.className - Additional CSS classes
1076
+ * @returns Dialog header element
1077
+ */
1078
+ export declare function DialogHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
1079
+
1080
+ export declare const DialogOverlay: React_2.ForwardRefExoticComponent<Omit<Omit<DialogBackdropProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1081
+
1082
+ export declare function DialogPortal({ ...props }: React_2.ComponentProps<typeof Dialog_2.Portal>): JSX_2.Element;
1083
+
1084
+ /**
1085
+ * Dialog title component.
1086
+ * Displays the dialog title with proper accessibility.
1087
+ *
1088
+ * @param props - DialogTitle props (extends React.ComponentProps<typeof Dialog.Title>)
1089
+ * @param props.className - Additional CSS classes
1090
+ * @returns Dialog title element
1091
+ */
1092
+ export declare const DialogTitle: React_2.ForwardRefExoticComponent<Omit<Omit<DialogTitleProps, "ref"> & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
1093
+
1094
+ /**
1095
+ * Dialog trigger component.
1096
+ * Element that opens the dialog when clicked.
1097
+ *
1098
+ * @param props - DialogTrigger props (extends React.ComponentProps<typeof Dialog.Trigger>)
1099
+ * @returns Dialog trigger element
1100
+ */
1101
+ export declare const DialogTrigger: React_2.ForwardRefExoticComponent<Omit<DialogTriggerProps<unknown> & React_2.RefAttributes<HTMLElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
1102
+
1103
+ declare interface DropdownItemProps {
1104
+ /** Click handler for menu items */
1105
+ onClick?: () => void;
1106
+ /** Optional icon to display before the label */
1107
+ icon?: ReactNode;
1108
+ /** Display text for the menu item */
1109
+ label: string;
1110
+ }
1111
+
1112
+ /**
1113
+ * DropdownMenu root component.
1114
+ * Controls the open/closed state of the dropdown menu.
1115
+ *
1116
+ * @param props - DropdownMenu props (extends React.ComponentProps<typeof Menu.Root>)
1117
+ * @param props.open - Controlled open state
1118
+ * @param props.defaultOpen - Uncontrolled default open state
1119
+ * @param props.onOpenChange - Callback when open state changes
1120
+ * @returns DropdownMenu root element
1121
+ */
1122
+ export declare function DropdownMenu({ ...props }: React_2.ComponentProps<typeof Menu.Root>): JSX_2.Element;
1123
+
1124
+ export declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React_2.ComponentProps<typeof Menu.CheckboxItem>): JSX_2.Element;
1125
+
1126
+ export declare function DropdownMenuContent({ className, sideOffset, align, side, ...props }: React_2.ComponentProps<typeof Menu.Popup> & {
1127
+ sideOffset?: number;
1128
+ align?: "start" | "center" | "end";
1129
+ side?: "top" | "right" | "bottom" | "left";
1130
+ }): JSX_2.Element;
1131
+
1132
+ export declare function DropdownMenuGroup({ ...props }: React_2.ComponentProps<typeof Menu.Group>): JSX_2.Element;
1133
+
1134
+ /**
1135
+ * DropdownMenu item component.
1136
+ * Individual clickable item in the dropdown menu.
1137
+ *
1138
+ * @param props - DropdownMenuItem props
1139
+ * @param props.className - Additional CSS classes
1140
+ * @param props.inset - Add left padding for nested items
1141
+ * @param props.variant - Visual variant ("default" | "destructive")
1142
+ * @returns DropdownMenu item element
1143
+ */
1144
+ export declare function DropdownMenuItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof Menu.Item> & {
1145
+ inset?: boolean;
1146
+ variant?: "default" | "destructive";
1147
+ }): JSX_2.Element;
1148
+
1149
+ export declare function DropdownMenuLabel({ className, inset, ...props }: React_2.ComponentProps<typeof Menu.GroupLabel> & {
1150
+ inset?: boolean;
1151
+ }): JSX_2.Element;
1152
+
1153
+ export declare function DropdownMenuPortal({ ...props }: React_2.ComponentProps<typeof Menu.Portal>): JSX_2.Element;
1154
+
1155
+ export declare function DropdownMenuRadioGroup({ ...props }: React_2.ComponentProps<typeof Menu.RadioGroup>): JSX_2.Element;
1156
+
1157
+ export declare function DropdownMenuRadioItem({ className, children, ...props }: React_2.ComponentProps<typeof Menu.RadioItem>): JSX_2.Element;
1158
+
1159
+ export declare function DropdownMenuSeparator({ className, ...props }: React_2.ComponentProps<typeof Menu.Separator>): JSX_2.Element;
1160
+
1161
+ export declare function DropdownMenuShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX_2.Element;
1162
+
1163
+ export declare function DropdownMenuSub({ ...props }: React_2.ComponentProps<typeof Menu.SubmenuRoot>): JSX_2.Element;
1164
+
1165
+ export declare function DropdownMenuSubContent({ className, ...props }: React_2.ComponentProps<typeof Menu.Popup>): JSX_2.Element;
1166
+
1167
+ export declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React_2.ComponentProps<typeof Menu.SubmenuTrigger> & {
1168
+ inset?: boolean;
1169
+ }): JSX_2.Element;
1170
+
1171
+ export declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<Omit<MenuTriggerProps<unknown> & React_2.RefAttributes<HTMLElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
1172
+
1173
+ /**
1174
+ * Form provider component.
1175
+ * Wraps form components and provides form context via react-hook-form.
1176
+ *
1177
+ * @example
1178
+ * ```tsx
1179
+ * <Form {...form}>
1180
+ * <FormField name="email" control={form.control} />
1181
+ * </Form>
1182
+ * ```
1183
+ */
1184
+ export declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React_2.JSX.Element;
1185
+
1186
+ /**
1187
+ * Base form component that wraps react-hook-form and shadcn/ui Form.
1188
+ * Handles form submission and provides form context to child components.
1189
+ */
1190
+ export declare function FormBase<T extends FieldValues>({ form, onSubmit, children, className, }: FormBaseProps<T>): JSX_2.Element;
1191
+
1192
+ declare interface FormBaseProps<T extends FieldValues> {
1193
+ /** React Hook Form instance */
1194
+ form: UseFormReturn<T>;
1195
+ /** Form submission handler */
1196
+ onSubmit: (data: T) => void;
1197
+ /** Form content */
1198
+ children: ReactNode;
1199
+ /** Additional CSS classes for the form */
1200
+ className?: string;
1201
+ }
1202
+
1203
+ export declare function FormControl({ children, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
1204
+
1205
+ export declare function FormDescription({ className, ...props }: React_2.ComponentProps<"p">): JSX_2.Element;
1206
+
1207
+ /**
1208
+ * Form field component that handles field validation, error states, and layout.
1209
+ * Supports both direct children and render prop patterns.
1210
+ */
1211
+ export declare function FormField<T extends FieldValues>({ name, label, description, showMessage, showError, children, form, className, }: FormFieldProps<T>): JSX_2.Element;
1212
+
1213
+ declare interface FormFieldProps<T extends FieldValues> {
1214
+ /** Field name (must match form values type) */
1215
+ name: Path<T>;
1216
+ /** Field label text */
1217
+ label?: string;
1218
+ /** Field description text */
1219
+ description?: string;
1220
+ /** Whether to show validation messages */
1221
+ showMessage?: boolean;
1222
+ /** Whether to show error styling */
1223
+ showError?: boolean;
1224
+ /** Field input component or render function */
1225
+ children: ReactElement | ((field: ControllerRenderProps<T, Path<T>>) => ReactElement);
1226
+ /** React Hook Form instance */
1227
+ form: UseFormReturn<T>;
1228
+ /** Additional CSS classes for the field container */
1229
+ className?: string;
1230
+ }
1231
+
1232
+ /**
1233
+ * Form footer component for consistent button layout and spacing.
1234
+ * Typically used to group submit/cancel buttons.
1235
+ */
1236
+ export declare function FormFooter({ children, className }: FormFooterProps): JSX_2.Element;
1237
+
1238
+ declare interface FormFooterProps {
1239
+ /** Footer content (usually buttons) */
1240
+ children: ReactNode;
1241
+ /** Additional CSS classes for the footer */
1242
+ className?: string;
1243
+ }
1244
+
1245
+ export declare function FormItem({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
1246
+
1247
+ export declare function FormLabel({ className, ...props }: React_2.LabelHTMLAttributes<HTMLLabelElement>): JSX_2.Element;
1248
+
1249
+ export declare function FormMessage({ className, ...props }: React_2.ComponentProps<"p">): JSX_2.Element | null;
1250
+
1251
+ declare interface ICustomSelectProps {
1252
+ /** Select type variant (affects styling) */
1253
+ type?: "auth" | "others";
1254
+ /** Minimum width of the select trigger in pixels */
1255
+ width?: number;
1256
+ /** Default selected value */
1257
+ defaultValue?: string;
1258
+ /** Placeholder text when no value is selected */
1259
+ placeholder: string;
1260
+ /** Array of selectable items */
1261
+ items: {
1262
+ value: string;
1263
+ label: string;
1264
+ }[];
1265
+ /** Controlled selected value */
1266
+ value?: string;
1267
+ /** Callback when selection changes */
1268
+ onChange?: (value: string) => void;
1269
+ /** Custom renderer for the selected item */
1270
+ selectedItemRenderer?: (value: string) => React_2.ReactNode;
1271
+ /** Custom options to replace default items */
1272
+ customOptions?: React_2.ReactNode;
1273
+ /** Label text for the select group */
1274
+ label?: string;
1275
+ /** Whether to show loading state */
1276
+ isLoading?: boolean;
1277
+ /** Additional CSS classes for the trigger element */
1278
+ triggerClassName?: string;
1279
+ /** Additional CSS classes for the content element */
1280
+ contentClassName?: string;
1281
+ /** Additional CSS classes for the item elements */
1282
+ itemClassName?: string;
1283
+ /** Whether the select is disabled */
1284
+ disabled?: boolean;
1285
+ }
1286
+
1287
+ /**
1288
+ * Input component for text, email, password, and other input types.
1289
+ * Supports all standard input HTML attributes with consistent styling.
1290
+ *
1291
+ * @param props - Input component props (extends React.ComponentProps<"input">)
1292
+ * @param props.className - Additional CSS classes
1293
+ * @param props.type - Input type (text, email, password, number, etc.)
1294
+ * @returns Input element
1295
+ *
1296
+ * @example
1297
+ * ```tsx
1298
+ * <Input type="email" placeholder="Enter your email" />
1299
+ * <Input type="password" placeholder="Password" />
1300
+ * ```
1301
+ */
1302
+ export declare const Input: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
1303
+
1304
+ declare interface IPopoverControlledProps {
1305
+ /** Controlled open state */
1306
+ open?: boolean;
1307
+ /** Callback when open state changes */
1308
+ onOpenChange?: (open: boolean) => void;
1309
+ /** Children using BasePopoverTrigger and BasePopoverContent */
1310
+ children: React_2.ReactNode;
1311
+ /** Simple trigger prop (for backward compatibility) */
1312
+ trigger?: never;
1313
+ /** Simple content prop (for backward compatibility) */
1314
+ content?: never;
1315
+ }
1316
+
1317
+ declare interface IPopoverSimpleProps {
1318
+ /** The trigger element that opens the popover (usually a button) */
1319
+ trigger: React_2.ReactNode;
1320
+ /** The content to display in the popover */
1321
+ content: React_2.ReactNode;
1322
+ /** Controlled open state */
1323
+ open?: boolean;
1324
+ /** Callback when open state changes */
1325
+ onOpenChange?: (open: boolean) => void;
1326
+ }
1327
+
1328
+ /**
1329
+ * Tab configuration interface.
1330
+ */
1331
+ export declare interface ITabProps {
1332
+ /** Tab value identifier */
1333
+ value: "profile" | "payout" | "settings" | "support";
1334
+ /** Optional image source URL for the tab icon */
1335
+ image?: string;
1336
+ /** Display name for the tab */
1337
+ name: string;
1338
+ /** Content element to display when tab is active */
1339
+ element: React.ReactNode;
1340
+ }
1341
+
1342
+ /**
1343
+ * Label component for form inputs.
1344
+ * Provides accessible labeling with proper association to form controls.
1345
+ *
1346
+ * @param props - Label component props (extends React.LabelHTMLAttributes<HTMLLabelElement>)
1347
+ * @param props.className - Additional CSS classes
1348
+ * @param props.htmlFor - ID of the associated form control
1349
+ * @returns Label element
1350
+ *
1351
+ * @example
1352
+ * ```tsx
1353
+ * <Label htmlFor="email">Email Address</Label>
1354
+ * <Input id="email" type="email" />
1355
+ * ```
1356
+ */
1357
+ export declare const Label: React_2.ForwardRefExoticComponent<React_2.LabelHTMLAttributes<HTMLLabelElement> & React_2.RefAttributes<HTMLLabelElement>>;
1358
+
1359
+ /**
1360
+ * Popover root component.
1361
+ * Controls the open/closed state of the popover.
1362
+ *
1363
+ * @param props - Popover props (extends React.ComponentProps<typeof Popover.Root>)
1364
+ * @returns Popover root element
1365
+ */
1366
+ export declare function Popover({ ...props }: React_2.ComponentProps<typeof Popover_2.Root>): JSX_2.Element;
1367
+
1368
+ /**
1369
+ * Popover content component.
1370
+ * The floating content that appears when the popover is open.
1371
+ *
1372
+ * @param props - PopoverContent props (extends React.ComponentProps<typeof Popover.Popup>)
1373
+ * @param props.className - Additional CSS classes
1374
+ * @param props.align - Alignment relative to trigger (default: "center")
1375
+ * @param props.sideOffset - Distance from trigger in pixels (default: 4)
1376
+ * @returns Popover content element
1377
+ */
1378
+ export declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof Popover_2.Popup> & {
1379
+ align?: "center" | "start" | "end";
1380
+ sideOffset?: number;
1381
+ }): JSX_2.Element;
1382
+
1383
+ /**
1384
+ * Popover trigger component.
1385
+ * Element that opens the popover when clicked.
1386
+ *
1387
+ * @param props - PopoverTrigger props (extends React.ComponentProps<typeof Popover.Trigger>)
1388
+ * @returns Popover trigger element
1389
+ */
1390
+ export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<Omit<NativeButtonProps & Omit<WithBaseUIEvent<Omit<React_2.DetailedHTMLProps<React_2.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
1391
+ ref?: ((instance: HTMLButtonElement | null) => void | React_2.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React_2.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React_2.RefObject<HTMLButtonElement> | null | undefined;
1392
+ }>, "className" | "defaultChecked" | "defaultValue" | "color"> & {
1393
+ className?: string | ((state: PopoverTriggerState) => string | undefined) | undefined;
1394
+ render?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps<any>, PopoverTriggerState> | undefined;
1395
+ style?: React_2.CSSProperties | ((state: PopoverTriggerState) => React_2.CSSProperties | undefined) | undefined;
1396
+ } & {
1397
+ nativeButton?: boolean;
1398
+ handle?: Popover_2.Handle<unknown> | undefined;
1399
+ payload?: unknown;
1400
+ id?: string;
1401
+ openOnHover?: boolean;
1402
+ delay?: number;
1403
+ closeDelay?: number;
1404
+ } & React_2.RefAttributes<HTMLElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
1405
+
1406
+ /**
1407
+ * Progress root component.
1408
+ * Groups all parts of the progress bar and provides task completion status.
1409
+ *
1410
+ * @param props - Progress props (extends React.ComponentProps<typeof Progress.Root>)
1411
+ * @param props.value - Current value (0-100) or null for indeterminate
1412
+ * @param props.min - Minimum value (default: 0)
1413
+ * @param props.max - Maximum value (default: 100)
1414
+ * @returns Progress root element
1415
+ */
1416
+ export declare function Progress({ className, ...props }: React_2.ComponentProps<typeof Progress_2.Root>): JSX_2.Element;
1417
+
1418
+ /**
1419
+ * Progress indicator component.
1420
+ * Visualizes the completion status of the task.
1421
+ *
1422
+ * @param props - ProgressIndicator props (extends React.ComponentProps<typeof Progress.Indicator>)
1423
+ * @param props.className - Additional CSS classes
1424
+ * @returns Progress indicator element
1425
+ */
1426
+ export declare function ProgressIndicator({ className, ...props }: React_2.ComponentProps<typeof Progress_2.Indicator>): JSX_2.Element;
1427
+
1428
+ /**
1429
+ * Progress label component.
1430
+ * An accessible label for the progress bar.
1431
+ *
1432
+ * @param props - ProgressLabel props (extends React.ComponentProps<typeof Progress.Label>)
1433
+ * @param props.className - Additional CSS classes
1434
+ * @returns Progress label element
1435
+ */
1436
+ export declare function ProgressLabel({ className, ...props }: React_2.ComponentProps<typeof Progress_2.Label>): JSX_2.Element;
1437
+
1438
+ /**
1439
+ * Progress track component.
1440
+ * Contains the progress bar indicator.
1441
+ *
1442
+ * @param props - ProgressTrack props (extends React.ComponentProps<typeof Progress.Track>)
1443
+ * @param props.className - Additional CSS classes
1444
+ * @returns Progress track element
1445
+ */
1446
+ export declare function ProgressTrack({ className, ...props }: React_2.ComponentProps<typeof Progress_2.Track>): JSX_2.Element;
1447
+
1448
+ /**
1449
+ * Progress value component.
1450
+ * A text label displaying the current value.
1451
+ *
1452
+ * @param props - ProgressValue props (extends React.ComponentProps<typeof Progress.Value>)
1453
+ * @param props.className - Additional CSS classes
1454
+ * @param props.children - Custom render function for formatted value
1455
+ * @returns Progress value element
1456
+ */
1457
+ export declare function ProgressValue({ className, ...props }: React_2.ComponentProps<typeof Progress_2.Value>): JSX_2.Element;
1458
+
1459
+ /**
1460
+ * Select root component.
1461
+ * Controls the open/closed state and value of the select.
1462
+ *
1463
+ * @param props - Select props (extends React.ComponentProps<typeof Select.Root>)
1464
+ * @param props.value - Controlled selected value
1465
+ * @param props.defaultValue - Uncontrolled default value
1466
+ * @param props.onValueChange - Callback when value changes
1467
+ * @returns Select root element
1468
+ */
1469
+ export declare function Select({ ...props }: React_2.ComponentProps<typeof Select_2.Root>): JSX_2.Element;
1470
+
1471
+ /**
1472
+ * Select content component.
1473
+ * The dropdown menu containing selectable items.
1474
+ *
1475
+ * @param props - SelectContent props
1476
+ * @param props.className - Additional CSS classes
1477
+ * @param props.position - Positioning strategy ("popper" | "item-aligned")
1478
+ * @param props.children - Select items and groups
1479
+ * @returns Select content element
1480
+ */
1481
+ export declare function SelectContent({ className, children, position, sideOffset, align, side, ...props }: React_2.ComponentProps<typeof Select_2.Popup> & {
1482
+ position?: "popper" | "item-aligned";
1483
+ sideOffset?: number;
1484
+ align?: "start" | "center" | "end";
1485
+ side?: "top" | "right" | "bottom" | "left";
1486
+ }): JSX_2.Element;
1487
+
1488
+ export declare function SelectGroup({ ...props }: React_2.ComponentProps<typeof Select_2.Group>): JSX_2.Element;
1489
+
1490
+ /**
1491
+ * Select item component.
1492
+ * Individual selectable option in the dropdown.
1493
+ *
1494
+ * @param props - SelectItem props
1495
+ * @param props.className - Additional CSS classes
1496
+ * @param props.value - Item value
1497
+ * @param props.children - Item label/content
1498
+ * @returns Select item element
1499
+ */
1500
+ export declare function SelectItem({ className, children, ...props }: React_2.ComponentProps<typeof Select_2.Item>): JSX_2.Element;
1501
+
1502
+ export declare function SelectLabel({ className, ...props }: React_2.ComponentProps<typeof Select_2.GroupLabel>): JSX_2.Element;
1503
+
1504
+ export declare function SelectScrollDownButton({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
1505
+
1506
+ export declare function SelectScrollUpButton({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
1507
+
1508
+ export declare function SelectSeparator({ className, ...props }: React_2.ComponentProps<typeof Select_2.Separator>): JSX_2.Element;
1509
+
1510
+ /**
1511
+ * Select trigger component.
1512
+ * The button that opens the select dropdown.
1513
+ *
1514
+ * @param props - SelectTrigger props
1515
+ * @param props.className - Additional CSS classes
1516
+ * @param props.size - Size variant ("sm" | "default")
1517
+ * @param props.children - Usually SelectValue component
1518
+ * @returns Select trigger element
1519
+ */
1520
+ export declare const SelectTrigger: React_2.ForwardRefExoticComponent<Omit<Omit<SelectTriggerProps, "ref"> & React_2.RefAttributes<HTMLButtonElement> & {
1521
+ size?: "sm" | "default";
1522
+ }, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
1523
+
1524
+ export declare function SelectValue({ ...props }: React_2.ComponentProps<typeof Select_2.Value>): JSX_2.Element;
1525
+
1526
+ /**
1527
+ * Sheet root component.
1528
+ * Controls the open/closed state of the sheet.
1529
+ *
1530
+ * @param props - Sheet props (extends React.ComponentProps<typeof Dialog.Root>)
1531
+ * @param props.open - Controlled open state
1532
+ * @param props.defaultOpen - Uncontrolled default open state
1533
+ * @param props.onOpenChange - Callback when open state changes
1534
+ * @returns Sheet root element
1535
+ */
1536
+ export declare function Sheet({ ...props }: React_2.ComponentProps<typeof Dialog_2.Root>): JSX_2.Element;
1537
+
1538
+ export declare function SheetClose({ ...props }: React_2.ComponentProps<typeof Dialog_2.Close>): JSX_2.Element;
1539
+
1540
+ /**
1541
+ * Sheet content component.
1542
+ * The sliding panel content that appears from the specified side.
1543
+ *
1544
+ * @param props - SheetContent props
1545
+ * @param props.className - Additional CSS classes
1546
+ * @param props.side - Side from which sheet slides in (default: "right")
1547
+ * @param props.children - Sheet content
1548
+ * @returns Sheet content element
1549
+ */
1550
+ export declare function SheetContent({ className, children, side, ...props }: React_2.ComponentProps<typeof Dialog_2.Popup> & {
1551
+ side?: "top" | "right" | "bottom" | "left";
1552
+ }): JSX_2.Element;
1553
+
1554
+ export declare const SheetDescription: React_2.ForwardRefExoticComponent<Omit<Omit<DialogDescriptionProps, "ref"> & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
1555
+
1556
+ export declare function SheetFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
1557
+
1558
+ export declare function SheetHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX_2.Element;
1559
+
1560
+ export declare const SheetTitle: React_2.ForwardRefExoticComponent<Omit<Omit<DialogTitleProps, "ref"> & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
1561
+
1562
+ export declare const SheetTrigger: React_2.ForwardRefExoticComponent<Omit<DialogTriggerProps<unknown> & React_2.RefAttributes<HTMLElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
1563
+
1564
+ declare type SideDrawerVariantProps = VariantProps<typeof sideDrawerVariants>;
1565
+
1566
+ /** Side drawer variant styles using class-variance-authority */
1567
+ declare const sideDrawerVariants: (props?: ({
1568
+ size?: "default" | "sm" | "lg" | "md" | "xl" | "full" | null | undefined;
1569
+ } & ClassProp) | undefined) => string;
1570
+
1571
+ /** Available modal size options */
1572
+ declare const sizeClasses: {
1573
+ /** Small modal */
1574
+ small: string;
1575
+ /** Large modal */
1576
+ large: string;
1577
+ /** Full height modal with vertical scrolling */
1578
+ full: string;
1579
+ };
1580
+
1581
+ /**
1582
+ * Slider root component.
1583
+ * Controls the value and behavior of the slider.
1584
+ *
1585
+ * @param props - Slider props (extends React.ComponentProps<typeof Slider.Root>)
1586
+ * @param props.value - Controlled value (number or [number, number] for range)
1587
+ * @param props.defaultValue - Uncontrolled default value
1588
+ * @param props.onValueChange - Callback when value changes
1589
+ * @param props.min - Minimum value (default: 0)
1590
+ * @param props.max - Maximum value (default: 100)
1591
+ * @param props.step - Step increment (default: 1)
1592
+ * @param props.disabled - Whether slider is disabled
1593
+ * @returns Slider root element
1594
+ */
1595
+ export declare function Slider({ ...props }: React_2.ComponentProps<typeof Slider_2.Root>): JSX_2.Element;
1596
+
1597
+ /**
1598
+ * Slider control component.
1599
+ * The clickable, interactive part of the slider.
1600
+ *
1601
+ * @param props - SliderControl props (extends React.ComponentProps<typeof Slider.Control>)
1602
+ * @param props.className - Additional CSS classes
1603
+ * @returns Slider control element
1604
+ */
1605
+ export declare function SliderControl({ className, ...props }: React_2.ComponentProps<typeof Slider_2.Control>): JSX_2.Element;
1606
+
1607
+ /**
1608
+ * Slider indicator component.
1609
+ * Visualizes the current value of the slider.
1610
+ *
1611
+ * @param props - SliderIndicator props (extends React.ComponentProps<typeof Slider.Indicator>)
1612
+ * @param props.className - Additional CSS classes
1613
+ * @returns Slider indicator element
1614
+ */
1615
+ export declare function SliderIndicator({ className, ...props }: React_2.ComponentProps<typeof Slider_2.Indicator>): JSX_2.Element;
1616
+
1617
+ /**
1618
+ * Slider thumb component.
1619
+ * The draggable part of the slider.
1620
+ *
1621
+ * @param props - SliderThumb props (extends React.ComponentProps<typeof Slider.Thumb>)
1622
+ * @param props.className - Additional CSS classes
1623
+ * @param props.aria-label - Accessible label for the thumb
1624
+ * @returns Slider thumb element
1625
+ */
1626
+ export declare const SliderThumb: React_2.ForwardRefExoticComponent<Omit<Omit<SliderThumbProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1627
+
1628
+ /**
1629
+ * Slider track component.
1630
+ * Contains the slider indicator and represents the entire range.
1631
+ *
1632
+ * @param props - SliderTrack props (extends React.ComponentProps<typeof Slider.Track>)
1633
+ * @param props.className - Additional CSS classes
1634
+ * @returns Slider track element
1635
+ */
1636
+ export declare function SliderTrack({ className, ...props }: React_2.ComponentProps<typeof Slider_2.Track>): JSX_2.Element;
1637
+
1638
+ /**
1639
+ * Slider value component.
1640
+ * Displays the current value of the slider as text.
1641
+ *
1642
+ * @param props - SliderValue props (extends React.ComponentProps<typeof Slider.Value>)
1643
+ * @param props.className - Additional CSS classes
1644
+ * @param props.children - Custom render function for formatted value
1645
+ * @returns Slider value element
1646
+ */
1647
+ export declare function SliderValue({ className, ...props }: React_2.ComponentProps<typeof Slider_2.Value>): JSX_2.Element;
1648
+
1649
+ /**
1650
+ * Switch component for toggle input.
1651
+ * Provides accessible switch/toggle functionality with smooth animations.
1652
+ *
1653
+ * @param props - Switch component props (extends React.ComponentProps<typeof SwitchPrimitive.Root>)
1654
+ * @param props.className - Additional CSS classes
1655
+ * @param props.checked - Controlled checked state
1656
+ * @param props.defaultChecked - Uncontrolled default checked state
1657
+ * @param props.onCheckedChange - Callback when checked state changes
1658
+ * @returns Switch element
1659
+ *
1660
+ * @example
1661
+ * ```tsx
1662
+ * <Switch checked={isEnabled} onCheckedChange={setIsEnabled} />
1663
+ * <Switch defaultChecked />
1664
+ * ```
1665
+ */
1666
+ export declare const Switch: React_2.ForwardRefExoticComponent<Omit<Omit<SwitchRootProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
1667
+
1668
+ /**
1669
+ * Table component.
1670
+ * Container for table elements with responsive overflow handling.
1671
+ *
1672
+ * @param props - Table props (extends React.ComponentProps<"table">)
1673
+ * @param props.className - Additional CSS classes
1674
+ * @returns Table element wrapped in responsive container
1675
+ */
1676
+ export declare function Table({ className, ...props }: React_2.ComponentProps<"table">): JSX_2.Element;
1677
+
1678
+ export declare function TableBody({ className, ...props }: React_2.ComponentProps<"tbody">): JSX_2.Element;
1679
+
1680
+ export declare function TableCaption({ className, ...props }: React_2.ComponentProps<"caption">): JSX_2.Element;
1681
+
1682
+ export declare function TableCell({ className, ...props }: React_2.ComponentProps<"td">): JSX_2.Element;
1683
+
1684
+ export declare function TableFooter({ className, ...props }: React_2.ComponentProps<"tfoot">): JSX_2.Element;
1685
+
1686
+ export declare function TableHead({ className, ...props }: React_2.ComponentProps<"th">): JSX_2.Element;
1687
+
1688
+ export declare function TableHeader({ className, ...props }: React_2.ComponentProps<"thead">): JSX_2.Element;
1689
+
1690
+ export declare function TableRow({ className, ...props }: React_2.ComponentProps<"tr">): JSX_2.Element;
1691
+
1692
+ /**
1693
+ * Tabs root component.
1694
+ * Container for tab triggers and content panels.
1695
+ *
1696
+ * @param props - Tabs props (extends React.ComponentProps<typeof Tabs.Root>)
1697
+ * @param props.className - Additional CSS classes
1698
+ * @param props.value - Controlled active tab value
1699
+ * @param props.defaultValue - Uncontrolled default active tab
1700
+ * @param props.onValueChange - Callback when active tab changes
1701
+ * @returns Tabs root element
1702
+ */
1703
+ export declare const Tabs: React_2.ForwardRefExoticComponent<Omit<Omit<TabsRootProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1704
+
1705
+ export declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<Omit<TabsPanelProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1706
+
1707
+ export declare const TabsList: React_2.ForwardRefExoticComponent<Omit<Omit<TabsListProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1708
+
1709
+ export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<Omit<TabsTabProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
1710
+
1711
+ /**
1712
+ * Textarea component for multi-line text input.
1713
+ * Supports all standard textarea HTML attributes with consistent styling.
1714
+ *
1715
+ * @param props - Textarea component props (extends React.ComponentProps<"textarea">)
1716
+ * @param props.className - Additional CSS classes
1717
+ * @returns Textarea element
1718
+ *
1719
+ * @example
1720
+ * ```tsx
1721
+ * <Textarea placeholder="Enter your message" rows={4} />
1722
+ * ```
1723
+ */
1724
+ export declare const Textarea: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React_2.RefAttributes<HTMLTextAreaElement>>;
1725
+
1726
+ declare const THEMES: {
1727
+ readonly light: "";
1728
+ readonly dark: ".dark";
1729
+ };
1730
+
1731
+ /**
1732
+ * Time picker component for selecting hours and minutes.
1733
+ * Supports both 12-hour (AM/PM) and 24-hour formats.
1734
+ *
1735
+ * @param props - TimePicker props
1736
+ * @param props.value - Selected time (Date object)
1737
+ * @param props.onChange - Callback when time changes
1738
+ * @param props.use12Hour - Use 12-hour format with AM/PM (default: false)
1739
+ * @param props.className - Additional CSS classes
1740
+ * @param props.disabled - Whether time picker is disabled
1741
+ * @returns Time picker component
1742
+ *
1743
+ * @example
1744
+ * ```tsx
1745
+ * <TimePicker value={time} onChange={setTime} />
1746
+ * <TimePicker value={time} onChange={setTime} use12Hour />
1747
+ * ```
1748
+ */
1749
+ export declare function TimePicker({ value, onChange, use12Hour, className, disabled, }: TimePickerProps): JSX_2.Element;
1750
+
1751
+ /**
1752
+ * Time picker component props.
1753
+ */
1754
+ declare interface TimePickerProps {
1755
+ /** Selected time value (Date object with time) */
1756
+ value?: Date;
1757
+ /** Callback when time changes */
1758
+ onChange?: (time: Date | undefined) => void;
1759
+ /** Whether to use 12-hour format (AM/PM) */
1760
+ use12Hour?: boolean;
1761
+ /** Additional CSS classes */
1762
+ className?: string;
1763
+ /** Whether the time picker is disabled */
1764
+ disabled?: boolean;
1765
+ }
1766
+
1767
+ /**
1768
+ * Toaster component for displaying toast notifications.
1769
+ * Integrates with next-themes for theme-aware styling.
1770
+ *
1771
+ * @param props - Toaster props (extends ToasterProps from sonner)
1772
+ * @param props.position - Toast position (default: "bottom-right")
1773
+ * @param props.richColors - Enable rich color variants
1774
+ * @returns Toaster element
1775
+ *
1776
+ * @example
1777
+ * ```tsx
1778
+ * <Toaster position="top-right" />
1779
+ * ```
1780
+ */
1781
+ export declare const Toaster: ({ ...props }: ToasterProps) => JSX_2.Element;
1782
+
1783
+ /**
1784
+ * Tooltip root component.
1785
+ * Controls the open/closed state of the tooltip.
1786
+ *
1787
+ * @param props - Tooltip props (extends React.ComponentProps<typeof Tooltip.Root>)
1788
+ * @param props.open - Controlled open state
1789
+ * @param props.defaultOpen - Uncontrolled default open state
1790
+ * @param props.onOpenChange - Callback when open state changes
1791
+ * @returns Tooltip root element
1792
+ */
1793
+ export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof Tooltip_2.Root>): JSX_2.Element;
1794
+
1795
+ /**
1796
+ * Tooltip content component.
1797
+ * The floating tooltip text that appears on hover.
1798
+ *
1799
+ * @param props - TooltipContent props
1800
+ * @param props.className - Additional CSS classes
1801
+ * @param props.sideOffset - Distance from trigger in pixels (default: 8)
1802
+ * @param props.side - Position of tooltip relative to trigger
1803
+ * @param props.align - Horizontal alignment of tooltip
1804
+ * @param props.children - Tooltip text content
1805
+ * @returns Tooltip content element
1806
+ */
1807
+ export declare function TooltipContent({ className, sideOffset, side, align, children, ...props }: React_2.ComponentProps<typeof Tooltip_2.Popup> & {
1808
+ sideOffset?: number;
1809
+ side?: "top" | "right" | "bottom" | "left";
1810
+ align?: "start" | "center" | "end";
1811
+ }): JSX_2.Element;
1812
+
1813
+ /**
1814
+ * Tooltip provider component.
1815
+ * Provides tooltip context and configuration.
1816
+ *
1817
+ * @param props - TooltipProvider props
1818
+ * @param props.delay - Delay before showing tooltip in ms (default: 300)
1819
+ * @returns Tooltip provider element
1820
+ */
1821
+ export declare function TooltipProvider({ delay, ...props }: React_2.ComponentProps<typeof Tooltip_2.Provider>): JSX_2.Element;
1822
+
1823
+ export declare const TooltipTrigger: React_2.ForwardRefExoticComponent<Omit<Tooltip_2.Trigger.Props<unknown> & React_2.RefAttributes<HTMLElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
1824
+
1825
+ declare type UseCarouselParameters = Parameters<typeof default_2>;
1826
+
1827
+ export declare const useFormField: () => {
1828
+ invalid: boolean;
1829
+ isDirty: boolean;
1830
+ isTouched: boolean;
1831
+ isValidating: boolean;
1832
+ error?: FieldError;
1833
+ id: string;
1834
+ name: string;
1835
+ formItemId: string;
1836
+ formDescriptionId: string;
1837
+ formMessageId: string;
1838
+ };
1839
+
1840
+ export { }