@customafk/lunas-ui 0.1.89 → 0.1.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{button-CiLsnjev.d.mts → button-BvYyHp5J.d.cts} +6 -6
- package/dist/{button-Dphc1TZp.d.cts → button-DJztTT3w.d.mts} +6 -6
- package/dist/cards/simple-card.d.mts +2 -2
- package/dist/data-display/empty.d.cts +2 -2
- package/dist/data-display/empty.d.mts +2 -2
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/data-display/statistic.d.mts +2 -2
- package/dist/{dialog-DwkejzpS.d.mts → dialog-BiJ-214y.d.cts} +12 -12
- package/dist/{dialog-CwGD6AJw.d.cts → dialog-qO7H5Fo2.d.mts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +26 -26
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +24 -24
- package/dist/features/descriptions/index.d.cts +4 -4
- package/dist/features/descriptions/index.d.mts +4 -4
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/tables/index.d.cts +7 -7
- package/dist/features/tables/index.d.mts +7 -7
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.cjs.map +1 -1
- package/dist/features/tanstack-form/index.d.cts +418 -131
- package/dist/features/tanstack-form/index.d.mts +418 -131
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/features/tanstack-form/index.mjs.map +1 -1
- package/dist/{input-mq2wP0OC.d.mts → input-BEOI1YdT.d.cts} +5 -5
- package/dist/{input-DqCWojD4.d.cts → input-Dte5t_7i.d.mts} +6 -6
- package/dist/layouts/flex.d.cts +2 -2
- package/dist/layouts/flex.d.mts +4 -4
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/typography/paragraph.d.cts +2 -2
- package/dist/typography/paragraph.d.mts +2 -2
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.mts +2 -2
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert.d.cts +7 -7
- package/dist/ui/alert.d.mts +7 -7
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/badge.d.cts +4 -4
- package/dist/ui/badge.d.mts +4 -4
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +6 -6
- package/dist/ui/button-group.d.mts +6 -6
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.d.cts +24 -24
- package/dist/ui/field.d.mts +24 -24
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/form.d.cts +11 -11
- package/dist/ui/form.d.mts +11 -11
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/item.d.cts +14 -14
- package/dist/ui/item.d.mts +14 -14
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.mts +3 -3
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.mts +9 -9
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/popover.d.cts +5 -5
- package/dist/ui/popover.d.mts +5 -5
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.mts +4 -4
- package/dist/ui/scroll-area.d.cts +6 -6
- package/dist/ui/scroll-area.d.mts +6 -6
- package/dist/ui/select.d.cts +11 -11
- package/dist/ui/select.d.mts +11 -11
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +18 -18
- package/dist/ui/table.d.mts +9 -9
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +2 -2
- package/dist/ui/toggle.d.mts +4 -4
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
|
@@ -1,11 +1,64 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime349 from "react/jsx-runtime";
|
|
2
|
+
import * as react229 from "react";
|
|
3
|
+
import * as class_variance_authority_types20 from "class-variance-authority/types";
|
|
4
|
+
import * as class_variance_authority0 from "class-variance-authority";
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
import { Label } from "radix-ui";
|
|
2
7
|
import * as _tanstack_form_core0 from "@tanstack/form-core";
|
|
3
8
|
import * as _tanstack_react_form0 from "@tanstack/react-form";
|
|
4
9
|
|
|
10
|
+
//#region packages/components/features/tanstack-form/components/ui/label.d.ts
|
|
11
|
+
declare function Label$1({
|
|
12
|
+
className,
|
|
13
|
+
children,
|
|
14
|
+
...props
|
|
15
|
+
}: React.ComponentProps<typeof Label.Root>): react_jsx_runtime349.JSX.Element;
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region packages/components/features/tanstack-form/components/ui/field.d.ts
|
|
18
|
+
declare const fieldVariants: (props?: ({
|
|
19
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string;
|
|
21
|
+
declare const FieldGroup: react229.MemoExoticComponent<({
|
|
22
|
+
className,
|
|
23
|
+
...props
|
|
24
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
25
|
+
declare const Field: react229.MemoExoticComponent<({
|
|
26
|
+
className,
|
|
27
|
+
orientation,
|
|
28
|
+
...props
|
|
29
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react_jsx_runtime349.JSX.Element>;
|
|
30
|
+
declare const FieldContent: react229.MemoExoticComponent<({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
34
|
+
declare const FieldContentMain: react229.MemoExoticComponent<({
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
38
|
+
declare const FieldLabel: react229.MemoExoticComponent<({
|
|
39
|
+
className,
|
|
40
|
+
...props
|
|
41
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
42
|
+
declare const FieldSeparator: react229.MemoExoticComponent<({
|
|
43
|
+
children,
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
47
|
+
declare const FieldError: react229.MemoExoticComponent<({
|
|
48
|
+
className,
|
|
49
|
+
children,
|
|
50
|
+
errors,
|
|
51
|
+
...props
|
|
52
|
+
}: React.ComponentProps<"div"> & {
|
|
53
|
+
errors?: Array<{
|
|
54
|
+
message?: string;
|
|
55
|
+
} | undefined>;
|
|
56
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
57
|
+
//#endregion
|
|
5
58
|
//#region packages/components/features/tanstack-form/tanstack-form.d.ts
|
|
6
59
|
declare const useTanStackFieldContext: <TData>() => _tanstack_form_core0.FieldApi<any, string, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>, useTanStackFormContext: () => _tanstack_react_form0.ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
|
|
7
60
|
declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_form_core0.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
8
|
-
readonly TextField:
|
|
61
|
+
readonly TextField: react229.FC<Pick<{
|
|
9
62
|
label: string;
|
|
10
63
|
name: string;
|
|
11
64
|
camelCaseName: string;
|
|
@@ -35,7 +88,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
35
88
|
required?: boolean;
|
|
36
89
|
maxLength?: number;
|
|
37
90
|
}>;
|
|
38
|
-
readonly TextareaField:
|
|
91
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
39
92
|
label: string;
|
|
40
93
|
name: string;
|
|
41
94
|
camelCaseName: string;
|
|
@@ -63,7 +116,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
63
116
|
required?: boolean;
|
|
64
117
|
maxLength?: number;
|
|
65
118
|
}>;
|
|
66
|
-
readonly NumberField:
|
|
119
|
+
readonly NumberField: react229.FC<Pick<{
|
|
67
120
|
label: string;
|
|
68
121
|
name: string;
|
|
69
122
|
camelCaseName: string;
|
|
@@ -103,7 +156,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
103
156
|
required?: boolean;
|
|
104
157
|
allowNegative?: boolean;
|
|
105
158
|
}>;
|
|
106
|
-
readonly EmailField:
|
|
159
|
+
readonly EmailField: react229.FC<Pick<{
|
|
107
160
|
rules: {
|
|
108
161
|
maxLength?: number | undefined;
|
|
109
162
|
minLength?: number | undefined;
|
|
@@ -122,7 +175,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
122
175
|
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
123
176
|
maxLength?: number;
|
|
124
177
|
}>;
|
|
125
|
-
readonly PasswordField:
|
|
178
|
+
readonly PasswordField: react229.FC<{
|
|
126
179
|
description?: string | undefined;
|
|
127
180
|
label: string;
|
|
128
181
|
tooltip?: string | undefined;
|
|
@@ -131,7 +184,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
131
184
|
helperText?: string | undefined;
|
|
132
185
|
showErrorMessage?: boolean | undefined;
|
|
133
186
|
}>;
|
|
134
|
-
readonly SelectField:
|
|
187
|
+
readonly SelectField: react229.FC<Pick<{
|
|
135
188
|
options: {
|
|
136
189
|
label: string;
|
|
137
190
|
value: string;
|
|
@@ -156,10 +209,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
156
209
|
defaultValue?: string | undefined;
|
|
157
210
|
description?: string | undefined;
|
|
158
211
|
placeholder?: string | undefined;
|
|
159
|
-
}, "
|
|
212
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
160
213
|
required?: boolean;
|
|
161
214
|
}>;
|
|
162
|
-
readonly DateField:
|
|
215
|
+
readonly DateField: react229.FC<Pick<{
|
|
163
216
|
label: string;
|
|
164
217
|
name: string;
|
|
165
218
|
camelCaseName: string;
|
|
@@ -182,12 +235,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
182
235
|
minDate?: Date;
|
|
183
236
|
maxDate?: Date;
|
|
184
237
|
}>;
|
|
185
|
-
readonly SwitchField:
|
|
238
|
+
readonly SwitchField: react229.FC<{
|
|
186
239
|
description?: string | undefined;
|
|
187
240
|
label: string;
|
|
188
241
|
helperText?: string | undefined;
|
|
189
242
|
}>;
|
|
190
|
-
readonly RadioGroupField:
|
|
243
|
+
readonly RadioGroupField: react229.FC<{
|
|
191
244
|
description?: string | undefined;
|
|
192
245
|
label: string;
|
|
193
246
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -198,7 +251,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
198
251
|
}[];
|
|
199
252
|
helperText?: string | undefined;
|
|
200
253
|
}>;
|
|
201
|
-
readonly CheckboxField:
|
|
254
|
+
readonly CheckboxField: react229.FC<{
|
|
202
255
|
description?: string | undefined;
|
|
203
256
|
label: string;
|
|
204
257
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -208,44 +261,83 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
208
261
|
}[];
|
|
209
262
|
helperText?: string | undefined;
|
|
210
263
|
}>;
|
|
264
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
265
|
+
className,
|
|
266
|
+
...props
|
|
267
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
268
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
269
|
+
className,
|
|
270
|
+
orientation,
|
|
271
|
+
...props
|
|
272
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
273
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
274
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
275
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
276
|
+
className,
|
|
277
|
+
...props
|
|
278
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
279
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
280
|
+
className,
|
|
281
|
+
...props
|
|
282
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
283
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
284
|
+
className,
|
|
285
|
+
...props
|
|
286
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
287
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
288
|
+
children,
|
|
289
|
+
className,
|
|
290
|
+
...props
|
|
291
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
292
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
293
|
+
className,
|
|
294
|
+
children,
|
|
295
|
+
errors,
|
|
296
|
+
...props
|
|
297
|
+
}: React.ComponentProps<"div"> & {
|
|
298
|
+
errors?: Array<{
|
|
299
|
+
message?: string;
|
|
300
|
+
} | undefined>;
|
|
301
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
211
302
|
}, {
|
|
212
|
-
readonly TanStackDialogForm:
|
|
303
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
213
304
|
title: string;
|
|
214
305
|
submitText?: string;
|
|
215
306
|
open?: boolean;
|
|
216
307
|
onOpenChange?: (open: boolean) => void;
|
|
217
308
|
}>>;
|
|
218
|
-
readonly TanStackPopoverForm:
|
|
309
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
219
310
|
title: string;
|
|
220
311
|
open?: boolean;
|
|
312
|
+
contentClassName?: string;
|
|
221
313
|
onOpenChange?: (open: boolean) => void;
|
|
222
314
|
}>>;
|
|
223
|
-
readonly TanStackContainerForm:
|
|
224
|
-
children?:
|
|
315
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
316
|
+
children?: react229.ReactNode | undefined;
|
|
225
317
|
}>;
|
|
226
|
-
readonly TanStackSectionForm:
|
|
318
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
227
319
|
title: string;
|
|
228
320
|
}>>;
|
|
229
|
-
readonly TanStackCardForm:
|
|
321
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
230
322
|
title: string;
|
|
231
323
|
description?: string;
|
|
232
324
|
onDelete?: () => void | Promise<void>;
|
|
233
325
|
}>>;
|
|
234
|
-
readonly TanStackFieldGroup:
|
|
326
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
235
327
|
label: string;
|
|
236
328
|
description?: string;
|
|
237
329
|
helperText?: string;
|
|
238
330
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
239
331
|
}>>;
|
|
240
|
-
readonly TanStackTitleField:
|
|
332
|
+
readonly TanStackTitleField: react229.FC<{
|
|
241
333
|
title: string;
|
|
242
334
|
description?: string;
|
|
243
335
|
helperText?: string;
|
|
244
336
|
}>;
|
|
245
|
-
readonly TanStackActionsForm:
|
|
337
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
246
338
|
type?: "create" | "update";
|
|
247
339
|
}>>;
|
|
248
|
-
readonly TanStackActionSubmit:
|
|
340
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
249
341
|
label?: string;
|
|
250
342
|
className?: string;
|
|
251
343
|
}>;
|
|
@@ -253,7 +345,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
253
345
|
render,
|
|
254
346
|
props
|
|
255
347
|
}: _tanstack_react_form0.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
256
|
-
readonly TextField:
|
|
348
|
+
readonly TextField: react229.FC<Pick<{
|
|
257
349
|
label: string;
|
|
258
350
|
name: string;
|
|
259
351
|
camelCaseName: string;
|
|
@@ -283,7 +375,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
283
375
|
required?: boolean;
|
|
284
376
|
maxLength?: number;
|
|
285
377
|
}>;
|
|
286
|
-
readonly TextareaField:
|
|
378
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
287
379
|
label: string;
|
|
288
380
|
name: string;
|
|
289
381
|
camelCaseName: string;
|
|
@@ -311,7 +403,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
311
403
|
required?: boolean;
|
|
312
404
|
maxLength?: number;
|
|
313
405
|
}>;
|
|
314
|
-
readonly NumberField:
|
|
406
|
+
readonly NumberField: react229.FC<Pick<{
|
|
315
407
|
label: string;
|
|
316
408
|
name: string;
|
|
317
409
|
camelCaseName: string;
|
|
@@ -351,7 +443,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
351
443
|
required?: boolean;
|
|
352
444
|
allowNegative?: boolean;
|
|
353
445
|
}>;
|
|
354
|
-
readonly EmailField:
|
|
446
|
+
readonly EmailField: react229.FC<Pick<{
|
|
355
447
|
rules: {
|
|
356
448
|
maxLength?: number | undefined;
|
|
357
449
|
minLength?: number | undefined;
|
|
@@ -370,7 +462,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
370
462
|
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
371
463
|
maxLength?: number;
|
|
372
464
|
}>;
|
|
373
|
-
readonly PasswordField:
|
|
465
|
+
readonly PasswordField: react229.FC<{
|
|
374
466
|
description?: string | undefined;
|
|
375
467
|
label: string;
|
|
376
468
|
tooltip?: string | undefined;
|
|
@@ -379,7 +471,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
379
471
|
helperText?: string | undefined;
|
|
380
472
|
showErrorMessage?: boolean | undefined;
|
|
381
473
|
}>;
|
|
382
|
-
readonly SelectField:
|
|
474
|
+
readonly SelectField: react229.FC<Pick<{
|
|
383
475
|
options: {
|
|
384
476
|
label: string;
|
|
385
477
|
value: string;
|
|
@@ -404,10 +496,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
404
496
|
defaultValue?: string | undefined;
|
|
405
497
|
description?: string | undefined;
|
|
406
498
|
placeholder?: string | undefined;
|
|
407
|
-
}, "
|
|
499
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
408
500
|
required?: boolean;
|
|
409
501
|
}>;
|
|
410
|
-
readonly DateField:
|
|
502
|
+
readonly DateField: react229.FC<Pick<{
|
|
411
503
|
label: string;
|
|
412
504
|
name: string;
|
|
413
505
|
camelCaseName: string;
|
|
@@ -430,12 +522,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
430
522
|
minDate?: Date;
|
|
431
523
|
maxDate?: Date;
|
|
432
524
|
}>;
|
|
433
|
-
readonly SwitchField:
|
|
525
|
+
readonly SwitchField: react229.FC<{
|
|
434
526
|
description?: string | undefined;
|
|
435
527
|
label: string;
|
|
436
528
|
helperText?: string | undefined;
|
|
437
529
|
}>;
|
|
438
|
-
readonly RadioGroupField:
|
|
530
|
+
readonly RadioGroupField: react229.FC<{
|
|
439
531
|
description?: string | undefined;
|
|
440
532
|
label: string;
|
|
441
533
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -446,7 +538,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
446
538
|
}[];
|
|
447
539
|
helperText?: string | undefined;
|
|
448
540
|
}>;
|
|
449
|
-
readonly CheckboxField:
|
|
541
|
+
readonly CheckboxField: react229.FC<{
|
|
450
542
|
description?: string | undefined;
|
|
451
543
|
label: string;
|
|
452
544
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -456,50 +548,89 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
456
548
|
}[];
|
|
457
549
|
helperText?: string | undefined;
|
|
458
550
|
}>;
|
|
551
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
552
|
+
className,
|
|
553
|
+
...props
|
|
554
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
555
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
556
|
+
className,
|
|
557
|
+
orientation,
|
|
558
|
+
...props
|
|
559
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
560
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
561
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
562
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
563
|
+
className,
|
|
564
|
+
...props
|
|
565
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
566
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
567
|
+
className,
|
|
568
|
+
...props
|
|
569
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
570
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
571
|
+
className,
|
|
572
|
+
...props
|
|
573
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
574
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
575
|
+
children,
|
|
576
|
+
className,
|
|
577
|
+
...props
|
|
578
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
579
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
580
|
+
className,
|
|
581
|
+
children,
|
|
582
|
+
errors,
|
|
583
|
+
...props
|
|
584
|
+
}: React.ComponentProps<"div"> & {
|
|
585
|
+
errors?: Array<{
|
|
586
|
+
message?: string;
|
|
587
|
+
} | undefined>;
|
|
588
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
459
589
|
}, {
|
|
460
|
-
readonly TanStackDialogForm:
|
|
590
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
461
591
|
title: string;
|
|
462
592
|
submitText?: string;
|
|
463
593
|
open?: boolean;
|
|
464
594
|
onOpenChange?: (open: boolean) => void;
|
|
465
595
|
}>>;
|
|
466
|
-
readonly TanStackPopoverForm:
|
|
596
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
467
597
|
title: string;
|
|
468
598
|
open?: boolean;
|
|
599
|
+
contentClassName?: string;
|
|
469
600
|
onOpenChange?: (open: boolean) => void;
|
|
470
601
|
}>>;
|
|
471
|
-
readonly TanStackContainerForm:
|
|
472
|
-
children?:
|
|
602
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
603
|
+
children?: react229.ReactNode | undefined;
|
|
473
604
|
}>;
|
|
474
|
-
readonly TanStackSectionForm:
|
|
605
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
475
606
|
title: string;
|
|
476
607
|
}>>;
|
|
477
|
-
readonly TanStackCardForm:
|
|
608
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
478
609
|
title: string;
|
|
479
610
|
description?: string;
|
|
480
611
|
onDelete?: () => void | Promise<void>;
|
|
481
612
|
}>>;
|
|
482
|
-
readonly TanStackFieldGroup:
|
|
613
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
483
614
|
label: string;
|
|
484
615
|
description?: string;
|
|
485
616
|
helperText?: string;
|
|
486
617
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
487
618
|
}>>;
|
|
488
|
-
readonly TanStackTitleField:
|
|
619
|
+
readonly TanStackTitleField: react229.FC<{
|
|
489
620
|
title: string;
|
|
490
621
|
description?: string;
|
|
491
622
|
helperText?: string;
|
|
492
623
|
}>;
|
|
493
|
-
readonly TanStackActionsForm:
|
|
624
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
494
625
|
type?: "create" | "update";
|
|
495
626
|
}>>;
|
|
496
|
-
readonly TanStackActionSubmit:
|
|
627
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
497
628
|
label?: string;
|
|
498
629
|
className?: string;
|
|
499
630
|
}>;
|
|
500
|
-
}, TRenderProps>) =>
|
|
631
|
+
}, TRenderProps>) => react229.FunctionComponent<react229.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
501
632
|
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
|
|
502
|
-
readonly TextField:
|
|
633
|
+
readonly TextField: react229.FC<Pick<{
|
|
503
634
|
label: string;
|
|
504
635
|
name: string;
|
|
505
636
|
camelCaseName: string;
|
|
@@ -529,7 +660,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
529
660
|
required?: boolean;
|
|
530
661
|
maxLength?: number;
|
|
531
662
|
}>;
|
|
532
|
-
readonly TextareaField:
|
|
663
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
533
664
|
label: string;
|
|
534
665
|
name: string;
|
|
535
666
|
camelCaseName: string;
|
|
@@ -557,7 +688,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
557
688
|
required?: boolean;
|
|
558
689
|
maxLength?: number;
|
|
559
690
|
}>;
|
|
560
|
-
readonly NumberField:
|
|
691
|
+
readonly NumberField: react229.FC<Pick<{
|
|
561
692
|
label: string;
|
|
562
693
|
name: string;
|
|
563
694
|
camelCaseName: string;
|
|
@@ -597,7 +728,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
597
728
|
required?: boolean;
|
|
598
729
|
allowNegative?: boolean;
|
|
599
730
|
}>;
|
|
600
|
-
readonly EmailField:
|
|
731
|
+
readonly EmailField: react229.FC<Pick<{
|
|
601
732
|
rules: {
|
|
602
733
|
maxLength?: number | undefined;
|
|
603
734
|
minLength?: number | undefined;
|
|
@@ -616,7 +747,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
616
747
|
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
617
748
|
maxLength?: number;
|
|
618
749
|
}>;
|
|
619
|
-
readonly PasswordField:
|
|
750
|
+
readonly PasswordField: react229.FC<{
|
|
620
751
|
description?: string | undefined;
|
|
621
752
|
label: string;
|
|
622
753
|
tooltip?: string | undefined;
|
|
@@ -625,7 +756,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
625
756
|
helperText?: string | undefined;
|
|
626
757
|
showErrorMessage?: boolean | undefined;
|
|
627
758
|
}>;
|
|
628
|
-
readonly SelectField:
|
|
759
|
+
readonly SelectField: react229.FC<Pick<{
|
|
629
760
|
options: {
|
|
630
761
|
label: string;
|
|
631
762
|
value: string;
|
|
@@ -650,10 +781,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
650
781
|
defaultValue?: string | undefined;
|
|
651
782
|
description?: string | undefined;
|
|
652
783
|
placeholder?: string | undefined;
|
|
653
|
-
}, "
|
|
784
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
654
785
|
required?: boolean;
|
|
655
786
|
}>;
|
|
656
|
-
readonly DateField:
|
|
787
|
+
readonly DateField: react229.FC<Pick<{
|
|
657
788
|
label: string;
|
|
658
789
|
name: string;
|
|
659
790
|
camelCaseName: string;
|
|
@@ -676,12 +807,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
676
807
|
minDate?: Date;
|
|
677
808
|
maxDate?: Date;
|
|
678
809
|
}>;
|
|
679
|
-
readonly SwitchField:
|
|
810
|
+
readonly SwitchField: react229.FC<{
|
|
680
811
|
description?: string | undefined;
|
|
681
812
|
label: string;
|
|
682
813
|
helperText?: string | undefined;
|
|
683
814
|
}>;
|
|
684
|
-
readonly RadioGroupField:
|
|
815
|
+
readonly RadioGroupField: react229.FC<{
|
|
685
816
|
description?: string | undefined;
|
|
686
817
|
label: string;
|
|
687
818
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -692,7 +823,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
692
823
|
}[];
|
|
693
824
|
helperText?: string | undefined;
|
|
694
825
|
}>;
|
|
695
|
-
readonly CheckboxField:
|
|
826
|
+
readonly CheckboxField: react229.FC<{
|
|
696
827
|
description?: string | undefined;
|
|
697
828
|
label: string;
|
|
698
829
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -702,44 +833,83 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
702
833
|
}[];
|
|
703
834
|
helperText?: string | undefined;
|
|
704
835
|
}>;
|
|
836
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
837
|
+
className,
|
|
838
|
+
...props
|
|
839
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
840
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
841
|
+
className,
|
|
842
|
+
orientation,
|
|
843
|
+
...props
|
|
844
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
845
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
846
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
847
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
848
|
+
className,
|
|
849
|
+
...props
|
|
850
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
851
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
852
|
+
className,
|
|
853
|
+
...props
|
|
854
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
855
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
856
|
+
className,
|
|
857
|
+
...props
|
|
858
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
859
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
860
|
+
children,
|
|
861
|
+
className,
|
|
862
|
+
...props
|
|
863
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
864
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
865
|
+
className,
|
|
866
|
+
children,
|
|
867
|
+
errors,
|
|
868
|
+
...props
|
|
869
|
+
}: React.ComponentProps<"div"> & {
|
|
870
|
+
errors?: Array<{
|
|
871
|
+
message?: string;
|
|
872
|
+
} | undefined>;
|
|
873
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
705
874
|
}, {
|
|
706
|
-
readonly TanStackDialogForm:
|
|
875
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
707
876
|
title: string;
|
|
708
877
|
submitText?: string;
|
|
709
878
|
open?: boolean;
|
|
710
879
|
onOpenChange?: (open: boolean) => void;
|
|
711
880
|
}>>;
|
|
712
|
-
readonly TanStackPopoverForm:
|
|
881
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
713
882
|
title: string;
|
|
714
883
|
open?: boolean;
|
|
884
|
+
contentClassName?: string;
|
|
715
885
|
onOpenChange?: (open: boolean) => void;
|
|
716
886
|
}>>;
|
|
717
|
-
readonly TanStackContainerForm:
|
|
718
|
-
children?:
|
|
887
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
888
|
+
children?: react229.ReactNode | undefined;
|
|
719
889
|
}>;
|
|
720
|
-
readonly TanStackSectionForm:
|
|
890
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
721
891
|
title: string;
|
|
722
892
|
}>>;
|
|
723
|
-
readonly TanStackCardForm:
|
|
893
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
724
894
|
title: string;
|
|
725
895
|
description?: string;
|
|
726
896
|
onDelete?: () => void | Promise<void>;
|
|
727
897
|
}>>;
|
|
728
|
-
readonly TanStackFieldGroup:
|
|
898
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
729
899
|
label: string;
|
|
730
900
|
description?: string;
|
|
731
901
|
helperText?: string;
|
|
732
902
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
733
903
|
}>>;
|
|
734
|
-
readonly TanStackTitleField:
|
|
904
|
+
readonly TanStackTitleField: react229.FC<{
|
|
735
905
|
title: string;
|
|
736
906
|
description?: string;
|
|
737
907
|
helperText?: string;
|
|
738
908
|
}>;
|
|
739
|
-
readonly TanStackActionsForm:
|
|
909
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
740
910
|
type?: "create" | "update";
|
|
741
911
|
}>>;
|
|
742
|
-
readonly TanStackActionSubmit:
|
|
912
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
743
913
|
label?: string;
|
|
744
914
|
className?: string;
|
|
745
915
|
}>;
|
|
@@ -749,7 +919,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
749
919
|
props,
|
|
750
920
|
defaultValues
|
|
751
921
|
}: _tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
752
|
-
readonly TextField:
|
|
922
|
+
readonly TextField: react229.FC<Pick<{
|
|
753
923
|
label: string;
|
|
754
924
|
name: string;
|
|
755
925
|
camelCaseName: string;
|
|
@@ -779,7 +949,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
779
949
|
required?: boolean;
|
|
780
950
|
maxLength?: number;
|
|
781
951
|
}>;
|
|
782
|
-
readonly TextareaField:
|
|
952
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
783
953
|
label: string;
|
|
784
954
|
name: string;
|
|
785
955
|
camelCaseName: string;
|
|
@@ -807,7 +977,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
807
977
|
required?: boolean;
|
|
808
978
|
maxLength?: number;
|
|
809
979
|
}>;
|
|
810
|
-
readonly NumberField:
|
|
980
|
+
readonly NumberField: react229.FC<Pick<{
|
|
811
981
|
label: string;
|
|
812
982
|
name: string;
|
|
813
983
|
camelCaseName: string;
|
|
@@ -847,7 +1017,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
847
1017
|
required?: boolean;
|
|
848
1018
|
allowNegative?: boolean;
|
|
849
1019
|
}>;
|
|
850
|
-
readonly EmailField:
|
|
1020
|
+
readonly EmailField: react229.FC<Pick<{
|
|
851
1021
|
rules: {
|
|
852
1022
|
maxLength?: number | undefined;
|
|
853
1023
|
minLength?: number | undefined;
|
|
@@ -866,7 +1036,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
866
1036
|
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
867
1037
|
maxLength?: number;
|
|
868
1038
|
}>;
|
|
869
|
-
readonly PasswordField:
|
|
1039
|
+
readonly PasswordField: react229.FC<{
|
|
870
1040
|
description?: string | undefined;
|
|
871
1041
|
label: string;
|
|
872
1042
|
tooltip?: string | undefined;
|
|
@@ -875,7 +1045,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
875
1045
|
helperText?: string | undefined;
|
|
876
1046
|
showErrorMessage?: boolean | undefined;
|
|
877
1047
|
}>;
|
|
878
|
-
readonly SelectField:
|
|
1048
|
+
readonly SelectField: react229.FC<Pick<{
|
|
879
1049
|
options: {
|
|
880
1050
|
label: string;
|
|
881
1051
|
value: string;
|
|
@@ -900,10 +1070,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
900
1070
|
defaultValue?: string | undefined;
|
|
901
1071
|
description?: string | undefined;
|
|
902
1072
|
placeholder?: string | undefined;
|
|
903
|
-
}, "
|
|
1073
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
904
1074
|
required?: boolean;
|
|
905
1075
|
}>;
|
|
906
|
-
readonly DateField:
|
|
1076
|
+
readonly DateField: react229.FC<Pick<{
|
|
907
1077
|
label: string;
|
|
908
1078
|
name: string;
|
|
909
1079
|
camelCaseName: string;
|
|
@@ -926,12 +1096,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
926
1096
|
minDate?: Date;
|
|
927
1097
|
maxDate?: Date;
|
|
928
1098
|
}>;
|
|
929
|
-
readonly SwitchField:
|
|
1099
|
+
readonly SwitchField: react229.FC<{
|
|
930
1100
|
description?: string | undefined;
|
|
931
1101
|
label: string;
|
|
932
1102
|
helperText?: string | undefined;
|
|
933
1103
|
}>;
|
|
934
|
-
readonly RadioGroupField:
|
|
1104
|
+
readonly RadioGroupField: react229.FC<{
|
|
935
1105
|
description?: string | undefined;
|
|
936
1106
|
label: string;
|
|
937
1107
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -942,7 +1112,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
942
1112
|
}[];
|
|
943
1113
|
helperText?: string | undefined;
|
|
944
1114
|
}>;
|
|
945
|
-
readonly CheckboxField:
|
|
1115
|
+
readonly CheckboxField: react229.FC<{
|
|
946
1116
|
description?: string | undefined;
|
|
947
1117
|
label: string;
|
|
948
1118
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -952,50 +1122,89 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
952
1122
|
}[];
|
|
953
1123
|
helperText?: string | undefined;
|
|
954
1124
|
}>;
|
|
1125
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
1126
|
+
className,
|
|
1127
|
+
...props
|
|
1128
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1129
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
1130
|
+
className,
|
|
1131
|
+
orientation,
|
|
1132
|
+
...props
|
|
1133
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1134
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1135
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
1136
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
1137
|
+
className,
|
|
1138
|
+
...props
|
|
1139
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1140
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
1141
|
+
className,
|
|
1142
|
+
...props
|
|
1143
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
1144
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
1145
|
+
className,
|
|
1146
|
+
...props
|
|
1147
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1148
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
1149
|
+
children,
|
|
1150
|
+
className,
|
|
1151
|
+
...props
|
|
1152
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
1153
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
1154
|
+
className,
|
|
1155
|
+
children,
|
|
1156
|
+
errors,
|
|
1157
|
+
...props
|
|
1158
|
+
}: React.ComponentProps<"div"> & {
|
|
1159
|
+
errors?: Array<{
|
|
1160
|
+
message?: string;
|
|
1161
|
+
} | undefined>;
|
|
1162
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
955
1163
|
}, {
|
|
956
|
-
readonly TanStackDialogForm:
|
|
1164
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
957
1165
|
title: string;
|
|
958
1166
|
submitText?: string;
|
|
959
1167
|
open?: boolean;
|
|
960
1168
|
onOpenChange?: (open: boolean) => void;
|
|
961
1169
|
}>>;
|
|
962
|
-
readonly TanStackPopoverForm:
|
|
1170
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
963
1171
|
title: string;
|
|
964
1172
|
open?: boolean;
|
|
1173
|
+
contentClassName?: string;
|
|
965
1174
|
onOpenChange?: (open: boolean) => void;
|
|
966
1175
|
}>>;
|
|
967
|
-
readonly TanStackContainerForm:
|
|
968
|
-
children?:
|
|
1176
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
1177
|
+
children?: react229.ReactNode | undefined;
|
|
969
1178
|
}>;
|
|
970
|
-
readonly TanStackSectionForm:
|
|
1179
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
971
1180
|
title: string;
|
|
972
1181
|
}>>;
|
|
973
|
-
readonly TanStackCardForm:
|
|
1182
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
974
1183
|
title: string;
|
|
975
1184
|
description?: string;
|
|
976
1185
|
onDelete?: () => void | Promise<void>;
|
|
977
1186
|
}>>;
|
|
978
|
-
readonly TanStackFieldGroup:
|
|
1187
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
979
1188
|
label: string;
|
|
980
1189
|
description?: string;
|
|
981
1190
|
helperText?: string;
|
|
982
1191
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
983
1192
|
}>>;
|
|
984
|
-
readonly TanStackTitleField:
|
|
1193
|
+
readonly TanStackTitleField: react229.FC<{
|
|
985
1194
|
title: string;
|
|
986
1195
|
description?: string;
|
|
987
1196
|
helperText?: string;
|
|
988
1197
|
}>;
|
|
989
|
-
readonly TanStackActionsForm:
|
|
1198
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
990
1199
|
type?: "create" | "update";
|
|
991
1200
|
}>>;
|
|
992
|
-
readonly TanStackActionSubmit:
|
|
1201
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
993
1202
|
label?: string;
|
|
994
1203
|
className?: string;
|
|
995
1204
|
}>;
|
|
996
|
-
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends _tanstack_form_core0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_form_core0.FieldsMap<TFormData, TFieldGroupData>, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params:
|
|
1205
|
+
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends _tanstack_form_core0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_form_core0.FieldsMap<TFormData, TFieldGroupData>, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: react229.PropsWithChildren<NoInfer<TRenderProps> & {
|
|
997
1206
|
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
998
|
-
readonly TextField:
|
|
1207
|
+
readonly TextField: react229.FC<Pick<{
|
|
999
1208
|
label: string;
|
|
1000
1209
|
name: string;
|
|
1001
1210
|
camelCaseName: string;
|
|
@@ -1025,7 +1234,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1025
1234
|
required?: boolean;
|
|
1026
1235
|
maxLength?: number;
|
|
1027
1236
|
}>;
|
|
1028
|
-
readonly TextareaField:
|
|
1237
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
1029
1238
|
label: string;
|
|
1030
1239
|
name: string;
|
|
1031
1240
|
camelCaseName: string;
|
|
@@ -1053,7 +1262,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1053
1262
|
required?: boolean;
|
|
1054
1263
|
maxLength?: number;
|
|
1055
1264
|
}>;
|
|
1056
|
-
readonly NumberField:
|
|
1265
|
+
readonly NumberField: react229.FC<Pick<{
|
|
1057
1266
|
label: string;
|
|
1058
1267
|
name: string;
|
|
1059
1268
|
camelCaseName: string;
|
|
@@ -1093,7 +1302,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1093
1302
|
required?: boolean;
|
|
1094
1303
|
allowNegative?: boolean;
|
|
1095
1304
|
}>;
|
|
1096
|
-
readonly EmailField:
|
|
1305
|
+
readonly EmailField: react229.FC<Pick<{
|
|
1097
1306
|
rules: {
|
|
1098
1307
|
maxLength?: number | undefined;
|
|
1099
1308
|
minLength?: number | undefined;
|
|
@@ -1112,7 +1321,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1112
1321
|
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
1113
1322
|
maxLength?: number;
|
|
1114
1323
|
}>;
|
|
1115
|
-
readonly PasswordField:
|
|
1324
|
+
readonly PasswordField: react229.FC<{
|
|
1116
1325
|
description?: string | undefined;
|
|
1117
1326
|
label: string;
|
|
1118
1327
|
tooltip?: string | undefined;
|
|
@@ -1121,7 +1330,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1121
1330
|
helperText?: string | undefined;
|
|
1122
1331
|
showErrorMessage?: boolean | undefined;
|
|
1123
1332
|
}>;
|
|
1124
|
-
readonly SelectField:
|
|
1333
|
+
readonly SelectField: react229.FC<Pick<{
|
|
1125
1334
|
options: {
|
|
1126
1335
|
label: string;
|
|
1127
1336
|
value: string;
|
|
@@ -1146,10 +1355,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1146
1355
|
defaultValue?: string | undefined;
|
|
1147
1356
|
description?: string | undefined;
|
|
1148
1357
|
placeholder?: string | undefined;
|
|
1149
|
-
}, "
|
|
1358
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
1150
1359
|
required?: boolean;
|
|
1151
1360
|
}>;
|
|
1152
|
-
readonly DateField:
|
|
1361
|
+
readonly DateField: react229.FC<Pick<{
|
|
1153
1362
|
label: string;
|
|
1154
1363
|
name: string;
|
|
1155
1364
|
camelCaseName: string;
|
|
@@ -1172,12 +1381,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1172
1381
|
minDate?: Date;
|
|
1173
1382
|
maxDate?: Date;
|
|
1174
1383
|
}>;
|
|
1175
|
-
readonly SwitchField:
|
|
1384
|
+
readonly SwitchField: react229.FC<{
|
|
1176
1385
|
description?: string | undefined;
|
|
1177
1386
|
label: string;
|
|
1178
1387
|
helperText?: string | undefined;
|
|
1179
1388
|
}>;
|
|
1180
|
-
readonly RadioGroupField:
|
|
1389
|
+
readonly RadioGroupField: react229.FC<{
|
|
1181
1390
|
description?: string | undefined;
|
|
1182
1391
|
label: string;
|
|
1183
1392
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1188,7 +1397,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1188
1397
|
}[];
|
|
1189
1398
|
helperText?: string | undefined;
|
|
1190
1399
|
}>;
|
|
1191
|
-
readonly CheckboxField:
|
|
1400
|
+
readonly CheckboxField: react229.FC<{
|
|
1192
1401
|
description?: string | undefined;
|
|
1193
1402
|
label: string;
|
|
1194
1403
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1198,49 +1407,88 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1198
1407
|
}[];
|
|
1199
1408
|
helperText?: string | undefined;
|
|
1200
1409
|
}>;
|
|
1410
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
1411
|
+
className,
|
|
1412
|
+
...props
|
|
1413
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1414
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
1415
|
+
className,
|
|
1416
|
+
orientation,
|
|
1417
|
+
...props
|
|
1418
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1419
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1420
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
1421
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
1422
|
+
className,
|
|
1423
|
+
...props
|
|
1424
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1425
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
1426
|
+
className,
|
|
1427
|
+
...props
|
|
1428
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
1429
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
1430
|
+
className,
|
|
1431
|
+
...props
|
|
1432
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1433
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
1434
|
+
children,
|
|
1435
|
+
className,
|
|
1436
|
+
...props
|
|
1437
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
1438
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
1439
|
+
className,
|
|
1440
|
+
children,
|
|
1441
|
+
errors,
|
|
1442
|
+
...props
|
|
1443
|
+
}: React.ComponentProps<"div"> & {
|
|
1444
|
+
errors?: Array<{
|
|
1445
|
+
message?: string;
|
|
1446
|
+
} | undefined>;
|
|
1447
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
1201
1448
|
}, {
|
|
1202
|
-
readonly TanStackDialogForm:
|
|
1449
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
1203
1450
|
title: string;
|
|
1204
1451
|
submitText?: string;
|
|
1205
1452
|
open?: boolean;
|
|
1206
1453
|
onOpenChange?: (open: boolean) => void;
|
|
1207
1454
|
}>>;
|
|
1208
|
-
readonly TanStackPopoverForm:
|
|
1455
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
1209
1456
|
title: string;
|
|
1210
1457
|
open?: boolean;
|
|
1458
|
+
contentClassName?: string;
|
|
1211
1459
|
onOpenChange?: (open: boolean) => void;
|
|
1212
1460
|
}>>;
|
|
1213
|
-
readonly TanStackContainerForm:
|
|
1214
|
-
children?:
|
|
1461
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
1462
|
+
children?: react229.ReactNode | undefined;
|
|
1215
1463
|
}>;
|
|
1216
|
-
readonly TanStackSectionForm:
|
|
1464
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
1217
1465
|
title: string;
|
|
1218
1466
|
}>>;
|
|
1219
|
-
readonly TanStackCardForm:
|
|
1467
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
1220
1468
|
title: string;
|
|
1221
1469
|
description?: string;
|
|
1222
1470
|
onDelete?: () => void | Promise<void>;
|
|
1223
1471
|
}>>;
|
|
1224
|
-
readonly TanStackFieldGroup:
|
|
1472
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
1225
1473
|
label: string;
|
|
1226
1474
|
description?: string;
|
|
1227
1475
|
helperText?: string;
|
|
1228
1476
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1229
1477
|
}>>;
|
|
1230
|
-
readonly TanStackTitleField:
|
|
1478
|
+
readonly TanStackTitleField: react229.FC<{
|
|
1231
1479
|
title: string;
|
|
1232
1480
|
description?: string;
|
|
1233
1481
|
helperText?: string;
|
|
1234
1482
|
}>;
|
|
1235
|
-
readonly TanStackActionsForm:
|
|
1483
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
1236
1484
|
type?: "create" | "update";
|
|
1237
1485
|
}>>;
|
|
1238
|
-
readonly TanStackActionSubmit:
|
|
1486
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
1239
1487
|
label?: string;
|
|
1240
1488
|
className?: string;
|
|
1241
1489
|
}>;
|
|
1242
1490
|
}> | _tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_form_core0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
1243
|
-
readonly TextField:
|
|
1491
|
+
readonly TextField: react229.FC<Pick<{
|
|
1244
1492
|
label: string;
|
|
1245
1493
|
name: string;
|
|
1246
1494
|
camelCaseName: string;
|
|
@@ -1270,7 +1518,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1270
1518
|
required?: boolean;
|
|
1271
1519
|
maxLength?: number;
|
|
1272
1520
|
}>;
|
|
1273
|
-
readonly TextareaField:
|
|
1521
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
1274
1522
|
label: string;
|
|
1275
1523
|
name: string;
|
|
1276
1524
|
camelCaseName: string;
|
|
@@ -1298,7 +1546,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1298
1546
|
required?: boolean;
|
|
1299
1547
|
maxLength?: number;
|
|
1300
1548
|
}>;
|
|
1301
|
-
readonly NumberField:
|
|
1549
|
+
readonly NumberField: react229.FC<Pick<{
|
|
1302
1550
|
label: string;
|
|
1303
1551
|
name: string;
|
|
1304
1552
|
camelCaseName: string;
|
|
@@ -1338,7 +1586,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1338
1586
|
required?: boolean;
|
|
1339
1587
|
allowNegative?: boolean;
|
|
1340
1588
|
}>;
|
|
1341
|
-
readonly EmailField:
|
|
1589
|
+
readonly EmailField: react229.FC<Pick<{
|
|
1342
1590
|
rules: {
|
|
1343
1591
|
maxLength?: number | undefined;
|
|
1344
1592
|
minLength?: number | undefined;
|
|
@@ -1357,7 +1605,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1357
1605
|
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
1358
1606
|
maxLength?: number;
|
|
1359
1607
|
}>;
|
|
1360
|
-
readonly PasswordField:
|
|
1608
|
+
readonly PasswordField: react229.FC<{
|
|
1361
1609
|
description?: string | undefined;
|
|
1362
1610
|
label: string;
|
|
1363
1611
|
tooltip?: string | undefined;
|
|
@@ -1366,7 +1614,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1366
1614
|
helperText?: string | undefined;
|
|
1367
1615
|
showErrorMessage?: boolean | undefined;
|
|
1368
1616
|
}>;
|
|
1369
|
-
readonly SelectField:
|
|
1617
|
+
readonly SelectField: react229.FC<Pick<{
|
|
1370
1618
|
options: {
|
|
1371
1619
|
label: string;
|
|
1372
1620
|
value: string;
|
|
@@ -1391,10 +1639,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1391
1639
|
defaultValue?: string | undefined;
|
|
1392
1640
|
description?: string | undefined;
|
|
1393
1641
|
placeholder?: string | undefined;
|
|
1394
|
-
}, "
|
|
1642
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
1395
1643
|
required?: boolean;
|
|
1396
1644
|
}>;
|
|
1397
|
-
readonly DateField:
|
|
1645
|
+
readonly DateField: react229.FC<Pick<{
|
|
1398
1646
|
label: string;
|
|
1399
1647
|
name: string;
|
|
1400
1648
|
camelCaseName: string;
|
|
@@ -1417,12 +1665,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1417
1665
|
minDate?: Date;
|
|
1418
1666
|
maxDate?: Date;
|
|
1419
1667
|
}>;
|
|
1420
|
-
readonly SwitchField:
|
|
1668
|
+
readonly SwitchField: react229.FC<{
|
|
1421
1669
|
description?: string | undefined;
|
|
1422
1670
|
label: string;
|
|
1423
1671
|
helperText?: string | undefined;
|
|
1424
1672
|
}>;
|
|
1425
|
-
readonly RadioGroupField:
|
|
1673
|
+
readonly RadioGroupField: react229.FC<{
|
|
1426
1674
|
description?: string | undefined;
|
|
1427
1675
|
label: string;
|
|
1428
1676
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1433,7 +1681,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1433
1681
|
}[];
|
|
1434
1682
|
helperText?: string | undefined;
|
|
1435
1683
|
}>;
|
|
1436
|
-
readonly CheckboxField:
|
|
1684
|
+
readonly CheckboxField: react229.FC<{
|
|
1437
1685
|
description?: string | undefined;
|
|
1438
1686
|
label: string;
|
|
1439
1687
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1443,50 +1691,89 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1443
1691
|
}[];
|
|
1444
1692
|
helperText?: string | undefined;
|
|
1445
1693
|
}>;
|
|
1694
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
1695
|
+
className,
|
|
1696
|
+
...props
|
|
1697
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1698
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
1699
|
+
className,
|
|
1700
|
+
orientation,
|
|
1701
|
+
...props
|
|
1702
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1703
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1704
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
1705
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
1706
|
+
className,
|
|
1707
|
+
...props
|
|
1708
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1709
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
1710
|
+
className,
|
|
1711
|
+
...props
|
|
1712
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
1713
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
1714
|
+
className,
|
|
1715
|
+
...props
|
|
1716
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1717
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
1718
|
+
children,
|
|
1719
|
+
className,
|
|
1720
|
+
...props
|
|
1721
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
1722
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
1723
|
+
className,
|
|
1724
|
+
children,
|
|
1725
|
+
errors,
|
|
1726
|
+
...props
|
|
1727
|
+
}: React.ComponentProps<"div"> & {
|
|
1728
|
+
errors?: Array<{
|
|
1729
|
+
message?: string;
|
|
1730
|
+
} | undefined>;
|
|
1731
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
1446
1732
|
}, {
|
|
1447
|
-
readonly TanStackDialogForm:
|
|
1733
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
1448
1734
|
title: string;
|
|
1449
1735
|
submitText?: string;
|
|
1450
1736
|
open?: boolean;
|
|
1451
1737
|
onOpenChange?: (open: boolean) => void;
|
|
1452
1738
|
}>>;
|
|
1453
|
-
readonly TanStackPopoverForm:
|
|
1739
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
1454
1740
|
title: string;
|
|
1455
1741
|
open?: boolean;
|
|
1742
|
+
contentClassName?: string;
|
|
1456
1743
|
onOpenChange?: (open: boolean) => void;
|
|
1457
1744
|
}>>;
|
|
1458
|
-
readonly TanStackContainerForm:
|
|
1459
|
-
children?:
|
|
1745
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
1746
|
+
children?: react229.ReactNode | undefined;
|
|
1460
1747
|
}>;
|
|
1461
|
-
readonly TanStackSectionForm:
|
|
1748
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
1462
1749
|
title: string;
|
|
1463
1750
|
}>>;
|
|
1464
|
-
readonly TanStackCardForm:
|
|
1751
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
1465
1752
|
title: string;
|
|
1466
1753
|
description?: string;
|
|
1467
1754
|
onDelete?: () => void | Promise<void>;
|
|
1468
1755
|
}>>;
|
|
1469
|
-
readonly TanStackFieldGroup:
|
|
1756
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
1470
1757
|
label: string;
|
|
1471
1758
|
description?: string;
|
|
1472
1759
|
helperText?: string;
|
|
1473
1760
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1474
1761
|
}>>;
|
|
1475
|
-
readonly TanStackTitleField:
|
|
1762
|
+
readonly TanStackTitleField: react229.FC<{
|
|
1476
1763
|
title: string;
|
|
1477
1764
|
description?: string;
|
|
1478
1765
|
helperText?: string;
|
|
1479
1766
|
}>;
|
|
1480
|
-
readonly TanStackActionsForm:
|
|
1767
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
1481
1768
|
type?: "create" | "update";
|
|
1482
1769
|
}>>;
|
|
1483
|
-
readonly TanStackActionSubmit:
|
|
1770
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
1484
1771
|
label?: string;
|
|
1485
1772
|
className?: string;
|
|
1486
1773
|
}>;
|
|
1487
1774
|
}>;
|
|
1488
1775
|
fields: TFields;
|
|
1489
|
-
}>) => ReturnType<
|
|
1776
|
+
}>) => ReturnType<react229.FunctionComponent>;
|
|
1490
1777
|
//#endregion
|
|
1491
|
-
export { useTanStackFieldContext, useTanStackForm, useTanStackFormContext, withTanStackFieldGroup, withTanStackForm };
|
|
1778
|
+
export { Field, FieldContent, FieldContentMain, FieldError, FieldGroup, FieldLabel, FieldSeparator, useTanStackFieldContext, useTanStackForm, useTanStackFormContext, withTanStackFieldGroup, withTanStackForm };
|
|
1492
1779
|
//# sourceMappingURL=index.d.cts.map
|