@homecode/ui 4.26.3 → 4.26.5

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.
@@ -1,8 +1,7 @@
1
1
  import { jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { memo } from 'react';
3
3
  import { nanoid } from 'nanoid';
4
- import { useStore } from 'justorm/react';
5
- import { createStore } from 'justorm';
4
+ import { createStore, useStore } from 'justorm/react';
6
5
  import _i18n from 'roddeh-i18n';
7
6
  import LS from '../tools/localStorage.js';
8
7
  import { queryParams } from '../tools/queryParams.js';
@@ -9,17 +9,18 @@ type I18NProps = {
9
9
  children?: React.ReactNode;
10
10
  props?: number | Record<string, any>;
11
11
  };
12
- export declare const store: import("justorm/dist/esm/proxy").ProxyStore<import("justorm/dist/esm/create").StoreDefinition<{
12
+ export declare const store: import("justorm/dist/esm/proxy").ProxyStore<{
13
13
  lang: string | void;
14
- changeLang: (lang: any) => Promise<void>;
15
- }>>;
14
+ changeLang(lang: any): Promise<void>;
15
+ }>;
16
16
  export declare function init(config: RegisterConfig): {
17
17
  storeName: string;
18
- componentStore: import("justorm/dist/esm/proxy").ProxyStore<import("justorm/dist/esm/create").StoreDefinition<{
18
+ componentStore: import("justorm/dist/esm/proxy").ProxyStore<{
19
19
  _updated: string;
20
- }>>;
20
+ }>;
21
21
  withI18N: (Component: any) => (props: any) => JSX.Element;
22
22
  i18n: (key: any, props?: any) => any;
23
23
  I18N: import("react").NamedExoticComponent<I18NProps>;
24
24
  };
25
+ export type I18NStore = typeof store;
25
26
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homecode/ui",
3
- "version": "4.26.3",
3
+ "version": "4.26.5",
4
4
  "description": "React UI components library",
5
5
  "scripts": {
6
6
  "tests": "jest",