@arcblock/ux 2.1.28 → 2.1.29

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.
@@ -72,7 +72,7 @@ function SplitButton(_ref) {
72
72
 
73
73
 
74
74
  const handleItemClick = e => {
75
- if (e.target.classList.contains('MuiListItem-root')) {
75
+ if (e.target.classList.contains('MuiMenuItem-root')) {
76
76
  setOpen(false);
77
77
  }
78
78
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ux",
3
- "version": "2.1.28",
3
+ "version": "2.1.29",
4
4
  "description": "Common used react components for arcblock products",
5
5
  "keywords": [
6
6
  "react",
@@ -52,10 +52,10 @@
52
52
  "react": ">=18.1.0",
53
53
  "react-ga": "^2.7.0"
54
54
  },
55
- "gitHead": "725aea0efca877ff15c93d5eab829fca3fe8da25",
55
+ "gitHead": "710f8e28829c64030a36e3d9301358834b8937e4",
56
56
  "dependencies": {
57
- "@arcblock/icons": "^2.1.28",
58
- "@arcblock/react-hooks": "^2.1.28",
57
+ "@arcblock/icons": "^2.1.29",
58
+ "@arcblock/react-hooks": "^2.1.29",
59
59
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
60
60
  "@emotion/react": "^11.9.0",
61
61
  "@emotion/styled": "^11.8.1",
@@ -27,7 +27,7 @@ export default function SplitButton({ size, color, menu, children, variant, onCl
27
27
 
28
28
  // 点击 item 后收起下拉菜单, 如果想要点击 action 后不收起下拉菜单, 可以在 item#onClick 时调用 e.stopPropagation()
29
29
  const handleItemClick = (e) => {
30
- if (e.target.classList.contains('MuiListItem-root')) {
30
+ if (e.target.classList.contains('MuiMenuItem-root')) {
31
31
  setOpen(false);
32
32
  }
33
33
  };