@hyphen/hyphen-components 4.1.2 → 4.1.3

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.
@@ -2123,7 +2123,7 @@ var DropdownMenuItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
2123
2123
  props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
2124
2124
  return React.createElement(DropdownMenuPrimitive__namespace.Item, _extends({
2125
2125
  ref: ref,
2126
- className: classNames('font-size-sm position-relative cursor-default display-flex br-sm align-items-center p-sm g-sm outline-none hover:background-color-secondary focus:background-color-secondary', inset && 'p-left-md', className)
2126
+ className: classNames('font-size-sm position-relative cursor-default display-flex br-sm align-items-center p-sm g-sm outline-none', inset && 'p-left-md', !props.disabled && 'hover:background-color-secondary focus:background-color-secondary', props.disabled && 'cursor-not-allowed font-color-disabled', className)
2127
2127
  }, props));
2128
2128
  });
2129
2129
  DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;