@onesy/ui-react 1.0.190 → 1.0.192

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license UiReact v1.0.189
1
+ /** @license UiReact v1.0.191
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onesy/ui-react",
3
- "version": "1.0.190",
3
+ "version": "1.0.192",
4
4
  "description": "UI for React",
5
5
  "repository": "https://github.com/onesy-me/onesy.git",
6
6
  "author": "Lazar Erić <lazareric1@proton.me>",
package/utils.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { IPoint } from './types';
2
+ export { default as currencies } from './currencies';
2
3
  export declare function reflow(element: HTMLElement): number;
3
4
  export declare const staticClassName: (name: string, theme: any) => any;
4
5
  export declare const iconSizeToFontSize: (value: string | number) => any;
@@ -37,13 +38,5 @@ export declare const formats: {
37
38
  time: string;
38
39
  };
39
40
  export declare const iconFontSize = 20;
40
- export declare const currencies: {
41
- symbol: string;
42
- name: string;
43
- symbol_native: string;
44
- decimal_digits: number;
45
- rounding: number;
46
- code: string;
47
- name_plural: string;
48
- }[];
49
41
  export declare const decodeHTMLEntities: (html: string) => string;
42
+ export declare const scrollToMiddleOfParent: (element: HTMLElement) => void;