antd
follows Semantic Versioning 2.0.0.
Release Schedule
- Weekly release: patch version at the end of every week for routine bugfix (anytime for urgent bugfix).
- Monthly release: minor version at the end of every month for new features.
- Major version release is not included in this schedule for breaking change and new features.
5.22.4
2024-12-09
- 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-width
mode. #51936 @aojunhao123 - 💄 MISC: Fix the icon styles were created repeatedly. #51897 @YumoImer
- 💄 MISC: Inline styles refactored to cssinjs. #51843
5.22.3
2024-12-02
- 🐞 Fix Select clear button may has incorrect position within Form.item. #51649 @dislido
- 🐞 Fix InputNumber
handleVisible
token not work as expected. #51728 @dengfuping - 🐞 Fix ColorPicker error when pass
ReactNode
to label
field of presets
property. #51808 @li-jia-nan - 🐞 Fix Menu
inlineCollapsed
property not works bug within Layout. #51775 @coderz-w - 🐞 Fix Table
onHeaderCell
provided part style
can not override. #51793 @Wxh16144 - ⌨️ Improve Collapse accessibility. #51836 @aojunhao123
- TypeScript
- 🤖 Add Table argument type for
clearFilters
function property. #51754 @fubd - 🤖 Fix Form.List with nest field will miss value with remove when set Form
preserve
to false
. #51796 @zombieJ
5.22.2
2024-11-21
- 🐞 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
rules
with same error content will cause React render warning. #51636 @zombieJ - 🐞 Refactor Button
focus
logic trigger with useEffect
to resolve some async load case not get autoFocus
. #51624 @zombieJ - 🐞 Fix Button custom icon not center-aligned. #51652 @afc163
- 🐞 Fix Table
getCheckboxProps
event handlers being overridden by internal selection logic. #51661 @Zyf665 - 🐞 Fix Tree that
onCheck
and onSelect
were not properly triggered. #51448 @Wxh16144 - 🐞 Fix vertical alignment of clear icon in Input component. #51700 @jynxio
- 🐞 Fix Select with
prefix
style issue with color, line break, status error. #51694 @zombieJ - 🌐 Localization
5.22.1
2024-11-13
- 🛠 Adjust DatePicker.RangePicker to not allow switching to the next field by clicking the input when
needConfirm
and the user has not submitted the date. #51591 @zombieJ - 🛠 Lock Input.OTP
ctrl + z
operation to avoid data not correct. #51609 @zombieJ - 🐞 Fix Select
tags
or multiple
mode display issue. #51605 @guoyunhe - 🐞 Fix Badge
count
motion missing in Safari. #51598 @zombieJ - 🐞 Fix Tabs with
centered
the tabs can not fully display. #51571 @DDDDD12138 - 🐞 Fix Transfer with controlled
dataSource
& selectedKeys
sometime miss sync checked state. #51523 @IsKaros - 🐞 Revert Button
display
inline-flex
back to inline-block
to resolve Icon align issue. #51588 @Wxh16144
5.22.0
2024-11-12
- 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
onValuesChange
is 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
- Tree
- 💄 Fix the problem of missing padding style for selected nodes in Tree. #51492 @zombieJ
- 🆕 Tree component Token adds
nodeHoverColor
and nodeSelectedColor
support. #51367 @zmbxy - 🆕 Tree adds
indentSize
token for custom indent width. #51010 @afc163
- DatePicker
- 🆕 DatePicker supports prefix attribute. #51335 @guoyunhe
- 💄 Fixed the issue of DatePicker.RangePicker flashing when the mouse moves between cells. #51533 @afc163
- Input.OTP
- 🆕 In the
Input.OTP
component, add onInput
event 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
- 🆕 ColorPicker supports
disabledFormat
. #51539 @su-muzhi - 🆕 Add
cursor
configuration item to the focus
method of InputNumber component to control the cursor position. #51444 @aojunhao123 - 🆕 Cascader adds
disabled
attribute to disable all first-level directory items of the component. #51272 @aojunhao123 - 🆕 Descriptions supports single-line spreading. #51365 @crazyair
- 🆕 Select/TreeSelect/Cascader components add
prefix
property to support custom prefix. #51186 @guoyunhe - 🐞 Fix the problem that the preview image class name is lost when setting
ImageProps.preview.rootClassName
in 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
itemRender
calling action.preview
will 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
5.21.6
2024-10-28
- 🐞 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-allowed
in the disabled
state when variant
of the Input was set to borderless
. #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
indeterminate
to enhance accessibility experience. #51350 @SpaNb4 - 💄 Improve the
title
of the Empty preset svg image to improve accessibility experience. #51368
5.21.5
2024-10-21
5.21.4
2024-10-14
- 🐞 Fixed Input.Search not applying the
hoverBorderColor/activeBorderColor
token 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 Button
textHoverBg
hover background to colorFillTertiary
. #51187 @coding-ice - TypeScript
5.21.3
2024-10-09
- 💄 Added a scroll bar to Dropdown when having many items. #51112 @Cameron-Asdf
- Slider #51150 @yoyo837
- 🐞 Fix Slider issue where the
id
prop is not supported. - 🐞 Fix Slider to address the issue causing
useLayoutEffect does nothing on the server
warning when extractStyle
is invoked.
- 🐞 Fix ColorPicker with gradient mode, sometimes handle color will be force sync back to first handle color issue. #51161 @zombieJ
- 🐞 Fix Table
onChange
function 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
react
and react-dom
peerDependencies. #51079 @chentsulin - TypeScript
5.21.2
2024-10-01
- 🐞 Revert #49221 to fix Typography
copyable
icon align issue. #51066 @afc163 - 🐞 Fix Tabs flicker when browser zoom is enabled. #51072 @afc163
- 🐞 Fix Select incorrect
activeBorderColor
token 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
4px
to 3px
. #51069 @afc163 - Splitter
- 🐞 Fixed the issue with Splitter dragging abnormally on touch screen devices. #51060 @sakuraee
- 💄 Fixed Splitter.Panel style is invalid error. #51032 @wanpan11
- ⚡️ Remove TransButton in Table/Transfer/Typography. #51068 @afc163
5.21.1
2024-09-25
- 🐞 Fix Button issue where
type="link"
incorrectly used colorPrimary
. #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
filterCheckall
in Table component. #51000 @ytahirkose
5.21.0 🔥
2024-09-22
- 🔥 Introduce the new Splitter component, draggale split panel. #50038 @wanpan11
- Button
- 🔥 Button supports
variant
and color
properties for more combination styles. #50051 @coding-ice - 💄 Button adds
textColor
, textHoverColor
and textActiveColor
tokens. #47870 @madocto
- FloatButton
- 🆕 FloatButton supports
placement
property, allowing menus to pop up from multiple directions. #50407 @li-jia-nan - 🆕 FloatButton supports
htmlType
prop. #50892 @li-jia-nan - 💄 Unify FloatButton and FloatButton.Group button round style. #50513 @Layouwen
- 💄 Manage FloatButton's
z-index
with useZIndex
to improve compatibility with other popup components. #50311 @li-jia-nan
- Menu
- Table
- 🆕 Table supports
minWidth
for 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
- Input
- 🆕 Input.OTP support
type
to help handle some case need number only. #50811 @zombieJ - 🐞 Fix Select inside Input addon text color when Select is focused. #50486 @DDDDD12138
- Modal
- ⌨️ Fix Modal throws warning
avoid using aria-hidden on a focused element or its ancestor
. #50823 @afc163 - 🆕 Modal supports
closable.disabled
prop now. #50522 @Ke1sy
- Descriptions
- Upload
- 🆕 Upload will pass
name
prop to <input type="file" />
. #50652 @Wxh16144 - 🆕 Upload
showUploadList.showXxxIcon
accept a function value now. #50245 @guoyunhe
- ColorPicker
- 🐞 Fix ColorPicker when type hex input may not get correct color with precision issue. #50843 @zombieJ
- 🐞 Adjust ColorPicker popup panel not lock by
value
to allow control mode with onChangeComplete
scenarios. #50785 @zombieJ
- App
- 🐞 Fixed App warn about
zIndex
too large when using the modal
with having popup component method via useApp
. #50829 @zombieJ - 🐞 Fix App rtl style does not respect ConfigProvider direction prop. #50246 @li-jia-nan
- Pagination
- Select
- 🆕 Segmented adds
vertical
property and improves accessibility. #50708 @liangchaofei - 🆕 Radio.Group supports
block
prop now. #50828 @yuanliu147 - 🆕 ConfigProvider supports configuring the
className
and style
properties of the Splitter component. #50855 @li-jia-nan - 🆕 Image add
onActive
to toolbarRender
for toggling images . #50812 @madocto - 🆕 Add ref on List component. #50772 @Asanio06
- 🆕 Collapse support
classNames
and styles
for 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
copyable
with array children
has additional ,
string issue. #50813 @zombieJ - 🐞 Fix Tour where long title will overlap with close button. #50942 @kiner-tang
- 🌐 Localization
- TypeScript
5.20.6
2024-09-09
5.20.5
2024-09-03
- 🛠 Adjust Tree & TreeSelect
defaultExpandAll
logic to only add internal expandedKeys
which treeNode
has children instead to avoid perf issue when with large data or loadData
case. #50689 @zombieJ - 🐞 Fix Cascader not show parent option in search when using
multiple
. #50689 - 🐞 Fix Typography
ellipsis.tooltip.title
with ReactNode will cause dead loop. #50688 @zombieJ
5.20.4
2024-09-02
- Menu
- 💄 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.deselectAll
locale. #50672 @coding-ice
5.20.3
2024-08-26
- 🐞 Refactor Typography native css ellipsis measure logic to handle precision edge case. #50514 @zombieJ
- 🐞 Fix ColorPicker
onChangeComplete
not 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
5.20.2
2024-08-19
- 💄 Fix the suffix style problem of InputNumber without control. #50450 @coding-ice
- 🆕 Form
rule.message
supports 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.pointAtCenter
property. #50260 @Wxh16144 - 📖 Transfer adds Russian and Ukrainian localization copy. #50429 @alexlag
- TypeScript
- 🤖 Roll back the Table partial generic constraint object to any to reduce break changes caused by #50351. #50372 @crazyair
5.20.1
2024-08-11
- ColorPicker
- 🐞 Fix ColorPicker compile error of
@ant-design/fast-color
. #50293 @afc163 - 💄 Fix ColorPicker not adjust border style when under Space.Compact. #50291 @zombieJ
- 💄 Fix Table
zIndexTableFixed
token not support CSS var. #50355 @li-jia-nan - 🐞 Fix FloatButton don't support
zIndexPopupBase
token. #50349 @Yuzu-io - 🐞 Fix Typography
tooltip
not show with precision issue of ellipsis
. #50315 @zombieJ - 🐞 Fix Form
preserve={false}
should not trigger shouldUpdate
rerender. #50283 @zombieJ - 🐞 Fix Tour default
z-index
not follow zIndexPopup
token issue. #50300 @zombieJ - 🐞 Fix Calendar
locale
should override locale
from 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
- TypeScript
5.20.0
2024-08-03
- ColorPicker
- 🛠 Replace ColorPicker internal
@ctrl/tinycolor
with @ant-design/fast-color
. #49846 - 🆕 ColorPicker support gradient color type and fix controlled mode not working. #50050
- 🐞 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
- 💄 Optimize ColorPicker when selecting a color from the transparent state, it defaults to using a bright color instead of black color to enhance the user interaction experience. #50148
- 🆕 ConfigProvider support indicator property for Spin. #50183 @coding-ice
- 🆕 Upload
showUploadList
support extra
for additional content. #50098 @guoyunhe - 🆕 Tree support custom loading icon for tree nodes with new prop
switcherLoadingIcon
. #49716 @coding-ice - Slider
- 🆕 Slider support
range.editable
to dynamic add/remove handles. #49923 - 🆕 Slider
range.editable
support minCount
and maxCount
. #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
, dotted
or solid
. #49654 @pinaki-08 - 🆕 InputNumber supports
suffix
prop. #49674 @coding-ice - 🆕 Input/TextArea/Mentions support
onClear
prop. #49905 @li-jia-nan - ⌨️ Optimize Input be changed repeatedly when hold the enter key in multi-mode. rc-input#72 @crazyair
- 🐞 Fix grouping columns does not apply sorting for Table. #50086 @Zyf665
- 🐞 Fix Popover/PopConfirm/Tooltip with
topLeft
, topRight
, bottomLeft
, bottomRight
zoom in transform origin not correct when target element width is too large. #50134 - 💄 Fix Tree filter node style lost. #49773 @wanpan11
- TypeScript
- 🌐 Locales
5.19.4
2024-07-30
- 🐞 Fix the internal elements of Form.Item did not inherit the row height. #50020 @Wanpan
- 🐞 Fix Overlay is still displayed when both Popover
title
and content
do not exist. #50064 @LLmoskk - 🐞 Fix the Token of Empty setting
opacityImage
does not take effect. #50066 @thinkasany - 💄 Fix Tour overflowed the screen on mobile devices. #50082
- 💄 Fix hover style of Checkbox
indeterminate
state. #50083 - 💄 Fix DatePicker selection style is not intuitive under rtl. #50045 @Layouwen
- 💄 Fix Descriptions overflowing the container in
bordered
mode. #49946 @leefinder - 🛠 MISC: Migrate common style tools to
@ant-design/cssinjs-utils
. #50030 @YumoImer - 🌐 Locales
5.19.3
2024-07-19
- 🐞 Fix Table sorter argument of
onChange
with unexpected value. #49533 @Zyf665 - 🐞 Fix Pagination
token.itemBg
not 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
cover
property. #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
5.19.2
2024-07-15
- 🐞 Fix List render
0
when actions={[]}
. #49842 @int64ago - 🐞 Fix Upload with dragging upload, the
fileList
in beforeUpload
is not fully filled. #49832 @coderz-w - Descriptions
- 🐞 Fix Spin style issue when use
percent
and size
at same time. #49876 - 🇮🇳 Fill DatePicker
kn_IN
missing locales. #49860 @neerajap-01 - Typescript
- 🐞 Fix Tree
icon
and switcherIcon
parameter types not being correctly inferred. #49821 - 🐞 Revert Cascader
multiple
definition case value
definition missing. #49741 @YangZhi1
5.19.1
2024-07-05
- 🐞 Global: @ant-design/colors use pre-compiled color presets to improve runtime performance. #49714 @guoyunhe
- 🐞 Global: No more limit max auto
zIndex
increase but use warning instead. #49720 - 🐞 Adjust position of Input.TextArea to be consistent with other data entry components. #49718 @wanpan11
- 🐞 Fix Input variant
filled
activeBorderColor
token invalid. #49699 @wanpan11 - TypeScript
5.19.0
2024-07-01
- 🆕 ConfigProvider now supports global configuration for
variant
. #49535 @MadCcc - QRCode
- 🆕 Select component's
filterSort
property now includes searchValue
parameter. #49352 @MadCcc - 🆕 Pagination adds
simple
property, supports read-only mode, and introduces align
property. #49562 @coding-ice - 🐞 Enhanced Anchor's
affix
property for more configuration options. #49295 @gin-lsl - DatePicker
- 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with
placement
set to topRight
or bottomRight
. #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
- 🐞 Button fixed
disabled
property not working when used as Dropdown
trigger
. #47363 - 🐞 InputNumber now warns when using
type=number
with changeOnWheel
. #49648 @wanpan11 - Table
- 🐞 Table fixed issue with
locale.emptyText
showing default value when set to a non-undefined
value. #49599 @照明胧 - 🐞 Fixed Table filter panel not working after customizing global Empty style. #49548 @duqigit
- 🐞 Upload fixed rendering performance issue when listing many files in list mode. #49598 @tlkv
- 💄 Added initial styles for
SubMenu
node in Menu. #49643 @wanpan11 - 💄 Improved active style for Slider handle. #49630
- 💄 Optimized
variant=borderless
style for DatePicker, TimePicker, Select, TreeSelect, Input, InputNumber, Mentions, now distinguishable when setting status
property. #49608 - 🐞 Fixed Typography
ellipsis
not working when parent has nowrap
style. #49667 - TypeScript:
- 🤖 ConfigProvider Improved TypeScript definition for
renderEmpty
method. #49602 @Wxh16144
- 🌐 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
5.18.3
2024-06-19
5.18.2
2024-06-17
- 🐞 Fix the bug where the icon and the text aren't strictly centered in message. #49429 @nova1751
- 🐞 Fix Table sorter argument of
onChange
with unexpected value for #49134. #49289 @Zyf665 - 🐞 Add
aria-label
for expand icon in Collapse. #49395 @wanpan11 - 🐞 Fix token
inputFontSizeSM
and inputFontSizeLG
not working in InputNumber. #49369 - 💄 Fix Empty sometimes doesn't take
colorTextDescription
as description text color. #49408 - 💄 Resolve Badge
processing
status style conflict with Tailwind CSS. #49379 - 🌐 Locales
5.18.1
2024-06-12
- Typography
- 🐞 Fix Typography component's
ellipsis
not working properly in pre
tag. #49168 @nova1751 - 🐞 Fix Typography
ellipsis
sometimes not working in Safari. #49221
- 🐞 Fix Space
size
setting to 0 did not take effect. #49192 @coding-ice - 🐞 Fix
padding
of Progress text is invalid in cssinjs. #49250 @vagusX - 🐞 Fix Modal close button's
zIndex
being incorrect in cssVar
mode. #49238 - 🐞 Fix Image
width
height
being 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
percent
progress was not passed when customizing the indicator
of Spin. #49211 @wanpan11 - DatePicker
- 🐞 Fix the
placement
property of DatePicker/TimePicker was invalid. #49303 - 💄 Fix the content in the DatePicker header area is not centered. #49332
- TypeScript
- 🌐 Locales
5.18.0
2024-06-03
- 🛎 Fix Button icon and text align issue by changing
inline-block
to inline-flex
and simplify iconPosition
implementation. #47318 - Drawer
- Form
- 🆕 Form.Item add
layout
property to toggle layout mode. #49119 @crazyair - 🆕 Form
ref
property supports to access the native element. #48841 @wanpan11 - 🆕 Form add
clearOnDestroy
property to clear form data when destroy. #48921 @crazyair
- Image
- 🆕 Image add
onReset
and onClose
properties. #48936 @kiner-tang - 🆕 Image supports get
imgInfo
from arguments of toolbarRender
and imageRender
render functions. #48729 @nova1751
- notification
- 🆕 notification add
pauseOnHover
property to pause the timer. #49024 @yociduo - 🆕 notification add
showProgress
property to show the progress bar. #48353 @yociduo
- Progress
- 🆕 Avatar.Group add
max
property for replace maxCount
、maxStyle
、maxPopoverPlacement
and maxPopoverTrigger
properties. #49131 @wanpan11 - 🆕 Modal add
loading
property to show the skeleton. #48848 @li-jia-nan - 🆕 Rate add
keyboard
property to ignore keyboard events. #49132 @Wxh16144 - 🆕 Spin support
percent
to render as progress. #48657 - 🐞 Watermark add
overflow: hidden
style to prevent set height: 0
to hide the watermark case. #49130 - 🐞 Anchor fix scroll animation lost bug when set
replace
property. #49136 @mySkey - 🐞 Tour fix
current
argument of onClose
is wrong. #49124 - 💄 List.Item add
styles
and className
properties. #49154 @wanpan11 - 🇯🇵 DatePicker add missing ja_JP translations. #49155 @huyikai
- 🛠 Simplify several logics and type definitions. #49146 #49156 #49169 #49162 @coding-ice
5.17.4
2024-05-27
- 🐞 Fix Modal with
confirm
would not close correctly when returning true
in onOk
or onCancel
. #49054 @wanpan11 - 🐞 Fix Carousel was warned about having non-standard DOM attributes by React. #49031
- 🐞 Fix Form prop of
scrollToFirstError
not working for InputNumber. #48989 @Wxh16144 - TypeScript
- 🤖 Fix Modal missing
styles.wrapper
type. #49055 - 🤖 Enhance Spin component TypeScript definitions and documentation. #49036 @arvinxx
- 🤖 Enhance Checkbox.Group TypeScript generic limitation. #49073
5.17.3
2024-05-19
- 🐞 MISC: Fix some components throws
findDOMNode
warning in React 18.3.0. #48958 - 🐞 Fix Button that
fontSize
token not works. #48893 @wanpan11 - 💄 Fix Pagination size-changer element style. #48931 @wanpan11
5.17.2
2024-05-14
- 🐞 MISC: Fix
lib
bundle mistake deps on the es
module which break the build progress. #48914
5.17.1
2024-05-14
- 🐞 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"
and type="danger"
are used together. #48876 @LonelySnowman
- 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
tagRender
not 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
5.17.0
2024-05-03
- 🔥🔥🔥
@ant-design/cssinjs
StyleProvider supports configuring layer
to 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
arrows
to switching between slides now. #48542 - Form
- 🛠 Form move dependency from
async-validator
to @rc-component/async-validator
, fix a bug that transform
don't check it's return value type. #48486 @crazyair - 🆕 Form add
inlineMargin
token. #48362 @CooperHash - 🐞 Fix Form
scrollToFirstError
cannot work on Upload. #48211 @Wxh16144
- Typography
- 🆕 Typography.Paragraph could customize
tabIndex
prop for editable and copyable buttons. #48567 @nova1751 - 🐞 Fix Typography
editable
will trigger focus unexpectedly on mounting. #48741
- DatePicker
- 🆕 DatePicker.RangePicker
showTime.disabledTime
supports info.from
for customize time level limitation. #48625 - 🐞 Fix DatePicker hover value flickering issue when closing panel. #48734
- Drawer
- Slider
- 🐞 Fix Slider tooltip cannot be hidden when
tooltip={{ formatter: null }}
. #48673 @wanpan11 - 🐞 Slider tooltip should not display when
tooltip={{ open: false }}
. #48708
- Button
- 🆕 ConfigProvider supports
button.autoInsertSpace
prop and deprecated autoInsertSpaceInButton
prop. #48348 @li-jia-nan - 🆕 TreeSelect supports
onPopScroll
prop now. #48636 @wanpan11 - 🆕 Tabs supports
more={{ .. }}
to customize more dropdown. #48321 @CooperHash - 🆕 Flex
wrap
could be boolean type now. #48391 @li-jia-nan - 🆕 Input.OTP supports
mask
prop. #48257 @li-jia-nan - 🆕 Alert supports
id
and ref
props. #48336 @li-jia-nan - 🆕 Upload supports
ref.nativeElenent
. #48210 @Wxh16144 - 🐞 Fix List would not rerender when
grid
changed. #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
5.16.5
2024-04-28
- 🐞 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
- Locales
- 🇪🇸 Added missing es_ES translations for DatePicker component. #48601 @JMMOLLER
- 🇩🇪 Added missing german translations for DatePicker component. #48586 @sebhs
5.16.4
2024-04-22
- 🐞 Fix Select with
multiple
and paddingXXS=0
will break the height align of controlHeight
token. #48574 - 🐞 Fix Upload miss style when enable CSS Variable. #48569 @nova1751
- 🐞 Fix Slider in
range
tooltip 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
checkedChildren
and unCheckedChildren
did not add a default height. #48513 @wanpan11 - 🐞 Fix the warning reminder when Form.Item uses noStyle with no value. #48508
- 🐞 Fix Popover
defaultOpen
setting failed. #48481 @linhf123 - 🐞 Fix where
placeholder
is not displayed when DatePicker is configured with multiple
. #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
5.16.3
2024-04-21
- 🛠 Script failed to publish an empty package. Do not use this version.
5.16.2
2024-04-15
- 🐞 Fix Input.OTP controlled
value
to ''
not work as expect. #48399 - 🐞 Fix DatePicker of
multiple
with week picker not show the selection on the panel. #48355 - 🐞 Fix Upload
listType
with picture-card
or picture-circle
has additional space on top. #48370 - Typography
- 🐞 Fix Typography dynamic set
copyable
or editable
will not show the operation button. #48350 - 🐞 Fix Typography dynamic update
copyable.text
not working. #48347 - 🐞 Fix Typography using
ellipsis
config with expandable="collapsible"
and row={1}
at both time will make ellipsis not working as expect. #48340
- 💄 Fix Steps in compact theme not show the correct progress style. #48251
- 💄 Refactor Tabs and wave-related components CSS duration values with
motionDurationSlow
Component 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
5.16.1
2024-04-05
- 🛠 Adjust Typography
ellipsis
logic to use CSS ellipsis in SSR to enhance user experience. #48205 - 🐞 Fix FloatButton config
tooltip
and badge
at same time will make badge
customize background not working. #48198 @LonelySnowman
5.16.0
2024-03-31
- 🔥 New component Input.OTP support. #48076
- 🆕 Closable components support
aria-*
in closable
. @kiner-tang - 🆕 Table add
rowHoverable
to control hover effect. #48112 @madocto - 🆕 Typography support async copy. #48123 @crazyair
- 🆕 Progress support
steps
with circle
. #47940 @yykoypj - 🆕 Table support
onScroll
event 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
showSorterTooltip.target
prop for sorters. #47409 @Ke1sy - 🆕 Cascader support
optionRender
. #47727 @crazyair - ⌨️ Popover can be closed by ESC when trigger is
focus
or click
. #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
- 🐞 Fix Form
getValueProps
shouldn't work when FormItem's name
doesn't exist . - 🐞 Fix Form's
setFieldsValue
should tread same as setFields
.
- 🐞 Fix Table that internationalization of table columns fails when searching. #48126 @LingJinT
- 🐞 Fix Upload that
onChange
should be triggered when fileList.length
is larger than maxCount
. #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
value
changed. #47816 @MadCcc - 🐞 Make Badge consistent with Tag that apply
colorInfo
token in processing. #47695 @pfdgithub - 🇮🇸 Add missing form translations in is_IS. #48104 @LonelySnowman
- 🇺🇿 Add Uzbek(latn) locale. #47899
- TypeScript
- 🤖 Improve Transfer's
key
type, change key: string
to key: React.Key
. #47879 @madocto - 🤖 Table support for generic pairs dataIndex props verification . @crazyair
5.15.4
2024-03-25
- 💄 Fix QRCode that custom style would be overridden 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
5.15.3
2024-03-17
- 💄 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.symbol
exceed 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
multiple
selector collapse for cross the line. #47821 - 🐞 TimePicker revert and add warning for
onSelect
API which is already removed in v4 but not update in English documentation. #47878 - 💄 Darken the Empty text color to make it readable. #47268 @evgmol
5.15.2
2024-03-11
- 🛠 Adjust the closing trigger of Tour, Dropdown, Menu, Tabs, Mentions, Picker, Select, TreeSelect, Cascader, Tooltip, and Popover pop-ups from
click
to mouseDown
to 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
5.15.1
2024-03-06
- 🐞 Revert code that removed margin of Tag. #47736
- 🇷🇺 Improve DatePicker ru_RU locale. #47705
5.15.0
2024-03-02
- ConfigProvider
- 🆕 ConfigProvider support Input.TextArea
allowClear
autoComplete
className
style
classNames
styles
props. #47589 - 🆕 ConfigProvider support Input
allowClear
props. #47602 - 🆕 ConfigProvider support Menu
expandIcon
props. #47561 - 🆕 ConfigProvider support Collapse
expandIcon
props. #47473 - 🆕 ConfigProvider support Tabs
removeIcon
props, when set type="editable-card"
. #47334 - 🆕 Prefixes for CSS variables follow the
prefixCls
property of ConfigProvider by default. #47481 - 🤖 CardProps
styles
in ConfigProvider is set to optional. #47601 @Yawenina
- 🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader the
focus
supports passing options
. #47664 - 🆕 Select add
labelRender
property to customize current selected label render. #47664 - 🆕 Modal support configuring
aria-*
in closable
. #47650 - 🆕 Alert support configuring
aria-*
in closable
. #47474 - 🆕 Tabs support
removeIcon
props, when set type="editable-card"
. #47334 - Drawer
- 🆕 Drawer support configuring
aria-*
in closable
. #47543 - 🆕 Drawer support passing
aria-*
attributes to panel nodes. #47387
- Table
- 🆕 Table adds
filterOnClose
to specify whether to trigger filtering when the filter menu is closed. #47451 @xsjcTony - 🆕 Table adds
components.header.table
to 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
th
element is not used in the column header when Table column.title
is empty. #47382 - 🐞 Fix the issue where
prefixCls
is invalid when Table uses a virtual list. #47639 - 💄 Fix abnormal shadow display when Table fixed columns. #47518
- 🐞 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 returns false
when 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
5.14.2
2024-02-23
- 🐞 Fix DatePicker.RangePicker time column sometime not scroll to the target time value. #47542
- 🐞 Fix Modal that pointer events will triggered during opening 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
darkItemSelectedColor
and darkItemSelectedBg
token in horizontal dark mode. #47463 @gandavarapurajasekhar
5.14.1
2024-02-13
- 🐞 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
defaultBg
token with bordered={false}
. #47372 @MadCcc - 🐞 MISC: Fix that
theme.inherit
should not affect hashded
and cssVar
. #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
5.14.0
2024-02-04
- 🔥 Refactored the DatePicker component, details are follows. #46982
- 🆕 DatePicker adds
multiple
to support multiple selection capabilities. - 🆕 DatePicker supports
showWeek
attribute. - 🆕 DatePicker.RangePicker supports
order
attribute. - 🆕 DatePicker
id
attribute under RangePicker supports setting the id
of the start
and end
input boxes separately. - 🆕 DatePicker
onFocus
and onBlur
events of RangePicker will additionally provide an info.range
to inform which input box the current focus comes from. - 🆕 DatePicker add matching
pickerValue
and defaultPickerValue
attributes to control the date where the expanded panel is located. - 🆕 DatePicker add the
preserveInvalidOnBlur
attribute to keep the input content when losing focus in the case of accessibility. - 🆕 DatePicker
format
supports the align
attribute, allowing input content through the mask mode. - 🆕 DatePicker Support
required
attribute. - 🆕 DatePicker time panel supports
scrollOnChange
to automatically select the corresponding time when scrolling. - 🆕 DatePicker add the
needConfirm
attribute to allow setting the confirmation or non-confirmation submission mode. - 🆕 DatePicker add the
components
attribute to allow customizing some panels. - 🆕 DatePicker all date-related information in the panel will allow configuration through
locale
. - 🆕 DatePicker
format
supports LT
and LTS
date formats. - 🆕 DatePicker add
minDate
and maxDate
to set the panel switching range. - 🐞 DatePicker
defaultPickerValue
will 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
hour
obtained by disabledTime
under use12Hours
will 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
disabledDate
check logic, now it will provide info.type
to inform the current panel information. - 🛠 DatePicker
allowClear
trigger event from onMouseDown
to onClick
. - 🛠 DatePicker Deprecate the
preventDefault
parameter of onKeyDown
, please call it directly through event.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.
- 🔥 Added support for stacked fixed columns in the Table component. #47245
- 🆕 Added support for
components.body
in the Table component under the virtual
mode. #47098 by @linxianxi - 🆕 Added support for generics in the Segmented
value
type. #47091 by @madocto - 🆕 Added the
changeOnWheel
property to the InputNumber component to enable mouse wheel control. #47158 by @MadCcc - 🆕 Added six tokens (
defaultHoverBg
, defaultHoverColor
, defaultHoverBorderColor
, defaultActiveBg
, defaultActiveColor
, and defaultActiveBorderColor
) to the Button component. #47075 by @madocto - 🆕 Added
duration
configuration support to the useNotification
function in the Notification component. This update also applies to the notification
configuration of the App component. #47141 - 🆕 Added support for configuring
flex
property 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
hoverBorderColor
and activeBorderColor
token 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
classNames
and styles
properties to the Card component. #46811 by @zh-lx - ConfigProvider
- 🆕 Added support for
selectionsIcon
in the Transfer component to ConfigProvide. #47301 by @li-jia-nan - 🆕 Added support for
addIcon
and moreIcon
in the Tabs component to ConfigProvide. #47274 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Image component to ConfigProvide. #47252 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Tag component to ConfigProvide. #47250 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Notification component to ConfigProvide. #47244 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Modal component to ConfigProvide. #47226 by @li-jia-nan - 🆕 Added support for
expandIcon
in the Table component to ConfigProvide. #47225 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Tour component to ConfigProvide. #47200 by @li-jia-nan - 🆕 Added support for
icons
in the Drawer component to ConfigProvide. #46894 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Alert component to ConfigProvide. #47235 by @li-jia-nan
5.13.3
2024-01-28
- Input
- 🐞 Fix Input.Search width 1px smaller than Input. #47193
- 🐞 Fix Input inside Space.Compact display incorrectly when
showCount
is true
. #47112 @huiliangShen
- 🐞 Fix Descriptions lost border style when item's children is falsy. #47191
- 🐞 Fix Table
column.onFilter
don't work on tree table data. #47170 @Mumujianguang - 🐞 Fix Affix
placeholder
height anomaly when browser zoom is 80%. #46823 @zhipenglin - 🐞 Fix QRCode background color in dark mode. #47128 @kampiu
- 🐞 Fix Statistic component don't support html
role
and data-*
and aria-*
attributes. #47149 - 🐞 Fix Transfer inverting current page incorrectly. #47125 @linxianxi
- 💄 Lower the priority of Button
size
styles. #47074 @crazyair - 🐞 Fix Modal conflicting props between
classNames.wrapper
and centered
. #47076 @sunsunmonkey - 🐞 Fix false positive console warning for Spin with
tip
and fullscreen
used together. #47015 @xsjcTony - 🗑 Remove unused PageHeader locale text and ConfigProvider
pageHeader
property. #47163 @li-jia-nan - 🛠 Refactor Drawer motion style code. #47194
- Locales
5.13.2
2024-01-19
- 🐞 Fix that the inline rendering does not take effect when the
preview.getContainer
value for Image is false. #47034 @FEyudong - 🐞 Fix Modal static function with
prefixCls
breaks children other component prefixCls
and 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 collapse icon hover style. #46974
5.13.1
2024-01-15
- 🐞 Fix Checkbox type error with
@types/react
version 16 or 17. #46962 @crazyair
5.13.0
2024-01-13
- 🔥 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 the contentWrapperStyle
drawerStyle
maskStyle
attributes, and simplifies the dom structure. #46858 - Tour
- 🆕 Tour support
disabledInteraction
, which is used to disable the interactive behavior of the highlighted area. #46304 - 🐞 Fixed the issue where modifying
pointAtCenter
under the arrow
attribute of the Tour component does not take effect. #46301
- Tabs
- 🆕 Tabs support the
indicator: { align: xxx }
attribute, which is used to set the alignment of the Tabs indicator bar. #46786 - 🛠 Tabs deprecated the
indicatorSize
attribute and replaced it with indicator: { size: xxx }
. #46786
- ConfigProvider
- 🆕 ConfigProvider adds
ConfigProvider.config
to support holderRender
for message
modal
notification
static method setting Provider
. #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 with indicator: { size: xxx }
. #46786
- 🐞 Fix the problem of Segmented content being obscured in
hover
and active
. #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
- 🆕 MISC: Export
GetProp
GetProps
GetRef
tool methods to facilitate developers to obtain unexported type definitions. #46923 - 🆕 Checkbox.Group now supports generic configurable
options.value
. #46423 @daledelv
- 🌈 Token
- 🆕 Button support the
contentLineHeight
series of tokens. #46936 - 🆕 Input support
inputFontSize
token. #46875 - 🆕 Menu support
darkPopupBg
token. #46618 - 🆕 Segmented support
trackPadding
and trackBg
token. #46674 - 🐞 Fix the problem that
paddingBlock
does not take effect after customizing contentFontSize
token in Button component. #46901 - 🐞 Fixed the issue where the InputNumber component cannot customize the
padding
token. #46878
- 🌐 Localization
5.12.8
2024-01-05
- 🐞 Fix Upload.Dragger not align center and focus ring style. #46810
- 🐞 Fix Popconfirm config empty
okText
and cancelText
will not fallback to locale text. #46812 - 🐞 Fix Progress that line border-radius cannot be overridden. #46789
- 🐞 Fix Typography without
children
has extra margin-left
when copyable
is true. #46748 - 🐞 Fix Typography copied icon color. #46748
5.12.7
2024-01-02
- 🐞 MISC: Fix error caused by upgrading
@ctrl/tinycolor@4.0.2
. #46744 @MadCcc - 🐞 Fix Mentions item height bug. #46737
5.12.6
2023-12-30
- 🐞 Fix Upload accessibility issue of tabbing twicely. #46432
- 🐞 Fix Modal
footer
Button duplicated gap style. #46702 - Select
- 🐞 Fix Select that scrollbar do not display in some case. #46696 @MadCcc
- 💄 Optimize Select style of multiple selection. #46646 @MadCcc
- Tree
- 🐞 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
5.12.5
2023-12-22
- 💄 Fix Tabs style issue of editable mode when there is only "new" button left. #46585 @hzyhbk
- 💄 Fix Progress style issue of
line
mode with strokeLinecap
. #46551 @ZN1996 - 🐞 Fix ColorPicker not support
prefixCls
. #46561
5.12.4
2023-12-19
- 🐞 Fix DatePicker style in
cssVar
mode. #46526
5.12.3
2023-12-18
- 💄 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
2023-12-11
- 🐞 MISC: Fix
useId
error when webpack build with React 17. #46261 - Pagination
- 🐞 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 ConfigProvider form
prop. #46299 @linhf123 - TypeScript
5.12.1
2023-12-04
- 🐞 MISC: Fix missing color less variables converted from token. #46250
- 🐞 Fix Notification title overlaps with the close icon when it is too long. #46211 @zh-lx
5.12.0
2023-12-04
5.11.5
2023-11-27
5.11.4
2023-11-24
- 🐞 Fix where Image sets
z-index
abnormally in nested Modal. #46035 - 🐞 Fix Button that disabled link button should not have navigate options when right click. #46021
- Card
- 🛠 Refactor the Card internal method
getAction
into a function component. #46032 - 🐞 Fix the problem of Card warning
invalid annotation
in Rollup. #46024
- TypeScript
- 🤖 Export the type definition for the
required
property of the Radio and Checkbox components. #46028 @nnmax
5.11.3
2023-11-22
- 🐞 Fix Modal static method create
zIndex
too high will cover other popup content. #46012 - Image
- 🐞 Fix Collapse header cursor style. #45994
- 🐞 Fix ColorPicker not support Form disabled config. #45978 @RedJue
- 🐞 Fix Typography.Text
ellipsis.tooltip
cannot open under Layout component. #45962 - 🐞 Remove Select native 🔍 icon from search input in Safari. #46008
- 💄 Remove Rate useless style. #45927 @JarvisArt
- 🛠 UMD
antd.js
will try to reuse global @ant-design/cssinjs
first now. #46009 - 🌐 Improve
eu_ES
localization. #45928 @ionlizarazu
5.11.2
2023-11-17
- 🆕 Table with
virtual
can now customize components
except the components.body
. #45857 - 🐞 Fix Button with href and disabled that could be focused. #45910 @MadCcc
- 🐞 Fix
zIndex
logic problem that message and notification are covered when multiple Modal are opened. #45911 #45864 @kiner-tang - 💄 Fix QRCode
style.padding
is not working. #45815 - 💄 Optimize Carousel dots border radius style. #45817
- TypeScript
5.11.1
2023-11-09
- 🐞 Fix Dropdown use wrong
zIndex
when nest items. #45761 - 🐞 Fix Upload should show remove icon when
showRemoveIcon
is specified to true explicitly. #45752 - 🐞 Fix Descriptions use
children
structure missing the Descriptions.Item key
prop. #45757 - 🐞 Fix Message that token specified in component scope not work. #45721 @MadCcc
- 🐞 Fix Popconfirm not compatible with
visible
prop. #45702 @linhf123 - 🐞 Fix Tag default background color not correct. #45711 @kiner-tang
- 💄 Fix Notification that
style.width
not work. #45681 @MadCcc - 🐞 Fix App console unexpected attr warning when set
component=false
. #45671 @li-jia-nan - TypeScript
5.11.0
2023-11-03
- Slider
- 🆕 Slider will show tooltip when focus handler. #45653
- 💄 Slider handler should be movable after click tracker. #45651
- InputNumber
- 🆕 InputNumber support
changeOnBlur
prop to disable trigger onChange
event when blur. #45395 - 🐞 Fix InputNumber in Form with
hasFeedback
that will lose focus when feedback icon appear. #45632 @MadCcc - 🐞 Fix InputNumber dynamic modify
formatter
not working. #45325
- Table
- 🆕 Table
columnTitle
support render function. #41937 @Zhou-Bill - 🛠 Refactor Table
ref
to support scrollTo
to scroll to target key
or index
or top
. #45245
- Tabs
- 🆕 Tabs
items
support tab pane level destroyInactiveTabPane
. #45359 - 🐞 Fix Tabs overflow blinking when Tab bar has decimal width. #45370
- ConfigProvider
- 🆕 ColorPicker
preset
prop support defaultOpen
to control whether preset colors is open by default. #45607 @Wxh16144 - 🆕 Select support
optionRender
prop. #45529 @RedJue - 🆕 Pagination support combine
simple
and showSizeChanger
. #45538 - 🆕 Spin support
fullscreen
to display as backdrop. #44986 @Rafael-Martins #45436 @li-jia-nan - 🆕 Form
validateFields
support dirty
for validating touched and validated fields. #45389 - 🆕 Watermark support
inherit
prop to disable watermark pass to Drawer and Modal. #45319 - 🆕 App support
component
for customization. #45292 - 🆕 Input and Input.TextArea support
count
custom character count (for example, fix emoji character length to 1
); count.max
supports out-of-range styles; restore emoji to native count to solve the problem of maxLength
and value
mismatch. #45140 - 🐞 Fix Dropdown not trigger
onOpenChange
when 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
5.10.3
2023-10-30
- 💄 Fix Typography.Text lost right border when enable
ellipsis
and code
. #45575 - 💄 Modify the TimePicker scroll bar style. #45478 @GeorgeHcc #45586
- 🆕 FloatButton.BackTop
ref
support nativeElement
. #45547 @li-jia-nan - 🐞 Fix Watermark that
gap
should have default value when passing undefined
in 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
style
applied to wrapper. #45487 @MadCcc - TypeScript
- 🐞 Fix
modal
return type in App.useApp
hook. #45462 @mjss
5.10.2
2023-10-21
- 🐞 Layout support auto
hasSider
check 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
id
and data-*
attributes. #45413 @cheng87126 - 🐞 Fix Table sorter tooltip cannot be open when
column.showSorterTooltip
is a object. #45403 - 🐞 Fix
Form
with inline
mode makes elements overlap on the small screen. #45340 @Yuiai01 - 💄 Remove duplicate disabled styles in Upload.Dragger. #45446 @vagusX
- TypeScript
- 🐞 Table
pagination.position
should accept 'none'
. #45398
- RTL
- 💄 Fix Notification's incorrect
margin
in rtl
mode. #45386
5.10.1
2023-10-15
- ⚡️ Optimize CSS-in-JS Design Token cache matching. #45302
- 🆕 Checkbox.Group & Radio.Group
options
add missing id
props. #45287 - 🐞 Fix Affix that
target
not work. #45314 @mingming-ma - 🐞 MISC: Add
csp
attribute for icon style. #45334 @AlexeyTeterin - 🐞 Fix Button that does not display loading status when
loading
property 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
resetFields
will still keep Form.List field when its initialValue
is set. #45284 - 🐞 Fix Tree.DirectoryTree
selectedNodes
in onSelect
method could not get a value when configuring fieldNames
. #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
5.10.0
2023-10-10
- 🔥 New component Flex, used to set flexible layout. #44362
- 🔥 Notification component supports
stack
configuration. 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
styles
and classNames
properties. #45000 - 🆕 Cascader supports the Cascader.Panel component for inline use. #45089
- 🆕 Tooltip adds
fresh
attribute to support scenarios where content still needs to be updated when closed. #45020 - 🆕 Drawer supports customizing the
className
of built-in modules through classNames
. #44935 - 🆕 ConfigProvider supports the
warning
attribute to configure warning levels (e.g. filter out deprecated API warnings). #44809 - Modal
- 🆕 Modal supports customizing the
className
of built-in modules through classNames
. #44934 - 🐞 Fixed the content overflow problem when Modal.confirm
description
is a long text. #45212
- 🐞 Fix the problem that the nested Typography of Menu.Item cannot be vertically centered when
ellipsis
is true. #41146 @Yuiai01 - 🐞 Fix Select internal input not being able to apply fontFamily. #45197 @Yuiai01
- 🐞 Fix InputNumber border issue when using
addonBefore
in 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
minWidth
component token and adds titleMinWidth
as a replacement. #44750 - 🌈 Token
- 🆕 Input adds
hoverBg
activeBg
token to set the input box hover and activation background color. #44752 @Pan-yongyong - 🆕 Descriptions Added
titleColor
and contentColor
to set the title color and content area text color. #44729 @Child-qjj - 🐞 Fixed the issue where the Input component Token
addonBg
is invalid. #45222
- TypeScript
- 🤖 The ArgsProps type for exported Notification is NotificationArgsProps. #45147
- 🌐 Locales
5.9.4
2023-09-28
- Button
- 🐞 Fix Button that two Chinese characters in nested span should have space between. #45126 @MadCcc
- 🐞 Fix Button unexpected loading icon when conditional rendering. #45030 @lzl0304
- 🐞 Fix Tour that
step.type
didn't work when shown at first time. #45086 @MadCcc - 🐞 Fix Select and DatePicker that input should use
fontFamily
token. #45088 @MadCcc
5.9.3
2023-09-25
- 🔥 Tooltip delete the logic of wrap
span
on disabled
element. It can always work as expect on disabled element now. #44895 @Yuiai01 - 🐞 Fix Popover that should shift automatically when overflowed. #45015 @MadCcc
- 🐞 Fix Tooltip / Popover position jump when content height changed. #44976
- 🛠 ComponentToken remove
radiusBase
must less than 16
limitation. #44980 - 🐞 Fix Dropdown can not give
ref
for the root children rendered by dropdownRender
. #44971 - 🐞 Fix Table
cellPaddingBlock
not working. #45040 - 🐞 Fix Input wrong height with small
controlHeight
. #45048 - 🐞 Fix Typography style issue when
fontSize
is odd. #45031 - TypeScript
- 🤖 MISC: Fix
@types/react@18.2.22
React.Key type errors. #44938
5.9.2
2023-09-19
- 🐞 Fix Table selection column not align in center when
size
is small
. #44922 - 🐞 Fix Select style problem when
label
contains div
element. #44927 - 🐞 Fix Modal broken style of buttons when custom
footer
. #44929 @Wxh16144 - 🐞 Fix notification wrong pop-up animation when
placement
is bottom
. #44918 @linxianxi - 🐞 Fix missing inherited feedbackIcon in Form.Item with
noStyle
. #44937
5.9.1
2023-09-15
- 🐞 Fix Select that
controlHeightSM
not work in small size. #44859 @MadCcc - 🐞 Fix Rate that star transform not at center. #44855 @MadCcc
- 🐞 Fix DatePicker that in
dateTime
mode switching input didn't trigger onCalendarChange
. #44845 @Yuiai01 - 🐞 Fix Table
virtual
selection 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
virtual
display 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
5.9.0
2023-09-08
- 🔥 Table component now supports the
virtual
attribute to enable virtual scrolling. #44349 - 🔥 Form's
validateFields
now supports recursive
to validate all fields with nested paths. #44130 - 🔥 Form.Item now supports
validateDebounce
to configure validation debounce. #44633 - 🆕 Button component has added three component tokens:
contentFontSize
, contentFontSizeSM
, and contentFontSizeLG
, allowing customization of font sizes for different sizes. #44257 - 🆕 Form's
requiredMark
now supports custom rendering. #44073 - 🆕 Tabs component has added a new component token
itemColor
to control the text color of normal tabs. #44201 - 🆕 ColorPicker now supports
defaultFormat
. #44487 @CYBYOB - 🆕 Form supports
feedbackIcons
and Form.Item supports hasFeedback={{ icons: ... }}
, now feedback icons could be customized in both ways. #43894 @gldio - 🆕 Added the
itemSelectedColor
component 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.span
in Descriptions. #44534 - 🆕 Added support for global configuration of
indicatorSize
in Tabs component through ConfigProvider. #44517 - 🆕 Added the
direction
parameter to the filterOption
function in the Transfer component. #44417 @Zian502 - 🆕 Added support for the
source
parameter in the onSearch
method 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
closeIcon
prop. #44312 @kiner-tang - 🆕 Avatar component now supports configuring size using ConfigProvider. #44288 @li-jia-nan
- 🆕 List component now supports configuring size using ConfigProvider's
componentSize
option. #44267 @Yuiai01 - 🆕 Cascader component now supports
autoClearSearchValue
option. #44033 @linxianxi - 🆕 Added support for
rootClassName
in 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-content
and 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
circle
and dashboard
in Progress to conical gradients. #44404 - 💄 Fixed DatePicker missing custom footer style. #44642 @li-jia-nan
- 💄 Fixed Tag where
tag.className
and tag.style
did 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: scale
style configured in getPopupContainer
option. #44378 - 🐞 Fixed an issue where Form.Item with
noStyle
configuration prevented the bound element from consuming useStatus
. #44576 - 🐞 Fixed an issue where using Tag within Popover/Popconfirm caused incorrect
font-size
on 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
esc
key didn't correctly trigger the await
. #44646 - 🐞 Fixed the issue where the preset
size
of 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
href
in FloatButton.Group. #44707 @Yuiai01 - 🐞 Fixed the issue where
fontSizeSM
token 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
5.8.6
2023-09-02
- 🛠 Optimize some styles size in document.head by extracting unused styles.
- 🛠 Notification and Message only generate styles when displayed. #44488
- 🛠 Extract Tag status & preset color style which will only generate by needed. #44512
- 🛠 Extract Button compact style, now only the corresponding style will be generated when Space.Compact is used. #44475
- 📦 Remove
lodash/camelCase
from @ant-design/icons
dependencies to reduce bundle size. ant-design-icons#595 - Form
- 🐞 Fix Form.Item children not hidden when
wrapperCol.span
is 0
. #44485 #44472 @crazyair - 🐞 Fix Form
wrapperCol
to be 24 not working when labelCol
is set to 24. #44541
- 🐞 Fix Watermark that would crash if
content
is empty string. #44501 - 🐞 Fix ColorPicker popup still working when
disabled
is true
. #44466 @RedJue - 🐞 Fix Transfer trigger
onSelectChange
twice sometimes when click checkbox. #44471 @kovsu - 🐞 Fix Typography scrollbar flush problem when enable
ellipsis
. #43058 @bbb169 - Slider
- 🐞 Fix Steps
type="nav"
last item did not hide arrow properly. #44582 @ohhoney1 - TypeScript
- 🤖 Fix Upload file
status
definition to remove unused success status. #44468
5.8.5
2023-08-28
- 🛠 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
wrapperCol
with responsive xs
config not working. #44388 - 🐞 Fix ColorPicker duplicate
key
issue. #44370 @xr0master - 🐞 Fix Radio that not work in Tree title. #44380
- 🐞 Fix Table that would crash when
filterDropdown
does not support ref
. #44357 - 🐞 Fix Form
inline
layout show extra bottom margin when validation failed. #44360 - 🐞 Fix DatePicker
showTime
working error when format
is Array. #44306 @Zian502 - 🐞 Fix Watermark can not be fully shown when
content
is too long. #44321 - TypeScript
5.8.4
2023-08-18
- ColorPicker
- 🐞 Fix the cursor jumps when entering lowercase English letters in the ColorPicker color value input box. #44137 @gouge666
- 🐞 Fix the ColorPicker style is deformed under different sizes. #44273 @kouchao
- 🐞 Fix Descriptions throwing
key is not a prop
error message. #44278 @RedJue - 🐞 Fix the node is still rendered when Pagination
itemRender
is customized to null
. #44226 - 🐞 Fix Modal in Dropdown
menu.items
, rapid mouse movement when expanding Modal will make Dropdown reopen. #44204 - DatePicker
- 💄 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
5.8.3
2023-08-11
- DatePicker
- 🐞 Fix DatePicker panel cannot toggle when selecting time with truthy
open
and truthy defaultOpen
. #44105 @Yuiai01 - 🐞 Fix DatePicker and RangePicker still show the clear button when disable
allowClear
. #44015 @bartpio
- Carousel
- 🐞 Fix Carousel do not support
id
prop. #44079 - 💄 Fix Carousel
dots
extra margin style. #44076
- 🐞 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
badge
prop. #44109 - 🐞 Fix Grid & List responsive config take effect after first render which cause screen flick. #44075
- 🐞 Fix that Design Token partially missing when
@ant-design/cssinjs
version 1.15.0
. #44091 - 💄 Fix Badge
status="processing"
with dot
wave 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
- 💄 Optimize Input and InputNumber font size in large mode. #44000 @MuxinFeng
- 💄 Remove Space part useless style. #44098
5.8.2
2023-08-04
- 🐞 Fix Checkbox & Radio not support customize wave and add className
ant-wave-target
for 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
- TypeScript
- 🤖 Fix Drawer & Anchor part Design Token TS description not correct issue. #43994 @wving5
5.8.1
2023-08-02
- 🐞 Fix Select, TreeSelect, Cascader, DatePicker unexpected warning of deprecated
clearIcon
#43945 @kiner-tang - TypeScript
- 🤖 Export Design Token
MappingAlgorithm
as type of theme algorithm. #43953
5.8.0
2023-08-01
- 🔥 Component Token support
algorithm
to calculate derivative tokens same as global. #43810 - 🔥 Modal hooks function support
await
call. #43470 - 🔥 ConfigProvider support
wave
to customize wave effect. #43784 - 🆕 Form support
getFieldsValue({ strict: true })
to support only Item bind values. #43828 - 🆕 Descriptions support
items
prop. #43483 @RedJue - 🆕 ColorPicker support
disabledAlpha
prop. #43355 @RedJue - 🆕 Avatar.Group support
shape
prop. #43817 @li-jia-nan - 🆕 AutoComplete/Cascader/DatePicker/Input.Textarea/TimePicker/TreeSelect support
allowClear
prop to customize clear button. #43582 @kiner-tang - 🆕 DatePicker.RangePicker
presets
support callback functions. #43476 @Wxh16144 - 🆕 Added the
preview={{ movable: Boolean }}
prop to the Image component to support dragging and dropping into folders. #43823 @linxianxi - 🆕 Slider
tooltip
support autoAdjustOverflow
prop. #43788 - 🆕 Added the
selectionsIcon
property to the Transfer component to support custom icons for the dropdown menu. #43773 @li-jia-nan - 🗑 Select, Tree-Select and Cascader deprecated
showArrow
prop. Now suffix arrow should be configured with suffixIcon
. #43520 @MuxinFeng - 🐞 Optimized the import method for
@ant-design/icons
to avoid importing all icons. #43915 @ssxenon01 - 🐞 Fix Anchor not trigger
getCurrentAnchor
when scroll. #43916 - 🐞 Fix Tooltip
hover
not trigger on disabled
element. #43872 - 🐞 Fix ColorPicker not calling
onChangeComplete
callback when changing value. #43867 @RedJue - 🐞 Fix
Modal.confirm
locale
setting were reset. #43277 @Yuiai01 - 🐞 Fix Slider 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
@ant-design/icons
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-activedescendant
didn't conform to valid value. #43800 - ⌨️ Fix
Layout.Header
accessibility role. #43749 @khalibloo - TypeScript
- 🤖
Form.Item
support for generic pairs name
props verification. #43904 @crazyair
5.7.3
2023-07-24
- 🐞 Fix Adjust the positioning of the Tour to be centered when the
target
is null
. #43694 @linxianxi - 💄 Fix Watermark style issue in dark theme. #43754
- 🐞 Fix Button missing part
React.ButtonHTMLAttributes
issue. #43716 - 💄 Watermark use Design Token to support dark theme. #43754
- TypeScript
5.7.2
2023-07-20
- 💄 Fix Menu miss hover style issue. #43656
- 🐞 Fix Notification throwPurePanel definition missing error. #43687 @li-jia-nan
- 🐞 Fix Button
onClick
missing event
definition. #43666 - 🐞 Fix Input and InputNumber align issue. #43548 @bbb169
- 🐞 Fix DatePicker suffix use wrong token. #43646
- 🐞 Fix Steps with clickable can not trigger by keyboard. #43644
- TypeScript
- 🤖 Remove Button type
ghost
from TS definition. #43675
5.7.1
2023-07-19
- 💄 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
checked
and indeterminate
prop will not show as indeterminate
style. #43626 - 🐞 Fix Form.Item set
label=""
will break the line align. #43614 - 🐞 Fix notification
placement
not 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
icon
inside it. #43518 @Yuiai01 - 🐞 Fix ColorPicker that status style is missing inside Form.Item. #42880 @RedJue
- TypeScript
5.7.0
2023-07-11
- 🆕 ConfigProvider now supports
className
and style
properties for all components. Thanks to @Yuiai01, @li-jia-nan, @MuxinFeng for their contributions. - 🆕 Badge now supports
classNames
and styles
properties. #43245 @li-jia-nan - ColorPicker
- 🆕 Alert, Drawer, Modal, Notification, Tag, Tabs now support hiding the close button by setting
closeIcon
to null or false. #42828 @kiner-tang - 🆕 Image supports
imageRender
, toolbarRender
attributes to support custom rendering of preview images and toolbars, also supports new props such as onTransform
, minScale
, maxScale
. Image.PreviewGroup supports items
attribute to pass in list data, and fixes that the native attributes of the img tag are not passed to preview images The problem. #43075 @linxianxi - 🆕 Modify the layout style of the Image preview, the
preview
attribute supports closeIcon
, Image.PreviewGroup supports the fallback
attribute, and fixes the problem of loading preview resources in advance. #43167 @linxianxi - 🆕 Changed Image the layout style, Preview now supports
closeIcon
, PreviewGroup now supports fallback
, and fixed an issue where preview resources would be loaded at the beginning. #43167 @linxianxi - 🛠 InputNumber was refactored to use rc-input. #42762 @MuxinFeng
- 🛠 Resolved Circular dependency issue in vite, rollup, meteor and microbundle. #42750. Thanks to @jrr997, @kiner-tang and @MuxinFeng for their contributions.
- 🐞 Remove default values (empty string) of
className
prop in Anchor, CollapsePanel, and Input.Group. #43481 @thinkasany - 🐞 Fix Upload progress bar missing fade motion. #43471
- 🐞 Added warning for deprecated Token
colorItemBgSelected
in Menu. #43461 - 🐞 MISC: 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 Input.TextArea component would become invalid when the screen size changed. #43169
- 💄 In Slider, the
tooltip
should be centered when there is little content. #43430 @Jomorx - 💄 Design Token add
colorLink
to the seed token, and colorLinkHover
and colorLinkActive
will be calculated from colorLink. #43183 - 💄 Adjusted some tokens in Slider to component tokens. #42428 @heiyu4585 RTL#42428 @heiyu4585
- RTL
- TypeScript
5.6.4
2023-07-03
- Form
- 🐞 Fix
onFieldsChange
event will still be triggered incorrectly when the field is not configured with rules
when the Form is submitted. #43290 - 🐞 Fix the problem that the warning message that
name
is empty is falsely reported when the name
of Form.List is 0. #43199 @Yuiai01
- 🐞 Fix the Badge
color
attribute 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
showSizeChanger
method is invalid. #41906 @Yuiai01 - 🐞 Fix the invalid modification of
colorText
and fontSize
of Popconfirm component. #43212 - 🐞 Fix the problem that deleting files after Upload configures
maxCount
will not trigger onChange
. #43193 - 💄 Fix Button disabled style error when it has
link
or href
attribute. #43091 @BoyYangzai - TypeScript
- 🤖 Optimize Breadcrumb
params
type and support generics. #43211 - 🤖 Optimize Breadcrumb
params
type and support generics. #43257 @thinkasany - 🤖 Remove redundant number type from Button
loading
. #43256 @thinkasany - 🤖 Transparently pass Cascader
optionType
generic. #43231 @ZWkang
5.6.3
2023-06-25
- 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
rowKey
makes item unselectable. #43115 - 🐞 Fix Space
size
priority 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
5.6.2
2023-06-19
- 🐞 Fix Dropdown with
autoFocus
not work as expect. #43002 @Yuiai01 - 🐞 Fix InputNumber with
prefix
abnormal height under Form.Item of hasFeedBack
. #43049 - 💄 Fix Input and InputNumber disabled style with addons. #42974 @kampiu
- 🐞 Fix Upload trigger extra
onChange
event when upload the file exceeds maxCount
. #43034 - 🐞 Fix export bundle size always contain
rc-field-form
even not use Form. #43023 - 🐞 Fix DatePicker
disabledTime
sometime can select disabled option. #42991 @linxianxi - 📖 Add FloatButton controlled demo and patch related warning info. #42835 @poyiding
- 🐞 Fix Button with
disabled
still can interactive with sub component. #42949 @kiner-tang - 🐞 Drawer add max width to avoid exceed in small screen. #42914 @amir2mi
- 🐞 Fix Table
preserveSelectedRowKeys
not working when checkStrictly
configured. #42784 @linxianxi - 🐞 Fix Transfer select count not sync when dynamic update data. #42785 @BoyYangzai
- 🐞 Fix Radio.Button
title
not work and update typescript definition. #43012 @linxianxi
5.6.1
2023-06-07
- ColorPicker
- 🐞 Fix ColorPicker preset cannot be selected. #42882 @RedJue
- 🐞 Fix ColorPicker that should not trigger
onChange
when click clear after clearing. #42643 @linxianxi
- 🐞 Fix Collapse that displayed unexpected deprecated warning. #42876 @kiner-tang
- TypeScript
5.6.0
2023-06-06
- 🆕 ColorPicker add
onClear
and dont't close panel when clearing. #42634 @linxianxi - 🆕 Collapse
items
to support configure panel content. #42545 @kiner-tang - 🆕 Add static function
getDesignToken
to access full Design Token. #42723 - 🆕 ConfigProvider support configure Space
classNames
and styles
properties. #42748 @RedJue - 🆕 Space support
classNames
and styles
properties. #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
panelMode
as the select source type to the internal select trigger callback to use the correct source type when called. #42459 @bombillazo - 🆕 Select add
groupLabel
prop in fieldNames
to refleact title of group. #42492 @BoyYangzai - 🆕 Table add support for custom sort icon of table column. #42498 @sawadyecma
- 🆕 DatePicker support
kk:mm
format. #42494 @cooljser - 🆕 ConfigProvider.config support
theme
for static method config. #42473 - 🆕 Calendar
onSelect
support info.source
param to help get select source. #42432 - 💄 Optimize ColorPicker style in dark theme. #42827 @RedJue
- 💄 Fix Popconfirm, Alert and Notification that
colorTextHeading
and colorText
usage. #42839 - 💄 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 Rate findDOMNode is deprecated
warning in StrictMode. #42688 - 🐞 Rate could accept
id
data-*
aria-*
role
onMouseEnter
onMouseLeave
attributes now, so that it can be wrapped by Tooltip component. #42676 - 🐞 Fix Menu.Submenu not aligned in horizontal mode. #42648
- 🐞 Align Card
tabList
API with Tab items
. #42413 - 🐞 Fix circular dependencies.
- ⌨️ Improve Progress accessibility by adding more
aria
props. #42704 @MehmetYararVX - ⌨️ Notification add role
props
. #42484 @guan404ming - 🛠 Collapse use
onKeyDown
instead of onKeyPress
to change collapse panel active state. #42592 @kiner-tang - 🛠 Refactor Menu with
@rc-component/trigger
. Remove rc-trigger
and reduce bundle size. #42554 - 🛠 Table rename
sorterOrder
to sortOrder
for argument of sortIcon
. #42519 @sawadyecma - Component Token Migration. For more info: Migrate less variables
5.5.2
2023-05-30
- 🐞 Fix ColorPicker hover boundary issue. #42669 @RedJue
- 🐞 Fix Menu that
overflowedIndicatorClassName
should not override origin classes. #42692 - 🐞 Fix Select that in some cases will display the letter
A
. #42651 @895433995 - 🐞 Fix Card when
cover
is set to Image, hover mask does not have rounded corner attribute, resulting in UI exception. #42642 @iNeedToCopy - 🐞 Fix Checkbox align with label. #42590
- 🐞 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
- 📦 Optimize Form
setFieldsValue
logic to reduce bundle size. #42635 - 💄 Optimize Image.ImagePreviewGroup style. #42675 @kiner-tang
- 💄 Fix Tag borderless style with
error
and other status. #42619 @li-jia-nan - 💄 Fix Table
rowSpan
hover highlight style missing. #42572 - 💄 Fix Pagination's link icon and ellipsis hover style when disabled. #42541 @qmhc
- 💄 Fix Design Token that global token should be able to override component style. #42535
- 🇱🇹 Add missing i18n for
lt_LT
locale. #42664 @Digital-512 - RTL
5.5.1
2023-05-22
- 🐞 Fix wrong Button icon size and margin. #42516
- 🐞 Fix Select remove & selected icon not align in center. #42513
- 🐞 Refactor Popconfirm DOM structure to fix extra margin before
title
and description
when icon={null}
. #42433 - 🐞 Fix Menu item icon not centered when
itemMarginInline
is 0. #42426 @zzwgh - 🐞 Fix Tag wrapped with Tooltip will use wrong
font-size
when hover. #42414 - 🐞 Fix Popconfirm trigger
onVisibleChange
twice. #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
allowClear
interaction 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 border radius in filter dropdown of Table. #42451 @Yuiai01
- 🛠 Remove
addEventListener
from rc-util/lib/Dom/addEventListener
and use native addEventListener
instead. #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
- TypeScript
- 🤖 Optimize Slider ref type definition, replace
unknown
and any
with SliderRef
. #42420 @li-jia-nan
5.5.0
2023-05-15
- 🔥 New Component ColorPicker. #41990 @RedJue
- 🆕 Add
DatePicker.generateCalendar
and Calendar.generateCalendar
custom 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
validateFields
support validateOnly
to not to update UI status. #42273 - 🆕 DatePicker support changeOnBlur to trigger change event without clicking confirm. #42168
- 🆕 Cascader
options
support disableCheckbox
prop. #42024 @BoyYangzai - 🆕 Popconfirm add
onPopupClick
prop. #42272 @bolosea - 🆕 QRCode add
bgColor
prop to set background color. #42214 @bolosea - 🆕 Table.Summary.Row component add
onClick
prop. #42175 @Ylg12345 - 🆕 Space support ref. #42266 @RedJue
- 🆕 The
size
of Tab defaults to inherit Card. #42183 @huangkairan - ConfigProvider
- 🐞 Fix ConfigProvider
size
prop not work on Pagination. #42206 - 🐞 Fix ConfigProvider
size
prop not work on Steps. #42278 @wanghui2021 - 🐞 Fix ConfigProvider
size
prop not work on Descriptions. #42244 @wanghui2021 - 🐞 Fix the size is not inherited from ConfigProvider when the
componentSize
is set. #42199 @Ec-tracker
- 🐞 Fix then icon styles for Input are incorrect in Space Compact mode. #42167 @pengyw97
- 🐞 Fix Popover display empty div when
title
and content
is 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
tip
when not in nest pattern. #42293 - 🤖 Component Token name canonicalization. #42184
- TypeScript
- Locales
5.4.7
2023-05-06
- 🐞 Fix Menu different margin between Menu.Item and Menu.Submenu in vertical and inline mode. #42160
- 🐞 Fix Breadcrumb using
itemRender
with path
render 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
5.4.6
2023-04-26
- 🐞 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
flex
prop in colSize
. #41962 @AlexisSniffer - 🐞 Fix Carousel
goTo
is ignored if animation is in progress. #41969 @guan404ming - Form
- 🐞 Resolve Form issue about the feedback icon was not reset after a reset event had been triggered. #41976
- 🐞 Fixed Form inaccurate data collected by onValuesChange. #41976
- TypeScript
5.4.5
2023-04-23
- 🐞 Fix Anchor that
onChange
was memoized by useCallback
and wouldn't change. #41934 @Yuiai01 - 🐞 Fix Draggable Tree that title is not aligned when the text is wrapped. #41928 @Yuiai01
- Tree
- 🛠 Reduce Switch bundle size by upgrading
rc-switch
. #41954
5.4.4
2023-04-20
- 💄 Fix Message hooks icon style not follow dynamic theme token. #41899
- 🐞 Fix
@ant-design/cssinjs
that cssinjs may crash if CSS value is undefined
. #41896
5.4.3
2023-04-19
- 🐞 Fix FloatButton throws warning
findDOMNode is deprecated in StrictMode
. #41833 @fourcels - 🐞 MISC: 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
5.4.2
2023-04-11
5.4.1
2023-04-11
- 💄 Optimize Select-like component popup logic (e.g. Select, TreeSelect, Cascader). 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
noStyle
validation message reveal logic. #41698 @Wxh16144 - 🐞 Fix that 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
switcherIcon
cannot be hidden. #41708 @acyza - 🐞 Fix
List.Item.Meta
avatar and title are not aligned. #41688 @Yuiai01 - 🐞 Fix Row justify setting
space-evenly
does not work. #41679 @Yuiai01 - 🐞 Fix Button type to support custom data attributes. #41650
- 🐞 Fix Table column width issue when
rowSelection.selections
is not empty. #41626 - 🐞 Fix Mentions dropdown style. #41660
- 🐞 Improve Form.Item on
require
judgment logic. #41623 @Wxh16144 - Locales
5.4.0
2023-04-03
- 🗑 Remove
antd/es/locale-provider
antd/lib/locale-provider
directory 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
classNames
and styles
props. #41493 - 🆕 Tag add
bordered={false}
to support border-less style. #41305 @li-jia-nan - 🆕 FloatButton support
badge
prop. #41040 @li-jia-nan - 🆕 Select add
title
property. #41280 - 🆕 Image component supports
preview.rootClassName
. #41265 @Yuiai01 - 🆕 Modal added
afterOpenChange
prop. #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
affixWrapper
element. #41450 - 🆕 DatePicker/Calendar add
cellRender
for custom cells and deprecated properties dateRender
and monthCellRender
in DatePicker, deprecated properties dateCellRender
、monthCellRender
、dateFullCellRender
、monthFullCellRender
in Calendar. #41584 @kiner-tang - 🐞 Fix Tour double arrow problem. #41578 @acyza
- 🐞 Fix Checkbox with customize
controlHeight
token 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
5.3.3
2023-03-28
- Menu
- 🐞 Fix Menu
items
not accept key
issue. #41434 @Yuiai01 - 🐞 Fix submenu themes being overwritten when using
getPopupContainer
to select the main Menu. #41465 @Yuiai01
- 🐞 Fix Table filter do not persist filter status when filter dropdown is visible. #41445 @ablakey
- 🐞 Fix Modal using
useModal
is 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
nonce
not 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
- 🐞 Fix the incorrect type definition of Breadcrumb.Item
menu
. #41373 - 🤖 Optimize Grid Col type. #41453 @vaakian
- 🤖 Optimize Table
resetPagination
type. #41415 - 🤖 Optimize TreeSelect
InternalTreeSelect
type. #41386 @Andarist
- Locales
5.3.2
2023-03-20
- Anchor
- 💄 Fix Anchor redundant border style when it is set to horizontal direction. #41336 @gooyoung
- 💄 Fix Anchor ink square style in
vertical
mode. #41317 @acyza
- 🐞 Fix Grid
offset
can not be overwritten problem under different device screen sizes. #41309 @Yuiai01 - 🐞 Fix Breadcrumb
onClick
not 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
- TypeScript
5.3.1
2023-03-13
- 🐞 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
disabled
text 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
validateFields
not show success status when hasFeedback
is on. #41116 @kiner-tang - 🐞 Fix Cascader sub panel not close when hover to leaf node. #41134
- 🐞 Fix Popconfirm using
Promise
to close will not exist loading
state even when open again. #41121 - 🐞 Fix Upload
onChange
sometime 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
5.3.0
2023-03-06
- 🆕 Tooltip support
arrow.pointAtCenter
and deprecate arrow.arrowPointAtCenter
. #40989 - 🆕 Progress support custom
size
. #40903 @kiner-tang - 🆕 Tour support custom
zIndex
. #40982 @kiner-tang - 🆕 Table
onHeaderCell
support customize colSpan
and rowSpan
. #40885 - 🆕 Image.Group support
onChange
callback. #40857 @kiner-tang - App
- 🆕 ConfigProvider support
useConfig
hook to get size
and disabled
in context. #40215 @xliez - 🆕 Breadcrumb support
items
prop. #40543 @heiyu4585 - 🛠 Breadcrumb separators are unified into
li
elements. #40887 @heiyu4585 - 🛠 Tooltip support auto arrow position & adjust position if possible.
destroyTooltipOnHide.keepParent
is deprecated since it will be always auto destroy unnecessary container now. #40632 - 🛠 Rename preset colors in token, .e.g
blue-1
to blue1
, and deprecate tokens before. #41071 - 💄 Message use
colorText
in style. #41047 @Yuiai01 - 💄 Fix Select, TreeSelect, Cascader popup align position not correct when parent has
transform: scale
style. #41013 - 💄 Optimize
rowScope
style for Table. #40304 @Yuiai01 - 💄 Provide Design Token new AliasToken
lineWidthFocus
for outline-width
of focused component. #40840 - 💄 DatePicker.WeekPicker support hover style. #40772
- 💄 Adjust Select, TreeSelect, Cascader always show the
arrow
by default when multiple. #41028 - 🐞 Fix Form
Form.Item.useStatus
problem with sever-side-rendering. #40977 @AndyBoat - 🐞 MISC: Fix arrow shape in some components. #40971
- 🐞 Fix Layout throw
React does not recognize the
suffixCls prop on a DOM element
warning. #40969 - 🐞 Fix Watermark that text will be displayed when the picture loads abnormally. #40770 @OriginRing
- 🐞 Image support flip function in preview mode. Fix Image
fallback
when used in ssr. #40660 - 🐞 Fix Typography component is not centered in the Select component. #40422 @Yuiai01
- 🌐 Update locale
vi_VN
adding Vietnamese translation for Form component validation. #40992 @lamvananh - RTL
- TypeScript
5.2.3
2023-02-27
- 🐞 Fix for setting
percent
and success.percent
at the same time for Progress
, the progress text does not change as percent
changes. #40922 - 🐞 Fixed Image preview icon was misaligned. #40911
- 🐞 Fix ConfigProvider validation message template override Form configure template sometime. #40533 @Wxh16144
- 🐞 Fixed Confirm Modal
onOk
event could be triggered twice when close. #40719 @Rafael-Martins - 🛠 Rewrote the
useLocale
method and exposed localeCode
to the public. #40884 @li-jia-nan - 🐞 Fixed Segmented component items were unresponsive to mouse events. #40894
- 🛠 Refactored: replaced the LocaleReceiver component with
useLocale
and removed the LocaleReceiver component. #40870 @li-jia-nan - 🐞 Fixed
getPopupContainer
property injected by ConfigProvider did not work. #40871 @RedJue - 🐞 Fixed where Descriptions did not accept
data-_
and aria-_
attributes. #40859 @goveo - 🛠 Changed the Breadcrumb Separator's DOM element from
span
to li
. #40867 @heiyu4585 - 🐞 Fix token of
Layout.colorBgHeader
not work when single use Layout.Header directly. #40933 - 💄 Changed Design Token the component's focus
outline
to the default 4px
. #40839 - 🐞 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
5.2.2
2023-02-19
- DatePicker
- 💄 Optimize DatePicker date panel style. #40768
- 🐞 Fix DatePicker.RangePicker hover style on wrong date. #40785 @Yuiai01
- Form
- 🐞 Fixed inconsistency between Checkbox and Radio in table when Form is
disabled
. #40728 @Yuiai01 - 🐞 Fix Radio/Checkbox under Form
disabled
property don't works correctly. #40741 @Yuiai01
- 🐞 Fix List extra padding when enable
grid
property. #40806 - 🐞 Fix Upload actions icon alignment issue. #40805
- 💄 Tweak Table filter dropdown radius style. #40802
- 🐞 Fix Button
loading.delay
not delay at first time. #40759 @RedJue - 🐞 Fix Input status style when using
addonAfter
and addonBefore
. #40744 @carla-cn - 🐞 Fix Skeleton
active
flicky animation in Safari. #40692 @slotDumpling - Locales
5.2.1
2023-02-13
5.2.0
2023-02-08
- 🔥 Add
picture-circle
to Upload's listType
prop. #40134 @ds1371dani - 🔥 Anchor component add
direction
, which supports vertical. #39372 @foryuki - 🆕 Tooltip support
arrow
to change arrow's visible state and whether the arrow is pointed at the center of target. #40234 @kiner-tang - 🆕 Added List pagination
align
option. #39858 @Yuiai01 - 🆕 Timeline added
items
to support option configuration. #40424 - Collapse
- Slider
- 🆕 Slider add
railStyle
for custom style. #40579 @david-cord - 🆕 Slider add support for disable
keyboard
events. #40526 - 🐞 Fix Slider missing Tooltip appear motion. #39857
- Dropdown
- 🆕 Dropdown support
autoAdjustOverflow
option. #39735 - 💄 Fix Dropdown component
danger
and disabled
style priority issue. #39904 @Wxh16144
- Tour
- 🆕 Tour added
indicatorsRender
to support custom indicators. #40613 - 🆕 Tour support
scrollIntoViewOptions
to change scrollIntoView options. #39980 @kiner-tang - 🆕 Tour masks support passing custom styles and fill colors. #39919 @kiner-tang
- 🐞 Fixed Tour thrown
findDomNode
warning when called in strict mode. #40160 @kiner-tang - 💄 Deleted Tour margin of the last indicator. #40624
- 🆕 Adds Design token
fontFamilyCode
and apply to Typography code
kbd
pre
elements. #39823 - 🆕 ConfigProvider add Form
scrollToFirstError
. #39509 @linxianxi - 🆕 Global: Fill rest
rootClassName
for all components. #40217 - 🐞 Fix Empty descriptions text color in default theme and dark theme. #40584 @MuxinFeng
- Table
- 🐞 Fix
aria-label
and role="presentation"
cannot be used together in Table row. #40413 @Ke1sy - 🐞 Fix Table uncontrolled
filtered
update not working. #39883 - 🐞 Fix Table header filter is invalid in the case of group headers. #40463 @roman40a
- 🐞 Fix Table selection column cover by other cell when fixed. #39940 @kiner-tang
- 🐞 Fix Table Sorted/Filtered fixed column transparent background unreadable. #39012 @kiner-tang
- 💄 Optimize Table hover style to fix problems with border. #40469
- DatePicker
- 🐞 Fix DatePicker that have status style when disabled. #40608
- 💄 Optimize the DatePicker input box style. #40549 @Wxh16144
- 💄 Optimize DatePicker Dropdown arrow style. #40521
- 🐞 Fix Space
ant-space-item
selector bug. #40554 @cncolder - 🐞 Fix not close Spin immediately when using
delay
. #40475 @3Alan - 🐞 Fix Modal
useModal
default 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
transition
of 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 Design Token
boxShadow
tokens. #40516 - TypeScript
- 🤖 Optimize Badge Tag Tooltip
color
type definition. #39871 - 🤖 MISC: Add
Breakpoint
ThemeConfig
GlobalToken
type export. #40508 @Kamahl19 - 🤖 Update Upload
fileList
type. #40585 - 🤖 Remove Tour ForwardRefRenderFunction. #39924
- 🌐 Localization
5.1.7
2023-01-31
- Input
- 🐞 Fix Input that unexpected cancel button is shown when
type="search"
. #40457 - 🐞 Fix Input suffix color does not update bug when component status changed. #40344 @Yuiai01
- 🐞 Fix Switch text layout problem in Safari and Chrome <= 84 with compatible mode. #40453 @Ifeinstein
- 🐞 Fix Progress that throw error when
percent
is null
. #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
findDOMNode
warning in StrictMode when dot
switch. #40347 - 🐞 Fix Message wrong icon color problem. #40471 @Wxh16144
- 💄 Adjust Empty component default style in dark theme. #40447
- RTL
- TypeScript
5.1.6
2023-01-20
- 🐞 Fix DatePicker animation timing function. #40133
- Menu
- 🐞 Fix Tooltip incorrectly shown when Menu collapsed. #40328
- 🐞 Fix Menu split line style error. #40268 @Wxh16144
- 🐞 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
menu
prop. #40211 @candy4290 - 🐞 Fix Modal.useModal hooks
destroyAll
not work as expect. #40281 @ds1371dani - 🐞 Fix
message
global static method config
setting duration
not working. #40232 @Yuiai01 - 🐞 Fix Button text color when containing an
a
tag. #40269 @ds1371dani - 🐞 Fix Radio displaying wrong text color and cursor when
disabled
. #40273 @ds1371dani - 💄 Optimize Design Token calculation logic of focus
outline
, replace lineWidth
with lineWidthBold
. #40291 @simonpfish - 💄 MISC: Rewrite part component style to compatible the browser that not support concat
:not
selector. #40264 - 🌐 Fix missing translation for
pt_BR
. #40270 @rafaelncarvalho
5.1.5
2023-01-15
5.1.4
2023-01-09
5.1.3
2023-01-09
- Table
- 🛠 Optimize the Table
shouldCellUpdate
logic to increase the secondary rendering speed. #40063 - 🐞 Fix Table
columns.render
not trigger re-render when render function use closure data. #40004 - 🐞 Fix when Table filter, the border will be black. #39938 @JarvisArt
- Button
- 🐞 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
notFoundContent
cannot be clicked. #40067 - 🐞 Fix Transfer Checkbox not disabled when itemsList is empty. #40038 @li-jia-nan
- 💄 Fix Checkbox style with
disabled
and indeterminate
. #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 Menu.Submenu arrow transition. #39945 @JarvisArt
- 🐞 Fix Table selection column cover by other cell when fixed. #39940 @kiner-tang
- 🌐 Add missing ta_IN translations. #39936 @KIRUBASHANKAR26
5.1.2
2022-12-30
- 📖 Theme Editor supports uploading themes. #39621 @BoyYangzai
- 💄 Refactor Wave effect that can now trigger multiple times. #39705 @li-jia-nan
- Table
- 🐞 Fix Table
column.filtered
cannot be updated. #39883 - 🐞 Fix Table fixed column which is sorted or filtered transparent background bug. #39012 @kiner-tang
- 🐞 Fix Image preview style conflict with TailwindCSS. #39914
- 🐞 Fix Dropdown
danger
and disabled
style priority bug. #39904 @Wxh16144 - 🐞 Fix App.useApp
modal
default okText
. #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
border
is reset by preset. #39819 - 🐞 Fix Checkbox not support Tooltip or Popover when it is
disabled
. #39829
5.1.1
2022-12-26
- 📦 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 Design Token wrong
font-family
of components. #39806 - 🐞 Fix Drawer default props not working when
placement
open
width
are undefined
. #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.pageSize
is 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-bottom
in merged cell and unexpected border color if overlapping. #39729 - ⌨️ Improve Table a11y by applying aria-props to table element. #39700
- ⌨️ Reset
aria-label
in 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
justify
and align
properties 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 definition for Design Token. #39754
5.1.0
2022-12-20
- 🔥 New App Component which provide global style & static function replacement. #39046
- 🔥 New QRCode Component. #38948
- 🔥 New Watermark Component. #39064 @JarvisArt
- 🆕 Mentions support
options
prop. #38630 @heiyu4585 - 🆕 FloatButton support
clickOutAutoClose
. #39501 @BoyYangzai - 🆕 Popconfirm support
description
prop. #39250 @xhh0223 - 🆕 Modal.confirm support
footer
prop. #39048 @owjs3901 - 🆕 Table support
rowScope
to set the column range. #39571 - 🆕 Anchor support
items
data configuration option content, which supports nesting through children. #39034 @foryuki - 🆕 Grid breakpoints can now follow theme token config. #39105 @azro352
- 🆕 Tour prevButtonProps nextButtonProps support
style
classname
prop. #38939 @ONLY-yours - 🆕 ConfigProvider support config
select.showSearch
. #39531 @YinDongFang - 🐞 Fix Tabs
inkBar
not show in StrictMode. #39653 - 🐞 Fix Badge component width not being affected by parent element. #39605 @AydenGen
- Select
- 🐞 Fix wrong usage of icon color token in Select. #39644
- 💄 Optimize Select a11y to bind real option element when
virtual=false
. #39550
- 🐞 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
createRoot
to render. #38855 @JarvisArt - 🛠 Refactor Menu.MenuItem to Function Component. #38751
- 💄 Optimize Menu item style when selected. #39439
- 🛠 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
- 🤖 Optimize Button DropDown Modal Popconfirm Select Transfer mouse event type definition. #39533
- 🤖 New export FloatButton type
FloatButtonGroupProps
. #39553
- 🌐 Localization
5.0.7
2022-12-13
- 🐞 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
5.0.6
2022-12-12
- 🐞 Fix FloatButton
tooltip
property is not support 0
value. #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
5.0.5
2022-12-08
- 🐞 Fix button hover style in Space.Compact. #39157 @foryuki
- 🐞 Fix Tabs active bar missing sometimes in windows Chrome. #39352 @heiyu4585
- 🐞 Fix Divider
horizontal
align issue in flex layout. #39339 - 🐞 Fix Popover width in rtl mode. #39311
- 🐞 Fix Popconfirm padding style issue when
wireframe
is true
. #39313 - 💄 Fix Select search input with white space style issue. #39299
- 💄 Fix Tree missing selection style. #39292
- 🐞 Fix FloatButton content not align when customize size. #39282 @li-jia-nan
- 🐞 Fix DatePicker.RangePicker cell hover style. #39266
- 💄 Optimize Button style under Space.Compact. #39241 @foryuki
- 🌐 Fix
vi_VN
i18n mistake. #39279 @nghiepdev - 🌐 Fix
he_IL
i18n mistake. #39280 @Ran-Sagy - TypeScript
5.0.4
2022-12-05
- Modal
- 🐞 Fix Tree config
checkable
and blockNode
not makes title
stretch issue. #39209 @Wxh16144 - 🐞 Fix Dropdown sub menu missing motion. #39235
- 💄 Fix DatePicker.RangePicker time panel padding style. #39228
- 🐞 Fix Card action button round style. #39210 @MuxinFeng
- 🐞 Fix Badge wave effect color not follow
color
. #39182 @li-jia-nan - 🐞 Fix Radio disabled status check style. #39165 @Wxh16144
- 🐞 Fixed Input.TextArea count style when
resize
is not none
. #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
xs
responsive config not work. #39130 - 🐞 Fix message position not correct in RTL. #39248 @Yuiai01
- 🐞 Fix Switch only set with
checkedChildren
or unCheckedChildren
content not display. #39262
5.0.3
2022-11-30
- 🐞 Fix Spin alignment when using
tip
. #38923 @sribich - Menu
- 🐞 Fix Menu Submenu style when overflowed. #39093
- 🐞 Fix Menu.Item hover area when trigger active color change. #39077 @Pulset
- 🐞 Fix Input.TextArea resize behavior by adding reset style. aa92f02
- 🐞 Fix Upload default icon color. #39114 @MARKX97
- 🐞 Fix
@ant-design/cssinjs
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
5.0.2
2022-11-27
- 💄 Fix Card radius style broken when customize
bodyStyle
background color. #38973 @Yukiniro - 💄 Optimize Design Token default algorithm for error color. #38933
- 💄 Optimize the style issue in RTL mode. #38829 @Wxh16144
- Space.Compact
- 💄 Optimize Space.Compact style when wrapping a single child component. #38896 @foryuki
- 💄 Fix Space.Compact component style problem when wrapping Modal, Dropdown, Drawer and other components. #38870 @foryuki
- 🐞 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
options
props not working. #38968 @heiyu4585 - 🐞 Fix that
dist/reset.css
may be dropped in production. #38956 @passerV - 🐞 Fix Badge that
showZero
can'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
componentDisabled
is not work. #38886 @lidianhao123 - 🐞 Fix Button
block
prop is not working when shape="round"
. #38869 @jjlstruggle - 🐞 Fix Dropdown.Button that
dropdownRender
is not executed. #38862 @imoctopus
5.0.1
2022-11-22
- 💄 Optimize Empty svg color in dark theme. #38785
- 💄 Fix Form, Input, Select, Tree part style convert to CSS-in-JS missing. #38742
- 💄 Fix Dropdown animation flick in Firefox. #38729
- Menu
- 🐞 Fix that Table expanded icons are not aligned. #38823 @turdiyev
- 🐞 Fix FloatButton.BackTop missing animation. #38770 @li-jia-nan
- 🛠 Remove
Moment.js
dependency. #38762 - 🛠 Fix
CompoundedComponent
ts error. #38666 @wangcch - 🛠 Rollback
lib
in package. #38832 @chunsch
5.0.0
2022-11-18
🏆 Ant Design 5.0.0 is released, see our release note for more details.
Read it before migration
🌟 If you want to migrate to Ant Design 5.0, please check V4 to V5.
Major Changes
- 🔥 New Components
- 🔥 New Component Variants
- 🔥 DatePicker add
presets
to support preset ranges for quick selection. #38249 - 🔥 Progress
circle
type support responsive format
text for small size. #38231 @li-jia-nan - 🔥 Steps add
inline
type. #38311 @JarvisArt
- 💄 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
- 💄 Pagination remove border. #37441
- 💄 Optimize Timeline style. #37465
- 💄 Optimize Steps style. #37473
- 💄 Optimize focus style for some components. #37483
- 💄 Optimize style with large border radius.
- 💄 Optimize Table hover style. #37370
- 💄 Optimize Segmented hover style. #37498
- 💄 Optimize Dropdown hover style. #37491
- 💄 Optimize close button style for some components like Modal. #37634
- 💄 Optimize Menu style. #38009
- 💄 Optimize hover style for some more components. #37433
- 💄 Optimize Switch transition. #37658
- 💄 Optimize Anchor ink ball style. #38616
- 🆕 Export object
theme
which contains hooks and algorithms related with theme. #36302- 🆕 Add
theme.useToken
hook to get Design Token in context. #36267 - 🆕 Preset algorithm
- 🆕 Default algorithm
theme.defaultAlgorithm
. #36175 - 🆕 Dark algorithm
theme.darkAlgorithm
. #36546 #36656 - 🆕 Compact algorithm
theme.compactAlgorithm
. #38105
- 🆕 ConfigProvider support
theme
prop to modify theme configuration. For more: Customize Theme.
- 🆕 Support multiple
algorithm
pipeline. #37082 - 🆕 Support switching wireframe style. #37507
- 🆕 Support override Design Token for single component. #37568
- 🆕 Add
locale
directory in package, which contains commonjs locale files. #38194 @chunsch - 🗑 Do not support IE browser anymore.
- 🗑 Remove package
antd/lib
. #36362- 🛠 Change
main
in package.json
to dist/antd.js
. eb8835f
- 🗑 Remove
dist/antd.css
, and add dist/reset.css
to override common styles. #36224 - 🗑 Deprecate
visible
and provide open
instead in components below. @yykoypj- 🗑 Tag deprecate
visible
. #36671 - 🗑 Table deprecate
filterDropdownVisible
and provide filterDropdownOpen
. #36747 - 🗑 Drawer deprecate
visible
and provide open
instead. #36750 - 🗑 Modal deprecate
visible
and provide open
instead. #36774 - 🗑 Dropdown deprecate
visible
and provide open
instead. #36799 - 🗑 Tooltip deprecate
visible
and provide open
instead, Popover and Popconfirm. #36807
- 🗑 Deprecate
dropdownClassName
and provide popupClassName
instead in components below. @heiyu4585- 🗑 AutoComplete deprecate
dropdownClassName
and provide popupClassName
instead. #37087 - 🗑 Mentions deprecate
dropdownClassName
and provide popupClassName
instead. #37122 - 🗑 Cascader deprecate
dropdownClassName
and provide popupClassName
instead. #37089 - 🗑 Select deprecate
dropdownClassName
and provide popupClassName
instead. #37091 - 🗑 TreeSelect deprecate
dropdownClassName
and provide popupClassName
instead. #37092 - 🗑 DatePicker and TimePicker deprecate
dropdownClassName
and provide popupClassName
instead. #37207
- 🛠 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
4.x
Visit GitHub to read 4.x
change logs.
3.x
Visit GitHub to read 3.x
change logs.
2.x
Visit GitHub to read 2.x
change logs.
1.11.4
Visit GitHub to read change logs from 0.x
to 1.x
.