@me1a/ui 2.0.14 → 2.0.16

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.
Files changed (71) hide show
  1. package/dist/index.d.mts +1480 -0
  2. package/dist/index.d.ts +1480 -0
  3. package/dist/index.js +2 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +2 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +2 -32
  8. package/dist/chunk-472YNZU2.mjs +0 -2
  9. package/dist/chunk-472YNZU2.mjs.map +0 -1
  10. package/dist/chunk-FWZYVYLU.mjs +0 -2
  11. package/dist/chunk-FWZYVYLU.mjs.map +0 -1
  12. package/dist/chunk-GH5JAZCC.js +0 -2
  13. package/dist/chunk-GH5JAZCC.js.map +0 -1
  14. package/dist/chunk-H3TEQK57.mjs +0 -2
  15. package/dist/chunk-H3TEQK57.mjs.map +0 -1
  16. package/dist/chunk-IPKT3LIP.js +0 -2
  17. package/dist/chunk-IPKT3LIP.js.map +0 -1
  18. package/dist/chunk-KITWXTCP.js +0 -2
  19. package/dist/chunk-KITWXTCP.js.map +0 -1
  20. package/dist/chunk-NCY2ZNET.js +0 -2
  21. package/dist/chunk-NCY2ZNET.js.map +0 -1
  22. package/dist/chunk-OAVWSSYJ.mjs +0 -2
  23. package/dist/chunk-OAVWSSYJ.mjs.map +0 -1
  24. package/dist/chunk-Q6STEQO7.js +0 -2
  25. package/dist/chunk-Q6STEQO7.js.map +0 -1
  26. package/dist/chunk-QY2HB6BB.mjs +0 -2
  27. package/dist/chunk-QY2HB6BB.mjs.map +0 -1
  28. package/dist/chunk-XY7LUWOK.mjs +0 -2
  29. package/dist/chunk-XY7LUWOK.mjs.map +0 -1
  30. package/dist/chunk-ZEUOBWG4.js +0 -2
  31. package/dist/chunk-ZEUOBWG4.js.map +0 -1
  32. package/dist/components/atoms/index.d.mts +0 -483
  33. package/dist/components/atoms/index.d.ts +0 -483
  34. package/dist/components/atoms/index.js +0 -2
  35. package/dist/components/atoms/index.js.map +0 -1
  36. package/dist/components/atoms/index.mjs +0 -2
  37. package/dist/components/atoms/index.mjs.map +0 -1
  38. package/dist/components/molecules/index.d.mts +0 -368
  39. package/dist/components/molecules/index.d.ts +0 -368
  40. package/dist/components/molecules/index.js +0 -2
  41. package/dist/components/molecules/index.js.map +0 -1
  42. package/dist/components/molecules/index.mjs +0 -2
  43. package/dist/components/molecules/index.mjs.map +0 -1
  44. package/dist/components/organisms/index.d.mts +0 -531
  45. package/dist/components/organisms/index.d.ts +0 -531
  46. package/dist/components/organisms/index.js +0 -2
  47. package/dist/components/organisms/index.js.map +0 -1
  48. package/dist/components/organisms/index.mjs +0 -2
  49. package/dist/components/organisms/index.mjs.map +0 -1
  50. package/dist/hooks/index.d.mts +0 -3
  51. package/dist/hooks/index.d.ts +0 -3
  52. package/dist/hooks/index.js +0 -2
  53. package/dist/hooks/index.js.map +0 -1
  54. package/dist/hooks/index.mjs +0 -2
  55. package/dist/hooks/index.mjs.map +0 -1
  56. package/dist/input-TJ_d3ROF.d.mts +0 -12
  57. package/dist/input-TJ_d3ROF.d.ts +0 -12
  58. package/dist/tooltip-Bam0zJCO.d.mts +0 -104
  59. package/dist/tooltip-Bam0zJCO.d.ts +0 -104
  60. package/dist/types/index.d.mts +0 -2
  61. package/dist/types/index.d.ts +0 -2
  62. package/dist/types/index.js +0 -2
  63. package/dist/types/index.js.map +0 -1
  64. package/dist/types/index.mjs +0 -2
  65. package/dist/types/index.mjs.map +0 -1
  66. package/dist/utils/index.d.mts +0 -5
  67. package/dist/utils/index.d.ts +0 -5
  68. package/dist/utils/index.js +0 -2
  69. package/dist/utils/index.js.map +0 -1
  70. package/dist/utils/index.mjs +0 -2
  71. package/dist/utils/index.mjs.map +0 -1
