v5.18.0
版本发布时间: 2022-07-08 14:17:42
ant-design/ant-design-mobile最新发布版本:v5.37.1(2024-07-03 12:00:22)
New Features
- 7be2bb018 Switch: Deprecate
beforeChange
prop andonChange
supports promise (#5456) ⚠️
Enhancements
- ea463ee9b Rate: Use aria labels to imporve a11y (#5449)
- d2afb1fef NoticeBar: Adjust the clickable area of close icon (#5448)
- 4ecbbf2cb A minor refactor to reduce bundle size
- c7aeec45a Upgrade
rc-field-form
to 1.27 and@use-gesture/react
to 10.2.16
Bug Fixes
- 9fec063d9 Tabs: Fix the background color in dark mode
- c7a772b1b Form:
Form.Item
now supports native props (akastyle
className
aria-*
data-*
) - 6393aa94d fee2ff541 Calendar:
CalendarRef
used to be misspelled asCalenderRef
(#5443) ⚠️
特性
- 7be2bb018 Switch: 弃用了
beforeChange
属性,同时onChange
属性支持了返回 promise (#5456) ⚠️
优化
- ea463ee9b Rate: 增加了一些 aria 标记,优化可访问性 (#5449)
- d2afb1fef NoticeBar: 扩大了关闭图标的点击范围 (#5448)
- 4ecbbf2cb 底层做了一些重构,稍微减少了一些包体积
- c7aeec45a
rc-field-form
升级到了 1.27,@use-gesture/react
升级到了 10.2.16
修复
- 9fec063d9 Tabs: 修复了深色模式下的背景色
- c7a772b1b Form:
Form.Item
支持了 native props(也就是style
className
aria-*
data-*
) - 6393aa94d fee2ff541 Calendar: ts 类型
CalenderRef
之前拼写错误了,现在纠正为CalendarRef
了 (#5443) ⚠️