linear-react-components-ui 1.1.18-beta.8 → 1.1.18-beta.9

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.
@@ -29,7 +29,8 @@ const NavMenuItem = props => {
29
29
  targetRef,
30
30
  disableDefaultStyle = false,
31
31
  showDropdownOnClick = false,
32
- style
32
+ style,
33
+ customClassForDropdown
33
34
  } = props;
34
35
  const [showSubMenu, setShowSubMenu] = (0, _react.useState)(false);
35
36
  const [targetDimensions, setTargetDimensions] = (0, _react.useState)({});
@@ -122,7 +123,7 @@ const NavMenuItem = props => {
122
123
  className: "title"
123
124
  }, title), !childrenIsSubMenu && children)), showSubMenu && children && childrenIsSubMenu && !disabled && !openSearchMenuPopup && /*#__PURE__*/_react.default.createElement("div", {
124
125
  ref: submenuContainerRef,
125
- className: disableDefaultStyle ? '' : 'submenu-container',
126
+ className: "customClassForDropdown ".concat(disableDefaultStyle ? '' : 'submenu-container'),
126
127
  style: isOnEndWindow ? {
127
128
  marginLeft: targetDimensions.width,
128
129
  bottom: '0',
@@ -55,6 +55,7 @@ interface INavMenuItemProps extends WithTooltipProps {
55
55
  disableDefaultStyle?: boolean;
56
56
  showDropdownOnClick?: boolean;
57
57
  style?: CSSProperties;
58
+ customClassForDropdown?: string;
58
59
  }
59
60
  interface INavSubMenuItemProps {
60
61
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linear-react-components-ui",
3
- "version": "1.1.18-beta.8",
3
+ "version": "1.1.18-beta.9",
4
4
  "description": "Linear Sistemas ReactJs Components",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.cjs",