Releases: ant-design/ant-design-mobile
Releases · ant-design/ant-design-mobile
v5.32.3
v5.32.2
v5.32.1
Enhancements
- PickerView: align the
mouseWheel
direction with real world. (#6240) - Toast: support
rtl
mode. (#6287) - Calendar: Refactor
locale
field from method to string to be cache-able. (#6276) - Design Token: Replace some style with css variables. (#6320)
Bug Fixes
- TextArea: Fix
rows
not limited byautoSize
. (#6256) - Form: Fix Form.Item
className
repeat issue. (#6278) - PullToRefresh: Fix some time not pull-able. (#6296)
- FloatingPanel: Fix
Unable to preventDefault inside passive event listener invocation
warning. (#6284) - FloatingPanel: Fix
prefixCls
not fully apply on the component. (#6297) - PickView: Fix
prefixCls
not fully apply on the component. (#6304) - CenterPopup: Fix
prefixCls
not fully apply on the component. (#6305) - WaterMark: Fix css variable
--adm-water-mark-z-index
not working. (#6330) - ErrorBlock: Fix
title
ordescription
not support0
. (#6309) - Popup: Fix scroll issue when in some edge case. (#6254)
优化
- PickerView: 将
mouseWheel
触发的鼠标滚动方向与实际方向一致。(#6240) - Toast: 支持
rtl
模式。(#6287) - Calendar: 重构
locale
内容从方法为字符串以支持缓存。(#6276) - Design Token: 替换部分颜色为 css 变量。(#6320)
修复
- TextArea: 修复
autoSize
与rows
同时配置时,rows
可以超出范围的问题。(#6256) - Form: 修复 Form.Item
className
重复的问题。(#6278) - PullToRefresh: 修复偶尔下拉失效的问题。(#6296)
- FloatingPanel: 修复出现
Unable to preventDefault inside passive event listener invocation
警告信息。(#6284) - FloatingPanel: 修复部分子组件没有应用
prefixCls
的问题。(#6297) - PickView: 修复部分子组件没有应用
prefixCls
的问题。(#6304) - CenterPopup: 修复部分子组件没有应用
prefixCls
的问题。(#6305) - WaterMark: 修复 css 变量
--adm-water-mark-z-index
不生效的问题。(#6330) - ErrorBlock: 修复
title
与description
不支持0
的问题。(#6309) - Popup: 修复弹出层在某些边界情况下滚动异常的问题。(#6254)
v5.32.0
v5.31.1
v5.31.0
Features
- Ellipsis:
collapseText
&expandText
support ReactNode. (#6134) - NoticeBar: support
onClick
event. (#6140) - Swiper: Add active className for current active item. (#6159)
- Button, Image, Input: support
id
prop. (#6176) - CascaderView: support
loading
prop. (#6190) - Popup: support
closeOnSwipe
prop. (#6203)
Enhancements
- PullToRefresh: Fix shaking when in high resolution screen. (#6153)
- Ellipsis: Fix glint when calculation finished. (#6155)
- List: Enhance
onClick
ts definition. (#6158) - Slider: Optimize performance when
min
&max
in a huge range. (#6204)
Bug Fixes
- Swiper: Fix
onIndexChange
sometime not sync with correct value. (#6144) - Util: Fix ssr warning. (#6177)
特性
- Ellipsis:
collapseText
与expandText
支持 ReactNode。(#6134) - NoticeBar: 支持
onClick
事件。(#6140) - Swiper: 为当前项添加 active className。(#6159)
- List: 优化
onClick
ts 定义。(#6158) - Button, Image, Input: 支持
id
属性。(#6176) - CascaderView: 支持
loading
属性。(#6190) - Popup: 支持
closeOnSwipe
属性以允许配置拖动关闭(现在是默认不开启)。(#6203)
优化
- PullToRefresh: 修复高清分辨率屏下拖动抖动问题。(#6153)
- Ellipsis: 修复在完成省略计算时会出现闪动的问题。(#6155)
- Slider: 优化大范围区间下的渲染性能。(#6204)
修复
v5.30.0
Features
- Dropdown: Support
getContainer
prop. (#6053) - SearchBar: Support
onCompositionStart
andonCompositionEnd
prop. (#6086) - Popup: Support gesture close. (#6056)
Enhancements
- Design Token: Update batch of components design token. (#6108 #6109)
- Picker: Adjust PickerColumnItem
value
type to supportnumber
. (#6089) - Form: Optimize Form.Subscribe do not call useless rerender. (#6113)
- Collapse: Add active className when panel is active. (#6124)
- Swiper: Adjust
onIndexChange
trigger time which is align with motion now. (#6131)
Bug Fixes
- ActionSheet: Fix nest with Popup blink issue. (#6097)
- TextArea: Fix emoji
maxLength
edge case. (#6101) - Steps: Fix dot display over the element which cover the Steps component. (#6095)
- Image: Fix
onLoad
not trigger in Next.js. (#6116) - Upload: Fix list order not follow upload order when upload multiple files at one time. (#6122)
特性
- Dropdown: 添加
getContainer
支持。(#6053) - SearchBar: 添加
onCompositionStart
与onCompositionEnd
支持。(#6086) - Popup: 支持滑动关闭。(#6056)
- Swiper: 调整
onIndexChange
触发时机与动画时机保持一致。(#6131)
优化
- Design Token: 统一文本颜色相关的 Design Token。(#6108 #6109)
- Picker: 优化 PickerColumnItem 的
value
类型支持number
。(#6089) - Form: 优化 Form.Subscribe 如果数值不变化则不再进行额外渲染。(#6113)
- Collapse: 当面板激活时添加激活
className
。(#6124)
修复
v5.29.1
Features
- Locale: Adding Italian, Danish, Norwegian and Dutch locales. (#6085)
Bug Fixes
- Popup: Fix nested Popup position conflict. (#6052)
- TextArea: Fix
rows
prop not working. (#6092) - VirtualInput: Fix VirtualInput can not close by click down arrow. (#6093)
特性
- 国际化: 添加 意大利、丹麦、挪威 和 荷兰 语言支持。(#6085)
优化
修复
v5.29.0
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
- Design Token: Update batch of components design token. (#6012 #6014 #6018 #6022 #6029 #6032 #6034 #6037 #6041 #6043 #6050 #6061 #6062)
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)
优化
- Design Token: 统一文本颜色相关的 Design Token。(#6012 #6014 #6018 #6022 #6029 #6032 #6034 #6037 #6041 #6043 #6050 #6061 #6062)
修复
- Ellipsis: 修复默认展开时,收起后无法展开的问题。(#6082)
v5.28.2
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 callingToast.clear
. (#6060)