Change Log
antd
strictly 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.
4.24.11#
2023-06-27
🆕 Drawer panel support event listener. #42712 @kiner-tang
🐞 Fix Upload
onChange
sometime not sync when in React 18. #43200🐞 Fix Notification cannot hide close icon by
closeIcon={null}
. #42791🐞 Fix Drawer
id
was passed in incorrectly, and now is always added to the popup panel. #43124 @MuxinFeng🐞 Fix InputNumber with
prefix
abnormal height under Form.Item ofhasFeedBack
. #43048🐞 Fix Popover with
getPopupContainer
sometime makes width too narrow. #42697🐞 Fix Select will display the letter A under some circumstances. #42654 @tchen-l
🐞 Fix ConfigProvider that import useless modules from
rc-field-form
when importingFormProvider
. #42502 @BanShan-Alec🐞 Fix Popconfirm trigger
onVisibleChange
twice. #42351🐞 Fix Form
onFieldsChange
missingvalidating
status change. #42263🐞 Fix Popover that display empty
div
whentitle
andcontent
is null. 19f8505 @MaHui🐞 Fix RangePicker wrong panel position under some circumstances. #43179 @cooljser
🐞 Fix ConfigProvider makes Form component in the bundle even not use it. #43207 @yoyo837
💄 Optimize Spin style to keep height of container the same as child element. #42163 @cheapCoder
4.24.9#
2023-04-19
🆕 Slider add missing
railStyle
for custom style. #40942 @c01nd01r🐞 Fix Select width becomes 0px when search after select something. #41646
🐞 The
displayRender
prompt cannot be used when deletingmultiple
. #40940 @crazyair💄 Checkbox should use @border-radius-sm. #40823
🐞 Fix TextArea missing active style when focused. #41281 @MuxinFeng
🛠 Adjust Checkbox to remove
checked
when unchecked. #41888TypeScript
4.24.7#
2022-12-30
🐞 Fix Tabs slider that cannot resize. #39867
🐞 Fix Input text is missing when
suffix
is applied in Safari. #39830 @ifujustayup
4.24.6#
2022-12-26
🆕 Dropdown support
autoAdjustOverflow
. #39741🐞 Fix
justify
andalign
properties are not reactive for Row. #39706 @candy4290🐞 Fix Drawer that could not be close with
open={false}
. #39561🐞 Fix Divider
horizontal
align issue in flex layout. #39334💄 Fix
Dropdown
component dange and disabled style priority issue. #39434 @Wxh16144⌨️ Reset aria-label in Table column. #39747 @kiner-tang
🌐 Localization
4.24.5#
2022-12-05
🐞 Fix Menu.Item with
disabled
not prevent a element clickable. aa8d7f5 @二货机器人💄 Tweak Popconfirm icon position when
title
have multiple lines. #39027 @justanotheranonymoususer🐞 Fix Badge the color cannot be customized when
count
is0
. #39062 @Wxh16144🐞 Fix Card.Meta width is not 100%. #39039 @justanotheranonymoususer
🐞 Fix TimePicker pass to 'popupClassName' will display unexpected warning. #39010 @kiner-tang
💄 Fix Steps set
size="small"
with progress not fully display. #39103 @Wxh16144
4.24.4#
2022-11-25
Space.Compact
🆕 Mentions support
options
prop. #38876 @heiyu4585🐞 Fix ConfigProvider that
componentDisabled
is not work. #38886 @lidianhao123🐞 Fix Message that
onClose
didn't triggered whenduration
is0
. #38669 @kiner-tang
4.24.3#
2022-11-17
🐞 Fix Typography config
prefixCls
not working. #38586 @SavelevMatthew🐞 Fix Table should not trigger sorter when pressing Enter in filter dropdown. #38585
🆕 Allow Modal pass
mousePosition
to control animation origin position. #38584 @kiner-tang🐞 Fix Input.Search should not trigger
onSearch
while loading. #38578 @JackLiR8🐞 Fix Breadcrumb throw wrong
overlay
deprecated warning. #38567 @li-jia-nan
4.24.2#
2022-11-12
Image
Typography
🐞 Fix Menu SubMenu flick when collapse it. #36636 @JarvisArt
🐞 Fix RangePicker that
onBlur
gets triggered when selecting dates. #38411 @kiner-tang🐞 Result should hide icon when it is falsy. #38488
🐞 Fix Dropdown.Button throws
overlay is deprecated
warning. #38446 @li-jia-nan🛎 Improve error message about multiple Form.Item children. #38038 @cincodenada
🐞 Fix Affix shake issue when switching visible. #38410 @imoctopus
🐞 Fix Pagination
simple
mode should supportshowTotal
property. #38399🐞 Fix Modal.confirm buttons should not be interactive when modal is hiding. #38400
🐞 Fix Radio.Group style problem using in Drawer
extra
. #38385⌨️ Fix Table
aria-label
contains[object Object]
. #38389 @kiner-tang⌨️ Adds role progressbar to Progress component. #38447 @kpustakhod
4.24.1#
2022-11-04
🐞 Revert #38160 to fix Table render
column.title
not as expect. #38383💄 Alert add
@alert-padding-vertical
&@alert-padding-horizontal
less variables. #38369 @imoctopus🐞 Fix Steps with customize Step
status
not work. #38319 @heiyu4585🐞 Fix Popconfirm icon color get polluted. #38355
🐞 Fix Anchor missing dot style. #38338 @li-jia-nan
🐞 Fix DatePicker missing
popupClassName
definition. #38325 @Cedong.Lee
4.24.0#
2022-11-01
🔥 Add new component Space.Compact used to replace Input.Group and Button.Group. #37652 @foryuki
🆕 The
disabled
property on components inside a Form will now take precedence over thedisabled
property of the Form. #37628 @kiner-tang🆕 Add
text
config for editable Typograph, support enabling ellipsis and editable at the same time. #37761 @zheeeng🆕 Row
align
andjustify
support reponsive value. #37860 @kiner-tang🆕 Image add
preview.scaleStep
prop to adjust the magnitude of zoom in and out and set the defaultscaleOffset
to 0.5. #37340 @coldice945🆕 Steps support
items
. #37531 @heiyu4585🆕 Collapse supports
collapsible="icon"
to collapse by clicking icon. #37566 @Sheepeer🆕 Input.Password supports
visibilityToggle={{ visible, onVisibleChange }}
so that you can manually control password display and hide. #38216 @MrHeer🆕 Breadcrumb added the
menu
property. #37885 @JarvisArt🆕 Dropdown added the
menu
dropdownRender
property, and deprecated theoverlay
property. #37885 @JarvisArtTable
🆕 Table
filterDropdown
add close in argument toclose
filter dropdown only. #37745 @kiner-tang🐞 Fix Table
aria-label
contains[object Object]
. #38160 @kiner-tang
🐞 Fix Tabs component not reading the
getPopupContainer
property of ConfigProvider. #38238 @ZH-seven🐞 Fix Tooltip is broken when used in a disabled Menu.Item. #38273
🐞 Fix the issue of miscalculated transform-origin for Tooltip with
placement
values liketopRight
orbottomLeft
. #38159 @strear🐞 TimePicker remove redundant warning about using
popupClassName
. #38190 @kiner-tang🐞 Fix nest Drawer with default
open
append document order issue. #37767 #37790🐞 Fix issue where numbers were not displayed when Badge set both
color
andcount
. #37609 @kiner-tang🐞 Fix Progress zoom behavior in Safari. #38301
Modal
Transfer
🐞 Fix Transfer titles is undefined. #38182 @kiner-tang
🛠 Remove Transfer
defaultprops
spelling. #38164 #38154 @li-jia-nan
🛠 Refactor Anchor to Function Component, some methods of obtaining
ref
and calling internal instance methods will invalid.. #38265 #37957 @li-jia-nan @RexSkz🛠 The layout of the Dropdown.Button component is implemented using Space.Compact instead. #38090 @foryuki
🛠 Optimize the internal implementation of DirectoryTree Typography component. #38184 #38181 @holazz #37716 @zheeeng
💄 Fix TextArea custom border style not working when allowClear is enable. #38101
💄 Fix Popconfirm style issue when icon={null}, now an additional span tag will be wrapped around the icon element. #37384 @edc-hui
💄 Fix Menu highlight style in compact mode. #38223 @messaooudi
Carousel
TypeScript
🤖 Mentions additionally exports MentionsRef. #38028 @simonwong
🌐 Localization
Add Transfer
titles
property internationalization configuration. #38168 @kiner-tangFix default Empty description text. #38127 @HelloBojack
🇮🇹 Add missing
it_IT
locale. #38108 @ernestfolch
4.23.6#
2022-10-17
Table
🐞 Fix Breadcrumb not support number
0
. #38006 @li-jia-nanInput
🐞 Fix Input.TextArea render extra input node when enable
autoSize
. #38050🐞 Fix Input.Password that should not have value prop on input after click toggle icon. #37900 @linxianxi
💄 Fix border style issues for Input.Search in RTL. #37980 @foryuki
🐞 Fix AutoComplete warning for unused
dropdownClassName
. #37974 @heiyu4585🐞 Fix Typography with ellipsis that the computed
fontSize
style be calculated as empty string in some case. #37928 @zheeeng🐞 Fix editable Tabs add button missing in edge case. #37937
🐞 Fix RangePicker panel blink in some case. #439
🛠 Refactor Spin with Function Component. #37969 @li-jia-nan
🛠 Refactor Statistic.Countdown with Function Component. #37938 @li-jia-nan
4.23.5#
2022-10-10
🐞 Fix Textarea with
autoSize
blink on the fist mount. #37847💄 Fix Input.Password
style={{ fontSize }}
not working. #37898💄 Fix Input.Textarea
style={{ resize: "none" }}
is not working whenshowCount
is applied. #37855 @kiner-tang🇷🇺 Fix Russian translation for Transfer.selectInvert. #37858 @svtslav
🇵🇹 Add missing Portuguese translations. #37857 @ernestfolch
⚡️ Update Table and Tree for improve state performance. #37875 @sunteago
TypeScript
4.23.3#
2022-09-27
🆕 Tree
showLeafIcon
could accept ReactNode for a custom leaf icon.#37144 @xWiiLLz🆕 Uploader support Apple image format: heic, heif. #37651 @Johnny-young
🐞 Fix Typography
copyable.tooltip=false
still shows the copied tooltip. #37754🐞 Fix Typography
ellipsis
not working correctly in some cases. #37700 @zheeeng🐞 Fix Divider shows
children
when invertical
mode. #37697🐞 Fix Anchor
getCurrentAnchor
not updated. #37644🐞 Fix Tabs
animated: true
missing tabPane animation. #37642🐞 Fix Table
column.title
render function missingfilters
props. #37629🐞 Fix Modal.confirm instance ref legacy config
visible: true
back to show not work. #37613💄 Fix the problem of rendering an empty element with styles when Badge not pass
text
property. #37681 @Wxh16144💄 Fix Button wave style not work in shadow dom. #37677
💄 Remove Tab.TabPane outline style when focused. #37638
TypeScript
🤖 Update
FilterSearchType
definition for Table. #37610 @kiner-tang
🌐 Localization
🇵🇹 Add missing translations for 'Select all data' / 'Invert current page' for Transfer in pt_PT.#37682 @Dreamcreative, #37701 @hugobarragon
4.23.2#
2022-09-17
🐞 Fix Card console warning when using
tabList
prop. #37537 @edc-hui🐞 Fix Table
filterSearch
is not executed whenfilterMode="tree"
. #37587 @edc-hui🐞 Fix Tooltip should not replace children
className
when it's not a string type. #37598🐞 Fix Tree that TreeNodes not aligned when draggable and some node is disabled. #37534
TypeScript
4.23.1#
2022-09-09
🐞 Fix unable to close modal when using visible in
Modal.confirm().update
. #37471 @Aaron674092290🐞 Fix esbuild strict mode call
No matching export theme
error. #37462🐞 Fix Switch background flush issue by reverting #35103. #37458
TypeScript
🤖 InputNumber
value
add null type. #37421 @li-jia-nan
4.23.0#
2022-09-04
🆕 Tooltip support nested Fragment child nodes to display bubbles. #37045 @HQ-Lin
🆕 Input.TextArea add
value
parameter toshowCount.formatter
. #36793 @JarvisArtDeprecate
visible
in all components and change toopen
.🛠 Deprecate
dropdownClassName
prop of all components and change topopupClassName
. #36880 @heiyu4585🛠 Tabs support
items
props and origin jsx usage will be depreacted. #36889🐞 Fix that some css variables are not consistent with less variables.
🐞 Fix Menu disabled item focus style. #37332
💄
@border-radius-sm
should not follow@border-radius-base
by default. #37309💄 add
@slider-handle-margin-left
to custom type. #37001 @alanhaledc💄 Replace Tabs with fade switch motion to import switch experience. #36943
⌨️ Improve Form validation accessibility experience. #36762 @VladimirOtroshchenko
🌐 Add missing translations for filterCheckall in ru_RU. #37311 @HelLuv
🌐 Add missing translations in
cs_CZ
. #37388 @ZdenekKrcal
4.22.8#
2022-08-26
Table
🌐 Add Table missing French
filterCheckAll
localization. #37246 @Mar-he🐞 Improve Table sort panel accessibility experience. #37167 @dartamonov-vertex
💄 Optimize the button spacing of the Popconfirm component. #37183 @jiangmaniu
💄 Remove Card duplicate less style attribute definitions. #37170 @yanquanfahei
TypeScript
4.22.7#
2022-08-21
🐞 Fix Typography visible change some time Tooltip not work with ellipsis. #37147
🐞 Fix InputNumber that style cannot be customized with controls less variables. #37070 @coldice945
4.22.5#
2022-08-15
🇭🇺 Form add defaultValidateMessages.i18n az_AZ language #23369. #36967 @YMiemie-cy
💄 Popover remove Popover incorrect box-shadow. #37030 @jerrykingxyz
🐞 Fix Steps tail position bug when
labelPlacement="vertical"
. #36996💄 Removed exception error border for
Pagination
. #36972 @hydraZty🐞 Fix Upload trigger mistake files status when upload multiple files at same time in React 18. #36968
TypeScript
🤖 Fix type error of useWatch. #37013 @LiZhiHao97
4.22.4#
2022-08-08
🐞 Fix Drawer
zIndex
prop not working. #36958💄 Fix PageHeader focus style stay after clicking it. #36902
🐞 Fix Mentions popup shift when contain scrollbar. #36898 @JarvisArt
TypeScript
4.22.3#
2022-08-01
🐞 Fixed flickering when
fileList
updating in Uploader with React 18. #36801 @zhengjitf🐞 Fix Form.Item with small size
labelCol
andwrapperCol
not break line in vertical layout. #36800🐞 Fix Row in flex layout takes too wide space by default. #36770
4.22.0#
2022-07-26
Form
🆕 Radio.Group support
onBlur
andonFocus
props. #36041🆕 Typography
ellipsis.tooltip
supports a object for Tooltip props. #36099🛠 Refactor Drawer to remove directly style control which helps more React way. #36672
🛠 Refactor Sketelon.Button square shape style that its width is equal to height, and old become the default. #36123 @alanhaledc
🐞 Fix Modal.confirm
onCancel
argument close is not a function sometimes. #36600 @Wxh16144🐞 Revert #36439 to fix the problem of incorrect status when uploading and deleting files, and fix the status color change when Upload removes files again change problem. #36706
Tree
🛠 Tree/TreeSelect
switcherIcon
argument support more parameters from{ expanded: boolean }
toAntTreeNodeProps
. #36651 @alanhaledc🐞 Fix Tree
draggable
Fn params type from AntTreeNode to DataNode. #36648 @tianyuan233
Table
💄 Fix Table extra shadow and scrollbar when all columns are fixed. #36606 @dashaowang
💄 Fix Table tree data ellipsis style problem. #36608
🌐 Localization
🇱🇰 Add Sri Lanka locale. #36149 @sayuri-gi
4.21.7#
2022-07-18
🆕 Add Skeleton.Node sub-component, allow user customize content of Skeleton. #36441 @DawnLck
Form
🐞 Fix Form with percentage width Select may leaves unexpected height. #36484
🐞 Fix Form disabled but Upload component still uploadable in it. #36573 @cwjTerrace
🐞 Fix Tree non-draggable element still render the draggable icon. #36511 @Wxh16144
🐞 Fix Upload preview error on SVG with
<foreignObject>
and cross-origin links. #36402 @jonioni🐞 Fix that Tooltip cannot close automaticly on disabled Radio. #36483
💄 Add Modal Less variable
@modal-border-radius
. #36527 @kkkisme💄 Fix Table expand icon wrap style when column is fixed and ellipsis. #36496
4.21.6#
2022-07-11
🐞 Fix Skeleton active lost border-radius in Safari. #36445
🐞 Fix Breadcrumb separators disappearing when used as last element in a List. #36448 @LeonKattendick
🐞 Fixed Upload removing file status color is wrong. #36439
🐞 Fix DatePicker style issue when using
status
. #35685 @simplejasonTable
🐞 Fix Table scroll shadow style. #36420 @shunyue1320
🐞 Fix Table hover render performance issue. #36383
🐞 Fix Form.ErrorList shaking when validating too fast. #36358
💄 Radio shadow color should be transparency to fit none-white background. #36335
🐞 Fix Table border style issue when
title
configured. #36384 @Unuuuuu
4.21.5#
2022-07-03
🐞 Fix Checkbox cannot be disabled by Form
disabled
prop. #36345🐞 Fix Button
loading
prop withnull
value. #36288 @kejianfeng🐞 Fix popover arrow compatibility problem on some browsers. #36266
🐞 Fix extra shadow in nested Table. #36277
🐞 Fix that some class name in Divider cannot be customized. #36271 @alanhaledc
🇧🇾 Update Belarusian locale. #36265
4.21.4#
2022-06-27
Table
🐞 Fix Popover arrow color with custom
color
prop. #36241🐞 Fix Upload
listType="picture-card"
select button not being hidden when children is empty. #36196🐞 Fix Menu deprecated warning when
item={undefined}
. #36190💄 Fix Button
loading
icon margin style lost. #36168🐞 Fix Dropdown using Menu with group item can not close by click. #36148
💄 Enlarge dragable area for Slider handler. #36018 @slotDumpling
🐞 Fix: repeat a css class in readOnly, which has been declared in rc-input-number. #36120 @RainyLiao
💄 Fix Skeleton active background color in dark theme. #36116
TypeScript
🤖 exporting
UploadFile
fromUpload
. #34733 @chentsulin
4.21.3#
2022-06-17
🐞 Fix Table customize
filterDropdown
with Menu should not break defaultselectable
. #36098🐞 Fix Input.Textarea cannot focus after click clear icon in controlled mode. #34728 @Pulset
TypeScript
🤖 Tree.DirectoryTree supports generic DataNode type. #36092 @JaylanChen
🤖 Export
RefSelectProps
fromSelect
. #34732 @chentsulin🤖 Export
FormRule
,FormListFieldData
,FormListOperation
fromForm
. #34735 @chentsulin
4.21.1#
2022-06-13
🐞 Fixed Image the
getContainer
property not reading from ConfigProvider. #36002 @robothot🐞 Fixed Button issue #35952 where the
disabled
attribute does not take effect withhref
. #35975 @MuxinFeng🐞 Fix less color palette algorithm according to
@ant-design/colors
. #35954 @christian-lechner🐞 Fix Upload image flickering. #35943
💄 Remove styles from Form such as
status
for children of Modal and Drawer. #35849TypeScript
🤖 Fix type definition for
autoFocus
in Dropdown. #35990 @robothot🤖 Fix type definition for
MenuItemGroupType
in Menu. #35790 @MasaoBlue🤖 Fix Carousel type definition in React 18. #35959
🌐 Localization
4.21.0#
2022-06-06
🔥 Add Form level control input component
disabled
. #35210 @heiyu4585🆕 Tabs support
popupClassName
for more Dropdown. #35892🆕 Table
rowSelection.onChange
supportinfo.type
param. #35598🆕 The
copyable
prop of Typography.Paragraph supports to reset the mime type of the clipboardData by theformat
. #35219 @kanweiwei🆕 TreeSelect support
treeExpandAction
. #35618 @NE-SmallTownConfigProvider
Collapse
Progress
🆕 Progress steps support custom strokeColor for each step. #35855
🛠 Refactor Progress
type="circle"
andtype="dashboard"
for simpler dom structure and better rendering. #35433🛠 Refactor Progress to React hooks. #35393 @shuaijiumei
🐞 Fix Progress percent accuracy issue when near 100%. #35433
🐞 Fix Progress
gapDegree
displayed with wrong degree whentype="dashboard"
. #35433💄 Fix Progress border radius style when
type="line"
andstrokeLinecap="butt"
. #35822
Dropdown
Card
🛠 Refactor Card
loading
with Skeleton. #35525🛠 Refactor Card style to use flex instead of float. #35236 @miracles1919
🛠 DatePicker refactored to React hooks. #35425 @heiyu4585
🛠 Rename className of Pagination
mini
mode withant-pagination-mini
. #35881🛠 Refactor Popconfirm internal realize with Popover component. #35676
🛠 Change the implementation of the bottom button layout of the Modal confirm component. #35530 @foryuki
🐞 Fix the Wave effect does not work in React 18 strict mode. #35889 @Carrotzpc
🐞 Fix Drawer close twice
children
will undefined. #35853 @crazyairSkeleton
💄 Remove Skeleton default
margin-top
style. #35848💄 Optimize Skeleton
active
animation performance. #35836 @slotDumpling
💄 Remove
!important
in Radio style withdisabled
. #35920TypeScript
🤖 Fix Form.List type
FormListFieldData
missing propertyfieldKey
. #35884 @nanianlisao
🌐 Localization
🇹🇲 Add a new locale
tk_TK
. #35605
RTL
4.20.6#
2022-05-22
4.20.4#
2022-05-11
🐞 Fix Checkbox margin in Tree RTL mode. #35491 @miracles1919
🗑 Remove Cascader
displayRender
warning. #35417 @lalalazero
4.20.3#
2022-05-08
🐞 Fix unnecessary
rowGap: 0
style attribute in Row. #35409🐞 Fix List.Item
ref
no work problem. #35321💄 Optimize the style of arrow in Tooltip. #35401
🐞 Fix Table column filter reset is not working. #35386 @lalalazero
🌍 Add missing localizations for 🇬🇧 en_GB and 🇺🇦 uk_UA. #35430 @velykanov
Typescript
4.20.2#
2022-04-30
Segmented
Table
⌨️ Improve Table columns sorter a11y experience. #35269
🇪🇸 Added Table filter localization for es_ES. #35309 @agarciaguillo
💄 Fix Switch color in dark theme. #35332
💄 Tweak Breadcrumb link hover color. #35324
🐞 Fix Space throws
Encountered two children with the same key
warning in some cases. #35311🐞 Fix Select tag remove icon position issue. #35336 @walidcherhane
4.20.0#
2022-04-24
🔥 React 18 Support. Fix related known issue.
🔥 New component Segmented. #34319
Form
🛎 Menu support
items
for perf prepare, andchildren
will be removed in next major version. #34559🆕 Image PreviewGroup Support top progress rendering. #35038 @zpc7
Upload
Table
🆕 Support reset to the default value rather than empty, when click reset in Table column filter. #34355 @heiyu4585
💄 Fix Table head background and selection column width styling issues when
size="small"
. #34963⚡️ Optimize Table filter calculation perfromance. #35064 @nieyuyao
💄 Improve small and middle size Table selection dropdown margin style. #35173
Tree
Breadcrumb
🐞 Fix Breadcrumb deprecated warning of Dropdown
placement
. #35162🐞 Fix Breadcrumb show the number when is unexpected. #35123
⌨️ Make structure of Breadcrumb be accessible. #34082 @VladimirOtroshchenko
Anchor
Cascader
🆕 Cascader supports
showCheckedStrategy
for value display strategy. #34568 @heiyu4585🐞 Fix Cascader search result do not fill the entrie panel. #35019 @boomler
🆕 Click event object can be accessed in
onCopy
function of Typography. #34655 @yzwxk🆕 Support
rootClassName
property for Dialog and Image. #34574 @heiyu4585🐞 Fix error
Nothing was returned from render
when Skeleton use falsyloading
props withoutchildren
. #34872 @AlbertAZ1992💄 Optimize Switch disabled color to fit colorful background. #35103
💄 Remove Tabs
overflow: hidden
style to fix Select and sticky Table display problem inside Tabs. #35195💄 Fix animation for standalone Badge in RTL mode. #34899 @hmz22
🛠 Optimize Modal id generate logic to improve accessibility experience. #35072
🐞 Fix Select and AutoComplete scroll abnormal behavior when navigate via keyboard.。#35025
Spin
💄 Fix Spin animation style being abnormally parsed in Parcel. #35005
⌨️ Spin add
aria
attribute to improve accessibility. #34408 @heiyu4585
⌨️ Dropdown support select option by keyboard. #34738
🐞 Fix Title, Text, Paragraph components cannot get
ref
bug. #34847 @MQuyInput
⌨️ Fix
aria-checked
attribute for Checkbox, to avoid screen reader getting an incorrect status. #34862 @SpaNb4Less
💄 Replace less html selector with related variable. #35186 @jeffdrumgod
💄 Modify less
danger
value from the function to variable. #35113 @TrickyPi🐞 Arrow border radius variable use fixed value. #35086
TypeScript
🤖 Fixed
Upload
componentUploadChangeParam<T>
internalfileList
not using generics. #35158 @rendaoer🤖 Update TypeScript definition for
@types/react@18
compatible. #35075 @AliRezaBeigy #35076 @littledian
4.19.5#
2022-04-02
🐞 Fix Form that not keep store value when unmount and mount again. #34845
🐞 Fix Pagination under
<ConfigProvider componentSize="large" />
should display middle size Select. #34756🐞 fix Skeleton to unable to render
childten
of non-react element. #34751 @1247748612💄 Fix Tag
@tag-border-radius
less variable not work. #34741
4.19.4#
2022-03-27
🐞 Fix when
fullscreen
of the Calendar isfalse
, the element returned bydateFullCellRender
cannot be interactive. #34614 @imoctopus🐞 Fix text position in Steps with
small
size anddot
mode. #34651🐞 Fix Descriptions
contentStyle
not working when children is 0. #34696 @zhao-huo-long🐞 Fix notification prevent interaction on elements which under it. #34716
4.19.3#
2022-03-21
🐞 Fix TextArea
clearIcon
color. #34610🐞 Fix: apply scale transform to disabled star. #34547 @Unuuuuu
🐞 Fix Tooltip arrow color with preset. #34548
🐞 Fixed number abnormal position display in Badge RTL mode. #34545
💄 Fix numeric Row and Col class styles when using prefixCls. #34494 @mic-web
🐞 Fix Editable Textarea height jump in Firefox and Editable Typography.Title confirm icon position. #34518
💄 Fix missing
status
style in RangePicker. #34509🛎 Add warning for Input getting blurred when dynamically add
hasFeedback
. #34475🐞 Fix missing classname in input when Input has
prefix
orsuffix
. #34474🇮🇹 Updated it_iT locale for
Table
. #34566 @freshgiammi
4.19.2#
2022-03-13
🐞 Fix Dropdown not auto adjust placement when position on the edge of window. #34390
💄 Change PageHeader elements margin from
12px
to8px
insideextra
. #34428🛠 Export css variable function in
antd/es/config-provider
folder to enable ssr requirement. #34436🛠 Refactor Menu with React hooks. #34433
Input
Form
Tooltip
💄 Fix Tooltip width in Safari. #34415 @jiandandkl
💄 Fix arrow size of Tooltip/Popover/Popconfirm. #34407
💄 Remove Collapse bottom border in simple style. #34366 @PanStar
TypeScript
4.19.1#
2022-03-08
🐞 Fix less compile error related to custom status. #34350
🐞 Fix error
ReferenceError: colorPalette is not defined
when customize theme.🐞 Fix error
Error: Invalid class or id selector syntax
when importantd/dist/antd.css
.
🐞 Fix Input.Passowrd icon color in site. #34354
🐞 Fix ConfigProvider
csp
sometime not effect on Icon. #34356
4.19.0#
2022-03-08
💄 Optimize arrow style for some components. #33710
Input
🛠 Refactor Input with rc-input. #34206
Attention: The type and value of
ref
is modified because of refactoring from class component to function component. You can still get DOM node frominput
, and other methods such asfocus
andblur
mentioned in document are also supported.
🆕 Support
clearIcon
prop for customizing clear icon. #34325
Table
🆕
filterSearch
now support passing function to customize search. #34085 @heiyu4585🆕
column.filterDropdown({ clearFilters })
supportclearFilters({ confirm: false, closeDropdown: false })
. #34120 @heiyu4585⌨️ Table adds
aria-sort
attribute for screen readers. #33603 @dgreene1🐞 Fix Table filters select-all Checkbox not changed when select item. #34295
🆕 Data entry components add
status
prop to support custom status.🆕 InputNumber supports
controls={{ upIcon, downIcon }}
to customize icon up and down. #33914 @heiyu4585🆕 Notification
placement
supporttop
/bottom
#33871 @heiyu4585🆕 Select, Cascades, DatePicker now support
placement
property. #33641 @ONLY-yours🆕 Dropdown support
arrow={{ pointAtCenter: true }}
to make arrow point at center. Andtop
bottom
placement are also supported. #33658🆕 Skeleton.Input Adds
block
prop. #33672 @woochanleee🆕 Move TimePicker
disabledHours
,disabledMinutes
,disabledSeconds
intodisabledTime
to align with DatePicker. #33503💄 Modify the color of some borders and the background color of the progress bar to be transparent to suit the colored background. #33506
🐞 Fix
Typography.Title
didn't keep font size when become editable. #34169 @heiyu4585🐞 Fix Form.Item throw warning
React does not recognize the requiredMark prop on a DOM element
. #34323
4.18.8#
2022-02-21
🐞 Fix
getContainer
config not working bug when called multi-times viamessage.config
. #34123 @TrickyPi🐞 Fix invalid context value cache in Menu component. #34121 @mrwd2009
🐞 Fix ConfigProvider config theme on server side crash, and warning for useless in SSR instead. #34118
Table
🐞 Fix incorrect copy text of Typography after children is updated when enable
copyable
. #34034 @opopeieie⚡️ Optimize Avatar, List, Pagination, Steps to avoid additional render on mount if unnecessary. 34122
💄 Fix Form broken style when Select item is too long in horizontal layout. #34117
🇸🇰 Improve texts for Table, Form and Modal in
sk_SK
. #34061 @xsemanTypeScript
4.18.7#
2022-02-14
Typography
🛠 Fix Typography
useLayoutEffect
warning in SSR. #33818 @SoYoung210🐞 Fix Typography with
ellipsis
makes screen show the scroll bar in some case. #34007🐞 Typography copy click event is now
stopPropagation
by default. #33998 @linxianxi🐞 Fix Typography edit & copy button not trigger by enter key. #33976 @mrwd2009
🐞 Fix Form
undefined
text of min/max validators in pl_PL locale. #34024 @MichalPodeszwa🐞 Fix Input.TextArea cut text logic when
maxLength
configured. #33910 @chenyizhongx💄 Button with
type=default
will provide.ant-btn-default
className. #34013💄 Improve Menu
:focus-visible
style. #34008💄 Fix Pagination and Rate style problem in Safari. #34002
💄 Fix Row and Col component styles when using prefixCls. #33969 @mic-web
🐞 Fix Timeline icons with custom color not working. #33951
TypeScript
🤖 Optimize Cascader
onChange
definition withmultiple
prop. #33947 @babycannotsay
4.18.6#
2022-02-07
🐞 Fix the empty Popover displayed when
content
andtitle
is undefined or null. #33835 @DawnLck🐞 Fix the problem that Tooltip didn't show on
ellipsis
with rows larger than 1. #33875Button
🐞 Fix the issue that
block
of Button not work when small size. #33878 @tangjinzhou🐞 Fix the issue that
loading.delay
of Button cause React memory leak warning #33858 @mrwd2009
🐞 Fix the problem that Tooltip cannot be displayed when it is used with Switch in
loading
state. #33860🐞 Fix the Upload button sometimes flashes after changed from hidden to display when the Upload component is a
picture-card
type. #33820 @credredTypeScript
🤖 Fix DatePicker
ref
TypeScript definition. #33901 @Amour1688
4.18.5#
2022-01-24
Cascader
💄 Fix Tag style in dark theme. #33751
💄 Fix disabled Checkbox inside Tooltip dom structure. #33772 @boomler
⚡️ Fix invalid hook dependency array in Row and Layout.Sider components. #33804 @mrwd2009
🐞 Fix a Checkbox problem that
onChange
could not correctly pass in the modified value when dynamically modifyingvalue
property. #33753
4.18.4#
2022-01-18
Typography
Icon
🐞 Fix
<Icon component={HomeOutlined} />
and<HomeOutlined />
not aligned. (https://github.com/ant-design/ant-design/pull/33709)🐞 Fix
<Icon component={SyncOutlined} spin />
shake. #33726 @JX-Zhuang
Input
⚡️ Fix ConfigProvider and Anchor rerender unexpectedly. #33723 @mrwd2009
🐞 Fix the duplicate keys warning in console for Cascader. #33649 @dimbslmh
🐞 Checkbox.Group support number and boolean as options element. #33678
🐞 Fix Form
validateMessages
bug in multiple ConfigProvider. #33705🐞 Fix Steps the tail part would be hidden when type is navigation and labelPlacement is vertical. #33716 @toSayNothing
🐞 Fix TreeSelect with keyboard operation missing highlight issue. #33755
🇰🇭 Fix some translations for Khmer (km_KH). #33738 @vireakkeosokvibol
4.18.3#
2022-01-10
🆕 Menu support
home
andend
keyboard navigate. #33642 @dartamonov-vertexTable
⚡️ Improve Table performance significantly when mount and unmount. #33554
🐞 Fix Table emptynode fixed display. #33610 @hemengke1997
Form
🐞 Fix Input.Textarea throws error on preact. #33536 @developit
🐞 Fix PageHeader state update error after unmounted. #33546 @wuifdesign
💄 Fix Select tag margin issue when using
tagRender
. #33539💄 Remove svg reset style for IE9-, fix svg elements being cutting style problem. #33579
TypeScript
🤖 Fix Upload types for pass generic. #33543 @woochanleee
🤖 Fix Card.Grid props should expose Div Properties like
onClick
. #33563 @LongHaoo
4.18.1#
2021-12-29
🐞 Fix Popconfirm throws
Can't perform a React state update on an unmounted component.
warning in some async case. #33432🐞 Fix Input with
suffix
will crash whenvalue
is number type. #33462🐞 Fix Divider with text dashed border color error. #33452 @chen-jingjie
🐞 Fix Dropdown.Button not support
destroyPopupOnHide
. #33442 @LongHaoo🐞 Fix Table Pagination not trigger
onChange
whencurrent
changed. #33411 @2724635499
4.18.0#
2021-12-27
🐞 Fix Skeleton missing
style
prop. #33405🐞 Fix Descriptions overflow style cause other components being cut. #33392
🆕 Unique Select-like component generic as OptionType to support FieldNames type. #33364
🐞 Fix Slider rail hover color when it is disabled. #33369 @chen-jingjie
Table
Form
🆕 Modal static function support
wrapClassName
prop. #32676 @cwjTerrace🆕 Popconfirm add
showCancel
prop. #32620 @cwjTerrace🆕 Dropdown.Button supports
loading
property now. #32467 @kaysonwu🆕 Input adds
showCount
property. #32522 @cwjTerrace🆕 Alert supports
closeIcon
now. #32345 @chen-jingjieTypography
🆕 for editable Paragraph, edit can be triggered by clicking the icon or the value itself (or both) with
triggerType
. #32219 @kachanovskiy🆕 Typography support
enterIcon
to config confirm icon. #32220 @kachanovskiy
🆕 Divider added
orientationMargin
APIs for customizingmargin-left/right
of title. #32084 @neotan🆕 Avatar add
maxPopoverTrigger
to support configuration of popover trigger. #32197 @RiteshMakan🆕 Upload supports
showUploadList.previewIcon
now. #32059 @1040961807🏴 Fix Catalan (ca_ES) missing translation key with
Form
. #33377 @ZzGGitter🇫🇮 Fix Finland (fi_FI) missing translation key with
Table
. #33372 @ZakarFin🇰🇭 Added locales for Khmer (km_KH) translation. #32853 @vireakkeosokvibol
TypeScript
🤖 Add Upload
capture
definition. #33370 @MichalPodeszwa
4.17.4#
2021-12-19
🐞 Fix a bug that Form.Item name is "parentNode" casue endless loop and memory leak. #31846 @DaoxingHuang
🐞 Revert #32448 to fix emoji input at Input.TextArea. #33312
4.17.3#
2021-12-08
🐞 Fix Drawer broken style caused by title width. #33205
🐞 Fix Badge flash style when switch from
display:none
. #33083 @songlinn💄 Change Anchor className form
.fixed
to.ant-anchor-fixed
. #33085 @tangjinzhou💄 Fix Button loading style missing in Firefox. #33199
Select
Radio
💄 Fix Radio cursor style. #33198 @tangjinzhou
💄 Revert Collapse header
position: relative
style to ensure some user depends on this style. #33070🐞 Fix Input.TextArea height bug when has
showCount
. #33055TypeScript
🌐 Add missing zh-TW translation. #33108 @dengfuping
4.17.2#
2021-11-26
💄 Fix Form broken layout when set
wrapperCol={{ span: 24 }}
. #32981🐞 Fix Modal
centered
was not centered vertically. #33022🐞 Cascader typescript fix definition missing
suffixIcon
and support generic ofoptions
type. #33008🐞 Fix Input.Search don't trigger click event on element inside
enterButton
. #32999🤖 Tree support generic to work more well with
fieldNames
. #32992
4.17.1#
2021-11-22
🐞 Fix directly import
es/style/mixins/index.less
throwVariable @root-entry-name is undefined
error. #32887🐞 Fix Menu text color in collapsed tooltip. #32956
🐞 Fix Modal.method
bodyStyle
not working bug. #32934 @jin-benben🐞 Fix abnormal placeholder color. #32915
💄 Fix editable Tabs dropdown remove button style issue. #32919
🛠 Modal.confirm() Remove unnecessary
div
container. #31492 @ppbl🛠 Remove unused css code for Drawer. 4ca6976
🛠 Use
@height-base
in PageHeader. #32883🇵🇱 Added missing pl_PL translations. #32896 @MichalPodeszwa
TypeScript
🤖 Remove unnecessary union types for ReactNode. #32935 @huangkairan
🤖 Inherit
itemRender
typing fromrc-pagination
. #32931 @JounQin
4.17.0#
2021-11-15
Dynamic Theme Theme
🔥 ConfigProvider support dynamic modify theme color. view detail. #31496
🚧 Move part
mixins
related less file tothemes
instead since it requires theme variable. We do not recommend use internal file but please note this if you already use it. #32763🐞 Fix
antd.variable.less
compile mix with default theme variable. #32279🐞 Fix antd compile file miss
/style/default.css
. #32116🐞 Fix less compile
antd.xxx.less
throw theMaximum call stack size exceeded error
. #32063
Input
🐞 Fix Input.Search
border-left-radius
is not 0 when configured withallowClear
andaddonBefore
. #32812 @KAROTT7🐞 Fix Input set to
disabled
still keep focused style. #32739🐞 Avoid Input
placeholder
can be selected on Chrome. #32639 @cw1997🐞 Input.TextArea
maxLength
is now passing to html textarea element. #32448 @MOHAMMADArsalan🐞 Fix Input cannot clear content when focus it. #31931 @adaex
Cascader
🔥 Cascader support
multiple
mode. #31936🆕 Cascader support
onSearch
andsearchValue
props. #31936🆕 Cascader add
title
prop with content by default. #31237 @yingpengsha🐞 Fix Cascader missing
popupClassName
andpopupPlacement
props. #32143
Select
TreeSelect
Tree
🆕 Tree
draggable
add handler for tips. #32306🆕 Tree support
fieldNames
to customize node field name. #31395🆕 Tree support
onScroll
in virtual scroll. #474🐞 Fix Tree icon align bug when
showLine
is enable. #32822🐞 Fix Tree.DirectoryTree throws
TypeError:nativeEvent is undefined
. #32551 @D-to-the-K🐞 Fix Tree drop outside not clear indicator. #478
💄 Fix 1px position deviation of the Tree connection line when zooming in. #32075 @btea
PageHeader
🐞 Fix PageHeader with false 'breadcrumbrender' still shows dom. #32738
Form
Drawer
🆕 Tweak Drawer close icon position and default width, add
extra
andsize
props. #30908🆕 Drawer support
autoFocus
prop. #181🐞 Fix the problem that the bottom Drawer component has no animation. #32761 @solitia7125
💄 Optimize Drawer open animation. #32342
Steps
🐞 Fix Steps
progressDot
style when it isvertical
. #32742🐞 Fix Steps default responsive style not working. #31965 @tangjinzhou
Typography
Table
🔥 Table adds
column.filterMode
to support filter in a tree, which could set to'menu' | 'tree'
. #31809🔥 Table adds
column.filterSearch
for enable search function in filter dropdown. #31809🆕 Table hover
rowSpan
row will highlight all the rows now. #32557🐞 Fix Table selection column arrow get covered by fixed column. #32276 @g7i
🐞 Fix Table
loading
jumpy style when setsticky
. #32703 @miloudbelaabed🐞 Table remove
sticky
style with fixed column in IE11 to avoid layout issue. #32177💄 Optimize Table sorter icon margin problem. #32172
🐞 Fix Table.SELECT_XXX ignore record
disabled
status bygetCheckboxProps
. #32027💄 Table filter reset button won't close dropdown now. #31809
🐞 Revert Table sticky
z-index
style back tocalc
instead of less calculation to fixauto
style failure. #31874 @bconnorwhite🐞 Fix Table scroll bar display issue when data dynamic changed. #647 @lanten
🐞 Fix
pagination.className
not working in Table. #32131 @JounQin
Transfer
Collapse
Button
Pagination
🆕 Pagination supports
selectComponentClass
prop. #32132 @JounQin💄 Add box-shadow for jumper input in Pagination with
simple
props. #32528 @chen-jingjie
Upload
InputNumber
🔥 InputNumber support
addonBefore
andaddonAfter
. #31432 @Austaras🆕 InputNumber now supports
controls
for displaying+-
buttons or not. #31548🆕 InputNumber
formatter
support additional param to check if current input is user typing. #31030🐞 Fix InputNumber handler arrow not align center. #32409
💄 Show InputNumber handler when focus it. #31911
DatePicker
🆕
DatePicker
andRangePicker
now supportnextIcon
,prevIcon
,superNextIcon
andsuperPrevIcon
. #31703 @Oreoz🐞 Fix
defaultPickerValue
not working in RangePicker. #32107 @thommesZip
Notification
🆕 Notification support
maxCount
to limit count. #31807 @binyellow🐞 Fix
closeIcon
not working bug when Notification is called multiple times. #32359 @KAROTT7
🆕 Popconfirm
onConfirm
supports Promise. #30871 @wendellhu95🐞 Fix Card
tabs
style when settabPosition: 'left'
. #32695🐞 Fix Radio cannot click due to custom
type
property. #32463🐞 Fix
Ok
abbreviation to beOK
. #32259 @chj-damon🐞 Fix Grid Col
flex
some time exceed its width when content too long. #32160🐞 Fix Switch Loading icon in an incorrect position. #32216
🐞 Fix return element of
getPopupContainer
in ConfigProvider is not used as a container when callingmessage.useMessage
. #31939 @DaoxingHuang💄 Improve small size Image by ellipsising preview text. #29900 @drizzlesconsin
🐞 Fix Alert extra dom node when
message
isundefined
. #32057🐞 Fix anchor
targetOffset
not work when contain spaces. #31952 @adaex💄 Add
@checkbox-border-radius
less variable. #31360 @Gherciu🐞 Avatar add
crossOrigin
property to resolve cross origin issue. #31273 @Map1enRTL
💄 Optimized Alert close icon display in RTL mode. #32286
💄 Optimized Table header action display in RTL mode. #32283
💄 Optimized Collapse arrow icon display in RTL mode. #32282
💄 Optimized Badge count display and animation in RTL mode. #32281
💄 Optimized InputNumber handler border style in RTL mode. #32272
💄 Optimized Dropdown icon display in RTL mode. #32271
🐞 Fix Transfer list
direction
value in RTL mode. #31903
🌐 Localization
TypeScript
🤖 Modify the type of Spin
tip
to ReactNode.. #32733 @tychenjiajun🤖 Fix Message duration type definition. #32524 @chen-jingjie
🤖 Fix args type for
getPopupContainer
in ConfigProvider. #32406 @mtadams007🐞 Fix Table missing generic type definition. #32358
🐞 Fix Switch missing
id
property. #32237 @M-ZubairAhmed🤖 Fix
type
type for Button. #32004 @jaredleechn🤖 Improve and export
DropdownButtonType
type for DropdownButton [#31957 @Dreamerryao🤖 Update the
levelMove
type definition in Drawer. #30714 @g0shed
4.16.11#
2021-08-08
🐞 Fix ConfigProvider rerender unexpectedly when switching some languages. #31630 @Map1en
💄 Improve ghost button style rules, no more
!important
. #31659💄 Improve RangePicker range transition style. #31645
🤖 Fix Dropdown
destroyPopupOnHide
TypeScript definition missing. #31700 @linxianxi🤖 Remove useless Omit type which is built-in in TypeScript 3.5+. #31661 @Dreamerryao
4.16.10#
2021-08-02
🐞 Fix Badge not showing count when customize
color
prop. #31617 @eokoneyo🐞 Fix circle Progress
success.strokeColor
cannot take effect. #31589🐞 Fix the type error due to the Select component didn't ignore the
getRawInputElement
prop. #31566 @aoilti🐞 Fix Pagination's
totalBoundaryShowSizeChanger
property type error. #31549 @Monty-Ma🐞 Fix
className
applied to both Skeleton.Avatar wrapper and element itself. #31536 @Greatshock🌐 Internationalization
🇹🇷 Added Turkish translation for Image
Preview
text. #31593 @mburakkalkan🇰🇷 Fix a typo in the Korean language. #31575 @chatoo2412
4.16.9#
2021-07-27
🐞 Fix Typography
ellipsis
calculation bug when browser zoomed. #31449💄 Fix Input wrong class when using
prefixCls
. #31479 @spawnia💄 Fix Input.Password unexpected focus style of error status. #31456
💄 Fix Badge color transition issue when toggle visibility. #31458
💄 Fix Tabs
tabBarGutter
abnormal style behaviors. #31469🌐 Internationalization
🇷🇺 Update translation for Image in ru_RU. #31448 @KirillSBarsukov
🇩🇰 Add missing translation for Table in da_DK. #31486 @bischmlb
4.16.8#
2021-07-19
🐞 Fix TextArea
style
not work whenallowClear
configured. #31391🐞 Fix BackTop not disappear when fade out. #31357
💄 Fix Cascader style bug inside Input
addonBefore
. #31350💄 Fix DatePicker disabled cell style when customize
dateRender
. #31349💄 Fix Select background in disabled. #31430 @DerrickTel
💄 Fix alignment between Radio.Group and Button. #31421 @gtb104
💄 Fix Input clear icon color in some situation. #31378
Table
🌐 Internationalization
4.16.7#
2021-07-12
🐞 Fix DatePicker date cell not centered when used in Table. #31306 @Map1en
🐞 Fix Desciptions border missing when inside Table. #31307
🐞 Fix InputNumber border and interactive handler not matched. #31300 @diyews
Table
Form
🐞 Fix Form Input outline color under Form validation. #31240
🆕 Form add
name
as a default label value invalidationMessages
. #30179 @jameslahm
💄 Fix Rate focus ring style in Safari. #31241
💄 Tweak Select arrow icon position. #31234
🐞 Input will not trigger
onBlur
when click clear icon now which resolve that editable table input cannot be cleared. #31202🐞 Fix Tooltip
arrowPointAtCenter
1px shift bug. #31201💄 Fix Menu.Item hover color transition style. #31189
🐞 Fix Dropdown.Button don't support
overlayClassName
andoverlayStyle
. #31187💄 Adjust Pagination pattern of disabled-active buttons align with Radio style. #31185 @Map1en
🐞 Fix the path error when packaging the component style export file in the Windows environment. #31277 @aoxiang78
TypeScript
🤖 Adjust Transfer
listStyle
definition to be optional. #31322 @geekrainy
4.16.6#
2021-06-29
🐞 Fix Tree loading status not been restored when
loadData
throw error. #31170⚡️ Optimize Progress animation CPU usage. #31128 @stygian-desolator
🐞 Fix Popover arrow cannot show correct color. #31127 @A113n1003
4.16.5#
2021-06-23
🐞 Fix Menu to import
@ant-design/icons
icon directly to reduce bundle size without tree shaking. #31011🐞 Fix Menu with overflow indicator popup do not follow current theme. #31043
🐞 Fix Table styles not using
@{table-prefix-cls}
less variable. #30983🐞 Fix Input.Password hover border color in Form validation. #30999
🐞 Fix Space with wrap takes additional negative margin style. #31000
🐞 Fix Typography warning for non-boolean attribute when set
italic
property. #31004
4.16.3#
2021-06-14
🐞 Fix the mistake that tooltip mount on wrong dom, when getPopupContainer of tooltip's props is undefined or null. #30963 @ymrdf
🐞 Fix Button lost margin between loading icon and text when children is fragment. #30962
Table
🐞 Table adds warning when
filteredKeys
is controlled and not reflecting internal changes. #30882 @wendellhu95🐞 Fix Table fixed column header hover background. #30972
💄 Adjust Dropdown item content style to make it get more display space. #30911
💄 Fix Menu in dark mode open style affect by light mode. #30907
🐞 Fix Dropdown/DatePicker/Select/Cascader animation direction after auto adjust position. #30892
🌐 Internationalization
🇵🇱 Fix Polish locale. #30899 @MichalJani
4.16.2#
2021-06-07
🐞 Fix Menu auto overflow with
horizontal
mod breaks byfloat
element. #30879Typography
🐞 Fix Progress
type="circle"
throws errorRendered more hooks than during the previous render
sometimes. #30855💄 Optimize Tooltip content width. #30822 @donysukardi
Table
💄 Fix Dropdown Item with link color style and click icon can also trigger link effect now. #30802
💄 Remove duplicated css reset styles for render performance. #30660 @renzhao1113
TypeScript
🤖 Adjust Form, Input, Locale, PageHeader component definition. #30776 @qqabcv520
4.16.1#
2021-05-30
Menu
Typography
Table
🐞 Fix Collapse expandIconPosition="right" not working. #30680 @hongdeyuan
TypeScript
🤖 Export TableColumnsType type.#30747 @alwaysloseall
🤖 Export TreeDataNode type. #30745 @alwaysloseall
4.16.0#
2021-05-24
🔥 Refactor Menu to support keyboard access and enhance accessibility experience. #30382
💄 Redesign Table filter and sorter buttons to clarify current column. #30651
Table
Upload
Typography
🆕 Typography support for italics. #30458 @alwaysloseall
🐞 Fix Typography flush issue when use
ellipsis={{ suffix: "xxx" }}
. #30582
Collapse
🐞 Fix Menu.SubMenu icon margin issue when using third party icon libraries. @#30642
🐞 Fix Descriptions wrong styling import. @#30602 @lisenenkov
🆕 Radio.Group supports
data-*
andaria-*
props. #30507🆕 Statistic.CountDown support
onChange
event. #30265 @appleshell🆕 PageHeader
breadcrumb
allows to set as a reactnode. #30019 @gepd🆕 ConfigProvider supports dynamic
prefixCls
. #30625🐞 Fix Anchor cannot trigger
onChange
when havegetCurrentAnchor
prop. #30601🐞 Fix Notification custom styles don't apply to correct div by
className
when usinguseNotification
. #30588🐞 Fix Tabs
tabBarGutter
not working. #30545💄 Rewrite Space to use
flexGap
instead ofmargin
style to deal with layout issues under certain border situations. #30023🐞 Fix Form error style of Input.Group and Cascader. #30640
🌐 Internationalization
🌐 Added Dutch (Netherland 🇳🇱) and Dutch (Belgium 🇧🇪) internationalization. #30389 @lewis-fidlers
TypeScript
🤖 Space TypeScript definition supports HTMLAttribute props. #30590
4.15.5#
2021-05-10
🐞 Fix Upload crashes if
beforeUpload
returnsfalse
in IE. #30391 @OleksandrAntonenko1Calendar
Table
🐞 Fix Dropdown.Button don't support
mouseEnterDelay
andmouseLeaveDelay
. #30452💄 Optimize Rate focus behavior from
:focus
to:focus-visible
. #30451🐞 Fix Steps with progress get cut at the bottom. #30373 @fachreza73
🐞 Fix the problem that setting
locale
in DatePicker cannot override ConfigProviderlocale
. #30380 @Map1enLocale
TypeScript
🤖 Export Tooltip
zIndex
prop typescript definition. #30432
4.15.4#
2021-04-30
🐞 Fix Menu.Item width issue when
collapsedWidth
is set. #30357 @Map1en🐞 Fix Radio check spin style sometime height too long. #30367
🐞 Fix Typography.Link open link when trigger
editable
. #30354 @John60676🐞 InputNumber clean up input will trigger
onChange(null)
now. #30337🐞 Fix Dropdown.Button broken style when inside Modal
footer
. #30328 @Map1en💄 Replace Anchor default background from
#FFFFFF
totransparent
. #30336🌐 Add
ko_KR
andja_JP
TimePicker.RangePicker placeholder. #30285 @ChalkPETypeScript
4.15.3#
2021-04-25
Table
🐞 Fix Button
type="link"
should not redirect when it isdisabled
. #30209🐞 Fix Upload appear errors when url of file is
null
. #30215🐞 Fix padding on a SubMenu inside an ItemGroup. #30218 @sebakerckhof
🐞 Fix Checkbox & Radio align issue in flex box. #30260
🐞 Fix Badge broken animation on spin icon. #30275
TypeScript
🤖 Fix Upload type definition of
beforeUpload
. #30213 @hello-chinese
4.15.2#
2021-04-19
💄 Fix Button
type="link"
disabled cursor style missing. #30197🐞 Fix TextArea
onChange
event returntarget
object is not a HTMLTextArea object. #30124🐞 Files in Upload
fileList
will always have uid. #30087 @jameslahm💄 Fix Badge toggle style when
status
iswarning
. #30090 @jameslahm🌐 Add Image component
preview
text in zh_HK and zh_TW. #30100 @jameslahmTypeScript
🤖 Modify LIST_IGNORE field is of string type. #30188 @hello-chinese
4.15.1#
2021-04-10
🐞 Fix Descriptions
labelStyle
contentStyle
unsuccessful whenlayout="vertical"
andbordered={true}
. #29942🐞 Upload won't crash when
fileList
is a frozen object now. #29944🐞 Fix Tabs cannot scroll when vertical mode in Safari 13.1. #29983
🐞 Fix Button throws
Cannot read property 'removeChild' of null
in some situation. #29961 @JohnDeved🐞 Fix Transfer button's box-shadow getting cut. #30030 @jinchaofs
🐞 Fix CheckBox.Group cannot work with Form of
@ant-design/compatible
. #30039 @jameslahm🐞 Fix PageHeader
<Tabs type="card" />
padding missing. #29819Table
💄 Optimize Table pagination style when narrow width. #30065
🐞 Fix Table
@table-border-radius-base
not being applied to.ant-table
node. #29966 @VoliBearCat
🐞 Fix Input.TextArea
maxLength
does not work in control mode. #30070TypeScript
Locale
4.15.0#
2021-03-29
🆕 Table now supports
rowSelection.defaultSelectedRowKeys
. #29879 @keelii🐞 Fix TextArea display value will be cut by
maxLength
when in controlled. FixonCompositionEnd
not trigger when input exceedmaxLength
. Fix emoji count not align withmaxLength
&showCount
. #29867🐞 Fix Button click effect style not working in shadow root. #29897 @JohnDeved
Pagination
🐞 Fix Steps progress item getting cut at edge. #29893
🛠 Prevent Upload drop event bubbling to handle nest case. #29832 @jojonarte
🐞 Apply ConfigProvider
componentSize
on Tabs component. #29844 @bn3t💄 Remove Tag hover style since it do not have click interactive. #29874
4.14.0#
2021-03-14
Upload
🆕 Upload
onChange
to change back to the original behavior (before Upload false returns the original file, and the rest of the scene returns the encapsulated object). Now you can always get the original file viaonChange.info.originFileObj
. For future upgrades, please use this method to access the original text first. #29737🐞 Fix Upload
onChange
paramsfile
can notcloneDeep
by lodash. #29718🐞 Fix Upload crash when
fileList
isnull
. #29702💄 Upload motion add 2s deadline to avoid developer manually remove motion makes hanging. #29686
🐞 Fix the bug that Modal footer buttons not spaced properly when using href in button. #29681 @n0ruSh
🆕 Add parent class for different Notification types. #29634 @n0ruSh
🆕 Typography editable supports
onCancel
andonEnd
. #29615 @jueininTabs
🐞 Fix Tabs
centered
prop is not actually center. #29495 @jinchaofs🆕 Tabs support
moreIcon
. #29744 @tianyuan233
🐞 Button with
htmlType='reset'
will reset all form fileds. #29752 @jueinin🐞 Fix AutoComplete custom input
className
missing. #29725💄 Fix console warning when setting
margin
style on Row. #29688💄 Fix the error style where the
disabled
Input has affix elements. #29670💄 Optimize the cursor style of Form.Item tooltip info. #29650
🇨🇿 Fix typo in cs_CZ locale. #29675 @jvaclavik
🇨🇦 Add fr_CA locale. #29748 @liufenghua808
4.13.1#
2021-03-06
🐞 Fix
message.config
withprefixCls
missing animation style. #29574🐞 Fix Tooltip is not interactive when
visible
istrue
under some situation. #29555🐞 Fix ConfigProvider within multiple page switch will lose locale issue. #29570
🐞 Fix Modal with hooks cannot call
update
ordestroy
before render. #29584🐞 Fix Grid throw error when client support flexGap but ssr not support. #29586
🐞 Fix Select caret position when
mode="tags"
andsize="small"
. #29561🐞 Fix Carousel
dotPosition
makespauseOnHover
not working. #29587 @zgoby🐞 Fix Steps
responsive
prop warning. #29599🐞 Fix Upload
onChange
param offile.originFileObj
return nest Proxy object. #29614🐞 Fix Descriptions under Table will not have 100% width. #29630
TypeScript
🤖 Fix Drawer type declaration of
contentWrapperStyle
. #29571
4.13.0#
2021-02-28
🔥 InputNumber support
stringMode
for high precisionstep
.value
in control out of range shows warning style instead of changing it. Dynamic updatemin
&max
will not triggeronChange
anymore. #29373🆕 Upload support
beforeUpload
returnUpload.LIST_IGNORE
to skip item added in UploadList. #29474ConfigProvider
🆕 Form.List nest multiple level Form.Item support
preserve
prop. #29267🐞 Fix Table
pagination.current
display error when result of filter is empty. #29386 @jinchaofs🐞 Fix Anchor throws error when
target
don't return a html element. #29523 @bcd337🐞 Fix Steps with small size that icon shift up
1px
. #29484Select
Dropdown
🐞 Fix tree-shaking warning on development builds. #29378
🇰🇷 Fix TimePicker Korean locale. #29540
TypeScript
4.12.3#
2021-02-10
🛠 Refactor Drawer with React hooks. #29229
🐞 Fix Table pagination not disappear when
pagination.position
is['none', 'none']
. #29256 @mumiao🐞 Fix TextArea
showCount
should not be interactive. #29245🐞 Fix abnormal background color for
multiple
anddisabled
Select in dark. #29242⚡️ Optimize Slider align performance of tooltip. #29308 @kerm1it
⚡️ Upgrade
@ant-design/colors
to 6.x to reduce gzipped bundle size1KB
. #29307 @07akioni🇮🇷 Add
fa_IR
locale text for DatePicker, Form, Table, TimePicker and Transfer. #29232 @amiralitaheriTypeScript
4.12.0#
2021-02-03
🆕 Image.PreviewGroup add
current
prop. #29153InputNumber
💄 Darken Tag text color to enhance readability. #29144
💄 Fix Row with vertical
gutter
provides additionalmargin-bottom
style. #29059🐞 Fix Collapse header disappers with delay. #29158
🐞 Fix the problem that
showCount
display data is incorrect when TextArea input emoji. #29057 @HomyeeKing📦 Optimize ConfigProvider to avoid import all icons when tree shaking is not enabled. #29045
Table
🆕 Table
showSorterTooltip
now could be a object for more configuration. #29002 @harrisoff⚡️ Optimize calling sequence of
onChange
andonSelectAll
inrowSelection
of Table. #29079 @kerm1it
Badge
TypeScript
🤖 Table TS definition update
dataSource
toreadonly
. #29084
Less
4.11.3#
2021-02-03
Wrong release is the same as
4.12.0
, if you need to lock the version, you need to lock it to4.11.2
.4.11.1#
2021-01-24
💄 Layout inline sub menu now has grey background. #28842
🆕 PageHeader supports
breadcrumbRender
. #28999🆕 Typography
ellipsis
supporttooltip
to customize tooltip when ellipsis. #28821Image
🆕 Image supports
preview.maskClassName
. #28681🐞 Fix preview image will move after click it. react-component/image#61 @simonwong
🐞 Fix Image
placeholder
disappear issue. #28953🐞 Fix multiple Image.PreviewGroup contain same image. #28881
ConfigProvider
💄 Tweak TreeSelect filter highlight color. #28984
💄 Fix Select item align style with custom
tagRender
. #28962Form
🐞 Fix Button click effect style not working in shadow root. #28995 @rinick
🐞 Fix Table custom filter menu cannot close bug. #28688 @alekye
Less
RTL
TypeScript
🤖 Expose interfaces and types from default entry of antd. #28963
🤖 Improve Input/Skeleton
style
definition. #28966 @yingpengsha
4.10.3#
2021-01-18
🐞 Fix Button not adapting to the
@btn-border-width
when loading. #28886 @jjanssenTable
Transfer
Upload
🐞 Fix Slider
getPopupContainer
prop has no default valuedocument.body
. #28865 @rinick🐞 Fix Empty description validateDOMNesting warning. #28862
💄 Fix Tree
filterTreeNode
missing style. #28866💄 fix Badge
dot
width issue whensize="small"
. #28854
4.10.1#
2021-01-10
🐞 Fix Slider throw
forcePopupAlign
error when unmounted. #28699 @Kerumen🐞 Fix Transfer throws
Cannot add property key, object is not extensible
whendataSource
is immutable. #28675🐞 Fix Notification box closing height issue generated by
useNotification
. #28660🐞 Fix Drawer and Modal disabled scrollbar after closing. #28749
🛠 Reduce gzipped bundle size
2kB
. #28678TypeScript
🤖 InputNumber
onChange
supportnull
asvalue
. #28769 @lengfangbing
4.10.0#
2021-01-04
🎉 Happy New Year!
🐞 Fix the compatibility issue of less 4.0.0.
🐞 Fix the problem of cursor jumping when Typography is editable. #28545
🐞 Fix the problem that repeatedly clicking on expanded nodes when Tree dynamically loads data will lead to wrong status.#28349 @liuchao233
🐞 Fix TreeSelect and Select cannot open the dropdown menu when it's
searchValue
has value. #28574🐞 Fix Dropdown disabled menu item link style. #28578
🐞 Fix Progress
steps
display accuracy issue. #28530 @gaoryrt🐞 Fix Radio align issue in Chrome. #28616
🐞 Fix Collapse arrow position not aligned when change @collapse-header-padding variable. #28507
💄 Optimize the white border style of Card images. #28624
Input
Modal
🆕 Modal.method adds an
afterClose
callback that will be triggered after the Modal is completely closed. #28053 @liuchao233🐞 Fix the problem that Modal can be dragged outside the viewport. #28438 @mumiao
Table
🐞 Fix the problem that Table childrenColumnName and checkStrictly={false} cannot be used together. #28568
🐞 Fix Table selection abnormal behavior when inside Checkbox.Group. #28576
🐞 Fix the problem that the sticky header style is messy when there is no data. #28323
🐞 Fix the problem that
onChange
listener always receives empty list asfilters
parameter if use a customfilterDropdown
. #28627 @Meowu🆕 Adds
expandable.columnWidth
to customize the width of the expanded column. #28249
Image
🐞 Fix the misalignment issue of Image component.#28439 @MoeCasts
💄 Adds preview style. #28235
🆕 Adds functionality for zoom in\out by sliding the wheel. #react-component/image/52 @OmriGM
🆕 Support separate settings url for preview images. #react-component/image/56 @wangcch
Upload
🐞 Fix a warning even when not using
transformFile
. #28455 @YanYuanFE🐞 Fix Upload
fileList
cannot work with data that is produced by immer. #28636 @mumiao🆕 Upload adds a new
maxCount
property to limit the number of files. #28367
DatePicker
🚀 Optimize the logic of
disabledDate
. #react-component/picker/191🆕 Adds
onKeyDown
callback. #react-component/picker/138 @conquera99
Select
🐞 Fix issue where
options
update does not trigger the selection box content update. #react-component/select/580 @jameslahm🐞 Fix the problem that the dropdown box cannot be opened after clicking the option with
tagRender
. react-component/select/582 @mumiao🐞 Fix the problem that
tokenSeparators
can not recognize the separator correctly under Chinese input method. #28564🆕 Adds
scrollTo
to theref
. #react-component/select/565🆕
maxTagCount
supportsresponsive
inmultiple
mode. #28520
🆕 Slider add a new
range.draggableTrack
prop. #28592🆕 Descriptions support setting
labelStyle
&contentStyle
directly. #28613🆕 message added a new
onClick
callback that will be triggered when the message is clicked. #28148 @ZeroTo0ne🆕 The
scrollToFirstError
property of the Form adds support for setting the position for scrolling. #28272 @vouis🆕 Steps support reponsive which allows to turn off reponsive change. #28459
🌐 Localization
🇭🇷 Improved Croatian language support. #28458
TypeScript
⚒️ Fix
title
type of PageHeader. #28374 @zhukovvandrei
4.9.3#
2020-12-14
💄 Fix Badge standalone motion blink when show/hide. #28240
🐞 Fix Table
filters
not support number and boolean type. #28220 @Meowu💄 Remove Tree hover background color when
selectable={false}
. #28269💄 Fix Statistics decimal font size. #28223
TypeScript
🤖 Fix Tree
draggable
TS definition. #28262 @DavidSichau🤖 Fix Image.PreviewGroup TS definition. #28263 @liuchao233
🤖 Improve
message().then
TS definition. #28304🤖 Fix TransferProps
titles
to ReactNode. #28326 @jacklee814
4.9.2#
2020-12-06
Table
Dropdown
🐞 Fix
overlayInnerStyle
not work in Tooltip. #27682 @jasepellerin💄 Fix Layout overflow style for Table
sticky
. #28176💄 Fix Steps
progressDot
broken style of first step. #28126 @ZeroTo0ne💄 Optimize Modal
useModal
performance by isolating elements render to avoid the component to rerender. #28122 @TotooriaHyperion💄 Fix TextArea showCount style while using with Form. #28130 @AlanCutFlim
💄 Fix Tag cursor style in Tree node. #28219
🛠 Remove
@ant-design/css-animation
for better bundle size. #28201RTL
💄 Fix the style of Alert. #28108 @jesse3mh9a
🐞 Fix Tree
dropIndicator
style of defaultltr
direction. #28150 @kagawagao
TypeScript
4.9.0#
2020-11-30
Modal
🆕 Modal support
focusTriggerAfterClose
to disable auto focus back. #27985 @molokovev🐞 Fix Modal hooks not trigger
onCancel
. #28063 @JuniorTour🐞 Fix Modal sometime not popup from the click position. #28037
🆕 Support
closable
andcloseIcon
api for Modal.method. #27909 @MrHeer
💄 Reduce Table selection column width to
32px
. #28073Image
Collapse
🐞 Fix Cascader bug that empty data can be selected. #28062 @n0ruSh
🆕 Alert support
action
prop. #25892 @jesse3mh9a🔥 Tree refactor drag behavior. Add
dropIndicatorRender
andallowDrop
prop. #26462 @07akioni🆕 Space support
wrap
for auto break line. #27910🆕 Descriptions.Item support
labelStyle
&contentStyle
props. #27897🆕 Form.List support
initialValue
. #27872🆕 Menu supports
expandIcon
, and optimize default expand icon style. #27565🆕 Input and TextArea add
setSelectionRange
ofref
. #27584 @appleshell🆕 Select support
filterSort
to order the filtered options. #27523 @n0ruSh
4.8.6#
2020-11-27
🐞 Fix Badge style blink when mounted. #28003
💄 Reduce Modal style size. #27998
🐞 Fix Layout.Sider can not collapse when
width='0'
. #28000🐞 Fix Menu style when using none Ant Design icons. #27983
Input
🐞 Fix Typography.Link clicking copy button will redirect. #27982
🐞 Fix Carousel throws error
Unable to preventDefault inside passive event listener
. #27957🌐 Improve data picker locale for
en_GB
andzh_TW
. #28016 @abz53378RTL
TypeScript
🤖 Fix Upload
beforeUpload
definition. #27946 @bingling0084🤖 Provided a separate type definition for Carousel reference. #27935 @ocassio
4.8.5#
2020-11-22
🐞 Fix that Spin can't render children
0
. #27839 @liuchao233💄 Fix the RangePicker panel interaction style. #27894
💄 Fix Switch
loading
style. #27860💄 Optimize Skeleton color to fit dark background. #27836
💄 Adjust Statistic
deciaml
font size. #27884🛠 Refactor Checkbox、Layout.Sider and TextArea with React hooks. #27739 #27719 #27693
🛠 Refactor BackTop、Badge、UploadList with
rc-motion
instead ofrc-animate
. #27840 #27848 #27923RTL
💄 Fix the style of the Tree switch icon in RTL mode. #27876
TypeScript
4.8.4#
2020-11-16
💄 Fix Button and Form loading style. #27794
🐞 Fix Modal.confirm locale missing after close it. #27797
🐞 Fix Button/Anchor throws
findDOMNode is deprecated
in React 17. #27755 @hosseinmd
4.8.3#
2020-11-14
🛠 Refactor Carousel with React hooks. #27694
🛠 Refactor
<Typography editable />
with React hooks. #27655🐞 Fixed the problem that form behaves abnormally when namepath is an array. #27664
💄 Fix RangePicker hover effect position when hover over start or end cell of in range row. #27731 @AlanCutFlim
🐞 Fix Select
mode=tags
cannot input whitespace normally. #27726 @baxtergu💄 Fix the mouse style when Typography.Link is
disabled
. #27734🐞 Fix Menu dropdown animation start twice when appear. #27663
💄 Fix Avatar style when
src
is Image component. #27691💄 Fix Select multiple cursor position. #27689
🐞 Fix TextArea emoji been cut when enable
maxLength
. #27679 @372623460jh🐞 Fix small size RangePicker active bar align issue. #27673 @Ifeinstein
💄 Add
@radio-border-width
. #27703
4.8.1#
2020-11-08
🛠 Refactor TreeSelect with React hooks. #27593
🛠 Refactor Layout with React hooks. #27595
🐞 Fix Select abnormal outline style in Form validation. #27607
🐞 Fix Pagination extra
margin-right
when enable size changer. #27610🐞 Fix Input.Search
enterButton={null}
throw error. #27591 @davidebianchi🐞 fix Avatar.Group
size
not working. #27531🐞 Fix vertical Tabs long title cause tab width changes. #27569
🐞 Fix Table filters didn't display in
column.children
. #27435 @JhonXY💄 Fix Steps style that inside another Steps. #27514
TypeScript
RTL
💄 Fix Progress.Line
strokeColor
direction error in RTL mode. #27515
4.8.0#
2020-11-02
Image
🆕 ConfigProvider support
form.requiredMark
. #27322🆕 Statistic support
loading
prop. #26811 @appleshellAvatar
🆕 Row support
noWrap
to make Col in line. #27469Tree
Modal
Input
Table
Typography
Steps
🐞 Fix PageHeader that empty dom will be displayed when
title
is empty. #27485🐞 Fix Slider keep tooltip align with handle when dragging. #27489
🐞 Fix RangePicker selected range border style. #27438
💄 Adjust Collapse arrow position align with first line. #27363
💄 Fix Descriptions style when
label
use block element. #27375💄 Fix Select abnormal border style in Form validation. #27378
4.7.3#
2020-10-24
Form
Typography
Input
🐞 Fix Upload.List preview image fit size issue. #27312 @JuniorTour
🐞 Fix Menu inside flexable container will not shrink properly. #27253
🌐 Fix en_US, en_GB and ga_IE gramma. #27259 @yasikovsky
🐞 Fix Tag with customize
closeIcon
breaks line issue. #27226 @handycode
4.7.2#
2020-10-19
💄 Fix Layout.Sider
light
theme lost styles. #27227 @lingjieee💄 Fix TextArea wrapped with additional div when
showCount
isfalse
, and passclassName
andstyle
to outer wrapper whenshowCount
istrue
. #27216🐞 Fix Checkbox.Group TS2559 error. #27231
4.7.1#
2020-10-18
DatePicker
Typography
💄 Fix Descriptions
ant-descriptions-item-content
and add styleword-break:break-word;
. #27195 @WLyKan🐞 Fix clear Password value attribute in controlled mode. #27191
🐞 Optimize Notification width in small screen. #27189
🐞 Fix Cascader className duplicate. #27187 @huntdream
🐞 Fix the issue that the Drawer will trigger form submit. #27175
🐞 Fix Dropdown icon missing margin. #27165
💄 Fix Layout.Sider
collapsedWidth
cannot work without modifying@menu-collapsed-width
. #27154🐞 Fix Tabs
animated={true}
not working for panels. #27145🐞 Fix Divider color when contains text. #27134
💄 Fix the cursor style when the Radio option is selected and disabled. #27125
🇪🇸 Add missing translations in es_ES. #27079 @gersongams
RTL
💄 Optimize the style of Input.TextArea character count in RTL mode. #27098
TypeScript
🤖 Button shape remove undeclared doc type. #27159
🤖 Add optional
rules
property intoFormListProps
. #27164 @huntdream
4.7.0#
2020-10-10
🔥 Input.TextArea support word count. #26952 @zhangchen915
DatePicker
Form
Upload
Table
🆕 Table
sticky
now supportgetContainer
. #26973🐞 Fix Table should not render dropdown filter icon when filterDropdown is
undefined
. #27002 @shangyilim
Modal
🛠 Refactor Modal animation code so that it will remove all dom element by
destroyOnClose
when closed. #26940🆕 Modal add
modalRender
prop which can be used for draggable dialog. #26507 @jhoneybee
🆕 Space add
split
prop. #26948🆕 Image
preview
prop now supportvisible
andonVisibleChange
. #26915🆕 InputNumber will trigger
onStep
prop when click up/down buttons. #27075🆕 Avatar
size
support responsive config. #26244 @willamesoares🐞 Fix Radio.Button children cannot apply Tooltip. #27050
RTL
⬅️ Fix List action button position in RTL mode. #26964
⬅️ Fix Transfer pagination style in RTL mode. #26960
⬅️ Fix Upload style in RTL mode. #26961
⬅️ Optimize Tag style to avoid the interaction between theme and RTL mode. #26955
⬅️ Optimize Cascader and Tree style of the data expansion loading icon in RTL mode. #27010
TypeScript
🤖 Fix typo
TimeLineItemProps
toTimelineItemProps
. #27001 @mgcrea🤖 Fix Slider missing
autoFocus
prop. #26995 @shangyilim🤖 Fix Slider
step
prop not acceptingnull
value. #26984 @shangyilim🤖 Fix Slider.Range
trackStyle
andhandleStyle
should be array. #27033🤖 Optimize Tag
onClose
TypeScript definition. #26932🤖 Improve Form TypeScript definition to support
getFieldsValue
return generic type withoutnamePath
argument. #26791
Locale
🇯🇵 Fix Japanese locale. #27043 @iorikingdom
🇹🇷 Add Turkish locale of Form optional text. #27017 @alperTunca
🇵🇱 Add Polish locale of Table. #26913 @daczczcz1
4.6.5#
2020-09-20
💄 Fix Descriptions item long text ellipsis issue. #26820
🐞 Fix Menu unexpected scrollbar when show and hide. #26817
🐞 Fix
@layout-sider-background
cannot set to linear gradient color. #26810🐞 Fix Select compositing status lost when input first letter in Chinese. #26796
🐞 Fix Table
@table-sticky-zindex
less compile error issue. #26800 @chimp1nskiButton
💄 Fix TimePicker column align issue, add
@picker-time-panel-column-width
and@picker-time-panel-column-height
less variables. #26784🐞 Fix AutoComplete warning when using
placeholder
andallowClear
. #26765🐞 Fix Space show items when it's render empty dom. #26721 @knobo
🛠 Dedupe
rc-trigger
version to reduce package size. #26803TypeScript
🤖 Cascader add
name
andid
props definition. #26660 @alwaysloseall
4.6.4#
2020-09-13
💄 style: Card card image has extra 1px border. #26659
💄 Fix Select
placeholder
color not same as Input. #26651 @wangcch🐞 Fix Menu not support React.Fragment inside. #26656
🐞 Fix TextArea different behavior with Input when set
value
toundefined
. #26652🐞 Fix Motion related issue like Upload align flash and Form.Item with
help
ssr issue. #26628🐞 Fix Typography.Link warning
Invalid value for prop navigate
when using with react-router. #26623🐞 Fix Table pagination missing when is above table. #26618
🐞 Fix Upload in control miss file when upload multiple file in same time. #26612
TypeScript
🤖 Fix Table that sorter
compare
andmultiple
should be optional. #26686
4.6.3#
2020-09-06
🛎 Sort props
className
to the end. #26602Table
🐞 Fix Modal closing cause scroll position jump up. #26538
🐞 Fix the type declaration of onError in
customRequest
options of Upload. #26601 @yingpengsha🐞 Shutdown Select/TreeSelect autocomplete list in Chrome. #26590
🐞 Fix Cascader value overwritten when filtering. #26569 @lich-yoo
🐞 Fix Modal jump out of screen in some situations. #25765 @tanmoyopenroot
🐞 Fix Radio.Group not working properly, when is used in legacy Form. #26555 @willc001
🐞 Fix Pagination align issue in windows. #26549
🐞 Fix Form with
help
make ssr un-sync issue. #26542🐞 Fix Avatar doesn't scale fallback text well when display is none. #26522 @zhangyu1818
TypeScript
4.6.2#
2020-08-31
Upload
Table
🐞 Fix Table Pagination not hide with empty data when show on top position. #26143 @zhangchen915
💄 Fix Table expand icon size issue when
@font-size-base
is12px
. #26409
Space
🐞 Fix Badge not work when
status
orcolor
is empty. #26375 @zhangchen915💄 Fix Tree draggable transition style. #26387
🐞 Fix
colorPalette is not defined
when customize theme in some situation. #26395TypeScript
🐞 Fix TimePicker.RangePicker typescript need
picker
issue. #26446🐞 Upload extended
showUploadList
of Upload withremoveIcon
anddownloadIcon
properties. #26406 @bencallaway
RTL
🐞 Fix the rtl style of Col. #26479 #26482 @TrueMoein
4.6.0#
2020-08-23
💄 Darker
@text-color
for WCAG 2.0 on contrast ratio. #25630🔥 New Image component. #26296
🔥 Table support
sticky
prop to sticky header and scroll bar. #25939🛠 Refactor Upload via hooks. #26196
Form
🆕 VirtualList support no blink jump and fix Select blank dropdown issue. #26306
Typography
🐞 Fix Transfer
filterOption
not trigger when search spaces. #26335Progress
🐞 Fix Textarea don't display
defaultValue
whenvalue
isundefined
. #26327Cascader
🗑 Remove deprecated
Button.Group
and please use Space component instead. #26260Select
🆕 Select support
onClear
prop. #25907🐞 Fix Select
mode="tags"
showing duplicated items when search. #25907🐞 Fixed the style exception that was disabled when Select focused. #26255
🐞 Fix Select icon overlap with selections when
showArrow
enabled. #26168 @zhangchen915
DatePicker
🐞 Fix Pagination font family style. #26230 @albertms10
🐞 Fix Space children remount in some case. #26219
Badge
💄 Add
@badge-color
less variable. #26159🆕 Badge support
size
prop. #25851 @moonrailgun
🆕 Tabs
tabBarExtraSlot
support extra position. #25138 @jesse3mh9a💄 Optimize the display effect of Descriptions when there is more content. #25903
🆕 message could be detroied by
message.desctroy(key)
. #26052 @lihqi💄 Adjust InputNumber handler bar to be hidden when
readOnly
. #25998Locale
🌐 Add Galician locale support. #26015 @barreeeiroo
🇱🇹 Add Lithuanian locale support. #26312 @mslotvinskij
🌐 Use
kmr_IQ
to replaceku_IQ
. #26030
RTL
TypeScript
🤖 Fix Form.Item
initialValue
missing definition. #26292 @miaoyuxinbaby🤖 Form support generic type. #25937
4.5.4#
2020-08-12
🐞 Fix Form.Item
hidden
not working in less. #26152🐞 Fix Dropdown render issue when
overlay
is string. #26135🐞 Fix Table pagination disappear when last record in last page is deleted. #26133 @QoVoQ
Tree
🐞 Fix Tree.DirectoryTree can not use
scrollTo
with ref. #26129🐞 Fix Tree lost line between top level nodes when enable
showLine
. #25991 @zhangchen915
💄 Add
@badge-color
less variable. #26159RTL
TypeScript
🐞 Fix Slider
handleStyle
andtrackStyle
TypeScript definitions. #26160
4.5.3#
2020-08-08
Menu
Table
Form
Transfer
Cascader
Select
🐞 Fix Breadcrumb.Item lost separator after wrapping in component. #25984 @flyerH
🐞 Fix InputNumber dark theme handler background color. #26072
🐞 Fix the missing
key
of Avatar.Group. #26098💄 Adjusts Mentions
readOnly
mouse style to native style. #25977💄 Add
@btn-line-height
. #26014💄 Optimize Pagination style when
simple
type anddisabled
. #26008🐞 Fix Modal
useModal
missing style issue. #25967🐞 Fix Steps RTL style when use
progress
. #26075
4.5.2#
2020-08-02
🐞 Fix Divider color in dark mode. #25922
🐞 Fix Radio.Button text color when
disabled
andchecked
. #25911🐞 Fix Carousel children height smaller then parent node issue. #25906
🐞 Fix Table
indentSize
couldn't be zero value. #25890 @OmriGM🐞 Fix List
actions
show cursor outside clickable area. #25961🇷🇺 Improve Russian locale. #25958 @addictional
RTL
4.5.1#
2020-07-28
4.5.0#
2020-07-28
🆕 Input and Input.TextArea support
bordered
prop. #25617🆕 Add
useMessage
hook for Message to supportcontext
access. #25422🆕 Tree support
titleRender
to customize all nodes' content. #25624🆕 Add
Modal.config
to setrootPrefixCls
for Modal statis methods. #25613🆕 Drawer support
push
prop for multi-Drawer linkage. #25445 @jinxin0112🆕 Add Badge.Ribbon component. #25456
🆕 Steps support
percent
prop to show step icon progress. #25839💄 Menu.Item's blue indicator line and dropdown width are the same as its content's width in
horizontal
mode. #25622Avatar
DatePicker
🆕 DatePicker support date-fns. #25822 @fireairforce
🆕 Improve DatePicker hovering experience, the placeholder will change to format value of target-date when hovering a date cell. (#25050). #25784 @Kermit-Xuan
🆕 RangePicker
onCalendarChange
addrange
param to indicate currently activated pane. #25568 @Kim-Wing-Fung🆕 DatePicker support
panelRender
to customize panel. #25488🐞 Fix QuarterPicker not working, remove DatePicker.XxxPicker and recommend
picker='xxx'
usage instead. #25768
Form
🆕 Form.List support array in
remove
method. #25638 @fireairforce🆕 Form.Item supports
dependencies
to control updating logic with render propschildren
. #25408🆕 Adjust Form.Item validateFist to validate in order. Origin logic use parallel to validate. #25321
🐞 Fix Form.Item sometime not clean up prev error message. #25737
🐞 Fix Form.Item not collect
validateStatus
when children Form.Item withnoStyle
has an error. #25734🐞 Fix Form.Item setting
labelCol={{ offset: number }}
doesn't work if layout is vertical. #25713 @zhangchen915⌨️ Form add
role="alert"
attribute on validation message node to import accessibility. #25735 @AlbertAZ1992
Calendar
🐞 Fix Calendar
validRange
preventsdisabledDate
. #25626 @zhangchen915🐞 Fix Calendar
validRange
not working on month selection dropdown. #25626 @zhangchen915
🐞 Fix Table
indeterminate
returned bygetCheckboxProps
not working. #25649🐞 Fix Select clear icon position in Form.Item. #25728
🐞 Fix Pagination mouse style of the page turning button. #25772
🐞 Fix TreeSelect
treeNodeLabelProp
affect tree node render result. #25755🐞 Fix Carousel
findDOMNode
warning in strict mode. #25744🐞 Fix Radio causing SSR build errors with
webpack@4.44.0
. 25821 @Kermit-Xuan🐞 Fix Tabs focus & active state color when disabled. 25827 hsuanxyz
💄 Card action pane color is unified with body color. #25722
⌨️ Improve Alert/message/notification accessibility by adding role attribute. #25774
🇩🇪 Improve Form de_DE localization. #25823 @LukeTimeWalker
4.4.3#
2020-07-20
🐞 Fix Layout
trigger
cannot customize zero width to trigger. #25653🐞 Fix Form.Item
help
style when verification fails. #25582 @zhangchen915🐞 Fix Descriptions abnormal style inside Table
expandedRowRender
. #25593💄 Add
@zindex-popconfirm: 1060
less variable, and improve@zindex-tooltip
into1070
. #25693🛠 Upgrade
react-slick
to reduce bundle size. #25599🌐 Improve Catalan ca_ES localization. #25583 @albertms10
TypeScript
🐞 Fix Upload
customRequest
file interface. #25598 @AlbertAZ1992
4.4.2#
2020-07-11
🛠 Adjust Alert animation to remove directly dom operation. #dd8e9f8 @Yunfly
Select
🐞 Fix Form.Item warning for
preserve
as invalidate dom prop. #25518🐞 Fix Card cover margin bug when bordered is false. #25515 @yutingzhao1991
💄 Adjust Typography style to set
overflow-wrap: break-word
as default. #25516🐞 Fix Table
expandedRowRender
nested Table cell background color. #25498🐞 Fix Popover wrong positioning on Radio.Button. #25449 @zgoby
🐞 Fix RangePicker clear icon position issue when
size=small
. #25458🆕 Upload supports to show thumbnail for non-image files as
thumbUrl
configured inonChange
event. #25432 @AlbertAZ1992🐞 Fix Table
onChange
triggered multiple times when change page size. #25520 @zhangchen915🛠 Remove
babel-runtime
and add@babel/runtime
in dependencies, reduce gzipped bundle size18.6KB
. #25530🇪🇸 Improve es_ES localization. #25460 @gersongams
4.4.1#
2020-07-06
Menu
🐞 Fix Input disabled
backgroundColor
is override when inside aerror
orwarning
Form.Item. #25385🐞 Fix Table header extra border of right side column. #25378
🐞 Fix Grid ResponsiveObserve not been unsubscribed correctly. #25319 @zhangchen915
🐞 Fix Progress
successPercent
warning message and correctsuccess.progress
tosuccess.percent
. #25356 @fireairforce🐞 Fix PageHeader Tabs unnecessary
margin-bottom
. #25340 @dickeylthForm
Radio
🐞 Fix Radio.Group throw
Function components cannot be given refs
warning message. #25328🐞 Fix Radio.Group style with extra spaces in
children
. #25304 @ElderJames
🐞 Fix Drawer click mask will trigger close event multiple times. #25313
🐞 Fix Skeleton Button/Avatar/Input/Image default width to auto. #25303
🇳🇴 Update nb_NO localization. #25374 @Johannes-Andersen
TypeScript
🐞 Fix Slider
onChange
definition. #25358 @CornerSkyless🐞 Fix Tooltip custom color type definition. #25315 @CornerSkyless
4.4.0#
2020-06-29
🔥 Optimize RangePicker interaction that any picker selection will popup another picker panel. #25135
🔥 Add Skeleton.Image. #24805 @fireairforce
Form
Table
🆕 Table
onChange
addaction
in extra argument. #24697🆕 Table support
rowSelection.dirty
to enable cachekey
with ajax. #24718🐞 Table supports
rowSelection.checkStrictly
. #24931🐞 Fix Table
onSelectAll
'schangeRows
parameter is incorrect. #24931🐞 Fix Table expand buttons of leaf rows in tree data can still be clicked. #24931
🐞 Fix Table expand icon still interative when hidden. #25170
TimePicker
Cascader
Menu
🆕 Menu support
triggerSubMenuAction
(hover or click). #25127 @hydRAnger🐞 Fix Menu.SubMenu background color in dark theme. #25205
Tabs
🆕 Pagination support
onChange
called whenpageSize
change. #24964 @fireairforce🆕 Tabs support
addIcon
to customize add icon node. #25006🐞 Fix Tabs can not close in IE11. #25200
Pagination
🐞 Improve Pagination accessibility by fixing a W3C error. #25119
DatePicker
🆕 Fix month and quarter picker's toggle button size of DatePicker component. #25035 @fireairforce
🆕 DatePicker support
showNow
. TimePicker supportshowNow
. #25032
Drawer
🆕 Dropdown component support
arrow
prop. #23869 @wendellhu95🐞 Fix Drawer
getContainer={false}
cause scrollbar missing in some situation. #25273
🆕 Fix Rate render unexpectedly when
value
is1.6
or2.6
. #24993🆕 Menution support
autoSize
prop. #24961 @Kermit-Xuan🆕 Remove the 140px width limit on vertical dot Steps.Step. #24907
🆕 Move Result children to end of component. #24945
🆕 Add Rate
character
support(RateProps)=> ReactNode
customization. #24903🆕 Add
optionType
api to set Radio type in Radio.Group when useoptions
. #24809🆕 Add
closeIcon
to customize Tag close icon. #24885🆕 Drawer support
closeIcon
. #24842🆕 Add
ghost
prop for collapse to set a transparent background. #24734🆕 Progress support customise filled Progress color. #24655 @fireairforce
🆕 Typography copyable support
icon
andtooltips
for customization. #25274 @israelKusayev🆕 Add
showLeafIcon
for Tree Component when setshowLine
prop. #25271🆕 Add BackTop
duration
used to set the time required to return to the top. #25254🐞 Fix Select suffix icon can not focus input. #25212
🐞 Fix the issue that Notification modification
width
is not aligned with the edge of the screen. #25168💄 Make Switch animation more smooth and quicker. #25160
🛠 Modal add more less parameters. #24773 @hicrystal
🐞 Fix PageHeader tabs unexpected border style. #25159
🐞 Fix InputNumber
max
prop has no default value. #25243🌐 Add missing translation keys to table locale in German, Italian and Czech. #25233 @karelsoupaEMZ
🇯🇵 Add ja_JP globalization for Form. #25244 @kentaro84207
RTL
4.3.5#
2020-06-21
🐞 Fix Input.Search as AutoComplete customize component crash issue. #25049
🛠 Rewrite Input.Password with hooks. #25012 @Rustin-Liu
🐞 Fix PageHeader tabs broken style since
4.3.0
. #24991🐞 Fix Backtop still interactive when it is hidden. #25132 @jesse3mh9a
🐞 Fix Upload don't support Popover. #25090
🐞 Fix Tabs content exceeds container width issue. #25072
🐞 Fix DataPicker/TimePicker time dropdown alignment issue. #25019
Table
Descriptions
💄 Fix List.Item.Meta content width may overflow sometimes. #24992
🐞 Fix dark mode Menu.SubMenu background color in compact theme. #24997
⚡️ Reduce 3KB Button css bundle size. #24996
TypeScript
Export Tree
DataNode
. #25065 @jinxin0112
4.3.4#
2020-06-14
Form
Table
🐞 Fix Modal
confirm()
has no default icon. #24956🐞 Fix List
grid
not working in React.Fragment or wrapped List.Item. #24955🐞 Fix Avatar fallback to children when loading image with error. #24944 @sosohime
🐞 Fix Drawer doesn't omit prop
getTargetContainer
. #24938🐞 Fix Tabs dropdown clip text when tab title too long. #24928
🐞 Fix Carousel under Tabs shaking when tab switch. #24873
🐞 Fix Transfer package size will increase if tree shaking is disabled. #24847 @DavidSichau
💄 Add
@rate-star-hover-scale
to control Rate scale when cursor hover. #24917💄 Add
@divider-orientation-margin
less variable to control Divider's left margin whenorientation
is set. #24877🌐 Localization
TypeScript
4.3.2#
2020-06-06
🐞 Fix Tag.CheckableTag don't support
onClick
. #24743🐞 Fix Drawer support set
getPopupContainer
andgetPrefixCls
by ConfigProvider. #24727🐞 Fix Button
loading.delay
repeat trigger when parent compoent re-render. #24713Select
🐞 Fix Select virtual scroll display abnormally in compact mode. #24706
⚡️ Optimize Select multiple mode performance. #24785 @Kermit-Xuan
🐞 Fix Calendar trigger
onPanelChange
even when in the same panel. #24695🐞 Fix Input component height issue in IE11. #24673 @xiaosongxiaosong
🐞 Fix Statistic don't work with Tooltip. #24782
🐞 Fix TimePicker.RangePicker
bordered={false}
not working when hasclassName
. #24781🐞 Fix List cannot trigger
onChange
in pagination. #24514🌐 Localization
🇮🇱 Add Hebrew localisations for Form. #24716 @israelKusayev
💄 Add less variable
@table-font-size
,@table-font-size-md
and@table-font-size-sm
to customize the size of Table text. #24714 @morenyangRTL
4.3.1#
2020-06-02
Tabs
Button
🐞 Fix Button quick set
loading
fromdelay
tofalse
will still change to the loading status. #24678🐞 Fix the inconsistent style of Text Button in
danger
. #24622 @morenyang
🐞 Fix Table no showing scrollbar inside Row. #24661 @zt123123
🐞 Fix Drawer get
dropdownMatchSelectWidth
as dom prop warning. #24651🐞 Adjust Steps to support React.Fragment with
children
. #24644🐞 Fix Upload delete icon cannot be navigate via keyboard. #24615 @morenyang
🐞 Fix multiple Select search input cursor missing issue. #24631
🐞 Fix Radio.Group using
options
getElement type is invalid
error. #24631RTL
💄 Adjust Notification default placement to
topLeft
in RTL. #24632
TypeScript
🛠 Export Tabs
TabPaneProps
definition. #24648
4.3.0#
2020-05-31
🔥 Rewrite Tabs for better user experience, dom structure is changed. #24552
📖 Add components overview page. #24491 @arvinxx
🛠 Optimize dependencies to reduce overall package size. #24584
Button
🆕 New
type="text"
Button. #22552💄 Improve button background variable usage. #24372 @morenyang
Upload
🆕
data
could returnPromise
now. #24546 @Kermit-Xuan🆕 Support
progress
to customize progress bar. #24319 @morenyang🐞 Fix progress bar override by accident. #24339 @morenyang
Table
🆕 Table support
rowSelection.hideSelectAll
to hide selectAll checkbox. #24592 @Kermit-Xuan🆕
ellipsis
supportshowTitle
to configtitle
show. #24056 @lijinke666🆕 Table
columns
supportshouldCellUpdate
. #23872
Input
🆕 Input.Passowrd support custom icon. #23792
🐞 Fix Input.Password still show
value
attribute in DOM after blur it. #24535💄 Add less variable
@input-disabled-color
. #23775 @alwaysloseall
Form
Menu
Avatar
Typography
🆕 Support Typography.Paragraph custom expand style. #24385 @fireairforce
🆕 Typography.Text support
keyboard
style. #24195🆕 Add Link component. #24019
🐞 Fix Typography
title
prop support. #24440 @Kermit-Xuan
🆕 Tooltip support
color
to config background color. #23155🆕 Popconfirm can be closed by pressing
ESC
now. #24420🆕 Tooltip
destroyTooltipOnHide
supportkeepParent
config. #24362 @Kermit-Xuan🆕 RangePicker
dateRender
support additional argument to detect isstart
orend
field. #24278🆕 Skeleton add
round
prop to enable paragraph and title show radius. #24137 @xilihuasi🆕 Transfer support
oneWay
andpagination
. #24041🆕 Message support customize
className
andstyle
. #24024 @Kermit-Xuan🆕 ConfigProvider support
virtual
anddropdownMatchSelectWidth
. #23841 @hengkx🐞 Fix Breadcrumb icon margin missing when using links. #24490 @EscapeB
🐞 Fix Cascader expand icon color when disabled. #24521
🐞 Fix List warning about
React does not recognize colStyle prop
. #24568🐞 Fix Progress with
steps
don't updatepercent
expectedly. #24534 @ChuckJonas🐞 Fix Steps
subtitle
transition style. #24593🐞 Fix Alert close icon
padding
style. #24471🐞 Fix Tree
@tree-directory-selected-bg
don't work. #24468 @morenyang🐞 Fix
@ant-prefix
don't work on some styles. #24459 @morenyang💄 Descriptions add less variables
@descriptions-item-trailing-colon
and etc. #24032 @hengkx🌐 Localization
🇮🇪 Add Irish(ga_IE) locale. #24609 @AbhijeetGaware
🇬🇧 Improve Form
en_GB
locale. #24404 @morenyang
RTL
TypeScript
4.2.5#
2020-05-25
🐞 Fix Table selection arrow out of column when
size
issmall/middle
. #24394🐞 Fix Input.TextArea clear icon disappears in Input.Group when hover it. #24360 @Mr-jiangzhiguo
🐞 Fixed an issue where the
RowSelection.onChange
will still be cached when the Table removes entries indataSource
. #24338🐞 Adjust
useNotification
api instance to be same instance for each render. #24337🐞 Fix Button
loading
transition animation missing and ModalconfirmLoading
not being reset. #24328🐞 Fix Drawer cover background elements when it is not visible. #24290
🐞 Fix Cascader/Select/Table/TreeSelect text color when data empty. #24279
💄 Fix InputNumber operation button arrow is not centered. #24266
🐞 Fix Table with empty array
filteredValue
still highlight the filtered icon. #24263🐞 Fix Cascader not support
number[]
value. #24247⌨️ Fix Switch
autoFocus
trigger whendisabled
removed. Adjust style to avoid switch shaking. Remove blur logic whenonMouseUp
to improve acessibility. #24254💄 Add Menu default
text-align
style. #24253🛠 Modify the Alert with hooks to support strict mode. #24236 @hengkx
🐞Fix Card performance bug when use with
react-split
. #24425TypeScript
🛠Cascader ts definition update. #24393 @zhangyu1818
🐞 Fix TS error of
Could not find a declaration rc-upload
. #24325🛠 Add children type to BackTop. #24235
4.2.3#
2020-05-16
🐞 Refactor
rc-progress
to resolveh3g is not defined
error in<script src="antd.min.js" />
. #24127📖 Rewrote Use in create-react-app. #24184
Drawer
BackTop
DatePicker
Button
🛠 Refactor Tooltip with hooks. #23699
🐞 Avoid
disabled
Upload.Dragger being triggered by clicking Formlabel
. #24202🐞 Fix Select selected option not interactive (such as
title
not working). #24170🐞 Fix Switch shake in Safari and iOS Chrome. #24122 @lexlexa
🐞 Carousel upgrade to
react-slick@0.26.1
to resolve some problems. #24067🐞 Cascader will display
defaultValue
instead of empty string when no matched options. #24058 @Kermit-Xuan💄 Add less variable
@card-head-extra-color
. #24189💄 Adjust Pagination simple mode background to transparent. #24152
💄 Fix dark Menu link color. #24110
RTL
4.2.1#
2020-05-11
Form
Table
DatePicker
Switch
🐞 Fix Upload error message location to scroll in the float layer. #24001 @mraiguo
💄 Tweak Comment render unnecessary div style when
avatar
is empty. #23994 @Xuhao🐞 Fix Select
focus
border style in Input.Group. #23985🐞 Fix Steps
subTitle
showing[object Object]
title. #23989💄 Tweak Select close icon position. #23963
🐞 Fix Drawer
width="50%"
hidden problem when no mask. #23925🐞 Fix Textarea with
allowClear
has error height style. #23835💄 Adjust Modal.xxx function async to avoid block React events. #23826
🐞 Fix Menu with controlled
openKeys
abnormal behavior wheninlineCollapsed
changed. #23822🐞 Fix Button
loading
animation. #23783🐞 Fix Slider
marks
selected problem when dragging. #23773🌎 Localization
🇮🇷 Add Farsi
fa_IR
default locale template localisations. #23926 @NarimanMov🇺🇸 Add default
en
default locale template localisations for Form. #23859 @mjfwebb
📦 Reduce bundle size
RTL
TypeScript
4.2.0#
2020-04-29
🆕 List
grid
support all column count like 5. #23630🆕 Divider add
plain
prop which allows a non-heading style divider text. #23405🆕 Typography
ellipsis
supportonEllipsis
event handler. #23414🆕 Space support
align
prop. #23306🆕 Upload support
isImageUrl
to force trade file as image. #23248 @onjuju🆕 Form.Item support
initialValue
andgetValueProps
props. #22993ConfigProvider
Table
🐞 Fix RangePicker
ranges
tag color to primary color. #23705🐞 Fix Transfer with custom empty style issue. #23694 @hengkx
Input
🐞 Fix Password caret position. #23633 @huntdream
💄 Adjust Input.Search icon style. #23406
Button
Menu
🐞 Fix Tag cannot be directly called by
react-dnd
. #23632 @hengkxAnchor
💄 Select arrow won't rotate when open. #23468
💄 Rate support
direction
. #23321💄 Adjust font-size in compact mode. #23135
RTL
💄 Optimize Result button style in RTL. #23733
💄 Add Divider RTL support. #23734
💄 Fix Alert style in RTL when no-icon. #23714
💄 Optimize Table expand animation and pagination style in RTL. #23706
💄 Fix Table filter dropdown position in RTL. #23695
💄 Fix Table rowSelect icon style in RTL. #23690
💄 Optimize List style in RTL. #23676
💄 Add Calendar RTL. #23394
💄 Optimize Input.Search style in RTL. #23424
💄 Add Notification RTL config. #23185
TypeScript
4.1.5#
2020-04-25
🐞 Fix Button.Group align style. #23590
🐞 Fix Select cannot trigger open by clicking arrow icon. #23448
🐞 Fix Form fields shake when
@form-item-margin-bottom
is customize and switching the validing info. #23436 @yoyo837🐞 Fix the first Divider render differently with others. #23438
🐞 Fix nest ConfigProvider missing
prefixCls
value. #23423🐞 Fix Carousel tabbed Radio/Checkbox to non-active slide. #23380
🐞 Fix Tree with virtual scroll frozen by quick
loadData
. #23581🐞 Fix Steps style in IE11 when direction is vertical. #23561 @AdrianoRuberto
🐞 Fix Input.Search height affected by
suffix
andreact key
warning. #23527🐞 Fix Menu behavior when hover on submenu gap. #23511
🐞 Fix Tree custom icon missing when node is loading data. #23494
RTL
TypeScript
🐞 Fix type definition of
selections
for Table. #23462 @xiaoxintang
4.1.4#
2020-04-18
🐞 Fix dark theme and compact theme not working. #23243
🐞 Fix Modal.info executed only once when has argument. #23360
🐞 Fix Dropdown submenu background missing. #23296
💄 Optimize PageHeader responsive behavior. #23277
🐞 Fix TreeSelect render blank in compact mode. #23231
🛎 Fix Checkbox and Switch console warning typo (validate -> a valid). #23240 @evancharlton
🐞 Fix Table
rowSelection
params issue whenchildrenColumnName
configured. #23205Input
Select
Globalization
TypeScript
RTL
4.1.3#
2020-04-13
💄 Adjust Form.Item
label
height style in vertical layout. #23192🐞 Fix
Variable is undefined
when importing dark or compact theme and provide agetThemeVariables
methold for getting theme variables easily. #23171🐞 Fix PageHeader style breaks when
title
is too long and improve it's responsive design. #23133Tabs
Table
🐞 Fix Table fixed columns cannot pin in Safari 12. #23161
🐞 Fix Table
summary
padding in small size. #23140 @someyoungideas
🐞 Fix Select align style with different size. #23160
🐞 Fix RangePicker under Input.Group style issue. #23149
🐞 Fix Pagination missing TypeScript definition of
showTitle
. #23144 @DongchengWang
4.1.2#
2020-04-10
Menu
🐞 Fix dark and compact theme cannot work together. #22934 @AshoneA
🐞 Fix Notification invalid
paddig-top
value. #22941Button
🐞 Fix Statistic show
-0
when value is-
. @22950🐞 Fix Modal.confirm
onOk
should not be triggered multiple times. #22963Input
🐞 Fix Form.Item not correct reset error style when dynamic switch Form.Item. #23041
💄 Adjust RangePicker arrow & suffix color style. #23025
Table
Select
🐞 Fix Calendar missing
style
prop support. #23081🐞 Fix Tabs bottom card active tab wrong height style. #23087
🐞 Fix RTL support of Anchor, Select, DatePicker, Grid, Mentions. @xrkffgg
TypeScript
4.1.1#
2020-04-05
🐞 Fix Input affix with popup element can not get click focus. #22887
Table
🆕 Table row selection dropdown support
getPopupContainer
. #22787 @mikeyshing88🐞 Fix Table header size with filter or sorter when
size
is configured. #22872💄 Adjust nest Table style, compact only when just one table element. #22868
🐞 Fix Table column
align
not working on head whensorter
configured. #22858🐞 Fix Table filter config not work on jsx structure. #22888
🐞 Adjust Table expanded row not fix width when scroll only. #22832
🐞 Fix the column can't show when the
column.children
isundefined
. #22832🐞 Fix Table still show filter icon when
filters
isundefined
. #22833🐞 Fix Table unchanged
filters
should not triggeronChange
. #22829🐞 Fix Table loading compatibility. #22739
🐞 Fix Table scroll shadow style in Safari. #22794
💄 Adjust RangePicker arrow style. #22847
🐞 Fix Text with
ellipsis
align issue. #22836💄 Tweak
@info-color
should be@primary-color
defaultly. #22723🐞 Fix BackTop not working in iframe and improve it's performance. #22788
🐞 Fix Select inconsistent height when
mode="multiple"
andsize="large" />
. #22904🐞 Fix Affix throws
React warning of state update on unmounted component
. #22790🐞 Fix Textarea with
clearIcon
additionalmargin
in Form.Item. #22793🐞 Fix List
footer
missing border when data is empty. #22771🐞 Fix Slider
tooltipPlacement
option API is changed to be correct again. #22772 @phoenixeliot🛠 Refactor LocaleReceiver with new context api to avoid React strict mode warning. #22762
🐞 Fix Radio and Checkbox required prop not passing to input. #22761
🐞 Fix variable
--scroll-bar
is undefined. #22754 @mikeyshing88🐞 Fix Space item duplicate key. #22745
🐞 Fix Select cursor style. #22743
🇫🇷 DatePicker and TimePicker update French locale. #22769 @PaulJln
RTL
TypeScript
🐞 Fix Table
FilterDropdownProps
TypeScript definition. #22895 @zhangyu1818🐞 Fix Form
Store
andStoreValue
TypeScript definition. #22755 @shaodahong
4.1.0#
2020-03-29
🔥 New Space component to resolve inline component margin style. #22363
🔥 DatePicker support quarter picker. #22468
🆕 Tree/TreeSelect/Select support
virtual
prop to disable virtual scroll. #21955🆕 Improve Pagination switch experience. #22711
Pagination will show size changer when
total > 50
.Unify Pagination items to fixed length.
Change default size options to
10, 20, 50, 100
.
Table
🆕 Tag component support
icon
prop. #22418 @vtsybulin🆕 Grid add
useBreakpoint
hook. #22226🆕 Card support
tabProps
. #22207🆕 Pagination add
autoResize
prop. #21959 @wendellhu95🆕 Add render props support for Popover/Popconfirm. #22034 @nossbigg
🆕 TimePicker.RangePicker support
order
prop. #21948🆕 Carousel
dots
support object to passclassName
. #21848🆕 Form
validateMessages
support${label}
variable. #21835🆕 Expose all Dropdown props in Breadcrumb.Item. #20763 @paranoidjk
⌨️ Improve Tabs Accessibility. #22287
Add Tabs
keyboard
prop.Tabs
extraContent
don't trigger keyboard navigation now.
🛠 Warning Form.Item with
defaultValue
when it's controlled. #22571🛠 Menu.Item Tooltip could be hidden by falsy
title
prop. #22202🛠 Typography
onExpand
function support event parameter. #22092 @BlazPocrnja🛠 Simplify Popconfirm and Popover dom structure. #22052
🐞 Fix Autocomplete display
null
whenvalue
isnull
. #21955🐞 Adjust Drawer close button without
title
style to avoid overlap with scroll bar. #22710🐞 Fix Calendar style details. #22676
Table
🐞 Fix Input with
suffix
only align style issue. #22603🐞 Fix Alert cannot work with Tooltip/Popover. #22594
🐞 Fix nest dynamic Form.Item get react unmounted update warning. #22575
💄 Adjust Tag
processing
status color. #22303💄 Remove Select dropdown group title mouse click style. #22581
💄 Redesign Table filter menu buttons and fix Dropdown edge
padding
style. #22072💄 Move
@form-item-label-height
from form styles to theme variables. #22600 @slavakam💄 Add less variables
@link-focus-decoration
and@link-focus-outline
. #22511💄 add separator cursor
disabled
of DatePicker. #22563RTL
💄 Optimize Checkbox
inner
RTL style issue. #22627🐞 Optimize Upload
picture-card
RTL style issue. #22630🐞 Fix Badge RTL number style issue. #22665
🐞 Fix Select RTL style issue when select multiple options can be cleared. #22596
🐞 Fix Progress RTL style issue. #22558
🐞 Fix Badge RTL style issue. #22551
🐞 Fix Input RTL style issue. #22525
🐞 Fix Steps RTL style issue. #22523
💄 Optimize Tabs RTL icon style issue. #22653
💄 Optimize Input.Group RTL style issue. #22624
💄 Optimize Timeline label mode RTL style issue. #22652
💄 Optimization Select dropdown group RTL style issue. #22584
💄 Optimization Dropdown.Button RTL style issue. #22519
Typescript
🛠 replace deprecated
React.SFC
withReact.FC
. #22691 @Rustin-Liu🐞 Fix Form.Item
children
definition. #22662
4.0.4#
2020-03-23
🐞 Fix AutoComplete clear icon overlap issue on search icon. #22310
🐞 Fix Button align issue when is
disabled
and wrapped by Tooltip. #22461🐞 Fix Cascader search need to press down arrow twice to select item. #22216 @Kermit-Xuan
🐞 Fix Carousel cannot works on Snowpack. #22507
🐞 Fix ConfigProvider
componentSize
not works on DatePicker.RangePicker. #22486🐞 Fix Descriptions cannot fit to small container width. #22407
⚡️ Optimization Form.Item with multiple noStyle children Form.Item message collection performance. #22410
🐞 Fix Grid broken style using Col without
span
. #22455💄 Add InputNumber RTL style. #22434
Menu
🐞 Fix Progress Dashboard won't allow
gapDeg
to be0
. #22462 @thisrabbit🛠 Adjust Radio.Group logic that
value
isundefined
should be uncontrolled mode. #22245⚡️ Reduce Row unnecessary render when
gutter
is array. #22475 @dolfje💄 Tweak RangePicker arrow shadow style. #22406
🐞 Fix Select dropdown menu vertical padding. #22251
🐞 Fix Slider tooltip crash when with
nullable
value. #22482Table
🐞 Fix Table ColumnGroup with controlled
sorterOrder
not working issue. #22450🐞 Fix Table border radius style. #22413 @akshatmittal
🐞 Fix Table fixed column height issue. #22367
🐞Fix Table row expand icon show error in ipad. #22334 @BugHiding
🛠 Table
column.filter
supportboolean
value. #22277 @xudongdev🐞 Fix Table filter no working when only set
onFilter
. #22317
🐞 Fix TreeSelect
treeIcon
not working. #22437🐞 Refactor DirectoryTree to fix deprecated warning. #22318
🐞 Fix Typography nest list style issue. #22284
🐞 Adjust Upload
onChange
returnfileList
is immutable data to avoid render issue. #22322🌎 Localization
🇫🇷 Update French locale. #22238 @abenhamdine
Typescript
🐞 Omit Table
getCheckboxProps
typeofchecked
. #22391 @geekrainy
4.0.3#
2020-03-14
Menu
Slider
🐞 Fix an issue where the position of 'slider handle' is incorrect in the vertical case of Slider. #22135 @wendellhu95
💄 Fix Slider missing
focus
style. #22161
Table
🐞 Fix ConfigProvider not work on Table filter dropdown. #22133
🐞 Fix Table nest tree column expandable style issue with fixed column. #22131
🐞 Fix an issue where Table filtering throws
cannot read property 'map' of undefined
. #22096 @yoyo837🐞 Fix Table expandable column not fixed when selection column is fixed. #22087
🐞 Fix Table filter menu reset not working. #22079 @shaodahong
🐞 Fix Table filter sub menu max height with many items. #22230
Form
💄 Optimize the responsive and box model performance of The Form. #21907 @shaodahong
🐞 Fix FormItem hooks render error. #22053 @kagawagao
🐞 Fixed the problem of using custom icons to wrap in Input.Group. #22197 @xrkffgg
💄 Adjust Select single padding style to avoid tweak with dropdown. #22167
💄 Fix Calendar header select ellipsis bug. #22148
💄 Fixed Dropdown content and icons overlapping. #22098 @xrkffgg
🐞 Fix Select ellipsis bug in Firefox. #22101
🐞 Remove PageHeader unnecessary
overflow: hidden
style,Optimize PageHeader extra buttons responsive design. #22030🐞 Fix TextArea
autoSize
don't scroll bottom in Firefox. #22014RTL
💄 Optimize the style of Pagination in RTL mode. #22155 @xrkffgg
💄 Optimize the Checkbox.Group style in RTL mode. #22186 @xrkffgg
💄 Optimize Radio.Button style issues in RTL mode. #22066 @xrkffgg
🐞 Optimize table-pinned style issues that are listed under RTL. #21914 @saeedrahimi
💄 Adjust the direction of the Dropdown icon in RTL mode. #22104 @xrkffgg
💄 Optimize the Breadcrumb style in RTL mode. #22159 @xrkffgg
💄 Optimize the style of the Steps component in RTL mode. #22175 @xrkffgg
💄 Optimize styles in RTL mode with form feedback. #22222
TypeScript
🔷 Update the
operation
type definition of FormList. #22058 @kagawagao🔷 Update the definition of the
trigger
parameter for components such as Tooltip. #22043 @wendellhu95
4.0.2#
2020-03-08
Form
🐞 Fix nest Form.Item dynamic remove will warning in React. #21896
⚡️ Form
useForm
now return same instance for performance. #21927⚡️ Refactor Form.Item render logic that will only render once when children is a pure component. #21991
⚡️ FormContext use a memoized value to avoid trigger FormItem's unintentional renders. #21980 @qiqiboy
Table
Select
Menu
🐞 Fix Badge animation when switch between 10 and 11. #21834 @wendellhu95
🐞 Fix Radio.Button inside Tooltip throws
Function components cannot be given refs
warning. #21895 @AshoneA🐞 Fix Descriptions miss style when content is falsy. #21901
🐞 Fix ConfigProvider
prefixCls
not working on Input.Password. #21953 @tdida🐞 Fix Input.Search border style in
rtl
mode. #21946 @xrkffggLess
TypeScript
🌟 Improve Form.Item
renderProps
definite. #21911
4.0.1#
2020-03-04
Form
Input
Table
🐞 Fix Menu.Item
a
tag hidden bug. #21699 @shaodahong🐞 Fix
message.open
crash whenicon
is not passed. #21747 @AshoneA🐞 Fix Result
status
cannot assigned to string or number type. #21691🐞 Fix Descriptions warning for duplicate key. #21688
💄 Optimize Calendar header style in small screen. #21813
💄 Radio.Group not wrapping now. #21813
🛠 Refactor icons import code to reduce webpack disabled tree shaking bundle size. #21752
Typescript
🐞 Fix Radio.Button type error. #21807 @jhoneybee
🐞 fix
TreeSelect.SHOW_*
type. #21791 @TennyZhuang🐞 Fix TreeSelect missing
suffix
define. #21714🐞 Fix Drawer
forceRender
TypeScript definite. #21774🐞 Fix Tree
treeData
define. #21756🐞 Fix Form.Item
renderProps
return type define. #21716
4.0.0#
2020-02-28
🏆 Ant Design v4 is out! Check here for more info.
🐞 Breadcrumb use
path
as default key to fixname
key conflict. #21583 @douxc🌟 Timeline.Item support
label
. #21560 @shaodahong🐞 Fix Table filter menu max height style with many items. #21602
💄 Add the Calendar component's custom default font color for display content. #21598 @xrkffgg
🚮 Remove DatePicker legacy cell className for custom cell style. #21589
🐞 Fix RangePicker style render bug in IE11. #21587
🛠 Progress
strokeColor
now will ignore incorrect percent. #21564 @AshoneA🐞 Fix Progress
trailColor
not working whentype=line
. #21552 @AshoneA🐞 Fix the background of the components in the pop-up components in the dark theme. #21299
💄 Optimization under the dark theme color swatches transparency.
🌟 new less variable
@popover-customize-border-color
,@list-customize-card-bg
,@table-expand-icon-bg
,@steps-background
,@pagination-item-input-bg
for theme customization.
4.0.0-rc.6#
2020-02-24
Form
Upload
🌟 Upload added
removeIcon
anddownloadIcon
properties. #21363 @sdhr27🐞 Fix Upload identify types of image logic errors. #21473 @holynewbie
Input
Table
Descriptions
🐞 Fix
label
does not have the problem of still rendering the label element when not usingbordered
. #21542🐞 Fix Non-bordered titles under
vertical
are also a problem fortd
. #21542🐞 Fix
vertical
andbordered
layout issues. #21542🐞 Fix the problem of
style
not working onItem
. #21542🐞 Fix
th
will also get the useless-colon
className problem underborder
. #21542
🌟 Select added
tagRender
for customized tag rendering. #21064 @fguitton💄 Picker
onPanelChange
will also trigger when panel value changed. #21455🐞 Fix Notification first call multiple time can not stack. #21531
🐞 Fix TreeSelect popup do not update issue. #21410
💄 Optimize Upload
showDownloadIcon
default doesn't show. b4636💄 Tweak Divider inner text
padding
and add@divider-text-padding
. #21407Typescript
4.0.0-rc.5#
2020-02-16
🐞 Fix Form.Item
validateFirst
prevent form submit. #21329🐞 Fix InputNumber cursor position issue when deleting consecutive identical numbers. #21344
💄 Remove Menu excess background color. #21365
💄 Optimize the mouse style for the
disabled
state of the DatePicker component. #21352🐞 Fix Affix throws
Cannot read property getBoundingClientRect
in mobile device. #21350🐞 Fix the problem that the label width is incorrect when the screen is less than
xs
. #21222🐞 Fix Input
size
islarge
height style. #21338🐞 Fix Badge
color
not working when contains children. #21333🐞 Fix Alert close button extra padding. #21325
💄 Tweak Steps 1px align issue. #21306
💄 Fix legacy Button.Group
large
size style issue. #21307💄 Fix Input border radius with suffix, style in Firefox, TextArea allowClear style issues. #21316
🐞 Pagination will pass
disabled
prop to prev/next buttons return byitemRender
. #21361🇦🇿 Added Azerbaijani translation. #21387 @orkhan-huseyn
Typescript
4.0.0-rc.4#
2020-02-09
📖 Add color palette and palette generation tool for dark theme. #21101
🌟 Add
style
field foroptions
prop of Checkbox.Group and Radio.Group. #21219🌟 Add
validateFirst
prop for Form.Item. #21178🌟 Add
useModal
hook for Modal to supportcontext
access. #20949🌟 Add
useNotification
hook for Notification to supportcontext
access. #21275🌟 Add
bordered
prop for Select、TreeSelect、DatePicker、TimePicker and Cascader. #21242🌟 Add
selectAllLabels
prop for Transfer. #21139 @morenyang💄 Redesign the style of ink bar for Tabs. #21256
💄 Add less variable
@form-item-label-font-size
. #21216🐞 Fix Badge style for Badge with Typography. #21235
🐞 Fix Checkbox not work when Checkbox and Checkbox.Group are separated by other component. #21146 @morenyang
🐞 Fix Collapse.Panel wrong content width when
extra
prop is set. #21202 @zhiyuc123Form
Input
🐞 Fix Radio.Group style with Badge. #21215
🐞 Fix Select no margin between lines when mode is
tags
ormultiple
. #21175🐞 Fix Slider dots focus style. #21244 @Kermit-Xuan
🐞 Fix Steps icon not align when
size="small"
andlabelPlacement="vertical"
. #21258Table
🐞 Fix TimePicker
defaultOpenValue
prop not work. #21198Transfer
🐞 Fix wrong unit for checkbox label of header. #21136 @morenyang
🐞 Fix icon not align in search input. #21247
🐞 Fix Typography not focus at the end of textarea when editable is true. #21268
4.0.0-rc.3#
2020-01-27
🛠 Use native Date instead of moment to get timestamp in Countdown component. #21108 @morenyang
🐞 Fix Input
suffix / prefix
style issue withaddonBefore / addonAfter
. #21105💄 Improved Timeline component style in RTL mode. #21068 @xrkffgg
💄 Update
clearfix
mixin to remove legacyzoom
descriptor. #21109 @morenyang💄Card component use
@font-size-base
instead of inline14px
. #21107 @morenyang💄 Adjust Layout component to let
className
get higher priority. #21074 @yoyo837Typescript
🐞 Fix Tree wrong event type of AntTreeNodeMouseEvent. #21102 @Jirka-Lhotka
🐞 Fix Form.Item return type define. #21067
4.0.0-rc.2#
2020-01-21
🛠 Refactor some demos to React hooks and TypeScript. #21045
🐞 Fixed Input/Select components align issue. #20869
Dropdown
Input
Table
Select
Form
🐞 Fixed message cut shadow issue. #20856
🐞 Fixed Tooltip hidden when
title
is0
. #20894🐞 Fixed List
actions
inconsistent position. #20897🆕 Add a visual list example for Tree. #20911
🐞 Fixed AutoComplete example styling issue. #20946
🗑 Removed AutoComplete useless
labelInValue
. #20967🐞 Fixed Drawer
footerStyle
prop cause react warning. #20983🐞 Fixed Breadcrumb style in
rtl
mode. #21054💄 Tweak Layout
className
order to end. #21041TypeScript
🐞 Export DatePicker related interface. #20900
Less variables
4.0.0-rc.1#
2020-01-11
🌟 Drawer Added
footer
andfooterStyle
properties. #20690 @DeanVanNiekerk🌟 Switch Added
@switch-min-width
and@switch-sm-min-width
less variables. #20829 @abdihTable
🐞 Fix expanded icon not work when
expandRowByClick
is set. #20808🐞 Fix expanded row width in scaled dom element and border style. #20805
🐞 Fix background color css priority too high to override user customize style. #20794
🐞 Fix
rowSelection
offixed
not work. #20735🐞 Fix fixed columns in Chrome show the vertical scrollbar. #20705
🐞 Fix crash when columns with empty children. #20703
💄 Tweak Calendar basic style month drop-down box width and notice items of word order and card mode, select the size of the box. #20790 @xrkffgg
DatePicker
🐞 Input not block user input when value is
undefined
. #20783🐞 Fix Carousel card carousel orientation in left / right mode. #20781 @xrkffgg
🐞 Fix Grid responsive gutter under SSR initial value of
0
. #20762🐞 Fix InputNumber, Select and other components icon size. #20765
🐞 Fix Badge
z-index
higher than Table fixed columns. #20751💄 Tweak font family to be same as tailwindcss. #20747
🐞 Fix TextArea
autoSize
blink in FireFox. #20737🐞 Fix Form.Item not keep error message sync when hit rule changed. #20725
🐞 Fix Form.Item add additional feedback style when
hasFeedback
is not set. #20691🐞 Fix Cascader search bug when
fieldNames
is existed and label/value share same name. #20720🐞 Fix Collapse background color with wrong less variable. #20718 @kuitos
🐞 Fix Slider's Tooltip not follow handle. #20699
🐞 Fix Card cover image get skretched. #20701
🐞 Fix Typography automatic overflow with
suffix
property. #20689 @zouxiaomingya🐞 Fix AutoComplete with customize component with wrong style. #20686
🐞 Fix Input.Group to be partial to a pixel in Form. #20681
TypeScript
4.0.0-rc.0#
2020-01-04
Ant Design 4.0-rc released! Here is the release document.
⚠️ Migrate from v3 to v4 please ref to migration document.
New features and improvements#
🌟 antd package size optimization, js gzipped dropped from 532.75KB to 289.89 KB. #20356
💄 New dark theme support. #20281
🌟 ConfigProvider supports
direction
internationalization settingrtl
. #19380🌟 New Form component. #17327
🌟 Form comes with data binding function.
🌟 Field changes only affect the rendering of related field components and not the entire Form.
🌟 Added
initialValues
to replace the original field initialization.🌟 Added
validateMessages
to support modify validation templates.🌟 Added
onFinish
andonFinishFailed
to complete the overall component verification logic.🌟 Added
onFieldsChange
andonValuesChange
for triggering controlled state.🌟 Provide hook support for
useForm
.🌟 Form.Item adds
name
property for data binding.🌟 Form.Item
validateTrigger
will only perform validation trigger and will not collect field values at the same time.🌟 Form.Item adds
rules
property for data validation.🌟 Form.Item adds
shouldUpdate
property to support render props.🌟 Form.Item adds
dependencies
property to simplify related field update logic.🌟 Form.Item adds
noStyle
property and adds unstyled data binding.🌟 Added Form.List component to simplify adding, deleting, modifying and checking operations.
🌟 Added Form.Provider component to support multi-form linkage.
🌟 New Table component. #19678
🌟 Added
summary
support for summary lines.🌟 Now
fixedColumn
,expandable
, andscroll
can be mixed.🌟 Support multi-column sort.
🌟 Support custom
body
and add virtual scrolling example.🌟 Expansion-related props moved into the
expandable
attribute and addrowExpandable
prop.🎉 Use css
sticky
to achieve fixed effects to optimize performance.💄 Optimized
expand
animation effect.
🌟 New DatePicker, TimePicker and Calendar components. #20023
🌟 Support custom date library.
🌟 Added
picker
support for setting selectors (no longer need to simulate selectors via controlledmode
).🌟 Full range selector support: time, date, week, month, year.
🌟 Range selector can now select start and end times individually.
🌟 The range selector can be set to
disabled
separately for the start and end time.🌟 The range selector allows empty start and end times.
🌟 Optimized manual input and keyboard interaction support.
🌟 Added
inputReadOnly
to disable manual input.
🌟 Remove Icon and use
@ ant-design / icons
instead. #18217Skeleton
🌟 Support Skeleton.Avatar placeholder component. #19898 @Rustin-Liu
🌟 Support Skeleton.Button placeholder component. #19699 @Rustin-Liu
🌟 Support Skeleton.Input placeholder component. #20264 @Rustin-Liu
🌟 Tree supports virtual scrolling. #18172
🌟 Tree Enhanced accessibility support and keyboard interaction. #18866
🌟 Select uses virtual scrolling and enhanced accessibility support and keyboard interaction. #18658
🌟 Uncontrolled mode when
value
isundefined
now.🌟 multiple Select won't rerender if
value
is mutable.
🌟 TreeSelect uses virtual scrolling and optimizes keyboard support. #19040
🌟 Uncontrolled mode when
value
isundefined
now.
🌟 Button adds
default
andlink
styles fordanger
. #19837🌟 Form and ConfigProvider support
size
setting to include component size. #20570🌟 Typography adds
suffix
attribute. #20224🌟 Progress adds
steps
subcomponent. #19613🌟 TextArea supports
onResize
. #20408🌟 Added Alert.ErrorBoundary to provide friendly error interception and prompting. #19923
🌟 Upload supports iconRender to customize icons. #20034 @qq645381995
🌟 Tag component preset status color. #19399
🌟 Grid uses
flex
layout. #16635🐞 Fix the display error of Carousel component
dotposition
asleft | right
. #20645 @xrkffgg🐞 Fix Alert style text overflow. #20318
🙅 Removed warning messages for deprecated APIs. #17510
🙅 Added warning for Avatar, Button, Modal.method and Result components using v3 strings as icons. #20226
💄 Add
@border-color-split-popover
、@input-icon-hover-color
、@select-clear-background
、@cascader-menu-border-color-split
、@modal-header-border-color-split
、@skeleton-to-color
、@transfer-item-hover-bg
and other less variables. #20070