@common-stack/client-react 0.2.33 → 0.4.1

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.
@@ -8,6 +8,7 @@ export declare const InversifyContext: React.Context<{
8
8
  declare type Props = {
9
9
  container: interfaces.Container;
10
10
  modules: IFeature;
11
+ children: React.ReactNode;
11
12
  };
12
13
  export declare const InversifyProvider: React.FC<Props>;
13
14
  export declare function useInjection<T>(identifier: interfaces.ServiceIdentifier<T>): T;
@@ -1 +1 @@
1
- {"version":3,"file":"InversifyContext.js","sourceRoot":"","sources":["../../src/inversify/InversifyContext.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAIlB,QAAA,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAA+D,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;AAQ/I,MAAM,iBAAiB,GAAoB,CAAC,KAAK,EAAE,EAAE;IACxD,OAAO,CACH,oBAAC,wBAAgB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAC,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,IAClF,KAAK,CAAC,QAAQ,CACS,CAC/B,CAAC;AACN,CAAC,CAAC;AANW,QAAA,iBAAiB,qBAM5B;AAEF,SAAgB,YAAY,CAAI,UAA2C;IACvE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;IACzD,IAAI,CAAC,SAAS,EAAE;QACZ,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;KACxC;IACD,OAAO,SAAS,CAAC,GAAG,CAAI,UAAU,CAAC,CAAC;AACxC,CAAC;AAND,oCAMC"}
1
+ {"version":3,"file":"InversifyContext.js","sourceRoot":"","sources":["../../src/inversify/InversifyContext.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAIlB,QAAA,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAA+D,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;AAS/I,MAAM,iBAAiB,GAAoB,CAAC,KAAK,EAAE,EAAE;IACxD,OAAO,CACH,oBAAC,wBAAgB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAC,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,IAClF,KAAK,CAAC,QAAQ,CACS,CAC/B,CAAC;AACN,CAAC,CAAC;AANW,QAAA,iBAAiB,qBAM5B;AAEF,SAAgB,YAAY,CAAI,UAA2C;IACvE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;IACzD,IAAI,CAAC,SAAS,EAAE;QACZ,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;KACxC;IACD,OAAO,SAAS,CAAC,GAAG,CAAI,UAAU,CAAC,CAAC;AACxC,CAAC;AAND,oCAMC"}
@@ -9,7 +9,7 @@ import { ComponentElement } from 'react';
9
9
  export interface WorbenchExtension {
10
10
  name: string;
11
11
  icon: string | ComponentElement<any, any> | Function;
12
- render: React.SFC | any;
12
+ render: React.FC | any;
13
13
  }
14
14
  /**
15
15
  * Registeres a plugin to the App.
@@ -9,7 +9,7 @@ import { ComponentElement } from 'react';
9
9
  interface WorbenchExtension {
10
10
  name: string;
11
11
  icon: string | ComponentElement<any, any> | Function;
12
- render: React.SFC | any;
12
+ render: React.FC | any;
13
13
  }
14
14
  /**
15
15
  * Registeres a plugin to the App.
package/package.json CHANGED
@@ -1,71 +1,71 @@
1
1
  {
2
- "name": "@common-stack/client-react",
3
- "version": "0.2.33",
4
- "description": "browser plugin for git",
5
- "homepage": "https://github.com/cdmbase/fullstack-pro#readme",
6
- "bugs": {
7
- "url": "https://github.com/cdmbase/fullstack-pro/issues"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/cdmbase/fullstack-pro.git"
12
- },
13
- "license": "MIT",
14
- "author": "CDMBase LLC",
15
- "main": "lib/index.js",
16
- "react-native": "lib/index.native.js",
17
- "typings": "lib/index.d.ts",
18
- "scripts": {
19
- "build": "npm run build:clean && npm run build:lib",
20
- "build:clean": "rimraf lib",
21
- "build:lib": "tsc",
22
- "build:lib:watch": "npm run build:lib -- --watch",
23
- "jest": "./node_modules/.bin/jest",
24
- "prepublish": "npm run build",
25
- "test": "jest",
26
- "test:debug": "npm test -- --runInBand",
27
- "test:watch": "npm test -- --watch",
28
- "watch": "npm run build:lib:watch"
29
- },
30
- "resolutions": {
31
- "@types/react": "^17.0.0",
32
- "@types/react-dom": "^17.0.0"
33
- },
34
- "dependencies": {
35
- "@common-stack/client-core": "0.2.33",
36
- "@common-stack/core": "0.2.32",
37
- "@wordpress/hooks": "^2.10.0",
38
- "browser-bunyan": "^1.6.3",
39
- "history-with-query": "^4.10.4",
40
- "sort-keys": "^4.1.0"
41
- },
42
- "devDependencies": {
43
- "@react-navigation/bottom-tabs": "^6.3.2",
44
- "@react-navigation/native": "^6.0.10",
45
- "@react-navigation/native-stack": "^6.7.0",
46
- "@react-navigation/stack": "^6.2.1",
47
- "@types/react-native": "~0.64.12",
48
- "@umijs/route-utils": "^1.0.34",
49
- "native-base": "~3.2.2",
50
- "react-native": "0.64.3",
51
- "react-native-reanimated": "~2.4.1",
52
- "react-native-safe-area-context": "3.3.2",
53
- "react-native-screens": "~3.10.1",
54
- "react-native-web": "0.17.1",
55
- "react-router-native": "^5.2.1"
56
- },
57
- "peerDependencies": {
58
- "@apollo/client": ">=3.0.0",
59
- "react": ">=16.8.6",
60
- "react-dom": ">=16.8.6",
61
- "react-router": ">=5.0.0",
62
- "redux": ">=4.0.1"
63
- },
64
- "publishConfig": {
65
- "access": "public"
66
- },
67
- "gitHead": "6d8075f76d8a3b48efdda2857016a76c12851f97",
68
- "typescript": {
69
- "definition": "lib/index.d.ts"
70
- }
2
+ "name": "@common-stack/client-react",
3
+ "version": "0.4.1",
4
+ "description": "browser plugin for git",
5
+ "homepage": "https://github.com/cdmbase/fullstack-pro#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/cdmbase/fullstack-pro/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/cdmbase/fullstack-pro.git"
12
+ },
13
+ "license": "MIT",
14
+ "author": "CDMBase LLC",
15
+ "main": "lib/index.js",
16
+ "react-native": "lib/index.native.js",
17
+ "typings": "lib/index.d.ts",
18
+ "scripts": {
19
+ "build": "npm run build:clean && npm run build:lib",
20
+ "build:clean": "rimraf lib",
21
+ "build:lib": "tsc",
22
+ "build:lib:watch": "npm run build:lib -- --watch",
23
+ "jest": "./node_modules/.bin/jest",
24
+ "prepublish": "npm run build",
25
+ "test": "jest",
26
+ "test:debug": "npm test -- --runInBand",
27
+ "test:watch": "npm test -- --watch",
28
+ "watch": "npm run build:lib:watch"
29
+ },
30
+ "resolutions": {
31
+ "@types/react": "^17.0.0",
32
+ "@types/react-dom": "^17.0.0"
33
+ },
34
+ "dependencies": {
35
+ "@common-stack/client-core": "0.4.1",
36
+ "@common-stack/core": "0.4.1",
37
+ "@wordpress/hooks": "^2.10.0",
38
+ "browser-bunyan": "^1.6.3",
39
+ "history-with-query": "^4.10.4",
40
+ "sort-keys": "^4.1.0"
41
+ },
42
+ "devDependencies": {
43
+ "@react-navigation/bottom-tabs": "^6.3.2",
44
+ "@react-navigation/native": "^6.0.10",
45
+ "@react-navigation/native-stack": "^6.7.0",
46
+ "@react-navigation/stack": "^6.2.1",
47
+ "@types/react-native": "~0.64.12",
48
+ "@umijs/route-utils": "^1.0.34",
49
+ "native-base": "~3.2.2",
50
+ "react-native": "0.64.3",
51
+ "react-native-reanimated": "~2.4.1",
52
+ "react-native-safe-area-context": "3.3.2",
53
+ "react-native-screens": "~3.10.1",
54
+ "react-native-web": "0.17.1",
55
+ "react-router-native": "^5.2.1"
56
+ },
57
+ "peerDependencies": {
58
+ "@apollo/client": ">=3.0.0",
59
+ "react": ">=16.8.6",
60
+ "react-dom": ">=16.8.6",
61
+ "react-router": ">=5.0.0",
62
+ "redux": ">=4.0.1"
63
+ },
64
+ "publishConfig": {
65
+ "access": "public"
66
+ },
67
+ "gitHead": "1a36a13aa4bb8151460b3b1c636e7cd29852be5d",
68
+ "typescript": {
69
+ "definition": "lib/index.d.ts"
70
+ }
71
71
  }