@saas-ui/forms 2.4.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -4,11 +4,11 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as react_hook_form from 'react-hook-form';
5
5
  import { FieldValues, FieldPath, UseFieldArrayReturn, RegisterOptions, UseFormReturn as UseFormReturn$1, UseFormProps, WatchObserver, SubmitHandler, SubmitErrorHandler, ResolverOptions, ResolverResult, FormProviderProps as FormProviderProps$1 } from 'react-hook-form';
6
6
  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';
7
+ import * as _chakra_ui_react from '@chakra-ui/react';
7
8
  import { NumberInputProps as NumberInputProps$1, NumberInputFieldProps as NumberInputFieldProps$1, InputProps, RadioProps, RadioGroupProps, SystemProps, StackDirection, MenuProps, ThemingProps, ButtonProps, MenuListProps, MenuItemOptionProps, SelectProps as SelectProps$1, TextareaProps, SwitchProps, CheckboxProps, UsePinInputProps, ResponsiveValue, FormLabelProps, SimpleGridProps, FormControlProps, HTMLChakraProps } from '@chakra-ui/react';
8
9
  import { UseStepperReturn, UseStepperProps, StepsProps, StepsItemProps } from '@saas-ui/core';
9
10
  import { FocusableElement } from '@chakra-ui/utils';
10
11
  import { MaybeRenderProp } from '@chakra-ui/react-utils';
11
- import * as _chakra_ui_system_dist_system_types from '@chakra-ui/system/dist/system.types';
12
12
 
