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