@wix/form-public 0.116.0 → 0.118.0
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/_tsup-dts-rollup.d.cts +2 -1
- package/dist/_tsup-dts-rollup.d.ts +2 -1
- package/dist/index.cjs +1054 -120
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1054 -120
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -302,7 +302,7 @@ export declare interface UploadFileParams {
|
|
|
302
302
|
|
|
303
303
|
export { useFieldProps }
|
|
304
304
|
|
|
305
|
-
declare const useForm: ({ form: unformattedForm, values, onChange, errors, onValidate, submitForm, uploadFile, forwardedRef, fieldMap: fields, }: UseFormProps) => UseFormReturn;
|
|
305
|
+
declare const useForm: ({ form: unformattedForm, values, onChange, errors, onValidate, submitForm, uploadFile, forwardedRef, fieldMap: fields, addressTemplates, }: UseFormProps) => UseFormReturn;
|
|
306
306
|
export { useForm }
|
|
307
307
|
export { useForm as useForm_alias_1 }
|
|
308
308
|
|
|
@@ -316,6 +316,7 @@ declare type UseFormProps = {
|
|
|
316
316
|
uploadFile?: UploadFile;
|
|
317
317
|
fieldMap: FieldMap;
|
|
318
318
|
forwardedRef?: React.ForwardedRef<FormHandle>;
|
|
319
|
+
addressTemplates?: AddressTemplate[];
|
|
319
320
|
};
|
|
320
321
|
export { UseFormProps }
|
|
321
322
|
export { UseFormProps as UseFormProps_alias_1 }
|
|
@@ -302,7 +302,7 @@ export declare interface UploadFileParams {
|
|
|
302
302
|
|
|
303
303
|
export { useFieldProps }
|
|
304
304
|
|
|
305
|
-
declare const useForm: ({ form: unformattedForm, values, onChange, errors, onValidate, submitForm, uploadFile, forwardedRef, fieldMap: fields, }: UseFormProps) => UseFormReturn;
|
|
305
|
+
declare const useForm: ({ form: unformattedForm, values, onChange, errors, onValidate, submitForm, uploadFile, forwardedRef, fieldMap: fields, addressTemplates, }: UseFormProps) => UseFormReturn;
|
|
306
306
|
export { useForm }
|
|
307
307
|
export { useForm as useForm_alias_1 }
|
|
308
308
|
|
|
@@ -316,6 +316,7 @@ declare type UseFormProps = {
|
|
|
316
316
|
uploadFile?: UploadFile;
|
|
317
317
|
fieldMap: FieldMap;
|
|
318
318
|
forwardedRef?: React.ForwardedRef<FormHandle>;
|
|
319
|
+
addressTemplates?: AddressTemplate[];
|
|
319
320
|
};
|
|
320
321
|
export { UseFormProps }
|
|
321
322
|
export { UseFormProps as UseFormProps_alias_1 }
|