@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.ts
DELETED
|
@@ -1,343 +0,0 @@
|
|
|
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
|
-
|
|
29
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* A typed wrapper around useForm that uses zodResolver.
|
|
33
|
-
* Breaks the TypeScript inference chain that causes TS2589
|
|
34
|
-
* "Type instantiation is excessively deep" errors with complex Zod schemas.
|
|
35
|
-
*/
|
|
36
|
-
declare function useZodForm<TFormValues extends FieldValues>(schema: ZodSchema, options?: Omit<UseFormProps<TFormValues>, "resolver">): UseFormReturn<TFormValues>;
|
|
37
|
-
|
|
38
|
-
/**
|
|
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
|
-
|
|
100
|
-
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";
|
|
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
|
-
});
|
|
129
|
-
};
|
|
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;
|
|
138
|
-
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;
|
|
146
|
-
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
|
-
|
|
156
|
-
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">;
|
|
164
|
-
};
|
|
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;
|
|
217
|
-
};
|
|
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
|
-
|
|
224
|
-
interface IconButtonProps extends React$1.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
225
|
-
icon: LucideIcon;
|
|
226
|
-
asChild?: boolean;
|
|
227
|
-
isActive?: boolean;
|
|
228
|
-
}
|
|
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
|
-
|
|
237
|
-
interface IconToggleProps extends React$1.ComponentProps<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
238
|
-
icon: LucideIcon;
|
|
239
|
-
}
|
|
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;
|
|
249
|
-
type PaginationLinkProps = {
|
|
250
|
-
isActive?: boolean;
|
|
251
|
-
} & 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
|
-
|
|
307
|
-
interface SpinnerWithTextProps {
|
|
308
|
-
text?: string;
|
|
309
|
-
variant?: "page" | "inline";
|
|
310
|
-
className?: string;
|
|
311
|
-
}
|
|
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
|
-
|
|
343
|
-
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 };
|