@fluid-app/ui-primitives 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,811 @@
1
+ import { ClassValue } from "clsx";
2
+ import { ControllerProps, FieldError, FieldPath, FieldValues, FormProvider, UseFormProps, UseFormReturn } from "react-hook-form";
3
+ import * as React$1 from "react";
4
+ import * as AccordionPrimitive from "@radix-ui/react-accordion";
5
+ import { LucideIcon } from "lucide-react";
6
+ import { VariantProps } from "class-variance-authority";
7
+ import { AlertDialog as AlertDialog$1, Avatar as Avatar$1, Label as Label$1, RadioGroup as RadioGroup$1, Slot } from "radix-ui";
8
+ import { DayPicker } from "react-day-picker";
9
+ import * as RechartsPrimitive from "recharts";
10
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
11
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
12
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
13
+ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
14
+ import * as LabelPrimitive from "@radix-ui/react-label";
15
+ import * as TogglePrimitive from "@radix-ui/react-toggle";
16
+ import * as SelectPrimitive from "@radix-ui/react-select";
17
+ import * as SeparatorPrimitive from "@radix-ui/react-separator";
18
+ import * as SliderPrimitive from "@radix-ui/react-slider";
19
+ import { ToasterProps } from "sonner";
20
+ import * as SwitchPrimitive from "@radix-ui/react-switch";
21
+ import * as TabsPrimitive from "@radix-ui/react-tabs";
22
+ import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
23
+ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
24
+ import { ZodSchema } from "zod";
25
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
26
+
27
+ //#region src/lib/utils.d.ts
28
+ declare function cn(...inputs: ClassValue[]): string;
29
+ //#endregion
30
+ //#region src/hooks/use-zod-form.d.ts
31
+ /**
32
+ * A typed wrapper around useForm that uses zodResolver.
33
+ * Breaks the TypeScript inference chain that causes TS2589
34
+ * "Type instantiation is excessively deep" errors with complex Zod schemas.
35
+ */
36
+ declare function useZodForm<TFormValues extends FieldValues>(schema: ZodSchema, options?: Omit<UseFormProps<TFormValues>, "resolver">): UseFormReturn<TFormValues>;
37
+ //#endregion
38
+ //#region src/contexts/PortalContainerContext.d.ts
39
+ /**
40
+ * Provides a custom container element for Radix UI portals.
41
+ * When set, portal-using components (Popover, Select, DropdownMenu, etc.)
42
+ * will render into this container instead of document.body,
43
+ * preserving CSS theme variable inheritance.
44
+ */
45
+ declare function PortalContainerProvider({
46
+ children,
47
+ container
48
+ }: {
49
+ children: React.ReactNode;
50
+ container: HTMLElement | null;
51
+ }): React.JSX.Element;
52
+ //#endregion
53
+ //#region src/components/Accordion.d.ts
54
+ declare function Accordion({
55
+ className,
56
+ ...props
57
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): React$1.JSX.Element;
58
+ declare function AccordionItem({
59
+ className,
60
+ ...props
61
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): React$1.JSX.Element;
62
+ declare function AccordionTrigger({
63
+ className,
64
+ children,
65
+ ...props
66
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): React$1.JSX.Element;
67
+ declare function AccordionContent({
68
+ className,
69
+ children,
70
+ ...props
71
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): React$1.JSX.Element;
72
+ //#endregion
73
+ //#region src/components/Alert.d.ts
74
+ declare const alertVariants: (props?: {
75
+ variant?: "default" | "destructive" | null | undefined;
76
+ } & class_variance_authority_types0.ClassProp) => string;
77
+ declare function Alert({
78
+ className,
79
+ variant,
80
+ ...props
81
+ }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): React$1.JSX.Element;
82
+ declare function AlertTitle({
83
+ className,
84
+ ...props
85
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
86
+ declare function AlertDescription({
87
+ className,
88
+ ...props
89
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
90
+ //#endregion
91
+ //#region src/components/Button.d.ts
92
+ declare const buttonVariants: (props?: {
93
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
94
+ size?: "default" | "sm" | "lg" | "xl" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
95
+ } & class_variance_authority_types0.ClassProp) => string;
96
+ declare function Button({
97
+ className,
98
+ variant,
99
+ size,
100
+ asChild,
101
+ ...props
102
+ }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
103
+ asChild?: boolean;
104
+ }): React$1.JSX.Element;
105
+ //#endregion
106
+ //#region src/components/AlertDialog.d.ts
107
+ declare function AlertDialog({
108
+ ...props
109
+ }: React$1.ComponentProps<typeof AlertDialog$1.Root>): React$1.JSX.Element;
110
+ declare function AlertDialogTrigger({
111
+ ...props
112
+ }: React$1.ComponentProps<typeof AlertDialog$1.Trigger>): React$1.JSX.Element;
113
+ declare function AlertDialogPortal({
114
+ ...props
115
+ }: React$1.ComponentProps<typeof AlertDialog$1.Portal>): React$1.JSX.Element;
116
+ declare function AlertDialogOverlay({
117
+ className,
118
+ ...props
119
+ }: React$1.ComponentProps<typeof AlertDialog$1.Overlay>): React$1.JSX.Element;
120
+ declare function AlertDialogContent({
121
+ className,
122
+ size,
123
+ ...props
124
+ }: React$1.ComponentProps<typeof AlertDialog$1.Content> & {
125
+ size?: "default" | "sm";
126
+ }): React$1.JSX.Element;
127
+ declare function AlertDialogHeader({
128
+ className,
129
+ ...props
130
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
131
+ declare function AlertDialogFooter({
132
+ className,
133
+ ...props
134
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
135
+ declare function AlertDialogTitle({
136
+ className,
137
+ ...props
138
+ }: React$1.ComponentProps<typeof AlertDialog$1.Title>): React$1.JSX.Element;
139
+ declare function AlertDialogDescription({
140
+ className,
141
+ ...props
142
+ }: React$1.ComponentProps<typeof AlertDialog$1.Description>): React$1.JSX.Element;
143
+ declare function AlertDialogMedia({
144
+ className,
145
+ ...props
146
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
147
+ declare function AlertDialogAction({
148
+ className,
149
+ variant,
150
+ size,
151
+ ...props
152
+ }: React$1.ComponentProps<typeof AlertDialog$1.Action> & Pick<React$1.ComponentProps<typeof Button>, "variant" | "size">): React$1.JSX.Element;
153
+ declare function AlertDialogCancel({
154
+ className,
155
+ variant,
156
+ size,
157
+ ...props
158
+ }: React$1.ComponentProps<typeof AlertDialog$1.Cancel> & Pick<React$1.ComponentProps<typeof Button>, "variant" | "size">): React$1.JSX.Element;
159
+ //#endregion
160
+ //#region src/components/Avatar.d.ts
161
+ declare function Avatar({
162
+ className,
163
+ size,
164
+ ...props
165
+ }: React$1.ComponentProps<typeof Avatar$1.Root> & {
166
+ size?: "default" | "sm" | "lg";
167
+ }): React$1.JSX.Element;
168
+ declare function AvatarImage({
169
+ className,
170
+ ...props
171
+ }: React$1.ComponentProps<typeof Avatar$1.Image>): React$1.JSX.Element;
172
+ declare function AvatarFallback({
173
+ className,
174
+ ...props
175
+ }: React$1.ComponentProps<typeof Avatar$1.Fallback>): React$1.JSX.Element;
176
+ declare function AvatarBadge({
177
+ className,
178
+ ...props
179
+ }: React$1.ComponentProps<"span">): React$1.JSX.Element;
180
+ declare function AvatarGroup({
181
+ className,
182
+ ...props
183
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
184
+ declare function AvatarGroupCount({
185
+ className,
186
+ ...props
187
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
188
+ //#endregion
189
+ //#region src/components/Badge.d.ts
190
+ declare const badgeVariants: (props?: {
191
+ variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
192
+ } & class_variance_authority_types0.ClassProp) => string;
193
+ declare function Badge({
194
+ className,
195
+ variant,
196
+ asChild,
197
+ ...props
198
+ }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
199
+ asChild?: boolean;
200
+ }): React$1.JSX.Element;
201
+ //#endregion
202
+ //#region src/components/Calendar.d.ts
203
+ type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
204
+ declare const Calendar: {
205
+ (props: CalendarProps): React$1.JSX.Element;
206
+ displayName: string;
207
+ };
208
+ //#endregion
209
+ //#region src/components/Card.d.ts
210
+ declare function Card({
211
+ className,
212
+ ...props
213
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
214
+ declare function CardHeader({
215
+ className,
216
+ ...props
217
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
218
+ declare function CardTitle({
219
+ className,
220
+ ...props
221
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
222
+ declare function CardDescription({
223
+ className,
224
+ ...props
225
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
226
+ declare function CardAction({
227
+ className,
228
+ ...props
229
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
230
+ declare function CardContent({
231
+ className,
232
+ ...props
233
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
234
+ declare function CardFooter({
235
+ className,
236
+ ...props
237
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
238
+ //#endregion
239
+ //#region src/components/Chart.d.ts
240
+ declare const THEMES: {
241
+ readonly light: "";
242
+ readonly dark: ".dark";
243
+ };
244
+ type ChartConfig = { [k in string]: {
245
+ label?: React$1.ReactNode;
246
+ icon?: React$1.ComponentType;
247
+ } & ({
248
+ color?: string;
249
+ theme?: never;
250
+ } | {
251
+ color?: never;
252
+ theme: Record<keyof typeof THEMES, string>;
253
+ }) };
254
+ declare function ChartContainer({
255
+ id,
256
+ className,
257
+ children,
258
+ config,
259
+ ...props
260
+ }: React$1.ComponentProps<"div"> & {
261
+ config: ChartConfig;
262
+ children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
263
+ }): React$1.JSX.Element;
264
+ declare const ChartStyle: ({
265
+ id,
266
+ config
267
+ }: {
268
+ id: string;
269
+ config: ChartConfig;
270
+ }) => React$1.JSX.Element | null;
271
+ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
272
+ declare function ChartTooltipContent({
273
+ active,
274
+ payload,
275
+ className,
276
+ indicator,
277
+ hideLabel,
278
+ hideIndicator,
279
+ label,
280
+ labelFormatter,
281
+ labelClassName,
282
+ formatter,
283
+ color,
284
+ nameKey,
285
+ labelKey
286
+ }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<"div"> & {
287
+ hideLabel?: boolean;
288
+ hideIndicator?: boolean;
289
+ indicator?: "line" | "dot" | "dashed";
290
+ nameKey?: string;
291
+ labelKey?: string;
292
+ }): React$1.JSX.Element | null;
293
+ declare const ChartLegend: typeof RechartsPrimitive.Legend;
294
+ declare function ChartLegendContent({
295
+ className,
296
+ hideIcon,
297
+ payload,
298
+ verticalAlign,
299
+ nameKey
300
+ }: React$1.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
301
+ hideIcon?: boolean;
302
+ nameKey?: string;
303
+ }): React$1.JSX.Element | null;
304
+ //#endregion
305
+ //#region src/components/Collapsible.d.ts
306
+ declare function Collapsible({
307
+ ...props
308
+ }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): React.JSX.Element;
309
+ declare function CollapsibleTrigger({
310
+ ...props
311
+ }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): React.JSX.Element;
312
+ declare function CollapsibleContent({
313
+ ...props
314
+ }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): React.JSX.Element;
315
+ //#endregion
316
+ //#region src/components/DatePicker.d.ts
317
+ type DatePickerProps = {
318
+ value?: Date;
319
+ onChange?: (date: Date | undefined) => void;
320
+ placeholder?: string;
321
+ formatDate?: (date: Date) => string;
322
+ disabled?: boolean;
323
+ className?: string;
324
+ calendarProps?: Omit<CalendarProps, "mode" | "selected" | "onSelect">;
325
+ };
326
+ declare function DatePicker({
327
+ value,
328
+ onChange,
329
+ placeholder,
330
+ formatDate,
331
+ disabled,
332
+ className,
333
+ calendarProps
334
+ }: DatePickerProps): React$1.JSX.Element;
335
+ //#endregion
336
+ //#region src/components/Dialog.d.ts
337
+ declare function Dialog({
338
+ ...props
339
+ }: React$1.ComponentProps<typeof DialogPrimitive.Root>): React$1.JSX.Element;
340
+ declare function DialogTrigger({
341
+ ...props
342
+ }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): React$1.JSX.Element;
343
+ declare function DialogPortal({
344
+ ...props
345
+ }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): React$1.JSX.Element;
346
+ declare function DialogClose({
347
+ ...props
348
+ }: React$1.ComponentProps<typeof DialogPrimitive.Close>): React$1.JSX.Element;
349
+ declare function DialogOverlay({
350
+ className,
351
+ ...props
352
+ }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): React$1.JSX.Element;
353
+ declare function DialogContent({
354
+ className,
355
+ children,
356
+ showCloseButton,
357
+ overlayClassName,
358
+ ...props
359
+ }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
360
+ showCloseButton?: boolean;
361
+ overlayClassName?: string;
362
+ }): React$1.JSX.Element;
363
+ declare function DialogHeader({
364
+ className,
365
+ ...props
366
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
367
+ declare function DialogFooter({
368
+ className,
369
+ ...props
370
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
371
+ declare function DialogTitle({
372
+ className,
373
+ ...props
374
+ }: React$1.ComponentProps<typeof DialogPrimitive.Title>): React$1.JSX.Element;
375
+ declare function DialogDescription({
376
+ className,
377
+ ...props
378
+ }: React$1.ComponentProps<typeof DialogPrimitive.Description>): React$1.JSX.Element;
379
+ //#endregion
380
+ //#region src/components/DropdownMenu.d.ts
381
+ declare function DropdownMenu({
382
+ ...props
383
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): React$1.JSX.Element;
384
+ declare function DropdownMenuPortal({
385
+ ...props
386
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): React$1.JSX.Element;
387
+ declare function DropdownMenuTrigger({
388
+ ...props
389
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): React$1.JSX.Element;
390
+ declare function DropdownMenuContent({
391
+ className,
392
+ sideOffset,
393
+ ...props
394
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): React$1.JSX.Element;
395
+ declare function DropdownMenuGroup({
396
+ ...props
397
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): React$1.JSX.Element;
398
+ declare function DropdownMenuItem({
399
+ className,
400
+ inset,
401
+ variant,
402
+ ...props
403
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
404
+ inset?: boolean;
405
+ variant?: "default" | "destructive";
406
+ }): React$1.JSX.Element;
407
+ declare function DropdownMenuCheckboxItem({
408
+ className,
409
+ children,
410
+ ...props
411
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): React$1.JSX.Element;
412
+ declare function DropdownMenuRadioGroup({
413
+ ...props
414
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): React$1.JSX.Element;
415
+ declare function DropdownMenuRadioItem({
416
+ className,
417
+ children,
418
+ ...props
419
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): React$1.JSX.Element;
420
+ declare function DropdownMenuLabel({
421
+ className,
422
+ inset,
423
+ ...props
424
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
425
+ inset?: boolean;
426
+ }): React$1.JSX.Element;
427
+ declare function DropdownMenuSeparator({
428
+ className,
429
+ ...props
430
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): React$1.JSX.Element;
431
+ declare function DropdownMenuShortcut({
432
+ className,
433
+ ...props
434
+ }: React$1.ComponentProps<"span">): React$1.JSX.Element;
435
+ declare function DropdownMenuSub({
436
+ ...props
437
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): React$1.JSX.Element;
438
+ declare function DropdownMenuSubTrigger({
439
+ className,
440
+ inset,
441
+ children,
442
+ ...props
443
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
444
+ inset?: boolean;
445
+ }): React$1.JSX.Element;
446
+ declare function DropdownMenuSubContent({
447
+ className,
448
+ ...props
449
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): React$1.JSX.Element;
450
+ //#endregion
451
+ //#region src/components/Form.d.ts
452
+ declare const Form: typeof FormProvider;
453
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
454
+ ...props
455
+ }: ControllerProps<TFieldValues, TName>) => React$1.JSX.Element;
456
+ type UseFormFieldReturn = {
457
+ id: string;
458
+ name: string;
459
+ formItemId: string;
460
+ formDescriptionId: string;
461
+ formMessageId: string;
462
+ invalid: boolean;
463
+ isDirty: boolean;
464
+ isTouched: boolean;
465
+ isValidating: boolean;
466
+ error?: FieldError | undefined;
467
+ };
468
+ declare const useFormField: () => UseFormFieldReturn;
469
+ declare function FormItem({
470
+ className,
471
+ ...props
472
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
473
+ declare function FormLabel({
474
+ className,
475
+ ...props
476
+ }: React$1.ComponentProps<typeof Label$1.Root>): React$1.JSX.Element;
477
+ declare function FormControl({
478
+ ...props
479
+ }: React$1.ComponentProps<typeof Slot.Root>): React$1.JSX.Element;
480
+ declare function FormDescription({
481
+ className,
482
+ ...props
483
+ }: React$1.ComponentProps<"p">): React$1.JSX.Element;
484
+ declare function FormMessage({
485
+ className,
486
+ ...props
487
+ }: React$1.ComponentProps<"p">): React$1.JSX.Element | null;
488
+ //#endregion
489
+ //#region src/components/IconButton.d.ts
490
+ interface IconButtonProps extends React$1.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
491
+ icon: LucideIcon;
492
+ asChild?: boolean;
493
+ isActive?: boolean;
494
+ }
495
+ declare function IconButton({
496
+ icon: Icon,
497
+ className,
498
+ variant,
499
+ size,
500
+ isActive,
501
+ ...props
502
+ }: IconButtonProps): React$1.JSX.Element;
503
+ //#endregion
504
+ //#region src/components/Toggle.d.ts
505
+ declare const toggleVariants: (props?: {
506
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
507
+ size?: "default" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
508
+ } & class_variance_authority_types0.ClassProp) => string;
509
+ declare function Toggle({
510
+ className,
511
+ variant,
512
+ size,
513
+ ...props
514
+ }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): React$1.JSX.Element;
515
+ //#endregion
516
+ //#region src/components/IconToggle.d.ts
517
+ interface IconToggleProps extends React$1.ComponentProps<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
518
+ icon: LucideIcon;
519
+ }
520
+ declare function IconToggle({
521
+ icon: Icon,
522
+ variant,
523
+ size,
524
+ ...props
525
+ }: IconToggleProps): React$1.JSX.Element;
526
+ //#endregion
527
+ //#region src/components/Input.d.ts
528
+ declare function Input({
529
+ className,
530
+ type,
531
+ ...props
532
+ }: React$1.ComponentProps<"input">): React$1.JSX.Element;
533
+ //#endregion
534
+ //#region src/components/Label.d.ts
535
+ declare function Label({
536
+ className,
537
+ ...props
538
+ }: React$1.ComponentProps<typeof LabelPrimitive.Root>): React$1.JSX.Element;
539
+ //#endregion
540
+ //#region src/components/Pagination.d.ts
541
+ declare function Pagination({
542
+ className,
543
+ ...props
544
+ }: React$1.ComponentProps<"nav">): React$1.JSX.Element;
545
+ declare function PaginationContent({
546
+ className,
547
+ ...props
548
+ }: React$1.ComponentProps<"ul">): React$1.JSX.Element;
549
+ declare function PaginationItem({
550
+ ...props
551
+ }: React$1.ComponentProps<"li">): React$1.JSX.Element;
552
+ type PaginationLinkProps = {
553
+ isActive?: boolean;
554
+ } & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
555
+ declare function PaginationLink({
556
+ className,
557
+ isActive,
558
+ size,
559
+ ...props
560
+ }: PaginationLinkProps): React$1.JSX.Element;
561
+ declare function PaginationPrevious({
562
+ className,
563
+ ...props
564
+ }: React$1.ComponentProps<typeof PaginationLink>): React$1.JSX.Element;
565
+ declare function PaginationNext({
566
+ className,
567
+ ...props
568
+ }: React$1.ComponentProps<typeof PaginationLink>): React$1.JSX.Element;
569
+ declare function PaginationEllipsis({
570
+ className,
571
+ ...props
572
+ }: React$1.ComponentProps<"span">): React$1.JSX.Element;
573
+ //#endregion
574
+ //#region src/components/Popover.d.ts
575
+ declare function Popover({
576
+ ...props
577
+ }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): React$1.JSX.Element;
578
+ declare function PopoverTrigger({
579
+ ...props
580
+ }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): React$1.JSX.Element;
581
+ declare function PopoverContent({
582
+ className,
583
+ align,
584
+ sideOffset,
585
+ ...props
586
+ }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): React$1.JSX.Element;
587
+ declare function PopoverAnchor({
588
+ ...props
589
+ }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): React$1.JSX.Element;
590
+ declare function PopoverHeader({
591
+ className,
592
+ ...props
593
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
594
+ declare function PopoverTitle({
595
+ className,
596
+ ...props
597
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
598
+ declare function PopoverDescription({
599
+ className,
600
+ ...props
601
+ }: React$1.ComponentProps<"p">): React$1.JSX.Element;
602
+ //#endregion
603
+ //#region src/components/RadioGroup.d.ts
604
+ declare function RadioGroup({
605
+ className,
606
+ ...props
607
+ }: React$1.ComponentProps<typeof RadioGroup$1.Root>): React$1.JSX.Element;
608
+ declare function RadioGroupItem({
609
+ className,
610
+ ...props
611
+ }: React$1.ComponentProps<typeof RadioGroup$1.Item>): React$1.JSX.Element;
612
+ //#endregion
613
+ //#region src/components/Select.d.ts
614
+ declare function Select({
615
+ ...props
616
+ }: React$1.ComponentProps<typeof SelectPrimitive.Root>): React$1.JSX.Element;
617
+ declare function SelectGroup({
618
+ ...props
619
+ }: React$1.ComponentProps<typeof SelectPrimitive.Group>): React$1.JSX.Element;
620
+ declare function SelectValue({
621
+ ...props
622
+ }: React$1.ComponentProps<typeof SelectPrimitive.Value>): React$1.JSX.Element;
623
+ declare function SelectTrigger({
624
+ className,
625
+ size,
626
+ children,
627
+ ...props
628
+ }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
629
+ size?: "sm" | "default";
630
+ }): React$1.JSX.Element;
631
+ declare function SelectContent({
632
+ className,
633
+ children,
634
+ position,
635
+ align,
636
+ ...props
637
+ }: React$1.ComponentProps<typeof SelectPrimitive.Content>): React$1.JSX.Element;
638
+ declare function SelectLabel({
639
+ className,
640
+ ...props
641
+ }: React$1.ComponentProps<typeof SelectPrimitive.Label>): React$1.JSX.Element;
642
+ declare function SelectItem({
643
+ className,
644
+ children,
645
+ ...props
646
+ }: React$1.ComponentProps<typeof SelectPrimitive.Item>): React$1.JSX.Element;
647
+ declare function SelectSeparator({
648
+ className,
649
+ ...props
650
+ }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): React$1.JSX.Element;
651
+ declare function SelectScrollUpButton({
652
+ className,
653
+ ...props
654
+ }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): React$1.JSX.Element;
655
+ declare function SelectScrollDownButton({
656
+ className,
657
+ ...props
658
+ }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): React$1.JSX.Element;
659
+ //#endregion
660
+ //#region src/components/Separator.d.ts
661
+ declare const Separator: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> & React$1.RefAttributes<React$1.ComponentRef<typeof SeparatorPrimitive.Root>>>;
662
+ //#endregion
663
+ //#region src/components/Sheet.d.ts
664
+ declare const Sheet: typeof DialogPrimitive.Root;
665
+ declare const SheetTrigger: typeof DialogPrimitive.Trigger;
666
+ declare const SheetClose: typeof DialogPrimitive.Close;
667
+ declare function SheetPortal(props: React$1.ComponentProps<typeof DialogPrimitive.Portal>): React$1.JSX.Element;
668
+ declare const SheetOverlay: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay> & React$1.RefAttributes<React$1.ComponentRef<typeof DialogPrimitive.Overlay>>>;
669
+ declare const sheetVariants: (props?: {
670
+ side?: "top" | "bottom" | "left" | "right" | null | undefined;
671
+ } & class_variance_authority_types0.ClassProp) => string;
672
+ interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {}
673
+ declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<React$1.ComponentRef<typeof DialogPrimitive.Content>>>;
674
+ declare function SheetHeader({
675
+ className,
676
+ ...props
677
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
678
+ declare function SheetFooter({
679
+ className,
680
+ ...props
681
+ }: React$1.ComponentProps<"div">): React$1.JSX.Element;
682
+ declare const SheetTitle: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Title> & React$1.RefAttributes<React$1.ComponentRef<typeof DialogPrimitive.Title>>>;
683
+ declare const SheetDescription: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Description> & React$1.RefAttributes<React$1.ComponentRef<typeof DialogPrimitive.Description>>>;
684
+ //#endregion
685
+ //#region src/components/Skeleton.d.ts
686
+ declare function Skeleton({
687
+ className,
688
+ ...props
689
+ }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
690
+ //#endregion
691
+ //#region src/components/Slider.d.ts
692
+ declare const Slider: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> & React$1.RefAttributes<React$1.ElementRef<typeof SliderPrimitive.Root>>>;
693
+ //#endregion
694
+ //#region src/components/Sonner.d.ts
695
+ declare function Toaster({
696
+ theme,
697
+ ...props
698
+ }: ToasterProps): React.JSX.Element;
699
+ //#endregion
700
+ //#region src/components/Spinner.d.ts
701
+ declare function Spinner({
702
+ className,
703
+ ...props
704
+ }: React.ComponentProps<"svg">): React.JSX.Element;
705
+ //#endregion
706
+ //#region src/components/SpinnerWithText.d.ts
707
+ interface SpinnerWithTextProps {
708
+ text?: string;
709
+ variant?: "page" | "inline";
710
+ className?: string;
711
+ }
712
+ declare function SpinnerWithText({
713
+ text,
714
+ variant,
715
+ className
716
+ }: SpinnerWithTextProps): React$1.JSX.Element;
717
+ //#endregion
718
+ //#region src/components/Switch.d.ts
719
+ declare const Switch: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> & React$1.RefAttributes<React$1.ElementRef<typeof SwitchPrimitive.Root>>>;
720
+ //#endregion
721
+ //#region src/components/Table.d.ts
722
+ declare function Table({
723
+ className,
724
+ ...props
725
+ }: React$1.ComponentProps<"table">): React$1.JSX.Element;
726
+ declare function TableHeader({
727
+ className,
728
+ ...props
729
+ }: React$1.ComponentProps<"thead">): React$1.JSX.Element;
730
+ declare function TableBody({
731
+ className,
732
+ ...props
733
+ }: React$1.ComponentProps<"tbody">): React$1.JSX.Element;
734
+ declare function TableFooter({
735
+ className,
736
+ ...props
737
+ }: React$1.ComponentProps<"tfoot">): React$1.JSX.Element;
738
+ declare function TableRow({
739
+ className,
740
+ ...props
741
+ }: React$1.ComponentProps<"tr">): React$1.JSX.Element;
742
+ declare function TableHead({
743
+ className,
744
+ ...props
745
+ }: React$1.ComponentProps<"th">): React$1.JSX.Element;
746
+ declare function TableCell({
747
+ className,
748
+ ...props
749
+ }: React$1.ComponentProps<"td">): React$1.JSX.Element;
750
+ declare function TableCaption({
751
+ className,
752
+ ...props
753
+ }: React$1.ComponentProps<"caption">): React$1.JSX.Element;
754
+ //#endregion
755
+ //#region src/components/Tabs.d.ts
756
+ declare function Tabs({
757
+ className,
758
+ ...props
759
+ }: React$1.ComponentProps<typeof TabsPrimitive.Root>): React$1.JSX.Element;
760
+ declare function TabsList({
761
+ className,
762
+ ...props
763
+ }: React$1.ComponentProps<typeof TabsPrimitive.List>): React$1.JSX.Element;
764
+ declare function TabsTrigger({
765
+ className,
766
+ ...props
767
+ }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): React$1.JSX.Element;
768
+ declare function TabsContent({
769
+ className,
770
+ ...props
771
+ }: React$1.ComponentProps<typeof TabsPrimitive.Content>): React$1.JSX.Element;
772
+ //#endregion
773
+ //#region src/components/Textarea.d.ts
774
+ declare function Textarea({
775
+ className,
776
+ ...props
777
+ }: React$1.ComponentProps<"textarea">): React$1.JSX.Element;
778
+ //#endregion
779
+ //#region src/components/ToggleGroup.d.ts
780
+ declare function ToggleGroup({
781
+ className,
782
+ variant,
783
+ size,
784
+ spacing,
785
+ orientation,
786
+ children,
787
+ ...props
788
+ }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants> & {
789
+ spacing?: number;
790
+ orientation?: "horizontal" | "vertical";
791
+ }): React$1.JSX.Element;
792
+ declare function ToggleGroupItem({
793
+ className,
794
+ children,
795
+ variant,
796
+ size,
797
+ ...props
798
+ }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): React$1.JSX.Element;
799
+ //#endregion
800
+ //#region src/components/Tooltip.d.ts
801
+ declare const TooltipProvider: typeof TooltipPrimitive.Provider;
802
+ declare function Tooltip(props: React$1.ComponentProps<typeof TooltipPrimitive.Root>): React$1.JSX.Element;
803
+ declare const TooltipTrigger: typeof TooltipPrimitive.Trigger;
804
+ declare function TooltipContent({
805
+ className,
806
+ sideOffset,
807
+ ...props
808
+ }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): React$1.JSX.Element;
809
+ //#endregion
810
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Button, Calendar, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, IconButton, IconToggle, Input, Label, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, PortalContainerProvider, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, Spinner, SpinnerWithText, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, toggleVariants, useFormField, useZodForm };
811
+ //# sourceMappingURL=index.d.mts.map