blue-react 8.9.1 → 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.
@@ -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,