@equinor/fusion-framework-react-module-context 7.0.0-next.0 → 7.0.1
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 +46 -9
- package/README.md +81 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +9 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +6 -6
- package/src/index.ts +9 -0
- package/src/version.ts +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React integration for the Fusion context module.
|
|
3
|
+
*
|
|
4
|
+
* Provides hooks for reading the current context ({@link useCurrentContext},
|
|
5
|
+
* {@link useModuleCurrentContext}) and querying available contexts
|
|
6
|
+
* ({@link useQueryContext}, {@link useModuleQueryContext}).
|
|
7
|
+
*
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
*/
|
|
1
10
|
export { enableContext, ContextModule, ContextItem, ContextItemType, IContextProvider, IContextModuleConfigurator, } from '@equinor/fusion-framework-module-context';
|
|
2
11
|
export { FusionContextSearchError } from '@equinor/fusion-framework-module-context/errors.js';
|
|
3
12
|
export { useCurrentContext, useModuleCurrentContext } from './useCurrentContext';
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "7.0.
|
|
1
|
+
export declare const version = "7.0.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-react-module-context",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"directory": "packages/react/modules/context"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@equinor/fusion-framework-module-context": "^
|
|
26
|
-
"@equinor/fusion-observable": "^9.0.
|
|
27
|
-
"@equinor/fusion-
|
|
28
|
-
"@equinor/fusion-
|
|
25
|
+
"@equinor/fusion-framework-module-context": "^8.0.0",
|
|
26
|
+
"@equinor/fusion-observable": "^9.0.2",
|
|
27
|
+
"@equinor/fusion-query": "^7.0.1",
|
|
28
|
+
"@equinor/fusion-framework-react-module": "^4.0.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/react": "^19.2.7",
|
|
32
32
|
"@types/react-dom": "^19.2.3",
|
|
33
33
|
"react": "^19.2.1",
|
|
34
34
|
"react-dom": "^19.2.1",
|
|
35
|
-
"typescript": "^
|
|
35
|
+
"typescript": "^6.0.3"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@types/react": "^18.0.0 || ^19.0.0",
|
package/src/index.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React integration for the Fusion context module.
|
|
3
|
+
*
|
|
4
|
+
* Provides hooks for reading the current context ({@link useCurrentContext},
|
|
5
|
+
* {@link useModuleCurrentContext}) and querying available contexts
|
|
6
|
+
* ({@link useQueryContext}, {@link useModuleQueryContext}).
|
|
7
|
+
*
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
*/
|
|
1
10
|
export {
|
|
2
11
|
enableContext,
|
|
3
12
|
ContextModule,
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '7.0.
|
|
2
|
+
export const version = '7.0.1';
|