@carbon-labs/react-ui-shell 0.62.0 → 0.63.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/es/components/SideNav.js
CHANGED
|
@@ -345,7 +345,7 @@ function SideNavRenderFunction({
|
|
|
345
345
|
const target = event.target;
|
|
346
346
|
const isNavItemClick = target.closest(`.${prefix}--side-nav a, .${prefix}--side-nav button`);
|
|
347
347
|
const isInRail = isNavItemClick?.closest(`.${prefix}--side-nav--rail`);
|
|
348
|
-
if (isNavItemClick) {
|
|
348
|
+
if (isNavItemClick && !isNavItemClick.classList.contains(`${prefix}--side-nav__submenu`)) {
|
|
349
349
|
isInRail ? handleToggle(false, false) : onSideNavBlur?.();
|
|
350
350
|
}
|
|
351
351
|
});
|
|
@@ -347,7 +347,7 @@ function SideNavRenderFunction({
|
|
|
347
347
|
const target = event.target;
|
|
348
348
|
const isNavItemClick = target.closest(`.${prefix}--side-nav a, .${prefix}--side-nav button`);
|
|
349
349
|
const isInRail = isNavItemClick?.closest(`.${prefix}--side-nav--rail`);
|
|
350
|
-
if (isNavItemClick) {
|
|
350
|
+
if (isNavItemClick && !isNavItemClick.classList.contains(`${prefix}--side-nav__submenu`)) {
|
|
351
351
|
isInRail ? handleToggle(false, false) : onSideNavBlur?.();
|
|
352
352
|
}
|
|
353
353
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon-labs/react-ui-shell",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.63.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@ibm/telemetry-js": "^1.9.1"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "7a88a54b5d9e12176f9b9d354c7dfb78c16c1d2f"
|
|
46
46
|
}
|