github ant-design/ant-design-mobile v5.13.0

latest releases: v5.36.0, v5.35.0, v5.34.0...
23 months ago

Features

  • b159354 add fr-FR locale (#5216)
  • 5235443 IndexBar: add onIndexChange prop (#5223)
  • 9663bc8 Modal & Dialog: add destroyOnClose and forceRender props (#5217)
  • 51ea559 ImageViewer: add renderFooter prop (#5228)
  • 8eb12cb ErrorBlock: add createErrorBlock function for generating more light-weighted or customized ErrorBlock
  • e813593 add reduceMotion and restoreMotion
  • 3c05796 Ellipsis: move Ellipsis out of experimental components, now it is stable
  • ffeb084 move HD out of the experimental features, now it is stable

Enhancements

  • a0e5405 Mask: adjust animation config
  • ffe3ca0 Modal & Dialog: remove the whole DOM element after hidden if destroyOnClose is true
  • d120a35 upgrade @use-gesture/react to 10.2.15
  • b0bd5ee improve some error messages about measuring css length

Bug Fixes

  • 09135d2 Input: may can't enter values when click the clear button in ios (#5247)
  • fc623d6 ImageViewer: remove unused max-height: -webkit-fill-available style to prevent eslint errors
  • b07d5e6 Ellipsis: middle mode has more characters on right than on left (#5253)

特性

  • b159354 增加了 fr-FR 翻译 (#5216)
  • 5235443 IndexBar: 增加了 onIndexChange 属性 (#5223)
  • 9663bc8 Modal & Dialog: 增加了 destroyOnCloseforceRender 属性 (#5217)
  • 51ea559 ImageViewer: 增加了 renderFooter 属性 (#5228)
  • 8eb12cb ErrorBlock: 增加了 createErrorBlock 函数,你可以使用它创建更轻量化的或者是定制化的 ErrorBlock
  • e813593 增加了 reduceMotionrestoreMotion 函数,你可以使用它们来减弱组件的动画效果
  • 3c05796 Ellipsis: 将 Ellipsis 移出了试验性范围,现在它是一个常规的稳定组件了
  • ffeb084 将高清方案移除了试验性范围,现在它是一个常规的稳定特性了

优化

  • a0e5405 Mask: 调整了动画效果
  • ffe3ca0 Modal & Dialog: 当 destroyOnClosetrue 时,现在会在组件隐藏后移除整个 DOM 节点了,而不仅仅是只移除内容部分的 DOM
  • d120a35 升级 @use-gesture/react10.2.15
  • b0bd5ee 优化了一些关于 css 长度计算的报错提示信息

修复

  • 09135d2 Input: 修复了在 iOS 下点击清除按钮时输入框可能卡住的问题 (#5247)
  • fc623d6 ImageViewer: 移除了无效的 max-height: -webkit-fill-available 样式,避免出现 lint 报错
  • b07d5e6 Ellipsis: 修复了 middle 模式下,右侧内容可能比左侧内容更多的问题 (#5253)

Don't miss a new ant-design-mobile release

NewReleases is sending notifications on new releases.