@@ -0,0 +1,1480 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React$1 from 'react';
3
+ import { TextareaHTMLAttributes } from 'react';
4
+ import { VariantProps } from 'class-variance-authority';
5
+ import * as react_jsx_runtime from 'react/jsx-runtime';
6
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
7
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
8
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
9
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
10
+ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
11
+ import * as react_hook_form from 'react-hook-form';
12
+ import { FieldValues, FieldPath, UseFormReturn, ControllerProps } from 'react-hook-form';
13
+ import * as _radix_ui_react_slot from '@radix-ui/react-slot';
14
+ import { Slot } from '@radix-ui/react-slot';
15
+ import * as LabelPrimitive from '@radix-ui/react-label';
16
+ import * as vaul from 'vaul';
17
+ import { Drawer as Drawer$1 } from 'vaul';
18
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
19
+ import { ClassValue } from 'clsx';
20
+
21
+ /**
22
+ * Props interface for the Button component.
23
+ * Extends the native button HTML attributes and adds support for variants and asChild prop.
24
+ * Implements proper accessibility features and follows WCAG 2.1 Level AA guidelines.
25
+ *
26
+ * @interface ButtonProps
27
+ * @extends {React.ButtonHTMLAttributes<HTMLButtonElement>}
28
+ * @extends {VariantProps<typeof buttonVariants>}
29
+ *
30
+ * @property {boolean} [asChild] - When true, renders the button as a child component using Radix UI's Slot.
31
+ * @property {ButtonVariant} [variant] - The visual style variant of the button.
32
+ * @property {ButtonSize} [size] - The size variant of the button.
33
+ * @property {string} [className] - Additional CSS classes to apply to the button.
34
+ * @property {React.ReactNode} [startIcon] - Icon to display before the button text.
35
+ * @property {React.ReactNode} [endIcon] - Icon to display after the button text.
36
+ * @property {boolean} [loading] - Whether the button is in a loading state.
37
+ * @property {string} [type] - The type of button (button, submit, reset). Defaults to "button".
38
+ * @property {string} [aria-label] - Accessible label for the button. Falls back to button text if not provided.
39
+ */
40
+ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
41
+ asChild?: boolean;
42
+ startIcon?: React$1.ReactNode;
43
+ endIcon?: React$1.ReactNode;
44
+ loading?: boolean;
45
+ type?: "button" | "submit" | "reset";
46
+ "aria-label"?: string;
47
+ }
48
+
49
+ /**
50
+ * Button variant styles using class-variance-authority.
51
+ * Defines the visual styles for different button variants and sizes.
52
+ * Follows WCAG 2.1 Level AA guidelines for accessibility.
53
+ *
54
+ * @example
55
+ * ```tsx
56
+ * <Button variant="primary" size="lg">Click me</Button>
57
+ * ```
58
+ */
59
+ declare const buttonVariants: (props?: ({
60
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
61
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
62
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
63
+ /**
64
+ * A versatile button component that supports multiple variants, sizes, and can be rendered as a child component.
65
+ * Built on top of Radix UI's Slot primitive for maximum flexibility.
66
+ * Implements proper accessibility features and follows WCAG 2.1 Level AA guidelines.
67
+ *
68
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-button--docs
69
+ *
70
+ * @component
71
+ * @example
72
+ * ```tsx
73
+ * // Default button
74
+ * <Button>Click me</Button>
75
+ *
76
+ * // Destructive button with small size
77
+ * <Button variant="destructive" size="sm">Delete</Button>
78
+ *
79
+ * // As a link
80
+ * <Button variant="link" asChild>
81
+ * <a href="/about">About</a>
82
+ * </Button>
83
+ *
84
+ * // With icons
85
+ * <Button startIcon={<Icon />}>With Start Icon</Button>
86
+ * <Button endIcon={<Icon />}>With End Icon</Button>
87
+ *
88
+ * // Loading state
89
+ * <Button loading>Loading</Button>
90
+ * ```
91
+ *
92
+ * @param {ButtonProps} props - The component props
93
+ * @param {React.Ref<HTMLButtonElement>} ref - Forwarded ref
94
+ * @returns {JSX.Element} A button element
95
+ */
96
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
97
+
98
+ /**
99
+ * Props interface for the TextField component.
100
+ * Extends the native input HTML attributes and adds support for variants and icons.
101
+ *
102
+ * @interface TextFieldProps
103
+ * @extends {React.InputHTMLAttributes<HTMLInputElement>}
104
+ * @extends {VariantProps<typeof textFieldVariants>}
105
+ *
106
+ * @property {string} [variant] - The visual style variant of the text field.
107
+ * @property {string} [size] - The size variant of the text field.
108
+ * @property {string} [className] - Additional CSS classes to apply to the text field.
109
+ * @property {React.ReactNode} [startIcon] - Icon to display before the input.
110
+ * @property {React.ReactNode} [endIcon] - Icon to display after the input.
111
+ * @property {boolean} [loading] - Whether the text field is in a loading state.
112
+ * @property {string} [error] - Error message to display below the text field.
113
+ * @property {string} [label] - Label text for the text field.
114
+ * @property {string} [helperText] - Helper text to display below the text field.
115
+ */
116
+ interface TextFieldProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof textFieldVariants> {
117
+ startIcon?: React$1.ReactNode;
118
+ endIcon?: React$1.ReactNode;
119
+ loading?: boolean;
120
+ error?: string;
121
+ label?: string;
122
+ helperText?: string;
123
+ }
124
+
125
+ /**
126
+ * Text field variant styles using class-variance-authority.
127
+ * Defines the visual styles for different text field variants and sizes.
128
+ */
129
+ declare const textFieldVariants: (props?: ({
130
+ variant?: "default" | "error" | null | undefined;
131
+ size?: "default" | "sm" | "lg" | null | undefined;
132
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
133
+ /**
134
+ * A versatile text field component that supports multiple variants, sizes, and icons.
135
+ * Built on top of shadcn/ui's Input component.
136
+ *
137
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-text-field--docs
138
+ *
139
+ * @component
140
+ * @example
141
+ * ```tsx
142
+ * // Default text field
143
+ * <TextField placeholder="Enter text" />
144
+ *
145
+ * // With icons
146
+ * <TextField startIcon={<SearchIcon />} placeholder="Search..." />
147
+ * <TextField endIcon={<CalendarIcon />} placeholder="Select date" />
148
+ *
149
+ * // With loading state
150
+ * <TextField loading placeholder="Loading..." />
151
+ *
152
+ * // With error
153
+ * <TextField error="Invalid input" placeholder="Enter text" />
154
+ * ```
155
+ */
156
+ declare const TextField: React$1.ForwardRefExoticComponent<TextFieldProps & React$1.RefAttributes<HTMLInputElement>>;
157
+
158
+ interface ContainerProps extends React$1.HTMLAttributes<HTMLDivElement> {
159
+ /**
160
+ * The maximum width of the container.
161
+ * - "sm": 640px
162
+ * - "md": 768px
163
+ * - "lg": 1024px
164
+ * - "xl": 1280px
165
+ * - "full": 100%
166
+ * - false: No max-width (fluid)
167
+ *
168
+ * @default "lg"
169
+ */
170
+ maxWidth?: "sm" | "md" | "lg" | "xl" | "full" | false;
171
+ /**
172
+ * Whether to disable the default horizontal padding.
173
+ * When true, removes the default padding (px-4 sm:px-6 lg:px-8).
174
+ *
175
+ * @default false
176
+ */
177
+ disablePadding?: boolean;
178
+ /**
179
+ * Whether to make the container fluid (no max-width).
180
+ * When true, the container will expand to fill its parent's width.
181
+ *
182
+ * @default false
183
+ */
184
+ fluid?: boolean;
185
+ }
186
+ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & React$1.RefAttributes<HTMLDivElement>>;
187
+
188
+ /**
189
+ * Box is a fundamental layout component that serves as a building block for other components.
190
+ * It's a polymorphic component that can render as different HTML elements while maintaining
191
+ * consistent styling and behavior.
192
+ *
193
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-box--docs
194
+ *
195
+ * @example
196
+ * ```tsx
197
+ * // Basic usage
198
+ * <Box>Content</Box>
199
+ *
200
+ * // As a different element
201
+ * <Box as="section">Section content</Box>
202
+ *
203
+ * // With custom className
204
+ * <Box className="bg-primary text-white p-4">Styled content</Box>
205
+ *
206
+ * // With custom dimensions
207
+ * <Box width="100px" height="200px">Fixed size content</Box>
208
+ * <Box width="50%" height="auto">Responsive content</Box>
209
+ * ```
210
+ */
211
+
212
+ type BoxComponent = "div" | "span" | "section" | "article" | "main" | "aside" | "header" | "footer" | "nav";
213
+ type DimensionValue = string | number;
214
+ interface BoxProps extends React$1.HTMLAttributes<HTMLDivElement> {
215
+ /**
216
+ * The HTML element to render the Box as.
217
+ * This allows for semantic HTML while maintaining consistent styling.
218
+ *
219
+ * @default "div"
220
+ */
221
+ as?: BoxComponent;
222
+ /**
223
+ * The width of the Box component.
224
+ * Can be a number (interpreted as pixels) or a string (e.g., "100%", "50px", "10rem").
225
+ */
226
+ width?: DimensionValue;
227
+ /**
228
+ * The height of the Box component.
229
+ * Can be a number (interpreted as pixels) or a string (e.g., "100%", "50px", "10rem").
230
+ */
231
+ height?: DimensionValue;
232
+ }
233
+ declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttributes<HTMLDivElement>>;
234
+
235
+ /**
236
+ * Stack is a layout component that arranges its children in a vertical or horizontal stack
237
+ * with consistent spacing between items. It's built on top of Flexbox and provides
238
+ * a simple way to create consistent layouts.
239
+ *
240
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-stack--docs
241
+ *
242
+ * @example
243
+ * ```tsx
244
+ * // Basic vertical stack
245
+ * <Stack>
246
+ * <div>Item 1</div>
247
+ * <div>Item 2</div>
248
+ * <div>Item 3</div>
249
+ * </Stack>
250
+ *
251
+ * // Horizontal stack with custom spacing
252
+ * <Stack direction="horizontal" spacing="lg">
253
+ * <div>Item 1</div>
254
+ * <div>Item 2</div>
255
+ * </Stack>
256
+ *
257
+ * // Centered stack with wrapping
258
+ * <Stack direction="horizontal" center wrap>
259
+ * <div>Item 1</div>
260
+ * <div>Item 2</div>
261
+ * <div>Item 3</div>
262
+ * </Stack>
263
+ *
264
+ * // Stack with custom alignment
265
+ * <Stack align="center" justify="between">
266
+ * <div>Left</div>
267
+ * <div>Center</div>
268
+ * <div>Right</div>
269
+ * </Stack>
270
+ *
271
+ * // Stack with custom dimensions
272
+ * <Stack width="100%" height="200px">
273
+ * <div>Full width, fixed height stack</div>
274
+ * </Stack>
275
+ * ```
276
+ */
277
+
278
+ interface StackProps extends React$1.HTMLAttributes<HTMLDivElement> {
279
+ /**
280
+ * The direction in which to stack the items.
281
+ * - "vertical": Items are stacked top to bottom
282
+ * - "horizontal": Items are stacked left to right
283
+ *
284
+ * @default "vertical"
285
+ */
286
+ direction?: "vertical" | "horizontal";
287
+ /**
288
+ * The spacing between items in the stack.
289
+ * - "none": 0px
290
+ * - "xs": 0.25rem (4px)
291
+ * - "sm": 0.5rem (8px)
292
+ * - "md": 1rem (16px)
293
+ * - "lg": 1.5rem (24px)
294
+ * - "xl": 2rem (32px)
295
+ *
296
+ * @default "md"
297
+ */
298
+ spacing?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
299
+ /**
300
+ * Whether to allow items to wrap to the next line when they don't fit.
301
+ * Only applies to horizontal stacks.
302
+ *
303
+ * @default false
304
+ */
305
+ wrap?: boolean;
306
+ /**
307
+ * Whether to center items both horizontally and vertically.
308
+ * This is a shorthand for setting both align and justify to "center".
309
+ *
310
+ * @default false
311
+ */
312
+ center?: boolean;
313
+ /**
314
+ * How to justify items along the main axis.
315
+ * - "start": Items are packed toward the start
316
+ * - "end": Items are packed toward the end
317
+ * - "center": Items are centered
318
+ * - "between": Items are evenly distributed with first item at start and last at end
319
+ * - "around": Items are evenly distributed with equal space around them
320
+ * - "evenly": Items are distributed so that the spacing between any two items is equal
321
+ *
322
+ * @default undefined
323
+ */
324
+ justify?: "start" | "end" | "center" | "between" | "around" | "evenly";
325
+ /**
326
+ * How to align items along the cross axis.
327
+ * - "start": Items are aligned at the start
328
+ * - "end": Items are aligned at the end
329
+ * - "center": Items are centered
330
+ * - "stretch": Items are stretched to fill the container
331
+ * - "baseline": Items are aligned at their baselines
332
+ *
333
+ * @default undefined
334
+ */
335
+ align?: "start" | "end" | "center" | "stretch" | "baseline";
336
+ /**
337
+ * The width of the stack container.
338
+ * Can be any valid CSS width value (e.g., "100%", "200px", "50vw").
339
+ *
340
+ * @default undefined
341
+ */
342
+ width?: string;
343
+ /**
344
+ * The height of the stack container.
345
+ * Can be any valid CSS height value (e.g., "100%", "200px", "50vh").
346
+ *
347
+ * @default undefined
348
+ */
349
+ height?: string;
350
+ }
351
+ declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
352
+
353
+ /**
354
+ * Dialog component for creating accessible dialogs with overlay and content.
355
+ * Built on top of Radix UI's Dialog primitive.
356
+ *
357
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-dialog--docs
358
+ *
359
+ * @example
360
+ * ```tsx
361
+ * <Dialog>
362
+ * <DialogTrigger>Open Dialog</DialogTrigger>
363
+ * <DialogContent>Dialog Content</DialogContent>
364
+ * </Dialog>
365
+ */
366
+ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
367
+ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
368
+ declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
369
+ declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
370
+ declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
371
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
372
+ declare const DialogHeader: {
373
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
374
+ displayName: string;
375
+ };
376
+ declare const DialogFooter: {
377
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
378
+ displayName: string;
379
+ };
380
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
381
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
382
+
383
+ /**
384
+ * Input component for creating accessible input fields.
385
+ * Built on top of shadcn/ui's Input component.
386
+ *
387
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-input--docs
388
+ *
389
+ */
390
+ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
391
+
392
+ /**
393
+ * Separator component for creating horizontal or vertical dividers.
394
+ * Built on top of Radix UI's Separator primitive.
395
+ *
396
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-separator--docs
397
+ *
398
+ */
399
+ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
400
+
401
+ /**
402
+ * Sheet component for creating accessible sheets with overlay and content.
403
+ * Built on top of Radix UI's Sheet primitive.
404
+ *
405
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-sheet--docs
406
+ *
407
+ * @example
408
+ * ```tsx
409
+ * <Sheet>
410
+ * <SheetTrigger>Open Sheet</SheetTrigger>
411
+ * <SheetContent>Sheet Content</SheetContent>
412
+ * </Sheet>
413
+ */
414
+ declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
415
+ declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
416
+ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
417
+ declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
418
+ declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
419
+ declare const sheetVariants: (props?: ({
420
+ side?: "left" | "right" | "bottom" | "top" | null | undefined;
421
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
422
+ interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
423
+ }
424
+ declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
425
+ declare const SheetHeader: {
426
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
427
+ displayName: string;
428
+ };
429
+ declare const SheetFooter: {
430
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
431
+ displayName: string;
432
+ };
433
+ declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
434
+ declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
435
+
436
+ /**
437
+ * Skeleton component for creating a loading state.
438
+ * Built on top of shadcn/ui's Skeleton component.
439
+ *
440
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-skeleton--docs
441
+ *
442
+ * @example
443
+ * ```tsx
444
+ * <Skeleton className="w-10 h-10" />
445
+ * ```
446
+ */
447
+ declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
448
+
449
+ /**
450
+ * Avatar component that displays a user's profile picture or fallback.
451
+ * Built on top of Radix UI's Avatar primitive.
452
+ *
453
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-avatar--docs
454
+ *
455
+ * @example
456
+ * ```tsx
457
+ * <Avatar>
458
+ * <AvatarImage src="/path/to/image.jpg" alt="User avatar" />
459
+ * <AvatarFallback>JD</AvatarFallback>
460
+ * </Avatar>
461
+ * ```
462
+ */
463
+ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
464
+ /**
465
+ * AvatarImage component that displays the user's profile picture.
466
+ * Falls back to AvatarFallback if the image fails to load.
467
+ */
468
+ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
469
+ /**
470
+ * AvatarFallback component that displays when the image fails to load.
471
+ * Typically shows the user's initials or a placeholder icon.
472
+ */
473
+ declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
474
+
475
+ type AvatarProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>;
476
+ type AvatarImageProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>;
477
+ type AvatarFallbackProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>;
478
+
479
+ /**
480
+ * TooltipProvider component for creating accessible tooltips.
481
+ * Built on top of Radix UI's Tooltip primitive.
482
+ *
483
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-tooltip--docs
484
+ *
485
+ * @example
486
+ * ```tsx
487
+ * <TooltipProvider>
488
+ * <Tooltip>
489
+ * <TooltipTrigger>Hover me</TooltipTrigger>
490
+ * <TooltipContent>Tooltip content</TooltipContent>
491
+ * </Tooltip>
492
+ * </TooltipProvider>
493
+ * ```
494
+ */
495
+ declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
496
+ declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
497
+ declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
498
+ declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
499
+
500
+ declare const badgeVariants: (props?: ({
501
+ variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | "info" | null | undefined;
502
+ size?: "default" | "sm" | "lg" | null | undefined;
503
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
504
+
505
+ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
506
+ /**
507
+ * The content to display inside the badge
508
+ */
509
+ children: React.ReactNode;
510
+ /**
511
+ * Optional icon to display before the badge content
512
+ */
513
+ icon?: React.ReactNode;
514
+ /**
515
+ * Optional icon to display after the badge content
516
+ */
517
+ iconAfter?: React.ReactNode;
518
+ }
519
+
520
+ /**
521
+ * Badge component for displaying status, counts, or labels.
522
+ * Supports various variants, sizes, and optional icons.
523
+ *
524
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-badge--docs
525
+ *
526
+ * @example
527
+ * ```tsx
528
+ * <Badge variant="success">Active</Badge>
529
+ * <Badge variant="warning" icon={<AlertIcon />}>Warning</Badge>
530
+ * <Badge variant="info" size="lg" iconAfter={<ArrowIcon />}>New</Badge>
531
+ * ```
532
+ */
533
+ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLDivElement>>;
534
+
535
+ declare const typographyVariants: (props?: ({
536
+ variant?: "list" | "small" | "blockquote" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "muted" | "large" | "lead" | null | undefined;
537
+ align?: "center" | "left" | "right" | "justify" | null | undefined;
538
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
539
+ interface TypographyProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
540
+ as?: React$1.ElementType;
541
+ }
542
+ /**
543
+ * Typography component for creating accessible text elements.
544
+ * Built on top of shadcn/ui's Typography component.
545
+ *
546
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-typography--docs
547
+ *
548
+ */
549
+ declare const Typography: React$1.ForwardRefExoticComponent<TypographyProps & React$1.RefAttributes<HTMLElement>>;
550
+
551
+ type TypographyVariant = NonNullable<VariantProps<typeof typographyVariants>["variant"]>;
552
+ type TypographyAlign = NonNullable<VariantProps<typeof typographyVariants>["align"]>;
553
+
554
+ interface PageLoaderProps$1 {
555
+ /**
556
+ * Optional className to extend the component's styles
557
+ */
558
+ className?: string;
559
+ /**
560
+ * Optional size of the loader (default: "default")
561
+ */
562
+ size?: "sm" | "default" | "lg";
563
+ /**
564
+ * Optional text to display below the loader
565
+ */
566
+ text?: string;
567
+ /**
568
+ * Optional color of the loader (default: "primary")
569
+ */
570
+ color?: "primary" | "secondary" | "accent" | "muted" | "destructive" | string;
571
+ }
572
+ /**
573
+ * PageLoader component for displaying a loading indicator.
574
+ *
575
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-page-loader--docs
576
+ *
577
+ */
578
+ declare function PageLoader({ className, size, text, color }: PageLoaderProps$1): react_jsx_runtime.JSX.Element;
579
+
580
+ interface PageLoaderProps {
581
+ /**
582
+ * Optional className to extend the component's styles
583
+ */
584
+ className?: string;
585
+ /**
586
+ * Optional size of the loader (default: "default")
587
+ */
588
+ size?: "sm" | "default" | "lg";
589
+ /**
590
+ * Optional text to display below the loader
591
+ */
592
+ text?: string;
593
+ /**
594
+ * Optional color of the loader (default: "primary")
595
+ */
596
+ color?: "primary" | "secondary" | "accent" | "muted" | "destructive" | string;
597
+ }
598
+
599
+ /**
600
+ * Card is a flexible container component that can be used to group related content and actions.
601
+ * It provides a consistent visual style with a subtle border, shadow, and rounded corners.
602
+ *
603
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-card--docs
604
+ *
605
+ * @example
606
+ * ```tsx
607
+ * // Basic card
608
+ * <Card>
609
+ * <CardHeader>
610
+ * <CardTitle>Card Title</CardTitle>
611
+ * <CardDescription>Card Description</CardDescription>
612
+ * </CardHeader>
613
+ * <CardContent>
614
+ * <p>Card content goes here.</p>
615
+ * </CardContent>
616
+ * <CardFooter>
617
+ * <Button>Action</Button>
618
+ * </CardFooter>
619
+ * </Card>
620
+ *
621
+ * // Card with custom styling
622
+ * <Card className="bg-primary text-primary-foreground">
623
+ * <CardHeader>
624
+ * <CardTitle>Custom Styled Card</CardTitle>
625
+ * </CardHeader>
626
+ * <CardContent>
627
+ * <p>This card has custom background and text colors.</p>
628
+ * </CardContent>
629
+ * </Card>
630
+ * ```
631
+ */
632
+
633
+ /**
634
+ * The main card container component.
635
+ * Provides the base styling for the card including border, shadow, and rounded corners.
636
+ */
637
+ declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
638
+ /**
639
+ * Header section of the card.
640
+ * Typically contains the card title and description.
641
+ * Includes padding and spacing for consistent layout.
642
+ */
643
+ declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
644
+ /**
645
+ * Title component for the card.
646
+ * Should be used within CardHeader.
647
+ * Provides consistent typography styling for card titles.
648
+ */
649
+ declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
650
+ /**
651
+ * Description component for the card.
652
+ * Should be used within CardHeader.
653
+ * Provides consistent typography styling for card descriptions.
654
+ */
655
+ declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
656
+ /**
657
+ * Main content section of the card.
658
+ * Includes padding and removes top padding to maintain consistent spacing with the header.
659
+ */
660
+ declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
661
+ /**
662
+ * Footer section of the card.
663
+ * Typically contains action buttons or additional information.
664
+ * Includes padding and removes top padding to maintain consistent spacing with the content.
665
+ */
666
+ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
667
+
668
+ declare const navigationMenuTriggerStyle: (props?: ({
669
+ variant?: "default" | "ghost" | "link" | "mobile" | null | undefined;
670
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
671
+
672
+ interface NavigationMenuProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root> {
673
+ /**
674
+ * The content of the navigation menu
675
+ */
676
+ children: React.ReactNode;
677
+ /**
678
+ * Optional className for the root element
679
+ */
680
+ className?: string;
681
+ }
682
+ interface NavigationMenuListProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List> {
683
+ /**
684
+ * Optional className for the list element
685
+ */
686
+ className?: string;
687
+ }
688
+ interface NavigationMenuItemProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Item> {
689
+ /**
690
+ * Optional className for the item element
691
+ */
692
+ className?: string;
693
+ }
694
+ interface NavigationMenuTriggerProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>, VariantProps<typeof navigationMenuTriggerStyle> {
695
+ /**
696
+ * Optional className for the trigger element
697
+ */
698
+ className?: string;
699
+ }
700
+ interface NavigationMenuContentProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content> {
701
+ /**
702
+ * Optional className for the content element
703
+ */
704
+ className?: string;
705
+ }
706
+ interface NavigationMenuLinkProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link> {
707
+ /**
708
+ * Optional className for the link element
709
+ */
710
+ className?: string;
711
+ }
712
+ interface NavigationMenuViewportProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport> {
713
+ /**
714
+ * Optional className for the viewport element
715
+ */
716
+ className?: string;
717
+ }
718
+ interface NavigationMenuIndicatorProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator> {
719
+ /**
720
+ * Optional className for the indicator element
721
+ */
722
+ className?: string;
723
+ }
724
+
725
+ /**
726
+ * NavigationMenu component for creating accessible navigation menus with dropdowns.
727
+ * Built on top of Radix UI's NavigationMenu primitive.
728
+ *
729
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-navigation-menu--docs
730
+ *
731
+ * @example
732
+ * ```tsx
733
+ * <NavigationMenu>
734
+ * <NavigationMenuList>
735
+ * <NavigationMenuItem>
736
+ * <NavigationMenuTrigger>Getting Started</NavigationMenuTrigger>
737
+ * <NavigationMenuContent>
738
+ * <ul className="grid gap-3 p-4 md:w-[400px] lg:w-[500px]">
739
+ * <li className="row-span-3">
740
+ * <NavigationMenuLink asChild>
741
+ * <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">
742
+ * <div className="mb-2 mt-4 text-lg font-medium">shadcn/ui</div>
743
+ * <p className="text-sm leading-tight text-muted-foreground">
744
+ * Beautifully designed components built with Radix UI and Tailwind CSS.
745
+ * </p>
746
+ * </a>
747
+ * </NavigationMenuLink>
748
+ * </li>
749
+ * </ul>
750
+ * </NavigationMenuContent>
751
+ * </NavigationMenuItem>
752
+ * </NavigationMenuList>
753
+ * </NavigationMenu>
754
+ * ```
755
+ */
756
+ declare const NavigationMenu: React$1.ForwardRefExoticComponent<NavigationMenuProps & React$1.RefAttributes<HTMLElement>>;
757
+ declare const NavigationMenuList: React$1.ForwardRefExoticComponent<NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>>;
758
+ declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
759
+ declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
760
+ declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
761
+ declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
762
+ declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>>;
763
+ declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>>;
764
+
765
+ interface RHFTextFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends Omit<React$1.ComponentProps<typeof Input>, "name"> {
766
+ /** The name of the field in the form */
767
+ name: TName;
768
+ /** Optional label for the field */
769
+ label?: string;
770
+ /** Optional description text below the field */
771
+ description?: string;
772
+ /** Optional warning text to display */
773
+ warningText?: string;
774
+ /** Whether the field is required */
775
+ required?: boolean;
776
+ /** Whether the field is disabled */
777
+ disabled?: boolean;
778
+ /** Whether the field is read-only */
779
+ readOnly?: boolean;
780
+ /** The type of input (text, number, email, etc.) */
781
+ type?: React$1.HTMLInputTypeAttribute;
782
+ /** Optional placeholder text */
783
+ placeholder?: string;
784
+ /** Optional aria-label for accessibility */
785
+ "aria-label"?: string;
786
+ /** Optional aria-describedby for accessibility */
787
+ "aria-describedby"?: string;
788
+ }
789
+
790
+ /**
791
+ * A text field component that integrates with React Hook Form.
792
+ * Provides form validation, error handling, and accessibility features.
793
+ *
794
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-rhf-rhftextfield--docs
795
+ *
796
+ * * @example
797
+ * ```tsx
798
+ * <Form>
799
+ * <RHFTextField name="name" label="Name" />
800
+ * <RHFTextField name="email" label="Email" />
801
+ * </Form>
802
+ * ```
803
+ */
804
+ 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;
805
+
806
+ interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
807
+ /**
808
+ * Whether the textarea should automatically resize
809
+ */
810
+ autoResize?: boolean;
811
+ }
812
+
813
+ /**
814
+ * Textarea component for creating accessible text areas.
815
+ * Built on top of shadcn/ui's Textarea component.
816
+ *
817
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-textarea--docs
818
+ *
819
+ * @example
820
+ * ```tsx
821
+ * <Textarea placeholder="Enter text" />
822
+ * ```
823
+ */
824
+ declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
825
+
826
+ interface RHFTextareaProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends Omit<React$1.ComponentProps<typeof Textarea>, "name"> {
827
+ /** The name of the field in the form */
828
+ name: TName;
829
+ /** Optional label for the field */
830
+ label?: string;
831
+ /** Optional description text below the field */
832
+ description?: string;
833
+ /** Optional warning text to display */
834
+ warningText?: string;
835
+ /** Whether the field is required */
836
+ required?: boolean;
837
+ /** Whether the field is disabled */
838
+ disabled?: boolean;
839
+ /** Whether the field is read-only */
840
+ readOnly?: boolean;
841
+ /** Optional placeholder text */
842
+ placeholder?: string;
843
+ /** Optional aria-label for accessibility */
844
+ "aria-label"?: string;
845
+ /** Optional aria-describedby for accessibility */
846
+ "aria-describedby"?: string;
847
+ /** Whether the textarea should automatically resize */
848
+ autoResize?: boolean;
849
+ }
850
+
851
+ /**
852
+ * A textarea component that integrates with React Hook Form.
853
+ * Provides form validation, error handling, and accessibility features.
854
+ *
855
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-rhf-rhftextarea--docs
856
+ *
857
+ * @example
858
+ * ```tsx
859
+ * <Form>
860
+ * <RHFTextarea name="description" label="Description" />
861
+ * </Form>
862
+ * ```
863
+ */
864
+ declare function RHFTextarea<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, className, warningText, required, disabled, readOnly, placeholder, autoResize, "aria-label": ariaLabel, "aria-describedby": ariaDescribedby, onBlur, ...other }: RHFTextareaProps<TFieldValues, TName>): react_jsx_runtime.JSX.Element;
865
+
866
+ type FormProps$1<T extends FieldValues> = {
867
+ form: UseFormReturn<T>;
868
+ children: React$1.ReactNode;
869
+ onSubmit?: (data: T) => void;
870
+ };
871
+ declare const Form: <T extends FieldValues>({ form, children, onSubmit }: FormProps$1<T>) => react_jsx_runtime.JSX.Element;
872
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
873
+ declare const useFormField: () => {
874
+ invalid: boolean;
875
+ isDirty: boolean;
876
+ isTouched: boolean;
877
+ isValidating: boolean;
878
+ error?: react_hook_form.FieldError;
879
+ id: string;
880
+ name: string;
881
+ formItemId: string;
882
+ formDescriptionId: string;
883
+ formMessageId: string;
884
+ };
885
+ declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
886
+ declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
887
+ declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
888
+ declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
889
+ declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
890
+
891
+ /**
892
+ * Props interface for the Form component.
893
+ * Extends react-hook-form's FormProvider props.
894
+ */
895
+ interface FormProps<TFieldValues extends FieldValues = FieldValues> {
896
+ /**
897
+ * The form context value
898
+ */
899
+ context: React$1.Context<TFieldValues>;
900
+ /**
901
+ * The form children
902
+ */
903
+ children: React$1.ReactNode;
904
+ }
905
+ /**
906
+ * Props interface for the FormField component.
907
+ * Extends react-hook-form's Controller props.
908
+ */
909
+ interface FormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends ControllerProps<TFieldValues, TName> {
910
+ }
911
+ /**
912
+ * Props interface for the FormItem component.
913
+ * Extends HTML div attributes.
914
+ */
915
+ interface FormItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
916
+ }
917
+ /**
918
+ * Props interface for the FormLabel component.
919
+ * Extends Radix UI Label props.
920
+ */
921
+ interface FormLabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> {
922
+ }
923
+ /**
924
+ * Props interface for the FormControl component.
925
+ * Extends Radix UI Slot props.
926
+ */
927
+ interface FormControlProps extends React$1.ComponentPropsWithoutRef<typeof Slot> {
928
+ }
929
+ /**
930
+ * Props interface for the FormDescription component.
931
+ * Extends HTML paragraph attributes.
932
+ */
933
+ interface FormDescriptionProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
934
+ }
935
+ /**
936
+ * Props interface for the FormMessage component.
937
+ * Extends HTML paragraph attributes.
938
+ */
939
+ interface FormMessageProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
940
+ /**
941
+ * The message content
942
+ */
943
+ children?: React$1.ReactNode;
944
+ }
945
+ /**
946
+ * Context value type for form field context
947
+ */
948
+ type FormFieldContextValue<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
949
+ name: TName;
950
+ };
951
+ /**
952
+ * Context value type for form item context
953
+ */
954
+ type FormItemContextValue = {
955
+ id: string;
956
+ };
957
+
958
+ declare const Drawer: {
959
+ ({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
960
+ displayName: string;
961
+ };
962
+ /**
963
+ * The trigger element that opens the drawer.
964
+ * Should be used with the `asChild` prop to wrap your own trigger element.
965
+ */
966
+ declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
967
+ /**
968
+ * Portal component that renders the drawer content outside the DOM hierarchy.
969
+ * This ensures proper stacking context and accessibility.
970
+ */
971
+ declare const DrawerPortal: typeof vaul.Portal;
972
+ /**
973
+ * Close button component for the drawer.
974
+ * Should be used with the `asChild` prop to wrap your own close button.
975
+ */
976
+ declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
977
+ /**
978
+ * Overlay component that appears behind the drawer.
979
+ * Provides a semi-transparent backdrop and handles click-outside behavior.
980
+ */
981
+ declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
982
+ /**
983
+ * The main content container for the drawer.
984
+ * Includes the handle bar at the top and manages the slide-up animation.
985
+ */
986
+ declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
987
+ /**
988
+ * Header section of the drawer.
989
+ * Typically contains the title and description.
990
+ */
991
+ declare const DrawerHeader: {
992
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
993
+ displayName: string;
994
+ };
995
+ /**
996
+ * Footer section of the drawer.
997
+ * Typically contains action buttons.
998
+ */
999
+ declare const DrawerFooter: {
1000
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
1001
+ displayName: string;
1002
+ };
1003
+ /**
1004
+ * Title component for the drawer.
1005
+ * Should be used within DrawerHeader.
1006
+ */
1007
+ declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
1008
+ /**
1009
+ * Description component for the drawer.
1010
+ * Should be used within DrawerHeader.
1011
+ */
1012
+ declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
1013
+
1014
+ type SidebarContextProps$1 = {
1015
+ state: "expanded" | "collapsed";
1016
+ open: boolean;
1017
+ setOpen: (open: boolean) => void;
1018
+ openMobile: boolean;
1019
+ setOpenMobile: (open: boolean) => void;
1020
+ isMobile: boolean;
1021
+ toggleSidebar: () => void;
1022
+ };
1023
+ declare function useSidebar(): SidebarContextProps$1;
1024
+ declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
1025
+ defaultOpen?: boolean;
1026
+ open?: boolean;
1027
+ onOpenChange?: (open: boolean) => void;
1028
+ }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1029
+ /**
1030
+ * A flexible sidebar component that supports various layouts and configurations.
1031
+ * The sidebar can be positioned on either side of the screen and supports different
1032
+ * visual styles and collapse behaviors.
1033
+ *
1034
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
1035
+ *
1036
+ * @example
1037
+ * ```tsx
1038
+ * <Sidebar>
1039
+ * <SidebarHeader>
1040
+ * <SidebarTitle>Dashboard</SidebarTitle>
1041
+ * </SidebarHeader>
1042
+ * <SidebarContent>
1043
+ * <SidebarMenu>
1044
+ * <SidebarMenuItem icon={<HomeIcon />}>Home</SidebarMenuItem>
1045
+ * <SidebarMenuItem icon={<SettingsIcon />}>Settings</SidebarMenuItem>
1046
+ * </SidebarMenu>
1047
+ * </SidebarContent>
1048
+ * <SidebarFooter>
1049
+ * <SidebarTrigger />
1050
+ * </SidebarFooter>
1051
+ * </Sidebar>
1052
+ * ```
1053
+ */
1054
+ declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
1055
+ side?: "left" | "right";
1056
+ variant?: "sidebar" | "floating" | "inset";
1057
+ collapsible?: "offcanvas" | "icon" | "none";
1058
+ }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1059
+ declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1060
+ declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1061
+ declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1062
+ 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>>;
1063
+ declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1064
+ declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1065
+ declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1066
+ declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1067
+ declare const SidebarGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1068
+ declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
1069
+ asChild?: boolean;
1070
+ }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1071
+ declare const SidebarGroupAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
1072
+ asChild?: boolean;
1073
+ }, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1074
+ declare const SidebarGroupContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1075
+ declare const SidebarMenu: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
1076
+ declare const SidebarMenuItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
1077
+ declare const sidebarMenuButtonVariants: (props?: ({
1078
+ variant?: "default" | "outline" | null | undefined;
1079
+ size?: "default" | "sm" | "lg" | null | undefined;
1080
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1081
+ declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
1082
+ asChild?: boolean;
1083
+ isActive?: boolean;
1084
+ tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
1085
+ } & VariantProps<(props?: ({
1086
+ variant?: "default" | "outline" | null | undefined;
1087
+ size?: "default" | "sm" | "lg" | null | undefined;
1088
+ } & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1089
+ declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
1090
+ asChild?: boolean;
1091
+ showOnHover?: boolean;
1092
+ }, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1093
+ declare const SidebarMenuBadge: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1094
+ declare const SidebarMenuSkeleton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
1095
+ showIcon?: boolean;
1096
+ }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1097
+ declare const SidebarMenuSub: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
1098
+ declare const SidebarMenuSubItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
1099
+ declare const SidebarMenuSubButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLAnchorElement> & React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
1100
+ asChild?: boolean;
1101
+ size?: "sm" | "md";
1102
+ isActive?: boolean;
1103
+ }, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
1104
+
1105
+ type SidebarContextProps = {
1106
+ state: "expanded" | "collapsed";
1107
+ open: boolean;
1108
+ setOpen: (open: boolean) => void;
1109
+ openMobile: boolean;
1110
+ setOpenMobile: (open: boolean) => void;
1111
+ isMobile: boolean;
1112
+ toggleSidebar: () => void;
1113
+ };
1114
+ type SidebarProps = React$1.ComponentProps<"div"> & {
1115
+ side?: "left" | "right";
1116
+ variant?: "sidebar" | "floating" | "inset";
1117
+ collapsible?: "offcanvas" | "icon" | "none";
1118
+ };
1119
+ type SidebarProviderProps = React$1.ComponentProps<"div"> & {
1120
+ defaultOpen?: boolean;
1121
+ open?: boolean;
1122
+ onOpenChange?: (open: boolean) => void;
1123
+ };
1124
+ type SidebarMenuButtonProps = React$1.ComponentProps<"button"> & {
1125
+ asChild?: boolean;
1126
+ isActive?: boolean;
1127
+ tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
1128
+ } & VariantProps<typeof sidebarMenuButtonVariants>;
1129
+ type SidebarMenuActionProps = React$1.ComponentProps<"button"> & {
1130
+ asChild?: boolean;
1131
+ showOnHover?: boolean;
1132
+ };
1133
+ type SidebarMenuSubButtonProps = React$1.ComponentProps<"a"> & {
1134
+ asChild?: boolean;
1135
+ size?: "sm" | "md";
1136
+ isActive?: boolean;
1137
+ };
1138
+ type SidebarMenuSkeletonProps = React$1.ComponentProps<"div"> & {
1139
+ showIcon?: boolean;
1140
+ };
1141
+ type SidebarGroupLabelProps = React$1.ComponentProps<"div"> & {
1142
+ asChild?: boolean;
1143
+ };
1144
+ type SidebarGroupActionProps = React$1.ComponentProps<"button"> & {
1145
+ asChild?: boolean;
1146
+ };
1147
+
1148
+ /**
1149
+ * DropdownMenu component for creating accessible dropdown menus.
1150
+ * Built on top of Radix UI's DropdownMenu primitive.
1151
+ *
1152
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/organisms-dropdown-menu--docs
1153
+ *
1154
+ * @example
1155
+ * ```tsx
1156
+ * <DropdownMenu>
1157
+ * <DropdownMenuTrigger>Open Menu</DropdownMenuTrigger>
1158
+ * <DropdownMenuContent>
1159
+ * <DropdownMenuItem>Item 1</DropdownMenuItem>
1160
+ * <DropdownMenuItem>Item 2</DropdownMenuItem>
1161
+ * <DropdownMenuItem>Item 3</DropdownMenuItem>
1162
+ * </DropdownMenuContent>
1163
+ * </DropdownMenu>
1164
+ * ```
1165
+ */
1166
+ declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
1167
+ declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1168
+ declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1169
+ declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
1170
+ declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
1171
+ declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1172
+ declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1173
+ inset?: boolean;
1174
+ } & React$1.RefAttributes<HTMLDivElement>>;
1175
+ declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1176
+ declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1177
+ declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1178
+ inset?: boolean;
1179
+ } & React$1.RefAttributes<HTMLDivElement>>;
1180
+ declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1181
+ declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1182
+ declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1183
+ inset?: boolean;
1184
+ } & React$1.RefAttributes<HTMLDivElement>>;
1185
+ declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1186
+ declare const DropdownMenuShortcut: {
1187
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
1188
+ displayName: string;
1189
+ };
1190
+
1191
+ declare const dropdownMenuTriggerStyle: (props?: ({
1192
+ variant?: "default" | "outline" | "ghost" | "link" | null | undefined;
1193
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
1194
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1195
+
1196
+ type DropdownMenuTriggerVariants = VariantProps<typeof dropdownMenuTriggerStyle>;
1197
+ interface DropdownMenuProps {
1198
+ /**
1199
+ * The content of the dropdown menu
1200
+ */
1201
+ children: React.ReactNode;
1202
+ /**
1203
+ * The open state of the dropdown menu
1204
+ */
1205
+ open?: boolean;
1206
+ /**
1207
+ * The default open state of the dropdown menu
1208
+ */
1209
+ defaultOpen?: boolean;
1210
+ /**
1211
+ * The controlled open state of the dropdown menu
1212
+ */
1213
+ onOpenChange?: (open: boolean) => void;
1214
+ /**
1215
+ * The modal state of the dropdown menu
1216
+ */
1217
+ modal?: boolean;
1218
+ }
1219
+ interface DropdownMenuTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, DropdownMenuTriggerVariants {
1220
+ /**
1221
+ * The content of the trigger
1222
+ */
1223
+ children: React.ReactNode;
1224
+ /**
1225
+ * The variant of the trigger
1226
+ */
1227
+ variant?: DropdownMenuTriggerVariants["variant"];
1228
+ /**
1229
+ * The size of the trigger
1230
+ */
1231
+ size?: DropdownMenuTriggerVariants["size"];
1232
+ }
1233
+ interface DropdownMenuContentProps extends React.HTMLAttributes<HTMLDivElement> {
1234
+ /**
1235
+ * The content of the dropdown menu
1236
+ */
1237
+ children: React.ReactNode;
1238
+ /**
1239
+ * The side offset of the dropdown menu
1240
+ */
1241
+ sideOffset?: number;
1242
+ /**
1243
+ * The align offset of the dropdown menu
1244
+ */
1245
+ alignOffset?: number;
1246
+ /**
1247
+ * The side of the dropdown menu
1248
+ */
1249
+ side?: "top" | "right" | "bottom" | "left";
1250
+ /**
1251
+ * The alignment of the dropdown menu
1252
+ */
1253
+ align?: "start" | "center" | "end";
1254
+ /**
1255
+ * The collision padding of the dropdown menu
1256
+ */
1257
+ collisionPadding?: number;
1258
+ /**
1259
+ * The collision boundary of the dropdown menu
1260
+ */
1261
+ collisionBoundary?: Element | null | Array<Element | null>;
1262
+ /**
1263
+ * The arrow padding of the dropdown menu
1264
+ */
1265
+ arrowPadding?: number;
1266
+ /**
1267
+ * The sticky state of the dropdown menu
1268
+ */
1269
+ sticky?: "partial" | "always";
1270
+ /**
1271
+ * The hide when detached state of the dropdown menu
1272
+ */
1273
+ hideWhenDetached?: boolean;
1274
+ /**
1275
+ * The update position strategy of the dropdown menu
1276
+ */
1277
+ updatePositionStrategy?: "optimized" | "always";
1278
+ /**
1279
+ * The force mount state of the dropdown menu
1280
+ */
1281
+ forceMount?: boolean;
1282
+ /**
1283
+ * The container of the dropdown menu
1284
+ */
1285
+ container?: HTMLElement;
1286
+ }
1287
+ interface DropdownMenuItemProps extends React.HTMLAttributes<HTMLDivElement> {
1288
+ /**
1289
+ * The content of the dropdown menu item
1290
+ */
1291
+ children: React.ReactNode;
1292
+ /**
1293
+ * The inset state of the dropdown menu item
1294
+ */
1295
+ inset?: boolean;
1296
+ /**
1297
+ * The disabled state of the dropdown menu item
1298
+ */
1299
+ disabled?: boolean;
1300
+ /**
1301
+ * The selected state of the dropdown menu item
1302
+ */
1303
+ selected?: boolean;
1304
+ }
1305
+ interface DropdownMenuCheckboxItemProps extends React.HTMLAttributes<HTMLDivElement> {
1306
+ /**
1307
+ * The content of the dropdown menu checkbox item
1308
+ */
1309
+ children: React.ReactNode;
1310
+ /**
1311
+ * The checked state of the dropdown menu checkbox item
1312
+ */
1313
+ checked?: boolean;
1314
+ /**
1315
+ * The disabled state of the dropdown menu checkbox item
1316
+ */
1317
+ disabled?: boolean;
1318
+ /**
1319
+ * The on checked change handler of the dropdown menu checkbox item
1320
+ */
1321
+ onCheckedChange?: (checked: boolean) => void;
1322
+ }
1323
+ interface DropdownMenuRadioItemProps extends React.HTMLAttributes<HTMLDivElement> {
1324
+ /**
1325
+ * The content of the dropdown menu radio item
1326
+ */
1327
+ children: React.ReactNode;
1328
+ /**
1329
+ * The value of the dropdown menu radio item
1330
+ */
1331
+ value: string;
1332
+ /**
1333
+ * The disabled state of the dropdown menu radio item
1334
+ */
1335
+ disabled?: boolean;
1336
+ }
1337
+ interface DropdownMenuLabelProps extends React.HTMLAttributes<HTMLDivElement> {
1338
+ /**
1339
+ * The content of the dropdown menu label
1340
+ */
1341
+ children: React.ReactNode;
1342
+ /**
1343
+ * The inset state of the dropdown menu label
1344
+ */
1345
+ inset?: boolean;
1346
+ }
1347
+ interface DropdownMenuSeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
1348
+ }
1349
+ interface DropdownMenuShortcutProps extends React.HTMLAttributes<HTMLSpanElement> {
1350
+ /**
1351
+ * The content of the dropdown menu shortcut
1352
+ */
1353
+ children: React.ReactNode;
1354
+ }
1355
+ interface DropdownMenuGroupProps extends React.HTMLAttributes<HTMLDivElement> {
1356
+ /**
1357
+ * The content of the dropdown menu group
1358
+ */
1359
+ children: React.ReactNode;
1360
+ }
1361
+ interface DropdownMenuPortalProps {
1362
+ /**
1363
+ * The content of the dropdown menu portal
1364
+ */
1365
+ children: React.ReactNode;
1366
+ /**
1367
+ * The container of the dropdown menu portal
1368
+ */
1369
+ container?: HTMLElement;
1370
+ }
1371
+ interface DropdownMenuSubProps {
1372
+ /**
1373
+ * The content of the dropdown menu sub
1374
+ */
1375
+ children: React.ReactNode;
1376
+ /**
1377
+ * The open state of the dropdown menu sub
1378
+ */
1379
+ open?: boolean;
1380
+ /**
1381
+ * The default open state of the dropdown menu sub
1382
+ */
1383
+ defaultOpen?: boolean;
1384
+ /**
1385
+ * The controlled open state of the dropdown menu sub
1386
+ */
1387
+ onOpenChange?: (open: boolean) => void;
1388
+ }
1389
+ interface DropdownMenuSubContentProps extends React.HTMLAttributes<HTMLDivElement> {
1390
+ /**
1391
+ * The content of the dropdown menu sub content
1392
+ */
1393
+ children: React.ReactNode;
1394
+ /**
1395
+ * The side offset of the dropdown menu sub content
1396
+ */
1397
+ sideOffset?: number;
1398
+ /**
1399
+ * The align offset of the dropdown menu sub content
1400
+ */
1401
+ alignOffset?: number;
1402
+ /**
1403
+ * The side of the dropdown menu sub content
1404
+ */
1405
+ side?: "top" | "right" | "bottom" | "left";
1406
+ /**
1407
+ * The alignment of the dropdown menu sub content
1408
+ */
1409
+ align?: "start" | "center" | "end";
1410
+ /**
1411
+ * The collision padding of the dropdown menu sub content
1412
+ */
1413
+ collisionPadding?: number;
1414
+ /**
1415
+ * The collision boundary of the dropdown menu sub content
1416
+ */
1417
+ collisionBoundary?: Element | null | Array<Element | null>;
1418
+ /**
1419
+ * The arrow padding of the dropdown menu sub content
1420
+ */
1421
+ arrowPadding?: number;
1422
+ /**
1423
+ * The sticky state of the dropdown menu sub content
1424
+ */
1425
+ sticky?: "partial" | "always";
1426
+ /**
1427
+ * The hide when detached state of the dropdown menu sub content
1428
+ */
1429
+ hideWhenDetached?: boolean;
1430
+ /**
1431
+ * The update position strategy of the dropdown menu sub content
1432
+ */
1433
+ updatePositionStrategy?: "optimized" | "always";
1434
+ /**
1435
+ * The force mount state of the dropdown menu sub content
1436
+ */
1437
+ forceMount?: boolean;
1438
+ /**
1439
+ * The container of the dropdown menu sub content
1440
+ */
1441
+ container?: HTMLElement;
1442
+ }
1443
+ interface DropdownMenuSubTriggerProps extends React.HTMLAttributes<HTMLDivElement> {
1444
+ /**
1445
+ * The content of the dropdown menu sub trigger
1446
+ */
1447
+ children: React.ReactNode;
1448
+ /**
1449
+ * The inset state of the dropdown menu sub trigger
1450
+ */
1451
+ inset?: boolean;
1452
+ /**
1453
+ * The disabled state of the dropdown menu sub trigger
1454
+ */
1455
+ disabled?: boolean;
1456
+ }
1457
+ interface DropdownMenuRadioGroupProps {
1458
+ /**
1459
+ * The content of the dropdown menu radio group
1460
+ */
1461
+ children: React.ReactNode;
1462
+ /**
1463
+ * The value of the dropdown menu radio group
1464
+ */
1465
+ value?: string;
1466
+ /**
1467
+ * The default value of the dropdown menu radio group
1468
+ */
1469
+ defaultValue?: string;
1470
+ /**
1471
+ * The controlled value of the dropdown menu radio group
1472
+ */
1473
+ onValueChange?: (value: string) => void;
1474
+ }
1475
+
1476
+ declare function useIsMobile(): boolean;
1477
+
1478
+ declare function cn(...inputs: ClassValue[]): string;
1479
+
1480
+ export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, type ButtonProps, 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, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldContextValue, type FormFieldProps, FormItem, type FormItemContextValue, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, 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, PageLoader, type PageLoaderProps, RHFTextField, RHFTextarea, 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, type TextFieldProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Typography, type TypographyAlign, type TypographyProps, type TypographyVariant, badgeVariants, buttonVariants, cn, sidebarMenuButtonVariants, typographyVariants, useFormField, useIsMobile, useSidebar };