@equinor/fusion-framework-react-app 6.2.6 → 6.2.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 +6 -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 +7 -7
- 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 = "6.2.
|
|
1
|
+
export declare const version = "6.2.7";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-react-app",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -106,11 +106,11 @@
|
|
|
106
106
|
"directory": "packages/react"
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@equinor/fusion-framework-module": "^5.0.0",
|
|
110
109
|
"@equinor/fusion-framework-app": "^9.3.22",
|
|
111
|
-
"@equinor/fusion-framework-module
|
|
110
|
+
"@equinor/fusion-framework-module": "^5.0.0",
|
|
112
111
|
"@equinor/fusion-framework-module-navigation": "^6.0.0",
|
|
113
112
|
"@equinor/fusion-framework-react": "^7.4.17",
|
|
113
|
+
"@equinor/fusion-framework-module-app": "^6.1.17",
|
|
114
114
|
"@equinor/fusion-framework-react-module": "^3.1.13",
|
|
115
115
|
"@equinor/fusion-framework-react-module-http": "^9.0.3"
|
|
116
116
|
},
|
|
@@ -121,13 +121,13 @@
|
|
|
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.1.
|
|
124
|
+
"@equinor/fusion-framework-module-ag-grid": "^34.1.2",
|
|
125
125
|
"@equinor/fusion-framework-module-event": "^4.3.7",
|
|
126
|
-
"@equinor/fusion-framework-module-feature-flag": "^1.1.
|
|
127
|
-
"@equinor/fusion-framework-module-msal": "^4.0.8",
|
|
126
|
+
"@equinor/fusion-framework-module-feature-flag": "^1.1.23",
|
|
128
127
|
"@equinor/fusion-framework-react-module-bookmark": "^5.0.0",
|
|
129
128
|
"@equinor/fusion-framework-react-module-context": "^6.2.32",
|
|
130
|
-
"@equinor/fusion-observable": "^8.5.1"
|
|
129
|
+
"@equinor/fusion-observable": "^8.5.1",
|
|
130
|
+
"@equinor/fusion-framework-module-msal": "^4.0.8"
|
|
131
131
|
},
|
|
132
132
|
"peerDependencies": {
|
|
133
133
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
@@ -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 = '6.2.
|
|
2
|
+
export const version = '6.2.7';
|