v5.19.0
版本发布时间: 2022-07-19 20:36:07
ant-design/ant-design-mobile最新发布版本:v5.37.1(2024-07-03 12:00:22)
New Features
- a102c4bce Add
.umd.js
and.compatible.umd.js
bundles - 34502caa2 Cascader & CascaderView: Add
activeIcon
prop (#5462) - 82a35de92 Modal & Dialog & ActionSheet: Omit
destroyOnClose
andforceRender
types in imperatively show mode (#5475) - d21b9ef39 NumberKeyboard: Support multiple customKeys (#5458)
Enhancements
- 710f30198 PasscodeInput: Export type
PasscodeInputRef
- 0569fa9b9 PasscodeInput: Use aria labels to imporve a11y and adjust classname (#5476)
- eccdcb32e NumberKeyboard: Adjust className with prefix (#5454) ⚠️
- 2ad7b7548 Result: Add default value for
status
prop (#5480) - 01d27e0e2 SearchBar: Use aria labels to imporve a11y (#5465)
- b175374ca Calendar: Replace renderLabel type string to ReactNode (#5450)
Bug Fixes
- ebd9a91d4 SearchBar: Prevent getting duplicated value on enter press with some IMEs (#5466)
- bc56b48df ImageViewer: Scale origin is inaccurate when pinching (#5461)
- 533892063 Button: Fix React's bug when the browser translation function is enabled (#5460)
特性
- a102c4bce 增加了
.umd.js
和.compatible.umd.js
的预构建产物 - 34502caa2 Cascader & CascaderView: 增加了
activeIcon
属性 (#5462) - 82a35de92 Modal & Dialog & ActionSheet: 在指令式的
show
方法的 ts 类型定义中,去除了destroyOnClose
和forceRender
属性 (#5475) - d21b9ef39 NumberKeyboard: 支持配置两个自定义按键 (#5458)
优化
- 710f30198 PasscodeInput: export 了
PasscodeInputRef
类型 - 0569fa9b9 PasscodeInput: 优化了可访问性,并且调整了一些 CSS 类名 (#5476) ⚠️
- eccdcb32e NumberKeyboard: 调整了一些 CSS 类名 (#5454) ⚠️
- 2ad7b7548 Result: 为
status
属性增加了默认值 (#5480) - 01d27e0e2 SearchBar: 优化了可访问性 (#5465)
- b175374ca Calendar:
renderLabel
属性的类型从string
调整为了ReactNode
(#5450)
修复
- ebd9a91d4 SearchBar: 避免在输入法中按下回车键会导致插入重复的值 (#5466)
- bc56b48df ImageViewer: 修复了缩放时中心偏移的问题 (#5461)
- 533892063 Button: 修复了和浏览器翻译功能的兼容性问题 (#5460)