v5.26.0
版本发布时间: 2022-11-25 16:21:46
ant-design/ant-design-mobile最新发布版本:v5.37.1(2024-07-03 12:00:22)
Features
- Mask:
color
support customize color. (#5789) - ImageUploader: support
columns
prop to customize display count in one line. (#5728) - WaterMark:
content
support multiple lines. (#5800) - FloatingBubble: Add
offset
andonOffsetChange
props to support customize drag position. (#5718) - ImageUploader: Add
deleteIcon
for customization. (#5807) - Stepper: Add
formatter
andparser
for customization. (#5828) - NoticeBar: Add
wrap
prop which will show multiple line instead of rolling. (#5810)
Enhancements
- Form: FormInstance export
setFieldValue
api type def. (#5806) - Calendar: Add additional className on the begin and end selected row to make customize style easier. (#5792)
Bug Fixes
- ImageUpload: Fix file list incorrect when remove file out of order. (#5815)
特性
- Mask:
color
支持自定义颜色。(#5789) - ImageUploader: 添加
columns
属性以支持自定义单行可展示的图片个数。(#5728) - WaterMark:
content
支持多行文字。(#5800) - FloatingBubble: 添加
offset
与onOffsetChange
属性以支持自定义拖拽位置。(#5718) - ImageUploader: 添加
deleteIcon
属性以支持自定义删除图标。(#5807) - Stepper: 添加
formatter
与parser
属性以支持自定义格式化展示与解析。(#5828) - NoticeBar: 添加
wrap
属性允许超长内容直接多行展示。(#5810)
优化
- Form: FormInstance 导出
setFieldValue
api 类型定义。(#5806) - Calendar: 在选择范围起始和结束行添加额外 className 以便于自定义样式拓展。(#5792)
修复
- ImageUpload: 修复乱序删除文件时,文件列表不正确的问题。(#5815)