@saas-ui/forms 2.0.0-next.13 → 2.0.0-next.15
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +19 -0
- package/dist/ajv/index.d.ts +14 -350
- package/dist/ajv/index.js.map +1 -1
- package/dist/ajv/index.mjs.map +1 -1
- package/dist/index.d.ts +101 -103
- package/dist/index.js +141 -130
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +141 -130
- package/dist/index.mjs.map +1 -1
- package/dist/yup/index.d.ts +14 -575
- package/dist/yup/index.js +4 -1
- package/dist/yup/index.js.map +1 -1
- package/dist/yup/index.mjs +4 -1
- package/dist/yup/index.mjs.map +1 -1
- package/dist/zod/index.d.ts +18 -580
- package/dist/zod/index.js +4 -1
- package/dist/zod/index.js.map +1 -1
- package/dist/zod/index.mjs +4 -1
- package/dist/zod/index.mjs.map +1 -1
- package/package.json +6 -6
- package/src/create-form.tsx +30 -16
- package/src/create-step-form.tsx +161 -0
- package/src/form.tsx +7 -5
- package/src/index.ts +13 -6
- package/src/step-form.tsx +55 -41
- package/src/types.ts +3 -2
- package/src/use-step-form.tsx +33 -5
package/dist/index.d.ts
CHANGED
@@ -1,36 +1,13 @@
|
|
1
1
|
import * as React$1 from 'react';
|
2
2
|
import React__default from 'react';
|
3
|
-
import * as _chakra_ui_system_dist_system_types from '@chakra-ui/system/dist/system.types';
|
4
|
-
import { ButtonProps, NumberInputProps as NumberInputProps$1, InputProps, RadioProps, RadioGroupProps, SystemProps, StackDirection, MenuProps, MenuListProps, MenuItemOptionProps, SelectProps as SelectProps$1, TextareaProps, SwitchProps, CheckboxProps, UsePinInputProps, FormControlProps, SimpleGridProps, ResponsiveValue, FormLabelProps, HTMLChakraProps, ThemingProps } from '@chakra-ui/react';
|
5
|
-
import { FocusableElement } from '@chakra-ui/utils';
|
6
3
|
import * as react_hook_form from 'react-hook-form';
|
7
4
|
import { FieldValues, FieldPath, RegisterOptions, UseFormReturn as UseFormReturn$1, UseFieldArrayReturn, UseFormProps, WatchObserver, SubmitHandler, SubmitErrorHandler, ResolverOptions, ResolverResult, FormProviderProps as FormProviderProps$1 } from 'react-hook-form';
|
8
5
|
export { BatchFieldArrayUpdate, ChangeHandler, Control, Controller, ControllerFieldState, ControllerProps, ControllerRenderProps, CriteriaMode, CustomElement, DeepMap, DeepPartial, DeepPartialSkipArrayKey, DefaultValues, DelayCallback, EmptyObject, ErrorOption, EventType, FieldArray, FieldArrayMethodProps, FieldArrayWithId, Field as FieldDef, FieldElement, FieldError, FieldErrors, FieldName, FieldNamesMarkedBoolean, FieldRefs, FieldValue, FieldValues, FormProviderProps, FormState, FormStateProxy, FormStateSubjectRef, GetIsDirty, InternalFieldErrors, InternalFieldName, InternalNameSet, IsAny, IsFlatObject, KeepStateOptions, LiteralUnion, Message, Mode, MultipleFieldErrors, Names, NativeFieldValue, NestedValue, NonUndefined, Noop, Primitive, ReadFormState, Ref, RefCallBack, RegisterOptions, Resolver, ResolverError, ResolverOptions, ResolverResult, ResolverSuccess, SetFieldValue, SetValueConfig, Subjects, SubmitErrorHandler, SubmitHandler, TriggerConfig, UnpackNestedValue, UseControllerProps, UseControllerReturn, UseFieldArrayProps, UseFieldArrayReturn, UseFormClearErrors, UseFormGetValues, UseFormHandleSubmit, UseFormProps, UseFormRegister, UseFormRegisterReturn, UseFormReset, UseFormResetField, UseFormReturn, UseFormSetError, UseFormSetFocus, UseFormSetValue, UseFormStateProps, UseFormStateReturn, UseFormTrigger, UseFormUnregister, UseFormWatch, UseWatchProps, Validate, ValidateResult, ValidationMode, ValidationRule, ValidationValue, ValidationValueMessage, WatchInternal, WatchObserver, appendErrors, useController, useFieldArray, useForm, useFormState, useWatch } from 'react-hook-form';
|
9
6
|
import { MaybeRenderProp } from '@chakra-ui/react-utils';
|
10
7
|
import { UseStepperReturn, UseStepperProps, StepperStepsProps } from '@saas-ui/core';
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
* Disable the submit button if the form is untouched.
|
15
|
-
*
|
16
|
-
* Change the default behavior by updating
|
17
|
-
* `SubmitButton.defaultProps.disableIfUntouched`
|
18
|
-
*/
|
19
|
-
disableIfUntouched?: boolean;
|
20
|
-
/**
|
21
|
-
* Disable the submit button if the form is invalid.
|
22
|
-
*
|
23
|
-
* Change the default behavior by updating
|
24
|
-
* `SubmitButton.defaultProps.disableIfInvalid`
|
25
|
-
*/
|
26
|
-
disableIfInvalid?: boolean;
|
27
|
-
}
|
28
|
-
/**
|
29
|
-
* A button with type submit and default color scheme primary and isLoading state when the form is submitting.
|
30
|
-
*
|
31
|
-
* @see Docs https://saas-ui.dev/docs/components/forms/form
|
32
|
-
*/
|
33
|
-
declare const SubmitButton: _chakra_ui_system_dist_system_types.ComponentWithAs<"button", SubmitButtonProps>;
|
8
|
+
import { NumberInputProps as NumberInputProps$1, InputProps, RadioProps, RadioGroupProps, SystemProps, StackDirection, MenuProps, ButtonProps, MenuListProps, MenuItemOptionProps, SelectProps as SelectProps$1, TextareaProps, SwitchProps, CheckboxProps, UsePinInputProps, FormControlProps, SimpleGridProps, ResponsiveValue, FormLabelProps, HTMLChakraProps, ThemingProps } from '@chakra-ui/react';
|
9
|
+
import { FocusableElement } from '@chakra-ui/utils';
|
10
|
+
import * as _chakra_ui_system_dist_system_types from '@chakra-ui/system/dist/system.types';
|
34
11
|
|
35
12
|
interface NumberInputOptions {
|
36
13
|
/**
|
@@ -197,6 +174,29 @@ declare const defaultFieldTypes: {
|
|
197
174
|
};
|
198
175
|
type DefaultFields = typeof defaultFieldTypes;
|
199
176
|
|
177
|
+
interface SubmitButtonProps extends ButtonProps {
|
178
|
+
/**
|
179
|
+
* Disable the submit button if the form is untouched.
|
180
|
+
*
|
181
|
+
* Change the default behavior by updating
|
182
|
+
* `SubmitButton.defaultProps.disableIfUntouched`
|
183
|
+
*/
|
184
|
+
disableIfUntouched?: boolean;
|
185
|
+
/**
|
186
|
+
* Disable the submit button if the form is invalid.
|
187
|
+
*
|
188
|
+
* Change the default behavior by updating
|
189
|
+
* `SubmitButton.defaultProps.disableIfInvalid`
|
190
|
+
*/
|
191
|
+
disableIfInvalid?: boolean;
|
192
|
+
}
|
193
|
+
/**
|
194
|
+
* A button with type submit and default color scheme primary and isLoading state when the form is submitting.
|
195
|
+
*
|
196
|
+
* @see Docs https://saas-ui.dev/docs/components/forms/form
|
197
|
+
*/
|
198
|
+
declare const SubmitButton: _chakra_ui_system_dist_system_types.ComponentWithAs<"button", SubmitButtonProps>;
|
199
|
+
|
200
200
|
type FieldOption = {
|
201
201
|
label?: string;
|
202
202
|
value: string;
|
@@ -256,11 +256,11 @@ type DefaultFieldOverrides = {
|
|
256
256
|
type FieldOverrides<FieldDefs, TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
|
257
257
|
[K in FieldPathWithArray<TFieldValues, TName>]?: Omit<MergeFieldProps<FieldDefs extends never ? DefaultFields : ShallowMerge<DefaultFields, FieldDefs>, TFieldValues>, 'name'>;
|
258
258
|
};
|
259
|
-
type WithFields<TFormProps extends FormProps<any, any, any, any>, FieldDefs> = TFormProps extends FormProps<infer TFieldValues, infer TContext> ? Omit<TFormProps, 'children' | 'fields'> & {
|
259
|
+
type WithFields<TFormProps extends FormProps<any, any, any, any>, FieldDefs, ExtraOverrides = object> = TFormProps extends FormProps<infer TFieldValues, infer TContext> ? Omit<TFormProps, 'children' | 'fields'> & {
|
260
260
|
children?: FormChildren<FieldDefs, TFieldValues, TContext>;
|
261
261
|
fields?: FieldOverrides<FieldDefs, TFieldValues> & {
|
262
262
|
submit?: SubmitButtonProps;
|
263
|
-
};
|
263
|
+
} & ExtraOverrides;
|
264
264
|
} : never;
|
265
265
|
|
266
266
|
type FieldResolver = {
|
@@ -522,7 +522,7 @@ interface FormRenderContext<TFieldValues extends FieldValues = FieldValues, TCon
|
|
522
522
|
ArrayField: React$1.FC<ArrayFieldProps<TFieldValues> & React$1.RefAttributes<UseArrayFieldReturn>>;
|
523
523
|
ObjectField: React$1.FC<ObjectFieldProps<TFieldValues>>;
|
524
524
|
}
|
525
|
-
interface FormOptions<TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TSchema =
|
525
|
+
interface FormOptions<TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TSchema = unknown, TFieldTypes = FieldProps<TFieldValues>> {
|
526
526
|
/**
|
527
527
|
* The form schema.
|
528
528
|
*/
|
@@ -556,19 +556,76 @@ interface FormOptions<TFieldValues extends FieldValues = FieldValues, TContext e
|
|
556
556
|
*/
|
557
557
|
fields?: DefaultFieldOverrides;
|
558
558
|
}
|
559
|
-
interface FormProps<TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TSchema =
|
559
|
+
interface FormProps<TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TSchema = unknown, TFieldTypes = FieldProps<TFieldValues>> extends UseFormProps<TFieldValues, TContext>, Omit<HTMLChakraProps<'form'>, 'children' | 'onChange' | 'onSubmit' | 'onError'>, FormOptions<TFieldValues, TContext, TSchema, TFieldTypes> {
|
560
560
|
}
|
561
561
|
/**
|
562
562
|
* The wrapper component provides context, state, and focus management.
|
563
563
|
*
|
564
564
|
* @see Docs https://saas-ui.dev/docs/components/forms/form
|
565
565
|
*/
|
566
|
-
declare const Form$1:
|
567
|
-
|
566
|
+
declare const Form$1: FormComponent;
|
567
|
+
type FormComponent = (<TFieldValues extends FieldValues, TContext extends object = object, TSchema = unknown, TFieldTypes = FieldProps<TFieldValues>>(props: FormProps<TFieldValues, TContext, TSchema, TFieldTypes> & {
|
568
|
+
ref?: React$1.ForwardedRef<HTMLFormElement>;
|
568
569
|
}) => React$1.ReactElement) & {
|
569
|
-
displayName?: string
|
570
|
+
displayName?: string;
|
570
571
|
};
|
571
|
-
type GetResolver = <TFieldValues extends FieldValues, TContext extends object>(schema:
|
572
|
+
type GetResolver = <TFieldValues extends FieldValues, TContext extends object>(schema: unknown) => (values: TFieldValues, context: TContext | undefined, options: ResolverOptions<TFieldValues>) => Promise<ResolverResult<TFieldValues>>;
|
573
|
+
|
574
|
+
interface StepState {
|
575
|
+
name: string;
|
576
|
+
schema?: any;
|
577
|
+
resolver?: any;
|
578
|
+
isActive?: boolean;
|
579
|
+
isCompleted?: boolean;
|
580
|
+
onSubmit?: FormStepSubmitHandler;
|
581
|
+
}
|
582
|
+
type FormStepSubmitHandler<TFieldValues extends FieldValues = FieldValues> = (data: TFieldValues, stepper: UseStepperReturn) => Promise<void>;
|
583
|
+
interface StepFormContext extends UseStepperReturn {
|
584
|
+
updateStep(state: StepState): void;
|
585
|
+
steps: Record<string, StepState>;
|
586
|
+
}
|
587
|
+
declare const StepFormProvider: React$1.Provider<StepFormContext>;
|
588
|
+
declare const useStepFormContext: () => StepFormContext;
|
589
|
+
|
590
|
+
interface StepFormRenderContext<TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TFieldTypes = FieldProps<TFieldValues>> extends UseStepFormReturn<TFieldValues> {
|
591
|
+
Field: React$1.FC<TFieldTypes & React$1.RefAttributes<FocusableElement>>;
|
592
|
+
DisplayIf: React$1.FC<DisplayIfProps<TFieldValues>>;
|
593
|
+
ArrayField: React$1.FC<ArrayFieldProps<TFieldValues> & React$1.RefAttributes<UseArrayFieldReturn>>;
|
594
|
+
ObjectField: React$1.FC<ObjectFieldProps<TFieldValues>>;
|
595
|
+
}
|
596
|
+
interface UseStepFormProps<TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TFieldTypes = FieldProps<TFieldValues>> extends Omit<UseStepperProps, 'onChange'>, Omit<FormProps<TFieldValues, TContext, any, TFieldTypes>, 'children'> {
|
597
|
+
children: MaybeRenderProp<StepFormRenderContext<TFieldValues, TContext, TFieldTypes>>;
|
598
|
+
}
|
599
|
+
interface UseStepFormReturn<TFieldValues extends FieldValues = FieldValues> extends UseStepperReturn {
|
600
|
+
getFormProps(): {
|
601
|
+
onSubmit: SubmitHandler<TFieldValues>;
|
602
|
+
schema?: any;
|
603
|
+
resolver?: any;
|
604
|
+
};
|
605
|
+
updateStep(step: any): void;
|
606
|
+
steps: Record<string, any>;
|
607
|
+
}
|
608
|
+
declare function useStepForm<TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TFieldTypes = FieldProps<TFieldValues>>(props: UseStepFormProps<TFieldValues, TContext, TFieldTypes>): UseStepFormReturn<TFieldValues>;
|
609
|
+
interface UseFormStepProps {
|
610
|
+
name: string;
|
611
|
+
schema?: any;
|
612
|
+
resolver?: any;
|
613
|
+
onSubmit?: FormStepSubmitHandler;
|
614
|
+
}
|
615
|
+
declare function useFormStep(props: UseFormStepProps): StepState;
|
616
|
+
|
617
|
+
interface CreateFormProps<FieldDefs> {
|
618
|
+
resolver?: GetResolver;
|
619
|
+
fieldResolver?: GetFieldResolver;
|
620
|
+
fields?: FieldDefs extends Record<string, React__default.FC<any>> ? FieldDefs : never;
|
621
|
+
}
|
622
|
+
type FormType<FieldDefs, ExtraProps = object, ExtraOverrides = object> = (<TFieldValues extends FieldValues, TContext extends object = object, TSchema = unknown>(props: WithFields<FormProps<TFieldValues, TContext, TSchema>, FieldDefs, ExtraOverrides> & {
|
623
|
+
ref?: React__default.ForwardedRef<HTMLFormElement>;
|
624
|
+
} & ExtraProps) => React__default.ReactElement) & {
|
625
|
+
displayName?: string;
|
626
|
+
id?: string;
|
627
|
+
};
|
628
|
+
declare function createForm<FieldDefs>({ resolver, fieldResolver, fields, }?: CreateFormProps<FieldDefs>): FormType<FieldDefs, object, object>;
|
572
629
|
|
573
630
|
interface DisplayFieldProps extends FormControlProps, Omit<FieldProps, 'type' | 'label'> {
|
574
631
|
}
|
@@ -617,53 +674,8 @@ declare const FieldsProvider: React__default.FC<{
|
|
617
674
|
}>;
|
618
675
|
declare const useField: (type: string) => React__default.FC<any>;
|
619
676
|
|
620
|
-
interface
|
621
|
-
name: string;
|
622
|
-
schema?: any;
|
623
|
-
resolver?: any;
|
624
|
-
isActive?: boolean;
|
625
|
-
isCompleted?: boolean;
|
626
|
-
onSubmit?: FormStepSubmitHandler;
|
627
|
-
}
|
628
|
-
type FormStepSubmitHandler<TFieldValues extends FieldValues = FieldValues> = (data: TFieldValues, stepper: UseStepperReturn) => Promise<void>;
|
629
|
-
interface StepFormContext extends UseStepperReturn {
|
630
|
-
updateStep(state: StepState): void;
|
631
|
-
steps: Record<string, StepState>;
|
632
|
-
}
|
633
|
-
declare const StepFormProvider: React$1.Provider<StepFormContext>;
|
634
|
-
declare const useStepFormContext: () => StepFormContext;
|
635
|
-
|
636
|
-
interface UseStepFormProps<TFieldValues extends FieldValues = FieldValues> extends Omit<UseStepperProps, 'onChange'>, Omit<FormProps<TFieldValues>, 'children'> {
|
637
|
-
children: MaybeRenderProp<UseStepFormReturn<TFieldValues>>;
|
677
|
+
interface StepFormProps<TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TFieldTypes = FieldProps<TFieldValues>> extends UseStepFormProps<TFieldValues, TContext, TFieldTypes> {
|
638
678
|
}
|
639
|
-
interface UseStepFormReturn<TFieldValues extends FieldValues = FieldValues> extends UseStepperReturn {
|
640
|
-
getFormProps(): {
|
641
|
-
onSubmit: SubmitHandler<TFieldValues>;
|
642
|
-
schema?: any;
|
643
|
-
resolver?: any;
|
644
|
-
};
|
645
|
-
updateStep(step: any): void;
|
646
|
-
steps: Record<string, any>;
|
647
|
-
}
|
648
|
-
declare function useStepForm<TFieldValues extends FieldValues = FieldValues>(props: UseStepFormProps<TFieldValues>): UseStepFormReturn<TFieldValues>;
|
649
|
-
interface UseFormStepProps {
|
650
|
-
name: string;
|
651
|
-
schema?: any;
|
652
|
-
resolver?: any;
|
653
|
-
onSubmit?: FormStepSubmitHandler;
|
654
|
-
}
|
655
|
-
declare function useFormStep(props: UseFormStepProps): StepState;
|
656
|
-
|
657
|
-
interface StepFormProps<TFieldValues extends FieldValues = FieldValues, TContext extends object = object> extends UseStepFormProps<TFieldValues> {
|
658
|
-
}
|
659
|
-
/**
|
660
|
-
* The wrapper component provides context, state, and focus management.
|
661
|
-
*
|
662
|
-
* @see Docs https://saas-ui.dev/docs/components/forms/step-form
|
663
|
-
*/
|
664
|
-
declare const StepForm: <TFieldValues extends FieldValues>(props: StepFormProps<TFieldValues, object> & {
|
665
|
-
ref?: React$1.ForwardedRef<HTMLFormElement> | undefined;
|
666
|
-
}) => React$1.ReactElement;
|
667
679
|
interface FormStepOptions {
|
668
680
|
/**
|
669
681
|
* The step name
|
@@ -762,22 +774,6 @@ declare const InputRightButton: _chakra_ui_system_dist_system_types.ComponentWit
|
|
762
774
|
*/
|
763
775
|
declare const BaseField: React$1.FC<BaseFieldProps>;
|
764
776
|
|
765
|
-
interface CreateFormProps<FieldDefs> {
|
766
|
-
resolver?: GetResolver;
|
767
|
-
fieldResolver?: GetFieldResolver;
|
768
|
-
fields?: FieldDefs extends Record<string, React__default.FC<any>> ? FieldDefs : never;
|
769
|
-
}
|
770
|
-
declare function createForm<FieldDefs, Schema = any>({ resolver, fieldResolver, fields, }?: CreateFormProps<FieldDefs>): (<TFieldValues extends FieldValues, TContext extends object = object, TSchema extends Schema = Schema>(props: Omit<FormProps<TFieldValues, TContext, TSchema, FieldProps<TFieldValues>>, "children" | "fields"> & {
|
771
|
-
children?: FormChildren<FieldDefs, TFieldValues, TContext>;
|
772
|
-
fields?: (FieldOverrides<FieldDefs, TFieldValues, react_hook_form.Path<TFieldValues>> & {
|
773
|
-
submit?: SubmitButtonProps | undefined;
|
774
|
-
}) | undefined;
|
775
|
-
} & {
|
776
|
-
ref?: React__default.ForwardedRef<HTMLFormElement> | undefined;
|
777
|
-
}) => React__default.ReactElement) & {
|
778
|
-
displayName?: string | undefined;
|
779
|
-
};
|
780
|
-
|
781
777
|
interface CreateFieldOptions {
|
782
778
|
isControlled?: boolean;
|
783
779
|
hideLabel?: boolean;
|
@@ -793,15 +789,17 @@ interface CreateFieldOptions {
|
|
793
789
|
*/
|
794
790
|
declare const createField: <TProps extends object>(component: React$1.FC<TProps>, options?: CreateFieldOptions) => React$1.FC<TProps & BaseFieldProps<react_hook_form.FieldValues, string>>;
|
795
791
|
|
796
|
-
declare const Form:
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
792
|
+
declare const Form: FormType<unknown, object, object>;
|
793
|
+
/**
|
794
|
+
* The wrapper component provides context, state, and focus management.
|
795
|
+
*
|
796
|
+
* @see Docs https://saas-ui.dev/docs/components/forms/step-form
|
797
|
+
*/
|
798
|
+
declare const StepForm: (<TFieldValues extends react_hook_form.FieldValues = react_hook_form.FieldValues, TContext extends object = object, TFieldTypes = FieldProps<TFieldValues>>(props: UseStepFormProps<TFieldValues, TContext, TFieldTypes> & {
|
802
799
|
ref?: React$1.ForwardedRef<HTMLFormElement> | undefined;
|
803
800
|
}) => React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>) & {
|
804
801
|
displayName?: string | undefined;
|
802
|
+
id?: string | undefined;
|
805
803
|
};
|
806
804
|
|
807
|
-
export { ArrayField, ArrayFieldAddButton, ArrayFieldButtonProps, ArrayFieldContainer, ArrayFieldContainerProps, ArrayFieldOptions, ArrayFieldProps, ArrayFieldProvider, ArrayFieldRemoveButton, ArrayFieldRow, ArrayFieldRowContainer, ArrayFieldRowFields, ArrayFieldRowFieldsProps, ArrayFieldRowProvider, ArrayFieldRows, ArrayFieldRowsProps, AutoFields, BaseField, BaseFieldProps, Form$1 as BaseForm, CheckboxField, CreateFieldOptions, CreateFormProps, DefaultFields, DisplayField, DisplayFieldProps, DisplayIf, DisplayIfProps, Field, FieldOptions, FieldProps, FieldResolver, FieldRules, FieldsProps, FieldsProvider, Form, FormLayout, FormLayoutProps, FormLegend, FormProps, FormProvider, FormRenderContext, FormStep, FormStepOptions, FormStepProps, FormStepSubmitHandler, FormStepper, FormStepperProps, FormValue, GetFieldResolver, InputField, InputFieldProps, InputRightButton, InputRightButtonProps, NativeSelect, NativeSelectField, NativeSelectProps, NextButton, NextButtonProps, NumberInputField, NumberInputFieldProps, ObjectField, ObjectFieldProps, ObjectSchema, Option, PasswordInput, PasswordInputField, PasswordInputProps, PinField, PinFieldProps, PrevButton, RadioField, RadioInput, RadioInputProps, RadioOption, RadioOptions, Select, SelectButton, SelectButtonProps, SelectField, SelectList, SelectListProps, SelectOption, SelectProps, StepForm, StepFormContext, StepFormProps, StepFormProvider, StepState, SubmitButton, SubmitButtonProps, SwitchField, TextareaField, UseArrayFieldReturn, UseArrayFieldRowProps, UseArrayFieldRowReturn, UseFormStepProps, UseStepFormProps, UseStepFormReturn, WatchField, WatchFieldProps, WithFields, createField, createForm, defaultFieldTypes, objectFieldResolver, useArrayField, useArrayFieldAddButton, useArrayFieldContext, useArrayFieldRemoveButton, useArrayFieldRow, useArrayFieldRowContext, useField, useFormContext, useFormStep, useStepForm, useStepFormContext };
|
805
|
+
export { ArrayField, ArrayFieldAddButton, ArrayFieldButtonProps, ArrayFieldContainer, ArrayFieldContainerProps, ArrayFieldOptions, ArrayFieldProps, ArrayFieldProvider, ArrayFieldRemoveButton, ArrayFieldRow, ArrayFieldRowContainer, ArrayFieldRowFields, ArrayFieldRowFieldsProps, ArrayFieldRowProvider, ArrayFieldRows, ArrayFieldRowsProps, AutoFields, BaseField, BaseFieldProps, Form$1 as BaseForm, CheckboxField, CreateFieldOptions, CreateFormProps, DefaultFieldOverrides, DefaultFields, DisplayField, DisplayFieldProps, DisplayIf, DisplayIfProps, Field, FieldOptions, FieldProps, FieldResolver, FieldRules, FieldsProps, FieldsProvider, Form, FormComponent, FormLayout, FormLayoutProps, FormLegend, FormProps, FormProvider, FormRenderContext, FormStep, FormStepOptions, FormStepProps, FormStepSubmitHandler, FormStepper, FormStepperProps, FormType, FormValue, GetFieldResolver, InputField, InputFieldProps, InputRightButton, InputRightButtonProps, NativeSelect, NativeSelectField, NativeSelectProps, NextButton, NextButtonProps, NumberInputField, NumberInputFieldProps, ObjectField, ObjectFieldProps, ObjectSchema, Option, PasswordInput, PasswordInputField, PasswordInputProps, PinField, PinFieldProps, PrevButton, RadioField, RadioInput, RadioInputProps, RadioOption, RadioOptions, Select, SelectButton, SelectButtonProps, SelectField, SelectList, SelectListProps, SelectOption, SelectProps, StepForm, StepFormContext, StepFormProps, StepFormProvider, StepState, SubmitButton, SubmitButtonProps, SwitchField, TextareaField, UseArrayFieldReturn, UseArrayFieldRowProps, UseArrayFieldRowReturn, UseFormStepProps, UseStepFormProps, UseStepFormReturn, WatchField, WatchFieldProps, WithFields, createField, createForm, defaultFieldTypes, objectFieldResolver, useArrayField, useArrayFieldAddButton, useArrayFieldContext, useArrayFieldRemoveButton, useArrayFieldRow, useArrayFieldRowContext, useField, useFormContext, useFormStep, useStepForm, useStepFormContext };
|