Releases
4.5.0
🆕 Input and Input.TextArea support bordered
prop. #25617
🆕 Add useMessage
hook for Message to support context
access. #25422
🆕 Tree support titleRender
to customize all nodes' content. #25624
🆕 Descriptions add extra
prop. #25512 @zzz111
🆕 Add Modal.config
to set rootPrefixCls
for Modal statis methods. #25613
🆕 Drawer support push
prop for multi-Drawer linkage. #25445 @jinxin0112
🆕 Add Badge.Ribbon component. #25456
🆕 Steps support percent
prop to show step icon progress. #25839
💄 Menu.Item's blue indicator line and dropdown width are the same as its content's width in horizontal
mode. #25622
Avatar
🆕 Add Avatar.Group for showing a set of avatars. #25192
🐞 Fix Avatar not fallback correctly when src
is invalid. #25806
DatePicker
🆕 DatePicker support date-fns . #25822 @fireairforce
🆕 Improve DatePicker hovering experience, the placeholder will change to format value of target-date when hovering a date cell. (#25050 ). #25784 @Kermit-Xuan
🆕 RangePicker onCalendarChange
add range
param to indicate currently activated pane. #25568 @Kim-Wing-Fung
🆕 DatePicker support panelRender
to customize panel. #25488
🐞 Fix QuarterPicker not working, remove DatePicker.XxxPicker and recommend picker='xxx'
usage instead. #25768
Form
🆕 Form.List support array in remove
method. #25638 @fireairforce
🆕 Form.Item supports dependencies
to control updating logic with render props children
. #25408
🆕 Adjust Form.Item validateFist to validate in order. Origin logic use parallel to validate. #25321
🐞 Fix Form.Item sometime not clean up prev error message. #25737
🐞 Fix Form.Item not collect validateStatus
when children Form.Item with noStyle
has an error. #25734
🐞 Fix Form.Item setting labelCol={{ offset: number }}
doesn't work if layout is vertical. #25713 @zhangchen915
⌨️ Form add role="alert"
attribute on validation message node to import accessibility. #25735 @AlbertAZ1992
Calendar
🐞 Fix Table indeterminate
returned by getCheckboxProps
not working. #25649
🐞 Fix Select clear icon position in Form.Item. #25728
🐞 Fix Pagination mouse style of the page turning button. #25772
🐞 Fix TreeSelect treeNodeLabelProp
affect tree node render result. #25755
🐞 Fix Carousel findDOMNode
warning in strict mode. #25744
🐞 Fix Radio causing SSR build errors with webpack@4.44.0
. 25821 @Kermit-Xuan
🐞 Fix Tabs focus & active state color when disabled. 25827 hsuanxyz
💄 Card action pane color is unified with body color. #25722
⌨️ Improve Alert/message/notification accessibility by adding role attribute. #25774
🇭🇰 Add zh_HK localization. #25731 @wuchu
🇩🇪 Improve de_DE localization. #25823 @LukeTimeWalker
🆕 Input 和 Input.TextArea 支持 bordered
属性。#25617
🆕 Message 新增 useMessage
hook,以支持 context
访问。#25422
🆕 Tree 添加 titleRender
以支持定制所有节点内容。#25624
🆕 Descriptions 新增 extra
属性。#25512 @zzz111
🆕 新增 Modal.config
用于全局配置 Modal 静态方法的 rootPrefixCls
。#25613
🆕 Drawer 增加 push
属性用于自定义多层级 Drawer 之间的联动。#25445 @jinxin0112
🆕 新增 Badge.Ribbon 缎带组件。#25456
🆕 Steps 新增 percent
属性来展示步骤图标的进度。#25839
💄 Menu.Item 水平模式的蓝色指示线和下拉菜单宽度现在和其文字内容宽度一致。 #25622
Avatar
🆕 新增 Avatar.Group 用于展现一组头像集合。#25192
🐞 修复 Avatar src
图片地址失效时没有正确 fallback 的问题。#25806
DatePicker
Form
🆕 Form.List 中的 remove
方法支持数组类型。#25638 @fireairforce
🆕 Form.Item 在 children
形为 render props
时支持使用 dependencies
控制更新逻辑。#25408
🆕 调整 Form.Item validateFirst
属性为依次执行校验,原并行逻辑改由配置 parallel
开启。#25321
🐞 修复 Form.Item 有时候没有清理之前的错误信息的问题。#25737
🐞 修复 Form.Item 在子 Form.Item 设置 noStyle
并校验失败时没有更新 validateStatus
的问题。#25734
🐞 修复 Form 垂直布局时 Form.Item 设置 labelCol={{ offset: number }}
不生效的问题。#25713 @zhangchen915
⌨️ Form 错误信息节点增加属性 role="alert"
以增强可访问性。#25735 @AlbertAZ1992
Calendar
🐞 修复 Table getCheckboxProps
返回的 indeterminate
不生效。#25649
🐞 修复 Select 清除按钮在 Form.Item 下位置不对的问题。#25728
🐞 修复 Pagination 翻页按钮的鼠标样式。#25772
🐞 修复 TreeSelect treeNodeLabelProp
会影响树节点展示内容的问题。#25755
🐞 修复 Carousel 在 React 严格模式下的 findDOMNode
废弃警告。#25744
🐞 修复 Radio 在 webpack@4.44.0
SSR 构建出错的问题。25821 @Kermit-Xuan
🐞 修复 Tabs 禁用时 focus & active 状态的颜色。25827 hsuanxyz
💄 Card 操作面板颜色与主体颜色统一。#25722
⌨️ 提升 Alert/message/notification 组件的可访问性。#25774
🇭🇰 新增 zh_HK 本地化。#25731 @wuchu
🇩🇪 改进 de_DE 本地化。#25823 @LukeTimeWalker
You can’t perform that action at this time.