13
13
  interface NumberInputOptions {
14
14
  /**
@@ -50,7 +50,7 @@ interface PasswordOptions {
50
50
  }
51
51
  interface PasswordInputProps extends InputProps, PasswordOptions {
52
52
  }
53
- declare const PasswordInput: _chakra_ui_system_dist_system_types.ComponentWithAs<"div", PasswordInputProps>;
53
+ declare const PasswordInput: _chakra_ui_react.ComponentWithAs<"div", PasswordInputProps>;
54
54
 
55
55
  interface RadioOption extends Omit<RadioProps, 'value' | 'label'>, FieldOption {
56
56
  }
@@ -62,7 +62,7 @@ interface RadioInputOptions {
62
62
  }
63
63
  interface RadioInputProps extends Omit<RadioGroupProps, 'children'>, RadioInputOptions {
64
64
  }
65
- declare const RadioInput: _chakra_ui_system_dist_system_types.ComponentWithAs<"div", RadioInputProps>;
65
+ declare const RadioInput: _chakra_ui_react.ComponentWithAs<"div", RadioInputProps>;
66
66
 
67
67
  interface SelectOptions {
68
68
  /**
@@ -116,13 +116,13 @@ interface SelectButtonProps extends Omit<ButtonProps, 'size' | 'variant'> {
116
116
  *
117
117
  * @see https://saas-ui.dev/docs/components/forms/select
118
118
  */
119
- declare const SelectButton: _chakra_ui_system_dist_system_types.ComponentWithAs<"button", SelectButtonProps>;
119
+ declare const SelectButton: _chakra_ui_react.ComponentWithAs<"button", SelectButtonProps>;
120
120
  /**
121
121
  * Allow users to select a value from a list of options.
122
122
  *
123
123
  * @see https://saas-ui.dev/docs/components/forms/select
124
124
  */
125
- declare const Select: _chakra_ui_system_dist_system_types.ComponentWithAs<"select", SelectProps>;
125
+ declare const Select: _chakra_ui_react.ComponentWithAs<"select", SelectProps>;
126
126
  interface SelectListProps extends MenuListProps {
127
127
  }
128
128
  /**
@@ -138,7 +138,7 @@ interface SelectOption extends Omit<MenuItemOptionProps, 'value'>, FieldOption {
138
138
  *
139
139
  * @see https://saas-ui.dev/docs/components/forms/select
140
140
  */
141
- declare const SelectOption: _chakra_ui_system_dist_system_types.ComponentWithAs<"button", MenuItemOptionProps>;
141
+ declare const SelectOption: _chakra_ui_react.ComponentWithAs<"button", MenuItemOptionProps>;
142
142
 
143
143
  interface Option$1 {
144
144
  value: string;
@@ -149,7 +149,7 @@ interface NativeSelectOptions {
149
149
  }
150
150
  interface NativeSelectProps extends SelectProps$1, NativeSelectOptions {
151
151
  }
152
- declare const NativeSelect: _chakra_ui_system_dist_system_types.ComponentWithAs<"select", NativeSelectProps>;
152
+ declare const NativeSelect: _chakra_ui_react.ComponentWithAs<"select", NativeSelectProps>;
153
153
 
154
154
  interface InputFieldProps extends InputProps {
155
155
  type?: string;
@@ -217,7 +217,7 @@ interface SubmitButtonProps extends ButtonProps {
217
217
  *
218
218
  * @see Docs https://saas-ui.dev/docs/components/forms/form
219
219
  */
220
- declare const SubmitButton: _chakra_ui_system_dist_system_types.ComponentWithAs<"button", SubmitButtonProps>;
220
+ declare const SubmitButton: _chakra_ui_react.ComponentWithAs<"button", SubmitButtonProps>;
221
221
 
222
222
  interface ObjectFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends BaseFieldProps {
223
223
  name: TName;
@@ -486,14 +486,21 @@ interface BaseFieldProps<TFieldValues extends FieldValues = FieldValues, TName e
486
486
  */
487
487
  placeholder?: string;
488
488
  }
489
+ type GetBaseField<TProps extends object = object> = () => {
490
+ extraProps: string[];
491
+ BaseField: React.FC<Omit<BaseFieldProps, 'name'> & {
492
+ name: string;
493
+ children: React.ReactNode;
494
+ } & TProps>;
495
+ };
489
496
  type FieldPathWithArray<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = TName | ArrayFieldPath<TName>;
490
- type MergeFieldProps<FieldDefs, TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = ValueOf<{
497
+ type MergeFieldProps<FieldDefs, TFieldValues extends FieldValues = FieldValues, TExtraFieldProps extends object = object, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = ValueOf<{
491
498
  [K in keyof FieldDefs]: FieldDefs[K] extends React.FC<infer Props> ? {
492
499
  type?: K;
493
- } & ShallowMerge<Props, BaseFieldProps<TFieldValues, TName>> : never;
500
+ } & ShallowMerge<Props, BaseFieldProps<TFieldValues, TName>> & TExtraFieldProps : never;
494
501
  }>;
495
- type FieldProps<TFieldValues extends FieldValues = FieldValues> = MergeFieldProps<DefaultFields, TFieldValues>;
496
- type FormChildren<FieldDefs, TFieldValues extends FieldValues = FieldValues, TContext extends object = object> = MaybeRenderProp<FormRenderContext<TFieldValues, TContext, MergeFieldProps<FieldDefs extends never ? DefaultFields : ShallowMerge<DefaultFields, FieldDefs>, TFieldValues>>>;
502
+ type FieldProps<TFieldValues extends FieldValues = FieldValues, TExtraFieldProps extends object = object> = MergeFieldProps<DefaultFields, TFieldValues, TExtraFieldProps>;
503
+ type FormChildren<FieldDefs, TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TExtraFieldProps extends object = object> = MaybeRenderProp<FormRenderContext<TFieldValues, TContext, MergeFieldProps<FieldDefs extends never ? DefaultFields : ShallowMerge<DefaultFields, FieldDefs>, TFieldValues, TExtraFieldProps>>>;
497
504
  type DefaultFieldOverrides = {
498
505
  submit?: SubmitButtonProps;
499
506
  [key: string]: any;
@@ -510,8 +517,8 @@ type FieldOverrides<FieldDefs, TFieldValues extends FieldValues = FieldValues, T
510
517
  type?: 'array';
511
518
  } & Omit<ArrayFieldProps<TFieldValues>, 'name' | 'children'>);
512
519
  };
513
- type WithFields<TFormProps extends FormProps<any, any, any, any>, FieldDefs, ExtraOverrides = object> = TFormProps extends FormProps<infer TSchema, infer TFieldValues, infer TContext> ? Omit<TFormProps, 'children' | 'fields'> & {
514
- children?: FormChildren<FieldDefs, TFieldValues, TContext>;
520
+ type WithFields<TFormProps extends FormProps<any, any, any, any, any>, FieldDefs, ExtraOverrides = object> = TFormProps extends FormProps<infer TSchema, infer TFieldValues, infer TContext, infer TExtraFieldProps> ? Omit<TFormProps, 'children' | 'fields'> & {
521
+ children?: FormChildren<FieldDefs, TFieldValues, TContext, TExtraFieldProps>;
515
522
  fields?: FieldOverrides<FieldDefs, TFieldValues> & {
516
523
  submit?: SubmitButtonProps;
517
524
  } & ExtraOverrides;
@@ -569,7 +576,7 @@ interface FormRenderContext<TFieldValues extends FieldValues = FieldValues, TCon
569
576
  ArrayField: React$1.FC<ArrayFieldProps<TFieldValues> & React$1.RefAttributes<UseArrayFieldReturn>>;
570
577
  ObjectField: React$1.FC<ObjectFieldProps<TFieldValues>>;
571
578
  }
572
- interface FormOptions<TSchema = unknown, TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TFieldTypes = FieldProps<TFieldValues>> {
579
+ interface FormOptions<TSchema = unknown, TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TExtraFieldProps extends object = object, TFieldTypes = FieldProps<TFieldValues, TExtraFieldProps>> {
573
580
  /**
574
581
  * The form schema.
575
582
  */
@@ -603,7 +610,7 @@ interface FormOptions<TSchema = unknown, TFieldValues extends FieldValues = Fiel
603
610
  */
604
611
  fields?: DefaultFieldOverrides;
605
612
  }
606
- interface FormProps<TSchema = unknown, TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TFieldTypes = FieldProps<TFieldValues>> extends UseFormProps<TFieldValues, TContext>, Omit<HTMLChakraProps<'form'>, 'children' | 'onChange' | 'onSubmit' | 'onError'>, FormOptions<TSchema, TFieldValues, TContext, TFieldTypes> {
613
+ interface FormProps<TSchema = unknown, TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TExtraFieldProps extends object = object, TFieldTypes = FieldProps<TFieldValues, TExtraFieldProps>> extends UseFormProps<TFieldValues, TContext>, Omit<HTMLChakraProps<'form'>, 'children' | 'onChange' | 'onSubmit' | 'onError'>, FormOptions<TSchema, TFieldValues, TContext, TExtraFieldProps, TFieldTypes> {
607
614
  }
608
615
  /**
609
616
  * The wrapper component provides context, state, and focus management.
@@ -611,7 +618,7 @@ interface FormProps<TSchema = unknown, TFieldValues extends FieldValues = FieldV
611
618
  * @see Docs https://saas-ui.dev/docs/components/forms/form
612
619
  */
613
620
  declare const Form$1: FormComponent;
614
- type FormComponent = (<TSchema = unknown, TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TFieldTypes = FieldProps<TFieldValues>>(props: FormProps<TSchema, TFieldValues, TContext, TFieldTypes> & {
621
+ type FormComponent = (<TSchema = unknown, TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TExtraFieldProps extends object = object, TFieldTypes = FieldProps<TFieldValues>>(props: FormProps<TSchema, TFieldValues, TContext, TExtraFieldProps, TFieldTypes> & {
615
622
  ref?: React$1.ForwardedRef<HTMLFormElement>;
616
623
  }) => React$1.ReactElement) & {
617
624
  displayName?: string;
@@ -732,31 +739,33 @@ interface NextButtonProps extends Omit<ButtonProps, 'children'> {
732
739
  */
733
740
  declare const NextButton: React$1.FC<NextButtonProps>;
734
741
 
735
- type StepFormType<FieldDefs, ExtraProps = object, ExtraOverrides = object> = (<TSteps extends StepsOptions<any> = StepsOptions<any>, TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TFieldTypes = FieldProps<TFieldValues>>(props: WithStepFields<UseStepFormProps<TSteps, TFieldValues, TContext>, FieldDefs, ExtraOverrides> & {
742
+ type StepFormType<FieldDefs, ExtraProps = object, ExtraFieldProps extends object = object, ExtraOverrides = object> = (<TSteps extends StepsOptions<any> = StepsOptions<any>, TFieldValues extends FieldValues = FieldValues, TContext extends object = object, TFieldTypes = FieldProps<TFieldValues, ExtraFieldProps>>(props: WithStepFields<UseStepFormProps<TSteps, TFieldValues, TContext>, FieldDefs, ExtraOverrides> & {
736
743
  ref?: React__default.ForwardedRef<HTMLFormElement>;
737
744
  } & ExtraProps) => React__default.ReactElement) & {
738
745
  displayName?: string;
739
746
  id?: string;
740
747
  };
741
- interface CreateStepFormProps<FieldDefs> {
748
+ interface CreateStepFormProps<FieldDefs, TGetBaseField extends GetBaseField = GetBaseField> {
742
749
  resolver?: GetResolver;
743
750
  fieldResolver?: GetFieldResolver;
744
751
  fields?: FieldDefs extends Record<string, React__default.FC<any>> ? FieldDefs : never;
752
+ getBaseField?: TGetBaseField;
745
753
  }
746
- declare function createStepForm<FieldDefs, ExtraProps = object, ExtraOverrides = object>({ fields, resolver, fieldResolver }?: CreateStepFormProps<FieldDefs>): StepFormType<FieldDefs, ExtraProps, ExtraOverrides>;
754
+ declare function createStepForm<FieldDefs, TGetBaseField extends GetBaseField<any> = GetBaseField<any>>({ fields, resolver, fieldResolver, getBaseField, }?: CreateStepFormProps<FieldDefs, TGetBaseField>): StepFormType<FieldDefs, object, TGetBaseField extends GetBaseField<infer ExtraFieldProps extends object> ? ExtraFieldProps : object, object>;
747
755
 
748
- interface CreateFormProps<FieldDefs> {
756
+ interface CreateFormProps<FieldDefs, TGetBaseField extends GetBaseField = GetBaseField> {
749
757
  resolver?: GetResolver;
750
758
  fieldResolver?: GetFieldResolver;
751
759
  fields?: FieldDefs extends Record<string, React__default.FC<any>> ? FieldDefs : never;
760
+ getBaseField?: TGetBaseField;
752
761
  }
753
- type FormType<FieldDefs, ExtraProps = object, ExtraOverrides = object> = (<TSchema = unknown, TFieldValues extends FieldValues = FieldValues, TContext extends object = object>(props: WithFields<FormProps<TSchema, TFieldValues, TContext>, FieldDefs, ExtraOverrides> & {
762
+ type FormType<FieldDefs, ExtraProps = object, ExtraFieldProps extends object = object, ExtraOverrides = object> = (<TSchema = unknown, TFieldValues extends FieldValues = FieldValues, TContext extends object = object>(props: WithFields<FormProps<TSchema, TFieldValues, TContext, ExtraFieldProps>, FieldDefs, ExtraOverrides> & {
754
763
  ref?: React__default.ForwardedRef<HTMLFormElement>;
755
764
  } & ExtraProps) => React__default.ReactElement) & {
756
765
  displayName?: string;
757
766
  id?: string;
758
767
  };
759
- declare function createForm<FieldDefs>({ resolver, fieldResolver, fields, }?: CreateFormProps<FieldDefs>): FormType<FieldDefs, object, object>;
768
+ declare function createForm<FieldDefs, TGetBaseField extends GetBaseField<any> = GetBaseField<any>>({ resolver, fieldResolver, fields, getBaseField, }?: CreateFormProps<FieldDefs, TGetBaseField>): FormType<FieldDefs, object, TGetBaseField extends GetBaseField<infer ExtraFieldProps extends object> ? ExtraFieldProps : object, object>;
760
769
 
761
770
  interface DisplayFieldProps extends Omit<FormControlProps, 'onChange'>, Omit<FieldProps, 'type' | 'label' | 'onChange'> {
762
771
  }
@@ -787,7 +796,7 @@ type FieldRules = Pick<RegisterOptions, 'required' | 'min' | 'max' | 'maxLength'
787
796
  * @see Docs https://saas-ui.dev/docs/components/forms/field
788
797
  */
789
798
  declare const Field: (<TFieldValues extends FieldValues>(props: FieldProps<TFieldValues> & {
790
- ref?: React$1.ForwardedRef<FocusableElement> | undefined;
799
+ ref?: React$1.ForwardedRef<FocusableElement>;
791
800
  }) => React$1.ReactElement) & {
792
801
  displayName?: string | undefined;
793
802
  };
@@ -799,8 +808,12 @@ interface FieldsProps<TSchema = any> {
799
808
  }
800
809
  declare const AutoFields: React$1.FC<FieldsProps>;
801
810
 
811
+ interface FieldsContextValue {
812
+ fields: Record<string, React__default.FC<any>>;
813
+ getBaseField?: GetBaseField<any>;
814
+ }
802
815
  declare const FieldsProvider: React__default.FC<{
803
- value: Record<string, React__default.FC<any>>;
816
+ value: Partial<FieldsContextValue>;
804
817
  children: React__default.ReactNode;
805
818
  }>;
806
819
  declare const useField: (type: string) => React__default.FC<any>;
@@ -847,15 +860,24 @@ interface WatchFieldProps<Value = unknown, TFieldValues extends FieldValues = Fi
847
860
  declare const WatchField: <Value = unknown, TFieldValues extends FieldValues = FieldValues>(props: WatchFieldProps<Value, TFieldValues>) => React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>> | null;
848
861
 
849
862
  type InputRightButtonProps = ButtonProps;
850
- declare const InputRightButton: _chakra_ui_system_dist_system_types.ComponentWithAs<"div", ButtonProps>;
863
+ declare const InputRightButton: _chakra_ui_react.ComponentWithAs<"div", ButtonProps>;
851
864
 
865
+ declare const useBaseField: (props: BaseFieldProps) => {
866
+ controlProps: Pick<BaseFieldProps<react_hook_form.FieldValues, string>, "id" | "isRequired" | "isDisabled" | "isInvalid" | "isReadOnly">;
867
+ error: any;
868
+ touched: any;
869
+ name: string;
870
+ label?: string | undefined;
871
+ hideLabel?: boolean | undefined;
872
+ help?: string | undefined;
873
+ };
852
874
  /**
853
875
  * The default BaseField component
854
876
  * Composes the Chakra UI FormControl component, with FormLabel, FormHelperText and FormErrorMessage.
855
877
  */
856
878
  declare const BaseField: React$1.FC<BaseFieldProps>;
857
879
 
858
- interface CreateFieldOptions {
880
+ interface CreateFieldOptions<TProps extends object> {
859
881
  isControlled?: boolean;
860
882
  hideLabel?: boolean;
861
883
  BaseField?: React$1.FC<any>;
@@ -868,19 +890,19 @@ interface CreateFieldOptions {
868
890
  * @param options.isControlled Set this to true if this is a controlled field.
869
891
  * @param options.hideLabel Hide the field label, for example for the checkbox field.
870
892
  */
871
- declare const createField: <TProps extends object>(component: React$1.FC<TProps>, options?: CreateFieldOptions) => React$1.FC<Omit<BaseFieldProps<react_hook_form.FieldValues, string>, keyof TProps> & TProps>;
893
+ declare const createField: <TProps extends object>(component: React$1.FC<TProps>, options?: CreateFieldOptions<TProps>) => React$1.FC<Omit<BaseFieldProps<react_hook_form.FieldValues, string>, keyof TProps> & TProps>;
872
894
 
873
895
  /**
874
896
  * Form component.
875
897
  *
876
898
  * @see Docs https://saas-ui.dev/docs/components/forms/form
877
899
  */
878
- declare const Form: FormType<unknown, object, object>;
900
+ declare const Form: FormType<unknown, object, any, object>;
879
901
  /**
880
902
  * Multi-step form component.
881
903
  *
882
904
  * @see Docs https://saas-ui.dev/docs/components/forms/step-form
883
905
  */
884
- declare const StepForm: StepFormType<unknown, object, object>;
906
+ declare const StepForm: StepFormType<unknown, object, any, object>;
885
907
 
886
- 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, CheckboxFieldProps, CreateFieldOptions, CreateFormProps, CreateStepFormProps, 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, NativeSelectFieldProps, NativeSelectProps, NextButton, NextButtonProps, NumberInputField, NumberInputFieldProps, ObjectField, ObjectFieldProps, ObjectSchema, Option, PasswordInput, PasswordInputField, PasswordInputProps, PinField, PinFieldProps, PrevButton, RadioField, RadioFieldProps, RadioInput, RadioInputProps, RadioOption, RadioOptions, Select, SelectButton, SelectButtonProps, SelectField, SelectFieldProps, SelectList, SelectListProps, SelectOption, SelectProps, StepForm, StepFormContext, StepFormProps, StepFormProvider, StepFormRenderContext, StepState, StepsOptions, SubmitButton, SubmitButtonProps, SwitchField, SwitchFieldProps, TextareaField, TextareaFieldProps, UseArrayFieldReturn, UseArrayFieldRowProps, UseArrayFieldRowReturn, UseFormStepProps, UseStepFormProps, UseStepFormReturn, WatchField, WatchFieldProps, WithFields, WithStepFields, createField, createForm, createStepForm, defaultFieldTypes, objectFieldResolver, useArrayField, useArrayFieldAddButton, useArrayFieldContext, useArrayFieldRemoveButton, useArrayFieldRow, useArrayFieldRowContext, useField, useFormContext, useFormStep, useStepForm, useStepFormContext };
908
+ export { ArrayField, ArrayFieldAddButton, type ArrayFieldButtonProps, ArrayFieldContainer, type ArrayFieldContainerProps, type ArrayFieldOptions, type ArrayFieldProps, ArrayFieldProvider, ArrayFieldRemoveButton, ArrayFieldRow, ArrayFieldRowContainer, ArrayFieldRowFields, type ArrayFieldRowFieldsProps, ArrayFieldRowProvider, ArrayFieldRows, type ArrayFieldRowsProps, AutoFields, BaseField, type BaseFieldProps, Form$1 as BaseForm, CheckboxField, type CheckboxFieldProps, type CreateFieldOptions, type CreateFormProps, type CreateStepFormProps, type DefaultFieldOverrides, type DefaultFields, DisplayField, type DisplayFieldProps, DisplayIf, type DisplayIfProps, Field, type FieldOptions, type FieldProps, type FieldResolver, type FieldRules, type FieldsProps, FieldsProvider, Form, type FormComponent, FormLayout, type FormLayoutProps, FormLegend, type FormProps, FormProvider, type FormRenderContext, FormStep, type FormStepOptions, type FormStepProps, type FormStepSubmitHandler, FormStepper, type FormStepperProps, type FormType, FormValue, type GetBaseField, type GetFieldResolver, InputField, type InputFieldProps, InputRightButton, type InputRightButtonProps, NativeSelect, NativeSelectField, type NativeSelectFieldProps, type NativeSelectProps, NextButton, type NextButtonProps, NumberInputField, type NumberInputFieldProps, ObjectField, type ObjectFieldProps, type ObjectSchema, type Option, PasswordInput, PasswordInputField, type PasswordInputProps, PinField, type PinFieldProps, PrevButton, RadioField, type RadioFieldProps, RadioInput, type RadioInputProps, type RadioOption, type RadioOptions, Select, SelectButton, type SelectButtonProps, SelectField, type SelectFieldProps, SelectList, type SelectListProps, SelectOption, type SelectProps, StepForm, type StepFormContext, type StepFormProps, StepFormProvider, type StepFormRenderContext, type StepState, type StepsOptions, SubmitButton, type SubmitButtonProps, SwitchField, type SwitchFieldProps, TextareaField, type TextareaFieldProps, type UseArrayFieldReturn, type UseArrayFieldRowProps, type UseArrayFieldRowReturn, type UseFormStepProps, type UseStepFormProps, type UseStepFormReturn, WatchField, type WatchFieldProps, type WithFields, type WithStepFields, createField, createForm, createStepForm, defaultFieldTypes, objectFieldResolver, useArrayField, useArrayFieldAddButton, useArrayFieldContext, useArrayFieldRemoveButton, useArrayFieldRow, useArrayFieldRowContext, useBaseField, useField, useFormContext, useFormStep, useStepForm, useStepFormContext };