Compare Versions - antd
- 🔥 Add
@ant-design/cliofficial command-line tool for querying Ant Design component knowledge, analyzing project usage, and guiding migrations offline. #57413 @afc163 - 🐞 Fix Form.List losing sibling field values when using
onValuesChange. #57399 @zombieJ - 🐞 Fix missing
screenXXXLMininuseTokencausing incorrect antd.css to be generated. #57372 @sealye09 - 🐞 Fix ConfigProvider component config typings to expose semantic
classNamesandstylesfor supported components. #57396 @QDyanbing - 🐞 Fix Image
fetchPriorityprop not being passed through to the<img>element. #57392 @aojunhao123 - Menu
- 🐞 Fix Menu SubMenu parent item not applying custom hover color via ConfigProvider. #57374 @EmilyyyLiu
- 🐞 Fix Menu collapsed icons appearing misaligned when customizing
collapsedIconSize. #57360 @QDyanbing
- 🐞 Fix Table controlled popover in column title being rendered twice when scroll is enabled. #57342 @QDyanbing
- 🐞 Fix Transfer
renderprop returning JSX elements causing search to fail. #57133 @WustLCQ - 🐞 Fix Tree custom
switcherIconmissingswitcher-line-iconclassName whenshowLineis enabled. #57303 @QDyanbing - 🐞 Fix Watermark TypeScript errors when
onRemoveis omitted. #57344 @QDyanbing
- 🔥 新增官方命令行工具
@ant-design/cli,支持离线查询 Ant Design 组件知识、分析项目用法及提供迁移指导。#57413 @afc163 - 🐞 修复 Form.List 在使用
onValuesChange时丢失同级字段值的问题。#57399 @zombieJ - 🐞 修复
useToken缺少screenXXXLMin导致生成错误的 antd.css 的问题。#57372 @sealye09 - 🐞 修复 ConfigProvider 组件配置的类型定义,为已支持的组件暴露语义化
classNames和styles。#57396 @QDyanbing - 🐞 修复 Image 组件
fetchPriority属性未正确透传到<img>元素的问题。#57392 @aojunhao123 - Menu
- 🐞 修复通过 ConfigProvider 自定义 Menu 的
itemHoverColor时,SubMenu 父级菜单项 hover 状态颜色不生效的问题。#57374 @EmilyyyLiu - 🐞 修复 Menu 自定义
collapsedIconSize后折叠图标看起来未居中的问题。#57360 @QDyanbing
- 🐞 修复通过 ConfigProvider 自定义 Menu 的
- 🐞 修复 Table 在开启滚动时列头中受控 Popover 被重复渲染的问题。#57342 @QDyanbing
- 🐞 修复 Transfer
render属性返回 JSX 元素时搜索功能失效的问题。#57133 @WustLCQ - 🐞 修复 Tree 开启
showLine时自定义switcherIcon缺少switcher-line-icon类名导致样式异常的问题。#57303 @QDyanbing - 🐞 修复 Watermark 在未传入
onRemove时的 TypeScript 报错。#57344 @QDyanbing
- Image
- ⌨️ ♿ Improve App link
:focus-visibleoutline to enhance keyboard accessibility. #57266 @ug-hero - 🐞 Fix Form required mark using hardcoded
SimSunfont. #57273 @mavericusdev - 🐞 Fix Grid media size mapping issue for
xxxlbreakpoint. #57246 @guoyunhe - 🐞 Fix Tree scrolling to top when clicking node. #57242 @aojunhao123
- Image
- ⌨️ ♿ 优化 App 链接的
:focus-visible外框样式,提升键盘可访问性。#57266 @ug-hero - 🐞 修复 Form 必填标记文案中硬编码
SimSun字体的问题。#57273 @mavericusdev - 🐞 修复 Grid
xxxl断点在媒体尺寸映射中的错误。#57246 @guoyunhe - 🐞 修复 Tree 点击节点时页面回滚到顶部的问题。#57242 @aojunhao123
- 🐞 Fix Form.Item validation failure caused by a timing issue when using dynamic
rulesanddependenciestogether. #57147 @zombieJ - 🐞 Fix InputNumber height in
borderlessvariant when using with Input or Select. #57162 @QDyanbing - 🐞 Fix Radio.Group radio button width when options text has different length or breaks. #57171 @QDyanbing
- 🐞 Fix Skeleton.Avatar, Skeleton.Button, Skeleton.Input, Rate and Spin cannot take effect when
componentSizeis set globally. #57093 #57106 @QDyanbing - 🐞 Fix Splitter may calculate wrong
sizeif some panel in controlled mode. #57142 @js0753 - 🐞 Fix Tree and TreeSelect line alignment problem when customizing
titleHeightproperty. #56785 @QDyanbing - 💄 Fix Checkbox.Group checkbox width when options text has different length or breaks. #57144 @QDyanbing
- 💄 Fix ConfigProvider
cspnot taking effect on all the dynamic style. #57159 @zombieJ - Select
- 💄 Fix Select text jumping problem in Firefox browser. #57030 @pierreeurope
- 💄 Fix Select cannot set
visibility: hiddenviastyleproperty. #56720 @claytonlin1110
- Upload
- 💄 Fix Upload has invalid blank area in
picture-cardmode with empty data. #57157 @QDyanbing - ⌨️ Improve Upload to always show item action area on non-hover or coarse-pointer devices. #57156 @Arktomson
- 💄 Fix Upload has invalid blank area in
- 🌐 Add
es_USlocale preset. #57137 @yuriidumych-max - 🛠 Unify
sizeenumeration, replacedefaultwithmediumfor Badge, Card, Progress, Steps, Switch and Spin, replacemiddleanddefaultwithmediumandlargefor Descriptions, replacemiddlewithmediumfor Table and Divider. #57127 #57106 @QDyanbing - 🛠 Unify
sizeclassName for all components DOM. #57106 @QDyanbing - TypeScript
- 🤖 Add Upload.Dragger generic type definition support. #57103 @fnoopv
- 🤖 Fix Modal
KeyboardEventtype definition for the arguments ofonCancelevent handler. #57048 @eureka928
- 🐞 修复 Form.Item 使用动态
rules与dependencies配合使用时,时序问题导致的校验失败的问题。#57147 @zombieJ - 🐞 修复 InputNumber 在
borderless形态下与 Input 或 Select 并排时高度异常的问题。#57162 @QDyanbing - 🐞 修复 Radio.Group 在选项文案长短不一或换行时,勾选框宽度不一致的问题。#57171 @QDyanbing
- 🐞 修复 Skeleton.Avatar,Skeleton.Button,Skeleton.Input,Rate 及 Spin 无法响应全局
componentSize设置的问题。#57093 #57106 @QDyanbing - 🐞 修复 Splitter 存在
size受控面板时其他面板尺寸可能计算错误的问题。#57142 @js0753 - 🐞 修复 Tree 及 TreeSelect 在自定义
titleHeight时会连线错位的问题。#56785 @QDyanbing - 💄 修复 Checkbox.Group 在选项文案长短不一或换行时,勾选框宽度不一致的问题。#57144 @QDyanbing
- 💄 修复 ConfigProvider 的
csp配置没有对所有的动态 style 生效的问题。#57159 @zombieJ - Select
- 💄 修复 Select 在 Firefox 浏览器下可能出现文字跳动的问题。#57030 @pierreeurope
- 💄 修复 Select 无法通过
style设置visibility: hidden的问题。#56720 @claytonlin1110
- Upload
- 💄 修复 Upload 在
picture-card模式下无数据时仍然存在无效空白区域的问题。#57157 @QDyanbing - ⌨️ 优化 Upload 在不支持悬停或粗指针的设备上默认显示列表操作按钮。#57156 @Arktomson
- 💄 修复 Upload 在
- 🌐 新增
es_US国际化配置。#57137 @yuriidumych-max - 🛠 统一
size枚举值定义,针对 Badge、Card、Progress、Steps、Switch 及 Spin 使用medium替代default,针对 Descriptions 使用medium和large替代middle和default,针对 Table 和 Divider 使用medium替代middle。#57127 #57106 @QDyanbing - 🛠 统一
sizeclassName 在所有组件元素上的设置值。#57106 @QDyanbing - TypeScript
- 🤖 新增 Upload.Dragger 的泛型支持。#57103 @fnoopv
- 🤖 修复 Modal
onCancel入参不支持KeyboardEvent类型的问题。#57048 @eureka928
- Select
- 🐞 Fix Select incorrect dropdown height when
valueis an empty string. #56976 @zombieJ - 🐞 Fix Select value echo issue when
valueis an empty string. #56966 @luozz1994 - 🐞 Fix Select & TreeSelect selected value text still visible when searching. #56946
- 🐞 Fix Select incorrect dropdown height when
- 🐞 Fix TreeSelect Checkbox being compressed when multi-line text is present. #56961 @luozz1994
- 🐞 Fix Typography hovering copy button triggering ellipsis tooltip when both
copyableandellipsisare enabled; fix ellipsis tooltip not appearing after moving back from copy button. #56855 @claytonlin1110 - 🐞 Fix Progress animation overflow when
status="active". #56972 @aibayanyu20 - 🐞 Fix Upload picture-wall mode list overflow and overlap when file count exceeds one row. #56945 @xbsheng
- 🐞 Fix Image flickering in some browsers when opening preview. #56937 @zombieJ
- ⌨️ ♿ Add
prefers-reduced-motionmedia query support for Button, Checkbox, Radio, Switch, Segmented to disable transitions for improved accessibility. #56902 @li-jia-nan - 🐞 Fix Input height inconsistency with Select when using
variant="borderless". #57014 @njlazzar-su - 🐞 Fix Modal
confirmmethod layout whitespace wheniconis empty. #57024 @Arktomson - 🐞 Add
aria-disabledattribute for disabled options in Select component.#57049 @meet-student
- Select
- 🐞 Select 修复
value为空字符串时下拉框高度不正确的问题。#56976 @zombieJ - 🐞 Select 修复
value为空字符串时值回显异常的问题。#56966 @luozz1994 - 🐞 Select & TreeSelect 修复搜索时已选中值文本仍然显示的问题。#56946
- 🐞 Select 修复
- 🐞 TreeSelect 修复多行文本时 Checkbox 被压缩变形的问题。#56961 @luozz1994
- 🐞 Typography 修复同时开启
copyable和ellipsis时,悬停复制按钮会触发省略号 tooltip 的问题;修复从复制按钮移回文字后省略号 tooltip 不再出现的问题。#56855 @claytonlin1110 - 🐞 Progress 修复
status="active"时动画溢出的问题。#56972 @aibayanyu20 - 🐞 Upload 修复照片墙模式下文件数量超过一行时列表溢出重叠的问题。#56945 @xbsheng
- 🐞 Image 修复打开预览时,部分浏览器会出现闪烁的问题。#56937 @zombieJ
- ⌨️ ♿ 为 Button、Checkbox、Radio、Switch、Segmented 等组件添加
prefers-reduced-motion媒体查询支持,禁用过渡动画以改善无障碍体验。#56902 @li-jia-nan - 🐞 Input 修复
variant="borderless"时高度与 Select 不一致的问题。#57014 @njlazzar-su - 🐞 Modal 修复
confirm方法在icon为空时布局出现多余空白的问题。#57024 @Arktomson - 🐞 Select 组件中的禁用选项添加
aria-disabled属性。#57049 @meet-student
- ConfigProvider
- 🆕 Support ConfigProvider global configuration of
maskClosablefor Modal and Drawer. #56739 @luozz1994 - 🆕 Support ConfigProvider
suffixIconglobal configuration for DatePicker and TimePicker. #56709 @guoyunhe - 🆕 Support ConfigProvider
expandIconandloadingIconglobal configuration for Cascader. #56482 @guoyunhe - 🆕 Support ConfigProvider
scrollglobal configuration for Table. #56628 @Clayton - 🆕 Support ConfigProvider
classNameandstyleconfiguration for App, andarrowprop for ColorPicker. #56573 @zombieJ - 🆕 Support ConfigProvider
loadingIconglobal configuration for Button. #56439 @guoyunhe - 🆕 Support ConfigProvider
rangePicker.separatorglobal configuration. #56499 @guoyunhe - 🆕 Support ConfigProvider
tooltipIconandtooltipPropsglobal configuration for Form. #56372 @guoyunhe
- 🆕 Support ConfigProvider global configuration of
- Upload
- 🆕 Add Grid
xxxl(1920px) breakpoint to adapt to FHD screens. #56825 @guoyunhe - 🆕 Support Switch
indicatorcustomization for semantic structure. #56710 @zombieJ - Button
- Select
- 💄 Remove Select redundant
-content-valuediv DOM in single mode to optimize semantic structure, allowing override viaclassNamesandstyles. #56811 @zombieJ - 🐞 Fix Select
notFoundContentnot taking effect. #56756 @QdabuliuQ
- 💄 Remove Select redundant
- Radio
- 🐞 Fix Radio.Group extra right margin for radio items when vertically aligned. #56909 @jany55555
- 💄 Remove Radio
-innerDOM node oficonsub-element for better semantic structure adaptation. #56783 @zombieJ
- 💄 Disable Modal & Drawer mask blur effect by default. #56781 @aojunhao123
- 🐞 Fix Tooltip & Popover popup animation starting position being shifted to the left. #56887 @zombieJ
- 🐞 Fix List color-related tokens not working for deprecated component config. #56913 @zombieJ
- 🛠 Refactor Spin DOM structure to align across different scenarios and support full Semantic Structure. #56852 @zombieJ
- ⌨️ ♿ Add Icon accessibility names to the search icon SVG to improve screen reader support. #56521 @huangkevin-apr
- 🐞 Fix Cascader filter list resetting immediately when closing on selection in search mode, affecting UX. #56764 @zombieJ
- ⌨️ ♿ Improve Tree accessibility support. #56716 @aojunhao123
- 🐞 Support ColorPicker semantic structure for selection block, and fix
rootsemantic being incorrectly applied to popup elements. #56607 @zombieJ - 💄 Change Avatar default value of
sizefromdefaulttomediumfor consistency. #56440 @guoyunhe - 💄 Remove Checkbox
-innerDOM node oficonsub-element for better semantic structure adaptation. #56783 @zombieJ - MISC
- ConfigProvider
- 🆕 ConfigProvider 支持 Modal 和 Drawer 的
maskClosable全局配置。#56739 @luozz1994 - 🆕 ConfigProvider 支持 DatePicker 和 TimePicker 的
suffixIcon全局配置。#56709 @guoyunhe - 🆕 ConfigProvider 支持 Cascader 的
expandIcon和loadingIcon全局配置。#56482 @guoyunhe - 🆕 ConfigProvider 支持 Table 的
scroll全局配置。#56628 @Clayton - 🆕 ConfigProvider 支持配置 App 的
className与style,以及 ColorPicker 的arrow属性。#56573 @zombieJ - 🆕 ConfigProvider 支持 Button 的
loadingIcon全局配置。#56439 @guoyunhe - 🆕 ConfigProvider 支持
rangePicker.separator全局配置。#56499 @guoyunhe - 🆕 ConfigProvider 支持 Form 的
tooltipIcon和tooltipProps全局配置。#56372 @guoyunhe
- 🆕 ConfigProvider 支持 Modal 和 Drawer 的
- Upload
- 🆕 Grid 新增
xxxl(1920px)断点以适应 FHD 屏幕。#56825 @guoyunhe - 🆕 Switch 语义化结构支持
indicator定制。#56710 @zombieJ - Button
- Select
- 💄 Select 移除单选模式下额外的
-content-valuediv DOM,优化语义化结构并支持通过classNames与styles覆盖。#56811 @zombieJ - 🐞 Select 修复
notFoundContent不生效的问题。#56756 @QdabuliuQ
- 💄 Select 移除单选模式下额外的
- Radio
- 🐞 Radio.Group 修复垂直排列时单选项出现多余右边距的问题。#56909 @jany55555
- 💄 Radio 移除
icon子元素-innerDOM 节点以更好适配语义化结构。#56783 @zombieJ
- 💄 Modal & Drawer 默认关闭蒙层 blur 效果。#56781 @aojunhao123
- 🐞 Tooltip & Popover 修复弹出层动画起始位置偏左的问题。#56887 @zombieJ
- 🐞 List 修复废弃组件配置的颜色相关 token 不生效的问题。#56913 @zombieJ
- 🛠 Spin 重构 DOM 结构以对齐不同场景,并支持全量语义化结构(Semantic Structure)。#56852 @zombieJ
- ⌨️ ♿ Icon 为搜索图标 SVG 添加无障碍名称,改善屏幕阅读器支持。#56521 @huangkevin-apr
- 🐞 Cascader 修复搜索模式下选择选项并关闭时,过滤列表立即还原影响体验的问题。#56764 @zombieJ
- ⌨️ ♿ Tree 优化无障碍支持。#56716 @aojunhao123
- 🐞 ColorPicker 选择块支持语义化结构,并修复
root语义化错误应用到弹出元素的问题。#56607 @zombieJ - 💄 Avatar 将
size默认值从default改为medium以保持一致性。#56440 @guoyunhe - 💄 Checkbox 移除
icon子元素-innerDOM 节点以更好适配语义化结构。#56783 @zombieJ - MISC
- Button
- 🐞 Fix Input.TextArea ref missing
nativeElementproperty. #56803 @smith3816 - 🐞 Fix Flex default
alignnot taking effect when usingorientation. #55950 @YingtaoMo - 🐞 Fix Typography link selector specificity being too low causing styles to be overridden. #56759 @QDyanbing
- 🐞 Fix ColorPicker HEX input allowing invalid characters. #56752 @treephesians
- Button
- 🐞 修复 Input.TextArea ref 缺少
nativeElement属性的问题。#56803 @smith3816 - 🐞 修复 Flex 使用
orientation时默认align不生效的问题。#55950 @YingtaoMo - 🐞 修复 Typography 链接选择器特异性过低导致样式被覆盖的问题。#56759 @QDyanbing
- 🐞 修复 ColorPicker HEX 输入框可以输入无效字符的问题。#56752 @treephesians
- 🐞 Fix Button with href wrapped by Typography showing incorrect color and flickering outline on hover. #56619 @QdabuliuQ
- 🐞 Fix component token not taking effect for Button with
type="text". #56291 @QDyanbing - 🐞 Fix where components within the Popover were affected by the state association with Form.Item. #56728
- 🐞 Fix the placeholders displayed incorrectly when selecting multiple items in Select. #56675
- 💄 Fix misaligned elements in Pagination when the global
fontSizeis increased. #56715 @QDyanbing - 💄 Fix incorrect Drawer dragger position in RTL mode. #56693 @QdabuliuQ
- 🐞 修复被 Typography 包裹的带 href 的 Button 显示错误颜色和 hover 时 outline 闪烁的问题。#56619 @QdabuliuQ
- 🐞 修复 Button
type="text"时组件 Token 不生效的问题。#56291 @QDyanbing - 🐞 修复 Popover 内组件被 Form.Item 状态关联影响的问题。#56728
- 🐞 修复 Select 多选时占位符显示异常的问题。#56675
- 💄 修复 Pagination 全局
fontSize变大时各元素上下错位的问题。#56715 @QDyanbing - 💄 修复 Drawer 在 rtl 模式下 dragger 位置错误的样式问题。#56693 @QdabuliuQ
- 🐞 Fix Button child element's
classNamebe cleared if it contains two Chinese characters. #56593 @QdabuliuQ - 🐞 Fix DatePicker DOM not updated bug after update
suffixIconasnull. #56637 @AlanQtten - 🐞 Fix Table content area border radius when set border radius for container. #56478 @QDyanbing
- 💄 Fix Card unexpected border radius for Body area. #56653 @ug-hero
- 💄 MISC: Fix unexpected
undefinedandnullin the injected styles. #56636 @li-jia-nan - 💄 MISC: Improve
backgroundtransition tobackground-colorfor all components. #56598 @li-jia-nan - 🛠 Improve Grid use
genCssVarmethod to generate more stable CSS variable names. #56635 @li-jia-nan - 🛠 Improve @ant-design/icons usage to avoid depend on full package since externals. #56639 @ShenHongFei
- 🐞 修复 Button 子元素为包含两个中文字符的标签时,原有
className被清空的问题。#56593 @QdabuliuQ - 🐞 修复 DatePicker 在设置
suffixIcon为null后不会更新 DOM 的问题。#56637 @AlanQtten - 🐞 修复 Table 容器设置圆角时,内部内容区域圆角不一致的问题。#56478 @QDyanbing
- 💄 修复 Card Body 区域有非预期圆角值的问题。#56653 @ug-hero
- 💄 杂项:修复
undefined和null值被注入到 CSS 的问题。#56636 @li-jia-nan - 💄 杂项:优化所有组件中的
background过渡为background-color。#56598 @li-jia-nan - 🛠 优化 Grid 使用
genCssVar方法以生成更加稳定的 CSS 变量名。#56635 @li-jia-nan - 🛠 优化 @ant-design/icons 引入方式为独立图标引入,避免被 externals 增加前置依赖。#56639 @ShenHongFei
- 🛠 Button, Masonry, Mentions, Select, Space, Splitter, Steps and other components batch use
genCssVarmethod to generate more stable CSS variable names. #56562 #56559 #56557 #56555 #56550 #56547 #56546 #56529 @li-jia-nan - 🆕 QRCode adds
marginSizeproperty for displaying QR code margin area. #56569 @afc163 - 🆕 Tour adds
keyboardproperty to configure keyboard operations. #56581 @cactuser-Lu - Tooltip
- 🆕 Tooltip adds
maxWidthdesign token. #56540 @guoyunhe - 🆕 Tooltip/Popover/Popconfirm can be closed with ESC by default. #56492 @aojunhao123
- 🆕 Tooltip adds
- 🛠 Steps remove useless styles. #56565 @li-jia-nan
- 🆕 Form supports
teltype validation. #56533 @guoyunhe - 🐞 Fix Badge
refnot working when usingtextproperty. #56532 @zombieJ - 🆕 Calendar and DatePicker
localeconfiguration now supports partial content filling. #56376 @QDyanbing - 🐞 Fix ConfigProvider
theme.cssVarconfiguration not working for icons. #56504 @seanparmelee - 🐞 Fix Collapse
itemssemantic properties not working. #56517 @zombieJ - Modal
- ConfigProvider
- 🆕 ConfigProvider supports
paginationconfiguration fortotalBoundaryandshowSizeChangerproperties. #56475 @chiaweilee - 🆕 ConfigProvider supports configuring Alert global icons. #56241 @guoyunhe
- 🆕 ConfigProvider supports
- Drawer
- 🐞 Fix Image nested in Modal cannot be closed sequentially with Esc. #56386 @aojunhao123
- 🆕 Pagination supports
sizeproperty. #56009 @guoyunhe - 🆕 Breadcrumb supports
dropdownIconcustomization. #56250 @guoyunhe - 🆕 Checkbox.Group supports
roleconfiguration. #56126 @Pareder - 💄 Mentions fix invalid style
padding: undefinedin different sizes. #56564 @li-jia-nan - 🐞 Fix Select clear button alignment issue when
size="small". #56525 @QDyanbing
- 🛠 Button、Masonry、Mentions、Select、Space、Splitter、Steps 等组件批量使用
genCssVar方法以生成更加稳定的 css 变量名。#56562 #56559 #56557 #56555 #56550 #56547 #56546 #56529 @li-jia-nan - 🆕 QRCode 新增
marginSize属性用于展示二维码留白区。#56569 @afc163 - 🆕 Tour 新增
keyboard属性以配置键盘操作。#56581 @cactuser-Lu - Tooltip
- 🆕 Tooltip 增加
maxWidthdesign token。#56540 @guoyunhe - 🆕 Tooltip/Popover/Popconfirm 默认情况下可以通过 ESC 关闭。#56492 @aojunhao123
- 🆕 Tooltip 增加
- 🛠 Steps 移除无用的样式。#56565 @li-jia-nan
- 🆕 Form 支持
tel类型校验。#56533 @guoyunhe - 🐞 修复 Badge 在使用
text属性时,ref无效的问题。#56532 @zombieJ - 🆕 Calendar 和 DatePicker 的
locale配置现在支持只填充部分内容。#56376 @QDyanbing - 🐞 修复 ConfigProvider 配置
theme.cssVar对图标无效的问题。#56504 @seanparmelee - 🐞 修复 Collapse
items语义化属性无效的问题。#56517 @zombieJ - Modal
- ConfigProvider
- 🆕 ConfigProvider 支持
pagination配置totalBoundary与showSizeChanger属性。#56475 @chiaweilee - 🆕 ConfigProvider 支持配置 Alert 全局图标。#56241 @guoyunhe
- 🆕 ConfigProvider 支持
- Drawer
- 🐞 修复 Image 嵌套在 Modal 内时,Esc无法顺序关闭。#56386 @aojunhao123
- 🆕 Pagination 支持
size属性。#56009 @guoyunhe - 🆕 Breadcrumb 支持
dropdownIcon自定义。#56250 @guoyunhe - 🆕 Checkbox.Group 支持
role配置。#56126 @Pareder - 💄 Mentions 修复不同尺寸下
padding: undefined的无效样式。#56564 @li-jia-nan - 🐞 修复 Select 在
size="small"时,清除按钮位置对齐问题。#56525 @QDyanbing
- 🐞 Fix Select with multiple
aria-attributes in DOM. #56451 @zombieJ - 🐞 Fix Table where hidden measure headers could mount interactive filter dropdowns and trigger unexpected close events when
scroll.yis enabled. #56425 @QDyanbing
- 🐞 修复 Select 配置
aria-属性时,会同时给多个 DOM 添加的问题。#56451 @zombieJ - 🐞 修复 Table 配置
scroll.y属性时,隐藏的测量表头挂载筛选下拉组件并参与事件判断,导致筛选下拉意外关闭的问题。 #56425 @QDyanbing
- 🐞 Button fix missing wave effect and the issue where the component could not show Dropdown on hover immediately after clicking. #56273 @zombieJ
- 🐞 Fix Form.List with
useWatchcausing double rendering on item removal, with the first render showing an incorrect intermediate state. #56319 @QDyanbing - 💄 Breadcrumb fix style issue when using a custom
itemRender. #56253 @guoyunhe - Transfer
- 💄 Remove Transfer className for the selected state when the component is
disabled. #56316 @zenggpzqbx - 🐞 Transfer prioritize using the
disabledproperty of the component. #56280 #56093 @zenggpzqbx
- 💄 Remove Transfer className for the selected state when the component is
- Select
- 🐞 Fix Select missing semantic DOM names. #56322 @seanparmelee
- 🐞 Fix Select wrong hover cursor style when in search mode. #56130 @fpsqdb
- 🐞 Fix Select cursor style when disabled with
showSearchenabled. #56340 @QDyanbing
- 💄 Card fix style issue where an unexpected border radius is displayed when using
Card.Gridwithout a header. #56214 @DDDDD12138 - 💄 Tag deepen default background to improve borderless contrast. #56326 @QDyanbing
- ⌨ Segmented fix duplicate
roleand unnecessaryaria-attributes on items. #56278 @aojunhao123
- 🐞 修复 Wave 组件水波纹消失的问题,以及 Button 组件在配置 Dropdown 后,点击触发再次
hover时无法立刻显示 Dropdown 的问题。#56273 @zombieJ - 🐞 修复 Form.List 使用
useWatch时,删除项会触发两次渲染,第一次为不正确的中间状态的问题。#56319 @QDyanbing - 💄 修复 Breadcrumb 组件自定义
itemRender时的链接颜色异常的问题。#56253 @guoyunhe - Transfer
- 💄 修复 Transfer 组件在禁用时不存在选择状态样式类的问题。#56316 @zenggpzqbx
- 🐞 优化 Transfer 组件逻辑,确保优先使用
disabled属性。#56280 #56093 @zenggpzqbx
- Select
- 🐞 修复 Select 组件缺少语义化 DOM 名称的问题。#56322 @seanparmelee
- 🐞 修复 Select 组件在搜索状态下鼠标手型样式不对的问题。#56130 @fpsqdb
- 🐞 修复 Select 在同时设置
showSearch和disabled时鼠标样式不为禁用的问题。#56340 @QDyanbing
- 💄 修复 Card 组件在使用 Card.Grid 且未设置头部内容时,边框圆角显示异常的问题。#56214 @DDDDD12138
- 💄 Tag 加深默认背景,提升无边框状态的对比度。#56326 @QDyanbing
- 🐞 修复 Segmented 组件中多余的
role属性和aria属性。#56278 @aojunhao123
- 🐞 Fix DatePicker cannot support webpack 4: Can't resolve '@rc-component/picker/locale/en_US'. #56219 @afc163
- 🐞 Fix ColorPicker inconsistent input heights. #56220 @ug-hero
- 🐞 Fix notification default background color not white when cssVar is disabled. #56169 @wanpan11
- 🐞 Fix Input border missing when focused on Space.Compact with
allowClearprop. #56105 @tuzixiangs - 🐞 Fix vertical Splitter incorrect collapse behavior in RTL mode, RTL flipping is now applied only to horizontal layouts #56179 @QDyanbing
- 🐞 Fix Result not passing through
data-*andaria-*attributes to the root DOM element. #56165 @QDyanbing - 🐞 MISC:
theme.cssVar.prefixandtheme.cssVar.keynow respect empty string value. #56146 @QDyanbing - 💄 Lift Breadcrumb link style priority. #56137 @guoyunhe
- 🐞 Fix ConfigProvider
closable.placementnot working. #55985 @meet-student - 🐞 Fix Form
onValuesChangeparams missing Form.List nested content. #56129 @zombieJ - 🐞 Fix Select
selectorBgtoken not working. #56052 @ug-hero - 🐞 Fix Upload incorrect progress position style. #56194 @QDyanbing
- 🐞 修复 DatePicker 不兼容 webpack 4 的问题:Can't resolve '@rc-component/picker/locale/en_US'。#56219 @afc163
- 🐞 修复 ColorPicker 弹层内输入框高度不一致问题。#56220 @ug-hero
- 🐞 修复 notification 在 cssVar 未启用时默认背景色不为白色的问题。#56169 @wanpan11
- 🐞 修复 Input 在 Space.Compact 下配置
allowClear时聚焦边框丢失的问题。#56105 @tuzixiangs - 🐞 修复 Splitter 在 RTL + 垂直模式下折叠方向错误的问题,RTL 逻辑现在仅在横向布局下生效。#56179 @QDyanbing
- 🐞 修复 Result 未向根节点透传
data-*与aria-*属性的问题。#56165 @QDyanbing - 🐞 MISC: 修复:
theme.cssVar.prefix与theme.cssVar.key不支持传入空字符串的问题。#56146 @QDyanbing - 💄 提升 Breadcrumb 链接样式优先级以避免被全局样式覆盖。#56137 @guoyunhe
- 🐞 修复 ConfigProvider
closable.placement配置失效的问题。#55985 @meet-student - 🐞 修复 Form
onValuesChange对存在嵌套数据的 Form.List 缺失内容的问题。#56129 @zombieJ - 🐞 修复 Select
selectorBgtoken 不生效的问题。#56052 @ug-hero - 🐞 修复 Upload 进度条位置样式错误的问题。#56194 @QDyanbing
- 🆕 ConfigProvider supports configuring the
triggerproperty for Tooltip, Popover, and Popconfirm. #55932 @aojunhao123 - 🆕 Alert add semantic close button element. #55815 @coding-ice
- Drawer
- 🆕 Drawer add semantic close button element. #55816 @coding-ice
- 🆕 Drawer add boolean type setting for
resizable. #55861 @cactuser-Lu
- Select
- 🐞 Fix Table
cellFontSizeSMandcellFontSizeLGtokens not working. #55770 @guoyunhe - 🐞 Fix Button tokens (primaryColor, dangerColor, defaultHoverBg, defaultActiveBg) not working with specific variants (solid, outlined, dashed). #55934 @tuzixiangs
- 💄 Fix Menu item styles not taking effect. #56041 @Wxh16144
- 🛠 MISC:
@ant-design/react-slickremoveclassnames. #56080 @yoyo837 - 🛠 MISC: Migrate
rc-overflowto@rc-component/overflow,rc-virtual-listto@rc-component/virtual-listin order to removerc-util. #56074 @yoyo837 - TypeScript
- 🆕 ConfigProvider 新增支持配置 Tooltip、Popover 和 Popconfirm 的
trigger属性。#55932 @aojunhao123 - 🆕 Alert 新增语义化关闭按钮元素。#55815 @coding-ice
- Drawer
- 🆕 Drawer 新增语义化关闭按钮元素。#55816 @coding-ice
- 🆕 Drawer 新增
resizable的布尔类型设置。#55861 @cactuser-Lu
- Select
- 🐞 修复 Table
cellFontSizeSM和cellFontSizeLGtoken 不生效的问题。#55770 @guoyunhe - 🐞 修复 Button 部分 Token(primaryColor, dangerColor, defaultHoverBg, defaultActiveBg)在特定变体(solid, outlined, dashed)下不生效的问题。#55934 @tuzixiangs
- 💄 修复 Menu 组件 item 中定义的 style 不生效错误。#56041 @Wxh16144
- 🛠 杂项:更新
@ant-design/react-slick版本以删除classnames。#56080 @yoyo837 - 🛠 杂项:迁移
rc-overflow到@rc-component/overflow、rc-virtual-list到@rc-component/virtual-list以删除rc-util。#56074 @yoyo837 - TypeScript
- Flex
- 🐞 Fix Flex cannot pass
0forflexproperty. #55829 @li-jia-nan - 🐞 Fix Flex cannot pass
0forgapproperty. #55803 @li-jia-nan
- 🐞 Fix Flex cannot pass
- Input
- 🐞 Fix Input
colorTexttoken does not work withfilledvariant without affix. #56019 @ug-hero - 🐞 Fix Input.OTP empty slots can be skipped when typing. #56001 @aojunhao123
- 🐞 Fix Input
- 🐞 Fix Anchor scroll problem when click same link rapidly. #55814 @tuzixiangs @tuzixiangs
- 🐞 Fix Button hover text color in
solidvariant. #55825 @andriib-ship-it - 🐞 Fix Cascader page scroll to top on first open with defaultValue. #55890 @tuzixiangs
- 🐞 Fix DatePicker
borderRadiusSMandborderRadiusLGtoken not working bug. #56018 @ug-hero - 🐞 Fix InputNumber text clipping bug with ColorPicker. #55966 @DDDDD12138
- 🐞 Fix Select text color for search input in dark mode. #55914 @divyeshagrawal
- 🐞 Fix Splitter failing to fill its container when the sum of panel proportions is not 1. #56025 @zombieJ
- 🐞 Fix Wave memory leak risk since RAF not clean up. #55962 @Copilot
- 🐞 Fix Modal/Image/Drawer that the
colorBgMasktoken does not take effect. #56031 @ug-hero - 💄 Fix ConfigProvider default not config
theme.hashedistruewhich will cause style conflict with multiple versions. #55880 @zombieJ - 💄 Fix Layout.Sider styles lost when zeroRuntime enabled. #55864 @wanpan11
- 🛠 MISC: Fix that could not build with pnpm
hoist: false. #55938 @afc163 - TypeScript
- 🤖 Fix ConfigProvider type missing for Table
classNameandstylesconfig. #55984 @meet-student - 🤖 Fix DatePicker props type definition. #55826 @divyeshagrawal
- 🤖 Fix ConfigProvider type missing for Table
- Flex
- 🐞 修复 Flex 的
flex属性不能设置为0的问题。#55829 @li-jia-nan - 🐞 修复 Flex 的
gap属性不能设置为0的问题。#55803 @li-jia-nan
- 🐞 修复 Flex 的
- Input
- 🐞 修复 Input
colorTexttoken 在无前后缀的filled变体下不工作的问题。#56019 @ug-hero - 🐞 修复 Input.OTP 在输入时可跳过空位的问题。#56001 @aojunhao123
- 🐞 修复 Input
- 🐞 修复 Anchor 快速点击同一链接时的滚动问题。#55814 @tuzixiangs @tuzixiangs
- 🐞 修复 Button 在
solid变体下悬浮态的文字颜色。#55825 @andriib-ship-it - 🐞 修复 Cascader 使用 defaultValue 时首次打开会滚动到页面顶部的问题。#55890 @tuzixiangs
- 🐞 修复 DatePicker
borderRadiusSM和borderRadiusLGtoken 未生效问题。#56018 @ug-hero - 🐞 修复 InputNumber 在 ColorPicker 中使用时文字被裁切的问题。#55966 @DDDDD12138
- 🐞 修复 Select 在深色模式下的搜索框文本颜色。#55914 @divyeshagrawal
- 🐞 修复 Splitter 在 Panel 总占比不为 1 时出现占不满的情况。 #56025 @zombieJ
- 🐞 修复 Wave 可能由于 RAF 未清理引发内存泄露的风险。#55962 @Copilot
- 🐞 修复 Modal/Image/Drawer 组件
colorBgMasktoken 不生效的问题。#56031 @ug-hero - 💄 修复 ConfigProvider 默认没有配置
theme.hashed为true,从而会导致多版本混用样式冲突的问题。#55880 @zombieJ - 💄 修复 Layout.Sider 在 zeroRuntime 开启时样式缺失的问题。#55864 @wanpan11
- 🛠 杂项:修复版本无法在 pnpm
hoist: false下通过 vite 编译。#55938 @afc163 - TypeScript
- 🤖 修复 ConfigProvider 的 Table
classNames及styles配置类型缺失的问题。#55984 @meet-student - 🤖 修复 DatePicker 多个属性的类型定义。#55826 @divyeshagrawal
- 🤖 修复 ConfigProvider 的 Table
- 🔥 Semantic structure. Thanks @thinkasany & @meet-student for spearheading the semantic structure implementation.
- 🔥 Antd components support semantic structure and ConfigProvider config. #53659 #53535 #52759 #53028 #52340 #52895 #52258 #52376 #53055 #53226 #53150 #53429 #52976 #52961 #52948 #53890 #53694 #53789 #53225 #53324 #52793 #53698 #53272 #53489 #52172 #52823 #53303 #52764 #53229 #53159 #53174 #52250 #52972 #52893 #52866 #52859 #52849 #52811 #52780 #52781 #52745 #52470 #52669 #52303 #52141 #52171 #54145 #53958 #55430
- 🔥 Antd components Dynamic generation via function based on props. #54967 #54977 #54962 #54960 #55099 #54986 #54988 #54987 #55199 #54985 #55119 #54980 #55054 #54979 #55161 #55157 #55021 #55081 #55096 #55044 #55060 #54984 #54983 #55117 #54982 #55190 #55007 #55118 #54978 #54968 #54966 #54994 #54965 #55101 #54963 #55109 #54996 #54969 #55126 #54959 #55056 #55114 #54956 #54957 #55013 #54958 #55031 #54955 #55058 #55032 #54948 #54950 #54949 #54917 #54919 #54813 #55796 @meet-student @hcjlxl @Arktomson @zjr222 @Linkodt @xkhanhan @lovelts @tanjiahao24 @li-jia-nan @Susuperli @ccc1018 @nmsn @GinWU05
- 🔥 New Masonry component. #52162 @OysterD3
- ConfigProvider
- 🆕 ConfigProvider support Table
rowKeyglobal config. #52751 @guoyunhe - 🆕 ConfigProvider support Card.Meta config. #52214 @thinkasany
- 🆕 ConfigProvider support arrow for Tooltip, Popover, Popconfirm. #52434 @thinkasany
- 🆕 ConfigProvider support
rootconfig for Space. #52248 @thinkasany
- 🆕 ConfigProvider support Table
- Tooltip
- Input
- 🔥 InputNumber support
mode="spinner". #55592 @guoyunhe - 🗑 Input.Search refactor to remove
addon*code and use Space.Compact instead. #55705 @EmilyyyLiu - 🐞 Fix Input.TextArea
styles.textareaunable to override built-in styles. #55579 @meet-student
- 🔥 InputNumber support
- 🆕 Pagination quick jumper now accept numberic value only. #55700 @afc163
- Mentions
- 🛠 Refactor Mentions DOM structure to support
suffixsemantic andsizeprops. #55638 @zombieJ - 🐞 Fix Mentions
autoResize=falsecan not drag to resize the box. #54039 @jin19980928
- 🛠 Refactor Mentions DOM structure to support
- 🆕 Watermark support
onRemovecallback when delete by manully. #55551 @984507092 - 🆕 Breadcrumb supports ConfigProvider
separatorglobal configuration. #54680 @guoyunhe - 🆕 Alert
closablesupports onClose and afterClose methods. #54735 @EmilyyyLiu - 🆕 Radio.Group supports
verticallayout syntax sugar. #54727 @EmilyyyLiu - Cascader
- 🆕 Cascader support
aria-*&data-*props. #53910 @kiner-tang - 🆕 Cascader.Panel adds optionRender to allow custom option rendering. #54843 @EmilyyyLiu
- 🆕 Cascader support
- 🆕 Upload
acceptconfig supports custom filtering logic. #55543 @zombieJ - Rate
- 🆕 Select support
onActivekeyboard and mouse interaction. #53931 @Wxh16144 - 🆕 Typography
copyablesupports HTTP environment. #55073 @JeeekXY - Form
- 🆕 Flex support
orientationfor layout. #53648 @EmilyyyLiu - DatePicker
- 🆕 DatePicker semantic structure adds panel
containersupport. #55388 @meet-student - 🆕 DatePicker adds
previewValueto control whether to display preview value in input when hovering over options. #55258 @meet-student - 🐞 Fix DatePicker
onChangeparameterdateStringreturning incorrect value when clearing. #55155 @EmilyyyLiu
- 🆕 DatePicker semantic structure adds panel
- Drawer
- 🆕 Drawer adds
resizableto support drag capability. #54883 @cactuser-Lu - 💄 Drawer mask adds blur effect. #54707 @EmilyyyLiu
- 🆕 Drawer adds
- 🆕 ColorPicker
presetssupport linear gradient color. #53250 @zombieJ - Collapse
- 🆕 Collapse
expandIconPositionreplaced withexpandIconPlacementand use logical position to improve RTL experience. #54311 @EmilyyyLiu - 🐞 Fix Collapse semantic structure
icontargeting incorrect element. #55499 @thinkasany - 🐞 Fix Collapse dynamic modification of semantic icon not taking effect. #55452 @thinkasany
- 🆕 Collapse
- Table
- 🆕 Table
scrollTosupportoffsetto adjust scroll position. #54385 @zombieJ - 🆕 Table use
pagination.placementinstead ofpagination.position. #54338 @EmilyyyLiu - ⌨️ Improve Table a11y behavior by adding
aria-descriptionwhen column is sortable. #53087 @jon-cullison - 🆕 Refactor Table
column.fixedto usestart&endto support logical position. #53114 @zombieJ - 🐞 Fix Table showing duplicate filter dropdowns and tooltips when using
stickyorscroll.y. Fix Table column headers not displaying during initial render phase. #54910 @afc163 - 🐞 Fix Table data not refreshing when dynamically modifying
childrenColumnName. #55559 @li-jia-nan
- 🆕 Table
- Progress
- 🆕 Progress use
gapPlacementinsteadgapPositionand replaceleftandrightwithstartandend. #54329 @EmilyyyLiu - 🐞 Fix Progress indicator content not updating when props change. #55554 @thinkasany
- 🆕 Progress use
- 🛠 Grid use CSS logical position to improve RTL experience. #52560 @li-jia-nan
- Notification
- 🛠 Notification support
closableto takeonClose&closeIconinto it. #54645 @EmilyyyLiu - 🆕 Notification support custom progress bar color. #52964 @yellowryan
- 🛠 Notification support
- Image
- 🆕 Image
coversupport placement. #54492 @kiner-tang - 🛠 Image remove default cover icon & text (Still can use
coverto config). #54379 @765477020 - 🐞 Fix Image preview text issue when in RTL. #53596 @aojunhao123
- 🆕 Image
- Modal
- 🆕 Modal
closablesupportonCloseprops that trigger by any type of close. #54607 @EmilyyyLiu - 🛠 Modal adjust DOM
classNameto be align with semantic structure standard. #54472 @thinkasany - ⌨️ Apply Modal
closable.aria-*attribute on the close button. #53289 @EmilyyyLiu - 🐞 Fix Modal quick switch
openstate will make screen operation frozen. #52753 @zombieJ
- 🆕 Modal
- Theme
- 🔥 Support
zeroRuntimemode inthemeprop of ConfigProvider, in order to avoid runtime style generation. #54334 @MadCcc - 🆕 MISC: CSS-in-JS support
autoPrefixTransformerto add browser style prefix. #54427 @zombieJ - 🆕 Design Token export cssVar in
useToken. #53195 @MadCcc - 💄 MISC: Remove mark style from reset.css. #52974 @afc163
- 🔥 MISC: Use CSS variables by default. #52671 @MadCcc
- 💄 Design Token add
colorBorderDisabledtoken to unify border color in disabled state. #52421 @aojunhao123
- 🔥 Support
- Segmented
- 🆕 Segmented support
items.tooltip. #54273 @EmilyyyLiu - 🆕 Segmented support
orientationfor layout. #53664 @EmilyyyLiu - 🛠 Improve Segmented accessibility. #52618 @aojunhao123
- 🆕 Segmented support
- Tabs
- 🆕 Tabs use
tabPlacementinsteadtabPositionand replaceleftandrightwithstartandend. #54358 @EmilyyyLiu - 💄 Tabs remove active text shadow. #53617 @guoyunhe
- 🐞 Fix Tabs focus behavior for empty TabPane to improve accessibility. #52856 @aojunhao123
- 🛠 Remove Tabs deprecated API. #52768 @aojunhao123
- 🆕 Tabs use
- 🛠 Replace Steps
labelPlacementtotitlePlacementto unify the API. #53873 @zombieJ - Space
- 🛠 Space use
separatorinstead ofsplit. #53983 @thinkasany - 🛠 Space use
orientationinstead ofdirection. #53669 @EmilyyyLiu
- 🛠 Space use
- 🆕 Spin support
styles.wrapper. #53448 @crazyair - Splitter
- 🆕 Splitter use
orientationinstead oflayoutand supportverticalprop. #53670 @EmilyyyLiu - 🆕 Splitter support customize handle elements and style. #52216 @wanpan11
- 🆕 Splitter use
- Tour
- 🐞 Fix Tour DOM structure
panelclassName typo. #55178 @thinkasany - 🐞 Fix Tour popup not follow when scroll. #53140 @dependabot
- 🐞 Fix Tour DOM structure
- Button
- 🆕 Button
iconPositionreplaced withiconPlacementand support logical position. #54279 @EmilyyyLiu - 🛠 Button
variant&colorrefactor with css variables version to reduce bundle size. #54100 @zombieJ - 🆕 Button add custom default and dashed type button background color in disabled state. #52839 @yellowryan
- 🆕 Button
- Tag
- 🆕 Tag support CheckableTagGroup sub component. #53256 @guoyunhe
- 🆕 Tag custom color support variants. #53097 @guoyunhe
- 🆕 Tag support
disabledandhref. #52229 @aojunhao123 - 🐞 Fix Tag not updating when modifying
variantvia ConfigProvider. #55555 @thinkasany - 💄 Remove Tag
marginstyle. #52123 @li-jia-nan
- Timeline
- 🆕 Timeline
items.positionreplaced withitems.placementand using logical position description to improve RTL experience. #54382 @EmilyyyLiu - 🆕 Transfer add
actionsprop which accept ReactNode array. #54104 @afc163 - 🆕 Carousel use
dotPlacementinstead ofdotPositionand supportstartandendlogical position. #54294 @EmilyyyLiu - 🆕 Divider use
orientationinstead oftypeand supportverticalsyntax sugar. #53645 @EmilyyyLiu - 🛠 AutoComplete merge search related props into
showSearch. #54184 @EmilyyyLiu - 🆕 Menu support
popupRenderfor popup customization. #53566 @Zyf665 - 🆕 Message support
pauseOnHoverthat pause count down when user hover on it. #53785 @EmilyyyLiu - 💄
reset.cssremoves IE compatibility. #55108 @thinkasany - 🛠 Slider support
orientationto config layout. #53671 @EmilyyyLiu - 💄 Remove InputNumber mobile default hidden controls. #54900 @Wxh16144
- 💄 Image mask adds blur effect. #54714 @EmilyyyLiu
- 💄 Modal mask adds blur effect. #54670 @EmilyyyLiu
- 🛠 Deprecated List component and removed from document. #54182 @zombieJ
- 🐞 Fix Statistic.Timer
onFinish&onChangenot trigger when window is inactive. #53894 @Psiphonc - 🛠 Badge refactor
offsetstyle offset to CSS logical position. #55245 @li-jia-nan - 🛠 BackTop has been removed. #52206 @li-jia-nan
- 🗑 Icon has been removed. #52241 @li-jia-nan
- 🛠 Remove Dropdown.Button, please use Space.Compact instead. #53793 @Meet-student
- 🛠 MISC: Replace
classNameslibrary withclsx. 0246702 #55164 @lijianan - 🛠 MISC: Remove MediaQueryList compatibility code for legacy browsers. #55396 @li-jia-nan
- 🛠 MISC: Remove React 19 compatibility code, antd now supports React 19 by default. #55274 @li-jia-nan
- 🛠 MISC: Remove
copy-to-clipboarddeps. #54448 @765477020 - 🔥 MISC: Raise build target which will not support IE anymore. #53390 @zombieJ
- 🔥 MISC: Enabled
React Compilerin the bundled outputsantd.jsandantd.min.jsto improve performance. Users in CJS/ESM environments can choose to enable it as needed. For more details, refer to the React documentation. #55781 @li-jia-nan - 🔥 MISC: Color-related components now support preset color names (e.g.,
red,blue,green, etc.). #53241 @zombieJ - 🌐 Add Marathi locale translation. #55179 @divyeshagrawal
- TypeScript
- 🔥 组件语义化结构。感谢 @thinkasany 与 @meet-student 主导整个语义化结构的开发工作。
- 🔥 antd 组件支持语义化结构以及 ConfigProvider 配置。#53659 #53535 #52759 #53028 #52340 #52895 #52258 #52376 #53055 #53226 #53150 #53429 #52976 #52961 #52948 #53890 #53694 #53789 #53225 #53324 #52793 #53698 #53272 #53489 #52172 #52823 #53303 #52764 #53229 #53159 #53174 #52250 #52972 #52893 #52866 #52859 #52849 #52811 #52780 #52781 #52745 #52470 #52669 #52303 #52141 #52171 #54145 #53958 #55430
- 🔥 antd 组件语义化支持函数根据 props 动态生成。#54967 #54977 #54962 #54960 #55099 #54986 #54988 #54987 #55199 #54985 #55119 #54980 #55054 #54979 #55161 #55157 #55021 #55081 #55096 #55044 #55060 #54984 #54983 #55117 #54982 #55190 #55007 #55118 #54978 #54968 #54966 #54994 #54965 #55101 #54963 #55109 #54996 #54969 #55126 #54959 #55056 #55114 #54956 #54957 #55013 #54958 #55031 #54955 #55058 #55032 #54948 #54950 #54949 #54917 #54919 #54813 #55796 @meet-student @hcjlxl @Arktomson @zjr222 @Linkodt @xkhanhan @lovelts @tanjiahao24 @li-jia-nan @Susuperli @ccc1018 @nmsn @GinWU05
- 🔥 新增 Masonry 瀑布流组件。#52162 @OysterD3
- ConfigProvider
- 🆕 ConfigProvider 支持 Table
rowKey全局配置。#52751 @guoyunhe - 🆕 ConfigProvider 支持 Card.Meta 的配置。#52214 @thinkasany
- 🆕 ConfigProvider 支持Tooltip / Popover / Popconfirm 组件的箭头配置。#52434 @thinkasany
- 🆕 ConfigProvider 支持 Space 组件
root配置。#52248 @thinkasany
- 🆕 ConfigProvider 支持 Table
- Tooltip
- Input
- 🔥 InputNumber 增加
mode="spinner"拨轮模式。#55592 @guoyunhe - 🗑 Input.Search 重构废弃内部
addon*的使用,用 Space.Compact 替换。#55705 @EmilyyyLiu - 🐞 修复 Input.TextArea 的
styles.textarea无法覆盖内置样式的问题。#55579 @meet-student
- 🔥 InputNumber 增加
- 🆕 Pagination 快速跳转输入框现在限制只能输入数字。#55700 @afc163
- Mentions
- 🛠 重构 Mentions DOM 结构并支持
suffix语义化结构以及size属性。#55638 @zombieJ - 🐞 修复 Mentions 的
autoResize=false时,无法拖拽缩放尺寸的问题。#54039 @jin19980928
- 🛠 重构 Mentions DOM 结构并支持
- 🆕 Watermark 新增
onRemove以支持被用户手工删除的事件触发。#55551 @984507092 - 🆕 Breadcrumb 支持 ConfigProvider
separator全局配置。#54680 @guoyunhe - 🆕 Alert
closable支持 onClose 和 afterClose 方法。#54735 @EmilyyyLiu - 🆕 Radio.Group 支持
vertical纵向排列语法糖。#54727 @EmilyyyLiu - Cascader
- 🆕 Cascader 支持
aria-*和data-*属性。#53910 @kiner-tang - 🆕 Cascader.Panel 添加 optionRender 允许自定义渲染选项。#54843 @EmilyyyLiu
- 🆕 Cascader 支持
- 🆕 Upload
accept配置支持自定义过滤逻辑。#55543 @zombieJ - Rate
- 🆕 Select 支持键盘和鼠标交互时
onActive回调。#53931 @Wxh16144 - 🆕 Typography
copyable支持 HTTP 环境。#55073 @JeeekXY - Form
- 🆕 Flex 增加
orientation属性用于布局,原vertical语法糖仍然保留。#53648 @EmilyyyLiu - DatePicker
- 🆕 DatePicker 语义化结构新增面板
container支持。#55388 @meet-student - 🆕 DatePicker 新增
previewValue,以控制鼠标悬停在选项时是否输入框展示预览值。#55258 @meet-student - 🐞 修复 DatePicker 在清空时,
onChange参数dateString返回值错误的问题。#55155 @EmilyyyLiu
- 🆕 DatePicker 语义化结构新增面板
- Drawer
- 🆕 Drawer 新增
resizable支持拖拽能力。#54883 @cactuser-Lu - 💄 Drawer 遮罩添加模糊效果。#54707 @EmilyyyLiu
- 🆕 Drawer 新增
- 🆕 ColorPicker
presets支持渐变色预设值。#53250 @zombieJ - Collapse
- 🆕 Collapse
expandIconPosition替换为expandIconPlacement,并使用逻辑位置以优化 RTL 体验。#54311 @EmilyyyLiu - 🐞 修复 Collapse 语义化结构
icon作用元素不正确的问题。#55499 @thinkasany - 🐞 修复 Collapse 动态修改语义化 icon 不生效的问题。#55452 @thinkasany
- 🆕 Collapse
- Table
- 🆕 Table
scrollTo方法支持offset以设置滚动偏移量。#54385 @zombieJ - 🆕 Table
pagination.position替换为pagination.placement。#54338 @EmilyyyLiu - ⌨️ ⌨️ 优化 Table
column为sortable时的aria-description可访问性属性。#53087 @jon-cullison - 🆕 重构 Table
column.fixed用start和end的逻辑位置以支持 RTL。#53114 @zombieJ - 🐞 修复 Table 在使用
sticky或scroll.y时出现重复的筛选下拉框和提示气泡显示的问题。修复 Table 渲染初始阶段列头不显示的问题。#54910 @afc163 - 🐞 修复 Table 在动态修改
childrenColumnName时,数据不会刷新的问题。#55559 @li-jia-nan
- 🆕 Table
- Progress
- 🆕 Progress
gapPosition替换为gapPlacement,并使用位置描述值start和end取代left和right。#54329 @EmilyyyLiu - 🐞 修复 Progress 在变更 props 时,指示内容不会更新的问题。#55554 @thinkasany
- 🆕 Progress
- 🛠 Grid 使用 CSS 逻辑位置以支持 RTL 体验。#52560 @li-jia-nan
- Notification
- 🛠 Notification 提供
closable属性将onClose与closeIcon收敛至其中。#54645 @EmilyyyLiu - 🆕 Notification 支持自定义进度条颜色。#52964 @yellowryan
- 🛠 Notification 提供
- Image
- 🆕 Image 的预览遮罩
cover支持设置遮罩位置。#54492 @kiner-tang - 🛠 Image 移除默认的查看图标和文案(仍然可以通过
cover配置)。#54379 @765477020 - 🐞 修复 Image 在 RTL 下预览文案的展示问题。#53596 @aojunhao123
- 🆕 Image 的预览遮罩
- Modal
- 🆕 Modal
closable支持onClose属性以任意方式关闭时触发。#54607 @EmilyyyLiu - 🆕 ConfigProvider 支持配置 Modal 的
okButtonProps和cancelButtonProps。#53684 @guoyunhe - 🛠 Modal 调整 DOM
className以与语义化结构规范保持一致。#54472 @thinkasany - ⌨️ 将 Modal 在
closable对象中配置的aria-*属性应用到关闭按钮上。#53289 @EmilyyyLiu - 🐞 修复 Modal 快速切换
open状态时,屏幕交互会被锁定的问题。#52753 @zombieJ
- 🆕 Modal
- Tabs
- 🆕 Tabs
tabPosition替换为tabPlacement,并使用位置描述值start和end取代left和right。#54358 @EmilyyyLiu - 💄 Tabs 移除激活态文字阴影。#53617 @guoyunhe
- 🐞 Tabs 修复空内容 TabPane 的焦点行为,提升无障碍体验。#52856 @aojunhao123
- 🛠 移除 Tabs 废弃 API。#52768 @aojunhao123
- 🆕 Tabs
- Theme
- 🔥 支持通过 ConfigProvider 的
theme中开启zeroRuntime,屏蔽 cssinjs 样式生成。#54334 @MadCcc - 🆕 杂项:CSS-in-JS 支持配置
autoPrefixTransformer添加浏览器样式前缀。#54427 @zombieJ - 🆕 Design Token: 在
useToken中透出 css 变量。#53195 @MadCcc - 💄 杂项:从 reset.css 中移除 mark 样式。#52974 @afc163
- 🔥 杂项:默认使用 CSS 变量。#52671 @MadCcc
- 💄 Design Token 新增
colorBorderDisabledtoken 以统一禁用状态下的边框颜色。#52421 @aojunhao123
- 🔥 支持通过 ConfigProvider 的
- Segmented
- 🆕 Segmented 支持
items.tooltip属性以配置提示信息。#54273 @EmilyyyLiu - 🆕 Segmented 增加
orientation属性用于布局,原vertical语法糖仍然保留。#53664 @EmilyyyLiu - 🛠 改善 Segmented 组件可访问性。#52618 @aojunhao123
- 🆕 Segmented 支持
- 🛠 重命名 Steps 的
labelPlacement为titlePlacement以统一 API。#53873 @zombieJ - Space
- 🛠 Space 使用
separator代替split。#53983 @thinkasany - 🛠 Space 使用
orientation代替direction属性。#53669 @EmilyyyLiu
- 🛠 Space 使用
- 🆕 Spin 支持
styles.wrapper。#53448 @crazyair - Splitter
- 🆕 Splitter 使用
orientation代替layout,并增加vertical属性。#53670 @EmilyyyLiu - 🆕 Splitter 新增自定义拖拽图标。#52216 @wanpan11
- 🆕 Splitter 使用
- Tour
- 🐞 修复 Tour 在滚动时,弹层不跟随的问题。#53140 @dependabot
- 🐞 修复 Tour dom 结构中
panel的className拼写错误。#55178 @thinkasany
- Button
- 🆕 Button
iconPosition替换为iconPlacement并支持逻辑位置描述。#54279 @EmilyyyLiu - 🛠 Button
variant与color样式重构为 css variables 版本以降低尺寸。#54100 @zombieJ - 🆕 Button 新增自定义普通、虚线类型的按钮在禁用状态下的背景颜色。#52839 @yellowryan
- 🆕 Button
- Tag
- 🆕 Tag 新增 CheckableTagGroup 子组件。#53256 @guoyunhe
- 🆕 Tag 自定义颜色支持变体。#53097 @guoyunhe
- 🆕 Tag 新增
disabled和href属性。#52229 @aojunhao123 - 🐞 修复 Tag 通过 ConfigProvider 修改
variant时,Tag 不会更新的问题。#55555 @thinkasany - 💄 移除 Tag
margin样式。#52123 @li-jia-nan
- Timeline
- 🆕 TimeLine
items.position替换为items.placement并使用逻辑位置以优化 RTL 体验。#54382 @EmilyyyLiu - 🆕 Transfer 新增
actions属性可用于自定义操作按钮。#54104 @afc163 - 🆕 Carousel
dotPosition替换为dotPlacement,使用位置描述值start和end取代left和right。#54294 @EmilyyyLiu - 🆕 Divider 使用
orientation替换type,并且支持vertical语法糖。#53645 @EmilyyyLiu - 🛠 AutoComplete 将搜索相关属性合并至
showSearch属性。#54184 @EmilyyyLiu - 🆕 Menu 支持
popupRender属性自定义弹出层。#53566 @Zyf665 - 🆕 Message 支持
pauseOnHover以配置用户在悬浮时暂停倒计时。#53785 @EmilyyyLiu - 💄
reset.css移除对 IE 的兼容。#55108 @thinkasany - 🛠 Slider 支持
orientation用于配置布局方向。#53671 @EmilyyyLiu - 💄 移除 InputNumber 移动端对于控制器默认隐藏。#54900 @Wxh16144
- 💄 Image 遮罩添加模糊效果。#54714 @EmilyyyLiu
- 💄 Modal 遮罩添加模糊效果。#54670 @EmilyyyLiu
- 🐞 修复 Statistic.Timer 在页面进入非激活态时,
onFinish和onChange未触发的问题。#53894 @Psiphonc - 🛠 废弃 List 组件并且从官网移除。#54182 @zombieJ
- 🛠 BackTop 完成生命周期已被移除。#52206 @li-jia-nan
- 🗑 Icon 占位组件完成生命周期已被移除。#52241 @li-jia-nan
- 🛠 移除 Dropdown.Button,请使用 Space.Compact。#53793 @Meet-student
- 🛠 Badge 重构
offset样式偏移为 CSS 逻辑位置。#55245 @li-jia-nan - 🛠 杂项:替换
classNames库为clsx。0246702 #55164 @lijianan - 🛠 杂项:移除 MediaQueryList 针对旧版浏览器的兼容代码。#55396 @li-jia-nan
- 🛠 杂项:移除 React 19 兼容代码,现在 antd 默认支持 React 19。#55274 @li-jia-nan
- 🛠 杂项:移除
copy-to-clipboard依赖。#54448 @765477020 - 🔥 杂项:提升构建目标版本,不再支持 IE。#53390 @zombieJ
- 🔥 杂项:在打包产物
antd.js以及antd.min.js中启用了React Compiler以优化性能,对使用 CJS/ESM 场景的用户可自行选择开启,参考React 官方文档。 #55781 @li-jia-nan - 🔥 杂项:颜色相关组件现在支持预设颜色名(如
red,blue,green等等)。#53241 @zombieJ - 🌐 添加马拉地语国际化翻译。#55179 @divyeshagrawal
- TypeScript
- 🐞 Fix notification background colors incorrect when
cssVaris disabled. #56133 @afc163 - 🐞 Raise Breadcrumb link style priority to avoid being overridden by global styles (v5). #56139 @guoyunhe
- 🐞 Fix Input.Search should not warn about deprecated
addonAfter. #55806 @zombieJ - 🐞 Fix Splitter failing to fill its container when the sum of panel proportions is not 1. #56217 @zombieJ
- Carousel
- 🐞 Fix Descriptions where content style wrongly used
labelStyle. #55572 @li-jia-nan - 💄 Adjust the height of the Select component to 32px when
variant="underlined". #55607 @ustcfury - 💄 When the
underlinedproperty is enabled for the Input component, the border color changes on mouse hover. #55609 @ustcfury - 🛠 Flex
gapprop support number type. #55591 @ayangweb - 🌐 Add missing TimePicker translations for locales: ar_EG, en_GB, gl_ES, bg_BG, ca_ES, cs_CZ, el_GR, es_ES, eu_ES, fi_FI, he_IL, hu_HU, is_IS, kn_IN, kmr_IQ, lv_LV, mk_MK, mn_MN, ms_MY, pl_PL, pt_BR, pt_PT, ro_RO, sk_SK, sl_SI, sv_SE, ta_IN, th_TH, zh_TW, et_EE. #55656 @li-jia-nan
- Carousel
- 🐞 修复 Popconfirm 在
actionFn出错时未重置 ref 的问题。#55519 @Taoister39 - 🐞 修复 Descriptions 组件内容样式错误使用
labelStyle的问题。#55572 @li-jia-nan - 💄 修正
underlined变体的 Select 组件高度为 32px。#55607 @ustcfury - 💄 为
underlined变体的 Input 组件补全 hover 边框颜色样式。#55609 @ustcfury - 🛠 Flex
gap属性支持 number 类型。#55591 @ayangweb - 🌐 补充 TimePicker 多语言翻译,覆盖以下语言:ar_EG、en_GB、gl_ES、bg_BG、ca_ES、cs_CZ、el_GR、es_ES、eu_ES、fi_FI、he_IL、hu_HU、is_IS、kn_IN、kmr_IQ、lv_LV、mk_MK、mn_MN、ms_MY、pl_PL、pt_BR、pt_PT、ro_RO、sk_SK、sl_SI、sv_SE、ta_IN、th_TH、zh_TW、et_EE。#55656 @li-jia-nan
- 🆕 Drawer supports
closable.placementprop to specify the position of the close button. #54067 @davidhsing - 🆕 Image component supports
fallbackglobal configuration. #54702 @Jiyur - 🆕 QRCode component supports
boostLevelprop. #55063 @li-jia-nan - 🆕 Splitter supports
onCollapseprop. #54673 @ug-hero - 🆕 Statistic displays animation effect by default when set to
loading. #55398 @afc163 - 🆕 TreeSelect supports global configuration for switcher icon. #54821 @Jiyur
- Segmented
- 🐞 Fix Tree and Transfer components
disabledinheritance issue. #54831 @cactuser-Lu - 🐞 Fix Tree.DirectoryTree
defaultExpandAllnot working whenfieldNamesis defined. #55420 @Wxh16144 - Upload
- 🆕 Upload component adds
info.defaultRequestincustomRequestparameters. #55146 @EmilyyyLiu - 💄 Upload component supports
pictureCardSizetoken. #54756 @wanpan11
- 🆕 Upload component adds
- 💄 Notification supports configuring background color token. #54802 @thinkasany
- 💄 Pagination supports modifying the text color of active items through
itemActiveColoranditemActiveColorHovertokens. #55195 @Renderz - 🐞 Fix Select, DatePicker, TreeSelect, Cascader and other components not showing default suffix icon when
suffixIconis configured as undefined. #54790 @EmilyyyLiu - 🐞 Fix Mentions component not inheriting
disabledfrom external Form. #54829 @EmilyyyLiu - 🐞 Fix Watermark component crashing when wrapping Modal with
modalRender. #55435 @ug-hero - 🗑 Input component deprecates
addonAfterandaddonBeforeprops, use Space.Compact instead. #55315 @EmilyyyLiu - 🤖 Row component
gutterprop supports string type definition. #54628 @ug-hero
- 🆕 Drawer 支持
closable.placement属性,用于指定关闭按钮的位置。#54067 @davidhsing - 🆕 Image 组件支持
fallback全局配置。#54702 @Jiyur - 🆕 QRCode 组件支持
boostLevel属性。#55063 @li-jia-nan - 🆕 Splitter 支持
onCollapse属性。#54673 @ug-hero - 🆕 Statistic 设置为
loading时默认展现动画效果。#55398 @afc163 - 🆕 TreeSelect 支持切换器图标的全局配置。#54821 @Jiyur
- Segmented
- 🐞 修复 Tree 和 Transfer 组件的
disabled继承问题。#54831 @cactuser-Lu - 🐞 修复 Tree.DirectoryTree 定义
fieldNames时defaultExpandAll不生效的问题。#55420 @Wxh16144 - Upload
- 🆕 Upload 组件
customRequest参数中增加info.defaultRequest。#55146 @EmilyyyLiu - 💄 Upload 组件支持
pictureCardSizetoken。#54756 @wanpan11
- 🆕 Upload 组件
- 💄 Notification 支持配置背景颜色的 token。#54802 @thinkasany
- 💄 Pagination 支持通过
itemActiveColor和itemActiveColorHovertoken 修改高亮项的文字颜色。#55195 @Renderz - 🐞 修复 Select、DatePicker、TreeSelect、Cascader 等组件
suffixIcon配置值为 undefined 时没有默认后缀图标的问题。#54790 @EmilyyyLiu - 🐞 修复 Mentions 组件没有继承外部 Form 的
disabled的问题。#54829 @EmilyyyLiu - 🐞 修复 Watermark 组件内包裹 Modal 使用
modalRender会导致崩溃的问题。#55435 @ug-hero - 🗑 Input 组件废弃
addonAfter和addonBefore属性,使用 Space.Compact 替换。#55315 @EmilyyyLiu - 🤖 Row 组件
gutter属性支持 string 类型定义。#54628 @ug-hero
- 🐞 Fix Tour positioning when the
targetis a Table with fixed headers. #55124 @afc163 - 💄 Fix Card body extra padding when adding
gapstyle. #54974 @QdabuliuQ - 💄 Fix DatePicker design token for text color. #55065 @765477020
- 💄 Fix List overflow problem when bordered. #55075 @Jiyur
- ⌨️ Fix Modal.confirm
aria-labelledbyaccessibility attribute missing problem. #55266 @Jiyur - ⚡️ Improve Cascader rendering for loading icon. #55285 @li-jia-nan
- TypeScript
- 🤖 Fix FloatButton type definition missing for
disabledproperty. #55156 @deathemperor
- 🤖 Fix FloatButton type definition missing for
- 🐞 修复 Tour 指定
target为 Table 固定列头时定位错误的问题。#55124 @afc163 - 💄 修复 Card body 增加
gap样式时有多余 padding 的问题。#54974 @QdabuliuQ - 💄 修复 DatePicker 文本颜色 token 错误的问题。#55065 @765477020
- 💄 修复 List 启用边框时会内容溢出的问题。#55075 @Jiyur
- ⌨️ 修复 Modal.confirm 缺失
aria-labelledby可访问性属性的问题。#55266 @Jiyur - ⚡️ 优化 Cascader 加载中图标的渲染。#55285 @li-jia-nan
- TypeScript
- 🤖 修复 FloatButton
disabled属性类型缺失的问题。#55156 @deathemperor
- 🤖 修复 FloatButton
- Table
- 🐞 Fix Button where the padding of icon-only was affected by the theme. #54970 @guoyunhe
- 🐞 Fix Splitter
minSizeandmaxSizenot taking effect on initial mount in uncontrolled mode. #54939 @zombieJ - 🐞 Fix Switch wave effect compatibility with Tailwind CSS
disabledvariant. #54933 @Jiyur - 🐞 Fix Input.Search hover color changes for the border and icon when the search button is
disabled. #54892 @Jiyur
- Table
- 🐞 Fix Table header width compression issues and render flickering issues when
scroll.yorstickyis set. #54824 @afc163Before ❌ After ✅ - 🐞 Fix Table
scroll.scrollToFirstRowOnChangenot working with virtual scroll. #54734 @Wxh16144 - 🐞 Fix Table columns with
childrennot working withfixed: 'right'. #51812 @ryantang247 - 🐞 Fix Table expand column not being displayed when
expandable.fixedis set to true. @inottn - 🐞 Fix Table columns
minWidthprops not working when virtualized. #54856 @cactuser-Lu
- 🐞 Fix Table header width compression issues and render flickering issues when
- 🐞 Fix Pagination style issues with
simpleandsmallsize props. #54837 @MrWangJustToDo - 🐞 Fix Button padding issue when
shape="round". #54845 @guoyunhe - 🐞 Fix Input.OTP not allowing continuous deletion. #54850 @765477020
- 🐞 Fix Dropdown
onOpenChangeclosure issue. #54880 @zombieJ - 🐞 Fix Carousel component style and button switching issues in RTL mode. #54868 @EmilyyyLiu
- 🐞 Fix incorrect margin in Typography when editable. #54871 @Tarun2605
- 🇮🇹 Add missing Italian translations for ColorPicker and QRCode components. #54842 @nikzanda
- Table
- 🐞 修复 Table 设置
scroll.y或者sticky时表头列宽度被挤压或渲染闪烁的问题。#54824 @afc163Before ❌ After ✅ - 🐞 修复 Table 在虚拟滚动时,
scroll.scrollToFirstRowOnChange配置不生效的问题。#54734 @Wxh16144 - 🐞 修复 Table 的列配置了
children时,无法fixed: 'right'的问题。#51812 @ryantang247 - 🐞 修复 Table 配置
expandable.fixed时,展开列没有显示的问题。@inottn - 🐞 修复 Table 虚拟化时列
minWidth属性不生效的问题。#54856 @cactuser-Lu
- 🐞 修复 Table 设置
- 🐞 修复 Pagination 在
simple和small尺寸下的样式问题。#54837 @MrWangJustToDo - 🐞 修复 Button
shape="round"时的 padding 样式问题。#54845 @guoyunhe - 🐞 修复 Input.OTP 不允许连续删除的问题。#54850 @765477020
- 🐞 修复 Dropdown
onOpenChange闭包问题。#54880 @zombieJ - 🐞 修复 Carousel 组件在 RTL 模式下的样式和按钮切换问题。#54868 @EmilyyyLiu
- 🐞 修复 Typography 在可编辑状态下的错误边距。#54871 @Tarun2605
- 🇮🇹 补充 ColorPicker 和 QRCode 的意大利语翻译。#54842 @nikzanda
- Button
- 🐞 Fix custom
token.paddingInlinenot taking effect when the Button'sshapeisround. #54787 - 🐞 Fix accessibility issue when Button
hrefis disabled. #54738 @doandevhere
- 🐞 Fix custom
- 🐞 Fix the Badge
textproperty did not support the number 0. #54747 @davidhsing - 💄 Optimize Table to no longer display "no data" when initialized with
dataSource=nullandloading. #54606@Wxh16144 - 💄 Fix Tabs removal icon not being vertically centered. #54794 @Jiyur
- 💄 Fix Typography hover underline style not taking effect. #54763 @guoyunhe
- 💄 Fix Radio.Group display having jagged edges and the first element overflowing on the left after wrapping. #54661 @765477020
- 💄 Fix inconsistent hover colors for Tree.DirectoryTree. #54725 @Meet-student
- 🇻🇳 Add the missing Vietnamese translations for ColorPicker/QRCode/Typography.Text. #54748 @Jiyur
- Button
- 🐞 修复 Button 在
shape="round"时自定义token.paddingInline不生效的问题。#54787 - 🐞 修复 Button
href已禁用时无障碍访问性不正确的问题。#54738 @doandevhere
- 🐞 修复 Button 在
- 🐞 修复 Badge 的
text属性不支持数字 0 的问题。#54747 @davidhsing - 💄 优化 Table 在初始化
dataSource=null并且loading时不再会显示“没有数据”。#54606@Wxh16144 - 💄 修复 Tabs 移除图标未垂直居中对齐的样式问题。#54794 @Jiyur
- 💄 修复 Typography hover 下划线不生效的样式问题。#54763 @guoyunhe
- 💄 修复 Radio.Group 展示出现锯齿和换行后第一个元素左侧溢出问题。#54661 @765477020
- 💄 修复 Tree.DirectoryTree hover 颜色不符的样式问题。#54725 @Meet-student
- 🇻🇳 补充 ColorPicker、QRCode、Typography.Text 越南语翻译。#54748 @Jiyur
- 🐞 Fix Form with nest Form that parent Form.Item
statuswill pass to sub Fom'snoStyleForm.Item. #54715 @zombieJ - 🐞 Fix Table header Checkbox flickering issue. #54713 @QdabuliuQ
- 💄 Optimize Collapse clickable expand area with mouse cursor to improve user experience. #54706 @Copilot
- 🐞 Fix Pagination button and input size with
simplemode. #54652 @guoyunhe - 🌐 Add Vietnamese translation. #54644 @doandevhere
- 🐞 修复 Form 嵌套场景下,父级 Form.Item 的
status会传递给子级noStyleForm.Item 的问题。#54715 @zombieJ - 🐞 修复 Table 组件的头部 Checkbox 会出现闪烁的问题。#54713 @QdabuliuQ
- 💄 优化 Collapse 可点击展开区域的鼠标样式以优化用户体验。#54706 @Copilot
- 🐞 修复 Pagination
simple样式下,按钮和输入框的尺寸异常问题。#54652 @guoyunhe - 🌐 添加越南语支持。#54644 @doandevhere
- ConfigProvider
- Tabs
- Button
- Input
- 🐞 Fix Input.OTP caretColor is wrong when customize
prefixCls. #54588 @765477020 - 🐞 Input.Password support
suffixprop. #54342 @QdabuliuQ
- 🐞 Fix Input.OTP caretColor is wrong when customize
- 🆕 Table support
getHeaderCheckboxPropsmethod to the checkbox in the table title. #54600 @EmilyyyLiu - 🆕 Tooltip support adjusting the text color based on configured
color. #54552 @EmilyyyLiu - 🆕 Tag.CheckableTag supports
iconprop. #54298 @QdabuliuQ - 🆕 Splitter support
showCollapsibleIconto control if hiding collapse icon. #54154 @rxy001 - 🐞 Fix the issue where the
suffixshifts to the left after the mouse hovers over InputNumber in read-only mode. #54585 @Wxh16144 - 🐞 Fix Typography
copyablecause react maximum render error in some cases. #54449 @Meet-student - 🐞 Fixed Avatar component to properly apply font size design tokens. #54187 @doandevhere
- 🐞 Fix Modal and Drawer
panelRefprop not work. #54619 @dengfuping - 💄 DatePicker remove
!importantstyle. #54634 @Jiyur - 💄 Fixed Form.Item layout disorder when
layout="vertical"is set tolayout="horizontal". #54611 @crazyair - 💄 Fix Space.Compact border cropping issue. #54596 @765477020
- 💄 Adjusted the Carousel dot background to prevent white gaps during animation. #54529 @Limoer96
- 💄 MISC: Add new CSS variables for the "size" series. #54621 @765477020
- 💄 Fix Select, TreeSelect and Cascader unexpected compact style inside popup. #54544 @EmilyyyLiu
- 🇻🇳 Add missing transfer component localization text of vi-VN. #54638 @Jiyur
- 🛠 MISC: Remove unnecessary object spread syntax for
genFocusOutlinecalls. #54622 @afc163 - 🛎 Fix Button and Splitter warn in SSR. #54517 @Meet-student
- TypeScript
- 🤖 Optimize Menu
data-*attributes to support more types. #54539 @gregor-mueller - 🤖 Upload
showUploadListsupport generic. #54540 @li-jia-nan
- 🤖 Optimize Menu
- ConfigProvider
- Tabs
- Button
- Input
- 🐞 修复自定义
prefixCls时 Input.OTP 光标颜色不对的问题。#54588 @765477020 - 🐞 Input.Password 支持
suffix属性。#54342 @QdabuliuQ
- 🐞 修复自定义
- 🆕 Table 标题中复选框增加
getHeaderCheckboxProps方法。#54600 @EmilyyyLiu - 🆕 Tooltip 支持根据背景色自动调整文本颜色。#54552 @EmilyyyLiu
- 🆕 Tag.CheckableTag 支持传入
icon属性。#54298 @QdabuliuQ - 🆕 Splitter 支持通过
showCollapsibleIcon控制可折叠图标显隐。#54154 @rxy001 - 🐞 修复 InputNumber 在只读状态下鼠标划入后
suffix出现左移的问题。#54585 @Wxh16144 - 🐞 修复 Typography 组件
copyable在某些情况下导致 react 渲染过多的问题。#54449 @Meet-student - 🐞 修复 Avatar 组件未正确应用字体大小设计令牌的问题。#54187 @doandevhere
- 🐞 修复 Modal 和 Drawer
panelRef属性不生效的问题。#54619 @dengfuping - 💄 DatePicker 移除
!important样式。#54634 @Jiyur - 💄 修复 Form
layout="horizontal"时layout="vertical"的 Form.Item 布局错乱的问题。#54611 @crazyair - 💄 修复 Space.Compact 边框裁剪问题。#54596 @765477020
- 💄 修复 Carousel 动画中的白缝问题。#54529 @Limoer96
- 💄 杂项:新增 size 系列 css 变量。#54621 @765477020
- 💄 修复 TreeSelect 和 Cascader 组件弹窗内错误套用 compact 样式的问题。#54544 @EmilyyyLiu
- 🛠 杂项:移除
genFocusOutline多余的 spread 语法。#54622 @afc163 - 🛎 修复 Button 和 Splitter 组件在 SSR 下的 Warning。#54517 @Meet-student
- 🇻🇳 添加 vi-VN 缺失的 Transfer 组件本地化文本。#54638 @Jiyur
- TypeScript
- 🤖 优化 Menu 组件
data-*属性以支持更多类型。#54539 @gregor-mueller - 🤖 Upload 组件
showUploadList支持泛型。#54540 @li-jia-nan
- 🤖 优化 Menu 组件
- 🐞 Fixed Card
tabBarExtraContenttyping to support bothReact.ReactNodeand{ left?: React.ReactNode; right?: React.ReactNode }usingTabBarExtraContentfromrc-tabs. #54470 @pueding - 🐞 Fixed the issue where the cursor position was incorrect after pasting text into TextArea. #72 @QdabuliuQ
- ⚡️ Optimized the size of the Result component icon. #54455 @765477020
- ⚡️ Optimized the calculation performance of internal methods of Dropdown, Tooltip, Tour. #54443 Meet-student
- TypeScript
- 🐞 修复 Card 的
tabBarExtraContent类型定义,仅支持React.ReactNode的问题。现在支持完整的rc-tabs类型,包括{ left?: React.ReactNode; right?: React.ReactNode }。#54470 @pueding - 🐞 修复了 TextArea 在 Firefox 浏览器下粘贴文本后光标位置错误的问题。#72 @QdabuliuQ
- ⚡️ 优化了 Result 组件的图标的体积。#54455 @765477020
- ⚡️ 优化了 Dropdown、Tooltip、Tour 等弹层类组件的内部方法的计算性能。#54443 Meet-student
- TypeScript
- 🐞 Fix Input
variant=underlinednot usingactiveBorderColortoken. #54409 @Meet-student - 🐞 Fix InputNumber
fontSizeSMandfontSizeLGtokens not working. #54396 @guoyunhe - 🐞 Fix Flex component
childrenprop is now optional instead of required. #54399 @Wxh16144 - 🐞 Fix Menu component not supporting
data-*attributes for menu items. #54393 @salihyavuz - 🐞 Fix Mentions component clear and feedback icons overlap. #54390 @QdabuliuQ
- 🐞 修复 Input
variant=underlined未使用activeBorderColortoken 的问题。#54409 @Meet-student - 🐞 修复 InputNumber
fontSizeSM和fontSizeLGtoken 不生效的问题。#54396 @guoyunhe - 🐞 修复 Flex 组件
children属性现在为可选而不是必需的问题。#54399 @Wxh16144 - 🐞 修复 Menu 组件不支持
data-*属性的问题。#54393 @salihyavuz - 🐞 修复 Mentions 组件清除图标和反馈图标重叠的问题。#54390 @QdabuliuQ
- 🐞 Fix Tag
closeIconnot being passed correctly. #54370 @Meet-student - 🐞 Fix Splitter mask was not removed after dragging. #54320 @QdabuliuQ
- 🐞 Fix Modal configuration responsive
widthdid not take effect correctly. #54349 - 💄 Optimize the style issue when Notification
descriptionis empty. #54344 @dengfuping - 💄 Fix the border style issue when the FloatButton popup direction is horizontal and is
square. #54261 @WwwHhhYran - TypeScript
- 🐞 修复 Tag
closeIcon未正确传递的问题。#54370 @Meet-student - 🐞 修复 Splitter 蒙层拖拽后未被移除的问题。#54320 @QdabuliuQ
- 🐞 修复 Modal 配置响应式
width没有正确生效的问题。#54349 - 💄 优化 Notification
description为空时间距样式问题。#54344 @dengfuping - 💄 修复 FloatButton 弹出方向为水平方向为
square时的边框样式问题。#54261 @WwwHhhYran - TypeScript
- 🐞 Fix Radio.Group does not inherit
nameproperty problem from Form ancestor. #54206 @aojunhao123 - 🐞 Fix Select clear icon flickering on Safari with GPU compositing. #54237 @afc163
- 💄 Fix Cascader
font-weightwhen selected. #54251 @li-jia-nan - ⚡️ Optimize Table performance since copy logic for flatten data. #54288 @zhouxinyong
- 🐞 修复 Radio.Group 未从 Form 继承
name属性的问题。#54206 @aojunhao123 - 🐞 修复 Select 清除图标在 Safari 中闪动的问题。#54237 @afc163
- 💄 修复 Cascader 选中后的
font-weight设置值。#54251 @li-jia-nan - ⚡️ 优化 Table 数据展开时的拷贝逻辑以提升性能。#54288 @zhouxinyong
- 🐞 Fix InputNumber using
variant=underlinedandsuffixwill show the border radius issue. #54228 @kiner-tang - 🐞 Fix FloatButton.Group always throw the wrong warning of
shape. #54215 @deathemperor - 💄 Adjust Typography title using
fontWeightStrongtoken. #54185 @p-a - 🐞 Fix Tree.DirectoryTree dragging inidicator style issue. #54183 @uioonm
- TypeScript
- 🐞 修复 InputNumber 在
variant=underlined与suffix配合时,样式会出现圆角的问题。#54228 @kiner-tang - 🐞 修复 FloatButton.Group 总是错误的抛出
shape配置警告信息。#54215 @deathemperor - 💄 调整 Typography 标题使用
fontWeightStrongtoken。#54185 @p-a - 🐞 修复 Tree.DirectoryTree 拖拽样式指示器位置不正确的问题。#54183 @uioonm
- TypeScript
- 🐞 Fix Select multiple item max-width to prevent unexpected wrapping. #54181 @afc163
- 💄 Fix incorrect DatePicker small token. #53668 @765477020
- 🐞 Fix Error of not being able to control visibility through showZero when count is 0 #54156 @Meet-student
- 💄 Fix Tree/List/Table virtual scrollbar visibility in dark themes. #54155 @afc163
- 🐞 Fix Switch/Rate is not align centerly in Form.Item. #54106 @afc163
- TypeScript
- 🤖 Input: Fix TypeScript definitions for
classNamesandstylesprops to match documented API. #54162 @aojunhao123
- 🤖 Input: Fix TypeScript definitions for
- 🐞 修复多选 Select 在单条选中项文本超长时意外换行的问题。#54181 @afc163
- 💄 修复 DatePicker
size="small"时消费不正确 token 的问题。#53668 @765477020 - 🐞 修复 badge 组件当
count=0时无法通过showZero控制显隐错误。#54156 @Meet-student - 💄 修复 Tree/List/Table 等组件的虚拟滚动条样式在暗色主题下难以识别的问题。#54155 @afc163
- 🐞 修复 Form 下 Switch/Rate 组件没有居中对齐的问题。#54106 @afc163
- TypeScript
- 🤖 Input: 修复
classNames和styles属性的 TypeScript 类型定义,与文档 API 保持一致。#54162 @aojunhao123
- 🤖 Input: 修复
- 💄 Tweak Select selected item background in dark theme to make it easier to identify. #53956 @afc163
- ⌨️ Timeline now uses
olinstead ofulto meet HTML semantic requirements. #53944 @fnoopv - 🐞 Fix Drawer mask does not fade out when changing from true to false. #53955 @afc163
- 🐞 Fix Input.Search does not support
onPressEnter. #53898 @codingories - 🛠 Remove
!importantstyle syntax from Checkbox. #53953 @doandevhere - TypeScript
- 🤖 Fix Descriptions.Item
spanproperty type. #53913 @DDDDD12138
- 🤖 Fix Descriptions.Item
- 💄 调整 Select 选中项在暗色模式下的背景色,使其更容易识别。#53956 @afc163
- ⌨️ Timeline 使用
ol代替ul以符合 html 语义要求。#53944 @fnoopv - 🐞 修复 Drawer
mask从 true 改为 false 时没有渐出的问题。#53955 @afc163 - 🐞 修复 Input.Search 不支持
onPressEnter的问题。#53898 @codingories - 🛠 移除 Checkbox 的
!important样式语法。#53953 @doandevhere - TypeScript
- 🤖 修正 Descriptions.Item
span属性类型。#53913 @DDDDD12138
- 🤖 修正 Descriptions.Item
- 🐞 Fix Typography.Text
deleteproperty not updating. #53861 @codingories - 🐞 Fix the Statistic.Timer as a subcomponent of Tooltip could not display text prompts properly. #53888 @jin19980928
- 🐞 Fix the
stylesetting of the Upload component did not take effect in more types. #53877 @QuentinHsu - 💄 Fix the residual focus style after clicking Tabs. #53901
- 🐞 修复 Typography.Text
delete属性无法更新的问题。#53861 @codingories - 🐞 修复 Statistic.Timer 组件作为 Tooltip 的子组件无法正常展示文字提示的问题。#53888 @jin19980928
- 🐞 修复 Upload 组件在更多类型时
style设置未生效的问题。#53877 @QuentinHsu - 💄 修复 Tabs 点击后有残留 focus 样式的问题。#53901
- 🐞 Fix AutoComplete
onPasteevent callback not working problem on inside Input. #53839 @Wxh16144 - 🐞 Fix ColorPicker cannot input for hex value. #53814 @DDDDD12138
- 🐞 Fix Statistic.Timer ssr hydrate issue. #53817 @zombieJ
- 🐞 Fix Table header blink issue when sticky is enable. #53803 @afc163
- 💄 Fix Input.Search
variant="filled"broken UI. #53787 @afc163 - TypeScript
- 🔥 New component Statistic.Timer, supporting both counting up and down. #53401 @lcgash
- 🆕 Tour add
actionsRenderprop to custom action button. #53067 @dengfuping - 🆕 Add
sizeprop to Divider. #53570 @coding-ice - Collapse
- 🆕 Collapse add
borderlessContentPaddingcomponent token. #52858 @coding-ice - 🆕 Collapse add
borderlessContentBgcomponent token. #50902 @coding-ice
- 🆕 Collapse add
- 🆕 Upload supports paste upload via the
pastableproperty. #53463 @madocto - 🆕 AutoComplete component adds
popupsemantic node with support for customizing dropdown menu viaclassNames.popup,styles.popup,popupRenderandonPopupVisibleChange, while deprecating legacypopupClassName,dropdownClassName,dropdownStyle,dropdownRenderandonDropdownVisibleChangeAPIs. #53257 @aojunhao123 - 🆕 Cascader component adds
popupsemantic node, and deprecated some api. #53311 @aojunhao123 - 🆕 ConfigProvider support setting the
variantandcolorprops of Button. #53165 @yellowryan - 🆕 TreeSelect component adds
popupsemantic node, and deprecated some api. #53285 @aojunhao123 - 🆕 DatePicker and TimePicker add
popupsemantic node, and deprecated some api. #53718 @aojunhao123 - 🆕 Select component adds
popupsemantic node with support for customizing dropdown menu viaclassNames.popup,styles.popup,popupRenderandonPopupVisibleChange, while deprecating legacypopupClassName,dropdownClassName,dropdownStyle,dropdownRenderandonDropdownVisibleChangeAPIs. #53243 @aojunhao123 - 🆕 FloatButton supports
tooltipprops. #53138 @Wxh16144 - 🆕 Table
rowSelectionsupportalignprop. #53127 @zombieJ - 🆕
optionsprop of Radio.Group and Checkbox.Group supportclassNames. #52917 @li-jia-nan - ⚡️ Optimize ColorPicker components to use derived state pattern instead of setState in useEffect. #53701 @DDDDD12138
- 🐞 Fix Checkbox that render empty dom when
childrenisnull. #53723 @li-jia-nan - 🐞 Fix Anchor that would refresh the page after clicking the anchor point. #53687 @765477020
- Splitter
- 🐞 Fix Splitter that multiple calls to
onResizeEndin lazy mode. #53708 @wanpan11 - 🐞 Fix Splitter to use minimum value as fallback when historical value out of bound. #53703 @jjlstruggle
- 🐞 Fix Splitter that multiple calls to
- 💄 Fix Form that label is not middle align with input when not required and wrapped. #53552 @pre1ude
- 🐞 Fix Tabs card type height not working correctly when using
cardHeighttoken. #52837 @aojunhao123 - 🛠 MISC:Refactor compatible code, use standard web API first, and downgrade to deprecated API when not compatibale #53107 @li-jia-nan
- ⌨️ Opt Tour's
aria-*props. #53345 @kiner-tang - ⌨️ MISC: Optimized closable component's aria props. #53410 @kiner-tang
- 🗑 MISC: Deprecate
destory*of some components fordestroyOnHiddenprop。 #53739 @li-jia-nan - Dropdown
- 🗑 Deprecate
destroyPopupOnHideof Dropdown fordestroyOnClose. #53533 @li-jia-nan - 🗑 Deprecate
dropdownRenderof Dropdown forpopupRender#53263 @aojunhao123
- 🗑 Deprecate
- 🗑 Deprecated
dropdown*props in Cascader #53133 @aojunhao123 - 🇨🇿 Add cs_CZ locale for QRCode and ColorPicker. #53741 @malda26
- 🔥 新组件 Statistic.Timer,支持正计时和倒计时。#53401 @lcgash
- 🆕 Tour 新增
actionsRender属性,用于自定义操作按钮。#53067 @dengfuping - 🆕 Divider 组件新增
size属性。#53570 @coding-ice - Collapse
- 🆕 Collapse 增加
borderlessContentPadding组件 token。#52858 @coding-ice - 🆕 Collapse 增加
borderlessContentBg组件 token。#50902 @coding-ice
- 🆕 Collapse 增加
- 🆕 Upload 支持通过
pastable属性粘贴上传文件。#53463 @madocto - 🆕 AutoComplete 组件新增
popup语义节点,支持通过classNames.popup、styles.popup、popupRender和onPopupVisibleChange自定义弹出菜单,并废弃旧的popupClassName、dropdownClassName、dropdownStyle、dropdownRender和onDropdownVisibleChangeAPI。#53257 @aojunhao123 - 🆕 Cascader 组件新增
popup语义节点,并且废弃部分 props。#53311 @aojunhao123 - 🆕 ConfigProvider 支持设置 Button 的
variant和color属性。#53165 @yellowryan - 🆕 TreeSelect 组件新增
popup语义节点,并且废弃部分 props。#53285 @aojunhao123 - 🆕 DatePicker 和 TimePicker 组件新增
popup语义节点,并且废弃部分 props。#53718 @aojunhao123 - 🆕 Select 组件新增
popup语义节点,支持通过classNames.popup、styles.popup、popupRender和onPopupVisibleChange自定义弹出菜单,并废弃旧的popupClassName、dropdownClassName、dropdownStyle、dropdownRender和onDropdownVisibleChangeAPI。#53243 @aojunhao123 - 🆕 FloatButton 支持
tooltip属性。#53138 @Wxh16144 - 🆕 Table
rowSelection支持align属性用于定位。#53127 @zombieJ - 🆕 Radio.Group 和 Checkbox.Group 组件的
options属性支持传入className属性。#52917 @li-jia-nan - ⚡️ 优化 ColorPicker 组件,使用派生状态模式替代在 useEffect 中调用 setState。#53701 @DDDDD12138
- 🐞 修复 Checkbox 组件
children为null的时候渲染多余 dom 的问题。#53723 @li-jia-nan - 🐞 修复 Anchor 组件点击锚点会刷新页面的问题。#53687 @765477020
- Splitter
- 🐞 修复 Splitter 组件在 lazy 模式下
onResizeEnd被多次调用问题。#53708 @wanpan11 - 🐞 修复 Splitter 组件,当历史值超出范围时使用面板设置的最小值最为兜底值。#53703 @jjlstruggle
- 🐞 修复 Splitter 组件在 lazy 模式下
- 🐞 修复 Tabs 组件卡片类型页签在使用
cardHeighttoken 时高度设置不正确的问题。#52837 @aojunhao123 - 💄 修复 Form 组件中非必选的 label 换行不对齐的问题。#53552 @pre1ude
- 🛠 杂项:重构兼容逻辑,优先使用标准 Web API,不兼容的时候降级为废弃 API。#53107 @li-jia-nan
- ⌨️ 优化 Tour 的
aria-*属性。#53345 @kiner-tang - ⌨️ 杂项:优化可关闭组件的无障碍属性。#53410 @kiner-tang
- 🗑 杂项:废弃多个可开关组件的
destory*属性,统一为destroyOnHidden。 #53739 @li-jia-nan - Dropdown
- 🗑 废弃 Dropdown 组件的
destroyPopupOnHide,统一为destroyOnCloseAPI。#53533 @li-jia-nan - 🗑 废弃 Dropdown 中
dropdownRender属性,用popupRender替代。#53263 @aojunhao123
- 🗑 废弃 Dropdown 组件的
- 🗑 废弃 Cascader 组件的
dropdown*等属性。#53133 @aojunhao123 - 🇨🇿 添加 QRCode 和 ColorPicker 的捷克语(cs_CZ)支持。#53741 @malda26
- 🐞 Fix Splitter mask not hiding correctly in lazy mode. #53653 @wanpan11
- 🐞 Fix issue when modifying
offsetBottomandoffsetTopof the Affix does not take effect. #53607 @yellowryan - ⚡️ Fix Select keeps showing
clearIconwhen it has a value on mobile devices. #53576 @EmilyLiu - 🐞 Fix Slider formatter returns fixed content, Tooltip position abnormal after dragging. #53460 @EmilyyyLiu
- 🐞 Fix Tabs keyboard operation not working. #53692 @afc163
- RTL
- 💄 Fix counter element direction of Image in RTL mode. #53593 @aojunhao123
- 🐞 修复 Splitter 在
lazy模式下遮罩未能正确关闭的问题。#53653 @wanpan11 - 🐞 修复 Affix 在动态调整
offsetTop和offsetBottom属性值后固定效果失效的问题。#53607 @yellowryan - 💄 移动端场景下 Select 当有选中值时始终显示清除按钮。#53576 @EmilyyyLiu
- 🐞 修复 Slider 设置
formatter后,拖拽滑块导致 Tooltip 位置异常的问题。#53460 @EmilyyyLiu - 🐞 修复 Tabs 键盘操作失效的问题。#53692 @afc163
- RTL
- 💄 修复 Image 计数元素在 RTL 模式下的显示方向问题。#53593 @aojunhao123
- 🤖 Release llms.txt and llms-full.txt, help LLM or agent to access detailed information during inference.
- 🐞 Fix Tabs throwing
Maximum update depth exceedederror in some cases. #53521 @afc163 - Splitter
- 💄 Make Splitter collapse icon always visible on mobile devices. #53575 @EmilyyyLiu
- 🐞 Fix Splitter
onResizeEndcallback parameter not being the latest value in lazy mode. #53574 @wanpan11
- Input
- 🐞 Fix Input.TextArea height flickering during initialization. #53522 @Fang328
- 🐞 Fix Popover position misalignment when Input has suffix. #53475
- 🐞 Fix Input.OTP
maskattribute not working properly whentype="number". #53550 @rajankonar
- 🐞 Fix Breadcrumb.Item type not supporting
data-*andaria-*attributes. #53546 @John-Feola - 🐞 Fix Descriptions incorrect border radius styles when enable
borderedmode. #53538 @dengfuping - 🐞 Fix disabled state of operation buttons in UploadList when used within Form. #53504 @Wxh16144
- 🐞 MISC: Fix custom token
colorIconnot taking effect for some components. #53511 @dengfuping - 🐞 Fix message/notification runtime dynamic configuration changes not taking effect. #53579 @Wxh16144
- RTL
- 💄 Fix counter element direction of Image and Input.TextArea in RTL mode. #53530 @aojunhao123
- 💄 Fix incorrect direction of left and right switch icons in Image.PreviewGroup in RTL mode. #53525 @aojunhao123
- 🤖 发布 llms.txt 和 llms-full.txt,提供大模型友好的文本信息。
- 🐞 修复 Tabs 有时抛出
Maximum update depth exceeded错误的问题。#53521 @afc163 - Splitter
- 💄 Splitter 折叠图标在移动设备上将始终展示。#53575 @EmilyyyLiu
- 🐞 修复 Splitter 在 lazy 模式下
onResizeEnd回调参数不是最新值的问题。#53574 @wanpan11
- Input
- 🐞 修复 Input.TextArea 初始化时渲染高度闪烁问题。#53522 @Fang328
- 🐞 修复 Input 存在 suffix 的情况下 Popover 弹出位置错乱的问题。#53475
- 🐞 修复 Input.OTP
mask属性在type="number"时无法正常工作的问题。#53550 @rajankonar
- 🐞 修复 Breadcrumb.Item 类型不支持
data-*和aria-*属性的问题。#53546 @John-Feola - 🐞 修复 Descriptions 带边框模式下左上和左下圆角样式不正确的问题。#53538 @dengfuping
- 🐞 修复 UploadList 在 Form 中使用时操作按钮的禁用状态问题。#53504 @Wxh16144
- 🐞 MISC: 修复自定义 token
colorIcon对部分组件不生效的问题。#53511 @dengfuping - 🐞 修复 message/notification 运行时动态修改配置无法生效的问题。#53579 @Wxh16144
- RTL
- 💄 修复 Image 和 Input.TextArea 计数元素在 RTL 模式中的方向问题。#53530 @aojunhao123
- 💄 修复 Image.PreviewGroup 在 RTL 模式下左右切换图标方向不正确的问题。#53525 @aojunhao123
- 🐞 Fix Modal show loading with async call, still can close with click outer space. #53227 @jin19980928
- 🐞 Fix when Table
sizeissmall, the theme config will take effect on the sub Pagination. #52829 @Can-Chen
- 🐞 修复 Modal 通过异步方法显示 loading 态时,点击外侧仍能触发关闭的问题。#53227 @jin19980928
- 🐞 修复 Table 在
size为small时,主题配置 Pagination 无效的问题。#52829 @Can-Chen
- 🐞 Fixed the issue that the suffix of InputNumber moves left after the mouse enters when it is disabled. #53184 @yellowryan
- 💄 Fix Form syntax errors of style selector. #53236 @Wxh16144
- 💄 Refactor TextArea resize logic when set
resize: bothstyle to fit with React life cycle. #53235 @zombieJ - 🇮🇷 Add missing translations and fix typos for Farsi language (fa_IR). #53251 @AliReza-Kamkar
- 🐞 修复 InputNumber 在禁用状态下鼠标划入后
suffix出现左移的问题。#53184 @yellowryan - 💄 修复 Form 组件样式选择器语法错误。#53236 @Wxh16144
- 💄 重构 TextArea 对
resize: both时处理尺寸的逻辑以更符合 React 生命周期。#53235 @zombieJ - 🇮🇷 添加缺失的波斯语 (fa_IR) 翻译并修正拼写错误。#53251 @AliReza-Kamkar
- 🐞 Fix Input.TextArea width synchronization issue during resizing. #53024 @triyys
- 🐞 Fix Typography type color not follow
color[Status]Textinstead ofcolor[Status]. #53086 @zombieJ - 🐞 Fix Affix abnormal
onChangeevent behavior in React versions below 18. #53038 @waiter - 🐞 Fix Form
requiredMarknot working when component is false. #52950 @Wxh16144 - 🇹🇷 Add Turkish (tr_TR) localization support for the Tour component. #53117 @hakankosdag
- 🐞 修复 Input.TextArea 调整大小时宽度同步问题。#53024 @triyys
- 🐞 修复 Typography
type颜色没有跟随 tokencolor[Status]Text而是color[Status]的问题。#53086 @zombieJ - 🐞 修复 Affix 组件在 React 18 以下版本中
onChange参数值异常的问题。#53038 @waiter - 🐞 修复 Form
requiredMark在component=false时不起作用的问题。#52950 @Wxh16144 - 🇹🇷 新增 Tour 组件的土耳其语(tr_TR)本地化支持。#53117 @hakankosdag
- Input
- 💄 Fix DatePicker header buttons misalignment caused by unexpected spacing. #53007 @DDDDD12138
- 💄 Fix the text in AutoComplete was not centered when
size="large". #52819 @aojunhao123 - 🇩🇪 Add missing
de_DEtranslations for Transfer. #53047 @chrisinick
- Input
- 💄 修复 DatePicker 头部按钮意外间距导致的未对齐问题。#53007 @DDDDD12138
- 💄 修复 AutoComplete 在
size="large"时文字未居中对齐的问题。#52819 @aojunhao123 - 🇩🇪 完善
de_DETransfer 本地化. #53047 @chrisinick
- Input
- 🐞 Fix Input with component token
inputFontSizebreaks the height ofcontrolHeight. #52865 @zombieJ - 🐞 Fix Input.Search has a border that is not aligned with the bottom of the search button when configure
variableasunderlined. #52861 @ustcfury - 🛠 Improve Input.OTP logic for create default state. #52878 @Dandelion-F
- 🛠 Improve Input.OTP implementation for render separator. #52841 @li-jia-nan
- 🐞 Fix Input with component token
- Watermark
- 🐞 Fix Watermark may cause page unresponsive when re-rendering. #52897 @765477020
- 🆕 Improve Watermark rendering logic to avoid disable it via developer tools and
hiddenattribute. #52891 @arronlai
- 🐞 Fix DatePicker.RangePicker arrow position not correctly when sometime reopened. #52854 @zombieJ
- 🐞 Fix Layout.Sider content overflow issue when
collapsedWidth={0}. #52862 @afc163 - 🛠 Refactor Grid internal useBreakpoint logic to be same as other component, this will not affect usage. #52870 @zombieJ
- 💄 Fix Button styles for hyperlink mode. #52888 @DDDDD12138
- 💄 Fix Table sortable column headers could not wrap automatically. #52899 @765477020
- ⚡️ Improve Menu re-rendering performance when pass function to
expandIconproperty. #52863 @wanpan11 - ⚡️ Improve Carousel indicator animation performance. #52881 @li-jia-nan
- RTL
- 💄 Fix DatePicker wrong icon direction for RTL mode. #52896 @li-jia-nan
- 💄 Fix Dropdown wrong arrow direction of multi-level menu for RTL mode. #52885 @yellowryan
- Input
- 🐞 修复 Input 配置
inputFontSizecomponent token 时,controlHeight会不生效的问题。#52865 @zombieJ - 🐞 修复 Input.Search 在设置
variant为underlined时下边框与搜索按钮底部没对齐的问题。#52861 @ustcfury - 🛠 优化 Input.OTP 的默认状态创建逻辑。#52878 @Dandelion-F
- 🛠 优化 Input.OTP 的分隔符渲染实现。#52841 @li-jia-nan
- 🐞 修复 Input 配置
- Watermark
- 🐞 修复 Watermark 重新渲染时可能导致页面卡死的问题。#52897 @765477020
- 🆕 调整 Watermark 渲染逻辑,防止通过开发者工具添加
hidden属性来去掉水印。#52891 @arronlai
- 🐞 修复 DatePicker.RangePicker 在弹层重新打开的时候,有可能出现箭头位置不正确的问题。#52854 @zombieJ
- 🐞 修复 Layout.Sider 当
collapsedWidth={0}时的内容溢出的问题。#52862 @afc163 - 🛠 重构 Grid 内部响应式逻辑以复用其他组件类似的逻辑,该更新不会于使用上有所变化。#52870 @zombieJ
- 💄 修复 Button 超链接模式的样式。#52888 @DDDDD12138
- 💄 修复 Table 可排序列头不自动换行的问题。#52899 @765477020
- ⚡️ 优化 Menu 在
expandIcon属性传入函数时重新渲染的性能。#52863 @wanpan11 - ⚡️ 优化 Carousel 指示器的动画性能。#52881 @li-jia-nan
- RTL
- 💄 修复 DatePicker 在 RTL 模式下图标方向错误的问题。#52896 @li-jia-nan
- 💄 修复 Dropdown 在 RTL 模式下多级菜单箭头方向错误的问题。#52885 @yellowryan
- 🐞 Fix Button with
colorto beprimaryandvariantto betextorlinkwill not use correct color. #52812 @zombieJ - 💄 Fix Input.Group & Input.OTP style issues caused by undefined CSS variables. #52799 @afc163
- 🐞 Fix DatePicker with long content
prefixbreaks the layout. #52776 @guoyunhe - 🐞 Fix Table title missing
aria-labelwhen sorting. #52772 @mellis481 - 🐞 Fix Alert.ErrorBoundary type error when used as a JSX component with
@types/react@18.x. #52766 @afc163 - 💄 Fix Segmented
shapenot working withsize. #52757 @yellowryan
- 🐞 修复 Button 配置
color为primary并且variant为text或link时,没有取用正确的色板的问题。#52812 @zombieJ - 💄 修复 Input.Group 与 Input.OTP 由于 css 变量未定义导致样式异常的问题。#52799 @afc163
- 🐞 修复 DatePicker 的
prefix内容多时会换行的问题。#52776 @guoyunhe - 🐞 修复 Table 列标题在排序时丢失
aria-label的问题。#52772 @mellis481 - 🐞 修复 Alert.ErrorBoundary 在
@types/react@18.x中无法作为 JSX 组件使用的类型错误问题。#52766 @afc163 - 💄 修复 Segmented 设置
size时,shape不生效的问题。#52757 @yellowryan
- 🆕 Notification support
actionsprop and deprecatedbtnprop. #52703 @thinkasany - 🆕 Carousel support show dot duration. #52672 @yellowryan
- 🆕 Input.OTP support
separatorprop. #52668 @HaceraI - 🆕 Descriptions add
labelColorcomponent token. #52700 @guoyunhe - 🆕 Segmented supports
shape="round". #52685 @afc163 - 🆕 ConfigProvider support
variantfor Card. #52552 @thinkasany - 🆕 Progress/Step supports custom rounding with
roundingprop. #52017 @yanghoxom - 🆕 Divider
orientationsupportstartandend. #52567 @li-jia-nan - 🆕 Add
underlinedtovariantof Input, InputNumber, Mentions, Form, Select, Cascader, TreeSelect, DatePicker and TimePicker. #52546 @ustcfury - 🆕 ConfigProvider support global config of Modal
centered. #52343 @guoyunhe - 🆕 Add
labelclass name for Checkbox and Radio. #52322 @guoyunhe - 🐞 Fix Tooltip/Popover/Popconfirm/Dropdown misaligned popup positions with custom children in React 19. react-component/util#623 @zombieJ
- 🐞 Fix DatePicker.RangePicker arrow position when popup auto adjust position. #52719 @zombieJ
- 🐞 Update locale
filterCheckalltofilterCheckAll. #52517 @thinkasany - 🐞 Fix Form that
scrollToFieldandscrollToFirstErrorcannot focus components of antd. #52726 @Wxh16144 - 💄 Fix Button shadow color appearing awkward on dark backgrounds. #52701 @afc163
- 💄 Fixed the unnatural animation transition effect of Segmented component in dark mode. #52708 @yellowryan
- 💄 Separate style of Input and TextArea. #52570 @guoyunhe
- 💄 Fix Input and Select style issue under css var mode. #52554 @li-jia-nan
- ⌨️ Remove role="alert" from Form field error to improve screen reader experience. #52661 @mellis481
- ⌨️ Improve accessibility by adding localized labels for empty table header and panel buttons. #52689 @aojunhao123
- ⌨️ Improve Tabs accessibility by fixing error
Certain ARIA roles must contain particular children. #52677 @afc163 - ⌨️ Add screen reader support for Tooltip. #52293 @aojunhao123
- TypeScript
- 🆕 Notification 支持
actions属性并废弃btn属性。#52703 @thinkasany - 🆕 Carousel 支持展示指示点进度。#52672 @yellowryan
- 🆕 Input.OTP 支持
separator属性。#52668 @HaceraI - 🆕 Descriptions 增加
labelColor组件 token。#52700 @guoyunhe - 🆕 Segmented 支持
shape="round"的胶囊形状的样式。#52685 @afc163 - 🆕 ConfigProvider 支持 Card 组件的
variant配置。#52552 @thinkasany - 🆕 Progress/Step 支持使用
rounding属性自定义取整方法。#52017 @yanghoxom - 🆕 Divider 的
orientation属性支持start和end.#52567 @li-jia-nan - 🆕 为 Input、InputNumber、Mentions、Form、Select、Cascader、TreeSelect、DatePicker、TimePicker 组件的
variant添加underlined属性。#52546 @ustcfury - 🆕 ConfigProvider 支持 Modal
centered全局配置。#52343 @guoyunhe - 🆕 为 Checkbox 和 Radio 增加
label类名。#52322 @guoyunhe - 🐞 修复 Tooltip/Popover/Popconfirm/Dropdown 在 React 19 下 children 为自定义组件时弹层位置错乱的问题。react-component/util#623 @zombieJ
- 🐞 修复 DatePicker.RangePicker 弹出窗体自动调整位置时,面板的箭头位置不正确的问题。#52719 @zombieJ
- 🐞 修正 locale 中
filterCheckall为filterCheckAll。#52517 @thinkasany - 🐞 修复 Form
scrollToField和scrollToFirstError无法聚焦 antd 组件的问题。#52726 @Wxh16144 - 💄 修复 Button 预设值按钮的阴影色在暗色背景下显示突兀的问题。#52701 @afc163
- 💄 修复 Segmented 组件在暗黑模式下的动画过渡效果不自然的问题。#52708 @yellowryan
- 💄 拆分 Input 和 TextArea 样式。#52570 @guoyunhe
- 💄 修复 Input 和 Select 在 css var 模式下的样式问题。#52554 @li-jia-nan
- ⌨️ Form field error 移除 role="alert" 以提升可访问性。#52661 @mellis481
- ⌨️ 优化无障碍体验,为空表头和面板按钮添加本地化标签。#52689 @aojunhao123
- ⌨️ 优化 Tabs 组件的可访问性,修复
Certain ARIA roles must contain particular children的报错。#52677 @afc163 - ⌨️ 为 Tooltip 添加读屏器支持。#52293 @aojunhao123
- TypeScript
First release in the Year of the Snake, wishing you a prosperous start! 🐍
- 🐞 Fixed Pagination accessibility issue by supplementing missing ARIA attributes support. #52616 @aojunhao123
- 🐞 Added Input.TextArea component support in Space.Compact. #52639 @Can-Chen
- 🐞 Fixed Menu with
theme="dark"andmode="horizontal"identical text/background color issue. #52617 @afc163 - 🇦🇪 Add Tour Arabic translation. #52642 @Sagie501
- 🇮🇱 Add Tour Hebrew translation. #52641 @Sagie501
蛇年第一个版本,开工大吉!🐍
Last version of the Dragon Year, Happy Chinese New Year! 🐲
- ⌨️ MISC: Add accessibility tests for all component demos to ensure compliance with accessibility standards. Optimize accessibility support for some components, improving compatibility with screen readers and keyboard operations. #51372 @aojunhao123
- 🐞 MISC: Fix importing
antd/dist/reset.cssfile issue. #52559 @CaptainVolcom - 🐞 Fix Button throwing error when
loadingisnull. #52508 @li-jia-nan - 🐞 Fix Table last row border color transition issue. #52549 @DDDDD12138
- 💄 Fix Cascader checkbox cursor style in disabled state. #52539 @aojunhao123
- 💄 Fix ConfigProvider not correctly modifying icon style priority when StyleProvider configures
layer. #52533 @zombieJ - 🐞 Fix Layout sidebar toggle button style missing in non-cssVar mode. #52537 @afc163
- 🐞 Fix Tree checkbox cursor style in disabled state. #52525 @aojunhao123
- notification
- RTL
- 🐞 Fix Splitter abnormal collapse behavior in RTL mode. #52501 @aojunhao123
- 💄 Fix Spin style issue in RTL mode. #52538 @afc163
龙年最后一版,祝各位新春愉快!🐲
- ⌨️ MISC: 为所有组件的示例添加了可访问性测试,确保符合无障碍标准。并优化了部分组件的可访问性支持,改进了对屏幕阅读器和键盘操作的兼容性。#51372 @aojunhao123
- 🐞 MISC: 修复导入
antd/dist/reset.css文件的问题。#52559 @CaptainVolcom - 🐞 修复 Button
loading为null时抛错的问题。#52508 @li-jia-nan - 🐞 修复 Table 最后一行边框颜色过渡问题。#52549 @DDDDD12138
- 💄 修复 Cascader 组件禁用状态下复选框的鼠标指针样式问题。#52539 @aojunhao123
- 💄 修复 ConfigProvider 在 StyleProvider 配置
layer时不会正确修改图标对应样式优先级的问题。#52533 @zombieJ - 🐞 修复 Layout 切换侧边栏按钮在非 cssVar 模式下样式丢失的问题。. #52537 @afc163
- 🐞 修复 Tree 组件禁用状态下复选框的鼠标指针样式问题。#52525 @aojunhao123
- notification
- RTL
- 🐞 修复 Splitter 在 rtl 模式下折叠行为异常的问题。#52501 @aojunhao123
- 💄 修复 Spin 在 rtl 模式下的样式问题。#52538 @afc163
- 🐞 Fix Space.Compact throwing
Should not use more than one & in a selectorwarning. #52489 - 💄 Fix the Layout switching sidebar button style was lost. #52477
- 💄 Fix the scroll bar height is not 0 when the first row of the virtual scroll Table is collapsed. #52447 @LeeSSHH
- 💄 Fix the last item in Descriptions did not correctly fill the remaining space. #52410 @anyuxuan
- 💄 Fix extra margin for the last item in Radio. #52433
- 💄 Fix the Input/Mentions clear button padding was incorrect. #52407 @ustcfury
- 💄 Fix rounded corners of
addonAfterin Input compact mode. #52490 @DDDDD12138 - 💄 Fix Menu.Item links were still clickable and lacked disabled styles when in disabled state. #52402 @aojunhao123
- TypeScript
- 🤖 MISC: Optimize PurePanel to use React.ComponentType type. #52480
- 🤖 Fix missing token type for Skeleton and Rate. #52406 @coding-ice
- 🐞 修复 Space.Compact 抛出
Should not use more than one & in a selector警告信息的问题。#52489 - 💄 修复 Layout 切换侧边栏按钮样式丢失的问题。#52477
- 💄 修复 Table 收起虚拟滚动表格第一行时滚动条高度不为 0 的问题。#52447 @LeeSSHH
- 💄 修复 Descriptions 最后一项未正确填充满剩余空间的问题。#52410 @anyuxuan
- 💄 修复 Radio.Group 最后一项多余 margin 的问题。#52433
- 💄 修复 Input/Mentions 清除按钮 padding 不正确的问题。#52407 @ustcfury
- 💄 修复 Input 紧凑模式中
addonAfter的圆角问题。#52490 @DDDDD12138 - 💄 修复 Menu.Item 在禁用状态下链接仍可点击且缺少禁用样式的问题。#52402 @aojunhao123
- TypeScript
- 🤖 MISC: 优化 PurePanel 使用 React.ComponentType 类型。#52480
- 🤖 修复 Skeleton 和 Rate 缺失的 token 类型。#52406 @coding-ice
- 🆕 Add Tree leaf node className for differentiate node type. #52274 @EmilyyyLiu
- 🐞 Fix DatePicker switch buttons is not hidden when
superPrevIcon/superNextIcon/prevIcon/nextIconis null. #52327 @afc163 - 🐞 Fix Select throws
error not a valid selectorin Jest tests. #51844 @renovate - 🐞 Fix Layout.Sider under ConfigProvider directly, the
themenot working. #52302 @zombieJ - 🐞 Fix Splitter lost previous state when re-expanding. #52222 @jjlstruggle
- 🐞 Fix Table unexpected row selections when set
checkStrictlyto false in tree mode. #52338 @LeeSSHH - Button
- RTL
- 💄 Fix Collapse arrow direction in RTL mode. #52374 @aojunhao123
- 💄 Fix Layout.Sider arrow direction in RTL mode. #52374 @aojunhao123
- 🆕 新增 Tree 组件叶子节点的 className 用于区分节点类型。#52274 @EmilyyyLiu
- 🐞 修复 DatePicker
superPrevIcon/superNextIcon/prevIcon/nextIcon设置为 null 时切换按钮依旧存在的问题。#52327 @afc163 - 🐞 修复 Select 组件在 jest 测试中报错
not a valid selector的问题。#51844 @renovate - 🐞 修复 Layout.Sider 直接嵌套在 ConfigProvider 下时,
theme配置无效的问题。#52302 @zombieJ - 🐞 修复 Splitter 二次展开时丢失上一次状态的问题。#52222 @jjlstruggle
- 🐞 修复 Table 树形展示且设置
checkStrictly为 false 时,某些行被错误选中的问题。#52338 @LeeSSHH - Button
- RTL
- 💄 修复 Collapse 在 RTL 模式下的箭头方向。#52374 @aojunhao123
- 💄 修复 Layout.Sider 在 RTL 模式下的箭头方向。#52374 @aojunhao123
- 🔥 TreeSelect support
maxCountto limit the maximum number of selections. #51759 @aojunhao123 - 🔥 Modal
widthsupport responsive size. #51653 @zombieJ - 🔥 Splitter support
lazymode. #51557 @OysterD3 - 🔥 Button
colorsupport full color palette. #51550 @OysterD3 -
- 🆕 Button support
loadingIconto customize loading icon. #51758 @zhangchao-wooc - Menu
- 🆕 Semantic Props
- 🆕 ConfigProvider support Empty semantic props
classNamesandstyles. #52208 @thinkasany - 🆕 ConfigProvider support Popconfirm semantic props
classNamesandstyles. #52126 @thinkasany - 🆕 ConfigProvider support Popover semantic props
classNamesandstyles. #52110 @thinkasany - 🆕 ConfigProvider support Tooltip semantic props
classNamesandstyles. #51872 @thinkasany - 🆕 ConfigProvider support Descriptions semantic props
classNamesandstyles. #52120 @thinkasany - 🆕 ConfigProvider support Slider semantic props
classNamesandstyles. #52185 @thinkasany
- 🆕 ConfigProvider support Empty semantic props
- 🆕 Transfer support
showSearchconfigdefaultValue&placeholder. #52125 @EmilyyyLiu - 🆕 Calendar now supports
showWeekprop. #52072 @afc163 - 🆕 Mentions support
onPopupScrollprops. #51858 @OysterD3 - 🆕 Card support
bodyPaddingSM,headerPaddingSM,bodyPadding,headerPaddingcomponent token. #51762 @thinkasany - 🆕 ColorPicker
presetssupportkeyprop. #51794 @li-jia-nan - 🆕 Cascader support
optionSelectedColortoken. #51769 @thinkasany - Tree
- 🛠 Refactor Tree part code to Function Component for React 19 perf preparing. #52209 @li-jia-nan
- 💄 Optimize Tree
disabled&selectednode display style. #52173 @EmilyyyLiu
- 🐞 Fix Slider crash when
tipFormatteris undefined. #52184 @thinkasany - 🐞 Fix Layout.Sider
triggerstyle not correct. 46a8eff @Wxh16144 - Table
- 💄 Optimize Flex to always reset
margin&paddingfor customize component. #52170 @li-jia-nan - 🐞 Fix DatePicker.RangePicker
needConfirmsometime can switch panel without confirm. #52102 @Zyf665 - 💄 Optimize Collapse focus styles and items border radius. #52086 @aojunhao123
- ⌨️ Add Radio.Group default
nameprop to improve a11y. #52076 @aojunhao123 - ⌨️ Input.Search add
type=searchby default. #52083 @Kaikiat1126 - ⌨️ Improve Tabs focus style for keyboard operation. #52002 @aojunhao123
- Segmented
- ⌨️ Optimize Segmented focus style to improve a11y. #51934 @aojunhao123
- ⌨️ Segmented support
nameprop to improve a11y. #51725 @thinkasany
- 📦 MISC: Reduce bundle size by replacing
@ctrl/tinycolorwith@ant-design/fast-color. #52190 #52157 @aojunhao123 - ⌨️ Adjust Input, InputNumber, Mentions, Textarea clear icon from
spantobuttonto improve a11y. #52180 @li-jia-nan - 🐞 MISC: Fix build error when using React 19. #52168 @zombieJ
- TypeScript
- 🤖 Adjust Table
reftype to React.Ref. #52205 @li-jia-nan - 🤖 Calendar export CalendarMode type. #52160 @Kaikiat1126
- 🤖 Adjust Table
- 🔥 TreeSelect 新增
maxCount属性以限制最大选择数量。#51759 @aojunhao123 - 🔥 Modal
width支持响应式尺寸。#51653 @zombieJ - 🔥 Splitter 增加
lazy模式。#51557 @OysterD3 - 🔥 Button
color属性支持完整色板。#51550 @OysterD3 -
- 🆕 Button 组件新增
loadingIcon以自定义加载图标。#51758 @zhangchao-wooc - Menu
- 🆕 语义化
- 🆕 ConfigProvider 支持 Empty 组件语义化
classNames和styles。#52208 @thinkasany - 🆕 ConfigProvider 支持 Slider 组件语义化
classNames和styles。#52185 @thinkasany - 🆕 ConfigProvider 支持 Popconfirm 组件语义化
classNames和styles。#52126 @thinkasany - 🆕 ConfigProvider 支持 Popover 组件语义化
classNames和styles。#52110 @thinkasany - 🆕 ConfigProvider 支持 Tooltip 组件语义化
classNames和styles。#51872 @thinkasany - 🆕 ConfigProvider 支持 Descriptions 组件语义化
classNames和styles。#52120 @thinkasany
- 🆕 ConfigProvider 支持 Empty 组件语义化
- Tree
- 🛠 重构 Tree 部分代码为 Function Component 以为 React 19 做更好性能准备。#52209 @li-jia-nan
- 💄 优化 Tree
disabled与selected节点状态下的颜色展示。#52173 @EmilyyyLiu
- 🆕 Transfer 支持
showSearch配置defaultValue和placeholder。#52125 @EmilyyyLiu - 🆕 Calendar 支持
showWeek属性用于显示周数列。#52072 @afc163 - 🆕 Mentions 新增
onPopupScroll属性。#51858 @OysterD3 - 🆕 Card 增加
bodyPaddingSM、headerPaddingSM、bodyPadding、headerPadding组件 token。#51762 @thinkasany - 🆕 ColorPicker
presets支持传入key。#51794 @li-jia-nan - 🆕 Cascader 新增
optionSelectedColortoken。#51769 @thinkasany - 🐞 修复 Layout.Sider
trigger样式不正确的问题。46a8eff @Wxh16144 - Table
- 💄 优化 Flex 使其在自定义渲染组件时总是重置
margin、padding样式。#52170 @li-jia-nan - 🐞 修复 DatePicker.RangePicker
needConfirm模式偶尔在不确认仍然可以切换面板的问题。#52102 @Zyf665 - 🐞 修复 Slider 当
tipFormatter未定义时导致崩溃的问题。#52184 @thinkasany - 💄 优化 Collapse 聚焦样式以及折叠项圆角。#52086 @aojunhao123
- ⌨️ 为 Radio.Group 添加默认
name属性以提升无障碍体验。#52076 @aojunhao123 - ⌨️ Input.Search添加默认
type=search类型。#52083 @Kaikiat1126 - ⌨️ 优化 Tabs 键盘操作时的焦点样式。#52002 @aojunhao123
- Segmented
- ⌨️ 优化 Segmented 聚焦样式以提升无障碍体验。#51934 @aojunhao123
- ⌨️ Segmented 支持
name属性以提升无障碍体验。#51725 @thinkasany
- 📦 MISC: 用
@ant-design/fast-color替换@ctrl/tinycolor以降低打包体积。#52190 #52157 @aojunhao123 - ⌨️ 调整 Input、InputNumber、Mentions、Textarea 组件清除图标从
span元素更改为button元素,提高了可访问性和交互性。#52180 @li-jia-nan - 🐞 MISC: 修复 React 19 下构建报错的问题。#52168 @zombieJ
- TypeScript
- 🤖 调整 Table
ref类型为 React.Ref。#52205 @li-jia-nan - 🤖 Calendar 导出 CalendarMode 类型。#52160 @Kaikiat1126
- 🤖 调整 Table
- 🛠 Refactor Wave/Menu/Form
refcheck logic to resolve React 19refconflict (Note, this is not finally support React 19 but we will resolve step by step in future version). #51952 @zombieJ - 🐞 Fix Dropdown cannot accept ReactNode as
children. #50174 @coding-ice - 🐞 Fix Carousel cannot display correctly in Modal without icon. #51988 @quan060798
- 🐞 Fix Select label overflow issue. #52011 @OysterD3
- 🐞 Fix Form
setFieldValuenot reset field validation. #51993 @zombieJ - 🐞 Fix Pagination with setting
showSizeChanger.showSearchnot working. #51962 @zombieJ - 🇰🇷 Improve Korean locales for DatePicker. #51983 @DevLeti
- 🤖 Export
CheckboxChangeEventfrom antd. #52008 @SpecLad
- 🛠 重构 Wave/Menu/Form
ref检查逻辑以解决 React 19ref部分冲突(注:该更新不会完全解决 React 19 兼容问题,后续将会持续更新)。#51952 @zombieJ - 🐞 修复 Dropdown
children不支持传入 ReactNode 的问题。#50174 @coding-ice - 🐞 修复 Carousel 某些情况下在 Modal 中无法正确展示的问题。#51988 @quan060798
- 🐞 修复 Select 选中文本溢出的问题 。#52011 @OysterD3
- 🐞 修复 Form
setFieldValue没有重置字段校验信息的问题。#51993 @zombieJ - 🐞 修复 Pagination 配置
showSizeChanger.showSearch无效的问题。#51962 @zombieJ - 🇰🇷 优化 DatePicker 韩语本地化文案。#51983 @DevLeti
- 🤖 从 antd 里导出
CheckboxChangeEvent类型。#52008 @SpecLad
- Transfer
- 🐞 Fix the background overflow when Transfer selects the last item on the current page. #51884 @ayangweb
- 🐞 Fix Transfer toggle button being enabled when all items are disabled. #51784 @WwwHhhYran
- 🐞 Fix the arrow would be outside the container when the Tooltip content was too small. #51904
- 🐞 Fix where clicking the Radio or Checkbox under Upload would trigger the popup window twice. #51874
- 💄 Fix Menu icon alignment when using
collapsedIconSize. #51863 @Gnomeek - 💄 Fix incorrect styling of Tabs component when
type="editable-card". #51935 @aojunhao123 - 💄 Fix insufficient trigger style priority in Layout.Sider component in
zero-widthmode. #51936 @aojunhao123 - 💄 MISC: Fix the icon styles were created repeatedly. #51897 @YumoImer
- 💄 MISC: Inline styles refactored to cssinjs. #51843
- Transfer
- 🐞 修复 Transfer 选中当前页最后一项时背景溢出的问题。#51884 @ayangweb
- 🐞 修正 Transfer 切换按钮当所有 item 禁用时依然可用的问题。#51784 @WwwHhhYran
- 🐞 修复 Tooltip 内容过少时,箭头会在容器外的问题。#51904
- 🐞 修复点击 Upload 下的 Radio 或 Checkbox 会触发两次弹窗的问题。#51874
- 💄 修复 Menu 在使用
collapsedIconSize时图标对齐的问题。#51863 @Gnomeek - 💄 修复 Tabs 组件在
type="editable-card"时样式不正确的问题。#51935 @aojunhao123 - 💄 修复 Layout.Sider 组件在
zero-width模式下触发器样式优先级不足的问题。#51936 @aojunhao123 - 💄 MISC: 修复 icon 样式被重复创建的问题。#51897 @YumoImer
- 💄 MISC: 行内样式重构为 cssinjs。#51843
- 🐞 Fix Select clear button may has incorrect position within Form.item. #51649 @dislido
- 🐞 Fix InputNumber
handleVisibletoken not work as expected. #51728 @dengfuping - 🐞 Fix ColorPicker error when pass
ReactNodetolabelfield ofpresetsproperty. #51808 @li-jia-nan - 🐞 Fix Menu
inlineCollapsedproperty not works bug within Layout. #51775 @coderz-w - 🐞 Fix Table
onHeaderCellprovided partstylecan not override. #51793 @Wxh16144 - ⌨️ Improve Collapse accessibility. #51836 @aojunhao123
- TypeScript
- 🐞 修复 Select 清除按钮在 Form.Item 中位置可能错误的问题。#51649 @dislido
- 🐞 修复 InputNumber
handleVisibletoken 不生效的问题。#51728 @dengfuping - 🐞 修复 ColorPicker 的
presets属性中的label字段传入ReactNode会报错的问题。#51808 @li-jia-nan - 🐞 修复 Menu 的
inlineCollapsed属性在 Layout 中不生效的问题。#51775 @coderz-w - 🐞 修复 Table
onHeaderCell提供的style无法被覆盖的问题。#51793 @Wxh16144 - ⌨️ 优化 Collapse 组件的可访问性。#51836 @aojunhao123
- TypeScript
- 🐞 Fix Input.OTP focus from advancing when previous input is empty. #51664 @thecodesalim
- 🐞 Adjust Modal function call not to scroll the confirm button when it get auto focused. #51647 @zombieJ
- 🐞 Fix Form
ruleswith same error content will cause React render warning. #51636 @zombieJ - 🐞 Refactor Button
focuslogic trigger withuseEffectto resolve some async load case not getautoFocus. #51624 @zombieJ - 🐞 Fix Button custom icon not center-aligned. #51652 @afc163
- 🐞 Fix Table
getCheckboxPropsevent handlers being overridden by internal selection logic. #51661 @Zyf665 - 🐞 Fix Tree that
onCheckandonSelectwere not properly triggered. #51448 @Wxh16144 - 🌐 Localization
- 🇷🇺 Add support for Russian translation. #51619 @avvakumovid
- 🇮🇹 Add support for Italian translation in TimePicker. #51685 @LorenzoCardinali
- 🐞 修复 Input.OTP 组件在有非法输入时仍会切换到下一个输入框的问题。#51664 @thecodesalim
- 🐞 调整 Modal 确认函数,使其在弹出后聚焦确认按钮时不要滚动窗体。#51647 @zombieJ
- 🐞 修复 Form
rules生成多条相同错误时会报 React 渲染错误的问题。#51636 @zombieJ - 🐞 调整 Button 使用
useEffect来触发autoFocus逻辑,以解决一些异步渲染场景下 Button 无法自动聚焦的问题。#51624 @zombieJ - 🐞 修复 Button 中使用自定义三方图标库时图标未居中的问题。#51652 @afc163
- 🐞 修复 Table 组件
getCheckboxProps中的事件处理器被内部选择逻辑覆盖的问题。#51661 @Zyf665 - 🐞 修复 Tree 组件的
onCheck和onSelect事件没有被正确触发的问题。#51448 @Wxh16144 - 🌐 本地化
- 🇷🇺 添加了俄语翻译支持。#51619 @avvakumovid
- 🇮🇹 为 TimePicker 添加了意大利语翻译。#51685 @LorenzoCardinali
- 🛠 Adjust DatePicker.RangePicker to not allow switching to the next field by clicking the input when
needConfirmand the user has not submitted the date. #51591 @zombieJ - 🛠 Lock Input.OTP
ctrl + zoperation to avoid data not correct. #51609 @zombieJ - 🐞 Fix Select
tagsormultiplemode display issue. #51605 @guoyunhe - 🐞 Fix Badge
countmotion missing in Safari. #51598 @zombieJ - 🐞 Fix Tabs with
centeredthe tabs can not fully display. #51571 @DDDDD12138 - 🐞 Fix Transfer with controlled
dataSource&selectedKeyssometime miss sync checked state. #51523 @IsKaros - 🐞 Revert Button
displayinline-flexback toinline-blockto resolve Icon align issue. #51588 @Wxh16144
- 🛠 调整 DatePicker.RangePicker 当
needConfirm切用户未提交日期时,不允许通过点击输入框切换到下一个字段。#51591 @zombieJ - 🛠 禁用 Input.OTP
ctrl + z操作以防止数据变化非预期的问题。#51609 @zombieJ - 🐞 修复 Select 标签模式下展示异常的问题。#51605 @guoyunhe
- 🐞 修复 Badge
count在 Safari 下动画丢失的问题。#51598 @zombieJ - 🐞 修复 Tabs
centered下标签展示不全的问题。#51571 @DDDDD12138 - 🐞 修复 Transfer 受控
dataSource和selectedKeys时,偶尔会出现勾选不正确的问题。#51523 @IsKaros - 🐞 回滚 Button
display的inline-flex为inline-block以解决 Icon 位置偏移的问题。#51588 @Wxh16144
- Form
- 🆕 Form.Item supports hiding labels. #51524 @crazyair
- 🐞 Form removes the div used to expand the error height, wraps errorDom and extraDom with a div, and sets a minimum height for the div. #51254 @hongzzz
- 🐞 Fix the problem that
onValuesChangeis still triggered when the Form field triggers change but the value does not change. #51437 @crazyair - 🆕 Form supports the focus property in scrollToFirstError when form validation fails. #51231 @nathanlao
- Table
- 🆕 Table column filter drop-down box supports
filterDropdownProps. #51297 @Wxh16144 - 🆕 Table
expandedRowClassNamesupports string . #51067 @li-jia-nan
- 🆕 Table column filter drop-down box supports
- Tree
- DatePicker
- Input.OTP
- 🆕 In the
Input.OTPcomponent, addonInputevent to get the value of each user input. At the same time, the relevant documentation has been updated. #51289 @aojunhao123 - 🐞 Fixed the problem that Input.OTP cannot specify
inputMode. #51271 @alan-rudzinski
- 🆕 In the
- 🆕 ColorPicker supports
disabledFormat. #51539 @su-muzhi - 🆕 Add
cursorconfiguration item to thefocusmethod of InputNumber component to control the cursor position. #51444 @aojunhao123 - 🆕 Cascader adds
disabledattribute to disable all first-level directory items of the component. #51272 @aojunhao123 - 🆕 Descriptions supports single-line spreading. #51365 @crazyair
- 🆕 Select/TreeSelect/Cascader components add
prefixproperty to support custom prefix. #51186 @guoyunhe - 🐞 Fix the problem that the preview image class name is lost when setting
ImageProps.preview.rootClassNamein Image. #51538 @dislido - 🐞 Fixed the issue that the last item in the TimePicker panel column cannot be scrolled to the top. #51481 @zombieJ
- 🐞 Fix TreeSelect dropdown height not enough. #51567 @afc163
- 🐞 Fixed the issue that Typography is not updated immediately when the ConfigProvider language is switched. #51453 @thinkasany
- 🐞 Fixed the issue that Upload
itemRendercallingaction.previewwill cause a crash. #51419 @yoyo837 - 🐞 Fixed Splitter pseudo-element symbol issue. #51536 @dislido
- 💄 Optimize Collapse accessibility attribute and mouse hover style. #51400 @afc163
- 💄 Fix styling issue of Menu title content. #51425 @coding-ice
- 🇵🇹 Fix translation in Portuguese (pt_PT) localization file for better accuracy and consistency. #51501 @alexandre-p-marques-alb
- 🇺🇿 Optimize uz_UZ internationalization. #51407 @Zukhrik
- TypeScript
- Form
- Table
- 🆕 Table 列过滤下拉框支持
filterDropdownProps。#51297 @Wxh16144 - 🆕 Table
expandedRowClassName支持 string 。#51067 @li-jia-nan
- 🆕 Table 列过滤下拉框支持
- Tree
- DatePicker
- Input.OTP
- 🆕 Input.OTP 组件新增
onInput事件用于获取用户每一次输入的值。#51289 @aojunhao123 - 🐞 修复 Input.OTP 无法指定
inputMode的问题。#51271 @alan-rudzinski
- 🆕 Input.OTP 组件新增
- 🆕 ColorPicker 支持
disabledFormat属性以禁用格式切换器。#51539 @su-muzhi - 🆕 为 InputNumber 组件的
focus方法增加cursor配置项以控制光标位置。#51444 @aojunhao123 - 🆕 Cascader 新增
disabled属性以禁用组件的所有一级目录项。#51272 @aojunhao123 - 🆕 Descriptions 支持单行铺满。#51365 @crazyair
- 🆕 Select/TreeSelect/Cascader 组件增加
prefix属性以支持自定义前缀。#51186 @guoyunhe - 🐞 修复 Image 设置
ImageProps.preview.rootClassName导致预览图类名丢失。#51538 @dislido - 🐞 修复 TimePicker 面板列的最后一项无法滚动到最上面的问题。#51481 @zombieJ
- 🐞 修复 TreeSelect 弹层高度不够的问题。#51567 @afc163
- 🐞 修复 Typography 在 ConfigProvider 语言切换时候没有立即更新。#51453 @thinkasany
- 🐞 修复 Upload
itemRender调用action.preview会导致崩溃的问题。#51419 @yoyo837 - 🐞 修复 Splitter 伪元素符号问题。#51536 @dislido
- 💄 优化 Collapse 可访问性属性和鼠标 hover 样式。#51400 @afc163
- 💄 修复 Menu title 内容的样式问题。#51425 @coding-ice
- 🇵🇹 修正葡萄牙语 (pt_PT) 本地化文件中的翻译,以提高准确性和一致性。#51501 @alexandre-p-marques-alb
- 🇺🇿 优化 uz_UZ 国际化。#51407 @Zukhrik
- TypeScript
- 🐞 Fix Tree.DirectoryTree interactive area not being a whole row. #51210
- 🐞 Fix the Button icon was not vertically centered. #51381
- 🐞 Fix the pointer style not set to
not-allowedin thedisabledstate whenvariantof the Input was set toborderless. #51387 @ustcfury - Splitter
- 💄 Improve the pre-rendered style of Splitter under SSR. #51378
- 💄 Increased the click area of the Splitter collapse button to improve usability. #51383 @aojunhao123
- 💄 Improve Checkbox
indeterminateto enhance accessibility experience. #51350 @SpaNb4 - 💄 Improve the
titleof the Empty preset svg image to improve accessibility experience. #51368
- 🐞 修复 Tree.DirectoryTree 交互区域不是整行的问题。#51210
- 🐞 修复 Button 图标未垂直居中的问题。#51381
- 🐞 修复 Input 组件
variant设置borderless时,disabled状态下指针样式未设置not-allowed的问题。#51387 @ustcfury - Splitter
- 💄 优化 Splitter 在 SSR 下预渲染的样式。#51378
- 💄 增大 Splitter 折叠按钮点击区域,提高可用性。#51383 @aojunhao123
- 💄 优化 Checkbox
indeterminate提升无障碍体验。#51350 @SpaNb4 - 💄 优化 Empty 预设 svg 图片的
title提升无障碍体验。#51368
- 🐞 Fix Cascader filter limitation not working when
limitset tofalse. #51263 @dongbanban - 🐞 Fix DatePicker disabled items cannot response mouse events bug. #51294 @ajenkins-mparticle
- 🐞 Fix FloatButton menu problem what is difficult to click. #51208 @aojunhao123
- 🐞 Fix QRCode
onRefreshproperty not working properly. #51315 @kiner-tang - 🐞 Fix Typography links cannot be selected by user. #51243 @thinkasany
- 💄 Fix Badge incorrect token of texts. #51252 @Wxh16144
- 💄 Fix Layout lost styles of collapse button. #51313 @aojunhao123
- 🛠 Improve Button event handler declaration. #42037 @SohaibRaza
- 🛠 Improve Splitter style token semantic name. #51223 @wanpan11
- 🐞 修复 Cascader
limit属性设置false不生效的问题。#51263 @dongbanban - 🐞 修复 DatePicker 的禁用日期项无法响应鼠标事件的问题。#51294 @ajenkins-mparticle
- 🐞 修复 FloatButton 悬浮菜单难以点击的问题。#51208 @aojunhao123
- 🐞 修复 QRCode
onRefresh属性不生效的问题。#51315 @kiner-tang - 🐞 修复 Typography 中的超链接无法被用户选中的问题。#51243 @thinkasany
- 💄 修复 Badge 文本样式 token 不正确的问题。#51252 @Wxh16144
- 💄 修复 Layout 折叠按钮样式缺失的问题。#51313 @aojunhao123
- 🛠 优化 Button 事件处理器实现。#42037 @SohaibRaza
- 🛠 优化 Splitter 样式 token 的命名语义。#51223 @wanpan11
- 🐞 Fixed Input.Search not applying the
hoverBorderColor/activeBorderColortoken for hover/active states. #51226 @iqingting - 🐞 Fix Tree icon align issue. #51181 @Meowu
- 🐞 Fix Splitter occasionally shows unnecessary scrollbars in nested combinations. #51169 @zombieJ
- 💄 Modify Design Token
textHoverBghover background tocolorFillTertiary. #51187 @coding-ice - TypeScript
- 🤖 Improve type of Switch
eventHandler. #51165 @thinkasany
- 🤖 Improve type of Switch
- 🐞 修复 Input.Search 无法使用 Input Token
hoverBorderColor/activeBorderColor修改边框颜色的问题。#51226 @iqingting - 🐞 修复 Tree 的图标不对齐的问题。#51181 @Meowu
- 🐞 修复 Splitter 在嵌套组合时,偶尔会出现多余滚动条的问题。#51169 @zombieJ
- 💄 修改 Design Token 的
textHoverBg悬浮状态下的背景色为colorFillTertiary。#51187 @coding-ice - TypeScript
- 🤖 优化 Switch
eventHandler类型。#51165 @thinkasany
- 🤖 优化 Switch
- 💄 Added a scroll bar to Dropdown when having many items. #51112 @Cameron-Asdf
- Slider #51150 @yoyo837
- 🐞 Fix Slider issue where the
idprop is not supported. - 🐞 Fix Slider to address the issue causing
useLayoutEffect does nothing on the serverwarning whenextractStyleis invoked.
- 🐞 Fix Slider issue where the
- 🐞 Fix ColorPicker with gradient mode, sometimes handle color will be force sync back to first handle color issue. #51161 @zombieJ
- 🐞 Fix Table
onChangefunction receiving incorrect sorter value. #51114 @nathanlao - Splitter
- 🐞 Fix the issue about throw a warning when Splitter nested in a hidden tab panel. #51109 @kiner-tang
- 🐞 Fix the issue about Splitter had unexpected gaps in Flex. #51096 @kiner-tang
- 🐞 MISC: Restore
reactandreact-dompeerDependencies. #51079 @chentsulin - TypeScript
- 🤖 Improve type of Slider
eventName. #51156 @thinkasany
- 🤖 Improve type of Slider
- 💄 优化 Dropdown 列表较长时的滚动条样式。#51112 @Cameron-Asdf
- Slider #51150 @yoyo837
- 🐞 修复 Slider 不支持
id属性的问题。 - 🐞 修复 Slider 导致
extractStyle时抛出useLayoutEffect does nothing on the server警告信息的问题。
- 🐞 修复 Slider 不支持
- 🐞 修复 ColorPicker 渐变色时,部分节点颜色拖拽会被强制重置为第一个节点颜色的问题。#51161 @zombieJ
- 🐞 修复 Table 组件在切换页面时
onChange函数接收到错误的 sorter 值的问题。#51114 @nathanlao - Splitter
- 🐞 修复 Splitter 嵌套在一个隐藏的 Tabs 面板中时抛出警告的问题。#51109 @kiner-tang
- 🐞 修复 Splitter 组件在 Flex 组件下时出现异常间距的问题。#51096 @kiner-tang
- 🐞 杂项:重新将
react和react-dom添加进 peerDependencies。#51079 @chentsulin - TypeScript
- 🤖 优化 Slider
eventName类型。#51156 @thinkasany
- 🤖 优化 Slider
- 🐞 Revert #49221 to fix Typography
copyableicon align issue. #51066 @afc163 - 🐞 Fix Tabs flicker when browser zoom is enabled. #51072 @afc163
- 🐞 Fix Select incorrect
activeBorderColortoken when variant is filled. #51054 @coding-ice - 🐞 Fixed Input.Search alignment issue between the input field and search button at different zoom levels. #50926 @nathanlao
- 💄 MISC: Tweak outline width of focus style from
4pxto3px. #51069 @afc163 - Splitter
- ⚡️ Remove TransButton in Table/Transfer/Typography. #51068 @afc163
- 🐞 回滚 #49221 以修复 Typography
copyable图标位置偏上的问题。#51066 @afc163 - 🐞 修复 Tabs 在浏览器缩放时无限闪烁的问题。#51072 @afc163
- 🐞 修复了 Input.Search 组件中在不同缩放级别下输入框和按钮的对齐问题。#50926 @nathanlao
- 🐞 修复 Select
variant="filled"时activeBorderColortoken 失效的问题。#51054 @coding-ice - 💄 MISC: 调整 focus 时的 outline 边框宽度,从
4px调整到3px。#51069 @afc163 - Splitter
- 📦 移除 Table/Transfer/Typography 内的 TransButton 实现以降低打包体积。#51068 @afc163
- 🐞 Fix Button issue where
type="link"incorrectly usedcolorPrimary. #50962 @coding-ice - 🐞 Fix Button style class name weight issue that caused custom gradient styles to be overridden. #50962 @coding-ice
- 🐞 Fix Transfer width issue when customized as TableTransfer. #50974 @zombieJ
- 🇹🇷 Add Turkish text for
filterCheckallin Table component. #51000 @ytahirkose
- 🐞 修复 Button
type="link"错误使用colorPrimary的问题。#50962 @coding-ice - 🐞 修复 Button 样式类名权重问题导致的自定义渐变样式覆盖失效的问题。#50962 @coding-ice
- 💄 修复 Transfer 在自定义为 TableTransfer 时,宽度不正确的问题。#50974 @zombieJ
- 🇹🇷 补充 Table 组件
filterCheckall的土耳其语文案。#51000 @ytahirkose
- 🔥 Introduce the new Splitter component, draggale split panel. #50038 @wanpan11
- Button
- 🔥 Button supports
variantandcolorproperties for more combination styles. #50051 @coding-ice - 💄 Button adds
textColor,textHoverColorandtextActiveColortokens. #47870 @madocto
- 🔥 Button supports
- FloatButton
- 🆕 FloatButton supports
placementproperty, allowing menus to pop up from multiple directions. #50407 @li-jia-nan - 🆕 FloatButton supports
htmlTypeprop. #50892 @li-jia-nan - 💄 Unify FloatButton and FloatButton.Group button round style. #50513 @Layouwen
- 💄 Manage FloatButton's
z-indexwithuseZIndexto improve compatibility with other popup components. #50311 @li-jia-nan
- 🆕 FloatButton supports
- Menu
- 🆕 Menu.Item and Dropdown's
menusupportsextraprop now. #50431 @coding-ice - 🐞 Fix Menu
popupStylenot working on SubMenu. #50922 @Wxh16144
- 🆕 Menu.Item and Dropdown's
- Table
- 🆕 Table supports
minWidthfor columns. #50416 @linxianxi - 🐞 Fix Table empty and shadow issues in virtual mode. #50416 @linxianxi
- 🐞 Fix Table column selection issue where deselection was not possible under certain circumstances. #50746 @Jarryxin
- 🆕 Table supports
- Input
- 🆕 Input.OTP support
typeto help handle some case need number only. #50811 @zombieJ - 🐞 Fix Select inside Input addon text color when Select is focused. #50486 @DDDDD12138
- 🆕 Input.OTP support
- Modal
- Descriptions
- 🐞 Fix Descriptions column is missing in some cases. #50895 @yezhonghu0503
- 🐞 Revert #49946 to fix the issue where the popup layer component inside Descriptions is being cut off. #50891 @afc163
- Upload
- ColorPicker
- App
- 🐞 Fixed App warn about
zIndextoo large when using themodalwith having popup component method viauseApp. #50829 @zombieJ - 🐞 Fix App rtl style does not respect ConfigProvider direction prop. #50246 @li-jia-nan
- 🐞 Fixed App warn about
- Pagination
- Select
- 💄 Add more tokens for Select to customize hover/focus style. #50951 @kiner-tang
- 🐞 Fix Select search text overlap with arrow icon. #50917 @yezhonghu0503
- 🐞 Fix Select extra background of clear icon when enable
allowClearandvariant="filled". #50916 @thinkasany
- 🆕 Segmented adds
verticalproperty and improves accessibility. #50708 @liangchaofei - 🆕 Radio.Group supports
blockprop now. #50828 @yuanliu147 - 🆕 ConfigProvider supports configuring the
classNameandstyleproperties of the Splitter component. #50855 @li-jia-nan - 🆕 Image add
onActivetotoolbarRenderfor toggling images . #50812 @madocto - 🆕 Add ref on List component. #50772 @Asanio06
- 🆕 Collapse support
classNamesandstylesfor semantic style customization. #50557 @wanpan11 - 💄 Make Skeleton.Node custom node by remove it's default icon children. #50278 @afc163
- 🐞 Fix Layout.Sider can not modify theme when used alone. #50780 @zombieJ
- 🐞 Fix Typography
copyablewith arraychildrenhas additional,string issue. #50813 @zombieJ - 🐞 Fix Tour where long title will overlap with close button. #50942 @kiner-tang
- 🌐 Localization
- 🇯🇵 Added
ja_JPlocale for DatePicker'sshortWeekDaysandshortMonthstext. #50893 @harapeko - 🇪🇬 Added Arabic
ar_EGtext for Image preview feature. #50851 @nathanlao - 🇬🇷 Added Greek text for the Form component. #50825 @nathanlao
- 🇪🇸 Added Spanish
es_EStext for the Tour component. #50805 @thinkasany
- 🇯🇵 Added
- TypeScript
- 🤖 Checkbox adds onFocus
andonBlur` in type definition. #50842 @huiliangShen - 🤖 Fix Badge property type definition to support passing mouse events. #50774 @yuanliu147
- 🤖 Checkbox adds onFocus
- 🔥 全新 Splitter 区域分割组件,自由拖拽调整区域大小。#50038 @wanpan11
- Button
- 🔥 Button 支持
variant变体和color颜色属性,以支持更多组合样式。#50051 @coding-ice - 💄 Button 添加
textColor、textHoverColor和textActiveColor三个 token。#47870 @madocto
- 🔥 Button 支持
- FloatButton
- 🆕 FloatButton 组件支持
placement属性,支持从四个方向弹出菜单。(实现方式改为position: absolute+ flex 布局,可能会对你现有的布局造成 breaking change,请注意兼容)#50407 @li-jia-nan - 💄 统一 FloatButton 和 FloatButton.Group 的按钮圆角。#50513 @Layouwen
- 💄 FloatButton 组件的
z-index加入useZIndex管理,兼容弹层类组件。#50311 @li-jia-nan - 🆕 FloatButton 支持传入
htmlType属性。#50892 @li-jia-nan
- 🆕 FloatButton 组件支持
- Menu
- 🆕 Menu.Item 和 Dropdown 的 menu 支持
extra属性。#50431 @coding-ice - 🐞 修复 Menu
popupStyle在 SubMenu 上失效的问题。#50922 @Wxh16144
- 🆕 Menu.Item 和 Dropdown 的 menu 支持
- Table
- 🆕 Table 列支持配置
minWidth属性。#50416 @linxianxi - 🐞 修复 Table 虚拟表格下的空数据和阴影问题。#50416 @linxianxi
- 🐞 修复 Table 列选择在某些情况下无法取消选择的问题。#50746 @Jarryxin
- 🆕 Table 列支持配置
- Input
- 🆕 Input.OTP 添加
type属性以支持只需要输入数字的场景。#50811 @zombieJ - 🐞 修复 Input Addon 内 Select 选中时的文字颜色。#50486 @DDDDD12138
- 🆕 Input.OTP 添加
- Modal
- Descriptions
- 🐞 优化 Descriptions 在某些情况下列内容消失的问题。#50895 @yezhonghu0503
- 🐞 回滚 #49946 以修复 Descriptions 内弹层组件被截断的问题。#50891 @afc163
- Upload
- ColorPicker
- App
- 🐞 修复 App 的
useApp调用modal方法时,填入弹层组件会警告zIndex过大的问题。#50829 @zombieJ - 🐞 修复 App rtl 样式不遵守 ConfigProvider
direction配置。#50246 @li-jia-nan
- 🐞 修复 App 的
- Pagination
- Select
- 💄 Select 组件新增一些 token 以支持自定义 hover 和 focus 样式。#50951 @kiner-tang
- 🐞 修复 Select 搜索模式下搜索词内容覆盖右侧图标的问题。#50917 @yezhonghu0503
- 🐞 修复 Select 同时启用
allowClear和variant="filled"时清除图标多余的白色背景的问题。#50916 @thinkasany
- 🆕 Segmented 新增
vertical属性以支持垂直模式,并优化了可访问性。#50708 @liangchaofei - 🆕 Radio.Group 支持
block属性以撑满一行。#50828 @yuanliu147 - 🆕 ConfigProvider 支持配置 Splitter 组件的
className和style属性。#50855 @li-jia-nan - 🆕 Image 新增
onActive到toolbarRender以切换图片 。#50812 @madocto - 🆕 List 组件支持传递
ref属性。#50772 @Asanio06 - 🆕 Collapse 支持语义化
classNames和styles属性。#50557 @wanpan11 - 💄 移除 Skeleton.Node 默认的图标
children使其成为真正的自定义节点。#50278 @afc163 - 🐞 修复 Typography
copyable对数组children复制时会有额外,字符的问题。#50813 @zombieJ - 🐞 修复 Layout.Sider 单独使用时无法修改主题的问题。#50780 @zombieJ
- 🐞 修复 Tour 组件标题过长时会遮挡关闭按钮的问题。#50942 @kiner-tang
- 🌐 本地化
- 🇯🇵 补充 DatePicker
ja_JP语言环境的shortWeekDays和shortMonths文案。#50893 @harapeko - 🇪🇬 补充 Image 预览功能的
ar_EG阿拉伯语文案。#50851 @nathanlao - 🇬🇷 补充 Form 组件的希腊语文案。#50825 @nathanlao
- 🇪🇸 补充 Tour 组件的西班牙语文案。#50805 @thinkasany
- 🇯🇵 补充 DatePicker
- TypeScript
- 🤖 Checkbox 新增
onFocus和onBlur类型定义。#50842 @huiliangShen - 🤖 修复 Badge 属性类型定义不支持传递鼠标事件的问题。#50774 @yuanliu147
- 🤖 Checkbox 新增
- 🐞 Improve Menu collapse animation smoothness. #50751 @afc163
- 🐞 Fix Table cell overflow bug if edit with virtual scroll. #50737 @huiliangShen
- 🐞 Fix Input.Search button radius not changing with
size. #50734 @afc163 - 🐞 Fix Form password still can be toggle show/hide even if disabled. #50616 @Jarryxin
- 🐞 Revert #49899 to fix wrap behavior for Dropdown, and re-fix wrap when out of screen edge. #50718 @afc163
- 💄 Fix Badge background transition when mouse out. #50743 @coding-ice
- TypeScript
- 🤖 Fix Collapse types for
onChangearguments. #50754 @yuanliu147
- 🤖 Fix Collapse types for
- 🐞 修复 Menu 折叠动画不够丝滑的问题。#50751 @afc163
- 🐞 修复 Table 虚拟滚动时单元格宽度可能溢出的问题。#50737 @huiliangShen
- 🐞 修复 Input.Search 的按钮圆角不随
size变化的问题。#50734 @afc163 - 🐞 修复 Form 禁用时仍可切换密码显隐的问题。#50616 @Jarryxin
- 🐞 回滚 #49899 以修复 Dropdown 菜单项文字溢出菜单的问题,并重新修复屏幕视口外菜单项内容换行错误的问题。#50752 #50718 @afc163
- 💄 修复 Badge 鼠标移出时无背景色过渡动画的问题。#50743 @coding-ice
- TypeScript
- 🤖 修复 Collapse 的
onChange的函数入参类型。#50754 @yuanliu147
- 🤖 修复 Collapse 的
- 🛠 Adjust Tree & TreeSelect
defaultExpandAlllogic to only add internalexpandedKeyswhichtreeNodehas children instead to avoid perf issue when with large data orloadDatacase. #50689 @zombieJ - 🐞 Fix Cascader not show parent option in search when using
multiple. #50689 - 🐞 Fix Typography
ellipsis.tooltip.titlewith ReactNode will cause dead loop. #50688 @zombieJ
- Menu
- 🐞 Fix Menu token
itemPaddingInline inoperativenot working. #50663 @coding-ice - 🐞 Fix Menu missing
hovertransition style. #50624 @afc163
- 🐞 Fix Menu token
- 💄 Badge add transition effect to count node. #50607 @afc163
- 💄 Fix Table column header move with unexpected transition. #50605 @afc163
- 🛠 Refactor Typography code to optimize internal logic. #50561 @afc163
- 🐞 Disable the Rate component within Form.Item when the form is disabled. #50594 @nikzanda
- 🌐 Patch tr_TR
Transfer.deselectAlllocale. #50672 @coding-ice
- Menu
- 🐞 修复 Menu 的
itemPaddingInlinetoken 不生效的问题。#50663 @coding-ice - 🐞 修复 Menu
hover时背景色切换渐变效果丢失的问题。#50624 @afc163
- 🐞 修复 Menu 的
- 💄 给 Badge 增加一个动画缓动效果。#50607 @afc163
- 💄 修复 Table 列头切换状态时多余的的移动缓动动画。#50605 @afc163
- 🛠 重构 Typography 代码以优化内部实现逻辑。#50561 @afc163
- 🐞 当表单被禁用时,禁用 Form.Item 中的 Rate 组件。#50594 @nikzanda
- 🌐 补充土耳其
Transfer.deselectAll本地化文本。#50672 @coding-ice
- 🐞 Refactor Typography native css ellipsis measure logic to handle precision edge case. #50514 @zombieJ
- 🐞 Fix ColorPicker
onChangeCompletenot correct when click directly without move on the picker panel. #50501 @zombieJ - 🐞 Fix FloatButton.Group with controlled mode warning for nest updating issue. #50500 @zombieJ
- 💄 Fix the suffix style problem of InputNumber without control. #50450 @coding-ice
- 🆕 Form
rule.messagesupports skipping variable substitution through\\${}. #50412 @zombieJ - 🐞 Fixed the issue where the rounded corners of the trigger element are missing when the FloatButton component has shape="square" and in menu mode when the menu pops up. #50408 @li-jia-nan
- 🐞 Fixed the problem that Upload.Dragger does not work when dragging and dropping upload folders. #50394 @huiliangShen
- 🐞 Fixed the issue where the arrow icon disappears after hovering when Select specifies
getPopcontainer={node=node.parentNode}. #50382 @afc163 - 🐞 Fixed the arrow misalignment error when Popover sets the
arrow.pointAtCenterproperty. #50260 @Wxh16144 - 📖 Transfer adds Russian and Ukrainian localization copy. #50429 @alexlag
- TypeScript
- 💄 修复 InputNumber 没有控件的后缀样式问题。#50450 @coding-ice
- 🆕 Form
rule.message支持通过\\${}跳过变量替换。#50412 @zombieJ - 🐞 修复了 FloatButton 组件当 shape=“square” 时,并且在菜单模式下,菜单弹出时 trigger 元素圆角缺失的问题。#50408 @li-jia-nan
- 🐞 修复 Upload.Dragger 拖拽上传文件夹时不工作问题。#50394 @huiliangShen
- 🐞 修复 Select 指定
getPopcontainer={node=node.parentNode}时箭头图标 hover 后会消失的问题。#50382 @afc163 - 🐞 修复 Popover 设置
arrow.pointAtCenter属性时箭头未对齐错误。#50260 @Wxh16144 - 📖 Transfer 补充俄罗斯语和乌克兰语本地化文案。#50429 @alexlag
- TypeScript
- ColorPicker
- 💄 Fix Table
zIndexTableFixedtoken not support CSS var. #50355 @li-jia-nan - 🐞 Fix FloatButton don't support
zIndexPopupBasetoken. #50349 @Yuzu-io - 🐞 Fix Typography
tooltipnot show with precision issue ofellipsis. #50315 @zombieJ - 🐞 Fix Form
preserve={false}should not triggershouldUpdatererender. #50283 @zombieJ - 🐞 Fix Tour default
z-indexnot followzIndexPopuptoken issue. #50300 @zombieJ - 🐞 Fix Calendar
localeshould overridelocalefrom ConfigProvider. #50236 @Asanio06 - 🐞 Fix Spin align issue when setting
percent. #50277 @Wxh16144 - 🐞 Fix Tree switcher position not ping at top when title break the line. #50313 @zombieJ
- 🌐 Locales
- 🇦🇿 Fix missing spaces of
az_AZlocale. #50238 @thinkasany
- 🇦🇿 Fix missing spaces of
- TypeScript
- 🤖 Refine Table all Record types from any to Object. #50351 @li-jia-nan
- ColorPicker
- 💄 修复 Table
zIndexTableFixedtoken 不支持传入 CSS 变量的问题。#50355 @li-jia-nan - 🐞 修复 FloatButton 不支持
zIndexPopupBasetoken 的问题。#50349 @Yuzu-io - 🐞 修复 Typography 的
ellipsis因为精度问题导致tooltip无法显示的问题。#50315 @zombieJ - 🐞 修复 Form
preserve={false}会触发shouldUpdatererender 的问题。#50283 @zombieJ - 🐞 修复 Tour 默认
z-index没有使用zIndexPopuptoken 的问题。#50300 @zombieJ - 🐞 修复 Calendar
locale没有正确覆盖 ConfigProviderlocale的问题。#50236 @Asanio06 - 🐞 修复 Spin 组件设置
percent时未水平居中的问题。#50277 @Wxh16144 - 🐞 修复 Tree 展开按钮在标题折行时没有顶上对齐的问题。#50313 @zombieJ
- 🌐 本地化
- 🇦🇿 修复
az_AZ本地化文案缺少空格的问题。#50238 @thinkasany
- 🇦🇿 修复
- TypeScript
- 🤖 优化 Table 中所有的 Record 类型从 any 约束为 Object 类型。#50351 @li-jia-nan
- 🛠 Replace ColorPicker internal
@ctrl/tiny-colorwith@ant-design/fast-color. #49846 - 🆕 ConfigProvider support indicator property for Spin. #50183 @coding-ice
- 🆕 Upload
showUploadListsupportextrafor additional content. #50098 @guoyunhe - 🆕 Tree support custom loading icon for tree nodes with new prop
switcherLoadingIcon. #49716 @coding-ice - 🆕 Slider support
range.editableto dynamic add/remove handles. #49923 - 🆕 Slider
range.editablesupportminCountandmaxCount. #49987 - 🆕 Support custom status render in QRCode. #49563 @kiner-tang
- 🆕 Table component supports custom Filter dropdown box empty status. #49613 @Wxh16144
- 🆕 Allow user to add the Divider style of
dashed,dottedorsolid. #49654 @pinaki-08 - 🆕 InputNumber supports
suffixprop. #49674 @coding-ice - 🆕 ColorPicker support gradient color type and fix controlled mode not working. #50050
- 🆕 Input/TextArea/Mentions support
onClearprop. #49905 @li-jia-nan - ⌨️ Optimize Input be changed repeatedly when hold the enter key in multi-mode. rc-input#72 @crazyair
- 🐞 Fix the issue where line-height is not effective in cssinjs mode for ColorPicker. #50220 @vagusX
- 🐞 Fix cursor disabled state for ColorPicker. #50217 @coding-ice
- 🐞 Fix grouping columns does not apply sorting for Table. #50086 @Zyf665
- 🐞 Fix Popover/PopConfirm/Tooltip with
topLeft,topRight,bottomLeft,bottomRightzoom in transform origin not correct when target element width is too large. #50134 - 💄 Fix Tree filter node style lost. #49773 @wanpan11
- 💄 Optimize ColorPicker when selecting a color from the
transparentstate, it defaults to using a bright color instead of black color to enhance the user interaction experience. #50148 - TypeScript
- 🤖 Component Token support string and number. #49837 @thinkasany
- 🤖 Improve Radio export types. #50203 @baicie
- 🌐 Locales
- 🇪🇸 Improve Spanish translation. #50179 @sergioalmela
- 🇺🇦 Add missed translation in uk_UA. #50178 @Andrik264
- 🛠 替换 ColorPicker 内部使用的
@ctrl/tiny-color为@ant-design/fast-color。#49846 - 🆕 ConfigProvider 支持配置 Spin 的 indicator 属性。#50183 @coding-ice
- 🆕 Upload
showUploadList添加extra以支持渲染额外信息。#50098 @guoyunhe - 🆕 Tree 新增
switcherLoadingIcon属性以支持自定义树节点的加载图标#49716 @coding-ice - 🆕 Slider 支持
range.editable以动态添加/删除节点。#49923 - 🆕 Slider
range.editable支持minCount与maxCount以配置可编辑节点树。#49987 - 🆕 在 QRCode 中支持自定义状态渲染。#49563 @kiner-tang
- 🆕 Table 组件支持自定义过滤器下拉框空状态。 #49613 @Wxh16144
- 🆕 Divider 支持添加
dashed(虚线)、dotted(点线)或solid(实线)的样式。#49654 @pinaki-08 - 🆕 InputNumber 支持
suffix属性。#49674 @coding-ice - 🆕 ColorPicker 支持渐变色选择,并修复受控模式不生效的问题。#50050
- 🆕 Input/TextArea/Mentions 组件支持
onClear回调,便于区分点击 x 清除和手动清除这两个行为。#49905 @li-jia-nan - ⌨️ 优化 Input 下长按回车会不断触发变更的问题。rc-input#72 @crazyair
- 🐞 修复 ColorPicker 在 cssinjs 模式下 line-height 失效的问题。#50220 @vagusX
- 🐞 修复 ColorPicker 在 disabled 状态下的光标问题. #50217 @coding-ice
- 🐞 修复 Table 中列存在分组时,排序不生效的问题。#50086 @Zyf665
- 🐞 修复 Popover/PopConfirm/Tooltip 在目标元素宽度过大时,使用
topLeft,topRight,bottomLeft,bottomRight的弹出动画起始缩放中心有所偏移的问题。#50134 - 💄 修复 Tree 组件 filter-node 节点高亮样式丢失。#49773 @wanpan11
- 💄 优化 ColorPicker 当从
transparent状态进行颜色选取时,默认使用亮色以代替原本的纯黑色以提升用户交互体验。#50148 - TypeScript
- 🤖 Component Token 支持 string 或 number。#49837 @thinkasany
- 🤖 改进 Radio 类型导出。#50203 @baicie
- 🌐 Locales
- 🇪🇸 改进西班牙语本地化文案。#50179 @sergioalmela
- 🇺🇦 补全
uk_UA本地化文案。#50178 @Andrik264
- 🐞 Fix the internal elements of Form.Item did not inherit the row height. #50020 @Wanpan
- 🐞 Fix Overlay is still displayed when both Popover
titleandcontentdo not exist. #50064 @LLmoskk - 🐞 Fix the Token of Empty setting
opacityImagedoes not take effect. #50066 @thinkasany - 💄 Fix Tour overflowed the screen on mobile devices. #50082
- 💄 Fix hover style of Checkbox
indeterminatestate. #50083 - 💄 Fix DatePicker selection style is not intuitive under rtl. #50045 @Layouwen
- 💄 Fix Descriptions overflowing the container in
borderedmode. #49946 @leefinder - 🛠 MISC: Migrate common style tools to
@ant-design/cssinjs-utils. #50030 @YumoImer - 🌐 Locales
- 🇵🇱 Add DatePicker locales for pl_PL. #50023 @ang33l
- 🇧🇪🇫🇷 Add Modal Tour locales for fr_BE fr_FR. #50058 @JaccoGoris
- 🐞 修复 Form.Item 内部元素没有继承行高的问题。#50020 @Wanpan
- 🐞 修复 Popover
title和content都不存在时 Overlay 仍显示的问题。#50064 @LLmoskk - 🐞 修复 Empty Token 设置
opacityImage不生效的问题。#50066 @thinkasany - 💄 修复 Tour 在移动端下溢出屏幕的问题。#50082
- 💄 修复 Checkbox
indeterminate状态的 hover 样式。#50083 - 💄 修复 DatePicker 在 rtl 下选择样式不符直觉。#50045 @Layouwen
- 💄 修复 Descriptions 在
bordered模式下溢出容器的问题。#49946 @leefinder - 🛠 MISC:将通用样式工具迁移到
@ant-design/cssinjs-utils。#50030 @YumoImer - 🌐 国际化
- 🇵🇱 为 pl_PL 补充 DatePicker 国际化。#50023 @ang33l
- 🇧🇪🇫🇷 为 fr_BE fr_FR 补充 Modal Tour 国际化。#50058 @JaccoGoris
- 🐞 Fix Table sorter argument of
onChangewith unexpected value. #49533 @Zyf665 - 🐞 Fix Pagination
token.itemBgnot working. #49933 - 🐞 Fix List wrong align style of pagination. #49925 @coding-ice
- 🐞 Fix Image cannot exit preview, when click blank area on both sides of aciton bar. #49915 @wanpan11
- 🐞 Fix Card border radius cannot works for non-img elements from
coverproperty. #49862 @coding-ice - 💄 Fix Dropdown menu item wrong wrap style at edge of viewport. #49899
- 💄 Fix Descriptions items may too close with each other. #49895 @crazyair
- ⌨️ Optimize Select be changed repeatedly when hold the enter key in multi-mode. #49963 @crazyair
- 🇪🇬 Add missing translation for the Arabic language(Egypt) (ar_EG). #49852 @ahmedsamirdev
- TypeScript
- 🐞 修复 Table 的
onChange事件中排序器参数错误的问题。#49533 @Zyf665 - 🐞 修复 Pagination
token.itemBg设置不生效的问题。#49933 - 🐞 修复 List 默认分页位置错误的问题。#49925 @coding-ice
- 🐞 修复 Image 预览操作栏两侧空白区域被点击时,无法关闭预览的问题。#49915 @wanpan11
- 🐞 修复 Card 圆角对
cover属性中的非 img 元素不生效的问题。#49862 @coding-ice - 💄 修复 Dropdown 菜单内容在视口边缘换行的问题。#49899
- 💄 修复 Descriptions 子项之间可能没有边距的问题。#49895 @crazyair
- ⌨️ 优化 Select 多选模式下长按回车会不断触发变更的问题。#49963 @crazyair
- 🇪🇬 添加阿拉伯文(埃及) (ar_EG) 的翻译。#49852 @ahmedsamirdev
- TypeScript
- 🐞 Fix List render
0whenactions={[]}. #49842 @int64ago - 🐞 Fix Upload with dragging upload, the
fileListinbeforeUploadis not fully filled. #49832 @coderz-w - Descriptions
- 🐞 Fix Descriptions overlap when content is too long. #49803 @coding-ice
- 🐞 Fix Descriptions render style issue when under Table
expandedRowRender. #49727 @ljw-codeking
- 🐞 Fix Spin style issue when use
percentandsizeat same time. #49876 - 🇮🇳 Fill DatePicker
kn_INmissing locales. #49860 @neerajap-01 - Typescript
- 🐞 修复 List
actions为空数组时会渲染0的问题。#49842 @int64ago - 🐞 修复 Upload 拖拽上传文件夹时,
beforeUpload中fileList不完整的问题。#49832 @coderz-w - Descriptions
- 🐞 修复 Descriptions 在内容过长时会遮盖后面内容的问题。#49803 @coding-ice
- 🐞 修复 Descriptions 在 Table
expandedRowRender中渲染样式异常的问题。#49727 @ljw-codeking
- 🐞 修复 Spin
percent和size一同使用时,样式不正确的问题。#49876 - 🇮🇳 补充 DatePicker 的
kn_IN本地化文案。#49860 @neerajap-01 - Typescript
- 🐞 Global: @ant-design/colors use pre-compiled color presets to improve runtime performance. #49714 @guoyunhe
- 🐞 Global: No more limit max auto
zIndexincrease but use warning instead. #49720 - 🐞 Adjust position of Input.TextArea to be consistent with other data entry components. #49718 @wanpan11
- 🐞 Fix Input variant
filledactiveBorderColortoken invalid. #49699 @wanpan11 - TypeScript
- 🆕 ConfigProvider now supports global configuration for
variant. #49535 @MadCcc - QRCode
- QRCode uses
rc-qrcodeinstead ofqrcode.react. #49454 @kiner-tang - QRCode adding support for click events and
iconSizeconfiguration. #49240 @thinkasany
- QRCode uses
- 🆕 Select component's
filterSortproperty now includessearchValueparameter. #49352 @MadCcc - 🆕 Pagination adds
simpleproperty, supports read-only mode, and introducesalignproperty. #49562 @coding-ice - 🐞 Enhanced Anchor's
affixproperty for more configuration options. #49295 @gin-lsl - DatePicker
- 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with
placementset totopRightorbottomRight.#49333 - 🐞 Fixed missing accessible text for DatePicker switch button, style issue in RTL mode for
DatePicker.RangePicker, and crash when entering wrong end value in year selection of DatePicker.RangePicker.#49333 - 🐞 Fixed DatePicker.RangePicker resetting selected dates when entering dates via keyboard. #49333
- 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with
- 🐞 Button fixed
disabledproperty not working when used asDropdowntrigger. #47363 - 🐞 InputNumber now warns when using
type=numberwithchangeOnWheel. #49648 @wanpan11 - Table
- 🐞 Upload fixed rendering performance issue when listing many files in list mode. #49598 @tlkv
- 💄 Added initial styles for
SubMenunode in Menu. #49643 @wanpan11 - 💄 Improved active style for Slider handle. #49630
- 💄 Optimized
variant=borderlessstyle for DatePicker, TimePicker, Select, TreeSelect, Input, InputNumber, Mentions, now distinguishable when settingstatusproperty. #49608 - 🐞 Fixed Typography
ellipsisnot working when parent hasnowrapstyle. #49667 - TypeScript:
- 🌐 Locales
- 🇹🇭 Added missing Thai translations for
Transfer.deselectAll,Text.collapse,QRCode.scanned,ColorPicker.presetEmpty. #49588 by @Tantatorn-dev - 🇳🇱 Fixed nl_NL localization issues for Tour. #49612 by @Hannnnnnnnnnnnnnnn
- 🇹🇷 Adjusted Turkish language text for
DatePicker. #49333
- 🇹🇭 Added missing Thai translations for
- 🆕 ConfigProvider 现支持全局配置
variant。#49535 @MadCcc - 🆕 QRCode
- QRCode 使用
rc-qrcode替代了qrcode.react。#49454 @kiner-tang - QRCode 新增支持点击事件和
iconSize宽高配置。#49240 @thinkasany
- QRCode 使用
- 🆕 Select 组件的
filterSort属性现新增获取searchValue的参数。#49352 @MadCcc - 🆕 Pagination 支持
simple={{ readOnly }}属性和align属性。#49562 @coding-ice - 💄 优化了 Slider 滑块的激活样式。#49630
- 🐞 增强了 Anchor 的
affix属性,支持更多配置项。#49295 @gin-lsl - DatePicker
- 🐞 Button 修复了用作 Dropdown
trigger时disabled属性不生效的问题。#47363 - 🐞 InputNumber 在同时使用
type=number和changeOnWheel时现在会给出警告提示。#49648 @wanpan11 - 🐞 修复 Dropdown 次级菜单 reset 样式丢失的问题。#49643 @wanpan11
- 💄 优化了 DatePicker、TimePicker、Select、TreeSelect、Input、InputNumber、Mentions 的
variant="borderless"样式,现在在设置status属性时也能够被区分。#49608 - Table
- 🐞 Upload 修复了在列表模式下文件过多时出现的渲染性能问题。#49598 @tlkv
- 🐞 Typography 修复在父元素存在
nowrap样式时,ellipsis不生效的问题。#49667 - TypeScript:
- 🌐 国际化
- 🇹🇭 添加了缺失的泰语翻译,包括
Transfer.deselectAll、Text.collapse、QRCode.scanned、ColorPicker.presetEmpty。#49588 @Tantatorn-dev - 🇳🇱 Tour 修复了 nl_NL 本地化问题。#49612 @Hannnnnnnnnnnnnnnn
- 🇹🇷 调整了 DatePicker 的土耳其语言文案。#49333
- 🇹🇭 添加了缺失的泰语翻译,包括
- 🐞 Fix the bug where the icon and the text aren't strictly centered in message. #49429 @nova1751
- 🐞 Fix Table sorter argument of
onChangewith unexpected value for #49134. #49289 @Zyf665 - 🐞 Add
aria-labelfor expand icon in Collapse. #49395 @wanpan11 - 🐞 Fix token
inputFontSizeSMandinputFontSizeLGnot working in InputNumber. #49369 - 💄 Fix Empty sometimes doesn't take
colorTextDescriptionas description text color. #49408 - 💄 Resolve Badge
processingstatus style conflict with Tailwind CSS. #49379 - 🌐 Locales
- 🇲🇳 Add missing translations for Mongol language (mn_MN). #49373 @JiyinShao
- 🐞 修复了 message 图标与文本内容没有严格居中对齐的问题。#49429 @nova1751
- 🐞 修复 #49134 #49289 中提到的 Table 组件的
onChange事件中排序器参数的问题。@Zyf665 - 🐞 为 Collapse 组件中展开/折叠图标 添加具有语义的
aria-label属性值。#49395 @wanpan11 - 🐞 修复 InputNumber 组件中 token
inputFontSizeSM和inputFontSizeLG不生效的问题。#49369 - 💄 修复 Empty 部分样式下,描述的
colorTextDescription不生效的问题。#49408 - 💄 解决 Badge
processing与 Tailwind CSS 样式冲突的问题。#49379 - 🌐 国际化
- 🇲🇳 添加蒙古语言 (mn_MN) 翻译。#49373 @JiyinShao
- Typography
- 🐞 Fix Space
sizesetting to 0 did not take effect. #49192 @coding-ice - 🐞 Fix
paddingof Progress text is invalid in cssinjs. #49250 @vagusX - 🐞 Fix Modal close button's
zIndexbeing incorrect incssVarmode. #49238 - 🐞 Fix Image
widthheightbeing applied to preview images. #49259 @nova1751 - 🐞 Fix the icon of the Pagination page switcher disappears when hovering. #49262
- 🐞 Fix Mentions not responding to Enter event when
loading=true. #49292 @wanpan11 - 🐞 Fix Notification did not inherit App config properties. #49339 @hemengke1997
- 💄 Fix the text color of Drawer was incorrect in dark mode. #49217
- 💄 Fix the style was not visible and the
percentprogress was not passed when customizing theindicatorof Spin. #49211 @wanpan11 - DatePicker
- TypeScript
- 🤖 Mentions added new export type
MentionsProps. #49281 @thinkasany - 🤖 Remove duplicate union type from Statistic. #49218 @thinkasany
- 🤖 Mentions added new export type
- 🌐 Locales
- 🇲🇾 Add Table、Form、Tour etc. ms_MY locale. #49353 @cs-gavin-huang
- 🇦🇿 Add DatePicker az_AZ locale. #49247 @sabitalizade
- Typography
- 🐞 修复 Space
size设置 0 不生效的问题。#49192 @coding-ice - 🐞 修复 Progress 文本的 padding 在 cssinjs 下单位失效问题。#49250 @vagusX
- 🐞 修复 Modal 关闭按钮的
zIndex在cssVar模式下不正确的问题。#49238 - 🐞 修复 Image
widthheight被应用到预览图片上的问题。#49259 @nova1751 - 🐞 修复 Pagination 页码切换器 hover 时图标消失的问题。#49262
- 🐞 修复 Mentions 当
loading=true时不响应 Enter 事件的问题。#49292 @wanpan11 - 🐞 修复 Notification 没有继承 App config 属性的问题。#49339 @hemengke1997
- 💄 修复 Drawer 在暗黑模式下,文本颜色不正确的问题。#49217
- 💄 修复 Spin 自定义
indicator时,样式不可见以及percent进度没有传递的问题。#49211 @wanpan11 - DatePicker
- TypeScript
- 🤖 Mentions 新增导出类型
MentionsProps。#49281 @thinkasany - 🤖 移除 Statistic 重复的联合类型。#49218 @thinkasany
- 🤖 Mentions 新增导出类型
- 🌐 国际化
- 🇲🇾 补充 Table、Form、Tour 等 ms_MY 文案。#49353 @cs-gavin-huang
- 🇦🇿 补充 DatePicker az_AZ 文案。#49247 @sabitalizade
- 🛎 Fix Button icon and text align issue by changing
inline-blocktoinline-flexand simplifyiconPositionimplementation. #47318 - Drawer
- 🆕 Drawer add
drawerRenderproperty to control render. #49125 @crazyair - 🛠 Drawer loading implementation changes to Skeleton from Spin. #48886 @li-jia-nan
- 🆕 Drawer add
- Form
- Image
- 🆕 Image add
onResetandonCloseproperties. #48936 @kiner-tang - 🆕 Image supports get
imgInfofrom arguments oftoolbarRenderandimageRenderrender functions. #48729 @nova1751
- 🆕 Image add
- notification
- Progress
- 🆕 Progress add
percentPositionproperty to control position for percent value. #48157 @LonelySnowman - 🆕 Progress
sizeproperty supports object value. #48805 @crazyair
- 🆕 Progress add
- 🆕 Avatar.Group add
maxproperty for replacemaxCount、maxStyle、maxPopoverPlacementandmaxPopoverTriggerproperties. #49131 @wanpan11 - 🆕 Modal add
loadingproperty to show the skeleton. #48848 @li-jia-nan - 🆕 Rate add
keyboardproperty to ignore keyboard events. #49132 @Wxh16144 - 🆕 Spin support
percentto render as progress. #48657 - 🐞 Watermark add
overflow: hiddenstyle to prevent setheight: 0to hide the watermark case. #49130 - 🐞 Anchor fix scroll animation lost bug when set
replaceproperty. #49136 @mySkey - 🐞 Tour fix
currentargument ofonCloseis wrong. #49124 - 💄 List.Item add
stylesandclassNameproperties. #49154 @wanpan11 - 🇯🇵 DatePicker add missing ja_JP translations. #49155 @huyikai
- 🛠 Simplify several logics and type definitions. #49146 #49156 #49169 #49162 @coding-ice
- 🛎 Button 默认布局由
inline-block切换为inline-flex以修复图标和文字对齐问题,并简化了iconPosition的实现。#47318 - Drawer
- 🆕 Drawer 新增
drawerRender属性以支持自定义渲染。#49125 @crazyair - 🛠 Drawer 加载中的状态实现由 Spin 替换为 Skeleton。#48886 @li-jia-nan
- 🆕 Drawer 新增
- Form
- Image
- 🆕 Image 新增
onReset和onClose属性。#48936 @kiner-tang - 🆕 Image 的
toolbarRender和imageRender渲染函数入参新增ImgInfo信息。#48729 @nova1751
- 🆕 Image 新增
- notification
- Progress
- 🆕 Progress 新增
percentPosition属性用于控制数值位置。#48157 @LonelySnowman - 🆕 Progress 的
size属性支持配置为对象值。#48805 @crazyair
- 🆕 Progress 新增
- 🆕 Avatar.Group 新增
max属性以替代maxCount、maxStyle、maxPopoverPlacement和maxPopoverTrigger。#49131 @wanpan11 - 🆕 Modal 新增
loading属性以展示加载中的状态。#48848 @li-jia-nan - 🆕 Rate 新增
keyboard属性以支持禁用键盘事件。#49132 @Wxh16144 - 🆕 Spin 支持
percent属性以进度形态展示。#48657 - 🐞 Watermark 添加
overflow: hidden样式以防止通过设置height: 0样式达到隐藏水印的效果。#49130 - 🐞 Anchor 修复设置
replace属性时滚动动画丢失的问题。#49136 @mySkey - 🐞 Tour 修复
onClose的current参数错误的问题。#49124 - 💄 List.Item 增加
styles及classNames属性。#49154 @wanpan11 - 🇯🇵 DatePicker 补充 ja_JP 本地化文案。#49155 @huyikai
- 🛠 精简数处判断逻辑及类型定义。#49146 #49156 #49169 #49162 @coding-ice
- 🐞 Fix Modal with
confirmwould not close correctly when returningtrueinonOkoronCancel. #49054 @wanpan11 - 🐞 Fix Carousel was warned about having non-standard DOM attributes by React. #49031
- 🐞 Fix Form prop of
scrollToFirstErrornot working for InputNumber. #48989 @Wxh16144 - TypeScript
- 🐞 Optimize the internal logic of the Form, fix the problem that antd takes too long time to build in Next.js. react-component/async-validator#9
- 🐞 Fix visually not centered when Tooltip content is only one character. #48890 @kiner-tang
- Button
- 🐞 Fix hover and active styles not differentiating when Button
type="text"andtype="danger"are used together. #48876 @LonelySnowman
- 🐞 Fix hover and active styles not differentiating when Button
- Fix issue where some components throw findDOMNode warnings
- 💄 Add className to internal component Spin given by Drawer to prevent internal Spin styles from overriding user-passed Spin styles. #48857 @li-jia-nan
- 💄 Fix missing bottom border when Card
size="small". #48787 @wanpan11 - 🐞 Fix AutoComplete
tagRendernot working for maxTag and clicking on an edge triggering unexpected closure of the layer. #48798 - RTL
- 💄 Fix Button's missing icon order and margins under RTL. #48821
- TypeScript
- 🐞 优化 Form 组件底层逻辑,修复了 antd 在 Next.js 中构建时间太长的问题。react-component/async-validator#9
- 🐞 修复 Tooltip 内容只有一个字符时视觉不居中的问题。#48890 @kiner-tang
- Button
- 🐞 修复 Button
type="text"和type="danger"同时使用时 hover 和 active 样式没有区分的问题。#48876 @LonelySnowman
- 🐞 修复 Button
- 修复部分组件抛出 findDOMNode 警告的问题
- 💄 给 Drawer 的内部组件 Spin 添加 className,防止内部 Spin 样式覆盖用户传入的 Spin 样式。#48857 @li-jia-nan
- 💄 修复 Card
size="small"时下边框丢失的问题。#48787 @wanpan11 - 🐞 AutoComplete 修复
tagRender对 maxTag 无效的问题和点击边缘会触发弹层意外关闭的问题。#48798 - RTL
- 💄 修复 Button 在 RTL 下的图标顺序和边距缺失问题。#48821
- TypeScript
- 🔥🔥🔥
@ant-design/cssinjsStyleProvider supports configuringlayerto unified downgrade CSS priority. After the downgrade, the style of antd will always be lower than the default CSS selector priority, so that users can override the style (please be sure to check the browser compatibility of @layer), see full documentation for usage. #48229 - 🆕 Carousel supports
arrowsto switching between slides now. #48542 - Form
- Typography
- DatePicker
- Drawer
- 🆕 Drawer supports
loadingprop now. #48563 @Enigama - 🐞 Fix Drawer
classNames.wrappernot working. #48721 @replygirl
- 🆕 Drawer supports
- Slider
- Button
- 🆕 Button add
iconPositionprop to specify icon position. #47791 @GeorgeHcc - 🆕 Button supports
autoInsertSpaceprop. #48348 @li-jia-nan
- 🆕 Button add
- 🆕 ConfigProvider supports
button.autoInsertSpaceprop and deprecatedautoInsertSpaceInButtonprop. #48348 @li-jia-nan - 🆕 TreeSelect supports
onPopScrollprop now. #48636 @wanpan11 - 🆕 Tabs supports
more={{ .. }}to customize more dropdown. #48321 @CooperHash - 🆕 Flex
wrapcould be boolean type now. #48391 @li-jia-nan - 🆕 Input.OTP supports
maskprop. #48257 @li-jia-nan - 🆕 Alert supports
idandrefprops. #48336 @li-jia-nan - 🆕 Upload supports
ref.nativeElenent. #48210 @Wxh16144 - 🐞 Fix List would not rerender when
gridchanged. #48683 @coderz-w - 🐞 Fix QRCode size cannot fit it's container and remove default padding of
bordered={false}. #48194 @thinkasany - 🐞 Fix Table shadow should be show when there are columns where
fixed={false}. #1113 @linxianxi - 🐞 Fix Progress tooltip wrong distance. #48686
- 📖 Table add column-drag sorting demo. #48434 @GeorgeHcc
- TypeScript
- Locales
- 🇯🇵 Fix missing Japanese locale translation. #48704 @edikurniawan-dev
- 🇮🇩 Fix missing Indonesian locale translation. #48703 @edikurniawan-dev
- 🔥🔥🔥
@ant-design/cssinjsStyleProvider 支持配置layer统一降级 默认 CSS 优先级。经过降权后,antd 的样式将始终低于默认的 CSS 选择器优先级,以便于用户进行样式覆盖(请务必注意检查 @layer 浏览器兼容性),详情可见文档。#48229 - 🆕 Carousel 现在支持
arrows来开启箭头切换功能。#48542 - Form
- Typography
- DatePicker
- Drawer
- 🆕 Drawer 新增
loading属性。#48563 @Enigama - 🐞 修复 Drawer 不支持
classNames.wrapper的问题。#48721 @replygirl
- 🆕 Drawer 新增
- Slider
- Button
- 🆕 Button 新增
iconPosition以指定预置图标位置。#47791 @GeorgeHcc - 🆕 Button 组件支持
autoInsertSpace属性,用来移除两个汉字之间的空格。#48348 @li-jia-nan
- 🆕 Button 新增
- 🆕 ConfigProvider 组件支持
button.autoInsertSpace属性并废弃autoInsertSpaceInButton属性。#48348 @li-jia-nan - 🆕 TreeSelect 支持
onPopScroll属性。#48636 @wanpan11 - 🆕 Tabs 新增
more={{ ... }}属性以支持自定义下拉菜单的属性。#48321 @CooperHash - 🆕 Flex 组件
wrap参数支持 boolean 类型。#48391 @li-jia-nan - 🆕 Input.OTP 组件支持
mask属性,以自定义遮罩字符。#48257 @li-jia-nan - 🆕 Alert 组件支持
id和ref属性。#48336 @li-jia-nan - 🆕 Upload 组件
ref.nativeElenent以支持访问原生元素。#48210 @Wxh16144 - 🐞 修复 List
grid属性值更新后组件未重新渲染的问题。#48683 @coderz-w - 🐞 修复 Progress tooltip 提示距离太近的问题。#48686
- 🐞 修复 QRCode 无法自适应容器大小的问题并移除
bordered={false}时的默认边距。#48194 @thinkasany - 🐞 修复 Table 组件设置
fixed={false}时的某些特殊情况下未正常显示投影的问题。#1113 @linxianxi - 📖 添加 Table 表格列拖拽排序演示。#48434 @GeorgeHcc
- TypeScript
- 本地化
- 🇯🇵 补充日语本地化文案。#48704 @edikurniawan-dev
- 🇮🇩 补充印尼语本地化文案。#48703 @edikurniawan-dev
- 🐞 Fix Transfer component issue when trying to select item from the right column while it has "unknown-key" within targetKeys. #48664 @andreyk1512
- 🐞 Fix Steps custom icon not vertically centered error. #48650 @ZinkWu
- 🐞 Fix Badge number centered but slightly right-aligned. #48605 @akinocccc
- 🐞 Fix Popover and Popconfirm blinking when open on the right edge of screen. #48591
- 🐞 Fix ColorPicker that cleared icon should change when initial value is
undefined. #48584 @MadCcc - 💄 Fix Collapse bottom border issue. #48561 @hamzaseif13
- 💄 Adjust Input border style in form validation when disabled. #48616 @nova1751
- TypeScript
- 🤖 Add missing generic type of Upload prop. #48614 @li-jia-nan
- 🤖 Fix missing generic type of Upload
customRequestprop. #48612 @jas0ncn
- Locales
- 🐞 修复 Transfer 组件在 targetKeys 中含有 "unknown-key" 时,尝试从右侧列选中单项的问题。#48664 @andreyk1512
- 🐞 修复 Steps 自定义图标未垂直居中问题。#48650 @ZinkWu
- 🐞 修复 Badge 数字居中偏右的问题。#48605 @akinocccc
- 🐞 修复 Popover 和 Popconfirm 在屏幕右侧边缘闪烁的问题。#48591
- 🐞 修复 ColorPicker 在初始未受控时清除图标不会改变的问题。#48584 @MadCcc
- 💄 修复 Collapse 组件底部边框样式问题。#48561 @hamzaseif13
- 💄 调整 Input 组件在禁用的时候在表单校验时的边框颜色。#48616 @nova1751
- TypeScript
- 🤖 补充 Upload 组件缺失的泛型。#48614 @li-jia-nan
- 🤖 修复 Upload
customRequest参数丢失泛型的问题。#48612 @jas0ncn
- 国际化
- 🐞 Fix Select with
multipleandpaddingXXS=0will break the height align ofcontrolHeighttoken. #48574 - 🐞 Fix Upload miss style when enable CSS Variable. #48569 @nova1751
- 🐞 Fix Slider in
rangetooltip blink when drag the handle over another one. #48536 - Input
- 🐞 Fix the text of the button is not the large size when Input.Search is set to a large size. #48527
- 🐞 Fix abnormal text display in Input.TextArea. #48489 @korkt-kim
- 🐞 Fix the stuck animation effect of the Upload component image. #48522 @nova1751
- 🐞 Fix the issue where the Switch component using
checkedChildrenandunCheckedChildrendid not add a default height. #48513 @wanpan11 - 🐞 Fix the warning reminder when Form.Item uses noStyle with no value. #48508
- 🐞 Fix Popover
defaultOpensetting failed. #48481 @linhf123 - 🐞 Fix where
placeholderis not displayed when DatePicker is configured withmultiple. #48387 @nova1751 - 🐞 Fix where ColorPicker clear color could not be changed when controlled in strict mode. #48450
- 💄 Fix the arrow style issue when Collapse uses third-party icons. #48417 @guoyunhe
- 💄 Optimize the animation effect of the embedded Menu Sider when it is expanded. #48127 @metouch
- 💄 Optimize Steps process style. #48464
- Locales
- 🇨🇳 Add zh_CN zh_HK zh_TW Table licales. #48543 @thinkasany
- 🇮🇩 Add id_ID DatePicker Form Table etc. locales. #48537 #48287 @edikurniawan-dev
- 🌐 Optimize Transfer localization to use
deselectAlllocale when need deselect all. #48553 @coderz-w
- 🐞 修复 Select 配置
paddingXXS=0时,多选下超出设定的controlHeighttoken 的问题。#48574 - 🐞 修复 Upload 在开启 CSS Variable 时样式丢失的问题。#48569 @nova1751
- 🐞 修复 Slider 在范围选择下,拖动滑块越过另一个滑块时提示框闪动的问题。#48536
- Input
- 🐞 修复 Input.Search 设置大尺寸时,按钮的文字不是大尺寸的问题。#48527
- 🐞 修复 Input.TextArea 的文字显示异常问题。#48489 @korkt-kim
- 🐞 修复 Upload 组件图片卡顿的动画效果。#48522 @nova1751
- 🐞 修复 Switch 组件使用
checkedChildrenunCheckedChildren未添加默认高度的问题。#48513 @wanpan11 - 🐞 修复 Form.Item 使用 noStyle 无值时的警告提醒。#48508
- 🐞 修复 Popover
defaultOpen设置失效的问题。#48481 @linhf123 - 🐞 修复 DatePicker 配置
multiple时placeholder不展示的问题。#48387 @nova1751 - 🐞 修复 ColorPicker 在严格模式下受控时清除颜色无法改变的问题。#48450
- 💄 修复 Collapse 使用第三方图标时的 arrow 样式问题。#48417 @guoyunhe
- 💄 优化内嵌 Menu 的 Sider 在展开时的动画效果。#48127 @metouch
- 💄 优化 Steps process 样式。#48464
- 国际化
- 🇨🇳 补充 zh_CN zh_HK zh_TW Table 文案。#48543 @thinkasany
- 🇮🇩 补充 id_ID DatePicker Form Table 等文案。#48537 #48287 @edikurniawan-dev
- 🌐 优化 Transfer 本地化,现在反选会使用
deselectAlllocale 配置。#48553 @coderz-w
- 🛠 Script failed to publish an empty package. Do not use this version.
- 🛠 脚本错误发布空包,请勿使用。
- 🐞 Fix Input.OTP controlled
valueto''not work as expect. #48399 - 🐞 Fix DatePicker of
multiplewith week picker not show the selection on the panel. #48355 - 🐞 Fix Upload
listTypewithpicture-cardorpicture-circlehas additional space on top. #48370 - Typography
- 🐞 Fix Typography dynamic set
copyableoreditablewill not show the operation button. #48350 - 🐞 Fix Typography dynamic update
copyable.textnot working. #48347 - 🐞 Fix Typography using
ellipsisconfig withexpandable="collapsible"androw={1}at both time will make ellipsis not working as expect. #48340
- 🐞 Fix Typography dynamic set
- 💄 Fix Steps in compact theme not show the correct progress style. #48251
- 💄 Refactor Tabs and wave-related components CSS duration values with
motionDurationSlowComponent Token. #48311 #48312 @li-jia-nan - 🇯🇵 Add Transfer missing ja_JP translations. #48411 @Inshiku-Han
- 🌐 Fix Picker ja-JP and ko-KR translations. #48382 @li-jia-nan
- 🛠 Use constant instead of enumeration to reduce package size. #48406 @kiner-tang
- 🐞 修复 Input.OTP 组件受控设置
value为''时不生效的问题。#48399 - 🐞 修复 DatePicker 对周选择器配置
multiple多选时,弹出面板不会正确高亮选中项的问题。#48355 - 🐞 修复 Upload 配置
listType为picture-card或picture-circle时,上方有额外空隙的问题。#48370 - Typography
- 💄 修复 Steps 的进度样式在紧凑模式下不正确的问题。#48251
- 💄 重构 Tabs 和波纹样式相关组件的 CSS 过渡时间值,替换为
motionDurationSlowComponent Token。#48311 #48312 @li-jia-nan - 🇯🇵 补充 Transfer 的 ja_JP 本地化文案。#48411 @Inshiku-Han
- 🌐 修复 Picker 的 ja_JP 和 ko_KR 本地化文案。#48382 @li-jia-nan
- 🛠 使用常量替代枚举减小包体积。#48406 @kiner-tang
- 🛠 Adjust Typography
ellipsislogic to use CSS ellipsis in SSR to enhance user experience. #48205 - 🐞 Fix FloatButton config
tooltipandbadgeat same time will makebadgecustomize background not working. #48198 @LonelySnowman
- 🛠 调整 Typography 的
ellipsis使其在 SSR 阶段使用 CSS 省略以优化用户体验。#48205 - 🐞 修复 FloatButton 中同时配置
tooltip和badge时,badge的自定义背景色会失效的问题。#48198 @LonelySnowman
- 🔥 New component Input.OTP support. #48076
- 🆕 Tag support
aria-*in closable. #47678 @kiner-tang - 🆕 Table add
rowHoverableto control hover effect. #48112 @madocto - 🆕 Typography support async copy. #48123 @crazyair
- 🆕 Progress support
stepswithcircle. #47940 @yykoypj - 🆕 Table support
onScrollevent for table body scroll. #47986 - 🆕 Typography ellipsis supports expand and collapse. #47264 @crazyair
- 🆕 ConfigProvider support configuring FloatButton.Group
closeIcon. #47953 @li-jia-nan - 🆕 Table support
sorterTooltipTargetprop for sorters. #47409 @Ke1sy - 🆕 Cascader support
optionRender. #47727 @crazyair - 🆕 Notification support
aria-*inclosable. #47710 @kiner-tang - ⌨️ Popover can be closed by ESC when trigger is
focusorclick. #47928 @CooperHash - 🐞 Fix Button that vertically center icons when icon-only. #48178 @momesana
- 🐞 Fix Modal.confirm content is not centered when icon is null. #48173
- Form #48163 @madocto
- 🐞 1. Fix Form
getValuePropsshouldn't work when FormItem'snamedoesn't exist . - 🐞 2. Fix Form's
setFieldsValueshould tread same assetFields.
- 🐞 1. Fix Form
- 🐞 Fixe Table that internationalization of table columns fails when searching. #48126 @LingJinT
- 🐞 Fix Upload that
onChangeshould be triggered whenfileList.lengthis larger thanmaxCount. #47747 @Zhou-Bill - 🐞 Fix Carousel several bugs by upgrading react-slick changes and renewing TS type. #48093
- 🐞 Fix ColorPicker that displayed cleared color not change after
valuechanged. #47816 @MadCcc - 🐞 Make Badge consistent with Tag that applay
colorInfotoken in processing. #47695 @pfdgithub - 🌐 Add missing form translations in is_IS. #48104 @LonelySnowman
- 🌐 Add Uzbek(latn) locale. #47899
- TypeScript
- 🔥 新增 Input.OTP 组件。#48076
- 🆕 Tag 组件支持在
closable中配置 aria 属性。#47678 @kiner-tang - 🆕 Table 增加
rowHoverable开启或关闭 hover 效果。#48112 @madocto - 🆕 Typography 组件支持异步复制。#48123 @crazyair
- 🆕 Progress 组件
circle模式下支持steps。#47940 @yykoypj - 🆕 Table 支持
onScroll事件用于监听表单内容滚动。#47986 - 🆕 Typography 省略支持展开和收起。#47264 @crazyair
- 🆕 ConfigProvider 支持配置 FloatButton.Group 的
closeIcon属性。#47953 @li-jia-nan - 🆕 Table 支持配置排序的
sorterTooltipTarget属性.#47409 @Ke1sy - 🆕 Cascader 支持
optionRender。#47727 @crazyair - 🆕 Notification 组件支持在
closable中配置 aria-*。#47710 @kiner-tang - ⌨️ Popover 当
trigger是focus或click时能被 ESC 按键所关闭。#47928 @CooperHash - 🐞 修复 Button 图标位置居中问题。#48178 @momesana
- 🐞 修复 Modal.confirm 无图标时内容不居中的问题。#48173
- Form #48163 @madocto
- 🐞 1. 修复 Form 当 FormItem 的
name不存在时,getValueProps不应该执行。 - 🐞 2. 修复 Form 的
setFieldsValue和setFields的行为应该相同。
- 🐞 1. 修复 Form 当 FormItem 的
- 🐞 修复 Table 表格列在搜索情况下,国际化失效的问题。#48126 @LingJinT
- 🐞 修复 Upload 当文件数量超出限制时,删除不起作用,无法触发
onChange的问题。#47747 @Zhou-Bill - 🐞 Carousel 组件同步上游 react-slick 改动,修复一系列问题,并更新到最新 TS 定义。#48093
- 🐞 修复 ColorPicker 展示的清除颜色在受控
value变化后不会改变的问题。#47816 @MadCcc - 🐞 Badge 与 Tag 组件保持一致,processing 状态使用
colorInfotoken 。#47695 @pfdgithub - 🌐 添加冰岛语缺失的 From 翻译。#48104 @LonelySnowman
- 🌐 添加乌兹别克语(拉丁字母) 国际化。#47899
- TypeScript
- 💄 Fix QRCode that custom style would be overrided by internal style. #48053 @li-jia-nan
- 💄 Fix Radio disabled hover style. #47972 @madocto
- 🐞 Fix Watermark sometime repeat re-render when browser set scale. #47895
- TypeScript
- 🤖 Affix Export AffixRef interface. #47982 @li-jia-nan
- 🤖 MISC: Fix GetRef ts util can not get correct ref type for some component. #47983
- 💄 修复 QRCode 组件自定义样式会被内部样式覆盖的问题。#48053 @li-jia-nan
- 💄 修复 Radio 禁用状态 hover 样式。#47972 @madocto
- 🐞 修复 Watermark 在特定屏幕缩放下会不断重复渲染的问题。#47895
- TypeScript
- 🤖 Affix 导出 AffixRef 类型。#47982 @li-jia-nan
- 🤖 MISC: 修复 GetRef 工具类型不能正确获得某些组件 ref 类型的问题。#47983
- 💄 Unify Modal, Drawer, notification and Tour close button style. #47909
- 🐞 Fix Badge and text node align style under Space. #47908
- 💄 Fix Upload file list actions wrap style. #47898
- 🐞 Fix Typography config the
ellipsis.symbolexceed the single line height will make ellipsis rows not correct issue. #47889 - 🐞 Fix DatePicker component height not correct when customize
controlHeight. #47874 - 🐞 Fix DatePicker with
multipleselector collapse for cross the line. #47821 - 🐞 TimePicker revert and add warning for
onSelectAPI which is already removed in v4 but not update in English documentation. #47878 - 💄 Darken the Empty text color to make it readable. #47268 @evgmol
- 💄 统一 Modal、Drawer、notification 和 Tour 关闭按钮的样式,并增大 Modal 和 Drawer 关闭按钮的交互区域使其更容易点击。#47909
- 🐞 修复 Badge 和文本元素在 Space 下排版不对齐的问题。#47908
- 💄 修复 Upload 列表行动点换行的问题。#47898
- 🐞 修复 Typography 配置的
ellipsis.symbol超出单行高度时,省略行数不正确的问题。#47889 - 🐞 修复 DatePicker 配置自定义
controlHeight时展示高度不正确的问题。#47874 - 🐞 修复 DatePicker 设置
multiple多选换行时行与行之间没有间隙的问题。#47821 - 💄 调深 Empty 文本色彩使其更清晰可读一些。#47268 @evgmol
- 🛠 Adjust the closing trigger of Tour, Dropdown, Menu, Tabs, Mentions, Picker, Select, TreeSelect, Cascader, Tooltip, and Popover pop-ups from
clicktomouseDownto uniformly solve some event timing issues related to pop-up interactions. #47775 - 🐞 Fix Descriptions extra padding of items. #47737
- 🐞 Fix Anchor wrong active status when bounds value is 0. #47795@winchesHe
- 💄 Fix ColorPicker clear icon hover style. #47761
- 🇷🇺 Improve DatePicker ru_RU locale. #47768 @AlexeyTeterin
- 🛠 调整 Tour、Dropdown、Menu、Tabs、Mentions、Picker、Select、TreeSelect、Cascader、Tooltip、Popover 弹层点击外部的关闭时机,从
click调整至mouseDown以统一解决一些与弹窗相关交互中的事件时序问题。#47775 - 🐞 修复 Descriptions 内容区域额外的边距问题。#47737
- 🐞 修复 Anchor 界限值为 0 时 active 状态错误的问题。#47795@winchesHe
- 💄 给 ColorPicker 清除按钮补上鼠标 hover 反馈样式。#47761
- 🇷🇺 更新 DatePicker 的俄语文案。#47768 @AlexeyTeterin
- ConfigProvider
- 🆕 ConfigProvider support Input.TextArea
allowClearautoCompleteclassNamestyleclassNamesstylesprops. #47589 - 🆕 ConfigProvider support Input
allowClearprops. #47602 - 🆕 ConfigProvider support Menu
expandIconprops. #47561 - 🆕 ConfigProvider support Collapse
expandIconprops. #47473 - 🆕 ConfigProvider support Tabs
removeIconprops, when settype="editable-card". #47334 - 🆕 Prefixes for CSS variables follow the
prefixClsproperty of ConfigProvider by default. #47481 - 🤖 CardProps
stylesin ConfigProvider is set to optional. #47601 @Yawenina
- 🆕 ConfigProvider support Input.TextArea
- 🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader the
focussupports passingoptions. #47664 - 🆕 Modal support configuring
aria-*inclosable. #47650 - 🆕 Alert support configuring
aria-*inclosable. #47474 - 🆕 Tabs support
removeIconprops, when settype="editable-card". #47334 - Drawer
- Table
- 🆕 Table adds
filterOnCloseto specify whether to trigger filtering when the filter menu is closed. #47451 @xsjcTony - 🆕 Table adds
components.header.tableto customize the header component when scrolling the column. #47382 - 🐞 Fix the issue where scroll bars would not be displayed during initial rendering under Table
sticky. #47382 - 🐞 Fix the issue where the
thelement is not used in the column header when Tablecolumn.titleis empty. #47382 - 🐞 Fix the issue where
prefixClsis invalid when Table uses a virtual list. #47639 - 💄 Fix abnormal shadow display when Table fixed columns. #47518
- 🆕 Table adds
- 🐞 Fix the issue where when using DirectoryTree in Tree, pressing shift for continuous multi-selection will report an error. #47567 @wkmyws
- 🐞 Fix the issue where
isFieldsTouched(true)always returnsfalsewhen Form exists in Form.List. #47629 @lemonied - 🐞 Fix the issue of Button being incompatible with v4
type=''. #47612 - 🛠 Refactor Typography to omit measurement logic to support dynamic row height scenarios. #47597
- 💄 Remove redundant margin styles from Tag. #47504
- 🤖 MISC: fix an issue that could not be compiled under pnpm configuration
hoist: false. #47587
- ConfigProvider
- 🆕 ConfigProvider 支持 Input.TextArea 组件
allowClear、autoComplete、className、style、classNames、styles属性。#47589 - 🆕 ConfigProvider 支持 Input 组件
allowClear属性。#47602 - 🆕 ConfigProvider 支持 Menu 组件
expandIcon属性。#47561 - 🆕 ConfigProvider 支持 Collapse 组件
expandIcon属性。#47473 - 🆕 ConfigProvider 支持 Tabs
removeIcon属性, 在设置type="editable-card"时有效。#47334 - 🆕 CSS 变量的前缀默认跟随 ConfigProvider 的
prefixCls属性。#47481 - 🤖 ConfigProvider 中 CardProps
styles设为可选。#47601 @Yawenina
- 🆕 ConfigProvider 支持 Input.TextArea 组件
- 🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader 支持
focus功能支持传递options。#47664 - 🆕 Modal 支持在
closable中配置aria-*。#47650 - 🆕 Alert 支持在
closable中配置aria-*。#47474 - 🆕 Tabs 组件支持
removeIcon属性,在设置type="editable-card"时有效。#47334 - Drawer
- Table
- 🐞 修复 Tree 使用 DirectoryTree 时,按住 shift 连续多选报错的问题。#47567 @wkmyws
- 🐞 修复 Form 存在 Form.List 时,
isFieldsTouched(true)始终会返回false的问题。#47629 @lemonied - 🐞 修复 Button 不兼容 v4
type=''的问题。#47612 - 🛠 重构 Typography 省略测量逻辑以支持动态行高的场景。#47597
- 💄 移除 Tag 组件多余的 margin 样式。#47504
- 🤖 杂项:修复不能在 pnpm 配置
hoist: false下编译的问题。#47587
- 🐞 Fix DatePicker.RangePicker time column sometime not scroll to the target time value. #47542
- 🐞 Fix Modal that pointer events will triggered during openning animation. #47508 @MadCcc
- 🐞 Fix Avatar.Group unnecessary dom since tooltip. #47478
- 💄 Fix Progress unexpected margin style. #47493 @li-jia-nan
- 💄 Fix Table scrollbar color in darkmode. #47487 @wkmyws
- 💄 Fix Layout content font color in dark mode. #47441 @nova1751
- 💄 Fix Menu cannot customize
darkItemSelectedColoranddarkItemSelectedBgtoken in horizontal dark mode. #47463 @gandavarapurajasekhar
- 🐞 修复 DatePicker.RangePicker 的时间列有时不会滚动到正确位置的问题。#47542
- 🐞 修复 Modal 在打开期间会触发其他鼠标事件的问题。#47508 @MadCcc
- 🐞 修复 Avatar.Group 的 tooltip 存在多余 dom 残留的问题。#47478
- 💄 修复 Progress 组件多余的
margin样式。#47493 @li-jia-nan - 💄 修复 Table 滚动条在暗黑模式下的颜色。#47487 @wkmyws
- 💄 修复 Layout 内容字体在暗黑模式下的颜色。#47441 @nova1751
- 💄 修复 Menu 组件在水平暗黑模式下自定义
darkItemSelectedColor和darkItemSelectedBgtoken 不生效的问题。#47463 @gandavarapurajasekhar
- 🐞 Fix Steps cannot interact correctly when
type="inline". #47406 - 🐞 Fix DatePicker & TimePicker arrow position not consider panel border radius distance. #47389
- 🐞 Fix Dropdown should not display when items is empty array. #47375
- 🐞 Fix Tag that should use
defaultBgtoken withbordered={false}. #47372 @MadCcc - 🐞 MISC: Fix that
theme.inheritshould not affecthashdedandcssVar. #47360 @MadCcc - 🐞 Fix Calendar panel not switch when change year or month. #47361
- 💄 Fix Table's sub-table style issue in virtual mode. #47333 @Enigama
- 🐞 修复 Steps
type="inline"时鼠标无法 hover 到正确的步骤上的问题。#47406 - 🐞 修复 DatePicker 与 TimePicker 弹出面板箭头没有考虑面板本身圆角的问题。#47389
- 🐞 修复 Dropdown
menu.items为空时依然显示的问题。#47375 - 🐞 修复 Tag 无边框模式没有正确使用
defaultBg组件 token 的问题。#47372 @MadCcc - 🐞 杂项:修复主题
inherit配置会隔断hashed和cssVar配置的问题。#47360 @MadCcc - 🐞 修复 Calendar 在切换年月时,面板没有跟着切换的问题。#47361
- 💄 修复 Table 在虚拟模式下子表格的样式问题。#47333 @Enigama
- 🔥 Refactored the DatePicker component, details are follows. #46982
- 🆕 DatePicker adds
multipleto support multiple selection capabilities. - 🆕 DatePicker supports
showWeekattribute. - 🆕 DatePicker.RangePicker supports
orderattribute. - 🆕 DatePicker
idattribute under RangePicker supports setting theidof thestartandendinput boxes separately. - 🆕 DatePicker
onFocusandonBlurevents of RangePicker will additionally provide aninfo.rangeto inform which input box the current focus comes from. - 🆕 DatePicker add matching
pickerValueanddefaultPickerValueattributes to control the date where the expanded panel is located. - 🆕 DatePicker add the
preserveInvalidOnBlurattribute to keep the input content when losing focus in the case of accessibility. - 🆕 DatePicker
formatsupports thealignattribute, allowing input content through the mask mode. - 🆕 DatePicker Support
requiredattribute. - 🆕 DatePicker time panel supports
scrollOnChangeto automatically select the corresponding time when scrolling. - 🆕 DatePicker add the
needConfirmattribute to allow setting the confirmation or non-confirmation submission mode. - 🆕 DatePicker add the
componentsattribute to allow customizing some panels. - 🆕 DatePicker all date-related information in the panel will allow configuration through
locale. - 🆕 DatePicker
formatsupportsLTandLTSdate formats. - 🆕 DatePicker add
minDateandmaxDateto set the panel switching range. - 🐞 DatePicker
defaultPickerValuewill now be reset each time the panel is expanded. - 🐞 DatePicker fix the problem that the input box function key will trigger the pop-up box, now it will only be triggered when the interactive key and the input content change.
- 🐞 DatePicker Losing focus after entering the date through the input box will submit the change instead of losing the input content (that is, it is no longer necessary to press Enter to submit).
- 🐞 DatePicker fix the problem that the
hourobtained bydisabledTimeunderuse12Hourswill also be clipped to 0~12. - 🐞 DatePicker fix the problem that the disabled date is not effective and can still be submitted under some interactions.
- ⚡️ DatePicker Optimize
disabledDatecheck logic, now it will provideinfo.typeto inform the current panel information. - 🛠 DatePicker
allowCleartrigger event fromonMouseDowntoonClick. - 🛠 DatePicker Deprecate the
preventDefaultparameter ofonKeyDown, please call it directly throughevent.preventDefault. - 🛠 DatePicker Remove the keyboard interaction with the panel, it needs to be redesigned based on accessibility.
- 💄 DatePicker Remove the dotted line style of RangePicker to reduce visual interference.
- 💄 DatePicker Remove the disabled range of RangePicker when selecting start or end time to optimize the interaction experience.
- 🆕 DatePicker adds
- 🔥 Added support for stacked fixed columns in the Table component. #47245
- 🆕 Added support for
components.bodyin the Table component under thevirtualmode. #47098 by @linxianxi - 🆕 Added support for generics in the Segmented
valuetype. #47091 by @madocto - 🆕 Added the
changeOnWheelproperty to the InputNumber component to enable mouse wheel control. #47158 by @MadCcc - 🆕 Added six tokens (
defaultHoverBg,defaultHoverColor,defaultHoverBorderColor,defaultActiveBg,defaultActiveColor, anddefaultActiveBorderColor) to the Button component. #47075 by @madocto - 🆕 Added
durationconfiguration support to theuseNotificationfunction in the Notification component. This update also applies to thenotificationconfiguration of the App component. #47141 - 🆕 Added support for configuring
flexproperty in responsive layouts of the Grid component. #47124 - 🐞 Improved the Transfer internal padding of the Pagination component. #47231 by @qmhc
- 🐞 Fixed the alignment issue in the Avatar component when the height is less than 16px. #47236 by @lcgash
- 🐞 Fixed the incorrect mouse pointer when the Input component is disabled. #47280 by @MadCcc
- 🐞 Fixed the issue where the
hoverBorderColorandactiveBorderColortoken customization didn't work in the Input component. #47243 by @MadCcc - 💄 Fixed the issue where the hover style of submenus in the Menu component disappears at the edges. #47227 by @MadCcc
- 💄 Menu fixed component styling issues in non-hash mode. #46609 by @MadCcc
- 💄 Added
classNamesandstylesproperties to the Card component. #46811 by @zh-lx - ConfigProvider
- 🆕 Added support for
selectionsIconin the Transfer component to ConfigProvide. #47301 by @li-jia-nan - 🆕 Added support for
addIconandmoreIconin the Tabs component to ConfigProvide. #47274 by @li-jia-nan - 🆕 Added support for
closeIconin the Image component to ConfigProvide. #47252 by @li-jia-nan - 🆕 Added support for
closeIconin the Tag component to ConfigProvide. #47250 by @li-jia-nan - 🆕 Added support for
closeIconin the Notification component to ConfigProvide. #47244 by @li-jia-nan - 🆕 Added support for
closeIconin the Modal component to ConfigProvide. #47226 by @li-jia-nan - 🆕 Added support for
expandIconin the Table component to ConfigProvide. #47225 by @li-jia-nan - 🆕 Added support for
closeIconin the Tour component to ConfigProvide. #47200 by @li-jia-nan - 🆕 Added support for
iconsin the Drawer component to ConfigProvide. #46894 by @li-jia-nan - 🆕 Added support for
closeIconin the Alert component to ConfigProvide. #47235 by @li-jia-nan
- 🆕 Added support for
- 🔥 重构了 DatePicker 组件,详细改动如下。#46982
- 🆕 DatePicker 新增
multiple支持多选能力。 - 🆕 DatePicker 支持
showWeek属性。 - 🆕 DatePicker.RangePicker 下的
id属性支持分别设置start和end输入框的id。 - 🆕 DatePicker.RangePicker 的
onFocus和onBlur事件会额外提供一个info.range告知当前的焦点来自于哪个输入框。 - 🆕 DatePicker.RangePicker 支持
order属性。 - 🆕 DatePicker 新增配套
pickerValue、defaultPickerValue属性用于受控管理展开面板所在日期。 - 🆕 DatePicker 新增
preserveInvalidOnBlur属性用于无障碍时失去焦点需要保留输入内容的场景。 - 🆕 DatePicker
format支持align属性,允许通过掩码模式输入内容。 - 🆕 DatePicker 支持
required属性。 - 🆕 DatePicker 时间面板支持
scrollOnChange设置滚动时间时自动选择对应的时间。 - 🆕 DatePicker 添加
needConfirm属性,允许设置需要确认、或者不确认的提交模式。 - 🆕 DatePicker 添加
components属性,允许自定义部分面板。 - 🆕 DatePicker 面板中所有的日期相关信息都会允许通过
locale进行配置。 - 🆕 DatePicker
format支持LT、LTS日期格式。 - 🆕 DatePicker 新增
minDate和maxDate用于设置面板切换范围。 - 🐞 DatePicker 的
defaultPickerValue现在会在每次面板展开时都进行重置。 - 🐞 DatePicker 修复输入框功能按键会唤起弹出框的问题,现在只有在交互按键、以及输入内容变化时唤起。
- 🐞 DatePicker 通过输入框输入日期后失去焦点会提交变更,而不是丢失输入内容(即不再强制需要按下回车提交)。
- 🐞 DatePicker 修复
use12Hours下,disabledTime获取的hour也会被裁剪成 0~12 的问题。 - 🐞 DatePicker 修复某些交互下,禁用日期没有生效依然可以提交的问题。
- ⚡️ DatePicker 优化
disabledDate检查逻辑,现在会提供info.type告知当前面板信息。 - 🛠 DatePicker 的
allowClear触发事件从onMouseDown切换为onClick。 - 🛠 移除 DatePicker 的键盘对面板交互,它需要基于无障碍重新设计。
- 🛠 DatePicker 废弃
onKeyDown的preventDefault参数,请直接通过event.preventDefault进行调用。 - 💄 DatePicker.RangePicker 移除虚线样式,减少视觉干扰。
- 💄 DatePicker.RangePicker 移除在选择开始或者结束时间时的禁用范围,优化交互体验。
- 🆕 DatePicker 新增
- 🔥 Table 支持堆叠固定列。#47245
- 🆕 Table 支持
virtual下的components.body。#47098 @linxianxi - 🆕 Segmented
value类型支持泛型。#47091 @madocto - 🆕 InputNumber 组件支持
changeOnWheel属性,以启用鼠标滚轮控制。#47158 @MadCcc - 🆕 Button 添加
defaultHoverBg、defaultHoverColor、defaultHoverBorderColor、defaultActiveBg、defaultActiveColor和defaultActiveBorderColor六个 token。#47075 @madocto - 🆕 Notification
useNotification支持duration配置,该更新同样适用于 App 组件的notification配置。#47141 - 🆕 Grid 支持为响应式布局配置
flex属性。#47124 - 🐞 改进 Transfer 组件分页器的内边距。#47231 @qmhc
- 🐞 修复 Avatar 组件当高度小于 16px 内容不居中的问题。#47236 @lcgash
- 🐞 修复 Input 组件禁用时鼠标指针不正确的问题。#47280 @MadCcc
- 🐞 修复 Input 组件
hoverBorderColor和activeBorderColortoken 定制无效的问题。#47243 @MadCcc - 💄 修复 Menu 组件子菜单 hover 样式在边缘消失的问题。#47227 @MadCcc
- 💄 修复 Menu 在无 hash 模式下的组件样式问题。#46609 @MadCcc
- 💄 Card 组件增加
classNames和styles属性。#46811 @zh-lx - ConfigProvider
- 🆕 ConfigProvide 支持 Transfer 的
selectionsIcon。#47301 @li-jia-nan - 🆕 ConfigProvide 支持 Tabs 的
addIcon和moreIcon。#47274 @li-jia-nan - 🆕 ConfigProvide 支持 Image 的
closeIcon。#47252 @li-jia-nan - 🆕 ConfigProvide 支持 Tag 的
closeIcon。#47250 @li-jia-nan - 🆕 ConfigProvide 支持 Notification 的
closeIcon。#47244 @li-jia-nan - 🆕 ConfigProvide 支持 Modal 的
closeIcon。#47226 @li-jia-nan - 🆕 ConfigProvide 支持 Table 的
expandIcon。#47225 @li-jia-nan - 🆕 ConfigProvide 支持 Tour 的
closeIcon。#47200 @li-jia-nan - 🆕 ConfigProvide 支持 Drawer 的
icons。#46894 @li-jia-nan - 🆕 ConfigProvide 支持 Alert 的
closeIcon。#47235 @li-jia-nan
- 🆕 ConfigProvide 支持 Transfer 的
- Input
- 🐞 Fix Input.Search width 1px smaller than Input. #47193
- 🐞 Fix Input inside Space.Compact display incorrectly when
showCountistrue. #47112 @huiliangShen
- 🐞 Fix Descriptions lost border style when item's children is falsy. #47191
- 🐞 Fix Table
column.onFilterdon't work on tree table data. #47170 @Mumujianguang - 🐞 Fix Affix
placeholderheight anomaly when browser zoom is 80%. #46823 @zhipenglin - 🐞 Fix QRCode background color in dark mode. #47128 @kampiu
- 🐞 Fix Statistic component don't support html
roleanddata-*andaria-*attributes. #47149 - 🐞 Fix Transfer inverting current page incorrectly. #47125 @linxianxi
- 💄 Lower the priority of Button
sizestyles. #47074 @crazyair - 🐞 Fix Modal conflicting props bettween
classNames.wrapperandcentered. #47076 @sunsunmonkey - 🐞 Fix false positive console warning for Spin with
tipandfullscreenused together. #47015 @xsjcTony - 🗑 Remove unused PageHeader locale text and ConfigProvider
pageHeaderproperty. #47163 @li-jia-nan - 🛠 Refactor Drawer motion style code. #47194
- Locales
- 🇮🇹 Added missing it_IT translations for Tour component. #47148 @nikzanda
- 🇯🇵 Added missing locale keys in ja_JP locale for Table filters. #47072 @sebastibe
- Input
- 🐞 修复 Input.Search 宽度比 Input 少 1px 的问题。#47193
- 🐞 修复 Input 启用
showCount时在 Space.Compact 下的样式错误。#47112 @huiliangShen
- 🐞 修复 Descriptions 当
item的children为null时丢失单元格右边框样式的问题。#47191 - 🐞 修复 Table
column.onFilter方法未过滤树形数据的问题。#47170 @Mumujianguang - 🐞 修复 Affix 在 Chrome 缩放
80%的情况下占位高度异常的问题。#46823 @zhipenglin - 🐞 修复 QRCode 在暗黑模式下的背景色。#47128 @kampiu
- 🐞 修复 Statistic 组件不支持 HTML
role、data-*和aria-*等属性的问题。#47149 - 🐞 修复 Transfer 反选当页错误的问题#47125 @linxianxi
- 💄 降低 Button
size样式权重以方便覆盖。#47074 @crazyair - 🐞 修复 Modal 自定义
classNames.wrapper时centered属性不生效的问题。#47076 @sunsunmonkey - 🐞 修复 Spin 组件在
tip和fullscreen同时使用时的控制台误报。#47015 @xsjcTony - 🗑 移除了早已失效的 PageHeader 组件相关的多语言文案和 ConfigProvider 的
pageHeader属性。#47163 @li-jia-nan - 🛠 重构简化 Drawer 的动画代码。#47194
- 国际化
- 🇮🇹 为 Tour 组件补充 it_IT 本地化文案。#47148 @nikzanda
- 🇯🇵 为 Table 组件筛选功能补充 ja_JP 本地化文案。#47072 @sebastibe
- 🐞 Fix that the inline rendering does not take effect when the
preview.getContainervalue for Image is false. #47034 @FEyudong - 🐞 Fix Modal static function with
prefixClsbreaks children other componentprefixClsand thus bring the motion miss. #47010 - 🐞 Fix ok button of the DatePicker becomes compacted when used with Space.Compact. #46769 @Fatpandac
- 💄 Optimize Tree draggable node cursor style and collaspe icon hover style. #46974
- 🔥 Form support
variantto control components variant inside. #46573 - 🆕 QRCode support
statusadds a new scanned option. #46704 - 🆕 Table support
hiddento set hidden columns. #46957 @madocto - 🆕 Select support the
maxCount, which is used to set the maximum selectable value. #46667 - 🆕 Mentions support
allowClearfor setting the clearing function. #46396 @yociduo - 🆕 ColorPicker support displaying cleared status. #45993
- 🆕 Drawer adds
styles.wrapperand discards thecontentWrapperStyledrawerStylemaskStyleattributes, and simplifies the dom structure. #46858 - Tour
- Tabs
- ConfigProvider
- 🆕 ConfigProvider adds
ConfigProvider.configto supportholderRenderformessagemodalnotificationstatic method settingProvider. #46596 - 🆕 ConfigProvider support the
indicator: { align: xxx }attribute, which is used to set the alignment of the Tabs indicator bar. #46786 - 🛠 ConfigProvider deprecated the Tabs
indicatorSizeattribute and replaced it withindicator: { size: xxx }. #46786
- 🆕 ConfigProvider adds
- 🐞 Fix the problem of Segmented content being obscured in
hoverandactive. #46925 @madocto - 🐞 Fixed the problem that the customized font size of Checkbox does not take effect under Form. #46904
- 🐞 Fixed the issue where the Radio component configuration
titledid not take effect. #46809 - 🐞 Fixed Input hover style in css var mode. #46946
- 💄 Fixed the problem of abnormal display of Dropdown style under multi-level menu. #46888
- 🛠 Refactor the popup panel logic of the ColorPicker component to avoid style conflicts when customizing using
panelRender. #46327 - TypeScript
- 🌈 Token
- 🆕 Button support the
contentLineHeightseries of tokens. #46936 - 🆕 Input support
inputFontSizetoken. #46875 - 🆕 Menu support
darkPopupBgtoken. #46618 - 🆕 Segmented support
trackPaddingandtrackBgtoken. #46674 - 🐞 Fix the problem that
paddingBlockdoes not take effect after customizingcontentFontSizetoken in Button component. #46901 - 🐞 Fixed the issue where the InputNumber component cannot customize the
paddingtoken. #46878
- 🆕 Button support the
- 🌐 Localization
- 🔥 Form 组件新增
variant属性用于设置内部组件形态变体。#46573 - 🆕 QRCode 组件
status新增已扫描选项。#46704 - 🆕 Table 组件新增
hidden属性可设置隐藏列。#46957 @madocto - 🆕 Select 组件新增支持
maxCount属性,用于设置最大可选。#46667 - 🆕 Mentions 组件新增
allowClear属性,用于设置清除功能。#46396 @yociduo - 🆕 ColorPicker 新增支持显示清空状态。#45993
- 🆕 Drawer 组件新增
styles.wrapper并废弃contentWrapperStyledrawerStylemaskStyle属性,并简化 dom 结构。#46858 - Tour
- Tabs
- ConfigProvider
- 🐞 修复 Segmented 在
hover和active内容被遮挡的问题。#46925 @madocto - 🐞 修复 Checkbox 定制字体大小在 Form 下不生效的问题。#46904
- 🐞 修复 Radio 组件配置
title未生效的问题。#46809 - 🐞 修复 Input 组件在 css 变量模式下的悬浮态样式问题。#46946
- 💄 修复 Dropdown 在多级菜单下样式显示异常的问题。#46888
- 🛠 重构 ColorPicker 组件弹出面板逻辑,避免使用
panelRender自定义时样式冲突的问题。#46327 - TypeScript
- 🌈 Token
- 🆕 Button 组件新增支持
contentLineHeight系列 token。#46936 - 🆕 Input 组件新增支持
inputFontSizetoken。#46875 - 🆕 Menu 组件新增支持
darkPopupBgtoken。#46618 - 🆕 Segmented 组件新增
trackPadding和trackBgtoken。#46674 - 🐞 修复 Button 组件定制
contentFontSizetoken 后paddingBlock不生效的问题。#46901 - 🐞 修复 InputNumber 组件无法定制
paddingtoken 的问题。#46878
- 🆕 Button 组件新增支持
- 🌐 国际化
- 🐞 Fix Upload.Dragger not align center and focus ring style. #46810
- 🐞 Fix Popconfirm config empty
okTextandcancelTextwill not fallback to locale text. #46812 - 🐞 Fix Progress that line border-radius cannot be overrided. #46789
- 🐞 Fix Typography without
childrenhas extramargin-leftwhencopyableis true. #46748 - 🐞 Fix Typography copied icon color. #46748
- 🐞 Fix Upload accessibility issue of tabbing twicely. #46432
- 🐞 Fix Modal
footerButton duplicated gap style. #46702 - Select
- Tree
- 🐞 Fix Tree that scrollbar do not display in some case. #46672 @yyz945947732
- 💄 Optimize Tree the TreeNode style when focused. #46608 @MadCcc
- 🐞 Fix Layout.Sider will collapse when trigger printer. #46650 @anilpixel
- 🐞 Fix Table style with edge shadow overflow. #46644 @Fatpandac
- 🐞 Typography.Text should update the Tooltip when the width changes. #46613 @linxianxi
- 🐞 Fix Tooltip, Popover or other popup like component arrow issue when in nest case. #46294 @bestlyg
- TypeScript
- 🤖 Export ConfigProvider
ConfigProviderPropstype. #46605 @li-jia-nan
- 🤖 Export ConfigProvider
- 🐞 修复 Upload 组件包裹 Button 时 Tab 键会聚焦两次的问题。#46432
- 🐞 修复 Modal
footer内 Button 可能重复的边距样式问题。#46702 - Select
- Tree
- 🐞 修复 Tree 组件滚动条在某些条件下不会显示的问题。#46672 @yyz945947732
- 💄 优化 Tree 组件 TreeNode 节点聚焦样式。#46608 @MadCcc
- 🐞 修复触发打印时,Layout.Sider 会收起的问题。#46650 @anilpixel
- 🐞 修复 Table 边缘阴影会超出 Table 高度。#46644 @Fatpandac
- 🐞 修复 Typography.Text 省略模式下修改宽度 Tooltip 不会触发的问题。#46613 @linxianxi
- 🐞 修复 Tooltip、Popover 等弹出组件嵌套使用时,箭头样式问题。#46294 @bestlyg
- TypeScript
- 🤖 ConfigProvider 导出
ConfigProviderProps类型。#46605 @li-jia-nan
- 🤖 ConfigProvider 导出
- 💄 修复 Tag 组件在 SSR 场景下的样式丢失问题。#46500 @MadCcc
- 🐞 Upload 的
disabled属性不再对下载按钮生效。#46454 - 💄 Upload.Dragger 增加一个水平内边距。#46457
- 🐞 修复 Upload
actions的颜色问题。#46456 - 🐞 修复 Form 使用
getValueProps展示值无法更新的问题。#46445 - 💄 修复 Checkbox 自定义
token.lineWidth时勾选箭头错位问题。#46431 - 🐞 修复 Select 组件定制 token 会让 padding 失效的问题。#46427 @MadCcc
- 🐞 修复 Message 在
cssVar模式下覆盖组件 token 无效的问题。#46415 @MadCcc - 💄 Flex 组件不应该应用额外的样式。#46404 @li-jia-nan
- 💄 Fix Tag that style would be missing in SSR. #46500 @MadCcc
- 🐞 Upload
disabledprop should not affect download icon. #46454 - 💄 Upload.Dragger add vertical padding style. #46457
- 🐞 Fix Upload actions color issue. #46456
- 🐞 Fix Form with
getValuePropsnot working with value update. #46445 - 💄 Fix Checkbox style when customize
token.lineWidth. #46431 - 🐞 Fix Select that custom token make
paddingbroken. #46427 @MadCcc - 🐞 Fix Message that token overrides not work in
cssVarmode. #46415 @MadCcc - 💄 Fix Flex component don't apply extra style. #46404 @li-jia-nan
- 🐞 MISC: Fix
useIderror when webpack build with React 17. #46261 - Pagination
- 🐞 Fix Pagination throws error in legacy browsers. react-component/pagination#545
- 🐞 Fix Pagination
currentnot working insimplemode. react-component/pagination#546
- 🐞 Fix Table filter dropdown lost background color in CSS variables mode. #46314
- 🐞 Prevent interaction when Spin component enable
fullscreenprop. #46303 @li-jia-nan - 🐞 Fix Form
hideRequiredMarkprop's priority compared with ConfigProviderformprop. #46299 @linhf123 - TypeScript
- 🐞 MISC: 修复 React 17 以下使用 webpack 构建时报错
useId找不到的问题。#46261 - Pagination
- 🐞 修复 Pagination 在低版本浏览器上报错的问题。react-component/pagination#545
- 🐞 修复 Pagination
simple模式下current受控选中分页不生效的问题。react-component/pagination#546
- 🐞 修复 Table 筛选菜单在 CSS 变量模式下丢失背景色的问题。#46314
- 🐞 优化 Spin 交互,全屏状态时禁止用户触发鼠标事件。#46303 @li-jia-nan
- 🐞 修复 Form
hideRequiredMark属性的优先级低于 ConfigProvider 的 form 配置的问题。#46299 @linhf123 - TypeScript
- 🔥 Component Token support CSS variables mode. For more detail, see CSS Variables. Special thank for contributors of this feature: @li-jia-nan @RedJue @c0dedance @kiner-tang @JarvisArt @cc-hearts
- 🛠 Refactor rc-pagination from class component to FC. #46204 @Wxh16144
- 🆕 Alert could support linear-gradient background by
colorInfoBgtoken. #46188 - 🆕
Form.useWatchsupport selector function param. #46180 @crazyair - 🆕 Slider support
onChangeCompleteand deprecateonAfterChange. #46182 @MadCcc - 🆕 Tabs
itemssupporticonprop. #46096 @li-jia-nan - 🆕 Tour supports
getPopupContainerproperty. #45751 @li-jia-nan - 🆕 Switch support for
valueanddefaultValueprops. #45747 @Wxh16144 - 🐞 Fix that clicking Form
tooltipicon should not trigger Switch. #46155 - 🐞 Fix Notification that icon should have line-height. #46148 @MadCcc
- 🐞 Fix Progress that gradient in line should follow percent. #46209 @MadCcc
- 💄 Button could be customized to gradient style. #46192
- 💄 Fix style of InputNumber with
addoninside Space.Compact. #46130 @MadCcc - TypeScript
- 🤖 Update
FloatButtonPropstype withReact.DOMAttributesin FloatButton. #46175 @li-jia-nan
- 🤖 Update
- 🔥 Component Token 支持 CSS 变量模式,详情见 使用 CSS 变量。感谢以下同学对此的贡献:@li-jia-nan @RedJue @c0dedance @kiner-tang @JarvisArt @cc-hearts
- 🛠 rc-pagination 重构为 FC。#46204 @Wxh16144
- 🆕
Form.useWatch支持 selector 函数参数调用。#46180 @crazyair - 🆕 Slider 组件支持
onChangeComplete事件,并废弃onAfterChange。#46182 @MadCcc - 🆕 Tabs 配置项
items支持icon属性。#46096 @li-jia-nan - 🆕 Switch 支持
valueanddefaultValue属性。#45747 @Wxh16144 - 🐞 修复 Progress 进度条视觉效果,渐变效果应该随着百分比改变。#46209 @MadCcc
- 🐞 修复点击 Form
tooltip图标会触发 Switch 切换的问题。#46155 - 🐞 修复 Notification 图标行高为 0 的问题。#46148 @MadCcc
- 💄 Button 按钮支持自定义为渐变色风格。#46192
- 💄 Alert 背景色现在可以通过
colorInfoBgtoken 定义为渐变色。#46188 - 💄 修复 InputNumber 带有
addon时在 Space.Compact 下使用的样式问题。#46130 @MadCcc - TypeScript
- 🤖 更新 FloatButton 的类型定义,透出原生事件处理函数类型。#46175 @li-jia-nan
- 🐞 Fix Modal static method create
zIndextoo high will cover other popup content. #46012 - Image
- 🆕 Image preview support mobile touch interactive. #45989 @JarvisArt
- 🐞 Fixed Image preview
z-indexconflict when in a nested pop-up. #45979 @kiner-tang
- 🐞 Fix Collapse header cursor style. #45994
- 🐞 Fix ColorPicker not support Form disabled config. #45978 @RedJue
- 🐞 Fix Typography.Text
ellipsis.tooltipcannot open under Layout component. #45962 - 🐞 Remove Select native 🔍 icon from search input in Safari. #46008
- 💄 Remove Rate useless style.#45927 @JarvisArt
- 🛠 UMD
antd.jswill try to reuse global@ant-design/cssinjsfirst now. #46009 - 🌐 Improve
eu_ESlocalization. #45928 @ionlizarazu
- 🐞 修复 Modal 静态方法创建
zIndex过高会覆盖其他弹出内容的问题。#46012 - Image
- 🆕 Image 预览支持移动触摸事件交互。#45989 @JarvisArt
- 🐞 修复 Image 预览在嵌套弹框中
z-index设置不正确的问题。#45979 @kiner-tang
- 🐞 修复 Collapse 可折叠区域鼠标
hover样式问题。#45994 - 🐞 修复 ColorPicker 不支持 Form 组件的禁用问题。#45978 @RedJue
- 🐞 修复 Typography.Text
code在 Layout 下开启ellipsis时 tooltip 无效的问题。#45962 - 🐞 修复 Select 搜索框在 Safari 下显示多余的 🔍 图标。#46008
- 💄 删除 Rate 组件无用样式。 #45927 @JarvisArt
- 🛠 UMD 版本
antd.js现在会优先使用全局的@ant-design/cssinjs依赖。#46009 - 🌐 补充
eu_ES国际化内容。#45928 @ionlizarazu
- 🆕 Table with
virtualcan now customizecomponentsexcept thecomponents.body. #45857 - 🐞 Fix Button with href and disabled that could be focused. #45910 @MadCcc
- 🐞 Fix
zIndexlogic problem that message and notification are covered when multiple Modal are opened. #45911 #45864 @kiner-tang - 💄 Fix QRCode
style.paddingis not working. #45815 - 💄 Optimize Carousel dots border radius style. #45817
- TypeScript
- 🐞 Fix Dropdown use wrong
zIndexwhen nest items. #45761 - 🐞 Fix Upload should show remove icon when
showRemoveIconis specified to true explicitly. #45752 - 🐞 Fix Descriptions use
childrenstructure missing the Descriptions.Itemkeyprop. #45757 - 🐞 Fix Message that token specified in component scope not work. #45721 @MadCcc
- 🐞 Fix Popconfirm not compatible with
visibleprop. #45702 @linhf123 - 🐞 Fix Tag default background color not correct. #45711 @kiner-tang
- 💄 Fix Notification that
style.widthnot work. #45681 @MadCcc - 🐞 Fix App console unexpected attr warning when set
component=false. #45671 @li-jia-nan - TypeScript
- 🐞 修复 Dropdown 在嵌套列表时
zIndex错误的问题。#45761 - 🐞 修复 Upload 显式指定
showRemoveIcon: true时删除图标未显示的问题。#45752 - 🐞 修复 Descriptions 使用
children结构语法糖时,会丢失 Descriptions.Item 的key的问题。#45757 - 🐞 修复 Message 组件在组件范围设置全局
token无效的问题。#45721 @MadCcc - 🐞 修复 Popconfirm 不兼容
visible的问题。#45702 @linhf123 - 🐞 修复默认 Tag 的背景颜色不正确的问题。#45711 @kiner-tang
- 💄 修复 Notification 组件设置
style.width无效的问题。#45681 @MadCcc - 🐞 修复 App 设置
component=false时,会报非预期的属性警告的问题。#45671 @li-jia-nan - TypeScript
- Slider
- InputNumber
- Table
- 🆕 Table
columnTitlesupport render function. #41937 @Zhou-Bill - 🛠 Refactor Table
refto supportscrollToto scroll to targetkeyorindexortop. #45245
- 🆕 Table
- Tabs
- ConfigProvider
- 🆕 ConfigProvider support RangePicker
classNameandstyleproperties. #45479 @chenzhuo198 - 🆕 ConfigProvider support Dropdown
classNameandstyleproperties. #45621 @li-jia-nan
- 🆕 ConfigProvider support RangePicker
- 🆕 ColorPicker
presetprop supportdefaultOpento control whether preset colors is open by default. #45607 @Wxh16144 - 🆕 Select support
optionRenderprop. #45529 @RedJue - 🆕 Pagination support combine
simpleandshowSizeChanger. #45538 - 🆕 Spin support
fullscreento display as backdrop. #44986 @Rafael-Martins #45436 @li-jia-nan - 🆕 Form
validateFieldssupportdirtyfor validating touched and validated fields. #45389 - 🆕 Watermark support
inheritprop to disable watermark pass to Drawer and Modal. #45319 - 🆕 App support
componentfor customization. #45292 - 🆕 Input and Input.TextArea support
countcustom character count (for example, fix emoji character length to1);count.maxsupports out-of-range styles; restore emoji to native count to solve the problem ofmaxLengthandvaluemismatch. #45140 - 🐞 Fix Dropdown not trigger
onOpenChangewhen click menu item to close the popup. #45378 - 💄 Modal static function support
styles. #45558 @KotoriK - 💄 Optimize z-index logic of popup components, and make them don't block each other by default. #45512 #45490 @kiner-tang
- Optimize z-index logic of Menu. #45498 @kiner-tang
- Optimize z-index logic of DatePicker and TimePicker. #45497 @kiner-tang
- Optimize z-index logic of Drawer. #45496 #45417 @kiner-tang
- Optimize z-index logic of Cascader, TreeSelect and AutoComplete. #45494 @kiner-tang
- Optimize z-index logic of Dropdown. #45486 @kiner-tang
- Optimize z-index logic of Tour. #45425 @kiner-tang
- Optimize z-index logic of Tooltip. #45422 @kiner-tang
- Optimize z-index logic of Popover. #45420 @kiner-tang
- Optimize z-index logic of Popconfirm. #45421 @kiner-tang
- Optimize z-index logic of Modal and Select. #45346 @kiner-tang
- Slider
- InputNumber
- Table
- 🆕 Table 组件
columnTitle支持传入 render 方法。#41937 @Zhou-Bill - 🛠 重构 Table
ref支持scrollTo以滚动到目标key或index或top。#45245
- 🆕 Table 组件
- Tabs
- ConfigProvider
- 🆕 ConfigProvider 支持 RangePicker 组件的
className和style属性。#45479 @chenzhuo198 - 🆕 ConfigProvider 支持 Dropdown 组件的
className和style属性。#45621 @li-jia-nan
- 🆕 ConfigProvider 支持 RangePicker 组件的
- 🆕 ColorPicker 组件
preset新增defaultOpen属性,可控制预设颜色默认是否展开。#45607 @Wxh16144 - 🆕 Select 组件支持
optionRender方法。#45529 @RedJue - 🆕 Pagination 组件支持组合
simple和showSizeChanger使用。#45538 - 🆕 Spin 组件新增
fullscreen属性,支持全屏展示。#44986 @Rafael-Martins #45436 @li-jia-nan - 🆕 Form
validateFields支持dirty参数以校验被修改过和校验过的字段。#45389 - 🆕 Watermark 支持
inherit配置,关闭水印传导至弹出 Drawer 与 Modal。#45319 - 🆕 App 支持
component以自定义渲染元素。#45292 - 🆕 Input 与 Input.TextArea 支持
count自定义字符计数(例如固定 emoji 字符长度为1);count.max支持超出范围样式;将 emoji 计数还原为原生计数以解决maxLength与value不匹配的问题。#45140 - 🐞 修复 Dropdown 在点击菜单项关闭弹出框时不会触发
onOpenChange的问题。#45378 - 💄 Modal 静态方法支持
styles属性。#45558 @KotoriK - 💄 优化弹层组件的
z-index逻辑,使其在默认情况下不会互相遮挡。#45512 #45490 @kiner-tang- 优化 Menu 组件
z-index逻辑。#45498 @kiner-tang - 优化 DatePicker、TimePicker 组件
z-index逻辑。#45497 @kiner-tang - 优化 Drawer 组件
z-index逻辑。#45496 #45417 @kiner-tang - 优化 Cascader、TreeSelect、AutoComplete 组件
z-index逻辑。#45494 @kiner-tang - 优化 Dropdown 组件
z-index逻辑。#45486 @kiner-tang - 优化 Tour 组件
z-index逻辑。#45425 @kiner-tang - 优化 Tooltip 组件
z-index逻辑。#45422 @kiner-tang - 优化 Popover 组件
z-index逻辑。#45420 @kiner-tang - 优化 Popconfirm 组件
z-index逻辑。#45421 @kiner-tang - 优化 Modal、Select 组件
z-index逻辑。#45346 @kiner-tang
- 优化 Menu 组件
- 💄 Fix Typography.Text lost right border when enable
ellipsisandcode. #45575 - 💄 Modify the TimePicker scroll bar style. #45478 @GeorgeHcc #45586
- 🆕 FloatButton.BackTop
refsupportnativeElement. #45547 @li-jia-nan - 🐞 Fix Watermark that
gapshould have default value when passingundefinedin array. #45537 @MadCcc - 🐞 Fix Dropdown always closes after clicking on an item. #45513 @vyachsed
- 💄 Fix Notification style issue in windows system. #45500 @MadCcc
- 💄 Fix Notification duplicated
styleapplied to wrapper. #45487 @MadCcc - TypeScript
- 💄 修复 Typography.Text 同时启用
ellipsis和code时丢失右边框样式的问题。#45575 - 💄 调整 TimePicker 滚动条样式。#45478 @GeorgeHcc #45586
- 🆕 FloatButton.BackTop 支持使用
ref获取nativeElement。#45547 @li-jia-nan - 🐞 修复 Watermark 组件
gap在数组中含有undefined时没有默认值的问题。#45537 @MadCcc - 🐞 修复 Dropdown 在点击子项后总是关闭的问题。#45513 @vyachsed
- 💄 修复 Notification 组件在 windows 系统下的样式问题。#45500 @MadCcc
- 💄 修复 Notification 组件
style属性会重复添加到外层的问题。#45487 @MadCcc - TypeScript
- 🐞 Layout support auto
hasSidercheck to avoid blink in SSR. #45361 - 🐞 Fix FloatButton.BackTop throws warning
findDOMNode is deprecated in StrictMode. #45390 @li-jia-nan - 🐞 Fix ColorPicker does not supports
idanddata-*attributes. #45413 @cheng87126 - 🐞 Fix Table sorter tooltip cannot be open when
column.showSorterTooltipis a object. #45403 - 🐞 Fix
Formwithinlinemode makes elements overlap on the small screen. #45340 @Yuiai01 - 💄 Remove duplicate disabled styles in Upload.Dragger. #45446 @vagusX
- TypeScript
- 🐞 Table
pagination.positionshould accept'none'. #45398
- 🐞 Table
- RTL
- 💄 Fix Notification's incorrect
margininrtlmode. #45386
- 💄 Fix Notification's incorrect
- 🐞 Layout 支持自动检测
hasSider以防止在 SSR 场景下的闪烁问题。#45361 - 🐞 修复 FloatButton.BackTop 组件显示
findDOMNode is deprecated in StrictMode警告的问题。#45390 @li-jia-nan - 🐞 修复 ColorPicker 不支持
id和data-*属性的问题。#45413 @cheng87126 - 🐞 修复 Table 当
column.showSorterTooltip是一个对象时排序 tooltip 不显示的问题。#45403 - 🐞 修复 Form
inline模式在小屏幕发生元素重叠的问题。#45340 @Yuiai01 - 💄 移除 Upload.Dragger 中重复的
disabled样式。#45446 @vagusX - TypeScript
- 🐞 修复 Table
pagination.positionTS 定义不支持'none'的问题。#45398
- 🐞 修复 Table
- RTL
- 💄 修复 Notification 组件在
rtl模式下边缘间距错误的问题。#45386
- 💄 修复 Notification 组件在
- ⚡️ Optimize CSS-in-JS Design Token cache matching. #45302
- 🆕 Checkbox.Group & Radio.Group
optionsadd missingidprops. #45287 - 🐞 Fix Affix that
targetnot work. #45314 @mingming-ma - 🐞 MISC: Add
cspattribute for icon style. #45334 @AlexeyTeterin - 🐞 Fix Button that does not display loading status when
loadingproperty is set to{ delay: 0 }. #45282 @YDFlame13 - 🐞 Fix Segmented text jump issue in Safari. #45310
- 🐞 Fix Watermark that can be hidden via "Hide Element" feature in browser. #45290 @Yuiai01
- 🐞 Fix Input that background should not be transparent when hovered or focused. #45297 @MadCcc
- 🐞 Fix Form call
resetFieldswill still keep Form.List field when itsinitialValueis set. #45284 - 🐞 Fix Tree.DirectoryTree
selectedNodesinonSelectmethod could not get a value when configuringfieldNames. #45036 @Zian502 - 💄 Revert outline style of Input, InputNumber, Select, Cascader, TreeSelect, DatePicker, TimePicker, ColorPicker. #45286 @MadCcc
- 💄 Fix Card style with small size Tabs. #45272 @MadCcc
- ⚡️ 优化 CSS-in-JS Design Token 缓存命中性能。#45302
- 🆕 为 Checkbox.Group 与 Radio.Group 的
options添加id属性支持。#45287 - 🐞 修复 Affix 组件设置
target失效的问题。#45314 @mingming-ma - 🐞 MISC: 为图标样式设置
csp属性。#45334 @AlexeyTeterin - 🐞 修复 Button 组件
loading属性设置为{ delay: 0 }时不显示加载状态。#45282 @YDFlame13 - 🐞 修复 Segmented 在 Safari 下切换时的样式跳动问题。#45310
- 🐞 修复 Watermark可以使用浏览器的
Hide Element来隐藏水印。#45290 @Yuiai01 - 🐞 修复 Input 组件 hover 或者 focus 状态时背景色变为透明的问题。#45297 @MadCcc
- 🐞 修复 Form 在调用
resetFields时,无法重置配置了initialValue的 Form.List 的问题。#45284 - 🐞 修复 Tree.DirectoryTree 在配置
fieldNames时,onSelect方法中的selectedNodes无法获取值。#45036 @Zian502 - 💄 回滚 Input、InputNumber、Select、Cascader、TreeSelect、DatePicker、TimePicker、ColorPicker 的描边样式。#45286 @MadCcc
- 💄 修复 Card 搭配小尺寸 Tabs 时的样式问题。#45272 @MadCcc
- 🔥 New component Flex, used to set flexible layout. #44362
- 🔥 Notification component supports
stackconfiguration. By default, more than three notifications will be stacked. #44618 - 🔥 Update the active styles of Input, InputNumber, Select, Cascader, TreeSelect, DatePicker, and ColorPicker. #45009
- 🆕 Watermark supports setting the text alignment direction through
textAlign. #44888 @Yuiai01 - 🆕 Slider supports any number of nodes and migrates xxxStyles to semantic
stylesandclassNamesproperties. #45000 - 🆕 Cascader supports the Cascader.Panel component for inline use. #45089
- 🆕 Tooltip adds
freshattribute to support scenarios where content still needs to be updated when closed. #45020 - 🆕 Drawer supports customizing the
classNameof built-in modules throughclassNames. #44935 - 🆕 ConfigProvider supports the
warningattribute to configure warning levels (e.g. filter out deprecated API warnings). #44809 - Modal
- 🐞 Fix the problem that the nested Typography of Menu.Item cannot be vertically centered when
ellipsisis true. #41146 @Yuiai01 - 🐞 Fix Select internal input not being able to apply fontFamily. #45197 @Yuiai01
- 🐞 Fix InputNumber border issue when using
addonBeforein Space.Compact. #45004 @Yuiai01 - 🐞 Fix the problem that Tag.CheckableTag does not support ref. #45164 @mingming-ma
- 🐞 Fixed the issue where the font in the Avatar.Group component does not support responsiveness. #34722 @laishiwen
- 🛠 Refactor Affix into a functional component. #42674
- 🛠 The Popover component deprecates the
minWidthcomponent token and addstitleMinWidthas a replacement. #44750 - 🌈 Token
- 🆕 Input adds
hoverBgactiveBgtoken to set the input box hover and activation background color. #44752 @Pan-yongyong - 🆕 Descriptions Added
titleColorandcontentColorto set the title color and content area text color. #44729 @Child-qjj - 🐞 Fixed the issue where the Input component Token
addonBgis invalid. #45222
- 🆕 Input adds
- TypeScript
- 🤖 The ArgsProps type for exported Notification is NotificationArgsProps. #45147
- 🌐 Locales
- 🇵🇱 Added Tour locales for pl_PL. #45166 @antonisierakowski
- 🇰🇷 Optimize ko_KR locales. #45150 @owjs3901
- 🔥 新增 Flex 组件,用于设置弹性布局。#44362
- 🔥 Notification 组件支持
stack配置,默认超过三个以上的提示会堆叠起来。#44618 - 🔥 更新 Input、InputNumber、Select、Cascader、TreeSelect、DatePicker、ColorPicker 的激活态样式。#45009
- 🆕 Watermark 支持通过
textAlign设置文本对齐方向。#44888 @Yuiai01 - 🆕 Slider 支持任意节点数并且将 xxxStyle 迁移至语义化
styles和classNames属性中。#45000 - 🆕 Cascader 支持 Cascader.Panel 组件供内联使用。#45089
- 🆕 Tooltip 添加
fresh属性以支持在关闭时仍然需要更新内容的场景。#45020 - 🆕 Drawer 支持通过
classNames自定义内置模块的className。#44935 - 🆕 ConfigProvider 支持
warning属性以配置警告等级(如过滤掉废弃 API 警告)。#44809 - Modal
- 🐞 修复 Menu.Item 嵌套的 Typography 其
ellipsis为 true 时无法垂直居中的问题。#41146 @Yuiai01 - 🐞 修复 Select 内部 input 无法应用 fontFamily 的问题。#45197 @Yuiai01
- 🐞 修复 InputNumber 在 Space.Compact 中使用
addonBefore时的边框问题。#45004 @Yuiai01 - 🐞 修复 Tag.CheckableTag 不支持 ref 的问题。#45164 @mingming-ma
- 🐞 修复 Avatar.Group 组件内的字体不支持响应式的问题。#34722 @laishiwen
- 🛠 重构 Affix 为函数组件。#42674
- 🛠 Popover 组件废弃
minWidth组件 token,并添加titleMinWidth作为替代。#44750 - 🌈 Token
- 🆕 Input 新增
hoverBgactiveBgtoken 用以设置输入框 hover 和 激活时背景颜色。#44752 @Pan-yongyong - 🆕 Descriptions 新增
titleColorcontentColor用以设置标题颜色和内容区域文字颜色。#44729 @Child-qjj - 🐞 修复 Input 组件 Token
addonBg失效的问题。#45222
- 🆕 Input 新增
- TypeScript
- 🤖 导出 Notification 的 ArgsProps 类型为 NotificationArgsProps。#45147
- 🌐 国际化
- 🇵🇱 为 pl_PL 补充 Tour 国际化。#45166 @antonisierakowski
- 🇰🇷 优化 ko_KR 国际化。#45150 @owjs3901
- 🐞 Fix Popover that should shift automaticly when overflowed. #45015 @MadCcc
- Tooltip
- 🛠 ComponentToken remove
radiusBasemust less than16limitation. #44980 - 🐞 Fix Dropdown can not give
reffor the root children rendered bydropdownRender. #44971 - 🐞 Fix Table
cellPaddingBlocknot working. #45040 - 🐞 Fix Input wrong height with small
controlHeight. #45048 - TypeScript
- 🤖 MISC: Fix
@types/react@18.2.22React.Key type errors. #44938
- 🤖 MISC: Fix
- 🐞 修复 Popover 超出屏幕时不会自动调整偏移的问题。#45015 @MadCcc
- Tooltip
- 🛠 ComponentToken 移除
radiusBase必须小于16的限制。#44980 - 🐞 修复 Dropdown 通过
dropdownRender渲染的子节点配置ref不生效的问题。#44971 - 🐞 修复 Table
cellPaddingBlock不生效的问题。#45040 - 🐞 修复 Input 组件在小尺寸
controlHeight下高度不正确的问题。#45048 - TypeScript
- 🤖 MISC: 修复
@types/react@18.2.22React.Key 定义更新引发的问题。#44938
- 🤖 MISC: 修复
- 🐞 Fix Table selection column not align in center when
sizeissmall. #44922 - 🐞 Fix Select style problem when
labelcontainsdivelement. #44927 - 🐞 Fix Modal broken style of buttons when custom
footer. #44929 @Wxh16144 - 🐞 Fix notification wrong pop-up animation when
placementisbottom. #44918 @linxianxi - 🐞 Fix missing inherited feedbackIcon in Form.Item with
noStyle. #44937
- 🐞 Fix Select that
controlHeightSMnot work in small size. #44859 @MadCcc - 🐞 Fix Rate that star transaform not at center. #44855 @MadCcc
- 🐞 Fix DatePicker that in
dateTimemode switching input didn't triggeronCalendarChange. #44845 @Yuiai01 - 🐞 Fix Table
virtualselection checkbox or radio not align in center. #44786 - 🐞 Fix Select carbin align top bug when enable
maxTagCount. #44757 - 🐞 Fix Select alignment issue when label is Typography. #44756
- 💄 Fix Table with
virtualdisplay issue about columns less than table size and some border & hover style missing. #44818 - 💄 Fix wrong style of Select in Input
addon. #44825 @MadCcc - 💄 Fix Tree that Checkbox should be aligned with first line. #44827 @MadCcc
- 💄 Fix Card that Card.Grid has wrong style with left bottom corner. #44801 @Jason-huang66
- 💄 Fix Select/Cascader/TreeSelect style issue when customize their height. #44753
- TypeScript
- 🤖 Optimize
reftype of Radio.Button. #44747 @LexiosAlex - 🤖 Optimize
reftype of Checkbox. #44746 @LexiosAlex
- 🤖 Optimize
- 🐞 修复小尺寸 Select 组件
controlHeightSMtoken 配置无效的问题。#44859 @MadCcc - 🐞 修复 Rate 组件星星变换中心不在正中心的问题。#44855 @MadCcc
- 🐞 修复 DatePicker 组件
dateTime模式切换输入框不会触发onCalendarChange的问题。#44845 @Yuiai01 - 🐞 修复 Table
virtual配置下,选择框没有居中对齐的问题。#44786 - 🐞 修复 Select 开启
maxTagCount时搜索光标偏上的问题。#44757 - 🐞 修复 Select 的 label 为 Typography 组件时的选中文本对齐问题。#44756
- 💄 修复 Table
virtual开启虚拟滚动时,当columns小于表格宽度会显示异常的问题以及部分边框、悬浮样式丢失的问题。#44818 - 💄 修复 Select 组件在 Input
addon中使用时的样式错误。#44825 @MadCcc - 💄 修复 Tree 组件样式,使 Checkbox 与文字第一行对齐。#44827 @MadCcc
- 💄 修复 Card 组件 Card.Grid 边缘样式问题。#44801 @Jason-huang66
- 💄 修复 Select/Cascader/TreeSelect 自定义高度时的样式问题。#44753
- TypeScript
- 🤖 优化 Radio.Button 的
ref类型。#44747 @LexiosAlex - 🤖 优化 Checkbox 的
ref类型。#44746 @LexiosAlex
- 🤖 优化 Radio.Button 的
- 🔥 Table component now supports the
virtualattribute to enable virtual scrolling. #44349 - 🔥 Form's
validateFieldsnow supportsrecursiveto validate all fields with nested paths. #44130 - 🔥 Form.Item now supports
validateDebounceto configure validation debounce. #44633 - 🆕 Button component has added three component tokens:
contentFontSize,contentFontSizeSM, andcontentFontSizeLG, allowing customization of font sizes for different sizes. #44257 - 🆕 Form's
requiredMarknow supports custom rendering. #44073 - 🆕 Tabs component has added a new component token
itemColorto control the text color of normal tabs. #44201 - 🆕 ColorPicker now supports
defaultFormat. #44487 @CYBYOB - 🆕 Form supports
feedbackIconsand Form.Item supportshasFeedback={{ icons: ... }}, now feedback icons could be customized in both ways. #43894 @gldio - 🆕 Added the
itemSelectedColorcomponent token to the Segmented component. #44570 @xiaozisong - 🆕 Added support for custom function rendering in the Modal footer. #44318 @RedJue
- 🆕 Added responsive setting support for
items.spanin Descriptions. #44534 - 🆕 Added support for global configuration of
indicatorSizein Tabs component through ConfigProvider. #44517 - 🆕 Added the
directionparameter to thefilterOptionfunction in the Transfer component. #44417 @Zian502 - 🆕 Added support for the
sourceparameter in theonSearchmethod of the Input.Search component. #44457 @kiner-tang - 🆕 Added a component token to the Input component for customizing the shadow when activated. #44410
- 🆕 Added a component token to the Radio component for customizing the color when the fill button is selected. #44389
- 🆕 Tour component now supports horizontal offset for spacing. #44377 @RedJue
- 🆕 Tour component now supports customizing the close button using the
closeIconprop. #44312 @kiner-tang - 🆕 Avatar component now supports configuring size using ConfigProvider. #44288 @li-jia-nan
- 🆕 List component now supports configuring size using ConfigProvider's
componentSizeoption. #44267 @Yuiai01 - 🆕 Cascader component now supports
autoClearSearchValueoption. #44033 @linxianxi - 🆕 Added support for
rootClassNamein Upload,AutoComplete,Badge.Ribbon,Input.TextArea,RangePicker,TimePicker @kiner-tang. - 💄 Refactored the structure of Modal.confirm to fix the width abnormality caused by
width: fit-contentand the style line break issue with a large amount of text. Extracted confirm styles for lazy loading to optimize style size in SSR. #44557 - 💄 Adjusted the linear gradient colors for
circleanddashboardin Progress to conical gradients. #44404 - 💄 Fixed DatePicker missing custom footer style. #44642 @li-jia-nan
- 💄 Fixed Tag where
tag.classNameandtag.styledid not work on Tag.CheckableTag in ConfigProvider. #44602 - 💄 Fixed the inconsistency in width between the dropdown and the input box when the container of Select component has
transform: scalestyle configured ingetPopupContaineroption. #44378 - 🐞 Fixed an issue where Form.Item with
noStyleconfiguration prevented the bound element from consuminguseStatus. #44576 - 🐞 Fixed an issue where using Tag within Popover/Popconfirm caused incorrect
font-sizeon hover. #44663 - 🐞 Fixed an issue where Input's default button had extra shadow. #44660 @daledelv
- 🐞 Fixed an issue where using Modal's hooks to close it with the
esckey didn't correctly trigger theawait. #44646 - 🐞 Fixed the issue where the preset
sizeof Space did not follow the Design Token, now compact mode correctly handles the corresponding spacing values. #44598 @li-jia-nan - 🐞 Fixed the issue in Upload where the download button would still be displayed after clicking on it and moving the mouse out of the file. #44594 @zbw-zbw
- 🐞 Fix FloatButton that margin not work with
hrefin FloatButton.Group. #44707 @Yuiai01 - 🐞 Fixed the issue where
fontSizeSMtoken was not being applied to Button component. #44217 @CHENGTIANG - 🐞 The Watermark now works in nested Modal and Drawer components. #44104
- 🛠 Alert, Tree, Cascader, Layout, Table, Modal, Drawer, Button, Switch, Select, Badge, Form, TimePicker, Spin, Input, Progress, Divider Added Component Token. #42142 #42607 #42627 #42757 #42774 #42778 #44090 #44118 #44174 #44228 #44261 #44282 #44334 #42192 @hms181231 @linhf123 @poyiding @Wxh16144 @Yuiai01
- 🛠 Remove compatibility logic for old versions of IE browser for Space and Grid components to reduce bundle size. #44620 @li-jia-nan
- TypeScript
- 🤖 Export BasicDataNode type from the Tree. #44624 @kiner-tang
- 🔥 Table 支持
virtual属性开启虚拟滚动。#44349 - 🔥 Form
validateFields支持recursive以校验所有包含路径的字段。#44130 - 🔥 Form.Item 支持
validateDebounce以配置校验防抖。#44633 - 🆕 Button 组件新增
contentFontSizecontentFontSizeSMcontentFontSizeLG三个组件 token ,用于定制各个尺寸下的字体大小。#44257 - 🆕 Form
requiredMark支持自定义渲染。#44073 - 🆕 Tabs 组件添加新组件 Token
itemColor,用于控制常态 tab 的文本颜色。#44201 - 🆕 ColorPicker 组件支持
defaultFormat属性。#44487 @CYBYOB - 🆕 Form 新增
feedbackIcons属性且 Form.Item 支持hasFeedback={{ icons: ... }},用于自定义校验图标。#43894 @gldio - 🆕 Segmented 组件新增
itemSelectedColor的组件 Token。#44570 @xiaozisong - 🆕 Modal 页脚
footer支持自定义函数渲染。#44318 @RedJue - 🆕 Descriptions 的
items.span支持响应式设置。#44534 - 🆕 Tabs 组件
indicatorSize支持通过 ConfigProvider 全局配置。#44406 - 🆕 Transfer 组件
filterOption函数新增direction入参。#44417 @Zian502 - 🆕 Input.Search 组件支持在
onSearch方法中接受source参数。#44457 @kiner-tang - 🆕 Input 组件新增组件 Token 用于定制激活态阴影。#44410
- 🆕 Radio 组件新增组件 Token,用于定制填充按钮选中时的颜色。#44389
- 🆕 Tour 组件间距支持横向偏移量。#44377 @RedJue
- 🆕 Tour 组件支持通过
closeIcon来自定义关闭按钮。#44312 @kiner-tang - 🆕 Avatar 支持使用 ConfigProvider 的
componentSize配置size。#44288 @li-jia-nan - 🆕 List 支持使用 ConfigProvider 的
componentSize配置size。#44267 @Yuiai01 - 🆕 Cascader 支持
autoClearSearchValue属性。#44033 @linxianxi - 🆕 在 Upload、AutoComplete、Badge.Ribbon、Input.TextArea、RangePicker、TimePicker 中添加了对
rootClassName的支持。@kiner-tang。 - 💄 重构 Modal.confirm 结构以修复
width: fit-content导致宽度异常问题以及大量文本下的样式断行问题。抽离 confirm 样式至懒加载以优化 SSR 下的样式尺寸。#44557 - 💄 Progress 调整
circle和dashboard的线性渐变色为锥形渐变色。#44404 - 💄 修复 DatePicker 组件自定义页脚样式问题。#44642 @li-jia-nan
- 💄 修复 ConfigProvider
tag.className与tag.style无法作用于 Tag.CheckableTag 的问题。#44602 - 💄 修复 Select 配置的
getPopupContainer容器有transform: scale样式时,弹出框宽度与输入框不一致的情况。#44378 - 🐞 修复 Form.Item 配置
noStyle时,被绑定的元素无法消费useStatus的问题。#44576 - 🐞 修复 Tag 被 Popover/Popconfirm 包裹时,Hover 会导致
font-size错误的问题。#44663 - 🐞 修复 Input.Search 组合中,搜索按钮会额外阴影的问题。#44660 @daledelv
- 🐞 修复 Modal 的 hooks 调用通过按键
esc关闭时无法正确触发 await 的问题。#44646 - 🐞 修复 Space 的预设
size不会跟随 Design Token 的问题,现在紧凑模式也会正确处理对应的间距数值。#44598 @li-jia-nan - 🐞 修复 Upload 组件点击某文件的下载按钮后,鼠标移出该文件时仍展示下载按钮的问题。#44594 @zbw-zbw
- 🐞 修复 FloatButton 组件添加
href后在 FloatButton.Group 中间距失效的问题。#44707 @Yuiai01 - 🐞 修复 Button
fontSizeSMtoken 不生效的问题。#44217 @CHENGTIANG - 🐞 Watermark 现在可以在嵌套的 Modal 和 Drawer 组件中生效。#44104
- 🛠 迁移 Alert、Tree、Cascader、Layout、Table、Modal、Drawer、Button、Switch、Select、Badge、Form、TimePicker、Spin、Input、Progress、Divider 的 less 变量到 Token。 #42142 #42607 #42627 #42757 #42774 #42778 #44090#44118 #44174 #44228 #44261 #44282 #44334 #42192 @hms181231 @linhf123 @poyiding @Wxh16144 @Yuiai01
- 📦 移除 Space 和 Grid 对于旧版 IE 浏览器兼容逻辑,减少打包产物体积。#44620 @li-jia-nan
- TypeScript
- 🤖 从 Tree 中导出
BasicDataNode类型。#44624 @kiner-tang
- 🤖 从 Tree 中导出
- 🛠 Optimize some styles size in document.head by extracting unused styles.
- 📦 Remove
lodash/camelCasefrom@ant-design/iconsdependencies to reduce bundle size. ant-design-icons#595 - Form
- 🐞 Fix Watermark that would crash if
contentis empty string. #44501 - 🐞 Fix ColorPicker popup still working when
disabledistrue. #44466 @RedJue - 🐞 Fix Transfer trigger
onSelectChangetwice sometimes when click checkbox. #44471 @kovsu - 🐞 Fix Typography scrollbar flush problem when enable
ellipsis. #43058 @bbb169 - Slider
- 🐞 Fix Slider draggable track unpredictable behavior. #44503 @BoyYangzai @yoyo837
- ⌨️ Improve Slider a11y behavior by adding
aria-orientation. react-component/slider#859 @5im0n
- 🐞 Fix Steps
type="nav"last item did not hide arrow properly. #44582 @ohhoney1 - TypeScript
- 🤖 Fix Upload file
statusdefinition to remove unused success status. #44468
- 🤖 Fix Upload file
- 🛠 针对 CSSInJS 加载 styles 大小进行了优化。
- 📦 移除
@ant-design/icons依赖lodash/camelCase以优化 bundle size。ant-design-icons#595 - Form
- 🐞 修复 Watermark 组件在
content是空字符串时报错的问题。#44501 - 🐞 修复 ColorPicker 禁用时依然能弹出选择窗口的问题。#44466 @RedJue
- 🐞 修复 Transfer 点击 Checkbox 时有时会触发两次选择行为的问题。#44471 @kovsu
- 🐞 修复 Typography 使用
ellipsis时滚动条闪动的问题。#43058 @bbb169 - Slider
- 🐞 修复 Slider 滑块可拖拽区域范围异常的问题。#44503 @BoyYangzai @yoyo837
- ⌨️ 优化 Slider
aria-orientation可访问性属性。react-component/slider#859 @5im0n
- 🐞 修复 Steps
type="nav"垂直导航步骤条的最后一项箭头没隐藏的问题。#44582 @ohhoney1 - TypeScript
- 🤖 修复 Upload 文件状态定义,移除未使用过的
success状态。#44468
- 🤖 修复 Upload 文件状态定义,移除未使用过的
- 🛠 Refactor Badge style logic and take Ribbon style out to reduce SSR inline style size. #44451
- 🐞 Fix the issue of abnormal icon styling when using `@ant-design/icons`` within App. #41208 @Wxh16144
- 🐞 Fix the issue of vertical dragging malfunction in Carousel. #44460 @RedJue
- 🐞 Fix Tour panel use wrong design token. #44428
- 🐞 Fix Form
wrapperColwith responsivexsconfig not working. #44388 - 🐞 Fix ColorPicker duplicate
keyissue. #44370 @xr0master - 🐞 Fix Radio that not work in Tree title. #44380 @MadCcc
- 🐞 Fix Table that would crash when
filterDropdowndoes not supportref. #44357 @MadCcc - 🐞 Fix Form
inlinelayout show extra bottom margin when validation failed. #44360 - 🐞 Fix DatePicker
showTimeworking error whenformatis Array. #44306 @Zian502 - 🐞 Fix Watermark can not be fully shown when
contentis too long. #44321 - TypeScript
- 🤖 Fix the type error with align property in Dropdown component. #44423 @LeTuongKhanh
- 🛠 重构 Badge 样式逻辑将 Ribbon 样式抽离以降低 SSR 内联样式尺寸。#44451
- 🐞 修复 App 组件下使用
@ant-design/icons的图标样式异常的问题。#41208 @Wxh16144 - 🐞 修复 Carousel 组件垂直方向拖动失效的问题。#44460 @RedJue
- 🐞 修复 Tour 面板使用的 design token 错误的问题。#44428
- 🐞 修复 Form
wrapperCol配置响应式xs属性无效的问题。#44388 - 🐞 修复 ColorPicker 中重复
key的问题。#44370 @xr0master - 🐞 修复 Radio 组件组合 Tree 组件后失效的问题。#44380 @MadCcc
- 🐞 修复 Table 组件
filterDropdown不支持ref时报错的问题。#44357 @MadCcc - 🐞 修复 Form
inline布局在校验失败时出现额外空行的问题。#44360 - 🐞 修复 DatePicker 中
showTime为 true 且format为数组时,组件报错。#44306 @Zian502 - 🐞 修复 Watermark 中
content内容过长时无法完整显示的问题。#44321 - TypeScript
- 🤖 修复 Dropdown 组件中
align属性的类型错误。#44423 @LeTuongKhanh
- 🤖 修复 Dropdown 组件中
- ColorPicker
- 🐞 Fix Descriptions throwing
key is not a properror message. #44278 @RedJue - 🐞 Fix the node is still rendered when Pagination
itemRenderis customized tonull. #44226 - 🐞 Fix Modal in Dropdown
menu.items, rapid mouse movement when expanding Modal will make Dropdown reopen. #44204 - DatePicker
- 💄 Fix DatePicker content is not centered. #44245 @Zian502
- 💄 Optimize DatePicker selection range style. #44206 @kiner-tang
- 💄 Fix clicking on the Tabs area on the mobile terminal triggers a color change. #44200 @yilaikesi
- RTL
- 💄 Fix the numbers in the Badge are also RTL when the text direction of the page is RTL. #43998 @NotEvenANeko
- ColorPicker
- 🐞 修复 Descriptions 抛出
key is not a prop的错误提示。#44278 @RedJue - 🐞 修复 Pagination
itemRender自定义为null时,仍然渲染节点的问题。#44226 - 🐞 修复 Modal 在 Dropdown
menu.items中,展开 Modal 时快速移动鼠标会使 Dropdown 重新打开的问题。#44204 - DatePicker
- 💄 修复 DatePicker 内容不居中问题。#44245 @Zian502
- 💄 优化 DatePicker 中范围选择区域样式。#44206 @kiner-tang
- 💄 修复移动端点击 Tabs 区域触发颜色改变的问题。#44200 @yilaikesi
- RTL
- 💄 修复了当页面的文字方向为 RTL 时 Badge 里面的数字也是 RTL 的问题。#43998 @NotEvenANeko
- DatePicker
- Carousel
- 🐞 Fix Modal footer disabled state that affect by Form. #43055 @Wxh16144
- 🐞 Fix Upload thumbnail that gif will not play. #44083 @linxianxi
- 🐞 Fix FloatButton that menu mode didn't support
badgeprop. #44109 @MadCcc - 🐞 Fix Grid & List responsive config take effect after first render which cause screen flick. #44075
- 🐞 Fix that Design Token partially missing when
@ant-design/cssinjsversion1.15.0. #44091 @MadCcc - 💄 Fix Badge
status="processing"withdotwave style issue. #44153 - 💄 Fix Descriptions border styles when it nests itself. #43454 @Yuiai01
- 💄 Fix Pagination transition style in prev/next buttons. #44030
- 💄 Fix Popconfirm button group wraps unexpectedly. #44022 @MuxinFeng
- 💄 Optimize style of Image preview operation icons. #44141 @MadCcc
- 💄 Optimize Input and InputNumber font size in large mode. #44000 @MuxinFeng
- 💄 Remove Space part useless style. #44098
- DatePicker
- Carousel
- 🐞 修复 Modal 页脚禁用态受 Form 影响的问题。#43055 @Wxh16144
- 🐞 修复 Upload gif 缩略图不会动的问题。#44083 @linxianxi
- 🐞 修复 FloatButton 组件菜单模式不支持
badge配置的问题。#44109 @MadCcc - 🐞 修复 Grid 与 List 响应式布局生效稍晚于首次渲染导致屏幕闪动的问题。#44075
- 🐞 修复
@ant-design/cssinjs版本小于1.15.0时 Design Token 部分丢失的问题。#44091 @MadCcc - 💄 修复 Badge
status="processing"和dot配合使用时,波纹样式异常的问题。#44153 - 💄 修复 Descriptions 组件自行嵌套时的边框样式问题。#43454 @Yuiai01
- 💄 修复 Pagination 上下页切换按钮 `transition`` 丢失的问题。#44030
- 💄 修复 Popconfirm 按钮组意外换行的问题。#44022 @MuxinFeng
- 💄 优化 Image 组件预览操作图标的样式。#44141 @MadCcc
- 💄 优化 Input 和 InputNumber 在大尺寸下的字体大小。#44000 @MuxinFeng
- 💄 移除 Space 部分未使用的样式。#44098
- 🐞 Fix Checkbox & Radio not support customize wave and add className
ant-wave-targetfor this case. #44014 - 🐞 Adjust Form.Item renderProps definition to return correct
FormInstance. #43996 - 🐞 Fixed Table incorrect expand icon direction and row indentation in RTL. #43977 @Yuiai01
- 💄 Fix Pagination that should not have hover and focus style when disabled. #43970 @MadCcc
- TypeScript
- 🐞 Fix unexpected warning of deprecated
clearIcon#43945 @kiner-tang - TypeScript
- 🤖 Export
MappingAlgorithmas type of theme algorithm. #43953
- 🤖 Export
- 🐞 修复预期外的
clearIcon废弃报错。#43945 @kiner-tang - TypeScript
- 🤖 导出
MappingAlgorithm作为主题算法的类型。#43953
- 🤖 导出
- 🔥 Component Token support
algorithmto calculate derivative tokens same as global. #43810 @MadCcc - 🔥 Modal hooks function support
awaitcall. #43470 - 🔥 ConfigProvider support
waveto customize wave effect. #43784 - 🆕 Form support
getFieldsValue({ strict: true })to support only Item bind values. #43828 - 🆕 Descriptions support
itemsprop. #43483 @RedJue - 🆕 ColorPicker support
disabledAlphaprop. #43355 @RedJue - 🆕 Avatar.Group support
shapeprop. #43817 @li-jia-nan - 🆕 AutoComplete/Cascader/DatePicker/Input.Textarea/TimePicker/TreeSelect support
allowClearprop to customize clear button。#43582 @kiner-tang - 🆕 RangePicker
presetssupport callback functions. #43476 @Wxh16144 - 🆕 Added the
preview={{ movable: Boolean }}prop to the Image component to support dragging and dropping into folders. #43823 @linxianxi - 🆕 Slider
tooltipsupportautoAdjustOverflowprop. #43788 - 🆕 Added the
selectionsIconproperty to the Transfer component to support custom icons for the dropdown menu. #43773 @li-jia-nan - 🗑 Select, Tree-Select and Cascader deprecated
showArrowprop. Now suffix arrow should be configured withsuffixIcon. #43520 @MuxinFeng - 🐞 Optimized the import method for
@ant-design/iconsto avoid importing all icons. #43915 @ssxenon01 - 🐞 Fix Anchor not trigger
getCurrentAnchorwhen scroll. #43916 - 🐞 Fix Tooltip
hovernot trigger ondisabledelement. #43872 - 🐞 Fix ColorPicker not calling
onChangeCompletecallback when changing value. #43867 @RedJue - 🐞 Fix
Modal.confirmlocalesetting were reset. #43277 @Yuiai01 - 🐞 Fix Slide description info and slider handle overlap issue. #43780 @Wxh16144
- 🐞 Fix InputNumber handler style in large size. #43875 @yee94
- 🐞 Fix Select popup flip position motion not correct. #43764
- 💄 Optimized the design of icons including CloseCircleFilled/CloseSquareFilled/CloseOutlined/CloseCircleOutlined/CloseSquareOutlined/ExportOutlined/ImportOutlined. 824500
- 💄 Fix when using with other component libraries that use
@ant-design/cssinjs, antd styles will always be inserted at the top to avoid style override issues caused by loading order. #43847 - 💄 Optimize message and notification to not to extract style in SSR. #43808
- ⌨️ Fix Select
aria-activedescendantdidn't conform to valid value. #43800 - ⌨️ Fix
Layout.Headeraccessibility role. #43749 @khalibloo - TypeScript
- 🔥 组件 Token 支持配置
algorithm参数,添加配置即可像全局 Token 一样由部分修改的 token 计算派生 token 的值并用于组件样式中。#43810 @MadCcc - 🔥 Modal hooks 方法支持
await调用。#43470 - 🔥 ConfigProvider 支持
wave配置以自定义水波纹效果。#43784 - 🆕 Form 新增
getFieldsValue({ strict: true })以支持获取仅通过 Item 绑定的字段。#43828 - 🆕 Descriptions 支持
items属性。#43483 @RedJue - 🆕 ColorPicker 支持
disabledAlpha属性。#43355 @RedJue - 🆕 Avatar.Group 支持设置
shape属性。#43817 @li-jia-nan - 🆕 AutoComplete/Cascader/DatePicker/Input.Textarea/TimePicker/TreeSelect 组件均已支持通过
allowClear.clearIcon属性自定义清除按钮。#43582 @kiner-tang - 🆕 RangePicker
presets属性支持回调函数。#43476 @Wxh16144 - 🆕 Image 新增
preivew={{ movable: Boolean }}属性以支持可拖拽到文件夹。#43823 @linxianxi - 🆕 Slider
tooltip支持配置autoAdjustOverflow属性。#43788 - 🆕 Transfer 组件新增
selectionsIcon属性以支持自定义下拉菜单图标。#43773 @li-jia-nan - 🗑 Select、Tree-Select 和 Cascader 组件废弃
showArrow属性,可由suffixIcon统一配置。#43520 @MuxinFeng - 🐞 优化
@ant-design/icons导入写法以避免 Tree Shaking 在 Next.js 中失效的问题。#43915 @ssxenon01 - 🐞 修复 Anchor 在滚动时无法触发
getCurrentAnchor的问题。#43916 - 🐞 修复 Tooltip hover 时无法在
disabled元素上触发的问题。#43872 - 🐞 修复 ColorPicker 在更改值时未调用
onChangeComplete回调的问题。#43867 @RedJue - 🐞 修复
Modal.confirm的locale设置被重置的问题。#43277 @Yuiai01 - 🐞 修复 Slider 中描述信息和滑块手柄重叠问题。#43780 @Wxh16144
- 🐞 修复 Select 弹出框翻转时动画不正确的问题。#43764
- 🐞 修复 InputNumber 在圆角不同下的样式异常。#43875 @yee94
- 💄 优化了 CloseCircleFilled/CloseSquareFilled/CloseOutlined/CloseCircleOutlined/CloseSquareOutlined/ExportOutlined/ImportOutlined 等图标的设计。824500
- 💄 修复和其他使用
@ant-design/cssinjs的组件库混合使用,antd 的样式总是会插入在最前面,以避免加载顺序导致的样式覆盖问题。#43847 - 💄 优化 message 和 notification 渲染逻辑,现在在 SSR 环境下不会导出样式。#43808
- ⌨️ 修复 Select
aria-activedescendant缺少有效值的问题。#43800 - ⌨️ 修复
Layout.Headera11yrole属性。#43749 @khalibloo - TypeScript
- 🐞 Fix Adjust the positioning of the Tour to be centered when the
targetisnull. #43694 @linxianxi - 💄 Fix Watermark style issue in dark theme. #43754
- 🐞 Fix Button missing part React.
ButtonHTMLAttributesissue. #43716 - 💄 Watermark use Design Token to support dark theme. #43754
- TypeScript
- 🤖 Button
reftype optimization. #43703 @Negentropy247
- 🤖 Button
- 🐞 修复 Tour 当
target为null时弹出位置不居中的问题。#43694 @linxianxi - 🐞 修复 Button 丢失部分
React.ButtonHTMLAttributes定义的问题。#43716 - 💄 Watermark 将固定的颜色替换成 Design Token 以适应暗黑主题。#43754
- TypeScript
- 🤖 Button
ref类型优化。#43703 @Negentropy247
- 🤖 Button
- 💄 Fix Menu miss hover style issue. #43656 @MadCcc
- 🐞 Fix Notification throwPurePanel definition missing error. #43687 @li-jia-nan
- 🐞 Fix Button
onClickmissingeventdefinition. #43666 - 🐞 Fix Input and InputNumber align issue. #43548 @bbb169
- 🐞 Fix DatePicker suffix use wrong token. #43646 @MadCcc
- 🐞 Fix Steps with clickable can not trigger by keyboard. #43644
- TypeScript
- 🤖 Remove Button type
ghostfrom TS definition. #43675
- 🤖 Remove Button type
- 💄 修复 Menu 组件悬浮态样式丢失的问题。#43656 @MadCcc
- 🐞 修复 Notification 报错 PurePanel 定义未找到的问题。#43687 @li-jia-nan
- 🐞 修复 Button
onClick事件丢失event定义的问题。#43666 - 🐞 修复 Input 和 InputNumber 行内对齐问题。#43548 @bbb169
- 🐞 修复 DatePicker 后缀颜色使用
token不当的问题。#43646 @MadCcc - 🐞 修复 Steps 配置可点击时不能通过键盘操作的问题。#43644
- TypeScript
- 🤖 移除 Button 无用的
type="ghost"属性定义。#43675
- 🤖 移除 Button 无用的
- 💄 Migrate Component Token of Menu from 4.x less variables. #43576
- 🐞 Fix QRCode throws
Can't resolve 'antd/lib/qr-code'in Next.js 13. #43572 - 🐞 Fix that antd components usage in Next.js App Router, check the documentation. #43573 @li-jia-nan
- 🐞 Fix InputNumber Phantom dependency issue:
Cannot find module 'rc-component/mini-decimal'. #43635 - 🐞 Fix Checkbox both set
checkedandindeterminateprop will not show asindeterminatestyle. #43626 - 🐞 Fix Form.Item set
label=""will break the line align. #43614 - 🐞 Fix notification
placementnot being respected when passed via App component. #43522 @Rajil1213 - 🐞 Fix Pagination jumpy page size select when search in it. #43556
- 🐞 Fix Button disabled style is missing when use with the deprecated usage of
type="ghost". #43558 @kiner-tang - 🐞 Fix Tag extra margin when there is only
iconinside it. #43518 @Yuiai01 - 🐞 Fix ColorPicker that status style is missing inside Form.Item. #42880 @RedJue
- TypeScript
- 🤖 Fix
SpaceContextdon't exported correctly. #43501 @VovkaGoodwin - 🤖 Improve TS definitions for some components. #43581 #43545 #43588 #43610 #43629. Thanks to @thinkasany、@li-jia-nan for the contributions.
- 🤖 Fix
- 💄 补全 Menu 主题定制 token。#43576
- 🐞 修复 QRCode 在 Next.js 13 中报错
Can't resolve 'antd/lib/qr-code'的问题。#43572 - 🐞 修复 antd 不支持在 Next.js App Router 中使用的问题,查看使用文档。#43573
- 🐞 修复 InputNumber 幽灵依赖报错
Cannot find module 'rc-component/mini-decimal'。#43635 - 🐞 修复 App.useApp 方式调用 notification 组件时
placement属性不生效的问题。#43522 @Rajil1213 - 🐞 修复 Checkbox 同时配置
checked和indeterminate时没有展示为indeterminate样式的问题。#43626 - 🐞 修复 Form.Item 设置
label=""时垂直方向对齐偏移的问题。#43614 - 🐞 修复 Pagination 分页选择器弹层抖动的问题。#43556
- 🐞 修复 Button 幽灵按钮禁用状态丢失的问题。#43558 @kiner-tang
- 🐞 修复 Tag 仅传入
icon时渲染多余间距的问题。#43518 @Yuiai01 - 🐞 修复 ColorPicker 不跟随表单校验状态改变 UI 的问题。#42880 @RedJue
- TypeScript
- 🤖 修复
SpaceContext没有正确导出的问题。#43501 @VovkaGoodwin - 🤖 优化部分组件 TS 定义实现。#43581 #43545 #43588 #43610 #43629,感谢 @thinkasany、@li-jia-nan 的贡献。
- 🤖 修复
- 🆕 ConfigProvider now supports
classNameandstyleproperties for all components. Thanks to @Yuiai01, @li-jia-nan, @MuxinFeng for their contributions. - 🆕 Badge now supports
classNamesandstylesproperties. #43245 @li-jia-nan - 🆕 ColorPicker now supports new features such as
showText,destroyTooltipOnHide,onChangeComplete,panelRenderandsize. - 🆕 Alert, Drawer, Modal, Notifaction, Tag, Tabs now support hiding the close button by setting
closeIconto null or false. #42828 @kiner-tang - 🆕 Image supports
imageRender,toolbarRenderattributes to support custom rendering of preview images and toolbars, also supports new props such asonTransform,minScale,maxScale. Image.PreviewGroup supportsitemsattribute 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
previewattribute supportscloseIcon, Image.PreviewGroup supports thefallbackattribute, 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. #43000 @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
classNameprop in Anchor, CollapsePanel, and Input.Group. #43481 @thinkasany - 🐞 Fix Upload progress bar missing fade motion. #43471
- 🐞 Added warning for deprecated Token
colorItemBgSelectedin 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
tooltipshould be centered when there is little content. #43430 @Jomorx - 💄 Added
colorLinkto the seed token, andcolorLinkHoverandcolorLinkActivewill be calculated from colorLink.#43183 @MadCcc - 💄 Adjusted some tokens in Slider to component tokens. #42428 @heiyu4585 RTL#42428 @heiyu4585
- RTL
- TypeScript
- 🤖 Added
RawPurePanelPropsinterface description for Popover.#43453 @thinkasany - 🤖 Replaced
reftype withTooltipRefinstead ofunknownforPopconfirm.#43452 @thinkasany - 🤖 Replaced
reftype withTooltipRefinstead ofunknownfor Popover.#43450 @Negentropy247 - 🤖 Improved type declaration of
GroupSizeContextin ButtonGroup.#43439 @thinkasany - 🤖 Improved type declaration of
modeproperty in Select.#43413 @thinkasany - 🤖 Replaced
reftype withCheckboxRefinstead ofunknownfor 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 进行重构。#43000 @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 增加
- Form
- 🐞 Fix the Badge
colorattribute does not take effect. #43304 - 🐞 Fix the position of Select clear icon when FormItem sets
hasFeedback. #43302 @tinyfind - 🐞 Fix Transfer paging drop-down button is hidden and
showSizeChangermethod is invalid. #41906 @Yuiai01 - 🐞 Fix the invalid modification of
colorTextandfontSizeof Popconfirm component. #43212 @MadCcc - 🐞 Fix the problem that deleting files after Upload configures
maxCountwill not triggeronChange. #43193 - 💄 Fix Button disabled style error when it has
linkorhrefattribute. #43091 @BoyYangzai - TypeScript
- 🤖 Optimize Breadcrumb
paramstype and support generics. #43211 - 🤖 Optimize Breadcrumb
paramstype and support generics. #43257 @thinkasany - 🤖 Remove redundant number type from Button
loading. #43256 @thinkasany - 🤖 Transparently pass Cascader
optionTypegeneric. #43231 @ZWkang
- 🤖 Optimize Breadcrumb
- Form
- 🐞 修复 Badge
color属性不生效的问题。#43304 - 🐞 修复 Select 组件的消除图标在 FormItem 设置
hasFeedback时的位置问题。#43302 @tinyfind - 🐞 修复 Transfer 分页下拉按钮被隐藏以及
showSizeChanger方法无效。#41906 @Yuiai01 - 🐞 修复 Popconfirm 组件
colorText和fontSize修改无效的问题。#43212 @MadCcc - 🐞 修复 Upload 配置
maxCount后删除文件不会触发onChange的问题。#43193 - 💄 修复 Button 在有
link或href属性时禁用样式错误。#43091 @BoyYangzai - TypeScript
- 🤖 优化 Breadcrumb
params类型,支持泛型。#43211 - 🤖 优化 Typography
copyIdRef类型。#43257 @thinkasany - 🤖 移除 Button
loading多余 number 类型。#43256 @thinkasany - 🤖 透传 Cascader
optionType泛型。#43231 @ZWkang
- 🤖 优化 Breadcrumb
- BreadCrumb
- 🐞 Fix BreadCrumb
dropdownPropsdoes not working bug. #43151 @linxianxi - 🛠 Improve BreadCrumb behavior when receiving a null title. #43099 @Asanio06
- 🐞 Fix BreadCrumb
- 🐞 Fix Slider disabled state within Form. #43142 @Starpuccino
- 🐞 Fix Form that label offset does not work in vertical mode. #43155 @kiner-tang
- 🐞 Fix Table open filter popup throw react ref warning. #43139
- 🐞 Fix Transfer with
rowKeymakes item unselectable. #43115 - 🐞 Fix Space
sizepriority when using with other components #42752 @linxianxi - 🐞 Fix QRCode color in dark mode. #43162 @ds1371dani
- 💄 Fix Select option unexpected margin when using with Badge and Tag. #43097 @Yuiai01
- TypeScript
- 🤖 Improve Button
targetproperty type definition. #43129 @li-jia-nan - 🤖 Improve Progress
sizeproperty type to support percent value. #43123 @Ali-ovo - 🤖 Improve Slider tooltip type definition. #43094 @li-jia-nan
- 🤖 Improve Button
- BreadCrumb
- 🐞 修复 BreadCrumb 传递
dropdownProps不生效的问题。#43151 @linxianxi - 🛠 优化 BreadCrumb 处理
title为null时的行为。#43099 @Asanio06
- 🐞 修复 BreadCrumb 传递
- 🐞 修复 Slider 在 Form 内部时的禁用状态。#43142 @Starpuccino
- 🐞 修复 Form 标签偏移值在垂直布局中不生效的问题。#43155 @kiner-tang
- 🐞 修复 Table 打开筛选面板会报
react ref错误警告信息。#43139 - 🐞 修复 Transfer 配置
rowKey后无法选中的问题。#43115 - 🐞 修复 Space 与其他组件搭配使用时的
size优先级#42752 @linxianxi - 🐞 修复 QRCode 在暗黑模式下的颜色。#43162 @ds1371dani
- 💄 修复 Select 选项使用 Badge 和 Tag 时底部存在意外边距的问题。#43097 @Yuiai01
- TypeScript
- 🤖 优化 Button 的
target属性类型定义。#43129 @li-jia-nan - 🤖 优化 Progress 的
size属性类型定义以支持百分比值。#43123 @Ali-ovo - 🤖 优化 Slider tooltip 的类型定义。#43094 @li-jia-nan
- 🤖 优化 Button 的
- 🐞 Fix Dropdown with
autoFocusnot work as expect. #43002 @Yuiai01 - 🐞 Fix InputNumber with
prefixabnormal height under Form.Item ofhasFeedBack. #43049 - 💄 Fix Input and InputNumber disabled style with addons. #42974 @kampiu
- 🐞 Fix Upload trigger extra
onChangeevent when upload the file exceedsmaxCount. #43034 - 🐞 Fix export bundle size always contain
rc-field-formeven not use it. #43023 - 🐞 Fix DatePicker
disabledTimesometime can select disabled option. #42991 @linxianxi - 📖 Add FloatButton controlled demo and patch related warning info. #42835 @poyiding
- 🐞 Fix Button with
disabledstill can interactive with sub component. #42949 @kiner-tang - 🐞 Drawer add max width to avoid exceed in small screen. #42914 @amir2mi
- 🐞 Fix Table
preserveSelectedRowKeysnot working whencheckStrictlyconfigured. #42784 @linxianxi - 🐞 Fix Transfer select count not sync when dynamic update data. #42785 @BoyYangzai
- 🐞 Fix Radio.Button
titlenot work and update typescript definition. #43012 @linxianxi
- 🐞 修复 Dropdown 配置
autoFocus无效的问题。#43002 @Yuiai01 - 🐞 修复 InputNumber 设置
prefix在 Form.ItemhasFeedBack内高度异常的问题。#43049 - 💄 修复 Input 和 InputNumber 禁用状态样式。#42974 @kampiu
- 🐞 修复 Upload 配置
maxCount后,上传超出范围的文件仍然会触发onChange事件的问题。#43034 - 🐞 修复打包时即便没有使用
rc-field-form包仍然会包含它的问题。#43023 - 🐞 修复 DatePicker 动态设置
disabledTime时值不正确的问题。#42991 @linxianxi - 📖 补充 FloatButton 受控实例,并添加对应的 warning 提示。#42835 @poyiding
- 🐞 修复 Button 禁用时子节点仍然可以交互的问题。#42949 @kiner-tang
- 🐞 Drawer 添加最大宽度以防止在小屏幕下超出的问题。#42914 @amir2mi
- 🐞 修复 Table 设置
checkStrictly时,preserveSelectedRowKeys无效的问题。#42784 @linxianxi - 🐞 修复 Transfer 在动态变更数据时,展示的选中数不同步的问题。#42785 @BoyYangzai
- 🐞 修复 Radio.Button
title属性不生效,并补齐对应定义。#43012 @linxianxi
- ColorPicker
- 🐞 Fix ColorPicker preset cannot be selected. #42882 @RedJue
- 🐞 Fix ColorPicker that should not trigger
onChangewhen click clear after clearing. #42643 @linxianxi
- 🐞 Fix Collapse that displayed unexpected deprecated warning. #42876 @kiner-tang
- TypeScript
- ColorPicker
- 🐞 修复 ColorPicker 预设颜色没法选中的问题。#42882 @RedJue
- 🐞 修复 ColorPicker 组件清除后再点击清楚仍然触发
onChange的问题。#42643 @linxianxi
- 🐞 修复 Collapse 组件废弃警告异常显示问题。#42876 @kiner-tang
- TypeScript
- 🆕 ColorPicker add
onClearand dont't close panel when clearing. #42634 @linxianxi - 🆕 Collapse
itemsto support configure panel content. #42545 @kiner-tang - 🆕 Add static function
getDesignTokento access full Design Token. #42723 @MadCcc - 🆕 ConfigProvider support configure Space
classNamesandstylesproperties. #42748 @RedJue - 🆕 Space support
classNamesandstylesproperties. #42743 @RedJue - 🆕 Drawer panel support event listener. Wrapper support passing
data-*props. #42718 @kiner-tang - 🆕 ConfigProvider support configuring Button
style/className/styles/classNames. #42623 @LuZhenJie1999 - 🆕 Pagination size change select component is searchable now. #42608
- 🆕 QRCode support render svg. #42570 @sy296565890
- 🆕 Calendar support passing
panelModeas the select source type to the internal select trigger callback to use the correct source type when called. #42459 @bombillazo - 🆕 Select add
groupLabelprop infieldNamesto refleact title of group. #42492 @BoyYangzai - 🆕 Table add support for custom sort icon of table column. #42498 @sawadyecma
- 🆕 DatePicker support
kk:mmformat. #42494 @cooljser - 🆕 ConfigProvider.config support
themefor static method config. #42473 - 🆕 Calendar
onSelectsupportinfo.sourceparam to help get select source. #42432 - 💄 Optimize ColorPicker style in dark theme. #42827 @RedJue
- 💄 Fix Popconfirm, Alert and Notification that
colorTextHeadingandcolorTextusage. #42839 @MadCcc - 💄 Fix Divider style problem. #42797 @kongmingLatern
- 🐞 Fix Image.PreviewGroup not reset image state when switch it. #42793 @linxianxi
- 🐞 Reduce bundle size by refactor via
rc-util/lib/pickAttrs. Fix RatefindDOMNode is deprecatedwarning in StrictMode. #42688 - 🐞 Rate could accept
iddata-*aria-*roleonMouseEnteronMouseLeaveattributes now, so that it can be wrapped by Tooltip component. #42676 - 🐞 Fix Menu.Submenu not aligned in horizontal mode. #42648 @MadCcc
- 🐞 Align Card
tabListAPI with Tabitems. #42413 - 🐞 Fix circular dependencies.
- 🐞 Fix Modal circular dependency issue. #42841 @kiner-tang
- 🐞 Fix Space circular dependency issue. #42811 @kiner-tang
- 🐞 Fix Statistic circular dependency issue. #42814 @kiner-tang
- 🐞 Fix List circular dependency issue. #42806 @kiner-tang
- 🐞 Fix Dropdown circular dependency issue. #42764 @Dunqing
- ⌨️ Improve Progress accessibility by adding more
ariaprops. #42704 @MehmetYararVX - ⌨️ Notification add role
props. #42484 @guan404ming - 🛠 Collapse use
onKeyDowninstead ofonKeyPressto change collapse panel active state. #42592 @kiner-tang - 🛠 Refactor Menu with
@rc-component/trigger. Removerc-triggerand reduce bundle size. #42554 @MadCcc - 🛠 Table rename
sorterOrdertosortOrderfor arguement ofsortIcon. #42519 @sawadyecma - Component Token Migration. For more info: Migrate less variables
- 🛠 Rename Menu component token with new naming standard. #42848 @MadCcc
- 🛠 Migrate Radio less variables. #42050 @Yuiai01
- 🛠 Migrate Image less variables. #42048 @guan404ming
- 🛠 Migrate Tooltip less variables. #42046 @guan404ming
- 🛠 Migrate Transfer less variables. #42431 @heiyu4585
- 🛠 Migrate Tabs less variables. #42186 @heiyu4585
- 🛠 Migrate Card less variables. #42061 @heiyu4585
- 🛠 Migrate Mentions less variables. #42711 @heiyu4585
- 🛠 Migrate Avatar less variables. #42063 @heiyu4585
- 🛠 Migrate Pagination less variables. #42330 @heiyu4585
- 🛠 Migrate Popover less variables. #42337 @heiyu4585
- 🛠 Migrate Tag less variables. #42053 @heiyu4585
- 🛠 Migrate List less variables. #42041 @jrr997
- 🛠 Migrate Dropdown less variables. #42258 @poyiding
- 🛠 Migrate Timenline less variables. #42491 @jrr997
- 🛠 Migrate Anchor less variables. #42141 @MuxinFeng
- 🛠 Migrate Carousel less variables. #42157 @MuxinFeng
- 🛠 Migrate Upload less variables. #42042 @jrr997
- 🛠 Migrate Typography less variables. #42442 @jrr997
- 🛠 Migrate Segmented less variables. #42136 @kiner-tang
- 🛠 Migrate Checkbox less variables. #42097 @poyiding
- 🛠 Migrate Skeleton less variables. #42134 @kiner-tang
- 🛠 Migrate Breadcrumb less variables. #42342 @heiyu4585
- 🛠 Migrate Calendar less variables. #42194 @MuxinFeng
- 🛠 Migrate Rate less variables. #42135 @MuxinFeng
- 🛠 Migrate Descriptions less variables. #42038 @jrr997
- 🆕 ColorPicker 添加
onClear属性,清除选中颜色时不自动关闭弹窗。#42634 @linxianxi - 🆕 Collapse 支持通过
items属性来配置面板内容。#42545 @kiner-tang - 🆕 新增静态方法
getDesignToken用于获取完整的主题 token。#42723 @MadCcc - 🆕 ConfigProvider 支持配置 Space 组件的
classNames和styles属性。#42748 @RedJue - 🆕 Space 组件支持
classNames和styles属性。#42743 @RedJue - 🆕 Drawer 抽屉面板支持事件监听,包裹元素支持传入
data-*属性。#42718 @kiner-tang - 🆕 ConfigProvider 支持自定义 Button 的
style/className/styles/classNames。#42623 @LuZhenJie1999 - 🆕 Pagination 的页码选择器可以进行搜索了。#42608
- 🆕 QRCode 支持渲染 svg。#42570 @sy296565890
- 🆕 Calendar 支持将
panelMode作为选择源类型传递给内部选择触发器回调,以便在调用时使用正确的源类型。#42459 @bombillazo - 🆕 Select
fieldNames新增groupLabel字段映射分组标题。#42492 @BoyYangzai - 🆕 Table 添加对列自定义排序图标的支持。#42498 @sawadyecma
- 🆕 DatePicker 支持
kk:mm格式的format以支持显示 24:00。#42494 @cooljser - 🆕 ConfigProvider.config 新增
theme支持配置静态方法主题。#42473 - 🆕 Calendar
onSelect支持info.source参数以获取选择来源。#42432 - 💄 优化 ColorPicker 组件在暗黑模式下的样式。#42827 @RedJue
- 💄 修复 Popconfirm、Alert 和 Notification 组件
colorTextHeading和colorText误用问题。#42839 @MadCcc - 💄 修复 Divider 组件的样式问题。#42797 @kongmingLatern
- 🐞 修复 Image.PreviewGroup 预览时图片切换后状态没有重置的问题。#42793 @linxianxi
- 🐞 统一使用
rc-util/lib/pickAttrs以节省包体积。修复 Rate 组件在 StrictMode 下findDOMNode is deprecated警告信息。#42688 - 🐞 Rate 组件支持传入
iddata-*aria-*roleonMouseEnteronMouseLeave等属性,修复不支持 Tooltip 包裹的问题。#42676 - 🐞 修复 Menu 组件横向模式下子菜单没有对齐的问题。#42648 @MadCcc
- 🐞 将 Card
tabList的 API 与 Tabitems对齐。#42413 - 🐞 修复循环依赖问题。
- 🐞 修复 Modal 组件循环依赖问题。#42841 @kiner-tang
- 🐞 修复 Space 组件循环依赖问题。#42811 @kiner-tang
- 🐞 修复 Statistic 组件循环依赖问题。#42814 @kiner-tang
- 🐞 修复 List 组件循环依赖问题。#42806 @kiner-tang
- 🐞 修复 Dropdown 组件循环依赖问题。#42764 @Dunqing
- ⌨️ 增强 Progress 可访问性表现,添加
aria属性。#42704 @MehmetYararVX - ⌨️ Notification 添加
role属性。#42484 @guan404ming - 🛠 Collapse 使用
onKeyDown替代onKeyPress来改变折叠面板的激活状态。#42592 @kiner-tang - 🛠 使用
@rc-component/trigger重构 Menu 组件。移除rc-trigger依赖,缩小打包体积。#42554 @MadCcc - 🛠 Table 组件将
sorterOrder重命名为sortOrder用于sortIcon的参数。#42519 @sawadyecma - 组件 Token 迁移,更多详情请查看文档:迁移 less 变量
- 🛠 使用新的命名标准重命名 Menu 组件 token。#42848 @MadCcc
- 🛠 迁移 Radio 组件 less 变量。#42050 @Yuiai01
- 🛠 迁移 Image 组件 less 变量。#42048 @guan404ming
- 🛠 迁移 Tooltip 组件 less 变量。#42046 @guan404ming
- 🛠 迁移 Transfer 组件 less 变量。#42431 @heiyu4585
- 🛠 迁移 Tabs 组件 less 变量。#42186 @heiyu4585
- 🛠 迁移 Card 组件 less 变量。#42061 @heiyu4585
- 🛠 迁移 Mentions 组件 less 变量。#42711 @heiyu4585
- 🛠 迁移 Avatar 组件 less 变量。#42063 @heiyu4585
- 🛠 迁移 Pagination 组件 less 变量。#42330 @heiyu4585
- 🛠 迁移 Popover 组件 less 变量。#42337 @heiyu4585
- 🛠 迁移 Tag 组件 less 变量。#42053 @heiyu4585
- 🛠 迁移 List 组件 less 变量。#42041 @jrr997
- 🛠 迁移 Dropdown 组件 less 变量。#42258 @poyiding
- 🛠 迁移 Timeline 组件 less 变量。#42491 @jrr997
- 🛠 迁移 Anchor 组件 less 变量。#42141 @MuxinFeng
- 🛠 迁移 Carousel 组件 less 变量。#42157 @MuxinFeng
- 🛠 迁移 Upload 组件 less 变量。#42042 @jrr997
- 🛠 迁移 Typography 组件 less 变量。#42442 @jrr997
- 🛠 迁移 Segmented 组件 less 变量。#42136 @kiner-tang
- 🛠 迁移 Checkbox 组件 less 变量。#42097 @poyiding
- 🛠 迁移 Skeleton 组件 less 变量。#42134 @kiner-tang
- 🛠 迁移 Breadcrumb 组件 less 变量。#42342 @heiyu4585
- 🛠 迁移 Calendar 组件 less 变量。#42194 @MuxinFeng
- 🛠 迁移 Rate 组件 less 变量。#42135 @MuxinFeng
- 🛠 迁移 Descriptions 组件 less 变量。#42038 @jrr997
- 🐞 Fix ColorPicker hover boundary issue. #42669 @RedJue
- 🐞 Fix Menu that
overflowedIndicatorClassNameshould not override origin classes. #42692 @MadCcc - 🐞 Fix Select that in some cases will display the letter
A. #42651 @895433995 - 🐞 Fix Card when
coveris set to Image, hover mask does not have rounded corner attribute, resulting in UI exception. #42642 @iNeedToCopy - 🐞 Fix Checkbox align with label. #42590 @MadCcc
- 🐞 Fix ConfigProvider makes Form component in the bundle even not use it. #42604
- 🐞 Fix InputNumber cannot align well by baseline. #42580
- 🐞 Fix spinning icon animation in Badge. #42575 @MadCcc
- 📦 Optimize Form
setFieldsValuelogic to reduce bundle size. #42635 - 💄 Optimize ImagePreviewGroup style. #42675 @kiner-tang
- 💄 Fix Tag borderless style with
errorand other status. #42619 @li-jia-nan - 💄 Fix Table
rowSpanhover highlight style missing. #42572 - 💄 Fix Pagination's link icon and ellipsis hover style when disabled. #42541 @qmhc
- 💄 Fix that global token should be able to override component style. #42535 @MadCcc
- 🇱🇹 Add missing i18n for
lt_LTlocale. #42664 @Digital-512 - RTL
- 🐞 修复 ColorPicker 组件悬停边界问题。#42669 @RedJue
- 🐞 修复 Menu 组件
overflowedIndicatorClassName覆盖了原本的 class 的问题。#42692 @MadCcc - 🐞 修复 Select 组件在某些情况下显示乱码问题。#42651 @895433995
- 🐞 修复 Card 组件,当 Image 设置
cover属性时,悬停蒙版没有圆角属性,导致 UI 异常。#42642 @iNeedToCopy - 🐞 修复 Checkbox 和 label 不对齐的问题。#42590 @MadCcc
- 🐞 修复使用 ConfigProvider 会导致未使用的 Form 组件也被打包的问题。#42604
- 🐞 修复 InputNumber 和其他组件无法基线对齐的问题。#42580
- 🐞 修复 Badge 组件中旋转的
icon动画。#42575 @MadCcc - 📦 优化 Form
setFieldsValue相关代码以降低打包尺寸。#42635 - 💄 优化 Image 组件预览组样式。#42675 @kiner-tang
- 💄 修复 Tag 无边框样式在
error等状态下不生效的问题。#42619 @li-jia-nan - 💄 修复 Table
rowSpan悬浮高亮背景颜色丢失的问题。#42572 - 💄 修复 Pagination 在禁用状态下 link 图标和 ellipsis hover 时的样式。#42541 @qmhc
- 💄 修复部分全局 Token 无法覆盖组件样式的问题。#42535 @MadCcc
- 🇱🇹 为
lt_LT添加缺失的部分文案。#42664 @Digital-512 - RTL
- 🐞 Fix wrong Button icon size and margin. #42516 @MadCcc
- 🐞 Fix Select remove & selected icon not align in center. #42513
- 🐞 Refactor Popconfirm DOM structure to fix extra margin before
titleanddescriptionwhenicon={null}. #42433 - 🐞 Fix Menu item icon not centered when
itemMarginInlineis 0. #42426 @zzwgh - 🐞 Fix Tag wrapped with Tooltip will use wrong
font-sizewhen hover. #42414 - 🐞 Fix Popconfirm trigger
onVisibleChangetwice. #42393 - 🐞 Adjust Tooltip & Popover display logic. Now the first priority is to ensure that it will not be clipped by
overflow: hidden, and the second is to ensure that it is displayed within the viewport as much as possible. #42394 - ColorPicker
- 🐞 Optimize ColorPicker the
allowClearinteraction logic, reopening the panel to select a color will default to 100% transparency instead of 0%. #42439 @RedJue - 🐞 Optimize ColorPicker interaction. Now it will close panel when click clear button. #42406 @kiner-tang
- 🐞 Optimize ColorPicker the
- 💄 Optimize border radius in filter dropdown of Table. #42451 @Yuiai01
- 🛠 Remove
addEventListenerfromrc-util/lib/Dom/addEventListenerand use nativeaddEventListenerinstead. #42464 @li-jia-nan - 🛠 Reduce 1KB @ant-design/icons bundle size. Fix TwoTone icon color to primary color of 5.0. #42443
- 🌐 Add missing translation for
mn_MN. #42512 @ariunbatb - RTL
- 💄 Fix Select scrollbar
rtldirection position. #42508 @BoyYangzai
- 💄 Fix Select scrollbar
- TypeScript
- 🤖 Optimize Slider ref type definition, replace
unknownandanywithSliderRef. #42420 @li-jia-nan
- 🤖 Optimize Slider ref type definition, replace
- 🐞 修复 Button 组件 icon 尺寸和间距问题。#42516 @MadCcc
- 🐞 修复 Select 移除和选中按钮不居中的问题。#42513
- 🐞 重构 Popconfirm DOM 结构以解决
icon={null}时title和description的多余 margin 问题。#42433 - 🐞 修复 Menu 图标在
itemMarginInline为 0 时不居中的问题。#42426 @zzwgh - 🐞 修复 Tag 被 Tooltip 包裹时,hover 会导致
font-size错误的问题。#42414 - 🐞 修复 Popconfirm 的
onVisibleChange会重复触发的问题。#42393 - 🐞 调整 Tooltip 和 Popover 展示逻辑,现在会优先保证不会被
overflow: hidden裁剪,其次保证尽可能在可见屏幕范围内展示。#42394 - ColorPicker
- 🐞 优化 ColorPicker
allowClear交互逻辑,重新打开面板选择颜色会默认 100% 透明度,而不是 0%。#42439 @RedJue - 🐞 优化 ColorPicker 交互,点击清除按钮时隐藏面板。#42406 @kiner-tang
- 🐞 优化 ColorPicker
- 💄 修改 Table 筛选下拉菜单的圆角。#42451 @Yuiai01
- 🛠 全局移除
rc-util/lib/Dom/addEventListener引入的addEventListener方法,用原生代替。#42464 @li-jia-nan - 🛠 优化 @ant-design/icons 的 bundle 体积大小。修复 TwoTone 类的图标色为 5.0 的新主色。#42443
- 🌐 添加
mn_MN中缺失的翻译。#42512 @ariunbatb - RTL
- 💄 修复 Select
direction为rtl时 scrollbar 的位置。#42508 @BoyYangzai
- 💄 修复 Select
- TypeScript
- 🤖 优化 Slider ref 类型,移除
unknown和any类型,用SliderRef代替。#42420 @li-jia-nan
- 🤖 优化 Slider ref 类型,移除
- 🔥 New Component ColorPicker. #41990 @RedJue
- 🆕 Add
DatePicker.generateCalendarandCalendar.generateCalendarcustom date component method, no need to import from module path. #41773 - 💄 Optimize the style of Select, TreeSelect, Cascader multi-selection mode, remove the Tag border. #41480
- 🆕 Form
validateFieldssupportvalidateOnlyto not to update UI status. #42273 - 🆕 DatePicker support changeOnBlur to trigger change event without clicking confirm. #42168
- 🆕 Cascader
optionssupportdisableCheckboxprop. #42024 @BoyYangzai - 🆕 Popconfirm add
onPopupClickprop. #42272 @bolosea - 🆕 QRCode add
bgColorprop to set background color. #42214 @bolosea - 🆕 Table.Summary.Row component add
onClickprop. #42175 @Ylg12345 - 🆕 Space support ref. #42266 @RedJue
- 🆕 The
sizeof Tab defaults to inherit Card. #42183 @huangkairan - ConfigProvider
- 🐞 Fix ConfigProvider
sizeprop not work on Pagination. #42206 - 🐞 Fix ConfigProvider
sizeprop not work on Steps. #42278 @wanghui2021 - 🐞 Fix ConfigProvider
sizeprop not work on Descriptions. #42244 @wanghui2021 - 🐞 Fix the size is not inherited from ConfigProvider when the
componentSizeis set. #42199 @Ec-tracker
- 🐞 Fix ConfigProvider
- 🐞 Fix then icon styles for Input are incorrect in Space Compact mode. #42167 @pengyw97
- 🐞 Fix Popover display empty div when
titleandcontentis null. #42217 @hairgc - 🐞 Fix the error that Circle Progress does not set
size. #41875 @notzheng - 🐞 Fix Progress throws warning
findDOMNode is deprecated in StrictMode. #42241 @BoyYangzai - 💄 Fix the problem that the InputNumber out of range style does not take effect. #42250 @pengyw97
- 💄 Fix the problem that Divider cannot be displayed normally due to the overwriting of the dashed line style in the vertical direction. #40418 @buqiyuan
- 💄 Adjust Tooltip motion that will auto detect best match transform origin. #42225
- 💄 keep Checkbox.Group style the same as v4. #42103 @BoyYangzai
- 💄 Improve the style when the Menu overflowed. #42294 @dhalenok
- 💄 Improve the Segmented mouse active style. #42249
- 🤖 Spin add warning if use
tipwhen not in nest pattern. #42293 - 🤖 Component Token name canonicalization. #42184
- TypeScript
- Locales
- 🇧🇬 Add bg_BG Form locales. #42203 @tangzixuan
- 🔥 新增颜色选择器组件。#41990 @RedJue
- 🆕 新增
DatePicker.generateCalendar与Calendar.generateCalendar自定义日期库组件方法,不再需要通过路径引入使用。#41773 - 💄 优化 Select、TreeSelect、Cascader 多选模式下的样式,去除标签的边框。#41480
- 🆕 Form
validateFields支持validateOnly配置仅做校验而不改变 UI 状态。#42273 - 🆕 DatePicker 支持
changeOnBlur以允许不点击确认按钮,在失去焦点时也能触发 change 事件。#42168 - 🆕 Cascader
options支持disableCheckbox在多选时禁用勾选框。#42024 @BoyYangzai - 🆕 Popconfirm 新增
onPopupClick属性。#42272 @bolosea - 🆕 QRCode 新增
bgColor属性设置背景色。#42214 @bolosea - 🆕 Table.Summary.Row 组件增加
onClick属性。#42175 @Ylg12345 - 🆕 Space 新增支持 ref。#42266 @RedJue
- 🆕 Tab 新增默认继承 Card 的
size。#42183 @huangkairan - ConfigProvider
- 🐞 修复 ConfigProvider
size对 Pagination 无效的问题。#42206 - 🐞 修复 ConfigProvider
size对 Steps 无效的问题。#42278 @wanghui2021 - 🐞 修复 ConfigProvider
size对 Descriptions 无效的问题。#42244 @wanghui2021 - 🐞 修复当 ConfigProvider 中
componentSize被设定时, Space.Compact 没有继承的问题。#42199 @Ec-tracker
- 🐞 修复 ConfigProvider
- 🐞 修复 Input 在 Space.Compact 下使用图标的样式错误。#42167 @pengyw97
- 🐞 修复当
title和content属性均为空值时,Popover 组件展示空白气泡的问题。#42217 @hairgc - 🐞 修复 Circle Progress 未设置
size的报错问题。#41875 @notzheng - 🐞 修复 Progress 抛出的警告
findDOMNode is deprecated in StrictMode。#42241 @BoyYangzai - 💄 修复 InputNumber 超出范围样式不生效的问题。#42250 @pengyw97
- 💄 修复 Divider 在垂直方向虚线样式被覆盖导致无法正常显示的问题。#40418 @buqiyuan
- 💄 调整 Tooltip 动画,现在弹出位置会动态从箭头方向弹出。#42225
- 💄 调整 Checkbox.Group 样式风格与 v4 保持一致。#42103 @BoyYangzai
- 💄 完善 Menu 溢出时样式。#42294 @dhalenok
- 💄 完善 Segmented 鼠标 active 样式。#42249
- 🤖 Spin 添加在非嵌套下使用
tip的警告提示。#42293 - 🤖 组件 Token 名称规范化。#42184
- TypeScript
- 国际化
- 🇧🇬 补充 bg_BG Form 文案。#42203 @tangzixuan
- 🐞 Fix Menu different margin between Menu.Item and Menu.Submenu in vertical and inline mode. #42160
- 🐞 Fix Breadcrumb using
itemRenderwithpathrender additional a element. #42049 - 🐞 Fix Transfer in control mode throw React nest state update warning. #42033
- 🐞 Fix Upload logic of disable state. #42102 @Wxh16144
- 💄 Fix Spin height is inconsistent with its icon children. #42162 @cheapCoder
- ⚡️ Improve Affix logic when it does not need to update. #42015 @Simon-He95
- ⚡️ Improve Anchor logic when it does not need to scroll. #42018 @Simon-He95
- 🐞 修复 Menu.Item 与 Submenu 之间间距不统一的问题。#42160
- 🐞 修复 Breadcrumb 使用
itemRender并且配置path时,渲染元素会额外包一层 a 元素的问题。#42049 - 🐞 修复 Transfer 在受控模式下报 React 状态嵌套更新错误信息。#42033
- 🐞 修复 Upload 禁用状态的逻辑。#42102 @Wxh16144
- 💄 修复 Spin 与其 icon 子元素高度不一致的问题。#42162 @cheapCoder
- ⚡️ 优化 Affix 组件在无需更新时计算逻辑。#42015 @Simon-He95
- ⚡️ 优化 Anchor 组件在无需跳转时计算逻辑。#42018 @Simon-He95
- 🐞 Fix lots of Table border and radius styling issues. #41985
- 💄 Fix Layout.Sider collapse animation style. #41993
- 🐞 Fix InputNumber font-size error. #41983
- 🐞 Fix responsive Col don't support
flexprop incolSize. #41962 @AlexisSniffer - 🐞 Fix Carousel
goTois ignored if animation is in progress. #41969 @guan404ming - Form
- TypeScript
- 🤖 Fix Menu OverrideContext type missing warning. #41907
- 🤖 Fix TreeSelect missing
aria-*definition. #41978 @guan404ming
- 🐞 修复 Table 一系列边框和圆角的样式细节问题。#41985
- 💄 修复 Layout.Sider 折叠时丢失动画的问题。#41993
- 🐞 修复 InputNumber 字体样式错误。#41983
- 🐞 修复响应式 Col
colSize不支持flex的问题。#41962 @AlexisSniffer - 🐞 修复 Carousel
goTo在动画播放时无效的问题。#41969 @guan404ming - Form
- 🐞 修复 Form 触发重置事件后反馈图标未重置的问题。#41976
- 🐞 修复
onValuesChange收集到的数据不准确的问题。#41976 - TypeScript
- 🤖 修复 Menu 报错 OverrideContext 类型定义不存在的问题。#41907
- 🤖 修复 TreeSelect 定义不支持
aria-*的问题。#41978 @guan404ming
- 🐞 Fix FloatButton throws warning
findDOMNode is deprecated in StrictMode. #41833 @fourcels - 🐞 Arrow element support more old browsers which do not support
clip-path: path(). #41872 - 🐞 Fix Layout.Sider transition issue when switch theme. #41828
- 🐞 Fix the problem that when the type of Tour is primary, the color of the arrow is still white. #41761
- 🐞 Optimize Form field binding, now will ignore comments in Form.Item as subcomponents. #41771
- 🐞 Fix Input.Password show additional toggle button in Edge. #41759
- 💄 Fix styling issues with components that have a Tooltip component as their base within the Space.Compact wrapper. #41707 @foryuki
- 🇩🇪 Fix typo in German locale. #41780 @aaarichter
- TypeScript
- 🤖 Optimize the type definition of Modal. #41742 @MuxinFeng
- 🐞 修复 FloatButton 警告: findDOMNode is deprecated in StrictMode.。#41833 @fourcels
- 🐞 箭头元素兼容旧版本不支持
clip-path: path()的浏览器。 #41872 - 🐞 修复 Layout.Sider 切换主题时存在背景切换延迟的问题。#41828
- 🐞 修复 Tour 的
type="primary"时箭头的颜色仍为白色的问题。#41761 - 🐞 优化 Form 字段绑定,现在会忽略在 Form.Item 内的注释不再作为子组件进行绑定。 。#41771
- 🐞 修复 Input.Password 在 Edge 中会额外展示切换按钮的问题。#41759
- 💄 修复 Space.Compact 包裹底层为 Tooltip 组件的组件时的样式问题。#41707 @foryuki
- 🇩🇪 修复德语本地化文案。#41780 @aaarichter
- TypeScript
- 🤖 完善 Modal 的类型定义。#41742 @MuxinFeng
- 🐞 Fix unexpected deprecated warning in DatePicker. #41753 @kiner-tang
- 🌐 Add missing translations for
de_DE. #41747 @eldarcodes - TypeScript
- 🐞 修复 DatePicker 组件异常显示废弃警告的问题。#41753 @kiner-tang
- 🌐 补充
de_DE遗漏的国际化。#41747 @eldarcodes - TypeScript
- 💄 Optimize Select-like component popup logic. Now always try to display it in the visible area first to reduce the user's extra scrolling cost. #41619
- 💄 Remove fixed height in Badge.Ribbon. #41661 @MuxinFeng
- 🐞 Fix Select width becomes 0px when search after select something. #41722
- 🐞 Fix Empty style in small width container. #41727
- 🐞 Improve Form.Item
noStylevalidation message reveal logic. #41698 @Wxh16144 - 🐞 Fix Form.Item should not support
requiredMark. #41725 @Wxh16144 - 🐞 Fix Space should not affect font style and font family. #40326
- 🐞 Fix the problem that the hover style of the Previous/Next button in Pagination simple mode is lost. #41685
- 🐞 Fix Tree
switcherIconcannot be hidden. #41708 @acyza - 🐞 Fix
List.Item.Metaavatar and title are not aligned. #41688 @Yuiai01 - 🐞 Fix Row justify setting
space-evenlydoes not work. #41679 @Yuiai01 - 🐞 Fix Button type to support custom data attributes. #41650
- 🐞 Fix insufficient table column width issue 40814. #41626
- 🐞 Fix Mentions dropdown style. #41660
- 🐞 Improve Form.Item on
requirejudgment logic. #41623 @Wxh16144 - Locales
- 🇹🇭 add Tour, Image, and QRCode Thai locale. #41697 @buildingwatsize
- 💄 优化类 Select 组件弹窗逻辑,现在总是会尝试优先在可视区域展示以减少用户额外滚动成本。#41619
- 💄 去除 Badge.Ribbon 里固定的高度。#41661 @MuxinFeng
- 🐞 修复 Select 在搜索时宽度变为
0px的问题。#41722 - 🐞 修复 Empty 空数据组件在宽度不够的容器内样式错位的问题。#41727
- 🐞 改进 Form.Item
noStyle验证消息显隐逻辑。#41698 @Wxh16144 - 🐞 修正 Form.Item 不应支持设置
requiredMark的问题。#41725 @Wxh16144 - 🐞 修复 Space 影响父元素字体大小和样式的问题。#40326
- 🐞 修复 Pagination 简洁模式中的上一页下一页按钮 hover 样式丢失的问题。#41685
- 🐞 修复 Tree
switcherIcon无法隐藏。#41708 @acyza - 🐞 修复
List.Item.Meta的 avatar 和 title 不对齐。#41688 @Yuiai01 - 🐞 修复 Row 的
justify设置为space-evenly无效。#41679 @Yuiai01 - 🐞 修复 Button props 类型定义支持 data-* 属性。#41650
- 🐞 修复表格列宽不够的问题 issue 40814。#41626
- 🐞 修复 Mentions 弹层样式。#41660
- 🐞 改进 Form.Item 关于
require的判断逻辑。#41623 @Wxh16144 - 国际化
- 🇹🇭 添加 Tour、Image 和 QRCode 泰语语言环境。#41697 @buildingwatsize
- 🗑 Remove
antd/es/locale-providerantd/lib/locale-providerdirectory since LocaleProvider was replaced by ConfigProvider and removed in 4.x version years before. #41289 @li-jia-nan - 🆕 DatePicker/TimePicker/Calendar could change date-library to luxon now. #41580 @hihuz
- 🆕 Add Form.Item.useStatus hook to get error messages. #41554 @Yuiai01
- 🆕 Input and Input.TextArea support
classNamesandstylesprops. #41493 - 🆕 Tag add
bordered={false}to support border-less style. #41305 @li-jia-nan - 🆕 FloatButton support
badgeprop. #41040 @li-jia-nan - 🆕 Select add
titleproperty. #41280 - 🆕 Image component supports
preview.rootClassName. #41265 @Yuiai01 - 🆕 Modal added
afterOpenChangeprop. #41253 @MuxinFeng - 🆕 Form.useWatch could watch field change at preserve mode. #41191 @li-jia-nan
- 🛠 Refactor some components by using
useMemo. #41533 #41550 @li-jia-nan - 🛠 Refactor Checkbox with hooks and new types. #41117
- 🛠 Refactor Input.TextArea that move count into
affixWrapperelement. #41450 - 🆕 DatePicker/Calendar add
cellRenderfor custom cells and deprecated propertiesdateRenderandmonthCellRenderin DatePicker, deprecated propertiesdateCellRender、monthCellRender、dateFullCellRender、monthFullCellRenderin Calendar. #41584 @kiner-tang - 🐞 Fix Tour double arrow problem. #41578 @acyza
- 🐞 Fix Checkbox with customize
controlHeighttoken not align in center with text. #41566 - 🐞 Fix Form.Item not rendering correctly in Modal when it has
help. #40519 @Yuiai01 - 🐞 Fix Form wrong UI status when using
hasFeedback. #41594 @Yuiai01 - 🐞 Fix Slider throws warning
[antd: Tooltip] forcePopupAlign is align to forceAlign instead. #41540 @MuxinFeng - 🐞 Fix checkable Table checking not working when click on the edge of checkbox. #41519
- Locales
- 🇲🇲 Added Burmese locale. #41366 @enson0131
- 🇻🇳 Fix Vietnamese locale text. #41320 @trongtai37 #41345 @duypham90
- 🇩🇪 Update TimePicker german locale. #41521 @Yuiai01
- 🗑 移除
antd/es/locale-providerantd/lib/locale-provider目录,LocaleProvider 已在 4.x 版本移除,使用 ConfigProvider 作为替代。#41289 @li-jia-nan - 🆕 DatePicker 等时间类组件可以定制 luxon 作为日期库。#41580 @hihuz
- 🆕 新增 Form.Item.useStatus 以支持获取错误状态信息。#41554 @Yuiai01
- 🆕 Input 和 Input.TextArea 组件支持
classNames和styles属性,用于更细粒度的样式自定义。#41493 - 🆕 Tag 新增无边框模式。#41305 @li-jia-nan
- 🆕 FloatButton 支持用
badge属性开启角标功能。#41040 @li-jia-nan - 🆕 Select 支持
title属性以便覆盖一些自带的 title 提示。#41280 - 🆕 Image 组件支持设置
preview.rootClassName。#41265 @Yuiai01 - 🆕 Modal 组件支持
afterOpenChange属性。#41253 @MuxinFeng - 🆕 Form.useWatch 新增
preserve参数,支持在 Form.Item 未注册的情况下setFieldValue时触发监听。#41191 @li-jia-nan - 🛠 使用
useMemo重构部分组件代码。#41533 #41550 @li-jia-nan - 🛠 使用 React hooks 重构 Checkbox,并优化了 TS 定义。#41117
- 🛠 重构 Input.TextArea 文字计数实现方式,移至
affixWrapper元素中。#41450 - 🆕 DatePicker/Calendar 组件新增
cellRender用于自定义日期单元格,同时在 DatePicker 中废弃dateRender和monthRender等属性,在 Calendar 中废弃dateCellRender、monthCellRender、dateFullCellRender、monthFullCellRender等属性。#41584 @kiner-tang - 🐞 修复 Tour 出现两个箭头的问题。#41578 @acyza
- 🐞 修复 Checkbox 配置
controlHeighttoken 时勾选框与文字不对齐的问题。#41566 - 🐞 修复 Form.Item 存在
help值时在 Modal 中没有正确渲染元素。#40519 @Yuiai01 - 🐞 修复 Form 使用
hasFeedback时表单状态不对的问题。#41594 @Yuiai01 - 🐞 修复 Slider 组件显示
Warning: [antd: Tooltip] forcePopupAlign is align to forceAlign instead警告信息的问题。#41540 @MuxinFeng - 🐞 修复可选择 Table 的勾选框在边缘点击的时候无法触发勾选的问题。#41519
- 国际化
- 🇩🇪 更新 TimePicker 德语本地化文案。#41521 @Yuiai01
- 🇻🇳 修复越南语本地化文案。#41320 @trongtai37 #41345 @duypham90
- 🇲🇲 添加缅甸语本地化文案。#41366 @enson0131
- Menu
- 🐞 Fix Table filter do not persist filter status when filter dropdown is visible. #41445 @ablakey
- 🐞 Fix Modal using
useModalis not transparent and prefers user settings. #41422 @luo3house - Form
- 🐞 Fix the problem that the Form validation state does not change in sequence. #41412 @kiner-tang
- 💄 Fix Form component layout exceptions when set props
layout="inline". #41140 @itkui
- 💄 Fix ConfigProvider
noncenot working on CSS-in-JS style. #41482 - 💄 Fix Pagination when
size=small, pagination button active, previous page next page button hover and active styles are lost. #41462 #41458 - 💄 Fix the style problem that the bottom border of the Tabs component overlaps with other borders. #41381
- 💄 Fix Dropdown.Button down icon size issue. #41501
- TypeScript
- Locales
- 🇮🇷 Improve DatePicker
fa_IRtranslation. #41455 @ds1371dani - 🇸🇪 Add the missing content of
sv_SElanguage. #41424 @dhalenok
- 🇮🇷 Improve DatePicker
- Menu
- 🐞 修复 Table 过滤器未保持状态当筛选下拉框展示时。#41445 @ablakey
- 🐞 修复 Modal 使用
useModal未透传并优先选择用户设定。#41422 @luo3house - Form
- 🐞 修复 Form 验证状态不按照顺序改变的问题。#41412 @kiner-tang
- 💄 修复 Form 组件
layout="inline"时组件标题与表单项布局异常换行问题。#41140 @itkui
- 💄 修复 ConfigProvider
nonce对 CSS-in-JS 样式不生效的问题。#41482 - 💄 修复 Pagination
size=small时,分页按钮 active、上一页下一页按钮 hover 和 active 样式丢失。#41462 #41458 - 💄 修复 Tabs 组件下边框与其他边框叠加的样式问题。#41381
- 💄 修复 Dropdown.Button down 图标尺寸问题。#41501
- TypeScript
- 国际化
- 🇮🇷 完善 DatePicker
fa_IR翻译。#41455 @ds1371dani - 🇸🇪 完善
sv_SE语言缺失内容。#41424 @dhalenok
- 🇮🇷 完善 DatePicker
- Anchor
- 🐞 Fix Grid
offsetcan not be overwritten problem under different device screen sizes. #41309 @Yuiai01 - 🐞 Fix Breadcrumb
onClicknot working bug. #41283 @acyza - 🐞 Fix Upload trigger Progress warning after upload. #41234 @kiner-tang
- 🐞 Fix Table unexpected layout problem when dragging element to the right. #41139 @hoho2017
- 💄 Fix Tabs more icon color in dark mode. #41313 @PhosphorusP
- 💄 Fix Button focus outline style be covered by Dropdown.Button. #41282 @Yuiai01
- 💄 Fix Input.TextArea style problem when focusing. #41228 @MuxinFeng
- RTL
- 💄 Fix Input.TextArea RTL style when enable
showCount. #41319 @ds1371dani
- 💄 Fix Input.TextArea RTL style when enable
- TypeScript
- 🤖 Export
CountdownPropsfor Statistic. #41341 @li-jia-nan - 🤖 Improve most alias token meta info. #41297 @arvinxx
- 🤖 Improve Badge
React.forwardReftype definition. #41189 @li-jia-nan
- 🤖 Export
- Anchor
- 🐞 修复 Grid 在不同设备屏幕下的
offset设置不会被覆盖的问题。#41309 @Yuiai01 - 🐞 修复 Breadcrumb
onClick不工作的问题。#41283 @acyza - 🐞 修复 Upload 在上传完毕后 Progress 组件抛出警告的问题。#41234 @kiner-tang
- 🐞 修复 Table 在拖动元素一直右移时布局错误的问题。#41139 @hoho2017
- 💄 修复 Tabs 在深色模式下更多图标的色值。#41313 @PhosphorusP
- 💄 修复 Button 下拉时聚焦轮廓被其他元素遮挡的问题。#41282 @Yuiai01
- 💄 修复 Input.TextArea 在 focus 状态下的样式问题。#41228 @MuxinFeng
- RTL
- 💄 修复 Input.TextArea 在启用
showCount时 RTL 模式下位置不正确的问题。#41319 @ds1371dani
- 💄 修复 Input.TextArea 在启用
- TypeScript
- 🤖 导出 Statistic 的
CountdownProps类型。#41341 @li-jia-nan - 🤖 优化 token 的类型提示和说明。#41297 @arvinxx
- 🤖 优化 Badge
React.forwardRef类型定义。#41189 @li-jia-nan
- 🤖 导出 Statistic 的
- 🐞 Update DatePicker deps to fix laggy in Safari and support align with
transform scale. #41090 - 🐞 Fix Menu collapse, Tooltip sometime show with unexpected. #41081
- 🐞 Fix Modal.confirm has additional node which makes height not correct. #41173 @Svudec
- 🐞 Fixed InputNumber
disabledtext color not correct. #41167 @Yuiai01 - 🐞 Fix Anchor highlighting not working when dynamically updating
items. #40743 @zqran - 🛠 Update Mentions deps to support align with
transform scale. #41160 @MuxinFeng - 🐞 Fix Form with manually called
validateFieldsnot show success status whenhasFeedbackis on. #41116 @kiner-tang - 🐞 Fix Cascader sub panel not close when hover to leaf node. #41134
- 🐞 Fix Popconfirm using
Promiseto close will not existloadingstate even when open again. #41121 - 🐞 Fix Upload
onChangesometime not sync when in React 18. #41082 @li-jia-nan - 🛎 Update demo with Space.Compact instead of legacy one and patch warning info. #41080 @Yuiai01
- 🌐 Update ko_KR、Added Amharic Language. #41103 @li-jia-nan
- 🐞 更新 DatePicker 底层依赖,修复 Safari 下卡顿,支持
transform scale下对齐。#41090 - 🐞 修复 Menu 收缩时,Tooltip 有时会弹出的问题。#41081
- 🐞 修复 Modal.confirm 窗体有额外节点导致高度不正确的问题。#41173 @Svudec
- 🐞 修复 InputNumber
disabled时字体高亮不正确的问题。#41167 @Yuiai01 - 🐞 修复 Anchor 动态添加
items后高亮失效问题。#40743 @zqran - 🛠 更新 Mentions 底层依赖,支持
transform scale下对齐。#41160 @MuxinFeng - 🐞 修复 Form 手工调用
validateFields时,hasFeedback对成功态不生效的问题。#41116 @kiner-tang - 🐞 修复 Cascader 在悬浮至叶子节点时,展开面板没有关闭的问题。#41134
- 🐞 修复 Popconfirm 使用
Promise关闭时再次打开仍然是loading状态的问题。#41121 - 🐞 修复 Upload 在 React 18 下
onChange有时数据不正确的问题。#41082 @li-jia-nan - 🛎 补充官网中没有切换到 Space.Compact 的遗留示例,并且添加相应警告。#41080 @Yuiai01
- 🌐 更新韩语国际化,添加国际化阿姆哈拉语。#41103 @li-jia-nan
- 🆕 Tooltip support
arrow.pointAtCenterand deprecatearrow.arrowPointAtCenter. #40989 @MadCcc - 🆕 Progress support custom
size. #40903 @kiner-tang - 🆕 Tour support custom
zIndex. #40982 @kiner-tang - 🆕 Table
onHeaderCellsupport customizecolSpanandrowSpan. #40885 - 🆕 Image.Group support
onChangecallback. #40857 @kiner-tang - App
- 🆕 App support
styleprops. #40708 @li-jia-nan - 🆕 App support
messageandnotificationoptions. #40458 @luo3house
- 🆕 App support
- 🆕 ConfigProvider support
useConfighook to getsizeanddisabledin context. #40215 @xliez - 🆕 Breadcrumb support
itemsprop. #40543 @heiyu4585 - 🛠 Breadcrumb separators are unified into
lielements. #40887 @heiyu4585 - 🛠 Tooltip support auto arrow position & adjust position if possible.
destroyTooltipOnHide.keepParentis deprecated since it will be always auto destroy unnecessary container now. #40632 - 🛠 Rename preset colors in token, .e.g
blue-1toblue1, and deprecate tokens before. #41071 - 💄 Message use
colorTextin style. #41047 @Yuiai01 - 💄 Fix Select, TreeSelect, Cascader popup align position not correct when parent has
transform: scalestyle. #41013 - 💄 Optimize
rowScopestyle for Table. #40304 @Yuiai01 - 💄 Provide new AliasToken
lineWidthFocusforoutline-widthof focused component. #40840 @MadCcc - 💄 WeekPicker support hover style. #40772
- 💄 Adjust Select, TreeSelect, Cascader always show the
arrowby default when multiple. #41028 - 🐞 Fix Form
Form.Item.useStatusproblem with sever-side-rendering. #40977 @AndyBoat - 🐞 Fix arrow shape in some components. #40971 @MadCcc
- 🐞 Fix Layout throw
React does not recognize thesuffixClsprop on a DOM elementwarning. #40969 - 🐞 Fix Watermark that text will be displayed when the picture loads abnormally. #40770 @OriginRing
- 🐞 Image support flip function in preview mode. Fix Image
fallbackwhen used in ssr. #40660 - 🐞 Fix Typography component is not centered in the Select component. #40422 @Yuiai01
- 🌐 Update locale
vi_VNadding Vietnamese translation for Form component validation. #40992 @lamvananh - RTL
- 💄 FloatButton support
rtlmode. #40990 @li-jia-nan
- 💄 FloatButton support
- TypeScript
- 🆕 Tooltip 组件新增
arrow.pointAtCenter, 废弃arrow.arrowPointAtCenter。#40989 @MadCcc - 🆕 Progress 组件支持自定义
size。#40903 @kiner-tang - 🆕 Tour 组件支持自定义
zIndex。#40982 @kiner-tang - 🆕 Table
onHeaderCell支持自定义colSpan和rowSpan。#40885 - 🆕 Image.Group 支持
onChange回调。#40857 @kiner-tang - App
- 🆕 App 支持自定义
style。#40708 @li-jia-nan - 🆕 App 提供预先配置
message、notification的选项。#40458 @luo3house
- 🆕 App 支持自定义
- 🆕 ConfigProvider 新增
useConfig以获取上下文中的size和disabled。#40215 @xliez - 🆕 Breadcrumb 支持
items数据驱动。#40543 @heiyu4585 - 🛠 Breadcrumb 分隔符统一为
li元素。#40887 @heiyu4585 - 🛠 Tooltip 现在自动调整自身以及箭头位置以更好的展示。同时废弃
destroyTooltipOnHide.keepParent,现在总是会自动销毁不需要的容器。#40632 - 🛠 重命名 token 中的预设颜色,如
blue-1变为blue1,废弃原有的 token。#41071 - 💄 Message 组件使用
colorText优化样式。#41047 @Yuiai01 - 💄 修复 Select, TreeSelect, Cascader 父元素存在
transform: scale样式时的对齐问题。#41013 - 💄 优化 Table 中
rowScope的样式。#40304 @Yuiai01 - 💄 为组件聚焦时的
outline提供新的 AliasTokenlineWidthFocus。#40840 @MadCcc - 💄 WeekPicker 支持鼠标悬浮样式。#40772
- 💄 调整 Select, TreeSelect, Cascader 在多选时总是默认显示下拉箭头。#41028
- 🐞 修复 Form 组件
Form.Item.useStatus导致的服务端渲染问题。#40977 @AndyBoat - 🐞 修复部分组件箭头形状问题。#40971 @MadCcc
- 🐞 修复 Layout 报错
React does not recognize thesuffixClsprop on a DOM element的问题。#40969 - 🐞 修复 Watermark 组件图片加载异常时的问题,默认展示文字。#40770 @OriginRing
- 🐞 Image 预览新增图片翻转功能。并修复 Image
fallback在 ssr 下失效的问题。#40660 - 🐞 修复 Select 中使用 Typography 不居中的问题。#40422 @Yuiai01
- 🌐 完善 Form 的
vi_VN语言包。#40992 @lamvananh - RTL
- 💄 修复 FloatButton 不支持
rtl模式的问题。#40990 @li-jia-nan
- 💄 修复 FloatButton 不支持
- TypeScript
- 🐞 Fix for setting
percentandsuccess.percentat the same time forProgress, the progress text does not change aspercentchanges. #40922 - 🐞 Fixed Image preview icon was misaligned.#40911
- 🐞 Fix ConfigProvider validation message template override Form configure template sometime. #40533 @Wxh16144
- 🐞 Fixed Confirm Modal
onOkevent could be triggered twice when close. #40719 @Rafael-Martins - 🛠 Rewrote the
useLocalemethod and exposedlocaleCodeto the public. #40884 @li-jia-nan - 🐞 Fixed Segmented component items were unresponsive to mouse events. #40894 @MadCcc
- 🛠 Refactored: replaced the LocaleReceiver component with
useLocaleand removed the LocaleReceiver component. #40870 @li-jia-nan - 🐞 Fixed
getPopupContainerproperty injected by ConfigProvider did not work. #40871 @RedJue - 🐞 Fixed where Descriptions did not accept
data-_andaria-_attributes. #40859 @goveo - 🛠 Changed the Separator's DOM element from
spantoli. #40867 @heiyu4585 - 🐞 Fix token of
Layout.colorBgHeadernot work when single use Layout.Header directly. #40933 - 💄 Changed the component's focus
outlineto the default4px.#40839 @MadCcc - 🐞 Fixed the Badge color was displayed abnormally. #40848 @kiner-tang
- 🐞 Fixed an issue with the Timeline item's
className. #40835 @Yuiai01 - 💄 Fixed the interaction style of the Rate component in the disabled state.#40836 @Yuiai01
- 🇮🇷 Added Iranian localization. #40895 @majidsadr
- 🐞 修复 Progress 同时设置 percent 和 success.percent 时,进度文本不会随着 percent 改变而改变。#40922
- 🐞 修复 Image 预览图标不对齐的问题。#40911
- 🐞 修复 ConfigProvider 组件表单校验消息生效顺序。#40533 @Wxh16144
- 🐞 修复 Confirm Modal
onOk可能触发两次的问题。#40719 @Rafael-Martins - 🛠 重写
useLocale方法,对外暴露localeCode。#40884 @li-jia-nan - 🐞 修复 Segemented 组件子项不响应鼠标事件的问题。#40894 @MadCcc
- 🛠 重构:使用
useLocale替换 LocaleReceiver 组件,并删除 LocaleReceiver 组件。#40870 @li-jia-nan - 🐞 修复 ConfigProvider 注入的
getPopupContainer属性 不生效的问题。#40871 @RedJue - 🐞 修复 Descriptions 不接受
data-*和aria-*等属性的问题。#40859 @goveo - 🛠 修改 Separator 的 dom 由
span改为li。#40867 @heiyu4585 - 💄 修改组件聚焦下的
outline为默认4px。#40839 @MadCcc - 🐞 修复 Layout.Header 单独使用时,
Layout.colorBgHeadertoken 配置不生效的问题。#40933 - 🐞 修复 Badge 颜色显示异常问题。#40848 @kiner-tang
- 🐞 修复 Timeline 的子项的
className错误。#40835 @Yuiai01 - 💄 修复 Rate 在禁用状态下的交互样式。#40836 @Yuiai01
- 🇮🇷 增加了伊朗本地化。#40895 @majidsadr
- DatePicker
- Form
- 🐞 Fix List extra padding when enable
gridproperty. #40806 - 🐞 Fix Upload actions icon alignment issue. #40805
- 💄 Tweak Table filter dropdown radius style. #40802
- 🐞 Fix Button
loading.delaynot delay at first time. #40759 @RedJue - 🐞 Fix Input status style when using
addonAfterandaddonBefore. #40744 @carla-cn - 🐞 Fix Skeleton
activeflicky animation in Safari. #40692 @slotDumpling - Locales
- 🛠 Rewrite
panelRenderin Tour to funtion component。#40670 @li-jia-nan - 🐞 Fix
classNameproperty wrongly passed to child nodes in TimeLine。#40700 @any1024 - 🐞 Fix Silder dot to trigger click and hover correctly. #40679 @LongHaoo
- 🐞 Fix Tour that should support
0as element. #40631 @li-jia-nan - 💄 Fix DataPicker.RangePicker hover range style. #40607 @Yuiai01
- 💄 Optimize Steps custom
iconsize. #40672 @MadCcc - TypeScript
- 🤖 Update Upload to support generic types. #40634 @riyadelberkawy
- 🌐 Localization
- 🇷🇺/🇺🇦 add missing translations for ru_RU and uk_UA. #40656 @eldarcodes
- 🛠 重构 Tour 中
panelRender为函数式组件。#40670 @li-jia-nan - 🐞 修复 TimeLine 中
className传给子节点的问题。#40700 @any1024 - 🐞 修复 Silder 中的标记点在边缘无法点击的问题。#40679 @LongHaoo
- 🐞 修复 Tour 不支持
0作为节点的问题。#40631 @li-jia-nan - 💄 修复 DataPicker.RangePicker 的 hover 范围样式。#40607 @Yuiai01
- 💄 优化 Steps 组件自定义
icon的大小。#40672 @MadCcc - TypeScript
- 🤖 Upload 组件支持泛型。#40634 @riyadelberkawy
- 🌐 国际化
- 🇷🇺/🇺🇦 补全
ru_RU和uk_UA文案。#40656 @eldarcodes
- 🇷🇺/🇺🇦 补全
- 🔥 Add
picture-circleto Upload'slistTypeprop. #40134 @ds1371dani - 🔥 Anchor component add
direction, which supports vertical. #39372 @foryuki - 🆕 Tooltip support
arrowto change arrow's visible state and whether the arrow is pointed at the center of target. #40234 @kiner-tang - 🆕 Added list pagination
alignoption. #39858 @Yuiai01 - 🆕 Timeline added
itemsto support option configuration. #40424 - Collapse
- Slider
- 🆕 Slider add
railStylefor custom style. #40579 @david-cord - 🆕 Slider add support for disable
keyboardevents. #40526 - 🐞 Fix Slider missing Tooltip appear motion. #39857
- 🆕 Slider add
- Dropdown
- Tour
- 🆕 Tour added
indicatorsRenderto support custom indicators. #40613 - 🆕 Tour support
scrollIntoViewOptionsto change scrollIntoView options. #39980 @kiner-tang - 🆕 Tour masks support passing custom styles and fill colors. #39919 @kiner-tang
- 🐞 Fixed
findDomNodemethod warning thrown by the tour component when called in strict mode. #40160 @kiner-tang - 💄 Deleted margin of the last indicator. #40624
- 🆕 Tour added
- 🆕 Adds Design token
fontFamilyCodeand apply to Typographycodekbdpreelements. #39823 - 🆕 ConfigProvider add Form
scrollToFirstError。#39509 @linxianxi - 🐞 Fill rest
rootClassNamefor all components. #40217 - 🐞 Fix Empty descriptions text color in default theme and dark theme. #40584 @MuxinFeng
- Table
- 🐞 Fix
aria-labelandrole="presentation"cannot be used together in Table row. #40413 @Ke1sy - 🐞 Fix uncontrolled
filteredupdate not working. #39883 - 🐞 Fix the problem that the header filter is invalid in the case of group headers. #40463 @roman40a
- 🐞 Fix selection column cover by other cell when fixed. #39940 @kiner-tang
- 🐞 Fix Sorted/Filtered table fixed column transparent background unreadable. #39012 @kiner-tang
- 💄 Optimize Table hover style to fix problems with border. #40469
- 🐞 Fix
- DatePicker
- 🐞 Fix Space
ant-space-itemselector bug. #40554 @cncolder - 🐞 Fix not close Spin immediately when using
delay. #40475 @3Alan - 🐞 Fix Modal
useModaldefault confirm button text logic. #39884 @BoyYangzai - 🛠 Refactored the water ripple visual effect to trigger multiple water ripples at the same time. #39705 @li-jia-nan
- 🛠 Refactor Input.TextArea and Mentions. #40045
- 🛠 Refactor Affix Calendar to use React.createRef instead of function. #40538 @li-jia-nan
- 💄 Fix Tabs more button unexpected height. #40488
- 💄 Resolve Image preview style conflict with TailwindCSS. #39914
- 💄 Fix Progress that
transitionof success bar is missing. #40487 - 💄 Fix the misalignment of Input.Group when zooming the screen under windows. #39842 @heiyu4585
- 💄 Fix Select placeholder style issue. #40477 @Wxh16144
- 💄 Adjust Descriptions label style for more readable. #40085
- 💄 Optimize QRCode expiration display style. #39849
- 💄 Optimize
boxShadowtokens. #40516 - TypeScript
- 🌐 Localization
- 🇮🇳 Add
ta_INlocal. #39936 @KIRUBASHANKAR26
- 🇮🇳 Add
- 🔥 Upload 的
listType属性添加picture-circle支持。#40134 @ds1371dani - 🔥 Anchor 组件新增
direction属性,支持 vertical。#39372 @foryuki - 🆕 Tooltip 新增
arrow属性用来改变箭头的显示状态和箭头是否指向目标元素的中心。#40234 @kiner-tang - 🆕 List 分页新增
align配置。#39858 @Yuiai01 - 🆕 Timeline 新增
items支持选项配置。#40424 - Collapse
- Slider
- 🆕 Slider 新增
railStyle属性用于自定义样式。#40579 @david-cord - 🆕 Slider 新增
keyboard属性以支持禁用键盘事件。#40526 - 🐞 修复 Slider 展示 Tooltip 时动画丢失的问题。#39857
- 🆕 Slider 新增
- Dropdown
- Tour
- 🆕 Tour 新增
indicatorsRender支持自定义指示器。#40613 - 🆕 Tour 支持通过
scrollIntoViewOptions改变scrollIntoView的选项。#39980 @kiner-tang - 🆕 Tour 遮罩支持传递自定义样式和填充颜色。#39919 @kiner-tang
- 🐞 修复 Tour 在严格模式下调用
findDomNode抛出警告问题。#40160 @kiner-tang - 💄 删除了最后一个指示器的 margin。#40624
- 🆕 Tour 新增
- 🆕 新增 Design token
fontFamilyCode并应用到 Typography 的codekbdpre等元素上。#39823 - 🆕 ConfigProvider 新增 Form
scrollToFirstError。#39509 @linxianxi - 🐞 为全部组件补足
rootClassName属性。#40217 - 🐞 修复 Empty 在默认主题和暗黑主题下的描述文字颜色。#40584 @MuxinFeng
- Table
- 🐞 修复 Table 行
aria-label和role="presentation"无法一起使用的问题。#40413 @Ke1sy - 🐞 修改非受控
filtered修改不生效的问题。#39883 - 🐞 修表头过滤器在分组标题情况下失效的问题。#40463 @roman40a
- 🐞 修复选择列固定时滚动会被其他单元格遮盖的问题。#39940 @kiner-tang
- 🐞 修复排序/筛选的表格的固定列背景色透明导致显示异常问题。#39012 @kiner-tang
- 💄 优化 Table 组件 hover 样式,修复边框异常问题。#40469
- 🐞 修复 Table 行
- DatePicker
- 🐞 修复 Space
ant-space-item选择器错误。#40554 @cncolder - 🐞 修复当设置
delay时,Spin 没有立即关闭的问题。#40475 @3Alan - 🐞 修复 Modal
useModal默认确认按钮文本逻辑。#39884 @BoyYangzai - 🛠 重构水波纹视效,以支持多个水波纹同时触发了。#39705 @li-jia-nan
- 🛠 重构 Input.TextArea 组件和 Mentions 组件。#40045
- 🛠 重构 Affix Calendar 使用 React.createRef 代替函数。#40538 @li-jia-nan
- 💄 修复 Tabs 更多按钮高度样式错误。#40488
- 💄 修复 Image 预览样式会被 TailwindCSS 影响的问题。#39914
- 💄 修复 Progress 成功进度条
transition样式丢失问题。#40487 - 💄 修复 Input.Group 在 windows 下缩放屏幕时的错位问题。#39842 @heiyu4585
- 💄 修复 Select placeholder 样式问题。#40477 @Wxh16144
- 💄 调整 Descriptions 标签样式使其更容易区分。#40085
- 💄 优化 QRCode 过期显示样式。#39849
- 💄 优化
boxShadowtoken 分级。#40516 - TypeScript
- 🌐 国际化
- 🇮🇳 补全
ta_IN文案。#39936 @KIRUBASHANKAR26
- 🇮🇳 补全
- Input
- 🐞 Fix Switch text layout problem in Safari and Chrome <= 84 with compatible mode. #40453 @Ifeinstein
- 🐞 Fix Progress that throw error when
percentisnull. #40378 @li-jia-nan - 🐞 Fix List title and avatar be rendered in the wrong position. #40395 @li-jia-nan
- 🐞 Fix Dropdown submenu wrong position. #40349
- 🐞 Fix Badge throw
findDOMNodewarning in StrictMode whendotswitch. #40347 - 🐞 Fix Message wrong icon color problem. #40471 @Wxh16144
- 💄 Adjust Empty component default style in dark theme. #40447
- RTL
- 💄 Fix Table scroll shadow in RTL mode. #40441 @ds1371dani
- TypeScript
- Input
- 🐞 修复 Switch 在 Safari 和 Chrome <= 84 兼容模式下文本的显示问题。#40453 @Ifeinstein
- 🐞 修复 Progress 的
percent属性设置为null时报错的问题。#40378 @li-jia-nan - 🐞 修复 List 中 title 和 avatar 渲染错位的问题。#40395 @li-jia-nan
- 🐞 修复 Dropdown 子菜单位置不正确的问题。#40349
- 🐞 修复 Badge 在 StrictMode 下切换
dot时会报findDOMNode警告的问题。#40347 - 🐞 修复 Message 图标颜色错误的问题。#40471 @Wxh16144
- 💄 优化 Empty 在暗色主题下默认的颜色。#40447
- RTL
- 💄 修复 Table 在 RTL 模式下的滚动阴影。#40441 @ds1371dani
- TypeScript
- 🐞 Fix DatePicker animation timing function. #40133 @MadCcc
- Menu
- 🐞 Fix the console warning of wave effect when bind component unmount before wave effect trigger. #40307 @luo3house
- 🐞 Fix Breadcrumb throw wrong overlay deprecation warning when use
menuprop. #40211 @candy4290 - 🐞 Fix Modal.useModal hooks
destroyAllnot work as expect. #40281 @ds1371dani - 🐞 Fix
messageglobal static methodconfigsettingdurationnot working. #40232 @Yuiai01 - 🐞 Fix Button text color when containing an
atag. #40269 @ds1371dani - 🐞 Fix Radio displaying wrong text color and cursor when
disabled. #40273 @ds1371dani - 💄 Optimize the calculation logic of focus
outline, replacelineWidthwithlineWidthBold. #40291 @simonpfish - 💄 Rewrite part component style to compatible the browser that not support concat
:notselector. #40264 - 🌐 Fix missing translation for
pt_BR. #40270 @rafaelncarvalho
- 🐞 修复 DatePicker 等组件动画 timing function 错误的问题。#40133 @MadCcc
- Menu
- 🐞 修复带波纹效果的组件(如 Button)在波纹展示前移除时,控制台报错的问题。#40307 @luo3house
- 🐞 修复 Breadcrumb 组件使用
menu属性,但是出现 overlay deprecation 警告的问题。#40211 @candy4290 - 🐞 修复 Modal.useModal
destroyAll不工作的问题。#40281 @ds1371dani - 🐞 修复
message组件通过config设置duration无效问题。#40232 @Yuiai01 - 🐞 修复 Button 包含
a标签时的 文本颜色不正确的问题。#40269 @ds1371dani - 🐞 修复 Radio 在
disabled时显示错误的文本颜色和光标。#40273 @ds1371dani - 💄 优化 focus
outline计算逻辑,替换lineWidth为lineWidthBold。#40291 @simonpfish - 💄 重写部分组件样式以兼容部分对
:not支持不完全的旧版浏览器。#40264 - 🌐 修复
pt_BR缺失的国际化。#40270 @rafaelncarvalho
- 🐞 Fix Checkbox that label not aligned with checkbox. #40208
- 🐞 Fix Button wave effect sometime makes layout shaking. #40192
- 🐞 Fix Select crash problem. #40158 @helloqian12138
- 🐞 Fix Timeline custom color displaying wrong classname & alignment overflow. #39394 @Wxh16144
- 🐞 Fix Breadcrumb last item color. #40119 @messaooudi
- 💄 Fix Table sticky table header shadow style. #40171 @Wxh16144
- 💄 Fix Segmented item hover radius style. #40175 #40179
- TypeScript
- RTL
- 💄 Fix DatePicker's next & prev icons in RTL mode. #40238 @ds1371dani
- 💄 Fix Badge RTL style when wrap a block element. #40125
- 🐞 修复 Checkbox 组件 label 不对齐的问题。 #40208
- 🐞 修复 Button 水波纹效果有时会使得布局抖动的问题。#40192
- 🐞 修复 Select 组件会卡住的问题。#40158 @helloqian12138
- 🐞 修复 Timeline 组件自定义颜色显示错误类名和对齐溢出的问题。#39394 @Wxh16144
- 🐞 修复 Breadcrumb 最后一项颜色。#40119 @messaooudi
- 💄 修复 Table 固定表头阴影样式错误。#40171 @Wxh16144
- 💄 修复 Segmented hover 时圆角和选中圆角不一致的问题。#40175 #40179
- TypeScript
- RTL
- 💄 优化 DatePicker 在 RTL 模式下 next 和 prev 图标。#40238 @ds1371dani
- 💄 修复 Badge 作用在块级元素上时 RTL 样式不生效的问题。#40125
- 🐞 Fix missing locale file. #40116
- 🐞 Fix Cascader dropdown
placementin RTL mode. #40109 @3hson - 🐞 Fix animation flicking in some components. react-component/motion#39
- 🐞 修复 locale 文件丢失的问题。#40116
- 🐞 修复 Cascader 组件 RTL 模式中下拉菜单位置问题。#40109 @3hson
- 🐞 修复部分组件动画闪烁的问题。react-component/motion#39
- Table
- 🛠 Optimize the Table
shouldCellUpdatelogic to increase the secondary rendering speed. #40063 - 🐞 Fix Table
columns.rendernot trigger re-render when render function use closure data. #40004 - 🐞 Fix when Table filter, the border will be black. #39938 @JarvisArt
- 🛠 Optimize the Table
- Button
- 🐞 Fix Button wave effect not following screen scroll. #39954
- 🐞 Fix Button
blockprops not work. #39992 @li-jia-nan
- 🐞 Fix Menu custom expand icon cannot be hidden. #40071 @Wxh16144
- 💄 Fix circular Progress text not being displayed in rtl mode. #40103
- 💄 Fix horizontal Menu style with
theme="dark". #40105 - 🐞 Fix Cascader
notFoundContentcannot be clicked. #40067 - 🐞 Fix Transfer Checkbox not disabled when itemsLits is empty. #40038 @li-jia-nan
- 💄 Fix Checkbox style with
disabledandindeterminate. #39974 @ds1371dani - 🐞 Fix Alert.ErrorBoundary description overflow bug. #40033
- 💄 Fix Tag onClick as undefined, click the mouse to display the border style. #40023 @crazyair
- 💄 Fix Avatar.Group item margin when item is wrapped by other elements. #39993
- 🐞 Fix Submenu arrow transition. #39945 @JarvisArt
- 🐞 Fix selection column cover by other cell when fixed. #39940 @kiner-tang
- 🌐 Add missing ta_IN translations. #39936 @KIRUBASHANKAR26
- Table
- 🛠 优化 Table
shouldCellUpdate逻辑,提升二次渲染速度。#40063 - 🐞 修复 Table
columns.render中如果使用闭包数据,更新闭包数据不会触发重新渲染的问题。#40004 - 🐞 修复 Table filter 时,边框会有黑色的问题。#39938 @JarvisArt
- 🛠 优化 Table
- Button
- 🐞 修复 Button 水波纹效果不跟随屏幕滚动的问题。#39954
- 🐞 修复 Button
block属性不生效的问题。#39992 @li-jia-nan
- 🐞 修复 Menu 自定义展开图标无法隐藏的错误。#40071 @Wxh16144
- 💄 修复横向 Menu 组件暗色模式样式。#40105
- 💄 修复圆形 Progress 文本在 rtl 模式下不显示的问题。#40103
- 🐞 修复 Cascader
notFoundContent内容无法交互的问题。#40067 - 🐞 修复 Transfer 中 CheckBox 在列表为空的时候没有变成 disabled 状态的问题。#40038 @li-jia-nan
- 💄 修复 Checkbox 同时开启
disabled和indeterminate时的样式问题。#39974 @ds1371dani - 🐞 修复 Alert.ErrorBoundary 内容溢出的问题。#40033
- 💄 修复 Tag
onClick为 undefined,鼠标点击也会出现边框样式。#40023 @crazyair - 💄 修复 Avatar.Group 内 Avatar 外层包裹其他元素时间距样式失效问题。#39993
- 🐞 修复 Submenu 箭头过渡动画不正确的问题。#39945 @JarvisArt
- 🐞 修复选择列固定时滚动会被其他单元格遮盖的问题。#39940 @kiner-tang
- 🌐 增加缺失的泰米尔语翻译。#39936 @KIRUBASHANKAR26
- 🆕 Theme Editor supports uploading themes. #39621 @BoyYangzai
- 💄 Refactor wave effect that can now trigger multiple times. #39705 @li-jia-nan
- Table
- 🐞 Fix Table
column.filteredcannot be updated. #39883 - 🐞 Fix Table fixed column which is sorted or filtered transparent background bug. #39012 @kiner-tang
- 🐞 Fix Table
- 🐞 Fix Image preview style conflict with TailwindCSS. #39914
- 🐞 Fix Dropdown
dangeranddisabledstyle priority bug. #39904 @Wxh16144 - 🐞 Fix App.useApp
modaldefaultokText. #39884 @BoyYangzai - 💄 Fix Input.Group misplace style when zoom up in windows. #39842 @heiyu4585
- 🐞 Fix Slider missing Tooltip appear motion. #39857
- 🐞 Fix QRCode missing expired style. #39849 @li-jia-nan
- 🐞 Fix Tree switcher's background display unexpected in dark theme. #39838 @kiner-tang
- 🐞 Fix Menu slide bar style issue when
borderis reset by preset. #39819 @MadCcc - 🐞 Fix Checkbox not support Tooltip or Popover when it is
disabled. #39829
- 🆕 官网主题编辑器添加主题上传功能。#39621 @BoyYangzai
- 💄 重构水波纹视效,现在可以多个水波纹同时触发了。#39705 @li-jia-nan
- Table
- 🐞 修复 Table
column.filtered更新不生效的问题。#39883 - 🐞 修复 Table 排序/筛选的固定列背景色透明的样式异常问题。#39012 @kiner-tang
- 🐞 修复 Table
- 🐞 解决 Image 预览样式会被 TailwindCSS 影响的问题。#39914
- 🐞 修复 Dropdown 组件
danger和disabled属性同时使用的样式问题。#39904 @Wxh16144 - 🐞 修复 App
useApp中modal确认按钮文案。#39884 @BoyYangzai - 🐞 修复 Input.Group 在 windows 下缩放屏幕时的错位问题。#39842 @heiyu4585
- 🐞 修复 Slider 展示 Tooltip 时动画丢失的问题。#39857
- 🐞 修复 QRCode 过期文案在暗色模式下看不清的问题。#39849 @li-jia-nan
- 🐞 修复 Tree 在暗黑模式下
switcher背景显示异常问题。#39838 @kiner-tang - 🐞 修复 Menu 组件滑块在
border被预设值重置时的样式问题。#39819 - 🐞 修复 Checkbox 禁用时不支持 Tooltip 和 Popover 的问题。#39829
- 📦 Remove IE and other legacy browsers from browserslist to reduce bundle size.#38779
- ⚡️ Improve Transfer performance when selecting and moving nodes with large data.#39465 @wqs576222103
- 🐞 Fix wrong
font-familyof components. #39806 - 🐞 Fix Drawer default props not working when
placementopenwidthareundefined. #39782 - 🐞 Fix Menu icon animation when collapse it. #39800 @JarvisArt
- 🐞 Fix Image preview operation bar is covered during the animation. #39788 @JarvisArt
- 🐞 Fix List crash when
pagination.pageSizeis undefined. #39681 @Wxh16144 - 🐞 Fix Space
align="baseline"not working. #39748 @candy4290 - Table
- 🐞 Fix Table expandable row header has no top left border radius. #39781 @chunsch
- 🐞 Fix Table header radius missing when has fixed header and columns. #39723
- 🐞 Fix Table missing
border-bottomin merged cell and unexpected border color if overlapping。. #39729 - ⌨️ Improve Table a11y by appling aria-props to table element. #39700
- ⌨️ Reset
aria-labelin Table column. #39738 @kiner-tang - 💄 Adds transition animation for Table border. #39713 @JarvisArt
- 🐞 Fix Tabs add button color invisible in dark mode. #39724
- 🐞 Fix the problem that the height of the title bar is not enough when Card only has
extra. #39646 @JarvisArt - 🐞 Fix
justifyandalignproperties are not reactive in Row. #39704 @candy4290 - 🐞 Fix warning in App about two children with the same key. #39695 @Kamahl19, #39701 @li-jia-nan
- 💄 Image preview interactive optimization. #39812 @JarvisArt
- 💄 Fix Table filter dropdown wrong active background and dropdown shadow style. #39805
- TypeScript
- 🤖 Fix missing type defination for Design Token. #39754
- 📦 在构建流程中去掉对 IE 等旧版本浏览器的支持以减少包体积。#38779
- ⚡️ 提升 Transfer 在大数据量下勾选和移动节点时的性能。#39465 @wqs576222103
- 🐞 修复组件字体错误问题。#39806
- 🐞 修复 Drawer
placementopenwidth等参数为 undefined 时默认值不生效的问题。#39782 - 🐞 修复 Menu 切换时图标动画效果不流畅的问题。#39800 @JarvisArt
- 🐞 修复 Image 预览操作条在动态过程中会被高 zIndex 的元素覆盖。#39788 @JarvisArt
- 🐞 修复 List 组件分页器错误参数导致报错问题。#39681 @Wxh16144
- 🐞 修复 Space
align="baseline"不生效的问题。#39748 @candy4290 - Table
- 🐞 修复 Table 可扩展行标题没有左上边框半径的问题。#39781 @chunsch
- 🐞 修复 Table 列头的圆角丢失问题。#39723
- 🐞 修复 Table 组件合并单元格后底部边框消失和边框重叠时颜色变深的问题。#39729
- ⌨️ 修正 Table
aria-*属性到 table 元素上以支持更好的可访问性。#39700 - ⌨️ 重置 Table 列的
aria-label属性值。#39738 @kiner-tang - 💄 为 Table 边框添加过渡动画使其 hover 效果更顺滑。#39713 @JarvisArt
- 🐞 修复 Tabs 添加按钮在暗色模式下不可见的问题。#39724
- 🐞 修复 Card 只有
extra时标题栏高度不足的问题。#39646 @JarvisArt - 🐞 修复 Row 组件
justify和align属性,动态改变不生效的问题。#39704 @candy4290 - 🐞 修复 App 中
children使用相同 key 的警告。#39695 @Kamahl19,#39701 @li-jia-nan - 💄 Image 组件预览交互优化. #39812 @JarvisArt
- 💄 修复 Table 筛选菜单选中背景色和菜单阴影样式。#39805
- TypeScript
- 🤖 修复部分 Design Token 缺少类型提示的问题。#39754
- 🔥 New App Component which provide global style & static function replacement. #39046
- 🔥 New QRCode Component. #38948
- 🔥 New Watermark Component. #39064 @JarvisArt
- 🆕 Mentions support
optionsprop. #38630 @heiyu4585 - 🆕 FloatButton support
clickOutAutoClose. #39501 @BoyYangzai - 🆕 Popconfirm support
descriptionprop. #39250 @xhh0223 - 🆕 Modal.confirm support
footerprop. #39048 @owjs3901 - 🆕 Table support
rowScopeto set the column range. #39571 - 🆕 Anchor support
itemsdata configuration option content, which supports nesting through children. #39034 @foryuki - 🆕 Breakpoints can now follow theme token config. #39105 @azro352
- 🆕 Tour prevButtonProps nextButtonProps support
styleclassnameprop. #38939 @ONLY-yours - 🆕 ConfigProvider support config
select.showSearch. #39531 @YinDongFang - 🐞 Fix Tabs
inkBarnot show in StrictMode. #39653 - 🐞 Fix Badge component width not being affected by parent element. #39605 @AydenGen
- Select
- 🐞 Fix Tour steps set type=‘primary’ not work. #39382 @heiyu4585
- 🐞 Fix disabled style miss when has href on Button. #39456 @BoyYangzai
- 🐞 Fix Segmented icon unexpected margin. #39575
- 🐞 Fix Drawer unexpected warning about
DefaultProps. #39562 - Menu
- 🐞 Fix Menu.Submenu will flicker when use
createRootto render. #38855 @JarvisArt - 🛠 Refactor MenuItem to Function Component. #38751
- 💄 Optimize Menu item style when selected. #39439
- 🐞 Fix Menu.Submenu will flicker when use
- 🛠 LocaleProvider has been deprecated in 4.x (use
<ConfigProvider locale />instead), we removed the related folder antd/es/locale-provider and antd/lib/locale-provider in 5.x. #39373 - 🛠 Simplified lodash method introduction. #39599 #39602
- TypeScript
- 🌐 Localization
- 🔥 新增 App 包裹组件,提供重置样式和提供消费上下文的默认环境。#39046
- 🔥 新增 QRCode 二维码组件。#38948
- 🔥 新增 Watermark 水印组件。#39064 @JarvisArt
- 🆕 Mentions 新增
options配置。#38630 @heiyu4585 - 🆕 FloatButton 新增支持点击外侧自动关闭功能。#39501 @BoyYangzai
- 🆕 Popconfirm 组件新增
description属性。#39250 @xhh0223 - 🆕 Modal.confirm 新增
footer属性以自定义按钮列表。#39048 @owjs3901 - 🆕 Table 新增
rowScope以设置列范围。#39571 - 🆕 Anchor 新增
items数据化配置选项内容,支持通过 children 嵌套。#39034 @foryuki - 🆕 Grid 组件的响应式断点现在会消费主题 token 配置。#39105 @azro352
- 🆕 Tour 的 prevButtonProps nextButtonProps 新增
style和classname设置。#38939 @ONLY-yours - 🆕 ConfigProvider 支持配置
select.showSearch。#39531 @YinDongFang - 🐞 修复 Tabs
inkBar在 StrictMode 下不展示的问题。#39653 - 🐞 修复 Badge 组件宽度不受父元素影响。#39605 @AydenGen
- Select
- 🐞 修复 Tour steps 设置
type="primary"无效的问题。#39382 @heiyu4585 - 🐞 修复带有
href的 Button 组件disabled时 style 不生效的问题。#39456 @BoyYangzai - 🐞 修复 Segmented 组件 icon 与文字间距消失的问题。#39575
- 🐞 修复 Drawer 组件关于
DefaultProps的警告。#39562 - Menu
- 🐞 修复 React18 中使用
createRoot渲染 Menu.Submenu 会闪烁的问题。#38855 @JarvisArt - 🛠 重构 MenuItem 为 Function Component。#38751
- 💄 优化 Menu 组件选中样式。#39439
- 🐞 修复 React18 中使用
- 🛠 LocaleProvider 在 4.x 中已经废弃(使用
<ConfigProvider locale />替代),我们在 5.x 里彻底移除了相关目录 antd/es/locale-provider、antd/lib/locale-provider。#39373 - 🛠 简化 lodash 方法引用。#39599 #39602
- TypeScript
- 🌐 国际化
- 🐞 Fix Slider's Tooltip missing animation. #39463 @YinDongFang
- 🐞 Fix Table unexpected horizontal scroll bar when empty and bordered. #39455 @zjfresh
- 🐞 Fix Popover arrow background color with customized
color. #39517 - 🐞 Fix Modal hooks not pass ConfigProvider config correctly. #39513
- 🐞 Fix Radio align issue with custom size. #39476
- 🐞 Fix FloatButton
tooltipproperty is not support0value. #39425 @li-jia-nan - 🐞 Fix Space wrapped Select not display clear icon problem when mouse hover. #39468 @foryuki
- 💄 Fix Cascader ul has unexpected margin value. #39436 @ZN1996
- 💄 Fix Input has unexpected padding problem in compact mode. #39428
- 💄 Optimize Message padding in compact mode. #39428
- 💄 Fix Radio.Button has unexpected text color in dark mode. #39428
- 💄 Fix Select has unexpected padding problem in compact mode. #39428
- 💄 Fix Slider has unexpected size for marking dot. #39428
- 💄 Optimize Switch color in dark mode. #39428
- 🐞 修复 FloatButton 的
toolip属性不支持设置为0的问题。#39425 @li-jia-nan - 🐞 修复 Space 组件包裹的 Select 系列组件在 hover 时清除图标不展示的问题。#39468 @foryuki
- 💄 修复 Cascader 内部 ul 的 margin 值异常的问题。#39436 @ZN1996
- 💄 修复 Input 组件在紧凑模式下内边距异常的问题。#39428
- 💄 优化 Message 组件在紧凑模式下的内边距。#39428
- 💄 修复 Radio.Button 组件在暗色模式下的文字颜色。#39428
- 💄 修复 Select 组件在紧凑模式下内边距异常的问题。#39428
- 💄 修复 Slider 组件标签原点样式问题。#39428
- 💄 优化 Switch 组件暗色模式下的颜色。#39428
- 🐞 Fix button hover style in Space.Compact. #39157 @foryuki
- 🐞 Fix Tabs active bar missing sometimes in windows Chrome. #39352 @heiyu4585
- 🐞 Fix Divider
horizontalalign issue in flex layout. #39339 - 🐞 Fix Popover width in rtl mode. #39311
- 🐞 Fix Popconfirm padding style issue when
wireframeistrue. #39313 @MadCcc - 💄 Fix Select search input with white space style issue. #39299 @MadCcc
- 💄 Fix Tree missing selection style. #39292
- 🐞 Fix FloatButton content not align when customize size. #39282 @li-jia-nan
- 🐞 Fix RangePicker cell hover style. #39266
- 💄 Optimize Button style under Space.Compact. #39241 @foryuki
- 🌐 Fix
vi_VNi18n mistake. #39279 @nghiepdev - 🌐 Fix
he_ILi18n mistake. #39280 @Ran-Sagy - TypeScript
- 🤖 Optimize Anchor
onClickevent definition. #39305 @li-jia-nan
- 🤖 Optimize Anchor
- 🐞 修复 Space.Compact 下 Button hover 样式问题。#39157 @foryuki
- 🐞 修复 Tabs 在 windows Chrome 下高亮条有时候会丢失的问题。#39352 @heiyu4585
- 🐞 修复 Divider
horizontal在 flex 布局下的对齐问题。#39339 - 🐞 修复 Popover 在 rtl 模式下宽度异常的问题。#39311
- 🐞 修复 Popconfirm 组件 token 配置线框化后边框坍缩的样式问题。#39313 @MadCcc
- 💄 修复 Select 组件搜索框会出现空白区域的样式问题。#39299 @MadCcc
- 💄 修复 Tree 丢失选中样式的问题。#39292
- 🐞 修复 FloatButton 自定义尺寸时,内容不居中的问题。#39282 @li-jia-nan
- 🐞 修复 RangePicker 日期 hover 样式。#39266
- 💄 优化 Button 在 Space.Compact 下的 Hover 样式。#39241 @foryuki
- 🌐 修正
vi_VN国际化描述。#39279 @nghiepdev - 🌐 修正
he_IL国际化描述。#39280 @Ran-Sagy - TypeScript
- 🤖 优化 Anchor
onClick的事件类型定义。#39305 @li-jia-nan
- 🤖 优化 Anchor
- Modal
- 🐞 Fix Modal with long content exceed the panel. #39249 @MuxinFeng
- 🐞 Fix Modal.info content width when without icon. #39047 @owjs3901
- 🐞 Fix Tree config
checkableandblockNodenot makestitlestretch issue. #39209 @Wxh16144 - 🐞 Fix Dropdown sub menu missing motion. #39235
- 💄 Fix RangePicker time panel padding style. #39228
- 🐞 Fix Card action button round style. #39210 @muxin
- 🐞 Fix Badge wave effect color not follow
color. #39182 @li-jia-nan - 🐞 Fix Radio disabled status check style. #39165 @Wxh16144
- 🐞 Fixed TextArea count style when
resizeis notnone. #39121 @51wangping - 🐞 Fix Transfer clicking the checkbox position cannot be unchecked and onSelectChange is triggered twice. #39078 @edc-hui
- 🐞 Fix Steps set
size="small"with progress not fully display. #39100 @Wxh16144 - 🐞 Fix Form horizontal layout with
xsresponsive config not work. #39130 - 🐞 Fix message position not correct in RTL. #39248 @Yuiai01
- 🐞 Fix Switch only set with
checkedChildrenorunCheckedChildrencontent not display. #39262
- Modal
- 🐞 修复 Modal 文字内容过多会超出框体的样式问题。#39249 @MuxinFeng
- 🐞 修复 Modal.info 没有图标时,内容宽度不正确的问题。#39047 @owjs3901
- 🐞 修复 Tree
checkable与blockNode配合时,title元素不拉伸的问题。#39209 @Wxh16144 - 🐞 修复 Dropdown 二级菜单丢失动画的问题。#39235
- 💄 修复 RangePicker 内时间面板的 padding 样式。#39228
- 🐞 修复 Card 的按钮组圆角样式。#39210 @muxin
- 🐞 修复了 Badge 自定义颜色的时候,波纹的颜色不会跟着小圆点颜色发生变化的问题。#39182 @li-jia-nan
- 🐞 修复 Radio 禁用状态选中样式。#39165 @Wxh16144
- 🐞 修复 TextArea
resize不是none时计数文字的样式问题。#39121 @51wangping - 🐞 修复 Transfer 组件 点击复选框位置不可以取消选中,并触发了两次 onSelectChange 问题。#39078 @edc-hui
- 🐞 修复 Steps
size="small"第一项带有进度时,进度条显示不全的问题。#39100 @Wxh16144 - 🐞 修复 Form 水平布局下
xs的响应式布局不生效的问题。#39130 - 🐞 修复 message 在 RTL 下位置不正确的问题。#39248 @Yuiai01
- 🐞 修复 Switch 在只设置
checkedChildren或unCheckedChildren时,其内容不会显示的问题。#39262
- 🐞 Fix Spin alignment when using
tip. #38923 @sribich - Menu
- 🐞 Fix Input.TextArea resize behavior by adding reset style. aa92f02
- 🐞 Fix Upload default icon color. #39114 @MARKX97
- 🐞 Fix ssr warning in dev mode caused by dynamic hashId. #39069
- 🐞 Fix FloatButton.Group flicking on closing. #39061
- 🐞 Fix Card.Meta that width is not 100%. #39026 @justanotheranonymoususer
- 💄 Fix Card radius style broken when customize
bodyStylebackground color. #38973 @Yukiniro - 💄 Optimize default algorithm for error color. #38933
- 💄 Optimize the style issue in RTL mode. #38829 @Wxh16144
- Space.Compact
- 🐞 Fix horizontal Menu that has wrong width when is overflow. #38989
- 🐞 Fix Table that the old filter state still takes effect when the list filter column changes. #38982
- 🐞 Fix Select and Pagination incorrect text color in dark theme. #38979 @Dunqing
- 🐞 Fix that Mentions
optionsprops not working. #38968 @heiyu4585 - 🐞 Fix that
dist/reset.cssmay be dropped in production mode. #38956 @passerV - 🐞 Fix Badge that
showZerocan't be used with custom color. #38967 @Wxh16144 - 🐞 Fix Form validation motion flick issue. #38962
- 🐞 Fix Tabs dropdown motion not work. #38892
- 🐞 Fix ConfigProvider that
componentDisabledis not work. #38886 @lidianhao123 - 🐞 Fix Button
blockprop is not working whenshape="round". #38869 @jjlstruggle - 🐞 Fix Dropdown.Button that
dropdownRenderis not executed. #38862 @imoctopus
- 💄 修复 Card 组件设置
bodyStyle的背景颜色后圆角失效的问题。#38973 @Yukiniro - 💄 优化错误色的默认算法。#38933
- 💄 修复 RTL 模式下的样式问题。#38829 @Wxh16144
- Space.Compact
- 🐞 修复横向 Menu 组件有溢出时宽度问题。#38989
- 🐞 修复 Table 组件过滤列被移除后过滤效果仍然影响列表数据的问题。#38982
- 🐞 修复 Select 和 Pagination 在暗色主题下文字颜色不正确。#38979 @Dunqing
- 🐞 修复 Mentions
options不生效的问题。#38968 @heiyu4585 - 🐞 修复
reset.css不会被打包的问题。#38956 @passerV - 🐞 修复 Badge 组件
showZero和color不能一起使用问题。#38967 @Wxh16144 - 🐞 修复 Form 校验信息动效卡顿的问题。#38962
- 🐞 修复 Tabs 下拉菜单动画消失的问题。#38892
- 🐞 修复 ConfigProvider
componentDisabled失效问题。#38886 @lidianhao123 - 🐞 修复 Button
block属性有时不生效的问题。#38869 @jjlstruggle - 🐞 修复 Dropdown.Button 的
dropdownRender未执行的问题。#38862 @imoctopus
- 💄 Optimize Empty svg color in dark theme. #38785
- 💄 Fix Form, Input, Select, Tree part style convert to CSS-in-JS missing. #38742
- 💄 Fix animation flick for some components in Firefox. #38729
- Menu
- 🐞 Fix Menu SubMenu margin style. #38714 @JarvisArt
- 🐞 Fix Menu width when collapsed. #38791 @KarasuShin
- 🐞 Fix Menu height in dark theme. #38741 @LuciNyan
- 🐞 Fix Menu SubMenu flicking when expanding. #38748 @JarvisArt
- 🐞 Fix that Table expanded icons are not aligned。#38823 @turdiyev
- 🐞 Fix FloatButton.BackTop missing animation. #38770 @li-jia-nan
- 🛠 Remove
Moment.jsdependency. #38762 - 🛠 Fix
CompoundedComponentts error。#38666 @wangcch - 🛠 Rollback
libin package。#38832 @chunsch
- 💄 优化 Empty 组件的 svg 图片在暗色主题下的颜色。#38785
- 💄 修复 Form, Input, Select, Tree 转换到 CSS-in-JS 丢失少量样式的问题。#38742
- 💄 修复 Firefox 下拉菜单动画抖动的问题。#38729
- Menu
- 🐞 修复 Menu SubMenu 间距问题。#38714 @JarvisArt
- 🐞 修复 Menu 收起时的宽度问题。#38791 @KarasuShin
- 🐞 修复 Menu 暗色主题下高度多了 1px 的问题。#38741 @LuciNyan
- 🐞 修复 Menu 展开 Submenu 时抖动的问题。#38748 @JarvisArt
- 🐞 修复 Table 组件展开 icon 不对齐的问题。#38823 @turdiyev
- 🐞 修复 FloatButton.BackTop 组件动画丢失的问题。#38770 @li-jia-nan
- 🛠 清除残留
Moment.js依赖。#38762 - 🛠 修复外部暴露类
CompoundedComponent的组建的类型报错。#38666 @wangcch - 🛠 重新添加
lib产物。#38832 @chunsch
🏆 Ant Design 5.0.0 is out!
Read it before migration
🌟 If you want to migrate to Ant Design 5.0, please check V4 to V5.
Major Changes
- 🔥 New Components
- 🔥 FloatButton component, and refactor BackTop as child component of FloatButton. #37520 @li-jia-nan
- 🔥 Tour component. #37867 #38469 @heiyu4585
- 🔥 New Component Variants
- 🔥 DatePicker add
presetsto support preset ranges for quick selection. #38249 - 🔥 Progress
circletype support responsiveformattext for small size. #38231 @li-jia-nan - 🔥 Steps add
inlinetype. #38311 @JarvisArt
- 🔥 DatePicker add
- 💄 New Design
- 💄 Change primary color to
#1677ff. #37254 - 💄 Change basic border radius to
6px, and support gradient radius. #37146 #37369 - 💄 Optimize transition duration. #37438
- 💄 Optimize padding and remove border for some components. #37283
- 💄 Optimize focus style for some components. #37483
- 💄 Optimize style with large border radius.
- 💄 Optimize Switch transition. #37658
- 💄 Optimize Anchor ink ball style. #38616
- 💄 Change primary color to
- 🆕 Export object
themewhich contains hooks and algorithms related with theme. #36302 - 🆕 ConfigProvider support
themeprop to modify theme configuration. For more: Customize Theme. - 🆕 Add
localedirectory in package, which contains commonjs locale files. #38194 @chunsch - 🗑 Do not support IE browser anymore.
- 🗑 Remove package
antd/lib. #36362- 🛠 Change
maininpackage.jsontodist/antd.js. eb8835f
- 🛠 Change
- 🗑 Remove
dist/antd.css, and adddist/reset.cssto override common styles. #36224 - 🗑 Deprecate
visibleand provideopeninstead in components below. @yykoypj- 🗑 Tag deprecate
visible. #36671 - 🗑 Table deprecate
filterDropdownVisibleand providefilterDropdownOpen. #36747 - 🗑 Drawer deprecate
visibleand provideopeninstead. #36750 - 🗑 Modal deprecate
visibleand provideopeninstead. #36774 - 🗑 Dropdown deprecate
visibleand provideopeninstead. #36799 - 🗑 Tooltip deprecate
visibleand provideopeninstead, Popover and Popconfirm. #36807
- 🗑 Tag deprecate
- 🗑 Deprecate
dropdownClassNameand providepopupClassNameinstead in components below. @heiyu4585- 🗑 AutoComplete deprecate
dropdownClassNameand providepopupClassNameinstead. #37087 - 🗑 Mentions deprecate
dropdownClassNameand providepopupClassNameinstead. #37122 - 🗑 Cascader deprecate
dropdownClassNameand providepopupClassNameinstead. #37089 - 🗑 Select deprecate
dropdownClassNameand providepopupClassNameinstead. #37091 - 🗑 TreeSelect deprecate
dropdownClassNameand providepopupClassNameinstead. #37092 - 🗑 DatePicker and TimePicker deprecate
dropdownClassNameand providepopupClassNameinstead. #37207
- 🗑 AutoComplete deprecate
- 🛠 Refactor styles with CSS-in-JS for all components.
- 🗑 Remove less and css in package. #36244
- 🛠 Change date library from Moment.js to Day.js, for more: Use custom date library. b22815d @iamkun
- 🛠 React Notification to support React 18 concurrent mode and refactor useNotification hook,which is preferred instead of static function. #35423 #35568
- 🛠 Slider props related with Tooltip are unified into
tooltip. #37043 @yykoypj - 🛠 Migrate official site to dumi@2. #38328
- 🏆 Ant Design 5.0.0 已发布!欢迎阅读我们的 发布文档。 升级必读
- 🌟 如果你想升级到 Ant Design 5.0,请仔细查阅我们的迁移文档。 主要变化
- 🔥 新增组件
- 🔥 FloatButton 悬浮按钮,原 BackTop 移至 FloatButton 子组件。#37520 @li-jia-nan
- 🔥 Tour 漫游式引导。#37867 #38469 @heiyu4585
- 🔥 新增组件变体
- 🔥 DatePicker 新增
presets属性用于预设时间范围快捷选择。#38249 - 🔥 Progress
circle类型支持小尺寸自适应。#38231 @li-jia-nan - 🔥 Steps 新增
inline类型。#38311 @JarvisArt
- 🔥 DatePicker 新增
- 💄 设计变化
- 🆕 新增导出对象
theme,用于获取主题相关属性。#36302 - 🆕 ConfigProvider 新增
theme属性,用于更改主题配置,详情:定制主题。 - 🆕 产物新增
locale目录,内含 cjs 格式的语言文件。#38194 @chunsch - 🗑 移除对 IE 的支持。
- 🗑 移除
lib产物。#36362- 🛠 调整
package.json中main为dist/antd.js。eb8835f
- 🛠 调整
- 🗑 移除
dist/antd.css产物。默认不再入侵全局样式,新增dist/reset.css用于重置部分常见样式。#36224 - 🗑 废弃下列组件的
visible属性,改用open。@yykoypj - 🗑 废弃下列组件的
dropdownClassName,统一为popupClassName。@heiyu4585- 🗑 AutoComplete 废弃
dropdownClassName,改用popupClassName。#37087 - 🗑 Mentions 废弃
dropdownClassName,改用popupClassName。#37122 - 🗑 Cascader 废弃
dropdownClassName,改用popupClassName。#37089 - 🗑 Select 废弃
dropdownClassName,改用popupClassName。#37091 - 🗑 TreeSelect 废弃
dropdownClassName,改用popupClassName。#37092 - 🗑 DatePicker 和 TimePicker 废弃
dropdownClassName,改用popupClassName。#37207
- 🗑 AutoComplete 废弃
- 🛠 所有组件使用 CSS-in-JS 重构样式。
- 🗑 移除 less 及相关 less 和 css 产物。#36244
- 🛠 内置时间库由 Moment.js 替换为 Day.js,详情:使用自定义日期库。b22815d @iamkun
- 🛠 重构 Notification 以支持 React 18 concurrent 模式,并重构 useNotification hook,推荐替代静态方法使用。#35423 #35568
- 🛠 Slider 组件 Tooltip 相关 API 合并至
tooltip属性中。#37043 @yykoypj - 🛠 文档站技术栈迁移 dumi@2。#38328
- 🐞 Fix Select that scrollbar is not displayed when there are few options. #47050
- 🐞 Fix Transfer cannot invert current page correctly. #47134 @linxianxi
- 🐞 Fix that clicking Form tooltip icon should not trigger Switch. #46159 @Wxh16144
- 🐞 Fix Segmented
optionsclassName being overrided byclassName. rc-segmented#175 @stoil-terziev
- 🐞 修复 Select 组件在选项较少时不显示滚动条的问题。#47050
- 🐞 修复 Transfer 反选当页错误的问题。#47134 @linxianxi
- 🐞 修复点击 Form
tooltip图标会触发 Switch 切换的问题。#46159 @Wxh16144 - 🐞 修复 Segmented
options内className会覆盖组件自带className的问题。rc-segmented#175 @stoil-terziev
- 🐞 Fix Breadcrumb unexpected overlay deprecation warning message. #43917 @whalesink
- 🐞 Fix Upload gif thumbnail not playing. #44129 @linxianxi
- 🐞 Fix ConfigProvider throws
rc-util/lib/utils/setnot existed. #44630 @varown
- 🐞 修复 Breadcrumb 使用
menu属性时出现overlay废弃警告的问题。#43917 @whalesink - 🐞 修复 Upload gif 缩略图不会动的问题。#44129 @linxianxi
- 🐞 修复 ConfigProvider 抛出
rc-util/lib/utils/set不存在的问题。#44630 @varown
- 🐞 Fix Anchor not trigger
getCurrentAnchorwhen scroll. #43917 - 🛠 Carousel remove
lodashdependencies. 2b43f73 @taozhou-glean - 🐞 Fix Select selector remove icon align. #43667 @Wxh16144
- 🐞 Allow users to handle promise rejections in Modal's
onOkcallback. #43536 @maroon1 - 🐞 fix: ConfigProvider form
validateMessagesnesting error. #43480 @Wxh16144 - 🐞 Sync
@checkbox-border-radiusto variable.less. #43356
- 🐞 修复 Anchor 在滚动时无法触发
getCurrentAnchor的问题。#43917 - 🛠 Carousel 移除
lodash依赖。2b43f73 @taozhou-glean - 🐞 修复 Select 选中时移除图标未对齐错误。#43667 @Wxh16144
- 🐞 让用户能够处理 Modal 中
onOk回调中的 Promise 异常。#43536 @maroon1 - 🐞 修复 ConfigProvider 表单校验信息
validateMessages嵌套使用错误。#43480 @Wxh16144 - 🐞 修复 variable.less 没有同步改动
@checkbox-border-radius导致变量表现不一致的问题。#43356
- 🆕 Drawer panel support event listener. #42712 @kiner-tang
- 🐞 Fix Upload
onChangesometime not sync when in React 18. #43200 - 🐞 Fix Notification cannot hide close icon by
closeIcon={null}. #42791 - 🐞 Fix Drawer
idwas passed in incorrectly, and now is always added to the popup panel. #43124 @MuxinFeng - 🐞 Fix InputNumber with
prefixabnormal height under Form.Item ofhasFeedBack. #43048 - 🐞 Fix Popover with
getPopupContainersometime makes width too narrow. #42697 - 🐞 Fix Select will display the letter A under some circumstances. #42654 @tchen-l
- 🐞 Fix ConfigProvider that import useless modules from
rc-field-formwhen importingFormProvider. #42502 @BanShan-Alec - 🐞 Fix Popconfirm trigger
onVisibleChangetwice. #42351 - 🐞 Fix Form
onFieldsChangemissingvalidatingstatus change. #42263 - 🐞 Fix Popover that display empty
divwhentitleandcontentis null. 19f8505 @MaHui - 🐞 Fix Upload
disabledlogic. #42143 @Wxh16144 - 🐞 Fix RangePicker wrong panel position under some circumstances. #43179 @cooljser
- 🐞 Fix ConfigProvider makes Form component in the bundle even not use it. #43207 @yoyo837
- 💄 Optimize Spin style to keep height of container the same as child element. #42163 @cheapCoder
- 🆕 Drawer 组件面板支持事件监听。#42712 @kiner-tang
- 🐞 修复 Upload 在 React 18 下
onChange有时数据不正确的问题。#43200 - 🐞 修复 Notification 设置
closeIcon={null}时关闭图标没有消失的问题。#42791 - 🐞 修复 Drawer
id传入位置不正确的问题,现在始终会添加至弹出面板上。#43124 @MuxinFeng - 🐞 修复 InputNumber 带有
prefix时在 Form.ItemhasFeedBack内高度异常的问题。#43048 - 🐞 修复 Popover 设置
getPopupContainer后,某些时候宽度会过窄的问题。#42697 - 🐞 修复 Select 在某些情况下会显示字母 A 的问题。#42654 @tchen-l
- 🐞 修复 ConfigProvider 引入
FormProvider时,错误引入 'rc-field-form' 其他的无关依赖的问题。#42502 @BanShan-Alec - 🐞 修复 Popconfirm 的
onVisibleChange会重复触发的问题。#42351 - 🐞 修复 Form
onFieldsChange丢失一次validating状态变更的更新事件。#42263 - 🐞 修复 Popover 组件当
title和content都为空时展示空气泡的问题19f8505 @MaHui - 🐞 修复 Upload 禁用状态逻辑。#42143 @Wxh16144
- 🐞 修复 RangePicker 在某些情况下面板打开未知不正确的问题。#43179 @cooljser
- 🐞 修复使用 ConfigProvider 会导致未使用的 Form 组件也被打包的问题。#43207 @yoyo837
- 💄 优化 Spin 样式,保持容器与子元素图标高度一致。#42163 @cheapCoder
- 🆕 Slider add missing
railStylefor custom style. #40942 @c01nd01r - 🐞 Fix Select width becomes 0px when search after select something. #41646
- 🐞 The
displayRenderprompt cannot be used when deletingmultiple. #40940 @crazyair - 💄 Checkbox should use @border-radius-sm. #40823
- 🐞 Fix TextArea missing active style when focused. #41281 @MuxinFeng
- 🛠 Adjust Checkbox to remove
checkedwhen unchecked. #41888 - TypeScript
- 🐞 Fix Tabs that throw error in some cases. df09516
- 🌐 Add missing translation for
pt_BR. #40019 @rafaelncarvalho - TypeScript
- 🐞 修复 Tabs 组件某些情况下报错的问题。df09516
- 🌐 补全
pt_BR国际化。#40019 @rafaelncarvalho - TypeScript
- 🐞 Fix Tabs slider that cannot resize. #39867
- 🐞 Fix Input text is missing when
suffixis applied in Safari. #39830 @ifujustayup
- 🐞 修复 Tabs 组件滑块不能自动适应宽度的问题。#39867
- 🐞 修复 Input 在 Safari 下使用
suffix时文字内容丢失的问题。#39830 @ifujustayup
- 🆕 Dropdown support
autoAdjustOverflow. #39741 - 🐞 Fix
justifyandalignproperties are not reactive for Row. #39706 @candy4290 - 🐞 Fix Drawer that could not be close with
open={false}. #39561 - 🐞 Fix Divider
horizontalalign issue in flex layout. #39334 - 💄 Fix
Dropdowncomponent dange and disabled style priority issue. #39434 @Wxh16144 - ⌨️ Reset aria-label in Table column. #39747 @kiner-tang
- 🌐 Localization
- 🆕 Dropdown 组件支持
autoAdjustOverflow属性。 (#39741)62cefca - 🐞 修复 Row 组件
justify和align属性,动态改变不生效的问题。#39706 @candy4290 - 🐞 修复 Drawer 组件
open为 false 时无法关闭的问题。#39561 - 🐞 修复 Divider
horizontal在 flex 布局下的对齐问题。#39334 - 💄 修复
Dropdown组件danger和disabled属性同时使用样式问题。#39434 @Wxh16144 - ⌨️ 重置 Table 中列的 aria-label 属性值。#39747 @kiner-tang
- 🌐 国际化
- 🐞 Fix Menu.Item with
disablednot prevent a element clickable. aa8d7f5 @二货机器人 - 💄 Tweak Popconfirm icon position when
titlehave multiple lines. #39027 @justanotheranonymoususer - 🐞 Fix Badge the color cannot be customized when
countis0. #39062 @Wxh16144 - 🐞 Fix Card.Meta width is not 100%. #39039 @justanotheranonymoususer
- 🐞 Fix TimePicker pass to 'popupClassName' will display unexpected warning. #39010 @kiner-tang
- 💄 Fix Steps set
size="small"with progress not fully display. #39103 @Wxh16144
- 🐞 修复 Menu.Item 配置
disabled属性时其中的 a 标签仍可以点击的问题。aa8d7f5 @二货机器人 - 💄 优化 Popconfirm 内容换行时的图标位置。#39027 @justanotheranonymoususer
- 🐞 修复 Badge
count为0时无法自定义颜色问题。#39062 @Wxh16144 - 🐞 修复 Card.Meta 宽度没有默认填满容器的问题。#39039 @justanotheranonymoususer
- 🐞 解决当 TimePicker 传递
popupClassName属性会显示异常警告的问题。#39010 @kiner-tang - 💄 修复 Steps
size="small"第一项带有进度时,进度条显示不全的问题。#39103 @Wxh16144
- Space.Compact
- 🆕 Mentions support
optionsprop. #38876 @heiyu4585 - 🐞 Fix ConfigProvider that
componentDisabledis not work. #38886 @lidianhao123 - 🐞 Fix Message that
onClosedidn't triggered whendurationis0. #38669 @kiner-tang
- Space.Compact
- 🆕 Mentions 支持
options数据驱动。#38876 @heiyu4585 - 🐞 修复 ConfigProvider 组件
componentDisabled失效问题。#38886 @lidianhao123 - 🐞 修复 Message 组件
duration为0时手动关闭不触发onClose的问题。#38669 @kiner-tang
- 🐞 Fix Typography config
prefixClsnot working. #38586 @SavelevMatthew - 🐞 Fix Table should not trigger sorter when pressing Enter in filter dropdown. #38585
- 🆕 Allow Modal pass
mousePositionto control animation origin position. #38584 @kiner-tang - 🐞 Fix Input.Search should not trigger
onSearchwhile loading. #38578 @JackLiR8 - 🐞 Fix Breadcrumb throw wrong
overlaydeprecated warning. #38567 @li-jia-nan
- 🐞 修复 Typography 设置
prefixCls不生效的问题。#38586 @SavelevMatthew - 🐞 修复 Table 在筛选菜单里按回车时会触发排序的问题。#38585
- 🆕 Modal 允许透传
mousePosition来控制弹框动画原点。#38584 @kiner-tang - 🐞 修复 Input.Search
loading时触发onSearch的问题。#38578 @JackLiR8 - 🐞 修复 Breadcrumb 报出错误的
overlay警告信息的问题。#38567 @li-jia-nan
- Image
- Typography
- 🐞 Fix Menu SubMenu flick when collapse it. #36636 @JarvisArt
- 🐞 Fix RangePicker that
onBlurgets triggered when selecting dates. #38411 @kiner-tang - 🐞 Result should hide icon when it is falsy. #38488
- 🐞 Fix Dropdown.Button throws
overlay is deprecatedwarning. #38446 @li-jia-nan - 🛎 Improve error message about multiple Form.Item children. #38038 @cincodenada
- 🛠 Resolve Tree circular import issue. #38421 @KotoriK
- 🐞 Fix Affix shake issue when switching visible. #38410 @imoctopus
- 🐞 Fix Pagination
simplemode should supportshowTotalproperty. #38399 - 🐞 Fix Modal.confirm buttons should not be interactive when modal is hiding. #38400
- 🐞 Fix Radio.Group style problem using in Drawer
extra. #38385 - ⌨️ Fix Table
aria-labelcontains[object Object]. #38389 @kiner-tang - ⌨️ Adds role progressbar to Progress component. #38447 @kpustakhod
- Image
- Typography
- 🐞 修复 Menu 收起时 SubMenu 闪动的问题。#36636 @JarvisArt
- 🐞 修复 RangePicker 选择日期过程中触发
onBlur的问题。#38411 @kiner-tang - 🐞 修复 Result
icon为null时图标没有隐藏的问题。#38488 - 🐞 修复 Dropdown.Button 出现
overlay is deprecated警告的问题。#38446 @li-jia-nan - 🛎 优化 Form 的相关控制台提示的表述。#38038 @cincodenada
- 🛠 修复 Tree 模块循环导入的问题。#38421 @KotoriK
- 🐞 修复当 Affix 隐藏切换到显示时会出现抖动。#38410 @imoctopus
- 🐞 修复 Pagination
showTotal属性在simple模式下不生效的问题。#38399 - 🐞 修复 Modal.confirm 关闭中确认按钮依旧可能被触发的问题。#38400
- 🐞 修复在 Drawer
extra中使用 Radio.Group 的样式问题。#38385 - ⌨️ 修复 Table 组件
aria-label出现[object Object]的问题。#38389 @kiner-tang - ⌨️ Progress 组件增加
role="progressbar"。#38447 @kpustakhod
- 🐞 Revert #38160 to fix Table render
column.titlenot as expect. #38383 - 💄 Alert add
@alert-padding-vertical&@alert-padding-horizontalless variables. #38369 @imoctopus - 🐞 Fix Steps with customize Step
statusnot work. #38319 @heiyu4585 - 🐞 Fix Popconfirm icon color get polluted. #38355
- 🐞 Fix Anchor missing dot style. #38338 @li-jia-nan
- 🐞 Fix DatePicker missing
popupClassNamedefinition. #38325 @Cedong.Lee
- 🐞 回滚 #38160 以修复 Table 的
column.title渲染不正确的问题。#38383 - 💄 Alert 增加
@alert-padding-vertical和@alert-padding-horizontal变量。#38369 @imoctopus - 🐞 修复 Steps 中 用户配置的 Step
status优先级被覆盖的问题。#38319 @heiyu4585 - 🐞 修复 Popconfirm 图标颜色会被污染的问题。#38355
- 🐞 修复 Anchor 组件圆点样式丢失的问题。#38338 @li-jia-nan
- 🐞 修复 DatePicker
popupClassName定义丢失的问题。#38325 @Cedong.Lee
- 🔥 Add new component Space.Compact used to replace Input.Group and Button.Group. #37652 @foryuki
- 🆕 The
disabledproperty on components inside a Form will now take precedence over thedisabledproperty of the Form. #37628 @kiner-tang - 🆕 Add
textconfig for editable Typograph, support enabling ellipsis and editable at the same time. #37761 @zheeeng - 🆕 Row
alignandjustifysupport reponsive value. #37860 @kiner-tang - 🆕 Image add
preview.scaleStepprop to adjust the magnitude of zoom in and out and set the defaultscaleOffsetto 0.5. #37340 @coldice945 - 🆕 Steps support
items. #37531 @heiyu4585 - 🆕 Collapse supports
collapsible="icon"to collapse by clicking icon. #37566 @Sheepeer - 🆕 Input.Password supports
visibilityToggle={{ visible, onVisibleChange }}so that you can manually control password display and hide. #38216 @MrHeer - 🆕 Breadcrumb added the
menuproperty. #37885 @JarvisArt - 🆕 Dropdown added the
menudropdownRenderproperty, and deprecated theoverlayproperty. #37885 @JarvisArt - Table
- 🆕 Table
filterDropdownadd close in argument toclosefilter dropdown only. #37745 @kiner-tang - 🐞 Fix Table
aria-labelcontains[object Object]. #38160 @kiner-tang
- 🆕 Table
- 🐞 Fix Tabs component not reading the
getPopupContainerproperty of ConfigProvider. #38238 @ZH-seven - 🐞 Fix Tooltip is broken when used in a disabled Menu.Item. #38273
- 🐞 Fix the issue of miscalculated transform-origin for Tooltip with
placementvalues liketopRightorbottomLeft. #38159 @strear - 🐞 TimePicker remove redundant warning about using
popupClassName. #38190 @kiner-tang - 🐞 Fix nest Drawer with default
openappend document order issue. #37767 #37790 - 🐞 Fix issue where numbers were not displayed when Badge set both
colorandcount. #37609 @kiner-tang - 🐞 Fix Progress zoom behavior in Safari. #38301
- Modal
- Transfer
- 🐞 Fix Transfer titles is undefined. #38182 @kiner-tang
- 🛠 Remove Transfer
defaultpropsspelling. #38164 #38154 @li-jia-nan
- 🛠 Refactor Anchor to Function Component, some methods of obtaining
refand calling internal instance methods will invalid.. #38265 #37957 @li-jia-nan @RexSkz - 🛠 The layout of the Dropdown.Button component is implemented using Space.Compact instead. #38090 @foryuki
- 🛠 Optimize the internal implementation of DirectoryTree Typography component. #38184 #38181 @holazz #37716 @zheeeng
- 💄 Fix TextArea custom border style not working when allowClear is enable. #38101
- 💄 Fix Popconfirm style issue when icon={null}, now an additional span tag will be wrapped around the icon element. #37384 @edc-hui
- 💄 Fix Menu highlight style in compact mode. #38223 @messaooudi
- Carousel
- TypeScript
- 🤖 Mentions additionally exports MentionsRef. #38028 @simonwong
- 🌐 Localization
- Add Transfer
titlesproperty internationalization configuration. #38168 @kiner-tang - Fix default Empty description text. #38127 @HelloBojack
- 🇮🇹 Add missing
it_ITlocale. #38108 @ernestfolch - 🇫🇷 Add missing
fr_FRlocale. #38072 @smwhr
- Add Transfer
- 🔥 新增组件 Space.Compact 用以替代 Input.Group 和 Button.Group 组件。#37652 @foryuki
- 🆕 Form 内组件上的
disabled属性现在将优先于 Form 的disabled属性。#37628 @kiner-tang - 🆕 Typograph 增加
text配置,支持同时开启省略与编辑模式时的使用。#37761 @zheeeng - 🆕 Row 组件的
align和justify属性支持设置响应式的值。#37860 @kiner-tang - 🆕 Image 增加
preview.scaleStep属性调整放大缩小的幅度,并将默认的scaleOffset设置为 0.5。#37340 @coldice945 - 🆕 Steps 新增支持
items。#37531 @heiyu4585 - 🆕 Collapse 新增
collapsible="icon"从而支持点击图标展开收起。#37566 @Sheepeer - 🆕 Input.Password 支持
visibilityToggle={{ visible, onVisibleChange }}从而可以手动控制密码显隐。#38216 @MrHeer - 🆕 Breadcrumb 新增
menu属性。#37885 @JarvisArt - 🆕 Dropdown 新增
menudropdownRender属性,并废弃了overlay属性。#37885 @JarvisArt - Table
- 🆕 Table
filterDropdown新增一个close参数对象用于关闭筛选菜单。#37745 @kiner-tang - 🐞 修复 Table 组件
aria-label出现[object Object]的问题。#38160 @kiner-tang
- 🆕 Table
- 🐞 修复 Tabs 组件没有读取 ConfigProvider 的
getPopupContainer属性的问题。#38238 @ZH-seven - 🐞 修复一个在 Menu.Item
disabled内使用 Tooltip 不生效的问题。#38273 - 🐞 修复 Tooltip 在
placement值为topRight或bottomLeft时动画原点计算错误的问题。#38159 @strear - 🐞 TimePicker 移除使用了
popupClassName冗余警告。#38190 @kiner-tang - 🐞 修复嵌套 Drawer 在默认都设置
open时,添加至 document 顺序出错的问题。#37767 #37790 - 🐞 修复 Badge 同时设置
color和count时,数字不展示的问题。#37609 @kiner-tang - 🐞 修复 Progress 在 Safari 下缩放异常的问题。#38301
- Modal
- Transfer
- 🐞 修复 Transfer
titles为空时报错的问题。#38182 @kiner-tang - 🛠 移除 Transfer
defaultprops写法。#38164 #38154 @li-jia-nan
- 🐞 修复 Transfer
- 🛠 重构 Anchor 为 Function Component,之前一些获取
ref并调用内部实例方法的写法都会失效。#38265 #37957 @li-jia-nan @RexSkz - 🛠 Dropdown.Button 改用 Space.Compact 实现。#38090 @foryuki
- 🛠 优化 DirectoryTree Typography 组件的内部实现。#38184 #38181 @holazz #37716 @zheeeng
- 💄 修复 TextArea 开启
allowClear时自定义 border 样式无法生效的问题。#38101 - 💄 修复 Popconfirm 设置
icon={null}的时titlepadding 仍然存在的问题,现在 icon 元素外会额外包裹一个 span 标签。#37384 @edc-hui - 💄 修复 Menu 在紧凑模式下的高亮条样式。#38223 @messaooudi
- Carousel
- TypeScript
- 🤖 Mentions 额外导出 MentionsRef。#38028 @simonwong
- 🌐 国际化
- 添加 Transfer
titles属性国际化配置。#38168 @kiner-tang - 修正默认 Empty 描述文案。#38127 @HelloBojack
- 🇮🇹 补全
it_IT文案。#38108 @ernestfolch - 🇫🇷 补全
fr_FR文案。#38072 @smwhr
- 添加 Transfer
- Table
- 🐞 Fix Breadcrumb not support number
0. #38006 @li-jia-nan - Input
- 🐞 Fix Input.TextArea render extra input node when enable
autoSize. #38050 - 🐞 Fix Input.Password that should not have value prop on input after click toggle icon. #37900 @linxianxi
- 💄 Fix border style issues for Input.Search in RTL. #37980 @foryuki
- 🐞 Fix Input.TextArea render extra input node when enable
- 🐞 Fix AutoComplete warning for unused
dropdownClassName. #37974 @heiyu4585 - 🐞 Fix Typography with ellipsis that the computed
fontSizestyle be calculated as empty string in some case. #37928 @zheeeng - 🐞 Fix editable Tabs add button missing in edge case. #37937
- 🐞 Fix RangePicker panel blink in some case. #439
- 🛠 Refactor Spin with Function Component. #37969 @li-jia-nan
- 🛠 Refactor Statistic.Countdown with Function Component. #37938 @li-jia-nan
- Table
- 🐞 修复 Breadcrumb 不支持数字
0的问题。#38006 @li-jia-nan - Input
- 🐞 修复 Input.TextArea 配置
autoSize时会额外渲染 input 节点的问题。#38050 - 🐞 修复 Input.Password 在点击隐藏按钮后 input 上会有 value 属性的问题。#37900 @linxianxi
- 💄 修复 RTL 下 Input.Search 边框样式问题。#37980 @foryuki
- 🐞 修复 Input.TextArea 配置
- 🐞 修复 AutoComplete 会报未使用的废弃属性
dropdownClassName的问题。#37974 @heiyu4585 - 🐞 修复 Typography 省略算法在计算一些元素 fontSize 时为空字符串的情况#37928 @zheeeng
- 🐞 Fix Tabs 添加按钮在某些边界情况下无法展示的问题。#37937
- 🐞 修复 RangePicker 在某些情况下面板会闪烁的问题。#439
- 🛠 重构 Spin 为 Function Component。#37969 @li-jia-nan
- 🛠 重构 Statistic.Countdown 为 Function Component.#37938 @li-jia-nan
- 🐞 Fix Textarea with
autoSizeblink on the fist mount. #37847 - 💄 Fix Input.Password
style={{ fontSize }}not working. #37898 - 💄 Fix Input.Textarea
style={{ resize: 'none' }}is not working whenshowCountis applied. #37855 @kiner-tang - 💄 Fix Input.Search border style in RTL. #37865 @foryuki
- 🇷🇺 Fix Russian translation for Transfer.selectInvert. #37858 @svtslav
- 🇵🇹 Add missing Portuguese translations. #37857 @ernestfolch
- ⚡️ Update Table and Tree for improve state performance. #37875 @sunteago
- TypeScript
- 🐞 修复 Textarea 配置
autoSize在第一次渲染时闪烁的问题。#37847 - 💄 修复 Input.Password 不支持
style={{ fontSize }}的问题。#37898 - 💄 修复 Input.Textarea 当指定
showCount时style={{ resize: 'none' }}样式设定失效的问题。#37855 @kiner-tang - 💄 修复 RTL 排版中 Input.Search 边框样式问题。#37865 @foryuki
- 🇷🇺 修复 Transfer.selectInvert 的俄语翻译。#37858 @svtslav
- 🇵🇹 添加缺失的葡萄牙语翻译。#37857 @ernestfolch
- ⚡️ 提升 Table 及 Tree 的 State 性能。#37875 @sunteago
- TypeScript
- 🆕 Tree
showLeafIconcould accept ReactNode for a custom leaf icon.#37144 @xWiiLLz - 🆕 Uploader support Apple image format: heic, heif. #37651 @Johnny-young
- 🐞 Fix Typography
copyable.tooltip=falsestill shows the copied tooltip. #37754 - 🐞 Fix Typography
ellipsisnot working correctly in some cases. #37700 @zheeeng - 🐞 Fix Divider shows
childrenwhen inverticalmode. #37697 - 🐞 Fix Anchor
getCurrentAnchornot updated. #37644 - 🐞 Fix Tabs
animated: truemissing tabPane animation. #37642 - 🐞 Fix Table
column.titlerender function missingfiltersprops. #37629 - 🐞 Fix Modal.confirm instance ref legacy config
visible: trueback to show not work. #37613 - 💄 Fix the problem of rendering an empty element with styles when Badge not pass
textproperty. #37681 @Wxh16144 - 💄 Fix Button wave style not work in shadow dom. #37677
- 💄 Remove Tab.TabPane outline style when focused. #37638
- TypeScript
- 🤖 Update
FilterSearchTypedefinition for Table. #37610 @kiner-tang
- 🤖 Update
- 🌐 Localization
- 🇵🇹 Add missing translations for 'Select all data' / 'Invert current page' for Transfer in pt_PT.#37682 @Dreamcreative, #37701 @hugobarragon
- 🆕 Tree
showLeafIcon属性支持自定义图标。#37144 @xWiiLLz - 🆕 Uploader 支持支持 Apple 图片格式: heic、heif。#37651 @Johnny-young
- 🐞 修复 Typography 在
copyable.tooltip=false时,复制内容后仍然会展示提示的问题。#37754 - 🐞 修复 Typography
ellipsis在某些情况下不精确的问题。#37700 @zheeeng - 🐞 修复 Divider 在
vertical模式下仍然会错误展示children的问题。#37697 - 🐞 修复 Anchor
getCurrentAnchor不会及时更新的问题。#37644 - 🐞 修复 Tabs
animated: true时面板切换动画不生效的问题。#37642 - 🐞 修复 Table
column.title渲染函数丢失filters属性的问题。#37629 - 🐞 修复 Modal.confirm 实例引用配置废弃
visible: true重新展示时不生效的问题。#37613 - 💄 修复 Badge 未传入
text属性时,渲染了一个带有样式的空元素问题。#37681 @Wxh16144 - 💄 修复 Button 波纹样式在 shadow dom 下不生效的问题。#37677
- 💄 移除 Tab.TabPane focus 时的 outline 样式。#37638
- TypeScript
- 🤖 更新 Table 组件的
FilterSearchType类型。#37610 @kiner-tang
- 🤖 更新 Table 组件的
- 🌐 国际化
- 🇵🇹 葡萄牙文 pt_PT 添加 Transfer 中 "全选" / "反选当页" 的翻译。#37682 @Dreamcreative,#37701 @hugobarragon
- 🐞 Fix Card console warning when using
tabListprop. #37537 @edc-hui - 🐞 Fix Table
filterSearchis not executed whenfilterMode="tree". #37587 @edc-hui - 🐞 Fix Tooltip should not replace children
classNamewhen it's not a string type. #37598 - 🐞 Fix Tree that TreeNodes not aligned when draggable and some node is disabled. #37534
- TypeScript
- 🐞 Fix unable to close modal when using visible in
Modal.confirm().update. #37471 @Aaron674092290 - 🐞 Fix esbuild strict mode call
No matching export themeerror. #37462 - 🐞 Fix Switch background flush issue by reverting #35103. #37458
- TypeScript
- 🤖 InputNumber
valueadd null type. #37421 @li-jia-nan
- 🤖 InputNumber
- 🐞 修复
Modal.confirm().update({visible: true})导致无法关闭 modal 的问题。#37471 @Aaron674092290 - 🐞 兜底修复 esbuild 严格模式构建时报
No matching export theme错误。#37462 - 🐞 回滚 #35103 以修复 Switch 切换时背景闪烁的问题。#37458
- TypeScript
- 🤖 InputNumber
value新增类型 null。#37421 @li-jia-nan
- 🤖 InputNumber
- 🆕 Tooltip support nested Fragment child nodes to display bubbles. #37045 @HQ-Lin
- 🆕 Dropdown.Button support
dangerprops. #36810 @nuintun - 🆕 Input.TextArea add
valueparameter toshowCount.formatter. #36793 @JarvisArt - 🆕 Table support
expandable.columnTitlenow. #36794 @losgif - Deprecate
visiblein all components and change toopen.- 🛠 Dropdown changes
visibletoopen. #37232 @yykoypj - 🛠 Modal changes
visibletoopen. #37084 @yykoypj - 🛠 Drawer changes
visibletoopen. #37047 @yykoypj - 🛠 Table changes
filterDropdownVisibletofilterDropdownOpen. #37026 @yykoypj - 🛠 Slider add
tooltipprop for all props related with Tooltip. #37000 @yykoypj - 🛠 Tooltip Popover and Popconfirm change
visibletoopen. #37241 @yykoypj - 🛠 Deprecate
visibleprop of Tag. #36934 @yykoypj
- 🛠 Dropdown changes
- 🛠 Deprecate
dropdownClassNameprop of all components and change topopupClassName. #36880 @heiyu4585 - 🛠 Tabs support
itemsprops and origin jsx usage will be depreacted. #36889 - 🐞 Fix that some css variables are not consistent with less variables.
- 🐞 Fix Menu disabled item focus style. #37332
- 💄
@border-radius-smshould not follow@border-radius-baseby default. #37309 - 💄 add
@slider-handle-margin-leftto custom type. #37001 @alanhaledc - 💄 Replace Tabs with fade switch motion to import switch experience. #36943
- ⌨️ Improve Form validation accessibility experience. #36762 @VladimirOtroshchenko
- 🌐 Add missing translations for filterCheckall in ru_RU. #37311 @HelLuv
- 🌐 Add missing translations in
cs_CZ. #37388 @ZdenekKrcal
- 🆕 Tooltip 支持 Fragment 子节点展示气泡。#37045 @HQ-Lin
- 🆕 Dropdown.Button 支持
danger样式。#36810 @nuintun - 🆕 Input.TextArea 组件
showCount.formatterAPI 添加value参数。#36793 @JarvisArt - 🆕 Table 新增
expandable.columnTitle属性以支持自定义展开列表头。#36794 @losgif - 🛠 废弃所有弹窗组件的
visible属性,统一为open。- 🛠 Dropdown 的
visible改为open。#37232 @yykoypj - 🛠 Modal 组件的
visible改为open。#37084 @yykoypj - 🛠 Drawer 的
visible改为open。#37047 @yykoypj - 🛠 Table 组件
columns中的filterDropdownVisible改为filterDropdownOpen。#37026 @yykoypj - 🛠 Tooltip, Popover 和 Popconfirm 中的
visible改为open。#37241 @yykoypj - 🛠 Slider 的
tooltip相关属性合并到tooltip属性中。#37000 @yykoypj - 🛠 废弃 Tag 组件的
visible属性。#36934 @yykoypj
- 🛠 Dropdown 的
- 🛠 废弃所有组件的
dropdownClassName,统一为popupClassName。#36880 @heiyu4585 - 🛠 Tabs 支持
items属性,并且废弃原 jsx 语法糖用法。#36889 - 🐞 修复 css 变量与 less 变量不一致的问题。
- 🐞 修复 Menu 禁用项依然有 focus 样式的问题。#37332
- 💄
@border-radius-sm变量默认值不与@border-radius-base关联,以修复 Checkbox 等组件圆角样式异常。#37309 - 💄 支持使用
@slider-handle-margin-left定制样式。#37001 @alanhaledc - 💄 替换 Tabs 切换样式为渐隐过渡,以提升在切换时的体验。#36943
- ⌨️ 改进 Form 校验无障碍体验。#36762 @VladimirOtroshchenko
- 🌐 补全
ru_RU中filterCheckall的翻译。#37311 @HelLuv - 🌐 补全
cs_CZ的翻译。#37388 @ZdenekKrcal
- Table
- 🌐 Add Table missing French
filterCheckAlllocalization. #37246 @Mar-he - 🐞 Improve Table sort panel accessibility experience. #37167 @dartamonov-vertex
- 🌐 Add Table missing French
- 💄 Optimize the button spacing of the Popconfirm component. #37183 @jiangmaniu
- 💄 Remove Card duplicate less style attribute definitions. #37170 @yanquanfahei
- TypeScript
- Table
- 🌐 Table 组件添加缺失的
filterCheckAll法语本地化。#37246 @Mar-he - 🐞 优化 Table 排序功能的无障碍体验。#37167 @dartamonov-vertex
- 🌐 Table 组件添加缺失的
- 💄 优化 Popconfirm 组件按钮间距。#37183 @jiangmaniu
- 💄 去除 Card 重复的 less 样式属性定义。#37170 @yanquanfahei
- TypeScript
- 🐞 Fix Typography visible change some time Tooltip not work with ellipsis. #37147
- 🐞 Fix InputNumber that style cannot be customized with controls less variables. #37070 @coldice945
- 🐞 修复 Typography 可见度切换时有时候省略不会显示 Tooltip 的问题。#37147
- 🐞 修复 InputNumber 样式不跟随控件 less 变量改变的问题。#37070 @coldice945
- 🇭🇺 Form add defaultValidateMessages.i18n az_AZ language #23369. #36967 @YMiemie-cy
- 💄 Popover remove Popover incorrect box-shadow. #37030 @jerrykingxyz
- 🐞 Fix Steps tail position bug when
labelPlacement="vertical". #36996 - 💄 Removed exception error border for
Pagination. #36972 @hydraZty - 🐞 Fix Upload trigger mistake files status when upload multiple files at same time in React 18. #36968
- TypeScript
- 🤖 Fix type error of useWatch. #37013 @LiZhiHao97
- 🇭🇺 Form
defaultValidateMessages.i18n增加匈牙利语。#36967 @YMiemie-cy - 💄 移除 Popover 中无效的
box-shadow样式。#37030 @jerrykingxyz - 🐞 修复 Steps
labelPlacement="vertical"时连接线位置偏上的问题。#36996 - 💄 去掉 Pagination 的异常错误边框。#36972 @hydraZty
- 🐞 修复 Upload 在 React 18 下同时上传多份文件会出现上传状态不正确的问题。#36968
- TypeScript
- 🤖 修复 useWatch 的类型错误。#37013 @LiZhiHao97
- 🐞 Fix Drawer
zIndexprop not working. #36958 - 💄 Fix PageHeader focus style stay after clicking it. #36902
- 💄 Fix Drawer nesting content-wrapper style. #36845 @yanm1ng
- 🐞 Fix Mentions popup shift when contain scrollbar. #36898 @JarvisArt
- TypeScript
- 🐞 Fixed flickering when
fileListupdating in Uploader with React 18. #36801 @zhengjitf - 🐞 Fix Form.Item with small size
labelColandwrapperColnot break line in vertical layout. #36800 - 🐞 Fix Row in flex layout takes too wide space by default. #36770
- 🐞 修复在 React 18 版本中 Uploader 的
fileList发生更新后出现闪烁的情况。#36801 @zhengjitf - 🐞 修复 Form.Item 在垂直布局下使用小尺寸的
labelCol和wrapperCol时不换行的问题。#36800 - 🐞 修复 Row 在 flex 布局中占据过多空间的问题。#36770
- 💄 Adjust Collapse title click region which will be fully width when
collapsible=defaultnow. #36761 - Drawer
- Form
- 🆕 Radio.Group support
onBlurandonFocusprops. #36041 - 🆕 Typography
ellipsis.tooltipsupports a object for Tooltip props. #36099 - 🛠 Refactor Drawer to remove directly style control which helps more React way. #36672
- 🛠 Refactor Sketelon.Button square shape style that its width is equal to height, and old become the default. #36123 @alanhaledc
- 🐞 Fix Modal.confirm
onCancelargument close is not a function sometimes. #36600 @Wxh16144 - 🐞 Revert #36439 to fix the problem of incorrect status when uploading and deleting files, and fix the status color change when Upload removes files again change problem. #36706
- Tree
- 🛠 Tree/TreeSelect
switcherIconargument support more parameters from{ expanded: boolean }toAntTreeNodeProps. #36651 @alanhaledc - 🐞 Fix Tree
draggableFn params type from AntTreeNode to DataNode. #36648 @tianyuan233
- 🛠 Tree/TreeSelect
- Table
- 💄 Fix Table extra shadow and scrollbar when all columns are fixed. #36606 @dashaowang
- 💄 Fix Table tree data ellipsis style problem. #36608
- 🌐 Localization
- 🇱🇰 Add Sri Lanka locale. #36149 @sayuri-gi
- Form
- 🆕 Radio.Group 支持
onBlur和onFocus属性。#36041 - 🆕 Typography
ellipsis.tooltip属性支持传入一个对象。#36099 - 🛠 重构 Drawer 移除直接的 dom 操作以使其更符合 React 运作方式。#36672
- 🛠 重构 Sketelon.Button square shape 样式为宽高相等,之前的 square 改为默认样式。#36123 @alanhaledc
- 🐞 修复 Modal.confirm 中
onCancel(close)参数有时候不是 function 的问题。#36600 @Wxh16144 - 🐞 回滚 #36439 以修复上传和删除文件时状态不对的问题,并再次修复 Upload 移除文件时状态色会变化的问题。#36706
- Tree
- 🛠 Tree/TreeSelect
switcherIcon参数现在支持完整 TreeNode 属性,从{ expanded: boolean }变为AntTreeNodeProps。#36651 @alanhaledc - 🐞 修改 Tree
draggable函数的参数类型由 AntTreeNode 改为 DataNode。#36648 @tianyuan233
- 🛠 Tree/TreeSelect
- Table
- 💄 修复 Table 固定列额外阴影和滚动条样式的问题。#36606 @dashaowang
- 💄 修复 Table 树形数据固定列的省略样式错位的问题。#36608
- 🌐 国际化
- 🇱🇰 添加斯里兰卡语言。#36149 @sayuri-gi
- 🆕 Add Skeleton.Node sub-component, allow user customize content of Skeleton. #36441 @DawnLck
- Form
- 🐞 Fix Form with percentage width Select may leaves unexpected height. #36484
- 🐞 Fix Form disabled but Upload component still uploadable in it. #36573 @cwjTerrace
- 🐞 Fix Tree non-draggable element still render the draggable icon. #36511 @Wxh16144
- 🐞 Fix Upload preview error on SVG with
<foreignObject>and cross-origin links. #36402 @jonioni - 🐞 Fix that Tooltip cannot close automaticly on disabled Radio. #36483
- 💄 Add Modal Less variable
@modal-border-radius. #36527 @kkkisme - 💄 Fix Table expand icon wrap style when column is fixed and ellipsis. #36496
- 🆕 新增 Skeleton.Node 子组件,允许用户自定义 Skeleton 的内容。#36441 @DawnLck
- Form
- 🐞 修复 Form 下设置 Select 百分比宽度时会有未预期空行问题。#36484
- 🐞 修复 Form 设为禁用时、内部的 Upload 组件仍能上传文件的问题。#36573 @cwjTerrace
- 🐞 修复 Tree 非
draggable依然展示可拖拽图标的问题。#36511 @Wxh16144 - 🐞 修复 Upload 在预览包含
<foreignObject>及跨域链接的 SVG 文件时发生错误的问题。#36402 @jonioni - 🐞 修复 Tooltip 在被禁用的 Radio 上时无法自动关闭的问题。#36483
- 💄 添加 Modal Less 变量
@modal-border-radius。#36527 @kkkisme - 💄 修复 Table 开启固定和省略功能的列内的展开按钮换行样式。#36496
- 🐞 Fix Skeleton active lost border-radius in Safari. #36445
- 🐞 Fix Breadcrumb separators disappearing when used as last element in a List. #36448 @LeonKattendick
- 🐞 Fixed Upload removing file status color is wrong. #36439
- 🐞 Fix DatePicker style issue when using
status. #35685 @simplejason - Table
- 🐞 Fix Table scroll shadow style. #36420 @shunyue1320
- 🐞 Fix Table hover render performance issue. #36383
- 💄 Adjust Modal header close icon style. #36309 @cw1997
- 🐞 Fix Form.ErrorList shaking when validating too fast. #36358
- 💄 Radio shadow color should be transparency to fit none-white background. #36335
- 🐞 Fix Table border style issue when
titleconfigured. #36384 @Unuuuuu
- 🐞 修复 Skeleton 在 Safari 下开启 active 时圆角丢失的问题。#36445
- 🐞 修复 Breadcrumb 作为 List 最后一个元素时,分割线丢失的问题。#36448 @LeonKattendick
- 🐞 修复 Upload 移除文件时状态色会变化的问题。#36439
- 🐞 修复 DatePicker 配置
status时的样式问题。#35685 @simplejason - Table
- 🐞 修复 Table 横向滚动的阴影样式问题。#36420 @shunyue1320
- 🐞 修复 Table 鼠标悬浮时的性能问题。#36383
- 💄 微调 Modal 标题上关闭按钮尺寸。#36309 @cw1997
- 🐞 修复 Form.ErrorList 在校验状态很快的时候视觉抖动问题。#36358
- 💄 修复 Radio 聚焦时的阴影样式在非白底背景下的问题。#36335
- 🐞 修复 Table 配置有
title时的圆角样式。#36384 @Unuuuuu
- 🐞 Fix Checkbox cannot be disabled by Form
disabledprop. #36345 - 🐞 Fix Button
loadingprop withnullvalue. #36288 @kejianfeng - 🐞 Fix popover arrow compatibility problem on some browsers. #36266
- 🐞 Fix extra shadow in nested Table. #36277
- 🐞 Fix that some class name in Divider cannot be customized. #36271 @alanhaledc
- 🇧🇾 Update Belarusian locale. #36265
- 🐞 修复 Checkbox 不会被 Form
disabled属性禁用的问题。#36345 - 🐞 修复 Button
loading属性传入null时错误问题。#36288 @kejianfeng - 🐞 修复弹出框箭头在某些浏览器上的兼容性问题。#36266
- 🐞 修复 Table 滚动阴影在内嵌表格内出现的问题。#36277
- 🐞 修复 Divider 部分类名无法自定义的问题。#36271 @alanhaledc
- 🇧🇾 调整白俄罗斯国际化语言。#36265
- Table
- 🐞 Fix Popover arrow color with custom
colorprop. #36241 @MadCcc - 🐞 Fix Upload
listType="picture-card"select button not being hidden when children is empty. #36196 - 🐞 Fix Menu deprecated warning when
item={undefined}. #36190 - 💄 Fix Button
loadingicon margin style lost. #36168 - 🐞 Fix Dropdown using Menu with group item can not close by click. #36148
- 💄 Enlarge dragable area for Slider handler. #36018 @slotDumpling
- 🐞 Fix: repeat a css class in readOnly, which has been declared in rc-input-number. #36120 @RainyLiao
- 💄 Fix Skeleton active background color in dark theme. #36116
- TypeScript
- 🤖 Fix type incompatibility. #36189 @Dunqing
- 🤖 exporting
UploadFilefromUpload. #34733 @chentsulin
- Table
- 🐞 修复 Upload
listType="picture-card"当 children 为空时上传文件按钮没有隐藏的问题。#36196 - 🐞 修复 Popover 自定义
color时箭头颜色问题。#36241 @MadCcc - 🐞 修复 Menu
item={undefined}时会有废弃警告的问题。#36190 - 💄 修复 Button
loading图标的间距丢失的问题。#36168 - 🐞 修复 Dropdown 中 Menu 分组下的 Item 点击不会关闭的问题。#36148
- 💄 优化 Slider 拖拽手柄的可交互区域。#36018 @slotDumpling
- 🐞 修复重复添加 readOnly 的 css 类名,它已在 rc-input-number 中被声明了。#36120 @RainyLiao
- 💄 修复 Skeleton 在
active时的背景色样式。#36116 - TypeScript
- 🤖 修复 TreeSelect
switcherIcon类型不兼容。#36189 @Dunqing - 🤖 从
Upload导出类型UploadFile。#34733 @chentsulin
- 🤖 修复 TreeSelect
- 🐞 Fix Table customize
filterDropdownwith Menu should not break defaultselectable. #36098 - 🐞 Fix Input.Textarea cannot focus after click clear icon in controlled mode. #34728 @Pulset
- TypeScript
- 🤖 Tree.DirectoryTree supports generic DataNode type. #36092 @JaylanChen
- 🤖 Export
RefSelectPropsfromSelect. #34732 @chentsulin - 🤖 Export
FormRule,FormListFieldData,FormListOperationfromForm. #34735 @chentsulin
- 🐞 修复 Table 自定义
filterDropdown中使用 Menu 会被修改默认selectable的问题。#36098 - 🐞 修复 Input.Textarea 受控时点击清除图标后无法聚焦的问题。#34728 @Pulset
- TypeScript
- 🤖 修复 Tree.DirectoryTree 不支持泛型的问题。#36092 @JaylanChen
- 🤖 从
Select导出类型RefSelectProps。#34732 @chentsulin - 🤖 从 Form 导出类型
FormRule、FormListFieldData、FormListOperation。#34735 @chentsulin
- 🐞 Fixed Image the
getContainerproperty not reading from ConfigProvider. #36002 @robothot - 🐞 Fixed Button issue #35952 where the
disabledattribute does not take effect withhref. #35975 @MuxinFeng - 🐞 Fix less color palette algorithm according to
@ant-design/colors. #35954 @christian-lechner - 🐞 Fix Upload image flickering. #35943
- 💄 Remove styles from Form such as
statusfor children of Modal and Drawer. #35849 - TypeScript
- 🤖 Fix type definition for
autoFocusin Dropdown. #35990 @robothot - 🤖 Fix type definition for
MenuItemGroupTypein Menu. #35790 @MasaoBlue - 🤖 Fix Carousel type definition in React 18. #35959
- 🤖 Fix type definition for
- 🌐 Localization
- 🐞 修复 Image
getContainer属性没有从 ConfigProvider 中读取的问题。#36002 @robothot - 🐞 修复 Button 有
href时disabled属性不生效的问题。#35952。#35975 @MuxinFeng - 🐞 修复 Upload 组件动画闪烁的问题。#35943
- 🐞 修复 less 色彩算法,使其和
@ant-design/colors保持一致。#35954 @christian-lechner - 💄 Form.Item 中的 Modal 或 Drawer 组件包含的控件去除
status等受 Form 影响的样式。#35849 - TypeScript
- 🤖 修复 Dropdown
autoFocus属性定义。#35990 @robothot - 🤖 修复 Menu 中
MenuItemGroupType的类型定义。#35790 @MasaoBlue - 🤖 修复 Carousel 在 React 18 下的 TS 定义问题。#35959
- 🤖 修复 Dropdown
- 🌐 国际化
- 🔥 Add Form level control input component
disabled. #35210 @heiyu4585 - 🆕 Tabs support
popupClassNamefor more Dropdown. #35892 - 🆕 Table
rowSelection.onChangesupportinfo.typeparam. #35598 - 🆕 The
copyableprop of Typography.Paragraph supports to reset the mime type of the clipboardData by theformat. #35219 @kanweiwei - 🆕 TreeSelect support
treeExpandAction. #35618 @NE-SmallTown - ConfigProvider
- Collapse
- Progress
- 🆕 Progress steps support custom strokeColor for each step. #35855
- 🛠 Refactor Progress
type="circle"andtype="dashboard"for simpler dom structure and better rendering. #35433 - 🛠 Refactor Progress to React hooks. #35393 @shuaijiumei
- 🐞 Fix Progress percent accuracy issue when near 100%. #35433
- 🐞 Fix Progress
gapDegreedisplayed with wrong degree whentype="dashboard". #35433 - 💄 Fix Progress border radius style when
type="line"andstrokeLinecap="butt". #35822
- Dropdown
- Card
- 🛠 Refactor Card
loadingwith Skeleton. #35525 - 🛠 Refactor Card style to use flex instead of float. #35236 @miracles1919
- 🛠 Refactor Card
- 🛠 DatePicker refactored to React hooks. #35425 @heiyu4585
- 🛠 Rename className of Pagination
minimode withant-pagination-mini. #35881 - 🛠 Refactor Popconfirm internal realize with Popover component. #35676
- 🛠 Change the implementation of the bottom button layout of the Modal confirm component. #35530 @foryuki
- 🐞 Fix the Wave effect does not work in React 18 strict mode. #35889 @Carrotzpc
- 🐞 Fix Drawer close twice
childrenwill undefined. #35853 @crazyair - Skeleton
- 💄 Remove Skeleton default
margin-topstyle. #35848 - 💄 Optimize Skeleton
activeanimation perfermance. #35836 @slotDumpling
- 💄 Remove Skeleton default
- 💄 Remove
!importantin Radio style withdisabled. #35920 - TypeScript
- 🤖 Fix Form.List type
FormListFieldDatamissing propertyfieldKey. #35884 @nanianlisao
- 🤖 Fix Form.List type
- 🌐 Localization
- 🇹🇲 Add a new locale
tk_TK. #35605
- 🇹🇲 Add a new locale
- RTL
- 🔥 新增 Form 级别控制输入组件
disabled。#35210 @heiyu4585 - 🆕 Tabs 组件支持
popupClassName用于更多菜单。#35892 - 🆕 Table 组件
rowSelection.onChange新增info.type参数。#35598 - 🆕 Typography.Paragraph 的
copyable属性支持format以重置剪切板数据的 Mime Type。#35219 @kanweiwei - 🆕 TreeSelect 支持
treeExpandAction定义展开操作。 #35618 @NE-SmallTown - ConfigProvider
- Collapse
- Progress
- 🆕 Progress 分步进度条支持单独自定义色彩。#35855
- 🛠 重构 Progress
type="circle"和type="dashboard"以简化 dom 结构和带来更好的渲染效果。#35433 - 🛠 重构 Progress 成 React hooks。#35393 @shuaijiumei
- 🐞 修复 Progress 进度接近 100% 间距几乎消失的问题。#35433
- 🐞 修复 Progress
type="dashboard"的gapDegree角度不准确的问题。#35433 - 💄 修复 Progress
type="line"和strokeLinecap="butt"时的圆角样式。#35822
- Dropdown
- Card
- 🛠 使用 Skeleton 重构 Card
loading属性。#35525 - 🛠 重构 Card 样式用 flex 代替 float。#35236 @miracles1919
- 🛠 使用 Skeleton 重构 Card
- 🛠 DatePicker 重构成 React hooks。#35425 @heiyu4585
- 🛠 将 Pagination
mini模式的 className 重命名为ant-pagination-mini。#35881 - 🛠 重构 Popconfirm 内部实现为 Popover 组件。#35676
- 🛠 改变 Modal confirm 组件底部按钮布局实现方式。#35530 @foryuki
- 🐞 修复波浪效果在 React 18 严格模式不生效的问题。#35889 @Carrotzpc
- 🐞 修复 Drawer 关闭 2 次后
children为 undefined 的问题。#35853 @crazyair - Skeleton
- 💄 移除 Skeleton 默认的
margin-top以便在默认情况下更对称。#35848 - 💄 优化 Skeleton
active的动画性能。#35836 @slotDumpling
- 💄 移除 Skeleton 默认的
- 💄 移除 Radio 禁用状态时样式中的
!important。#35920 - TypeScript
- 🤖 修复 Form.List 类型
FormListFieldData缺失属性fieldKey。#35884 @nanianlisao
- 🤖 修复 Form.List 类型
- 🌐 国际化
- 🇹🇲 添加土库曼语国际化。#35605
- RTL
- 🐞 Fix DatePicker placeholder flush when open first time. #35620 @yykoypj
- 🛠 Remove Grid default
roleattr to fit aria-required-parent requirement. #35616 @bartpio - 🐞 Fix Anchor cut content in some browser. #35612 @josonho
- 🐞 Fix Table header cell border when have
rowSpanandscroll.y. #35591 - 🐞 Fix Drawer that the button in it closes too fast issue. #35339
- 🐞 Fix broken List.Item type definition. #35455 @rsmeral
- 🐞 Fix Checkbox margin in Tree RTL mode. #35491 @miracles1919
- 🗑 Remove Cascader
displayRenderwarning. #35417 @lalalazero
- 🐞 修复 List.Item 类型错误。#35455 @rsmeral
- 🐞 修复 Tree 组件 RTL 模式下 Checkbox 的间距。#35491 @miracles1919
- 🗑 删除 Cascader
displayRender警告。#35417 @lalalazero
- 🐞 Fix unnecessary
rowGap: 0style attribute in Row. #35409 - 🐞 Fix List.Item
refno work problem. #35321 - 💄 Optimize the style of arrow in Tooltip. #35401
- 🐞 Fix Table column filter reset is not working. #35386 @lalalazero
- 🌍 Add missing localizations for 🇬🇧 en_GB and 🇺🇦 uk_UA. #35430 @velykanov
- Typescript
- 🔥 增加 官方国内镜像,享受飞一般的加载速度。
- 🐞 修复 Row 里不必要的
rowGap: 0样式属性。#35409 - 🐞 修复 List.Item
ref不生效的问题。#35321 - 💄 优化 Tooltip 箭头的样式。#35401
- 🐞 修复 Table 筛选的重置功能不生效问题。#35386 @lalalazero
- 🌍 为 🇬🇧 en_GB 和 🇺🇦 uk_UA 添加缺失的本地化文案。#35430 @velykanov
- TypeScript
- Segmented
- Table
- ⌨️ Improve Table columns sorter a11y experience. #35269
- 🇪🇸 Added Table filter localization for es_ES. #35309 @agarciaguillo
- 💄 Fix Switch color in dark theme. #35332
- 💄 Tweak Breadcrumb link hover color. #35324
- 🐞 Fix Space throws
Encountered two children with the same keywarning in some cases. #35311 - 🐞 Fix Select tag remove icon position issue. #35336 @walidcherhane
- Segmented
- Table
- ⌨️ 优化 Table 排序按钮的键盘可访问性。#35269
- 🇪🇸 补充 Table 西班牙语筛选文案。#35309 @agarciaguillo
- 🐞 修复 Switch 在暗黑主题下关闭时的颜色问题。#35332
- 💄 微调 Breadcrumb 链接 hover 色为中性色。#35324
- 🐞 修复 Space 在某些情况下抛出
Encountered two children with the same key警告的问题。#35311 - 🐞 修复 Select 多选标签移除图标位置偏下的问题。#35336 @walidcherhane
- 🐞 Fix Breadcrumb extra padding and margin style. #35235
- 🐞 Fix Input.Seach inconsistent behavior of triggering
onSearchwhen press enter using Chinese inputting method. #35164 @qyzzzz - 🐞 Fix circle reference between Upload and Dragger. #34379 @kanweiwei
- 🐞 修复 Breadcrumb 多余的
padding和margin样式。#35235 - 🐞 修复 Input.Search 在中文输入法下回车键触发
onSearch的行为不一致的问题。#35164 @qyzzzz - 🐞 修复 Upload 和 Upload.Dragger 之间循环依赖的问题。#34379 @kanweiwei
- 🔥 React 18 Support
- 🔥 New component Segmented. #34319
- Form
- 🛎 Menu support
itemsfor perf prepare, andchildrenwill be removed in next major version. #34559 - 🆕 Image PreviewGroup Support top progress rendering. #35038 @zpc7
- Upload
- Table
- 🆕 Support reset to the default value rather than empty, when click reset in Table column filter. #34355 @heiyu4585
- 💄 Fix Table head background and selection column width styling issues when
size="small". #34963 - 🇩🇪 Improve German translations for Table. #34836 @pfedan
- ⚡️ Optimize Table filter calculation perfromance. #35064 @nieyuyao
- 💄 Improve small and middle size Table selection dropdown margin style. #35173
- Tree
- Breadcrumb
- 🐞 Fix Breadcrumb deprecated warning of Dropdown
placement. #35162 - 🐞 Fix Breadcrumb show the number when is unexpected. #35123
- ⌨️ Make structure of Breadcrumb be accessible. #34082 @VladimirOtroshchenko
- 🐞 Fix Breadcrumb deprecated warning of Dropdown
- Anchor
- Cascader
- 🆕 Cascader supports
showCheckedStrategyfor value display strategy. #34568 @heiyu4585 - 🐞 Fix Cascader search result do not fill the entrie panel. #35019 @boomler
- 🆕 Cascader supports
- 🆕 Click event object can be accessed in
onCopyfunction of Typography. #34655 @yzwxk - 🆕 Grid supports
justify="space-evenly". #34606 @gp5251 - 🆕 Support
rootClassNameproperty for Dialog and Image. #34574 @heiyu4585 - 🐞 Fix error
Nothing was returned from renderwhen Skeleton use falsyloadingprops withoutchildren. #34872 @AlbertAZ1992 - 💄 Optimize Switch disabled color to fit colorful background. #35103
- 💄 Remove Tabs
overflow: hiddenstyle to fix Select and sticky Table display problem inside Tabs. #35195 - 💄 Fix Steps style issues in RTL mode. #35088 @zpc7
- 💄 Fix animation for standalone Badge in RTL mode. #34899 @hmz22
- 🛠 Optimize Modal id generate logic to improve accessibility experience. #35072
- 🐞 Fix Select and AutoComplete scroll abnormal behavior when navigate via keyboard.。#35025
- Spin
- 💄 Fix Spin animation style being abnormally parsed in Parcel. #35005
- ⌨️ Spin add
ariaattribute to improve accessibility. #34408 @heiyu4585
- ⌨️ Dropdown support select option by keyboard. #34738
- 🐞 Fix Title, Text, Paragraph components cannot get
refbug. #34847 @MQuy - Input
- ⌨️ Fix
aria-checkedattribute for Checkbox, to avoid screen reader getting an incorrect status. #34862 @SpaNb4 - Less
- TypeScript
- 🤖 Fixed
UploadcomponentUploadChangeParam<T>internalfileListnot using generics. #35158 @rendaoer - 🤖 Update TypeScript definition for
@types/react@18compatible. #35075 @AliRezaBeigy #35076 @littledian
- 🤖 Fixed
- 🔥 支持 React 18 以及严格模式。
- 🔥 新增 Segmented 分段控制器组件。#34319
- Form
- 🛎 Menu 添加
items数据化菜单项支持以为将来性能提升做准备,并且children将会在下个大版本中废弃。#34559 - 🆕 Image PreviewGroup 支持顶部进度渲染。#35038 @zpc7
- Upload
- Table
- Tree
- Breadcrumb
- 🐞 修复 Breadcrumb 抛出
placement废弃警告的问题。#35162 - 🐞 修复 Breadcrumb 展示非预期的数字符号的样式问题。#35123
- ⌨️ 为 Breadcrumb 层次结构增加可访问性支持。#34082 @VladimirOtroshchenko
- 🐞 修复 Breadcrumb 抛出
- Anchor
- Cascader
- 🆕 Cascader 添加
showCheckedStrategy用于配置回填方式。#34568 @heiyu4585 - 🐞 修复 Cascader 的搜索结果未占满整个面板的问题。#35019 @boomler
- 🆕 Cascader 添加
- 🆕 Typography 的
onCopy方法支持获取点击事件对象。#34655 @yzwxk - 🆕 Grid 支持
justify="space-evenly"。#34606 @gp5251 - 🆕 Dialog 及 Image 支持
rootClassName属性。#34574 @heiyu4585 - 🐞 修复 Skeleton 在没有
children并设置loading为 false 时提示Nothing was returned from render的问题。#34872 @AlbertAZ1992 - 💄 优化 Switch 禁用色以更好适应非白底背景。#35103
- 💄 移除 Tabs
overflow: hidden样式以修复 Select 和 sticky Table 在 Tabs 中的展现问题。#35195 - 💄 修正 Steps 在 RTL 模式下样式问题。#35088 @zpc7
- 💄 修复 Badge 在 RTL 模式下、独立使用时的动画效果。#34899 @hmz22
- 🛠 优化 Modal id 生成逻辑,以优化无障碍体验。#35072
- 🐞 修复 Select 和 AutoComplete 使用键盘向下滚动时行为异常的问题。#35025
- Spin
- 💄 修复 Spin 动画样式在 Parcel 解析异常的问题。#35005
- ⌨️ Spin 添加
aria属性以提升可访问性。#34408 @heiyu4585
- ⌨️ Dropdown 支持方向键切换选项。#34738
- 🐞 修复 Title、Text、Paragraph 组件不支持
ref的问题。#34847 @MQuy - Input
- ⌨️ 修复 Checkbox 缺少
aria-checked属性导致屏幕阅读器识别错误的问题。#34862 @SpaNb4 - Less
- TypeScript
- 🤖 修正 Upload 组件中
UploadChangeParam<T>内部fileList不使用泛型问题。#35158 @rendaoer - 🤖 更新 TypeScript 定义以兼容
@types/react@18。#35075 @AliRezaBeigy #35076 @littledian
- 🤖 修正 Upload 组件中
- 🐞 Fix Form that not keep store value when unmount and mount again. #34845
- 🐞 Fix Pagination under
<ConfigProvider componentSize="large" />should display middle size Select. #34756 - 🐞 fix Skeleton to unable to render
childtenof non-react element. #34751 @1247748612 - 💄 Fix Tag
@tag-border-radiusless variable not work. #34741
- 🐞 修复 Form 在整个被 unmount 后再次 mount,原 Form 的值会被重置的问题。#34845
- 🐞 修复 Pagination 在
<ConfigProvider componentSize="large" />下的 Select 大小问题。#34756 - 🐞 修复 Skeleton 不渲染非 react element 类型的
children问题。#34751 @1247748612 - 💄 修复 Tag
@tag-border-radiusless 变量不生效的问题。#34741
- 🐞 Fix when
fullscreenof the Calendar isfalse, the element returned bydateFullCellRendercannot be interactive. #34614 @imoctopus - 🐞 fix BackTop responsive in RTL. #34626 @hmz22
- 🐞 Fix text position in Steps with
smallsize anddotmode. #34651 - 🐞 Fix Descriptions
contentStylenot working when children is 0. #34696 @zhao-huo-long - 🐞 Fix notification prevent interaction on elements which under it. #34716
- 🐞 修复当 Calendar 的
fullscreen为false时,dateFullCellRender返回的元素不可交互的问题。#34614 @imoctopus - 🐞 修复 BackTop 的部分
rtl样式问题。#34626 @hmz22 - 🐞 修复小尺寸 Steps
dot模式下文字位置偏移的问题。#34651 - 🐞 修复 Descriptions 内容为 0 时
contentStyle不生效的问题。#34696 @zhao-huo-long - 🐞 修复 notification 会遮挡后面元素交互的问题。#34716
- 🐞 Fix TextArea
clearIconcolor. #34610 - 🐞 Fix: apply scale transform to disabled star. #34547 @Unuuuuu
- 🐞 Fix Tooltip arrow color with preset. #34548
- 🐞 Fixed number abnormal position display in Badge RTL mode. #34545
- 💄 Fix numeric Row and Col class styles when using prefixCls. #34494 @mic-web
- 🐞 Fix Editable Textarea height jump in Firefox and Editable Typography.Title confirm icon position. #34518
- 💄 Fix missing
statusstyle in RangePicker. #34509 - 🛎 Add warning for Input getting blurred when dynamically add
hasFeedback. #34475 - 🐞 Fix missing classname in input when Input has
prefixorsuffix. #34474 - 🇱🇹 Updated lt_LT locale for
typeTemplate. #34567 @Anizcus - 🇮🇹 Updated it_iT locale for
Table. #34566 @freshgiammi
- 🐞 修复 TextArea
clearIcon的颜色问题。#34610 - 🐞 修复 Rate 下 disabled 时依然有 hover 效果的问题。#34547 @Unuuuuu
- 🐞 修复 Tooltip 使用预设颜色时 arrow 颜色错误的问题。#34548
- 🐞 修复 Badge 数字 RTL 模式下异常位置显示。#34545
- 💄 修复使用
prefixCls时的数字 Row 和 Col 类样式问题。#34494 @mic-web - 🐞 修复 Typography
editable切换时在 Firefox 下高度跳动 和 Typography.Titleeditable确定图标错位的问题。#34518 - 💄 修复 RangePicker
status相关样式丢失的问题。#34509 - 🛎 为动态改变 Form.Item 的
hasFeedback时 Input 焦点丢失添加警告。#34475 - 🐞 修复 Input 有
prefix或者suffix时 input 缺少某些 className 的问题。#34474 - 🇱🇹 更新 lt_LT 的 locale。#34567 @Anizcus
- 🇮🇹 更新 it_iT 的 locale。#34566 @freshgiammi
- 🐞 Fix Dropdown not auto adjust placement when position on the edge of window. #34390
- 💄 Change PageHeader elements margin from
12pxto8pxinsideextra. #34428 - 🛠 Export css variable function in
antd/es/config-providerfolder to enable ssr requirement. #34436 - 🛠 Refactor Menu with React hooks. #34433
- Input
- Form
- Tooltip
- 💄 Fix Tooltip width in Safari. #34415 @jiandandkl
- 💄 Fix arrow size of Tooltip/Popover/Popconfirm. #34407
- 💄 Remove Collapse bottom border in simple style. #34366 @PanStar
- TypeScript
- 🐞 修复 Dropdown 在边界情况下不会自动调整展示位置的问题。#34390
- 💄 缩小 PageHeader
extra内元素间距为8px。#34428 - 🛠 导出 antd/es/config-provider 目录下的 css variable 函数以支持 ssr 的需求。#34436
- 🛠 使用 React hooks 重构 Menu。#34433
- Input
- Form
- Tooltip
- 💄 修复 Tooltip 在 Safari 下的内容宽度问题。#34415 @jiandandkl
- 💄 修复 Tooltip/Popover/Popconfirm 等组件箭头大小问题。#34407
- 💄 优化 Collapse 简洁模式的底边框。#34366 @PanStar
- TypeScript
- 🐞 Fix less compile error related to custom status. #34350
- 🐞 Fix error
ReferenceError: colorPalette is not definedwhen customize theme. - 🐞 Fix error
Error: Invalid class or id selector syntaxwhen importantd/dist/antd.css.
- 🐞 Fix error
- 🐞 Fix Input.Passowrd icon color in site. #34354
- 🐞 Fix ConfigProvider
cspsometime not effect on Icon. #34356
- 💄 Optimize arrow style for some components. #33710

- Input
- 🛠 Refactor Input with rc-input. #34206
- Attention: The type and value of
refis modified because of refactoring from class component to function component. You can still get DOM node frominput, and other methods such asfocusandblurmentioned in document are also supported.
- Attention: The type and value of
- 🆕 Support
clearIconprop for customizing clear icon. #34325
- 🛠 Refactor Input with rc-input. #34206
- Table
- 🆕
filterSearchnow support passing function to customize search. #34085 @heiyu4585 - 🆕
column.filterDropdown({ clearFilters })supportclearFilters({ confirm: false, closeDropdown: false }). #34120 @heiyu4585 - ⌨️ Table adds
aria-sortattribute for screen readers. #33603 @dgreene1 - 🐞 Fix Table filters select-all Checkbox not changed when select item. #34295
- 🆕
- 🆕 Data entry components add
statusprop to support custom status. - 🆕 InputNumber supports
controls={{ upIcon, downIcon }}to customize icon up and down. #33914 @heiyu4585 - 🆕 Notification
placementsupporttop/bottom#33871 @heiyu4585 - 🆕 Select, Cascades, DatePicker now support
placementproperty. #33641 @ONLY-yours - 🆕 Dropdown support
arrow={{ pointAtCenter: true }}to make arrow point at center. Andtopbottomplacement are also supported. #33658 - 🆕 Skeleton.Input Adds
blockprop. #33672 @woochanleee - 🆕 Move TimePicker
disabledHours,disabledMinutes,disabledSecondsintodisabledTimeto align with DatePicker. #33503 - 💄 Modify the color of some borders and the background color of the progress bar to be transparent to suit the colored background. #33506
- 💄 Space support custom children
key. #33607 @qin20 - 🐞 Fix
Typography.Titledidn't keep font size when become editable. #34169 @heiyu4585 - 🐞 Fix Form.Item throw warning
React does not recognize the requiredMark prop on a DOM element. #34323
- 💄 优化部分组件箭头样式。 #33710

- Input
- Table
- 🆕
column.filterSearch属性现在支持返回一个函数用于自定义搜索条件。#34085 @heiyu4585 - 🆕
column.filterDropdown({ clearFilters })支持参数clearFilters({ confirm: false, closeDropdown: false })控制筛选。#34120 @heiyu4585 - ⌨️ 增加
aria-sort属性以优化屏幕阅读器的使用体验。 #33603 @dgreene1 - 🐞 修复 Table 列筛选器中选择全部 Checkbox 状态问题。 #34295
- 🆕
- 🆕 表单组件新增
status属性以支持自定义状态。 - 🆕 InputNumber 组件支持
controls={{ upIcon, downIcon }}用于自定义上下图标。#33914 @heiyu4585 - 🆕 Notification 组件弹窗位置新增支持
top/bottom。 #33871 @heiyu4585 - 🆕 Select、Cascader、DatePicker 等组件新增
placement用于自定义弹层方向。 #33641 @ONLY-yours - 🆕 Dropdown 组件支持
arrow={{ pointAtCenter: true }}用于指向元素正中间,并且新增topbottom两种placement位置。 #33658 - 🆕 Skeleton.Input 添加
block属性。 #33672 @woochanleee - 🆕 合并 TimePicker
disabledHours、disabledMinutes、disabledSeconds至disabledTime以保持与 DatePicker 接口一致性。 #33503 - 💄 修改部分边框颜色和进度条的背景色为透明色以适应有色背景。 #33506
- 💄 Space 支持自定义 children 的
key。 #33607 @qin20 - 🐞 修复 Typography.Title 进入编辑模式时大小不一致的问题。 #34169 @heiyu4585
- 🐞 修复 Form.Item 抛出
React does not recognize the requiredMark prop on a DOM element的问题。 #34323
- 🐞 Fix
getContainerconfig not working bug when called multi-times viamessage.config. #34123 @TrickyPi - 🐞 Fix invalid context value cache in Menu component. #34121 @mrwd2009
- 🐞 Fix ConfigProvider config theme on server side crash, and warning for useless in SSR instead. #34118
- Table
- 🐞 Fix incorrect copy text of Typography after children is updated when enable
copyable. #34034 @opopeieie - ⚡️ Optimize Avatar, List, Pagination, Steps to avoid additional render on mount if unnecessary. 34122
- 💄 Fix Form broken style when Select item is too long in horizontal layout. #34117
- 🇸🇰 Improve texts for Table, Form and Modal in
sk_SK. #34061 @xseman - TypeScript
- 🐞 修复
message.config多次配置getContainer时无法生效的问题。#34123 @TrickyPi - 🐞 修复 Menu 组件中无效的缓存逻辑。#34121 @mrwd2009
- 🐞 修复 ConfigProvider 在服务端配置主题会崩溃的问题,同时现在会提示动态主题于 SSR 上无效。#34118
- Table
- 🐞 修复 Typography 启用
copyable时children内容变化后复制内容没变的问题。#34034 @opopeieie - ⚡️ 优化 Avatar、List、Pagination、Steps 以防止初始化时非必要的额外渲染。34122
- 💄 修复 Form 下 Select 内容太长导致布局换行的问题。#34117
- 🇸🇰 完善
sk-SK中 Table、Form、Modal 的文案。#34061 @xseman - TypeScript
- Typography
- 🛠 Fix Typography
useLayoutEffectwarning in SSR. #33818 @SoYoung210 - 🐞 Fix Typography with
ellipsismakes screen show the scroll bar in some case. #34007 - 🐞 Typography copy click event is now
stopPropagationby default. #33998 @linxianxi - 🐞 Fix Typography edit & copy button not trigger by enter key. #33976 @mrwd2009
- 🛠 Fix Typography
- 🐞 Fix Form
undefinedtext of min/max validators in pl_PL locale. #34024 @MichalPodeszwa - 🐞 Fix Input.TextArea cut text logic when
maxLengthconfigured. #33910 @chenyizhongx - 💄 Button with
type=defaultwill provide.ant-btn-defaultclassName. #34013 - 💄 Improve Menu
:focus-visiblestyle. #34008 - 💄 Fix Pagination and Rate style problem in Safari. #34002
- 💄 Fix Row and Col component styles when using prefixCls. #33969 @mic-web
- 🐞 Fix Icon with custom color not working. #33951 @MadCcc
- TypeScript
- 🤖 Optimize Cascader
onChangedefinition withmultipleprop. #33947 @babycannotsay
- 🤖 Optimize Cascader
- Typography
- 🛠 修复 Typography 在 SSR 渲染时警告
useLayoutEffect的问题。#33818 @SoYoung210 - 🐞 修复 Typography 配置
ellipsis后在某些情况下会出现滚动条的问题。#34007 - 🐞 Typography 复制按钮点击事件不在冒泡。#33998 @linxianxi
- 🐞 修复 Typography 中编辑和拷贝按钮无法响应 Enter 按键的问题。#33976 @mrwd2009
- 🛠 修复 Typography 在 SSR 渲染时警告
- 🐞 修复 Form 波兰语中表单校验部分文案未定义的问题。#34024 @MichalPodeszwa
- 🐞 修复 Input.TextArea 设置
maxLength时光标位置会影响超出部分截取的问题。#33910 @chenyizhongx - 💄 Button 对于
type=default也会提供.ant-btn-default的样式类名。#34013 - 💄 优化 Menu
:focus-visible的样式。#34008 - 💄 修复 Pagination 和 Rate 在 Safari 下部分样式丢失的问题,比如分页按钮禁用样式失效。#34002
- 💄 修复 Row 与 Col 在配置
prefixCls的样式问题。#33969 @mic-web - 🐞 修复 Icon 自定义颜色无效的问题。#33951 @MadCcc
- TypeScript
- 🤖 优化 Cascader
multiple属性对应的onChange类型推断。#33947 @babycannotsay
- 🤖 优化 Cascader
- 🐞 Hide the empty popover when the props' content is undefined or null. #33835 @DawnLck
- 🐞 Fix DatePicker
refTypeScript definition. #33901 @Amour1688 - 🐞 Fix the problem that tooltip didn't show on ellipsis with rows larger than 1. #33875 @MadCcc
- Button
- 🐞 Fix the issue that block not work when small size. #33878 @tangjinzhou
- 🐞 Clear timer of delayed loading after Button is unmounted. #33858 @mrwd2009
- 🐞 Fix the problem that Tooltip cannot be displayed when it is used with switch in loading state. #33860 @MadCcc
- 🐞 fix the upload button sometimes flashes after the upload button is changed from hidden to display when the upload component is a picture-card type. #33820 @credred
- 🐞 修复当传入的内容参数和标题参数都为空时,气泡组件仍旧会渲染空气泡的问题。#33835 @DawnLck
- 🐞 修复 DatePicker
refTypeScript 定义。#33901 @Amour1688 - 🐞 修复 Typography ellipsis 行数大于 1 时 Tooltip 不显示的问题。#33875 @MadCcc
- Button
- 🐞 修复小尺寸下 Button 组件 block 属性无效的问题#33878 @tangjinzhou
- 🐞 Button 组件卸载后,清理延迟加载定时器。#33858 @mrwd2009
- 🐞 修复 Tooltip 套在 loading 状态的 switch 上时无法正常显示的问题。#33860 @MadCcc
- 🐞 修复 Upload 组件为 picture-card 类型时,由隐藏上传按钮改为显示后,上传按钮有时会闪烁的问题。#33820 @credred
- Cascader
- 💄 Fix Tag style in dark theme. #33751
- 💄 Fix disabled Checkbox inside Tooltip dom structure. #33772 @boomler
- ⚡️ Fix invalid hook dependency array in Row and Layout.Sider components. #33804 @mrwd2009
- 🐞 Fix Card
refnot working. #33784 @LongHaoo - 🐞 Fix a Checkbox problem that
onChangecould not correctly pass in the modified value when dynamically modifyingvalueproperty. #33753
- Typography
- Icon
- 🐞 Fix
<Icon component={HomeOutlined} />and<HomeOutlined />not aligned. (https://github.com/ant-design/ant-design/pull/33709) - 🐞 Fix
<Icon component={SyncOutlined} spin />shake. #33726 @JX-Zhuang
- 🐞 Fix
- Input
- ⚡️ Fix ConfigProvider and Anchor rerender unexpectedly. #33723 @mrwd2009
- 🐞 Fix the duplicate keys warning in console for Cascader. #33649 @dimbslmh
- 🐞 Checkbox.Group support number and boolean as options element. #33678
- 🐞 Fix Form
validateMessagesbug in multiple ConfigProvider. #33705 - 🐞 Fix Steps the tail part would be hidden when type is navigation and labelPlacement is vertical. #33716 @toSayNothing
- 🐞 Fix Image has bottom blank style. #33631 @fanerge
- 🐞 Fix TreeSelect with keyboard operation missing highlight issue. #33755
- 🇰🇭 Fix some translations for Khmer (km_KH). #33738 @vireakkeosokvibol
- Typography
- Icon
- 🐞 修复
<Icon component={HomeOutlined} />和<HomeOutlined />不对齐的问题。#33709 - 🐞 修复
<Icon component={SyncOutlined} spin />抖动的问题。#33726 @JX-Zhuang
- 🐞 修复
- Input
- ⚡️ 修复 ConfigProvider 和 Anchor 的渲染函数多次运行的问题。#33723 @mrwd2009
- 🐞 修复 Cascader 组件中出现重复 key 的控制台 warning 问题。#33649 @dimbslmh
- 🐞 Checkbox.Group 的
options支持数组中直接传入 number 和 boolean 类型。#33678 - 🐞 修复 Form
validateMessages在多个 ConfigProvider 内错乱的问题。#33705 - 🐞 修复 Steps 组件在
type为 navigation 和labelPlacement为 vertical 时,tail 部分不会显示的问题。#33716 @toSayNothing - 🐞 修复 Image 底部留白问题。#33631 @fanerge
- 🐞 修复 TreeSelect 键盘操作时,激活项不会高亮的问题。#33755
- 🇰🇭 修正高棉语 (km_KH) 语言包中部分翻译。#33738 @vireakkeosokvibol
- 🆕 Menu support home and end key. #33642 @dartamonov-vertex
- Table
- ⚡️ Improve Table perfermance significantly when mount and unmount. #33554
- 🐞 Fix Table emptynode fixed display. #33610 @hemengke1997
- 🐞 Fix Table tree data hover error。#33638 @LongHaoo
- Form
- 🐞 Fix Card.Grid props should expose Div Properties like onClick. #33563 @LongHaoo
- 🐞 Fix Input.Textarea throws error on preact. #33536 @developit
- 🐞 Fix PageHeader state update error after unmounted. #33546 @wuifdesign
- 💄 Fix Select tag margin issue when using
tagRender. #33539 - 💄 Remove svg reset style for IE9-, fix svg elements being cutting style problem. #33579
- TypeScript
- 🤖 Fix Upload types for pass generic. #33543 @woochanleee
- 🆕 Menu 组件支持 home(跳转到第一项)和 end(跳转到最后一项)。#33642 @dartamonov-vertex
- Table
- ⚡️ 大幅优化 Table 渲染时和卸载时的性能。#33554
- 🐞 修复 Table 空状态未居中显示。#33610 @hemengke1997
- 🐞 修复 Table 树形数据展示 hover 高亮异常的问题。#33638 @LongHaoo
- Form
- 🐞 修复 Card.Grid props 未能正常支持 div 相应 attribute 提示。#33563 @LongHaoo
- 🐞 修复 Input.Textarea 在 preact 下报错的问题。#33536 @developit
- 🐞 修复 PageHeader unmounted 后报
React state update on an unmounted component的错误。#33546 @wuifdesign - 💄 修复 Select 使用
tagRender时标签上下边距不统一的问题。#33539 - 💄 移除 svg 针对 IE9- 的重设样式,修复全局样式影响部分 svg 元素的问题。#33579
- TypeScript
- 🤖 修复 Upload 泛型定义。#33543 @woochanleee
- 🐞 Revert #33411 to Table onChange being invoked infinitely.
- 🐞 回滚 #33411 以修复 Table 死循环调用 onChange 的问题。
- 🐞 Fix Popconfirm throws
Can't perform a React state update on an unmounted component.warning in some async case. #33432 @MadCcc - 🐞 Fix Input with
suffixwill crash whenvalueis number type. #33462 - 🐞 Fix Divider with text dashed border color error. #33452 @chen-jingjie
- 🐞 Fix Dropdown.Button not support
destroyPopupOnHide. #33442 @LongHaoo - 🐞 Fix Table Pagination not trigger
onChangewhencurrentchanged. #33411 @2724635499
- 🐞 修复 Popconfirm 在某些情况下会出现
Can't perform a React state update on an unmounted component.的错误。#33432 @MadCcc - 🐞 修复 Input 配置
suffix时value为数字类型会崩溃的问题。#33462 - 🐞 修复 Divider with text dashed 的边框颜色错误问题。#33452 @chen-jingjie
- 🐞 修复 Dropdown.Button 不支持
destroyPopupOnHide的问题。#33442 @LongHaoo - 🐞 修复 Table 的 Pagination 在
current改变时不触发pagination.onChange的问题。#33411 @2724635499
- 🐞 Fix Skeleton missing
styleprop. #33405 - 🐞 Fix Descriptions overflow style cause other components being cut. #33392
- 🆕 Unique Select-like component generic as OptionType to support FieldNames type. #33364
- 🐞 Fix Slider rail hover color when it is disabled. #33369 @chen-jingjie
- Table
- Form
- 🆕 ConfigProvider support Form
colon. 9bc148a @seaSuper - 🆕 add
prefixtoInputNumber. #32600 @Austaras - 🆕 Modal static function support
wrapClassNameprop. #32676 @cwjTerrace - 🆕 Popconfirm add
showCancelprop. #32620 @cwjTerrace - 🆕 Dropdown.Button supports
loadingproperty now. #32467 @kaysonwu - 🆕 Input adds
showCountproperty. #32522 @cwjTerrace - 🆕 Alert supports
closeIconnow. #32345 @chen-jingjie - Typography
- 🆕 for editable Paragraph, edit can be triggered by clicking the icon or the value itself (or both) with
triggerType. #32219 @kachanovskiy - 🆕 Typography support
enterIconto config confirm icon. #32220 @kachanovskiy
- 🆕 for editable Paragraph, edit can be triggered by clicking the icon or the value itself (or both) with
- 🆕 Divider added
orientationMarginAPIs for customizingmargin-left/rightof title. #32084 @neotan - 🆕 Avatar add
maxPopoverTriggerto support configuration of popover trigger. #32197 @RiteshMakan - 🆕 Upload supports
showUploadList.previewIconnow. #32059 @1040961807 - 🏴 Fix Catalan (ca_ES) missing translation key with
Form. #33377 @ZzGGitter - 🇫🇮 Fix Finland (fi_FI) missing translation key with
Table. #33372 @ZakarFin - 🇰🇭 Added locales for Khmer (km_KH) translation. #32853 @vireakkeosokvibol
- TypeScript
- 🤖 Add Upload
capturedefinition. #33370 @MichalPodeszwa
- 🤖 Add Upload
- 🐞 修复 Skeleton 不支持
style的问题。#33405 - 🐞 修复 Descriptions 内使用其他组件会被切割的问题。#33392
- 🆕 统一类 Select 组件泛型定义为 OptionType 以支持自定义 FieldNames 匹配。#33364
- 🐞 修复 Slider 禁用时
hover色彩的问题。#33369 @chen-jingjie - Table
- Form
- 🆕 ConfigProvider 支持 Form 的 colon 配置。9bc148a @seaSuper
- 🆕
InputNumber增加prefix属性支持。#32600 @Austaras - 🆕 Modal 静态方法支持
wrapClassName属性。#32676 @cwjTerrace - 🆕 Popconfirm 新增是否显示取消按钮。#32620 @cwjTerrace
- 🆕 Dropdown.Button 新增
loading属性。#32467 @kaysonwu - 🆕 Input 新增
showCount属性。#32522 @cwjTerrace - 🆕 Alert 支持
closeIcon自定义关闭图标。#32345 @chen-jingjie - Typography
- 🆕 对于可编辑段落,可以通过配置
triggerType配置触发编辑状态。#32219 @kachanovskiy - 🆕 Typography 支持
enterIcon以设置编辑确认图标。#32220 @kachanovskiy
- 🆕 对于可编辑段落,可以通过配置
- 🆕 Divider 增加了
orientationMargin属性以设置间距。#32084 @neotan - 🆕 Avatar.Group 添加
maxPopoverTrigger以定制剩余头像展示的触发逻辑。#32197 @RiteshMakan - 🆕 Upload 新增
showUploadList.previewIcon用于自定义预览图标。#32059 @1040961807 - 🏴 修复加泰罗尼亚语 (ca_ES) 对 Form 缺失翻译问题。#33377 @ZzGGitter
- 🇫🇮 修复芬兰语 (fi_FI) 对 Table 的缺失翻译问题。#33372 @ZakarFin
- 🇰🇭 新增高棉语 (km_KH) 语言包。#32853 @vireakkeosokvibol
- TypeScript
- 🤖 添加 Upload
capture定义。#33370 @MichalPodeszwa
- 🤖 添加 Upload
- 🐞 Fix a bug that Form.Item name is "parentNode" casue endless loop and memory leak. #31846 @DaoxingHuang
- 🐞 Revert #32448 to fix emoji input at Input.TextArea. #33312
- 🐞 修复 Form.Item 的 name 属性改为 parentNode,dom-align 死循环,内存溢出的 bug。#31846 @DaoxingHuang
- 🐞 回滚 #32448 以修复 Input.TextArea 输入 emoji 时被截断的问题。#33312
- 🐞 Fix Drawer broken style caused by title width. #33205
- 🐞 Fix Badge flash style when switch from
display:none. #33083 @songlinn - 💄 Change Anchor className form
.fixedto.ant-anchor-fixed. #33085 @tangjinzhou - 💄 Fix Button loading style missing in Firefox. #33199
- Select
- Radio
- 💄 Fix Radio dot offset when zooming. #33086 @hydraZty
- 💄 Fix Radio cursor style. #33198 @tangjinzhou
- 💄 Revert Collapse header
position: relativestyle to ensure some user depends on this style. #33070 - 🐞 Fix Input.TextArea height bug when has
showCount. #33055 - TypeScript
- 🌐 Add missing zh-TW translation. #33108 @dengfuping
- 🐞 修复 Drawer
title未能填满一行造成的样式问题。#33205 - 🐞 修复 Badge 从
display:none时切换到显示时闪动的问题。#33083 @songlinn - 💄 Anchor 固定样式类从
.fixed修改成.ant-anchor-fixed#33085 @tangjinzhou - 💄 修复 Button
loading样式在 Firefox 下丢失的问题。#33199 - Select
- Radio
- 💄 修复 Radio 在缩放时蓝点不居中的问题。#33086 @hydraZty
- 💄 修复 Radio 禁用鼠标手型样式。#33198 @tangjinzhou
- 💄 Collapse header 添加
position: relative样式以兼容过去某些场景用户依赖了该样式。#33070 - 🐞 修复 Input.TextArea 当有
showCount时设置高度失效。#33055 - TypeScript
- 🌐 补充
zh-TW语言包。#33108 @dengfuping
- 💄 Fix Form broken layout when set
wrapperCol={{ span: 24 }}. #32981 - 🐞 Fix Modal
centeredwas not centered vertically. #33022 - 🐞 Cascader typescript fix definition missing
suffixIconand support generic ofoptionstype. #33008 - 🐞 Fix Input.Search don't trigger click event on element inside
enterButton. #32999 - 🇪🇪 Added missing Estonian translations. #33005 @wedeso
- 🤖 Tree support generic to work more well with
fieldNames. #32992
- 🐞 Fix directly import
es/style/mixins/index.lessthrowVariable @root-entry-name is undefinederror. #32887 - 🐞 Fix Menu text color in collapsed tooltip. #32956
- 🐞 Fix Modal.method
bodyStylenot working bug. #32934 @jin-benben - 🐞 Fix abnormal placeholder color. #32915
- 💄 Fix editable Tabs dropdown remove button style issue. #32919
- 🛠 Modal.confirm() Remove unnecessary
divcontainer. #31492 @ppbl - 🛠 Remove unused css code for Drawer. 4ca6976
- 🛠 Use
@height-basein PageHeader. #32883 - 🇵🇱 Added missing pl_PL translations. #32896 @MichalPodeszwa
- TypeScript
- 🤖 Remove unnecessary union types for ReactNode. #32935 @huangkairan
- 🤖 Inherit
itemRendertyping fromrc-pagination. #32931 @JounQin
- 🐞 修复直接引入
es/style/mixins/index.less文件会抛出Variable @root-entry-name is undefined异常的问题。#32887 - 🐞 修复 Menu 折叠后 Tooltip 文字颜色错误的问题。#32956
- 🐞 修复 Modal.method
bodyStyle无效的问题。#32934 @jin-benben - 🐞 修复组件 placeholder 色彩异常的问题。#32915
- 💄 修复可编辑 Tabs 下拉框移除按钮样式问题。#32919
- 🛠 Modal.confirm() 移除不必要的
div容器。#31492 @ppbl - 🛠 移除无用的 Drawer 样式。4ca6976
- 🛠 PageHeader 标题高度使用
@height-base变量。#32883 - 🇵🇱 添加缺失的 pl_PL 翻译内容。#32896 @MichalPodeszwa
- TypeScript
- 🤖 移除不必要的 ReactNode 并联类型。#32935 @huangkairan
- 🤖 从
rc-pagination继承itemRender类型。#32931 @JounQin
- Dynamic Theme Theme
- 🔥 ConfigProvider support dynamic modify theme color. view detail. #31496
- 🚧 Move part
mixinsrelated less file tothemesinstead since it requires theme variable. We do not recommend use internal file but please note this if you already use it. #32763 - 🐞 Fix
antd.variable.lesscompile mix with default theme variable. #32279 - 🐞 Fix antd compile file miss
/style/default.css. #32116 - 🐞 Fix less compile
antd.xxx.lessthrow theMaximum call stack size exceeded error. #32063
- Input
- 🐞 Fix Input.Search
border-left-radiusis not 0 when configured withallowClearandaddonBefore. #32812 @KAROTT7 - 🐞 Fix Input set to
disabledstill keep focused style. #32739 - 🐞 Avoid Input
placeholdercan be selected on Chrome. #32639 @cw1997 - 🐞 Input.TextArea
maxLengthis now passing to html textarea element. #32448 @MOHAMMADArsalan - 🐞 Fix Input cannot clear content when focus it. #31931 @adaex
- 🐞 Fix Input.Search
- Cascader
- 🔥 Cascader support
multiplemode. #31936 - 🆕 Cascader add
titleprop with content by default. #31237 @yingpengsha - 🐞 Fix Cascader missing
popupClassNameandpopupPlacementprops. #32143
- 🔥 Cascader support
- Select
- TreeSelect
- Tree
- 🆕 Tree
draggableadd handler for tips. #32306 - 🆕 Tree support
fieldNamesto customize node field name. #31395 - 🆕 Tree support
onScrollin virtual scroll. #474 - 🐞 Fix Tree icon align bug when
showLineis enable. #32822 - 🐞 Fix Tree.DirectoryTree throws
TypeError:nativeEvent is undefined. #32551 @D-to-the-K - 🐞 Fix Tree drop outside not clear indicator. #478
- 💄 Fix 1px position deviation of the Tree connection line when zooming in. #32075 @btea
- 🆕 Tree
- PageHeader
- 🐞 Fix PageHeader with false 'breadcrumbrender' still shows dom. #32738
- Form
- Drawer
- 🆕 Tweak Drawer close icon position and default width, add
extraandsizeprops. #30908 - 🆕 Drawer support
autoFocusprop. #181 - 🐞 Fix the problem that the bottom Drawer component has no animation. #32761 @solitia7125
- 💄 Optimize Drawer open animation. #32342
- 🆕 Tweak Drawer close icon position and default width, add
- Steps
- 🐞 Fix Steps
progressDotstyle when it isvertical. #32742 - 🐞 Fix Steps default responsive style not working. #31965 @tangjinzhou
- 🐞 Fix Steps
- Typography
- Table
- 🔥 Table adds
column.filterModeto support filter in a tree, which could set to'menu' | 'tree'. #31809 - 🔥 Table adds
column.filterSearchfor enable search function in filter dropdown. #31809 - 🆕 Table hover
rowSpanrow will highlight all the rows now. #32557 - 🐞 Fix Table selection column arrow get covered by fixed column. #32276 @g7i
- 🐞 Fix Table
loadingjumpy style when setsticky. #32703 @miloudbelaabed - 🐞 Fix Table don't support
ref. #32136 @JounQin - 🐞 Table remove
stickystyle with fixed column in IE11 to avoid layout issue. #32177 - 💄 Optimize Table sorter icon margin problem. #32172
- 🐞 Fix Table.SELECT_XXX ignore record
disabledstatus bygetCheckboxProps. #32027 - 💄 Table filter reset button won't close dropdown now. #31809
- 🐞 Revert Table sticky
z-indexstyle back tocalcinstead of less calculation to fixautostyle failure. #31874 @bconnorwhite - 🐞 Fix Table scroll bar display issue when data dynamic changed. #647 @lanten
- 🐞 Fix
pagination.classNamenot working in Table. #32131 @JounQin
- 🔥 Table adds
- Transfer
- 🆕 Transfer support custom left and right
footer. #31108 - 🆕 Transfer supports
locale.notFoundContentwith array. #31088 @wwyx778 - 🐞 Fix Transfer throws
MenuItem should not leave undefined keywarning when opening selection dropdown menu. #32578 - 💄 Tweak Transfer filter search input icon position. #31809
- 🆕 Transfer support custom left and right
- Collapse
- Button
- Pagination
- 🆕 Pagination supports
selectComponentClassprop. #32132 @JounQin - 💄 Add box-shadow for jumper input in Pagination with
simpleprops. #32528 @chen-jingjie
- 🆕 Pagination supports
- Upload
- InputNumber
- 🔥 InputNumber support
addonBeforeandaddonAfter. #31432 @Austaras - 🆕 InputNumber now supports
controlsfor displaying+-buttons or not. #31548 - 🆕 InputNumber
formattersupport additional param to check if current input is user typing. #31030 - 🐞 Fix InputNumber handler arrow not align center. #32409
- 💄 Show InputNumber handler when focus it. #31911
- 🔥 InputNumber support
- DatePicker
- 🆕
DatePickerandRangePickernow supportnextIcon,prevIcon,superNextIconandsuperPrevIcon. #31703 @Oreoz - 🐞 Fix
defaultPickerValuenot working in RangePicker. #32107 @thommesZip
- 🆕
- Notification
- 🆕 Notification support
maxCountto limit count. #31807 @binyellow - 🐞 Fix
closeIconnot working bug when Notification is called multiple times. #32359 @KAROTT7
- 🆕 Notification support
- 🆕 Menu.Divider support
dashedstyle. #31379 @Map1en - 🆕 Skeleton.Button add
blockprop. #30902 @Jehu - 🆕 Popconfirm
onConfirmsupports Promise. #30871 @wendellhu95 - 🐞 Fix Card
tabsstyle when settabPosition: 'left'. #32695 - 🐞 Fix Radio cannot click due to custom
typeproperty. #32463 - 🐞 Fix
Okabbreviation to beOK. #32259 @chj-damon - 🐞 Fix Grid Col
flexsome time exceed its width when content too long. #32160 - 🐞 Fix Switch Loading icon in an incorrect position. #32216
- 🐞 Fix return element of
getPopupContainerin ConfigProvider is not used as a container when callingmessage.useMessage. #31939 @DaoxingHuang - 💄 Improve small size Image by ellipsising preview text. #29900 @drizzlesconsin
- 🐞 Fix Alert extra dom node when
messageisundefined. #32057 - 🐞 Fix anchor
targetOffsetnot work when contain spaces. #31952 @adaex - 💄 Add
@checkbox-border-radiusless variable. #31360 @Gherciu - 🐞 Avatar add
crossOriginproperty to resolve cross origin issue. #31273 @Map1en - RTL
- 💄 Optimized Alert close icon display in RTL mode. #32286
- 💄 Optimized Table header action display in RTL mode. #32283
- 💄 Optimized Collapse arrow icon display in RTL mode. #32282
- 💄 Optimized Badge count display and animation in RTL mode. #32281
- 💄 Optimized InputNumber handler border style in RTL mode. #32272
- 💄 Optimized Dropdown icon display in RTL mode. #32271
- 🐞 Fix Transfer list
directionvalue in RTL mode. #31903
- 🌐 Localization
- TypeScript
- 🤖 Modify the type of Spin
tipto ReactNode.. #32733 @tychenjiajun - 🤖 Fix Message duration type definition. #32524 @chen-jingjie
- 🤖 Fix args type for
getPopupContainerin ConfigProvider. #32406 @mtadams007 - 🐞 Fix Table missing generic type definition. #32358
- 🐞 Fix Switch missing
idproperty. #32237 @M-ZubairAhmed - 🤖 Fix
typetype for Button. #32004 @jaredleechn - 🤖 Improve type
localefor Pagination. #32128 @JounQin - 🤖 Improve and export
DropdownButtonTypetype for DropdownButton [#31957 @Dreamerryao - 🤖 Adjust List
rowKeytype to React.key. #32033 @lironhl - 🐞 Fix DatePicker
reftyping. #31993 @acfasj - 🤖 Update the
levelMovetype definition in Drawer. #30714 @g0shed
- 🤖 Modify the type of Spin
- 动态主题
- 🔥 ConfigProvider 支持动态配置主题色,详细文档。#31496
- 🚧 移动部分
mixinsless 文件到themes文件下,因为它们依赖于主题相关变量。我们不推荐直接引用底层 less 文件,但是如果你使用了请注意这部分变更。#32763 - 🐞 修复
antd.variable.less编译时会混入默认主题配置的问题。#32279 - 🐞 修复 antd 编译产物缺失
/style/default.css文件的问题。#32116 - 🐞 修复 less 编译
antd.xxx.less会抛出Maximum call stack size exceeded error的问题。#32063
- Input
- 🐞 修复
Input.Search组件在有allowClear和addonBefore属性时,输入框border-left-radius值错误的问题。#32812 @KAROTT7 - 🐞 修复 Input 设置
disabled时仍然保留聚焦样式的问题。#32739 - 🐞 修复 Input
placeholder在 Chrome 上能被选择的问题。#32639 @cw1997 - 🐞 Input.TextArea
maxLength属性现在会传给原生 textarea 标签。#32448 @MOHAMMADArsalan - 🐞 修复 Input 聚焦时点击清除图标无效的问题。#31931 @adaex
- 🐞 修复
- Cascader
- 🔥 Cascader 支持
multiple模式。#31936 - 🆕 在
Cascader组件中,默认给选中值的文本添加title属性。#31237 @yingpengsha - 🐞 修复 Cascader 中
popupClassName与popupPlacement属性无效问题。#32143
- 🔥 Cascader 支持
- Select
- TreeSelect
- Tree
- PageHeader
- 🐞 修复 PageHeader
breadcrumbRender返回false,仍然展示 dom 的问题。#32738
- 🐞 修复 PageHeader
- Form
- Drawer
- 🆕 调整 Drawer 关闭按钮位置和默认宽度,新增
extra操作区域和size大小属性。#30908 - 🆕 Drawer 支持
autoFocus属性。#181 - 🐞 修复底部 Drawer 组件没有动画的问题。#32761 @solitia7125
- 💄 优化 Drawer 弹出动画。#32342
- 🆕 调整 Drawer 关闭按钮位置和默认宽度,新增
- Steps
- 🐞 修复 Steps 垂直
progressDot的对齐样式问题。#32742 - 🐞 修复 Steps 默认响应式不生效的问题。#31965 @tangjinzhou
- 🐞 修复 Steps 垂直
- Typography
- Table
- 🔥 Table 新增
column.filterMode以支持配置树形筛选菜单,可选值为'menu' | 'tree'。#31809 - 🔥 Table 新增
column.filterSearch以支持开启筛选列搜索功能。#31809 - 🆕 Table 鼠标悬浮
rowSpan行时会高亮所有相关行。#32557 - 🐞 修复 Table 选择框下拉箭头被固定列遮挡的问题。#32276 @g7i
- 🐞 修复 Table 设置
sticky的时候loading样式跳动的问题。#32703 @miloudbelaabed - 🐞 修复 Table 不支持
ref的问题。#32136 @JounQin - 🐞 Table 移除 IE11 下
sticky的相关样式以解决布局问题。#32177 - 🐞 优化 Table 排序图标边距问题。#32172
- 🐞 修复 Table 中
pagination.className不生效的问题。#32131 @JounQin - 🐞 修复 Table.SELECT_XXX 会无视
getCheckboxProps提供的disabled状态问题。#32027 - 💄 Table 筛选菜单重置按钮现在不再关闭菜单和生效。#31809
- 🐞 回滚 Table sticky
z-index样式的 less 计算到calc,以防止auto样式计算错误问题。#31874 @bconnorwhite - 🐞 修复 Table 在数据变更后滚动条展示问题。#647 @lanten
- 🔥 Table 新增
- Transfer
- Collapse
- Button
- Pagination
- 🆕 Pagination 支持定制
selectComponentClass。 #32132 @JounQin - 💄 Pagination
simple属性下中翻页 input 增加 box-shadow。#32528 @chen-jingjie
- 🆕 Pagination 支持定制
- Upload
- InputNumber
- DatePicker
- 🆕
DatePicker和RangePicker现在支持nextIcon、prevIcon、superNextIcon和superPrevIcon。#31703 @Oreoz - 🐞 修复 RangePicker 的
defaultPickerValue不生效的问题。#32107 @thommesZip
- 🆕
- Notification
- 🆕 Notification 支持
maxCount属性以限制最大显示数。#31807 @binyellow - 🐞 修复多次调用 Notification 时
closeIcon配置无法覆盖的问题。#32359 @KAROTT7
- 🆕 Notification 支持
- 🆕 增加 Menu.Divider 的
dashed属性。#31379 @Map1en - 🆕 Skeleton.Button 添加
block属性。#30902 @Jehu - 🆕 Popconfirm 组件的
onConfirm允许返回一个 Promise。#30871 @wendellhu95 - 🐞 修复 Card 设置
tabs后当tabPosition: 'left'时的样式问题。#32695 - 🐞 修复 Radio
type属性被覆盖导致无法点击的问题。#32463 - 🐞 修复英文国际化文案
Ok为OK。#32259 @chj-damon - 🐞 修复 Switch
loading按钮位置不正确的问题。#32216 - 🐞 修复 Grid Col
flex在内容过长的时候缩放失效的问题。#32160 - 🐞 修复调用
message.useMessage时未使用 ConfigProvider 中的getPopupContainer返回元素作为容器的问题。#31939 @DaoxingHuang - 💄 优化 Image 在小尺寸下省略预览文本。#29900 @drizzlesconsin
- 🐞 修复 Alert
message为空时 dom 节点还在的问题。#32057 - 🐞 修复 Anchor 组件包含空格时
targetOffset属性不生效的问题。#31952 @adaex - 💄 新增 Less 变量
@checkbox-border-radius。#31360 @Gherciu - 🐞 Avatar 增加
crossOrigin参数以解决跨域问题。#31273 @Map1en - RTL
- 🌐 国际化
- TypeScript
- 🤖 修改 Spin
tip的类型为 ReactNode。#32733 @tychenjiajun - 🤖 修复 Message duration 类型定义。#32524 @chen-jingjie
- 🤖 修复 ConfigProvider 中
getPopupContainer的参数类型。#32406 @mtadams007 - 🐞 修复 Table 丢失泛型定义。#32358
- 🤖 修复 Switch
id属性定义。#32237 @M-ZubairAhmed - 🤖 修复 Button 的
type的 TS 类型定义。#32004 @jaredleechn - 🤖 完备 Pagination 的
localeTS 类型定义。[#32128 @JounQin - 🤖 完善并导出 DropdownButton 的
DropdownButtonTypeTS 类型定义。 [#31957 @Dreamerryao - 🤖 调整 List 组件
rowKey类型为 React.key。#32033 @lironhl - 🐞 修复 DatePicker
ref类型。#31993 @acfasj - 🤖 更新 Drawer 中
levelMove类型定义。#30714 @g0shed
- 🤖 修改 Spin
- 🐞 Fix ConfigProvider rerender unexpectedly when switching some languages. #31630 @Map1en
- 💄 Improve ghost button style rules, no more
!important. #31659 - 💄 Improve RangePicker range transition style. #31645
- 🤖 Fix Dropdown
destroyPopupOnHideTypeScript definition missing. #31700 @linxianxi - 🤖 Remove useless Omit type which is built-in in TypeScript 3.5+. #31661 @Dreamerryao
- 🐞 修复 ConfigProvider 切换国际化时子组件 rerender 的问题。#31630 @Map1en
- 💄 简化 ghost 按钮的样式代码,去掉
!important样式规则。#31659 - 💄 优化 RangePicker 的范围样式的 transition 效果。#31645
- 🤖 修复 Dropdown
destroyPopupOnHideTypeScript 定义丢失的问题。#31700 @linxianxi - 🤖 移除多余的 Omit 类型定义。#31661 @Dreamerryao
- 🐞 Fix Badge not showing count when customize
colorprop. #31617 @eokoneyo - 🐞 Fix circle Progress
success.strokeColorcannot take effect. #31589 - 🐞 Fix the type error due to the Select component didn't ignore the
getRawInputElementprop. #31566 @aoilti - 🐞 Fix Pagination's
totalBoundaryShowSizeChangerproperty type error. #31549 @Monty-Ma - 🐞 Fix
classNameapplied to both Skeleton.Avatar wrapper and element itself. #31536 @Greatshock - 💄 Fix Form
<Input bordered={false} />outline style. #31562 - 🌐 Internationalization
- 🇹🇷 Added Turkish translation for Image
Previewtext. #31593 @mburakkalkan - 🇰🇷 Fix a typo in the Korean language. #31575 @chatoo2412
- 🇹🇷 Added Turkish translation for Image
- 🐞 修复 Badge 设置自定义
color不显示数字的问题。#31617 @eokoneyo - 🐞 修复 Progress 环形进度条
success.strokeColor不生效的问题。#31589 - 🐞 修复 Select 组件没有忽略
getRawInputElement属性导致的类型报错问题。#31566 @aoilti - 🐞 修复 Pagination 的
totalBoundaryShowSizeChanger属性类型错误。#31549 @Monty-Ma - 🐞 修复 Skeleton.Avatar
className重复应用的问题。 #31536 @Greatshock - 💄 修复 Form 内
<Input bordered={false} />错误状态下有异常外框样式的问题。#31562 - 🌐 国际化
- 🇹🇷 为 Image 组件中
预览文案增加土耳其语翻译。#31593 @mburakkalkan - 🇰🇷 修复韩语中的错别字。#31575 @chatoo2412
- 🇹🇷 为 Image 组件中
- 🐞 Fix Typography
ellipsiscalculation bug when browser zoomed. #31449 - 💄 Fix Input wrong class when using
prefixCls. #31479 @spawnia - 💄 Fix Input.Password unexpected focus style of error status. #31456
- 💄 Fix Badge color transition issue when toggle visibility. #31458
- 💄 Fix Tabs
tabBarGutterabnormal style behaviors. #31469 - 🌐 Internationalization
- 🇷🇺 Update translation for Image in ru_RU. #31448 @KirillSBarsukov
- 🇩🇰 Add missing translation for Table in da_DK. #31486 @bischmlb
- 🐞 Fix TextArea
stylenot work whenallowClearconfigured. #31391 - 🐞 Fix BackTop not disappear when fade out. #31357
- 💄 Fix Cascader style bug inside Input
addonBefore. #31350 - 💄 Fix DatePicker disabled cell style when customize
dateRender. #31349 - 💄 Fix Select background in disabled. #31430 @DerrickTel
- 💄 Fix alignment between Radio.Group and Button. #31421 @gtb104
- 💄 Fix Input clear icon color in some situation. #31378
- Table
- 🌐 Internationalization
- 🐞 修复 TextArea
style在配置allowClear时失效的问题。#31391 - 🐞 修复 BackTop 隐出后仍然可以交互的问题。#31357
- 💄 修复 Cascader 在 Input
addonBefore中的样式问题。#31350 - 💄 修复 DatePicker 自定义
dateRender时禁用日期样式错误的问题。#31349 - 💄 修复 Select 组件 disabled 时背景颜色错误的问题。#31430 @DerrickTel
- 💄 修复 Radio.Group 和 Button 不对齐的问题。#31421 @gtb104
- 💄 修复 Input 清除按钮某些情况下颜色不对的问题。#31378
- Table
- 🌐 国际化
- 🐞 Fix DatePicker date cell not centered when used in Table. #31306 @Map1en
- 🐞 Fix Desciptions border missing when inside Table. #31307
- 🐞 Fix InputNumber border and interactive handler not matched. #31300 @diyews
- Table
- Form
- 🐞 Fix Form Input outline color under Form validation. #31240
- 🆕 Form add
nameas a default label value invalidationMessages. #30179 @jameslahm
- 💄 Fix Rate focus ring style in Safari. #31241
- 💄 Tweak Select arrow icon position. #31234
- 🐞 Input will not trigger
onBlurwhen click clear icon now which resolve that editable table input cannot be cleared. #31202 - 🐞 Fix Tooltip
arrowPointAtCenter1px shift bug. #31201 - 💄 Fix Menu.Item hover color transition style. #31189
- 🐞 Fix Dropdown.Button don't support
overlayClassNameandoverlayStyle. #31187 - 💄 Adjust Pagination pattern of disabled-active buttons align with Radio style. #31185 @Map1en
- 🐞 Fix the path error when packaging the component style export file in the Windows environment. #31277 @aoxiang78
- 🌐 Add
selectNonefor en_GB locale file. #31264 @Map1en - TypeScript
- 🤖 Adjust Transfer
listStyledefinition to be optional. #31322 @geekrainy
- 🤖 Adjust Transfer
- 🐞 修复 DatePicker 在 Table 内使用时日期未居中的问题。#31306 @Map1en
- 🐞 修复 Descriptions 在 Table 内边框丢失的问题。#31307
- 🐞 修复 InputNumber 边框和交互范围不匹配的问题。#31300 @diyews
- Table
- Form
- 🐞 修复 Form 错误校验状态下 Input 的聚焦外框色。#31240
- 🆕 Form 增加
name作为验证消息label的默认值。#30179 @jameslahm
- 💄 修复 Rate 在 Safari 下聚焦外框的样式。#31241
- 💄 微调 Select 箭头垂直位置。#31234
- 🐞 清除 Input 内容时不再触发
onBlur,修复可编辑表格 Input 无法正确清除内容的问题。#31202 - 🐞 修复 Tooltip
arrowPointAtCenter有一像素偏移的问题。#31201 - 💄 修复 Menu 项 hover 文字色彩的渐变效果。#31189
- 🐞 修复 Dropdown.Button 不支持
overlayClassName和overlayStyle的问题。#31187 - 💄 使 Pagination 选中禁用状态的按钮样式与单选框相应按钮的样式一致。#31185 @Map1en
- 🐞 修复在 Windows 环境下打包组件样式导出文件时路径错误。#31277 @aoxiang78
- 🌐 en_GB 语言文件中增添
selectNone。#31264 @Map1en - TypeScript
- 🤖 调整 Transfer
listStyle属性为可选属性。#31322 @geekrainy
- 🤖 调整 Transfer
- 🐞 Fix Tree loading status not been restored when
loadDatathrow error. #31170 - ⚡️ Optimize Progress animation CPU usage. #31128 @stygian-desolator
- 🐞 Fix Popover arrow cannot show correct color. #31127 @A113n1003
- 🐞 修复 Tree
loadData失败后节点loading效果没有重置的问题。#31170 - ⚡️ 优化 Progress 动画性能,显著降低 CPU 使用率。#31128 @stygian-desolator
- 🐞 修复 Popover 箭头颜色和内容不匹配的问题。#31127 @A113n1003
- 🐞 Fix Menu to import
@ant-design/iconsicon directly to reduce bundle size without tree shaking. #31011 - 🐞 Fix Menu with overflow indicator popup do not follow current theme. #31043
- 🐞 Fix Table styles not using
@{table-prefix-cls}less variable. #30983 - 🐞 Fix Input.Password hover border color in Form validation. #30999
- 🐞 Fix Space with wrap takes additional negative margin style. #31000
- 🐞 Fix Typography warning for non-boolean attribute when set
italicproperty. #31004 - 🐞 Fix Badge not passing markup validation. #31042 @conwnet
- 🐞 修复 Menu 直接导入
@ant-design/icons的方式以减少不使用 Tree Shaking 的打包尺寸。#31011 - 🐞 修复 Menu 过长省略弹层没有跟随
theme配置的问题。#31043 - 🐞 修复 Table 某处样式代码没有使用
@{table-prefix-cls}less 变量可能导致样式覆盖失效的问题。#30983 - 🐞 修复 Input.Password 校验失败时的 hover 边框色。#30999
- 🐞 修复 Space 设置
wrap时额外设置了负margin的样式问题。#31000 - 🐞 修复 Typography 配置
italic时会警告不是一个合法 DOM 属性的问题。#31004 - 🐞 修复 Badge 没有通过 html 标签嵌套校验的问题。#31042 @conwnet
- 🐞 Fix the mistake that tooltip mount on wrong dom, when getPopupContainer of tooltip's props is undefined or null. #30963 @ymrdf
- 🐞 Fix Button lost margin between loading icon and text when children is fragment. #30962
- Table
- 🐞 Table adds warning when
filteredKeysis controlled and not reflecting internal changes. #30882 @wendellhu95 - 🐞 Fix Table fixed column header hover background. #30972
- 🐞 Table adds warning when
- 💄 Adjust Dropdown item content style to make it get more display space. #30911
- 💄 Fix Menu in dark mode open style affect by light mode. #30907
- 🐞 Fix Dropdown/DatePicker/Select/Cascader animation direction after auto adjust position. #30892
- 🌐 Internationalization
- 🇵🇱 Fix Polish locale. #30899 @MichalJani
- 🐞 修复 Tooltip 的 getPopupContainer 属性为 undefined 时,Tooltip 只能挂载到 body 上的问题。#30963 @ymrdf
- 🐞 修复 Button 加载中图标间距丢失的问题。#30962
- Table
- 🐞 Table 增加内外部
filteredKeys状态不一致的提示。#30882 @wendellhu95 - 🐞 修复 Table 固定列上有排序按钮时背景透明的问题。#30972
- 🐞 Table 增加内外部
- 💄 调整 Dropdown 条目宽度,使其展示时尽可能多的利用空间。#30911
- 💄 修复 Menu 暗色模式下,部分样式被亮色模式污染的问题。#30907
- 🐞 修复 Dropdown/DatePicker/Select/Cascader 组件自适应位置后动画方向错误的问题。#30892
- 🌐 国际化
- 🇵🇱 调整 Table 波兰语国际化文案。#30899 @MichalJani
- 🐞 Fix Menu auto overflow with
horizontalmod breaks byfloatelement. #30879 - Typography
- 🐞 Fix Progress
type="circle"throws errorRendered more hooks than during the previous rendersometimes. #30855 - 💄 Optimize Tooltip content width. #30822 @donysukardi
- Table
- 💄 Fix Dropdown Item with link color style and click icon can also trigger link effect now. #30802
- 💄 Remove duplicated css reset styles for render performance. #30660 @renzhao1113
- TypeScript
- 🤖 Adjust Form, Input, Locale, PageHeader component definition. #30776 @qqabcv520
- 🐞 修复 Menu
horizontal模式下的自动省略布局会被float破坏的问题。#30879 - Typography
- 🐞 修复 Progress
type="circle"有时会报错Rendered more hooks than during the previous render的问题。#30855 - 💄 优化 Tooltip 内容的宽度。#30822 @donysukardi
- Table
- 💄 修复 Dropdown 条目包含超链接时的颜色样式,另外现在点击图标也能触发超链接效果。#30802
- 💄 移除重复的通配符 reset 样式以优化样式渲染性能。#30660 @renzhao1113
- TypeScript
- 🤖 调整 Form, Input, Locale, PageHeader 组件类型定义使其更精确。#30776 @qqabcv520
- Menu
- Typography
- Table
- 🐞 Fix Collapse expandIconPosition="right" not working. #30680 @hongdeyuan
- TypeScript
- 🤖 Export TableColumnsType type.#30747 @alwaysloseall
- 🤖 Export TreeDataNode type. #30745 @alwaysloseall
- Menu
- Typography
- Table
- 🐞 修复 Collapse
expandIconPosition="right"未生效的问题。#30680 @hongdeyuan - TypeScript
- 🤖 导出 TableColumnsType 类型。#30747 @alwaysloseall
- 🤖 导出 TreeDataNode 类型。#30745 @alwaysloseall
- 🔥 Refactor Menu to support keyboard access and enhance accessibility experience. #30382
- 💄 Redesign Table filter and sorter buttons to clarify current column. #30651
- Table
- Upload
- Typography
- 🆕 Typography support for italics. #30458 @alwaysloseall
- 🐞 Fix Typography flush issue when use
ellipsis={{ suffix: 'xxx' }}. #30582
- Collapse
- 🐞 Fix Menu.SubMenu icon margin issue when using third party icon libraries. @#30642
- 🐞 Fix Descriptions wrong styling import. @#30602 @lisenenkov
- 🆕 Radio.Group supports
data-*andaria-*props. #30507 - 🆕 Statistic.CountDown support
onChangeevent. #30265 @appleshell - 🆕 PageHeader
breadcrumballows to set as a reactnode. #30019 @gepd - 🆕 ConfigProvider supports dynamic
prefixCls. #30625 - 🐞 Fix Anchor cannot trigger
onChangewhen havegetCurrentAnchorprop. #30601 - 🐞 Fix Notification custom styles don't apply to correct div by
classNamewhen usinguseNotification. #30588 - 🐞 Fix Tabs
tabBarGutternot working. #30545 - 💄 Rewrite Space to use
flexGapinstead ofmarginstyle to deal with layout issues under certain border situations. #30023 - 🐞 Fix Form error style of Input.Group and Cascader. #30640
- 🌐 Internationalization
- 🇷🇴 Added Romanian internationalization. #30419 @stefy
- 🌐 Added Dutch (Netherland 🇳🇱) and Dutch (Belgium 🇧🇪) internationalization. #30389 @lewis-fidlers
- TypeScript
- 🤖 Space TypeScript definition supports HTMLAttribute props. #30590
- 🔥 重构 Menu,支持键盘操作以及无障碍体验优化。#30382
- 💄 重新设计 Table 筛选和排序按钮的位置,使其归属列更明确。#30651
- Table
- Upload
- Typography
- 🆕 Typography 增加斜体字支持。#30458 @alwaysloseall
- 🐞 修复 Typography 配置
ellipsis={{ suffix: 'xxx' }}时换行闪动问题。#30582
- Collapse
- 🐞 修复 Menu.SubMenu 的
icon设置为第三方 icon 库时的样式问题。@#30642 - 🐞 修复 Descriptions 单独引入样式丢失的问题。@#30602 @lisenenkov
- 🆕 Radio.Group 支持
data-*和aria-*属性。#30507 - 🆕 Statistic.CountDown 组件增加
onChange事件。#30265 @appleshell - 🆕 PageHeader 的
breadcrumb中允许设置为组件。#30019 @gepd - 🆕 ConfigProvider 支持动态设置
prefixCls。#30625 - 🐞 修复 Anchor 指定
getCurrentAnchor后无法触发onChange的问题。#30601 - 🐞 修复 Notification
useNotification生成的通知框className作用范围不一致的问题。#30588 - 🐞 修复 Tabs
tabBarGutter属性失效的问题。#30545 - 💄 改写 Space 使用
flexGap以代替margin样式以处理某些边界情况下的布局问题。#30023 - 🐞 修复 Form 校验错误状态下 Input.Group 和 Cascader 边框颜色错误。#30640
- 🌐 国际化
- 🇷🇴 补充罗马尼亚语国际化。#30419 @stefy
- 🌐 补充荷兰语(荷兰 🇳🇱)及荷兰语(比利时 🇧🇪)国际化。#30389 @lewis-fidlers
- TypeScript
- 🤖 Space TypeScript 定义支持 HTMLAttribute 属性。#30590
- 🐞 Fix Upload crashes if
beforeUploadreturnsfalsein IE. #30391 @OleksandrAntonenko1 - Calendar
- Table
- 🐞 Fix Dropdown.Button don't support
mouseEnterDelayandmouseLeaveDelay. #30452 - 💄 Optimize Rate focus behavior from
:focusto:focus-visible. #30451 - 🐞 Fix Steps with progress get cut at the bottom. #30373 @fachreza73
- 🐞 Fix the problem that setting
localein DatePicker cannot override ConfigProviderlocale. #30380 @Map1en - Locale
- TypeScript
- 🤖 Export Tooltip
zIndexprop typescript definition. #30432
- 🤖 Export Tooltip
- 🐞 修复 Upload 在 IE 下,
beforeUpload返回false的报错问题。#30391 @OleksandrAntonenko1 - Calendar
- Table
- 🐞 修复 Dropdown.Button 不支持
mouseEnterDelay和mouseLeaveDelay的问题。#30452 - 💄 优化 Rate 聚焦行为从
:focus到:focus-visible。#30451 - 🐞 修复 Steps 进度条圆圈在底部被切掉的问题。#30373 @fachreza73
- 🐞 修复在 DatePicker 里设置
locale不能覆盖 ConfigProviderlocale的问题。#30380 @Map1en - 国际化
- TypeScript
- 🤖 Tooltip 导出
zIndex类型定义。#30432
- 🤖 Tooltip 导出
- 🐞 Fix Menu.Item width issue when
collapsedWidthis set. #30357 @Map1en - 🐞 Fix Radio check spin style sometime height too long. #30367
- 🐞 Fix Typography.Link open link when trigger
editable. #30354 @John60676 - 🐞 InputNumber clean up input will trigger
onChange(null)now. #30337 - 🐞 Fix Dropdown.Button broken style when inside Modal
footer. #30328 @Map1en - 💄 Replace Anchor default background from
#FFFFFFtotransparent. #30336 - 🌐 Add
ko_KRandja_JPTimePicker.RangePicker placeholder. #30285 @ChalkPE - TypeScript
- 🐞 修复 Menu.Item 设置
collapsedWidth时宽度错误的问题。#30357 @Map1en - 🐞 修复 Radio 选中样式有时高度略长的问题。#30367
- 🐞 修复 Typography.Link 在
editable模式下点击编辑会触发链接跳转的问题。#30354 @John60676 - 🐞 InputNumber 现在清空输入框时会触发
onChange(null)。#30337 - 🐞 修复 Modal
footer里放置 Dropdown.Button 的样式错乱问题。#30328 @Map1en - 💄 替换 Anchor 默认背景颜色从
#FFFFFF改至transparent。#30336 - 🌐 添加 TimePicker.RangePicker
ko_KR和ja_JP的placeholder国际化。#30285 @ChalkPE - TypeScript
- Table
- 🐞 Fix Button
type="link"should not redirect when it isdisabled. #30209 - 🐞 Fix Upload appear errors when url of file is
null. #30215 - 🐞 Fix padding on a SubMenu inside an ItemGroup. #30218 @sebakerckhof
- 🐞 Fix Checkbox & Radio align issue in flex box. #30260
- 🐞 Fix Badge broken animation on spin icon. #30275
- 🐞 Fix Input
disabledhover style in Form. #30302 @Fog3211 - TypeScript
- 🤖 Fix Upload type definition of
beforeUpload. #30213
- 🤖 Fix Upload type definition of
- Table
- 🐞 修复 Button
type="link"添加disabled后仍然可点击跳转的问题。#30209 - 🐞 修复 Upload 当文件 url 为
null时渲染出错问题。#30215 - 🐞 修复 SubMenu 在 ItemGroup 内时的内边距。#30218 @sebakerckhof
- 🐞 修复 Checkbox 和 Radio 在 flex 布局下的对齐问题。#30260
- 🐞 修复 Badge 上放置旋转图标的动画问题。#30275
- 🐞 修复 Form 错误校验状态下 Input
disabled的 hover 样式。#30302 @Fog3211 - TypeScript
- 🤖 修复 Upload 组件
beforeUpload类型声明。#30213
- 🤖 修复 Upload 组件
- 🐞 Fix Tabs
centereddoesn't work. #30106 @kerm1it - 💄 Fix Button
type="link"disabled cursor style missing. #30197 - 🐞 Fix TextArea
onChangeevent returntargetobject is not a HTMLTextArea object. #30124 - 🐞 Files in Upload
fileListwill always have uid. #30087 @jameslahm - 💄 Fix Badge toggle style when
statusiswarning. #30090 @jameslahm - 🌐 Add Image component
previewtext in zh_HK and zh_TW. #30100 @jameslahm - 🌐 add da_DK locale TimePicker.RangePicker. #30128 @themitvp
- TypeScript
- 🤖 Modify LIST_IGNORE field is of string type. #30188 @hello-chinese
- 🐞 修复 Tabs
centered失效问题。#30106 @kerm1it - 💄 修复 Badge
status="warning"时切换样式异常的问题。#30090 @jameslahm - 💄 修复 Button 为
type="link"时禁用手型丢失的问题。#30197 - 🐞 修复 TextArea
onChange事件返回target对象不是 HTMLTextArea 对象的问题。#30124 - 🐞 Upload
fileList中的文件将总是有 uid。#30087 @jameslahm - 🌐 补充遗漏的 TimePicker 丹麦语国际化。#30128 @themitvp
- 🌐 增加 Image 组件
preview繁體文案。#30100 @jameslahm - TypeScript
- 🤖 修改 LIST_IGNORE 字段为 string 类型。#30188 @hello-chinese
- 🐞 Fix Descriptions
labelStylecontentStyleunsuccessful whenlayout="vertical"andbordered={true}. #29942 - 🐞 Upload won't crash when
fileListis a frozen object now. #29944 - 🐞 Fix Tabs cannot scroll when vertical mode in Safari 13.1. #29983
- 🐞 Fix Button throws
Cannot read property 'removeChild' of nullin some situation. #29961 @JohnDeved - 🐞 Fix Transfer button's box-shadow getting cut. #30030 @jinchaofs
- 🐞 Fix CheckBox.Group cannot work with Form of
@ant-design/compatible. #30039 @jameslahm - 🐞 Fix PageHeader
<Tabs type="card" />padding missing. #29819 - Table
- 💄 Optimize Table pagination style when narrow width. #30065
- 🐞 Fix Table
@table-border-radius-basenot being applied to.ant-tablenode. #29966 @VoliBearCat
- 🐞 Fix Input.TextArea
maxLengthdoes not work in control mode. #30070 - TypeScript
- Locale
- 🐞 修复 Descriptions
labelStylecontentStyle当设置layout="vertical"和bordered={true}时不生效的问题。#29942 - 🐞 Upload 的
fileList为冻结对象时不再崩溃。#29944 - 🐞 修复 Tabs 在 Safari 13.1 垂直模式下不能滚动问题。#29983
- 🐞 修复点击 Button 时有时会报错
Cannot read property 'removeChild' of null的问题。#29961 @JohnDeved - 🐞 修复 Transfer 按钮区域 box-shadow 被截断的问题。#30030 @jinchaofs
- 🐞 修复 CheckBox.Group 和
@ant-design/compatible的 Form 无法一起工作的问题。#30039 @jameslahm - 🐞 修复 PageHeader 下卡片类型
tabs样式问题。#29819 - Table
- 💄 优化 Table 分页器在狭窄空间的样式问题。#30065
- 🐞 修复 Table
@table-border-radius-base没有被应用到.ant-table节点上。#29966 @VoliBearCat
- 🐞 修复 Input.TextArea
maxLength在受控时无效的问题。#30070 - TypeScript
- 国际化
- 🆕 Table now supports
rowSelection.defaultSelectedRowKeys. #29879 @keelii - 🐞 Fix TextArea display value will be cut by
maxLengthwhen in controlled. FixonCompositionEndnot trigger when input exceedmaxLength. Fix emoji count not align withmaxLength&showCount. #29867 - 🐞 Fix Button click effect style not working in shadow root. #29897 @JohnDeved
- Pagination
- 🐞 Fix Steps progress item getting cut at edge. #29893
- 🛠 Prevent Upload drop event bubbling to handle nest case. #29832 @jojonarte
- 🐞 Apply ConfigProvider
componentSizeon Tabs component. #29844 @bn3t - 💄 Remove Tag hover style since it do not have click interactive. #29874
- 🇫🇷 Add missing
fr_FRtranslations. #29839 @bn3t - 🇸🇪 Add missing
sv_SEtranslations. #29896 @isakol
- 🆕 Table 新增
rowSelection.defaultSelectedRowKeys支持。#29879 @keelii - 🐞 修复 TextArea 受控时展示值会被
maxLength截取的问题;修复maxLength下超出部分无法触发onCompositionEnd事件的问题;修复使用 emoji 时maxLength和showCount计数逻辑不一致的问题。#29867 - 🐞 修复 Button 点击效果在 Shadow Root 下不生效的问题。#29897 @JohnDeved
- Pagination
- 🐞 修复 Steps 进度在边缘会被截断的问题。#29893
- 🛠 Upload 默认阻止拖拽冒泡事件以支持嵌套结构。#29832 @jojonarte
- 🐞 ConfigProvider 的
componentSize现在也会作用到 Tabs 上。#29844 @bn3t - 💄 移除 Tag 鼠标悬浮样式以避免其误以为是可点击交互组件。#29874
- 🇫🇷 补充
fr_FR语言缺失内容。#29839 @bn3t - 🇸🇪 补充
sv_SE语言缺失内容。#29896 @isakol
- Upload
- 🆕 Upload
onChangeto change back to the original behavior (before Upload false returns the original file, and the rest of the scene returns the encapsulated object). Now you can always get the original file viaonChange.info.originFileObj. For future upgrades, please use this method to access the original text first. #29737 - 🐞 Fix Upload
onChangeparamsfilecan notcloneDeepby lodash. #29718 - 🐞 Fix Upload crash when
fileListisnull. #29702 - 💄 Upload motion add 2s deadline to avoid developer manually remove motion makes hanging. #29686
- 🆕 Upload
- 🐞 Fix the bug that Modal footer buttons not spaced properly when using href in button. #29681 @n0ruSh
- 🆕 Add parent class for different Notification types. #29634 @n0ruSh
- 🆕 Typography editable supports
onCancelandonEnd. #29615 @jueinin - Tabs
- 🐞 Fix Tabs
centeredprop is not actually center. #29495 @jinchaofs - 🆕 Tabs support
moreIcon. #29744 @tianyuan233
- 🐞 Fix Tabs
- 🐞 Button with
htmlType='reset'will reset all form fileds. #29752 @jueinin - 🐞 Fix AutoComplete custom input
classNamemissing. #29725 - 💄 Fix console warning when setting
marginstyle on Row. #29688 - 💄 Fix the error style where the
disabledInput has affix elements. #29670 - 💄 Optimize the cursor style of Form.Item tooltip info. #29650
- 🇨🇿 Fix typo in cs_CZ locale. #29675 @jvaclavik
- 🇨🇦 Add fr_CA locale. #29748 @liufenghua808
- Upload
- 🆕 为不同的 Notification 类型添加相应默认类名。#29634 @n0ruSh
- 🆕 Typography editable 新增
onCancel和onEnd回调。#29615 @jueinin - Tabs
- 🆕 Tabs 新增
moreIcon参数。#29744 @tianyuan233 - 🐞 修复 Tabs 设置
centered后居中位置偏移。#29495 @jinchaofs
- 🆕 Tabs 新增
- 🐞 Form 表单现在可以自动响应 reset 事件。#29752 @jueinin
- 🐞 修复 AutoComplete 自定义 input 上
className属性丢失的问题。#29725 - 💄 修复 Row 设置
margin样式时控制台警告的问题。#29688 - 🐞 修复 Modal 页脚里使用 href 按钮导致的间距丢失问题。#29681 @n0ruSh
- 💄 修复 Input 组件配置附件元素时禁用样式异常的问题。#29670
- 💄 优化 Form.Item 提示信息的鼠标显示样式。#29650
- 🇨🇿 修复 cs_CZ 语言环境中的错字。 #29675 @jvaclavik
- 🇨🇦 添加 fr_CA 语言。#29748 @liufenghua808
- 🐞 Fix
message.configwithprefixClsmissing animation style. #29574 - 🐞 Fix Tooltip is not interactive when
visibleistrueunder some situation. #29555 - 🐞 Fix ConfigProvider within multiple page switch will lose locale issue. #29570
- 🐞 Fix Modal with hooks cannot call
updateordestroybefore render. #29584 - 🐞 Fix Grid throw error when client support flexGap but ssr not support. #29586
- 🐞 Fix Select caret position when
mode="tags"andsize="small". #29561 - 🐞 Fix Carousel
dotPositionmakespauseOnHovernot working. #29587 @zgoby - 🐞 Fix Steps
responsiveprop warning. #29599 - 🐞 Fix Upload
onChangeparam offile.originFileObjreturn nest Proxy object. #29614 - 🐞 Fix Descriptions under Table will not have 100% width. #29630
- TypeScript
- 🤖 Fix Drawer type declaration of
contentWrapperStyle. #29571
- 🤖 Fix Drawer type declaration of
- 🐞 修复
message.config配置prefixCls时丢失淡入淡出动画的问题。#29574 - 🐞 修复 Tooltip 在某些情况下设置
visible为true却无法交互的问题。#29555 - 🐞 修复多页面使用 ConfigProvider 切换时
locale会丢失的问题。#29570 - 🐞 修复 Modal 的 hooks 在渲染前调用
update与destroy无效的问题。#29584 - 🐞 修复 Grid ssr 时报错
Prop style did not match。#29586 - 🐞 修复小号 Select
tags模式的光标错位问题。#29561 - 🐞 修复 Carousel
dotPosition导致pauseOnHover失效的问题。#29587 @zgoby - 🐞 修复 Steps 使用
responsive时控制台抛出警告的问题。#29599 - 🐞 修复 Upload
onChange参数file.originFileObj返回嵌套 Proxy 对象的问题。#29614 - 🐞 修复 Descriptions 在 Table 下没有 100% 宽度的问题。#29630
- TypeScript
- 🤖 修复 Drawer
contentWrapperStyle属性类型声明。#29571
- 🤖 修复 Drawer
- 🔥 InputNumber support
stringModefor high precisionstep.valuein control out of range shows warning style instead of changing it. Dynamic updatemin&maxwill not triggeronChangeanymore. #29373 - 🆕 Upload support
beforeUploadreturnUpload.LIST_IGNOREto skip item added in UploadList. #29474 - 🆕 Image support config motion name. #29394 @crazyair
- ConfigProvider
- 🆕 Form.List nest multiple level Form.Item support
preserveprop. #29267 - 🆕 Drawer support
contentWrapperStyle. #29219 @kerm1it - 🆕 Layout.Sider added ref support. #29169 @qramilq
- 🐞 Fix Table
pagination.currentdisplay error when result of filter is empty. #29386 @jinchaofs - 🐞 Fix Anchor throws error when
targetdon't return a html element. #29523 @bcd337 - 🐞 Fix Steps with small size that icon shift up
1px. #29484 - Select
- Dropdown
- 🐞 Fix tree-shaking warning on development builds. #29378
- 🇰🇷 Fix TimePicker Korean locale. #29540
- TypeScript
- 🔥 InputNumber 添加
stringMode属性以支持高精度step。value受控并超出范围时展示警告样式而不是强制改值。动态修改min和max不再触发onChange事件。#29373 - 🆕 Upload 支持
beforeUpload返回Upload.LIST_IGNORE时不将文件展示在列表中。#29474 - 🆕 Image 支持配置动画相关类型。#29394 @crazyair
- ConfigProvider
- 🆕 Form.List 嵌套多层 Form.Item 支持
preserve属性。#29267 - 🆕 Drawer 支持
contentWrapperStyle。#29219 @kerm1it - 🆕 Layout.Sider 組件添加了
ref支持。#29169 @qramilq - 🐞 修复 Table 当过滤结果为空时,
pagination.current展示错误。#29386 @jinchaofs - 🐞 修复 Anchor
target不是 html 元素时会出错的问题。#29523 @bcd337 - 🐞 修复 Steps 小尺寸时图标偏上的问题。#29484
- Select
- Dropdown
- 🐞 Fix 在本地开发时会报 tree-shaking 警告信息的问题。#29378
- 🇰🇷 修复 TimePicker 本地化。#29540
- TypeScript
- 🛠 Refactor Drawer with React hooks. #29229
- 🐞 Fix Table pagination not disappear when
pagination.positionis['none', 'none']. #29256 @mumiao - 🐞 Fix TextArea
showCountshould not be interactive. #29245 - 🐞 Fix abnormal background color for
multipleanddisabledSelect in dark. #29242 - ⚡️ Optimize Slider align performance of tooltip. #29308 @kerm1it
- ⚡️ Upgrade
@ant-design/colorsto 6.x to reduce gzipped bundle size1KB. #29307 @07akioni - 🇷🇺 Add
ru_RUlocale text for Image. #29271 @mumiao - 🇮🇷 Add
fa_IRlocale text for DatePicker, Form, Table, TimePicker and Transfer. #29232 @amiralitaheri - TypeScript
- 🛠 使用 React hooks 重构 Drawer。#29229
- 🐞 修复 Table 的
pagination. position为['none', 'none']时分页器仍然展示的问题。#29256 @mumiao - 🐞 修复 TextArea
showCount字数会遮挡 Form.Itemextra的问题。#29245 - 🐞 修复多选 Select 在暗黑模式下禁用的背景颜色异常的问题。#29242
- ⚡️ 优化 Slider 提示的对齐性能。#29308 @kerm1it
- ⚡️ 升级
@ant-design/colors依赖到 6.x,减少 gzipped 包体积1KB。#29307 @07akioni - 🇷🇺 为 Image 组件添加
ru_RU俄语翻译。#29271 @mumiao - 🇮🇷 为 DatePicker、Form、Table、TimePicker 和 Transfer 组件添加
fa_IR波斯语翻译。#29232 @amiralitaheri - TypeScript
- 🆕 Image.PreviewGroup add
currentprop. #29153 - InputNumber
- 💄 Darken Tag text color to enhance readability. #29144
- 💄 Fix Row with vertical
gutterprovides additionalmargin-bottomstyle. #29059 - 🐞 Fix Collapse header disappers with delay. #29158
- 🐞 Fix the problem that
showCountdisplay data is incorrect when TextArea input emoji. #29057 @HomyeeKing - 📦 Optimize ConfigProvider to avoid import all icons when tree shaking is not enabled. #29045
- 🌐 Add en-GB missing translations for table. #29131 @eberjoe
- Table
- 🆕 Table
showSorterTooltipnow could be a object for more configuration. #29002 @harrisoff - ⚡️ Optimize calling sequence of
onChangeandonSelectAllinrowSelectionof Table. #29079 @kerm1it
- 🆕 Table
- Badge
- TypeScript
- 🤖 Table TS definition update
dataSourcetoreadonly. #29084
- 🤖 Table TS definition update
- Less
- 🆕 Image.PreviewGroup 添加
current属性支持受控模式。#29153 - InputNumber
- 💄 加深 Tag 文字颜色以提升可读性。#29144
- 💄 修复 Row 配置垂直
gutter时会额外添加margin-bottom样式的问题。#29059 - 🐞 修复 Collapse 标题区域隐藏延迟的问题。#29158
- 🐞 修复 TextArea 输入 emoji 时
showCount展示数据不正确的问题。#29057 @HomyeeKing - 📦 优化 ConfigProvider 在未开启 tree shaking 的项目中引入所有图标的问题。#29045
- 🇬🇧 为表格添加
en-GB翻译。#29131 @eberjoe - Badge
- Table
- 🆕 Table
showSorterTooltip属性支持 Tooltip 的配置。#29002 @harrisoff - ⚡️ 优化 Table
rowSelection中onChange和onSelectAll的调用顺序。#29079 @kerm1it
- 🆕 Table
- TypeScript
- 🤖 更新 Table TypeScript 定义
dataSource至readonly。#29084
- 🤖 更新 Table TypeScript 定义
- Less
- 💄 Layout inline sub menu now has grey background. #28842
- 🆕 PageHeader supports
breadcrumbRender. #28999 - 🆕 Typography
ellipsissupporttooltipto customize tooltip when ellipsis. #28821 - Image
- 🆕 Image supports
preview.maskClassName. #28681 - 🐞 Fix preview image will move after click it. react-component/image#61 @simonwong
- 🐞 Fix Image
placeholderdisappear issue. #28953 - 🐞 Fix multiple Image.PreviewGroup contain same image. #28881
- 🆕 Image supports
- ConfigProvider
- 💄 Tweak TreeSelect filter highlight color. #28984
- 💄 Fix Select item align style with custom
tagRender. #28962 - Form
- 🐞 Fix Button click effect style not working in shadow root. #28995 @rinick
- 🐞 Fix Table custom filter menu cannot close bug. #28688 @alekye
- Less
- RTL
- TypeScript
- 🤖 Expose interfaces and types from default entry of antd. #28963
- 🤖 Improve Input/Skeleton
styledefinition. #28966 @yingpengsha
- 💄 Layout 内联子表单添加背景颜色以更好的区分层级。#28842
- 🆕 PageHeader 支持
breadcrumbRender属性。#28999 - 🆕 Typography
ellipsis属性添加tooltip支持以自定义收缩时的提示信息。#28821 - Image
- 🆕 Image 支持配置
preview.maskClassName。#28681 - 🐞 修复预览图片会跟随鼠标移动的问题。react-component/image#61 @simonwong
- 🐞 修复 Image
placeholder不显示的问题。#28953 - 🐞 修复多个 Image.PreviewGroup 之间图片互串的问题。#28881
- 🆕 Image 支持配置
- ConfigProvider
- ConfigProvider
- 💄 调整 TreeSelect 搜索高亮条目的颜色。#28984
- 💄 修复 Select 自定义
tagRender时不对齐的问题。#28962 - Form
- 🐞 修复 Button 点击效果在 Shadow Root 下不生效的问题。#28995 @rinick
- 🐞 修复 Table 自定义筛选器时未正确关闭菜单的问题。#28688 @alekye
- Less
- RTL
- TypeScript
- 🤖 从 antd 默认入口中直接暴露 TypeScript 定义。#28963
- 🤖 优化 Input/Skeleton 组件的
style定义。#28966 @yingpengsha
- 🐞 Fix Button not adapting to the
@btn-border-widthwhen loading. #28886 @jjanssen - Table
- Transfer
- Upload
- 🐞 Fix Slider
getPopupContainerprop has no default valuedocument.body. #28865 @rinick - 🐞 Fix Empty description validateDOMNesting warning. #28862
- 💄 Fix Tree
filterTreeNodemissing style. #28866 - 💄 fix Badge
dotwidth issue whensize="small". #28854
- 🛠 Optimize Select search performance. #28715 @kerm1it
- 🐞 Fix Slider throw
forcePopupAlignerror when unmounted. #28699 @Kerumen - 🐞 Fix Transfer throws
Cannot add property key, object is not extensiblewhendataSourceis immutable. #28675 - 🐞 Fix Notification box closing height issue generated by
useNotification. #28660 - 🐞 Fix Drawer and Modal disabled scrollbar after closing. #28749
- 🛠 Reduce gzipped bundle size
2kB. #28678 - TypeScript
- 🤖 InputNumber
onChangesupportnullasvalue. #28769 @lengfangbing
- 🤖 InputNumber
- 🛠 优化 Select 搜索性能。#28715 @kerm1it
- 🐞 修复 Slider 在卸载时报
forcePopupAlign错的问题。#28699 @Kerumen - 🐞 修复 Transfer
dataSource为 immutable 数据时报Cannot add property key, object is not extensible的问题。#28675 - 🐞 修复 Notification 使用
useNotification生成的提示框关闭时高度跳动的问题。#28660 - 🐞 修复 Drawer 和 Modal 关闭后滚动条被禁用的问题。#28749
- 🛠 优化包体积 gzipped
2kB。#28678 - TypeScript
- 🤖 InputNumber
onChange的value的类型增加null。#28769 @lengfangbing
- 🤖 InputNumber
🎉 Happy New Year!
- 🐞 Fix the compatibility issue of less 4.0.0.
- 🐞 Fix the problem of cursor jumping when Typography is editable. #28545
- 🐞 Fix the problem that repeatedly clicking on expanded nodes when Tree dynamically loads data will lead to wrong status.#28349 @liuchao233
- 🐞 Fix the problem that TreeSelect & Select cannot open the dropdown menu when it's
searchValuehas value. #28574 - 🐞 Fix Dropdown disabled menu item link style. #28578
- 🐞 Fix Progress
stepsdisplay accuracy issue. #28530 @gaoryrt - 🐞 Fix Radio align issue in Chrome. #28616
- 🐞 Fix Collapse arrow position not aligned when change @collapse-header-padding variable. #28507
- 💄 Optimize the white border style of Card images. #28624
- Input
- Modal
- 🆕 Modal.method adds an
afterClosecallback that will be triggered after the Modal is completely closed. #28053 @liuchao233 - 🐞 Fix the problem that Modal can be dragged outside the viewport. #28438 @mumiao
- 🆕 Modal.method adds an
- Table
- 🐞 Fix the problem that Table childrenColumnName and checkStrictly={false} cannot be used together. #28568
- 🐞 Fix Table selection abnormal behavior when inside Checkbox.Group. #28576
- 🐞 Fix the problem that the sticky header style is messy when there is no data. #28323
- 🐞 Fix the problem that
onChangelistener always receives empty list asfiltersparameter if use a customfilterDropdown. #28627 @Meowu - 🆕 Adds
expandable.columnWidthto customize the width of the expanded column. #28249 - 🆕 Adds clear all option from selection. #28580 @n0ruSh
- Image
- 🐞 Fix the misalignment issue of Image component.#28439 @MoeCasts
- 💄 Adds preview style. #28235
- 🆕 Adds functionality for zoom in\out by sliding the wheel. #react-component/image/52 @OmriGM
- 🆕 Support separate settings url for preview images. #react-component/image/56 @wangcch
- Upload
- 🐞 Fix a warning even when not using
transformFile. #28455 @YanYuanFE - 🐞 Fix Upload
fileListcannot work with data that is produced by immer. #28636 @mumiao - 🆕 Upload adds a new
maxCountproperty to limit the number of files. #28367
- 🐞 Fix a warning even when not using
- DatePicker
- 🚀 Optimize the logic of
disabledDate. #react-component/picker/191 - 🆕 Adds
onKeyDowncallback. #react-component/picker/138 @conquera99
- 🚀 Optimize the logic of
- Select
- 🐞 Fix issue where
optionsupdate does not trigger the selection box content update. #react-component/select/580 @jameslahm - 🐞 Fix the problem that the dropdown box cannot be opened after clicking the option with
tagRender. react-component/select/582 @mumiao - 🐞 Fix the problem that
tokenSeparatorscan not recognize the separator correctly under Chinese input method. #28564 - 🆕 Adds
scrollToto theref. #react-component/select/565 - 🆕
maxTagCountsupportsresponsiveinmultiplemode. #28520
- 🐞 Fix issue where
- 🆕 Slider add a new
range.draggableTrackprop. #28592 - 🆕 Descriptions support setting
labelStyle&contentStyledirectly. #28613 - 🆕 message added a new
onClickcallback that will be triggered when the message is clicked. #28148 @ZeroTo0ne - 🆕 The
scrollToFirstErrorproperty of the Form adds support for setting the position for scrolling. #28272 @vouis - 🆕 Steps support reponsive which allows to turn off reponsive change. #28459
- 🌐 Localization
- 🇭🇷 Improved Croatian language support. #28458
- TypeScript
- ⚒️ Fix
titletype of PageHeader. #28374 @zhukovvandrei
- ⚒️ Fix
🎉 新年快乐!
- 🐞 修复不兼容 less 4.0.0 的问题。
- 🐞 修复 Typography 可编辑态光标跳动的问题。#28545
- 🐞 修复 Tree 动态加载数据时重复点击展开节点会导致状态错误的问题。#28349 @liuchao233
- 🐞 修复 TreeSelect & Select
searchValue在受控且有值时,下拉菜单无法打开的问题。#28574 - 🐞 修复 Dropdown 禁用菜单项内的链接样式。#28578
- 🐞 修复 Progress
steps显示精度问题。#28530 @gaoryrt - 🐞 修复 Radio 在 Chrome 下的对齐样式问题。#28616
- 🐞 修复 Collapse 修改
@collapse-header-padding时箭头位置不居中的问题。#28507 - 💄 优化 Card 图片白边样式。#28624
- Input
- Modal
- 🐞 修复 Modal 可以被拖拽到窗口外的问题。#28438 @mumiao
- 🆕 Modal.method 新增
afterClose回调,会在 Modal 完全关闭后触发。#28053 @liuchao233
- Table
- Image
- 🐞 修复错位问题。#28439 @MoeCasts
- 💄 添加预览样式。#28235
- 🆕 支持使用鼠标滚轮缩放图片。#react-component/image/52 @OmriGM
- 🆕 支持单独设置预览图片。#react-component/image/56 @wangcch
- Upload
- 🐞 修复不使用
transformFile时也会有警告的问题。#28455 @YanYuanFE - 🐞 修复 Upload 的
fileList和 immer 数据配合使用报错问题。#28636 @mumiao - 🆕 Upload 新增
maxCount属性以限制文件数量。#28367
- 🐞 修复不使用
- DatePicker
- 🚀 优化
disabledDate逻辑。#react-component/picker/191 - 🆕 新增
onKeyDown回调。#react-component/picker/138 @conquera99
- 🚀 优化
- Select
- 🐞 修复
options更新不会触发选择框内容更新的问题。#react-component/select/580 @jameslahm - 🐞 修复使用
tagRender后点击选项无法打开下拉框的问题。react-component/select/582 @mumiao - 🐞 修复
tokenSeparators在中文输入法下无法正确识别分隔符的问题。#28564 - 🆕
ref新增scrollTo方法。#react-component/select/565 - 🆕 多选模式下
maxTagCount支持responsive。#28520
- 🐞 修复
- 🆕 Slider 新增 range.draggableTrack 以支持范围刻度整体可拖拽。#28592
- 🆕
message新增onClick回调,会在消息被点击时触发。#28148 @ZeroTo0ne - 🆕 Descriptions 上可以统一设置
labelStyle和contentStyle。 #28613 - 🆕 Form 的
scrollToFirstError属性支持设置滚动的位置参数。#28272 @vouis - 🆕 Steps 新增 reponsive 属性用于关闭响应式样式。#28459
- 🌐 国际化
- 🇭🇷 改进克罗地亚语的支持。#28458
- TypeScript
- 🛠 修复 PageHeader 的
title的类型问题。#28374 @zhukovvandrei
- 🛠 修复 PageHeader 的
- 🐞 Fix Menu delayed hover color transition in Chrome. #28372
- 🐞 Fix Tree node connection line position problem. #28354 @maksnester
- 💄 Fix Table fixed column
z-indexwhich makes Dropdown not showing on top. #28346 - TypeScript
- 🤖 Fix
message.loading()return type. #28362
- 🤖 Fix
- 🐞 修复 Menu 在 Chrome 下 hover 色延迟变化的问题。#28372
- 🐞 修复 Tree 的节点连接线在滚动时位置偏移的问题。#28354 @maksnester
- 💄 修复 Table 固定列
z-index样式让 Dropdown 无法展示在最顶层的问题。#28346 - TypeScript
- 🤖 修复
message.loading()返回函数的定义。#28362
- 🤖 修复
- 💄 Fix Badge standalone motion blink when show/hide. #28240
- 🐞 Fix Table
filtersnot support number and boolean type. #28220 @Meowu - 💄 Remove Tree hover background color when
selectable={false}. #28269 - 💄 Fix Statistics decimal font size. #28223
- TypeScript
- 🤖 Fix Tree
draggableTS definition. #28262 @DavidSichau - 🤖 Fix Image.PreviewGroup TS definition. #28263 @liuchao233
- 🤖 Improve
message().thenTS definition. #28304 - 🤖 Fix TransferProps
titlesto ReactNode. #28326 @jacklee814
- 🤖 Fix Tree
- 💄 修复 Badge 独立使用时展示/收起动画跳动的问题。#28240
- 🐞 修复 Table
filters不支持数字和 boolean 类型的问题。#28220 @Meowu - 💄 修复 Tree 当
selectable={false}时节点依然有 hover 背景色的问题。#28269 - 💄 修复 Statistics 小数点字体大小问题。#28223
- TypeScript
- 🤖 修复 Tree
draggable支持函数的定义。#28262 @DavidSichau - 🤖 修复 Image.PreviewGroup 类型。#28263 @liuchao233
- 🤖 优化
message().then的 TS 定义。#28304 - 🤖 修正 TransferProps 的
titles类型为 ReactNode。#28326 @jacklee814
- 🤖 修复 Tree
- Table
- Dropdown
- 🐞 Fix
overlayInnerStylenot work in Tooltip. #27682 @jasepellerin - 💄 Fix Layout overflow style for Table
sticky. #28176 - 💄 Fix Steps
progressDotbroken style of first step. #28126 @ZeroTo0ne - 💄 Optimize Modal
useModalperformance by isolating elements render to avoid the component to rerender. #28122 @TotooriaHyperion - 💄 Fix TextArea showCount style while using with Form. #28130 @AlanCutFlim
- 💄 Fix Tag cursor style in Tree node. #28219
- 🛠 Remove
@ant-design/css-animationfor better bundle size. #28201 - RTL
- 💄 Fix the style of Alert. #28108 @jesse3mh9a
- 🐞 Fix Tree
dropIndicatorstyle of defaultltrdirection. #28150 @kagawagao
- TypeScript
- Table
- Dropdown
- 🐞 修复 Tooltip
overlayInnerStyle属性无效。#27682 @jasepellerin - 💄 修复 Layout 内部使用 Table
sticky属性失效的问题。#28176 - 💄 修复 Steps
progressDot第一个步骤点错位的问题。#28126 @ZeroTo0ne - 💄 优化 Modal
useModal性能,避免元素渲染导致组件渲染。#28122 @TotooriaHyperion - 💄 修复 TextArea 结合 Form 使用时的字数提示样式问题。#28130 @AlanCutFlim
- 💄 修复 Tree 里使用 Tag 时鼠标手型样式问题。#28219
- 🛠 移除对
@ant-design/css-animation的依赖以优化包体积。#28201 - RTL
- 💄 修复 Alert rtl 样式。#28108 @jesse3mh9a
- 🐞 修复 Tree
dropIndicator默认 ltr 方向下的样式问题。#28150 @kagawagao
- TypeScript
- Modal
- 🆕 Modal support
focusTriggerAfterCloseto disable auto focus back. #27985 @molokovev - 🐞 Fix Modal hooks not trigger
onCancel. #28063 @JuniorTour - 🐞 Fix Modal sometime not popup from the click position. #28037
- 🆕 Support
closableandcloseIconapi for Modal.method. #27909 @MrHeer
- 🆕 Modal support
- 💄 Reduce Table selection column width to
32px. #28073 - Image
- Collapse
- 🐞 Fix Cascader bug that empty data can be selected. #28062 @n0ruSh
- 🆕 Alert support
actionprop. #25892 @jesse3mh9a - 🔥 Tree refactor drag behavior. Add
dropIndicatorRenderandallowDropprop. #26462 @07akioni - 🆕 Space support
wrapfor auto break line. #27910 - 🆕 Descriptions.Item support
labelStyle&contentStyleprops. #27897 - 🆕 Form.List support
initialValue. #27872 - 🆕 Menu supports
expandIcon, and optimize default expand icon style. #27565 - 🆕 Input and TextArea add
setSelectionRangeofref. #27584 @appleshell - 🆕 Select support
filterSortto order the filtered options. #27523 @n0ruSh - 🇰🇿 Add Kazakh locale. #27589 @nodkz
- Modal
- 🆕 Modal 支持
focusTriggerAfterClose以关闭自动恢复焦点的功能。#27985 @molokovev - 🐞 修复 Modal hooks 没有触发
onCancel的问题。#28063 @JuniorTour - 🐞 修复 Modal 有时不在点击位置弹出的问题。#28037
- 🆕 Modal.method 支持
closable和closeIcon。#27909 @MrHeer
- 🆕 Modal 支持
- 💄 减少 Table 选中列宽度至
32px。#28073 - Image
- Collapse
- 🐞 修复 Cascader 空数据可以被选择的问题。#28062 @n0ruSh
- 🆕 Alert 支持
action属性。#25892 @jesse3mh9a - 🔥 Tree 重构拖拽行为,增加
dropIndicatorRender和allowDrop属性。#26462 @07akioni - 🆕 Space 增加
wrap属性以配置自动换行。#27910 - 🆕 Descriptions.Item 支持
labelStyle和contentStyle属性。#27897 - 🆕 Form.List 支持
initialValue。#27872 - 🆕 Menu 新增
expandIcon属性以支持自定义展开图标,同时优化了默认图标的样式。#27565 - 🆕 Input 和 TextArea 组件的
ref属性增加setSelectionRange方法。#27584 @appleshell - 🆕 Select 组件新增
filterSort属性以支持筛选模式下选项排序功能。#27523 @n0ruSh - 🇰🇿 新增哈萨克语。#27589 @nodkz
- 🐞 Fix Badge style blink when mounted. #28003
- 💄 Reduce Modal style size. #27998
- 🐞 Fix Layout.Sider can not collapse when
width='0'. #28000 - 🐞 Fix Menu style when using none Ant Design icons. #27983
- Input
- 🐞 Fix Typography.Link clicking copy button will redirect. #27982
- 🐞 Fix Carousel throws error
Unable to preventDefault inside passive event listener. #27957 - 🌐 Improve data picker locale for
en_GBandzh_TW. #28016 @abz53378 - RTL
- TypeScript
- 🤖 Fix Upload
beforeUploaddefinition. #27946 @bingling0084 - 🤖 Provided a separate type definition for Carousel reference. #27935 @ocassio
- 🤖 Fix Upload
- 🐞 修复 Badge 在初始化时样式抖动的问题。#28003
- 💄 优化 Modal 相关样式的冗余。#27998
- 🐞 修复 Layout.Sider 在
width='0'时不能展开的问题。#28000 - 🐞 修复 Menu 使用非 Ant Design 图标时的样式问题。#27983
- Input
- 🐞 修复 Typography.Link 点击复制按钮会触发链接跳转的问题。#27982
- 🐞 修复 Carousel
Unable to preventDefault inside passive event listener报错问题。#27957 - 🌐 改进 DatePicker 的
en_GB与zh_TW本地化支持。#28016 @abz53378 - RTL
- TypeScript
- 🤖 修复 Upload 的
beforeUpload定义问题。#27946 @bingling0084 - 🤖 为 Carousel 提供单独的 ref 定义。#27935 @ocassio
- 🤖 修复 Upload 的
- 🐞 Fix that Spin can't render children
0. #27839 @liuchao233 - 💄 Fix the RangePicker panel interaction style. #27894
- 💄 Fix Switch
loadingstyle. #27860 - 💄 Optimize Skeleton color to fit dark background. #27836
- 💄 Adjust Statistic
deciamlfont size. #27884 - 🛠 Refactor Checkbox、Layout.Sider and TextArea with React hooks. #27739 #27719 #27693
- 🛠 Refactor BackTop、Badge、UploadList with
rc-motioninstead ofrc-animate. #27840 #27848 #27923 - RTL
- 💄 Fix the style of the Tree switch icon in RTL mode. #27876
- TypeScript
- 🐞 修复 Spin 组件不能渲染
0的问题。#27839 @liuchao233 - 💄 修复 RangePicker 面板的交互样式。#27894
- 💄 修复 Switch
loading的样式问题。#27860 - 💄 优化 Skeleton 默认色彩使其能放置在暗色背景中。#27836
- 💄 调整 Statistic 小数的字体大小。#27884
- 🛠 使用 React hooks 重构 Checkbox、Layout.Sider 和 TextArea。#27739 #27719 #27693
- 🛠 使用
rc-motion动画库代替rc-animate重构 BackTop、Badge、UploadList。#27840 #27848 #27923 - RTL
- 💄 修复 Tree 切换按钮在 RTL 模式下的样式问题。#27876
- TypeScript
- 💄 Fix Button and Form loading style. #27794
- 🐞 Fix Modal.confirm locale missing after close it. #27797
- 🐞 Fix Button/Anchor throws
findDOMNode is deprecatedin React 17. #27755 @hosseinmd
- 💄 修复 Button 和 Form 校验 loading 样式错误的问题。#27794
- 🐞 修复 Modal.confirm 关闭时国际化丢失的问题。#27797
- 🐞 修复 Button 和 Anchor 等组件在 React 17 下
findDOMNode is deprecated的警告。#27755 @hosseinmd
- 🐞 Fixed the problem that form behaves abnormally when namepath is an array.. #27664
- 💄 Fix DateRangePicker hover effect position when hover over start or end cell of in range row. #27731 @AlanCutFlim
- 🐞 Fix Select
mode=tagscannot input whitespace normally. #27726 @baxtergu - 💄 Fix the mouse style when Typography.Link is
disabled. #27734 - 🐞 Fix Menu dropdown animation start twice when appear. #27663
- 💄 Fix Avatar style when
srcis Image component. #27691 - 💄 Fix Select multiple cursor position. #27689
- 🐞 Fix TextArea emoji been cut when enable
maxLength. #27679 @372623460jh - 🐞 Fix small size RangePicker active bar align issue. #27673 @Ifeinstein
- 💄 Add
@radio-border-width. #27703 - 🛠 Refactor Carousel with React hooks. #27694
- 🛠 Refactor
<Typography editable />with React hooks. #27655
- 🐞 修复 Form 在 namePath 为数组的时候表现异常的问题。#27664
- 💄 修复 DateRangePicker 选择已选范围内一行的首尾日期时的悬浮样式位置异常问题。#27731 @AlanCutFlim
- 🐞 修复 Select
tags模式下无法输入空格的问题。#27726 @baxtergu - 💄 修复 Typography.Link 禁用时鼠标样式问题。#27734
- 🐞 修复 Menu 下拉框显示时动画会播放两次的问题。#27663
- 💄 修复 Avatar src 为 Image 时的样式问题。#27691
- 💄 修复 Select
mode="multiple"的光标位置偏左的问题。#27689 - 🐞 修复 TextArea 使用 emoji 时被裁切的问题。#27679 @372623460jh
- 🐞 修复 RangePicker
size="small"时高亮线没有对齐的问题。#27673 @Ifeinstein - 💄 新增
@radio-border-widthless 变量。#27703 - 🛠 使用 React hooks 重构 Carousel。#27694
- 🛠 使用 React hooks 重构
<Typography editable />。#27655
- 🛠 Refactor TreeSelect with React hooks. #27593
- 🛠 Refactor Layout with React hooks. #27595
- 🐞 Fix Select abnormal outline style in Form validation. #27607
- 🐞 Fix Pagination extra
margin-rightwhen enable size changer. #27610 - 🐞 Fix Input.Search
enterButton={null}throw error. #27591 @davidebianchi - 🐞 fix Avatar.Group
sizenot working. #27531 - 🐞 Fix vertical Tabs long title cause tab width changes. #27569
- 🐞 Fix Table filters didn't display in
column.children. #27435 @JhonXY - 💄 Fix Steps style that inside another Steps. #27514
- TypeScript
- RTL
- 💄 Fix Progress.Line
strokeColordirection error in RTL mode. #27515
- 💄 Fix Progress.Line
- 🛠 使用 React hooks 重构 TreeSelect。#27593
- 🛠 使用 React hooks 重构 Layout。#27595
- 🐞 再次修复 Select 组件在 Form 中触发校验时外边框样式异常的问题。#27607
- 🐞 修复 Pagination 开启页码切换器时右侧多余的
margin。#27610 - 🐞 修复 Input.Search
enterButton={null}报错的问题。#27591 @davidebianchi - 🐞 修复 Avatar.Group
size不生效的问题。#27531 - 🐞 修复垂直 Tabs 标题文字很长时导致页签宽度跳动的问题。#27569
- 🐞 修复 Table
column.children内的筛选功能不展示的问题。#27435 @JhonXY - 💄 修复 Steps 内嵌 Steps 时的样式。#27514
- TypeScript
- RTL
- 💄 修复 Progress.Line
strokeColor在 RTL 模式下方向错误。#27515
- 💄 修复 Progress.Line
- Image
- 🆕 ConfigProvider support
form.requiredMark. #27322 - 🆕 Statistic support
loadingprop. #26811 @appleshell - Avatar
- 🆕 Row support
noWrapto make Col in line. #27469 - Tree
- Modal
- Input
- Table
- Typography
- Steps
- 🐞 Fix PageHeader that empty dom will be displayed when
titleis empty. #27485 - 🐞 Fix Slider keep tooltip align with handle when dragging. #27489
- 🐞 Fix RangePicker selected range border style. #27438
- 💄 Adjust Collapse arrow position align with first line. #27363
- 💄 Fix Descriptions style when
labeluse block element. #27375 - 💄 Fix Select abnormal border style in Form validation. #27378
- Image
- 🆕 ConfigProvider 增加
form.requiredMark配置。#27322 - 🆕 Statistic 组件增加
loading属性。#26811 @appleshell - Avatar
- 🆕 Row 支持
noWrap属性以使 Col 不错行。#27469 - Tree
- Modal
- Input
- Table
- Typography
- Steps
- 🐞 修复 PageHeader
title为空时,会展示空 DOM 的问题。#27485 - 🐞 修复 Slider 拖拽时提示内容对齐问题。#27489
- 🐞 修复 RangePicker 选择同一时间后再次选择时边框样式异常的问题。#27438
- 💄 调整 Collapse 折叠箭头的位置与第一行文字对齐。#27363
- 💄 修复 Descriptions 在
label自定义为块状元素时的样式问题。#27375 - 💄 修复 Select 组件在 Form 中触发校验时边框样式异常的问题。#27378
- Form
- Typography
- Input
- 🐞 Fix Upload.List preview image fit size issue. #27312 @JuniorTour
- 🐞 Fix Notification no wrap with long text. #27285 @littleee
- 🐞 Fix Menu inside flexable container will not shrink properly. #27253
- 🌐 Fix en_US, en_GB and ga_IE gramma. #27259 @yasikovsky
- 🐞 Fix Tag with customize
closeIconbreaks line issue. #27226 @handycode
- Form
- Typography
- Input
- 🐞 修复 Upload.List 图片预览显示不全的问题。#27312 @JuniorTour
- 🐞 修复 Notification 长文本不换行的问题。#27285 @littleee
- 🐞 修复 Menu 在 flex 容器内不会正常收缩省略的问题。#27253
- 🌐 修复 en_US、en_GB、ga_IE 国际化语法问题。#27259 @yasikovsky
- 🐞 修复 Tag 标签自定义关闭图标会导致换行的问题。#27226 @handycode
- 💄 Fix Layout.Sider
lighttheme lost styles. #27227 @lingjieee - 💄 Fix TextArea wrapped with additional div when
showCountisfalse, and passclassNameandstyleto outer wrapper whenshowCountistrue. #27216 - 🐞 Fix Checkbox.Group TS2559 error. #27231
- 💄 修复 Layout.Sider
light主题失效问题。#27227 @lingjieee - 💄 修复 TextArea 没有设置
showCount时仍然会包裹 div 的问题,同时解决showCount下className和style没有传递给最外层节点的问题。#27216 - 🐞 修复 Checkbox.Group TS2559 错误。#27231
- DatePicker
- Typography
- 💄 Fix Descriptions
ant-descriptions-item-contentand add styleword-break:break-word;. #27195 @WLyKan - 🐞 Fix clear Password value attribute in controlled mode. #27191
- 🐞 Optimize Notification width in small screen. #27189
- 🐞 Fix Cascader className duplicate. #27187 @huntdream
- 🐞 Fix the issue that the Drawer will trigger form submit. #27175
- 🐞 Fix Dropdown icon missing margin. #27165
- 💄 Fix Layout.Sider
collapsedWidthcannot work without modifying@menu-collapsed-width. #27154 - 🐞 Fix Tabs
animated={true}not working for panels. #27145 - 🐞 Fix Divider color when contains text. #27134
- 💄 Fix the cursor style when the Radio option is selected and disabled. #27125
- 🇪🇸 Add missing translations in es_ES. #27079 @gersongams
- RTL
- 💄 Optimize the style of Input.TextArea character count in RTL mode. #27098
- TypeScript
- 🤖 Button shape remove undeclared doc type. #27159
- 🤖 Add optional
rulesproperty intoFormListProps. #27164 @huntdream
- DatePicker
- Typography
- 💄 修复 Descriptions 组件的内容含有超长数字时无法换行的问题。#27195 @WLyKan
- 🐞 修复 Password 在受控模式下未清除
value属性的问题。#27191 - 🐞 修复 Notification 在小尺寸屏幕下的宽度问题。#27189
- 🐞 修复 Cascader 类名重复的问题。#27187 @huntdream
- 🐞 修复 Drawer 会触发 Form 提交事件的问题。#27175
- 🐞 修复 Dropdown 下拉菜单图标间距丢失的问题。#27165
- 💄 修复 Layout.Sider 指定
collapsedWidth后侧边菜单部分宽度不对的问题。#27154 - 🐞 修复 Tabs
animated属性为true时未开启内容切换动画的问题。#27145 - 🐞 修复 Divider 带标题时的分割线颜色。#27134
- 💄 修复 Radio 选项选中并禁用时的鼠标样式。#27125
- 🇪🇸 为西班牙语 es_ES 中添加缺少的翻译。#27079 @gerongams
- RTL
- 💄 优化 Input.TextArea 字数提示在 RTL 模式下的样式。#27098
- TypeScript
- 🤖 Button
shape移除文档中未声明的类型。#27159 - 🤖 修复 Form.List
rules属性缺失的问题。#27164 @huntdream
- 🤖 Button
- 🔥 Input.TextArea support word count. #26952 @zhangchen915
- 🔥 DatePicker support custom
formatby passing a function. #26845 - Form
- Upload
- Table
- 🆕 Table
stickynow supportgetContainer. #26973 - 🐞 Fix Table should not render dropdown filter icon when filterDropdown is
undefined. #27002 @shangyilim
- 🆕 Table
- Modal
- 🛠 Refactor Modal animation code so that it will remove all dom element when closed. #26940
- 🆕 Modal add
modalRenderprop which can be used for draggable dialog. #26507 @jhoneybee
- 🆕 Space add
splitprop. #26948 - 🆕 Image
previewprop now supportvisibleandonVisibleChange. #26915 - 🆕 InputNumber will trigger
onStepprop when click up/down buttons. #27075 - 🆕 Avatar
sizesupport responsive config. #26244 @willamesoares - 🐞 Fix Radio.Button children cannot apply Tooltip. #27050
- RTL
- ⬅️ Fix List action button position in RTL mode. #26964
- ⬅️ Fix Transfer pagination style in RTL mode. #26960
- ⬅️ Fix Upload style in RTL mode. #26961
- ⬅️ Optimize Tag style to avoid the interaction between theme and RTL mode. #26955
- ⬅️ Optimize Cascader and Tree style of the data expansion loading icon in RTL mode. #27010
- TypeScript
- 🤖 Fix typo
TimeLineItemPropstoTimelineItemProps. #27001 @mgcrea - 🤖 Fix Slider missing
autoFocusprop. #26995 @shangyilim - 🤖 Fix Slider
stepprop not acceptingnullvalue. #26984 @shangyilim - 🤖 Fix Slider.Range
trackStyleandhandleStyleshould be array. #27033 - 🤖 Optimize Tag
onCloseTypeScript definition. #26932 - 🤖 Improve Form TypeScript definition to support
getFieldsValuereturn generic type withoutnamePathargument. #26791
- 🤖 Fix typo
- Locale
- 🇧🇾 Add Belarusian locale. #27028 @StIvan8
- 🇯🇵 Fix Japanese locale. #27043 @iorikingdom
- 🇹🇭 Add Thai locale for Pickers. #26993 @anawinwz
- 🇹🇷 Add Turkish locale of Form optional text. #27017 @alperTunca
- 🇵🇱 Add Polish locale of Table. #26913 @daczczcz1
- 🔥 Input.TextArea 支持字数统计功能。#26952 @zhangchen915
- 🔥 DatePicker
format支持传入一个函数以自定义显示内容。#26845 - Form
- Upload
- Table
- 🆕 Table
sticky支持getContainer以指定滚动容器。#26973 - 🐞 修复 Table
column.filterDropdown为undefined时依旧会展示筛选菜单的问题。#27002 @shangyilim
- 🆕 Table
- Modal
- 🛠 重构 Modal 组件动画,现在关闭时将完全清理相关 Dom 节点。#26940
- 🆕 Modal 新增
modalRender属性,支持可拖拽的对话框。#26507 @jhoneybee
- 🆕 Space 增加
split属性以支持分隔符间隔。#26948 - 🆕 Image
preview属性扩展支持visible和onVisibleChange。#26915 - 🆕 InputNumber 点击上下按钮时将触发
onStep。#27075 - 🆕 Avatar
size可以进行响应式的大小配置。#26244 @willamesoares - 🐞 修复 Radio.Button 内无法使用 Tooltip 的问题。#27050
- RTL
- TypeScript
- 🤖 修复
TimeLineItemProps为TimelineItemProps。#27001 @mgcrea - 🤖 修复 Slider
autoFocus属性定义。#26995 @shangyilim - 🤖 修复 Slider
step属性不接收null的问题。#26984 @shangyilim - 🤖 修复 Slider.Range
trackStyle和handleStyle应该接受数组的问题。#27033 - 🤖 优化 Tag
onCloseTypeScript 定义。#26932 - 🤖 调整 Form 定义,现在当
getFieldsValue不配置namePath时返回类型为 FormValue 的泛型定义。#26791
- 🤖 修复
- 国际化
- 🇧🇾 新增白俄罗斯语支持。#27028 @StIvan8
- 🇯🇵 调整日语国际化文案。#27043 @iorikingdom
- 🇵🇱 补充 Table 波兰语国际化文案。#26913 @daczczcz1
- 🇹🇷 补充土耳其语可选文案。#27017 @alperTunca
- 🇹🇭 补充 DatePicker 的泰语国际化文案。#26993 @anawinwz
- 🐞 Fix Steps first item shifts in small screen. #26894
- 💄 Fix Divider border style not work when text is provided. #26863
- 🐞 Fix Radio.Button validation error highlight. #26849 @dhorelik
- 💄 Fix Typography link-decoration style. #26854 @vineetvk01
- Locale
- TypeScript
- 💄 Fix Descriptions item long text ellipsis issue. #26820
- 🐞 Fix Menu unexpected scrollbar when show and hide. #26817
- 🐞 Fix
@layout-sider-backgroundcannot set to linear gradient color. #26810 - 🐞 Fix Select compositing status lost when input first letter in Chinese. #26796
- 🐞 Fix Table
@table-sticky-zindexless compile error issue. #26800 @chimp1nski - Button
- 💄 Fix TimePicker column align issue, add
@picker-time-panel-column-widthand@picker-time-panel-column-heightless variables. #26784 - 🐞 Fix AutoComplete warning when using
placeholderandallowClear. #26765 - 🐞 Fix Space show items when it's render empty dom. #26721 @knobo
- 🛠 Dedupe
rc-triggerversion to reduce package size. #26803 - TypeScript
- 🤖 Cascader add
nameandidprops definition. #26660 @alwaysloseall
- 🤖 Cascader add
- 💄 修复 Descriptions 长文本溢出的样式问题。#26820
- 🐞 修复 Menu 子菜单展开/收起时会出现滚动条的问题。#26817
- 🐞 修复
@layout-sider-background变量不能设置为渐变色的问题。#26810 - 🐞 修复 Select 搜索时输入第一个字符后中文输入法状态丢失的问题。#26796
- 🐞 修复 Table
@table-sticky-zindexless 报错问题。#26800 @chimp1nski - Button
- 💄 修复 TimePicker 选择框 hover 时文字内容左移的问题,并新增
@picker-time-panel-column-width和@picker-time-panel-column-heightless 变量。#26784 - 🐞 修复 AutoComplete 使用
placeholder和allowClear时抛出警告的问题。#26765 - 🐞 修复 Space 空条目会占据一格的样式问题。#26721 @knobo
- 🛠 去重多版本
rc-trigger以降低打包尺寸。#26803 - TypeScript
- 🤖 Cascader 增加
name和id属性。#26660 @alwaysloseall
- 🤖 Cascader 增加
- 💄 style: Card card image has extra 1px border. #26659
- 💄 Fix Select
placeholdercolor not same as Input. #26651 @wangcch - 🐞 Fix Menu not support React.Fragment inside. #26656
- 🐞 Fix TextArea different behavior with Input when set
valuetoundefined. #26652 - 🐞 Fix Motion related issue like Upload align flash and Form.Item with
helpssr issue. #26628 - 🐞 Fix Typography.Link warning
Invalid value for prop navigatewhen using with react-router. #26623 - 🐞 Fix Table pagination missing when is above table. #26618
- 🐞 Fix Upload in control miss file when upload multiple file in same time. #26612
- TypeScript
- 🤖 Fix Table that sorter
compareandmultipleshould be optional. #26686
- 🤖 Fix Table that sorter
- 💄 修复 Card 封面图片上有 1px 白边的问题。#26659
- 💄 修复 Select 的
placeholder颜色与 Input 不一致的问题。#26651 @wangcch - 🐞 修复 Menu 不支持 React.Fragment 的问题。#26656
- 🐞 修复 TextArea 设置
value为undefined时和 Input 行为不一致的问题。#26652 - 🐞 修复 Motion 相关问题例如 Upload 对齐闪烁与 Form.Item 配置
help的 ssr 问题。#26628 - 🐞 修复 Typography.Link 和 react-router 一起使用时抛出
Invalid value for prop navigate的问题。#26623 - 🐞 修复 Table 分页器在表格上方消失的问题。#26618
- 🐞 修复 Upload 受控时同时上传多份文件会丢失部分文件的问题。#26612
- TypeScript
- 🤖 修复 Table sorter 的
compare和multiple不是可选的问题。#26686
- 🤖 修复 Table sorter 的
- 🛎 Sort props
classNameto the end. #26602 - Table
- 🐞 Fix Modal closing cause scroll position jump up. #26538
- 🐞 Fix the type declaration of onError in
customRequestoptions of Upload. #26601 @yingpengsha - 🐞 Shutdown Select/TreeSelect autocomplete list in Chrome. #26590
- 🐞 Fix Cascader value overwritten when filtering. #26569 @lich-yoo
- 🐞 Fix Modal jump out of screen in some situations. #25765 @tanmoyopenroot
- 🐞 Fix Radio.Group not working properly, when is used in legacy Form. #26555 @willc001
- 🐞 Fix Pagination align issue in windows. #26549
- 🐞 Fix Form with
helpmake ssr un-sync issue. #26542 - 🐞 Fix Avatar doesn't scale fallback text well when display is none. #26522 @zhangyu1818
- TypeScript
- 🛎 移动 props 中的
className到最后。#26602 - Table
- 🐞 修复 Modal 关闭时导致滚动条向上跳动的问题。#26538
- 🐞 修复 Upload 组件中
customRequest的onError的类型定义。#26601 @yingpengsha - 🐞 修复 Select/TreeSelect 在 Chrome 下出现原生自动完成列表的问题。#26590
- 🐞 修复 Cascader 搜索时 value 被覆盖的情况。#26569 @lich-yoo
- 🐞 修复 Modal 在某些情况下溢出视窗的问题。#25765 @tanmoyopenroot
- 🐞 修复 Radio.Group 在 legacy Form 中,不能正常工作的问题。#26555 @willc001
- 🐞 修复 Pagination 切换按钮在 windows 下的对齐问题。#26549
- 🐞 修复 Form 使用
help时出现的同构问题。#26542 - 🐞 修复 Avatar 在
display: none时不会正确缩放 fallback 文字的问题。#26522 @zhangyu1818 - TypeScript
- Upload
- 💄 Fix Select focus shadow style. #26465 @Rainy
- Table
- 🐞 Fix Table Pagination not hide with empty data when show on top position. #26143 @zhangchen915
- 💄 Fix Table expand icon size issue when
@font-size-baseis12px. #26409
- Space
- 🐞 Fix Badge not work when
statusorcoloris empty. #26375 @zhangchen915 - 💄 Fix Tree draggable transition style. #26387
- 🐞 Fix
colorPalette is not definedwhen customize theme in some situation. #26395 - TypeScript
- 🐞 Fix TimePicker.RangePicker typescript need
pickerissue. #26446 - 🐞 Upload extended
showUploadListof Upload withremoveIconanddownloadIconproperties. #26406 @bencallaway
- 🐞 Fix TimePicker.RangePicker typescript need
- RTL
- 🐞 Fix the rtl style of Col. #26479 #26482 @TrueMoein
- Upload
- 💄 修复 Select focus 状态样式无阴影。#26465 @Rainy
- Table
- 🐞 修复 Table Pagination 展示于上侧且没有数据时不消失的问题。#26143 @zhangchen915
- 💄 修复 Table 展开图标在
@font-size-base为12px时样式错位的问题。#26409
- Space
- 🐞 修复 Badge 在
status或color为空时不展示。#26375 @zhangchen915 - 💄 修复 Tree
draggable切换时样式 transition 变化的问题。#26387 - 🐞 修复使用主题有时会报
colorPalette is not defined的问题。#26395 - TypeScript
- 🐞 修复 TimePicker.RangePicker 定义需要
picker的问题。#26446 - 🐞 Upload 组件
showUploadList类型添加removeIcon和downloadIcon属性声明。#26406 @bencallaway
- 🐞 修复 TimePicker.RangePicker 定义需要
- RTL
- 🐞 修复 Col RTL 样式。#26479 #26482 @TrueMoein
- 💄 Darker
@text-colorfor WCAG 2.0 on contrast ratio. #25630 - 🔥 New Image component. #26296
- 🔥 Table support
stickyprop to sticky header and scroll bar. #25939 - Form
- 🆕 VirtualList support no blink jump and fix Select blank dropdown issue. #26306
- Typography
- 🐞 Fix Transfer
filterOptionnot trigger when search spaces. #26335 - Progress
- 🐞 Fix Textarea don't display
defaultValuewhenvalueisundefined. #26327 - Cascader
- 🗑 Remove deprecated
Button.Groupand please use Space component instead. #26260 - Select
- 🆕 Select support
onClearprop. #25907 - 🐞 Fix Select
mode="tags"showing duplicated items when search. #25907 - 🐞 Fixed the style exception that was disabled when Select focused. #26255
- 🐞 Fix Select icon overlap with selections when
showArrowenabled. #26168 @zhangchen915
- 🆕 Select support
- DatePicker
- 🐞 Fix Pagination font family style. #26230 @albertms10
- 🐞 Fix Space children remount in some case. #26219
- Badge
- 💄 Add
@badge-colorless variable. #26159 - 🆕 Badge support
sizeprop. #25851 @moonrailgun
- 💄 Add
- 🆕 Tabs
tabBarExtraSlotsupport extra position. #25138 @jesse3mh9a - 💄 Optimize the display effect of Descriptions when there is more content. #25903
- 🆕 message could be detroied by
message.desctroy(key). #26052 @lihqi - 💄 Adjust InputNumber handler bar to be hidden when
readOnly. #25998 - Locale
- 🌐 Add Galician locale support. #26015 @barreeeiroo
- 🇱🇹 Add Lithuanian locale support. #26312 @mslotvinskij
- 🌐 Use
kmr_IQto replaceku_IQ. #26030
- RTL
- TypeScript
- 🤖 Fix Form.Item
initialValuemissing definition. #26292 @miaoyuxinbaby - 🤖 Form support generic type. #25937
- 🤖 Fix Form.Item
- 💄 加深默认文本
@text-color以满足 WCAG 2.0 对比度的规范。#25630 - 🔥 新增图片组件 Image。#26296
- 🔥 Table 新增
sticky属性以支持固定表头和滚动条。#25939 - Form
- 🆕 虚拟滚动支持无闪动滚动,修复 Select/TreeSelect 滚动时列表空白的问题。#26306
- Typography
- 🐞 修复 Transfer 搜索空格时
filterOption没有触发的问题。#26335 - Progress
- 🐞 修复 Textarea 当
value为undefined时未显示defaultValue问题。#26327 - Cascader
- 🗑 移除遗留的 Button.Group 支持,请使用 Space 代替。#26260
- Select
- 🆕 Select 支持
onClear属性。#25907 - 🐞 修复 Select
mode="tags"搜索显示两条重复条目的问题。#25907 - 🐞 修复 Select 聚焦时被禁用的样式异常问题。#26255
- 🐞 修复多选模式的 Select 在
showArrow时图标重叠问题。#26168 @zhangchen915
- 🆕 Select 支持
- DatePicker
- 🐞 修复 Pagination 字体相关样式问题。#26230 @albertms10
- 🐞 修复 Space
children有时会重新渲染的问题。#26219 - Badge
- 💄 新增
@badge-colorless 变量。#26159 - 🆕 Badge 新增
size属性用于设置大小。#25851 @moonrailgun
- 💄 新增
- 🆕 Tabs 可自定义
tabBarExtraContent的渲染位置。#25138 @jesse3mh9a - 💄 优化 Descriptions 在内容比较多时的显示效果。#25903
- 🆕 message 支持通过
message.desctroy(key)销毁。#26052 @lihqi - 💄 调整 InputNumber 操作栏在
readOnly时为隐藏。#25998 - 国际化
- 🌐 添加加利西亚语支持。#26015 @barreeeiroo
- 🇱🇹 添加立陶宛语支持。#26312 @mslotvinskij
- 🌐 新增
kmr_IQ语言包用以代替 ku_IQ。#26030
- RTL
- TypeScript
- 🤖 修复 Form.Item
initialValue定义丢失问题。#26292 @miaoyuxinbaby - 🤖 Form 支持泛型。#25937
- 🤖 修复 Form.Item
- 🐞 Fix Form.Item
hiddennot working in less. #26152 - 🐞 Fix Dropdown render issue when
overlayis string. #26135 - 🐞 Fix Table pagination disappear when last record in last page is deleted. #26133 @QoVoQ
- Tree
- 🐞 Fix Tree.DirectoryTree can not use
scrollTowith ref. #26129 - 🐞 Fix Tree lost line between top level nodes when enable
showLine. #25991 @zhangchen915
- 🐞 Fix Tree.DirectoryTree can not use
- 💄 Add
@badge-colorless variable. #26159 - RTL
- TypeScript
- 🐞 Fix Slider
handleStyleandtrackStyleTypeScript definitions. #26160
- 🐞 Fix Slider
- 🐞 修复 Form.Item 在
hidden时引用 less 样式时失效的问题。#26152 - 🐞 修复 Dropdown
overlay为 string 时渲染错误的问题。#26135 - 🐞 修复 Table 删除最后一页的最后一条记录时分页消失的问题。#26133 @QoVoQ
- Tree
- 🐞 修复 Tree.DirectoryTree 不能通过
ref调用scrollTo的问题。#26129 - 🐞 修复 Tree 开启
showLine时顶级节点间缺少连接线的问题。#25991 @zhangchen915
- 🐞 修复 Tree.DirectoryTree 不能通过
- 💄 新增
@badge-colorless 变量。#26159 - RTL
- TypeScript
- 🐞 修复 Slider
handleStyle和trackStyle属性的类型定义。#26160
- 🐞 修复 Slider
- Menu
- Table
- Form
- Transfer
- Cascader
- Select
- 🐞 Fix Breadcrumb.Item lost separator after wrapping in component. #25984 @flyerH
- 🐞 Fix InputNumber dark theme handler background color. #26072
- 🐞 Fix the missing
keyof Avatar.Group. #26098 - 💄 Adjusts Mentions
readOnlymouse style to native style. #25977 - 💄 Add
@btn-line-height. #26014 - 💄 Optimize Pagination style when
simpletype anddisabled. #26008 - 🐞 Fix Modal
useModalmissing style issue. #25967 - 🐞 Fix Steps RTL style when use
progress. #26075 - 🌐 Improve Arabic locale. #26094 @Mohelm97
- 🌐 Improve fr_FR localization. #26034 @Thanaen
- Menu
- Table
- Form
- Transfer
- Cascader
- Select
- 🐞 修复 Breadcrumb.Item 封装后丢失分隔符的问题。#25984 @flyerH
- 🐞 修复 Avatar.Group key 缺失的问题。#26098
- 💄 调整 Mentions
readOnly鼠标样式为原生样式。#25977 - 💄 新增
@btn-line-height变量。#26014 - 💄 优化 Pagination 简洁分页禁用样式。#26008
- 🐞 修复 Modal
useModal丢失样式的问题。#25967 - 🐞 修复 InputNumber 暗黑主题下操作栏背景色。#26072
- 🐞 修复 Steps 使用
progress时的 RTL 样式问题。#26075 - 🌐 改进阿拉伯语 Arabic 的国际化。#26094 @Mohelm97
- 🌐 改进法语 fr_FR 国际化。#26034 @Thanaen
- 🐞 Fix Slider tooltip abnormal visibility. #25945 @lihqi
- 🐞 Fix Divider color in dark mode. #25922
- 🐞 Fix Radio.Button text color when
disabledandchecked. #25911 - 🐞 Fix Carousel children height smaller then parent node issue. #25906
- 🐞 Fix Table
indentSizecouldn't be zero value. #25890 @OmriGM - 🐞 Fix List
actionsshow cursor outside clickable area. #25961 - 🇷🇺 Improve Russian locale. #25958 @addictional
- RTL
- 🐞 修复 Slider
tooltip显隐异常的问题。#25945 @lihqi - 🐞 修复 Divider 暗黑模式下分割线颜色。#25922
- 🐞 修正 Radio.Button 在
disabled和checked状态下的文字颜色。#25911 - 🐞 修复 Carousel 内子节点高度和容器相差几个像素的问题。#25906
- 🐞 修复 Table
indentSize设置为0无效的问题。#25890 @OmriGM - 🐞 修复 List
actions不必要的cursor: pointer样式。#25961 - 🇷🇺 补充俄罗斯语本地化文案。#25958 @addictional
- RTL
- 🆕 Input and Input.TextArea support
borderedprop. #25617 - 🆕 Add
useMessagehook for Message to supportcontextaccess. #25422 - 🆕 Tree support
titleRenderto customize all nodes' content. #25624 - 🆕 Descriptions add
extraprop. #25512 @zzz111 - 🆕 Add
Modal.configto setrootPrefixClsfor Modal statis methods. #25613 - 🆕 Drawer support
pushprop for multi-Drawer linkage. #25445 @jinxin0112 - 🆕 Add Badge.Ribbon component. #25456
- 🆕 Steps support
percentprop to show step icon progress. #25839 - 💄 Menu.Item's blue indicator line and dropdown width are the same as its content's width in
horizontalmode. #25622 - Avatar
- 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
onCalendarChangeaddrangeparam to indicate currently activated pane. #25568 @Kim-Wing-Fung - 🆕 DatePicker support
panelRenderto customize panel. #25488 - 🐞 Fix QuarterPicker not working, remove DatePicker.XxxPicker and recommend
picker='xxx'usage instead. #25768
- Form
- 🆕 Form.List support array in
removemethod. #25638 @fireairforce - 🆕 Form.Item supports
dependenciesto control updating logic with render propschildren. #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
validateStatuswhen children Form.Item withnoStylehas 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
- 🆕 Form.List support array in
- Calendar
- 🐞 Fix Calendar
validRangepreventsdisabledDate. #25626 @zhangchen915 - 🐞 Fix Calendar
validRangenot working on month selection dropdown. #25626 @zhangchen915
- 🐞 Fix Calendar
- 🐞 Fix Table
indeterminatereturned bygetCheckboxPropsnot working. #25649 - 🐞 Fix Select clear icon position in Form.Item. #25728
- 🐞 Fix Pagination mouse style of the page turning button. #25772
- 🐞 Fix TreeSelect
treeNodeLabelPropaffect tree node render result. #25755 - 🐞 Fix Carousel
findDOMNodewarning 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 新增
useMessagehook,以支持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
- DatePicker
- 🆕 DatePicker 支持 date-fns 日期库。#25822 @fireairforce
- 🆕 提升日期组件悬停体验,当悬停在某个日期上时占位符将变为对应的日期格式化后的值。(#25050)。#25784 @Kermit-Xuan
- 🆕 RangePicker
onCalendarChange参数中增加range用于指示当前触发面板。#25568 @Kim-Wing-Fung - 🆕 DatePicker 支持
panelRender以自定义渲染面板。#25488 - 🐞 修复 QuarterPicker 无法使用的问题,同时更新官网示例将 XxxPicker 调整为
picker='xxx',这是 v4 更推荐的写法。#25768
- 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
- 🆕 Form.List 中的
- Calendar
- 🐞 修复 Calendar 组件的
validRange导致disabledDate不生效 。#25626 @zhangchen915 - 🐞 修复 Calendar
validRange对月份下拉菜单不生效的问题。#25626 @zhangchen915
- 🐞 修复 Calendar 组件的
- 🐞 修复 Table
getCheckboxProps返回的indeterminate不生效。#25649 - 🐞 修复 Select 清除按钮在 Form.Item 下位置不对的问题。#25728
- 🐞 修复 Pagination 翻页按钮的鼠标样式。#25772
- 🐞 修复 TreeSelect
treeNodeLabelProp会影响树节点展示内容的问题。#25755 - 🐞 修复 Carousel 在 React 严格模式下的
findDOMNode废弃警告。#25744 - 🐞 修复 Radio 在
webpack@4.44.0SSR 构建出错的问题。25821 @Kermit-Xuan - 🐞 修复 Tabs 禁用时 focus & active 状态的颜色。25827 hsuanxyz
- 💄 Card 操作面板颜色与主体颜色统一。#25722
- ⌨️ 提升 Alert/message/notification 组件的可访问性。#25774
- 🇭🇰 新增 zh_HK 本地化。#25731 @wuchu
- 🇩🇪 改进 de_DE 本地化。#25823 @LukeTimeWalker
- 🐞 Fix Layout
triggercannot customize zero width to trigger. #25653 - 🐞 Fix Form.Item
helpstyle when verification fails. #25582 @zhangchen915 - 🐞 Fix Descriptions abnormal style inside Table
expandedRowRender. #25593 - 💄 Add
@zindex-popconfirm: 1060less variable, and life up@zindex-tooltipto1070. #25693 - 🛠 Upgrade
react-slickto reduce bundle size. #25599 - 🌐 Improve Catalan ca_ES localization. #25583 @albertms10
- 🇸🇦 Improve ar_EG localization. #25587 @amir5000
- TypeScript
- 🐞 Fix Upload
customRequestfile interface. #25598 @AlbertAZ1992
- 🐞 Fix Upload
- 🐞 修复 Layout
trigger属性无法定制零宽触发器的问题。#25653 - 🐞 修复 Form.Item
help在校验失败时的样式。#25582 @zhangchen915 - 🐞 修复 Descriptions 在 Table
expandedRowRender样式异常的问题。#25593 - 💄 新增
@zindex-popconfirm: 1060less 变量,并将@zindex-tooltip提升为1070。#25693 - 🛠 更新
react-slick依赖优化包大小。#25599 - 🌐 改进加泰罗尼亚语 ca_ES 国际化。#25583 @albertms10
- 🇸🇦 改进阿拉伯语 ar_EG 国际化。#25587 @amir5000
- TypeScript
- 🐞 修复 Upload
customRequest的 File 定义。#25598 @AlbertAZ1992
- 🐞 修复 Upload
- 🛠 Adjust Alert animation to remove directly dom operation. #dd8e9f8 @Yunfly
- Select
- 🐞 Fix Form.Item warning for
preserveas invalidate dom prop. #25518 - 🐞 Fix Card cover margin bug when bordered is false. #25515 @yutingzhao1991
- 💄 Adjust Typography style to set
overflow-wrap: break-wordas default. #25516 - 🐞 Fix Table
expandedRowRendernested Table cell background color. #25498 - 🐞 Fix Popover wrong positioning on Radio.Button. #25449 @zgoby
- 🐞 Fix RangePicker clear icon position issue when
size=small. #25458 - 🆕 Upload supports to show thumbnail for non-image files as
thumbUrlconfigured inonChangeevent. #25432 @AlbertAZ1992 - 🐞 Fix Table
onChangetriggered multiple times when change page size. #25520 @zhangchen915 - 🛠 Remove
babel-runtimeand add@babel/runtimein dependencies, reduce gzipped bundle size18.6KB. #25530 - 🇪🇸 Improve es_ES localization. #25460 @gersongams
- 🛠 调整 Alert 组件关闭动画实现移除直接的 dom 操作。#dd8e9f8 @Yunfly
- Select
- 🐞 修复 Form.Item 警告
preserve是无效 dom 属性的问题。#25518 - 🐞 修复当 Card 组件无边框时封面图边距的问题。#25515 @yutingzhao1991
- 💄 调整 Typography 样式添加
overflow-wrap: break-word默认样式。#25516 - 🐞 修复 Table
expandedRowRender内嵌 Table 时单元格背景丢失的问题。#25498 - 🐞 修复 Radio.Button 上使用 Popover 时的位置异常问题。#25449 @zgoby
- 🐞 修复 RangePicker 在
size=small时清除按钮的位置问题。#25458 - 🆕 Upload 支持上传非图片文件时在
onChange事件中设置thumbUrl来展示缩略图。#25432 @AlbertAZ1992 - 🐞 修复 Table 切换页条目数时
onChange触发多次的问题。#25520 @zhangchen915 - 🛠 移除
babel-runtime并添加@babel/runtime依赖,减少 gzipped 包体积18.6KB。#25530 - 🇪🇸 改进 es_ES 国际化。#25460 @gersongams
- Menu
- 🐞 Fix Input disabled
backgroundColoris override when inside aerrororwarningForm.Item. #25385 - 🐞 Fix Table header extra border of right side column. #25378
- 🐞 Fix Grid ResponsiveObserve not been unsubscribed correctly. #25319 @zhangchen915
- 🐞 Fix Progress
successPercentwarning message and correctsuccess.progresstosuccess.percent. #25356 @fireairforce - 🐞 Fix PageHeader Tabs unnecessary
margin-bottom. #25340 @dickeylth - Form
- Radio
- 🐞 Fix Radio.Group throw
Function components cannot be given refswarning message. #25328 - 🐞 Fix Radio.Group style with extra spaces in
children. #25304 @ElderJames
- 🐞 Fix Radio.Group throw
- 🐞 Fix Drawer click mask will trigger close event multiple times. #25313
- 🐞 Fix Skeleton Button/Avatar/Input/Image default width to auto. #25303
- 🇺🇦 Update uk_UA localization. #25402 @kitsoRik
- 🇳🇴 Update nb_NO localization. #25374 @Johannes-Andersen
- TypeScript
- 🐞 Fix Slider
onChangedefinition. #25358 @CornerSkyless - 🐞 Fix Tooltip custom color type definition. #25315 @CornerSkyless
- 🐞 Fix Slider
- Menu
- 🐞 修复 Input 在禁用状态下背景颜色被
error或warning的 Form.Item 覆盖的问题。#25385 - 🐞 修复 Table 固定列头最右侧的多余边框样式。#25378
- 🐞 修复 Grid 响应式监听函数没有正确销毁的问题。#25319 @zhangchen915
- 🐞 修复 Progress
successPercent警告信息修复 Progresssuccess.progress为success.percent。#25356 @fireairforce - 🐞 修复 PageHeader 内 Tabs 不必要的
margin-bottom。#25340 @dickeylth - Form
- Radio
- 🐞 修复 Radio.Group 报错
Function components cannot be given refs的问题。#25328 - 🐞 修复 Radio.Group 中
children使用空格出现的样式异常问题。#25304 @ElderJames
- 🐞 修复 Radio.Group 报错
- 🐞 修复 Drawer 点击遮罩可能会触发多次关闭事件的问题。#25313
- 🐞 修复 Skeleton 中 Button/Avatar/Input/Image 默认宽度为 auto。#25303
- 🇺🇦 更新 uk_UA 国际化。#25402 @kitsoRik
- 🇳🇴 更新 nb_NO 国际化。#25374 @Johannes-Andersen
- TypeScript
- 🐞 修复 Slider
onChange定义问题。#25358 @CornerSkyless - 🐞 修复 Tooltip 自定义颜色类型定义。#25315 @CornerSkyless
- 🐞 修复 Slider
- 🔥 Optimize RangePicker interaction that any picker selection will popup another picker panel. #25135
- 🔥 Add Skeleton.Image. #24805 @fireairforce
- Form
- Table
- 🆕 Table
onChangeaddactionin extra argument. #24697 - 🆕 Table support
rowSelection.dirtyto enable cachekeywith ajax. #24718 - 🐞 Table supports
rowSelection.checkStrictly. #24931 - 🐞 Fix Table
onSelectAll'schangeRowsparameter is incorrect. #24931 - 🐞 Fix Table expand buttons of leaf rows in tree data can still be clicked. #24931
- 🐞 Fix Table expand icon still interative when hidden. #25170
- 🆕 Table
- TimePicker
- Cascader
- Menu
- 🆕 Menu support
triggerSubMenuAction(hover or click). #25127 @hydRAnger - 🐞 Fix Menu.SubMenu background color in dark theme. #25205
- 🆕 Menu support
- Tabs
- 🆕 Pagination support
onChangecalled whenpageSizechange. #24964 @fireairforce - 🆕 Tabs support
addIconto customize add icon node. #25006 - 🐞 Fix Tabs can not close in IE11. #25200
- 🆕 Pagination support
- Pagination
- 🐞 Improve Pagination accessibility by fixing a W3C error. #25119
- DatePicker
- 🆕 Fix month and quarter picker's toggle button size of DatePicker component. #25035 @fireairforce
- 🆕 DatePicker support
showNow. TimePicker supportshowNow. #25032
- Drawer
- 🆕 Dropdown component support
arrowprop. #23869 @wendellhu95 - 🐞 Fix Drawer
getContainer={false}cause scrollbar missing in some situation. #25273
- 🆕 Dropdown component support
- 🆕 Fix Rate render unexpectedly when
valueis1.6or2.6. #24993 - 🆕 Menution support
autoSizeprop. #24961 @Kermit-Xuan - 🆕 Remove the 140px width limit on vertical dot Steps.Step. #24907
- 🆕 Move Result children to end of component. #24945
- 🆕 Add Rate
charactersupport(RateProps)=> ReactNodecustomization. #24903 - 🆕 Add
optionTypeapi to set Radio type in Radio.Group when useoptions. #24809 - 🆕 Add
closeIconto customize Tag close icon. #24885 - 🆕 Drawer support
closeIcon. #24842 - 🆕 Add
ghostprop for collapse to set a transparent background. #24734 - 🆕 Progress support customise filled Progress color. #24655 @fireairforce
- 🆕 Typography copyable support
iconandtooltipsfor customization. #25274 @israelKusayev - 🆕 Add
showLeafIconfor Tree Component when setshowLineprop. #25271 - 🆕 Add BackTop
durationused to set the time required to return to the top. #25254 - 🐞 Fix Select suffix icon can not focus input. #25212
- 🐞 Fix the issue that Notification modification
widthis not aligned with the edge of the screen. #25168 - 💄 Make Switch animation more smooth and quicker. #25160
- 🛠 Modal add more less parameters. #24773 @hicrystal
- 🐞 Fix PageHeader tabs unexpected border style. #25159
- 🐞 Fix InputNumber
maxprop has no default value. #25243 - 🌐 Add missing translation keys to table locale in German, Italian and Czech. #25233 @karelsoupaEMZ
- 🇯🇵 Add ja_JP globalization for Form. #25244 @kentaro84207
- RTL
- 🔥 优化 RangePicker 交互,现在任意面板选择完毕后,另一个面板会自动弹出。#25135
- 🔥 新增 Skeleton.Image 组件。#24805 @fireairforce
- Form
- Table
- 🆕 Table 添加
rowSelection.dirty以支持异步数据下保留key。#24718 - 🆕 Table
onChange添加action参数用于标示操作类型。#24697 - 🐞 Table 支持
rowSelection.checkStrictly来完全受控节点。#24931 - 🐞 修复 Table
onSelectAll的changeRows参数不正确的问题。#24931 - 🐞 修复 Table 树形数据叶节点行的展开按钮仍能被点击的问题。#24931
- 🐞 修复 Table 展开图标隐藏时仍然有鼠标手型的问题。#25170
- 🐞 修复 Table 展开图标隐藏时仍然有鼠标手型的问题。#25170
- 🆕 Table 添加
- TimePicker
- Cascader
- Menu
- 🆕 Menu 增加
triggerSubMenuAction属性以支持配置菜单弹出的交互方式。#25127 @hydRAnger - 🐞 修复 Menu
theme="dark"时子菜单背景色为白色的问题。#25205
- 🆕 Menu 增加
- Tabs
- Pagination
- 🆕 Pagination 支持当
pageSize改变时,onChange的调用。#24964 @fireairforce - 🐞 优化 Pagination 可访问性,修复一个 W3C 属性错误。#25119
- 🆕 Pagination 支持当
- DatePicker
- 🐞 修复 DatePicker 组件的月份和季度前后选择器 icon 的大小。#25035 @fireairforce
- 🆕 TimePicker 支持
showNow属性。#25032
- Drawer
- 🆕 Rate
character支持通过(RateProps) => ReactNode自定义。#24903 - 💄 移除了垂直点状 Steps.Step 的 140px 宽度限制。#24907
- 🆕 Menution 新增
autoSize属性以支持高度自适应。#24961 @Kermit-Xuan - 🆕 调整 Result
children显示位置到组件尾部。#24945 - 🆕 Radio.Group 新增
optionType来设置options的 Radio 类型。#24809 - 🆕 Tag 新增
closeIcon用以自定义关闭按钮。#24885 - 🆕 Dropdown 组件支持下拉框箭头。#23869 @wendellhu95
- 🆕 Collapse 增加了
ghost属性来设置透明背景。#24734 - 🆕 Progress 组件支持自定义已完成进度条颜色。#24655 @fireairforce
- 🆕 Typography copyable 属性支持
icon和tooltips用于自定义图标和提示文案。#25274 @israelKusayev - 🆕 Tree
showLine属性支持配置隐藏叶节点图标。#25271 - 🆕 BackTop 支持
duration来设置回到顶部所需时间。#25254 - 🐞 修复 Select 点击下拉箭头时输入框不能获得焦点的问题。#25212
- 🐞 修复 Rate 半选时
value被四舍五入的问题。#24993 - 🐞 修复 Notification 修改
width时没有相对屏幕边缘对齐的问题。#25168 - 🐞 修正 InputNumber
max属性没有默认值的问题。#25243 - 🛠 给 Modal 组件增加了更多的 less 变量。#24773 @hicrystal
- 💄 更快的 Switch 动画切换效果。#25160
- 🐞 修复 PageHeader 内 Tabs 多余的边框样式。#25159
- 🌐 增加了德语,意大利语和捷克语缺失的翻译。#25233 @karelsoupaEMZ
- 🇯🇵 增加了 Form 的日语国际化。#25244 @kentaro84207
- RTL
- 🐞 Fix Input.Search as AutoComplete customize component crash issue. #25049
- 🛠 Rewrite Input.Password with hooks. #25012 @Rustin-Liu
- 🐞 Fix PageHeader tabs broken style since
4.3.0. #24991 - 🐞 Fix Backtop still interactive when it is hidden. #25132 @jesse3mh9a
- 🐞 Fix Upload don't support Popover. #25090
- 🐞 Fix Tabs content exceeds container width issue. #25072
- 🐞 Fix DataPicker/TimePicker time dropdown alignment issue. #25019
- Table
- Descriptions
- 💄 Fix List.Item.Meta content width may overflow sometimes. #24992
- 🐞 Fix dark mode Menu.SubMenu background color in compact theme. #24997
- ⚡️ Reduce 3KB Button css bundle size. #24996
- 🇹🇷 Improve Turkish locale. #25100 @smddzcy
- TypeScript
- Export Tree
DataNode. #25065 @jinxin0112
- Export Tree
- 🐞 修复 Input.Search 作为 AutoComplete 自定义组件会崩溃的问题。#25049
- 🛠 使用 hooks 重写 Input.Password。#25012 @Rustin-Liu
- 🐞 修复 PageHeader 从
4.3.0后的tabs样式错误。#24991 - 🐞 修复 Backtop 没有完全隐藏的问题。#25132 @jesse3mh9a
- 🐞 修复 Upload 不支持包裹 Popover 的问题。#25090
- 🐞 修复 Tabs 内容会超出容器宽度的问题。#25072
- 🐞 修复 DataPicker/TimePicker 时间下拉选对齐问题。#25019
- Table
- Descriptions
- 💄 修正了 List.Item.Meta 内容宽度有时会溢出的问题。#24992
- 🐞 修复 Menu.SubMenu 在紧凑模式下暗黑主题的背景颜色。#24997
- ⚡️ 减少 Button
3KB样式打包体积。#24996 - 🇹🇷 优化土耳其语语言包。#25100 @smddzcy
- TypeScript
- 导出 Tree
DataNode定义。#25065 @jinxin0112
- 导出 Tree
- Form
- Table
- 🐞 Fix Modal
confirm()has no default icon. #24956 - 🐞 Fix List
gridnot working in React.Fragment or wrapped List.Item. #24955 - 🐞 Fix Avatar fallback to children when loading image with error. #24944 @sosohime
- 🐞 Fix Drawer doesn't omit prop
getTargetContainer. #24938 - 🐞 Fix Tabs dropdown clip text when tab title too long. #24928
- 🐞 Fix Carousel under Tabs shaking when tab switch. #24873
- 🐞 Fix Transfer package size will increase if tree shaking is disabled. #24847 @DavidSichau
- 💄 Add
@rate-star-hover-scaleto control Rate scale when cursor hover. #24917 - 💄 Add
@divider-orientation-marginless variable to control Divider's left margin whenorientationis set. #24877 - 🌐 Localization
- TypeScript
- Form
- Table
- 🐞 修复 Modal 缺少
confirm()默认图标。#24956 - 🐞 修复 List
grid属性在 React.Framgment 或者封装了的 List.Item 上失效的问题。#24955 - 🐞 修复 Avatar 图片加载错误的显示问题。#24944 @sosohime
- 🐞 修复 Drawer
getTargetContainer属性没有被忽略的问题。#24938 - 🐞 修复 Tabs 下拉框标题过长时被截断的问题。#24928
- 🐞 修复 Carousel 在 Tabs 下切换时会跳跃的问题。#24873
- 🐞 修复 Transfer 在关闭 tree shaking 后打包尺寸增加的问题。#24847 @DavidSichau
- 💄 新增
@rate-star-hover-scale控制 Rate 鼠标悬浮放大比例。#24917 - 💄 新增
@divider-orientation-marginless 变量,以控制 Divider 设置了orientation时的左侧距离。#24877 - 🌐 Localization
- TypeScript
- 🐞 Fix Tag.CheckableTag don't support
onClick. #24743 - 🐞 Fix Drawer support set
getPopupContainerandgetPrefixClsby ConfigProvider. #24727 - 🐞 Fix Button
loading.delayrepeat trigger when parent compoent re-render. #24713 - 🐞 Fix Dropdown menu link color when has
icon. #24707 #24702 - Select
- 🐞 Fix Select virtual scroll display abnormally in compact mode. #24706
- ⚡️ Optimize Select multiple mode performence. #24785 @Kermit-Xuan
- 🐞 Fix Calendar trigger
onPanelChangeeven when in the same panel. #24695 - 🐞 Fix Input component height issue in IE11. #24673 @xiaosongxiaosong
- 🐞 Fix Radio typescript error typo. #24693 @hengkx
- 🐞 Fix Statistic don't work with Tooltip. #24782
- 🐞 Fix TimePicker.RangePicker
bordered={false}not working when hasclassName. #24781 - 🐞 Fix List cannot trigger
onChangein pagination. #24514 - 🌐 Localization
- 🇮🇱 Add Hebrew localisations for Form. #24716 @israelKusayev
- 🇰🇷 Add ko_KR localizations for Form. #24783 @Jaewoook
- 💄 Add less variable
@table-font-size,@table-font-size-mdand@table-font-size-smto customize the size of Table text. #24714 @morenyang - RTL
- 🐞 修复 Tag.CheckableTag 不支持
onClick和stopPropagation的问题。#24743 - 🐞 修复 Drawer 支持通过 ConfigProvider 来全局设置
getPrefixCls和getPopupContainer。#24727 - 🐞 修复 Button 在父组件重新渲染时
loading.delay会重复触发的问题。#24713 - 🐞 修复 Dropdown 带图标
icon菜单项的链接色彩。#24707 #24702 - Select
- 🐞 修复 Select 在紧凑模式下表现不正常。#24706
- ⚡️ 优化 Select 多选模式的性能。#24785 @Kermit-Xuan
- 🐞 修复 Calendar 在同一个面板下选择日期也会触发
onPanelChange的问题。#24695 - 🐞 修复 Input 组件在 IE11 中高度异常问题。#24673 @xiaosongxiaosong
- 🐞 修复 Radio 的 TypeScript 定义错误。#24693 @hengkx
- 🐞 修复 Statistic 不能包裹 Tooltip 的问题。#24782
- 🐞 修复 TimePicker.RangePicker 指定
className后无边框样式失效的问题。#24781 - 🐞 修复 List 翻页时
onChange不触发的问题。#24514 - 🌐 国际化
- 🇮🇱 Form 校验文案增加希伯来语(以色列)。#24716 @israelKusayev
- 🇰🇷 Form 校验文案增加韩文。#24783 @Jaewoook
- 💄 新增 less 变量
@table-font-size,@table-font-size-md和@table-font-size-sm,用于自定义 Table 文字大小。#24714 @morenyang - RTL
- Tabs
- Button
- 🐞 Fix Button quick set
loadingfromdelaytofalsewill still change to the loading status. #24678 - 🐞 Fix the inconsistent style of Text Button in
danger. #24622 @morenyang
- 🐞 Fix Button quick set
- 🐞 Fix Table no showing scrollbar inside Row. #24661 @zt123123
- 🐞 Fix Drawer get
dropdownMatchSelectWidthas dom prop warning. #24651 - 🐞 Adjust Steps to support React.Fragment with
children. #24644 - 🐞 Fix Upload delete icon cannot be navigate via keyboard. #24615 @morenyang
- 🐞 Fix multiple Select search input cursor missing issue. #24631
- 🐞 Fix Radio.Group using
optionsgetElement type is invaliderror. #24631 - RTL
- 💄 Adjust Notification default placement to
topLeftin RTL. #24632
- 💄 Adjust Notification default placement to
- TypeScript
- 🛠 Export Tabs
TabPanePropsdefinition. #24648
- 🛠 Export Tabs
- Tabs
- Button
- 🐞 修复 Button 将
loading从delay快速切换至false时仍然会变成加载状态的问题。#24678 - 🐞 修复 Text Button 在
danger时样式不一致的问题。#24622 @morenyang
- 🐞 修复 Button 将
- 🐞 修复 Table 包裹在 Row 中时无法展现横向滚动条的问题。#24661 @zt123123
- 🐞 修复 Drawer 会报 dom 节点设置
dropdownMatchSelectWidth的警告信息。#24651 - 🐞 调整 Steps 现支持
children下使用 React.Fragment。#24644 - 🐞 解决 Upload 删除图标键盘无法导航操作的问题。#24615 @morenyang
- 🐞 修复多选 Select 输入框的光标展示问题。#24631
- 🐞 修复 Radio.Group 设置
options报错的问题。#24631 - RTL
- 💄 调整 Notification RTL 模式下默认弹窗位置为左上。#24632
- TypeScript
- 🛠 导出 Tabs
TabPaneProps定义。#24648
- 🛠 导出 Tabs
- 🔥 Rewrite Tabs for better user experience. #24552
- 📖 Add components overview page. #24491 @arvinxx
- 🛠 Optimize dependencies to reduce overall package size. #24584
- Button
- 🆕 New
type="text"Button. #22552 - 💄 Improve button background variable usage. #24372 @morenyang
- 🆕 New
- Upload
- 🆕
datacould returnPromisenow. #24546 @Kermit-Xuan - 🆕 Support
progressto customize progress bar. #24319 @morenyang - 🐞 Fix progress bar override by accident. #24339 @morenyang
- 🆕
- Table
- 🆕 Table support
rowSelection.hideSelectAllto hide selectAll checkbox. #24592 @Kermit-Xuan - 🆕
ellipsissupportshowTitleto configtitleshow. #24056 @lijinke666 - 🆕 Table
columnssupportshouldCellUpdate. #23872
- 🆕 Table support
- Input
- 🆕 Input.Passowrd support custom icon. #23792
- 🐞 Fix Input.Password still show
valueattribute in DOM after blur it. #24535 - 💄 Add less variable
@input-disabled-color. #23775 @alwaysloseall
- Form
- Menu
- Avatar
- Typography
- 🆕 Support Typography.Paragraph custom expand style. #24385 @fireairforce
- 🆕 Typography.Text support
keyboardstyle. #24195 - 🆕 Add Link component. #24019
- 🐞 Fix Typography
titleprop support. #24440 @Kermit-Xuan
- 🆕 Tooltip support
colorto config background color. #23155 - 🆕 Popconfirm can be closed by pressing
ESCnow. #24420 - 🆕 Tooltip
destroyTooltipOnHidesupportkeepParentconfig. #24362 @Kermit-Xuan - 🆕 Notification support to config
prefixCls. #24295 @tdida - 🆕 RangePicker
dateRendersupport additional argument to detect isstartorendfield. #24278 - 🆕 Skeleton add
roundprop to enable paragraph and title show radius. #24137 @xilihuasi - 🆕 Transfer support
oneWayandpagination. #24041 - 🆕 Message support customize
classNameandstyle. #24024 @Kermit-Xuan - 🆕 ConfigProvider support
virtualanddropdownMatchSelectWidth. #23841 @hengkx - 🐞 Fix Breadcrumb icon margin missing when using links. #24490 @EscapeB
- 🐞 Fix Cascader expand icon color when disabled. #24521
- 🐞 Fix List warning about
React does not recognize colStyle prop. #24568 - 🐞 Fix Progress with
stepsdon't updatepercentexpectedly. #24534 @ChuckJonas - 🐞 Fix Steps
subtitletransition style. #24593 - 🐞 Fix Alert close icon
paddingstyle. #24471 - 🐞 Fix Tree
@tree-directory-selected-bgdon't work. #24468 @morenyang - 🐞 Fix
@ant-prefixdon't work on some styles. #24459 @morenyang - 💄 Descriptions add less variables
@descriptions-item-trailing-colonand etc. #24032 @hengkx - 🌐 Localization
- 🇮🇪 Add Irish(ga_IE) locale. #24609 @AbhijeetGaware
- 🇫🇮 Improve Typography
fi_FIlocale. #24591 @sagge - 🇧🇷 Improve
pt_BRlocale. #24518 @arturpfb - 🇬🇧 Improve Form
en_GBlocale. #24404 @morenyang
- RTL
- TypeScript
- 🔥 重做 Tabs 以提升多标签在不同环境下的用户体验。#24552
- 📖 新增组件总览页面。#24491 @arvinxx
- 🛠 增加大量功能,同时减少了包体积(相比
4.2.5减少了 2KB)。#24584 - Button
- 🆕 新增文本类型按钮
type="text"。#22552 - 💄 优化 Button 背景 less 变量的影响范围。#24372 @morenyang
- 🆕 新增文本类型按钮
- Upload
- 🆕
data属性支持返回Promise。#24546 @Kermit-Xuan - 🆕 添加
progress属性以支持自定义进度条。#24319 @morenyang - 🐞 修复进度条类型会被意外覆盖的问题。#24339 @morenyang
- 🆕
- Table
- 🆕 Table 新增
rowSelection.hideSelectAll用于隐藏全选框。#24592 @Kermit-Xuan - 🆕
ellipsis支持showTitle以关闭自动设置title属性。#24056 @lijinke666 - 🆕 Table
columns支持shouldCellUpdate属性。#23872
- 🆕 Table 新增
- Input
- 🆕 Input.Passowrd 支持自定义图标。#23792
- 🐞 修复 Input.Password 一个明文显示
value的问题。#24535 - 💄 添加
@input-disabled-colorless 变量。#23775 @alwaysloseall
- Form
- Menu
- Avatar
- Typography
- 🆕 Typography.Paragraph 支持自定义展开样式。#24385 @fireairforce
- 🆕 Typography.Text 支持
keyboard样式。#24195 - 🆕 添加 Link 组件。#24019
- 🐞 修复 Typography 不支持
title属性的问题。#24440 @Kermit-Xuan
- 🆕 Tooltip 支持配置背景颜色。#23155
- 🆕 Popconfirm 支持按
ESC关闭。#24420 - 🆕 Tooltip
destroyTooltipOnHide支持keepParent配置。#24362 @Kermit-Xuan - 🆕 Notification 支持全局配置
prefixCls。#24295 @tdida - 🆕 RangePicker
dateRender支持额外参数来判断是start还是end字段。#24278 - 🆕 Skeleton 添加
round属性,允许段落和标题显示圆角。#24137 @xilihuasi - 🆕 Transfer 支持
oneWay配置单向选择以及pagination配置分页。#24041 - 🆕 Message 支持自定义样式通过使用
className和style。#24024 @Kermit-Xuan - 🆕 ConfigProvider 支持
virtual和dropdownMatchSelectWidth配置。#23841 @hengkx - 🐞 修复 Cascader 下拉框中扩展按钮在禁用时的颜色。#24521
- 🐞 修复 Alert 关闭按钮
padding样式。#24471 - 🐞 修复 Tree
@tree-directory-selected-bg变量不生效的问题。#24468 @morenyang - 🐞 修复
@ant-prefix变量在部分样式里不生效的问题。#24459 @morenyang - 🐞 修复 Steps
subtitlehover 渐变过渡。#24593 - 🐞 修复 List 报
React does not recognize colStyle prop的问题。#24568 - 🐞 修复步骤 Progress
percent样式未正确更新的问题。#24534 @ChuckJonas - 🐞 修复 Breadcrumb 内使用链接时图标间距丢失的问题。#24490 @EscapeB
- 💄 Descriptions 新增
@descriptions-item-trailing-colon等 less 变量。#24032 @hengkx - 🌐 国际化
- 🇮🇪 新增爱尔兰语言包。#24609 @AbhijeetGaware
- 🇫🇮 改进 Typography
fi_FI国际化。#24591 @sagge - 🇧🇷 改进
pt_BR国际化。#24518 @arturpfb - 🇬🇧 改进 Form
en_GB国际化。#24404 @morenyang
- RTL
- TypeScript
- 🐞 Fix Table selection arrow out of column when
sizeissmall/middle. #24394 - 🐞 Fix Input.TextArea clear icon disappears in Input.Group when hover it. #24360 @Mr-jiangzhiguo
- 🐞 Fixed an issue where the
RowSelection.onChangewill still be cached when the Table removes entries indataSource. #24338 - 🐞 Adjust
useNotificationapi instance to be same instance for each render. #24337 - 🐞 Fix Button
loadingtransition animation missing and ModalconfirmLoadingnot being reset. #24328 - 🐞 Fix Drawer cover background elements when it is not visible. #24290
- 🐞 Fix Cascader/Select/Table/TreeSelect text color when data empty. #24279
- 💄 Fix InputNumber operation button arrow is not centered. #24266
- 🐞 Fix Table with empty array
filteredValuestill highlight the filtered icon. #24263 - 🐞 Fix Cascader not support
number[]value. #24247 - ⌨️ Fix Switch
autoFocustrigger whendisabledremoved. Adjust style to avoid switch shaking. Remove blur logic whenonMouseUpto improve acessibility. #24254 - 💄 Add Menu default
text-alignstyle. #24253 - 🛠 Refactor List code. #24280 @hengkx
- 🛠 Modify the Alert with hooks to support strict mode. #24236 @hengkx
- 🐞Fix Card perfermance bug when use with
react-split. #24425 - TypeScript
- 🛠Cascader ts definition update. #24393 @zhangyu1818
- 🐞 Fix TS error of
Could not find a declaration rc-upload. #24325 - 🛠 Add children type to BackTop. #24235
- 🐞 修复 Table 在
dataSource移除条目时,rowSelection.onChange仍然会缓存的问题。#24338 - 🐞 修复 Table 的选中箭头在
size=small/middle时超出的问题。#24394 - 🐞 修复 Input.Group 内 Input.TextArea
hover时清除图标消失的问题。#24360 @Mr-jiangzhiguo - 🐞 修复 Notificiation 使用
useNotificiation时无限 render 的行为。#24337 - 🐞 修复 Button
loading切换动画丢失和 ModalconfirmLoading按钮未复位的问题。#24328 - 🐞 修复 Drawer 关闭后依然会遮挡页面元素的问题。#24290
- 🐞 修复 Cascader/Select/Table/TreeSelect 空数据时字体的颜色。#24279
- 💄 优化 InputNumber 操作按钮居中样式。#24266
- 🐞 修复 Table 在
filteredValue使用空数组时仍然会高亮过滤图标的问题。#24263 - 🐞 修复 Cascader 不支持
number[]类型value的问题。#24247 - ⌨️ 修复 Switch
autoFocus在disabled移除后会触发的问题,调整样式以避免切换时额外的抖动,并移除鼠标点击失焦逻辑以提升无障碍体验。#24254 - 💄 增加 Menu 默认
text-align样式定义以修复被外部样式影响的问题。#24253 - 🛠 用 hooks 重构 List。#24280 @hengkx
- 🛠 用 hooks 重构 Alert 以支持严格模式。#24236 @hengkx
- 🐞 修复 Card 和
react-split一起使用时卡顿的问题。#24425 - TypeScript
- 🛠 优化 Cascader 的 TypeScript 定义。#24393 @zhangyu1818
- 🐞 修复 Upload TypeScript 报错:
Could not find a declaration rc-upload的问题。#24325 - 🛠 BackTop 增加
children定义。#24235
- 🐞 Refactor
rc-progressto resolveh3g is not definederror in<script src="antd.min.js" />. #24127 - 📖 Rewrote Use in create-react-app. #24184
- Drawer
- BackTop
- DatePicker
- Button
- 🛠 Refactor Tooltip with hooks. #23699
- 🐞 Avoid
disabledUpload.Dragger being triggered by clicking Formlabel. #24202 - 🐞 Fix Select selected option not interactive (such as
titlenot working). #24170 - 🐞 Fix Switch shake in Safari and iOS Chrome. #24122 @lexlexa
- 🐞 Carousel upgrade to
react-slick@0.26.1to resolve some problems. #24067 - 🐞 Cascader will display
defaultValueinstead of empty string when no matched options. #24058 @Kermit-Xuan - 🌎 Improve
zh_TWlocalisations. #24065 @wx1322 - 🐞 Fix Table
onChangepagination type. #24114 @sorteam - 💄 Add less variable
@card-head-extra-color. #24189 - 💄 Adjust Pagination simple mode background to transparent. #24152
- 💄 Fix dark Menu link color. #24110
- RTL
- 🐞 重构
rc-progress以解决<script src="antd.min.js" />会抛出h3g is not defined的问题。#24127 - 📖 重写了 在 create-react-app 中使用。#24184
- Drawer
- BackTop
- DatePicker
- Button
- 🛠 Tooltip 使用 hooks 重构。#23699
- 🐞 修复 Upload.Dragger 禁用时依然会被 Form
label触发的问题。#24202 - 🐞 修复 Select 回填选项无法进行交互的问题(如
title不生效)。#24170 - 🐞 修复 Switch 在 Safari 和 iOS Chrome 上点击时错位的问题。#24122 @lexlexa
- 🐞 Carousel 更新依赖到
react-slick@0.26.1以修正一些问题。#24067 - 🐞 Cascader 没有匹配任何选项时展示
defaultValue而不是空字符串。#24058 @Kermit-Xuan - 🌎 完善繁体中文国际化。#24065 @wx1322
- 🐞 修复 Table
onChangepagination 参数定义。#24114 @sorteam - 💄 新增 less 变量
@card-head-extra-color。#24189 - 💄 调整 Pagination 简洁模式下按钮的背景色为透明。#24152
- 💄 修复暗色 Menu 内的链接颜色。#24110
- RTL
- Form
- Table
- DatePicker
- Switch
- 🐞 Fix Upload error message location to scroll in the float layer. #24001 @mraiguo
- 💄 Tweak Comment render unnecessary div style when
avataris empty. #23994 @Xuhao - 🐞 Fix Select
focusborder style in Input.Group. #23985 - 🐞 Fix Steps
subTitleshowing[object Object]title. #23989 - 💄 Tweak Select close icon position. #23963
- 🐞 Fix Drawer
width="50%"hidden problem when no mask. #23925 - 🐞 Fix Textarea with
allowClearhas error height style. #23835 - 💄 Adjust Modal.xxx function async to avoid block React events. #23826
- 🐞 Fix Menu with controlled
openKeysabnormal behavior wheninlineCollapsedchanged. #23822 - 🐞 Fix Button
loadinganimation. #23783 - 🐞 Fix Slider
marksselected problem when dragging. #23773 - 🛠 Timeline refactors with React Hooks. #23631 @hengkx
- 🌎 Localization
- 🌐 Add Farsi
fa_IRdefault locale template localisations. #23926 @NarimanMov - 🌐 Add default
endefault locale template localisations for Form. #23859 @mjfwebb
- 🌐 Add Farsi
- 📦 Reduce bundle size
- RTL
- 🐞 Fix Input clear icon style in RTL. #23999
- 🐞 Fix DatePicker panel style in RTL. #24028 @xrkffgg
- 💄 Optimize DatePicker active bar style in
RTL. #23981 - 🐞 Fix Transfer search padding style in
RTL. #23962 - 💄 Optimize Layout style of RTL. #23921
- 💄 Optimize Button
loadingstyle in RT. #23776 - 💄 Optimize Input.Search style in RTL. #23797
- TypeScript
- Form
- Table
- DatePicker
- Switch
- 🐞 修复 Upload 在浮层中错误提示滚动定位问题。#24001 @mraiguo
- 💄 调整 Comment 中
avatar为空时不必要的 div 样式#23994 @Xuhao - 🐞 修复 Input.Group 中 Select 选项
focus边框样式#23985 - 🐞 修复 Steps
subTitle上会显示[object Object]提示的问题。#23989 - 💄 微调 Select 移除图标的位置。#23963
- 🐞 修复无遮罩的 Drawer 设置
50%宽度时不显示的问题。#23925 - 🐞 修复 Textarea 开启
allowClear时高度错误的问题。#23835 - 💄 调整 Modal.xxx 方法为异步以防止其影响 React 事件响应。#23826
- 🐞 修复受控模式 Menu
inlineCollapsed折叠时的表现。#23822 - 🐞 修复 Button
loading动画切换不平滑的问题。#23783 - 🐞 修复 Slider 拖拽中选中
marks文本的问题。#23773 - 🛠 Timeline 使用 React Hooks 重构。#23631 @hengkx
- 🌎 国际化
- 🌐 增加波斯语
fa_IR国际化默认提示模板。#23926 @NarimanMov - 🌐 增加 Form
en国际化默认提示模板#23859 @mjfwebb
- 🌐 增加波斯语
- 📦 包体积优化
- RTL
- TypeScript
- 🆕 List
gridsupport all column count like 5. #23630 - 🆕 Divider add
plainprop which allows a non-heading style divider text. #23405 - 🆕 Typography
ellipsissupportonEllipsisevent handler. #23414 - 🆕 Space support
alignprop. #23306 - 🆕 Upload support
isImageUrlto force trade file as image. #23248 @onjuju - 🆕 Form.Item support
initialValueandgetValuePropsprops. #22993 - ConfigProvider
- Table
- 🐞 Fix RangePicker
rangestag color to primary color. #23705 - 🐞 Fix Transfer with custom empty style issue. #23694 @hengkx
- Input
- 🐞 Fix Password caret position. #23633 @huntdream
- 💄 Adjust Input.Search icon style. #23406
- Button
- Menu
- 🐞 Fix Tag cannot be directly called by
react-dnd. #23632 @hengkx - Anchor
- 💄 Select arrow won't rotate when open. #23468
- 💄 Rate support
direction. #23321 - 💄 Adjust font-size in compact mode. #23135
- RTL
- 💄 Optimize Result button style in RTL. #23733
- 💄 Add Divider RTL support. #23734
- 💄 Fix Alert style in RTL when no-icon. #23714
- 💄 Optimize Table expand animation and pagination style in RTL. #23706
- 💄 Fix Table filter dropdown position in RTL. #23695
- 💄 Fix Table rowSelect icon style in RTL. #23690
- 💄 Optimize List style in RTL. #23676
- 💄 Add Calendar RTL. #23394
- 💄 Optimize Input.Search style in RTL. #23424
- 💄 Add Notification RTL config. #23185
- TypeScript
- 🆕 List
grid支持所有分栏数字,比如分为 5 栏。#23630 - 🆕 Divider 新增
plain属性,可用于设置一个非标题样式的分割文字。#23405 - 🆕 Typography
ellipsis支持onEllipsis事件。#23414 - 🆕 Space 支持
align属性。#23306 - 🆕 Upload 添加
isImageUrl属性以强制将文件作为图标文件。#23248 @onjuju - 🆕 Form.Item 支持
initialValue和getValueProps属性。#22993 - ConfigProvider
- Table
- 🐞 修正 RangePicker 范围标签的颜色为主色。#23705
- 🐞 修复 Transfer 为空自定义图片样式问题。#23694 @hengkx
- Input
- 🐞 修复 Password 组件输入光标位置。#23633 @huntdream
- 💄 调整 Input.Search 的搜索图标样式。#23406
- Button
- Menu
- 🐞 解决 Tag 无法直接被
react-dnd调用的问题。#23632 @hengkx - Anchor
- 💄 Select 箭头打开时不再翻转。#23468
- 💄 新增 Rate 的
direction支持优化。#23321 - 💄 调整紧凑模式下默认的字体大小。#23135
- RTL
- 💄 优化 Result RTL 下按钮样式。#23733
- 💄 新增 Divider RTL 支持。#23734
- 💄 修复 Alert 在 RTL 下无 icon 的间隔问题。#23714
- 💄 优化 Table RTL 模式下扩展按钮动画与分页样式问题。#23706
- 💄 修复 Table 筛选下拉框在 RTL 下的位置。#23695
- 💄 修复 Table 勾选框图标 RTL 样式。#23690
- 💄 优化 List RTL 样式。#23676
- 💄 新增 Calendar RTL 支持。#23394
- 💄 优化 Input.Search RTL 样式。#23424
- 💄 增加 Notification RTL 设置。#23185
- TypeScript
- 🐞 Fix Button.Group align style. #23590
- 🐞 Fix Select cannot trigger open by clicking arrow icon. #23448
- 🐞 Fix Form fields shake when
@form-item-margin-bottomis customize and switching the validing info. #23436 @yoyo837 - 🐞 Fix the first Divider render differently with others. #23438
- 🐞 Fix nest ConfigProvider missing
prefixClsvalue. #23423 - 🐞 Fix Carousel tabbed Radio/Checkbox to non-active slide. #23380
- 🐞 Fix Tree with virtual scroll frozen by quick
loadData. #23581 - 🐞 Fix Steps style in IE11 when direction is vertical. #23561 @AdrianoRuberto
- 🐞 Fix Input.Search height affected by
suffixandreact keywarning. #23527 - 🐞 Fix Menu behavior when hover on submenu gap. #23511
- 🐞 Fix Tree custom icon missing when node is loading data. #23494
- RTL
- TypeScript
- 🐞 Fix type definition of
selectionsfor Table. #23462 @xiaoxintang
- 🐞 Fix type definition of
- 🐞 修复 Button.Group 中按钮没有对齐的问题。#23590
- 🐞 修复 Select 箭头图标点击无法触发下拉的问题。#23448
- 🐞 修复 Form 自定义
@form-item-margin-bottom变量时表单校验抖动的问题。#23436 @yoyo837 - 🐞 修复第一个 Divider 渲染时样式不一致的问题。#23438
- 🐞 修复嵌套 ConfigProvider 会丢失
prefixCls值的问题。#23423 - 🐞 修复 Carousel 键盘切换到非活跃 slide 上的 Radio/Checkbox 的问题。#23380
- 🐞 修复 Tree 使用虚拟滚动时会因为
loadData更新过快而锁死的问题。#23581 - 🐞 修复 Steps 组件竖直展示时在 IE11 下样式错误的问题#23561 @AdrianoRuberto
- 🐞 修复 Input.Search 高度被
suffix撑高的问题和报react key重复警告的问题。#23527 - 🐞 修复 Menu 鼠标移到缝隙处子菜单会消失的问题。#23511
- 🐞 修复 Tree 自定义图标在加载状态下消失的问题。#23494
- RTL
- TypeScript
- 🐞 修复 Table 的
selections类型定义。#23462 @xiaoxintang
- 🐞 修复 Table 的
- 🐞 Fix dark theme and compact theme not working. #23243
- 🐞 Fix Modal.info executed only once when has argument. #23360
- 🐞 Fix Dropdown submenu background missing. #23296
- 💄 Optimize PageHeader responsive behavior. #23277
- 🐞 Fix TreeSelect render blank in compact mode. #23231
- 🛎 Fix Checkbox and Switch console warning typo (validate -> a valid). #23240 @evancharlton
- 🐞 Fix Table
rowSelectionparams issue whenchildrenColumnNameconfigured. #23205 - Input
- Select
- Globalization
- TypeScript
- RTL
- 🐞 修复暗黑主题和紧凑主题不生效的问题。#23243
- 🐞 修复 Modal.info 等方法的
onOk函数有参数时只触发一次的问题。#23360 - 🐞 修复 Dropdown 弹出菜单背景样式问题。#23296
- 💄 优化 PageHeader 的响应式表现。#23277
- 🐞 修复紧凑模式下树选择出现空白。#23231
- 🛎 修改 Checkbox 和 Switch 中控制台输出的错别字 (validate -> a valid)。#23240 @evancharlton
- 🐞 修复 Table
rowSelection在设置childrenColumnName时事件参数不正确的问题。#23205 - Input
- Select
- 国际化
- TypeScript
- RTL
- 💄 Adjust Form.Item
labelheight style in vertical layout. #23192 - 🐞 Fix
Variable is undefinedwhen importing dark or compact theme and provide agetThemeVariablesmethold for getting theme variables easily. #23171 - 🐞 Fix PageHeader style breaks when
titleis too long and improve it's responsive design. #23133 - Tabs
- Table
- 🐞 Fix Table fixed columns cannot pin in Safari 12. #23161
- 🐞 Fix Table
summarypadding in small size. #23140 @someyoungideas
- 🐞 Fix Select align style with different size. #23160
- 🐞 Fix RangePicker under Input.Group style issue. #23149
- 🐞 Fix Pagination missing TypeScript definition of
showTitle. #23144 @DongchengWang
- 💄 调整 Form.Item
label在垂直布局下的高度样式。#23192 - 🐞 修复引用暗黑或紧凑主题时提示
Variable is undefined的问题,并提供getThemeVariables方便获取对应主题变量。#23171 - 🐞 修复 PageHeader
title超长时布局被破坏的问题并优化响应式表现。#23133 - Tabs
- Table
- 🐞 修复 Table 固定列在 Safari 12 中不能固定的问题。#23161
- 🐞 修复 Table
summary在小尺寸下的内边距样式。#23140 @someyoungideas
- 🐞 修复 Select 不同尺寸下的对齐样式问题。#23160
- 🐞 修复 RangePicker 在 Input.Group 内的样式问题。#23149
- 🐞 修复 Pagination 缺少
showTitleTypeScript 定义的问题。#23144 @DongchengWang
- Menu
- 🐞 Fix dark and compact theme cannot work together. #22934 @AshoneA
- 🐞 Fix Notification invalid
paddig-topvalue. #22941 - Button
- 🐞 Fix Statistic show
-0when value is-. @22950 - 🐞 Fix Modal.confirm
onOkshould not be triggered multiple times. #22963 - Input
- 🐞 Fix Form.Item not correct reset error style when dynamic switch Form.Item. #23041
- 💄 Adjust RangePicker arrow & suffix color style. #23025
- Table
- Select
- 🐞 Fix Calendar missing
styleprop support. #23081 - 🐞 Fix Tabs bottom card active tab wrong height style. #23087
- 🐞 Fix RTL support of Anchor, Select, DatePicker, Grid, Mentions. @xrkffgg
- TypeScript
- Menu
- 🐞 修复紧凑模式和暗黑模式无法同时开启的问题。#22934 @AshoneA
- 🐞 修复 Notification 非法的
padding-top值。#22941 - Button
- 🐞 修复 Statistic 在值为
-时会展示成-0的问题。@22950 - 🐞 修复 Modal.confirm
onOk可以被触发多次的问题。#22963 - Input
- 🐞 修复 Form.Item 在动态切换时没有正确重置错误样式的问题。#23041
- 💄 微调 RangePicker 箭头和后缀的颜色样式。#23025
- Table
- Select
- 🐞 修复 Calendar 不支持
style属性的问题。#23081 - 🐞 修复 Tabs 下方卡片布局激活标签的高度问题。#23087
- 🐞 修复 Anchor、Select、DatePicker、Grid、Mentions 组件的 RTL 支持。@xrkffgg
- TypeScript
- 🐞 Fix Tabs panel focus outline style. #22752 @MrHeer
- 🐞 Fix Input affix with popup element can not get click focus. #22887
- Table
- 🆕 Table row selection dropdown support
getPopupContainer. #22787 @mikeyshing88 - 🐞 Fix Table header size with filter or sorter when
sizeis configured. #22872 - 💄 Adjust nest Table style, compact only when just one table element. #22868
- 🐞 Fix Table column
alignnot working on head whensorterconfigured. #22858 - 🐞 Fix Table filter config not work on jsx structure. #22888
- 🐞 Adjust Table expanded row not fix width when scroll only. #22832
- 🐞 Fix the column can't show when the
column.childrenisundefined. #22832 - 🐞 Fix Table still show filter icon when
filtersisundefined. #22833 - 🐞 Fix Table unchanged
filtersshould not triggeronChange. #22829 - 🐞 Fix Table loading compatibility. #22739
- 🐞 Fix Table scroll shadow style in Safari. #22794
- 🆕 Table row selection dropdown support
- 💄 Adjust RangePicker arrow style. #22847
- 🐞 Fix Text with
ellipsisalign issue. #22836 - 💄 Tweak
@info-colorshould be@primary-colordefaultly. #22723 - 🐞 Fix BackTop not working in iframe and improve it's perfermance. #22788
- 🐞 Fix Select inconsistent height when
mode="multiple"andsize="large" />. #22904 - 🐞 Fix Radio less variable. #22803 @yoyo837
- 🐞 Fix Card Tabs do not support small size. #22666 @MrHeer
- 🐞 Fix Affix throws
React warning of state update on unmounted component. #22790 - 🐞 Fix Textarea with
clearIconadditionalmarginin Form.Item. #22793 - 🐞 Fix List
footermissing border when data is empty. #22771 - 🐞 Fix Slider
tooltipPlacementoption API is changed to be correct again. #22772 @phoenixeliot - 🛠 Refactor LocaleReceiver with new context api to avoid React strict mode warning. #22762
- 🐞 Fix Radio and Checkbox required prop not passing to input. #22761
- 🐞 Fix variable
--scroll-baris undefined. #22754 @mikeyshing88 - 🐞 Fix Menu and Spin style in compact mode. #22908 @AshoneA
- 🐞 Fix Space item duplicate key. #22745
- 🐞 Fix Select cursor style. #22743
- 🇫🇷 DatePicker and TimePicker update French locale. #22769 @PaulJln
- RTL
- TypeScript
- 🐞 Fix Table
FilterDropdownPropsTypeScript definition. #22895 @zhangyu1818 - 🐞 Fix Form
StoreandStoreValueTypeScript definition. #22755 @shaodahong
- 🐞 Fix Table
- 🐞 移除 Tabs 的内容区域的 focus 蓝色轮廓线。#22752 @MrHeer
- 🐞 修复 Input 前后缀添加弹出元素不能点击获得焦点的问题。#22887
- Table
- 🐞 修复 Table 行选择下拉菜单不支持
getPopupContainer。#22787 @mikeyshing88 - 🐞 修复 Table 配
size时,使用过滤和排序的表头尺寸问题。#22872 - 💄 调整嵌套 Table 样式,只有一个子 Table 时才移除边距。#22868
- 🐞 修复 Table 列
align在sorter开启时标题不居中的问题。#22858 - 🐞 修复 Table 过滤设置在 jsx 结构下无效的问题。#22888
- 🐞 调整 Table 在无固定列滚动时,展开行将跟随表格一同滚动。#22832
- 🐞 修复当
column.children为undefined时整列未显示的问题。#22832 - 🐞 修复 Table 在
filters为undefined时仍然展示过滤按钮的问题。#22833 - 🐞 修复 Table
filters未变化时触发onChange事件的问题。#22829 - 🐞 修复 Table
loading兼容性。#22739 - 🐞 修复 Table 在 Safari 下滚动阴影的样式。#22794
- 🐞 修复 Table 行选择下拉菜单不支持
- 💄 调整 RangePicker 箭头样式。#22847
- 🐞 修复 Text 使用
ellipsis的对齐问题。#22836 - 💄 优化
@info-colorless 变量,默认为@primary-color。#22723 - 🐞 修复大号多选 Select 未选择时的高度问题。#22904
- 🐞 修复 BackTop 在 iframe 里不生效并提升了组件性能。#22788
- 🐞 修复 Radio less 变量名错误。#22803 @yoyo837
- 🐞 修复 Card Tabs 不支持小尺寸的问题。#22666 @MrHeer
- 🐞 修复 Affix 抛出
React state update on unmounted component警告的问题。#22790 - 🐞 修复 Textarea 配置
clearIcon在 Form.Item 下会有额外的margin的问题。#22793 - 🐞 修复 List 空数据时
footer上分割线缺失的问题。#22771 - 🐞 修复 Slider 中
tooltipPlacement与vertical配置在顺序上问题。#22772 @phoenixeliot - 🛠 用新的 React context 重构 LocaleReceiver 以避免严格模式下的警告信息。#22762
- 🐞 修复 Radio 和 Checkbox 上 required 属性没有传给原生 input 的问题。#22761
- 🐞 修复 CSS 变量
--scroll-bar未定义的问题。#22754 @mikeyshing88 - 🐞 修复 Menu 和 Spin 在紧凑模式下样式。#22908 @AshoneA
- 🐞 修复 Space 子项重复的
key。#22745 - 🐞 修复 Select 鼠标手型样式。#22743
- 🇫🇷 DatePicker 和 TimePicker 法语国际化。#22769 @PaulJln
- RTL
- TypeScript
- 🐞 修复 Table
FilterDropdownProps类型定义。#22895 @zhangyu1818 - 🐞 修复 Form
Store和StoreValue类型定义。#22755 @shaodahong
- 🐞 修复 Table
- 🔥 Support compact mode theme. #22126 @AshoneA
- 🔥 New Space component to resolve inline component margin style. #22363
- 🔥 DatePicker support quarter picker. #22468
- 🆕 Tree/TreeSelect/Select support
virtualprop to disable virtual scroll. #21955 - 🆕 Improve Pagination switch experience. #22711
- Pagination will show size changer when
total > 50. - Unify Pagination items to fixed length.
- Change default size options to
10, 20, 50, 100.
- Pagination will show size changer when
- Table
- 🆕 Tag component support
iconprop. #22418 @vtsybulin - 🆕 Grid add
useBreakpointhook. #22226 - 🆕 Card support
tabProps. #22207 - 🆕 Pagination add
autoResizeprop. #21959 @wendellhu95 - 🆕 Add render props support for Popover/Popconfirm. #22034 @nossbigg
- 🆕 TimePicker.RangePicker support
orderprop. #21948 - 🆕 Carousel
dotssupport object to passclassName. #21848 - 🆕 Form
validateMessagessupport${label}variable. #21835 - 🆕 Expose all Dropdown props in Breadcrumb.Item. #20763 @paranoidjk
- ⌨️ Improve Tabs Accessibility. #22287
- Add Tabs
keyboardprop. - Tabs
extraContentdon't trigger keyboard navigation now.
- Add Tabs
- 🛠 Warning Form.Item with
defaultValuewhen it's controlled. #22571 - 🛠 Menu.Item Tooltip could be hidden by falsy
titleprop. #22202 - 🛠 Typography
onExpandfunction support event parameter. #22092 @BlazPocrnja - 🛠 Simplify Popconfirm and Popover dom structure. #22052
- 🐞 Fix Autocomplete display
nullwhenvalueisnull. #21955 - 🐞 Adjust Drawer close button without
titlestyle to avoid overlap with scroll bar. #22710 - 🐞 Fix Calendar style details. #22676
- Table
- 🐞 Fix Input with
suffixonly align style issue. #22603 - 🐞 Fix Alert cannot work with Tooltip/Popover. #22594
- 🐞 Fix nest dynamic Form.Item get react unmounted update warning. #22575
- 💄 Adjust Tag
processingstatus color. #22303 - 💄 Remove Select dropdown group title mouse click style. #22581
- 💄 Redesign Table filter menu buttons and fix Dropdown edge
paddingstyle. #22072 - 💄 Move
@form-item-label-heightfrom form styles to theme variables. #22600 @slavakam - 💄 Add less variables
@link-focus-decorationand@link-focus-outline. #22511 - 💄 add separator cursor
disabledof DatePicker. #22563 - RTL
- 💄 Optimize Checkbox
innerRTL style issue. #22627 - 🐞 Optimize Upload
picture-cardRTL style issue. #22630 - 🐞 Fix Badge RTL number style issue. #22665
- 🐞 Fix Select RTL style issue when select multiple options can be cleared. #22596
- 🐞 Fix Progress RTL style issue. #22558
- 🐞 Fix Badge RTL style issue. #22551
- 🐞 Fix Input RTL style issue. #22525
- 🐞 Fix Steps RTL style issue. #22523
- 💄 Optimize Tabs RTL icon style issue. #22653
- 💄 Optimize Input.Group RTL style issue. #22624
- 💄 Optimize Timeline label mode RTL style issue. #22652
- 💄 Optimization Select dropdown group RTL style issue. #22584
- 💄 Optimization Dropdown.Button RTL style issue. #22519
- 💄 Optimize Checkbox
- Typescript
- 🛠 replace deprecated
React.SFCwithReact.FC. #22691 @Rustin-Liu - 🐞 Fix Form.Item
childrendefinition. #22662
- 🛠 replace deprecated
- 🔥 支持紧凑模式主题。#22126 @AshoneA
- 🔥 新的 Space 组件以支持内联组件的间距样式。#22363
- 🔥 DatePicker 支持季度选择器。#22468
- 🆕 Tree/TreeSelect/Select 支持
virtual属性以关闭虚拟滚动。#21955 - 🆕 改进 Pagination 使用体验。#22711
- Pagination 当
total > 50时默认显示切换页数选择器。 - 统一 Pagination 十页以内的页码个数使其宽度更统一。
- Pagination 调整默认页数选项为
10, 20, 50, 100。
- Pagination 当
- Table
- 🆕 Tag 支持
icon属性。#22418 @vtsybulin - 🆕 Grid 添加
useBreakpointhook. #22226 - 🆕 Card 支持
tabProps。#22207 - 🆕 Menu.Item 上的 Tooltip 现在可以使用
title={null}来禁用。#22202 - 🆕 Pagination supports
autoResizeprop。#21959 @wendellhu95 - 🆕 Popover/Popconfirm 添加 render props 支持。#22034 @nossbigg
- 🆕 TimePicker.RangePicker 支持
order属性用于设置排序行为。#21948 - 🆕 Carousel
dots支持对象传递className。#21848 - 🆕 Form
validateMessages支持${label}变量。#21835 - 🆕 暴露 Breadcrumb.Item 组件的所有 Dropdown 的可配置属性。#20763 @paranoidjk
- ⌨️ 增强 Tabs 可访问性。#22287
- 新增 Tabs keyboard 属性用于开关键盘切换功能。
- Tabs
extraContent里的元素不再触发键盘切换功能。
- 🛠 添加 Form.Item 在受控时使用
defaultValue的警告信息。#22571 - 🛠 Typography
onExpand添加事件参数。#22092 @BlazPocrnja - 🛠 简化 Popconfirm 和 Popover 的 dom 结构。#22052
- 🐞 修复 Autocomplete
value为null时,值展示null的问题。#21955 - 🐞 调整 Drawer 无
title时关闭按钮样式以避免遮挡滚动条。#22710 - 🐞 修复 Calendar 的一些样式细节问题。#22676
- Table
- 🐞 修复 Input 只配置
suffix时的样式对齐问题。#22603 - 🐞 修复 Alert 无法和 Tooltip/Popover 一起使用的问题。#22594
- 🐞 修复嵌套动态 Form.Item 会被 react 警告更新移除节点的信息。#22575
- 💄 调整 Tag
processing状态颜色。#22303 - 💄 移除 Select 下拉组标题的鼠标可点击样式。#22581
- 💄 迁移
@form-item-label-heightless 变量到主题变量中。#22600 @slavakam - 💄 优化 Table 筛选菜单按钮的样式并修复 Dropdown 二级菜单的上下边距。#22072
- 💄 新增 less 变量
@link-focus-decoration和@link-focus-outline。#22511 - 💄 新增 DatePicker
disabled时,分隔符鼠标禁用样式。#22563 - RTL
- 💄 优化 CheckBox
innerRTL 样式问题。#22627 - 🐞 优化 Upload
picture-cardRTL 样式问题。#22630 - 🐞 修复 Badge RTL 数字显示样式问题。#22665
- 🐞 修复 Select RTL 多选可清空时,选项样式问题。#22596
- 🐞 修复 Progress RTL 样式问题。#22558
- 🐞 修复 Badge RTL 样式问题。#22551
- 🐞 修复 Input RTL 样式问题。#22525
- 🐞 修复 Steps RTL 样式问题。#22523
- 💄 优化 Tabs RTL 按钮样式问题。#22653
- 💄 优化 Input.Group RTL 样式问题。#22624
- 💄 优化 Timeline label RTL 样式问题。#22652
- 💄 优化 Select group RTL 样式问题。#22584
- 💄 优化 Dropdown.Button RTL 样式问题。#22519
- 💄 优化 CheckBox
- Typescript
- 🛠 替换废弃的
React.SFC为React.FC。#22691 @Rustin-Liu - 🐞 修复 Form.Item
children的类型定义。#22662
- 🛠 替换废弃的
- 🐞 Fix AutoComplete clear icon overlap issue on search icon. #22310
- 🐞 Fix Button align issue when is
disabledand wrapped by Tooltip. #22461 - 🐞 Fix Cascader search need to press down arrow twice to select item. #22216 @Kermit-Xuan
- 🐞 Fix Carousel cannot works on Snowpack. #22507
- 🐞 Fix ConfigProvider
componentSizenot works on DatePicker.RangePicker. #22486 - 🐞 Fix Descriptions cannot fit to small container width. #22407
- ⚡️ Optimization Form.Item with multiple noStyle children Form.Item message collection performance. #22410
- 🐞 Fix Grid broken style using Col without
span. #22455 - 💄 Add InputNumber RTL style. #22434
- Menu
- 🐞 Fix Progress Dashboard won't allow
gapDegto be0. #22462 @thisrabbit - 🛠 Adjust Radio.Group logic that
valueisundefinedshould be uncontrolled mode. #22245 - ⚡️ Reduce Row unnecessary render when
gutteris array. #22475 @dolfje - 💄 Tweak RangePicker arrow shadow style. #22406
- 🐞 Fix Select dropdown menu vertical padding. #22251
- 🐞 Fix Slider tooltip crash when with
nullablevalue. #22482 - Table
- 🐞 Fix Table ColumnGroup with controlled
sorterOrdernot working issue. #22450 - 🐞 Fix Table border radius style. #22413 @akshatmittal
- 🐞 Fix Table fixed column height issue. #22367
- 🐞Fix Table row expand icon show error in ipad. #22334 @BugHiding
- 🛠 Table
column.filtersupportbooleanvalue. #22277 @xudongdev - 🐞 Fix Table filter no working when only set
onFilter. #22317
- 🐞 Fix Table ColumnGroup with controlled
- 🐞 Fix TreeSelect
treeIconnot working. #22437 - 🐞 Refactor DirectoryTree to fix deprecated warning. #22318
- 🐞 Fix Typography nest list style issue. #22284
- 🐞 Adjust Upload
onChangereturnfileListis immutable data to avoid render issue. #22322 - 🌎 Localization
- 🇩🇪 Updated German locale. #22270 @iChebbi
- 🇫🇷 Update French locale. #22238 @abenhamdine
- Typescript
- 🐞 Omit Table
getCheckboxPropstypeofchecked. #22391 @geekrainy
- 🐞 Omit Table
- 🐞 修复 AutoComplete 下使用 Search 时清除图标和搜索图标重叠样式异常的问题。#22310
- 🐞 修复 Button 为
disabled时被 Tooltip 包裹时的对齐问题。#22461 - 🐞 修复 Cascader 搜索时需要按两次向下箭头才能选中问题。#22216 @Kermit-Xuan
- 🐞 修复 Carousel 无法使用 Snowpack 构建的问题。#22507
- 🐞 修复 ConfigProvider
componentSize对 DatePicker.RangePicker 无效的问题。#22486 - 🐞 修复 Descriptions 在小尺寸下无法自适应的问题。#22407
- 🐞 修复 Grid 下使用不带
span的 Col 时样式错乱的问题。#22455 - ⚡️ 优化 Form.Item 有多个
noStyle子 Form.Item 时信息收集性能。#22410 - 💄 增加 InputNumber RTL 模式样式。#22434
- Menu
- 🐞 修复 Progress 仪表盘状进度条传入
gapDeg为0时仍然有缺口的问题。#22462 @thisrabbit - 🛠 调整 Radio.Group 逻辑,
value为undefined时为非受控状态。#22245 - 💄 微调 RangePicker 箭头阴影样式。#22406
- ⚡️ 减少 Row 在
gutter是数组时非必要的额外渲染。#22475 @dolfje - 🐞 修复 Select 下拉菜单的上下 padding。#22251
- 🐞 修复 Slider 使用
nullable值时弹出提示会崩溃的问题。#22482 - Table
- 🐞 修复 Table ColumnGroup 使用受控
sorterOrder无效的问题。#22450 - 🐞 修复 Table 边框圆角样式问题。#22413 @akshatmittal
- 🐞 修复 Table 固定列高度样式问题。#22367
- 🐞 修复 Table 展开行按钮在 ipad 下的样式问题。#22334 @BugHiding
- 🐞 修复 Table 在只设置
onFilter时过滤无效的问题。#22317 - 🛠 Table
column.filter的 value 定义可以支持boolean。#22277 @xudongdev
- 🐞 修复 Table ColumnGroup 使用受控
- 🐞 重构 DirectoryTree 以修复废弃 API 警告信息。#22318
- 🐞 修复 TreeSelect
treeIcon无效的问题。#22437 - 🐞 修复 Typography 嵌套列表的样式问题。#22284
- 🐞 调整 Upload
onChange返回参数fileList为不可变数据以解决渲染问题。#22322 - 🌎 国际化
- 🇩🇪 更新德语国际化。#22270 @iChebbi
- 🇫🇷 更新法语国际化。#22238 @abenhamdine
- Typescript
- 🐞 移除 Table
getCheckboxProps的checked类型定义。#22391 @geekrainy
- 🐞 移除 Table
- Menu
- Slider
- 🐞 Fix an issue where the position of 'slider handle' is incorrect in the vertical case of Slider. #22135 @wendellhu95
- 💄 Fix Slider missing
focusstyle. #22161
- Table
- 🐞 Fix ConfigProvider not work on Table filter dropdown. #22133
- 🐞 Fix Table nest tree column expandable style issue with fixed column. #22131
- 🐞 Fix an issue where Table filtering throws
cannot read property 'map' of undefined. #22096 @yoyo837 - 🐞 Fix Table expandable column not fixed when selection column is fixed. #22087
- 🐞 Fix Table filter menu reset not working. #22079 @shaodahong
- 🐞 Fix Table filter sub menu max height with many items. #22230
- Form
- 💄 Optimize the responsive and box model performance of The Form. #21907 @shaodahong
- 🐞 Fix FormItem hooks render error. #22053 @kagawagao
- 🐞 Fixed the problem of using custom icons to wrap in Input.Group. #22197 @xrkffgg
- 💄 Adjust Select single padding style to avoid tweak with dropdown. #22167
- 💄 Fix Calendar header select ellipsis bug. #22148
- 💄 Fixed Dropdown content and icons overlapping. #22098 @xrkffgg
- 🐞 Fix Select ellipsis bug in Firefox. #22101
- 🐞 Remove PageHeader unnecessary
overflow: hiddenstyle,Optimize PageHeader extra buttons responsive design. #22030 - 🐞 Fix TextArea
autoSizedon't scroll bottom in Firefox. #22014 - 🇫🇷 The full fr_FR internationalized text. #22122 @PaulJln
- RTL
- 💄 Optimize the style of Pagination in RTL mode. #22155 @xrkffgg
- 💄 Fixed the icon style with Cascader RTL. #22191 @xrkffgg
- 💄 Optimize the Checkbox.Group style in RTL mode. #22186 @xrkffgg
- 💄 Optimize Radio.Button style issues in RTL mode. #22066 @xrkffgg
- 🐞 Optimize table-pinned style issues that are listed under RTL. #21914 @saeedrahimi
- 💄 Adjust the direction of the Dropdown icon in RTL mode. #22104 @xrkffgg
- 💄 Optimize the Breadcrumb style in RTL mode. #22159 @xrkffgg
- 💄 Optimize the style of the Steps component in RTL mode. #22175 @xrkffgg
- 💄 Optimize styles in RTL mode with form feedback. #22222
- TypeScript
- 🔷 Update the
operationtype definition of FormList. #22058 @kagawagao - 🔷 Update the definition of the
triggerparameter for components such as Tooltip. #22043 @wendellhu95
- 🔷 Update the
- Menu
- Slider
- 🐞 修复 Slider 垂直情况下拖动节点的位置错误的问题。#22135 @wendellhu95
- 💄 修复 Slider 丢失的
focus样式。#22161
- Table
- Form
- 💄 优化 Form 的响应式和盒模型表现。#21907 @shaodahong
- 🐞 修复 FormItem 在 hooks 中报错的问题。#22053 @kagawagao
- 🐞 修复 Input.Group 中使用 自定义图标换行的问题。#22197 @xrkffgg
- 💄 修复 Calendar 年月选择菜单内容被省略的问题。#22148
- 💄 调整 Select 单选框
padding样式以防止下拉框内容的抖动。#22167 - 💄 修复 Dropdown 内容和图标重叠问题。#22098 @xrkffgg
- 🐞 修复 Select 在 Firefox 下异常省略的问题。#22101
- 🐞 移除 PageHeader 中不必要的
overflow: hidden样式以修复弹层隐藏问题,优化 PageHeader 右侧按钮的响应式表现。#22030 - 🐞 修复 Radio 组无法正确换行的问题。#22229
- 🐞 修复 TextArea
autoSize时在 Firefox 下不会自动滚动到底的问题。#22014 - 🇫🇷 补全的 fr_FR 国际化文本。#22122 @PaulJln
- RTL
- 💄 优化 Pagination 在 RTL 模式下的样式。#22155 @xrkffgg
- 💄 修复 Cascader RTL 模式下 icon 样式的错误的问题。#22191 @xrkffgg
- 💄 优化 Checkbox.Group 在 RTL 模式下样式。#22186 @xrkffgg
- 💄 优化 Radio.Button 在 RTL 模式下样式问题。#22066 @xrkffgg
- 🐞 优化 Table 固定列在 RTL 下的样式问题。#21914 @saeedrahimi
- 💄 调整 Dropdown 在 RTL 模式的下拉图标方向。#22104 @xrkffgg
- 💄 优化 Breadcrumb 在 RTL 模式下样式。#22159 @xrkffgg
- 💄 优化 Steps 组件在 RTL 模式下的样式。#22175 @xrkffgg
- 💄 优化表单反馈下在 RTL 模式下的样式。#22222
- TypeScript
- 🔷 更新 FormList 的
operation类型定义。#22058 @kagawagao - 🔷 更新 Tooltip 等组件的
trigger参数的定义。#22043 @wendellhu95
- 🔷 更新 FormList 的
- Form
- 🐞 Fix nest Form.Item dynamic remove will warning in React. #21896
- ⚡️ Form
useFormnow return same instance for perfermance. #21927 - ⚡️ Refactor Form.Item render logic that will only render once when children is a pure component. #21991
- ⚡️ FormContext use a memoized value to avoid trigger FormItem's unintentional renders. #21980 @qiqiboy
- Table
- Select
- Menu
- 🐞 Fix Badge animation when switch between 10 and 11. #21834 @wendellhu95
- 🐞 Fix Radio.Button inside Tooltip throws
Function components cannot be given refswarning. #21895 @AshoneA - 🐞 Fix Descriptions miss style when content is falsy. #21901
- 🐞 Fix DatePicker cursor style on
seperator. #21937 @xrkffgg - 🐞 Fix ConfigProvider
prefixClsnot working on Input.Password. #21953 @tdida - 🐞 Fix Carousel
dotsnot align center. #21960 @liusiasi - 🐞 Fix Input.Search border style in
rtlmode. #21946 @xrkffgg - Less
- TypeScript
- 🌟 Improve Form.Item
renderPropsdefinite. #21911
- 🌟 Improve Form.Item
- Form
- Table
- Select
- Menu
- 🐞 修复 Badge 数字在 10 和 11 切换时的动画错误。#21834 @wendellhu95
- 🐞 修复 Radio.Button 上使用 Tooltip 会报
Function components cannot be given refs警告。#21895 - 🐞 修复 Descriptions 内容为 falsy 值时样式丢失的问题。#21901
- 🐞 修复 DatePicker 在分隔符上的鼠标手型。#21937 @xrkffgg
- 🐞 修复 ConfigProvider
prefixCls在 Input.Password 上不生效的问题。#21953 @tdida - 🐞 修复 Carousel
dots控件不居中的问题。#21960 @liusiasi - 🐞 修复 Input.Search 边框高亮样式在
rtl模式下丢失的问题。#21946 @xrkffgg - Less
- TypeScript
- 🌟 增强 Form.Item
renderProps定义。#21911
- 🌟 增强 Form.Item
- Form
- Input
- Table
- 🐞 Fix Dropdown menu arrow position. #21768 @xrkffgg
- 🐞 Fix List
borderedandsplitprops conflict. #21784 @MXWXZ - 🐞 Fix Menu.Item
atag hidden bug. #21699 @shaodahong - 🐞 Fix
message.opencrash wheniconis not passed. #21747 @AshoneA - 🐞 Fix Result
statuscannot assigned to string or number type. #21691 - 🐞 Fix Descriptions warning for duplicate key. #21688
- 💄 Optimize Calendar header style in small screen. #21813
- 💄 Radio.Group not wrapping now. #21813
- 🛠 Refactor icons import code to reduce webpack disabled tree shaking bundle size. #21752
- Typescript
- 🐞 Fix Radio.Button type error. #21807 @jhoneybee
- 🐞 fix
TreeSelect.SHOW_*type. #21791 @TennyZhuang - 🐞 Fix TreeSelect missing
suffixdefine. #21714 - 🐞 Fix Drawer
forceRenderTypeScript definite. #21774 - 🐞 Fix Tree
treeDatadefine. #21756 - 🐞 Fix Form.Item
renderPropsreturn type define. #21716
- Form
- Input
- Table
- 🐞 修复 Dropdown 菜单里箭头图标的位置。#21768 @xrkffgg
- 🐞 修复 List 组件
bordered和split属性冲突的问题。#21784 @MXWXZ - 🐞 修复 Menu.Item 中
a标签换行无法显示的问题。#21699 @shaodahong - 🐞 修复
message.open中icon为空时报错的问题。#21747 @AshoneA - 🐞 修复 Result
status属性不能赋值 string 或者 number 类型的问题。#21691 - 🐞 修复 Descriptions 报
key重复的警告信息。#21688 - 💄 优化 Calendar 在窄屏幕下的标题样式。#21813
- 💄 Radio.Group 不再折行。#21813
- 🛠 重构 icons 导入代码以降低没有开启 tree shaking 的打包尺寸。#21752
- Typescript
- 🐞 修复 Radio.Button 的类型定义。#21807 @jhoneybee
- 🐞 修复了
TreeSelect.SHOW_*的类型问题。#21791 @TennyZhuang - 🐞 修复 TreeSelect 缺失
suffix定义。#21714 - 🐞 修复 Drawer
forceRender的 TypeScript 定义。#21774 - 🐞 修复 Tree
treeData定义。#21756 - 🐞 修复 Form.Item
renderProps的类型定义。#21716
- 🏆 Ant Design v4 is out! Check here for more info.
- 🐞 Breadcrumb use
pathas default key to fixnamekey conflict. #21583 @douxc - 🌟 Timeline.Item support
label. #21560 @shaodahong - 🐞 Fix Table filter menu max height style with many items. #21602
- 💄 Add the Calendar component's custom default font color for display content. #21598 @xrkffgg
- 🚮 Remove DatePicker legacy cell className for custom cell style. #21589
- 🐞 Fix RangePicker style render bug in IE11. #21587
- 🛠 Progress
strokeColornow will ignore incorrect percent. #21564 @AshoneA - 🐞 Fix Progress
trailColornot working whentype=line. #21552 @AshoneA - 🐞 Fix the background of the components in the pop-up components in the dark theme. #21299
- 💄 Optimization under the dark theme color swatches transparency.
- 🌟 new less variable
@popover-customize-border-color,@list-customize-card-bg,@table-expand-icon-bg,@steps-background,@pagination-item-input-bgfor theme customization.
- 🏆 Ant Design v4 发布!点击此处查看更多信息。
- 🐞 Breadcrumb 使用
path作为默认 key 以修复name作为 key 重名的冲突问题。#21583 @douxc - 🌟 Timeline.Item 支持
label。#21560 @shaodahong - 🐞 修复 Table 筛选菜单高度溢出屏幕的问题。#21602
- 💄 增加 Calendar 组件自定义显示内容的默认字体颜色。#21598 @xrkffgg
- 🚮 移除 DatePicker 针对自定义单元格的 3.x 的兼容类名。#21589
- 🐞 修复 RangePicker 在 IE11 下的样式渲染问题。#21587
- 🛠 Progress 中
strokeColor属性现在会忽略错误的百分比参数。#21564 @AshoneA - 🐞 修复 Progress
trailColor属性在type=line时无效果的问题。#21552 @AshoneA - 🐞 修复暗色主题下,组件在弹出层组件下的背景样式问题。#21299
- 💄 优化暗色主题下色板透明度。
- 🌟 新增 less 变量
@popover-customize-border-color、@list-customize-card-bg、@table-expand-icon-bg、@steps-background、@pagination-item-input-bg用于主题定制。
- 🐞 Fix Typescript definition issue with related Typescript version.
- 🐞 修复 Typescript 版本导致的定义问题。
- 🐞 Fix Tree
AntTreeNodeProps.childrentype. #24429 @fireairforce - 🇮🇪 Add Irish(ga_IE) locale. #24849 @AbhijeetGaware
- 🐞 修正了 Tree
AntTreeNodeProps.children的类型。#24429 @fireairforce - 🇮🇪 添加爱尔兰语国际化支持。#24849 @AbhijeetGaware
- 🐞 修复 Descriptions 在小尺寸下无法自适应的问题。#22407
- 🐞 修复 TextArea
autoSize时在 Firefox 下不会自动滚动到底的问题。#22014 - 🐞 修复 TextArea 样式在
react@16.13下会报警告的问题。#21703 - Typescript
- 调整 Popconfirm
onConfirmonCancel事件类型定义。#22438 @nicu-chiciuc
- 调整 Popconfirm
- 🐞 Fix Descriptions cannot fit to small container width. #22407
- 🐞 Fix TextArea
autoSizedon't scroll bottom in Firefox. #22014 - 🐞 Fix TextArea style get warning in
react@16.13. #21703 - Typescript
- Adjust Popconfirm
onConfirmonCancelevent definition. #22438 @nicu-chiciuc
- Adjust Popconfirm
- 🐞 Fix Result
statuscannot assigned tostringornumbertype. #21691 - 🐞 Fix Badge animation when switch between 10 and 11. #21887 @wendellhu95
- 🐞 Fix DatePicker disabled icon cursor style. #21655 @jhoneybee
- 🐞 Fix Grid multiple Rows
marginoverlapping. #21518 @felipeptcho - 🐞 Fix Table filter menu max height with many items. #21602
- 🐞 修复 Result
status属性不能赋值string或者number类型的问题。#21691 - 🐞 修复 Badge 数字在 10 和 11 切换时的动画错误。#21887 @wendellhu95
- 🐞 修复 DatePicker 日历图标在禁用时的手型。#21655 @jhoneybee
- 🐞 修复 Grid 多个 Row 之间的边距叠加问题。#21518 @felipeptcho
- 🐞 修复 Table 筛选菜单高度溢出屏幕的问题。#21602
- 🐞 Fix Input.Group inside
<Form layout="vertical" >1px bug. #20685 - 🐞 Fix Badge
colornot working when contains children. #21333 - 🐞 Fix Alert close button extra
padding. #21325 - 🐞 Fix Affix throws
Cannot read property getBoundingClientRect in mobile device. #21350 - 💄 Tweak Steps 1px align issue. #21306
- 💄 Fix Row component affect next element style issue. #21310
- Typescript
- 🐞 Fix Badge that count is not align when wrapped by Typography. #21237
- 🐞 Fix Steps that icon is not align when
size="small"andlabelPlacement="vertical". #21258 - 🐞 Fix Typography not focus at the end of textarea when
editableis true. #21268 - TypeScript
- 💄 Improve type definition of validation rule's type for Form. #21250 @hansololai
- 🐞 Fix type definition of
eventfor Tree. #21200 @Jirka-Lhotka
- 🐞 修复 Badge 在 Typography 下数字错位的问题。#21237
- 🐞 修复 Steps 在
size="small"和labelPlacement="vertical"时图标没有对齐的问题。#21258 - 🐞 修复 Typography 在可编辑状态时光标没有在输入框末位的问题。#21268
- TypeScript
- 💄 完善 Form 中校验规则类型的类型定义。#21250 @hansololai
- 🐞 修复 Tree 中事件类型定义不正确的问题。#21200 @Jirka-Lhotka
- 💄 Optimize Table fixed columns blank problem in some case. #20821 @AshoneA
- 🐞 Fix Tree
switcherIconshown in leaf node problem. #20753 - 🐞 Fix Badge
z-indexhigher than Table fixed columns. #20751 - 🐞 Fix Cascader search bug when
fieldNamesis existed and label/value share same name. #20720 - 🐞 Fix Collapse background color with wrong less variable. #20718 @kuitos
- 🐞 Fix Input.Group inside
<Form layout="vertical" >1px bug. #20685
- 💄 Optimize Steps
subTitleUI whenlabelPlacement="vertical". #20325 - 🐞 Fix upload preview not support ico file type issue. #20375 @Rustin-Liu
- 🐞 Fix Form feedback icon combine Input
suffixdisplay not correct. #20363 - 🐞 Fix Tag
onClickbeen triggered when close it. #20355 - 🐞 Fix Cascader component form check color trigger issue. #20347 @xrkffgg
- 🐞 Disallow auto focus input after triggering
onSearchevent in mobile and tablet devices. #20332 @YaoKaiLun - 🐞 Fix Tabs ink bar missing transition animation. #20283
- 🐞 Fix TreeNode without
iconshow white block inshowIconmode. #20274 - TypeScript
- 💄 优化 Steps
subTitle在labelPlacement="vertical"下的展现方式。#20325 - 🐞 修复 Upload 组件预览不支持
.ico文件问题。#20375 @Rustin-Liu - 🐞 修复 Form feedback 图标结合 Input
suffix显示不正确。#20363 - 🐞 修复 Tag 关闭时
onClick被触发的问题。#20355 - 🐞 修复 Cascader 组件 Form 校验触发时,鼠标悬浮显示颜色问题。#20347 @xrkffgg
- 🐞 修复移动端点击搜索后,自动聚焦输入框,导致弹出键盘的问题。#20332 @YaoKaiLun
- 🐞 修复 Tabs 高亮条宽度的
transition过度动画失效的问题。#20283 - 🐞 修复 TreeNode 不设置
icon时会展示一个空白占位的问题。#20274 - TypeScript
- 🛠 support
unpkgfield inpackage.json. #20193 - 🐞 Fix Tree
showLineandshowIconmissing icon. #20196 - 🐞 Fix Modal combine Drawer cause invalid scroll problem. #20242
- 🐞 Fix Drawer
switchScrollingEffect prop on a DOM elementwarning. #20175 - 🐞 Fix Select Option
labeldefinition. #20190 @ZhechenLi - 💄 Optimize Form feedback icon padding. #20164 @Satloff
- 💄 Add less variables for Select/Cascader to optimize dropdown padding and border radius. #20156 @Satloff
- 🛠 antd
package.json中补充unpkg字段。#20193 - 🐞 修复 Tree
showLine和showIcon同时开启时[+][-]图标丢失的问题。#20196 - 🐞 修复 Modal 和 Drawer 结合使用时导致滚动失效的问题。#20242
- 🐞 修复 Drawer
switchScrollingEffect prop on a DOM element警告。#20175 - 🐞 修复 Select Option 的
label属性定义。#20190 @ZhechenLi - 💄 优化 Form 反馈图标的间距样式。#20164 @Satloff
- 💄 Select/Cascader 新增和优化边距 padding 和圆角的相关 less 变量。#20156 @Satloff
- 🐞 Fix DatePicker
disabledTimeTypeScript definition to be optional. #20153 @khaledkhalil94 - 🐞 Fix Transfer's
titleofdataSourceTypeScript definition to be optional. #20144 @mraiguo
- 🐞 修正 DatePicker
disabledTime属性 TypeScript 定义为可选。#20153 @khaledkhalil94 - 🐞 修正 Transfer
dataSource的title属性 TypeScript 定义为可选。#20144 @mraiguo
- 🐞 Fix List pagination options text align. #20037
- 🐞 Fix Button text not align well in Chrome. #20059
- 🐞 Fix DescriptionItem
classNameerror applied to label. #20067 @Liu-Ya - 🐞 Fix Tree duplicated icons when
showLineis true. #20090 - 🐞 Fix Editable Typography flush in Firefox. #20118
- 🐞 Improve Icon
componentdefinition to be compatible with create-react-app svg component. #20142 - Table
- 🏆
3.26.0will be the last minor version of antd v3. And v4 beta is coming! - 🌟 Notification support
closeIconprops. #19618 @liuchao233 - 🌟 Typography support
pt_BRlocale. #19651 @liuchao233 - 🌟 Table support
defaultFilteredValuesprops. #18925 @mgcrea - 🇲🇰 Locale add Macedonian support. #19647 @sradevski
- 🐞 Fix Input.Group compat mode has wrong border radius for Input Addon. #19926
- 🐞 Fix Spin render default indicator when
indicatorisnull. #19943 - 🐞 Fix Button component
disabledwithloadingnot prevent pointer-events. #19958 - 🐞 Fix message can not cancel when
keyis provided. #19967 - 🐞 Fix image in Upload with
picture-cardmode exceeds the border. #20008 @qq645381995 - 🐞 Fix Input clear icon overlap with feedback icon. #20017
- 🐞 Fix Slider tooltip text not align center. #20016
- 🐞 Fix Descriptions items not working with React.Fragment. #20019
- 🛠 Upload under drag mode moves
classNameandstyleto the real effect dom.#19987 - 💄Add less variable
@table-header-bg-smand fix small Table footer style. #19939
- 🏆
3.26.0将为 antd v3 最后一个 minor 版本,v4 beta 版即将发布! - 🌟 Notification 支持
closeIcon属性。#19618 @liuchao233 - 🌟 Typography 添加
pt_BR国际化支持。#19651 @liuchao233 - 🌟 Table 支持
defaultFilteredValues属性。#18925 @mgcrea - 🇲🇰 国际化添加北马其顿支持。#19647 @sradevski
- 🐞 修复 Input.Group 紧凑模式下使用 Input Addon 圆角不对的问题。#19926
- 🐞 修复 Spin 在
indicator属性为null时,渲染默认的旋转图标。#19943 - 🐞 修复 Button 组件
disabled和loading状态下没有阻止鼠标事件。#19958 - 🐞 修复 message 组件使用
key时无法手动取消的问题。#19967 - 🐞 修复 Upload 在
picture-card模式下,图片过长会超出边界的问题。#20008 @qq645381995 - 🐞 修复 Input 清除图标和反馈图标重合的问题。#20017
- 🐞 修复 Slider 的 tooltip 内容没有居中的问题。#20016
- 🐞 修复 Descriptions 内使用 React.Fragment 的渲染问题。#20019
- 🛠 Upload 拖拽模式下的
className和style将会作用到真正的 dom 上。#19987 - 💄 新增 less 变量
@table-header-bg-sm并修复小号 Table 的 footer 样式。#19939
- 🐞 Fix Upload List do not have tooltip when upload failed. #19689 @qq645381995
- 💄 Fix Transfer search style to avoid text overlap with clear icon. #19693 @Abdullah700
- 🇳🇱 Update
NL-nllocales. #19734 @hoest - TypeScript
- 🐞 Fix Table FilterDropdownProps definition. #19701 @DeanVanNiekerk
- 🛠 Slider add
reversedefinition. #19713 @jacklee814 - 🐞 Update Table
filteredValuedefinition. #19722 @andelf
- 🐞 修复 Upload List 上传错误时没有鼠标悬浮提示的问题。#19689 @qq645381995
- 💄 修复 Transfer 输入框内容会与清除按钮重叠的问题。#19693 @Abdullah700
- 🇳🇱 更新
NL-nl国际化。#19734 @hoest - TypeScript
- 🐞 修复 Table FilterDropdownProps 定义。#19701 @DeanVanNiekerk
- 🛠 Slider 添加
reverse定义。#19713 @jacklee814 - 🐞 更新 Table
filteredValue定义。#19722 @andelf
- 🐞 Fix less variables of
@menu-icon-sizeand@menu-icon-size-lgnot working. #19553 @yoyo837 - 🐞 Fix DirectoryTree
defaultExpandedAllnot working withtreeData. #19646 - 🐞 Fix Drawer content overflow when
placementprop is top or bottom. #19506 @shaodahong - 🐞 Fix broken Menu.ItemGroup style inside Dropdown again. #19578
- 🐞 Fix Dropdown that menu icon
margin-rightstyle is missing. #19635 - 🐞 Fix Form.Item custom props not working. #19599 @yoyo837
- 🐞 Fix Icon
extraCommonPropsnot working properly. #19572 @yoyo837 - 🐞 Fix Modal.method() scrollbar not disabled. #19233 @emersonlaurentino
- Table
- TypeScript
- 🐞 修复定制
@menu-icon-size和@menu-icon-size-lgless 变量不生效的问题。#19553 @yoyo837 - 🐞 修复 DirectoryTree 中
defaultExpandedAll在使用treeData时不生效的问题。#19646 - 🐞 修复 Drawer 中
placement属性为 top 或 bottom 时内容溢出的问题。#19506 @shaodahong - 🐞 修复 Dropdown 下 Menu.ItemGroup 样式错乱的问题。 #19578
- 🐞 修复 Dropdown 中菜单图标丢失右边距的问题。#19635
- 🐞 修复 Form.Item 中自定义属性无法生效的问题。#19599 @yoyo837
- 🐞 修复 Icon 中
extraCommonProps属性不生效的问题。 #19572 @yoyo837 - 🐞 修复 Modal.method() 中浏览器滚动条没有禁用的问题。#19233 @emersonlaurentino
- Table
- TypeScript
- 🌟 Transfer
listStylesupport function callback. #19330 @lxnxbnq - 🌟
iconof Avatar support ReactNode. #19368 - 🌟 TextArea support
allowClear. #19310 @Rustin-Liu - 🌟 Upload support to custom
methodfor request. #19533 - 🌟 Upload
onChangeaddXMLHttpRequestas additional param. #19539 @hahmadia - 🐞 Fix WeekPicker
defaultPickerValuenot works. #19141 @NightFox7 - 🐞 Fix DatePicker
onEsc is not a functionTypeError. #19474 - 🐞 Fix table does not automatically scroll to the top when change page size. #19474 @MrHeer
- 💄 Fix Icon Button not aligned well in Button.Group. #19453
- 💄 Fix Checkbox not aligned center of some cases in Chrome. #19452
- 💄 Fix Menu
margincollapsed issue. #19476 @wangweijun0418 - 💄 Remove useless style in Select. #19510 @jacklee814
- 💄 Added less variables
@input-number-hover-border-color,@select-background. #19546 - 🌍 Add
downloadFilein all locale files. #19361 @DemetriusHR - 🇹🇭 Add missing translations in Thai (th_TH) locale. #19378 @anawinwz
- Typescript
- 🐞 Add Upload missing
previewtype. #19496 @chnliquan
- 🐞 Add Upload missing
- 🌟 Transfer
listStyle支持回调函数。#19330 @lxnxbnq - 🌟 Avatar 的
icon属性支持传递 ReactNode。#19368 - 🌟 TextArea 支持
allowClear。#19310 @Rustin-Liu - 🌟 Upload 新增
method属性用于修改请求方式。#19533 - 🌟 Upload
onChange新增XMLHttpRequest作为额外参数。#19539 @hahmadia - 🐞 修复 WeekPicker 中
defaultPickerValue不生效的问题。#19141 @NightFox7 - 🐞 修复 DatePicker 抛出
onEsc is not a function错误。#19474 - 🐞 修复 Table 改变每页大小时不滚动到第一行的问题。#19474 @MrHeer
- 💄 修复 Button.Group 下图标按钮没有对齐的问题。#19453
- 💄 修复 Checkbox 对勾在 Chrome 下有时没有居中的问题。#19452
- 💄 修复 Menu
margin样式重合的问题。#19476 @wangweijun0418 - 💄 移除 Select 中没有必要的样式。#19510 @jacklee814
- 💄 新增 less 变量
@input-number-hover-border-color,@select-background。#19546 - 🌍 国际化添加缺失的
downloadFile支持。#19361 @DemetriusHR - 🇹🇭 添加丢失的泰文国际化 (th_TH)。#19378 @anawinwz
- Typescript
- 🐞 修复 Upload 丢失的
preview定义。#19496 @chnliquan
- 🐞 修复 Upload 丢失的
- 🐞 Fix Table sort not working when
columnsinside render. #19404 - 🐞 Fix Grid responsive
gutternot working. #19308 - 🐞 Fix small Table border style. #19312 #19342
- 🐞 Fix the problem that Menu in Dropdown is not highlighted when SubMenu is selected. #19313
- 🐞 Fix the problem that moment.js in Typography & Drawer & Statistic can't be tree-shaking. #19317
- 🐞 Fix Input.Search react warnings of
non-boolean attributeandunique key. #19357 - 🐞 Fix Modal icon position when not use title. #19419
- 💄 Fix a problem with the mouse pointer error when Checkbox is disabled. #19403
- 💄 Add
@modal-header-colorvariable. #19385 - 🛠 Improved some TypeScript definitions. #19377 #19343 #19333
- 🐞 修复 Table
columns在 render 中会导致排序失效的问题。#19404 - 🐞 修复 Grid 响应式
gutter失效的问题。#19308 - 🐞 修复小号 Table 边框样式问题。#19312 #19342
- 🐞 修复 Dropdown 中的 Menu 在 SubMenu 选中后父级菜单未高亮的问题。#19313
- 🐞 修复 Typography & Drawer & Statistic 中的 moment.js 无法被 tree-shaking 的问题。#19317
- 🐞 修复 Input.Search 出现
non-boolean attribute和unique key警告信息。#19357 - 🐞 修复 Modal 没有标题时,图标没能对齐的问题。#19419
- 💄 修复 Checkbox 在被禁用时,光标仍为可选状态的问题。#19403
- 💄 新增
@modal-header-color变量。#19385 - 🛠 多处 TypeScript 的定义更新。#19377 #19343 #19333
- 🐞 修复 Table
scroll.x设置max-content无效导致横向滚动消失的问题。#19284 - 🐞 修复 Table 将
column.filterDropdown作为新属性设置时报错的问题。#19302 - 🐞 Fix Upload 点击下载按钮会触发预览的问题。#19268 @qq645381995
- 🐞 修复 Comment 长作者名在小屏幕上破坏布局的问题。#19272 @rayronvictor
- Typescript
- 🐞 Fix Table scroll={{ x: 'max-content' }} rendered without scrollbar problem in Chrome. #19284
- 🐞 Fix Table crash when passing
column.filterDropdownas new prop. #19302 - 🐞 Fix Upload
downloadbutton trigger preview unexpectedly. #19268 @qq645381995 - 🐞 Fix Comment long author name breaks on small screen. #19272 @rayronvictor
- Typescript
- 🔥 Promote Yuque on home page.
- Table
- 🌟 Added
tableLayoutproperty fortable-layoutattribute. And usingtableLayout="fixed"by default in scroll table to resolve align issue caused by cell content. #17284 - 🌟 Added
column.ellipsisto ellipsize cell content. - 🌟 Added the
scroll.scrollToFirstRowOnChangeproperty to set whether to scroll to the top of the table after page changing. #18726 - 🌟
filterDropdownadded avisibleparameter to get the display state of the dropdown box. #17614 @sedx - 🌟
titleadded asortColumnparameter to get the currently sorted column. #19012 @swillis12 - 🌟 The
sorterparameter ofonChangewill always containcolumninformation when sorting. #19226 - 🐞 Fix Table filter submenu checkbox margin. #e1a4f28
- 🌟 Added
- 🌟 Anchor added a
onChangeattribute to listen for changes to anchor links. #18715 - Upload
- 🌟 Added
showDownloadIconattribute to display download icon. #18664 @qq645381995 - 🌟 Support for
onRemovecontrol of upload interrupts. #18937 @ladjzero
- 🌟 Added
- 🌟 Input.Search added a
loadingproperty to show the state in the load. #18771 - 🌟 Grid's
gutterproperty added support for vertical spacing. Now you can set an array forgutterand the second value of the array for vertical spacing. #18979 - 🌟 message added support for updating content with a unique key. #18678
- 🌟 Layout added a
zeroWidthTriggerStyleproperty to control the style of the specialtriggerthat appears whencollapsedWidthis0. #19079 - 🌟 Drawer added the
drawerStyleandheaderStyleproperties. #19109 - PageHeader
- ConfigProvider
- 🐞 Fixed the issue that the
removeIconandclearIconproperties of TreeSelect didn't work. #18949 - 🐞 Fixed the issue that the
switcherIcondoes not take effect after the Tree settingshowLine. #18829 @MrHeer - 🐞 Fixed the issue that the Slider component set the handle size and positioned incorrectly. #19120
- Collapse
- 🐞 Fix icon styles under IE 11. #19135 @GBcrimson
- 🐞 Keep
classNamegiven toexpandIcon. #19160 @gpetrioli
- 🐞 Fixed the issue that
defaultExpandAlldoes not take effect when Tree.DirectoryTree component passedtreeData. #19148 - 🐞 Fixed the issue with some of the Menu styles under Dropdown. #19150
- 🐞 Fixed Cascader's
placeholderinternationalization error. #19227 @kagawagao - 🌟 Added less variables
@typography-title-margin-top,@typography-title-margin-bottom. #18746 - 🗑 Discard the
autosizeproperty of Input.TextArea, useautoSizeinstead. #19177
- 🔥 首页新增语雀的推广链接。
- Table
- 🌟 新增
tableLayout属性,支持设置表格的table-layout布局,并在固定表头/列下默认开启tableLayout="fixed",解决因为表格自动根据内容排版造成的列对齐问题。#17284 - 🌟 新增
column.ellipsis支持单元格内容自动省略。 - 🌟 新增
scroll.scrollToFirstRowOnChange属性,用于设置在翻页后是否滚动到表格顶部。#18726 - 🌟
filterDropdown新增visible参数,用于获取下拉框的显示状态。#17614 @sedx - 🌟
title方法新增sortColumn参数,用于获取当前排序的列。#19012 @swillis12 - 🌟 排序时
onChange的sorter参数将始终包含column信息。#19226 - 🐞 修复过滤下拉菜单的间距问题。#e1a4f28
- 🌟 新增
- 🌟 Anchor 新增
onChange属性,用于监听锚点链接的改变。#18715 - Upload
- 🌟 新增
showDownloadIcon属性,用于展示下载图标。#18664 @qq645381995 - 🌟 支持
onRemove对上传中断的控制。#18937 @ladjzero
- 🌟 新增
- 🌟 Input.Search 新增
loading属性,用于展示加载中的状态。#18771 - 🌟 Grid 的
gutter属性新增垂直间距的支持,现在你可以给gutter设置一个数组,数组的第二个值就表示垂直间距。#18979 - 🌟 message 新增支持通过唯一的
key来更新内容。#18678 - 🌟 Layout 新增
zeroWidthTriggerStyle属性以控制当collapsedWidth为0时,出现的特殊trigger的样式。#19079 - 🌟 Drawer 新增
drawerStyle和headerStyle属性。#19109 - PageHeader
- ConfigProvider
- 🐞 修复 TreeSelect 的
removeIcon和clearIcon属性不生效的问题。#18949 - 🐞 修复 Tree 设置
showLine后switcherIcon不生效的问题。#18829 @MrHeer - 🐞 修复 Slider 组件设置
handle大小后定位错误的问题。#19120 - Collapse
- 🐞 修复在 IE 11 下的图标样式。#19135 @GBcrimson
- 🐞 修复
expandIcon的className会被覆盖的问题。#19160 @gpetrioli
- 🐞 修复 Tree.DirectoryTree 组件传入
treeData时defaultExpandAll不生效的问题。#19148 - 🐞 修复 Dropdown 下部分 Menu 样式错乱的问题。#19150
- 🐞 修复 Cascader 的
placeholder国际化错误。#19227 @kagawagao - 🌟 新增 less 变量
@typography-title-margin-top和@typography-title-margin-bottom。#18746 - 🗑 废弃 Input.TextArea 的
autosize属性,请使用autoSize代替。#19177
- 🐞 Fix Upload preview image cannot fill the picture card box. #18990
- 🐞 Fix Breadcrumb not support
data-*andaria-*attributes. #18941 @sosohime - 🐞 Fix TreeSelect
removeIconandclearIconnot working. #18949 @sosohime - 🐞 Fix Tree
switcherIconprop not working whenshowLineis true. #18829 @MrHeer - 🐞 Fix style bug of Button with icon only when in Button.Group. #18994
- 🐞 Remove Select useless prop
searchValuewhich is a total misunderstanding. #19003 - 🐞 Fix Avatar string blink when ssr render at first time. #19029
- TypeScript
- 🐞 Fix Grid type definition. #18946 @handycode
- 🐞 修复 Upload 预览图片无法填充满图片框的问题。#18990
- 🐞 修复 Breadcrumb 不支持
data-*和aria-*的问题。#18941 @sosohime - 🐞 修复 TreeSelect
removeIcon和clearIcon不工作的问题。#18949 @sosohime - 🐞 修复 Tree 组件当
showLine设置后switcherIcon没有正常工作的问题。#18829 @MrHeer - 🐞 修复按钮图标在 Button.Group 中的错位问题。#18994
- 🐞 移除 Select 中无效属性
searchValue的定义及文档。#19003 - 🐞 修复 Avatar 文本头像在 ssr 时会闪烁的问题。#19029
- TypeScript
- 🐞 修复 Grid 组件的类型定义。#18946 @handycode
- 🐞 Fix item not disabled when Transfer is
disabled. #18849 - 🐞 Revert Dragger to class component to fix ref warning. #18707
- 🐞 Fix Input
addonAftericon height bug in Chrome. #18858 - 🐞 Fix Menu lost state when being collapsed to
0px. #18907 - 🐞 Disabled input should not trigger the action of suffix part. #18900
- 🐞 Fix title and content of Alert not break line when long text exist. #18929
- 💄 Add
@page-header-back-colorless variable. #18887 - TypeScript
- 🐞 Fix Table event type definition. #18910
- 🐞 修复 Transfer
disabled下勾选框不被禁用的问题。#18849 - 🐞 回滚 Dragger 到 class component 以修复 ref 警告信息。#18707
- 🐞 修复 Input
addonAfter里图标高度在 Chrome 下偏大的问题。#18858 - 🐞 修复 Menu 在
collapsedWidth={0}时,折叠后丢失selectedKeys状态的问题。#18907 - 🐞 修复 Input 在禁用状态时,后缀图标可点击的问题。#18900
- 🐞 修复 Alert 标题和内容过长不换行的问题。#18929
- 💄 增加
@page-header-back-colorless 变量。#18887 - TypeScript
- 🐞 修复 Table 事件的类型定义。#18910
- 🐞 Fix ConfigProvider
localenot working with Modal in some situation. #18732 - 🐞 Fix Avatar extrusion style when using long pictures. #18768 @Eusen
- 🐞 Fix InputNumber active border style. #18791 @escorponox
- 🐞 Fix Input.Search not trigger
onSearchwhen click clear icon. #18783 - 🐞 Fix text color of Button inside Menu. #18820
- 🐞 Fix
size="small"Table header missing right border. #18821 - ⌨️ Enhance accessibility of Alert close button. #18750 @MrHeer
- 💄 Tweak Button
type="link"should not insert space. #18724 - TypeScript
- 🐞 修复 ConfigProvider
locale国际化在某些场景下对 Modal 不生效的问题。#18732 - 🐞 修复 Avatar 长图片时被挤压的样式问题。#18768 @Eusen
- 🐞 修复 InputNumber 高亮边框的样式问题。#18791 @escorponox
- 🐞 修复 Input.Search 点击清除图标时没有触发
onSearch的问题。#18783 - 🐞 修复 Menu 内的 Button 字体颜色。#18820
- 🐞 修复 Table
size="small"时丢失列头右边框的问题。#18821 - ⌨️ 增强 Alert 关闭按钮的可访问性。#18750 @MrHeer
- 💄 优化 Button 类型为
link时,中文字符之间不再自动插入空格。#18724 - TypeScript
- 🐞 Fix
roundButton font size too large. #18701 - 🐞 Fix Descriptions warning with same key when bordered is true. #18637
- 🐞 Fix Drawer animation when
placementis right andmaskis false. #18636 - 🐞 Fix Icon that
componentandchildrenprop should have priority overtypeprop. #18592 - 🐞 Fix Layout.Sider boundary values for max-width. #18553 @Nikitenkova
- 🐞 Fix PageHeader that back icon can't coexist with breadcrumb. #18691
- 🗑Deprecated Select
inputValueprop and usesearchValueinstead. #18629 - TypeScript
- 🐞 修复圆形按钮的字体大一号的问题。#18701
- 🐞 修复 Descriptions 带边框时控制台告警的问题。#18637
- 🐞 修复 Drawer 无遮罩从右边展开时的动画问题。#18636
- 🐞 修复 Icon 中
component和children属性优先级低于type的问题。#18592 - 🐞 修复 Layout.Sider 的最大宽度的响应式断点值。#18553 @Nikitenkova
- 🐞 修复 PageHeader 中返回图标与面包屑无法共存的问题。#18691
- 🗑 废弃 Select 的
inputValue属性,请使用searchValue代替。#18629 - TypeScript
- 🔥 Pageheader has been redesigned to accommodate more situations. #18128
- 🌟 Card support
tabBarExtraContentprop. #18433 @lengthmin - 🌟 Anchor.Link add add new property
target. #18335 @DiamondYuan - 🌟 Breadcrumb support children use with
React.Fragment. #18340 @long-zhuge - 🌟 Card.Grid add new prop
hoverablefor support disable hover state. #18457 @MrHeer - 🇦🇲 Added locales for the Armenian language. #18586 @ashmna
- InputNumber
- Less variables
- 🛎 Add warning when use
valueof Switch, Checkbox, Upload. #18497 - 🛠 Refactor styleChecker to arrow function for fix serverless target in next.js. #18541 @ZhengYuTay
- 🐞 Fix circle Button not circle in some situation. #18516
- 🐞 Fix icon position in Input. #18521 @xrkffgg
- 🐞 Fix RangePicker selected date style. #18559
- Descriptions
- 🐞 Fix Tab content width not correct in Safari. #18574
- 🐞 Fix Mentions popup position not correct when
prefixis empty string. #18576 - 🐞 Fix Upload.Dragger can upload multiple files when
multipleis false. #18580 - 🐞 Fix Card
actionsstyle when contains link Button. #18588 - 🐞 Fix Input not vertical align with Button in Chrome. #18603
- 🐞 Fix nested List style in grid layout. #18589
- TypeScript
- 🔥 PageHeader 样式重新设计以适应更多的情况。#18128
- 🌟 Card 组件新增了
tabBarExtraContent属性。#18433 @lengthmin - 🌟 Anchor.Link 增加
target属性。#18335 @DiamondYuan - 🌟 Breadcrumb 支持子组件使用
React.Fragment的场景。#18340 @long-zhuge - 🌟 Card.Grid 新增
hoverable属性允许禁用浮动效果。#18457 @MrHeer - 🇦🇲 新增亚美尼亚语。#18586 @ashmna
- InputNumber
- Less 变量
- 🛎 Switch、Checkbox 和 Upload 使用
value时会提示正确的属性名。#18497 - 🛠 使用箭头函数重构 styleChecker 来修复在 next.js 中的问题。#18541 @ZhengYuTay
- 🐞 修复圆形 Button 有时候不是圆形的问题。#18516
- 🐞 修复 Input 中图标位置不居中情况。#18521 @xrkffgg
- 🐞 修复 RangePicker 多余的选中日期样式。#18559
- Descriptions
- 🐞 修复 Tab 内容宽度在 Safari 下不正确的问题。#18574
- 🐞 修复 Mentions 的
prefix为空字符串时,弹窗位置不正确的问题。#18576 - 🐞 修复 Upload.Dragger 在
multiple为 false 时,仍然可以上传多份文件的问题。#18580 - 🐞 修复
Button[href]在 Cardactions中样式变形的问题。#18588 - 🐞 修复 Chrome 中 Input 与 Button 不垂直对齐的问题。#18603
- 🐞 修复网格 List 中内嵌 List 的边距问题。#18589
- TypeScript
- 🐞 Fix Mentions has additional height in Form. #18478
- 🐞 Fix disabled Input should not be allowed to clear. #18482
- 🐞 Fix Input.Password crash with
Cannot read property 'input' of nullwhen unmount. #18475 - 🐞 Fix Table
styleshould applied to outside wrapper. #18494 - 🐞 Fix PageHeader default english text. #18471 @hjiawei
- 🔥 The official website now supports the search icon through the picture! #18425
- 💄 Tweak Table expand icon style. c5344bd
- 🐞 Fix prop
styleis getting duplicated on Table. #18330 @MrHeer - 🐞 Fix Input line height style bug in IE11. #17759
- 🐞 Fix Steps progressDot broken style. #18356
- 🐞 Fix an issue with plain icon button style errors. #18458 @qhanw
- 🐞 Fix TextArea with
autosizein controlled mode that scrollbar blink when typing. #18401 - 🐞 Fixed an issue where Input.Password
refcould not get the input element and had nofocusandblurmethod. #18441 - 🐞 Fix Upload wrong line break. #18423
- 💄 Add less variables
@select-dropdown-bg@select-item-selected-bg@select-item-active-bg@anchor-border-colorr@descriptions-bg. #18444 #18372 @MrHeer
- 🔥 官网现在支持通过图片搜索图标啦!#18425
- 💄 调整 Table 展开按钮的样式。c5344bd
- 🐞 修复 Table 的
style属性被应用了两次的问题。#18330 @MrHeer - 🐞 修复 Input 在 IE11 下错位的问题。#17759
- 🐞 修复 Input.Password
ref获取不到 input 元素且没有focus和blur方法的问题。#18441 - 🐞 修复 Steps
progressDot样式错位问题。#18356 - 🐞 修复纯图标按钮样式错误的问题。#18458 @qhanw
- 🐞 修复 TextArea 受控模式下配置
autosize时,输入会导致滚动条闪烁的问题。#18401 - 🐞 修复 Upload 错误换行的问题。#18423
- 💄 增加 less 变量
@select-dropdown-bg@select-item-selected-bg@select-item-active-bg@anchor-border-colorr@descriptions-bg。#18444 #18372 @MrHeer
- 🔥 New type
navigationof Step. #17994 -
- 🇷🇴 Add Romanian locale. #18163 @stefy
- Anchor
- 🌟 Add
getCurrentAnchorproperty to specify current active anchor. #17823 @shaodahong - 🌟 Add
targetOffsetproperty to customize scroll position offset. #17827 @shaodahong
- 🌟 Add
- 🌟 Drawer supports popup in custom dom node. #18167
- 🌟 Mentions support
getPopupContainerproperty. #18298 @vijayst - 🌟 Modal support custom
closeIcon. #18309 - 🌟 Upload support to preview
jfifformat images. #18322 - 💄 Tweak Descriptions.Item padding bottom via size. #18270
- Cascader
- 🐞 Fix Menu.SubMenu
classNameapplied to popup menu mistakenly. #18290 - 🐞 Upgrade react-slick to fix Carousel lifecycle warning. #18209
- 🐞 Fix Button
received false for a non-boolean attribute loadingwarning. #18208 - 🐞 Fix style problem when hovering Table selected row. #18261
- 🐞 Fix Checkbox hovering border color when it is
disabled. #18168 - 🐞 Fix Progress missing or messed gradient color. #18284
- 🐞 修复 TextArea scrollbar blinking problem when using
autosizeandmaxRows. #18289 - TypeScript
- 🐞 Fix some components (Tooltip, Breadcrumb, Badge) importing error. #18282 @lidianhao123
- 🐞 Fix MonthPicker
monthCellContentRenderproperty definition. #18192 @JonathanLee-LX - 🐞 Fix Upload.Dragger
childrenerror. #18196 - 🐞 Fix Tag.CheckableTag
styleproperty definition. #18300
- 🔥 新增 Steps
type="navigation"导航步骤条。#17994 -
- 🇷🇴 新增罗马尼亚语。#18163 @stefy
- Anchor
- 🌟 新增
getCurrentAnchor属性用于指定当前高亮锚点。#17823 @shaodahong - 🌟 新增
targetOffset属性用于自定义滚动偏移量。#17827 @shaodahong
- 🌟 新增
- 🌟 支持 Drawer 在局部节点弹出。#18167
- 🌟 Mentions 新增
getPopupContainer属性。#18298 @vijayst - 🌟 Modal 支持
closeIcon属性用于自定义关闭图标。#18309 - 🌟 Upload 支持预览
jfif格式图片。#18322 - 💄 调整不同大小下 Descriptions.Item 内边距样式。 #18270
- Cascader
- 🐞 修复 Menu.SubMenu
className错误应用到弹层上的问题。#18290 - 🐞 升级 react-slick 以修复 Carousel 的生命周期警告问题。#18209
- 🐞 修复 Button
received false for a non-boolean attribute loading警告信息。#18208 - 🐞 修复 Table 选中行 hover 背景样式问题。#18261
- 🐞 修复 Checkbox 失效时的 hover 边框颜色。#18168
- 🐞 修复 Progress 渐变色混乱和失效的问题。#18284
- 🐞 修复 TextArea
autosize内使用maxRows时滚动条闪烁的问题。#18289 - TypeScript
- 🐞 修复部分组件(Tooltip、Breadcrumb、Badge)无法引入的问题。#18282 @lidianhao123
- 🐞 修复 MonthPicker
monthCellContentRender属性。#18192 @JonathanLee-LX - 🐞 修复 Upload.Dragger
children报错的问题。#18196 - 🐞 修复 Tag.CheckableTag 的
style属性定义。#18300
- 🐞 Fix the problem that Dropdown.Button requires
titleprops.
- 🐞 修复 Dropdown.Button 的
title类型。
- Timeline
- 🐞 Fix Tabs content with margin collapse with navigation. #18112
- 🐞 Fix Textarea
autosizeshows scrollbar after resize. #18114 - 🐞 Fix Tooltip not work correctly on
disabledCheckbox. #18138 - 🐞 Fix a Button line-height align issue. #18139
- 🐞 Fix missing
blurandfocusmethods on Mentions. #18132 @yoyo837 - 🐞 Fix missing
titleon Button. #18130 @yoyo837 - 🐞 Fix Upload throw File not defined in IE9. #18115
- 🐞 Fix Input clear icon not align correctly. #18151
- 🐞 Fix Card broken style when using Button as
actions. #18179 - 🐞 Fix the problem that Modal.confirm can't set
getContainer. #18182 - ⌨️ Improve Divider accessibility by adding role="separator". #18116
- Timeline
- 🐞 修复 Tabs 内容带有 margin 时会与标题相互作用的问题。#18112
- 🐞 修复 Textarea
autosize在调整尺寸后仍然显示滚动条的问题。#18114 - 🐞 修复 Tooltip 在
disabledCheckbox 上不能正确工作的问题。#18138 - 🐞 修复 Button 的行高对齐问题。#18139
- 🐞 修复 Mentions 没有
blur和focus方法的问题。#18132 @yoyo837 - 🐞 修复 Button 无法设置
title的问题。#18130 @yoyo837 - 🐞 修复 Upload 在 IE9 下报 File 未定义的问题。#18115
- 🐞 修复 Input 清除图标不居中对齐的问题。#18151
- 🐞 修复 Card
actions内使用 Button 的样式问题。#18179 - 🐞 修复 Modal.confirm 无法设置
getContainer的问题。#18182 - ⌨️ 增强 Divider 可访问性支持。#18116
- 🌟 Breadcrumb adds
Separatorcomponent. #17873 @long-zhuge - 🌟 Descriptions adds
colonprops. #17560 @hengkx - 🌟 Rotate zero when Sider triggers in right mode. #18043 @kagawagao
- 🌟 Table add
getPopupContainerprops. #17806 - 🌟 Add new color
grayfor Timeline.Item for unfinished or disabled status. #17731 - 🌟 Upload adds
transformFileto support transforming file before file uploading. #18009 @lijinke666 - 🐞 Fix ConfigProvider
getPopupContainernot working in Table. #17806 - 🐞 Fix Statistic font not align with global font. #18044
- 🐞 Fix
Form.Itemlabel replace regexp. #17985 @shaodahong - 🐞 Fix Select search style. #17760 @chenyizhongx
- 🐞 Fix DatePicker style bug when
modeis decade. #17887 @xrkffgg - 🐞 Fix wave effect performance of Button and other related component. #17945
- 🐞 Fix Tabs
tabBarExtraContentalign issue. #17969 - 🐞 Fix Tabs error when
typeiseditable-cardand child component is false. #17965 @oldturkey - 🐞 Remove
atag in Alert's close tag. #17872 @geograous - 💄 Unified drawer and modal
maskopacity. #17943 - 💄 Optimize RangePicker focus style. #17983
- 💄 Tag now will be rendered as a
span. #17971 - 💄 Enhance accessibility of Table expanded icon. #17781
- 💄 Merge LocaleProvider into ConfigProvider. #17816
- 💄 Add some less variables. #17976 @Yangzhedi #17613 @alxkosov:
@table-footer-bg@table-footer-color@menu-icon-size@menu-icon-size-lg
- 🇲🇾 Add locale Malay. #17546 @austin-krave
- 🇸🇪 Add Swedish translation for Typography (Text) component. #17858 @Malven
- 🇫🇷 Add French translation for Typography (Text) component. #17418 @Clafouti
- 🏴 Add Tamil spanish translations. #17903 @sivaraj-dev
- TypeScript
- 🌟 新增
Breadcrumb.Separator组件,可进行separator自定义。#17873 @long-zhuge - 🌟 Descriptions 新增
colon属性。#17560 @hengkx - 🌟 当 Sider 在右边时,翻转
trigger方向。#18043 @kagawagao - 🌟 Table 新增
getPopupContainer属性用于设置表格内的各类浮层渲染节点。#17806 - 🌟 Timeline.Item 新增
gray色彩类型,可用于未完成或失效状态。#17731 - 🌟 Upload 新增
transformFile支持上传之前转换文件。#18009 @lijinke666 - 🐞 修复 ConfigProvider
getPopupContainer对 Table 不生效的问题。 #17806 - 🐞 修复 Statistic 字体与全局字体不一致的问题。#18044
- 🐞 修复
Form.Itemlabel 正则替换问题。#17985 @shaodahong - 🐞 修复 Select 搜索框箭头样式问题。 #17760 @chenyizhongx
- 🐞 修复 DatePicker 中选择
mode为 decade 时,border 样式 bug。#17887 @xrkffgg - 🐞 修复 Button 以及相关组件的波纹性能问题。#17945
- 🐞 修复 Tabs
tabBarExtraContent不居中对齐的问题。#17969 - 🐞 修复 Tabs 在
type为editable-card且子组件为 false 值时会报错的问题。#17965 @oldturkey - 🐞 移除 Alert 关闭标签中的
a标签。#17872 @geograous - 💄 统一 Drawer 和 Modal 的
mask透明度为 45%。#17943 - 💄 优化 RangePicker 当前选中样式,与 DatePicker 样式统一。#17983
- 💄 调整 Tag 的 html 标签为
span。#17971 - 💄 提升 Table 展开按钮的无障碍体验。#17781
- 💄 将 LocaleProvider 合并入 ConfigProvider。#17816
- 💄 增加 less 变量 #17976 @Yangzhedi #17613 @alxkosov:
@table-footer-bg@table-footer-color@menu-icon-size@menu-icon-size-lg
- 🇲🇾 新增马来语语言包。#17546 @austin-krave
- 🇸🇪 新增 Typography 的瑞典语言翻译。#17858 @Malven
- 🇫🇷 新增 Typography 的法语语言翻译。#17418 @Clafouti
- 🏴 新增部分组件的泰米尔语语言翻译。#17903 @sivaraj-dev
- TypeScript
- 🐞 Fix Col miss the place when its height is 0. #17748 @yoyo837
- 🐞 Fix Cascader was broken when
options'schildrenisnull. #17756 - 🐞 Fix Checkbox padding where all spans align left. #17752 #17761 @inovux
- 🐞 Fix Input line height style bug in IE. #17759
- 🐞 Fix last item of Rate has additional margin. #17764 @inovux
- 🐞 Fix Radio.Button disabled item border style. #17775
- 🐞 Fix DatePicker
@input-hover-border-colorvariables not working. #17784 - 🐞 Fix Transfer not re-render list when
dataSourcewithlazy. #17783 - 🐞 Fix RangePicker
defaultValuestartTime later than endTime. #17694 @mraiguo - 💄 Tweak long
placeholdertruncate style. #17797 @Kapiroska - 🐞 Fix Menu circular dependencies. #17805 @phthhieu
- 🐞 Fix Alert
messagestyle. #17808 @mtadams007 - 🐞 Fix Result
extrais not centered. #17786 @nnecec - 🐞 Fix Progress with mini
valuenot keeps bar radius round. #17819 - 🐞 Fix Statistic.Countdown
formatnot escaping characters in square brackets. #17841 - 🐞 Fix Table custom
filterDropdownalways triggeringonChangein some situations. #17846 - 🐞 Fix TimePicker weird render bug in Safari. #17857
- 🐞 修复 Col 在高度为 0 时的占位问题。 #17748 @yoyo837
- 🐞 修复 Cascader
options中children为null时报错的问题。#17756 - 🐞 修复 Checkbox 左对齐的内边距问题。#17752 #17761 @inovux
- 🐞 修复 Input 在 IE 下错位的问题。#17759
- 🐞 修复最后一个 Rate 有额外边距的问题。#17764 @inovux
- 🐞 修复 Radio.Button 失效项的边框样式问题。#17775
- 🐞 修复 DatePicker
@input-hover-border-color变量不生效的问题。#17784 - 🐞 修复 Transfer 在
lazy时更新数据不触发重新渲染的问题。#17783 - 🐞 修复 RangePicker
defaultValue中开始时间可大于结束时间的问题。#17694 @mraiguo - 💄 优化
placeholder文字过长时的截断样式兼容性问题。#17797 @Kapiroska - 🐞 修复 Menu 循环依赖的问题。#17805 @phthhieu
- 🐞 修复 Alert
message样式问题。#17808 @mtadams007 - 🐞 修复 Result
extra部分不居中的问题。#17786 @nnecec - 🐞 修复 Progress 在
value较小时,左边条不够圆的问题。#17819 - 🐞 修复 Statistic.Countdown
format不支持方括号保留字符串的问题。#17841 - 🐞 修复 Table 自定义
filterDropdown在某些情况下消失时总是触发onChange的问题。#17846 - 🐞 修复 TimePicker 在 Safari 下的滚动条渲染问题。#17857
- 🐞 Fix multiple level Drawer with falsy
mask, parent Drawer can not collapse after removing sub component. #17698 - 🐞 Fix Table border radius missing in Firefox. #17641
- 🐞 Fix Menu throw warning
Cannot update during an existing state transition. #17657 - 🐞 Fix Affix not resize when container size changed. #17678
- 🐞 Fix Anchor not update bind element when
getContainerchanged. #17677 - 🐞 Fix window scroll issue when using Modal and Drawer same time. #17600
- 🌟 Empty
descriptionsupportsfalse. #17659 @billfeller - 💄 Remove Pagination element underline style to avoid polluted by global style. #17728
- 💄 Extends Card action click area. #17705 @lhx6538665
- 💄 Tweak less variables and UI to improve style customization. #17705
- Optimize danger Button UI design.

- Fix
@border-radius-smnot working for Slider, TreeSelect. - Added some less variables for Progress, Tabs, Slider and Timeline.
- Optimize danger Button UI design.
- TypeScript
- 💄 Improve type definition of Form. #17676 @lixiaoyang1992
- 💄 Improve type definition of Tabs. #17675
- 🐞 修复多层级 Drawer 的
mask为 false 时,卸载子级组件后父抽屉不收回的问题。#17698 - 🐞 修复 Table 圆角样式在 Firefox 下丢失的问题。#17641
- 🐞 修复 Menu 抛出
Cannot update during an existing state transition警告的问题。#17657 - 🐞 修复 Affix 容器变化时尺寸不变的问题。#17678
- 🐞 修复 Anchor 监听元素不随着
getContainer变化的问题。#17677 - 🐞 修复 Modal 和 Drawer 同时使用导致的窗体滚动条冲突的问题。#17600
- 🌟 Empty
description支持false。 #17659 @billfeller - 💄 去除 Pagination 元素下划线以防止被全局样式污染。#17728
- 💄 拓展 Card action 可点击区域。#17705 @lhx6538665
- 💄 对 Less 变量进行了一波调整,以适应更多细节风格定制。#17697
- 调整危险按钮样式。

- 修复
@border-radius-sm对 Slider、TreeSelect 不生效的问题。 - Progress、Tabs、Slider、Timeline 组件补充 less 变量。
- 调整危险按钮样式。
- TypeScript
- 💄 完善 Form 的类型定义。#17676 @lixiaoyang1992
- 💄 完善 Tabs 的类型定义。#17675
- 📖 Add version description for every features. #17373 @muzea
- 🐞 Fix Button transition style when loading. #17596 @LilyWakana
- Cascader - 🐞 Fix not display
notFoundContentwhen options.length is 0. #17538 - 🐞 Fix option's loading not aligned whenisLeafis true. #17550 - 🐞 Fix over-length text covered by arrow. #17583 - 🐞 Fix Input style when suffix and clear icon exist both. #17508 @LilyWakana
- TypeScript - 💄 Improve type definition of Cascader's option. #17581 @MrHeer - 🐞 Fix type definition of Descriptions.title. #17412 - 🐞 Fix type definition of Collapse.activeKey, Collapse.defaultActiveKey and CollapsePanel.key. #17557 @thylsky
- 📖 文档中增加对组件新特性的版本说明。#17373 @muzea
- 🐞 修复 Button 组件的 loading 样式问题。#17596 @LilyWakana
- Cascader - 🐞 修复 options 为空时不展示空内容的问题。#17538 - 🐞 修复 option 的 isLeaf 为 true 时 loading 样式没有对齐的问题。#17550 - 🐞 修复文本过长被箭头遮挡的问题。#17583
- 🐞 修复 Input 组件存在多个后缀图标时的样式错乱问题。#17508 @LilyWakana
- TypeScript - 💄 完善 Cascader 的
option类型定义。#17581 @MrHeer - 🐞 修复 Descriptions 的title类型定义。#17412 - 🐞 修复 Collapse 的 activeKey、defaultActiveKey 以及 Collapse.Panel 的 key 类型定义。#17557 @thylsky
- 💄 Optimize TimePicker focus style. #17447
- 💄 Optimize DatePicker arrow style for resolve messy when not use utf-8. #17480
- 🐞 Remove useless props which Drawer pass to rc-drawer for avoid error. #17390
- 🐞 Fix Tabs disabled tab and next icon style. #17500
- 🐞 Fix Result's problem that the
classNameis empty and the class name is wrong. #17389 - 🐞 Fix DatePicker's input box is obscured on safari. #17421
- 🐞 Fix typo icon name
colum-heighttocolumn-height. #17458 - TypeScript
- 🐞 Fix Form
onSubmittype. #17412 - 🐞 Fix omit AutoComplete
loadingtype. #17433 - 🐞 Fix Switch
onClicktype. #17502 @DiamondYuan
- 🐞 Fix Form
- 💄 优化 TimePicker 聚焦状态的样式。#17447
- 💄 优化 DatePicker 箭头样式,解决非 utf-8 编码下箭头样式乱码的问题。#17480
- 🐞 删除 Drawer 中传给 rc-drawer 的不必要的属性避免报错。#17390
- 🐞 修复 Tabs 当前失效页签样式以及切换图标错位 2px 的问题。#17500
- 🐞 修复 Result 组件
className为空造成类名错误的问题。#17389 - 🐞 修复 safari 浏览器 DatePicker 组件输入框被遮挡的问题。#17421
- 🐞 修复图标名
colum-height为column-height。#17458 - TypeScript
- 🐞 修复 Form
onSubmitTypeScript 定义。#17412 - 🐞 修复 AutoComplete 多余的
loading属性 TypeScript 定义。#17433 - 🐞 修复 Switch 的
onClick的 TypeScript 定义。#17502 @DiamondYuan
- 🐞 修复 Form
- 🔥🔥🔥 Add Result Used to feed back the results of a series of operational tasks.
- 🔥 Descriptions support vertical layout. #17330 @hengkx
- 🔥 Progress.Circle support gradient line color. #17315 @hengkx
- 🔥 Optimize PageHeader className naming. #17321
- 🐞 Drawer fixes
maskClosebleto false, keyboard ESC closes invalid. #17316 - 🐞 Fixed an issue where Drawer closes not calling
afterVisibleChangein Edge. #17311 - 🌟 Drawer adds
keyboardto allow opening and closing of responses to keyboard events. #17316 - 🌟 Popconfirm adds the
disabledprops to control whether the click child element pops up. #16985 @lhyt - ⌨️ Improve TimePicker accessibility. #17099
- 💄 Fix Tooltip arrow shadow style. #17264
- 🐞 Fix Descriptions.Item not support
className. #17280 - 🐞 Fixing Descriptions.Item does not set a label and will also display the
:question. #17337 - 🐞 Fixed the incorrect color of the
placeholderof the Mentions. #17317 - 🐞 Fixed incorrect line-height for Mentions. #17347
- 💄 Fixed small Table header background to white according to design spec. #17351
- 🌟 The CheckboxGroup
onChangevalue keeps the order of the options. #17342 @yoyo837 - 🐞 Fix Tooltip not work correctly on disabled Switch. #17372
- 💄 add variables #16843 #17031 #16996 @alxkosov:
@dropdown-line-height@dropdown-font-size@dropdown-vertical-padding@collapse-panel-border-radius@table-body-selected-sort-bg@table-selected-row-hover-bg
- TypeScript
- 📝 Updated several documents. #17336 #17345 #17355
- 🔥🔥🔥 新增 Result 用于反馈一系列操作任务的处理结果。
- 🔥 Descriptions 支持垂直布局。#17330 @hengkx
- 🔥 优化 PageHeader 的
className定义。#17321 - 🔥 Progress.Circle 支持渐变色。#17315 @hengkx
- 🐞 Drawer 修复
maskCloseble为 false,键盘 ESC 关闭无效的问题。#17316 - 🐞 修复在 Edge 下 Drawer 关闭后没有调用
afterVisibleChange的问题。#17311 - 🌟 Drawer 新增
keyboard,允许打开关闭对键盘事件的响应。#17316 - 🌟 Popconfirm 增加
disabledprops,用于控制点击子元素是否弹出。#16985 @lhyt - ⌨️ 改进 TimePicker 可访问性。#17099
- 💄 修复 Tooltip 箭头阴影样式。#17264
- 🐞 修复 Descriptions.Item 不支持
className的问题。#17280 - 🐞 修复 Descriptions.Item 不设置 label,也会显示
:的问题。#17337 - 🐞 修复 Mentions 组件的
placeholder颜色不正确的问题。#17317 - 🐞 修复 Mentions 组件的行高不正确的问题。#17347
- 💄 按照设计规范修复小号 Table 的背景色。#17351
- 🌟 CheckboxGroup
onChange值保持选项的顺序。#17342 @yoyo837 - 🐞 修复 Tooltip 在 disabled Switch 中工作不正确的问题。#17372
- 💄 增加 less 变量 #16843 #17031 #16996 @alxkosov:
@dropdown-line-height@dropdown-font-size@dropdown-vertical-padding@collapse-panel-border-radius@table-body-selected-sort-bg@table-selected-row-hover-bg
- TypeScript
- 📝 更新了几处文档。#17336 #17345 #17355
- 🐞 Fix Descriptions throw error when contains falsy child. #17207 @superandrew213
- 🐞 Fix a scrollbar style problem of empty Table in IE. #17223
- 🐞 Fix single Breadcrumb not showing on PageHeader. #17209
- 🐞 Fix Modal that 24px botton area cannot trigger mask click event. #17229
- 🐞 Fix Layout Sider‘s zero-width trigger
z-indexbug. #17228 - TypeScript
- ⚡️ Use the
unknowntype in typescript 3.0 to improve defintions. #14044 @Zzzen - 🐞 Fix Calendar
headerRendershould be optional. #17063 @wonderjar
- ⚡️ Use the
- 🐞 修复 Descriptions 内无法嵌套空值的问题。#17207 @superandrew213
- 🐞 修复 Table 空数据表格在 IE 下的一个滚动条样式问题。#17223
- 🐞 修复单个 Breadcrumb 未在 PageHeader 上显示的问题。#17209
- 🐞 修复 Modal 底部 24px 像素遮罩区域无法触发关闭弹窗行为。#17229
- 🐞 修复 Layout Sider 的展开按钮
z-index太低的问题。#17228 - TypeScript
- ⚡️ 使用
unknown代替any优化 TypeScript 定义。#14044 @Zzzen - 🐞 修复 Calendar
headerRender属性为可选。#17063 @wonderjar
- ⚡️ 使用
- PageHeader
- 🐞 Fix Table with sort not back to first page. #16978
- 🐞 Fix Menu.SubMenu with selected item should have active style. #17039
- 🐞 Fix Tree with showLine animation shake. #17055
- 🐞 Fix Collapse's redundant scrollbar. #17009 #mtadams007
- 🐞 Fixing date formats for Arabic-Egypt locale. #17092 #3b3ziz
- 🐞 Fix Input not align with other components in Chrome. #17082
- 💄 Adjust bordered table header scrollbar style. #17065
- 🌟 Make Divider style customization easier. #17113
- 🇷🇺 Add missing Russian translations. #17108 #Enfield1
- 🌟 Add new less variables #17041 #SamKirkland:
@comment-font-size-base@comment-font-size-sm
- PageHeader
- 🐞 修复 Table 数据排序后不会回到第一页的问题。#16978
- 🐞 修复 Menu 选项的子菜单选中并收起时没有高亮的问题。#17039
- 🐞 修复 Tree 使用
showLine时动画抖动的问题。#17055 - 🐞 修复 Collapse 会出现多余滚动条的问题。#17009 #mtadams007
- 🐞 修复 DatePicker 阿拉伯语的时间格式。#17092 #3b3ziz
- 🐞 修复 Input 与其他组件不对齐的问题。#17082
- 💄 优化带边框 Table 的滚动条样式细节。#17065
- 🌟 优化 Divider 实现方式以方便样式定制。#17113
- 🇷🇺 新增部分俄语翻译。#17108 #Enfield1
- 🌟 新增 less 变量 #17041 #SamKirkland:
@comment-font-size-base@comment-font-size-sm
- 📝 Add FAQ for DatePicker/RangePicker with
modecannot be selected. #16984 - 🐞 Fix Breadcrumb validateDOMNesting warning. #16929
- 🐞 Fix Breadcrumb path error when
childrenis selected. #16885 @haianweifeng - 🐞 Fix InputNumber with
numbertype display native spinner. #16926 - 🐞 Fix Transfer render Empty when customize without data. #16925
- 🐞 Fix Table header extra vertical scrollbar problem. #16950
- 🐞 Fix Table miss
border-radiusin Firefox. #16957 - 🐞 Fix Table error when
rowSelection.getCheckboxProps()has no return value. #15224 - 🐞 Fix Table abnormal scrollbar in Chrome when using
titleandrowSelection. #16934 - 🐞 Fix Divider
orientation="center"style. #16988 - 🐞 Fix Cascader error when type space. #16918 @Durisvk
- 🐞 Fix missing spanish translations. #17002 @morellan
- TypeScript
- 🐞 Fix Upload
RcFiledefinition. #16851 - ⚡️ Export
TextPropstype in Typography. #17003 @Jarvis1010
- 🐞 Fix Upload
- 📝 增加 DatePicker/RangePicker 指定
mode后无法选择的文档说明。#16984 - 🐞 修复 Breadcrumb 的
validateDOMNesting警告信息。#16929 - 🐞 修复 Breadcrumb 选中子路由时浏览器路径问题。#16885 @haianweifeng
- 🐞 修复 InputNumber 设置
number类型时会展示原生按钮的问题。#16926 - 🐞 修复 Transfer 在自定义列表为空时展示 Empty 样式。#16925
- 🐞 修复 Table 头部多余的垂直滚动条样式。#16950
- 🐞 修复 Table 的
rowSelection.getCheckboxProps()在没有返回值时报错的问题。#15224 - 🐞 修复 Firefox 的 Table 丢失
border-radius样式问题。#16957 - 🐞 修复 Table 当
title和rowSelection同时指定时在 Chrome 下滚动条异常的问题。#16934 - 🐞 修复 Divider
orientation="center"时样式错位的问题。#16988 - 🐞 修复 Cascader 搜索时不支持空格输入的问题。#16918 @Durisvk
- 🐞 修复部分组件的西班牙语言翻译。#17002 @morellan
- TypeScript
- 🐞 修复 Upload 的
RcFile类型定义。#16851 - ⚡️ 导出 Typography 中
TextProps的类型定义。#17003 @Jarvis1010
- 🐞 修复 Upload 的
- 🐞 Fix Tabs vertical card mode not scrollable. #16825
- 🐞 Fix Transfer warn
setStarton an unmounted component. #16822 @shiningjason - 💄 Using less variables
@error-color,@warning-colorinstead of@text-color-danger,@text-color-warning. #16890 @MrHeer - 💄 Add warning if Menu use
inlineCollapsedunder Sider. #16826 - TypeScript
- ⚡️ Add
forceSubmenuRenderinto MenuProps. #16827 - ⚡️ Export
TypographyPropstype. #16835 - ⚡️ Add
onChangeprop type definition to Steps. #16845 @JonathanLee-LX - ⚡️ Add
webkitRelativePathprop type definition to Upload. #16850 @DiamondYuan
- ⚡️ Add
- 🐞 修复 Tabs 在垂直卡片模式下标签不能滚动的问题。#16825
- 🐞 修复 Transfer 组件在 unmount 时
setState警告。#16822 @shiningjason - 💄 使用 Less 变量
@error-color、@warning-color代替@text-color-danger、@text-color-warning。#16890 @MrHeer - 💄 增加在 Sider 内 Menu 使用
inlineCollapsed时的提示信息。#16826 - TypeScript
- ⚡️ 增加 Menu 中
forceSubMenuRender类型定义。#16827 - ⚡️ 导出 Typography 类型定义。#16835
- ⚡️ 增加 Steps 中的
onChange类型定义。#16845 @JonathanLee-LX - ⚡️ 增加 Upload 中
webkitRelativePath类型定义。#16850 @DiamondYuan
- ⚡️ 增加 Menu 中
- New Components:
- 🔥🔥🔥 Mentions Provides Mentions component and origin Mention marked as deprecated.
- 🔥🔥🔥 Descriptions Display multiple read-only fields in groups.
- 🇱🇻 Add Latvian localization support. #16780 @kirbo
- 🌟 Drawer support close by press
ESC. #16694 - 🌟 Steps support click to switch. #16773
- 🌟 Calendar support
headerRenderto customize header。#16535 @abgaryanharutyun - 🌟 Slider support
tooltipPlacementto set tooltip position. #16641 @cmaster11 - 🌟 Slider support
getTooltipPopupContainerto customize tooltip container. #16717 - 🐞 Fix PageHeader horizontal divider style. #16684
- 🐞 Fix Carousel
initialSlidenot work whenchildrencount change. #16756 - 🐞 Fix Cascader
displayRendernot interactive. #16782 - 🐞 Fix Upload list still can be removed when
disabled. #16786 - 💄 Update Upload
disabledcursor style. #16799 @attacking - 💄 Correct Statistic font color. #16801
- TypeScript
- ⚡️ Update Upload
actionprop definition. #16716 @christophehurpeau - ⚡️ Update Upload
onRemoveprop definition. #16570 @christophehurpeau - ⚡️ Update Select
getPopupContainerprop definition. #16778 @chj-damon - ⚡️ Update InputNumber
parseprop definition. #16797 - ⚡️ Remove useless props definition. #16705 @sirlantis
- ⚡️ Update Upload
- 本月新增组件:
- 🔥🔥🔥 Mentions 新增提及组件并废弃原有 Mention 组件。
- 🔥🔥🔥 Descriptions 成组展示多个只读字段。
- 🇱🇻 新增拉脱维亚语支持。#16780 @kirbo
- 🌟 Drawer 支持
ESC关闭。#16694 - 🌟 Steps 支持点击切换功能。#16773
- 🌟 Calendar 支持
headerRender以自定义头部。#16535 @abgaryanharutyun - 🌟 Slider 支持
tooltipPlacement以定义提示所在位置。#16641 @cmaster11 - 🌟 Slider 支持
getTooltipPopupContainer以允许自定义提示所在容器。#16717 - 🐞 修复 PageHeader 中水平分割线样式问题。#16684
- 🐞 修复 Carousel
initialSlide在children数量变化时无效的问题。#16756 - 🐞 修复 Cascader 自定义渲染时元素无法交互的问题。#16782
- 🐞 修复 Upload 列表在
disabled时仍然可以移除的问题。#16786 - 💄 增加 Upload
disabled状态下鼠标样式。#16799 @attacking - 💄 修正 Statistic 的字体颜色。#16801
- TypeScript
- ⚡️ 完善 Upload 中
action属性的定义。#16716 @christophehurpeau - ⚡️ 完善 Upload 中
onRemove属性的定义。#16570 @christophehurpeau - ⚡️ 完善 Select 中
getPopupContainer属性的定义。#16778 @chj-damon - ⚡️ 完善 InputNumber 中
parser属性的定义。#16797 - ⚡️ 移除已经失效的属性定义。#16705 @sirlantis
- ⚡️ 完善 Upload 中
- 🐞 Fix space missing for Button with mixed content. #15342
- 🐞 Fix active status missing for Carousel when
childrenis changed. #16583 - 🐞 Fix panel not close when DatePicker is
blurby upgradingrc-calendarrequirement to version9.13.3. #16588 - 🐞 Fix style disorder for Form.Item with
helpprop andmargin-bottomis negative. #16584 @sbusch - 🐞 Fix Spin not align when set
font-sizestyle. #15206 - 🐞 Fix
selectedRowsmissing when there ischildrenColumnNamein Table. #16614 - TypeScript
- ⚡️ Improve the definition of
childrenprop for Breadcrumb. #16550 @Gin-X - ⚡️ Improve the definition of
onFieldsChangeparams for Form. #16577 @SylvanasGone - ⚡️ Improve the definition of
dataSourceandrenderItemfor List. #16587 - ⚡️ Improve the definition of
onDragEnterparams for Tree. #16638 @eruca - ⚡️ Improve the definition of
eventfor Tree。#16624 @ztplz
- ⚡️ Improve the definition of
- 🐞 修复 Button 组件中插入文本时空格丢失的问题。#15342
- 🐞 修复 Carousel 组件的
children数量变化时,面板指示点的选中状态不正常的问题。#16583 - 🐞 升级
rc-calendar依赖到9.13.3版本,以修复 DatePicker 组件在失去焦点时面板不会关闭的问题。#16588 - 🐞 修复 Form.Item 组件带有
help信息,并且margin-bottom为负数时,导致之后的元素样式错乱的问题。#16584 @sbusch - 🐞 修复 Spin 组件在设置
font-size样式时没有水平居中的问题。#15206 - 🐞 修复 Table 组件指定
childrenColumnName时,selectedRows参数为空的问题。#16614 - TypeScript
- 🌟 Transfer support
childrenprop to customize render list. #16026 - 🌟 Pagination support
disabledprop. #16493 - 🌟 Upgrade
@ant-design/iconsand@ant-design/icons-reactto 2.0 for fix lots of missing icons. #15874 - 🐞 Fix Form
hasFeedbackoverlap issue with Input.Password. #16445 - 🐞 Fix Select selected and disabled item wrong hover color. #16477
- 🐞 Fix disabled Upload being triggered by label. #16483
- 🐞 Fix
hoist-non-react-staticscompilation error. #16397 @ztplz - 🐞 Fix customize icon style in Notification size not correct. #16507
- 🐞 Fix PageHeader should not render blank dom when
titleis undefined. #16510 @yociduo - ⚡️ Print reject error when Modal's
onOkcallback return an promise rejects. #16437 @jas0ncn - TypeScript
- 🌟 Transfer 支持
children来自定义渲染列表。#16026 - 🌟 Pagination 支持
disabled属性。#16493 - 🌟 升级
@ant-design/icons和@ant-design/icons-react到 2.0 修复一些图标缺失的问题。#15874 - 🐞 修复 Form
hasFeedback和 Input.Password 一起使用时互相重叠的问题。#16445 - 🐞 修复 Select 当前选中的失效项的样式问题。#16477
- 🐞 修复 Upload disabled 状态下会被 label 激活的问题。#16483
- 🐞 修复
hoist-non-react-statics导致的编译错误问题。#16397 @ztplz - 🐞 修复自定义图标在 Notification 组件中的大小不对的问题。#16507
- 🐞 修复 PageHeader 组件当
title为空时不应该渲染空白元素的问题。#16510 @yociduo - ⚡️ 当 Modal 组件
onOk回调返回的 Promise 被 Reject 的时候,打印错误。#16437 @jas0ncn - TypeScript
- 🎉 Breadcrumb.Item supports
overlayprops to define drop-down menus. #16315 - 🎉 Button added a new type
link. #16289 - ⌨️ Wrap List.Item under
ulto enhance accessibility.#15890 - 🌟 TreeSelect support
showSearchin multiple mode. #15933 - 🌟 Provides
previewFileto customize preview logic. #15984 - 🌟 Added the
@table-selected-row-colorvariable to customize the color selected by the table. #15971 @hextion - 🌟 Added
@form-warning-input-bgand@form-error-input-bgvariables to customize the background color when the form is in error state. #15954 @hextion - 🌟 Dropdown.Button supports
iconprops to customize icons. #15996 @DiamondYuan - 🌟 Support SkeletonAvatarProps
sizeaccept number. #16128 @MrHeer - 🌟 Notification.config now supports
getContainerfor custom dom rendering locations. #16123 @Nouzbe - 🌟 Drawer supports
afterVisibleChangeprops, which fires when the drawer animation is complete. #16228 - 🌟 Form.Item supports
htmlForprops. #16278 - 🌟 Collapse supports
expandIconPositionprops. #16365 - 🌟 Carousel supports the location of custom panel indicator points. #16225 @yociduo
- 🌟 TreeNode supports the properties of
checkable. #16369 - 🌟 🇭🇷 Added Croatian language pack. #15641 @fpintaric
- 🐞 Fix Drawer wrong animation direction. #16358
- 🐞 Fix Slider mark text style will break line. #15128
- 🐞 Fix Checkbox.Group
onChangepass removed value. #16392 - 🐞 Fixed multiple Typescript type errors. #16043 #16341 #16343 #16360 #16344
- 🎉 Breadcrumb.Item 支持
overlay属性来定义下拉菜单。#16315 - 🎉 Button 的增加了新的类型
link。#16289 - ⌨️ 用
ul包裹 List.Item,以增加可访问性。#15890 - 🌟 TreeSelect 的
showSearch支持多选模式。#15933 - 🌟 Upload 提供
previewFile属性以自定义预览逻辑。#15984 - 🌟 添加了
@table-selected-row-color变量来自定义表格选中的颜色。#15971 @hextion - 🌟 添加了
@form-warning-input-bg和@form-error-input-bg变量来自定义表单错误状态时的背景颜色。#15954 @hextion - 🌟 Dropdown.Button 支持
icon属性来自定义图标。#15996 @DiamondYuan - 🌟 SkeletonAvatarProps 的
size属性支持传入数字。#16128 @MrHeer - 🌟 notification.config 现在支持
getContainer来进行自定义 dom 渲染位置。#16123 @Nouzbe - 🌟 Drawer 支持
afterVisibleChange属性,在抽屉动画完成后触发。#16228 - 🌟 Form.Item 支持了
htmlFor属性. #16278 - 🌟 Collapse 支持
expandIconPosition属性。#16365 - 🌟 Carousel 支持自定义面板指示点的位置。#16225 @yociduo
- 🌟 TreeNode 支持
checkable属性。#16369 - 🌟 🇭🇷 新增克罗地亚语言包。#15641 @fpintaric
- 🐞 修复 Drawer 组件的弹出动画闪烁的问题。#16358
- 🐞 修复 Slider 的文字会换行的问题。#15128
- 🐞 修复 Checkbox.Group
onChange会包含已移除的值的问题。#16392 - 🐞 修正了多处 Typescript 的类型错误。#16043 #16341 #16343 #16360 #16344
- ⌨️ Improve PageHeader
backIconkeyboard accessibility. #16038 - 🇮🇹 Optimize Italian localization. #16093 @yp #16172 @afelicioni
- 🐞 Fix Select with
showSearchnot triggeronSearchwhen blur it. #16235 - 🐞 Fix Selecte active item's hover background color. #16238 @yociduo
- 🐞 Fix unexpected pressed style of disabled Switch. #16251 @atomoo
- 🐞 Fix small size Table header background. #16266
- 🐞 Fix Tabs missing border when
tabPosition="bottom". #16130 @rinick - 🐞 Fix Typography.Title not support
type. #16275 - 🐞 Fix Typography editable mode not support
className. #16307 - 🐞 Fix List
actionsmisplaced. #16239 - 🐞 Fix long word Modal title display problem. #16267 @yoyo837
- 🐞 Fix Pagination active item background color. #16306
- 🐞 Fix a
core-js@<2.6.5 is no longer maintainedinstall warning. #16325 - Typescript
- 🐞 Fix
Form.create()don't work. #16242 - 🐞 Fix Tooltip
classNamedefinition. #16195 @swillis12
- 🐞 Fix
- ⌨️ 优化 PageHeader
backIcon的键盘可访问性。#16038 - 🇮🇹 调整意大利语文案。#16093 @yp #16172 @afelicioni
- 🐞 修复 Select
showSearch模式下取消选择时没有触发onSearch的问题。#16235 - 🐞 修复 Select 当前选项的 hover 样式。#16238 @yociduo
- 🐞 修复 Switch 失效状态下依然有按下样式的问题。#16251 @atomoo
- 🐞 修复小号 Table 表头背景样式。#16266
- 🐞 修复 Tabs 在底部时的边框样式问题。#16130 @rinick
- 🐞 修复 Typography.Title 不支持
type的问题。#16275 - 🐞 修复 Typography.Paragraph 编辑模式
className失效的问题。#16307 - 🐞 修复一个 List
actions错位问题。#16239 - 🐞 修复一个超长 Modal 标题的展现问题。#16267 @yoyo837
- 🐞 修正 Pagination 当前项的背景色。#16306
- 🐞 修复
core-js@<2.6.5 is no longer maintained的安装警告。#16325 - Typescript
- 🐞 修复
Form.create()报错。#16242 - 🐞 修复 Tooltip
className的定义。#16195 @swillis12
- 🐞 修复
- 🐞 Fix circle button responding mouse event when loading. #16063 @gxvv
- 🐞 Fix issue that Form.Item's
labelAligndoes not work. #16067 - 🐞 Fix issue that tailing debounce call rasing error when Spin unmount. #16081 @raybooysen
- 🐞 Fix issue that List's
defaultPageSizedoes not work. #16100 - 🐞 Fix error moment call in DatePicker. [#16109])(https://github.com/ant-design/ant-design/issues/16109)
- 🐞 Fix Radio does not in center on Firefox. #16039
- 🐞 Fix issue that Affix's
targetdoes not work after it's value changing. #16146 - 🐞 Fix the Modal's animation issue Modal on first rendering. #15795
- 🐞 Fix issue that Table's
rowSelection.columnWidthdoes not work. #16163 - 🐞 Fix type definition of Form.create. #16095
- 🐞 Fix type definition of Icon's
aria-hidden. #16202 - 🐞 Fix type definition of PageHeader's
tags. #16092 - 🌟 Add new less variable
@text-selection-bg;. #16155
- 🐞 修复圆形 Button 在
loading时还会响应鼠标事件的问题。#16063 @gxvv - 🐞 修复 Form.Item 的
labelAlign不生效的问题。#16067 - 🐞 修复 Spin 在 unmount 时遗留的 debounce 调用导致的报错问题。#16081 @raybooysen
- 🐞 修复 List 的
defaultPageSize不生效的问题。#16100 - 🐞 修复 PageHeader 的
tags类型错误。#16092 - 🐞 修复 DatePicker 中 moment 报错的问题。[#16109])(https://github.com/ant-design/ant-design/issues/16109)
- 🐞 修复 Radio 在 Firefox 上没有垂直居中的问题。#16039
- 🐞 修复 Affix 的
target变化后不能工作的问题。#16146 - 🐞 修复 Modal 在首次渲染时的动画问题。#15795
- 🐞 修复 Table 的
rowSelection.columnWidth不工作的问题。#16163 - 🐞 修复 Form.create 的类型定义。#16095
- 🐞 修复 Icon
aria-hidden的类型定义。#16202 - 🌟 新增 less 变量
@text-selection-bg;。#16155
- 🐞 Fix Button TypeScript definition. #15938
- ⚠️ Add DatePicker warning when time invalidate. #15920
- 🐞 Fix Menu arrow not display in old version of IE. #15932
- 🐞 Fix Progress success UI when
statusisundefined. #15951 - 🐞 Fix Tooltips not work when Menu collapsed. #15948
- 🐞 Fix Switch can't be trigger by click of form label. #15923
- 🐞 Fix Directory
onSelectinfo not correct. #15967 - 🐞 Fix Menu
defaultOpenKeysnot work as expect. #15970 - 🐞 Fix Nested Table with
middlesizestyle not correct. #16008 - 🐞 Fix nest Tabs ink bar style issue. #16013
- 🐞 Fix Empty in IE not fully render. #16016
- 🐞 Fix Switcher loading icon and checkbox should be vertical align when
@tree-title-heightis modified. #15962 - 💄 Default selection column width can be overrided in css. #15990
- TypeScript
- 🐞 Fix Pagination
showLessItemsTS definition. #15952
- 🐞 Fix Pagination
- 🐞 修复 Button TS 类型定义。#15938
- ⚠️ DatePicker 新增当日期不合法的提示。#15920
- 🐞 修复 Menu 箭头在老 IE 版本上不显示的问题。#15932
- 🐞 修复 Progress 当
status为undefined时的展示。#15951 - 🐞 修复 Menu 折叠时 Tooltip 的问题。#15948
- 🐞 修复 Switch 应该被 Label 触发的问题。#15923
- 🐞 修复 Directory
onSelect无法使用的问题。#15967 - 🐞 修复 Menu
defaultOpenKeys不工作。#15970 - 🐞 修复内嵌的 Table
size为middle时的样式。#16008 - 🐞 修复 Tab
display: none时高亮线条丢失的问题。#16013 - 🐞 修复 Empty IE 展示的问题。#16016
- 🐞 修复通过修改
@tree-title-height的值会导致 tree-switcher-loading-icon 位置不再居中的问题。#15962 - 💄 修复默认的 selection column width 无法被样式覆盖的问题。#15990
- TypeScript
- 🐞 修复 Pagination
showLessItemsTS 类型定义。#15952
- 🐞 修复 Pagination
- 🐞 Fix Menu shaking and collapse behavior. #15868
- 🐞 Fix List pagination pageSize changer not work. #15871
- 🐞 Fix RangePicker end time input not editable. #15866
- 📝 Site Icon supports search. #15867 @DiamondYuan
- 🐞 Fix TimePicker
localedoesn't work. #15837 - 🐞 Fix Steps style broken when using
progressDotandsize="small". #15856 - 🐞 Fix Affix position not update when content height changed. #15899
- Table
- 🐞 Fix Badge display negative count incorrect. #15810
- 💄 Optimize Empty default UI of
Empty.PRESENTED_IMAGE_SIMPLE. #15841 - 🌟 Added a new less variable
@html-selectorto enable override of html selector to support theme prefix. #15613 @krokofant - TypeScript
- 🐞 Fix Table columnGroup definition. fc45d
- 🐞 修复 Menu 收缩的异常闪动。#15868
- 🐞 修复 List 分页无法改变每页条数。#15871
- 🐞 修复 RangePicker 结束时间不可输入。#15866
- 📝 站点 Icon 支持图标搜索。#15867 @DiamondYuan
- 🐞 修复 TimePicker
locale属性无效的问题。 #15837 - 🐞 修复 Steps 同时使用
progressDot和size="small"时的样式错乱问题。#15856 - 🐞 修复 Affix 的内容高度改变时,位置不更新的问题。 #15899
- Table
- 🐞 修复 Badge
count为负数时的显示问题。#15810 - 💄 优化
Empty.PRESENTED_IMAGE_SIMPLE的默认样式。 #15841 - 🌟 新增 less 变量
@html-selector用于支持主题前缀。#15613 @krokofant - TypeScript
- 🐞 修复 Table
columnGroup定义。fc45d
- 🐞 修复 Table
- 🌟 Badge support customize color. #15764
- 🌟 Checkbox.Group support
nameprop. #15760 @bencallaway - 🌟 Modal support
confirm({ icon: null })to hide Icon. #15319 @Adamwu1992 - Empty
- 🌟 Progress.Line support gradient line color. #15524 @zy410419243
- DatePicker
- ⚡️ Refactor Form move
ant-form-item-no-colonselector position in Form.Item. #15592 @HsuanXyz - Menu
- 🐞 Fix Menu unexpected shaking when collapsed. #15625 @zy410419243
- 🐞 Fix MenuItem rendered unexpected Tooltip when
inlineCollapsedisfalse. #15705 @zy410419243
- 🐞 Fix Upload border jumping issue in Chrome. #15636
- 🐞 Fix clear icon style in Input and Input.Search. #15672
- 🐞 PageHeader support level 2 breadcrumb. #15689
- Tag
- 🐞 Fix Spin style when
indicatoris Icon. #15712 - 🐞 Fix collapsible Layout.Sider throw error when use svg icon. #15720 @wx1322
- 💄 Remove underlines from focused links. #15759 @Nouzbe
- Table
- 🐞 Fix col element missing relative style. #15766
- 💄 Adjust Card and PageHeader padding from
32pxto24px. #15755 - 🌟 Add less variables
- 🌟 Adjust multiple TypeScript types
- 🐞 Fix for changes in
@types/reactfor Button. #15702 @ferdikoomen - 🌟 Menu add
overflowedIndicatortype. #15355 @Yangzhedi - 🐞 Fix Input
actiondefinition. #15598 @Yangzhedi - 🐞 Fix Tree
onLoadtypo. #15718 @babycannotsay - 🌟 CheckBox.Group add
nametype. #15753 - 🌟 RangePicker add
separatortype. #15765
- 🐞 Fix for changes in
- 🌟 Badge 支持自定义颜色。#15764
- 🌟 Checkbox.Group 支持
name属性。#15760 @bencallaway - 🌟 Modal 支持通过
confirm({ icon: null })隐藏图标。#15319 @Adamwu1992 - Empty
- 🌟 Progress.Line 支持渐变色。#15524 @zy410419243
- DatePicker
- ⚡️ 重构 Form 移动
ant-form-item-no-colon样式到 Form.Item 中。#15592 @HsuanXyz - Menu
- 🐞 修复 Menu 收缩的异常闪动。#15625 @zy410419243
- 🐞 修复 MenuItem 在非
inlineCollapsed时显示了多余 Tooltip 的问题。#15705 @zy410419243
- 🐞 修复 Chrome 中 Upload 边框跳动的问题。#15636
- 🐞 修复 Input 和 Input.Search 中清除按钮图标样式。#15672
- 🐞 PageHeader 支持 2 层的
breadcrumb。#15689 - Tag
- 🐞 修复 Spin
indicator为 Icon 时的样式。#15712 - 🐞 修复可收缩 Layout.Sider 使用 svg 图标时会报错的问题。#15720 @wx1322
- 💄 移除聚焦链接的下划线样式。#15759 @Nouzbe
- Table
- 🐞 修复 Col 丢失相关样式的问题。#15766
- 💄 调整 Card 和 PageHeader 样式,将 padding 从
32px改成24px。#15755 - 🌟 添加 less 变量
- 🌟 调整相关 TypeScript 类型定义
- 🐞 修复 Button 和
@types/react的定义冲突。#15702 @ferdikoomen - 🌟 Menu 添加
overflowedIndicator定义。#15355 @Yangzhedi - 🐞 修复 Input
action定义。#15598 @Yangzhedi - 🐞 修复 Tree
onLoad定义。#15718 @babycannotsay - 🌟 CheckBox.Group 添加
name定义。#15753 - 🌟 RangePicker 添加
separator定义。#15765
- 🐞 修复 Button 和
- 📖 New English translation for Data Display and Feedback. #15454 @klouskingsley #15460 @klouskingsley
- 🌟 Add two less variables
@font-feature-settingsand@select-item-selected-font-weight. #15506 @dancerphil #15515 @willc001 - 🐞 Fix the scale calculate logic when Avatar is remounted. #15503
- 🐞 Fix inefficient custom
widthfor DatePicker. #15547 @DiamondYuan - 🐞 Fix the incorrect priority of icon style for Notification. #15530
- 🐞 Fix that
notFoundcontent is not aligned for Select. #15570 - 🐞 Fix empty missing when
loadingproperty is true for Table. #15583 - 🐞 Fix the incorrect
white-spacestyle for Tag. #15526 @Kapiroska - 🐞 Fix the incorrect judgement on image type for Upload. #15354
- 📖 翻译模式-数据展示和模式-反馈文档到英文。#15454 @klouskingsley #15460 @klouskingsley
- 🌟 新增 less 变量
@font-feature-settings和@select-item-selected-font-weight。#15506 @dancerphil #15515 @willc001 - 🐞 修复 Avatar 组件在重新挂载后字符大小和长度计算错误的问题。#15503
- 🐞 修复 DatePicker 组件的宽度无法自定义的问题。#15547 @DiamondYuan
- 🐞 修复 Notification 组件的 icon 样式被全局默认样式覆盖的问题。#15530
- 🐞 修复 Select 组件的空状态文本和图片没有对齐的问题。#15570
- 🐞 修复 Table 组件在加载中时空状态丢失的问题。#15583
- 🐞 修复 Tag 组件的内容长度超过屏幕宽度时不可见的问题。#15526 @Kapiroska
- 🐞 修复 Upload 组件对图片类型文件判断不准确的问题。#15354
- 🌟 Add four less variables
@pagination-item-bg-active,@icon-color. #15302 #15343 - 🐞 Fix tree shaking not working for importing PageHeader. #15354
- List
- 🐞 Fix Calendar can't switch type. #15338 @zy410419243
- Badge
- 🐞 Fix the issue that customized color is not supported in Badge. #15356 @DiamondYuan
- 🐞 Fix height problem of Badge with dot. #15395
- 🐞 Fix tabbar style of Tabs in card mode when browser is zoomed out. #15299 @rinick
- 🐞 Fix Avatar component cannot calculate the offset when
display: noneis set. #15351 @ppbl - 🐞 Correct suffix icon in Input.Password. #15381 @melchior-voidwolf
- 🐞 Fix Layout has classname
ant-layout-has-sidereven ifhasFixeris set tofalse. #15396 @SoraYama - 🐞 Fix Divider alignment issue in PageHeader. #15400
- 🐞 Fix a style issue of Skeleton. #15421 @Maktel
- 🌟 Adjust multiple TypeScript types
- 🌟 FormComponentProps added a generic type of form values. #15355
- 🌟 Export ConfigProviderProps interface. #15446 @DiamondYuan
- 🐞 Add
onClickprop for Breadcrumb.Item. #15331 @tgxpuisb - 🐞 Add
styleprop for Steps.Step component. #15393 @pavolgolias - 🐞 Fix
itemRenderdefinition of Pagination. #15428 @DiamondYuan
- 🌟 补充了 less 变量
@pagination-item-bg-active、@icon-color。 #15302 #15345 - 🐞 修复引入 PageHeader 导致 tree shaking 失效的问题。#15354
- List
- 🐞 修复 Calendar 无法切换类型的问题。#15338 @zy410419243
- Badge
- 🐞 修复 Badge 组件不支持自定义颜色的问题。#15356 @DiamondYuan
- 🐞 修复 Badge 组件内带小圆点时的高度问题。#15395
- 🐞 微调 Tabs 标签模式在浏览器放大时丢失边框的问题。#15299 @rinick
- 🐞 修复 Avatar 组件设置了
display: none的时候无法计算偏移量的问题。#15351 @ppbl - 🐞 修复 Input.Password 组件的后置 Icon。#15381 @melchior-voidwolf
- 🐞 修复 Layout 即使在
hasSider属性为false的时候依然会加ant-layout-has-sider的 classname 的问题#15396 @SoraYama - 🐞 修复 Divider 在 PageHeader 组件中的对齐问题。#15400
- 🐞 修复 Menu 收缩后,SubMenu 异常渲染的问题。#15409 @zy410419243
- 🐞 修复 Skeleton 组件的样式问题。#15421 @Maktel
- 调整了多处 Typescript 类型
- 🌟 FormComponentProps 新增 Form 值的范型。#15355
- 🌟 导出 ConfigProviderProps 定义。#15446 @DiamondYuan
- 🐞 添加 Breadcrumb.Item 的
onClick定义。#15331 @tgxpuisb - 🐞 添加 Steps.Step 组件的
style定义。#15393 @pavolgolias - 🐞 修复 PaginationProps 组件
itemRender函数的类型错误。#15428 @DiamondYuan
- 🌟 Tree supports new prop
blockNode. #14858 @kimochg - Form
- 🌟 Supports
colonprop in Form. #15276 @DiamondYuan - 🌟 Add new prop
labelAlign. #15252 @yoyo837 - 🐞 Fix two colons will appear in FormItem label. 15285 @jinxin0112
- 🌟 Supports
- 🐞 Fix Typography dom structure. #15210
- 🐞 Fix Affix position update logic. #15150
- Input
- 🐞 Fix DatePicker and TimePicker cursor style. #15218 @yoyo837
- 🐞 Fix Steps label text not align center. #15256
- TypeScript
- 🇹🇷 Turkish translations of new components. #15238 @codesignist
- 🌟 Tree 组件支持
blockNode属性。#14858 @kimochg - Form
- 🌟 支持直接在 Form 上面配置
colon属性。#15276 @DiamondYuan - 🌟 支持
labelAlign属性。#15252 @yoyo837 - 🐞 修复可能出现两个冒号的问题。15285 @jinxin0112
- 🌟 支持直接在 Form 上面配置
- ⚡️ 重构并简化了 List Item 的 dom 结构,并且修复了 Item 中内容空格丢失的问题。#15210
- 🐞 修复 Affix 组件定位更新的逻辑问题。#15150
- Input
- 🐞 修复 DatePicker 和 TimePicker 的 cursor 样式问题。#15218 @yoyo837
- 🐞 修复 Steps 的 label 不居中的问题。#15256
- TypeScript
- 🇹🇷 添加一些新组件的土耳其语翻译。#15238 @codesignist
- Two new components added this month:
- 🔥🔥🔥 Typography provides basic formatting and common operations for text.
- 🔥🔥🔥 PageHeader can be used to declare the page theme, display important information about the page that the user is interested in, and host the relevant page. Action item.
- 🌟 TimePicker provides
clearIconprop for customizing clear icon. #14556 - 🌟 Statistic.Countdown supports
onFinishprop. #14791 - 🌟 Collapse.Panel support
extraprop. 62e65d - DatePicker
- 🌟 The Form supports
labelCol&wrapperColprop. #15038 - 🌟 Add type
morefor Icon. #15047 - 🐞 Fix Table filter can not support other type of value. #15046
- 🐞 Fix Spin
wrapperClassNamesettingpaddingicon is not centered. #15056 - 🐞 Fix Calendar won't trigger
onPanelChangecorrectly in some cases. #15063 - 🌟 Select supports
showArrowin multi-select mode. #15091 - 🐞 Fix closable Drawer hiding without transition. #15147
- 🌟 Two less variables
@drawer-header-paddingand@drawer-body-paddinghave been added to control Drawer padding. #15120 - 🐞Fix Cascader should tab twice to exist. #15117
- 🐞The
onChangeof InputNumber will returnnullinstead ofundefinedto fix the problem that the value of the control cannot be properly collected and emptied. #14960 - 🌟 Adjusted multiple TypeScript types
- 本月新增了两个组件:
- 🔥🔥🔥 Typography 提供了文本的基本格式及常见操作。
- 🔥🔥🔥 PageHeader 可用于声明页面主题、展示用户所关注的页面重要信息,以及承载与当前页相关的操作项。
- 🌟 TimePicker 新增了
clearIconprop,用于自定义清除图标。#14556 - 🌟Statistic.Countdown 支持
onFinishprop。#14791 - 🌟 Collapse.Panel 新增了
extra。62e65d - DatePicker
- 🌟 Form 支持
labelCol&wrapperColprop。#15038 - 🌟 Icon 增加了
more的图标。#15047 - 🐞 修复 Table 筛选不支持 string 以外类型的问题。#15046
- 🐞 修复 Spin
wrapperClassName设置padding图标不居中的问题。#15056 - 🐞 修复 Calendar
onPanelChange在某些情况下不会触发的问题。#15063 - 🌟 Select 在多选模式下支持
showArrow。#15091 - 🐞 修复关闭抽屉时浮层阴影没有缓动消失的细节。#15147
- 🌟 增加了两个 less 变量
@drawer-header-padding和@drawer-body-padding以控制 Drawer 的 padding。#15120 - 🐞 修复 Cascader 需要按 Tab 两次切换聚焦的问题。#15117
- 🐞 InputNumber 的
onChange将会返回null而不是undefined,以修复组件的值无法正确收集和清空的问题。#14960 - 🐞 调整了多处 TypeScript 的类型
- Form
- 🐞 Fixed extra space at the bottom of Table header in chrome. #14926
- 🐞 Fixed that Select check icon is not aligned center. #15016
- 🐞 Fixed Input.Search
addonBeforeoraddonAfterstyle issue. #14959 - 🐞 Fixed growing space of Tree nodes. #14958 @Yangzhedi
- 🐞 Improved accessibility of Icon when
typeis falsy. #14970 - 🐞 Fixed Dropdown subMenu disabled cursor style. #14952
- 🇮🇩 Updated locale to be more natural for Indonesian. #15013 @kamalmahmudi
- Form
- 🐞 修复 chrome 下 Table 列头有一点额外空白的样式问题。#14926
- 🐞 修复 Select 选中图标位置偏下的问题。#15016
- 🐞 修复 Input.Search 增加
addonBefore或addonAfter时的样式问题。#14959 - 🐞 修复 Tree 节点内底部边距叠加的问题。#14958 @Yangzhedi
- 🐞 优化 Icon 的
type为空时的可访问性问题。#14970 - 🐞 修复 Dropdown 的菜单失效样式。#14952
- 🇮🇩 优化印度尼西亚国际化文案。#15013 @kamalmahmudi
- 📖 New English translation
- 🐞 Fix mouse cursor style when Switch is disabled. #14764
- 🐞 Fix Progress shows a wrong successful status. #14769 @imhele
- 🐞 Fix the issue that the upload status has always been
uploadingafter hiding the upload button in the Upload. #14779 - 🐞 Fix the issue where the custom icons for vertical Steps were not centered. #14677
- 🐞 Fix the issue with Input.Search does not support
addonAfter. #14785 - 🐞 Fix layout issues with FormItem when there is an error. #14772
- 🐞 Fix the issue that the operation button will be blocked when the Card is
loading. #14832 - 🐞 Fix the issue that describes overflow in List. #14765 @Shub1427
- 🐞 Fix the style issue of TimePicker's clear button, when using the
smallsize. #14861 @Yangzhedi - Table
- 🐞 Fix the issue that the floating element misalignment. #14822 @chiaweilee
- 🐞 Fix the issue where the className was not synchronized when the
rowSelectionproperty was removed. #14759 - 🐞 Fix border display issue when there is no data. #14834
- 🐞 Fix the issue where
paginationwas set totrue. - 🐞 Fix the issue where the filter drop-down box would be occluded.
- TypeScript
- 🐞 Checkbox adds
onClick. #14762 @Frezc - 🐞 Menu adds
onTitleMouseEnterandonTitleMouseLeave. #14737 #GabeMedrash
- 🐞 Checkbox adds
- 🐞 修复 Upload 中隐藏上传按钮后导致上传状态一直是
uploading的问题。#14779 - 🐞 修复 Switch 禁用时的鼠标样式。#14764
- 🐞 修复 Progress 显示成功状态错误的问题。#14769 @imhele
- 🐞 修复垂直 Steps 的自定义图标不居中的问题。#14677
- 🐞 修复 Input.Search 不支持
addonAfter的问题。#14785 - 🐞 修复 FormItem 在有错误提示时的布局问题。#14772
- 🐞 修复 Card 在
loading时,操作按钮会被遮住的问题。#14832 - 🐞 修复 List 中描述溢出的问题。#14765 @Shub1427
- 🐞 修复 TimePicker 在使用
small大小时,清楚按钮的样式显示问题。#14861 @Yangzhedi - Table
- 🐞 修复浮动元素错位的问题。#14822 @chiaweilee
- 🐞 修复移除
rowSelection属性时,className 不同步的问题。#14759 - 🐞 修复无数据时的边框显示问题。#14834
- 🐞 修复
pagination为true时报错的问题。 - 🐞 修复过滤下拉框会被遮挡的问题。#11730
- TypeScript 类型
- 🐞 修复 Checkbox 缺少的
onClick类型。 #14762 @Frezc - 🐞 修复 Menu 缺少的
onTitleMouseEnter和onTitleMouseLeave类型。#14737 #GabeMedrash
- 🐞 修复 Checkbox 缺少的
- 📝 Rewrite the documentation of Use in TypeScript. #14637
- 📝 Upgrade the document of Real project with umi and dva. #14574 @cc189
- 🐞 Fix Spin style issue in IE 10. #14588 #14365
- 🐞 Fix DatePicker missing dateTime default format in
showTime. #14593 - 🐞 Fix List style issue in IE 11. #14602 @Shub1427
- Table
- Upload
- 🐞 Fix Dropdown pseudo class style which causes the overlay non-clickable. #14604 @shawtung
- 💄 Improve Checkbox the style for check don't align center in some cases. #14619 #14271
- 🐞 Fix Avatar change
srcnot trigger reload if prev image load failed. #14606 @AhmedAlSammany - 🐞 Fix Modal
destroylogic not process correctly. #14600 @xu-snow - 🐞 Fix Tooltip arrow not align when the content of
titleis less. #14667 @Yangzhedi - Calendar
- 🐞 Fix AutoComplete
placeholdernot display when disabled. #14652 @tangjinzhou - 🐞 Fix Icon customize svg Icon miss viewBox. #14686
- 🐞 Fix Statistic not support negative number. #14695 #14692
- Less
- 🐞 Fix some TypeScript definitions. #14584 @boraikizoglu, #14591, #14640 @SylvanasGone, #14654 @kuitos, #12667 @yueyes, #14653, #14676 @kristof0425, #14684 @RunningCoderLee
- 📝 重新编写 在 TypeScript 中使用 文档。#14637
- 📝 更新 项目实战 文档为最新的 umi 技术栈。#14574 @cc189
- 🐞 修复 Spin 组件在 IE 10 样式问题。#14588 #14365
- 🐞 修复 DatePicker 组件在
showTime时缺少默认格式的问题。#14593 - 🐞 修复 List 组件在 IE 11 下的样式问题。#14602 @Shub1427
- Table
- Upload
- 🐞 修复 Dropdown 组件因伪类层级样式导致不能点击的问题。#14604 @shawtung
- 💄 优化了 Checkbox 组件在选中状态下的对齐样式。#14619 #14271
- 🐞 修复 Avatar 组件在切换
src失败后,不触发加载的问题。#14606 @AhmedAlSammany - 🐞 修复 Modal 组件
destroy代码逻辑不正确的问题。#14600 @xu-snow - 🐞 修复 Tooltip 组件标题内容过少时,箭头样式错位的问题。#14667 @Yangzhedi
- Calendar
- AutoComplete
- 🐞 修复禁用时
placeholder无法显示的样式问题。#14652 @tangjinzhou
- 🐞 修复禁用时
- 🐞 修复 Icon 组件自定义 svg Icon 丢失 viewBox 的问题。#14686
- 🐞 修复 Statistic 组件不支持负数的问题。#14695 #14692
- Less
- 🐞 修复 TypeScript 类型定义。#14584 @boraikizoglu、#14591、#14640 @SylvanasGone、#14654 @kuitos、#12667 @yueyes、#14653、#14676 @kristof0425、#14684 @RunningCoderLee
- 🎉 New component Statistic. #14154
- Button
- 🌟 Button support
roundshape. #14236
- 🌟 Button support
- Collapse
- 🌟 Add
expandIconto allow customization of Collapse icon. #14060
- 🌟 Add
- ConfigProvider
- DatePicker
- 🌟 Will read format as default format in locale if provided. #14340
- Tabs
- 🌟 Support customize bar node. #14368
- Icon
- Badge
- 🐞 Fix changing the count with
border-colorwill raises an property readonly error. #14525
- 🐞 Fix changing the count with
- Modal
- 🌟 Add
maskproperty support for Modal method. #14197 - 🌟 Add
transitionNameandmaskTransitionNameproperty support for Modal method. #14273 @thomasJang
- 🌟 Add
- Input
- 🐞 Fix Input.Search style issue. Move
classNamefrom inner input to top wrapper when withaddon. #14461
- 🐞 Fix Input.Search style issue. Move
- TimePicker
- 🌟 Deprecated
allowEmptyprop and useallowClearinstead. Sync style with DatePicker. #14490
- 🌟 Deprecated
- Radio
- 🐞 Fix RadioButton trigger onChange twice in RadioGroup. #14523
- Spin
- 🐞 Fix Table cannot click with loading when IE <= 10. #14511
- Switch
- 🌟 Switch support
eventasonChange,onClickargument. #14560
- 🌟 Switch support
- Table
- 🐞 Fix style issue when use fixed column in Safari. #14550
- Progress
- 🌟 All types support
successPercentprop. #14412
- 🌟 All types support
- Pagination
- 🐞 Fix wave style issue in Edge. #14469
- 🎉 新增 Statistic 统计/倒计时组件。#14154
- Button
- 🌟 Button 添加圆边形状。#14236
- Collapse
- 🌟 新增
expandIcon属性,允许用户自定义 Collapse 折叠图标。#14060
- 🌟 新增
- ConfigProvider
- DatePicker
- 🌟 将会读取本地化格式配置作为默认日期格式。#14340
- Tabs
- 🌟 支持自定义标签节点。#14368
- Icon
- Badge
- 🐞 修复带
border-color时改变数值报错的问题。#14525
- 🐞 修复带
- Modal
- 🌟 Modal 函数组件新增
mask属性支持。#14197 - 🌟 Modal 函数组件新增
transitionName和maskTransitionName属性支持。#14273 @thomasJang
- 🌟 Modal 函数组件新增
- Input
- 🐞 修复 Input.Search 样式问题。在
addon下,将className从 input 改到最顶层元素上。#14461
- 🐞 修复 Input.Search 样式问题。在
- TimePicker
- 🌟 废弃
allowEmpty属性,改用allowClear替代。并与 DatePicker 统一样式。#14490
- 🌟 废弃
- Radio
- 🐞 修复 RadioButton 在 RadioGroup 下会触发 2 次 onChange 的问题。#14523
- Spin
- 🐞 修复 Table 在低版本 IE 中 spinning 会遮挡操作的问题。#14511
- Switch
- 🌟 Switch 为
onChange,onClick添加event参数。#14560
- 🌟 Switch 为
- Table
- 🐞 修复 Safari 中固定列样式问题。#14550
- Progress
- 🌟 所有类型都支持
successPercent属性。#14412
- 🌟 所有类型都支持
- Pagination
- 🐞 修复水波纹在 Edge 下的样式问题。#14469
2019-01-19
- 🌟 Update the "Use in creact-react-app" document to be compatible with upgraded creact-react-app and react-scripts-rewired. #14385
- 💄 Fix using autoprefixer 9.4.5 in postcss (webpack) will throw an error
Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed. #14312 - 💄 Fix InputNumber style not correct in MenuItem. #14373
- 💄 Fix Input.Search with enterButton style issue. #14397
- 💄 Fix Slider focus style. 9202509
- 🐞 Fix the problem that the
prefixClsproperty is passed to theEmpty. #14404 - 🐞 Fix the problem that Radio
onChangewill be override by RadioGrouponChange.#14364
2019-01-19
- 🌟 更新《在 creact-react-app 中使用》文档以兼容升级后的 creact-react-app 和 react-scripts-rewired。#14385
- 💄 修复在 postcss(webpack)中使用 autoprefixer 9.4.5 会抛出错误
Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed的问题。#14312 - 💄 修复 InputNumber 在 MenuItem 中样式不正确的问题。#14373
- 💄 修复 Input.Search 使用
enterButton时的样式问题。#14397 - 💄 修复 Slider focus 时的样式错误。9202509
- 🐞 修复
prefixCls属性被传递到了 Empty 元素上的问题。#14404 - 🐞 修复 RadioGroup
onChange将覆盖 RadioonChange的问题。#14364
- 🐞 Fix the ineffectiveness of
classNameprop for Anchor.Link. #14248 - 🐞 Fix the incompatibility of float number for Badge. #14195 @ztplz
- 🐞 Fix the auto focus when popup layer is
openstill for DatePicker. #14092 @Yangzhedi - Drawer
- 🐞 Fix label for verticle Form cannot be wrapped. #14135 @ranbena
- 🐞 Fix the wrong position for Modal.confirm in small screen. #14279
- Radio
- 🐞 Fix the empty style for Select. #14204
- 💄 Simplify the implementation of Spin to improve performance. #14100
- Table
- 🐞 Fix the unexpected call of
afterClosefor Tage when visible changes from false to true. #14200 @tangjinzhou - TypeScript
- 🐞 Fix the TypeScript definition lack of
forceRenderfor Modal. #14160 - 🐞 Fix the TypeScript definition of
sortDirectionsforTableProps的TypeScript类型定义中 属性必选的问题。#14182 - 🐞 Fix the wrong TypeScript definition of
localefor Table. #14245 @LeezQ - 🐞 Fix the TypeScript definition not extending from native
divelement for List.Item. #14171
- 🐞 Fix the TypeScript definition lack of
- 🌟 Add new
Lessvariables, including@btn-shadow,@btn-primary-shadowand@btn-text-shadow. #14172
- 🐞 修复 Anchor.Link 组件不支持
className属性的问题。#14248 - 🐞 修复 Badge 组件浮点数展示错误的问题。#14195 @ztplz
- 🐞 修复 DatePicker 组件在弹层展开时依然会获取焦点的问题。#14092 @Yangzhedi
- Drawer
- 🐞 修复 Form 组件垂直布局时标签文本无法自动换行的问题。#14135 @ranbena
- 🐞 修复 Modal.confirm 组件在小屏幕下位置错误的问题。#14279
- Radio
- 🐞 修复 Select 组件空数据样式缺失的问题。#14204
- 💄 简化 Spin 组件实现以优化运行性能。#14100
- Table
- 🐞 修复 Tag 组件从隐藏到可见时会调用
afterClose属性函数的问题。#14200 @tangjinzhou - 🌟 新增
@btn-shadow、@btn-primary-shadow和@btn-text-shadow样式变量。#14172 - TypeScript
- 🐞 Fixed build error caused by importing svg.
- 🐞 修复引用 svg 导致的构建错误。
- 🎉 New component Empty, and improved empty data style of all components! 13651
- 🎉 Hindi locale added (hi_IN). #13776 @gurungrahul2
- 🎉 Kannada locale added (kn_IN). #13776 @gurungrahul2
- 🌟 Add
eye-invisibleIcon. b8630b3 - 🌟 ConfigProvider component support prefixCls. #13389
- Less
- Input
- 🌟 Add Input.Password. #13342 @zy410419243
- 🌟 Support
allowClear. #13939
- Modal
- 🌟 Add
forceRendersupport. f791a50 - 🌟 Add
destroyAll. #13409 @caolvchong - 🌟 Add
iconto Modal.confirm/info/warning/error,iconTypeis deprecated. 5c26635
- 🌟 Add
- 🌟 Add
smalltype Card component. #13180 @ndbroadbent - Form
- 🌟 Add
switcherIconprop to Tree. #13592 @nick-ChenZe - 🌟 Mention add
defaultSuggestion. #13695 - Dropdown
- Button
- Table
- DatePicker
- 🌟 Add new
renderFooterAPI for DatePicker. 3c007a8 - 🐞 Fixed
dateRendernot supported at WeekPicker. #13957 - 🐞 Fixed disabled button style in DatePicker panel. #14098
- 🌟 support prop
renderExtraFooterin all mode. #13813 @elfman - 🐞 Fixed month range display when start year equals end year. #14049 @meihuanyu
- 🌟 Add new
- TimePicker
- 🌟 Update
rc-tree-selectto 2.5.0 to support use a ReactNode asnotFoundContentin TreeSelect. 47b89e5 - 🌟 Rate component support
tooltips. 192e188 - 🐞 Fixed Drawer prop
stylenot working. #13850 - Upload
- Popover
- 🐞 Fixed arrow of Popover shadow. #13935 @crazyurus
- 🐞 Fixed Popover top border disappear in IE9. #14064 @gyh9457
- 🐞 Fixed Radio style bug in Chrome. #3699
- 🐞 Fixed affix Menu flickering when scrolling. #13662
- 🐞 Fixed Steps style issue on IE9. #14001
- 🐞 Fixed nested Timeline last item missing line. #14108
- 🐞 Fixed spin never shows up when delay got initially set. #14100
- Badge
- 🐞 Fixed animation jump when count is ReactNode. #13800
- TypeScript
- 🐞 Fixed type define of DatePicker prop
disabledDate. #14008 @vnguyen94 - 🐞 Fixed Dropdown
onVisibleChangetype define bug. #13988 @travikk
- 🐞 Fixed type define of DatePicker prop
- 🎉 新的组件 Empty,同时优化了各个组件的空数据状态样式!13651
- 🎉 添加新的国际化资源北印度语(kn_IN)和坎那达语(kn_IN)。#13776 @gurungrahul2 #13776 @gurungrahul2
- 🌟 新增 Icon
eye-invisible。b8630b3 - 🌟 ConfigProvider 组件添加
prefixCls属性。#13389 - Less
- Input
- 🌟 添加 Input.Password 密码输入组件。#13342 @zy410419243
- 🌟 支持
allowClear。#13939
- Modal
- 🌟 添加
forceRender属性。f791a50 - 🌟 添加
destroyAll方法。#13409 @caolvchong - 🌟 Modal.confirm/info/warning/error 新增
icon属性。原有的iconType废弃。5c26635
- 🌟 添加
- 🌟 Card 组件添加
small类型。#13180 @ndbroadbent - Form
- 🌟 Tree 添加
switcherIcon属性。#13592 @nick-ChenZe - 🌟 Mention 添加
defaultSuggestion属性。#13695 - Dropdown
- Button
- Table
- DatePicker
- TimePicker
- 🌟 更新
rc-tree-select到 2.5.0,现在 TreeSelect 组件中的notFoundContent支持传入 ReactNode。47b89e5 - 🌟 组件 Rate 支持
tooltips。192e188 - 🐞 修复 Drawer 的属性
style不生效的问题。#13850 - Upload
- Popover
- 🐞 修复 Popover 组件的箭头的阴影问题。#13935 @crazyurus
- 🐞 修复 Popover 上方的 border 在某些 IE9 下不显示的问题。#14064 @gyh9457
- 🐞 修复 Radio 组件在 Chrome 下的样式问题。#3699
- 🐞 修复 Steps 组件在 IE9 下的样式问题。#14001
- 🐞 修复嵌套的 TimeLine 最后一条线丢失的问题。 #14108
- 🐞 修复 Spin 组件初始设置
delay属性后不显示的问题。#14100 - Badge
- 🐞 修复当
count是一个 ReactNode 时动画跳动的问题。#13800
- 🐞 修复当
- TypeScript
- 🐞 修复 DatePicker 属性
disabledDate的定义问题。#14008 @vnguyen94 - 🐞 修复 Dropdown 属性的
onVisibleChange的定义问题。#13988 @travikk
- 🐞 修复 DatePicker 属性
- ⚡️ Upgrade our toolchains (babel and webpack) to latest version and prettier all codes!
- Table
- 🐞 Fixed that dropdown menu action not clickable. #13563
- 🐞 Fixed hovering components on Table sortable column. #13467
- 🐞 Fixed crash issue of selection Table under IE9/10. #13540
- 🐞 Fixed check-all checkbox state when Table
childrenColumnNameis specified. #13710 - 💄 Remove work break styles in table cell for consistent behavior. #13624
- 💄 Rewrote the custom filter demo of Table. Link
- 🐞 Fixed padding of Button which children is
0. #13596 @951565664 - 💄 Chore Card header and loading UI.
- 💄 Optimized Spin wrapper styles and improve performance slightly. 2c7112b
- 🐞 Fixed border color of validated Input.Group. #13529 @morenyang
- 🐞 Fixed submenu animation of vertical-type Menu. #13597
- 🐞 Fixed width of WeekPicker. #13629
- 🐞 Fixed cursor style of disabled Radio.Button. #13642 @gianpaj
- Dropdown
- 🐞 Fixed slight shift when menu is popped in Chrome. #12115 @gurungrahul2
- 🐞 Fixed unexpected scrollbar caused by dropdown placed at screen edge. 00564dd
- 🐞 Fixed
offsetprops when Badgecountis specified as a ReactNode. #13694 - 🐞 Remove nested Form.Item negative margin. #13748
- 📝 Added a Select demo of Hide Already Selected. #13552 @SergeyVolynkin
- 🐞 Fixed padding of Comment actions. #13713
- 🐞 Fixed broken arrow style when customize Popover's background color. #13533 @gurungrahul2
- 🐞 Corrected Drawer
styleprop to outside wrapper. #11504 - 🐞 Fixed one problem of incorrect state when Affix first mounted. #13737 @xuxinhang
- 🐞 Fixed Tabs cursor style of disabled tab. #13709
- 🌟 Added some less variables of Tabs, Table, Alert.
- TypeScript
- ⚡️ Enhanced Table
ColumnPropstypes aboutdataIndex. #13605 @bondBo - ⚡️ Enhanced Table
TableRowSelection.onChangearguments with generic types.#13761 @hahabazinga - 🐞 Fixed type of LocaleProvider's
children. #12974 - 🐞 Fixed type of RangePicker
onOk's arguments. #13650 @iugo - 🐞 Fixed Comment
authortype from string to ReactNode。#13670 @reichjustin - 🐞 Fixed type of Select
dropdownProps's arguments. #13617 @SylvanasGone
- ⚡️ Enhanced Table
- ⚡️ 升级内部依赖到 babel@7 和 webpack@4,并使用 prettier 格式化了所有代码。
- Table
- 🐞 修复 Button 内容为
0时的样式。#13596 @951565664 - 💄 微调 Card 头部和加载中的样式细节。
- 💄 优化 Spin 样式并略微提升了切换状态的性能。2c7112b
- 🐞 修复一个 Input.Group 使用 compact 时校验状态边框样式的问题。#13529 @morenyang
- 🐞 修复 Menu 在 vertical 模式下的展开收起动画。#13597
- 🐞 修复 WeekPicker 的宽度样式异常。#13629
- 🐞 修复 Radio.Button 失效状态下的鼠标手势。#13642 @gianpaj
- Dropdown
- 🐞 修复 Chrome 下菜单弹出时有轻微移动的问题。#12115 @gurungrahul2
- 🐞 修复一个屏幕边缘的 Dropdown 菜单引起的浏览器滚动条异常出现的问题。00564dd
- 🐞 修复 Badge 的
count是自定义 ReactNode 时offset属性失效的问题。#13694 - 🐞 去掉 Form.Item 内嵌负边距,改用其他的方式实现单行多个表单项。#13748
- 📝 补充了一个 Select 选择后隐藏选项的例子。#13552 @SergeyVolynkin
- 🐞 修复 Comment 的操作链接边距样式。#13713
- 🐞 修复自定义 Popover 背景色时箭头样式突兀的问题。#13533 @gurungrahul2
- 🐞 修正 Drawer 的
style属性到最外层容器上。#11504 - 🐞 修复一个 Affix 初始化时固定状态不正确的问题。#13737 @xuxinhang
- 🐞 修复 Tabs 失效页签的鼠标手型。#13709
- 🌟 补充 Tabs、Table、Alert 组件的一些样式变量。
- TypeScript
- ⚡️ 完善 Table 的
ColumnProps定义,增强对dataIndex的校验。#13605 @bondBo - ⚡️ 完善 Table 的
TableRowSelection.onChange参数泛型定义。#13761 @hahabazinga - 🐞 修复 LocaleProvider 的
children类型。 #12974 - 🐞 修复 RangePicker 的
onOk的参数类型。#13650 @iugo - 🐞 修正 Comment
author属性的类型为 ReactNode。#13670 @reichjustin - 🐞 修复 Select
dropdownProps的参数定义。#13617 @SylvanasGone
- ⚡️ 完善 Table 的
- 🐞 Fixed Table
Cannot read property 'children' of undefinederror when customizecolumn.titleas ReactNode. #13542 @geraldchen890806 - 🐞 Fixed another border problem of Button when customized less variable
@border-width-base. #13534 @morenyang - 🐞 Fixed Upload don't support resolve
Blobobject whenbeforeUploadreturns a Promise. #13528 @huanz - https://github.com/ant-design/ant-design/pull/13536
- 🐞 Fixed two props of Dropdown TypeScript definitions. #13536 @wangxingkang
- 🐞 修复 Table 使用自定义列头时报
Cannot read property 'children' of undefined的问题。#13542 @geraldchen890806 - 🐞 修复另一个 Input 在自定义了 less 变量
@border-width-base时的边框问题。#13534 @morenyang - 🐞 修复 Upload 的
beforeUpload方法返回 Promise 时不支持 resolveBlob对象的问题。#13528 @huanz - https://github.com/ant-design/ant-design/pull/13536
- 🐞 修复 Dropdown 两个属性的 TypeScript 定义。#13536 @wangxingkang
- 🐞 Fixed the issue where the Avatar icon could not be centered vertically. #13408
- 🐞 Fixed the border problem of Button when setting the less variable
@border-width-baseto1. #13413 @morenyang - 🐞 Fixed Commnet does not correctly display line breaks. #13429
- 🐞 Fixed the issue that when the Alert is in
closable, the icon will be covered by the text. #13440 - Button
- Dropdown
- Table
- DatePicker
- 🐞 Fixed the blur method of the Slider. #13439
- 🐞 Fixed Cascader's i18n issues. #13486
- 🐞 Fix some TypeScript definitions. #13390 #13488 #13420
- 🐞 修复 Avatar 图标不能垂直居中的问题。#13408
- 🐞 修复 Input 在自定义了 less 变量
@border-width-base时的边框问题。#13413 @morenyang - 🐞 修复 Commnet 组件不能正确显示换行的问题。#13429
- 🐞 修复 Alert 在
closable时,关闭图标会被文字遮挡的问题。#13440 - Button
- Dropdown
- Table
- DatePicker
- 🐞 修复 Slider 的 blur 方法。#13439
- 🐞 修复 Cascader 的国际化问题。#13486
- 🐞 修复一些组件 TypeScript 定义。#13390 #13488 #13420
3.11.0 brings two new Components, a lot of exciting changes and new features.
- 🔥 Added a new component Comment. #12770 @ilanus
- 🔥 Added a new component ConfigProvider for user to customize some global setting. #12991 Component Fixes / Enhancements:
- 🌟 Avatar Added
srcSetprop that is a list of sources to use for different screen resolutions. #12525 @philipodev - 🌟 Upgrade
rc-notificationto3.3.0, Notification AddedonClickprop that is called when the notification is clicked. #11832 - Transfer
- 🌟 Refactor Badge, support
countas custom component. #12140 @supra28 - 🌟 Slider Added
tooltipVisibleprop that whether Tooltip will always show. #12915 @zy410419243 - 🌟 Support custom font-variant style through less variable
@font-variant-base. #12691 @neemski - Table upgrade
rc-tableto6.4.0 - Select upgrade
rc-selectto8.6.0 - 💄 Added
titleprop that Menu.Item support tooltip title when collapsed. #12952 - Cascader upgrade
rc-calendarto9.8.0 - 🌟 Added Hungarian locale. #13026 @ilanus
- 🐞 Fix TextArea use resize observer to check textarea size. #13295
- 🐞 Fix Tabs renderTabBar style error when tabPosition is left or right. #13118
- 🐞 Fix Upload thumbnail icon broken styles. #13333
3.11.0 版本带来了两个新组件,还有很多激动人心的变化和新特性。
- 🔥 增加了一个新组件 Comment。#12770 @ilanus
- 🔥 增加了一个新组件 ConfigProvider 为组件提供统一的全局化配置。#12991 组件修复/功能增强:
- 🌟 Avatar 组件增加
srcSet属性,用于设置图片类头像响应式资源地址。#12525 @philipodev - 🌟 Notification 组件升级
rc-notification到3.3.0,增加onClick属性,点击通知时触发的回调函数。#11832 - Transfer
- 🌟 Badge 进行了重构,
count支持自定义组件。#12140 @supra28 - 🌟 Slider 组件增加
tooltipVisible属性,用于 Tooltip 是否始终显示。#12915 @zy410419243 - 🌟 增加 less 变量
@font-variant-base定制 font-variant 样式。#12691 @neemski - Table 升级
rc-table到6.4.0 - Select 组件升级
rc-select到8.6.0 - 💄 Menu.Item 组件增加
title属性,用于在收缩时展示的悬浮标题。#12952 - Cascader 升级
rc-calendar到9.8.0 - 🌟 增加匈牙利国际化文案。#13026 @ilanus
- 🐞 修复 TextArea 组件高度不能自适应问题。#13295
- 🐞 修复 Tabs 组件当 tabPosition 为 left 或 right 的时候,renderTabBar 样式问题。#13118
- 🐞 修复 Upload 缩略图图标样式错误。#13333
- 🐞 Fix disabled Checkbox label cursor style. #13199 @walker27
- 🐞 Fix TimePicker input exceeds the boundary of container. #13194
- 🌟 Adjust Table sort order from
desc -> asctoasc -> desc. #13069 @OvestLabs - 🐞 Fix Switch can be operated when loading. #13219 @jojoLockLock
- 🐞 Fix Carousel can not be interactive in fade mode. #13215
- 🐞 Fix DatePicker don't support
tabIndexprop. #13265 @arifemrecelik - 🐞 TreeSelect won't call
loadDatawhen searching to avoid lagging problem. #13245
- 🐞 修复 Checkbox 标签名鼠标失效样式没有生效的问题。#13199 @walker27
- 🐞 修复 TimePicker 输入框超出边界的样式问题。#13194
- 🌟 Table 排序调整为先升序后降序。#13069 @OvestLabs
- 🐞 修复 loading 状态下,Switch 仍然可以被操作的问题。#13219 @jojoLockLock
- 🐞 修复 Carousel 组件渐显效果下轮播区域无法点击的问题。#13215
- 🐞 修复 DatePicker 对
tabIndex属性的支持。#13265 @arifemrecelik - 🐞 TreeSelect 现在在搜索时不再调用
loadData以避免卡死。#13245
- 🐞 Fix pop-up menu background transparency.#13104
- 🐞 Fixed an issue where disabled Button does not full width in Popconfirm.#13119
- 🐞 Fixed an issue where Radio.Button in Radio.Group overridden Badge.#13132
- 🐞 Fixed a issue where RangePicker was not aligned in
smallmode.#13105 - 🐞 Fix the problem that the Dropdown font size affects the avatar.#13091
- 🐞 Fixed an issue where tabBarGutter could not work in vertical mode.#12968
- 🌟Adjusted the types of multiple typescript.
- 🎉 Landing Templates released!
- 📖 Published the new sketch resource of Ant Design.
- Button
- 🐞 Fix the imcompatibility for
Cascader[filedNames]after3.7.0version. #12970 - 🐞 Fix that the show date in pop-up layer should be reset when date value is not modified successfully for
DatePicker. #12929 - 🐞 Fix the lose of type
crossfor Icon. #12970 - 🐞 Fix the incorrect
modefor collapsed Menu. #2782 #2783 #2786 - 🐞 Fix the unnecessary
reflowto avoid weird wave animation for Popover and Tooltip. #12942 - Table
- 🐞 Fix the disapperance when nested in Popover and Popconfirm for Tooltip whose children is
disabled. #13001 - 🐞 Fix the stuck problem when upload non-image file for Upload. #12948
- 🐞 Fix that
DOM Objectdoesn't support property or methodremoveAttributeinIEandEdge. #2423 - 🐞 Remove the unnecessary wave animation for hidden elements. #12967
- 🎉 发布 Landing 模板集!
- 📖 发布 Ant Design 新版 Sketch 模版文件。
- Button
- 🐞 修复 Cascader 组件的
filedNames属性在3.7.0版本后的兼容性问题。#12970 - 🐞 修复 DatePicker 组件的日期值没有被成功修改,浮层中显示的日期应该被重置的问题。#12929
- 🐞 修复 Icon 组件丢失
cross类型图标的问题。#12970 - 🐞 修复 Menu 组件处于折叠状态时菜单类型不正确的问题。#2782 #2783 #2786
- 🐞 修复 Popover 和 Tooltip 组件中出现不必要的回流问题,避免出现奇怪的动画。#12942
- Table
- 🐞 修复 Tooltip 组件嵌套在
Popover/Popconfirm下,并且子元素为disabled状态时不消失的问题。#13001 - 🐞 修复 Upload 组件在上传非图片类型文件时会将文件读取至内存,造成浏览器卡顿的问题。#12948
- 🐞 修复在
IE和Edge浏览器下DOM 对象不支持removeAttribute属性的问题。#2423 - 🐞 对于隐藏元素去掉不必要的波浪动画。#12967
- 🌟 Support custom modal header style through less variable
@modal-header-bg. #12914 - 🐞 Fixed mask style not working for Modal.mehtod. #12688
- 🐞 Fixed Checkbox missing check mark inside table in IE 11. #12597
- 🐞 Fixed FormItem having different height with help info. #12803
- 🐞 Fixed Divider expands Popover card width under Chrome. #10914
- 🐞 Fixed Avatar content not aligned in Popover. #10917
- Button
- Table
- TypeScript
- 🌟 Improve util function
getScrollTypeScript definition. #12784 @ztplz - 🐞 Fixed Checkbox under group not trigger
onChange. #12642 - 🐞 Fixed Calendar month picker not correct when set with
validRange. #12675 - 🐞 Fixed multiple Select drop-down bug when set
dropdownMatchSelectWidth. #12816 @hengkx - 🐞 Fixed Card title overflow bug. #12680
- 🐞 Fixed Form[inline] help and extra overlapped. #12725
- Table
- 🌟 Support custom Table filter backgrounds. #12775 @ivankravets
- 🐞 Adjust small table placeholder style. #12682
- 🐞 Fixed small size table header border missing in Firefox. #12840
- 🐞 Fixed checkbox align of small/middle size table. #12723
- 🌟 完善工具方法
getScroll的 TypeScript 定义。#12784 @ztplz - 🐞 修复 CheckboxGroup 内 Checkbox 没有触发
onChange的问题。#12642 - 🐞 修复 Calendar 组件设置
validRange后选择月份时的问题。#12675 - 🐞 修复 Select 组件设置了
dropdownMatchSelectWidth后多选下拉框的问题。#12816 @hengkx - 🐞 修复 Card 标题可能会被覆盖的问题。#12680
- 🐞 修复 Form[inline] 提示信息和错误文案被覆盖的问题。#12725
- Table
- 🌟 支持自定义 Table 组件的筛选按钮的背景色。#12775 @ivankravets
- 🐞 调整 Table 组件的样式细节。#12682
- 🐞 修复在火狐下,当 size="small" 未排序时下边框不显示。#12840
- 🐞 修复大小为 small/middle 时复选框不能对齐的问题。#12723
- 📝 Translated documentation patterns overview to English. #12637 @ilanus
- 🛠 Improve support vi_VN locale for DatePicker component. #12656 @hieuhlc
- 🐞 Fixed TimePicker style issue in IE11. #12707 jinyaqiao1102
- 🐞 Fixed Popconfirm defaultVisible. #12733
- 🐞 Fixed Table th border missing in Firefox. #12628
- 🐞 Add
touch-action: nonecss on Slider to fix chrome warning. #12595 - 🐞 Fixed Tabs ink-bar vertical css. #12276
- 🐞 Fixed vertical align issue of empty Button. #12681
- 🐞 Fixed Calendar
localeprop should have priority. #12706 - 🐞 Fixed Checkbox[checked] indeterminate style. #12724
- 🐞 Fixed
prefixClsnot passed to Popconfirm's button. #12677 @concefly - 🐞 Fixed Edge ignoring
pointer-events:noneon Button's span. #12712 @dazbo - Progress
- TypeScript
- 🐞 Fixed
trexpandedKeysandonTreeExpanddefinition missing in TreeSelect. #12648 @decadef20 - 🐞 Fixed missed property
keyin TabPaneProps. 682af0d @ztplz - 🐞 Fixed some definition of Icon. 3dbc357
- 🐞 Fixed
- 📝 翻译模式-概览文档到英文。#12637 @ilanus
- 🛠 DatePicker 组件完善对越南语(vi_VN)的支持。#12656 @hieuhlc
- 🐞 修复 TimePicker 组件在 IE11 下的样式问题。#12707 jinyaqiao1102
- 🐞 修复 Popconfirm 组件的
defaultVisible属性的问题。#12733 - 🐞 修复在 Firefox 下 Table 组件头部边框不显示的问题。#12628
- 🐞 组件 Slider 添加
touch-action: none样式修复 Chrome 上可能出现的报错。#12595 - 🐞 修复 Tabs 组件垂直模式下边框条的问题。#12276
- 🐞 修复 Button 组件无内容时垂直不对齐的问题。#12681
- 🐞 修复 Calendar 组件
locale属性不生效的问题。#12706 - 🐞 修复 Checkbox 组件在设置
indeterminate的情况下的样式问题。#12724 - 🐞 修复
prefixCls没有应用到 Popconfirm 组件按钮上的问题。#12677 @concefly - 🐞 修复 Edge 下 Button 组件
pointer-events:none对于 span 不生效的问题。#12712 @dazbo - Progress
- TypeScript
- 🐞 修复 TreeSelect 组件缺少
treeExpandedKeys和onTreeExpand的定义的问题。#12648 @decadef20 - 🐞 修复 TabPaneProps 组件缺少
key属性定义的问题。682af0d @ztplz - 🐞 修复 Icon 组件的部分定义问题。3dbc357
- 🐞 修复 TreeSelect 组件缺少
- 🎉 Ant Design Mobile of Angular(NG-ZORRO-Mobile) released!
- 📝 Upgrade document
Real project with dvato Real project with umi. - Table
- 🐞 Fixed clicking all columns will trigger sort behavior even without
sorterprops. #12515 - 🐞 Fixed extra "Sort" title hint of column. #12613
- 🐞 Fixed broken style of sort and right-aligned column. #12552
- 🐞 Fixed sort not working as expected when
columnsdefined inrender. #12571 - 🐞 Fixed sorted column background color of small size Table.
- 🐞 Fixed overlap style of Table row selection Checkbox in chrome. 5bef1aa
- 🐞 Fixed broken style of Table inside Form.Item. #12554
- 🐞 Fixed clicking all columns will trigger sort behavior even without
- DatePicker
- 🐞 Fixed Anchor text edge cut problem. #12520
- 🐞 Fixed that Drawer still cover page even set
mask={false}. #12401 - 🐞 Fixed disabled style missing of Input.TextArea when used as custom input in AutoComplete. #12594
- 🐞 Fixed Modal.confirm
prefixClsprop not passing to mask element, and changed it's default value toant-model-confirm. #12546 - 🐞 Fixed an align issue of Input.Group in safari. #12493
- 🐞 Fixed an align issue of standalone
<Badge />. #12419 - 🐞 Fixed inconsistent arugments of
onExpandwhen click Tree.DirectoryTree switch icon and tree node. #12567 - 🐞 Fixed hasFeedback icon unexpected focused state in IE11. #12524 @siyu77
- 🐞 Fixed multiple Select will trigger
onFocusandonBlurrepeatly when click it multiple times. #12281 @Frezc - 🐞 Fixed long text overflow issue of circle type Progress.
- TypeScript
- 🎉 Ant Design Mobile of Angular(NG-ZORRO-Mobile)发布!
- 📝 更新 项目实战 文档为最新的 umi 技术栈。
- Table
- DatePicker
- 🐞 修复 Anchor 中文字边缘被切割的问题。#12520
- 🐞 修复 Drawer 设置无遮罩时依然挡住了页面元素的问题。#12401
- 🐞 修复 AutoComplete 下使用自定义 Input.TextArea 下失效样式丢失的问题。#12594
- 🐞 修复 Modal.confirm 的
prefixCls属性没有透传给 mask 的问题,并调整了默认的 prefixCls 的值为ant-model-confirm。#12546 - 🐞 修复 Input.Group 在 safari 下的一个对齐问题。#12493
- 🐞 修复独自使用
<Badge />时的垂直对齐。#12419 - 🐞 修复 Tree.DirectoryTree 点击切换图标和点击文本时
onExpand参数不一致的问题。#12567 - 🐞 修复在 IE11 下错误聚焦到表单状态图标的问题。#12524 @siyu77
- 🐞 修复多选 Select 多次点击输入框时会反复触发
onFocus和onBlur的问题。#12281 @Frezc - 🐞 修复环形 Progress 内文本超长溢出的问题。
- TypeScript
- 🌟 Upload adds
openFileDialogOnClickprop to allow setting whether to open the upload dialog when the component is clicked. #12347 @hengkx - 🌟 InputNumber adds
decimalSeparatorprop to allow setting a custom decimal. #12329 @amedora - 🌟 TreeSelect adds the
treeExpandedKeysandonTreeExpandprops to control the expansion of the tree. #12145 - Transfer
- 🌟 Adds
disabledprop. #12066
- 🌟 Adds
- Modal
- Table
- 🌟 Alert adds
iconprop to allow setting a custom icon. Demo - 🌟 The following components add a
suffixIconprop, which is used to set the icon behind the input box. For details, please refer to the documentation.- Cascader
- DatePicker
- Select
- TreeSelect
- TimePicker
- 🌟 Add some new less variables. f237eff
- 🐞 Fix Icon.createFromIconfontCN prepending
httpsto thescriptUrl. #12316 - 🐞 Fix the issue with the
gutterprops of Row that doesn't work when using nested Col. #12320 - 🐞 Fix the issue where the Tree.DirectoryTree component could not properly expand the node when the 'expandedKeys` prop had initial values. #12396
- 🐞 Fix the issue when the
renderprop of the Transfer component returns a ReactNode, thetitleproperty of the list item shows an unexpected value. #12399 - 🐞 Fix Tooltip not working with CheckboxGroup. #12427
- 🐞 Fix the issue that Button can still be clicked in IE9 under loading state. #12466 @snail
- 🐞 Fix the issue with mouse hover when using non-Input components in Input.Group. #12407 @hengkx
- 🐞 Fix some TypeScript type definitions. #12374 #12370 #12354 #12473
- 📝 更新了图标和动效两篇设计指引。
- 🌟 Upload 组件新增
openFileDialogOnClick属性,用于设置点击组件时是否打开上传对话框。#12347 @hengkx - 🌟 InputNumber 组件新增
decilamSeparator属性,用于设置自定义的小数点。#12329 @amedora - 🌟 TreeSelect 组件新增
treeExpandedKeys和onTreeExpand属性,用于控制树的展开收起。#12145 - Transfer
- 🌟 新增
disabled属性。#12066
- 🌟 新增
- Modal
- Table
- 🌟 Alert 新增
icon属性,用户设置自定义图标。例子:自定义图标 - 🌟 以下组件均新增了
suffixIcon属性,用于设置输入框后面的图标,具体用法可以参考文档。- Cascader
- DatePicker
- Select
- TreeSelect
- TimePicker
- 🌟 新增 less 变量 f237eff
- 🐞 修复 Icon.createFromIconfontCN 方法会自动给
scriptUrl加https的问题。#12316 - 🐞 修复 Row 的
gutter属性,在使用嵌套的 Col 时不生效的问题。#12320 - 🐞 修复 Tree.DirectoryTree 组件在设置的
expandedKeys有初始值时不能正确展开节点的问题。#12396 - 🐞 修复 Transfer 组件使用
render属性返回 ReactNode 时,列表项的title属性显示错误的问题。#12399 - 🐞 修复 Tooltip 在 CheckboxGroup 上不工作的问题。#12427
- 🐞 修复 Button 组件 loading 状态下在 IE9 里依然可以被点击的问题。#12466 @snail
- 🐞 修复 Input.Group 中使用非 Input 组件时,鼠标 hover 时会产生抖动的问题。#12407 @hengkx
- 🐞 修复 TypeScript 类型定义 #12374 #12370 #12354 #12473
- 🐞 Fix
Selectrender lag of long text in Chrome. #11456 #11843 - 🐞 Fix
onOpenChangehandler not being called inRangePickerfor preset ranges. #12142@leijingdao - 🐞 Fix parameter
dontAnimatetogoToofCarousel, the parameter be used to closing animation transitions. #12205 - 🐞 Fix duplicated className for tabBar in
Tabs. 589ba #12051 - 🐞 Fix the vertical alignment for the title of
Card. #11036 #10576 - 🐞 Fix Item key unspected change on
Listcomponent. #12299@douglasjunior - 🐞 Fix
confirmFilterinTabledoes not refresh immediately. 954c7 #12284 - Menu
- 🐞 Fix extra scrollbar when popup
Menuinhorizontalmode. #12152 - 🐞 Fix
openKeyshave higher priority inMenu. #12361 @tangjinzhou
- 🐞 Fix extra scrollbar when popup
- Upload
- Icon related
- TypeScript
- 🐞 修复
Select组件在 Chrome 下超长文本的渲染延迟。#11456 #11843 - 🐞 修复
RangePicker组件中的onOpenChange非正常数值报错问题。#12142@leijingdao - 🐞 修复
Carousel组件的goTo方法缺少dontAnimate参数问题,参数用于关闭转场过渡动画。#12205 - 🐞 修复
Tabs中tabBar的重复类名。589ba#12051 - 🐞 修复
Card组件标题的垂直对齐方式。#11036#10576 - 🐞 修复
List组件刷新后 key 值非预期变化。#12299@douglasjunior - 🐞 修复
Table组件confirmFilter方法不能及时更新数据。954c7#12284 Menu组件相关- 🐞 修复
Menu在horizontal模式下时出现额外的滚动条。#12152 - 🐞 修复
Menu组件openKeys有更高的优先级。#12361 @tangjinzhou
- 🐞 修复
Upload组件相关- 图标相关内容
- TypeScript
- 🐞 修复
Message组件中MessageApi类型定义。e82d7#12137 - 🐞 修复
TreeonDrop 类型定义。e5827#12269 - 🐞
TreeSelect组件中onChange方法中添加extra类型定义。#12243@jardicc
- 🐞 Title of children
CardunderCardusingtab-cardhas wrong padding.#12083 - 🐞 Fix
AutoCompleteusingTextAreaas input, height adjust by manual has time delay.#12117 - 🐞 Fix
maskStyleunderDrawernot working.#12125@ryerh - 🌟
popconfirmaddonVisibleChangesupport.#8614 - 🐞 Fix something table header in
Tableusing fixed header and colums display unecessary scorllbar.#6515 - 🐞 Fix
Spinusingdelaystill render at first time.#12131 - Icon related:
- 🐞 Fixed the bug that
Tooltipcan not be triggered byIcon. #12005 - 🐞 Fixed the bug that
InputNumbershows wrong UP icon. #12035 - 🐞 Fixed the bug that
Modalshows no icon in error confirm. #12026 - 🐞 Fixed the bug that the icon is misaligned in
Popconfirm. #12026 - 🐞 Fixed the but that the icons are misaligned in
Card'sActionspanel. #12016 - 🐞 Fixed that the icons in
Form,Alert,TimePickerhave wrong theme. #12016 - 🐞 Fixed that the icons are set to have 90deg rotation in the
headerproperty inCollapse. #12016 - 🐞 FIxed the issue that there are still old icons in some production environments. #12016 8b82f14
- 🐞 Fixed the bug that the new static method
Icon.createFromIconFontCN({...})doesn't work and gives a warning. #12013
- 🐞 修复
Icon组件在被Tooltip组件包裹时,无法显示Tooltip内容的问题。#12005 - 🐞 修复
InputNumber组件的向上图标显示不正常的问题。#12035 - 🐞 修复
Modal组件的错误确认框不显示图标的问题。#12026 - 🐞 修复
Popconfirm组件中的图标显示位置不正确的问题。#12026 - 🐞 修复
Card组件中的Actions图标显示位置不正确的问题。#12016 - 🐞 修复
Form、Alert、TimePicker等组件图标主题风格不正确的问题。#12016 - 🐞 修复
Collapse组件中的header中的图标会顺时针旋转 90 度的问题。#12016 - 🐞 修复在特定部署环境中,新旧图标会同时出现的问题。#12016 8b82f14
- 🐞 修复使用
Icon.createFromIconFontCN({...})方法失效并报错的问题。#12013
In September we brought an update for 3.9.0. There are many new features in 3.9.0, Ant Design is getting stronger and solider.
- 🔥🔥🔥 In the
3.9.0version, we redraw all the icons, adding two new categories, more than 90 new icons. And the bit adds a variety of styles to each icon. To this end, we have rewritten the Icon component, replaced thefontfaceicon withSVG, adding a number of features that allow us to quickly use new icons and styles.
- 💄 Replace the
cssfont icon with theSVGicon, see more disscussion about it. - 💄 You can now render a two-color icon.
- 💄 We provide three theme of icons: outlined, filled, twoTone, default theme is outlined.
- 🌟 Two new categories, Edit Icons and Data Icons, have been added.
- 🌟 Add the
themeattribute to set the theme style of the icon. #11971 - 🌟 Added
componentattribute, you can externally pass a component to customize the control rendering result. #11322 - 🌟 The
twoToneColorproperty is added to control the theme color of the two-color icon. #11971 - 🌟 Added static methods
Icon.getTowToneColor()andIcon.setTwoToneColor(...)to globally get and set the theme color of all two-color icons. #11971 - 🌟 The new static method
Icon.createFromIconfontCN({...})is added to make it easier to use icons hosted oniconfont.cn. For more usage, please refer to Ant Design Pro - Introduction to Business Icons. #11322
- 💄 Replace the
- 🔥 Added a new component Skeleton.
- 🔥 Menu will automatically close up to fit width in
horizontalmode. - 🔥 The
placementof the drawer supportstopandbottomto accommodate more scenes.
In addition, our Ant Design Pro 2.0.0 version has also been released simultaneously, please see our release note for details.
Bugfix/Feature
- 🌟 Added Model.open for optional icon dialog. #11982 @hsiehjack
- 🌟 Modal.info adds the configuration of
getContainer. #11377 - 🌟 Improve RangePicker footer UI by merging them.
- 🌟 The Anchor component adds
onClickproperty. #11898 - 🌟 The Tab component adds the
renderTabBarproperty. #11856 - 🌟 The Input component adds the
selectmethod. #11906 - 🌟 Steps adds the
initialattribute. #11180 - 🐞 Fixed Steps dot style broken.
- 🐞 Fixed an issue where setting fontSize in the
headStyleof the Card does not work. #11995 - 🐞 Fixed an issue where the Button component wave animation was mix up. #11985
- 🐞 Fixed an issue where the Modal.confirm setting
centeredattribute didn't work. #11969 - 🐞 Fixed an issue where setting the
suffixandprefixof the second Input in thecompactmode of Input.Group would cause the right border to disappear. #11965 - 🐞 Fixed an issue where Upload components might cause misplaced images when uploading many images. #11183
- 🐞 Fixed MonthPicker
renderExtraFooternot working. #8184
在开学之际我们带来了久违的 3.9.0 的更新。多个重量级的新特性和大量修复,使 Ant Design 的能力显著提升。
- 🔥🔥🔥 在
3.9.0版本中,我们重绘了所有的图标,新增了两大类,超过 90 个新图标,并且为每个图标增加了多种风格。为此我们重写了 Icon 组件,使用SVG替换了fontface图标,增加了多个特性,可以快速的使用新的图标和风格。
- 💄 使用
SVG图标替换了css字体图标,可以看这里的讨论了解 svg 的优势。 - 💄 提供了三套图标风格线性、实色和双色图标,默认为线性风格。
- 🌟 新增了 编辑类 和 数据类 两个新类别。
- 🌟 新增
theme属性,可以设置图标的主题风格。#11971 - 🌟 新增
component属性,可以外部传入一个组件来自定义控制渲染结果。#11322 - 🌟 新增
twoToneColor属性,可以控制双色图标的主题色。#11971 - 🌟 新增静态方法
Icon.getTowToneColor()和Icon.setTwoToneColor(...),可以全局性的获取和设置所有双色图标的主题色。#11971 - 🌟 新增静态方法
Icon.createFromIconfontCN({...}),可以更加方便地使用iconfont.cn上托管的图标。更多用法请参阅 Ant Design Pro - 业务图标 的介绍。#11322
- 💄 使用
- 🔥 增加了一个新组件 Skeleton。
- 🔥 Menu 在
horizontal模式下会自动收起来适应宽度。 - 🔥 Drawer 的
placement支持top和bottom,可以适应更多场景。
另外我们的 Ant Design Pro 2.0.0 也已同步发布,详细内容请看 pro 2.0 发布日志。
组件修复/功能增强
- 🌟 新增 Model.open 方法,用于可自定义图标的快捷对话框。#11982 @hsiehjack
- 🌟 Modal.info 增加
getContainer的配置。#11377 - 🌟 合并优化了 RangePicker 的日历页脚 UI。
- 🌟 Anchor 组件增加
onClick属性。#11898 - 🌟 Tab 组件增加
renderTabBar属性。#11856 - 🌟 Input 组件增加
select方法。#11906 - 🌟 Steps 增加
initial属性。#11180 - 🐞 修复 Steps 点状步骤条样式错位的问题。7d59075
- 🐞 修复在 Card 的
headStyle中设置 fontSize 不生效的问题。#11995 - 🐞 修复了 Button 组件波浪动画混淆的问题。#11985
- 🐞 修复了 Modal.confirm 设置
centered属性无效的问题。#11969 - 🐞 修复了在 Input.Group 的
compact模式下设置第二个 Input 的前后缀会造成右边框消失的问题。 #11965 - 🐞 修复 Upload 组件上传图片较多时可能会造成图片错位的问题。#11183
- 🐞 修复 MonthPicker
renderExtraFooter失效的问题。#8184
- 🐞 Fixed an issue where the Tag component would cause a line break after deleting the tag.
- 🐞 Fixed
Failed to execute 'removeChild' on 'Node'error when click Switch.
- 🐞 修复 Tag 组件删除 tag 后会造成换行的问题。
- 🐞 修复 Switch 单击时会产生
Failed to execute 'removeChild' on 'Node'错误的问题。
- 📖 Rewrite the documentation of Customize Theme and provider instruction for major
Lessvariables. 6fd5e9 53dd82 - 🐞 Fix the zoom animation style for Badge. #11870
- 🐞 Fix the abnormal width in IE and Edge for Cascader. #11857
- 🐞 Fix the blurry style in Windows Chrome for Checkbox. #11797
- 🐞 Fix that
styleprop is not effective for DatePicker.WeekPicker. #11738 - 🐞 Fix the flash style for Drawer. #11813
- 🐞 Fix the border style for compact Input.Group with
prefixorsuffix. #11863 - Menu
- 🐞 Fix that overlong
descriptionis cut off for Steps. #11864 - 🐞 Fix that the word maybe break in overlong
titlefor Tooltip. #11722 - 🐞 Fix that
custom propof TreeNode cannot be accepted for Tree. #11423 - 🐞 Fix the effective area for Upload.Dragger. #11869
- 📖 重新编写了 定制主题 文档,并提供了主要的
Less变量说明。 - 🐞 修复 Badge 组件动画出现位置不正确的问题。#11870
- 🐞 修复 Cascader 组件在 IE 和 Edge 浏览器中浮层与数据列宽度不一致的问题。#11857
- 🐞 修复 Checkbox 组件在 Windows Chrome 下样式模糊的问题。#11797
- 🐞 修复 DatePicker.WeekPicker 组件的
style属性无法生效的问题。#11738 - 🐞 修复 Drawer 组件在多层状态下切换出现的背景闪烁的问题。#11813
- 🐞 修复带有前缀或后缀的 Input.Group 组件在紧凑模式下右边框宽度过宽的问题。#11863
- Menu
- 🐞 修复 Steps 组件中过长的
description会被截断,无法完整展示的问题。#11864 - 🐞 修复 Tooltip 组件在
title过长时会将单词拆分到两行的问题。#11722 - 🐞 修复 Tree 组件中的树节点无法接收自定义属性的问题。#11423
- 🐞 修复 Upload.Dragger 组件的有效拖拽区域不匹配的问题。#11869
- 🐞 Fixed Tag still visible when initially setting
visibleprop to false. #11757 - 🐞 Fixed Modal text got selected when opened by double click. #11777
- 🐞 Fixed style of Rate component while getting clicked. #11736
- 🐞 Fixed style of Badge component when its children is
display:block. #84119d8 - Drawer
- TypeScript
- 🐞 Fixed
selectableprop is missing in TreeNode props. #11604 @apieceofbart - 🐞 Fixed
autosizeprop is missing in Input props. #11697
- 🐞 Fixed
- 🐞 Fixed TimePicker unexpected long width. 80f8267
- 🐞 Fixed Tabs that focusable element in inactive panel cause tabs disappear. #11261
- 🐞 Fixed Badge
offsetx y axis order error. #11648 @tangjinzhou - Upload
- 🐞 Fixed Anchor with
affix=truedoesn't work inside inner scrollable. #11688 @vitaliymaz - 🐞 Fixed card width in List.Grid. !11712
- 🐞 Fixed Radio align problem in safari. 754a22c
- 💄 Apply wave click animation to components Switch, Radio.Button and Tag. 9cf6ae6
- TypeScript
- 💄 Migrate to new lifecycle methods, include components TimePicker, Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm. #11666 @dancerphil #11682 @dancerphil
- 🐞 修复 TimePicker 面板输入框宽度过长的问题。80f8267
- 🐞 修复 Tabs 中隐藏的输入框可能被聚焦的问题。#11261
- 🐞 修复 Badge 组件属性
offset的坐标设置顺序问题。#11648 @tangjinzhou - Upload
- 🐞 修复 Anchor 组件当
affix=true时无法在滚动的窗口中固定的问题。#11688 @vitaliymaz - 🐞 修复 List.Grid 组件中的卡片宽度问题。!11712
- 🐞 修复 Radio 在 safari 下对齐的问题。754a22c
- 💄 添加点击动画效果到组件 Switch, Radio.Button 和 Tag。9cf6ae6
- TypeScript
- 💄 使用新的 React 生命周期函数,包括组件 Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm。#11666 @dancerphil #11682 @dancerphil
Thanks to 24 contributors who send pull request to 3.8.0!
- 💄 Support TypeScript 3 and improve lots of definitions.
- 💄 Use tabular-nums font variant instead of monospaced numberic font family Tahoma. #11567 @tibdex
- 🌟 Timeline support
mode="left|right|alternate"now. #11490 @jrvboesch - 🌟 Button added
blockprop which allow to fit parent container. #11500 @ilanus - Tree
- Table
- 🌟 Added
rowSelection.columnTitleto customize selection column title. #11042 @littleLane - 💄 Added demo of resizable columns。
- 💄 Support to select multiple rows when pressing
shift. #11404 @RaphaelChauveau
- 🌟 Added
- Avatar
- 🌟 Added
onErrorprop that is callback when image loading fail. #11285 @paranoidjk - 🌟 Added
sizeprop for customize size of Avatar. #11256 @emersonlaurentino
- 🌟 Added
- 🌟 Card added
headStyleprop. #11407 @emersonlaurentino - 🐞 Fixed that Tooltip not working with DatePicker. #11451 @yociduo
- 🐞 Fixed that Tooltip not working with Input.Group. #11532 @yociduo
- 🐞 Fixed that DatePicker time panel text jumping when hovering. #11460
- 🐞 Fixed Tabs display issue when switch focus elements bettween panels. #11261
- Select
- 💄 Support
data-*attributes. - 🐞 Fixed that selected item don't display correct position in dropdown menu items. #11268
- 💄 Support
- 🌟 Calendar added
onChangeprop. #11476 @tangjinzhou - 🌟 Popconfirm added
iconprop. #11191 @nuintun - Modal
- 🌟 Progress added
strokeLinecapto customize shape of edge. #11547 @blatinier - 🌟 Drawer added
classNameand deprecatedwrapClassName. #11609 @fergiar
非常感谢在 3.8.0 上提交 PR 的 24 位贡献者!
- 💄 支持 TypeScript 3,并优化了大量组件定义。
- 💄 使用 font-variant-numeric 优化了等宽数字的实现方式,解决了数字字体和其他字体不一致的问题。#11567 @tibdex
- 🌟 Timeline 现在支持左/右/交替三种布局形式。#11490 @jrvboesch
- 🌟 Button 增加
block属性用于撑满父容器宽度。#11500 @ilanus - Tree
- Table
- 🌟 新增
rowSelection.columnTitle可以定制选择列的列标题。#11042 @littleLane - 💄 新增了一个可拖拽改变列宽的例子。
- 💄 支持按住 shift 进行多选。#11404 @RaphaelChauveau
- 🌟 新增
- Avatar
- 🌟 新增
onError属性,作为图片加载失败时的回调。#11285 @paranoidjk - 🌟 新增
size属性,方便自定义头像大小。#11256 @emersonlaurentino
- 🌟 新增
- 🌟 Card 新增
headStyle属性用于定制标题样式。#11407 @emersonlaurentino - 🐞 修复 DatePicker 上无法使用 Tooltip 的问题。#11451 @yociduo
- 🐞 修复 Input.Group 上无法使用 Tooltip 的问题。#11532 @yociduo
- 🐞 修复一个 DatePicker 中时间面板 hover 时数字跳动的问题。#11460
- 🐞 Tabs 修复了一个切换焦点异常的问题。#11261
- Select
- 🌟 支持
data-*属性。 - 🐞 修复一个选中项在列表中没有聚焦的问题。#11268
- 🌟 支持
- 🌟 Calendar 新增了
onChange作为日期改变的回调。#11476 @tangjinzhou - 🌟 Popconfirm 新增
icon支持自定义图标。#11191 @nuintun - Modal
- 🌟 Progress 新增
strokeLinecap属性用于调整边缘形状。#11547 @blatinier - 🌟 Drawer 新增
className并废弃wrapClassName。#11609 @fergiar
- DatePicker
- Drawer
- 🐞 Fix text overflow of Tooltip. #11402 @weidapao
- 🐞 Fix style issue of dark theme Menu in Layout.Header. #11400 @hongxuWei
- 🐞 Fix the arrow buttons of InputNumber showing wrong positon in a fixed table. #11408
- 🐞 Fix issue resulting in Select.Option shows wrong border radius in Select.OptGroup. 6cb6f5c
- 🐞 Fix issue resulting in
onChangewas trigged twice when click the filter icon of Table. #11164 @adybionka - 🐞 Fix issue resulting title of Model.confirm shows scrollbar on Firefox. #11432
- TypeScript
- 🐞 Fix type definition of Radio.Group. #11409 @eddiemoore
- 🐞 Fix type definition of TreeSelect. #11442 @JribiBelhassen
- 🐞 Fix type definition of Badge. #11421 @zongzi531
- DatePicker
- Drawer
- 🐞 修复 Tooltip 文字溢出的问题。#11402 @weidapao
- 🐞 修复 Menu 在
theme为dark是在 Layout.Header 里的样式问题。#11400 @hongxuWei - 🐞 修复 InputNumber 的箭头按钮在使用了固定列的 Table 里显示错位的问题。#11408
- 🐞 修复 Select 使用分组时 Option 的圆角显示错误。6cb6f5c
- 🐞 修复 Table 第一次点击过滤按钮的时候
onChange会被触发两次的问题。#11164 @adybionka - 🐞 修复 Model.confirm 的标题在 Firefox 下会显示滚动条的问题。#11432
- TypeScript
- 🐞 修复 Radio.Group 类型定义。#11409 @eddiemoore
- 🐞 修复 TreeSelect 类型定义。#11442 @JribiBelhassen
- 🐞 修复 Badge 类型定义。#11421 @zongzi531
- 🐞 Fix popup content can't display in Drawer component.#11304
- 🐞 Card using
tabListsupportdisabledprop.#11212 - 🐞 Fix Link of Anchor not sync when
hrefupdate.#11287 @tangjinzhou - 🐞 Fix Menu component style.#11299
- 🐞 Fix Drawer component don't have animation when
destroyOnCloseis set.#11307 - 🐞 Fix DirectoryTree can't expand when
expandedKeysis in control.#11366 - 🐞 Fix Button with Tooltip under ButtonGroup style issue when Button is
disabled.11321 @tangjinzhou
- 🐞 修复 Drawer 内无法显示弹层组件的问题。#11304
- 🐞 带页签的卡片页签支持 disabled 属性。#11212
- 🐞 修复锚点链接组件 href 改变不更新的问题。 #11287 @tangjinzhou
- 🐞 修复 Menu 样式细节问题。#11299
- 🐞 修复 Drawer 组件设置
destroyOnClose后关闭动画消失。#11307 - 🐞 修复 DirectoryTree 在
expandedKeys属性可控时点击无法展开的问题。#11366 - 🐞 修复 ButtonGroup 中使用 Tooltip 的 Button 在
disabled时样式不正确的问题。11321 @tangjinzhou
3.7.0 is a heavy update that brings a lot of exciting changes and new features.
Here are some highlights ✨:
- 🌟 Add drawer component : Drawer. #10791
- 🌟 Add
Tree.DirectoryTreecomponent as the built-in directory tree. #7749
Component Fixes / Enhancements:
- Upgrade
rc-tree-selectto2.0.5for TreeSelect, refactored to fix the logic of the check.- 🌟 Add
autoClearSearchValueprop to clear the value of search input when multiple select is selected or deselected. 10996 - 🌟 Add
searchValueprop to set the value of search input. 6ff7dd8 - 🌟 Add
maxTagCountprop to set the max count of visible tags. fb96c9d - 🌟 Add
maxTagPlaceholderprop to set the content when the tag is hidden. fb96c9d - 🌟 Search input now supports case sensitive search. #10990
- 🗑 Remove
labelprop and usetitleprop instead in thetreeData.
- 🌟 Add
- Upgrade
rc-uploadto2.5.0for Upload. - Dropdown
- Upgrade
rc-tableto6.2.2for Table. f2fddff- 🌟 Add
expandedas the fourth param ofexpandedRowRenderprop to get the expanded state of current row. #10379 - 🌟 Add the ability to override the filter menu without the fully controlled component. 59cc3a8 @chrvadala
- 🌟
filterIconprop supports to be a render function which returns ReactNode. 1af4392 - 🐞 Fix the row dislocation problem when the column is fixed. #10392
- 🌟 Add
- 🌟 Allow to pass
data-*,aria-*androle-*props to the inner for Alert. f0b684d - 🌟 Add
altprop for Avatar to set the text when the image is unable to display. #10798 - 🌟 Allow to pass
data-*,aria-*androle-*props to the inner Input for DatePicker. e63f9d4 - 🌟 Add
eventobject as the second param ofonSearchprop for Input.Search. #11015 - 🌟 Add
onBreakPointprop for Layout.Sider to be the callback function when breakpoint is triggered. #10750 @nuintun - 🌟 Add
okButtonPropsprop to set the props of ok button and addcancelButtonPropsprop to set the props of cancal button for Modal. #10955 @djyde - 🌟 Add
strokeColorprop to set the color of progress bar for Progress. #10725 - 🌟 Add
buttonStyleprop whose optional value isoutlineorsolidto set the Radio.Group style. 60e3cfa - 🌟 Add
setDefaultIndicatorstatic function to set global indicator for Spin. #10787 - 🌟 Add
visibleprop to set the visibility forTag. 4ac0277 - Upgrade
rc-treeto1.12.0for Tree - 🗑 Deprecate
comboboxvalue forSelect[mode]and please replace it withAutoComplete. 53046a4 - 🐞 Cascader adds
fieldNamesand discards the misspelledfiledNames. #10896 - 🐞 Fix Timeline dot not working with Tooltip. 0e3b67e
- 🐞 Fix border radius when avatar has custom size. e1e6523
- 🌟 Add
okButtonDisabledandcancelButtonDisabledprops to disable ok button and cancel button. #10955
3.7.0是一个重磅更新,带来了很多激动人心的变化和新特性.
以下是一些亮点✨:
组件修复/功能增强:
- TreeSelect 组件升级
rc-tree-select到2.0.5,进行了重构,修复了 check 的逻辑。 - Upload 组件升级
rc-upload到2.5.0 - Dropdown 增加新特性,可以做为右键菜单来使用。
- Table 组件升级
rc-table到6.2.2。 f2fddff - 🗑 Select 组件废弃了
combobox模式,请使用AutoComplete组件代替。53046a4 - 🌟 Alert 组件允许传递
data-*、aria-*和role-*属性到组件内部。f0b684d - 🌟 Avatar 组件新增
alt属性,用于设置图像无法显示时的替代文本。#10798 - 🌟 DatePicker 组件允许传递
data-*、aria-*和role-*属性到组件内部的Input。e63f9d4 - 🌟 Input.Search 组件新增
event事件对象作为onSearch属性函数的第二个参数。#11015 - 🌟 Layout.Sider 组件新增
onBreakPoint属性,用作响应式布局的断点触发时的回调函数。#10750 @nuintun - 🌟 Modal 组件新增
okButtonProps和cancelButtonProps属性,分别用于设置取消按钮和确定按钮的属性。#10955 @djyde - 🌟 Progress 组件新增
strokeColor属性,用于设置进度条的颜色。#10725 - 🌟 Radio.Group 组件新增
buttonStyle属性 (可选值outline | solid),用于设置RadioButton的风格样式。60e3cfa - 🌟 Spin 组件新增
setDefaultIndicator静态方法,用于设置全局的加载指示符。#10787 - 🌟 Tag 组件新增
visible属性,用于设置是否显示标签。4ac0277 - Tree 组件升级
rc-tree到1.12.0 - 🌟 增加
okButtonDisabledandcancelButtonDisabled属性用于禁用确定和取消按钮。#10955 - 🌟 Cascader 新增 fieldNames 并废弃拼写错误的 filedNames。 #10896
- 🐞 修复时间轴不能与 Tooltip 一起使用的问题。 0e3b67e
- 🐞 修复当 Avatar 自定义大小时,圆角不改变的问题。e1e6523
- 🐞 Fix the style of the selected day for
DatePicker. #6146 #9529 - 🐞 Fix the style of the selected day for
DatePicker.RangePicker. 004561b - 🐞 Fix the alignment style wrapped by
Form.ItemforCascader. #9827 #11133 - 🐞 Fix the background style of the
handlerforInputNumber. 4aabc53 - 🐞 Fix the header overflow in
FireFoxwhen the data is empty forTable. #11135
- 🐞 Fixed wired
Transferrepaint problem in IE or Edge. #9697 - 🐞 Fixed
Cardbackground overflow when zoom in chrome. #9085 - TypeScript
- 🐞 Add custom local support in
Pagination. babbbdd4 - 🐞 Move max-width to ant-tooltip, so that it can be override by overlayStyle.maxWidth. e2b359e9
- 🐞 Adjust
Selectmirror style to avoid to long string. #11035
- 🐞 Fixed
Stepstheme@process-icon-color. #10973 - 🐞 Fixed style of RangePicker with preset ranges. #10986
- 🐞 Fixed
Dropdownnon-boolean attribute warning. #7798 - TypeScript
- 🐞 修复
Steps组件的@process-icon-color样式定义。#10973 - 🐞 修复
RangePicker组件使用预置范围时的样式问题。[#10986] (https://github.com/ant-design/ant-design/issues/10986) - 🐞 修复
Dropdown组件可能报出的non-boolean attribute的警告。#7798 - TypeScript
- 🐞 Fixed that capitalized extension of Upload image url couldn't be recognaized. #10928 @sliwey
- 🐞 Fixed missing border of InputNumber when browser is zoomed in. #10562
- 🐞 Fixed that fixed element inside Spin cannot be fixed. #10196
- 🐞 Fixed broken border style of small table. #9754
- 🐞 Fixed missing
classNameprop of Table'sfilterIcon. #10937 - 🐞 Fixed that Affix
offsetTopandoffsetBottomcannot be updated. #10874 - TypeScript
- 🐞 Fix the wrong status of check all checkbox in Table when data change. #10629
- 🐞 Fix border style of Button.Group.
- 🐞 Fix file list being reversed when
beforeUploadreturnsfalsein Upload component. #10681 - 🐞 Fix overflow of cell content in Calendar. #10808 @Yangzhedi
- 🐞 Fix the processing color of Badge not follows the
primary-color. - Spin
- 🐞 Fix custom icon does not follow the value of
size. #10786 - 🐞 Fix no
delayissue when setsspinningtotrueas default.#10727 @dreamerblue
- 🐞 Fix custom icon does not follow the value of
- TypeScript
- 🐞 修复 Table 数据变化时全选勾选框状态显示不正确的问题。#10629
- 🐞 修复 Button.Group 中使用 disabled 按钮时缺失边框。
- 🐞 修复 Upload 中
beforeUpload返回false时,文件列表排序会被反转的问题。#10681 - 🐞 修复 Calendar 表格中内容溢出的问题。#10808 @Yangzhedi
- Spin
- 🐞 修复使用图标时不能按照
size正确显示大小的问题。#10786 - 🐞 修复默认旋转时
delay不生效的问题。#10727 @dreamerblue
- 🐞 修复使用图标时不能按照
- 修复 Badge 的状态色不跟主题色变化的问题。
- TypeScript
- 🌟
Form's error message now can be customized with ReactNode. #10136 @lovekonakona - 🌟
Listsupport customized configuration for position of pagination. #10581 @zheeeng - 🌟
Layout.Sidernow can be configured withlightordarktheme. #10142 @pd4d10 - 🌟 Ant Design official site now supports offline mode. #10625
- 🌟
TransferaddingstyleandoperationStyleprops for further customization. @eduludi - 🌟
Messageadds a promisfied interface to handle callback. #10421 @zhujinxuan - 🐞 Fix compilation issue with typescript@v2.9.1 . #10729 @karol-majewski
- 🐞 Fix a bug in
Menuwhere outer menu item not highlighting while inner item is selected. #8666 @stonehank - 🐞 Affix
offsetBottomnot working. #10674
- 🌟
Form表单错误信息展示支持传入 ReactNode。 #10136 @lovekonakona - 🌟
List组件支持指定分页器的位置。 #10581 @zheeeng - 🌟
Layout.Sider支持 dark/light 主题定制。 #10142 @pd4d10 - 🌟 支持 Ant Design 站点的离线模式。 #10625
- 🌟
Transfer新增style以及operationStyle属性配置样式。 @eduludi - 🌟
Message增加 promise 化的回调接口。 #10421 @zhujinxuan - 🐞 修复编译时 typescript v2.9.1兼容性问题。 #10729 @karol-majewski
- 🐞 修复
Menu嵌套超过两层时选中最里层后对应最外层没有亮起问题。 #8666 @stonehank - 🐞 修复
Affix组件 offsetBottom 无效问题。 #10674
- 🐞 Fix
showSearchonCascadernot working.968488a2 - 🐞
BadgesupportTooltip.#10626 - 🐞 Fix
text-alignon parent element affectsSpin.#10643 @wmzhong - 💄
Tablebreak line style change frombreak-alltobreak-word.#10655 @clinyong - 🌟 When
Searchnot defineenterButton, click search icon will triggeronSearch. 36ffe7e1
- 🐞 Fix
Affixwith offsetTop === 0, value becomesundefinedproblem #10566 - 🐞 Fixed issue with shaded
Input.Groupcomponent shadows#10230 - 🐞 Fixed issue where the
Transfercomponent checkbox event fired twice #10480 - 💄 Unifying the name of the variable 12d3046
- 💄 Fine-tuned the style of
Dropdown8e2f72f - 💄 The components of the Chinese document will now be demonstrated using Chinese language packages. 9b17a94
- 💄 The main theme switch was changed to
antd-theme-generato, thanks to the work of @mzohaibqc. - TypeScript
- 🐞 修复了
Affix当offsetTop === 0, 值将变为undefined的问题 #10566 - 🐞 修复了
Menuitem 中的高亮链接颜色问题 09d5e36 - 🐞 修复了
Input.Group组件阴影被遮盖的问题 #10230 - 🐞 修复了
Transfer组件 checkbox 事件触发两次的问题#10480 - 💄 统一 less 的变量命名 12d3046
- 💄 微调了
Dropdown的样式 8e2f72f - 💄 现在中文文档的组件会用中文语言包进行演示。9b17a94
- 💄 主站主题切换 修改为
antd-theme-generato,感谢 @mzohaibqc 的工作. - TypeScript
- 🐞 Fixed
CascaderdisplayRender z-index issue. #10433 - 🐞 Fixed
ButtonTypes of property 'ref' are incompatible. #10405 - 🐞 Fixed
Tablefilter doesn't work on checkbox click. #10452 - 🐞 Fixed the height of
Formitem when checks position is dithered. #10445 - 🌟 Allow to use any CSS units for
Layoutwidth. #10479
- 🐞 Fixed broken style of Input.Group under Form. #10371
- 🐞 Fixed overlay style of Select. #10383
- 🐞 Remove focused style of Collapse.
- 🐞 Remove unnecessary
z-indexof Input.Group and Checkbox. #9840 #10385 - 🐞 Fixed that monospaced font family can't be bold.
- Table
- TypeScript
- 🐞 Fixed Breadcrumb.Item type. #10372 @karol-majewski
- 🐞 Fixed Table
rowSelectiontype。#10374
- 🌟 Add
titleprop toBadgethat shows when hovering it. 74d81c2 @ludwigbacklund - 🌟 Add
successPercentasProgress[format]argument. #10096 - 🌟 Update
rc-notificationto 3.1.0 so thatNotificationsupport setmaxCount. #10161 @jzhangs - 🌟 Update
rc-cascaderto 1.13.0 so thatCascadersupport setfiledNames. react-component/cascader#23 @405go - 🌟 Add ability to update
Notificationprops by key. react-component/notification#40 @yevhen-hryhorevskyi - 🌟
Listsupport pagination by default. #10135 - Table
- 🌟 Column
sorterfunction is passedsortOrderas param. #10306 @kumarashwin - 🐞 Fix merged header cell border. #10359
- 🐞 Fix lost of user selection on data updates. #10332 @chrvadala
- 🌟 Column
Menuupgraderc-menuto7.x#10305- 🌟 Better aria-* attributes support. react-component/menu#137
- 🌟 Improve Menu performance by avoiding unnecessary updates. react-component/menu#133
- 🌟 Support passing props through to MenuItem list item. react-component/menu#135
- 🐞 Minor key shortcut bug fixes. react-component/menu#132
- Collapse
- 🌟 Support custom
Collapsestyles with less. #9943 @davidhatten - 🌟 Update
rc-collapseto 1.9.0 to addCollapsekeyboard support. react-component/collapse#84 @kossel
- 🌟 Support custom
- Select
- 🐞 Fix type for
placeholder. #10282 @thomasthiebaud - 🐞 Fix extra space taken up when arrow disabled. #10296
- 🐞 Fix property
valuetypescript type. #10336 @paranoidjk
- 🐞 Fix type for
- Input
- Form
- 🐞 Fix typing for
Form.onValuesChange. #10231 @whtsky - 🐞 Fix typescript interface
ComponentDecorator. #10324 @paranoidjk
- 🐞 Fix typing for
- 🐞 Fix dashed
Divider. #10216 - 🐞 Fix
Spincontainer interaction. #10227 - 🐞 Fix
Notificationicon hover color. #10272 - 🐞 Fix
UploadpropertylastModifiedDatename. #10315 @danielg2002 - 🐞 Fix
Buttonprops type, useReact.HTMLProps. #10229 @whtsky - 🐞 Fix less var naming convention. #10275
- 🌟 组件
Badge新增title属性支持鼠标 hover 的时候显示。74d81c2 @ludwigbacklund - 🌟 添加
successPercent为Progress[format]的参数。#10096 - 🌟 更新
rc-notification到 3.1.0 来支持组件Notification的maxCount属性。#10161 @jzhangs - 🌟 更新
rc-cascader到 1.13.0 来支持组件Cascader的filedNames属性。react-component/cascader#23 @405go - 🌟 组件
Notification支持通过 key 更新通知属性。 react-component/notification#40 @yevhen-hryhorevskyi - 🌟 组件
List支持内置的翻页功能。#10135 - Table
- 🌟 新增
sortOrder参数传递给列配置中的sorter方法。#10306 @kumarashwin - 🐞 修复头部单元格的边框样式问题。#10359
- 🐞 修复当数据变化时用户选择项丢失的问题。#10332 @chrvadala
- 🌟 新增
Menu升级rc-menu到7.x#10305- 🌟 更好的 aria-* 属性支持。react-component/menu#137
- 🌟 一些内部优化提升组件性能。react-component/menu#133
- 🌟 支持将属性传递到菜单项中。react-component/menu#135
- 🐞 修复一些快捷键的问题。react-component/menu#132
- Collapse
- 🌟 更新
rc-collapse到 1.9.0 优化键盘支持。react-component/collapse#84 @kossel - 🌟 支持通过 less 定义组件
Collapse的样式。#9943 @davidhatten
- 🌟 更新
- Select
- 🐞 修复
placeholder的 ts 类型问题。#10282 @thomasthiebaud - 🐞 修复不显示箭头时多余的空白。#10296
- 🐞 修复属性
value的 typescript 类型错误。#10336 @paranoidjk
- 🐞 修复
- Input
- Form
- 🐞 修复
Form.onValuesChange的 ts 类型错误。#10231 @whtsky - 🐞 修复
ComponentDecoratortypescript 定义的错误。#10324 @paranoidjk
- 🐞 修复
- 🐞 修复
Divider为 dashed 时的样式问题。#10216 - 🐞 修复
Spin覆盖层的展示问题。#10227 - 🐞 修复
Notification鼠标 hover 是图标的颜色问题。#10272 - 🐞 修复
Upload组件属性lastModifiedDate的拼写错误。#10315 @danielg2002 - 🐞 修复
Button的属性类型,使用React.HTMLProps。#10229 @whtsky - 🐞 修复 less 命名约定不一致的问题。 #10275
- 🐞 Fix style lose bug when use tree shaking in webpack@4. #10197 @Aladdin-ADD
- 🐞 Fix
Menuitem's clickable region in dark theme. #10187 @dgeibi
- 🐞 修复了 webpack@4 下使用 Tree Shaking 样式丢失的问题。#10197 @Aladdin-ADD
- 🐞 修复
Menu组件在dark主题下点击区域的问题。#10187 @dgeibi
- 💄 Deployed site by netlify to avoid blocking by GFW.
- 🐞 Fix TypeScript definitions of Menu, Tooltip, Card, Anchor, Avatar, Form, Tabs, Transfer, Tree, AutoComplete and etc.
- 💄 Added
sideEffectstopackage.jsonfor better Tree-Shaking. #10043 @Aladdin-ADD - List
- 🐞 Fix wrong preview image of Upload list when file.url contains url params. #10102
- 🐞 Fix Progress when percent is out of range. 0eb8357
- Menu
- 🐞 Fix that sometimes controlled input in Form cannot be edited. #9790
- 🐞 Fix padding jumping issue of loading Card. #10052 @zheeeng
- 🐞 Fix that Avatar's fallback text don't scale as the text avatar does. #10184
- 🐞 Fix Table
getCheckboxPropscannot be updated as expected. #10133 - 🐞 Fix CheckboxGroup
prefixClsprop not passed to Checkbox. #9950
- 💄 部署网站到 netlify,解决网站被墙的问题。
- 🐞 修复和调整 Menu、Tooltip、Card、Anchor、Avatar、Form、Tabs、Transfer、Tree、AutoComplete 等组件的 TypeScript 定义。
- 💄 增加
sideEffects配置以优化 Tree Shaking 效果。#10043 @Aladdin-ADD - List
- 🐞 修复 Upload 的文件 url 带有参数时,图片预览效果失效的问题。#10102
- 🐞 修复 Progress 的百分比越界时的展现。0eb8357
- Menu
- 🐞 修复一个某些情况下 Form 内使用受控组件时无法编辑的问题。#9790
- 🐞 修复 Card 切换 loading 状态时的内边距跳动问题。#10052 @zheeeng
- 🐞 修复 Avatar 图片加载失败时的文字没有正确缩放的问题。#10184
- 🐞 修复 Table 的
getCheckboxProps无法动态更新的问题。#10133 - 🐞 修复 CheckGroup 指定
prefixCls没有传递给 Checkbox 的问题。#9950
- 🐞 Fix TypeScript type error caused by code error of Badge. #9931
- 💄 Improve clicking region of Card
actions. #9882 - 🐞 Fix Divider style issue when used with float elements. #9956
- 🐞 Fix style issue of Form in advanced-search mode. #9907
- 🐞 Add
onHeaderRowTypeScript type definitions for Table. #9902 @Nokecy - 💄 Improve the customized-icon demo of Tree. #9893
- 🐞 Fix image url display with non-image extention in Upload. #9936
- Tree
- 🛠 In this version, we refactored the underlying code of Tree to resolve some long living issues.
- 🌟 Added
defaultExpandParentfor expanding parent at first render. - 🌟 Added
disabledfor disabling the whole tree. - 🌟 Added
TreeNode[icon]to allow setting custom node icon. - 🌟 Improved the check logic for disabled TreeNode.
- 🌟 Anchor added
getContainerfor setting the container of scroll content. - 🌟 Table added a new less variable
@table-expanded-row-bg. #9789 - 🐞 Fixed a less syntax error. #9832 @jojoLockLock
- 🐞 Fixed
moment.localeinvoking error in LocaleProvider. #9853 - 🐞 Fixed issue resulting in
styleof WeekPicker not works. #9848 - 🐞 Fixed type definition of Layout.Sider. #9885 @zachguo
- 💄 Improved style of Modal for long contents. #9592
- 🌟 Added new locale Slovenian.
- Tree
- 🛠 在这个版本里,我们重构了 Tree 底层的代码,以解决一些存在了很久的问题。
- 🌟 新增
defaultExpandParent用于在第一次渲染时自动展开父节点。 - 🌟 新增
disabled用于禁用整棵树。 - 🌟 TreeNode 新增
icon用于设置自定义图标。 - 🌟 优化了 TreeNode 设置
disabled时的勾选逻辑。
- 🌟 Anchor 新增
getContainer用于指定内容滚动的容器。 - 🌟 Table 新增 less 变量
@table-expanded-row-bg。#9789 - 🐞 修复一处 less 语法错误。#9832 @jojoLockLock
- 🐞 修复 LocaleProvider 中 moment.locale 调用报错的问题。 #9853
- 🐞 修复 WeekPicker 的 style 属性不生效的问题。#9848
- 🐞 修复 Layout.Sider 的 TypeScript 定义。#9885 @zachguo
- 💄 优化了 Modal 中超长内容的显示。#9592
- 🌟 新增斯洛维尼亚语。
- Revert Upload
filetype change in previous version which causes breaking change.
- 回退上个版本 Upload 中
file类型的修改。
- 🐞
Carousel: Upgradereact-slickversion to fix width calculation. #3659 - 💄
Rate: Adjustdisabledstyle. #9747 - 💄
Modal: Adjustconfirm-modalstyle to fix multiple line display issue. #9374 - 💄
Menu: Adjust style to fix mouse trigger event region. #9666 @dgeibi - 🐞
Upload: Fix type offileonbeforeUploadfunction. #9775 - 🐞
Button: Fixtwo-chinese-wordsspace not re-calculate when text changed. 4502ad8
- 💄 Tweak danger button focus style.
- 🐞 Fix a show error when the value of enterButton is a button element. #9639
- 🐞 Fix missing key of
column.titlein Table .#9658 @terence55 - 🐞 Fix
scroll: { x: true }not working if.ant-table-scroll tablewidth isauto. #9704 - 🐞 Fix when the helper message disappears, the input box will shake. #8831
- 🐞 Fix isMoment call in
TimePickerwill report error in parcel. 85c78e4 - 🐞 Tweak
Tableborder radius. #9674
- 💄 调整 danger Button 的
focus样式。 - 🐞 修复 enterButton 的值为 button 元素时显示错误的问题。 #9639
- 🐞 修复 Table 中的
column.title的缺少 key 的问题。 #9658 @terence55 - 🐞 修复
scroll: { x: true }在.ant-table-scroll table宽度为auto的情况下不工作的问题。#9704 - 🐞 修复表单校验文字消失的时候输入框会抖一下的问题。 #8831
- 🐞 修复
TimePicker里的 isMoment 调用在 parcel 里会报错的问题。85c78e4 - 💄 调整 Table 的圆角样式。 #9674
- 🌟 Add
afterCloseprop forAlertto achieve smooth unmount. #9448 @Hughen - 🌟 Add
validRangeprop forCalendarto set the date range. 71f65a0 @Rohanhacker - 🌟 Add
defaultActiveTabKeyprop forCardto initial TabPane's active key. 30fe88d @u3u DatePicker- 🌟 Add
orientationprop forDividerto set the alignment of text in divider. #9275 @jrvboesch - 🌟 Add
keyboardprop forModalto set whether Modal could be closed byEsckey. #8818 - 🌟 Improve the TypeScript definition of
eventparam inonChangeprop forRadioandCheckbox. #9574 Table- 🌟 Add
positionprop inpaginationprop to set the position of pagination. #9357 @kanweiwei - 🌟 Add event param of
onSelectprop inrowSelectionprop. #9376 @kanweiwei - 🌟 Add
columnWidthprop inrowSelectionprop to set the column width of selection. #9474 @SimpleFrontend - 🐞 Fix border radius issue in
ChromeforTable. af8e54f
- 🌟 Add
- 🌟 Add
pendingDotprop forTimelineto set icon of ghost node. #9546 @SimpleFrontend - 🌟 Add
inputReadOnlyprop forTimePickerto set if it's read only. 4a69446 @JesperWe - 🌟 Add
dropdownClassNameprop forTreeSelect. 69b154f 56e4ce0 - 🌟 Improve the preview for
Uploadwhen uploading the file of non-image format. #9621 @zswang - 🐞 Fix
successPercentprop that cannot decide the success status forProgress. #9382 - 🐞 Fix font size for
Tabs. #9509 - 🐞 Fix that disabled parent node cannot spread for
TreeandTreeSelect. #9539
- 🌟
Alert组件新增afterClose属性,用于实现更流畅的关闭效果。#9448 @Hughen - 🌟
Calendar组件新增validRange属性,用于设置显示的时间范围。71f65a0 @Rohanhacker - 🌟
Card组件新增defaultActiveTabKey属性,用于初始化选中面板的 key。30fe88d @u3u DatePicker- 🌟
Divider组件新增orientation属性,用于设置分割线内文本的对齐方式。#9275 @jrvboesch - 🌟
Modal组件新增keyboard属性,用于设置按下Esc键是否可以关闭Modal。#8818 - 🌟 优化
Radio和Checkbox组件onChange属性中的事件参数的TypeScript类型定义的问题。#9574 Table- 🌟 新增
pagination属性的配置项position,用于设置分页的显示位置。#9357 @kanweiwei - 🌟 新增
rowSelection属性的配置项onSelect回调函数的事件参数。#9376 @kanweiwei - 🌟 新增
rowSelection属性的配置项columnWidth,用于设置选择框的列宽。#9474 @SimpleFrontend - 🐞 修复
Table组件在Chrome下圆角边框样式的问题。af8e54f
- 🌟 新增
- 🌟
Timeline组件新增pendingDot属性,用于设置幽灵节点的图标。#9546 @SimpleFrontend - 🌟
TimePicker组件新增inputReadOnly属性,用于设置组件是否只读。4a69446 @JesperWe - 🌟
TreeSelect组件新增dropdownClassName属性。69b154f 56e4ce0 - 🌟 优化
Upload组件在上传非图片格式文件时的预览效果。#9621 @zswang - 🐞 修复
Progress组件的successPercent属性无法决定组件是否处于success状态的问题。#9382 - 🐞 修复
Tabs组件字体尺寸的问题。#9509 - 🐞 修复
Tree和TreeSelect组件的父节点在disabled状态下无法展开的问题。#9539
- 🐞 Fix props
onPopupScrollts define inSelect. #9475 @twobin - 🐞 Fix
Tablefilter dropdown menu popup container. #9209 - 🐞 Fix
Timelinehead custom style error in chrome. #9429 @vthinkxie - 🐞 Fix
Selectdropdown border. 82092c1 - 🐞 Fix compatibility with less 3. #7850
- 🐞 Fix
DatePicker.WeekPickeryear. #9463 - 🐞 Fix
Button.Groupalign issue in chrome. #9457
- 🌟 Add font-family variable for Pagination. #9351
- 🌟 Add font-weight variable for Badge. #9352
- 🐞 Fix table custom spin indicator. #9355
- 🐞 Fix
Form.create. #9331 - 🐞 Revert typescript definition of
column.dataIndex. #9393 - 🐞 Fix last menu item in Sider could be blocked by collapse trigger. #9398 @MJ111
- 🐞 Fix badge works wrong in dot mode. #9359 @khayalan-mathew
- 🌟 Add icons of some famous products. c04377e5
- Mention
- 🌟
multiLinesmode will support autosize. - 🐞 Fix paste not working when
placeholderis specified. #9215
- 🌟
- Table
- Select
- 🐞 Fix wrong scroll position when navigating active item with keyboard. #9276
- 🐞 Fix arrow position in IE11.
- 🐞 Fix issue that file item showing
uploadingwhen UploadbeforeUploadreturn false. #8020 - 🐞 Fix misplace of feedback icon of
verticallayout Form. #9153 - 🐞 Fix loading style missing of empty childen Card. #9258
- 🐞 Fix background color of Avatar when image source is not existe. #9278 @andriijas
- 🐞 Fix RangePicker
Cannot read property 'locale' of undefinederror when select end date. #9267 - 🐞 Fix style problem when using disabled button with Tooltip inside ButtonGroup. #9296 #9296
- 🐞 Fix z-index of Dropdown's submenu. #9218
- 🌟 新增了部分著名产品的图标。c04377e5
- Mention
- 🌟 现在
multiLines模式的高度将默认自适应内容。 - 🐞 修复指定了
placeholder时无法粘贴内容的问题。#9215
- 🌟 现在
- Table
- Select
- 🐞 修复使用键盘导航时,滚动条不会自动定位的问题。#9276
- 🐞 修复在 IE11 下的箭头位置。
- 🐞 修复 Upload
beforeUpload返回false时,上传文件仍然显示uploading以及文件列表被替换的问题。#8020 - 🐞 修复
vertical布局的 Form 下反馈图标错位的问题。#9153 - 🐞 修复 Card 没有子节点时
loading样式不生效的问题。#9258 - 🐞 修复 Avatar 的图片不存在时的背景色。#9278 @andriijas
- 🐞 修复 RangePicker 选择结束时间时报
Cannot read property 'locale' of undefined的问题。#9267 - 🐞 修复 ButtonGroup 内使用了失效按钮和 Tooltip 时样式错位的问题。#9296 #9296
- 🐞 修复 Dropdown 的子菜单被遮挡的问题。#9218
2018-02-04
- 🌟 Add new
tabBarGutterprop to Tab to allow setting gutter between tabs. #8644 @lixiaoyang1992 - 🌟 Add new
hasSiderprop to Layout to avoid render error when server rendering. #8937 - 🌟 Add new
successPercentto Progess to alow showing two phases. Demo - 🌟 Add new
iconTypeprop to Alert to allow settting type of icon. #8811 @minwe - 🌟 Add
idprop to DatePicker. #8598 @mgrdevport - 🌟 Add new
forceRenderprop to Collapse to allow rendering hide panel. #9192 #Pyroboomka @paulcmason - RangePicker
- 🌟 Improve
rangesprop to allow passing function to it. #8281 - 🐞 Fix issue resulting in can not input start date manually. #6999
- 🐞 Fix issue resulting date panel being closed without animation when click on the preset range. #6364
- 🐞 Fix issue resulting
onOkis not being trigged, when click on the preset range. #7747
- 🌟 Improve
- Select
- 🌟 Improve
onChange、onDeselect, they will receive selectedOptionas second paramteter. - 🐞 Fix issue resulting in
onSelectis not trigged when using automatic tokenization. #9094 - 🐞 Fix the missing scrollbar in Chrome.
- 🌟 Improve
- 🌟 Improve Table's
rowSelection[getCheckboxProps]prop, now the all the properties returned bygetCheckboxPropswill be passed to checkbox. #9054 @mgrdevport - 🐞 Fix issue resulting in Calendar's
modenot being allowed to be changed from outside. #9243 @mgrdevport - 🐞 Fix issue resulting AutoComplete showing wrong border when showing validattion message.9f2b490
- 🐞 Fix issue resulting in DatePicker showing wrong time in the control mode. #8885
- 🐞 Fix issue resulting in TextArea showing wrong height in Edge. #9108 @cuyl
- 🐞 Fix issue resulting in Tabs showing wrong tab style when using
type="card"combine withtabPosition="bottom". #9165 @ryanhoho - 🌟 Add new Kurdish locale.
- 🌟 Tab 新增
tabBarGutter属性,用于设置 tabs 之间的间隙。#8644 @lixiaoyang1992 - 🌟 Layout 新增
hasSider属性,用于避免服务端渲染时显示问题。#8937 - 🌟 Progress 新增
successPercent属性,用于显示分段进度条。例子 - 🌟 Alert 新增
iconType属性,用于显示自定义图标。#8811 @minwe - 🌟 DatePicker 新增
id属性。#8598 @mgrdevport - 🌟 Collapse 新增
forceRender属性,用于渲染隐藏的内容。#9192 #Pyroboomka @paulcmason - RangePicker
- Select
- 🌟 改进了
onChange、onDeselect方法,现在他们会接受选中的Option作为第二个参数。 - 🐞 修复自动分词不触发
onSelect的问题。#9094 - 🐞 修复 Chrome 上下拉框没有滚动条的问题。
- 🌟 改进了
- 🌟 改进 Table 的
rowSelection[getCheckboxProps]属性,现在可以传任意属性给 chekbox 了。#9054 @mgrdevport - 🐞 修复 Calendar 的
mode属性不能从外部控制的问题。#9243 @mgrdevport - 🐞 修复 AutoComplete 在 Form 中显示错误信息时的边框颜色。9f2b490
- 🐞 修复 DatePicker 在受控模式下时间显示不正确的问题。#8885
- 🐞 修复 TextArea 在 Edge 下高度计算错误的问题。#9108 @cuyl
- 🐞 修复 Tabs 在 card 模式且 tabPosition 是
bottom时的样式问题。#9165 @ryanhoho - 🌟 新增库尔德语。
- 🐞 Fix Select Options were disappeared when click the scrollbar in IE11. #7934 @tianlang89757
- 🐞 Fix Form
getFieldDecoratorreferenced item will conflicted when using the same id. #9103 #7351 - 🐞 Fix RangePicker i18n issue which will shown the last language when change the language. #8970
- 🐞 Fix DatePicker shown wrong in the control mode. #8885
- 🐞 Fix Table shown emptyText when loading state. #9095 @sallen450
- 🐞 Add Icon
file-word. #9092 #9061 - 🐞 Fix wrong font family. commit/506f97
- 📖 Add some TypeScript type definitions
- Add
durationfor Notification. pull/9120 @duhongjun - Add
stylefor Steps. pull/9126 @wanliyunyan
- Add
- 🌟 Optimize Avatar default background color. commit/275946
- 🌟 Add the less variable for Slider and Menu. pull/9065 pull/9115 @mrgeorgegray
- 🐞 修复了 Select 下拉选择框在 IE11 点击滚动条会无故消失的问题。#7934 @tianlang89757
- 🐞 修复了 Form 中使用
getFieldDecorator当 id 重复时引用冲突的问题。#9103 #7351 - 🐞 修复了 RangePicker 在语言切换时会显示上一次的语言的问题。#8970
- 🐞 修复了 DatePicker 在受控模式下时间显示不正确的问题。#8885
- 🐞 修复了 Table 在
loading时显示空提示的问题。#9095 @sallen450 - 🐞 补充 Icon 类型
file-word。#9092 #9061 - 🐞 修复写错的字体名称,造成浏览器无法正确识别的问题。commit/506f97
- 📖 修复了 TypeScript 定义
- 补充 Notification 缺失的
duration定义。pull/9120 @duhongjun - 补充 Steps 缺失的
style定义。pull/9126 @wanliyunyan
- 补充 Notification 缺失的
- 🌟 优化了 Avatar 的默认背景色。commit/275946
- 🌟 新增了 Slider 以及 Menu 的 less 变量,更加方便的修改主题。pull/9065 pull/9115 @mrgeorgegray
- 🐞 Fix ButtonGroup z-index issue. #9014
- 🐞 Fix Dropdown.Button can not be fully disabled. #8991 @sallen450
- 🐞 Fix Layout error responsive docs. #8995 @ReedSun
- 🐞 Fix List
griddo not support xxl. #9019 - 🐞 Fix RangePicker can not cancel selected start date when the panel is closed. #8839
- 🐞 Fix Tabs error margin. commit/200d6c
- 🐞 Fix WeekPicker shows error weeks. #9021
- 🐞 Fix some TypeScript type definitions.
- Add
subMenuCloseDelayandsubMenuOpenDelayfor Menu. #8976 @Rohanhacker - Refactor DatePicker types. commit/0bb531
- Fix Input
maxLengthtype definitions. #9046 @Riokai
- Add
- 🌟 Add some new less variables.
- About Checkbox and Radio: #9003 @mrgeorgegray
- About Breadcrumb: #9022 @mrgeorgegray
- 🌟 Add aliyun icon.
- 🐞 修复 ButtonGroup 错误 z-index 导致的样式问题。#9014
- 🐞 修复 Dropdown.Button 不能被完全禁用的问题。#8991 @sallen450
- 🐞 修复 Layout 错误的响应式相关文档。#8995 @ReedSun
- 🐞 修复 List
grid不支持 xxl 配置的问题。#9019 - 🐞 修复 RangePicker 关闭选择面板之后无法清空已选开始时间的问题。#8839
- 🐞 修复 Tabs 错误外边距导致的样式问题。commit/200d6c
- 🐞 修复 WeekPicker 显示错误周数的问题。#9021
- 🐞 修复 TypeScript 定义
- 补充 Menu 缺失的
subMenuCloseDelay和subMenuOpenDelay。#8976 @Rohanhacker - 重构了 DatePicker 相关 type 定义。commit/0bb531
- 修复了 Input
maxLengthtype 定义。#9046 @Riokai
- 补充 Menu 缺失的
- 🌟 新增 less 变量
- Checkbox 和 Radio 相关:#9003 @mrgeorgegray
- Breadcrumb 相关:#9022 @mrgeorgegray
- 🌟 新增 aliyun 图标。
2018-01-14
- 🐞 Fix error when passing
nulllocaleto LocaleProvider.
- 🐞 修复
locale为null时 LocaleProvider 出错的问题。
2018-01-13
- 🐞 Fix Button can not display
0. #8733 @Cuihongsen - 🐞 Fix extra scrollbar in Table and List caused by Spin. #8799
- 🐞 Fix can not pass function to Table[emptyText]. #8871
- 🐞 Fix now working Dropdown[transitionName].
- 🐞 Fix issue resulting in font changes when enter number in Input.#8636
- 🐞 Fix issue resulting in wrong locale text when import multiple locale files. #8785
- 🐞 Fix
localesin dist/antd-with-locales.js has aextradefault key. #8881 - 🐞 Fix some TypeScript type definitions. 4cc29bc 693e734 67e956d ecd4177 33119ec 88e0c9b
- 🌟 Add some new less variables b9b5aba 5931b20 c9d7397
- 🌟 Optimize Chinese quotes displaying.
- 🐞 修复 Button 不能正确显示
0的问题。#8733 @Cuihongsen - 🐞 修复 Table 和 List 中由于 Spin 导致的滚动条。#8799
- 🐞 修复不能传方法给 Table[emptyText] 的问题。#8871
- 🐞 修复 Dropdown[transitionName] 不生效的问题。
- 🐞 修复 Input 中输入数字时字体会发生变化的问题。 #8636
- 🐞 修复 import 多个 locale 文件后日期文本显示错误的问题。#8785
- 🐞 修复 dist/antd-with-locales.js 中的 locale 会多一个 default 字段的问题。#8881
- 🐞 修复 TypeScript 定义 4cc29bc 693e734 67e956d ecd4177 33119ec 88e0c9b
- 🌟 新增 less 变量 b9b5aba 5931b20 c9d7397
- 🌟 优化中文引号的显示。
2018-01-08
- 📖 Published the new site and design guideline.
- 📖 Updated the guideline of real project with dva to roadhog 2.0. 5dcf1c0
- 📖 Published the new sketch resource of Ant Design 3.0. 22dfe88
- 🐞 Fix contextMenu event for trigger prop in the TypeScript definition of Dropdown. #8646 @cjahv
- 🐞 Fix HOC in Button not inserted space between chinese words.
- 🐞 Fix the style compatibility in IE 11 for List Component. #8784
- 🐞 Fix notFoundContent prop not working for Select Component. #8809
- 🐞 Fix the warning for BackTop Component in React 16. #8848
- 🐞 Fix unexpected scrollbar for List Component when setting gutter. #8799
- 🐞 Fix to support complete href link for Anchor.Link Component. #8808
- 🌟 Optimize the font family of Chinese quote. c6fcc31
- 📖 发布了全新的官网和设计文档。
- 📖 更新了项目实战文档到 roadhog 2.0。5dcf1c0
- 📖 发布了 Ant Design 3.0 的 sketch 模板包。22dfe88
- 🐞 修复 Dropdown 组件的 TypeScript 类型定义中 trigger 属性缺少 contextMenu 事件的问题。#8646 @cjahv
- 🐞 修复 Button 内使用 HOC 组件时两个中文字符间未添加空格的问题。
- 🐞 修复 List 组件在 IE 11 下的样式兼容问题。#8784
- 🐞 修复 Select 组件 notFoundContent 属性不生效的问题。#8809
- 🐞 修复 BackTop 组件在 React 16 下 target 属性出现警告的问题。#8848
- 🐞 修复当设置 gutter 后 List 组件出现横向滚动条的问题。#8799
- 🐞 修复 Anchor.Link 的 href 属性不支持完整链接的问题。#8808
- 🌟 优化中文引号的字体。c6fcc31
2017-12-29
- 🐞 Fix ant-spin-container overflow resizing for Spin component. #8602 @jhsu
- 🐞 Fix extra padding in Table small with fixed columns. #8724
- 🐞 Fix Checkbox.Group align issue in Form. #8739
- 🐞 Fix unexpected scrollbar in Affix. #8606
- 🌟 Add onKeyUp TypeScript definition to Input component. #8705 @delesseps
- 🌟 Add
showArrowfor disabling arrow icon in collapse panel. #8536 @apieceofbart - 🌟 Rate add
allowClearfor reset when click again. #8627 - 🌟 Add responsive for BackTop. #8719 @JetRunner
- 🌟 Add
destroyOnCloseto Modal component to support unmount child compenents on onClose. #8769 @Rohanhacker - 🌟 Pagination add
hideOnSinglePagefor support hide it when only one page. #8615 @camsong - 🌟 Support customize spin for List component.
- 👻 Support open official demo in CodeSandbox.
- 🐞 修复组件 Spin 可能出现跳动的问题。#8602 @jhsu
- 🐞 修复 Table 在设置
size=small的情况下出现多余 padding 的问题。#8724 - 🐞 修复 Checkbox.Group 在 Form 中和 label 的对齐问题。#8739
- 🐞 修复 Affix 组件出现滚动条的问题。#8606
- 🌟 为 Input 添加 onKeyUp。#8705 @delesseps
- 🌟 折叠面板 Collapse 添加
showArrow来支持隐藏箭头。#8536 @apieceofbart - 🌟 评分 Rate 组件添加
allowClear,支持再次点击后重置。#8627 - 🌟 优化 BackTop 组件的响应式效果。#8719 @JetRunner
- 🌟 Modal 组件添加
destroyOnClose支持关闭时销毁 Modal 里的子元素。#8769 @Rohanhacker - 🌟 组件 Pagination 添加
hideOnSinglePage支持当只有一页时隐藏组件。#8615 @camsong - 🌟 支持 List 组件自定义加载动画。
- 👻 你现在可以通过 CodeSandbox 来打开官方文档中的示例了。
- 📝 Provide a migration helper for antd@3.0. e71b68dd
- 📝 Rewrite CONTRIBUTING Guideline.
- 🌟 Optimize notification display in small screen. #8631
- 🌟 Optimize Pagination design and fix some issues of alignment and margin.
- 🐞 Upgrade to
react-slick@0.16.0for peerDependencies warning. #8455 - 🐞 Fix not working
sizeproperty in fixed-header Table. #8577 - 🐞 Fix not working
localeproperty of DatePicker/RangePicker. #8635 - 🐞 Fix Popover arrow position and size cannot be overrided by less variable. #8548 #8549
- 🐞 Fix not working
notFoundContentof AutoComponent. #8553 - 🐞 Tweak RangePicker vertical align position.
- 🐞 Layout.Sider breakpoints is same as Grid's now. #8620
- 🐞 Fix submenu still showing in a collapsed menu when collapsedWidth is
0. #8587 - 🐞 Fix Card's
Meta.titletext overflow not working. #8597 - 🐞 Fix pagination margin problem of bordered List. #8562
- 🐞 Fix Menu's submenu cannot open when specified non-existed
defaultOpenKeys. #8475 - 🐞 Fix type name collisions of
InputPropsandSearchPropsin Input, AutoComplete, Transfer. #8478
- 📝 提供了 3.0 迁移工具。e71b68dd
- 📝 重写了 开源贡献指南。
- 🌟 优化 notification 在小屏幕下的显示效果。#8631
- 🌟 优化了 Pagination 的样式和并修复了对齐和边距问题。
- 🐞 升级 react-slick 到
0.16.0,修复 peerDependencies 安装警告。#8455 - 🐞 修复固定列头的表格大小设置无效的问题。#8577
- 🐞 修复 DatePicker 等时间组件的
locale属性失效的问题。#8635 - 🐞 修复 Popover 的箭头偏移和大小无法覆盖的问题。#8548 #8549
- 🐞 修复 AutoComponent 的
notFoundContent设置无效的问题。#8553 - 🐞 微调 RangePicker 的垂直对齐问题。
- 🐞 Layout.Sider 的响应式断点和栅格系统保持一致。#8620
- 🐞 修复一个 collapsedWidth 为 0 时,收缩后子菜单依然会显示的问题。#8587
- 🐞 修复 Card 的
Meta.title文本无法自动截断的问题。#8597 - 🐞 修复带边框的 List 下的分页样式边距。#8562
- 🐞 修复一个 Menu 指定了不存在的 defaultOpenKeys 时子菜单无法展开的问题。#8475
- 🐞 修复 Input、AutoComplete、Transfer 的
InputProps和SearchPropsTypeScript 类型命名冲突。#8478
2017-12-11
- Remove useless DOM wrapper of Card, so that Card's DOM structure will be the same as Card of 2.x.
- Fix that missing
antd/lib/style/v2-compatible-reset.css. 28d13e2 - Fix that Affix will be overlap when it is heigher than viewport. 31a0654
- Fix the open animation of Collapse. edd592c
- Fix the aligment of large size Input and Button in Form. #8459
- Menu
- Fix compile error of style of Notification. #8437
- Fix the background color of mini Pagination. e13c6d8
- Table
- TypeScript
2017-12-04
Learn more in the Ant Design 3.0 announcement post!
Major Changes
- New color system, We changed our primary color from 『
#108EE9』 to 『#1890FF』, we called the new primary color "拂晓蓝(Daybreak blue)" which means the color of the sky at daybreak. - New design of components.
- Increased the base font size from 12px to 14px.
- Changed default locale to en_US.
- Support React 16.
- Better TypeScript support.
- New List component.
- New Divider component.
- 30 New icons.
Breaking Changes
We provide a migration tool to help you find deprecated usages in your codebase.
-
Card's
noHoveringhas been renamed tohoverable,and its default value now istrue. -
Added new Grid breakpoints. #7230
-
Form
getFieldDecorator'sexclusiveoption has been removeed. -
Added
Form.createFormField, and you must use it to wrap field data returned inoption.mapPropsToFields:import { Form } from 'antd'; Form.create({ mapPropsToFields() { return { - name: { value: 'antd' }, + name: Form.createFormField({ value: 'antd' }), }; }, }) -
Improved global reset style, if you encounter style problem after upgrading, you can try import our v2 compatible style.
import 'antd/lib/style/v2-compatible-reset';Or use less
@import '~antd/lib/style/v2-compatible-reset.css'; -
Since we changed default locale to en_US, LocalProvider is not required any more for English users.
-
We don't set
size="large"toInputinFormby default any more. -
UMD version of
dist/antd.jsdoesn't include moment any more, you need add moment by yourself if you are using the UMD version.<html> <head> + <script src="https://unpkg.com/moment@2.19.3/moment.js"></script> <script src="https://unpkg.com/antd@3.0.0/dist/antd.js"></script> </head> </html>
Removed Deprecations
- 🗑 DatePicker.Calendar has been removed, you can use Calendar directly.
- 🗑 DatePicker's
toggleOpenprop has been removed, useonOpenChangeinstead. - 🗑 Form's
inline,horizontal,verticalprops has been removed, uselayoutinstead. - 🗑 Input's
typeprop has dropped textarea support, please use Input.TextArea instead. - 🗑 Mention's
toEditorStatehas been removed. - 🗑 Select's
multiple,combobox,tagsprops has been removed, usemodeinstead.
Features and Improvements
- 🌟 Tabs added new size
size="large"。 - 🌟 Row's
gutternow support responsive setting, you can writegutter={{ sm: 16, lg: 32 }}. - 🌟 Spin added new
indicatorprop to allow setting custom indicator. #7977 @kossel - 🌟 Input.Search added new
enterButtonprop to allow setting custom search button.#7596 - 🌟 Mention added new
placementprop to allow setting the popup direction. - 🌟 Carousel added new
next(),prev(),goTo(slideNumber)methods to allow controlling slides programmatically. - 🌟 Button added link support,Button with
hrefprop will render to<a>. #8343 - 🌟 Steps was refactored, first rendering won't flash. #6010
- 🌟 Switch added new
loadingprop to show a loading status. - Menu
- 🌟 Added new
subMenuOpenDelayandsubMenuCloseDelayprops to allow setting delay time for submenu toggling. - 🌟 Added new
forceSubMenuRenderprop to render submenu even if it's collapsed. #5586
- 🌟 Added new
- Form
- 🌟 Added animations for validation message showing.
- 🌟 Added field conditional rendering support. #react-component/117
- Message
- 🌟 Allow
durationoptional. #7857 @monkindey
- 🌟 Allow
- Badge
- 🌟 Added new
offsetprop to allow setting the offset of status point. - 🌟
statuscan use whithchildrennow. #8164
- 🌟 Added new
- Card
- DatePicker
- TimePicker
- 🌟 Added new
hourStep,minuteStep,secondStepprops to allow customizing time setps. Demo - 🌟 Added new
focusOnOpenprop to focus input after panel is open.
- 🌟 Added new
- Table
- 🌟 Added new
componentsprop to allow overriding default table elements.// You can override following elements const components = { table: MyTable, header: { wrapper: HeaderWrapper, row: HeaderRow, cell: HeaderCell, }, body: { wrapper: BodyWrapper, row: BodyRow, cell: BodyCell, }, }; <Table components={components} columns={columns data={data}} /> - 🌟 Added new
onRowprop to allow passing custom props to table body row. - 🌟 Added new
onHeaderRowprops to allow passing custom props to table header row. - 🌟 Added
column[onCell]to allow passing custom props to table body cell. - 🌟 Added
column[onHeaderCell]to allow passing custom props to table header cell. - 🌟 Added
column[align]to allow setting how text aligns. - 🌟 Added
column[defaultSortOrder]to allow setting default sort order. #8111 @megawac - 🌟 Added
rowSelection[fixed]to allow fixing the selection column.。 - 🙅 Deprecated
getBodyWrapper, please usecomponentsinstead. - 🙅 Deprecated
onRowClick,onRowDoubleClick、onRowContextMenu、onRowMouseEnter、onRowMouseLeave, please useonRowinstead.<Table onRow={(record) => ({ onClick: () => {}, onDoubleClick: () => {}, onContextMenu: () => {}, onMouseEnter: () => {}, onMouseLeave: () => {}, })} />
- 🌟 Added new
- Select
- 🌟 Option's value can be a number in single or multiple mode.
- 🌟 Added new
maxTagCountandmaxTagPlaceholderprops. - 🌟 Added new
showActionprop to allow setting the trigger action for popup. - 🌟 Added new
onMouseEnterandonMouseLeavecallback.
- LocaleProvider
- 🇮🇸 Added Icelandic. #7561 @paunovic-stefan
- 🇪🇬 Added Egyptian Arabic. #7888 @mohamed-seada-1994
- 🇺🇦 Added Ukrainian. #8169 @anxolerd
Bug fixes
- Form
- 🐞 Fixed issue result in Input icon is hovered by feedback icon.
- 🐞 Fixed feedback icon not centered in large input.
- 🐞 Fix Menu key press error. #8089
Other things
- Don't need set
allowSyntheticDefaultImportswhen using in TypeScript. - We removed
react@0.14andreact@15frompeerDependencies, thoughantd@3.0still works on old React versions, but we highly recommend you upgrading to React 16 since we may use the new features only exists in React 16 in the future. See React 16 - Fully es module support, if you are using webpack 3, you can set babel-import-plugin's
libraryDirectorytoesto enable tree shaking . - We will support 2.x branch until July in next year.
更多内容见 Ant Design 3.0 发布公告!
主要变化
- 全新的色彩系统, 组件主色由 『
#108EE9』 改为 『#1890FF』,新主色我们称之为“拂晓蓝”。 - 全新的视觉样式和组件尺寸,更现代更美观。
- 基础字体大小由
12px增大到14px。 - 默认语言由中文改为英文。
- 全面支持 React 16。
- 更友好的 TypeScript 支持。
- 新的 List 组件。
- 新的 Divider 组件。
- 新增 30 个图标。
不兼容改动
此版本有部分不兼容的改动,升级时确保修改相应的使用代码。另外由于人肉查找代码中的废弃用法过于低效,所以我们提供了 antd-migration-helper 用于扫描代码中的废弃用法。
-
Card 的
noHovering属性重命名为hoverable,且默认值改为true。 -
调整了 Grid 的响应式断点值。详见 #7230
-
Form
getFieldDecorator的exclusive参数被移除,此类场景应该由 Radio.Group、Checkbox.Group 之类的组件来完成。 -
新增
Form.createFormField方法,mapPropsToFields返回的字段都需要由该方法创建。import { Form } from 'antd'; Form.create({ mapPropsToFields() { return { - name: { value: 'antd' }, + name: Form.createFormField({ value: 'antd' }), }; }, }) -
优化了全局的重置样式,如果升级后你的全局样式有问题,可以引入我们提供的 2.x 兼容样式。
import 'antd/style/v2-compatible-reset';或者在 less 里引入
@import '~antd/style/v2-compatible-reset.css'; -
由于默认语言改为英文,如果你需要显示中文,现在需要配置
LocalProvider。import { LocaleProvider } from 'antd'; import zhCN from 'antd/lib/locale-provider/zh_CN'; ReactDOM.render( <LocaleProvider locale={zhCN}><YourApp /></LocaleProvider>, document.getElementById('root') ); -
Form 下的表单控件不再默认为 size="large"。
<html> <head> + <script src="https://unpkg.com/moment@2.19.3/moment.js"></script> <script src="https://unpkg.com/antd@3.0.0/dist/antd.js"></script> </head> </html>
以下在 2.x 中废弃的特性被移除
- 🗑 移除了 DatePicker.Calendar, 请直接使用 Calendar 组件。
- 🗑 移除了 DatePicker 的
toggleOpen属性, 请使用onOpenChange代替。 - 🗑 移除了 Form 的
inline、horizontal、vertical属性,请使用layout代替。 - 🗑 移除了 Select 的
multiple、tags、combobox属性,请使用mode代替。 - 🗑 移除了 Input 对
type='textarea'的支持,请直接使用Input.TextArea组件。 - 🗑 移除了 Mention 的
toEditorState方法,请使用toContentState代替。
新增功能及改进
- 🌟 Tabs 新增
size="large"。 - 🌟 Row 的
gutter属性新增响应式断点的支持,可以使用诸如gutter={{ sm: 16, lg: 32 }}的设置。 - 🌟 Spin 新增
indicator属性,用于设置自定义的加载指示符。 #7977 @kossel - 🌟 Input.Search 新增
enterButton用于设置自定义的搜索图标。#7596 - 🌟 Mention 新增
placement, 用于设置下拉框的弹出方向。 - 🌟 Carousel 新增
next()、prev()、goTo(slideNumber)方法,用于控制面板展示。 - 🌟 Button 新增链接支持,当提供
href时会自动渲染为<a>。#8343 - 🌟 Steps 进行了重构,首次渲染的时候不会再闪烁。 #6010
- 🌟 Switch 新增
loading属性,用于表现加载中的状态。 - Menu
- 🌟 新增
subMenuOpenDelay和subMenuCloseDelay,用于设置子菜单打开和关闭的延迟。 - 🌟 新增
forceSubMenuRender,用于强制渲染子菜单。#5586
- 🌟 新增
- Form
- 🌟 新增显示验证信息时的动画效果。
- 🌟 新增按条件渲染表单项的支持。#react-component/117
- Message
- 🌟
duration允许可选 #7857 @monkindey
- 🌟
- Badge
- 🌟 新增
offset属性,用于设置状态点的位置偏移。 - 🌟
status允许与children同时使用。#8164
- 🌟 新增
- Card
- DatePicker
- TimePicker
- 🌟 新增
hourStep、minuteStep、secondStep,用于设置时间步长。例子 - 🌟 新增
focusOnOpen,用于设置在打开面板的时候是否聚焦输入框。
- 🌟 新增
- Table
- 🌟 新增
components属性,用于覆盖表格元素的默认标签。// 支持覆盖的元素 const components = { table: MyTable, header: { wrapper: HeaderWrapper, row: HeaderRow, cell: HeaderCell, }, body: { wrapper: BodyWrapper, row: BodyRow, cell: BodyCell, }, }; <Table components={components} columns={columns data={data}} /> - 🌟 新增
onRow属性,用于设置表格列的属性。 - 🌟 新增
onHeaderRow,用户设置表格头部列的属性。 - 🌟 新增
column[onCell],用户设置单元格的属性。 - 🌟 新增
column[onHeaderCell],用于设置头部单元格的属性。 - 🌟 新增
column[align],用于设置列内文字的对其方向。 - 🌟 新增
column[defaultSortOrder],用于设置列的默认排序。#8111 @megawac - 🌟 新增
rowSelection[fixed],用于固定选择列。 - 🙅 废弃
getBodyWrapper,请使用components属性代替。 - 🙅 废弃以下属性
onRowClick,onRowDoubleClick、onRowContextMenu、onRowMouseEnter、onRowMouseLeave,请使用onRow代替。<Table onRow={(record) => ({ onClick: () => {}, onDoubleClick: () => {}, onContextMenu: () => {}, onMouseEnter: () => {}, onMouseLeave: () => {}, })} />
- 🌟 新增
- Select
- 🌟 默认和多选模式下 Option 的值允许使用 number。
- 🌟 新增
maxTagCount 和maxTagPlaceholder`,用与设置最多可显示的选中项。 - 🌟 新增
showAction,用于设置出发下拉框打开的事件。 - 🌟 新增
onMouseEnter和onMouseLeave事件回调。
- LocaleProvider
- 🇮🇸 新增冰岛语。#7561 @paunovic-stefan
- 🇪🇬 新增埃及语。#7888 @mohamed-seada-1994
- 🇺🇦 新增乌克兰语。#8169 @anxolerd
Bug 修复
- Form
- 🐞 修复输入框的图标会被验证图标覆盖的问题。
- 🐞 修复使用大尺寸输入框时,验证图标不居中的问题。
- 🐞 修复 Menu 按键时的报错。#8089
其他
- 在 TypeScript 中使用时不再需要设置
allowSyntheticDefaultImports。 - 从
peerDependencies中移除了react@0.14和react@15,虽然目前 antd 3.0.0 依然可以在旧版本的 React 上使用,但是我们在未来有可能使用 React 16 的新特性,所以强烈建议升级到 React 16,见升级文档。 - 全面支持 ES Module ,antd 及其依赖的底层 react-component 组件全部提供了 ES Module 的构建版本,如果你使用 webpack 3,可以把
babel-import-plugin的libraryDirectory设置为es,以获得 Tree Shaking 的优化效果。 - 最后,我们会继续维护 2.x 的分支到明年 6 月份。
- 📝 Improve support of TypeScript. #8394 #8395 @burdell @khayalan-mathew
- 🐞 Fixed Tooltip missing
defaultVisibleproperty. #8257 - 🐞 Fixed Modal
footerproperty is overwrited when customing this property. #8379 - 🐞 Fixed
fileListshown incorrect whenbeforeUploadof Upload returnfalse. #8036 - 🐞 Fixed vertical align of Form.Item's feedback shown incorrect when Input
sizeproperty isdefault\small. #8243 - 🐞 Fixed nested Form.Item style incorrect. #8320
- 🐞 Fixed Form.Item height are different between Chrome with Safari. #8220
- 🐞 Fixed links where inside Form.Item's label are unavailable to click. bf70d30
- 🐞 Fixed Progress word wrap. #8239
- 📝 完善组件对 TypeScript 的支持。#8394 #8395 @burdell @khayalan-mathew
- 🐞 修复了 Tooltip 不支持
defaultVisible属性的问题。#8257 - 🐞 修复了 Modal 组件在传入自定义
footer的时候默认footer被覆盖的问题。#8379 - 🐞 修复了 Upload 组件在
beforeUpload中返回false时,修改fileList导致上传列表展示不正常的问题。#8036 - 🐞 修复了 Form 表单的信息回显在当 Input 组件
size属性为default\small时没有对齐的问题。#8243 - 🐞 修复了 Form.Item 在互相嵌套时样式异常的问题。#8320
- 🐞 修复了 Form.Item 在 Chrome 和 Safari 下高度不一致的问题。 #8220
- 🐞 修复了 Form.Item 在部分情况下 label 内链接无法点击的问题。 bf70d30
- 🐞 修复了 Progress 对于折行的场景兼容性问题。#8239
- 📝 Add documentation of Work with Us.
- 📝 Refactor edit row demo of Table. #8026
- 🌟 Improve code of detecting Layout.Sider, now we can compose and nest the Sider without specify
__ANT_LAYOUT_SIDERaattribute. #8077 @yasinuslu - 🐞 Fix align issue of
Input.Groupin Chrome 62. ant-design/ant-design-pro#139 - 🐞 Fix Cascader search not working when option.chidlren is
[]. #8130 @jdz321 - 🐞 Fix broken padding of AutoComponent caused by style order conflict with Input. #8081
- 🐞 Fix Upload constructor error in IE9. #7706
- 🐞 Fix Select filterOption's TypeScript definition. #8128
- 📝 添加 招聘 页面。
- 📝 重构了可编辑表格的演示代码。#8026
- 🌟 优化了 Layout.Sider 的探测方式,现在支持 Sider 随意内嵌和组合(不再需要指定
__ANT_LAYOUT_SIDER属性)。#8077 @yasinuslu - 🐞 修复 Chrome 62 下 Input.Group 内 Select 和 Input 的对齐问题。ant-design/ant-design-pro#139
- 🐞 修复 Cascader 搜索在 options 内 children 为空数组时工作不正常的问题。#8130 @jdz321
- 🐞 修复一个 AutoComponent 和 Input 样式优先级导致错位的问题。#8081
- 🐞 修复 IE9 下 Upload 初始化时报错的问题。#7706
- 🐞 修复 Select 的 filterOption 参数的 TypeScript 定义。#8128
- 🌟 Add a mirror site in China: http://ant-design.gitee.io
- 🐞 Fix
ref warningof Menu in React 16. #8037 @vgeyi - 🐞 Fix extra padding of loading Card when it is too wide. ad9809ec
- 📝 Add sorted API to enhance readability of docs. #7896@monkindey
- 📝 Improve Modal docs of how to setting styles. #7840 @kossel
- 🐞 Fix the inner shadow of Input on IOS. #7974 @cnahliu
- 🌟 新增国内镜像文档站点:http://ant-design.gitee.io
- 🐞 修复了 Menu 在 React 16 下
ref warning的问题。#8037 @vgeyi - 🐞 修复了 Card 在比较宽的时候
loading样式的问题。ad9809ec - 📝 引入了 API 展示排序规则,增强文档易读性。#7896@monkindey
- 📝 优化了 Modal 设置样式的文档。#7840 @kossel
- 🐞 修复了 IOS 下 Input 有内阴影的样式问题。#7974 @cnahliu
- 🐞 Fix input height in AutoComplete. #7918
- 🐞 Fix Cascader
inputPrefixClscan not be fully effective. #7945 @vgeyi - 🐞 Fix extra margin in sider Layout. #7967
- 🐞 Fix RangePicker can not close panel when click presetted ranges. #7747
- Table
- 🌟 Add
scrollNumberPrefixClsprop for Badge. #7882 @vgeyi - 🌟 Add some less variables. #7886 @syssam
- 🐞 Fix issue resulting in FormItem throws error when use with reac-hot-loader. #7775
- 🐞 Fix not working less variable
@link-hover-decoration. #7821 - 🐞 Fix issue resulting in Uploade's
beforeUploaddoesn't return promise properly. #7833 - 🐞 Fix issue resulting in Input.Search's search icon will coverd with Form's feedback icon. #7854
- AutoComplete
- 🌟 Improve TypeScript definition. cf788d7 d4c75d43
- 🌟 Add new less variable. 2e2acb5
- 🐞 Fix missing Pagination
size="small"style. - 🐞 Fix Anchor missing padding. #7712
- 🐞 Fix TreeSelect extra select below search input. #7703
- 🐞 Fix the jumping problem of Form validate text. #7730
- 🐞 Fix Button Group loading style. #7709
- 🐞 Fix blur placeholder text color. #7365
- 🐞 Fix Mention
suggestion.toLowerCase is not a functionerror. #7696 @kappa-gooner - 🐞 Fix a children height problem of Layout.Sider. #7716 @zheeeng
- 🐞 Fix Dropdown menu group style.
- 🐞 Fix Table filter icon and dropdown style.
- 🐞 Fix a AutoComplete circular reference bug in Inferno. #7742 @menberg
- 🐞 Fix Upload cannot upload file when using
beforeUpload. #7762 #6983 - TypeScript
- 🐞 Fix Input
maxLengthdefinite. #7744 @delesseps - 🐞 Fix
disabledTimedefinite of DatePicker. #7740 @778758944
- 🐞 Fix Input
- 🐞 修复 Pagination 小号样式失效的问题。
- 🐞 修复 Anchor 的样式错位。#7712
- 🐞 修复 TreeSelect 搜索框下多余文字的问题。#7703
- 🐞 修复 Form 校验文字跳动的问题。#7730
- 🐞 修复各类型 Button Group 的 loading 样式。 #7709
- 🐞 修复 placeholder 文本在某些情况下无法看清的问题。#7365
- 🐞 修复一个 Mention 的
suggestion.toLowerCase is not a function报错问题。 #7696 @kappa-gooner - 🐞 修复一个 Layout.Sider 子元素的高度问题。#7716 @zheeeng
- 🐞 修复 Dropdown 菜单分组的样式。
- 🐞 修复 Table 筛选图标和菜单样式错位。
- 🐞 修复一个 AutoComplete 在 Inferno 下循环引用的问题。#7742 @menberg
- 🐞 修复 Upload 使用
beforeUpload验证文件类型失败后无法再次上传的问题。#7762 #6983 - TypeScript
- 🐞 修复 Input 的
maxLength定义。#7744 @delesseps - 🐞 修复 DatePicker 等组件的
disabledTime的返回值定义。#7740 @778758944
- 🐞 修复 Input 的
2017-09-22
- Fix Affix scrolling bug when document's height minus viewport's height is smaller than the height of children of Affix. #2349
- Fix broken style of header of Card when
Card[title]is void andCard[extra]is set. f46112d#commitcomment-24480417 - Fix TypeScript definition of
Checkbox[children]. #7650 @liaokaien - Fix error when set nested name in
getFieldDecoratorand then click the label ofForm.Item. #7693 - Input
- Fix broken style of
Input.Group[compat]when it hasSelectas its children. #7662 - Fix TypeScript definition of
Input[autoComplete]. #7699 @delesseps
- Fix broken style of
- LocaleProvider
- Support Portuguese. #7449 @taviroquai
- Fix missing translations in Dutch locale. #7694 @kstiopin
- Table
- Fix height of table header when
rowSelectionis set. #7663 - Fix bug that click on first two options will not trigger event when
rowSelection.hideDefaultselectionsis set. #7626 @infeng - Fix TypeScript definition of
Table[scroll]. #7640 @BlackGanglion
- Fix height of table header when
- 修复 Affix 在内容与视口高度差小于 children 高度时触发的滚动抖动问题。#2349
- 修复
Card[title]为空且设置Card[extra]时样式错乱的问题。f46112d#commitcomment-24480417 - 修复
Checkbox[children]TypeScript definition。#7650 @liaokaien - 修复
getFieldDecorator内使用嵌套 id 后点击Form.Itemlabel 报错的问题。#7693 - Input
- 修复
Input.Group[compat]内嵌Select等控件时的样式问题。#7662 - 优化
Input[autoComplete]TypeScript 定义。#7699 @delesseps
- 修复
- LocaleProvider
- 新增葡萄牙语。#7449 @taviroquai
- 修复荷兰语 locale 缺少文案的问题。#7694 @kstiopin
- Table
- 修复
rowSelection导致的表头高度问题。#7663 - 修复使用
rowSelection.hideDefaultselections时导致自定义选项点击没反应的问题。#7626 @infeng - 优化
Table[scroll]TypeScript definition。#7640 @BlackGanglion
- 修复
- 🐞 Fix title and extra content position of narrow Card. #7604
- 🐞 Fix inlineCollapsed style of MenuItemGroup. #7109
- 🐞 Revert #7142 to fix empty data style of Table.
- 🐞 Fix Form
getFieldDecoratorOptionsmissing types ofnormalizeandvalidateFirst. #7552 @meteor91 @mitchelldemler - 🐞 Fix Modal
zIndextype. #7624 - 🌟 Improve tree node loading icon position. #7584
- 🌟 Update a lot of components's English doc. @khalibloo
- 🐞 修复了 Card Extra 内容过多样式错乱的问题。#7604
- 🐞 修复了分组 Menu 收缩时的错位问题。#7109
- 🐞 回滚 #7142 里对固定列表格空数据的样式优化,修复带来的一系列样式问题。
- 🐞 修复了 Form
getFieldDecoratorOptions缺失normalize以及validateFirst属性定义的问题。#7552 @meteor91 @mitchelldemler - 🐞 修复了 Modal 的
zIndex属性定义。#7624 - 🌟 优化了 Tree 加载中图标的显示位置。#7584
- 🌟 优化了大量组件的英文文档。@khalibloo
- 🐞 Fix Card.Grid broken style. commit/c7d6ce
- 🐞 Fix Cascader overlaping text. #7475
- 🐞 Fix simple mode Pagination prev and next button missing. #7500
- 🐞 Fix Slider typings. #7532
- Table
- 🐞 Fix Upload typings. #7507 @WingGao
- 🐞 Fix inlineCollapsed Menu when Submenu is opened. #7514
- 🐞 Fix validateStatus styles of some Form Controls. #7498
- 🐞 Fix @link-hover-decoration not working. #7531
- 🌟 Optimize the English documentation of some components. [@khalibloo](https://github.com/khalibloo
- 🐞 修复了 Card.Grid 的样式问题。commit/c7d6ce
- 🐞 修复了 Cascader 指针图标与文字重叠的问题。#7475
- 🐞 修复了 Pagination 在简洁模式下前后按钮未展示的问题。#7500
- 🐞 修复了 Slider 的 type 定义。#7532
- Table
- 🐞 修复了 Upload 的 type 定义。 #7507 @WingGao
- 🐞 修复了 Submenu 展开时 inlineCollapsed Menu 的样式问题。#7514
- 🐞 修复了一些表单控件的校验样式问题。#7498
- 🐞 修复了 @link-hover-decoration 无效的问题。#7531
- 🌟 优化了部分组件的英文文档。@khalibloo
- 🌟 Add
okTypeandcancelTypeprop to Popconfirm and Modal and it's related methods. #6848 @yociduo - 🌟 Add
zIndexprop to Modal and it's relatedt methos. #6880 @Alex1990 - 🌟 Add
nameprop to RadioGroup. #7009 @djyde - 🌟 Add
hideDefaultSelectionsprops to Table. #7295 - Dropdown
- 🌟 Add a third parameter
originalElementto Pagination'sitemRender. - 🌟 Add
backfillprop to AutoComplete, items are selected by keyborad will be backfilled to the search input. #5764 - 🌟 Add
firstActiveValueprop to Select to allow specify active item when open select first time. [#6318] @L-x-C - 🌟 Select 新增
firstActiveValue属性,允许指定首次打开时默认选中的项。[#6318] @L-x-C - LocaleProvider
- 🌟 Add Persian. #6878 @mkermani144
- 🌟 Add Greek. #6928 @michmach
- 🌟 Add Norwegian. #7122 @santi
- 🌟 Add Serbian. #7201 @paunovic-stefan
- 🐞 Fix Menu's title can not be hidden when collapsing Sider. #7409
- 🐞 Fix some TypeScript type definitions #7355 #7378 #7384
- 🐞 Fix some components can not use conditional rendering. #6530
- Website
- 🌟 Add a shortcut
sto focus the search input. - 🌟 Add a color picker to the footer to change primary color and preview lively.
- 🌟 Add a shortcut
- 🌟 Popconfirm 和 Modal 及其相关方法新增
okType和cancelType用以指定按钮类型。#6848 @yociduo - 🌟 Modal 及其相关方法新增
zIndex。#6880 @Alex1990 - 🌟 RadioGroup 新增
name属性。#7009 @djyde - 🌟 Table 新增
hideDefaultSelections属性。#7295 - Dropdown
- 🌟 Pagination 的
itemRender新增第三个参数originalElement。 - 🌟 AutoComplete 新增
backfill属性,键盘选择时能回填选中项到输入框中。#5764 - LocaleProvider
- 🌟 新增波斯语。#6878 @mkermani144
- 🌟 新增希腊语。#6928 @michmach
- 🌟 新增挪威语。#7122 @santi
- 🌟 新增塞尔维亚语。#7201 @paunovic-stefan
- 🐞 修复 Sider 隐藏时 Menu 的标题不会隐藏的问题。#7409
- 🐞 修复 TypeScript 定义 #7355 #7378 #7384
- 🐞 修复一些组件不能使用条件渲染的问题。#6530
- 网站
- 🌟 新增快捷键
s聚焦搜索框。 - 🌟 页脚新增主色修改预览功能。
- 🌟 新增快捷键
- 📖 Rewrite the Use in create-react-app documentation without ejecting. #7276
- 🌟 Better empty data style for fixed-columns Table. #7298

- 🐞 Fix
disabledlogic of CheckboxGroup and Checkbox. #7266 @dilidili - 🐞 Fix errors of rendering Spin and Carousel in react-snapshot or other jsdom environment. #3308 #7318
- 🐞 Fix some details of Select, Tooltip and Menu.
2017-08-21
- antd of Angular@4.0, ng-zorro-antd is open sourcing.
- Affix supports more scenes. 01d4acb
- Fix that AutoComplete children ref doesn't work. #6814
- Button
- Fix that Carousel's
innerSliderdoesn't exist. #7191 - Fix the style of button in DatePicker. ad6dbcb
- Fix TypeScript definition of Form.#7245
- Fix TypeScript definition of InputNumber. #7257
- Fix missing collapse animation of
Layout.Siderin IE11. #6349 - Fix typo of Spanish locale of LocaleProvider. #7234 @ramsesmoreno
- Fix that notification's default placement should not be overrided. #5895
- Fix disabled style of button in Pagination. cf3c0aa
- Fix that wrong exports of Select which cause webpack build error. #7222
- Fix that Tabs should show arrow buttons while resize its container. #7231 #7210
- Fix style of Timeline which has only one
Timeline.Item. #7214 - Fix wrong behavior of Upload when uid is 0. #7269
- Angular@4.0 版 antd ng-zorro-antd 开源。
- 优化 Affix 支持的场景。01d4acb
- 修复 AutoComplete children ref 失效的问题。#6814
- Button
- 修复 Carousel 的
innerSlider引用问题。#7191 - 修复 DatePicker 中的按钮样式。ad6dbcb
- 修复 Form TypeScript definition。#7245
- 修复 InputNumber 的 TypeScript definition。#7257
- 修复
Layout.Sider在 IE11 下没有折叠动画的问题。#6349 - 修复 LocaleProvider 西班牙语的拼写问题。#7234 @ramsesmoreno
- 修复 notification 默认 placement 会被覆盖的问题。#5895
- 修复 Pagination 按钮的 disabled 样式。cf3c0aa
- 修复 Select exports 导致的 webpack 构建错误的问题。#7222
- 修复 Tabs 在父容器宽度动态变化时切换按钮没有出现的问题。#7231 #7210
- 修复 Timeline 在只有一个
Timeline.Item时的样式问题。#7214 - 修复 Upload 在 uid 为 0 时的错误行为。#7269
- Fix Collapse arrow position in IE9/10/11. af9dc73
- Fix empty Table scrollBar's position. #7142
- Fix RangePicker Input's style of height. 47c5de2
- Card
- Fix Input Safari text align. #7135
- Layout
- Upload
- Form
- Fix Affix throw invalid calling object in IE. #7060
- Make optimization for title display behavior of Badge. #7024
- Card
- Fix Collapse
onChangeparameter type definitions. pull/7084 @davidctj - Dropdown
- Input
- Fix outline covered by addon. commit/0f63c7
- Fix InputGroup demo. pull/7089 @jdz321
- Fix InputNumber Formatter demo issue. pull/7098 @tim-soft
- Menu
- Fix notification
typetype definitions. #7073 @marswong - Fix Pagination
showTotaltype definitions. #7054 - Fix RangePicker throw error after clear. #7077
- Adds
onFocusandonBlurtype definitions for Select. pull/7082 @troynt - Fix Tabs
tabBarExtraContentstyle issue in vertical mode. Upgrade rc-tabs to 9.0.2, refactor the dom structure of TabBarextraContent. #6578 - Fix missing icon issue for TreeSelect. #7020
- Fix
error TS7016: Could not find a declaration file for module 'rc-util/lib/Dom/addEventListener'. #7033 @djyde - Translate patterns/list. list @zachguo
- 修复了 Affix 在 IE 下调用对象无效的报错。#7060
- 对 Badge 默认 title 的出现条件进行了优化。#7024
- Card
- 修复了 Collapse
onChange属性参数的类型定义。pull/7084 @davidctj - Dropdown
- Input
- 修复了 outline 被 addon 遮盖的问题。commit/0f63c7
- 修复了 InputGroup 的示例问题。pull/7089 @jdz321
- 修复了 InputNumber 格式化示例的报错问题。pull/7098 @tim-soft
- Menu
- 修复了 notification
type的类型定义。#7073 @marswong - 修复了 Pagination
showTotal的类型定义。#7054 - 修复了 RangePicker 在清空后的报错问题。#7077
- 补充了 Select 缺失的
onFocusonBlur类型定义。pull/7082 @troynt - 修复了 Tabs 垂直模式下
tabBarExtraContent样式错乱的问题。rc-tabs 升级到 9.0.2,对 TabBar 的extraContent的结构进行了重构。#6578 - 修复了 TreeSelect 图标不能正常展示的问题。#7020
- 修复了
error TS7016: Could not find a declaration file for module 'rc-util/lib/Dom/addEventListener'的报错。#7033 @djyde - 完成了『模式-列表』的文档翻译。list @zachguo
- Fix indeterminate Checkbox style when it's disabled.
- Fix Card
this.containermay not exists issue. #6976 @neekey - Fix Button align issue when set base font to
14px. #7001 - Dropdown
- Fix Grid Card padding.
- Improve Menu animation.#6955
- Twrak DatePicker icon position.
- Add new less variables.e1a46cc
- Fix some issues of TypeScript definitions.
- Longer message duration (1.5s to 3s).
- Fix Anchor links not highlighted. #6473
- Fix disabled style of Input.TextArea. #6858 @lyz810
- Fix disabled style of TimePicker. #6918
- Fix overlaped issue of form feedback icon and select arrow which is introduced in
2.12.1again. #4431 - Fix vertical Tabs arrow style. 255eac9
- Update Polish locale. #6869 #6870 #6871 @imosapatryk
- Fix that
httpurl incluced in source code. #6893 - Adjust vertical align of Menu icon and text.
- Fix
overlay is marked as requiredwarning of Tooltip. #6897 - Fix disabled style of Slider under colored background. #6665
- Adjust click area of TreeSelect item.
- Fix some issues of TypeScript definitions.
- 将 message 默认出现的时长从 1.5s 调整为 3s。
- 重构了 Anchor,修复未滚动时链接没有高亮的问题。#6473
- 修复 Input.TextArea 的失效样式。#6858 @lyz810
- 修复 TimePicker 的失效样式。#6918
- 修复 2.12.1 里再次出现的表单反馈图标和下拉图标重叠的问题。#4431
- 修复垂直 Tabs 的切换箭头样式。255eac9
- 调整波兰语的文案。#6869 #6870 #6871 @imosapatryk
- 修复源码中含有 http 的链接而被集团安全扫描工具报错的问题。#6893
- 调整 Menu 的图标和文字对齐问题。
- 修复一个 Tooltip 的
overlay is marked as required的警告问题。#6897 - 修复 Slider 在有色背景下的失效样式。#6665
- 调整了 TreeSelect 选项的点击范围。
- 修复了一些 TypeScript 定义问题。
2017-07-17
- Fix typo in Bulgarian locales. #6788 @NoHomey
- Fix broken style of
<Avatar src="..." />when image cannot be loaded. #6804 - Fix broken style of loading icon button in
Button.Group. #6822 - Fix TypeScript's definition of Checkbox. #6768
- Fix broken style of
Collapse.Panel[header]when content is too long. #6832 - Input
- Fix that the implementation of Layout should not affect Anchor and BackTop. #6817
- Menu
- Fix animation of inline menu.
- Fix style of border of
Menu.Item. 46ffda9
- Fix that RangePicker should show correct months in panels when
value|defaultValueis set. #6764 point 3 - Fix alignment of Tooltip. #6830
- 修复保加利亚语中的拼写错误。#6788 @NoHomey
- 修复
<Avatar src="..." />无法加载图片时的样式问题。#6804 - 修复
Button.Group内使用 loading 状态的图标按钮时的样式问题。#6822 - 修复 Checkbox TypeScript 定义问题。#6768
- 修复
Collapse.Panel[header]内容过长时的样式问题。#6832 - Input
- 修复 Layout 实现影响 Anchor、BackTop 的功能的问题。#6817
- Menu
- 修复折叠动画失效问题。
- 修复
Menu.Item边框样式问题。46ffda9
- 修复 RangePicker 设置了
value|defaultValue后,浮层中的月份展示不对的问题。#6764 point 3 - 修复 Tooltip 对齐问题。#6830
- Add Card
noHoveringand Card.Grid. pull/6748 - DatePicker, MonthPicker, RangePicker now support
classNameprop. pull/6584 @EnrikoLabriko - Add Input.Textarea, Input[type='textArea'] will be deprecated. pull/6138
- LocaleProvider supporting Thai. pull/6721 @koobitor
- Mention support
focusfunction. #6135 - Menu[mode='inline'] could be collapsed, and use
contextto passcollapsedprop from Layout.Sider to Menu, don't need customized css code anymore. pull/6686 - Add Pagination
itemRender, now you can customize the structure of page number. 25a603 - Add Tooltip
autoAdjustOverflowprop, now the auto adjust feature can be disabled. pull/6661 @jdz321 - Fix errors in docs of Avatar. pull/6711 @llaski
- DatePicker
- Form
- Fix autosize Input.Textarea scrollbar style issue. #6609
- Add missing TypeScript definition of
precisionin InputNumber. #6715 - Fix Select overflow issue. #6621
- Slider
- Improve styles. #6665
- Upgrade rc-slider to 8.2.0, add
dotStyle,activeDotStyleprops. rc-slider/pull/292
- Fix Spin z-index issue. #6759
- Fix nested Steps style issue. #6754
- Table
- Improve TimePicker format support. 950c32
- Make style improvement or tweaking for many components, includes Checkbox,Radio,Tabs,Card and etc.
- Now you can open demo in codepen. #5140
- 新增 Card
noHovering属性以及 Card.Grid 组件。pull/6748 - DatePicker、MonthPicker、RangePicker 支持
className属性。pull/6584 @EnrikoLabriko - 新增 Input.TextArea,原 Input[type='textArea'] 将被废弃。pull/6138
- LocaleProvider 新增泰语支持。pull/6721 @koobitor
- Mention 支持
focus方法。#6135 - Menu[mode='inline'] 支持缩起/展开,同时 Layout.Sider 使用
context向 Menu 传递collapsed属性,无需再自己定制样式。pull/6686 - 新增 Pagination
itemRender属性,用于自定义页码的结构。25a603 - 新增 Tooltip
autoAdjustOverflow属性,支持关闭自动调整位置的功能。pull/6661 @jdz321 - 修复了 Avatar 错误的文档。pull/6711 @llaski
- DatePicker
- Form
- 修复自适应高度的 Input 文本域出现滚动条的问题。#6609
- 补充了 InputNumber 中缺失的
precision类型定义。#6715 - 修复 Select 样式溢出的问题。#6621
- Slider
- 优化了样式。#6665
- rc-slider 升级至 8.2.0,新增
dotStyle,activeDotStyle属性。rc-slider/pull/292
- 修复 Spin 遮罩层被穿透的样式问题。#6759
- 修复嵌套 Steps 的样式问题。#6754
- Table
- 优化了 TimePicker 的格式支持。950c32
- 对大量组件的样式进行了优化或微调,包括 Checkbox,Radio,Tabs,Card 等等。
- Demo 现在可以在 codepen 中打开。#5140
- Dropdown.Button now support getPopupContainer function.#6527
- Fix disabled dropdown submenu style error. #6548
- Fix background color error of Calendar. aaf2a5
- Select of Calendar now take place in header. #6479
- Fix horia horizontal scroll error of Input and Textarea. #6577
- Improve document of
disabledattribute of Checkbox and Radio. #6597 - Increase click area of Table's sort and filter icon.#6528
- Add
event:Eventparameter of Table.props.onRowClick. e2a99f5
- Dropdown.Button 现在也支持 getPopupContainer 方法。#6527
- 修复 Dropdown 子菜单 disabled 时的样式错误问题。 #6548
- 修复 Calendar 的背景颜色问题。 aaf2a5
- Calender 的下拉菜单现在在 header 中显示。#6479
- 修复 Input 和 Textarea 横向滚动的问题。#6577
- 补充了 Checkbox 和 Radio 的
disabled属性文档。#6597 - 增大了 Table 的排序和过滤图标的可点击区域。#6528
- 为 Table.props.onRowClick 函数增加了 event: Event 参数。e2a99f5
- New component Avatar. :full_moon_with_face:
- LocaleProvider
- Supporting Bulgarian. #6297 @dimitrov-adrian
- Supporting Polish. #6326 @longersson
- Supporting Britain English. #6344 @damiangreen
- Supporting Italian. #6344 @damiangreen
- Supporting French. #6344 @damiangreen
- Supporting Belgian. #6344 @damiangreen
- Collapse.Panel can be disabled now, which makes users cannot toggle panel with mouse/keyboard. #6119 demo
- DatePicker and RangePicker support customized footer. #6122 #5188 demo
- InputNumber can set precision with property
precision, this means that precision need not to followstep. #5998 - TreeSelect supports
allowClearin multiple mode. - Improve keyboard support of Pagination. rc-pagination#83 @geramirez
- Improve style of Progress. #6354
- Improve ARIA support of Slider. #6301
- Fix that animating elements should not be clickable. #6314
- Fix
Cannot read property '0' of undefinedissue of DatePicker, TimePicker, and RangePicker. #6334 - DatePicker
- Fix nested fields support of Form
validateFieldsAndScroll. #5410 - Input[addon]
- Fix that confirm button not clickable when the returned promise of Modal.confirm is rejected. #6183
- Fix style of input of Pagination. #6339
- Fix that user input of Select should not be trimed in search mode. #6382
- Fix that timers of Spin should be removed correctly. #6383
- Fix onClick support of Switch. #6373
- Fix wrong TypeScript definition of Table.Column which will cause
error TS2304: Cannot find name 'T'. #6313 - Fix error TypeScript definition of Timeline.Item and Dropdown.Button. #6356
- Fix broken style of disabled Tree and TreeSelect. #6320
- 新增头像组件 Avatar。:full_moon_with_face:
- LocaleProvider
- 新增保加利亚语支持。#6297 @dimitrov-adrian
- 新增波兰语支持。#6326 @longersson
- 新增英式英语支持。#6344 @damiangreen
- 新增意大利语支持。#6344 @damiangreen
- 新增法语支持。#6344 @damiangreen
- 新增比利时语支持。#6344 @damiangreen
- Collapse.Panel 现在可以被禁用,禁用时无法通过用户交互改变面板打开/关闭状态。#6119 demo
- DatePicker 与 RangePicker 现在支持在弹层中渲染自定义 footer。#6122 #5188 demo
- InputNumber 现在可以通过
precision单独设置精度,即精度与step可以不再绑定。#5998 - TreeSelect 多选模式支持
allowClear展示清除按钮。 - 优化 Pagination 对键盘操作的支持。rc-pagination#83 @geramirez
- 优化 Progress 样式。#6354
- 优化 Slider 的可访问性支持。#6301
- 修复正在执行动画的元素可点击的问题。#6314
- 修复时间类组件的
Cannot read property '0' of undefined报错问题。#6334 - DatePicker
- 修复 Form
validateFieldsAndScroll不支持 nested fields 的问题。#5410 - Input[addon]
- 修复 Modal.confirm onOk 返回的 Promise rejected 后用户无法重试的问题。#6183
- 修复 Pagination 简单模式下输入框过小的问题。#6339
- 修复 Select 在搜索模式下用户输入的内容被截断的问题。#6382
- 修复 Spin 定时器没有被正确移除的问题。#6383
- 修复 Switch 对 onClick 的支持。#6373
- 修复 Table.Column TypeScript definition 导致
error TS2304: Cannot find name 'T'的问题。#6313 - 修复 Timeline.Item 和 Dropdown.Button 在 TypeScript 报
does not have any construct or call signatures错中的问题。#6356 - 修复 Tree、TreeSelect disabled 样式问题。#6320
- Fix
rc-utildependency. #6310 @bkniffler - Fix syntax error in es build. #6310
- 修正
rc-util依赖。#6310 @bkniffler - 修正
es版本的语法错误。#6310
- Calendar
- Fix disabledDate not be supported, and make supplement for the types and documentation. #6074
- Upgrade rc-calendar to 8.4.0, support Bulgarian, and user can select end date first. commit/a4a6db
- Alert Remove default margin-bottom. commit/5ef482
- Tabs Fix inactive tab panel behavious. #6237
- Layout Fix children in the collapsed Sider not be hidden. #6131
- Table Fix table filter menu overflow issue. #6245
- InputNumber Fix hasFeedback misplaced validated icon. #6289
- Typescript
- Calendar
- 修复了样式问题以支持 disabledDate,补充了 Type 定义及文档。#6074
- rc-calendar 依赖升级至 8.4.0,支持保加利亚语,支持首先选择结束日期。commit/a4a6db
- Alert 去掉了默认的下边距。commit/5ef482
- Tabs 修复了隐藏标签下内容的表现问题。#6237
- Layout 修复了折叠侧边栏中的内容不能自动隐藏的问题。#6131
- Table 修复了 filter 被 Table 截断的问题。#6245
- InputNumber 修复了配置 hasFeedback 时校验结果图标位置有误的问题。#6289
- Typescript
2017-05-23
- Fix
defaultValueissue of DatePicker and RangePicker in showTime mode. #6160 - Fix
prop-typeswarnings which due to upgrading React. #5678 - Fix style issue of TreeSelect. #6137
- Fix style issue of Input with prefix and addon. #6144
- Fix some bugs of
notification.destroy. #6161 - Fix missing translations of Upload and Table. #6218
- Fix style issue of Cascader inside Input.Group. #6208
- Increase click area of Tree icons. #6120
- 修复了 React 升级引起的
prop-types相关的 warning 问题。#5678 - 修复 DatePicker 和 RangePicker showTime 模式下 defaultValue 的问题。#6160
- 修复 TreeSelect 的样式问题。#6137
- 修复 包含 prefix 和 addon 的 Input 的样式问题。#6144
- 修复
notification.destroy的 Bug。#6161 - 修复了 Upload 和 Table 组件中缺失的翻译。
- 修复了在 Input.Group 中的 Cascader 的样式问题。#6208
- 增大了 Tree 图标的可点击区域面积。
2017-05-14
- Upgrade normalize.css to 7.0.0.
- Fix AutoComplete style issue when use with Input.Group. #6058
- Fix Tabs cann't set
animatedwhen usecardoreditable-cardtype. #6070 - Fix Form style issue when zoom out scrren. #6097
- Fix RangePicker style issue in Safari. #6061
- Notification
- Fix
getContainernot working. #6099 @hardfist - Fix overlaping issue. #5895 @ystarlongzi
- Fix
- Add new
forkicon. - Add some less variables. #6039 #6038 #6105 #6040
- 升级 normalize.css 到 7.0.0。
- 修复 AutoComplete 在 Input.Group 里的样式问题。#6058
- 修复 Tabs 在
card和editable-card模式下不能设置动画的问题。#6070 - 修复 Form 在屏幕缩放时的样式问题。#6097
- 修复 RangePicker 在 Safari 和 360 浏览器下的 placeholder 显示错位的问题。#6061
- Notification
- 修复设置
getContainer无效的问题。#6099 @hardfist - 修复会出现重叠的问题。#5895 @ystarlongzi
- 修复设置
- 新增
fork图标。 - 新增 less 变量 #6039 #6038 #6105 #6040
2017-05-02
- LocaleProvider
- Support Traditional Chinese. #5665 @GeorgioWan
- Support Finnish. #5699 @kirbo
- Support Vietnamese. #5927 @pnghai
- Update Spanish. #5932 @ginodeise
- AutoComplete supports to listen to search events by
onSearch. - Checkbox.Group can support more flexible layout with nested Checkbox. demo
- Notification's inline style and className can be customized now. #5893 @lixiaoyang1992
- TimePicker's open status can be controlled by
openproperty. #5913 - The returned value of Upload[onRemove] could be a promise to control remove logic asynchronously. #5973 @shlice
- Adjust padding of popup of Dropdown. #5088
- AutoComplete
- Fix that Button should not insert space in Chinese characters while using Icon. #5977
- Fix broken style while using Cascader in Card[title]. #5952
- Fix broken disabled style of Checkbox Radio. #5935
- Fix broken style of DatePicker with nested TimePicker while using
use12Hours. #5959 - Fix broken style while using AutoComplete, Cascader, Mention, TimePicker in Input.Group. #5832
- Fix missing TypeScript definition of
inlineIndentMenu. #5903 @brookshi - Mention
- Fix errors while using RangePicker with Form. #5872
- Fix that pagination is clickable when Table with loading status. #5937
- Tabs
- Transfer
- LocaleProvider
- 新增繁体中文。#5665 @GeorgioWan
- 新增芬兰语。#5699 @kirbo
- 新增越南语。#5927 @pnghai
- 更新西班牙语。#5932 @ginodeise
- AutoComplete 新增
onSearch以监听搜索事件。 - Checkbox.Group 可以内嵌 Checkbox,以支持更灵活的布局。demo
- Notification 现在可以自定义弹出框的样式和 className。#5893 @lixiaoyang1992
- TimePicker 的展开状态可以通过受控属性
open控制。#5913 - Upload[onRemove] 可以返回一个 promise 以异步控制移除逻辑。#5973 @shlice
- 调整 Dropdown 弹出层的边距。#5088
- AutoComplete
- 修复 Button 内嵌 Icon 后,两个汉字之间会插入空格的问题。#5977
- 修复 Card[title] 内使用 Cascader 导致样式错乱的问题。#5952
- 修复 Checkbox Radio 禁用后的 cursor 样式问题。#5935
- 修复 DatePicker 内嵌的 TimePicker 使用
use12Hours后样式错误的问题。#5959 - 修复 Input.Group 内嵌 AutoComplete Cascader Mention TimePicker 时的样式问题。#5832
- 修复 Menu 的 TypeScript 定义缺少
inlineIndent的问题。#5903 @brookshi - Mention
- 修复 RangePicker 与 Form 一起使用时会报错的问题。#5872
- 修复 loading 状态 Table 的分页能点击的问题。#5937
- Tabs
- Transfer
- Alert Fix props of banner mode can't be overrided. #5800
- AutoComplete Fix can't add
onKeyDownevent listener with customized input component. #5487 - Button New style for danger Button. #5815
- DatePicker
- Form Add a less variable to opt out of form item colons. pull/5855 @megawac
- Icon Add displayName. pull/5643 @handycode
- Input
- InputNumber Update docs and demos for how to use
parserto work withformatter. #5683 - Layout
- Add Fixed-Sider demo.
- Fix style issue of responsive sider in firefox. #5613
- LocaleProvider Allow for seamless access to less variables. #5712 @lionkeng
- Menu Override the default
a:focusstyle when it nested in Menu component. #5707 - Notification Auto adjust style for singleline message. #5846
- Radio Add less variables for setting color and background color of Radio.Button. pull/5791 @megawac
- Table
- Add less variables for setting head background color and row background hover color. #5706 @kappa-gooner
- Improve the
Grouping table headdemo style. #5697
- Tabs Fix the position of the scrolling arrow in
verticalmode. #5765 @dicklwm - TreeSelect Fix arrow rotate bug. #5693
- TypeScript
- Add missing props in InputNumber. #5717 @whtang906
- Global Optimization
- Fix deprecation warning of
React.PropTypesdue to React upgrading to v15.5.0. pull/5723 @manjitkumar
- Fix deprecation warning of
- Site
- Add native English translation for icons spec. @kenaniah
- Add English gitter chat room.
- Alert 修复 banner 型属性无法覆盖的问题。#5800
- AutoComplete 修复自定义输入组件无法监听
onKeyDown事件的问题。#5487 - Button 危险按钮使用新的样式。#5815
- DatePicker
- Form 增加样式变量来控制表单项标题冒号的展示。pull/5855 @megawac
- Icon 增加 displayName 属性。pull/5643 @handycode
- Input
- InputNumber 更新了
parser和formatter配合使用的文档及示例。#5683 - Layout
- LocaleProvider 自动引入样式变量以便自定义。#5712 @lionkeng
- Menu 去掉 Menu 组件中 a 标签默认的 focus 下划线样式。#5707
- Notification 样式自适应单行文案。#5846
- Radio 新增 Radio.Button 颜色及背景色样式变量。pull/5791 @megawac
- Table
- 增加了头部背景及行 hover 背景样式变量。#5706 @kappa-gooner
- 修复了表头分组示例的展示问题。#5697
- Tabs 修复了垂直模式下滚动按钮的位置问题。#5765 @dicklwm
- TreeSelect 修复了下拉箭头方向不能改变的问题。#5693
- TypeScript
- 补充了 InputNumber 的部分定义。#5717 @whtang906
- 全局性优化
- 修复了组件中因升级 React@15.5.0 带来的
React.PropTypes警告。pull/5723 @manjitkumar
- 修复了组件中因升级 React@15.5.0 带来的
- 网站
- Step
- Button won't lose focus after click. #5597 @kenaniah
- Add underline to focused link. #5587 @kenaniah
- Fix Dropdown.Button can't use
placementissue. #5594 - Fix Pagination alignment issue. #5632
- Fix AutoComplete style issue when use
allowClear. #5634 - Fix DatePicker style issue when set
showTodaytofalse. #5620 - Fix Select shows Chinese defaultly. #5661 @LeeHarlan
- Change the default font family to be monospaced for numbers. b526083
- Select
- Add
modeprop, deprecate thetags|combobox|multipleproperties, replaced bymode={tags|combobox|multiple}. tags|multiplenow supportsallowClear. #4843
- Add
- Add a new type
dashboardof Progress. #5225 @qiaolb - Add
showLineprop of Tree, for connecting line style in tree nodes. #3854 - TimePicker now supports 12 hours via
use12Hours. #4063 - Add
column.filterIconprop of Table, which can be used to customize filter icon. #5293 - Add
wrapperClassNameprop of Spin. #5425 @aaronplanell - Add
onPrevClickonNextClickprops of Tabs. #4395 - Add
parserprop of InputNumber, to extract value from formatter. #5178 - New locales support:
- TypeScript
- Fix definitions of Carousel following react-slick
- Fix some definitions of Form.
- Fix
getPopupContainerdefinitions.
- Allow to disable animation of inkBar and panes of Tabs separately. #5089 @xieguanglei
- Button
loadingprop now supports like{ delay: 1000 }, removed the default loading delay. #5365 - Add less variables for Card header. #5354 @kossel
- Fix extra separator of Breadcrumb without
breadcrumbName. - Fix
Unknown prop placementwarning of Dropdown.Button. #5594 - Fix RangePicker and InputNumber placeholder color.
- Fix that Cascader search can't use [Backspace]. #5340
- Fix that LocaleProvider can't affect
Modal.confirmsometimes. #5493 @hargasinski - Fix scroll animation of BackTop which specifies the
targetprop. #5564 - Optimize the block style of Pagination. #5557
- 默认字体中数字设为等宽,方便进行纵向比较。b526083
- Select
- 新增
mode参数,废弃tags|combobox|multiple属性,使用mode={tags|combobox|multiple}来代替。 tags|multiple模式现在支持配置allowClear清除按钮。#4843
- 新增
- Progress 新增
dashboard仪表盘类型。#5225 @qiaolb - Tree 新增
showLine属性,支持纵向连接线展示。#3854 - TimePicker 支持 12 小时制:
use12Hours。#4063 - Table 支持
column.filterIcon,支持使用自定义筛选菜单时自定义图标。#5293 - Spin 新增
wrapperClassName,方便给包裹形态的加载条增加类名。#5425 @aaronplanell - Tabs 新增点击左右切换箭头的回调
onPrevClickonNextClick。#4395 - InputNumber 新增
parser属性,用于有时指定了formatter时需要解析出数字。#5178 - 国际化
- TypeScript
- 参照 react-slick 补充 Carousel 的定义。
- 修复 Form 的部分定义。
- 修正
getPopupContainer定义。
- 允许分开禁用 Tabs 的高亮条和面板的切换动画。#5089 @xieguanglei
- Button 的
loading属性支持{ delay: 1000 }的形式,默认不再延迟切换状态 。#5365 - 增加 Card 头部的 less 变量。#5354 @kossel
- 修复 Breadcrumb 没有设置
breadcrumbName时分隔符多余的问题。 - 修复 Dropdown.Button 的
Unknown prop placement警告信息。#5594 - 修复 RangePicker 和 InputNumber 的占位文字颜色。
- 修复 Cascasder 搜索模式下无法使用退格键的问题。#5340
- 修复 LocaleProvider 有时对
Modal.confirm失效的问题。#5493 @hargasinski - 修复 BackTop 设置了
target时滚动动效消失的问题。#5564 - 优化 Pagination 的样式实现。#5557
2017-03-27
- TypeScript
- Fixed missing definition of
AutoComplete[filterOption]. #5393 @mitchelldemler - Improve definition of
getPopupContainergetCalendarContainergetTooltipContainergetSuggestionContainer, etc. 322e9ef - Improve definition of
Form.create. #5420 @infeng
- Fixed missing definition of
- Fixed Badge should work in Maxthon. #5477
- Fixed Button cannot work with
nullundefinedas children. #5472 @blade254353074 - Breadcrumb are not rely on
route.breadcrumbNamenow. ac1c7f3 - Fixed
Form.Item[hasFeedback]will lost styles while using withInput[prefix]. #5456 @william-yz - Fixed Layout.Content will show scrollbar while using with Carousel. #5415
- LocaleProvider
- Fixed inconsistet animation of Menu Icon and text. #5495
- Fixed
Modale[footer]cannot be set tonull. #5462 - Fixed Pagination will lost styles in
IE<=10which is introduced in2.8.2. #5484 - Fixed Popover will be closed by mistake while using Table in it. #5407
- Remove restriction that Radio can only be direct chidlren of Radio.Group. #5443
- Fixed warning while using Switch in Form.Item. #5368
- Now we defaultly hide the Table's "Select All" dropdown icon, display it when set
selectionsto true. #5246 @infeng - New theme variable
@info-color. #5442 - Supporting suppress warning(You are using a whole package of antd...) with
NODE_ENV=testwhile testing. #5345 - Upgrade moment to
2.18.0.
- TypeScript
- 修复
AutoComplete[filterOption]定义缺失的问题。#5393 @mitchelldemler - 修复
getPopupContainergetCalendarContainergetTooltipContainergetSuggestionContainer等的定义问题。322e9ef - 优化
Form.create的定义。#5420 @infeng
- 修复
- 修复 Badge 在 Maxthon 内的兼容性问题。#5477
- 修复 Button 内无法使用
nullundefined的问题。#5472 @blade254353074 - Breadcrumb 不再强依赖于
route.breadcrumbNameac1c7f3 - 修复
Form.Item[hasFeedback]与Input[prefix]混用时的样式问题。#5456 @william-yz - 修复 Layout.Content 与 Carousel 一起使用时的样式问题。#5415
- LocaleProvider
- 修复 Menu 内 Icon 动画效果与文字不一致的问题。#5495
- 修复
Modale[footer]无法置空的问题。#5462 - 修复
2.8.2引入的 Pagination 在IE<=10下样式丢失的问题。#5484 - 修复 Popover 内使用 Table 时会意外关闭的问题。#5407
- 去掉 Radio 只能作为 Radio.Group 的直接后代的限制。#5443
- 修复 Switch 在 Form.Item 内使用时的 warning。#5368
- Table 的选择全部菜单现在默认隐藏,
selections设置为 true 时展现。#5246 @infeng - 新增
@info-color主题变量。#5442 - 现在可以通过
NODE_ENV=test来禁用测试时 antd 全量加载的 warning。#5345 - 升级 moment 到
2.18.0。
- New design specification documentation.
- Fix error of Modal.confirm #5269.
- Fix mask style of Upload #5275.
- Fix progress not showing of Upload #5323.
- Fix a pagination showTotal wrong data issue of Table #5259.
- Fix a style issue while using Popconfirm and Button together 5301.
- Fix a style issue of Radio #5336.
- Fix a issue that
getContainerof Message didn't work #5380. - Fix text alignment of Checkbox and Radio 696a3c0.
- Fix box shadow of AutoComplete 7bc2b1d.
- Tweak animation and blur style of Spin fa1e031.
- Tweak some styles of Mention 240a93c.
- 发布了新的 设计基础文档。
- 修复使用 Modal.confirm 时报错的问题。#5269。
- 修复 Upload 的蒙层样式 #5275。
- 修复 Upload 上传进度条不显示的问题 #5323。
- 修复 Table 的分页的 showTotal 数据错误的问题 #5259。
- 修复了 Popconfirm 与 Button 同时使用时的样式问题 5301。
- 修复 Radio 的一个样式问题 #5336。
- 修复 Message 的 getContainer 无法使用的问题 #5380。
- 修复 Checkbox 和 Radio 标签的文字对齐 696a3c0。
- 修复 AutoComplete 的额外阴影 7bc2b1d。
- 调整了 Spin 的动画 fa1e031。
- 调整了 Mention 的一些样式 240a93c。
- DatePicker Fix can't select time when new props are passed, and improve the selection behavior of
DatePicker[showTime]. #5189 @megawac - Form
- Icon Add iconfont
shakeandandroid-o. commit/941782 - Input Fix
hasFeedbacknot work withaddonBefore. #5228 - InputNumber Add typings for props
formatter. #5240 @hlehmann - Modal Call
onCancelwhen pressing esc key. #5203 @elios264 - Table
- Tooltip Fix layout style on disabled Button. #5254
- Upload
- Fix long name of upload item style. commit/0a3519
- Fix and improve animation. pull/5210
- Allow override
onProgress. pull/5260 @minwe
- Global Optimization
- Fix Cannot resolve module
lodash.debounce. #5230
- Fix Cannot resolve module
- Site
- Fix safari language check. pull/5245
- Add ability to copy color when clicking on palette. pull/5247 @bsheikh
- Add boilerplate samples. commit/f2f786
- DatePicker 优化了带时间的 DatePicker 的选择行为,并修复父组件 state 变化导致无法选中的问题。#5189 @megawac
- Form
- Icon 增加
shake和android-o图标。commit/941782 - Input 修复有
addonBefore时hasFeedback失效的问题。#5228 - InputNumber 补充缺失的 type 定义。#5240 @hlehmann
- Modal 支持点击 esc 调用
onCancle。#5203 @elios264 - Table
- Tooltip 修复 Trigger 为绝对定位且禁用的按钮时失效的问题。#5254
- Upload
- 修复上传文件名字过长时的样式问题。commit/0a3519
- 修复并优化了动画。pull/5210
- 支持覆盖
onProgress。pull/5260 @minwe
- 全局性优化
- 修复
lodash.debounce依赖缺失问题。#5230
- 修复
- 网站
- 修复 safari 语言检测失效的问题。pull/5245
- 色板支持点击复制色号。pull/5247 @bsheikh
- 增加脚手架示例。commit/f2f786
2017-03-06
- Tabs
- Added
tabBarStyleto allow customize style of tab bar. #4966 - Added
TabPane[closable]to allow config whether to show delete icon or not. #4807 @lixiaoyang1992
- Added
- Anchor
- Table
- Added invert selection feature. demo #4962
spinnow spport Spin props. #4824 @lixiaoyang1992- Fix issue resulting header's bottom border doesn't show when
sizeissmall. #5182
- Mention added custom trigger character support. demo
- Rate
- Support custom character. demo
- Added new
classNameprop.
- Layout
- Form
- Calendar
- AutoComplete
- Col added
xlto support 1600px breakpoint. #4796 @hjin-me - Upload added
localeto support i18n. #4697 - Transfer added
onScrollto support load data dynamically. #4188 messageandnotificationaddgetContainerto allow config the render container. #5019- Badge added
showZeroto allow config whether to show0or not. #4251 - InputNumber
- Added
formatterto allow format the value to present. - Added ctrl and shift key support. detail
- Added
- Added some new icons. #5107
- New locale support:
- Dutch #4785 @corneyl
- Catalan #4929 @aaronplanell
- Czech #5169 @martinnov92
- Korean #5141 @minsungryu
- Improve Spin display position. #4722
- Fix Checkbox comatible issue with
browser-sync. #2744 - Fix Steps width issue when resize window. #5083
- Fix Upload.Dragger unmount error. #5162
- Fix Button shifting during click in IE issue.
- FIx Input prefix and suffix vertical alignment.
- Tabs
- 新增
tabBarStyle用于自定义 tabBar 的样式。#4966 - 新增
TabPane[closable]用于设置是否显示删除按钮。#4807 @lixiaoyang1992
- 新增
- Anchor
- Table
- 新增反选功能并允许自定义全选选项。#4962
spin属性支持所有 Spin 的属性。#4824 @lixiaoyang1992- 修正
size是small的时候表头没有底边框的问题。#5182
- Mention 新增自定义触发字符的支持。demo
- Rate
- 支持自定义字符。demo
- 新增
className属性。
- Layout
- Form
- Calendar
- AutoComplete
- Col 新增
xl属性,支持 1600px 的响应布局断点。#4796 @hjin-me - Upload 新增
locale支持国际化文案定义。#4697 - Transfer 新增
onScroll支持动态加载数据。#4188 - message 和 notification 新增
getContainer参数支持自定义消息渲染的容器。#5019 - Badge 新增
showZero支持设置是否显示0。#4251 - InputNumber
- 新增
formatter用于格式化展示的值。 - 新增组合键的支持。详细
- 新增
- 新增大量图标。#5107
- 新增语言支持:
- 荷兰语 #4785 @corneyl
- 加泰罗尼亚语 #4929 @aaronplanell
- 捷克语 #5169 @martinnov92
- 韩语/朝鲜语 #5141 @minsungryu
- 优化 Spin 显示位置。#4722
- 优化 Checkbox 以兼容
browser-sync。#2744 - 修复 Steps 在窗口变化时的宽度问题。#5083
- 修复 Upload.Dragger unmount 时会报错的问题。#5162
- 修复 Button 里的文字在 IE 下点击时会移动的问题。
- 修复 Input 的前缀跟后缀的垂直居中对齐问题。
- Unify demo code to ES6 class. #4878
- TypeScript
- Fix that
Cannot find module '../../package.json'error. #4935 - Fix definitions of Table, RangePicker and Upload.
- Fix that
- Fix lack of event argument for Modal
onOkafterCloseand PopconfirmonConfirmonCancel. #4787 - Improve animation of Menu[inline] and Collapse.
- Improve Checkbox and Radio vertical align style.
- Table
- Fix misplace header when fix column. #4936
- Fix not clearing float issue. #4945
- Fix submenu of filter. #4975
- Fix that filterDropdown of fixed column cannot be interacted with. #5010
- Fix that arguments of
pagination.onChangedo not match PaginationonChange. - Fix that table loading animation is not smoothing. #4934
- Improve multiple message display. #3543
- Fix Carousel autoplay not working after resize window. #2550
- Fix that controlled InputNumber cannot input number like
1.011.001. #5012 - Improve Button loading switching.#4913
- Fix Dropdown selected menu style and
Menu[theme="dark"]style. #5013 #4903 - Fix Menu submenu
z-indexissue. #4937 - Fix that DatePicker and RangePicker width cannot be reset below
300pxissue. #4920 - Fix style of Spin nested in Spin. #4971
- Fix that lack of Button style when import Popconfirm by babel-plugin-import.
- Fix that less variables cannot work on circle Progress. #5002
- Fix falsy children of Breadcrumb. #5015
- Fix blinking tooltip of Slider. #5003
- Fix that Transfer disabled option can be moved. #4981 @tianlizhao
- Documentation
- Fix and improve site for mobile devices.
- Improve 1.x to 2.x compatibility instruction.
- 演示代码统一为 ES6 class 的写法。#4878
- TypeScript
- 修复
Cannot find module '../../package.json'的问题。#4935 - 补充了 Table、RangePicker 和 Upload 的部分属性定义。
- 修复
- 修复了 Modal
onOkafterClose和 PopconfirmonConfirmonCancel缺少点击 event 参数的问题。 #4787 - 优化 Menu[inline] 和 Collapse 的折叠动画效果。
- 优化了 Checkbox 和 Radio 的垂直对齐样式。
- Table
- 优化多个 message 展示重叠的问题。#3543
- 修复 Carousel 在改变浏览器窗口大小后 autoplay 会失效的问题。#2550
- 修复了 InputNumber 在受控模式(Form 表单内)无法输入
1.011.001等数字的问题。#5012 - 优化 Button 加载状态切换时的宽度抖动问题。#4913
- 修复 Dropdown 的菜单选中样式和
Menu[theme="dark"]样式无效的问题。#5013 #4903 - 修复 Menu 的弹出菜单的
z-index问题。#4937 - 修复 DatePicker 和 RangePicker 无法设置小于 300px 的宽度的问题。#4920
- 修复 Spin 内嵌 Spin 的样式问题。#4971
- 修复了使用 babel-plugin-import 引入 Popconfirm 时,未引入 Button 样式的问题。
- 修复了样式变量在 Progress
type="circle"上未生效的问题。#5002 - 修复了 Breadcrumb 的 chilren 为
null或undefined时报错的问题。#5015 - 修复 Slider 的 tooltip 闪烁的问题。#5003
- 修复了 Transfer 中 disabled 选项仍然可以被移动的问题。#4981 @tianlizhao
- 文档
- 修复和优化了移动端的展现。
- 优化了 1.x 升级到 2.x 的不兼容改动文档。
2017-02-17
- Fix that
antd.versiondoesn't work as expected. #4844 - Fix that dist files don't include locales. #4910
- Fix that disabled option is selectable in search mode of Cascader. #4699
- Button
- Fix click animation of
Button[type=danger]. - Fix broken style with
loading. #4875
- Fix click animation of
- Menu
- Table
- Fix that Radio should support number
0as children. #4874 @HQidea - Fix that RangePicker should work with
style.widthwhich is small than 300. #4920 - Fix CSS compile error caused by Spin. #4915
- Fix that Tooltip should work with disabled button in Chrome. #4865
- Fix UX of Tree while dragging. #4858
- Fix failed style of Upload. #4810
- Fix that
Menu[vertical]'s SubMenu cannot popup in Layout.Sider. #4890 - Improve animation of Button and
Badge[status=processing].
- 修复
antd.version无法正常使用的问题。 #4844 - 修复 dist 文件没有 locales 的问题。 #4910
- 修复 Cascader 搜索模式下可以选择已禁用选项的问题。 #4699
- Button
- 修复
Button[type=danger]的点击动画。 - 修复设置
loading时的样式问题。 #4875
- 修复
- Menu
- Table
- 修复 Radio 组件 children 无法为数字
0的问题。 #4874 @HQidea - 修复 RangePicker
style.width无法小于 300 的问题。 #4920 - 修复 Spin 样式在打包时会导致编译错误的问题。 #4915
- 修复 Chrome 下 Tooltip 无法在 disabled 的按钮上使用的问题。 #4865
- 修复 Tree 节点在拖动时会导致整棵树抖动的问题。 #4858
- 修复 Upload 上传失败的样式问题。 #4810
- 修复
Menu[vertical]和 Layout.Sider 配合使用时二级菜单无法弹出的问题。 #4890 - 优化 Button、
Badge[status=processing]的动画。
- Affix
- Anchor Fix the location problem when offsetTop has been set. #4706
- AutoComplete
- Dropdown Add the documentation and demo about positioning of Dropdown menus. #4811
- Layout Improve Sider's animation effect. #4752
- LocaleProvider Fix issues with the new Swedish locale provider. pull-4762 @JesperWe
- RangePicker Fix the overlapping problem about the date icon. #4783 @zhenzong
- Table
- Add the missing value 'middle' for size definition. #4819 @warrenseymour
- Fix controlled filter does not work with JSX style. #4759
- Fix switch pagination problem. #4779
- Tabs Fix content missing problem since the second tab pane under IE9. #4795
- rc-pagination Upgrade to ~1.7.0, add pageSize as onChange's second argument.
- Global optimization
- Site
- Affix
- Anchor 修复了有 offsetTop 时的定位问题。#4706
- AutoComplete
- Dropdown 补充了之前缺失的弹出框位置设定相关的文档及示例。#4811
- Layout 修复了侧边布局动效不平滑的问题。#4752
- LocaleProvider 修复了瑞典语相关问题。pull-4762 @JesperWe
- RangePicker 修复了图标与表单校验反馈图标重叠的问题。#4783 @zhenzong
- Table
- 修复了 size 定义里没有 'middle' 的问题。#4819 @warrenseymour
- 修复过滤功能在 JSX 模式下不生效的问题。#4759
- 修复分页跳转问题。#4779
- Tabs 修复了在 IE9 中从第二个标签页起都显示空白的问题。#4795
- rc-pagination 升级至 ~1.7.0,onChange 增加 pageSize 参数。
- 全局性优化
- 网站
- Added
dangerbutton andghostbutton style. #4679 - Input element of AutoComplete can be customized. #4483
- Upgrade rc-cascader to
0.11.0, keyborad interactions supported. #4411 - More popup directions are supported in notification. #4732
- Upgrade rc-steps to
2.3.0, addedprogressDotproperty of Steps, which allows users to customize the display for Steps with progress dot style. - Upgrade rc-input-number to
3.0.0 - Added
verticalmode of Slider. #4473 - Tag
- Added preset colors. #4571
- Improvement vertical-align and margin.
- Add German localization for LocaleProvider.#4686
- Add Swedish localization for LocaleProvider. #4455
- Add French localization for LocaleProvider. #4538
- Added
onSearchChangecallback of Transfer. #4464 - Added
maskClosableproperty of Modal.confirm. #4488, #4488
- Form
- Improvement upload list of Upload. #4516
- Upgrade rc-select to
6.7.1.- Fixed duplication
onChangecallback. #156@rc-select - Fixed displaying of initial value. #152@rc-select
- Fixed duplication
- Upgrade rc-tree-select to
1.9.0.- Added
treeDefaultExpandedKeysproperty.#43@rc-tree-select - Fixed an overflow-wrap issue. #42@rc-tree-select
- Added
- Added less variables:
@border-style-base@border-width-base@btn-danger-color@btn-danger-bgand etc. - Fixed Badge misplace issue when browser zoom above 100%. #4747 #4290
- Fixed a mis-align issue of fixed header Table. #4750
- Fixed Table scrolling lag issue in IE. #4522
- Add icon aliases:
addfile=>file-add,addfolder=>folder-open, and the old type names are still working. #4758
- Button 新增
danger和ghost属性。#4679 - AutoComplete 支持自定义输入框的用法。 #4483
- 升级了 rc-cascader 到 0.11.0,支持键盘操作。#4411
- notification 支持更多弹出方向。#4732
- 升级了 rc-steps 到 2.3.0,Steps 新增
progressDot属性,支持自定义点状步骤条的样式。#4659 - 升级了 rc-input-number 到 3.0.0
- Slider 增加
veritical模式。#4473 - Tag
- 增加了预设颜色。#4571
- 调整了垂直对齐和默认间距。
- 添加了对德语的支持。#4686
- 添加了对瑞典语的支持。#4455
- 添加了对法语的支持。#4538
- Transfer 添加了
onSearchChange回调。 #4464 - Modal.confirm 添加了 maskClosable 配置项。#4488, #4488
- Form
- 改进了 Upload 的列表图片预览。 #4516
- 升级了 rc-select 到 6.7.1。
- 修复了 Select 的
onChange回调重复触发的问题。#156@rc-select - 修复了 Select 显示初始化值的问题。#152@rc-select
- 修复了 Select 的
- 升级 rc-tree-select 到
1.9.0。- 新增
treeDefaultExpandedKeys属性。#43@rc-tree-select - 修复了文字溢出换行问题。#42@rc-tree-select
- 新增
- 新增 less 变量:
@border-style-base@border-width-base@btn-danger-color@btn-danger-bg等。 - 修复了 Badge 在页面放大时错位的问题。#4747 #4290
- 修复一个固定表头的表格错位问题。#4750
- 修复一个 IE 下表格滚动时卡顿的问题。#4522
- 添加别名以修正图标命名风格:
addfile=>file-add,addfolder=>folder-open,原有的命名依然有效。#4758
- Improve RangePicker when selecting a preset date.#4561
- Fix DatePicker select time scroll issue.#4412
- Fix issue resulting in vertical Menu can't be controlled.#3783
- Fix Cascader's style when it's disabled.#4648
- Table
- Added a Third-Party Library Page for recommending other greet react components. Link。
- Fixed misplaced Sider of Layout. #4459
- Fixed Input.Search wrong block layout and misplaced icon. #4540
- Added a customize Collapse panel demo. Link
- Table
- Now Carousel is undragglble and text-selectable defaultly.
- Added warnings when non-BreadcrumbItem node is nested under Breadcrumb. #4403
- Fixed Tooltip hidden issue when
onVisibleChange(visible)returntrue. #4579 - Make TreeSelect panel default height smaller than screen height. #4537
- Added less variables of TimePicker and Spin.
- Replaced arrows of DatePicker year panel by year text. #4415
- Fixed TypeScript definites of AutoComplete and Form
[options.validateTrigger]. - Improved the animation details of Spin and Progress.
- 新增社区精选组件页面。链接。
- 修复一个内容过长导致 Layout 侧边布局错位的问题。#4459
- 修复 Input.Search 输入框和图标错位的问题。#4540
- 补充了一个自定义灰底样式的 Collapse 折叠面板的例子。链接
- Table
- 调整 Carousel 为默认不可拖拽和文字可选择。
- 增加了 Breadcrumb 内嵌非 Breadcrumb.Item 元素时的警告提示。#4403
- 修复 Tooltip 在
onVisibleChange(visible)返回true时不展示的问题。#4579 - 优化 TreeSelect 内容过长时的面板高度。#4537
- 补充了 TimePicker 和 Spin 的组件样式变量。
- 用年份代替了 DatePicker 年份选择面板上的箭头。#4415
- 修复 AutoComplete 和 Form
[options.validateTrigger]的 TypeScript 定义。 - 优化 Spin、Progress 的动画细节效果。
2017-1-6
- Fix style problem for Menu dark theme. #4440
- Fix TypeScript interface definition for
Select[tokenSeparators]Modal[afterClose]Input[name]and so on. #4441 @eddhannay - Fix that
TimePicker[placeholder]cannot be set to empty string. #4446 @jialeicui - Fix style problem in DatePicker year panel. #4415
- Fix that Table loading doesn't mask Pagination. #4461
- Fix align style for
Input[prefix|suffix]. commit - Fix align style for Cascader. commit
- 修复 Menu dark theme 样式问题。#4440
- 修复
Select[tokenSeparators]Modal[afterClose]Input[name]等的 TypeScript interface 定义。#4441 @eddhannay - 修复
TimePicker[placeholder]无法置空的问题。#4446 @jialeicui - 修复 DatePicker 等年份选择面板折行问题。#4415
- 修复 Table loading 状态分页器可操作的问题。#4461
- 修复
Input[prefix|suffix]垂直对齐问题。commit - 修复 Cascader 对齐问题。commit
- Brand new color system. pull/4426
- Brand new color palattes.
- Brand new color algorithm replacing the tint/shade system.
- Change default font color.
- Add Grid playground demo. commit/ee17ab
- Add Layout component. #3534
- Input
- Support prefix and suffix. #4226 @ystarlongzi
- InputGroup support compact display mode. pull/4309
- Spin support delayed display. #4306
- Fix the dislocation problem of Pagination in low resolution. #4349
- Fix wrapping display of Dropdown.Button. pull/4355 @Morhaus
- Fix wrong background color of Cascader in disabled status. #4434
- Fix MonthPicker[monthCellContentRender] doesn't work, and some documentation errors. #4394
- Fix the extra border of ButtonGroup. #4382 @ystarlongzi
- Fix wrong background color of the Submenu(horizontal mode). #4414
- Fix overlapping graphics with Select/Cascader in Form.Item with hasFeedback. #4431 @JesperWe
- Reset border-radius of the first row in Table without header. #4373
- Improve the drag performance of Tree. #4371
- Improve official website and documentation, fix some bugs.
- Update rc-form to support nested style of getFieldDecorator[id].
- 采用全新的色彩系统。pull/4426
- 全新的调色板系统
- 使用新的算法函数代替 shade,tint
- 调整默认文字颜色
- 增加 Grid 栅格配置器示例。commit/ee17ab
- 增加 Layout 布局组件。#3534
- Input
- 增加 prefix 和 suffix 属性,支持前后缀配置。#4226 @ystarlongzi
- InputGroup 增加 compact 属性,支持紧凑型展示。pull/4309
- Spin 增加延迟显示属性 delay。#4306
- 修复 Pagination 在低分辨率下的错位问题。#4349
- 修复 Dropdown.Button 换行的问题。pull/4355 @Morhaus
- 修复 Cascader disabled 状态底色的问题。#4434
- 修复 MonthPicker monthCellContentRender 属性无效的问题,并修正了错误的文档。#4394
- 修复 ButtonGroup 存在多余蓝色边框的问题。#4382 @ystarlongzi
- 修复 Menu horizontal 模式子菜单选择项背景色错误的问题。#4414
- 修复配置了 hasFeedback 的 Select/Cascader 下拉箭头被遮盖的问题。#4431 @JesperWe
- Table 没有 header 时,第一行改为非圆角。#4373
- 优化 Tree 的拖拽效果。#4371
- 进行了一些文档或示例优化、文档错误修正以及网站样式问题修复。
- 升级 rc-form 底层依赖,getFieldDecorator 的 id 支持嵌套式写法。
2.5.3
- 支持 TypeScript@2.1。#4208
- 修正了 Tabs 嵌套时的样式问题。 #4317
- 修正了 Radio 在当前项选中时,再次点击仍会触发 onChange 的问题。 #4242 @ystarlongzi
- 修正了 Form 多列栅格式的表单排列方式布局异常。 #4271
- 修正了 Menu 竖直方向的当前选择项的背景问题。#4253
- 优化了 Dropdown 的
onVisibleChange回调参数 Type 类型。#4236 - 优化了 Cascader 的
onChange回调参数的 Type 类型。#4231 - 优化了 Datepicker[showTime] 的默认宽度 b912f1c
- Supports TypeScript@2.1. #4208
- Fix style issue resulting in nested Tabs. #4317
- Fix
onChangecallback issue resulting in Radio. #4242 @ystarlongzi - Fix a FormItem mis-aligin bug。 #4271
- Fix background issue resulting in selected element of veritcal Menu.#4253
- Improve arguments type of
onVisibleChangecallback of Dropdown.#4236 @bang88 - Improve first argument type of
onChangecallback of Cascader.#4231 @bang88 - Improve default width of Datepicker[showTime]. b912f1c
- Improve selected item style of Menu.
- Fix issue resulting in Mention not responses
onFocusandonBlur. #4163 - Fix issue resulting in there is a redundant shadow between
disabledandcheckedRadio. #4114 @jdz321 - Fix error when setting Momment
defaultValueorvalueon RangePicker, TimePicker, Calendar. #4147 - Fix issue resulting in Affix disappears when it's uesed in animated Tabs. #3943
- Fix issue resulting in Cascader passes different
selectedOptionstoonChangewhen manually selecting and selecting by search. #4096 - Fix issue resulting in Tabs get offset, when too many tabs are opening. #3637
- Table
- Align text of grouped parent header to center.
- Fix issue resulting in
filterDropdownVisiblecan't be set correctly. #4162
- 优化 Menu 已选择项的样式。 - 修复 Mention 不能响应 `onFocus` 和 `onBlur` 的问题。[#4163](https://github.com/ant-design/ant-design/issues/4163) - 修复 `disabled` 和 `checked` 的 Radio 之间会多一条阴影的问题。[#4114](https://github.com/ant-design/ant-design/pull/4114) @jdz321 - 修复 RangePicker、TimePicker、Calendar 设置 Moment 的 `defaultValue` 和 `value` 时也会报错的问题。[#4147](https://github.com/ant-design/ant-design/issues/4147) - 修复 Affix 在开启动画的 Tabs 里使用时会消失的问题。[#3943](https://github.com/ant-design/ant-design/issues/3943) - 修复 Cascader 手动选择和搜索选择时 `onChange` 接收到的 `selectedOptions` 不同的问题。[#4096](https://github.com/ant-design/ant-design/issues/4096) - 修复 Tabs 页增加到一定数量时会产生偏移的问题。[#3637](https://github.com/ant-design/ant-design/issues/3637) - Table - 居中对齐表头分组的父表头。 - 修正设置 filterDropdownVisible 时不生效的问题。[#4162](https://github.com/ant-design/ant-design/issues/4162)
- Improve website experience on mobile devices.
- Add some migrate warnings for
1.xto2.x. - ToolTip, Popover, Popconfirm support to wrap text node and multiple node directly now. #3924
- Anchor
- Table
- Fix a misplace bug when using Popover over
Input[type="textarea"]. #4092 - Fix Popconfirm
visibleis not-working problem. #4068 - Fix TimePicker can not override width by
style.width. - Unify Steps icon size. #3817
- Fix style details of Form, Button, Slider, Table.
- 提升网站首页在移动端访问的体验。
- 补充从
1.x升级到2.x时的组件改动警告提示。#4028 - 现在 ToolTip、Popover、Popconfirm 支持直接包裹文本节点和多个节点。#3924
- Anchor
- Table
- 修复在
Input[type="textarea"]上使用 Popover 定位错误问题。#4092 - 修复 Popconfirm 的
visible属性失效的问题。#4068 - 修复 TimePicker 无法设置
style.width的问题。 - 修复 Steps 自定义图标和默认图标大小不一致的问题。#3817
- 修复 Form、Button、Slider、Table 等组件的一些样式细节
2016-11-25
- Change the default theme to Alipay style and improve lots of style details.
- Supports server-side rendering. (
Mentionwill throw warning for draft-js' issue) - Introduce Jest Snapshot to test the structure of components and SSR issues.
- Improve official website and documentation.
- Add document for customizing theme.
- Add Sketch template files.
LocaleProvidersupports Brazilian. #4004 @nathantn- DatePicker
- Add and update some icons. #3977
- New component
Input.Search. demo - Mention onSelect event will get complete record. #3867
- Pagination can get current range. demo
- Table
- Upload
- Fix that children could not be
null. - Fix logic of preview. commit
- Fix that children could not be
- Fix
z-indexof Badge. #3898 - Fix alignment of multi-line Checkbox. #3971 @flashback313
- Fix alignment of InputNumber while using with other form controls. #3866(comment)
- Fix style of
Menu.Divider. #3813 - Fix that Popover should support Checkbox and Radio as children. #3455
- Fix height of
Select[combobox]. #3855 - Fix style of actived Switch. #3838
- Fix that Transfer doesn't show "Not Found" while there is no search result. #3996
- Fix style of placeholder of TreeSelect. #3841
- Fix compile errors in TypeScript. #3969 @AlbertZheng
- Fix that feedback icon should not affect users' operation. #3891
- 默认主题风格修改为支付宝钱包风格,及大量样式优化。
- 支持服务端渲染。(Mention 会因为 draft-js 的问题有 warning)
- 引入 Jest Snapshot 测试组件结构及服务端渲染问题。
- 官网及文档优化。
- 新增自定义主题的 文档。
- 新增 Sketch 资源文件。
- LocaleProvider 新增巴西语支持。#4004 @nathantn
- DatePicker
- 新增并优化部分 Icon。#3977
- 新增 Input.Search 控件。demo
- Mention onSelect 事件现在可以获取完整的数据。#3867
- Pagination 现在支持展示当前页的索引范围。demo
- Table
- Upload
- 修复 children 不能为
null的问题。 - 修复预览逻辑的问题。commit
- 修复 children 不能为
- 修复 Badge 会覆盖其他组件的问题。#3898
- 修复多行 Checkbox 样式不对齐的问题。#3971 @flashback313
- 修复 InputNumber 与其它表单控件不对齐的问题。#3866(comment)
- 修复
Menu.Divider样式问题。#3813 - 修复 Popover 直接内嵌 Checkbox 和 Radio 无效的问题。#3455
- 修复 Select combobox 高度异常问题。#3855
- 修复 Switch actived 后的样式问题。#3838
- 修复 Transfer 搜索无结果时不展示 “Not Found” 提示的问题。#3996
- 修复 TreeSelect 占位符的样式问题。#3841
- 修复 TypeScript 编译报错的问题。#3969 @AlbertZheng
- 修复表单反馈图标影响用户操作的问题。#3891
- Fix
2.4.0missing index files.
- 修复
2.4.0组件 index 文件丢失的问题。
- 调整了组件的导航结构。
- 新增 Anchor 锚点组件。
- 整理了样式变量,修复
@font-size-base和@text-color在部分组件无效的问题,新增@font-size-lg@text-color-secondary,并移除了部分无用的变量。 Transfer组件新增了受控属性selectedKeys。#3729Tag新增选中状态。- 修复
Dropdown.Button不支持visible和onVisibleChange的问题。#3779 - 修复
DatePicker[showTime]``的此刻` 按钮。#3748 - 修复
Steps竖直方向的样式。#3760 - 修复
Spin组件在 IE10+ 的样式问题。#3755 - 修复
Mention组件的 focus 逻辑. #3801 - 修复
Progress组件的动画问题。#3784 - 修复
Select搜索时的丢失焦点问题。#3778 - 修复
TimePicker不支持format="HH"等格式的问题。#3793 - 修复
Input的suffix部分区域中鼠标事件无法响应的问题。#3714 - 优化了
Table选择的性能。#3757 - 优化
Carousel的默认样式。 - 优化
Checkbox和Radio的样式。#3590 - 修复
DatePicker、Form、Table等组件的样式细节。
- Adjust components structure.
- New Anchor Component.
- Fix less variables
@font-size-baseand@text-color, add@font-size-lg@text-color-secondary. - Add new props
selectedKeysforTransfercomponent [#3729]. (https://github.com/ant-design/ant-design/issues/3729) - Add
Tagselected status. - Fix
Dropdown.Buttonnot supportvisibleandonVisibleChange. #3779 - Fix
Nowbutton ofDatePicker[showTime]. #3748 - Fix style of
Stepsin vertical mode. #3760 - Fix style compatibility of
Spinin IE10+.#3755 - Fix default style of
Carouselcomponent. - Fix focus logic of
Mentioncomponent. #3801 - Fix animate bug of
Progresscomponent. #3784 - Fix focus bug of
Selectcomponent. #3778 - Fix
TimePickernot supportformat="HH"bug. #3793 - Fix
Inputsuffixmouse event responsive area. #3714 - Improve perfermance of
Tableselection. #3757 - Improve Carousel default UI style.
- Improve style of
CheckboxandRadio. #3590 - Fix style of DatePickek, Form, Table.
2016-11-09
- Fix dead loop while using
getFieldProps.
- 修复使用
getFieldProps会导致死循环的问题。
2016-11-07
- Add missing
dist/antd.cssback.
- 修正上个版本缺少 `dist/antd.css` 的问题。
2016-11-06
- Upgrade normalize.css to 5.0.
- Point main file to
lib/index.jsin package.json. #3397 - A brand new
Spindesign. - Add
addonforTimePickerto allow render some addon to its bottom. - Add
onDragEndforTree. - Add
borderedforCollapse. - Improve
Tabsswitch animation. - Improve
RadioandCheckboxstyle when it's disabled and mouse hovered. #3590 - Opitimize
Transferperformance.#2860 - Fix nested
Popoverstyle issue. #3448 - Fix issue resulting in server side render
Transferfailed. #3686 - Fix issue resulting in preview image not display when
Uploadinpicture-cardmode. #3706 @denzw - DatePicker
onChangewill be triggered whenDatePickerinshowTimemode on blur now.- Add
monthCellContentRenderandcellContentRenderforMonthPicker. Rangepickercan input time manually now.#3718- Add czech locale/translations.
- Badge
- Mention
- Tag
- Radio.Group
- Add
className。 nullorundefinedchildrenwill be ignored.
- Add
- Select
- 升级 normalize.css 到 5.0。 - package.json 的 main 换成了 `lib/index.js`。[#3397](https://github.com/ant-design/ant-design/pull/3397) - 全新的 `Spin` 设计。 - `TimePicker` 新增了 `addon` 以支持自定义的附加内容。 - `Tree` 新增了 `onDragEnd`。 - `Collapse` 新增了 `bordered`。 - 优化 `Tabs` 切换时的动画效果。 - 优化 `Radio` 和 `Checkbox` 在禁用和鼠标停留时的样式。[#3590](https://github.com/ant-design/ant-design/issues/3590) - 优化 `Transfer` 的性能。[#2860](https://github.com/ant-design/ant-design/issues/2860) - 修复 `Popover` 嵌套时的样式问题。[#3448](https://github.com/ant-design/ant-design/issues/3448) - 修复 `Transfer` 服务端渲染报错的问题。[#3686](https://github.com/ant-design/ant-design/issues/3686) - 修复 `Upload` `picture-card` 模式下新上传的图片不显示预览的问题。[#3706](https://github.com/ant-design/ant-design/pull/3706) [@denzw](https://github.com/denzw) - DatePicker - 在 `showTime` 模式下现在失去焦点也会触发 `onChange`。 - `MonthPicker` 增加了 `monthCellContentRender` 和 `cellContentRender`。 - `RangePicker` 现在可以手动输入时间了。[#3718](https://github.com/ant-design/ant-design/issues/3718) - 新增了捷克语的翻译。 - Badge - 优化鼠标停留时超过 99 的数字显示。[#3645](https://github.com/ant-design/ant-design/issues/3645) - 修复单独使用时会有移动动画的问题。[#3709](https://github.com/ant-design/ant-design/issues/3709) - Mention - 修复会被 `Table` 遮住的问题。[#3588](https://github.com/ant-design/ant-design/issues/3588) - 新增 `getSuggestionContainer` 来指定容器。[#3658](https://github.com/ant-design/ant-design/pull/3658) - Tag - 废弃 `color` 属性。[#3560](https://github.com/ant-design/ant-design/issues/3560) - 新增 `type`。[#3560](https://github.com/ant-design/ant-design/issues/3560) - 新增 `checkable`。[#3560](https://github.com/ant-design/ant-design/issues/3560) - Radio.Group - 新增 `className`。 - `children` 为 `null` 或 `undefined` 时现在会被忽略。 - Select - 新增 `tokenSeparators` 支持粘贴时自动分词。[#2071](https://github.com/ant-design/ant-design/issues/2071) - 新增 `onFocus` 回调。[#3587](https://github.com/ant-design/ant-design/issues/3587) - 修复 `combobox` 模式下选中项不能正确显示的问题。[#3401](https://github.com/ant-design/ant-design/issues/3401)
2016-10-28
- Supports TypeScript@2.0. @AlbertZheng #3358
- Not rely on specific version of React now. #3627
- Alert supports
classNamestyle. - DatePicker & MonthPicker & RangePicker allow developers to set whether to show the clear button. #3618
- Form.Item can generate
validateStatus&helpfor nested form control automatically. #3212 - RangePicker can set some hours or minutes or seconds to be not selectable. #
- Switch
- The width of Switch will resize automatically, according to
checkedChildren/unCheckedChildren. #3380 - Improve the switch animation.
- The width of Switch will resize automatically, according to
- Upload can customized request now. @edgji
- Icon
- New icons
bulbselectlike-odislike-o. - Adjust existing icons
loadinglikedislike.
- New icons
- Improve the TypeScript definition of Card & DatePicker & Icon & Table. @infeng 3468 #3603 #3531
- Fix Cascader
defaultValueshould work. #3470 - Fix the alignment of Button & Input & DatePicker & Select. #3481
- DatePicker
- Fix wrong timing of triggering
onChangewhileDatePicker[showTime]is set. #3523
- Fix wrong timing of triggering
- Fix
Dropdown.Button[disabled]doesn't works for behaviour. #3535 - Menu
- Fix loading status animation for message.#3536
- Form
- Should not limit the min width of Popover while
Popover[title]is not set. - Table
- Tabs
- Height of header of
Tabs[type="card|editable-card"]should follow design. - Fix height of TabPane should follow height of its content. #3304
- Height of header of
- Fix style of
TreeSelect[showSearch]. #3520
- 支持 TypeScript@2.0。@AlbertZheng #3358
- 不再强依赖于 React 特定版本。#3627
- Alert 支持
classNamestyle属性。 - DatePicker MonthPicker RangePicker 现在允许设置是否显示清除按钮。#3618
- Form.Item 现在可以感知深层嵌套的表单域,以自动为其生成错误信息和状态。#3212
- RangePicker 现在可以设置不可选的时间。#
- Switch
- 宽度现在会随着
checkedChildren/unCheckedChildren自动调整。#3380 - 优化切换动画。
- 宽度现在会随着
- Upload 现在可以 自定义上传方式。@edgji
- Icon
- 新增
bulbselectlike-odislike-o。 - 调整
loadinglikedislike。
- 新增
- 优化 Card DatePicker Icon Table 的 TypeScript 定义。@infeng 3468 #3603 #3531
- 修复 Cascader
defaultValue失效的问题。#3470 - 修复在一行内同时使用 Button Input DatePicker Select 时对齐的问题。#3481
- DatePicker
- 修复设置
DatePicker[showTime]后onChange事件触发时机问题。#3523
- 修复设置
- 修复 Dropdown.Button disabled 后仍然响应操作的问题。#3535
- Menu
- 修复 message 加载状态无动画的问题。#3536
- Form
- 当
Popover[title]没有设置时,不再限制 Popover 的最小宽度。 - Table
- Tabs
- 修复卡片叶签头部高度与设计稿不一致的问题。
- 修复 TabPane 的高度会被同级 TabPane 撑高的问题。#3304
- 修复
TreeSelect[showSearch]样式问题。#3520
2016-10-16
- Supports spinning Icon.
- Tabs's switch animation could be disabled now. #3324
- Add Spanish localization for LocaleProvider. @Danjavia
- Update Russian localization for LocaleProvider. @plandem
- Add
onSelectevent for AutoComplete. - Improve style of Modal.
- Improve animation of Tooltip.
- Improve style of Transfer's buttons.
- Improve style of Tree.
- Fix some less variables.
- Fix errors while import the whole antd in SSR.
- Fix errors while render Affix and BackTop on server. #3283 #3343
- Fix conflicts between Cascader search mode and browser's autocomplete behaviour. #3350
- Fix bug that
h3cannot be the value of Card[title]. #3388 - DatePicker
- Fix overflow issue for Form.Item label.
- Fix that Icon should not show border in Safari.
- Fix infinite loop while inc/dec InputNubmer with keyboard. #3239
- Fix the style of the arrow of Popover.
- Fix bug Popover and Popconfirm
arrowPointAtCenterdoesn't work. - Select
- Fix style conflicts while use
border&title&footerof Table at the same time. #3301 - Fix that the height of TabPane doesn't follow height of content. #3377
- Fix bug Transfer[titles] is not under the control of LocaleProvider. #3264
- Upload
- Fix bug that moment locales is not found while built. #3204 #3411
- Icon 现在支持旋转动画。
- Tabs 现在可以禁用切换动画。
- 新增西班牙语的 localization 支持。@Danjavia
- 更新俄语的 localization 文案。@plandem
- 新增 AutoComplete[onSelect] 回调。
- 优化 Modal 样式细节。
- 优化 Tooltip 动画。
- 优化 Transfer 按钮的样式。
- 优化 Tree 的样式细节。
- 整理和修复了部分 less 变量。
- 修复服务端渲染时全量引入 antd 报错的问题。
- 修复 Affix 与 BackTop 的服务端渲染问题。#3283 #3343
- 修复 Card[title] 内无法使用
h3之类的标签的问题。#3388 - 修复 Cascader 搜索模式与浏览器自动完成有冲突的问题。#3350
- DatePicker
- 修复 Form.Item 标签文案过长溢出的问题。
- 修复 Icon 在 Safari 下会出现边框的问题。
- 修复 InputNubmer 键盘事件死循环问题。#3239
- 修复 Popover 箭头样式问题。
- 修复 Popover 和 Popconfirm 的
arrowPointAtCenter无效的问题。 - Select
- 修复 Table 边框线与页头页脚冲突的问题。#3301
- 修复 TabPane 高度不随内容变化的问题。#3377
- 修复 Transfer[titles] 不受 LocaleProvider 控制的问题。
- Upload
- 修复项目构建时 moment locales 找不到的问题。#3204 #3411
2016-10-01
- Fix developers cannot call methods of react-slick. #3164
- Fix Steps.Step[icon] should support React.ReactNode. #3159
- Fix server-side render for Affix. #3216
- Fix Mention should supoort
onSelectplaceholder. #3236 #3226 - Fix Transfer cannot work with
getFieldDecorator. - Fix LocaleProvider doesn't work for time-related components.
- Fix Cascader doesn't show search text in search mode.
- Fix the animation & text Spin should be placed in vertical middle.
- Fix styles of RangePicker Modal Tag Progress.
- 修复无法调用 react-slick 方法的问题。#3164
- 修复 Steps.Step[icon] 不支持 React.ReactNode 的问题。#3159
- 修复 Affix 不支持服务端渲染的问题。#3216
- 修复 Mention 不支持
onSelectplaceholder的问题。#3236 #3226 - 修复 Transfer 与
getFieldDecorator一起使用时的报错问题。 - 修复 LocaleProvider 对时间组件无效的问题。
- 修复 Cascader 搜索模式搜索文字显示不了的问题。
- 修复 Spin 动画与文案整体不垂直居中的问题。
- 修复 RangePicker Modal Tag Progress 等组件样式问题。
2016-09-28
After four months, antd@2.0.0 is published. We had refactored code and improve functionalities and details of existing components. What's more, we provide English version of the documentation. The antd community help us a lot in developing antd@2.0.0.
If you meet any problem while you try to upgrade from antd@1.0.0, feel free to create issues on GitHub.
2.x Major changes
- Refactor components with TypeScript, and provide
.d.tsfiles which are officially supported. Thanks to all the developers that contributed to #1846 and @infeng. - Translate the documentation into English, and we are going to provide both of Chinese and English versions of the documentation in the future. Thanks to all the translators and reviewers that contributed to #1471.
- DatePicker, TimePicker, Calendar and other components that are designed to select time are refactored to replace gregorian-calendar with moment.
- All the icons are re-designed.
- New component Mention.
- New component AutoComplete.
- The
getFieldPropsof Form is replaced withgetFieldDecoratorwhich will warn developers if they make mistakes. Related discussion #1533. - Table supports grouping columns. @yesmeck
- Removed components and features which are deprecated in
antd@1.x, such as QueueAnim, Validation, Form.ValueMixin, Progress.Line, Progress.Circle, Popover[overlay] and Slider[marks] will not support array any more.
2.x Breaking changes
There are some breaking changes in antd@2.0.0, and you need to modify your code to work with it.
-
valueanddefaultValueof all the time-related components will not support typeString/Date, please use moment:- <TimePicker defaultValue="12:08:23" /> + <TimePicker defaultValue={moment('12:08:23', 'HH:mm:ss')} /> - <DatePicker defaultValue="2015/01/01" /> + <DatePicker defaultValue={moment('2015/01/01', 'YYYY/MM/DD')} /> - <Calendar defaultValue={new Date('2010-10-10')} /> + <Calendar defaultValue={moment('2010-10-10', 'YYYY-MM-DD')} /> -
Parameters of type
Date/GregorianCalendarof functions such asonChangeandonPanelChange, plus other callback functions had been changed to type moment. Please consult APIs of gregorian-calendar and APIs of moment, and update your code accordingly. And you can consult this commit to see how to update.Because the return value of
JSON.stringy(date: moment)will lost time zone, we should use.formatto convert date to string first, see related issue #3082 for details:handleSubmit() { const values = this.props.form.getFieldsValue(); values.date = values.date.format('YYYY-MM-DD HH:mm:ss'); // or other format const data = JSON.stringify(values); // send data to server } -
For the value of time-related components becomes an instance of
moment, you should replacetype: 'date'withtype: 'object'in form validation. -
The
formatof time-related components is changed from gregorian-calendar-format to moment format now, for instance the formatyyyy-MM-ddshould change toYYYY-MM-DD. -
linkRenderandnameRenderof Breadcrumb are removed, please useitemRender. -
onCloseandonOpenof Menu are removed, please useonOpenChange. As being totally different, please check this demo first. -
Paging columns of Table were removed, please use fixed columns.
-
Popover[overlay]is removed, please usePopover[content]instead.
The following change will throw some warnings in the console and it will still work, but we recommend to update your code.
-
getFieldPropsof Form is deprecated, please usegetFieldDecorator:- <Input placeholder="text" {...getFieldProps('userName', { ... })} /> + {getFieldDecorator('userName', { ... })( + <Input placeholder="text" /> + )}Look up to #1533 for related discussion.
-
toggleOpenof DatePicker is deprecated, please useonOpenChange:- handleToggleOpen({ open }) { + handleOpenChange(open) { ... }
2.x Bug fixes
- Dropdown.Button[disabled] should work. #3070
option.withRefof Form.create should work. #2843- Fix slow response of expanding sub menu in Menu[inline] mode. #2701
- The button of Modal.confirm(and so on) should not be clickable while it is closed asynchronously. #2684
formatof DatePicker[showTime] should work. #3123- Fix Table[dataSource] treat key whose value is
0as inexisting. #3166 @noonnightstorm - Tree.Node should not show arrow if it has no child nodes. #2616
- Fix cursor style of arrows that are hidden of Tree.Node. #2748
2.x Other improvements
- Alert supports
bannermode. - BackTop will scroll to top with animation.
- Badge supports status dot mode.
- Cascader supports searching options directly.
- Checkbox supports indeterminate mode.
- Form supports vertical layout.
- InputNumber supports long press to increase/decrease number. #
- notification supports customized icon.
- Spin allows customized tips and animation work together. @jerrybendy
- Transfer can handle event while options are checked/unchecked. #
- Transfer can determine whether an option is checkable.
- Improve style of Alert and notification.
- Modal.confirm(and so on) can be closed by keyboard. @Dafrok
- Improve the user experience of selecting time in DatePicker.
- Improve the status changed animation of Spin.
- Update font-family.
2.x Workflow
-
AntD Library a collection of Axure files which includes components and patterns that follow Ant Design Specification.
-
Rename
babel-plugin-antdtobabel-plugin-import, and this means thatbabel-plugin-importbecomes an common load-on-demand solution and not just forantd.Please update
package.json:{ "devDependencies": { - "babel-plugin-antd": "^0.x.x", + "babel-plugin-import": "^1.0.0", } }And update your babel config in
.babelrcor other place:{ - "plugins": [["antd", { style: "css" }]] + "plugins": [["import", { libraryName: "antd", style: "css" }]] } -
dva@1.0.0 is published and it is officially recommended framework in real world.
-
The officially recommended scaffold is dva-cli now, the old
antd-initis just for studying and demo.
很高兴的通知各位,经过四个月时间的紧密开发,antd@2.0.0 终于发布了。这个版本我们重构了底层代码,持续完善现有组件功能和优化细节,并提供了英文版的文档,其中很多都来自社区的贡献,无法一一感谢,欢迎各位持续关注和鞭策。在升级过程中遇到任何问题,请及时 反馈给我们。
2.x 主要变化
- 开发语言改为 TypeScript,提供 官方支持的
.d.ts文件,感谢 #1846 中所有参与到这次重构的人以及后期 @infeng 对其的完善。 - 新增英文文档, 以后将同时提供中英双语文档,感谢 #1471 里所有参与到翻译和审阅工作中的人。
- 时间类组件 DatePicker、TimePicker、Calendar 等的底层 使用 moment 替换 gregorian-calendar。
- 全新设计的 图标。
- 新增提及组件 Mention。
- 新增自动完成组件 AutoComplete。
- Form 新增
getFieldDecorator作为getFieldProps的替代,对于不正确的使用方式getFieldDecorator会给出提示,可以降低踩坑的概率。相关讨论见 #1533。 - Table 支持 表头分组。@yesmeck
- 完全移除
antd@1.x中已经废弃的 QueueAnim、Validation、Form.ValueMixin、Progress.Line、Progress.Circle、Popover[overlay] 及 Slider[marks] 对数组的支持。
2.x 不兼容改动
此版本有部分不兼容的改动,升级时确保修改相应的使用代码。
-
时间类组件的
value和defaultValue不再支持String/Date类型,请使用 moment。- <TimePicker defaultValue="12:08:23" /> + <TimePicker defaultValue={moment('12:08:23', 'HH:mm:ss')} /> - <DatePicker defaultValue="2015/01/01" /> + <DatePicker defaultValue={moment('2015/01/01', 'YYYY/MM/DD')} /> - <Calendar defaultValue={new Date('2010-10-10')} /> + <Calendar defaultValue={moment('2010-10-10', 'YYYY-MM-DD')} /> -
时间类组件的
onChange和onPanelChange及其他回调函数中为Date/GregorianCalendar类型的参数,均修改为 moment 类型,两者 API 有所不同,但功能基本一致,请对照 moment 的 API 文档 和 gregorian-calendar 的文档 进行修改。你也可以参考这个 commit 来进行修改。由于
JSON.stringy(date: moment)返回的值会丢失时区设置,所以要先使用.format把日期转成字符串,相关 issue 见 #3082:handleSubmit() { const values = this.props.form.getFieldsValue(); values.date = values.date.format('YYYY-MM-DD HH:mm:ss'); // 或其它格式 const data = JSON.stringify(values); // 发送 data 到服务器 } -
时间类组件与表单校验一起使用时,
type: 'date'改为type: 'object'。 -
时间类组件的
format属性也发生了变化,从 gregorian-calendar-format 的格式 变化为与 moment 的格式,例如原来的yyyy-MM-dd将变为YYYY-MM-DD。 -
Breadcrumb 移除
linkRender和nameRender,请使用itemRender。 -
Menu 移除
onCloseonOpen,请使用onOpenChange。API 差异较大,请先研究 demo。 -
Table 移除列分页功能,请使用 固定列。
-
Popover 移除
overlay,请使用content。
以下变化升级后旧代码仍然能正常运行,但是控制台会出现警告提示,建议按提示进行修改。
-
Form 废弃
getFieldProps,请使用getFieldDecorator:- <Input placeholder="text" {...getFieldProps('userName', { ... })} /> + {getFieldDecorator('userName', { ... })( + <Input placeholder="text" /> + )}相关讨论可以看 #1533。
-
DatePicker 废弃
toggleOpen,请使用onOpenChange:- handleToggleOpen({ open }) { + handleOpenChange(open) { ... }
2.x Bug 修复
- 修复 Dropdown.Button
disabled属性无效的问题。#3070 - 修复 Form.create
withRef选项失效的问题。#2843 - 修复 Menu inline 模式下子菜单展开的问题。#2701
- 修复 Modal.confirm 之类的弹窗在异步调用时按钮仍可点击的问题。#2684
- 修复 DatePicker[showTime] 参数中的
format失效的问题。#3123 - 修复 Table[dataSource] 中的项的 key 为
0时识别错误的问题。#3166 @noonnightstorm - 修复 Tree.Node 无子节点时仍然显示箭头的问题。#2616
- 修复 Tree.Node 箭头隐藏后鼠标 hover 上去光标仍会发生变化的问题。#2748
2.x 其他改进
- Alert 新增
banner模式。 - BackTop 增加回到顶部的动画效果。
- Badge 新增 状态点模式。
- Cascader 新增 搜索功能。
- Checkbox 新增 indeterminate 状态。
- Form 新增 垂直布局。
- InputNumber 现在支持长按。#
- notification 支持 自定义 icon。
- Spin 现在允许 自定义文案与动画共存。@jerrybendy
- Transfer 现在可以监听用户选择了哪些选项。#
- Transfer 现在可以定义哪些选项是 不可选择的。
- 优化 Alert 和 notification 的样式。
- 优化 Modal.confirm 之类的弹窗的键盘交互。@Dafrok
- 优化 DatePicker 的时间选择 交互。
- 优化 Spin 状态切换 时的效果。
- 更新 font-family。
2.x 相关工具发布
-
新增配套网站 AntD Library,提供遵循 Ant Design 设计规范的组件、模式等的 Axure 资源。
-
babel-plugin-antd更名为 babel-plugin-import,标志着该插件将作为一个通用的按需加载方案存在,而不再是antd专有。请更新
package.json:{ "devDependencies": { - "babel-plugin-antd": "^0.x.x", + "babel-plugin-import": "^1.0.0", } }同时更新
.babelrc或你在其它地方对其的配置:{ - "plugins": [["antd", { style: "css" }]] + "plugins": [["import", { libraryName: "antd", style: "css" }]] } -
脚手架工具推荐使用 dva-cli,原来的
antd-init以后仅会用于学习以及 demo。
2016-11-24
- Fix that Upload doesn't work without children.
- 修复 Upload 的 children 不能为
null的问题。
TooltipPopoverPopconfirm修正默认对齐方式为边缘对齐,增加 arrowPointAtCenter 属性用于箭头指向中心的行为。commit 977e2e3TableInputNumber样式问题修复。#2876- 修复手动导入 less 文件时 input error 样式被 focus 样式覆盖的问题。#2916
- index.d.ts 中补充了一些缺失的声明,修复
Form中 typescript 语法检查报错的问题。#2885 - 升级 react-slick 依赖到
0.13。
- Transfer 修复在火狐下 item 文案过长时只显示省略号的问题。#2674
- Input 修复
autosize模式下特定场景中不能输入中文及光标定位不准的问题。#2666 #2239 - Tabs 修复
type="editable-card"模式下的children解析问题。#2658 - Radio 修复若干 less 硬编码问题。#2424
- Upload 的 rc-upload 依赖升级至 2.x,引入的变化有:
- Table
- Popover 修复设定
getTooltipContainer后会导致内嵌 DatePicker 样式失效的问题。#2675 - Modal 修复重复卸载组件导致的报错。#2688
- 升级 rc-slider 组件依赖。
友情提示 Ant Design Mobile 已经发布。
- Table
- Form 现在不再需要显式传递
form={this.props.form}。 - 优化 Breadcrumb.Item 的 hover 效果。
- 优化 Progress 的动画效果。
- DatePicker
- 优化清除按钮样式。
- 修复点击
此刻时不触发onChange的问题。#1902
- Menu
- 修复子菜单中的 Item 被选中后,父级元素无样式变化的问题。#2414
- 修复 Menu.Item disabled 后的样式问题。
- TreeSelect
- 修复了 Select 组件 placeholder 溢出的问题。#2480
- 修复 Timeline.Item 无法自定义边框颜色的问题。#2479
- 修复 Spin 显示突兀的问题。#2398
- 修复 Cascader 选项文字过长导致的样式问题。#2515
- 修复 Input 的
value prop on input should not be null警告并且导致在表单中无法重置的问题。#2335 - 优化 FormItem 的布局实现,修复表单布局不支持响应式布局的问题。#2305
- 修复带时间的 DatePicker 的 onChange 触发逻辑。#2399
- 修复 Transfer 搜索后全选的问题。#2396
- 修复 Cascader 样式会被 ant-input 样式覆盖的问题。#2400
- 修复 Table 删除数据时导致当前页数溢出的问题。#2301
- 修复 resize 浏览器时 Affix 元素没有和原来的位置同步的问题。#1987
- 给 Affix 元素添加占位,修复固定时页面跳动的问题。
- 修复 Select combobox 模式会导致页面出现横向滚动条的问题。#2353
- 修复 Upload 组件已上传文件链接点击无效的问题。#2331
- 修复 Upload 上传过程中删除图片后的报错问题。#2342
- 回滚一个未完成的 DatePicker 时间选项改造效果。
- 新增置顶组件 BackTop。
- 全新的 Spin 样式。
- 给
Modal.xxx系列方法添加了{ destory }的访问值,方便事后销毁。#2110 - Table 的
rowKey属性支持直接使用字符串。#2058 - Table 增加
column.filterDropdown属性用于自定义渲染筛选菜单的浮层。#1736 - 修复 Tooltip、Popover、Popconfirm 设置
onVisibleChange后失效的问题。#2134 - 修复在 IE8 下 Checkbox 的勾样式变形的问题。#2148
- 优化 Checkbox、Radio 失效状态的文字颜色。#2114
- 优化 Checkbox、Radio 的默认边距过于拥挤的问题。#2137
- 优化 Pagination 在暗色背景下的样式。#2126
- 修复 Table 固定列时内容无法换行和高度对齐的问题,同时修复了一个 Chrome 下的表格内容错位问题。#2130
- 修复一个 Table 的
rowSelection设为 null 时可能导致报错的问题。#2127 - 修复在 IE8 下点击 Table 选择框报错的问题。#2154
- 小幅优化了 Transfer 的渲染性能。#2112
- 将 DatePicker 的清除按钮从面板上移到外部输入框,解决用户容易误解为关闭的问题。#1708
- Upload 的
onPreview现在没有file.url时也能生效。#2163
- 修复一个 TypeScript 定义文件的语法错误。
- 修复 Table 固定表头高度和滚动条样式问题。
- 升级
rc-form到 0.17,支持getFieldProps('xx.yy')的写法,并支持单多选控件进行关联。# - Input 的
addonBefore和addonAfter支持内嵌选择框。#1927 - 优化了两个 DatePicker 组成的时间范围选择演示的体验。
- 优化一个多个对话框的遮罩层高度的问题。#2009
- 优化 Table 的
getCheckboxProps的调用次数。#2086 - 修复 Table 固定列时,表头无法左右滚动的问题。#2068
- 修复小型表格固定表头的样式。#2023
- 修复 Tabs 的
tabPosition为左右时样式错位的问题。#2046 - 修复 RangePicker 的日期范围背景丢失的问题。
- 修复 Switch 失效状态下文字颜色太浅的问题。#2051
- 修复一个 Select 的
disabled选项依然可以被移除的问题。#2034 - 修复官方站点在 IE
- Transfer 组件增加
rowKey属性,可自定义数据源主键。 #1900 - Tag 组件
default类型的样式增加边框,防止淹没在背景中。 #1910 - Table
- 修复筛选为单选时仍旧展示多选框的问题。 #1880
- 修复 fixed left 的固定列会覆盖 rowSelection 的 Checkbox 的问题。 #1829
- 升级 rc-table 依赖
- 修复了 fixed 列中数据重复展示以及一些错位问题。 #1898
dataIndex支持内嵌属性的写法。 react-component/table#46
- 修复了 v1.2.0 新增加的组件属性的 TypeScript 定义。 #1933
- Form 修复 label中冒号的国际化问题,采用样式实现冒号,不再需要手动输入冒号。 #1877
- 修复 DatePicker 组件点击『此刻』失效的问题,并进行了一些代码优化。 #1902
- 升级 rc-upload 依赖,修复了 IE10 中第二次上传同一文件不触发
onChange的问题。 058af3c - 文档使用 bisheng 重构。
- 修复一个 Select 组件的文字重复问题。
- Input 组件的 文档 现在和 Form 分离。
- Affix
- Table
- 修复了当 Checkbox 的 label 为数字 0 时, label 不显示的问题 #1811
- 修复 Select combobox 模式下无法重置
optionLabelProp的问题。#1773 - 修复了 Tag 组件为 closeable 时,内部链接无法点击的问题 #1862
- Tab 组件新增
hideAdd属性,用于关闭右边的添加按钮 #1750 - 修复了一个在某些情况下找不到
normalize.css/normalize.css文件的问题。ant-design/antd-init#52 - 修复构建文件在 IE8 下报错的问题。#1804
- 更新了第三方依赖。
- Cascader 的选择框支持自定义渲染节点,并给
displayRender方法增加了selectedOptions参数。#1726 - Input.Group 新增
size属性,可设置控件尺寸。#1732 - Layout 新增常用布局:侧边导航展开收起模式。#1643
- Transfer 支持自定义渲染行数据。#1664
- Upload 的 children 为空时,不再显示上传按钮。#1610
- Table
- Modal
- 修复 Form 搜索输入框样式问题。7b7f846
- 修复 Select 获得焦点时的样式问题。#1684
- 修复 TreeSelect 占位符样式问题。#1657
- 修复了类型定义以更好地支持
TypeScript。#1696 @xujihui1985 - 优化了 LocaleProvider。a3850a4
- 其他组件的样式优化。
很高兴的通知各位,经过四个月时间的紧密开发,antd@1.0.0 终于发布了。从去年 5 月 7 日提交第一行代码以来,经过整整一年的开发迭代,antd 受到社区的大量关注,使用的公司和产品持续增加,已经日趋成熟。这个版本我们重构了底层代码和站点,持续完善现有组件功能和优化细节,其中很多都来自社区的贡献,无法一一感谢,欢迎各位持续关注和鞭策。在升级过程中遇到任何问题,请及时反馈给我们。
主要变化
- 兼容 React@15.x。
- 全新单页站点,使用 React 和 antd 进行了彻底重构,加载更快,访问更流畅。
- 样式支持按需加载。需要配合 babel-plugin-antd 插件和
style配置进行使用。#900 - 提供独立的构建文件。文档
- 新增卡片组件 Card。
- 新增评分组件 Rate。
- 新增 LocaleProvider 组件,提供组件文案的国际化支持,并新增了英语和俄语的语言配置。#1411
- 更好的服务端渲染支持,修复了 Badge、Spin、Calendar、Upload 等组件服务端渲染的问题。
- 新增 antd.d.ts 以更好的支持 TypeScript。@bang88
- 布局组件支持响应式布局和栅格间隔设置。#1082
- Table 支持固定列和横向滚动。#1265
不兼容改动
此版本有部分不兼容的改动,升级时确保修改相应的使用代码。
-
推荐使用样式按需加载, 如果需要整体载入样式,入口文件变为
antd/dist/antd.css和antd/dist/antd.less。如果你在项目中覆盖了 less 变量,less 文件的引用方式也有 相应变更。- import 'antd/lib/index.css'; // import 'antd/style/index.less'; + import 'antd/dist/antd.css'; // import 'antd/dist/antd.less'; -
完全移除了
0.12中废弃的 Validation 组件,可以直接 import rc-form-validation 用以代替。#1096 -
Breadcrumb.Item 的
href属性被移除,请直接用a标签包裹可点击的内容。 -
Modal 移除 了
align属性,现在可以使用style属性调整位置。 -
Modal.confirm等方法的配置项iconClassName重命名为iconType。 -
Select 移除了
onChange中的label参数,新增了labelInValue属性。#1695
有兼容提示的改动
这里的改动在升级后控制台会出现警告提示,请按提示进行修改。
- 废弃 QueueAnim,可以直接 import rc-queue-anim 用以代替。Ant Design 的动效方案已移至 Ant Motion,欢迎前往探索。
- Affix 的
offset属性重命名为offsetTop。 - Popover 的
overlay属性重命名为content。 - Progress.Line 使用方式改为
<Progress />或<Progress type="line" />。 - Progress.Circle 使用方式改为
<Progress type="circle" />。 - Spin 的
spining属性更正为spinning。 - Alert 的 type
warn重命名为warning。#1225 notification.warn、message.warn修改为notification.warning和message.warning。#1225- Tree 的
onExpand参数从function(node, expanded, expandedKeys)调整为function(expandedKeys, {expanded, node})。
Bug 修复
- 修复 Table 的
size为middle时,分页器大小无法控制的问题。#1396 - 修复 Table 的
pagination.defaultCurrent失效的问题。 - 修复 Cascader 的
defaultValue没有被value覆盖的问题。 - 修复 Select 同时设置
allowCleardisabled时还是会出现清除按钮的问题。#1480 - 修复 Transfer 的
DataSource变化时已选中项没有同步的问题。#1587 - 修复 DatePicker 日期格式与国际化配置不同步的问题。#1509
- 修复 Button 禁用时事件仍然会冒泡的问题。#1541
- 修复 Carousel 自动播放时的卡顿和报错问题。#1397
- 修复 Tabs 的 card 类型内嵌标准 Tabs 时的样式问题。#1617
其他改进
- 样式变量梳理,去除了部分无用的变量,另外还有大量样式细节问题修复。
- 使用 ES2016 classes 重构了代码。@waywardmonkeys
- Popover、Popconfirm 和 Tooltip 组件根据不同的弹出位置有了更精准方向的弹出动画。
- 补充 Select TreeSelect Switch Radio Checkbox 等组件的
focus表现,增强表单组件的可用性。#1358 - message 和 notification 现在可以全局配置
duration。#1143 - DatePicker 和 TimePicker 的
onChange(date, dateString)方法增加第二个参数用于获得格式化后的日期字符串。#1104 - DatePicker 和 DatePicker.RangePicker 现在可以设置内部 TimePikcer 的属性。#1415
- Checkbox
- Breadcrumb
- Modal
- 新增
Modal.warning方法。 - 弹出时背景不再跟随滚动。#1195
- 新增
- Select
- 搜索框和单选选择框合并,以优化视觉和交互效果。
- 优化多选框的选中效果。
- Spin
- Steps
- Timeline
- 新增
dot属性,可自定义时间轴点。 - 现在可以设置
className和style的问题。 color属性现在支持自定义色值。
- 新增
- Tree
- 当子节点被选中时,自动展开父节点。
- 新增
checkStrictly属性,支持父子节点选中关系脱离。
- Upload
- 在上传文件列表中的文件被删除时,将触发
onRemove事件。#1240 - 增加
onPreview支持文件的自定义预览方式。#1240 data属性支持设为一个函数,用于动态修改上传参数。react-component/upload#32
- 在上传文件列表中的文件被删除时,将触发
- Slider
marks现在支持 JSX 并可以单独设置某个标记的样式。 - Tag 的
onClose可以使用e.preventDefault()阻止默认事件。#1267 - Form.Item 在有多个 child 时也可以自动生成错误信息与校验状态,但一个 Form.Item 内仍然只能有一个表单控件。#1287
- Input 新增
onPressEnter属性监听回车事件。 - Table 现在可以通过
filteredValuesortOrder控制筛选和排序的状态。#971 - Button 增加了
icon属性。#1199 - SubMenu 增加
onTitleClick属性。 - Affix 增加
offsetBottm属性,支持固定在底部。#1000
相关工具发布
- antd-init 同步发布
1.0.0版本,享受最新 ant-tool 工具带来的流畅开发体验。 - Ant Motion 全新的动效设计解决方案。
- Ant UX 发布 1.0 版本,提供多种平台的流程素材支持。
- Form 和 Form.Item 支持 style 属性。#1290
- 修正 IE9 下没有 prefix css3 属性的问题。
- 修正 Table 中指定了 pagination.current 时依然能响应用户操作的问题。#1311
- 修正 Table 的单选模式无法用
selectedRowKeys控制的问题。#1346 - 修正 DatePicker 启用 showTime 时时区失效的问题。#1356
- 修正 Menu、Progress、Form、Table、Select、Pagination、Cascader 的样式细节问题。
- 修正 Breadcrumb 不支持 IndexRoute 的问题。#1375
- 修正 Table 的筛选菜单 filters 的 value 为数字时无法选中的问题。
- 修正 DatePicker 面板输入框的日期格式 format 和外面不一致的问题。#1403
- 更新了设计资源文件
Axure Components和Axure Box。 - 修复 Popover 和 Popconfirm 箭头消失的问题。
- 修复一个 Table 切换分页长度时的页码溢出的问题。
- 全新的设计文档
语言部分。 - 修复 Popconfirm
onConfirm和onCancel时没有触发onVisibleChange的问题。 - TreeSelect 组件补充
showCheckedStrategy属性,支持回填数据的不同展示方式。 - 补充 Modal
align属性的文档。 - 修复 Menu 弹出菜单
z-index丢失的问题。 - Progress 的默认颜色固定,不再随着主色变化。
- 优化 Button 点击动画在 Chrome 下的效果。
- 修复一个 Affix 的
z-index太低的问题。 - 修复 Table 树形数据的二级节点前无法选择的问题。#1212
- 修复 Table 修改
pageSize没有触发onChange的问题。#1206 - 修复 Table 指定
rowKey 时导致rowSelection.onChange的selectedRows` 参数为空的问题。 - 修复一个 Affix 的
z-index太低的问题。
- 修正 Table 的
rowSelect.onSelectAll的第三个参数deselectedRows为changeRows,记录每次变化的列。
- 优化 Table 本地排序在 Chrome 下的稳定性问题。
- 修正 Pagination 的 pageSize 属性为受控属性,并补充了
defaultPageSize属性。#1087 - 优化 Select 的 combobox 模式的交互体验。
- 升级 react-slick 依赖到
0.11,修复自动播放有时会失效的问题。#1009 - 修复 TreeSelect 的 allowClear 属性失效的问题。#1084
- 修复 Input 组件的 className 属性失效的问题。#1103
- 修复 Dropdown 的 onClick 属性失效的问题。#1097
- 修复多个 CheckboxGroup 选项互相影响的问题。#1101
- 修复 FormItem 的子元素为
null时报错的问题。 - 修复 Table 组件的选择功能和展开功能配合使用的问题。#1102
- 增加了一个搜索框和提示功能结合的 例子。
- 允许可编辑的 Tabs 删除最后一个页签。#1071
- Table 的
rowSelect.onSelectAll补充了第三个参数deselectedRows,rowSelect.onChange补充了第二个参数selectedRows。#1105 - 修复了部分组件样式的小问题。
- DatePicker 补充 allowClear 属性,支持单选的清空。
- 修复显示时间的 DatePicker 的清空按钮失效的问题。
- 优化 DatePicker 的
确定按钮失效样式。
- 新增 级联选择(Cascader) 组件。
- 新增 树选择控件(TreeSelect) 组件。
- Form 自身支持校验功能,废弃 Validation。演示
- Tabs
activeKey修正为受控属性。- 当前项现在会始终显示。#815
- Modal 可以配置右上关闭按钮是否显示。
- Select
- 打开选项菜单时,自动滚动到选中项。
combobox模式时,可配置是否默认选中第一项。rc-select#38
- Table
- Tag 去除
href属性,默认标签名从a改为span。 - Timeline 支持指定 pending 节点的内容。
- Tree
- 节点支持拖拽。
- 支持动态控制节点展开与否。演示
- 可以监听节点展开/关闭事件
onExpand。 onCheckonSelect参数调整。onDataLoaded改为loadData。- 新增 drag&drop 相关属性:
onDragStartonDragEnteronDragOveronDragLeaveonDrop
- 新增 TreeNode 节点属性:
disableCheckboxisLeaf
- Transfer 给
onChange增加参数。#972 - DatePicker
- TimePicker 修复一个
value为null时没有进入受控模式的问题。 - Upload
- 可以用
headers设置上传头部。 - 新增上传图片卡片样式。演示
- 可以用
- Radio
- 更换 Radio.Button 的展现样式。
- 可以设置 Radio.Button 的大小。
- Progress
- message && notification 现在可以销毁。
- Button
- 小号 Button 的圆角调整为
4px。 - 修复 Button.Group disabled 后的样式问题。#926
- 小号 Button 的圆角调整为
- BreadCrumb
- 移除
router属性,无需设置。 - 修复一个链接参数不对的问题。
- 移除
- 新增了贡献文档。
- 修复一个 DatePicker 中选择的国际化文案问题。#771
- 增加了一个高级搜索类型表单的演示。
- Dropdown 支持多级的下拉菜单。演示
- Table
- 新增
rowSelection.onChange和rowSelection.selectedRowKeys,完善选择功能。 - 更新 dataSource 时,选中项现在会被清空。
- 修复一个全选框和禁用的选择项配合的问题。
- 新增
- 修复
0.11.1版本 menu 内嵌型菜单(inline)选中后关闭的问题。 - 修复
0.11.1版本对 React 版本要求太严的问题,对应的警告提示对于0.14.x将不再出现。 - 组件和文档的样式小调整。
- 修复一个 Table 无法修改 pageSize 的问题。
- 修复一个 Table 子表格展开的对齐问题。
- 修复一个 Chrome 下部分图标左侧切边的问题。
- 修复搜索输入框在表单下使用的样式问题。#762
- 移除默认加载的样式文件,样式现在需要独立加载。
- 按钮圆角调整为
6px。 - Modal、Popconfirm、Table、TimePicker 支持国际化配置。
- 新增虚线型按钮。
- 新增 通用搜索框 样式。
- 新增图片上传列表样式演示。
- 部分设计资源开放 下载,包括 Axure 组件库和 Iconfont 字体打包文件。
- 新增 吊顶规范。
- 组件演示页面增加锚点。
- 新增穿梭框 Transfer 组件。
- 新增小尺寸的 Switch 开关组件。
- 增加更多的图标。#
- 全局微调了警告和错误状态色。
- Select
- 选中样式进行了调整。
- 在标签/多选模式下,选中或删除选项增加了动画效果。
- Alert
- 默认样式不展示图标。
- 带描述的警告框图标改为描线图标。
type="warn"图标修改。
- Dropdown 新增带菜单触发的按钮
Dropdown.Button。演示 - Menu
- 新增
Menu.ItemGroup用于把菜单项分组。 - onOpen 和 onClose 函数的参数新增了
keyPath数据,可用于制作手风琴类型的菜单。
- 新增
- Badge
- Slider
- 增加
onAfterChange事件。演示 - 现在设置
tipFormatter={null}可以隐藏Tooltip。 - 双滑块拖动体验优化,一个滑块在拖动时可以直接跨过另一滑块。
- 增加
- Breadcrumb 可以自定义分隔符。演示
- Popconfirm 添加
visible属性,使其可以控制是否显示。演示 - 修复 Icon
ref引起的报错。 - 修复 Calendar 组件无法切换年/月的问题。#757
- Checkbox 新增
Checkbox.Group,现可以方便的 生成一组选择框 - Tabs
- Timepicker
- 重命名为 TimePicker。
- 新增
value属性。 - 新增属性
disabledHoursdisabledMinutesdisabledSeconds。演示 - 移除
hourOptionsminuteOptionssecondOptions,新增hideDisabled属性用于替代。
- Datepicker
- Table
- Form
- 修复 Upload 组件在
beforeUpload返回false后依然更新上传列表问题。#757 - 工具
- 替换
antd build为 atool-build,重构并改善了 webpack 配置的自定义方式。 - 替换
antd server为 dora,一个完全插件化的开发服务器,支持代理转发和数据 Mock、atool-build、热替换。 - 新增 babel 插件 babel-plugin-antd,转换
import {Button} from 'antd'为import Button from 'antd/lib/button'。 - 发布了
antd-init@0.5.x,支持以上改动。
- 替换
2016-01-04
- 修复 Table 更新 dataSource 后,选中项没有置空的问题。#793
- 将 media-match 加入默认的 polyfill 文件中。5626974
- 修复了 MonthPicker 报错问题,并增加了相关演示。
- 修复 RadioGroup 中的 Radio/RadioButton 无法单独设置 disabled 的问题。#603
- 修复今天是不可选日期时的一个展示问题。#606
- Slider 新增
tipFormatter用于格式化 Tooltip 的内容。 - 优化 Badge 动画效果。
- 修复以下问题:
- 文本域的表单校验无法重置。
- 设置 Upload 的
multiple为true时,未显示每个文件的上传进度。 - Breadcrumb 配合 Router 的时候如果没有
breadcrumbName会抛错。 - InputNumber 同时设置
sizeclassName时会有冲突。
- 修改内部组件的引用结构,方便工具优化。#566
-
移除了演示中没有使用过的
antd.ButtonGroup,依然用const ButtonGroup = Button.Group来使用。 -
Form 和 Input 目录分离,
import { Form, Input } from 'ant/lib/form'的引用方式被废弃。现在可以
import Form from 'ant/lib/form'和import Input from 'ant/lib/input'。原有的
import { Form, Input } from 'antd'则不受影响。
-
- 修复 Datepicker 的
style和calendarStyle属性失效的问题,并将calendarStyle更名为popupStyle。
- 全面兼容
react@0.14.x。 - 新增 时间选择 Timepicker、日历 Calendar、加载中 Spin 组件。
- Button、Iconfont、Layout、Form、Input 等样式模块改造为 React 组件。
- 新增 Queue-anim 组件,更换了原来的 enter-animation。
- 全新的字体图标。
- 全面更新视觉风格,补充更多图标。#313
- 调整字体基线,告别对图标位置的特殊调节。(感谢 iconfont.cn 的鼎力支持)
- Datepicker、Dropdown、Select、Popover、Popconfirm 等浮层组件添加在空间不足的情况下自动调整位置功能。
- Popover、Tooltip、Popconfirm 组件支持 12 个方向。#312
- 优先使用苹方字体。
- 统一 size 属性的可选值为
smalldefaultlarge。 - 开始初步补充测试用例。
- 提供主色系更换的方案。#384
- 添加色彩换算工具。
- 添加布局和导航规范,以及常用布局。
- 文档支持标题和演示的锚点,方便分享文档和演示代码。
- 提供多版本的文档,在主站的右下角提供切换按钮。
- antd-bin 升级到
0.10。- 拆分出 antd-init 和 antd-build。
- 提供代理功能。
- 提供 UI 测试功能。
组件变更
- Table
- Datepicker
- 添加国际化支持。
- 添加手动输入和清除功能。
- 优化了视觉样式。
- 修复不标准的日期格式导致显示错误的问题。
- 用
onChange属性代替onSelect属性。
- Validation 修复了 对 Datepicker、Input-number、Select 的支持,并添加了相关演示。
- Carousel 的依赖 react-slick 升级到 0.9.x,相关 API 也相应更新。
- Tree 组件支持完全受控模式。#397
- Input Number
- 组件输入体验优化,现在可以键入任意字符,失焦时格式化为合法值。
- 修复不支持小数 step 的问题。#530
- Tabs 新增垂直页签功能。
- Upload 组件视觉优化,新增高级浏览器下的上传进度展示。#311
- Menu
- Dropdown 用 onClick 代替 onSelect 作为推荐的使用方式,因为原有的 onSelect 只在变化时触发。
- Slider
- Badge 当
count为 0 时不展示。 - Progress 新增
format属性,能够自定义展示的进度文案。 - Modal 新增
confirmLoading属性。 - 新增 Radio.Button 的失效样式。
- 提供 IE8 下的圆角按钮兼容方案。
antd.Notification()修正为antd.notification()。- 另有巨量样式的修复和优化。
备注:
- 添加 Pagination pageSize 发生变化的回调。#317
- 升级依赖 rc-upload 到 1.6.x,修复 IE8/9 下的兼容性问题。
- 升级依赖 rc-steps 到 1.3.x。
- 新增 current 属性,方便配置当前的步骤。#290
- 修复因滚动条影响页面宽度导致的错位问题。
- 升级依赖 rc-menu 到 1.5.x。
- 新增 onSelect 回调中返回参数 keyPath,从而支持只展开当前父级菜单的交互方式。demo
- 修复 hover 类型的弹出菜单能响应点击事件的问题。react-component/menu#14
- 修复一个 Table 的分页无法正确展示的问题。#253
- 修复一个 combobox 选择框无法选中的问题。0435ca6
- 修复 Radio.Button 在 IE 8 下不可用的问题。#321
- 适配 breadcrumb 面包屑组件和
react-router@1.0.0-rc1。 - 修复只能同时弹出一个 Modal 通知框的问题。d6a4094
- 升级依赖 rc-tooltip 到 2.8.0,增加 overlayClassName 属性。
- 部分组件交互和视觉效果修正。
- 新增 timeline 和 badge 组件。
- 优化弹出层类组件的动画效果,使其更加流畅。
- 部分文案更新。
- 优化主站在小分辨率屏幕下的样式。
- 使用 instantclick 改造主站,加载速度有明显提升。
- antd-bin 升级到 0.6.x 。
Upload
重构了 API 接口,不向下兼容,支持自定义的功能扩展。
- 新增
onChange(file) {}接口,移出原来的onSuccess、onProgess、onError等接口。 - 新增
fileList和defaultFileList属性,以满足更多的自定义功能,具体见演示。 - 设置 fileList 数组项的 url 属性可以作为链接展示在文件列表中方便下载。
- 移除内建的上传成功或失败的信息提示,业务可自行实现。
- 修正多文件选择上传时文件列表只展示一个文件的问题。
Table
- 新增可展开的 table。#258
- 新增无数据的展示样式。4c54644
- 修复本地模式
dataSource无法更新的问题。6d2dcc4 - 修复远程模式 loading 失效的问题。9b8abb2
- 用 reqwest-without-xhr2 代替了 reqwest,解决某些开发环境下 xhr2 依赖的问题。
Select
- 增加 label 属性,允许多选模式下展示标签(原来只能显示 value 值)。演示
- 修复 combobox 模式下 value 失效的问题。
Notification
- 修复不会自动消失的问题。23fce55
Steps
- 新增竖版的步骤条。
Carousel
- 修复 fade 模式下可以拖拽的问题。#212
Collapse
- 修复动画不生效的问题。
Datepicker
- 修复无法设置为空值的问题。
Modal
- 添加 通知类型 的对话框函数。
- 用
Modal.confirm()代替confirm()方法。 - 修改为需要在 onCancel 手动设置 visible 属性来关闭。
Message
- 添加 加载中类型。
Radio
- 修改 Radio.Group 容器的盒模型属性为 inline-block 。
Enter Animation
- 大幅度的重构,全新 API 的设计。
- 支持和 react-router 结合使用。
这个版本是第一个稳定版,组件经过三期迭代,基本到齐,并有大量改进和变化,不向下兼容。
- 新增九个组件
menu、upload、carousel、tree、notification、validation、affix、alert、enterAnimation。目前共有组件 34 个,基本能满足后台类项目的组件需求。 - 新增设计文档部分,包括文字、色彩、动画。
- 重新梳理了设计和 React 实现部分的关系,强调了 Ant Design 的设计属性,并更新了网站的信息结构。
- 构建工具
antd-bin升级到0.4.0版本,支持合并 webpack 配置,热替换(HMR)等特性,详见。 - 组件动画优化和补充,体验更加流畅动感。
- 排查并修复 IE 和 safari 等浏览器的兼容问题。
- 大量代码重构,演示代码补充,文档更新、以及样式上的优化。
- 小幅重构了 Table 分页,修复了手动传入分页配置导致的数据不展示的问题。
- 更新了部分文档。
- 修复本地模式下 pagination 为 false 时数据无法显示的 问题。
- 重构了 message 组件。
- 添加英文版说明文档 README-en_US.md。
- 部分代码切换至 ES6 模式。
- 修正了部分组件的样式和演示,优化部分动画。
- 修复了 Table 组件的 pagination 为 false 时分页未消失的 问题。
- select 组件选中后默认显示标签内容(原来是显示 value)。
- 修正了部分组件的样式和演示。
- 打包文件为 umd 模式。
- 第一个公开版本,发布
layout、iconfont、button、form、checkbox、radio、switch、slider、input-number、datepicker、select、tabs、steps、breadcrumb、collapse、pagination、modal、message、dropdown、popover、popconfirm、tooltip、progress、table等组件。 - 发布 Ant Design 首页 和入门文档。


