@luminati-io/uikit 3.7.8 → 3.7.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -38477,7 +38477,7 @@ var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)(fu
|
|
38477
38477
|
tooltip: tooltip,
|
38478
38478
|
noWrap: true
|
38479
38479
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemComp, _extends({}, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(rest, 'icon', 'iconPlacement'), {
|
38480
|
-
"aria-disabled": disabled ?
|
38480
|
+
"aria-disabled": disabled ? true : undefined,
|
38481
38481
|
size: size,
|
38482
38482
|
role: "button",
|
38483
38483
|
subItems: subItems
|
@@ -42344,6 +42344,7 @@ var PopoverMenu = function PopoverMenu(props) {
|
|
42344
42344
|
keepPopover = _ref2.keepPopover,
|
42345
42345
|
item = _objectWithoutProperties(_ref2, _excluded);
|
42346
42346
|
var onItemClick = function onItemClick(evt) {
|
42347
|
+
if (item.disabled) return;
|
42347
42348
|
if (!keepPopover) togglePopover();
|
42348
42349
|
onClick === null || onClick === void 0 || onClick(row, evt);
|
42349
42350
|
};
|