Releases: ant-design/ant-design
Releases · ant-design/ant-design
5.13.1
5.13.0
- 🔥 Form support
variant
to control components variant inside. #46573 - 🆕 QRCode support
status
adds a new scanned option. #46704 - 🆕 Table support
hidden
to set hidden columns. #46957 @madocto - 🆕 Select support the
maxCount
, which is used to set the maximum selectable value. #46667 - 🆕 Mentions support
allowClear
for setting the clearing function. #46396 @yociduo - 🆕 ColorPicker support displaying cleared status. #45993
- 🆕 Drawer adds
styles.wrapper
and discards thecontentWrapperStyle
drawerStyle
maskStyle
attributes, and simplifies the dom structure. #46858 - Tour
- Tabs
- ConfigProvider
- 🆕 ConfigProvider adds
ConfigProvider.config
to supportholderRender
formessage
modal
notification
static 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
indicatorSize
attribute and replaced it withindicator: { size: xxx }
. #46786
- 🆕 ConfigProvider adds
- 🐞 Fix the problem of Segmented content being obscured in
hover
andactive
. #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
title
did 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
contentLineHeight
series of tokens. #46936 - 🆕 Input support
inputFontSize
token. #46875 - 🆕 Menu support
darkPopupBg
token. #46618 - 🆕 Segmented support
trackPadding
andtrackBg
token. #46674 - 🐞 Fix the problem that
paddingBlock
does not take effect after customizingcontentFontSize
token in Button component. #46901 - 🐞 Fixed the issue where the InputNumber component cannot customize the
padding
token. #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
并废弃contentWrapperStyle
drawerStyle
maskStyle
属性,并简化 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 组件新增支持
inputFontSize
token。#46875 - 🆕 Menu 组件新增支持
darkPopupBg
token。#46618 - 🆕 Segmented 组件新增
trackPadding
和trackBg
token。#46674 - 🐞 修复 Button 组件定制
contentFontSize
token 后paddingBlock
不生效的问题。#46901 - 🐞 修复 InputNumber 组件无法定制
padding
token 的问题。#46878
- 🆕 Button 组件新增支持
- 🌐 国际化
5.12.8
- 🐞 Fix Upload.Dragger not align center and focus ring style. #46810
- 🐞 Fix Popconfirm config empty
okText
andcancelText
will not fallback to locale text. #46812 - 🐞 Fix Progress that line border-radius cannot be overrided. #46789
- 🐞 Fix Typography without
children
has extramargin-left
whencopyable
is true. #46748 - 🐞 Fix Typography copied icon color. #46748
5.12.7
5.12.6
- 🐞 Fix Upload accessibility issue of tabbing twicely. #46432
- 🐞 Fix Modal
footer
Button 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
ConfigProviderProps
type. #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 导出
5.12.5
5.12.4
5.12.3
- 💄 修复 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
disabled
prop should not affect download icon. #46454 - 💄 Upload.Dragger add vertical padding style. #46457
- 🐞 Fix Upload actions color issue. #46456
- 🐞 Fix Form with
getValueProps
not working with value update. #46445 - 💄 Fix Checkbox style when customize
token.lineWidth
. #46431 - 🐞 Fix Select that custom token make
padding
broken. #46427 @MadCcc - 🐞 Fix Message that token overrides not work in
cssVar
mode. #46415 @MadCcc - 💄 Fix Flex component don't apply extra style. #46404 @li-jia-nan
5.12.2
- 🐞 MISC: Fix
useId
error when webpack build with React 17. #46261 - Pagination
- 🐞 Fix Pagination throws error in legacy browsers. react-component/pagination#545
- 🐞 Fix Pagination
current
not working insimple
mode. react-component/pagination#546
- 🐞 Fix Table filter dropdown lost background color in CSS variables mode. #46314
- 🐞 Prevent interaction when Spin component enable
fullscreen
prop. #46303 @li-jia-nan - 🐞 Fix Form
hideRequiredMark
prop's priority compared with ConfigProviderform
prop. #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