@kaio-xyz/design-system 1.1.24 → 1.1.26

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/index.cjs.js CHANGED
@@ -678,8 +678,8 @@ var DropdownMenu$1 = function (_a) {
678
678
  var style$5 = {"root":"dropdown-menu-item-module__root__zs510"};
679
679
 
680
680
  var DropdownMenuItem = function (_a) {
681
- var children = _a.children, disabled = _a.disabled, rest = __rest(_a, ["children", "disabled"]);
682
- return (jsxRuntime.jsx(RDropdownMenu__namespace.Item, __assign({ className: style$5.root, disabled: disabled }, rest, { children: children })));
681
+ var children = _a.children, disabled = _a.disabled, onClick = _a.onClick, rest = __rest(_a, ["children", "disabled", "onClick"]);
682
+ return (jsxRuntime.jsx(RDropdownMenu__namespace.Item, __assign({ className: style$5.root, onClick: !disabled ? onClick : undefined, disabled: disabled }, rest, { children: children })));
683
683
  };
684
684
 
685
685
  var DropdownMenu = { Root: DropdownMenu$1, Item: DropdownMenuItem };