@me1a/ui 2.0.1 → 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.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +710 -43
- package/dist/index.d.ts +710 -43
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +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
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
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';
|
|
6
11
|
import * as vaul from 'vaul';
|
|
7
12
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
13
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
8
14
|
import { ClassValue } from 'clsx';
|
|
9
15
|
|
|
10
16
|
/**
|
|
11
17
|
* Props interface for the Button component.
|
|
12
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.
|
|
13
20
|
*
|
|
14
21
|
* @interface ButtonProps
|
|
15
22
|
* @extends {React.ButtonHTMLAttributes<HTMLButtonElement>}
|
|
@@ -22,17 +29,22 @@ import { ClassValue } from 'clsx';
|
|
|
22
29
|
* @property {React.ReactNode} [startIcon] - Icon to display before the button text.
|
|
23
30
|
* @property {React.ReactNode} [endIcon] - Icon to display after the button text.
|
|
24
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.
|
|
25
34
|
*/
|
|
26
|
-
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
35
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
27
36
|
asChild?: boolean;
|
|
28
|
-
startIcon?: React.ReactNode;
|
|
29
|
-
endIcon?: React.ReactNode;
|
|
37
|
+
startIcon?: React$1.ReactNode;
|
|
38
|
+
endIcon?: React$1.ReactNode;
|
|
30
39
|
loading?: boolean;
|
|
40
|
+
type?: "button" | "submit" | "reset";
|
|
41
|
+
"aria-label"?: string;
|
|
31
42
|
}
|
|
32
43
|
|
|
33
44
|
/**
|
|
34
45
|
* Button variant styles using class-variance-authority.
|
|
35
46
|
* Defines the visual styles for different button variants and sizes.
|
|
47
|
+
* Follows WCAG 2.1 Level AA guidelines for accessibility.
|
|
36
48
|
*
|
|
37
49
|
* @example
|
|
38
50
|
* ```tsx
|
|
@@ -46,6 +58,7 @@ declare const buttonVariants: (props?: ({
|
|
|
46
58
|
/**
|
|
47
59
|
* A versatile button component that supports multiple variants, sizes, and can be rendered as a child component.
|
|
48
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.
|
|
49
62
|
*
|
|
50
63
|
* @component
|
|
51
64
|
* @example
|
|
@@ -73,7 +86,7 @@ declare const buttonVariants: (props?: ({
|
|
|
73
86
|
* @param {React.Ref<HTMLButtonElement>} ref - Forwarded ref
|
|
74
87
|
* @returns {JSX.Element} A button element
|
|
75
88
|
*/
|
|
76
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
89
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
77
90
|
|
|
78
91
|
/**
|
|
79
92
|
* Props interface for the TextField component.
|
|
@@ -93,9 +106,9 @@ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAtt
|
|
|
93
106
|
* @property {string} [label] - Label text for the text field.
|
|
94
107
|
* @property {string} [helperText] - Helper text to display below the text field.
|
|
95
108
|
*/
|
|
96
|
-
interface TextFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof textFieldVariants> {
|
|
97
|
-
startIcon?: React.ReactNode;
|
|
98
|
-
endIcon?: React.ReactNode;
|
|
109
|
+
interface TextFieldProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof textFieldVariants> {
|
|
110
|
+
startIcon?: React$1.ReactNode;
|
|
111
|
+
endIcon?: React$1.ReactNode;
|
|
99
112
|
loading?: boolean;
|
|
100
113
|
error?: string;
|
|
101
114
|
label?: string;
|
|
@@ -131,9 +144,9 @@ declare const textFieldVariants: (props?: ({
|
|
|
131
144
|
* <TextField error="Invalid input" placeholder="Enter text" />
|
|
132
145
|
* ```
|
|
133
146
|
*/
|
|
134
|
-
declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
147
|
+
declare const TextField: React$1.ForwardRefExoticComponent<TextFieldProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
135
148
|
|
|
136
|
-
interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
149
|
+
interface ContainerProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
137
150
|
/**
|
|
138
151
|
* The maximum width of the container.
|
|
139
152
|
* - "sm": 640px
|
|
@@ -161,7 +174,7 @@ interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
161
174
|
*/
|
|
162
175
|
fluid?: boolean;
|
|
163
176
|
}
|
|
164
|
-
declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
177
|
+
declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
165
178
|
|
|
166
179
|
/**
|
|
167
180
|
* Box is a fundamental layout component that serves as a building block for other components.
|
|
@@ -182,7 +195,7 @@ declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.
|
|
|
182
195
|
*/
|
|
183
196
|
|
|
184
197
|
type BoxComponent = "div" | "span" | "section" | "article" | "main" | "aside" | "header" | "footer" | "nav";
|
|
185
|
-
interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
198
|
+
interface BoxProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
186
199
|
/**
|
|
187
200
|
* The HTML element to render the Box as.
|
|
188
201
|
* This allows for semantic HTML while maintaining consistent styling.
|
|
@@ -191,7 +204,7 @@ interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
191
204
|
*/
|
|
192
205
|
as?: BoxComponent;
|
|
193
206
|
}
|
|
194
|
-
declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLDivElement>>;
|
|
207
|
+
declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
195
208
|
|
|
196
209
|
/**
|
|
197
210
|
* Stack is a layout component that arranges its children in a vertical or horizontal stack
|
|
@@ -229,7 +242,7 @@ declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttribute
|
|
|
229
242
|
* ```
|
|
230
243
|
*/
|
|
231
244
|
|
|
232
|
-
interface StackProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
245
|
+
interface StackProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
233
246
|
/**
|
|
234
247
|
* The direction in which to stack the items.
|
|
235
248
|
* - "vertical": Items are stacked top to bottom
|
|
@@ -288,26 +301,118 @@ interface StackProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
288
301
|
*/
|
|
289
302
|
align?: "start" | "end" | "center" | "stretch" | "baseline";
|
|
290
303
|
}
|
|
291
|
-
declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
|
|
292
|
-
|
|
293
|
-
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
294
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
295
|
-
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
296
|
-
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
297
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
298
|
-
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
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>>;
|
|
299
312
|
declare const DialogHeader: {
|
|
300
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
313
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
301
314
|
displayName: string;
|
|
302
315
|
};
|
|
303
316
|
declare const DialogFooter: {
|
|
304
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
317
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
305
318
|
displayName: string;
|
|
306
319
|
};
|
|
307
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
308
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
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>>;
|
|
309
326
|
|
|
310
|
-
declare const
|
|
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>>;
|
|
311
416
|
|
|
312
417
|
/**
|
|
313
418
|
* Card is a flexible container component that can be used to group related content and actions.
|
|
@@ -345,46 +450,189 @@ declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProp
|
|
|
345
450
|
* The main card container component.
|
|
346
451
|
* Provides the base styling for the card including border, shadow, and rounded corners.
|
|
347
452
|
*/
|
|
348
|
-
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
453
|
+
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
349
454
|
/**
|
|
350
455
|
* Header section of the card.
|
|
351
456
|
* Typically contains the card title and description.
|
|
352
457
|
* Includes padding and spacing for consistent layout.
|
|
353
458
|
*/
|
|
354
|
-
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
459
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
355
460
|
/**
|
|
356
461
|
* Title component for the card.
|
|
357
462
|
* Should be used within CardHeader.
|
|
358
463
|
* Provides consistent typography styling for card titles.
|
|
359
464
|
*/
|
|
360
|
-
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
465
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
361
466
|
/**
|
|
362
467
|
* Description component for the card.
|
|
363
468
|
* Should be used within CardHeader.
|
|
364
469
|
* Provides consistent typography styling for card descriptions.
|
|
365
470
|
*/
|
|
366
|
-
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
471
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
367
472
|
/**
|
|
368
473
|
* Main content section of the card.
|
|
369
474
|
* Includes padding and removes top padding to maintain consistent spacing with the header.
|
|
370
475
|
*/
|
|
371
|
-
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
476
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
372
477
|
/**
|
|
373
478
|
* Footer section of the card.
|
|
374
479
|
* Typically contains action buttons or additional information.
|
|
375
480
|
* Includes padding and removes top padding to maintain consistent spacing with the content.
|
|
376
481
|
*/
|
|
377
|
-
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
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;
|
|
378
626
|
|
|
379
627
|
declare const Drawer: {
|
|
380
|
-
({ shouldScaleBackground, ...props }: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
628
|
+
({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
381
629
|
displayName: string;
|
|
382
630
|
};
|
|
383
631
|
/**
|
|
384
632
|
* The trigger element that opens the drawer.
|
|
385
633
|
* Should be used with the `asChild` prop to wrap your own trigger element.
|
|
386
634
|
*/
|
|
387
|
-
declare const DrawerTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
635
|
+
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
388
636
|
/**
|
|
389
637
|
* Portal component that renders the drawer content outside the DOM hierarchy.
|
|
390
638
|
* This ensures proper stacking context and accessibility.
|
|
@@ -394,23 +642,23 @@ declare const DrawerPortal: typeof vaul.Portal;
|
|
|
394
642
|
* Close button component for the drawer.
|
|
395
643
|
* Should be used with the `asChild` prop to wrap your own close button.
|
|
396
644
|
*/
|
|
397
|
-
declare const DrawerClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
645
|
+
declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
398
646
|
/**
|
|
399
647
|
* Overlay component that appears behind the drawer.
|
|
400
648
|
* Provides a semi-transparent backdrop and handles click-outside behavior.
|
|
401
649
|
*/
|
|
402
|
-
declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
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>>;
|
|
403
651
|
/**
|
|
404
652
|
* The main content container for the drawer.
|
|
405
653
|
* Includes the handle bar at the top and manages the slide-up animation.
|
|
406
654
|
*/
|
|
407
|
-
declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
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>>;
|
|
408
656
|
/**
|
|
409
657
|
* Header section of the drawer.
|
|
410
658
|
* Typically contains the title and description.
|
|
411
659
|
*/
|
|
412
660
|
declare const DrawerHeader: {
|
|
413
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
661
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
414
662
|
displayName: string;
|
|
415
663
|
};
|
|
416
664
|
/**
|
|
@@ -418,20 +666,439 @@ declare const DrawerHeader: {
|
|
|
418
666
|
* Typically contains action buttons.
|
|
419
667
|
*/
|
|
420
668
|
declare const DrawerFooter: {
|
|
421
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
669
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
422
670
|
displayName: string;
|
|
423
671
|
};
|
|
424
672
|
/**
|
|
425
673
|
* Title component for the drawer.
|
|
426
674
|
* Should be used within DrawerHeader.
|
|
427
675
|
*/
|
|
428
|
-
declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
676
|
+
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
429
677
|
/**
|
|
430
678
|
* Description component for the drawer.
|
|
431
679
|
* Should be used within DrawerHeader.
|
|
432
680
|
*/
|
|
433
|
-
declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
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
|
+
}
|
|
434
1101
|
|
|
435
1102
|
declare function cn(...inputs: ClassValue[]): string;
|
|
436
1103
|
|
|
437
|
-
export { 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, Input, Stack, type StackProps, TextField, buttonVariants, cn, textFieldVariants };
|
|
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 };
|