@hi-ui/dropdown 4.2.1 → 4.2.2
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/CHANGELOG.md +6 -0
- package/lib/cjs/Dropdown.js +2 -1
- package/lib/esm/Dropdown.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @hi-ui/dropdown
|
|
2
2
|
|
|
3
|
+
## 4.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3031](https://github.com/XiaoMi/hiui/pull/3031) [`c93f20d42`](https://github.com/XiaoMi/hiui/commit/c93f20d42096e38c10a99e1e333f3a9d9c00cdbe) Thanks [@zyprepare](https://github.com/zyprepare)! - fix(dropdown): 修复父节点设置 disabled 后依然可以点击的问题 (#3030)
|
|
8
|
+
|
|
3
9
|
## 4.2.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/lib/cjs/Dropdown.js
CHANGED
|
@@ -188,7 +188,8 @@ var DropdownMenuItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
188
188
|
width: width
|
|
189
189
|
}, rest), {
|
|
190
190
|
trigger: triggerMethods,
|
|
191
|
-
parents: parentsProp
|
|
191
|
+
parents: parentsProp,
|
|
192
|
+
disabled: disabled
|
|
192
193
|
})),
|
|
193
194
|
menuVisible = _useDropdown.menuVisible,
|
|
194
195
|
rootProps = _useDropdown.rootProps,
|
package/lib/esm/Dropdown.js
CHANGED
|
@@ -175,7 +175,8 @@ var DropdownMenuItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
175
175
|
width: width
|
|
176
176
|
}, rest), {
|
|
177
177
|
trigger: triggerMethods,
|
|
178
|
-
parents: parentsProp
|
|
178
|
+
parents: parentsProp,
|
|
179
|
+
disabled: disabled
|
|
179
180
|
})),
|
|
180
181
|
menuVisible = _useDropdown.menuVisible,
|
|
181
182
|
rootProps = _useDropdown.rootProps,
|