@equinor/fusion-framework-react-app 6.0.6 → 6.0.7
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/CHANGELOG.md +12 -0
- package/dist/esm/create-component.js +1 -1
- package/dist/esm/create-component.js.map +1 -1
- package/dist/esm/make-component.js +1 -1
- package/dist/esm/make-component.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/create-component.d.ts +1 -0
- package/dist/types/make-component.d.ts +1 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +9 -9
- package/src/create-component.tsx +5 -2
- package/src/make-component.tsx +5 -2
- package/src/version.ts +1 -1
- package/tsconfig.json +7 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 6.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2955](https://github.com/equinor/fusion-framework/pull/2955) [`6f104e2`](https://github.com/equinor/fusion-framework/commit/6f104e2ed191e77c6127376e035bbf7af80f166b) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - - Add env to 'onReactAppLoaded' event
|
|
8
|
+
- Prevent context provider change if app key is not current app for 'onReactAppLoaded'
|
|
9
|
+
- Updated dependencies [[`5139102`](https://github.com/equinor/fusion-framework/commit/5139102838c30f73f3fcbc81fb6e78814f86445c)]:
|
|
10
|
+
- @equinor/fusion-framework-react@7.4.5
|
|
11
|
+
- @equinor/fusion-framework-app@9.3.7
|
|
12
|
+
- @equinor/fusion-framework-module-app@6.1.8
|
|
13
|
+
- @equinor/fusion-framework-react-module-http@8.0.4
|
|
14
|
+
|
|
3
15
|
## 6.0.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -69,7 +69,7 @@ export const createComponent = (Component, configure) => (fusion, env) => lazy((
|
|
|
69
69
|
env,
|
|
70
70
|
}));
|
|
71
71
|
modules.event.dispatchEvent('onReactAppLoaded', {
|
|
72
|
-
detail: { modules, fusion },
|
|
72
|
+
detail: { modules, fusion, env: env },
|
|
73
73
|
source: Component,
|
|
74
74
|
});
|
|
75
75
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-component.js","sourceRoot":"","sources":["../../src/create-component.tsx"],"names":[],"mappings":";;;;;;;;;;AACA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAGpE,OAAO,EAAe,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAO9E,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAY7F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAM,CAAC,MAAM,eAAe,GAC1B,CACE,SAA4B,EAC5B,SAAoD,EACrB,EAAE,CACnC,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CACd,IAAI,CAAC,GAAS,EAAE;IACd,MAAM,IAAI,GAAG,gBAAgB,CAAuB,SAAS,CAAC,CAAC;IAC/D,MAAM,OAAO,GAAG,CAAC,MAAM,IAAI,CAAC;QAC1B,MAAM;QACN,GAAG;KACJ,CAAC,CAAkC,CAAC;IAErC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,kBAAkB,EAAE;QAC9C,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"create-component.js","sourceRoot":"","sources":["../../src/create-component.tsx"],"names":[],"mappings":";;;;;;;;;;AACA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAGpE,OAAO,EAAe,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAO9E,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAY7F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAM,CAAC,MAAM,eAAe,GAC1B,CACE,SAA4B,EAC5B,SAAoD,EACrB,EAAE,CACnC,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CACd,IAAI,CAAC,GAAS,EAAE;IACd,MAAM,IAAI,GAAG,gBAAgB,CAAuB,SAAS,CAAC,CAAC;IAC/D,MAAM,OAAO,GAAG,CAAC,MAAM,IAAI,CAAC;QAC1B,MAAM;QACN,GAAG;KACJ,CAAC,CAAkC,CAAC;IAErC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,kBAAkB,EAAE;QAC9C,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE;QACrC,MAAM,EAAE,SAAS;KAClB,CAAC,CAAC;IACH,OAAO;QACL,OAAO,EAAE,GAAG,EAAE,CAAC,CACb,KAAC,iBAAiB,IAAC,KAAK,EAAE,MAAM,YAC9B,KAAC,iBAAiB,IAAC,KAAK,EAAE,OAAO,YAI/B,KAAC,SAAS,KAAG,GACK,GACF,CACrB;KACF,CAAC;AACJ,CAAC,CAAA,CAAC,CAAC;AAaP,eAAe,eAAe,CAAC"}
|
|
@@ -38,7 +38,7 @@ export const makeComponent = (Component, args, configure) => lazy(() => __awaite
|
|
|
38
38
|
const modules = (yield init(args));
|
|
39
39
|
const { fusion } = args;
|
|
40
40
|
modules.event.dispatchEvent('onReactAppLoaded', {
|
|
41
|
-
detail: { modules, fusion },
|
|
41
|
+
detail: { modules, fusion, env: args.env },
|
|
42
42
|
source: Component,
|
|
43
43
|
});
|
|
44
44
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"make-component.js","sourceRoot":"","sources":["../../src/make-component.tsx"],"names":[],"mappings":";;;;;;;;;;AACA,OAAO,EAAE,IAAI,EAAE,MAA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