@me1a/ui 2.0.0 → 2.0.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.mts CHANGED
@@ -1,11 +1,22 @@
1
1
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
2
- import * as React from 'react';
2
+ import * as React$1 from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
+ import * as react_jsx_runtime from 'react/jsx-runtime';
5
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
6
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
7
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
8
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
9
+ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
10
+ import { FieldValues, FieldPath } from 'react-hook-form';
11
+ import * as vaul from 'vaul';
12
+ import { Drawer as Drawer$1 } from 'vaul';
13
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
14
  import { ClassValue } from 'clsx';
5
15
 
6
16
  /**
7
17
  * Props interface for the Button component.
8
18
  * Extends the native button HTML attributes and adds support for variants and asChild prop.
19
+ * Implements proper accessibility features and follows WCAG 2.1 Level AA guidelines.
9
20
  *
10
21
  * @interface ButtonProps
11
22
  * @extends {React.ButtonHTMLAttributes<HTMLButtonElement>}
@@ -15,14 +26,25 @@ import { ClassValue } from 'clsx';
15
26
  * @property {string} [variant] - The visual style variant of the button.
16
27
  * @property {string} [size] - The size variant of the button.
17
28
  * @property {string} [className] - Additional CSS classes to apply to the button.
29
+ * @property {React.ReactNode} [startIcon] - Icon to display before the button text.
30
+ * @property {React.ReactNode} [endIcon] - Icon to display after the button text.
31
+ * @property {boolean} [loading] - Whether the button is in a loading state.
32
+ * @property {string} [type] - The type of button (button, submit, reset). Defaults to "button".
33
+ * @property {string} [aria-label] - Accessible label for the button. Falls back to button text if not provided.
18
34
  */
19
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
35
+ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
20
36
  asChild?: boolean;
37
+ startIcon?: React$1.ReactNode;
38
+ endIcon?: React$1.ReactNode;
39
+ loading?: boolean;
40
+ type?: "button" | "submit" | "reset";
41
+ "aria-label"?: string;
21
42
  }
22
43
 
23
44
  /**
24
45
  * Button variant styles using class-variance-authority.
25
46
  * Defines the visual styles for different button variants and sizes.
47
+ * Follows WCAG 2.1 Level AA guidelines for accessibility.
26
48
  *
27
49
  * @example
28
50
  * ```tsx
@@ -36,6 +58,7 @@ declare const buttonVariants: (props?: ({
36
58
  /**
37
59
  * A versatile button component that supports multiple variants, sizes, and can be rendered as a child component.
38
60
  * Built on top of Radix UI's Slot primitive for maximum flexibility.
61
+ * Implements proper accessibility features and follows WCAG 2.1 Level AA guidelines.
39
62
  *
40
63
  * @component
41
64
  * @example
@@ -50,14 +73,1032 @@ declare const buttonVariants: (props?: ({
50
73
  * <Button variant="link" asChild>
51
74
  * <a href="/about">About</a>
52
75
  * </Button>
76
+ *
77
+ * // With icons
78
+ * <Button startIcon={<Icon />}>With Start Icon</Button>
79
+ * <Button endIcon={<Icon />}>With End Icon</Button>
80
+ *
81
+ * // Loading state
82
+ * <Button loading>Loading</Button>
53
83
  * ```
54
84
  *
55
85
  * @param {ButtonProps} props - The component props
56
86
  * @param {React.Ref<HTMLButtonElement>} ref - Forwarded ref
57
87
  * @returns {JSX.Element} A button element
58
88
  */
