@hitachivantara/app-shell-navigation 1.3.5 → 1.3.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.
|
@@ -10,7 +10,7 @@ const useHvCurrentNavigationPath = () => {
|
|
|
10
10
|
const paths = [];
|
|
11
11
|
const selectedPathIds = selectedMenuItemId.split("-");
|
|
12
12
|
selectedPathIds.forEach((item) => {
|
|
13
|
-
const currentItem = currentItems[
|
|
13
|
+
const currentItem = currentItems[Number(item)];
|
|
14
14
|
paths.push({
|
|
15
15
|
label: currentItem.label,
|
|
16
16
|
path: currentItem.data ? void 0 : currentItem.href
|
package/dist/types/index.d.ts
CHANGED
|
@@ -67,15 +67,3 @@ export declare type ViewDestination = {
|
|
|
67
67
|
declare type ViewSearchMode = "auto" | "top";
|
|
68
68
|
|
|
69
69
|
export { }
|
|
70
|
-
|
|
71
|
-
declare namespace _default {
|
|
72
|
-
function process(sourceText: any, sourcePath: any): {
|
|
73
|
-
code: string;
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
declare namespace _default {
|
|
78
|
-
function process(sourceText: any, sourcePath: any): {
|
|
79
|
-
code: string;
|
|
80
|
-
};
|
|
81
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/app-shell-navigation",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Hitachi Vantara UI Kit Team",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"bugs": "https://github.com/lumada-design/hv-uikit-react/issues",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@hitachivantara/app-shell-shared": "^1.5.
|
|
18
|
+
"@hitachivantara/app-shell-shared": "^1.5.7",
|
|
19
19
|
"path-to-regexp": "^8.1.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"access": "public",
|
|
30
30
|
"directory": "package"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "866c81403b508ea7748f7bbedeeca80144ceb8fa",
|
|
33
33
|
"exports": {
|
|
34
34
|
".": {
|
|
35
35
|
"types": "./dist/types/index.d.ts",
|