indicator-ui 1.0.41 → 1.0.43

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.
@@ -7,6 +7,7 @@ type FormInstance = Ref<FormRef> | Array<Ref<FormRef>>;
7
7
  type PropsType<T, Form> = [
8
8
  props?: {
9
9
  ref?: FormInstance;
10
+ usingForwardedRef?: boolean;
10
11
  initFormData?: T;
11
12
  scheme?: FormSchemeType<T>;
12
13
  onSubmit?: (data: Form, event: FormEvent<HTMLFormElement>, services: UseFormServices<Form, T>) => void | Promise<void>;
@@ -1,3 +1,8 @@
1
- type PropsType = [timeout: number];
2
- export declare function useResettableTimeout(...args: PropsType): readonly [(fun: () => unknown | Promise<unknown>) => void, NodeJS.Timeout | undefined, () => void];
1
+ type Callback = () => any;
2
+ type Timeout = number;
3
+ type Options = {
4
+ initExecute?: boolean;
5
+ };
6
+ type PropsType = [fun: Callback, timeout: Timeout, opt?: Options];
7
+ export declare function useResettableTimeout(...args: PropsType): void;
3
8
  export {};
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "react-components",
12
12
  "ui-kit"
13
13
  ],
14
- "version": "1.0.41",
14
+ "version": "1.0.43",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",