@equinor/fusion-framework-react 5.2.3 → 5.2.6

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.
@@ -4,5 +4,5 @@ type ConfigureCallback = (configurator: FusionConfigurator) => void;
4
4
  export declare const Framework: (props: PropsWithChildren<{
5
5
  readonly configure: ConfigureCallback;
6
6
  readonly fallback: NonNullable<ReactNode> | null;
7
- }>) => JSX.Element;
7
+ }>) => import("react/jsx-runtime").JSX.Element;
8
8
  export default Framework;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { Fusion } from '@equinor/fusion-framework';
2
3
  export declare const context: import("react").Context<Fusion<any> | null>;
3
4
  export declare const FrameworkProvider: import("react").Provider<Fusion<any> | null>;
@@ -1 +1 @@
1
- export declare const version = "5.2.3";
1
+ export declare const version = "5.2.6";
package/package.json CHANGED
@@ -1,80 +1,84 @@
1
1
  {
2
- "name": "@equinor/fusion-framework-react",
3
- "version": "5.2.3",
4
- "description": "",
5
- "main": "dist/esm/index.js",
6
- "exports": {
7
- ".": "./dist/esm/index.js",
8
- "./app": "./dist/esm/app/index.js",
9
- "./context": "./dist/esm/context/index.js",
10
- "./hooks": "./dist/esm/hooks/index.js",
11
- "./http": "./dist/esm/http/index.js",
12
- "./signalr": "./dist/esm/signalr/index.js"
13
- },
14
- "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- "*": {
17
- "app": [
18
- "dist/types/app/index.d.ts"
19
- ],
20
- "context": [
21
- "dist/types/context/index.d.ts"
22
- ],
23
- "hooks": [
24
- "dist/types/hooks/index.d.ts"
25
- ],
26
- "http": [
27
- "dist/types/http/index.d.ts"
28
- ],
29
- "signalr": [
30
- "dist/types/signalr/index.d.ts"
31
- ]
32
- }
33
- },
34
- "scripts": {
35
- "build": "tsc -b",
36
- "prepack": "yarn build"
37
- },
38
- "keywords": [],
39
- "author": "",
40
- "license": "ISC",
41
- "publishConfig": {
42
- "access": "public"
43
- },
44
- "repository": {
45
- "type": "git",
46
- "url": "git+https://github.com/equinor/fusion-framework.git",
47
- "directory": "packages/react/framework"
48
- },
49
- "dependencies": {
50
- "@equinor/fusion-framework": "^7.0.15",
51
- "@equinor/fusion-framework-react-module-context": "^6.0.9",
52
- "@equinor/fusion-framework-react-module-http": "^3.0.3",
53
- "rxjs": "^7.5.7"
2
+ "name": "@equinor/fusion-framework-react",
3
+ "version": "5.2.6",
4
+ "description": "",
5
+ "main": "dist/esm/index.js",
6
+ "exports": {
7
+ ".": "./dist/esm/index.js",
8
+ "./app": "./dist/esm/app/index.js",
9
+ "./context": "./dist/esm/context/index.js",
10
+ "./hooks": "./dist/esm/hooks/index.js",
11
+ "./http": "./dist/esm/http/index.js",
12
+ "./signalr": "./dist/esm/signalr/index.js"
13
+ },
14
+ "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ "*": {
17
+ "app": [
18
+ "dist/types/app/index.d.ts"
19
+ ],
20
+ "context": [
21
+ "dist/types/context/index.d.ts"
22
+ ],
23
+ "hooks": [
24
+ "dist/types/hooks/index.d.ts"
25
+ ],
26
+ "http": [
27
+ "dist/types/http/index.d.ts"
28
+ ],
29
+ "signalr": [
30
+ "dist/types/signalr/index.d.ts"
31
+ ]
32
+ }
33
+ },
34
+ "keywords": [],
35
+ "author": "",
36
+ "license": "ISC",
37
+ "publishConfig": {
38
+ "access": "public"
39
+ },
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/equinor/fusion-framework.git",
43
+ "directory": "packages/react/framework"
44
+ },
45
+ "dependencies": {
46
+ "rxjs": "^7.8.1",
47
+ "@equinor/fusion-framework": "^7.0.18",
48
+ "@equinor/fusion-framework-module": "^4.2.4",
49
+ "@equinor/fusion-framework-react-module-http": "^3.0.5",
50
+ "@equinor/fusion-observable": "^8.1.1"
51
+ },
52
+ "devDependencies": {
53
+ "@types/react": "^18.2.20",
54
+ "@types/react-dom": "^18.2.7",
55
+ "react": "^18.2.0",
56
+ "react-dom": "^18.2.0",
57
+ "typescript": "^5.1.3",
58
+ "@equinor/fusion-framework-module-app": "^5.2.4",
59
+ "@equinor/fusion-framework-react-module-context": "^6.0.12"
60
+ },
61
+ "peerDependencies": {
62
+ "@types/react": "^17.0.0 || ^18.0.0",
63
+ "react": "^17.0.0 || ^18.0.0",
64
+ "react-dom": "^17.0.0 || ^18.0.0",
65
+ "@equinor/fusion-framework-react-module-signalr": "^2.0.6"
66
+ },
67
+ "peerDependenciesMeta": {
68
+ "@equinor/fusion-framework-react-module-context": {
69
+ "optional": true
54
70
  },
55
- "devDependencies": {
56
- "@equinor/fusion-framework-module-app": "^5.2.1",
57
- "@types/react": "^17.0.11",
58
- "@types/react-dom": "^17.0.7",
59
- "react": "^17.0.2",
60
- "react-dom": "^17.0.2",
61
- "typescript": "^5.1.3"
71
+ "@equinor/fusion-framework-react-module-signalr": {
72
+ "optional": true
62
73
  },
63
- "peerDependencies": {
64
- "@equinor/fusion-framework-react-module-signalr": "*",
65
- "@types/react": "^17.0.0 || ^18.0.0",
66
- "react": "^17.0.0 || ^18.0.0",
67
- "react-dom": "^17.0.0 || ^18.0.0"
74
+ "@types/react": {
75
+ "optional": true
68
76
  },
69
- "peerDependenciesMeta": {
70
- "@equinor/fusion-framework-react-module-signalr": {
71
- "optional": true
72
- },
73
- "@types/react": {
74
- "optional": true
75
- },
76
- "react-dom": {
77
- "optional": true
78
- }
77
+ "react-dom": {
78
+ "optional": true
79
79
  }
80
- }
80
+ },
81
+ "scripts": {
82
+ "build": "tsc -b"
83
+ }
84
+ }
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '5.2.3';
2
+ export const version = '5.2.6';
package/tsconfig.json CHANGED
@@ -4,7 +4,9 @@
4
4
  "outDir": "dist/esm",
5
5
  "rootDir": "src",
6
6
  "declarationDir": "./dist/types",
7
- "baseUrl": "src",
7
+ "paths": {
8
+ "react": [ "./node_modules/@types/react" ],
9
+ },
8
10
  },
9
11
  "references": [
10
12
  {