Releases: ant-design/ant-design-mobile
Releases · ant-design/ant-design-mobile
v5.28.1
Features
- Ellipsis: support
defaultExpand
prop. (#5955)
Enhancements
- Popup: Improve accessibility experience. (#5949)
- Steps: Remove icon background to support the usage with colorful background. (#5978)
Bug Fixes
- Swiper: Fix auto play speed not stable when browser is busy. (#5957)
- TextArea: Fix
autoSize
not work as expect in part Android browser. (#5968) - Lock
@react-spring
version to resolve compile error. (#5989)
特性
- Ellipsis: 支持
defaultExpand
用以默认展开。(#5955)
优化
修复
v5.28.0
Features
- Input: Support native
step
prop. (#5895) - Calendar: Support
renderDate
for customize date cell. (#5910) - Swiper: Support
stopPropagation
to config preventing event bubble. (#5906)
Enhancements
- Cascader: Patch style fallback support. (#5887)
Bug Fixes
- Footer: Fix missing
divider
style import. (#5909)
特性
- Input: 支持原生
step
属性。(#5895) - Calendar: 支持
renderDate
以自定义日期单元。(#5910) - Swiper: 支持
stopPropagation
配置以阻止事件冒泡。(#5906)
优化
- Cascader: 添加降低样式支持。(#5887)
修复
- Footer: 修复丢失
divider
样式引入的问题。(#5909)
v5.27.0
v5.26.0
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)
v5.25.1
v5.25.0
Features
- ImageView:
maxZoom
supportauto
to auto set max scale as screen size. (#5709) - CascaderView:
placeholder
support function type customize by level. (#5689)
Enhancements
- Export all component props types. (#5768)
Bug Fixes
- Slider: Fix style file missing when in prod env. (#5759)
- ImageUploader:
showFailed=false
should auto remove failed task. (#5766)
特性
- ImageView:
maxZoom
支持auto
使缩放自动适配最大屏幕尺寸。(#5709) - CascaderView:
placeholder
支持自定义函数以配置不同层级的展示内容。(#5689)
优化
- 导出所有组件的属性定义。(#5768)
修复
v5.24.2
v5.24.1
Features
- Support
ja-JP
localization. (#5707)
Enhancements
- PasscodeInput: Adjust password dot style to make it more round in HuaWei phone. (#5737)
- NavBar:
back
definition support ReactNode. (#5715) - Use webpack building
umd
to compatible with the browser not supportglobalThis
. (#5735)
Bug Fixes
- Popup: Fix IOS 12 some time can scroll the screen even when Popup is show. (#5738)
- Picker: Fix IOS 10 view panel height too narrow. (#5734)
- Ellipsis: Fix break when
content
isundefined
. (#5727) - NumberKeyboard: Fix customize background not affect close button. (#5685)
- Slider: Fix value not correct when
step
is decimal. (#5706) - Fix CSS compile use
rgba
instead of#RGBA
to compatible with old version browser. (#5739)
特性
- 添加
ja-JP
国际化支持。(#5707)
优化
- PasscodeInput: 调整华为手机下密码圆点使其变得更圆。(#5737)
- NavBar:
back
定义支持 ReactNode。(#5715) - 使用 webpack 构建
umd
包以兼容浏览器不支持globalThis
的问题。(#5735)
修复
v5.24.0
Features
- 12dbee8 Calendar: Support
minPage
andmaxPage
prop (#5650) - 66b1725 Form: Add CSS variable
--prefix-width
of Form.Item label width (#5665)
Enhancements
- 5772d64 Stepper: Default input use
decimal
mode (#5676) - 0b96c9d Swiper: Support nested Swiper (#5669)
Bug Fixes
- ef9ae66 Popover: Should auto close when user move screen (#5677)
- 1c04f03 Ellipsis: Use runes to prevent emoji being split unexpectedly (#5678)
特性
- 12dbee8 Calendar: 支持
minPage
与maxPage
属性 (#5650) - 66b1725 Form: 添加 CSS 变量
--prefix-width
以控制 Form.Item 标签宽度 (#5665)
优化
修复
v5.23.0
Features
- f288a05 ImageUploader: Add
onUploadQueueChange
prop (#5640) - d42a0e1 ImageUploader: Add
itemRender
prop (#5642) - fad7568 Slider: Add
residentPopover
prop (#5662) - 6aede42 Footer: Add footer component (#5611)
Enhancements
- 5dbbab3 Slider: Update disabled style (#5589)
- 6547326 ImageUploader: Optimize image preview memory (#5627)
- 7675065 ImageViewer: Use index as the key (#5641)
- eba2073 Rate: Optimise the style in half-selected mode (#5601)
- 22fa4e1 Dialog: Action text support ReactNode (#5584)
- 923a359 PageIndicator: Adjust dot color in white mode (#5607)
- 4085126 Toast: Adjust some styles (#5595)
Bug Fixes
- 92d6290 fix(Picker): Fix
getPropertyValue
compatibility issue on iOS 10 - e151e07 fix(Avatar): Adjust
Image
import path to prevent issue in HD mode (#5664) - 3a9d3f4 fix(Slider): Fix crash when
range
andvalue
don't match (#5591)
特性
- f288a05 ImageUploader: 增加了
onUploadQueueChange
属性 (#5640) - d42a0e1 ImageUploader: 增加了
itemRender
属性 (#5642) - fad7568 Slider: 增加了
residentPopover
属性 (#5662) - 6aede42 Footer: 增加了新组件 Footer (#5611)
优化
- 5dbbab3 Slider: 优化了禁用状态下的样式 (#5589)
- 6547326 ImageUploader: 优化了内存占用 (#5627)
- 7675065 ImageViewer: 避免图片 url 相同时出现 key 重复 (#5641)
- eba2073 Rate: 优化了半选模式下的样式 (#5601)
- 22fa4e1 Dialog: Action 的 text 属性支持了 ReactNode 类型 (#5584)
- 923a359 PageIndicator: 调整了 white 模式下的指示器颜色 (#5607)
- 4085126 Toast: 优化了一些样式 (#5595)