Skip to content

Releases: ant-design/ant-design-mobile

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)

v5.24.0

21 Sep 06:22
Compare
Choose a tag to compare

Features

  • 12dbee8 Calendar: Support minPage and maxPage prop (#5650)
  • 66b1725 Form: Add CSS variable --prefix-width of Form.Item label width (#5665)

Enhancements

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: 支持 minPagemaxPage 属性 (#5650)
  • 66b1725 Form: 添加 CSS 变量 --prefix-width 以控制 Form.Item 标签宽度 (#5665)

优化

修复

  • ef9ae66 Popover: 当用户移动屏幕时自动关闭弹层 (#5677)
  • 1c04f03 Ellipsis: 修复 emoji 测量不正确的问题 (#5678)

v5.23.0

15 Sep 10:20
248eca3
Compare
Choose a tag to compare

Features

Enhancements

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 and value don't match (#5591)

特性

优化

  • 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)

修复

  • 92d6290 fix(Picker): 修复了 getPropertyValue 在 iOS 10 上的兼容性问题
  • e151e07 fix(Avatar): 修复了在高清模式下可能出现样式错乱的问题 (#5664)
  • 3a9d3f4 fix(Slider): 修复了 rangevalue 不匹配时组件渲染出错的问题 (#5591)

v5.22.0

18 Aug 09:59
ff004bd
Compare
Choose a tag to compare

New Features

  • 4ff80b4 ActionSheet: Add new property bold to type Action and adjust some styles (#5582)
  • b118e4c Add dev and prod bundle (#5576)
  • 4066eb7 Selector: Add gap related CSS variables (#5554)

Enhancements

Bug Fixes

  • eeaf900 The new umd bundle should load antdMobile variable onto window
  • 3b6d3ec Ellipsis: Fix error when using with display flex (#5568)
  • 222ff2b ImageViewer: Should reset the transform when viewer is reshowed (#5569)
  • ca85f76 FloatingPanel: Fix rendering gaps caused by decimal point (#5551)

特性

  • 4ff80b4 ActionSheet: Action 支持了新属性 bold,同时微调了一些样式 (#5582)
  • b118e4c 各种预购建产物都支持了 dev 和 prod 两种版本 (#5576)
  • 4066eb7 Selector: 增加了一些 gap 相关的 CSS 变量 (#5554)

优化

  • 630e0dd CheckList: 微调了图标大小 (#5566)
  • 056746a TabBar: 微调了文字颜色和图标大小 (#5562)
  • e94b4d4 IndexBar: 气泡现在距离屏幕右边缘更远一些了,避免手指遮挡 (#5561)
  • e40827d PageIndicator: 调整了默认的 --dot-color (#5556)

修复

  • eeaf900 预购建产物中的 umd 版本之前没有正确的挂载到 window 上,现在正常了
  • 3b6d3ec Ellipsis: 修复了当被放置在 flex 容器中时可能显示异常的问题 (#5568)
  • 222ff2b ImageViewer: 当关闭后重新打开时,现在会自动重置缩放比例到初始状态了 (#5569)
  • ca85f76 FloatingPanel: 修复了部分情况下由于浏览器渲染精度问题导致出现缝隙的问题 (#5551)

v5.21.0

09 Aug 07:46
6b5cf3a
Compare
Choose a tag to compare

New Features

Enhancements

Bug Fixes

  • 43a359e Rate: Rate value will reset when drag stop on PC (#5524)
  • f7413d4 Swiper: Add swiper count dependency when autoplay (#5521)
  • cd150e3 Picker: wheel is not updated when renderLabel or mouseWheel is updated (#5520)

特性

  • d08c419 新增了 ResultPage 组件 (#5494)
  • dfa63e6 Form: FormItemProps 现在开放了更多的 RcFieldProps 上的属性 (#5527)

优化

修复

  • 43a359e Rate: 修复了在桌面端浏览器上对 Rate 进行拖动时行为异常的问题 (#5524)
  • f7413d4 Swiper: 当 Swiper 内容数量发生变化时,现在会触发 autoplay 逻辑的重新计算了 (#5521)
  • cd150e3 Picker: 修复了部分情况下,选项没有触发重新渲染的问题 (#5520)