@equinor/fusion-framework-react-app 0.3.0 → 0.4.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.4.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-react-app@0.4.1...@equinor/fusion-framework-react-app@0.4.2) (2022-08-15)
7
+
8
+ **Note:** Version bump only for package @equinor/fusion-framework-react-app
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.4.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-react-app@0.4.0...@equinor/fusion-framework-react-app@0.4.1) (2022-08-11)
15
+
16
+ **Note:** Version bump only for package @equinor/fusion-framework-react-app
17
+
18
+
19
+
20
+
21
+
22
+ # [0.4.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-react-app@0.3.0...@equinor/fusion-framework-react-app@0.4.0) (2022-08-08)
23
+
24
+
25
+ ### Features
26
+
27
+ * **react-app:** implement app config for react apps ([b367e55](https://github.com/equinor/fusion-framework/commit/b367e550b1868ed30b067a9bfd99db09b269d862))
28
+
29
+
30
+
31
+
32
+
6
33
  # 0.3.0 (2022-08-05)
7
34
 
8
35
 
package/README.md CHANGED
@@ -6,17 +6,19 @@ Package for developing applications that uses the `@equinor/fusion-framework`.
6
6
 
7
7
  __Dependencies__
8
8
 
9
- ![npm (scoped)](https://img.shields.io/npm/v/@equinor/fusion-framework?label=fusion-framework&style=for-the-badge)
10
9
 
11
- ![npm (scoped)](https://img.shields.io/npm/v/@equinor/fusion-framework-module?label=fusion-framework-module&style=for-the-badge)
10
+ [<img src="https://img.shields.io/github/package-json/v/equinor/fusion-framework?filename=packages%2Fframework%2Fpackage.json&label=framework&style=for-the-badge" />](https://github.com/equinor/fusion-framework/tree/main/packages/framework)
12
11
 
13
- ![npm (scoped)](https://img.shields.io/npm/v/@equinor/fusion-framework-module-http?label=fusion-framework-module-http&style=for-the-badge)
12
+ [<img src="https://img.shields.io/github/package-json/v/equinor/fusion-framework?filename=packages%2Fmodule%2Fpackage.json&label=module&style=for-the-badge" />](https://github.com/equinor/fusion-framework/tree/main/packages/module)
14
13
 
15
- ![npm (scoped)](https://img.shields.io/npm/v/@equinor/fusion-framework-module-msal?label=fusion-framework-module-msal&style=for-the-badge)
14
+ [<img src="https://img.shields.io/github/package-json/v/equinor/fusion-framework?filename=packages%2Fmodule-http%2Fpackage.json&label=module-http&style=for-the-badge" />](https://github.com/equinor/fusion-framework/tree/main/packages/module-http)
16
15
 
17
- ![npm (scoped)](https://img.shields.io/npm/v/@equinor/fusion-framework-react?label=fusion-framework-react&style=for-the-badge)
16
+ [<img src="https://img.shields.io/github/package-json/v/equinor/fusion-framework?filename=packages%2Fmodule-msal%2Fpackage.json&label=module-msal&style=for-the-badge" />](https://github.com/equinor/fusion-framework/tree/main/packages/module-msal)
17
+
18
+ [<img src="https://img.shields.io/github/package-json/v/equinor/fusion-framework?filename=packages%2Freact-module%2Fpackage.json&label=react-module&style=for-the-badge" />](https://github.com/equinor/fusion-framework/tree/main/packages/react-module)
19
+
20
+ [<img src="https://img.shields.io/github/package-json/v/equinor/fusion-framework?filename=packages%2Freact-module-app-config%2Fpackage.json&label=react-module-app-config&style=for-the-badge" />](https://github.com/equinor/fusion-framework/tree/main/packages/react-module-app-config)
18
21
 
19
- ![npm (scoped)](https://img.shields.io/npm/v/@equinor/fusion-observable?label=fusion-observable&style=for-the-badge)
20
22
 
21
23
  ## Configure
22
24
  ```tsx
@@ -0,0 +1,2 @@
1
+ export { useAppConfig, useAppConfig$, } from '@equinor/fusion-framework-react-module-app-config';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAEZ,aAAa,GAEhB,MAAM,mDAAmD,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import http from '@equinor/fusion-framework-module-http';
2
2
  import msal from '@equinor/fusion-framework-module-msal';
3
+ import appConfig from '@equinor/fusion-framework-react-module-app-config';
3
4
  import { useModules } from '@equinor/fusion-framework-react-module';
4
- export const appModules = [http, msal];
5
+ export const appModules = [http, msal, appConfig];
5
6
  export const useAppModules = (useModules);
6
7
  export const useAppModule = (module) => useAppModules()[module];
7
8
  //# sourceMappingURL=modules.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"modules.js","sourceRoot":"","sources":["../../src/modules.tsx"],"names":[],"mappings":"AAEA,OAAO,IAAoB,MAAM,uCAAuC,CAAC;AACzE,OAAO,IAAoB,MAAM,uCAAuC,CAAC;AAGzE,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAOpE,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAEvC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAA,UAA8B,CAAA,CAAC;AAC5D,MAAM,CAAC,MAAM,YAAY,GAAG,CACxB,MAAY,EACY,EAAE,CAAC,aAAa,EAAE,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"modules.js","sourceRoot":"","sources":["../../src/modules.tsx"],"names":[],"mappings":"AAEA,OAAO,IAAoB,MAAM,uCAAuC,CAAC;AACzE,OAAO,IAAoB,MAAM,uCAAuC,CAAC;AACzE,OAAO,SAA8B,MAAM,mDAAmD,CAAC;AAE/F,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAKpE,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AAElD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAA,UAA8B,CAAA,CAAC;AAC5D,MAAM,CAAC,MAAM,YAAY,GAAG,CACxB,MAAY,EACY,EAAE,CAAC,aAAa,EAAE,CAAC,MAAM,CAAC,CAAC"}