@hitachivantara/app-shell-ui 1.11.5 → 1.12.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.
|
@@ -69,7 +69,10 @@ const AppShellProvider = ({
|
|
|
69
69
|
return import(
|
|
70
70
|
/* @vite-ignore */
|
|
71
71
|
provider.bundle
|
|
72
|
-
).then((module) =>
|
|
72
|
+
).then((module) => ({
|
|
73
|
+
component: module.default,
|
|
74
|
+
config: provider.config
|
|
75
|
+
})).catch((e) => {
|
|
73
76
|
console.error(
|
|
74
77
|
`Import of provider '${provider.bundle}' failed! ${e}`
|
|
75
78
|
);
|
|
@@ -8,8 +8,8 @@ const CombinedProviders = ({
|
|
|
8
8
|
({ children }) => {
|
|
9
9
|
let result = children;
|
|
10
10
|
if (providers && providers.length > 0) {
|
|
11
|
-
result = providers.reduceRight((Acc, Curr) => {
|
|
12
|
-
return /* @__PURE__ */ jsx(Curr, { children: Acc });
|
|
11
|
+
result = providers.reduceRight((Acc, { component: Curr, config }) => {
|
|
12
|
+
return /* @__PURE__ */ jsx(Curr, { ...config, children: Acc });
|
|
13
13
|
}, children);
|
|
14
14
|
}
|
|
15
15
|
return result;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/app-shell-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Hitachi Vantara UI Kit Team",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"@emotion/react": "^11.10.5",
|
|
20
20
|
"@emotion/styled": "^11.10.5",
|
|
21
21
|
"@hitachivantara/app-shell-events": "^1.1.2",
|
|
22
|
-
"@hitachivantara/app-shell-navigation": "^1.4.
|
|
23
|
-
"@hitachivantara/app-shell-shared": "^1.
|
|
24
|
-
"@hitachivantara/uikit-react-core": "^5.
|
|
22
|
+
"@hitachivantara/app-shell-navigation": "^1.4.6",
|
|
23
|
+
"@hitachivantara/app-shell-shared": "^1.6.0",
|
|
24
|
+
"@hitachivantara/uikit-react-core": "^5.101.0",
|
|
25
25
|
"@hitachivantara/uikit-react-icons": "^5.16.4",
|
|
26
26
|
"@mui/material": "^5.16.14",
|
|
27
27
|
"i18next": "^24.2.2",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"access": "public",
|
|
44
44
|
"directory": "package"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "4637ba25b53d7cf451252d41564ce139318a7ccc",
|
|
47
47
|
"exports": {
|
|
48
48
|
".": {
|
|
49
49
|
"types": "./dist/types/index.d.ts",
|