@common-stack/client-react 6.0.1-alpha.0 → 6.0.2-alpha.2

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,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { IReactFeature } from '../interfaces';
3
2
  import { BaseFeature } from './base-connector';
4
3
  import { renderRoutes2 } from '../route/render-routes';
5
4
  export declare class Feature extends BaseFeature implements IReactFeature {
6
5
  protected renderRoutes: (routes: any, solidRoutes: any, extraProps?: {}) => import("react").JSX.Element;
7
6
  protected renderRoutes2: typeof renderRoutes2;
8
- protected getSortedRoutes: (path: string, routeData: import("../interfaces").IRouteData, authWrapper?: (ele: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, props: Record<string, any>) => void) => any;
9
- protected getSortedRoutes2: (path: string, routeData: import("../interfaces").IRouteData, authWrapper?: (ele: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, props: Record<string, any>) => void) => any;
7
+ protected getSortedRoutes: (path: string, routeData: import("../interfaces").IRouteData, authWrapper?: (ele: React.ReactElement, props: Record<string, any>) => void) => any;
8
+ protected getSortedRoutes2: (path: string, routeData: import("../interfaces").IRouteData, authWrapper?: (ele: React.ReactElement, props: Record<string, any>) => void) => any;
10
9
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IReactFeature } from '../interfaces';
3
2
  import { BaseFeature } from './base-connector';
4
3
  export declare class Feature extends BaseFeature implements IReactFeature {
@@ -10,9 +9,9 @@ export declare class Feature extends BaseFeature implements IReactFeature {
10
9
  * @returns
11
10
  */
12
11
  protected renderRoutes2: (arg1: any, arg2: any) => import("react").JSX.Element;
13
- protected getSortedRoutes: (path: string, routeData: import("../interfaces").IRouteData, authWrapper?: (component: import("react").FC<{}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => any;
12
+ protected getSortedRoutes: (path: string, routeData: import("../interfaces").IRouteData, authWrapper?: ((component: React.FC) => import("react").ReactElement)) => any;
14
13
  /**
15
14
  * @deprecated use getSortedRoutes
16
15
  */
17
- protected getSortedRoutes2: (path: string, routeData: import("../interfaces").IRouteData, authWrapper?: (component: import("react").FC<{}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => any;
16
+ protected getSortedRoutes2: (path: string, routeData: import("../interfaces").IRouteData, authWrapper?: ((component: React.FC) => import("react").ReactElement)) => any;
18
17
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface ICoreRouteData<T> {
3
2
  [key: string]: {
4
3
  loading?: T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/client-react",
3
- "version": "6.0.1-alpha.0",
3
+ "version": "6.0.2-alpha.2",
4
4
  "description": "Client Module for react app",
5
5
  "homepage": "https://github.com/cdmbase/fullstack-pro#readme",
6
6
  "bugs": {
@@ -30,14 +30,16 @@
30
30
  "watch": "npm run build:lib:watch"
31
31
  },
32
32
  "dependencies": {
33
- "@common-stack/client-core": "6.0.1-alpha.0",
34
- "@common-stack/core": "6.0.1-alpha.0",
33
+ "@common-stack/client-core": "6.0.2-alpha.2",
34
+ "@common-stack/core": "6.0.2-alpha.2",
35
35
  "@wordpress/hooks": "^3.53.0",
36
36
  "browser-bunyan": "^1.6.3",
37
37
  "history-with-query": "^4.10.4",
38
38
  "sort-keys": "^4.1.0"
39
39
  },
40
40
  "devDependencies": {
41
+ "@react-navigation/bottom-tabs": "^6.6.1",
42
+ "@react-navigation/stack": "^6.4.1",
41
43
  "@umijs/route-utils": "^4.0.1",
42
44
  "jest-fetch-mock": "^3.0.3",
43
45
  "react-native-testing-library": "^6.0.0"
@@ -55,5 +57,5 @@
55
57
  "typescript": {
56
58
  "definition": "lib/index.d.ts"
57
59
  },
58
- "gitHead": "037d08c7c0aba9947a282963ef1fa86dbe9b5a90"
60
+ "gitHead": "3d13ba346c1d248c87c53ef1c95037ca83f0b5d1"
59
61
  }