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