Skip to content

Releases: ant-design/ant-design-mobile

v5.29.0

03 Apr 07:11
Compare
Choose a tag to compare

Features

  • A11y: Enhance ActionSheet, NumberKeyboard, Selector, Tabs and VirtualInput accessibility. (#6070 #6078)
  • CheckList: Add extra prop support. (#6067)
  • Avatar: Add onLoad prop support. (#6047)
  • Popover: Support custom arrow size. (#6072)

Enhancements

Bug Fixes

  • Ellipsis: Fix default expand not show the expand icon after collapse. (#6082)

特性

  • A11y: 改进 ActionSheet, NumberKeyboard, Selector, Tabs and VirtualInput 无障碍体验。(#6070 #6078)
  • CheckList: 添加 extra 属性以支持额外渲染能力。(#6067)
  • Avatar: 添加 onLoad 属性支持加载触发事件。(#6047)
  • Popover: 支持自定义箭头尺寸。(#6072)

优化

修复

  • Ellipsis: 修复默认展开时,收起后无法展开的问题。(#6082)

v5.28.2

24 Mar 07:16
Compare
Choose a tag to compare

Enhancements

  • Stepper: support ref. (#5997)
  • Locale: Update Korean locale. (#6011)
  • Popover: Use global css variables to control font color. (#6045)

Bug Fixes

  • PullToRefresh: Fix cannot back to pulling status after complete in reduceMotion mode. (#6040)
  • TextArea: Fix the height not adapting when setting autoSize. (#6059)
  • Toast: Fix Toast cannot be closed when calling Toast.show and immediately calling Toast.clear. (#6060)

优化

  • Stepper: 支持 ref。(#5997)
  • Locale: 更新韩国本地化语言。(#6011)
  • Popover: 调整文字颜色现在会跟随 CSS Variable 设置。(#6045)

修复

  • PullToRefresh: 修复在 reduceMotion 模式下,拖拽更新状态不同步的问题。(#6040)
  • TextArea: 修复配置 autoSize 时,高度不更新的问题。(#6059)
  • Toast: 修复调用 Toast.show 后立即调用 Toast.clear 时,提示内容不消失的问题。(#6060)

v5.28.1

24 Feb 07:40
Compare
Choose a tag to compare

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)

优化

  • Popup: 提升无障碍体验。(#5949)
  • Steps: 移除 icon 的背景色以适配设置非纯白背景色的场景。(#5978)

修复

  • Swiper: 修复当游览器繁忙时,切换速度不稳定的问题。(#5957)
  • TextArea: 修复部分安卓机型 autoSize 会出现异常滚动的问题。(#5968)
  • 锁定 @react-spring 版本以修复编译报错的问题。(#5989)

v5.28.0

12 Jan 07:32
Compare
Choose a tag to compare

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

12 Dec 07:44
Compare
Choose a tag to compare

Features

  • Stepper: Support stringMode for high precision decimals. (#5855)
  • DatePicker: Support tillNow which will return Date will tillNow mark. (#5876)

Bug Fixes

  • ImageUploader: Fix upload count limit fail upload with latest one. (#5866)

特性

  • Stepper: 添加 stringMode 以支持高精度模式。(#5855)
  • DatePicker: 支持 tillNow 配置,当选中至今选项时返回对象会被标记 tillNow。(#5876)

修复

  • ImageUploader: 修复限制数量上传时,上传最后一个不生效的问题。(#5866)

v5.26.0

25 Nov 08:21
Compare
Choose a tag to compare

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 and onOffsetChange props to support customize drag position. (#5718)
  • ImageUploader: Add deleteIcon for customization. (#5807)
  • Stepper: Add formatter and parser 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: 添加 offsetonOffsetChange 属性以支持自定义拖拽位置。(#5718)
  • ImageUploader: 添加 deleteIcon 属性以支持自定义删除图标。(#5807)
  • Stepper: 添加 formatterparser 属性以支持自定义格式化展示与解析。(#5828)
  • NoticeBar: 添加 wrap 属性允许超长内容直接多行展示。(#5810)

优化

  • Form: FormInstance 导出 setFieldValue api 类型定义。(#5806)
  • Calendar: 在选择范围起始和结束行添加额外 className 以便于自定义样式拓展。(#5792)

修复

  • ImageUpload: 修复乱序删除文件时,文件列表不正确的问题。(#5815)

v5.25.1

02 Nov 07:30
Compare
Choose a tag to compare

Bug Fixes

  • Fix bundle file missing css-vars-patch.css. (#5781)

修复

  • 修复打包文件丢失 css-vars-patch.css 的问题。(#5781)

v5.25.0

01 Nov 03:38
Compare
Choose a tag to compare

Features

  • ImageView: maxZoom support auto 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)

修复

  • Slider: 修复生产环境下样式丢失警告的问题。(#5759)
  • ImageUploader: 修复 showFailed=false 时不会自动移除失败任务的问题。(#5766)

v5.24.2

20 Oct 15:03
Compare
Choose a tag to compare

Bug Fixes


修复

  • 4b975c3 Picker: 修复了无障碍模式下布局偏移的问题 (#5746)
  • 3c0e25a Slider: 修复了无法滑动到最大值的问题 (#5751)

v5.24.1

17 Oct 07:35
Compare
Choose a tag to compare

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 support globalThis. (#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 is undefined. (#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)

修复

  • Popup: 修复 IOS 12 在 Popup 弹出时某些场景仍然可以滚动屏幕的问题。(#5738)
  • Picker: 修复 IOS 10 下弹层展示内容高度过小的问题。(#5734)
  • Ellipsis: 修复 contentundefined 会报错的问题。(#5727)
  • NumberKeyboard: 修复自定义背景色对关闭按钮无效的问题。(#5685)
  • Slider: 修复 step 为小数时,数值不正确的问题。(#5706)
  • 修复 CSS 编译使用 rgba 而非 #RGBA 以兼容旧版浏览器。(#5739)