v5.36.0
- TextArea: Add
enterKeyHint
andonEnterPress
support. #6598 - Swiper:
autoplay
supportreverse
props. #6589 - i18n: Add
pt-BR
locale support. #6562 - i18n: Add
fr-FR
de-DE
ms-MY
ar-SA
vi-VN
locale support and adjustpt-BR
locale. #6613
- Button: Adjust
onClick
type to remove uselessunknown
return type. #6588 - bundle: Reduce
zh-CN
locale bundle size. #6592
- Input: Fix
enterKeyHint
not show the correct submit button on IOS. #6607
- TextArea: 添加
enterKeyHint
与onEnterPress
属性支持。#6598 - Swiper:
autoplay
支持reverse
属性以逆序播放。#6589 - i18n: 添加
pt-BR
国际化支持。#6562 - i18n: 添加
fr-FR
de-DE
ms-MY
ar-SA
vi-VN
国际化支持,调整pt-BR
国际化。#6613
- Button: 移除
onClick
返回类型中无用的unknown
定义。#6588 - bundle: 降低
zh-CN
国际化的打包尺寸。#6592
- Input: 修复
enterKeyHint
在 IOS 下没有正确展示提交按钮的问题。#6607
v5.35.0
- 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
- Form: Help icon add stopPropagation to prevent native active trigger. #6549
- Refactor: Replace lodash to reduce bundle size. #6581 #6542 #6524 #6526
- 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
v5.34.0
Features
- Swiper: Support horizontal virtual scroll. (#6504)
特性
- Swiper: 支持水平方向虚拟滚动。(#6504)
v5.33.2
Enhancements
- a11y: Improve NumberKeyboard & VirtualInput accessibility experience. (#6494)
- Tabs: 🔬 Add
autoScroll
to disable auto scroll behavior when tab content changed. Note this is experimental prop which maybe rename in future. (#6497)
Bug Fixes
- Dropdown: Fix Dropdown.Item not trigger
onClick
event. (#6481) - MISC: Resolve where measuring elements would cause the browser to print an extra blank page. (#6488)
优化
- a11y: 优化 NumberKeyboard 和 VirtualInput 的无障碍体验。(#6494)
- Tabs: 🔬 添加
autoScroll
以支持标题内容变化时不要滚动的需求。注意这是一个实验性属性,命名未来可能会被改变。(#6497)
修复
- Dropdown: 修复 Dropdown.Item 不触发
onClick
事件的问题。(#6481) - MISC: 解决内部的测量元素会导致浏览器打印功能出现额外的空白页的问题。(#6488)
v5.33.1
Enhancements
- ImageViewer: Add semantic
classNames
formask
andbody
. (#6407) - Popover: Prevent event interactive when animating. (#6416)
- CalendarPicker: support
getContainer
. (#6460)
Bug Fixes
- Switch: Fix the width flick even when
checkedText
&uncheckedText
is the same. (#6421) - VirtualInput: Fix long press the button on the popup panel will make the panel un-closable. (#6477)
- NumberKeyboard: Fix title node always render even when
title
is empty. (#6475) - CascaderView: Fix
onChange
not correct for some special case. (#6444)
优化
- ImageViewer: 更新语义化
classNames
支持,添加mask
与body
。(#6407) - Popover: 在动画过渡时阻止点击交互事件。(#6416)
- CalendarPicker: 支持传递
getContainer
属性。(#6460)
修复
- Switch: 修复在
checkedText
和uncheckedText
相同时,切换状态宽度会抖动的问题。(#6421) - VirtualInput: 修复弹出面板长按后,面板无法关闭的问题。(#6477)
- NumberKeyboard: 修复
title
为空时,title 节点仍然会渲染的问题。(#6475) - CascaderView: 修复在一些特殊情况下
onChange
返回值内容不正确的问题。(#6444)
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)
优化
- Result: 当相关属性为空时,不再渲染无必要的 DOM 节点。(#6387)
- ImageViewer: 缩放中的图片也支持滑动到其他图片了。(#5701)
修复
- 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)
修复
- WaterMark: 修复初始加载时由于水印未生成会在控制台报错
404
的问题。(#6331) - ResultPage: 修复底部按钮没有居中对齐的问题。(#6355)
- Modal: 修复确认按钮在淡出动画时还能点击的问题。(#6358)
v5.32.3
Enhancements
- Global: Move
body
background
reset tohtml
instead to enable developer override. (#6364)
Bug Fixes
- Toast: Fix content align not correct. (#6345)
优化
- Global: 将
body
background
重置样式迁移至html
以允许开发者覆盖。(#6364)
修复
- Toast: 修复内容对齐不正确的问题。(#6345)
v5.32.2
Enhancements
- CheckList: Support
number
as value type. (#6335) - DesignToken: Replace part of hardcode color with css variables. (#6340)
Bug Fixes
- Ellipsis: Fix when contains
\n
, ellipsis calculation not work as expect. (#6342)
优化
- CheckList: 类型定义支持
number
的值类型。(#6335) - DesignToken: 将部分写死颜色值替换为 css variables。(#6340)
修复
- Ellipsis: 修复包含
\n
换行符时,省略计算不正确的问题。(#6342)
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)