@hestia-earth/ui-components 0.31.29 → 0.31.31

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/common/utils.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare const filterParams: (obj: any) => {
15
15
  export declare const waitFor: (variable: string, callback: () => void) => void | NodeJS.Timeout;
16
16
  export declare const bottom: (element: HTMLElement) => number;
17
17
  export declare const isScrolledBelow: (element: HTMLElement) => boolean;
18
- export declare const scrollToEl: (id: string, retries?: number) => void;
18
+ export declare const scrollToEl: (id: string | Element, args?: ScrollIntoViewOptions, retries?: number) => void;
19
19
  export declare const scrollTop: () => void;
20
20
  export declare const safeJSONParse: <T>(value: string, defaultValue?: any) => any;
21
21
  export declare const safeJSONStringify: (value: string) => string;