59
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
89
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
90
+
91
+ /**
92
+ * Props interface for the TextField component.
93
+ * Extends the native input HTML attributes and adds support for variants and icons.
94
+ *
95
+ * @interface TextFieldProps
96
+ * @extends {React.InputHTMLAttributes<HTMLInputElement>}
97
+ * @extends {VariantProps<typeof textFieldVariants>}
98
+ *
99
+ * @property {string} [variant] - The visual style variant of the text field.
100
+ * @property {string} [size] - The size variant of the text field.
101
+ * @property {string} [className] - Additional CSS classes to apply to the text field.
102
+ * @property {React.ReactNode} [startIcon] - Icon to display before the input.
103
+ * @property {React.ReactNode} [endIcon] - Icon to display after the input.
104
+ * @property {boolean} [loading] - Whether the text field is in a loading state.
105
+ * @property {string} [error] - Error message to display below the text field.
106
+ * @property {string} [label] - Label text for the text field.
107
+ * @property {string} [helperText] - Helper text to display below the text field.
108
+ */
109
+ interface TextFieldProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof textFieldVariants> {
110
+ startIcon?: React$1.ReactNode;
111
+ endIcon?: React$1.ReactNode;
112
+ loading?: boolean;
113
+ error?: string;
114
+ label?: string;
115
+ helperText?: string;
116
+ }
117
+
118
+ /**
119
+ * Text field variant styles using class-variance-authority.
120
+ * Defines the visual styles for different text field variants and sizes.
121
+ */
122
+ declare const textFieldVariants: (props?: ({
123
+ variant?: "default" | "error" | null | undefined;
124
+ size?: "default" | "sm" | "lg" | null | undefined;
125
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
126
+ /**
127
+ * A versatile text field component that supports multiple variants, sizes, and icons.
128
+ * Built on top of shadcn/ui's Input component.
129
+ *
130
+ * @component
131
+ * @example
132
+ * ```tsx
133
+ * // Default text field
134
+ * <TextField placeholder="Enter text" />
135
+ *
136
+ * // With icons
137
+ * <TextField startIcon={<SearchIcon />} placeholder="Search..." />
138
+ * <TextField endIcon={<CalendarIcon />} placeholder="Select date" />
139
+ *
140
+ * // With loading state
141
+ * <TextField loading placeholder="Loading..." />
142
+ *
143
+ * // With error
144
+ * <TextField error="Invalid input" placeholder="Enter text" />
145
+ * ```
146
+ */
147
+ declare const TextField: React$1.ForwardRefExoticComponent<TextFieldProps & React$1.RefAttributes<HTMLInputElement>>;
148
+
149
+ interface ContainerProps extends React$1.HTMLAttributes<HTMLDivElement> {
150
+ /**
151
+ * The maximum width of the container.
152
+ * - "sm": 640px
153
+ * - "md": 768px
154
+ * - "lg": 1024px
155
+ * - "xl": 1280px
156
+ * - "full": 100%
157
+ * - false: No max-width (fluid)
158
+ *
159
+ * @default "lg"
160
+ */
161
+ maxWidth?: "sm" | "md" | "lg" | "xl" | "full" | false;
162
+ /**
163
+ * Whether to disable the default horizontal padding.
164
+ * When true, removes the default padding (px-4 sm:px-6 lg:px-8).
165
+ *
166
+ * @default false
167
+ */
168
+ disablePadding?: boolean;
169
+ /**
170
+ * Whether to make the container fluid (no max-width).
171
+ * When true, the container will expand to fill its parent's width.
172
+ *
173
+ * @default false
174
+ */
175
+ fluid?: boolean;
176
+ }
177
+ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & React$1.RefAttributes<HTMLDivElement>>;
178
+
179
+ /**
180
+ * Box is a fundamental layout component that serves as a building block for other components.
181
+ * It's a polymorphic component that can render as different HTML elements while maintaining
182
+ * consistent styling and behavior.
183
+ *
184
+ * @example
185
+ * ```tsx
186
+ * // Basic usage
187
+ * <Box>Content</Box>
188
+ *
189
+ * // As a different element
190
+ * <Box as="section">Section content</Box>
191
+ *
192
+ * // With custom className
193
+ * <Box className="bg-primary text-white p-4">Styled content</Box>
194
+ * ```
195
+ */
196
+
197
+ type BoxComponent = "div" | "span" | "section" | "article" | "main" | "aside" | "header" | "footer" | "nav";
198
+ interface BoxProps extends React$1.HTMLAttributes<HTMLDivElement> {
199
+ /**
200
+ * The HTML element to render the Box as.
201
+ * This allows for semantic HTML while maintaining consistent styling.
202
+ *
203
+ * @default "div"
204
+ */
205
+ as?: BoxComponent;
206
+ }
207
+ declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttributes<HTMLDivElement>>;
208
+
209
+ /**
210
+ * Stack is a layout component that arranges its children in a vertical or horizontal stack
211
+ * with consistent spacing between items. It's built on top of Flexbox and provides
212
+ * a simple way to create consistent layouts.
213
+ *
214
+ * @example
215
+ * ```tsx
216
+ * // Basic vertical stack
217
+ * <Stack>
218
+ * <div>Item 1</div>
219
+ * <div>Item 2</div>
220
+ * <div>Item 3</div>
221
+ * </Stack>
222
+ *
223
+ * // Horizontal stack with custom spacing
224
+ * <Stack direction="horizontal" spacing="lg">
225
+ * <div>Item 1</div>
226
+ * <div>Item 2</div>
227
+ * </Stack>
228
+ *
229
+ * // Centered stack with wrapping
230
+ * <Stack direction="horizontal" center wrap>
231
+ * <div>Item 1</div>
232
+ * <div>Item 2</div>
233
+ * <div>Item 3</div>
234
+ * </Stack>
235
+ *
236
+ * // Stack with custom alignment
237
+ * <Stack align="center" justify="between">
238
+ * <div>Left</div>
239
+ * <div>Center</div>
240
+ * <div>Right</div>
241
+ * </Stack>
242
+ * ```
243
+ */
244
+
245
+ interface StackProps extends React$1.HTMLAttributes<HTMLDivElement> {
246
+ /**
247
+ * The direction in which to stack the items.
248
+ * - "vertical": Items are stacked top to bottom
249
+ * - "horizontal": Items are stacked left to right
250
+ *
251
+ * @default "vertical"
252
+ */
253
+ direction?: "vertical" | "horizontal";
254
+ /**
255
+ * The spacing between items in the stack.
256
+ * - "none": 0px
257
+ * - "xs": 0.25rem (4px)
258
+ * - "sm": 0.5rem (8px)
259
+ * - "md": 1rem (16px)
260
+ * - "lg": 1.5rem (24px)
261
+ * - "xl": 2rem (32px)
262
+ *
263
+ * @default "md"
264
+ */
265
+ spacing?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
266
+ /**
267
+ * Whether to allow items to wrap to the next line when they don't fit.
268
+ * Only applies to horizontal stacks.
269
+ *
270
+ * @default false
271
+ */
272
+ wrap?: boolean;
273
+ /**
274
+ * Whether to center items both horizontally and vertically.
275
+ * This is a shorthand for setting both align and justify to "center".
276
+ *
277
+ * @default false
278
+ */
279
+ center?: boolean;
280
+ /**
281
+ * How to justify items along the main axis.
282
+ * - "start": Items are packed toward the start
283
+ * - "end": Items are packed toward the end
284
+ * - "center": Items are centered
285
+ * - "between": Items are evenly distributed with first item at start and last at end
286
+ * - "around": Items are evenly distributed with equal space around them
287
+ * - "evenly": Items are distributed so that the spacing between any two items is equal
288
+ *
289
+ * @default undefined
290
+ */
291
+ justify?: "start" | "end" | "center" | "between" | "around" | "evenly";
292
+ /**
293
+ * How to align items along the cross axis.
294
+ * - "start": Items are aligned at the start
295
+ * - "end": Items are aligned at the end
296
+ * - "center": Items are centered
297
+ * - "stretch": Items are stretched to fill the container
298
+ * - "baseline": Items are aligned at their baselines
299
+ *
300
+ * @default undefined
301
+ */
302
+ align?: "start" | "end" | "center" | "stretch" | "baseline";
303
+ }
304
+ declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
305
+
306
+ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
307
+ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
308
+ declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
309
+ declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
310
+ declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
311
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
312
+ declare const DialogHeader: {
313
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
314
+ displayName: string;
315
+ };
316
+ declare const DialogFooter: {
317
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
318
+ displayName: string;
319
+ };
320
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
321
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
322
+
323
+ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
324
+
325
+ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
326
+
327
+ declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
328
+ declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
329
+ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
330
+ declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
331
+ declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
332
+ declare const sheetVariants: (props?: ({
333
+ side?: "top" | "bottom" | "left" | "right" | null | undefined;
334
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
335
+ interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
336
+ }
337
+ declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
338
+ declare const SheetHeader: {
339
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
340
+ displayName: string;
341
+ };
342
+ declare const SheetFooter: {
343
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
344
+ displayName: string;
345
+ };
346
+ declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
347
+ declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
348
+
349
+ declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
350
+
351
+ /**
352
+ * Avatar component that displays a user's profile picture or fallback.
353
+ * Built on top of Radix UI's Avatar primitive.
354
+ *
355
+ * @example
356
+ * ```tsx
357
+ * <Avatar>
358
+ * <AvatarImage src="/path/to/image.jpg" alt="User avatar" />
359
+ * <AvatarFallback>JD</AvatarFallback>
360
+ * </Avatar>
361
+ * ```
362
+ */
363
+ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
364
+ /**
365
+ * AvatarImage component that displays the user's profile picture.
366
+ * Falls back to AvatarFallback if the image fails to load.
367
+ */
368
+ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
369
+ /**
370
+ * AvatarFallback component that displays when the image fails to load.
371
+ * Typically shows the user's initials or a placeholder icon.
372
+ */
373
+ declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
374
+
375
+ type AvatarProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>;
376
+ type AvatarImageProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>;
377
+ type AvatarFallbackProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>;
378
+
379
+ declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
380
+ declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
381
+ declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
382
+ declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
383
+
384
+ declare const badgeVariants: (props?: ({
385
+ variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | "info" | null | undefined;
386
+ size?: "default" | "sm" | "lg" | null | undefined;
387
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
388
+
389
+ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
390
+ /**
391
+ * The content to display inside the badge
392
+ */
393
+ children: React.ReactNode;
394
+ /**
395
+ * Optional icon to display before the badge content
396
+ */
397
+ icon?: React.ReactNode;
398
+ /**
399
+ * Optional icon to display after the badge content
400
+ */
401
+ iconAfter?: React.ReactNode;
402
+ }
403
+
404
+ /**
405
+ * Badge component for displaying status, counts, or labels.
406
+ * Supports various variants, sizes, and optional icons.
407
+ *
408
+ * @example
409
+ * ```tsx
410
+ * <Badge variant="success">Active</Badge>
411
+ * <Badge variant="warning" icon={<AlertIcon />}>Warning</Badge>
412
+ * <Badge variant="info" size="lg" iconAfter={<ArrowIcon />}>New</Badge>
413
+ * ```
414
+ */
415
+ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLDivElement>>;
416
+
417
+ /**
418
+ * Card is a flexible container component that can be used to group related content and actions.
419
+ * It provides a consistent visual style with a subtle border, shadow, and rounded corners.
420
+ *
421
+ * @example
422
+ * ```tsx
423
+ * // Basic card
424
+ * <Card>
425
+ * <CardHeader>
426
+ * <CardTitle>Card Title</CardTitle>
427
+ * <CardDescription>Card Description</CardDescription>
428
+ * </CardHeader>
429
+ * <CardContent>
430
+ * <p>Card content goes here.</p>
431
+ * </CardContent>
432
+ * <CardFooter>
433
+ * <Button>Action</Button>
434
+ * </CardFooter>
435
+ * </Card>
436
+ *
437
+ * // Card with custom styling
438
+ * <Card className="bg-primary text-primary-foreground">
439
+ * <CardHeader>
440
+ * <CardTitle>Custom Styled Card</CardTitle>
441
+ * </CardHeader>
442
+ * <CardContent>
443
+ * <p>This card has custom background and text colors.</p>
444
+ * </CardContent>
445
+ * </Card>
446
+ * ```
447
+ */
448
+
449
+ /**
450
+ * The main card container component.
451
+ * Provides the base styling for the card including border, shadow, and rounded corners.
452
+ */
453
+ declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
454
+ /**
455
+ * Header section of the card.
456
+ * Typically contains the card title and description.
457
+ * Includes padding and spacing for consistent layout.
458
+ */
459
+ declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
460
+ /**
461
+ * Title component for the card.
462
+ * Should be used within CardHeader.
463
+ * Provides consistent typography styling for card titles.
464
+ */
465
+ declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
466
+ /**
467
+ * Description component for the card.
468
+ * Should be used within CardHeader.
469
+ * Provides consistent typography styling for card descriptions.
470
+ */
471
+ declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
472
+ /**
473
+ * Main content section of the card.
474
+ * Includes padding and removes top padding to maintain consistent spacing with the header.
475
+ */
476
+ declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
477
+ /**
478
+ * Footer section of the card.
479
+ * Typically contains action buttons or additional information.
480
+ * Includes padding and removes top padding to maintain consistent spacing with the content.
481
+ */
482
+ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
483
+
484
+ declare const navigationMenuTriggerStyle: (props?: ({
485
+ variant?: "default" | "ghost" | "link" | "mobile" | null | undefined;
486
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
487
+
488
+ interface NavigationMenuProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root> {
489
+ /**
490
+ * The content of the navigation menu
491
+ */
492
+ children: React.ReactNode;
493
+ /**
494
+ * Optional className for the root element
495
+ */
496
+ className?: string;
497
+ }
498
+ interface NavigationMenuListProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List> {
499
+ /**
500
+ * Optional className for the list element
501
+ */
502
+ className?: string;
503
+ }
504
+ interface NavigationMenuItemProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Item> {
505
+ /**
506
+ * Optional className for the item element
507
+ */
508
+ className?: string;
509
+ }
510
+ interface NavigationMenuTriggerProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>, VariantProps<typeof navigationMenuTriggerStyle> {
511
+ /**
512
+ * Optional className for the trigger element
513
+ */
514
+ className?: string;
515
+ }
516
+ interface NavigationMenuContentProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content> {
517
+ /**
518
+ * Optional className for the content element
519
+ */
520
+ className?: string;
521
+ }
522
+ interface NavigationMenuLinkProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link> {
523
+ /**
524
+ * Optional className for the link element
525
+ */
526
+ className?: string;
527
+ }
528
+ interface NavigationMenuViewportProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport> {
529
+ /**
530
+ * Optional className for the viewport element
531
+ */
532
+ className?: string;
533
+ }
534
+ interface NavigationMenuIndicatorProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator> {
535
+ /**
536
+ * Optional className for the indicator element
537
+ */
538
+ className?: string;
539
+ }
540
+
541
+ /**
542
+ * NavigationMenu component for creating accessible navigation menus with dropdowns.
543
+ * Built on top of Radix UI's NavigationMenu primitive.
544
+ *
545
+ * @example
546
+ * ```tsx
547
+ * <NavigationMenu>
548
+ * <NavigationMenuList>
549
+ * <NavigationMenuItem>
550
+ * <NavigationMenuTrigger>Getting Started</NavigationMenuTrigger>
551
+ * <NavigationMenuContent>
552
+ * <ul className="grid gap-3 p-4 md:w-[400px] lg:w-[500px]">
553
+ * <li className="row-span-3">
554
+ * <NavigationMenuLink asChild>
555
+ * <a className="flex h-full w-full select-none flex-col justify-end rounded-md bg-gradient-to-b from-muted/50 to-muted p-6 no-underline outline-none focus:shadow-md">
556
+ * <div className="mb-2 mt-4 text-lg font-medium">shadcn/ui</div>
557
+ * <p className="text-sm leading-tight text-muted-foreground">
558
+ * Beautifully designed components built with Radix UI and Tailwind CSS.
559
+ * </p>
560
+ * </a>
561
+ * </NavigationMenuLink>
562
+ * </li>
563
+ * </ul>
564
+ * </NavigationMenuContent>
565
+ * </NavigationMenuItem>
566
+ * </NavigationMenuList>
567
+ * </NavigationMenu>
568
+ * ```
569
+ */
570
+ declare const NavigationMenu: React$1.ForwardRefExoticComponent<NavigationMenuProps & React$1.RefAttributes<HTMLElement>>;
571
+ declare const NavigationMenuList: React$1.ForwardRefExoticComponent<NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>>;
572
+ declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
573
+ declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
574
+ declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
575
+ declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
576
+ declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>>;
577
+ declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>>;
578
+
579
+ interface RHFTextFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends Omit<React$1.ComponentProps<typeof Input>, "name"> {
580
+ /** The name of the field in the form */
581
+ name: TName;
582
+ /** Optional label for the field */
583
+ label?: string;
584
+ /** Optional description text below the field */
585
+ description?: string;
586
+ /** Optional warning text to display */
587
+ warningText?: string;
588
+ /** Whether the field is required */
589
+ required?: boolean;
590
+ /** Whether the field is disabled */
591
+ disabled?: boolean;
592
+ /** Whether the field is read-only */
593
+ readOnly?: boolean;
594
+ /** The type of input (text, number, email, etc.) */
595
+ type?: React$1.HTMLInputTypeAttribute;
596
+ /** Optional placeholder text */
597
+ placeholder?: string;
598
+ /** Optional aria-label for accessibility */
599
+ "aria-label"?: string;
600
+ /** Optional aria-describedby for accessibility */
601
+ "aria-describedby"?: string;
602
+ }
603
+
604
+ /**
605
+ * A text field component that integrates with React Hook Form.
606
+ * Provides form validation, error handling, and accessibility features.
607
+ *
608
+ * @example
609
+ * ```tsx
610
+ * <RHFTextField
611
+ * name="email"
612
+ * label="Email"
613
+ * type="email"
614
+ * required
615
+ * rules={{
616
+ * required: "Email is required",
617
+ * pattern: {
618
+ * value: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,
619
+ * message: "Invalid email address"
620
+ * }
621
+ * }}
622
+ * />
623
+ * ```
624
+ */
625
+ declare function RHFTextField<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, className, type, warningText, required, disabled, readOnly, placeholder, "aria-label": ariaLabel, "aria-describedby": ariaDescribedby, onBlur, ...other }: RHFTextFieldProps<TFieldValues, TName>): react_jsx_runtime.JSX.Element;
626
+
627
+ declare const Drawer: {
628
+ ({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
629
+ displayName: string;
630
+ };
631
+ /**
632
+ * The trigger element that opens the drawer.
633
+ * Should be used with the `asChild` prop to wrap your own trigger element.
634
+ */
635
+ declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
636
+ /**
637
+ * Portal component that renders the drawer content outside the DOM hierarchy.
638
+ * This ensures proper stacking context and accessibility.
639
+ */
640
+ declare const DrawerPortal: typeof vaul.Portal;
641
+ /**
642
+ * Close button component for the drawer.
643
+ * Should be used with the `asChild` prop to wrap your own close button.
644
+ */
645
+ declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
646
+ /**
647
+ * Overlay component that appears behind the drawer.
648
+ * Provides a semi-transparent backdrop and handles click-outside behavior.
649
+ */
650
+ declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
651
+ /**
652
+ * The main content container for the drawer.
653
+ * Includes the handle bar at the top and manages the slide-up animation.
654
+ */
655
+ declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
656
+ /**
657
+ * Header section of the drawer.
658
+ * Typically contains the title and description.
659
+ */
660
+ declare const DrawerHeader: {
661
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
662
+ displayName: string;
663
+ };
664
+ /**
665
+ * Footer section of the drawer.
666
+ * Typically contains action buttons.
667
+ */
668
+ declare const DrawerFooter: {
669
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
670
+ displayName: string;
671
+ };
672
+ /**
673
+ * Title component for the drawer.
674
+ * Should be used within DrawerHeader.
675
+ */
676
+ declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
677
+ /**
678
+ * Description component for the drawer.
679
+ * Should be used within DrawerHeader.
680
+ */
681
+ declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
682
+
683
+ type SidebarContextProps$1 = {
684
+ state: "expanded" | "collapsed";
685
+ open: boolean;
686
+ setOpen: (open: boolean) => void;
687
+ openMobile: boolean;
688
+ setOpenMobile: (open: boolean) => void;
689
+ isMobile: boolean;
690
+ toggleSidebar: () => void;
691
+ };
692
+ declare function useSidebar(): SidebarContextProps$1;
693
+ declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
694
+ defaultOpen?: boolean;
695
+ open?: boolean;
696
+ onOpenChange?: (open: boolean) => void;
697
+ }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
698
+ declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
699
+ side?: "left" | "right";
700
+ variant?: "sidebar" | "floating" | "inset";
701
+ collapsible?: "offcanvas" | "icon" | "none";
702
+ }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
703
+ declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
704
+ declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
705
+ declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
706
+ declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
707
+ declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
708
+ declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
709
+ declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
710
+ declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
711
+ declare const SidebarGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
712
+ declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
713
+ asChild?: boolean;
714
+ }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
715
+ declare const SidebarGroupAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
716
+ asChild?: boolean;
717
+ }, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
718
+ declare const SidebarGroupContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
719
+ declare const SidebarMenu: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
720
+ declare const SidebarMenuItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
721
+ declare const sidebarMenuButtonVariants: (props?: ({
722
+ variant?: "default" | "outline" | null | undefined;
723
+ size?: "default" | "sm" | "lg" | null | undefined;
724
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
725
+ declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
726
+ asChild?: boolean;
727
+ isActive?: boolean;
728
+ tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
729
+ } & VariantProps<(props?: ({
730
+ variant?: "default" | "outline" | null | undefined;
731
+ size?: "default" | "sm" | "lg" | null | undefined;
732
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
733
+ declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
734
+ asChild?: boolean;
735
+ showOnHover?: boolean;
736
+ }, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
737
+ declare const SidebarMenuBadge: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
738
+ declare const SidebarMenuSkeleton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
739
+ showIcon?: boolean;
740
+ }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
741
+ declare const SidebarMenuSub: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
742
+ declare const SidebarMenuSubItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
743
+ declare const SidebarMenuSubButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLAnchorElement> & React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
744
+ asChild?: boolean;
745
+ size?: "sm" | "md";
746
+ isActive?: boolean;
747
+ }, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
748
+
749
+ type SidebarContextProps = {
750
+ state: "expanded" | "collapsed";
751
+ open: boolean;
752
+ setOpen: (open: boolean) => void;
753
+ openMobile: boolean;
754
+ setOpenMobile: (open: boolean) => void;
755
+ isMobile: boolean;
756
+ toggleSidebar: () => void;
757
+ };
758
+ type SidebarProps = React$1.ComponentProps<"div"> & {
759
+ side?: "left" | "right";
760
+ variant?: "sidebar" | "floating" | "inset";
761
+ collapsible?: "offcanvas" | "icon" | "none";
762
+ };
763
+ type SidebarProviderProps = React$1.ComponentProps<"div"> & {
764
+ defaultOpen?: boolean;
765
+ open?: boolean;
766
+ onOpenChange?: (open: boolean) => void;
767
+ };
768
+ type SidebarMenuButtonProps = React$1.ComponentProps<"button"> & {
769
+ asChild?: boolean;
770
+ isActive?: boolean;
771
+ tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
772
+ } & VariantProps<typeof sidebarMenuButtonVariants>;
773
+ type SidebarMenuActionProps = React$1.ComponentProps<"button"> & {
774
+ asChild?: boolean;
775
+ showOnHover?: boolean;
776
+ };
777
+ type SidebarMenuSubButtonProps = React$1.ComponentProps<"a"> & {
778
+ asChild?: boolean;
779
+ size?: "sm" | "md";
780
+ isActive?: boolean;
781
+ };
782
+ type SidebarMenuSkeletonProps = React$1.ComponentProps<"div"> & {
783
+ showIcon?: boolean;
784
+ };
785
+ type SidebarGroupLabelProps = React$1.ComponentProps<"div"> & {
786
+ asChild?: boolean;
787
+ };
788
+ type SidebarGroupActionProps = React$1.ComponentProps<"button"> & {
789
+ asChild?: boolean;
790
+ };
791
+
792
+ declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
793
+ declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
794
+ declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
795
+ declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
796
+ declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
797
+ declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
798
+ declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
799
+ inset?: boolean;
800
+ } & React$1.RefAttributes<HTMLDivElement>>;
801
+ declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
802
+ declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
803
+ declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
804
+ inset?: boolean;
805
+ } & React$1.RefAttributes<HTMLDivElement>>;
806
+ declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
807
+ declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
808
+ declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
809
+ inset?: boolean;
810
+ } & React$1.RefAttributes<HTMLDivElement>>;
811
+ declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
812
+ declare const DropdownMenuShortcut: {
813
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
814
+ displayName: string;
815
+ };
816
+
817
+ declare const dropdownMenuTriggerStyle: (props?: ({
818
+ variant?: "default" | "outline" | "ghost" | "link" | null | undefined;
819
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
820
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
821
+
822
+ type DropdownMenuTriggerVariants = VariantProps<typeof dropdownMenuTriggerStyle>;
823
+ interface DropdownMenuProps {
824
+ /**
825
+ * The content of the dropdown menu
826
+ */
827
+ children: React.ReactNode;
828
+ /**
829
+ * The open state of the dropdown menu
830
+ */
831
+ open?: boolean;
832
+ /**
833
+ * The default open state of the dropdown menu
834
+ */
835
+ defaultOpen?: boolean;
836
+ /**
837
+ * The controlled open state of the dropdown menu
838
+ */
839
+ onOpenChange?: (open: boolean) => void;
840
+ /**
841
+ * The modal state of the dropdown menu
842
+ */
843
+ modal?: boolean;
844
+ }
845
+ interface DropdownMenuTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, DropdownMenuTriggerVariants {
846
+ /**
847
+ * The content of the trigger
848
+ */
849
+ children: React.ReactNode;
850
+ /**
851
+ * The variant of the trigger
852
+ */
853
+ variant?: DropdownMenuTriggerVariants["variant"];
854
+ /**
855
+ * The size of the trigger
856
+ */
857
+ size?: DropdownMenuTriggerVariants["size"];
858
+ }
859
+ interface DropdownMenuContentProps extends React.HTMLAttributes<HTMLDivElement> {
860
+ /**
861
+ * The content of the dropdown menu
862
+ */
863
+ children: React.ReactNode;
864
+ /**
865
+ * The side offset of the dropdown menu
866
+ */
867
+ sideOffset?: number;
868
+ /**
869
+ * The align offset of the dropdown menu
870
+ */
871
+ alignOffset?: number;
872
+ /**
873
+ * The side of the dropdown menu
874
+ */
875
+ side?: "top" | "right" | "bottom" | "left";
876
+ /**
877
+ * The alignment of the dropdown menu
878
+ */
879
+ align?: "start" | "center" | "end";
880
+ /**
881
+ * The collision padding of the dropdown menu
882
+ */
883
+ collisionPadding?: number;
884
+ /**
885
+ * The collision boundary of the dropdown menu
886
+ */
887
+ collisionBoundary?: Element | null | Array<Element | null>;
888
+ /**
889
+ * The arrow padding of the dropdown menu
890
+ */
891
+ arrowPadding?: number;
892
+ /**
893
+ * The sticky state of the dropdown menu
894
+ */
895
+ sticky?: "partial" | "always";
896
+ /**
897
+ * The hide when detached state of the dropdown menu
898
+ */
899
+ hideWhenDetached?: boolean;
900
+ /**
901
+ * The update position strategy of the dropdown menu
902
+ */
903
+ updatePositionStrategy?: "optimized" | "always";
904
+ /**
905
+ * The force mount state of the dropdown menu
906
+ */
907
+ forceMount?: boolean;
908
+ /**
909
+ * The container of the dropdown menu
910
+ */
911
+ container?: HTMLElement;
912
+ }
913
+ interface DropdownMenuItemProps extends React.HTMLAttributes<HTMLDivElement> {
914
+ /**
915
+ * The content of the dropdown menu item
916
+ */
917
+ children: React.ReactNode;
918
+ /**
919
+ * The inset state of the dropdown menu item
920
+ */
921
+ inset?: boolean;
922
+ /**
923
+ * The disabled state of the dropdown menu item
924
+ */
925
+ disabled?: boolean;
926
+ /**
927
+ * The selected state of the dropdown menu item
928
+ */
929
+ selected?: boolean;
930
+ }
931
+ interface DropdownMenuCheckboxItemProps extends React.HTMLAttributes<HTMLDivElement> {
932
+ /**
933
+ * The content of the dropdown menu checkbox item
934
+ */
935
+ children: React.ReactNode;
936
+ /**
937
+ * The checked state of the dropdown menu checkbox item
938
+ */
939
+ checked?: boolean;
940
+ /**
941
+ * The disabled state of the dropdown menu checkbox item
942
+ */
943
+ disabled?: boolean;
944
+ /**
945
+ * The on checked change handler of the dropdown menu checkbox item
946
+ */
947
+ onCheckedChange?: (checked: boolean) => void;
948
+ }
949
+ interface DropdownMenuRadioItemProps extends React.HTMLAttributes<HTMLDivElement> {
950
+ /**
951
+ * The content of the dropdown menu radio item
952
+ */
953
+ children: React.ReactNode;
954
+ /**
955
+ * The value of the dropdown menu radio item
956
+ */
957
+ value: string;
958
+ /**
959
+ * The disabled state of the dropdown menu radio item
960
+ */
961
+ disabled?: boolean;
962
+ }
963
+ interface DropdownMenuLabelProps extends React.HTMLAttributes<HTMLDivElement> {
964
+ /**
965
+ * The content of the dropdown menu label
966
+ */
967
+ children: React.ReactNode;
968
+ /**
969
+ * The inset state of the dropdown menu label
970
+ */
971
+ inset?: boolean;
972
+ }
973
+ interface DropdownMenuSeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
974
+ }
975
+ interface DropdownMenuShortcutProps extends React.HTMLAttributes<HTMLSpanElement> {
976
+ /**
977
+ * The content of the dropdown menu shortcut
978
+ */
979
+ children: React.ReactNode;
980
+ }
981
+ interface DropdownMenuGroupProps extends React.HTMLAttributes<HTMLDivElement> {
982
+ /**
983
+ * The content of the dropdown menu group
984
+ */
985
+ children: React.ReactNode;
986
+ }
987
+ interface DropdownMenuPortalProps {
988
+ /**
989
+ * The content of the dropdown menu portal
990
+ */
991
+ children: React.ReactNode;
992
+ /**
993
+ * The container of the dropdown menu portal
994
+ */
995
+ container?: HTMLElement;
996
+ }
997
+ interface DropdownMenuSubProps {
998
+ /**
999
+ * The content of the dropdown menu sub
1000
+ */
1001
+ children: React.ReactNode;
1002
+ /**
1003
+ * The open state of the dropdown menu sub
1004
+ */
1005
+ open?: boolean;
1006
+ /**
1007
+ * The default open state of the dropdown menu sub
1008
+ */
1009
+ defaultOpen?: boolean;
1010
+ /**
1011
+ * The controlled open state of the dropdown menu sub
1012
+ */
1013
+ onOpenChange?: (open: boolean) => void;
1014
+ }
1015
+ interface DropdownMenuSubContentProps extends React.HTMLAttributes<HTMLDivElement> {
1016
+ /**
1017
+ * The content of the dropdown menu sub content
1018
+ */
1019
+ children: React.ReactNode;
1020
+ /**
1021
+ * The side offset of the dropdown menu sub content
1022
+ */
1023
+ sideOffset?: number;
1024
+ /**
1025
+ * The align offset of the dropdown menu sub content
1026
+ */
1027
+ alignOffset?: number;
1028
+ /**
1029
+ * The side of the dropdown menu sub content
1030
+ */
1031
+ side?: "top" | "right" | "bottom" | "left";
1032
+ /**
1033
+ * The alignment of the dropdown menu sub content
1034
+ */
1035
+ align?: "start" | "center" | "end";
1036
+ /**
1037
+ * The collision padding of the dropdown menu sub content
1038
+ */
1039
+ collisionPadding?: number;
1040
+ /**
1041
+ * The collision boundary of the dropdown menu sub content
1042
+ */
1043
+ collisionBoundary?: Element | null | Array<Element | null>;
1044
+ /**
1045
+ * The arrow padding of the dropdown menu sub content
1046
+ */
1047
+ arrowPadding?: number;
1048
+ /**
1049
+ * The sticky state of the dropdown menu sub content
1050
+ */
1051
+ sticky?: "partial" | "always";
1052
+ /**
1053
+ * The hide when detached state of the dropdown menu sub content
1054
+ */
1055
+ hideWhenDetached?: boolean;
1056
+ /**
1057
+ * The update position strategy of the dropdown menu sub content
1058
+ */
1059
+ updatePositionStrategy?: "optimized" | "always";
1060
+ /**
1061
+ * The force mount state of the dropdown menu sub content
1062
+ */
1063
+ forceMount?: boolean;
1064
+ /**
1065
+ * The container of the dropdown menu sub content
1066
+ */
1067
+ container?: HTMLElement;
1068
+ }
1069
+ interface DropdownMenuSubTriggerProps extends React.HTMLAttributes<HTMLDivElement> {
1070
+ /**
1071
+ * The content of the dropdown menu sub trigger
1072
+ */
1073
+ children: React.ReactNode;
1074
+ /**
1075
+ * The inset state of the dropdown menu sub trigger
1076
+ */
1077
+ inset?: boolean;
1078
+ /**
1079
+ * The disabled state of the dropdown menu sub trigger
1080
+ */
1081
+ disabled?: boolean;
1082
+ }
1083
+ interface DropdownMenuRadioGroupProps {
1084
+ /**
1085
+ * The content of the dropdown menu radio group
1086
+ */
1087
+ children: React.ReactNode;
1088
+ /**
1089
+ * The value of the dropdown menu radio group
1090
+ */
1091
+ value?: string;
1092
+ /**
1093
+ * The default value of the dropdown menu radio group
1094
+ */
1095
+ defaultValue?: string;
1096
+ /**
1097
+ * The controlled value of the dropdown menu radio group
1098
+ */
1099
+ onValueChange?: (value: string) => void;
1100
+ }
60
1101
 
61
1102
  declare function cn(...inputs: ClassValue[]): string;
62
1103
 
63
- export { Button, buttonVariants, cn };
1104
+ export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, Input, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, RHFTextField, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContextProps, SidebarFooter, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, SidebarGroupLabel, type SidebarGroupLabelProps, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Stack, type StackProps, TextField, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, sidebarMenuButtonVariants, textFieldVariants, useSidebar };