blue-react 8.9.0 → 8.9.2

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.
@@ -279,7 +279,7 @@ var Layout = /*#__PURE__*/function (_Component) {
279
279
  }), /*#__PURE__*/_react.default.createElement("div", {
280
280
  id: this.props.id ? this.props.id : "",
281
281
  style: this.props.style ? this.props.style : {},
282
- className: "blue-layout blue-sidebar-state" + (this.props.className ? " " + this.props.className : "") + (this.state.sidebarIn ? " open" : "") + (this.props.hideSidebarMenu ? " hasNoSidebarMenu" : " hasSidebarMenu") + (this.state.expandSidebar ? " expandSidebar" : "") + (this.props.disableHeaders ? " disableHeaders" : "") + (this.props.hideToggleExpandSidebar ? " hideToggleExpandSidebar" : ""),
282
+ className: "blue-layout" + (this.props.className ? " " + this.props.className : "") + (this.state.sidebarIn ? " open" : "") + (this.props.hideSidebarMenu ? " hasNoSidebarMenu" : " hasSidebarMenu") + (this.state.expandSidebar ? " expandSidebar" : "") + (this.props.disableHeaders ? " disableHeaders" : "") + (this.props.hideToggleExpandSidebar ? " hideToggleExpandSidebar" : ""),
283
283
  onClick: this.hideSidebar
284
284
  }, !this.props.hideSidebarMenu && /*#__PURE__*/_react.default.createElement(_SidebarToggler.default, {
285
285
  sidebarToggleIconComponent: this.props.sidebarToggleIconComponent,
@@ -94,7 +94,7 @@ function MenuItem(props) {
94
94
  (0, _react.useEffect)(function () {
95
95
  if (props.showDropdown !== undefined) setShowDropdown(props.showDropdown);
96
96
  }, [props.showDropdown]);
97
- var className = "blue-menu-item btn" + (props.isActive ? " active" : "") + (props.className ? " " + props.className : "") + (props.children ? " blue-menu-item-dropdown-toggle" : "");
97
+ var className = "blue-menu-item btn" + (props.isActive ? " active" : "") + (props.className ? " " + props.className : "") + (props.children ? " blue-menu-item-dropdown-toggle" : "") + (props.highlighted ? " highlighted" : "");
98
98
  var icon, iconForActive;
99
99
 
100
100
  if (typeof props.icon === "string") {
@@ -100,7 +100,7 @@ function SidebarMenuItem(_ref) {
100
100
  setOpen(false);
101
101
  }
102
102
  }, /*#__PURE__*/_react.default.createElement(SidebarMenuItem, _extends({}, props, {
103
- isActive: open,
103
+ highlighted: open,
104
104
  onClick: toggle
105
105
  })), open && /*#__PURE__*/_react.default.createElement("div", {
106
106
  ref: menuRef,