@hitachivantara/app-shell-shared 1.5.14 → 1.6.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/dist/types/index.d.ts +9 -3
- package/package.json +3 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
1
2
|
import { Context } from 'react';
|
|
2
3
|
import { HvContainerProps } from '@hitachivantara/uikit-react-core';
|
|
3
4
|
import { i18n } from 'i18next';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
4
6
|
|
|
5
7
|
export declare const CONFIG_TRANSLATIONS_NAMESPACE = "configTranslations";
|
|
6
8
|
|
|
@@ -21,9 +23,12 @@ export declare type HvAppShellAppSwitcherItemConfig = {
|
|
|
21
23
|
export declare const HvAppShellCombinedProvidersContext: Context<HvAppShellCombinedProvidersContextValue | undefined>;
|
|
22
24
|
|
|
23
25
|
export declare interface HvAppShellCombinedProvidersContextValue {
|
|
24
|
-
providers?:
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
providers?: Array<{
|
|
27
|
+
component: ComponentType<{
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
}>;
|
|
30
|
+
config?: Record<string, unknown>;
|
|
31
|
+
}>;
|
|
27
32
|
}
|
|
28
33
|
|
|
29
34
|
export declare type HvAppShellConfig = {
|
|
@@ -81,6 +86,7 @@ export declare type HvAppShellMenuConfig = {
|
|
|
81
86
|
|
|
82
87
|
export declare type HvAppShellProvidersConfig = {
|
|
83
88
|
bundle: string;
|
|
89
|
+
config?: Record<string, unknown>;
|
|
84
90
|
};
|
|
85
91
|
|
|
86
92
|
export declare const HvAppShellRuntimeContext: Context<HvAppShellRuntimeContextValue | undefined>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/app-shell-shared",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Hitachi Vantara UI Kit Team",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"react-router-dom": "^6.9.0"
|
|
20
20
|
},
|
|
21
21
|
"optionalDependencies": {
|
|
22
|
-
"@hitachivantara/uikit-react-core": "^5.
|
|
22
|
+
"@hitachivantara/uikit-react-core": "^5.101.0"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"dist"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"access": "public",
|
|
38
38
|
"directory": "package"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "4637ba25b53d7cf451252d41564ce139318a7ccc",
|
|
41
41
|
"types": "./dist/types/index.d.ts",
|
|
42
42
|
"module": "dist/esm/index.js"
|
|
43
43
|
}
|