@carbon-labs/react-ui-shell 0.45.0 → 0.46.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.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { SideNavIcon,
|
|
8
|
+
import { SideNavIcon, Layer, Button } from '@carbon/react';
|
|
9
9
|
import { breakpoints } from '../node_modules/@carbon/layout/es/index.js';
|
|
10
10
|
import cx from '../_virtual/index.js';
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
@@ -349,7 +349,7 @@ const SideNavMenu = /*#__PURE__*/React.forwardRef(function SideNavMenu(_ref, ref
|
|
|
349
349
|
size: 20
|
|
350
350
|
})) : _ChevronDown || (_ChevronDown = /*#__PURE__*/React.createElement(ChevronDown, {
|
|
351
351
|
size: 20
|
|
352
|
-
})))), primary ? /*#__PURE__*/React.createElement("div", {
|
|
352
|
+
})))), primary ? /*#__PURE__*/React.createElement(Layer, null, /*#__PURE__*/React.createElement("div", {
|
|
353
353
|
className: primaryClassNames
|
|
354
354
|
}, /*#__PURE__*/React.createElement(SideNavItems, {
|
|
355
355
|
accessibilityLabel: {
|
|
@@ -362,7 +362,7 @@ const SideNavMenu = /*#__PURE__*/React.forwardRef(function SideNavMenu(_ref, ref
|
|
|
362
362
|
onClick: handleOnBackButtonClick,
|
|
363
363
|
className: `${prefix}--side-nav__back-button`,
|
|
364
364
|
renderIcon: backButtonRenderIcon
|
|
365
|
-
}, backButtonTitle),
|
|
365
|
+
}, backButtonTitle), childrenToRender))) : /*#__PURE__*/React.createElement("ul", {
|
|
366
366
|
className: `${prefix}--side-nav__menu`,
|
|
367
367
|
role: "group"
|
|
368
368
|
}, childrenToRender));
|
|
@@ -351,7 +351,7 @@ const SideNavMenu = /*#__PURE__*/React.forwardRef(function SideNavMenu(_ref, ref
|
|
|
351
351
|
size: 20
|
|
352
352
|
})) : _ChevronDown || (_ChevronDown = /*#__PURE__*/React.createElement(bucket3.ChevronDown, {
|
|
353
353
|
size: 20
|
|
354
|
-
})))), primary ? /*#__PURE__*/React.createElement("div", {
|
|
354
|
+
})))), primary ? /*#__PURE__*/React.createElement(react.Layer, null, /*#__PURE__*/React.createElement("div", {
|
|
355
355
|
className: primaryClassNames
|
|
356
356
|
}, /*#__PURE__*/React.createElement(SideNavItems.SideNavItems, {
|
|
357
357
|
accessibilityLabel: {
|
|
@@ -364,7 +364,7 @@ const SideNavMenu = /*#__PURE__*/React.forwardRef(function SideNavMenu(_ref, ref
|
|
|
364
364
|
onClick: handleOnBackButtonClick,
|
|
365
365
|
className: `${prefix}--side-nav__back-button`,
|
|
366
366
|
renderIcon: backButtonRenderIcon
|
|
367
|
-
}, backButtonTitle),
|
|
367
|
+
}, backButtonTitle), childrenToRender))) : /*#__PURE__*/React.createElement("ul", {
|
|
368
368
|
className: `${prefix}--side-nav__menu`,
|
|
369
369
|
role: "group"
|
|
370
370
|
}, childrenToRender));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon-labs/react-ui-shell",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@ibm/telemetry-js": "^1.9.1"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "25a4ee32036576869be9cb12de891826699587e8"
|
|
45
45
|
}
|