@fluid-app/ui-primitives 0.1.5 → 0.1.7

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