Releases: ant-design/ant-design-mobile
Releases · ant-design/ant-design-mobile
v5.33.0
Features
- 🔬 CalendarPicker: New design for component CalendarPicker & CalendarPickerView. Origin Calendar is deprecated. (#6173)
- Selector: Support
fieldNames
mapping. (#6303) - CascaderView: Support
fieldNames
mapping. (#6242) - ActionSheet: Support semantic
styles
for popup node. (#6246) - Locale: Add
tr-TR
locale support. (#6382) - Tabs: support RTL mode. (#6314)
- ImageUploader: Support trigger uploader by
ref
callback. (#6316) - Popover: Popover.Menu support
maxCount
for scroll. (#6373)
Enhancements
- Result: Do not render extra DOM if related prop leaves empty. (#6387)
- ImageViewer: Zoomed image also support switch to other image now. (#5701)
Bug Fixes
- MISC: Bump
@use-gesture/react
deps to resolve draggable issue in Windows. (#6379)
特性
- 🔬 CalendarPicker: 日历组件设计升级新增 CalendarPicker 和 CalendarPickerView 组件。原 Calendar 组件废弃。(#6173)
- Selector: 支持
fieldNames
进行字段映射。(#6303) - CascaderView: 支持
fieldNames
进行字段映射。(#6242) - ActionSheet: 支持语义化
styles
属性用于对弹层样式进行定制。(#6246) - Locale: 添加
tr-TR
本地化支持。(#6382) - Tabs: 支持 RTL 模式。(#6314)
- ImageUploader: 支持通过
ref
手动唤起。(#6316) - Popover: Popover.Menu 支持
maxCount
属性以配置超出滚动。(#6373)
优化
修复
- MISC: 提升
@use-gesture/react
依赖以解决在 Windows 下部分拖拽交互失效的问题。(#6379)
v5.32.4
Enhancements
- Global: Move
--adm-color-background-body
to dark theme only to avoid override customizehtml
style in some case. (#6368)
Bug Fixes
- WaterMark: Fix first mount throw
404
not found error in console. (#6331) - ResultPage: Fix footer Button not align in center. (#6355)
- Modal: Fix Modal confirm can still be click when hide out. (#6358)
优化
- Global: 将
--adm-color-background-body
变量移至暗黑模式,以避免默认主题下对html
的覆盖。(#6368)
修复
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)