indicator-ui 1.0.2 → 1.0.3

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.
@@ -208,7 +208,7 @@ export declare function useForm<Form, T extends Nullable<Undefinable<Form>> = Nu
208
208
  clearForm: () => void;
209
209
  clearErrors: () => void;
210
210
  clearField: (_path: FormPath<T> | FormPath<T>[]) => void;
211
- register: <P extends FormPath<T>>(path?: P, config?: FormSchemeType<T>[P]) => FieldPropsType<FormValue<T, P>>;
211
+ register: <P extends FormPath<T> = "">(path?: P, config?: FormSchemeType<T>[P]) => FieldPropsType<FormValue<T, P>>;
212
212
  registerForm: () => Pick<React.ComponentProps<"form">, "onSubmit" | "onReset" | "noValidate">;
213
213
  getValidForm: () => Promise<Form | null>;
214
214
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "react-components",
12
12
  "ui-kit"
13
13
  ],
14
- "version": "1.0.2",
14
+ "version": "1.0.3",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",