@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.
- package/dist/hyphen-components.cjs.development.js +1 -1
- package/dist/hyphen-components.cjs.development.js.map +1 -1
- package/dist/hyphen-components.cjs.production.min.js +1 -1
- package/dist/hyphen-components.cjs.production.min.js.map +1 -1
- package/dist/hyphen-components.esm.js +1 -1
- package/dist/hyphen-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DropdownMenu/DropdownMenu.stories.tsx +4 -0
- package/src/components/DropdownMenu/DropdownMenu.tsx +16 -11
|
@@ -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',
|
|
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;
|