x-ui-design 0.7.81 → 0.7.83
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.esm.js
CHANGED
|
@@ -1601,7 +1601,6 @@ const Checkbox = ({
|
|
|
1601
1601
|
onChange?.(e);
|
|
1602
1602
|
};
|
|
1603
1603
|
useEffect(() => {
|
|
1604
|
-
console.log(checked);
|
|
1605
1604
|
if (checked !== undefined) {
|
|
1606
1605
|
setInternalChecked(checked);
|
|
1607
1606
|
}
|
|
@@ -4441,7 +4440,8 @@ const MenuItem = ({
|
|
|
4441
4440
|
selected,
|
|
4442
4441
|
className = '',
|
|
4443
4442
|
prefixCls = prefixClsMenu,
|
|
4444
|
-
onClick
|
|
4443
|
+
onClick,
|
|
4444
|
+
style
|
|
4445
4445
|
}) => {
|
|
4446
4446
|
const menuContext = useContext(MenuContext);
|
|
4447
4447
|
if (!menuContext) {
|
|
@@ -4459,6 +4459,7 @@ const MenuItem = ({
|
|
|
4459
4459
|
menuContext?.onItemClick(itemKey, e);
|
|
4460
4460
|
};
|
|
4461
4461
|
return /*#__PURE__*/React.createElement("li", {
|
|
4462
|
+
style: style,
|
|
4462
4463
|
role: "menuitem",
|
|
4463
4464
|
title: title,
|
|
4464
4465
|
onClick: handleClick,
|