@equinor/fusion-framework-react-app 6.2.6 → 7.0.0
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 +17 -0
- package/dist/esm/help-center/useHelpCenter.js +8 -0
- package/dist/esm/help-center/useHelpCenter.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/help-center/useHelpCenter.d.ts +4 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +12 -12
- package/src/help-center/useHelpCenter.ts +14 -0
- package/src/version.ts +1 -1
|
@@ -40,6 +40,10 @@ export interface HelpCenter {
|
|
|
40
40
|
* Requesting the portal to open the help sidesheet on the governance tab.
|
|
41
41
|
*/
|
|
42
42
|
openGovernance(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Requesting the portal to open the help sidesheet on the release notes page.
|
|
45
|
+
*/
|
|
46
|
+
openReleaseNotes(): void;
|
|
43
47
|
}
|
|
44
48
|
/**
|
|
45
49
|
* Hook for accessing help center.
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "
|
|
1
|
+
export declare const version = "7.0.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-react-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -106,13 +106,13 @@
|
|
|
106
106
|
"directory": "packages/react"
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@equinor/fusion-framework-
|
|
110
|
-
"@equinor/fusion-framework-
|
|
111
|
-
"@equinor/fusion-framework-module-app": "^
|
|
109
|
+
"@equinor/fusion-framework-app": "^10.0.0",
|
|
110
|
+
"@equinor/fusion-framework-module": "^5.0.1",
|
|
111
|
+
"@equinor/fusion-framework-module-app": "^7.0.0",
|
|
112
112
|
"@equinor/fusion-framework-module-navigation": "^6.0.0",
|
|
113
|
-
"@equinor/fusion-framework-react": "^7.4.
|
|
113
|
+
"@equinor/fusion-framework-react": "^7.4.18",
|
|
114
114
|
"@equinor/fusion-framework-react-module": "^3.1.13",
|
|
115
|
-
"@equinor/fusion-framework-react-module-http": "^
|
|
115
|
+
"@equinor/fusion-framework-react-module-http": "^10.0.0"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
118
|
"@types/react": "^18.2.50",
|
|
@@ -121,20 +121,20 @@
|
|
|
121
121
|
"react-dom": "^18.2.0",
|
|
122
122
|
"rxjs": "^7.8.1",
|
|
123
123
|
"typescript": "^5.8.2",
|
|
124
|
-
"@equinor/fusion-framework-module-ag-grid": "^34.
|
|
124
|
+
"@equinor/fusion-framework-module-ag-grid": "^34.2.1",
|
|
125
|
+
"@equinor/fusion-framework-module-feature-flag": "^1.1.24",
|
|
126
|
+
"@equinor/fusion-framework-module-msal": "^5.0.0",
|
|
127
|
+
"@equinor/fusion-framework-react-module-bookmark": "^5.0.1",
|
|
125
128
|
"@equinor/fusion-framework-module-event": "^4.3.7",
|
|
126
|
-
"@equinor/fusion-framework-module-feature-flag": "^1.1.22",
|
|
127
|
-
"@equinor/fusion-framework-module-msal": "^4.0.8",
|
|
128
|
-
"@equinor/fusion-framework-react-module-bookmark": "^5.0.0",
|
|
129
129
|
"@equinor/fusion-framework-react-module-context": "^6.2.32",
|
|
130
|
-
"@equinor/fusion-observable": "^8.5.
|
|
130
|
+
"@equinor/fusion-observable": "^8.5.3"
|
|
131
131
|
},
|
|
132
132
|
"peerDependencies": {
|
|
133
133
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
134
134
|
"react": "^17.0.0 || ^18.0.0",
|
|
135
135
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
136
136
|
"rxjs": "^7.8.1",
|
|
137
|
-
"@equinor/fusion-framework-module-msal": "^
|
|
137
|
+
"@equinor/fusion-framework-module-msal": "^5.0.0"
|
|
138
138
|
},
|
|
139
139
|
"peerDependenciesMeta": {
|
|
140
140
|
"@equinor/fusion-framework-react-module-ag-grid": {
|
|
@@ -69,6 +69,11 @@ export interface HelpCenter {
|
|
|
69
69
|
* Requesting the portal to open the help sidesheet on the governance tab.
|
|
70
70
|
*/
|
|
71
71
|
openGovernance(): void;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Requesting the portal to open the help sidesheet on the release notes page.
|
|
75
|
+
*/
|
|
76
|
+
openReleaseNotes(): void;
|
|
72
77
|
}
|
|
73
78
|
|
|
74
79
|
/**
|
|
@@ -125,12 +130,21 @@ export const useHelpCenter = (): HelpCenter => {
|
|
|
125
130
|
});
|
|
126
131
|
}, [eventModule.dispatchEvent]);
|
|
127
132
|
|
|
133
|
+
const openReleaseNotes = useCallback((): void => {
|
|
134
|
+
eventModule.dispatchEvent(EVENT_NAME, {
|
|
135
|
+
detail: {
|
|
136
|
+
page: 'release-notes',
|
|
137
|
+
},
|
|
138
|
+
});
|
|
139
|
+
}, [eventModule.dispatchEvent]);
|
|
140
|
+
|
|
128
141
|
return {
|
|
129
142
|
openHelp,
|
|
130
143
|
openArticle,
|
|
131
144
|
openFaqs,
|
|
132
145
|
openSearch,
|
|
133
146
|
openGovernance,
|
|
147
|
+
openReleaseNotes,
|
|
134
148
|
};
|
|
135
149
|
};
|
|
136
150
|
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '
|
|
2
|
+
export const version = '7.0.0';
|