- 🆕 ConfigProvider now supports
className
andstyle
properties for all components. Thanks to @Yuiai01, @li-jia-nan, @MuxinFeng for their contributions. - 🆕 Badge now supports
classNames
andstyles
properties. #43245 @li-jia-nan - 🆕 ColorPicker now supports new features such as
showText
,destroyTooltipOnHide
,onChangeComplete
,panelRender
andsize
. - 🆕 Alert, Drawer, Modal, Notifaction, Tag, Tabs now support hiding the close button by setting
closeIcon
to null or false. #42828 @kiner-tang - 🆕 Image supports
imageRender
,toolbarRender
attributes to support custom rendering of preview images and toolbars, also supports new props such asonTransform
,minScale
,maxScale
. Image.PreviewGroup supportsitems
attribute to pass in list data, and fixes that the native attributes of the img tag are not passed to preview images The problem. #43075 @linxianxi - 🆕 Modify the layout style of the Image preview, the
preview
attribute supportscloseIcon
, Image.PreviewGroup supports thefallback
attribute, and fixes the problem of loading preview resources in advance. #43167 @linxianxi - 🆕 Changed the layout style, Preview now supports
closeIcon
, PreviewGroup now supportsfallback
, and fixed an issue where preview resources would be loaded at the beginning.#43167 @linxianxi - 🛠 InputNumber was refactored to use rc-input. (#42762)。#42762 @muxin
- 🛠 Resolved Circular dependency issue in vite, rollup, meteor and microbundle. #42750. Thanks to @jrr997, @kiner-tang and @MuxinFeng for their contributions.
- 🐞 Remove default values (empty string) of
className
prop in Anchor, CollapsePanel, and Input.Group. #43481 @thinkasany - 🐞 Fix Upload progress bar missing fade motion. #43471
- 🐞 Added warning for deprecated Token
colorItemBgSelected
in Menu.#43461 @MadCcc - 🐞 Fixed an issue where some browsers had scroll bars that were not redrawn when style feature support was detected.#43358 @LeeeeeeM
- 🐞 Fixed an issue where the Tab component of Card would not be displayed at all when tabList is empty.#43416 @linxianxi
- 🐞 Fixed an issue where the `form.validateMessages`` configuration would be lost when using ConfigProvider nestedly.#43239 @Wxh16144
- 🐞 Fixed an issue where the ripple effect of Tag click would sometimes be offset from the Tag element.#43402
- 🐞 Fixed an issue where clicking "now" in DatePicker when switching to the year-month panel would not work.#43367 @Yuiai01
- 🐞 Fixed an issue where the height set for the TextArea component would become invalid when the screen size changed.#43169 @MadCcc
- 💄 In Slider, the
tooltip
should be centered when there is little content. #43430 @Jomorx - 💄 Added
colorLink
to the seed token, andcolorLinkHover
andcolorLinkActive
will be calculated from colorLink.#43183 @MadCcc - 💄 Adjusted some tokens in Slider to component tokens. #42428 @heiyu4585 RTL#42428 @heiyu4585
- RTL
- TypeScript
- 🤖 Added
RawPurePanelProps
interface description for Popover.#43453 @thinkasany - 🤖 Replaced
ref
type withTooltipRef
instead ofunknown
forPopconfirm
.#43452 @thinkasany - 🤖 Replaced
ref
type withTooltipRef
instead ofunknown
for Popover.#43450 @Negentropy247 - 🤖 Improved type declaration of
GroupSizeContext
in ButtonGroup.#43439 @thinkasany - 🤖 Improved type declaration of
mode
property in Select.#43413 @thinkasany - 🤖 Replaced
ref
type withCheckboxRef
instead ofunknown
for Checkbox.#43424 @li-jia-nan - 🤖 Improved internal type implementation for Table/Tag/Notification.
- 🤖 Added
- 🆕 ConfigProvider 支持所有组件的
className
和style
属性控制。感谢 @Yuiai01、@li-jia-nan 和 @MuxinFeng 的贡献。 - 🆕 Badge 支持
classNames
属性和styles
属性。#43245 @li-jia-nan - 🆕 ColorPicker 支持
showText
、destroyTooltipOnHide
、onChangeComplete
、panelRender
、size
等新特性。 - 🆕 Alert、Drawer、Modal、Notifaction、Tag、Tabs 均已支持通过设置
closeIcon
为 null 或 false 隐藏关闭按钮。 #42828 @kiner-tang - 🆕 Anchor 添加
replace
属性。#43006 @ds1371dani - 🆕 Image 支持
imageRender
、toolbarRender
属性以支持预览图和工具栏的自定义渲染,还支持了onTransform
、minScale
、maxScale
等新属性,Image.PreviewGroup 支持items
属性传入列表数据,并修复了 img 标签的原生属性没有传递给预览图的问题。#43075 @linxianxi - 🆕 修改 Image 预览图的布局风格,
preview
属性支持closeIcon
,Image.PreviewGroup 支持fallback
属性,修复加载预览资源提前加载的问题。#43167 @linxianxi - 🛠 InputNumber 使用 rc-input 进行重构。#42762 @muxin
- 🛠 解决 vite、rollup、meteor、microbundle 等构建工具中遇到的循环依赖问题,并增加相关的检测。#42750,感谢 @jrr997、@kiner-tang 和 @MuxinFeng 的贡献。
- 🐞 移除 Anchor/CollapsePanel/Input.Group 组件中
className
属性的默认值(空字符串)。 #43481 @thinkasany - 🐞 修复 Upload 上传进度条延迟消失且丢失动画效果的问题。#43471
- 🐞 为 Menu 中组件 Token
colorItemBgSelected
添加废弃警告。#43461 @MadCcc - 🐞 修复样式特性支持检测时部分浏览器因为未重绘导致出现滚动条的问题。#43358 @LeeeeeeM
- 🐞 修复 Card
tabList
为空时 Tab 完全不展示的问题。#43416 @linxianxi - 🐞 修复 ConfigProvider 嵌套使用时,
form.validateMessages
配置会丢失的问题。#43239 @Wxh16144 - 🐞 修复 Tag 点击的水波纹效果有时候会和 Tag 元素产生偏移的问题。#43402
- 🐞 修复 DatePicker 切换到年月面板时,
此刻
点击无效的问题。#43367 @Yuiai01 - 🐞 修复 TextArea 组件在屏幕大小变化时设置的高度失效的问题。#43169 @MadCcc
- 💄 Slider 中
tooltip
在内容很少时应该居中。#43430 @Jomorx - 💄 将
colorLink
添加至 seed token 中,colorLinkHover
和colorLinkActive
将会由colorLink
计算得出。#43183 @MadCcc - 💄 调整 Slider 中部分 token 为 component token。#42428 @heiyu4585
- RTL
- TypeScript
- 🤖 Popover 增加
RawPurePanelProps
接口描述。#43453 @thinkasany - 🤖 Popconfirm 替换
ref
类型unknown
为TooltipRef
。#43452 @thinkasany - 🤖 Popover 替换
ref
类型unknown
为TooltipRef
。#43450 @Negentropy247 - 🤖 改进 ButtonGroup 中
GroupSizeContext
的类型声明。#43439 @thinkasany - 🤖 改进 Select 的
mode
属性的类型声明。#43413 @thinkasany - 🤖 Checkbox 替换
ref
类型unknown
为CheckboxRef
。#43424 @li-jia-nan - 🤖 改进 Table/Tag/Notification 内部类型实现。
- 🤖 Popover 增加