shadcn-ui-react 0.7.1 → 0.7.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/README.md +450 -336
- package/dist/index.cjs +2183 -1465
- package/dist/index.d.cts +273 -912
- package/dist/index.d.ts +273 -912
- package/dist/index.js +2207 -1504
- package/dist/style.css +173 -44
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -3,15 +3,12 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import * as class_variance_authority from 'class-variance-authority';
|
|
6
|
-
import { VariantProps as VariantProps$
|
|
6
|
+
import { VariantProps as VariantProps$1 } from 'class-variance-authority';
|
|
7
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
7
9
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
8
10
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
9
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
10
|
-
import * as framer_motion from 'framer-motion';
|
|
11
|
-
import { HTMLMotionProps } from 'framer-motion';
|
|
12
11
|
import { DayPicker } from 'react-day-picker';
|
|
13
|
-
import * as motion_utils from 'motion-utils';
|
|
14
|
-
import * as motion_dom from 'motion-dom';
|
|
15
12
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
16
13
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
17
14
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
@@ -21,8 +18,7 @@ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
|
21
18
|
import * as vaul from 'vaul';
|
|
22
19
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
23
20
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
24
|
-
import
|
|
25
|
-
import { UseFormReturn, SubmitHandler, SubmitErrorHandler, FieldValues, FieldPath, RegisterOptions, FieldPathValue, Control } from 'react-hook-form';
|
|
21
|
+
import { FieldValues, UseFormReturn, SubmitHandler, SubmitErrorHandler, FieldPath, Control, RegisterOptions, FieldPathValue, FieldError } from 'react-hook-form';
|
|
26
22
|
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
27
23
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
28
24
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
@@ -55,12 +51,30 @@ declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPri
|
|
|
55
51
|
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
56
52
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
57
53
|
|
|
58
|
-
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps$
|
|
54
|
+
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps$1<(props?: ({
|
|
59
55
|
variant?: "default" | "destructive" | null | undefined;
|
|
60
56
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
61
57
|
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
62
58
|
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
63
59
|
|
|
60
|
+
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
61
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
62
|
+
declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
63
|
+
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
64
|
+
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
65
|
+
declare const AlertDialogHeader: {
|
|
66
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
67
|
+
displayName: string;
|
|
68
|
+
};
|
|
69
|
+
declare const AlertDialogFooter: {
|
|
70
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
71
|
+
displayName: string;
|
|
72
|
+
};
|
|
73
|
+
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
74
|
+
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
75
|
+
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
76
|
+
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
77
|
+
|
|
64
78
|
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
65
79
|
|
|
66
80
|
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
@@ -68,9 +82,9 @@ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitiv
|
|
|
68
82
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
69
83
|
|
|
70
84
|
declare const badgeVariants: (props?: ({
|
|
71
|
-
variant?: "default" | "destructive" | "
|
|
85
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
72
86
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
73
|
-
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps$
|
|
87
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps$1<typeof badgeVariants> {
|
|
74
88
|
}
|
|
75
89
|
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
76
90
|
|
|
@@ -93,67 +107,47 @@ declare const BreadcrumbEllipsis: {
|
|
|
93
107
|
};
|
|
94
108
|
|
|
95
109
|
declare const buttonVariants: (props?: ({
|
|
96
|
-
variant?: "link" | "default" | "destructive" | "
|
|
110
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
97
111
|
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
98
112
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
99
113
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
100
|
-
type
|
|
101
|
-
type ButtonProps = ButtonBaseProps & VariantProps$3<typeof buttonVariants> & {
|
|
114
|
+
type ButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps$1<typeof buttonVariants> & {
|
|
102
115
|
asChild?: boolean;
|
|
103
116
|
loading?: boolean;
|
|
104
117
|
loaderClassName?: string;
|
|
105
|
-
scale?: number;
|
|
106
|
-
duration?: number;
|
|
107
|
-
children?: React$1.ReactNode;
|
|
108
118
|
};
|
|
109
|
-
declare const Button: React$1.ForwardRefExoticComponent<
|
|
110
|
-
variant?: "link" | "default" | "destructive" | "
|
|
119
|
+
declare const Button: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps$1<(props?: ({
|
|
120
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
111
121
|
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
112
122
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
113
123
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
114
124
|
asChild?: boolean;
|
|
115
125
|
loading?: boolean;
|
|
116
126
|
loaderClassName?: string;
|
|
117
|
-
scale?: number;
|
|
118
|
-
duration?: number;
|
|
119
|
-
children?: React$1.ReactNode;
|
|
120
127
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
121
128
|
|
|
122
129
|
declare const iconButtonVariants: (props?: ({
|
|
123
|
-
variant?: "default" | "destructive" | "
|
|
130
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "glass" | null | undefined;
|
|
124
131
|
size?: "default" | "xs" | "sm" | "lg" | "xl" | null | undefined;
|
|
125
132
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
126
133
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
127
|
-
type
|
|
128
|
-
type IconButtonProps = IconButtonBaseProps & VariantProps$3<typeof iconButtonVariants> & {
|
|
134
|
+
type IconButtonProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'children'> & VariantProps$1<typeof iconButtonVariants> & {
|
|
129
135
|
asChild?: boolean;
|
|
130
136
|
loading?: boolean;
|
|
131
137
|
loaderClassName?: string;
|
|
132
|
-
scale?: number;
|
|
133
|
-
duration?: number;
|
|
134
138
|
children: React$1.ReactNode;
|
|
135
|
-
|
|
136
|
-
* Obligatorio porque es un botón solo con icono.
|
|
137
|
-
* Ejemplo: aria-label="Editar"
|
|
138
|
-
*/
|
|
139
|
-
"aria-label": string;
|
|
139
|
+
'aria-label': string;
|
|
140
140
|
};
|
|
141
|
-
declare const IconButton: React$1.ForwardRefExoticComponent<
|
|
142
|
-
variant?: "default" | "destructive" | "
|
|
141
|
+
declare const IconButton: React$1.ForwardRefExoticComponent<Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children"> & VariantProps$1<(props?: ({
|
|
142
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "glass" | null | undefined;
|
|
143
143
|
size?: "default" | "xs" | "sm" | "lg" | "xl" | null | undefined;
|
|
144
144
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
145
145
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
146
146
|
asChild?: boolean;
|
|
147
147
|
loading?: boolean;
|
|
148
148
|
loaderClassName?: string;
|
|
149
|
-
scale?: number;
|
|
150
|
-
duration?: number;
|
|
151
149
|
children: React$1.ReactNode;
|
|
152
|
-
|
|
153
|
-
* Obligatorio porque es un botón solo con icono.
|
|
154
|
-
* Ejemplo: aria-label="Editar"
|
|
155
|
-
*/
|
|
156
|
-
"aria-label": string;
|
|
150
|
+
'aria-label': string;
|
|
157
151
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
158
152
|
|
|
159
153
|
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
@@ -182,748 +176,34 @@ type CarouselProps = {
|
|
|
182
176
|
declare const Carousel: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & CarouselProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
183
177
|
declare const CarouselContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
184
178
|
declare const CarouselItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
185
|
-
declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<{
|
|
186
|
-
|
|
187
|
-
[key: string]: motion_dom.MotionValue<number> | motion_dom.MotionValue<string>;
|
|
188
|
-
} | undefined;
|
|
189
|
-
form?: string | undefined;
|
|
190
|
-
slot?: string | undefined;
|
|
191
|
-
style?: framer_motion.MotionStyle | undefined;
|
|
192
|
-
title?: string | undefined;
|
|
193
|
-
animate?: (motion_dom.TargetAndTransition | motion_dom.VariantLabels | boolean | motion_dom.LegacyAnimationControls) | undefined;
|
|
194
|
-
key?: React$1.Key | null | undefined;
|
|
195
|
-
defaultChecked?: boolean | undefined;
|
|
196
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
197
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
198
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
199
|
-
accessKey?: string | undefined;
|
|
200
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
|
|
201
|
-
autoFocus?: boolean | undefined;
|
|
202
|
-
className?: string | undefined;
|
|
203
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
204
|
-
contextMenu?: string | undefined;
|
|
205
|
-
dir?: string | undefined;
|
|
206
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
207
|
-
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
208
|
-
hidden?: boolean | undefined;
|
|
209
|
-
id?: string | undefined;
|
|
210
|
-
lang?: string | undefined;
|
|
211
|
-
nonce?: string | undefined;
|
|
212
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
213
|
-
tabIndex?: number | undefined;
|
|
214
|
-
translate?: "yes" | "no" | undefined;
|
|
215
|
-
radioGroup?: string | undefined;
|
|
216
|
-
role?: React$1.AriaRole | undefined;
|
|
217
|
-
about?: string | undefined;
|
|
218
|
-
content?: string | undefined;
|
|
219
|
-
datatype?: string | undefined;
|
|
220
|
-
inlist?: any;
|
|
221
|
-
prefix?: string | undefined;
|
|
222
|
-
property?: string | undefined;
|
|
223
|
-
rel?: string | undefined;
|
|
224
|
-
resource?: string | undefined;
|
|
225
|
-
rev?: string | undefined;
|
|
226
|
-
typeof?: string | undefined;
|
|
227
|
-
vocab?: string | undefined;
|
|
228
|
-
autoCorrect?: string | undefined;
|
|
229
|
-
autoSave?: string | undefined;
|
|
230
|
-
color?: string | undefined;
|
|
231
|
-
itemProp?: string | undefined;
|
|
232
|
-
itemScope?: boolean | undefined;
|
|
233
|
-
itemType?: string | undefined;
|
|
234
|
-
itemID?: string | undefined;
|
|
235
|
-
itemRef?: string | undefined;
|
|
236
|
-
results?: number | undefined;
|
|
237
|
-
security?: string | undefined;
|
|
238
|
-
unselectable?: "off" | "on" | undefined;
|
|
239
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
240
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
241
|
-
popoverTarget?: string | undefined;
|
|
242
|
-
inert?: boolean | undefined;
|
|
243
|
-
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
244
|
-
is?: string | undefined;
|
|
245
|
-
exportparts?: string | undefined;
|
|
246
|
-
part?: string | undefined;
|
|
247
|
-
"aria-activedescendant"?: string | undefined;
|
|
248
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
249
|
-
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
250
|
-
"aria-braillelabel"?: string | undefined;
|
|
251
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
252
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
253
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
254
|
-
"aria-colcount"?: number | undefined;
|
|
255
|
-
"aria-colindex"?: number | undefined;
|
|
256
|
-
"aria-colindextext"?: string | undefined;
|
|
257
|
-
"aria-colspan"?: number | undefined;
|
|
258
|
-
"aria-controls"?: string | undefined;
|
|
259
|
-
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
260
|
-
"aria-describedby"?: string | undefined;
|
|
261
|
-
"aria-description"?: string | undefined;
|
|
262
|
-
"aria-details"?: string | undefined;
|
|
263
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
264
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
265
|
-
"aria-errormessage"?: string | undefined;
|
|
266
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
267
|
-
"aria-flowto"?: string | undefined;
|
|
268
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
269
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
270
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
271
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
272
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
273
|
-
"aria-label"?: string | undefined;
|
|
274
|
-
"aria-labelledby"?: string | undefined;
|
|
275
|
-
"aria-level"?: number | undefined;
|
|
276
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
277
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
278
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
279
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
280
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
281
|
-
"aria-owns"?: string | undefined;
|
|
282
|
-
"aria-placeholder"?: string | undefined;
|
|
283
|
-
"aria-posinset"?: number | undefined;
|
|
284
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
285
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
286
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
287
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
288
|
-
"aria-roledescription"?: string | undefined;
|
|
289
|
-
"aria-rowcount"?: number | undefined;
|
|
290
|
-
"aria-rowindex"?: number | undefined;
|
|
291
|
-
"aria-rowindextext"?: string | undefined;
|
|
292
|
-
"aria-rowspan"?: number | undefined;
|
|
293
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
294
|
-
"aria-setsize"?: number | undefined;
|
|
295
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
296
|
-
"aria-valuemax"?: number | undefined;
|
|
297
|
-
"aria-valuemin"?: number | undefined;
|
|
298
|
-
"aria-valuenow"?: number | undefined;
|
|
299
|
-
"aria-valuetext"?: string | undefined;
|
|
300
|
-
children?: React$1.ReactNode | motion_dom.MotionValue<number> | motion_dom.MotionValue<string>;
|
|
301
|
-
dangerouslySetInnerHTML?: {
|
|
302
|
-
__html: string | TrustedHTML;
|
|
303
|
-
} | undefined;
|
|
304
|
-
onCopy?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
305
|
-
onCopyCapture?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
306
|
-
onCut?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
307
|
-
onCutCapture?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
308
|
-
onPaste?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
309
|
-
onPasteCapture?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
310
|
-
onCompositionEnd?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
311
|
-
onCompositionEndCapture?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
312
|
-
onCompositionStart?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
313
|
-
onCompositionStartCapture?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
314
|
-
onCompositionUpdate?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
315
|
-
onCompositionUpdateCapture?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
316
|
-
onFocus?: React$1.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
317
|
-
onFocusCapture?: React$1.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
318
|
-
onBlur?: React$1.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
319
|
-
onBlurCapture?: React$1.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
320
|
-
onChange?: React$1.ChangeEventHandler<HTMLButtonElement, Element> | undefined;
|
|
321
|
-
onChangeCapture?: React$1.ChangeEventHandler<HTMLButtonElement, Element> | undefined;
|
|
322
|
-
onBeforeInput?: React$1.InputEventHandler<HTMLButtonElement> | undefined;
|
|
323
|
-
onBeforeInputCapture?: React$1.InputEventHandler<HTMLButtonElement> | undefined;
|
|
324
|
-
onInput?: React$1.InputEventHandler<HTMLButtonElement> | undefined;
|
|
325
|
-
onInputCapture?: React$1.InputEventHandler<HTMLButtonElement> | undefined;
|
|
326
|
-
onReset?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
327
|
-
onResetCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
328
|
-
onSubmit?: React$1.SubmitEventHandler<HTMLButtonElement> | undefined;
|
|
329
|
-
onSubmitCapture?: React$1.SubmitEventHandler<HTMLButtonElement> | undefined;
|
|
330
|
-
onInvalid?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
331
|
-
onInvalidCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
332
|
-
onLoad?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
333
|
-
onLoadCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
334
|
-
onError?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
335
|
-
onErrorCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
336
|
-
onKeyDown?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
337
|
-
onKeyDownCapture?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
338
|
-
onKeyPress?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
339
|
-
onKeyPressCapture?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
340
|
-
onKeyUp?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
341
|
-
onKeyUpCapture?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
342
|
-
onAbort?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
343
|
-
onAbortCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
344
|
-
onCanPlay?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
345
|
-
onCanPlayCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
346
|
-
onCanPlayThrough?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
347
|
-
onCanPlayThroughCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
348
|
-
onDurationChange?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
349
|
-
onDurationChangeCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
350
|
-
onEmptied?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
351
|
-
onEmptiedCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
352
|
-
onEncrypted?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
353
|
-
onEncryptedCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
354
|
-
onEnded?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
355
|
-
onEndedCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
356
|
-
onLoadedData?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
357
|
-
onLoadedDataCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
358
|
-
onLoadedMetadata?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
359
|
-
onLoadedMetadataCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
360
|
-
onLoadStart?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
361
|
-
onLoadStartCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
362
|
-
onPause?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
363
|
-
onPauseCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
364
|
-
onPlay?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
365
|
-
onPlayCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
366
|
-
onPlaying?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
367
|
-
onPlayingCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
368
|
-
onProgress?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
369
|
-
onProgressCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
370
|
-
onRateChange?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
371
|
-
onRateChangeCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
372
|
-
onSeeked?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
373
|
-
onSeekedCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
374
|
-
onSeeking?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
375
|
-
onSeekingCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
376
|
-
onStalled?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
377
|
-
onStalledCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
378
|
-
onSuspend?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
379
|
-
onSuspendCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
380
|
-
onTimeUpdate?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
381
|
-
onTimeUpdateCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
382
|
-
onVolumeChange?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
383
|
-
onVolumeChangeCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
384
|
-
onWaiting?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
385
|
-
onWaitingCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
386
|
-
onAuxClick?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
387
|
-
onAuxClickCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
388
|
-
onClick?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
389
|
-
onClickCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
390
|
-
onContextMenu?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
391
|
-
onContextMenuCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
392
|
-
onDoubleClick?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
393
|
-
onDoubleClickCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
394
|
-
onDrag?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
395
|
-
onDragCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
396
|
-
onDragEnd?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
397
|
-
onDragEndCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
398
|
-
onDragEnter?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
399
|
-
onDragEnterCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
400
|
-
onDragExit?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
401
|
-
onDragExitCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
402
|
-
onDragLeave?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
403
|
-
onDragLeaveCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
404
|
-
onDragOver?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
405
|
-
onDragOverCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
406
|
-
onDragStart?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
407
|
-
onDragStartCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
408
|
-
onDrop?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
409
|
-
onDropCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
410
|
-
onMouseDown?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
411
|
-
onMouseDownCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
412
|
-
onMouseEnter?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
413
|
-
onMouseLeave?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
414
|
-
onMouseMove?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
415
|
-
onMouseMoveCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
416
|
-
onMouseOut?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
417
|
-
onMouseOutCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
418
|
-
onMouseOver?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
419
|
-
onMouseOverCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
420
|
-
onMouseUp?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
421
|
-
onMouseUpCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
422
|
-
onSelect?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
423
|
-
onSelectCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
424
|
-
onTouchCancel?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
425
|
-
onTouchCancelCapture?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
426
|
-
onTouchEnd?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
427
|
-
onTouchEndCapture?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
428
|
-
onTouchMove?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
429
|
-
onTouchMoveCapture?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
430
|
-
onTouchStart?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
431
|
-
onTouchStartCapture?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
432
|
-
onPointerDown?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
433
|
-
onPointerDownCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
434
|
-
onPointerMove?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
435
|
-
onPointerMoveCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
436
|
-
onPointerUp?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
437
|
-
onPointerUpCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
438
|
-
onPointerCancel?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
439
|
-
onPointerCancelCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
440
|
-
onPointerEnter?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
441
|
-
onPointerLeave?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
442
|
-
onPointerOver?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
443
|
-
onPointerOverCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
444
|
-
onPointerOut?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
445
|
-
onPointerOutCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
446
|
-
onGotPointerCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
447
|
-
onGotPointerCaptureCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
448
|
-
onLostPointerCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
449
|
-
onLostPointerCaptureCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
450
|
-
onScroll?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
451
|
-
onScrollCapture?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
452
|
-
onScrollEnd?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
453
|
-
onScrollEndCapture?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
454
|
-
onWheel?: React$1.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
455
|
-
onWheelCapture?: React$1.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
456
|
-
onAnimationStart?: ((definition: motion_dom.AnimationDefinition) => void) | undefined;
|
|
457
|
-
onAnimationStartCapture?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
458
|
-
onAnimationEnd?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
459
|
-
onAnimationEndCapture?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
460
|
-
onAnimationIteration?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
461
|
-
onAnimationIterationCapture?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
462
|
-
onToggle?: React$1.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
463
|
-
onBeforeToggle?: React$1.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
464
|
-
onTransitionCancel?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
465
|
-
onTransitionCancelCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
466
|
-
onTransitionEnd?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
467
|
-
onTransitionEndCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
468
|
-
onTransitionRun?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
469
|
-
onTransitionRunCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
470
|
-
onTransitionStart?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
471
|
-
onTransitionStartCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
472
|
-
inherit?: boolean | undefined;
|
|
473
|
-
disabled?: boolean | undefined;
|
|
474
|
-
value?: string | number | readonly string[] | undefined;
|
|
475
|
-
formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
|
|
476
|
-
formEncType?: string | undefined;
|
|
477
|
-
formMethod?: string | undefined;
|
|
478
|
-
formNoValidate?: boolean | undefined;
|
|
479
|
-
formTarget?: string | undefined;
|
|
480
|
-
name?: string | undefined;
|
|
481
|
-
type?: "button" | "submit" | "reset" | undefined;
|
|
482
|
-
propagate?: motion_dom.PropagateOptions | undefined;
|
|
483
|
-
initial?: (motion_dom.TargetAndTransition | motion_dom.VariantLabels | boolean) | undefined;
|
|
484
|
-
exit?: (motion_dom.TargetAndTransition | motion_dom.VariantLabels) | undefined;
|
|
485
|
-
variants?: motion_dom.Variants | undefined;
|
|
486
|
-
transition?: motion_dom.Transition | undefined;
|
|
487
|
-
onUpdate?: ((latest: motion_dom.ResolvedValues) => void) | undefined;
|
|
488
|
-
onAnimationComplete?: ((definition: motion_dom.AnimationDefinition) => void) | undefined;
|
|
489
|
-
onBeforeLayoutMeasure?: ((box: motion_utils.Box) => void) | undefined;
|
|
490
|
-
onLayoutMeasure?: ((box: motion_utils.Box, prevBox: motion_utils.Box) => void) | undefined;
|
|
491
|
-
onLayoutAnimationStart?: (() => void) | undefined;
|
|
492
|
-
onLayoutAnimationComplete?: (() => void) | undefined;
|
|
493
|
-
onPan?: ((event: PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
494
|
-
onPanStart?: ((event: PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
495
|
-
onPanSessionStart?: ((event: PointerEvent, info: motion_dom.EventInfo) => void) | undefined;
|
|
496
|
-
onPanEnd?: ((event: PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
497
|
-
onTap?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.TapInfo) => void) | undefined;
|
|
498
|
-
onTapStart?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.TapInfo) => void) | undefined;
|
|
499
|
-
onTapCancel?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.TapInfo) => void) | undefined;
|
|
500
|
-
whileTap?: (motion_dom.VariantLabels | motion_dom.TargetAndTransition) | undefined;
|
|
501
|
-
globalTapTarget?: boolean | undefined;
|
|
502
|
-
whileHover?: (motion_dom.VariantLabels | motion_dom.TargetAndTransition) | undefined;
|
|
503
|
-
onHoverStart?: ((event: PointerEvent, info: motion_dom.EventInfo) => void) | undefined;
|
|
504
|
-
onHoverEnd?: ((event: PointerEvent, info: motion_dom.EventInfo) => void) | undefined;
|
|
505
|
-
whileFocus?: (motion_dom.VariantLabels | motion_dom.TargetAndTransition) | undefined;
|
|
506
|
-
whileInView?: (motion_dom.VariantLabels | motion_dom.TargetAndTransition) | undefined;
|
|
507
|
-
onViewportEnter?: motion_dom.ViewportEventHandler | undefined;
|
|
508
|
-
onViewportLeave?: motion_dom.ViewportEventHandler | undefined;
|
|
509
|
-
viewport?: motion_dom.ViewportOptions | undefined;
|
|
510
|
-
onDirectionLock?: ((axis: "x" | "y") => void) | undefined;
|
|
511
|
-
onDragTransitionEnd?: (() => void) | undefined;
|
|
512
|
-
drag?: boolean | "x" | "y" | undefined;
|
|
513
|
-
whileDrag?: (motion_dom.VariantLabels | motion_dom.TargetAndTransition) | undefined;
|
|
514
|
-
dragDirectionLock?: boolean | undefined;
|
|
515
|
-
dragPropagation?: boolean | undefined;
|
|
516
|
-
dragConstraints?: (false | Partial<motion_utils.BoundingBox> | {
|
|
517
|
-
current: Element | null;
|
|
518
|
-
}) | undefined;
|
|
519
|
-
dragElastic?: motion_dom.DragElastic | undefined;
|
|
520
|
-
dragMomentum?: boolean | undefined;
|
|
521
|
-
dragTransition?: motion_dom.InertiaOptions | undefined;
|
|
522
|
-
dragControls?: any;
|
|
523
|
-
dragSnapToOrigin?: boolean | "x" | "y" | undefined;
|
|
524
|
-
dragListener?: boolean | undefined;
|
|
525
|
-
onMeasureDragConstraints?: ((constraints: motion_utils.BoundingBox) => motion_utils.BoundingBox | void) | undefined;
|
|
526
|
-
_dragX?: motion_dom.MotionValue<number> | undefined;
|
|
527
|
-
_dragY?: motion_dom.MotionValue<number> | undefined;
|
|
528
|
-
layout?: boolean | "position" | "size" | "preserve-aspect" | "x" | "y" | undefined;
|
|
529
|
-
layoutId?: string | undefined;
|
|
530
|
-
layoutDependency?: any;
|
|
531
|
-
layoutScroll?: boolean | undefined;
|
|
532
|
-
layoutRoot?: boolean | undefined;
|
|
533
|
-
layoutAnchor?: {
|
|
534
|
-
x: number;
|
|
535
|
-
y: number;
|
|
536
|
-
} | false | undefined;
|
|
537
|
-
"data-framer-portal-id"?: string | undefined;
|
|
538
|
-
layoutCrossfade?: boolean | undefined;
|
|
539
|
-
custom?: any;
|
|
540
|
-
ignoreStrict?: boolean | undefined;
|
|
541
|
-
transformTemplate?: motion_dom.TransformTemplate | undefined;
|
|
542
|
-
"data-framer-appear-id"?: string | undefined;
|
|
543
|
-
} & class_variance_authority.VariantProps<(props?: ({
|
|
544
|
-
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
179
|
+
declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
180
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
545
181
|
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
546
182
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
547
183
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
548
184
|
asChild?: boolean;
|
|
549
185
|
loading?: boolean;
|
|
550
186
|
loaderClassName?: string;
|
|
551
|
-
scale?: number;
|
|
552
|
-
duration?: number;
|
|
553
|
-
children?: React$1.ReactNode;
|
|
554
187
|
} & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
555
|
-
declare const CarouselNext: React$1.ForwardRefExoticComponent<Omit<{
|
|
556
|
-
|
|
557
|
-
[key: string]: motion_dom.MotionValue<number> | motion_dom.MotionValue<string>;
|
|
558
|
-
} | undefined;
|
|
559
|
-
form?: string | undefined;
|
|
560
|
-
slot?: string | undefined;
|
|
561
|
-
style?: framer_motion.MotionStyle | undefined;
|
|
562
|
-
title?: string | undefined;
|
|
563
|
-
animate?: (motion_dom.TargetAndTransition | motion_dom.VariantLabels | boolean | motion_dom.LegacyAnimationControls) | undefined;
|
|
564
|
-
key?: React$1.Key | null | undefined;
|
|
565
|
-
defaultChecked?: boolean | undefined;
|
|
566
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
567
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
568
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
569
|
-
accessKey?: string | undefined;
|
|
570
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
|
|
571
|
-
autoFocus?: boolean | undefined;
|
|
572
|
-
className?: string | undefined;
|
|
573
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
574
|
-
contextMenu?: string | undefined;
|
|
575
|
-
dir?: string | undefined;
|
|
576
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
577
|
-
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
578
|
-
hidden?: boolean | undefined;
|
|
579
|
-
id?: string | undefined;
|
|
580
|
-
lang?: string | undefined;
|
|
581
|
-
nonce?: string | undefined;
|
|
582
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
583
|
-
tabIndex?: number | undefined;
|
|
584
|
-
translate?: "yes" | "no" | undefined;
|
|
585
|
-
radioGroup?: string | undefined;
|
|
586
|
-
role?: React$1.AriaRole | undefined;
|
|
587
|
-
about?: string | undefined;
|
|
588
|
-
content?: string | undefined;
|
|
589
|
-
datatype?: string | undefined;
|
|
590
|
-
inlist?: any;
|
|
591
|
-
prefix?: string | undefined;
|
|
592
|
-
property?: string | undefined;
|
|
593
|
-
rel?: string | undefined;
|
|
594
|
-
resource?: string | undefined;
|
|
595
|
-
rev?: string | undefined;
|
|
596
|
-
typeof?: string | undefined;
|
|
597
|
-
vocab?: string | undefined;
|
|
598
|
-
autoCorrect?: string | undefined;
|
|
599
|
-
autoSave?: string | undefined;
|
|
600
|
-
color?: string | undefined;
|
|
601
|
-
itemProp?: string | undefined;
|
|
602
|
-
itemScope?: boolean | undefined;
|
|
603
|
-
itemType?: string | undefined;
|
|
604
|
-
itemID?: string | undefined;
|
|
605
|
-
itemRef?: string | undefined;
|
|
606
|
-
results?: number | undefined;
|
|
607
|
-
security?: string | undefined;
|
|
608
|
-
unselectable?: "off" | "on" | undefined;
|
|
609
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
610
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
611
|
-
popoverTarget?: string | undefined;
|
|
612
|
-
inert?: boolean | undefined;
|
|
613
|
-
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
614
|
-
is?: string | undefined;
|
|
615
|
-
exportparts?: string | undefined;
|
|
616
|
-
part?: string | undefined;
|
|
617
|
-
"aria-activedescendant"?: string | undefined;
|
|
618
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
619
|
-
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
620
|
-
"aria-braillelabel"?: string | undefined;
|
|
621
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
622
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
623
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
624
|
-
"aria-colcount"?: number | undefined;
|
|
625
|
-
"aria-colindex"?: number | undefined;
|
|
626
|
-
"aria-colindextext"?: string | undefined;
|
|
627
|
-
"aria-colspan"?: number | undefined;
|
|
628
|
-
"aria-controls"?: string | undefined;
|
|
629
|
-
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
630
|
-
"aria-describedby"?: string | undefined;
|
|
631
|
-
"aria-description"?: string | undefined;
|
|
632
|
-
"aria-details"?: string | undefined;
|
|
633
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
634
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
635
|
-
"aria-errormessage"?: string | undefined;
|
|
636
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
637
|
-
"aria-flowto"?: string | undefined;
|
|
638
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
639
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
640
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
641
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
642
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
643
|
-
"aria-label"?: string | undefined;
|
|
644
|
-
"aria-labelledby"?: string | undefined;
|
|
645
|
-
"aria-level"?: number | undefined;
|
|
646
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
647
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
648
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
649
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
650
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
651
|
-
"aria-owns"?: string | undefined;
|
|
652
|
-
"aria-placeholder"?: string | undefined;
|
|
653
|
-
"aria-posinset"?: number | undefined;
|
|
654
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
655
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
656
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
657
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
658
|
-
"aria-roledescription"?: string | undefined;
|
|
659
|
-
"aria-rowcount"?: number | undefined;
|
|
660
|
-
"aria-rowindex"?: number | undefined;
|
|
661
|
-
"aria-rowindextext"?: string | undefined;
|
|
662
|
-
"aria-rowspan"?: number | undefined;
|
|
663
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
664
|
-
"aria-setsize"?: number | undefined;
|
|
665
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
666
|
-
"aria-valuemax"?: number | undefined;
|
|
667
|
-
"aria-valuemin"?: number | undefined;
|
|
668
|
-
"aria-valuenow"?: number | undefined;
|
|
669
|
-
"aria-valuetext"?: string | undefined;
|
|
670
|
-
children?: React$1.ReactNode | motion_dom.MotionValue<number> | motion_dom.MotionValue<string>;
|
|
671
|
-
dangerouslySetInnerHTML?: {
|
|
672
|
-
__html: string | TrustedHTML;
|
|
673
|
-
} | undefined;
|
|
674
|
-
onCopy?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
675
|
-
onCopyCapture?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
676
|
-
onCut?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
677
|
-
onCutCapture?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
678
|
-
onPaste?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
679
|
-
onPasteCapture?: React$1.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
680
|
-
onCompositionEnd?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
681
|
-
onCompositionEndCapture?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
682
|
-
onCompositionStart?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
683
|
-
onCompositionStartCapture?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
684
|
-
onCompositionUpdate?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
685
|
-
onCompositionUpdateCapture?: React$1.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
686
|
-
onFocus?: React$1.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
687
|
-
onFocusCapture?: React$1.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
688
|
-
onBlur?: React$1.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
689
|
-
onBlurCapture?: React$1.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
690
|
-
onChange?: React$1.ChangeEventHandler<HTMLButtonElement, Element> | undefined;
|
|
691
|
-
onChangeCapture?: React$1.ChangeEventHandler<HTMLButtonElement, Element> | undefined;
|
|
692
|
-
onBeforeInput?: React$1.InputEventHandler<HTMLButtonElement> | undefined;
|
|
693
|
-
onBeforeInputCapture?: React$1.InputEventHandler<HTMLButtonElement> | undefined;
|
|
694
|
-
onInput?: React$1.InputEventHandler<HTMLButtonElement> | undefined;
|
|
695
|
-
onInputCapture?: React$1.InputEventHandler<HTMLButtonElement> | undefined;
|
|
696
|
-
onReset?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
697
|
-
onResetCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
698
|
-
onSubmit?: React$1.SubmitEventHandler<HTMLButtonElement> | undefined;
|
|
699
|
-
onSubmitCapture?: React$1.SubmitEventHandler<HTMLButtonElement> | undefined;
|
|
700
|
-
onInvalid?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
701
|
-
onInvalidCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
702
|
-
onLoad?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
703
|
-
onLoadCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
704
|
-
onError?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
705
|
-
onErrorCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
706
|
-
onKeyDown?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
707
|
-
onKeyDownCapture?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
708
|
-
onKeyPress?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
709
|
-
onKeyPressCapture?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
710
|
-
onKeyUp?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
711
|
-
onKeyUpCapture?: React$1.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
712
|
-
onAbort?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
713
|
-
onAbortCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
714
|
-
onCanPlay?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
715
|
-
onCanPlayCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
716
|
-
onCanPlayThrough?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
717
|
-
onCanPlayThroughCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
718
|
-
onDurationChange?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
719
|
-
onDurationChangeCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
720
|
-
onEmptied?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
721
|
-
onEmptiedCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
722
|
-
onEncrypted?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
723
|
-
onEncryptedCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
724
|
-
onEnded?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
725
|
-
onEndedCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
726
|
-
onLoadedData?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
727
|
-
onLoadedDataCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
728
|
-
onLoadedMetadata?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
729
|
-
onLoadedMetadataCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
730
|
-
onLoadStart?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
731
|
-
onLoadStartCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
732
|
-
onPause?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
733
|
-
onPauseCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
734
|
-
onPlay?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
735
|
-
onPlayCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
736
|
-
onPlaying?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
737
|
-
onPlayingCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
738
|
-
onProgress?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
739
|
-
onProgressCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
740
|
-
onRateChange?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
741
|
-
onRateChangeCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
742
|
-
onSeeked?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
743
|
-
onSeekedCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
744
|
-
onSeeking?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
745
|
-
onSeekingCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
746
|
-
onStalled?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
747
|
-
onStalledCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
748
|
-
onSuspend?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
749
|
-
onSuspendCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
750
|
-
onTimeUpdate?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
751
|
-
onTimeUpdateCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
752
|
-
onVolumeChange?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
753
|
-
onVolumeChangeCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
754
|
-
onWaiting?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
755
|
-
onWaitingCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
756
|
-
onAuxClick?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
757
|
-
onAuxClickCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
758
|
-
onClick?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
759
|
-
onClickCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
760
|
-
onContextMenu?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
761
|
-
onContextMenuCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
762
|
-
onDoubleClick?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
763
|
-
onDoubleClickCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
764
|
-
onDrag?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
765
|
-
onDragCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
766
|
-
onDragEnd?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
767
|
-
onDragEndCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
768
|
-
onDragEnter?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
769
|
-
onDragEnterCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
770
|
-
onDragExit?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
771
|
-
onDragExitCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
772
|
-
onDragLeave?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
773
|
-
onDragLeaveCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
774
|
-
onDragOver?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
775
|
-
onDragOverCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
776
|
-
onDragStart?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
777
|
-
onDragStartCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
778
|
-
onDrop?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
779
|
-
onDropCapture?: React$1.DragEventHandler<HTMLButtonElement> | undefined;
|
|
780
|
-
onMouseDown?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
781
|
-
onMouseDownCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
782
|
-
onMouseEnter?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
783
|
-
onMouseLeave?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
784
|
-
onMouseMove?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
785
|
-
onMouseMoveCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
786
|
-
onMouseOut?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
787
|
-
onMouseOutCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
788
|
-
onMouseOver?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
789
|
-
onMouseOverCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
790
|
-
onMouseUp?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
791
|
-
onMouseUpCapture?: React$1.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
792
|
-
onSelect?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
793
|
-
onSelectCapture?: React$1.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
794
|
-
onTouchCancel?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
795
|
-
onTouchCancelCapture?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
796
|
-
onTouchEnd?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
797
|
-
onTouchEndCapture?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
798
|
-
onTouchMove?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
799
|
-
onTouchMoveCapture?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
800
|
-
onTouchStart?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
801
|
-
onTouchStartCapture?: React$1.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
802
|
-
onPointerDown?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
803
|
-
onPointerDownCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
804
|
-
onPointerMove?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
805
|
-
onPointerMoveCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
806
|
-
onPointerUp?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
807
|
-
onPointerUpCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
808
|
-
onPointerCancel?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
809
|
-
onPointerCancelCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
810
|
-
onPointerEnter?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
811
|
-
onPointerLeave?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
812
|
-
onPointerOver?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
813
|
-
onPointerOverCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
814
|
-
onPointerOut?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
815
|
-
onPointerOutCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
816
|
-
onGotPointerCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
817
|
-
onGotPointerCaptureCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
818
|
-
onLostPointerCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
819
|
-
onLostPointerCaptureCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
820
|
-
onScroll?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
821
|
-
onScrollCapture?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
822
|
-
onScrollEnd?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
823
|
-
onScrollEndCapture?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
824
|
-
onWheel?: React$1.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
825
|
-
onWheelCapture?: React$1.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
826
|
-
onAnimationStart?: ((definition: motion_dom.AnimationDefinition) => void) | undefined;
|
|
827
|
-
onAnimationStartCapture?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
828
|
-
onAnimationEnd?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
829
|
-
onAnimationEndCapture?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
830
|
-
onAnimationIteration?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
831
|
-
onAnimationIterationCapture?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
832
|
-
onToggle?: React$1.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
833
|
-
onBeforeToggle?: React$1.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
834
|
-
onTransitionCancel?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
835
|
-
onTransitionCancelCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
836
|
-
onTransitionEnd?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
837
|
-
onTransitionEndCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
838
|
-
onTransitionRun?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
839
|
-
onTransitionRunCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
840
|
-
onTransitionStart?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
841
|
-
onTransitionStartCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
842
|
-
inherit?: boolean | undefined;
|
|
843
|
-
disabled?: boolean | undefined;
|
|
844
|
-
value?: string | number | readonly string[] | undefined;
|
|
845
|
-
formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
|
|
846
|
-
formEncType?: string | undefined;
|
|
847
|
-
formMethod?: string | undefined;
|
|
848
|
-
formNoValidate?: boolean | undefined;
|
|
849
|
-
formTarget?: string | undefined;
|
|
850
|
-
name?: string | undefined;
|
|
851
|
-
type?: "button" | "submit" | "reset" | undefined;
|
|
852
|
-
propagate?: motion_dom.PropagateOptions | undefined;
|
|
853
|
-
initial?: (motion_dom.TargetAndTransition | motion_dom.VariantLabels | boolean) | undefined;
|
|
854
|
-
exit?: (motion_dom.TargetAndTransition | motion_dom.VariantLabels) | undefined;
|
|
855
|
-
variants?: motion_dom.Variants | undefined;
|
|
856
|
-
transition?: motion_dom.Transition | undefined;
|
|
857
|
-
onUpdate?: ((latest: motion_dom.ResolvedValues) => void) | undefined;
|
|
858
|
-
onAnimationComplete?: ((definition: motion_dom.AnimationDefinition) => void) | undefined;
|
|
859
|
-
onBeforeLayoutMeasure?: ((box: motion_utils.Box) => void) | undefined;
|
|
860
|
-
onLayoutMeasure?: ((box: motion_utils.Box, prevBox: motion_utils.Box) => void) | undefined;
|
|
861
|
-
onLayoutAnimationStart?: (() => void) | undefined;
|
|
862
|
-
onLayoutAnimationComplete?: (() => void) | undefined;
|
|
863
|
-
onPan?: ((event: PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
864
|
-
onPanStart?: ((event: PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
865
|
-
onPanSessionStart?: ((event: PointerEvent, info: motion_dom.EventInfo) => void) | undefined;
|
|
866
|
-
onPanEnd?: ((event: PointerEvent, info: motion_dom.PanInfo) => void) | undefined;
|
|
867
|
-
onTap?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.TapInfo) => void) | undefined;
|
|
868
|
-
onTapStart?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.TapInfo) => void) | undefined;
|
|
869
|
-
onTapCancel?: ((event: MouseEvent | TouchEvent | PointerEvent, info: motion_dom.TapInfo) => void) | undefined;
|
|
870
|
-
whileTap?: (motion_dom.VariantLabels | motion_dom.TargetAndTransition) | undefined;
|
|
871
|
-
globalTapTarget?: boolean | undefined;
|
|
872
|
-
whileHover?: (motion_dom.VariantLabels | motion_dom.TargetAndTransition) | undefined;
|
|
873
|
-
onHoverStart?: ((event: PointerEvent, info: motion_dom.EventInfo) => void) | undefined;
|
|
874
|
-
onHoverEnd?: ((event: PointerEvent, info: motion_dom.EventInfo) => void) | undefined;
|
|
875
|
-
whileFocus?: (motion_dom.VariantLabels | motion_dom.TargetAndTransition) | undefined;
|
|
876
|
-
whileInView?: (motion_dom.VariantLabels | motion_dom.TargetAndTransition) | undefined;
|
|
877
|
-
onViewportEnter?: motion_dom.ViewportEventHandler | undefined;
|
|
878
|
-
onViewportLeave?: motion_dom.ViewportEventHandler | undefined;
|
|
879
|
-
viewport?: motion_dom.ViewportOptions | undefined;
|
|
880
|
-
onDirectionLock?: ((axis: "x" | "y") => void) | undefined;
|
|
881
|
-
onDragTransitionEnd?: (() => void) | undefined;
|
|
882
|
-
drag?: boolean | "x" | "y" | undefined;
|
|
883
|
-
whileDrag?: (motion_dom.VariantLabels | motion_dom.TargetAndTransition) | undefined;
|
|
884
|
-
dragDirectionLock?: boolean | undefined;
|
|
885
|
-
dragPropagation?: boolean | undefined;
|
|
886
|
-
dragConstraints?: (false | Partial<motion_utils.BoundingBox> | {
|
|
887
|
-
current: Element | null;
|
|
888
|
-
}) | undefined;
|
|
889
|
-
dragElastic?: motion_dom.DragElastic | undefined;
|
|
890
|
-
dragMomentum?: boolean | undefined;
|
|
891
|
-
dragTransition?: motion_dom.InertiaOptions | undefined;
|
|
892
|
-
dragControls?: any;
|
|
893
|
-
dragSnapToOrigin?: boolean | "x" | "y" | undefined;
|
|
894
|
-
dragListener?: boolean | undefined;
|
|
895
|
-
onMeasureDragConstraints?: ((constraints: motion_utils.BoundingBox) => motion_utils.BoundingBox | void) | undefined;
|
|
896
|
-
_dragX?: motion_dom.MotionValue<number> | undefined;
|
|
897
|
-
_dragY?: motion_dom.MotionValue<number> | undefined;
|
|
898
|
-
layout?: boolean | "position" | "size" | "preserve-aspect" | "x" | "y" | undefined;
|
|
899
|
-
layoutId?: string | undefined;
|
|
900
|
-
layoutDependency?: any;
|
|
901
|
-
layoutScroll?: boolean | undefined;
|
|
902
|
-
layoutRoot?: boolean | undefined;
|
|
903
|
-
layoutAnchor?: {
|
|
904
|
-
x: number;
|
|
905
|
-
y: number;
|
|
906
|
-
} | false | undefined;
|
|
907
|
-
"data-framer-portal-id"?: string | undefined;
|
|
908
|
-
layoutCrossfade?: boolean | undefined;
|
|
909
|
-
custom?: any;
|
|
910
|
-
ignoreStrict?: boolean | undefined;
|
|
911
|
-
transformTemplate?: motion_dom.TransformTemplate | undefined;
|
|
912
|
-
"data-framer-appear-id"?: string | undefined;
|
|
913
|
-
} & class_variance_authority.VariantProps<(props?: ({
|
|
914
|
-
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
188
|
+
declare const CarouselNext: React$1.ForwardRefExoticComponent<Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
189
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
915
190
|
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
916
191
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
917
192
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
918
193
|
asChild?: boolean;
|
|
919
194
|
loading?: boolean;
|
|
920
195
|
loaderClassName?: string;
|
|
921
|
-
scale?: number;
|
|
922
|
-
duration?: number;
|
|
923
|
-
children?: React$1.ReactNode;
|
|
924
196
|
} & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
925
197
|
|
|
926
|
-
|
|
198
|
+
type CheckboxSize = 'sm' | 'md' | 'lg';
|
|
199
|
+
type CheckboxVariant = 'default' | 'outline' | 'soft' | 'success' | 'destructive';
|
|
200
|
+
interface CheckboxProps extends Omit<React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, 'size'> {
|
|
201
|
+
size?: CheckboxSize;
|
|
202
|
+
variant?: CheckboxVariant;
|
|
203
|
+
invalid?: boolean;
|
|
204
|
+
iconClassName?: string;
|
|
205
|
+
}
|
|
206
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
927
207
|
|
|
928
208
|
declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
929
209
|
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1096,104 +376,147 @@ declare const DropdownMenuShortcut: {
|
|
|
1096
376
|
displayName: string;
|
|
1097
377
|
};
|
|
1098
378
|
|
|
1099
|
-
type FormProps<
|
|
379
|
+
type FormProps<TFieldValues extends FieldValues> = {
|
|
1100
380
|
children: React$1.ReactNode;
|
|
1101
|
-
methods: UseFormReturn<
|
|
1102
|
-
onSubmit?: SubmitHandler<
|
|
1103
|
-
onError?: SubmitErrorHandler<
|
|
1104
|
-
formProps?: React$1.FormHTMLAttributes<HTMLFormElement>;
|
|
381
|
+
methods: UseFormReturn<TFieldValues>;
|
|
382
|
+
onSubmit?: SubmitHandler<TFieldValues>;
|
|
383
|
+
onError?: SubmitErrorHandler<TFieldValues>;
|
|
384
|
+
formProps?: Omit<React$1.FormHTMLAttributes<HTMLFormElement>, 'onSubmit'>;
|
|
1105
385
|
};
|
|
1106
|
-
declare
|
|
386
|
+
declare function Form<TFieldValues extends FieldValues>({ children, methods, onSubmit, onError, formProps }: FormProps<TFieldValues>): react_jsx_runtime.JSX.Element;
|
|
1107
387
|
|
|
1108
|
-
type
|
|
388
|
+
type CheckboxRules<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs' | 'disabled'>;
|
|
389
|
+
type FormCheckboxProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = {
|
|
390
|
+
name: TName;
|
|
391
|
+
control?: Control<TFieldValues>;
|
|
392
|
+
rules?: CheckboxRules<TFieldValues, TName>;
|
|
393
|
+
shouldUnregister?: boolean;
|
|
394
|
+
defaultValue?: FieldPathValue<TFieldValues, TName>;
|
|
395
|
+
label?: React$1.ReactNode;
|
|
396
|
+
description?: React$1.ReactNode;
|
|
397
|
+
requiredLabel?: boolean;
|
|
398
|
+
className?: string;
|
|
399
|
+
itemClassName?: string;
|
|
400
|
+
checkboxClassName?: string;
|
|
401
|
+
labelClassName?: string;
|
|
402
|
+
descriptionClassName?: string;
|
|
403
|
+
messageClassName?: string;
|
|
404
|
+
requiredLabelClassName?: string;
|
|
405
|
+
onChange?: (checked: boolean) => void;
|
|
406
|
+
} & Omit<CheckboxProps, 'checked' | 'defaultChecked' | 'onCheckedChange'>;
|
|
407
|
+
declare const FormCheckbox: {
|
|
408
|
+
<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({ name, control, rules, shouldUnregister, defaultValue, label, description, requiredLabel, className, itemClassName, checkboxClassName, labelClassName, descriptionClassName, messageClassName, requiredLabelClassName, onChange, ...checkboxProps }: FormCheckboxProps<TFieldValues, TName>): react_jsx_runtime.JSX.Element;
|
|
409
|
+
displayName: string;
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
413
|
+
size?: "sm" | "md" | "lg";
|
|
414
|
+
variant?: "outline" | "soft" | "ghost" | "filled" | "flushed" | "unstyled" | "link";
|
|
415
|
+
leading?: React$1.ReactNode;
|
|
416
|
+
trailing?: React$1.ReactNode;
|
|
417
|
+
invalid?: boolean;
|
|
418
|
+
classNameDefault?: boolean;
|
|
419
|
+
placeholder?: string;
|
|
420
|
+
className?: string;
|
|
421
|
+
}
|
|
422
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
423
|
+
|
|
424
|
+
type SelectOption<TData = unknown> = {
|
|
1109
425
|
value: string;
|
|
1110
|
-
label:
|
|
426
|
+
label: React$1.ReactNode;
|
|
1111
427
|
disabled?: boolean;
|
|
1112
|
-
data?:
|
|
428
|
+
data?: TData;
|
|
1113
429
|
};
|
|
1114
|
-
type InputVariantProps
|
|
1115
|
-
declare const inputVariants
|
|
1116
|
-
type InputVariant
|
|
1117
|
-
declare const variants: Record<InputVariant
|
|
1118
|
-
type
|
|
1119
|
-
type
|
|
430
|
+
type InputVariantProps = "outline" | "soft" | "ghost" | "filled" | "flushed" | "unstyled" | "link";
|
|
431
|
+
declare const inputVariants: Record<InputVariantProps, string>;
|
|
432
|
+
type InputVariant = keyof typeof inputVariants;
|
|
433
|
+
declare const variants: Record<InputVariant, string>;
|
|
434
|
+
type SizeProps$1 = "sm" | "md" | "lg";
|
|
435
|
+
type VariantProps = InputVariant;
|
|
436
|
+
type FieldRules<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = Omit<RegisterOptions<TFieldValues, TName>, "valueAsNumber" | "valueAsDate" | "setValueAs" | "disabled" | "size">;
|
|
1120
437
|
type CustomFormFieldProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = {
|
|
1121
438
|
name: TName;
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
variant?: VariantProps$2;
|
|
1125
|
-
leading?: React__default.ReactNode;
|
|
1126
|
-
trailing?: React__default.ReactNode;
|
|
1127
|
-
invalid?: boolean;
|
|
439
|
+
control?: Control<TFieldValues>;
|
|
440
|
+
rules?: FieldRules<TFieldValues, TName>;
|
|
1128
441
|
shouldUnregister?: boolean;
|
|
1129
442
|
defaultValue?: FieldPathValue<TFieldValues, TName>;
|
|
1130
|
-
|
|
443
|
+
label?: React$1.ReactNode;
|
|
444
|
+
requiredLabel?: boolean;
|
|
1131
445
|
placeholder?: string;
|
|
446
|
+
size?: SizeProps$1;
|
|
447
|
+
variant?: VariantProps;
|
|
448
|
+
leading?: React$1.ReactNode;
|
|
449
|
+
trailing?: React$1.ReactNode;
|
|
450
|
+
invalid?: boolean;
|
|
1132
451
|
className?: string;
|
|
1133
452
|
classNameDefault?: boolean;
|
|
453
|
+
itemClassName?: string;
|
|
1134
454
|
labelClassName?: string;
|
|
1135
455
|
messageClassName?: string;
|
|
1136
456
|
requiredLabelClassName?: string;
|
|
1137
|
-
label?: string;
|
|
1138
|
-
requiredLabel?: boolean;
|
|
1139
457
|
onChange?: (value: string) => void;
|
|
1140
|
-
} & Omit<
|
|
1141
|
-
declare const FormField:
|
|
1142
|
-
|
|
458
|
+
} & Omit<InputProps, "name" | "defaultValue" | "size" | "value" | "onChange">;
|
|
459
|
+
declare const FormField: {
|
|
460
|
+
<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({ name, control, label, placeholder, requiredLabel, className, classNameDefault, itemClassName, labelClassName, messageClassName, requiredLabelClassName, variant, size, rules, shouldUnregister, defaultValue, leading, trailing, invalid, onChange, ...inputProps }: CustomFormFieldProps<TFieldValues, TName>): react_jsx_runtime.JSX.Element;
|
|
461
|
+
displayName: string;
|
|
462
|
+
};
|
|
463
|
+
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1143
464
|
declare const useFormField: () => {
|
|
1144
465
|
id: string;
|
|
1145
466
|
formItemId: string;
|
|
1146
467
|
formDescriptionId: string;
|
|
1147
468
|
formMessageId: string;
|
|
1148
|
-
error:
|
|
469
|
+
error: undefined;
|
|
1149
470
|
} | {
|
|
1150
471
|
invalid: boolean;
|
|
1151
472
|
isDirty: boolean;
|
|
1152
473
|
isTouched: boolean;
|
|
1153
474
|
isValidating: boolean;
|
|
1154
|
-
error?:
|
|
475
|
+
error?: FieldError;
|
|
1155
476
|
id: string;
|
|
1156
477
|
name: string;
|
|
1157
478
|
formItemId: string;
|
|
1158
479
|
formDescriptionId: string;
|
|
1159
480
|
formMessageId: string;
|
|
1160
481
|
};
|
|
1161
|
-
declare const FormLabel:
|
|
1162
|
-
declare const FormControl:
|
|
1163
|
-
declare const FormDescription:
|
|
1164
|
-
declare const FormMessage:
|
|
1165
|
-
type CustomFormSelectProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>, TItem =
|
|
482
|
+
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
483
|
+
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
484
|
+
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
485
|
+
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
486
|
+
type CustomFormSelectProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>, TItem = SelectOption> = {
|
|
1166
487
|
name: TName;
|
|
1167
|
-
control?: Control<TFieldValues
|
|
1168
|
-
rules?:
|
|
488
|
+
control?: Control<TFieldValues>;
|
|
489
|
+
rules?: FieldRules<TFieldValues, TName>;
|
|
1169
490
|
shouldUnregister?: boolean;
|
|
1170
491
|
defaultValue?: FieldPathValue<TFieldValues, TName>;
|
|
1171
|
-
|
|
1172
|
-
label?: string;
|
|
492
|
+
label?: React$1.ReactNode;
|
|
1173
493
|
requiredLabel?: boolean;
|
|
1174
|
-
|
|
1175
|
-
contentClassName?: string;
|
|
1176
|
-
labelClassName?: string;
|
|
1177
|
-
messageClassName?: string;
|
|
1178
|
-
requiredLabelClassName?: string;
|
|
494
|
+
placeholder?: string;
|
|
1179
495
|
options?: SelectOption<TItem>[];
|
|
1180
496
|
items?: TItem[];
|
|
1181
497
|
getOptionValue?: (item: TItem) => string;
|
|
1182
|
-
getOptionLabel?: (item: TItem) =>
|
|
498
|
+
getOptionLabel?: (item: TItem) => React$1.ReactNode;
|
|
1183
499
|
getOptionDisabled?: (item: TItem) => boolean;
|
|
1184
|
-
getOptionData?: (item: TItem) =>
|
|
1185
|
-
children?:
|
|
500
|
+
getOptionData?: (item: TItem) => unknown;
|
|
501
|
+
children?: React$1.ReactNode;
|
|
1186
502
|
onChange?: (value: string) => void;
|
|
1187
503
|
onChangeItem?: (item: TItem | null) => void;
|
|
1188
504
|
disabled?: boolean;
|
|
1189
505
|
size?: SizeProps$1;
|
|
1190
|
-
variant?: VariantProps
|
|
506
|
+
variant?: VariantProps;
|
|
1191
507
|
invalid?: boolean;
|
|
1192
508
|
searchable?: boolean;
|
|
1193
509
|
searchPlaceholder?: string;
|
|
510
|
+
emptyText?: React$1.ReactNode;
|
|
511
|
+
className?: string;
|
|
512
|
+
itemClassName?: string;
|
|
513
|
+
contentClassName?: string;
|
|
514
|
+
labelClassName?: string;
|
|
515
|
+
messageClassName?: string;
|
|
516
|
+
requiredLabelClassName?: string;
|
|
1194
517
|
};
|
|
1195
518
|
declare const FormSelect: {
|
|
1196
|
-
<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({ name, control, rules, shouldUnregister, defaultValue, placeholder, label, requiredLabel, className, contentClassName, labelClassName, messageClassName, requiredLabelClassName, items, children, onChange, disabled, size, variant, invalid, searchable, searchPlaceholder }: CustomFormSelectProps<TFieldValues, TName>): react_jsx_runtime.JSX.Element;
|
|
519
|
+
<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>, TItem = SelectOption<unknown>>({ name, control, rules, shouldUnregister, defaultValue, placeholder, label, requiredLabel, className, itemClassName, contentClassName, labelClassName, messageClassName, requiredLabelClassName, options, items, getOptionValue, getOptionLabel, getOptionDisabled, getOptionData, children, onChange, onChangeItem, disabled, size, variant, invalid, searchable, searchPlaceholder, emptyText, }: CustomFormSelectProps<TFieldValues, TName, TItem>): react_jsx_runtime.JSX.Element;
|
|
1197
520
|
displayName: string;
|
|
1198
521
|
};
|
|
1199
522
|
|
|
@@ -1233,19 +556,7 @@ interface IconProps {
|
|
|
1233
556
|
|
|
1234
557
|
declare const Icons: IconProps;
|
|
1235
558
|
|
|
1236
|
-
|
|
1237
|
-
size?: "sm" | "md" | "lg";
|
|
1238
|
-
variant?: "outline" | "soft" | "ghost" | "filled" | "flushed" | "unstyled" | "link";
|
|
1239
|
-
leading?: React$1.ReactNode;
|
|
1240
|
-
trailing?: React$1.ReactNode;
|
|
1241
|
-
invalid?: boolean;
|
|
1242
|
-
classNameDefault?: boolean;
|
|
1243
|
-
placeholder?: string;
|
|
1244
|
-
className?: string;
|
|
1245
|
-
}
|
|
1246
|
-
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
1247
|
-
|
|
1248
|
-
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "textAlign" | "maxLength" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
559
|
+
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
1249
560
|
value?: string;
|
|
1250
561
|
onChange?: (newValue: string) => unknown;
|
|
1251
562
|
maxLength: number;
|
|
@@ -1258,7 +569,7 @@ declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.Inp
|
|
|
1258
569
|
} & {
|
|
1259
570
|
render: (props: input_otp.RenderProps) => React$1.ReactNode;
|
|
1260
571
|
children?: never;
|
|
1261
|
-
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "
|
|
572
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
1262
573
|
value?: string;
|
|
1263
574
|
onChange?: (newValue: string) => unknown;
|
|
1264
575
|
maxLength: number;
|
|
@@ -1278,7 +589,7 @@ declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<React$1.Detai
|
|
|
1278
589
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1279
590
|
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1280
591
|
|
|
1281
|
-
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps$
|
|
592
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps$1<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1282
593
|
|
|
1283
594
|
declare const MenubarMenu: {
|
|
1284
595
|
(props: MenubarPrimitive.MenubarMenuProps & {
|
|
@@ -1394,6 +705,28 @@ type SearchInputProps = {
|
|
|
1394
705
|
};
|
|
1395
706
|
declare function SearchInput({ value, placeholder, className, classNameDefault, debounceTime, onSearch, }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
1396
707
|
|
|
708
|
+
type SearchableSelectOption<TData = unknown> = {
|
|
709
|
+
value: string;
|
|
710
|
+
label: React$1.ReactNode;
|
|
711
|
+
disabled?: boolean;
|
|
712
|
+
keywords?: string;
|
|
713
|
+
data?: TData;
|
|
714
|
+
};
|
|
715
|
+
type SearchableSelectProps<TData = unknown> = Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, 'onValueChange'> & {
|
|
716
|
+
items: SearchableSelectOption<TData>[];
|
|
717
|
+
value?: string;
|
|
718
|
+
defaultValue?: string;
|
|
719
|
+
onValueChange?: (value: string, item?: SearchableSelectOption<TData>) => void;
|
|
720
|
+
placeholder?: string;
|
|
721
|
+
searchPlaceholder?: string;
|
|
722
|
+
emptyText?: React$1.ReactNode;
|
|
723
|
+
triggerClassName?: string;
|
|
724
|
+
contentClassName?: string;
|
|
725
|
+
itemClassName?: string;
|
|
726
|
+
searchInputClassName?: string;
|
|
727
|
+
};
|
|
728
|
+
declare function SearchableSelect<TData = unknown>({ items, value, defaultValue, onValueChange, placeholder, searchPlaceholder, emptyText, triggerClassName, contentClassName, itemClassName, searchInputClassName, ...rootProps }: SearchableSelectProps<TData>): react_jsx_runtime.JSX.Element;
|
|
729
|
+
|
|
1397
730
|
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
1398
731
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1399
732
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
@@ -1413,9 +746,9 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dial
|
|
|
1413
746
|
declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
1414
747
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1415
748
|
declare const sheetVariants: (props?: ({
|
|
1416
|
-
side?: "
|
|
749
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
1417
750
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1418
|
-
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps$
|
|
751
|
+
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps$1<typeof sheetVariants> {
|
|
1419
752
|
}
|
|
1420
753
|
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1421
754
|
declare const SheetHeader: {
|
|
@@ -1433,8 +766,8 @@ declare function Skeleton({ className, ...props }: React$1.HTMLAttributes<HTMLDi
|
|
|
1433
766
|
|
|
1434
767
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1435
768
|
|
|
1436
|
-
type
|
|
1437
|
-
declare const
|
|
769
|
+
type SonnerToasterProps = React$1.ComponentProps<typeof Toaster$1>;
|
|
770
|
+
declare const ToasterSonner: ({ ...props }: SonnerToasterProps) => react_jsx_runtime.JSX.Element;
|
|
1438
771
|
|
|
1439
772
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1440
773
|
|
|
@@ -1460,7 +793,7 @@ declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$
|
|
|
1460
793
|
|
|
1461
794
|
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
1462
795
|
declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
1463
|
-
declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps$
|
|
796
|
+
declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps$1<(props?: ({
|
|
1464
797
|
variant?: "default" | "destructive" | null | undefined;
|
|
1465
798
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
|
|
1466
799
|
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1470,20 +803,22 @@ declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrim
|
|
|
1470
803
|
type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
|
|
1471
804
|
type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
|
|
1472
805
|
|
|
806
|
+
declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
807
|
+
|
|
1473
808
|
declare const toggleVariants: (props?: ({
|
|
1474
809
|
variant?: "default" | "outline" | null | undefined;
|
|
1475
810
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1476
811
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1477
|
-
declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps$
|
|
812
|
+
declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps$1<(props?: ({
|
|
1478
813
|
variant?: "default" | "outline" | null | undefined;
|
|
1479
814
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1480
815
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1481
816
|
|
|
1482
|
-
declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps$
|
|
817
|
+
declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps$1<(props?: ({
|
|
1483
818
|
variant?: "default" | "outline" | null | undefined;
|
|
1484
819
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1485
820
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React$1.RefAttributes<HTMLDivElement>>;
|
|
1486
|
-
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps$
|
|
821
|
+
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps$1<(props?: ({
|
|
1487
822
|
variant?: "default" | "outline" | null | undefined;
|
|
1488
823
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1489
824
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1535,6 +870,76 @@ declare function useToast(): {
|
|
|
1535
870
|
toasts: ToasterToast[];
|
|
1536
871
|
};
|
|
1537
872
|
|
|
873
|
+
interface UiInputProps extends Omit<InputProps, 'id'> {
|
|
874
|
+
label?: React$1.ReactNode;
|
|
875
|
+
errorMessage?: string;
|
|
876
|
+
htmlFormItemId?: string;
|
|
877
|
+
requiredLabel?: boolean;
|
|
878
|
+
requiredLabelClassName?: string;
|
|
879
|
+
containerClassName?: string;
|
|
880
|
+
labelClassName?: string;
|
|
881
|
+
messageClassName?: string;
|
|
882
|
+
}
|
|
883
|
+
declare const UiInput: React$1.ForwardRefExoticComponent<UiInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
884
|
+
|
|
885
|
+
type SelectVariantProps = 'outline' | 'soft' | 'ghost' | 'filled' | 'flushed' | 'unstyled' | 'link';
|
|
886
|
+
declare const selectVariants: Record<SelectVariantProps, string>;
|
|
887
|
+
type SelectVariant = keyof typeof selectVariants;
|
|
888
|
+
|
|
889
|
+
type UiSelectOption<TData = unknown> = {
|
|
890
|
+
value: string;
|
|
891
|
+
label: React$1.ReactNode;
|
|
892
|
+
disabled?: boolean;
|
|
893
|
+
data?: TData;
|
|
894
|
+
};
|
|
895
|
+
type SizeProps = 'sm' | 'md' | 'lg';
|
|
896
|
+
interface UiSelectProps<TData = unknown> {
|
|
897
|
+
label?: React$1.ReactNode;
|
|
898
|
+
placeholder?: string;
|
|
899
|
+
value?: string;
|
|
900
|
+
defaultValue?: string;
|
|
901
|
+
onChange?: (value: string) => void;
|
|
902
|
+
items?: UiSelectOption<TData>[];
|
|
903
|
+
children?: React$1.ReactNode;
|
|
904
|
+
disabled?: boolean;
|
|
905
|
+
requiredLabel?: boolean;
|
|
906
|
+
className?: string;
|
|
907
|
+
selectClassName?: string;
|
|
908
|
+
labelClassName?: string;
|
|
909
|
+
contentClassName?: string;
|
|
910
|
+
itemClassName?: string;
|
|
911
|
+
messageClassName?: string;
|
|
912
|
+
requiredLabelClassName?: string;
|
|
913
|
+
size?: SizeProps;
|
|
914
|
+
variant?: SelectVariant;
|
|
915
|
+
errorMessage?: string;
|
|
916
|
+
htmlFormItemId?: string;
|
|
917
|
+
}
|
|
918
|
+
declare function UiSelect<TData = unknown>({ label, placeholder, value, defaultValue, onChange, items, children, disabled, requiredLabel, className, selectClassName, labelClassName, contentClassName, itemClassName, messageClassName, requiredLabelClassName, size, variant, errorMessage, htmlFormItemId }: UiSelectProps<TData>): react_jsx_runtime.JSX.Element;
|
|
919
|
+
|
|
920
|
+
interface UiCheckboxProps extends CheckboxProps {
|
|
921
|
+
label?: React$1.ReactNode;
|
|
922
|
+
description?: React$1.ReactNode;
|
|
923
|
+
errorMessage?: string;
|
|
924
|
+
containerClassName?: string;
|
|
925
|
+
contentClassName?: string;
|
|
926
|
+
labelClassName?: string;
|
|
927
|
+
descriptionClassName?: string;
|
|
928
|
+
errorClassName?: string;
|
|
929
|
+
requiredLabelClassName?: string;
|
|
930
|
+
requiredLabel?: boolean;
|
|
931
|
+
htmlFormItemId?: string;
|
|
932
|
+
}
|
|
933
|
+
declare const UiCheckbox: React$1.ForwardRefExoticComponent<UiCheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
934
|
+
|
|
935
|
+
declare const useSidebar: () => {
|
|
936
|
+
isMinimized: boolean;
|
|
937
|
+
toggle: () => void;
|
|
938
|
+
};
|
|
939
|
+
declare const SidebarProvider: React__default.FC<{
|
|
940
|
+
children: React__default.ReactNode;
|
|
941
|
+
}>;
|
|
942
|
+
|
|
1538
943
|
type TAlertModalProps = {
|
|
1539
944
|
isOpen: boolean;
|
|
1540
945
|
onClose: () => void;
|
|
@@ -1551,7 +956,7 @@ declare const AlertModal: ({ isOpen, onClose, onConfirm, loading, title, descrip
|
|
|
1551
956
|
|
|
1552
957
|
type BreadcrumbItemProps = {
|
|
1553
958
|
title: string;
|
|
1554
|
-
link
|
|
959
|
+
link?: string;
|
|
1555
960
|
className?: string;
|
|
1556
961
|
};
|
|
1557
962
|
type BreadcrumbsProps = {
|
|
@@ -1560,7 +965,7 @@ type BreadcrumbsProps = {
|
|
|
1560
965
|
classNameList?: string;
|
|
1561
966
|
separator?: React$1.ReactNode;
|
|
1562
967
|
};
|
|
1563
|
-
declare function Breadcrumbs({ items, className, classNameList }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
|
|
968
|
+
declare function Breadcrumbs({ items, className, classNameList, separator }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
|
|
1564
969
|
|
|
1565
970
|
/** =========
|
|
1566
971
|
* SLOTS
|
|
@@ -1737,14 +1142,33 @@ type DataTableSkeletonProps = {
|
|
|
1737
1142
|
};
|
|
1738
1143
|
declare function DataTableSkeleton({ columnCount, rowCount, searchableColumnCount, filterableColumnCount, showViewOptions, }: DataTableSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
1739
1144
|
|
|
1740
|
-
type
|
|
1145
|
+
type DropzoneProps = {
|
|
1146
|
+
label?: string;
|
|
1147
|
+
description?: string;
|
|
1148
|
+
descriptionActive?: string;
|
|
1149
|
+
onChange?: (value: File[]) => void;
|
|
1150
|
+
onDrop?: (value: File[]) => void;
|
|
1151
|
+
value?: File[];
|
|
1152
|
+
className?: string;
|
|
1153
|
+
descriptionClassName?: string;
|
|
1154
|
+
dropzoneClassName?: string;
|
|
1155
|
+
valueClassName?: string;
|
|
1156
|
+
labelClassName?: string;
|
|
1157
|
+
accept?: Accept;
|
|
1158
|
+
options?: DropzoneOptions;
|
|
1159
|
+
};
|
|
1160
|
+
declare function Dropzone({ label, onChange, onDrop, value, className, description, descriptionActive, accept, options, descriptionClassName, dropzoneClassName, valueClassName, labelClassName, }: DropzoneProps): react_jsx_runtime.JSX.Element;
|
|
1161
|
+
|
|
1162
|
+
type FileUploadProps = {
|
|
1741
1163
|
label?: string;
|
|
1742
1164
|
onChange: (value: File[]) => void;
|
|
1743
|
-
value
|
|
1165
|
+
value?: File[];
|
|
1744
1166
|
className?: string;
|
|
1745
1167
|
classNameContent?: string;
|
|
1168
|
+
accept?: Accept;
|
|
1169
|
+
options?: DropzoneOptions;
|
|
1746
1170
|
};
|
|
1747
|
-
declare function FileUpload({ onChange, value, label, className, classNameContent, }:
|
|
1171
|
+
declare function FileUpload({ onChange, value, label, className, classNameContent, accept, options }: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
1748
1172
|
declare function ImagePreview({ file }: {
|
|
1749
1173
|
file: File;
|
|
1750
1174
|
}): react_jsx_runtime.JSX.Element | null;
|
|
@@ -1756,9 +1180,10 @@ type THeadingProps = {
|
|
|
1756
1180
|
};
|
|
1757
1181
|
declare function Heading({ title, description, className }: THeadingProps): react_jsx_runtime.JSX.Element;
|
|
1758
1182
|
|
|
1759
|
-
|
|
1760
|
-
title?: string
|
|
1761
|
-
}
|
|
1183
|
+
type PageHeadProps = {
|
|
1184
|
+
title?: string;
|
|
1185
|
+
};
|
|
1186
|
+
declare function PageHead({ title }: PageHeadProps): react_jsx_runtime.JSX.Element;
|
|
1762
1187
|
|
|
1763
1188
|
type TPaginationSectionProps = {
|
|
1764
1189
|
totalPosts: number;
|
|
@@ -1768,70 +1193,6 @@ type TPaginationSectionProps = {
|
|
|
1768
1193
|
};
|
|
1769
1194
|
declare function PaginationSection({ totalPosts, postsPerPage, currentPage, setCurrentPage, }: TPaginationSectionProps): react_jsx_runtime.JSX.Element;
|
|
1770
1195
|
|
|
1771
|
-
type TFileUploadProps = {
|
|
1772
|
-
label?: string;
|
|
1773
|
-
description?: string;
|
|
1774
|
-
descriptionActive?: string;
|
|
1775
|
-
onChange: (value: File[]) => void;
|
|
1776
|
-
value?: File[];
|
|
1777
|
-
className?: string;
|
|
1778
|
-
descriptionClassName?: string;
|
|
1779
|
-
dropzoneClassName?: string;
|
|
1780
|
-
valueClassName?: string;
|
|
1781
|
-
labelClassName?: string;
|
|
1782
|
-
accept?: Accept;
|
|
1783
|
-
options?: DropzoneOptions;
|
|
1784
|
-
};
|
|
1785
|
-
declare function Dropzone({ label, onChange, value, className, description, descriptionActive, accept, options, descriptionClassName, dropzoneClassName, valueClassName, labelClassName, }: TFileUploadProps): react_jsx_runtime.JSX.Element;
|
|
1786
|
-
|
|
1787
|
-
type SelectVariantProps = "outline" | "soft" | "ghost" | "filled" | "flushed" | "unstyled" | "link";
|
|
1788
|
-
declare const inputVariants$1: Record<SelectVariantProps, string>;
|
|
1789
|
-
type SelectVariant = keyof typeof inputVariants$1;
|
|
1790
|
-
|
|
1791
|
-
type VariantProps$1 = SelectVariant;
|
|
1792
|
-
type SizeProps = "sm" | "md" | "lg";
|
|
1793
|
-
interface UiSelectProps {
|
|
1794
|
-
ref?: React$1.Ref<HTMLLabelElement>;
|
|
1795
|
-
label?: string;
|
|
1796
|
-
placeholder?: string;
|
|
1797
|
-
value?: string;
|
|
1798
|
-
onChange?: (value: string) => void;
|
|
1799
|
-
items?: any[];
|
|
1800
|
-
children?: React$1.ReactNode;
|
|
1801
|
-
className?: string;
|
|
1802
|
-
selectClassName?: string;
|
|
1803
|
-
labelClassName?: string;
|
|
1804
|
-
contentClassName?: string;
|
|
1805
|
-
size?: SizeProps;
|
|
1806
|
-
variant?: VariantProps$1;
|
|
1807
|
-
errorMessage?: string;
|
|
1808
|
-
htmlFormItemId?: string;
|
|
1809
|
-
}
|
|
1810
|
-
declare function UiSelect({ ref, label, placeholder, value, onChange, items, children, className, selectClassName, labelClassName, contentClassName, size, variant, errorMessage, htmlFormItemId: formItemId, }: UiSelectProps): react_jsx_runtime.JSX.Element;
|
|
1811
|
-
|
|
1812
|
-
type InputVariantProps = "outline" | "soft" | "ghost" | "filled" | "flushed" | "unstyled" | "link";
|
|
1813
|
-
declare const inputVariants: Record<InputVariantProps, string>;
|
|
1814
|
-
type InputVariant = keyof typeof inputVariants;
|
|
1815
|
-
|
|
1816
|
-
type VariantProps = InputVariant;
|
|
1817
|
-
interface UiInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
1818
|
-
ref?: React$1.Ref<HTMLLabelElement>;
|
|
1819
|
-
label?: string;
|
|
1820
|
-
placeholder?: string;
|
|
1821
|
-
value?: string;
|
|
1822
|
-
onChange?: React$1.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
1823
|
-
className?: string;
|
|
1824
|
-
classNameDefault?: boolean;
|
|
1825
|
-
requiredLabel?: boolean;
|
|
1826
|
-
requiredLabelClassName?: string;
|
|
1827
|
-
labelClassName?: string;
|
|
1828
|
-
inputClassName?: string;
|
|
1829
|
-
variant?: VariantProps;
|
|
1830
|
-
errorMessage?: string;
|
|
1831
|
-
htmlFormItemId?: string;
|
|
1832
|
-
}
|
|
1833
|
-
declare function UiInput({ ref, label, placeholder, onChange, className, classNameDefault, labelClassName, inputClassName, variant, errorMessage, htmlFormItemId: formItemId, requiredLabel, requiredLabelClassName, ...inputProps }: UiInputProps): react_jsx_runtime.JSX.Element;
|
|
1834
|
-
|
|
1835
1196
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1836
1197
|
|
|
1837
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertModal, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DATA_TABLE_TEMPLATES, DataTable, type DataTableAccent, DataTableSkeleton, type DataTableSlots, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormSelect, Heading, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, type IconButtonProps, Icons, ImagePreview, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant
|
|
1198
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertModal, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomFormFieldProps, type CustomFormSelectProps, DATA_TABLE_TEMPLATES, DataTable, type DataTableAccent, type DataTableProps, DataTableSkeleton, type DataTableSlots, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, type DropzoneProps, FileUpload, type FileUploadProps, Form, FormCheckbox, type FormCheckboxProps, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormProps, FormSelect, Heading, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, type IconButtonProps, Icons, ImagePreview, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, type InputVariantProps, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageHead, type PageHeadProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationNextLast, PaginationPrevious, PaginationPreviousLast, PaginationSection, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchInput, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarProvider, Skeleton, Slider, ToasterSonner as SonnerToaster, type SonnerToasterProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, ToasterSonner, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UiCheckbox, type UiCheckboxProps, UiInput, type UiInputProps, UiSelect, type UiSelectOption, type UiSelectProps, badgeVariants, buttonVariants, cn, iconButtonVariants, inputVariants, navigationMenuTriggerStyle, reducer, toast, toggleVariants, useFormField, useSidebar, useToast, variants };
|