@hitachivantara/app-shell-ui 1.11.4 → 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) => module.default).catch((e) => {
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
  );
@@ -28,7 +28,7 @@ const classes = {
28
28
  width: "100%",
29
29
  alignItems: "center",
30
30
  "& svg path": {
31
- fill: theme.colors.base_light
31
+ fill: theme.colors.textLight
32
32
  },
33
33
  gap: theme.space.xs
34
34
  }),
@@ -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.11.4",
3
+ "version": "1.12.0",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "author": "Hitachi Vantara UI Kit Team",
@@ -18,11 +18,11 @@
18
18
  "@emotion/css": "^11.10.5",
19
19
  "@emotion/react": "^11.10.5",
20
20
  "@emotion/styled": "^11.10.5",
21
- "@hitachivantara/app-shell-events": "^1.1.1",
22
- "@hitachivantara/app-shell-navigation": "^1.4.4",
23
- "@hitachivantara/app-shell-shared": "^1.5.14",
24
- "@hitachivantara/uikit-react-core": "^5.100.0",
25
- "@hitachivantara/uikit-react-icons": "^5.16.3",
21
+ "@hitachivantara/app-shell-events": "^1.1.2",
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
+ "@hitachivantara/uikit-react-icons": "^5.16.4",
26
26
  "@mui/material": "^5.16.14",
27
27
  "i18next": "^24.2.2",
28
28
  "i18next-browser-languagedetector": "^8.0.3",
@@ -43,7 +43,7 @@
43
43
  "access": "public",
44
44
  "directory": "package"
45
45
  },
46
- "gitHead": "8661e8a73c6ae39431fe12f6cc95e8eb282968e2",
46
+ "gitHead": "4637ba25b53d7cf451252d41564ce139318a7ccc",
47
47
  "exports": {
48
48
  ".": {
49
49
  "types": "./dist/types/index.d.ts",