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

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

New Features

  • a102c4b Add .umd.js and .compatible.umd.js bundles
  • 34502ca Cascader & CascaderView: Add activeIcon prop (#5462)
  • 82a35de Modal & Dialog & ActionSheet: Omit destroyOnClose and forceRender types in imperatively show mode (#5475)
  • d21b9ef NumberKeyboard: Support multiple customKeys (#5458)

Enhancements

  • 710f301 PasscodeInput: Export type PasscodeInputRef
  • 0569fa9 PasscodeInput: Use aria labels to imporve a11y and adjust classname (#5476)
  • eccdcb3 NumberKeyboard: Adjust className with prefix (#5454) ⚠️
  • 2ad7b75 Result: Add default value for status prop (#5480)
  • 01d27e0 SearchBar: Use aria labels to imporve a11y (#5465)
  • b175374 Calendar: Replace renderLabel type string to ReactNode (#5450)

Bug Fixes

  • ebd9a91 SearchBar: Prevent getting duplicated value on enter press with some IMEs (#5466)
  • bc56b48 ImageViewer: Scale origin is inaccurate when pinching (#5461)
  • 5338920 Button: Fix React's bug when the browser translation function is enabled (#5460)

特性

  • a102c4b 增加了 .umd.js.compatible.umd.js 的预构建产物
  • 34502ca Cascader & CascaderView: 增加了 activeIcon 属性 (#5462)
  • 82a35de Modal & Dialog & ActionSheet: 在指令式的 show 方法的 ts 类型定义中,去除了 destroyOnCloseforceRender 属性 (#5475)
  • d21b9ef NumberKeyboard: 支持配置两个自定义按键 (#5458)

优化

  • 710f301 PasscodeInput: export 了 PasscodeInputRef 类型
  • 0569fa9 PasscodeInput: 优化了可访问性,并且调整了一些 CSS 类名 (#5476) ⚠️
  • eccdcb3 NumberKeyboard: 调整了一些 CSS 类名 (#5454) ⚠️
  • 2ad7b75 Result: 为 status 属性增加了默认值 (#5480)
  • 01d27e0 SearchBar: 优化了可访问性 (#5465)
  • b175374 Calendar: renderLabel 属性的类型从 string 调整为了 ReactNode (#5450)

修复

  • ebd9a91 SearchBar: 避免在输入法中按下回车键会导致插入重复的值 (#5466)
  • bc56b48 ImageViewer: 修复了缩放时中心偏移的问题 (#5461)
  • 5338920 Button: 修复了和浏览器翻译功能的兼容性问题 (#5460)

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

NewReleases is sending notifications on new releases.