@equinor/fusion-framework-react-app 6.0.7 → 6.0.8
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 +9 -0
- package/dist/esm/bookmark/useCurrentBookmark.js +1 -1
- package/dist/esm/bookmark/useCurrentBookmark.js.map +1 -1
- package/dist/esm/create-component.js +3 -12
- package/dist/esm/create-component.js.map +1 -1
- package/dist/esm/create-legacy-app.js +1 -1
- package/dist/esm/create-legacy-app.js.map +1 -1
- package/dist/esm/feature-flag/enable-feature-flag.js +5 -26
- package/dist/esm/feature-flag/enable-feature-flag.js.map +1 -1
- package/dist/esm/feature-flag/useFeature.js +3 -4
- package/dist/esm/feature-flag/useFeature.js.map +1 -1
- package/dist/esm/make-component.js +3 -12
- package/dist/esm/make-component.js.map +1 -1
- package/dist/esm/msal/useAccessToken.js +1 -1
- package/dist/esm/msal/useAccessToken.js.map +1 -1
- package/dist/esm/settings/useAppSetting.js +6 -4
- package/dist/esm/settings/useAppSetting.js.map +1 -1
- package/dist/esm/settings/useAppSettings.js +7 -7
- package/dist/esm/settings/useAppSettings.js.map +1 -1
- package/dist/esm/settings/useAppSettingsStatus.js +1 -1
- package/dist/esm/settings/useAppSettingsStatus.js.map +1 -1
- package/dist/esm/useAppEnvironmentVariables.js +1 -2
- package/dist/esm/useAppEnvironmentVariables.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/bookmark/useCurrentBookmark.d.ts +2 -2
- package/dist/types/context/useContextProvider.d.ts +1 -1
- package/dist/types/context/useCurrentContext.d.ts +2 -2
- package/dist/types/framework/useFrameworkCurrentContext.d.ts +2 -2
- package/dist/types/version.d.ts +1 -1
- package/package.json +9 -13
- package/src/bookmark/useCurrentBookmark.ts +1 -1
- package/src/version.ts +1 -1
- package/tsconfig.json +0 -3
- package/dist/esm/widget/index.js +0 -3
- package/dist/esm/widget/index.js.map +0 -1
- package/dist/types/widget/index.d.ts +0 -8
- package/src/widget/index.ts +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BookmarkData, type BookmarkPayloadGenerator } from '@equinor/fusion-framework-react-module-bookmark';
|
|
1
|
+
import { type BookmarkData, type BookmarkPayloadGenerator, useCurrentBookmark as _useCurrentBookmark } from '@equinor/fusion-framework-react-module-bookmark';
|
|
2
2
|
/**
|
|
3
3
|
* By providing a CreateBookMarkFn bookmarks is enabled for the current application.
|
|
4
4
|
*
|
|
@@ -11,5 +11,5 @@ import { type BookmarkData, type BookmarkPayloadGenerator } from '@equinor/fusio
|
|
|
11
11
|
* ```
|
|
12
12
|
* @return {*} {CurrentBookmark<TData>}
|
|
13
13
|
*/
|
|
14
|
-
export declare const useCurrentBookmark: <TData extends BookmarkData>(payloadGenerator?: BookmarkPayloadGenerator<TData>) =>
|
|
14
|
+
export declare const useCurrentBookmark: <TData extends BookmarkData>(payloadGenerator?: BookmarkPayloadGenerator<TData>) => ReturnType<typeof _useCurrentBookmark<TData>>;
|
|
15
15
|
export default useCurrentBookmark;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const useContextProvider: () => import("@equinor/fusion-framework-
|
|
1
|
+
export declare const useContextProvider: () => import("@equinor/fusion-framework-module-context").IContextProvider;
|
|
2
2
|
export default useContextProvider;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const useCurrentContext: () => {
|
|
2
|
-
currentContext: import("@equinor/fusion-framework-
|
|
3
|
-
setCurrentContext: (entry?: import("@equinor/fusion-framework-
|
|
2
|
+
currentContext: import("@equinor/fusion-framework-module-context").ContextItem | null | undefined;
|
|
3
|
+
setCurrentContext: (entry?: import("@equinor/fusion-framework-module-context").ContextItem | string | null) => void | Promise<import("@equinor/fusion-framework-module-context").ContextItem<Record<string, unknown>> | null>;
|
|
4
4
|
};
|
|
5
5
|
export default useCurrentContext;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const useFrameworkCurrentContext: () => {
|
|
2
|
-
currentContext: import("@equinor/fusion-framework-
|
|
3
|
-
setCurrentContext: (entry?: import("@equinor/fusion-framework-
|
|
2
|
+
currentContext: import("@equinor/fusion-framework-module-context").ContextItem | null | undefined;
|
|
3
|
+
setCurrentContext: (entry?: import("@equinor/fusion-framework-module-context").ContextItem | string | null) => void | Promise<import("@equinor/fusion-framework-module-context").ContextItem<Record<string, unknown>> | null>;
|
|
4
4
|
};
|
|
5
5
|
export default useFrameworkCurrentContext;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "6.0.
|
|
1
|
+
export declare const version = "6.0.8";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-react-app",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -89,12 +89,12 @@
|
|
|
89
89
|
"directory": "packages/react"
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@equinor/fusion-framework-module": "^
|
|
93
|
-
"@equinor/fusion-framework-app": "^9.3.
|
|
92
|
+
"@equinor/fusion-framework-module-app": "^6.1.9",
|
|
93
|
+
"@equinor/fusion-framework-app": "^9.3.8",
|
|
94
94
|
"@equinor/fusion-framework-module-navigation": "^4.0.9",
|
|
95
|
-
"@equinor/fusion-framework-react": "^7.4.
|
|
96
|
-
"@equinor/fusion-framework-module-app": "^6.1.8",
|
|
95
|
+
"@equinor/fusion-framework-react": "^7.4.6",
|
|
97
96
|
"@equinor/fusion-framework-react-module": "^3.1.8",
|
|
97
|
+
"@equinor/fusion-framework-module": "^4.3.7",
|
|
98
98
|
"@equinor/fusion-framework-react-module-http": "^8.0.4"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
@@ -104,14 +104,13 @@
|
|
|
104
104
|
"react-dom": "^18.2.0",
|
|
105
105
|
"rxjs": "^7.8.1",
|
|
106
106
|
"typescript": "^5.8.2",
|
|
107
|
-
"@equinor/fusion-framework-module-ag-grid": "^33.2.
|
|
107
|
+
"@equinor/fusion-framework-module-ag-grid": "^33.2.2",
|
|
108
108
|
"@equinor/fusion-framework-module-event": "^4.3.2",
|
|
109
109
|
"@equinor/fusion-framework-module-feature-flag": "^1.1.14",
|
|
110
110
|
"@equinor/fusion-framework-module-msal": "^4.0.2",
|
|
111
|
-
"@equinor/fusion-framework-react-module-
|
|
112
|
-
"@equinor/fusion-framework-react-module-
|
|
113
|
-
"@equinor/fusion-observable": "^8.4.6"
|
|
114
|
-
"@equinor/fusion-framework-react-widget": "^1.1.32"
|
|
111
|
+
"@equinor/fusion-framework-react-module-context": "^6.2.22",
|
|
112
|
+
"@equinor/fusion-framework-react-module-bookmark": "^3.0.6",
|
|
113
|
+
"@equinor/fusion-observable": "^8.4.6"
|
|
115
114
|
},
|
|
116
115
|
"peerDependencies": {
|
|
117
116
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
@@ -136,9 +135,6 @@
|
|
|
136
135
|
"@equinor/fusion-framework-module-feature-flag": {
|
|
137
136
|
"optional": true
|
|
138
137
|
},
|
|
139
|
-
"@equinor/fusion-framework-react-widget": {
|
|
140
|
-
"optional": true
|
|
141
|
-
},
|
|
142
138
|
"@equinor/fusion-observable": {
|
|
143
139
|
"optional": true
|
|
144
140
|
},
|
|
@@ -21,7 +21,7 @@ import useAppModules from '../useAppModules';
|
|
|
21
21
|
*/
|
|
22
22
|
export const useCurrentBookmark = <TData extends BookmarkData>(
|
|
23
23
|
payloadGenerator?: BookmarkPayloadGenerator<TData>,
|
|
24
|
-
) => {
|
|
24
|
+
): ReturnType<typeof _useCurrentBookmark<TData>> => {
|
|
25
25
|
const appBookmarkProvider = useAppModules<[BookmarkModule]>().bookmark;
|
|
26
26
|
const frameworkBookmarkProvider = useFrameworkModule<BookmarkModule>('bookmark');
|
|
27
27
|
if (!appBookmarkProvider) {
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '6.0.
|
|
2
|
+
export const version = '6.0.8';
|
package/tsconfig.json
CHANGED
package/dist/esm/widget/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/widget/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,wCAAwC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* [[include:react-app/README.MD]]
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export type { WidgetModuleInitiator } from '@equinor/fusion-framework-react-widget';
|
|
6
|
-
export type { WidgetProps, WidgetModule, WidgetRenderArgs, WidgetStateInitial, } from '@equinor/fusion-framework-react-widget';
|
|
7
|
-
export { Widget } from '@equinor/fusion-framework-react-widget';
|
|
8
|
-
export { Widget as default } from '@equinor/fusion-framework-react-widget';
|
package/src/widget/index.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* [[include:react-app/README.MD]]
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export type { WidgetModuleInitiator } from '@equinor/fusion-framework-react-widget';
|
|
6
|
-
export type {
|
|
7
|
-
WidgetProps,
|
|
8
|
-
WidgetModule,
|
|
9
|
-
WidgetRenderArgs,
|
|
10
|
-
WidgetStateInitial,
|
|
11
|
-
} from '@equinor/fusion-framework-react-widget';
|
|
12
|
-
export { Widget } from '@equinor/fusion-framework-react-widget';
|
|
13
|
-
export { Widget as default } from '@equinor/fusion-framework-react-widget';
|