v5.35.0
版本发布时间: 2024-03-28 15:40:10
ant-design/ant-design-mobile最新发布版本:v5.37.1(2024-07-03 12:00:22)
Features
- PickerView: Add active className. #6427
- MISC:
stopPropagation
supporttouchstart
event. #6578 - MISC: Export
useConfig
for consuming the config context. #6501 - i18n: Add hungarian locale. #6555
- i18n: Add Thai locale. #6533
Enhancements
- Form: Help icon add stopPropagation to prevent native active trigger. #6549
- Refactor: Replace lodash to reduce bundle size. #6581 #6542 #6524 #6526
Bug Fixes
- Button: Fix css variables fallback style not handle danger button. #6568
- Result: Fix dark theme style not correct. #6557
- ErrorBlock: Fix tree shaking makes style missing. #6551
- Radio: Fix mistake hidden all the
input
element in it. #6492 - TextArea: Fix not scrollable when
disabled
. #6509 - InfiniteScroll: Fix error throw when scrolling. #6531
特性
- PickerView: 添加激活态 className。#6427
- MISC:
stopPropagation
支持touchstart
事件。#6578 - MISC: 导出
useConfig
方法以供开发者消费全局 context。#6501 - i18n: 添加匈牙利语本地化支持。#6555
- i18n: 添加泰语本地化支持。#6533
优化
- Form: 帮助按钮添加 stopPropagation 逻辑以防止点击时触发原生聚焦行为。#6549
- Refactor: 替换 lodash 以降低打包体积。#6581 #6542 #6524 #6526
修复
- Button: 修复 css variables 降低样式不支持危险按钮的问题。#6568
- Result: 修复暗色主题样式不正确的问题。#6557
- ErrorBlock: 修复 tree shaking 下样式会丢失的问题。#6551
- Radio: 修复错误的将所有
input
元素隐藏的问题。#6492 - TextArea: 修复设置
disabled
时无法滚动的问题。#6509 - InfiniteScroll: 修复滚动时偶尔会报错的问题。#6531