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.20.0#
2022-04-24๐ฅ React 18 Support. Fix related known issue.
๐ฅ New component Segmented. #34319
Form
๐ Menu support
itemsfor perf prepare, andchildrenwill be removed in next major version. #34559๐ Image PreviewGroup Support top progress rendering. #35038 @zpc7
Upload
Table
๐ Support reset to the default value rather than empty, when click reset in Table column filter. #34355 @heiyu4585
๐ Fix Table head background and selection column width styling issues when
size="small". #34963๐ฉ๐ช Improve German translations for Table. #34836 @pfedan
โก๏ธ Optimize Table filter calculation perfromance. #35064 @nieyuyao
๐ Improve small and middle size Table selection dropdown margin style. #35173
Tree
Breadcrumb
๐ Fix Breadcrumb deprecated warning of Dropdown
placement. #35162๐ Fix Breadcrumb show the number when is unexpected. #35123
โจ๏ธ Make structure of Breadcrumb be accessible. #34082 @VladimirOtroshchenko
Anchor
Cascader
๐ Cascader supports
showCheckedStrategyfor value display strategy. #34568 @heiyu4585๐ Fix Cascader search result do not fill the entrie panel. #35019 @boomler
๐ Click event object can be accessed in
onCopyfunction of Typography. #34655 @yzwxk๐ Support
rootClassNameproperty for Dialog and Image. #34574 @heiyu4585๐ Fix error
Nothing was returned from renderwhen Skeleton use falsyloadingprops withoutchildren. #34872 @AlbertAZ1992๐ Optimize Switch disabled color to fit colorful background. #35103
๐ Remove Tabs
overflow: hiddenstyle to fix Select and sticky Table display problem inside Tabs. #35195๐ Fix animation for standalone Badge in RTL mode. #34899 @hmz22
๐ Optimize Modal id generate logic to improve accessibility experience. #35072
๐ Fix Select and AutoComplete scroll abnormal behavior when navigate via keyboard.ใ#35025
Spin
๐ Fix Spin animation style being abnormally parsed in Parcel. #35005
โจ๏ธ Spin add
ariaattribute to improve accessibility. #34408 @heiyu4585
โจ๏ธ Dropdown support select option by keyboard. #34738
๐ Fix Title, Text, Paragraph components cannot get
refbug. #34847 @MQuyInput
โจ๏ธ Fix
aria-checkedattribute for Checkbox, to avoid screen reader getting an incorrect status. #34862 @SpaNb4Less
TypeScript
๐ค Fixed
UploadcomponentUploadChangeParam<T>internalfileListnot using generics. #35158 @rendaoer๐ค Update TypeScript definition for
@types/react@18compatible. #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
childtenof non-react element. #34751 @1247748612๐ Fix Tag
@tag-border-radiusless variable not work. #34741
4.19.4#
2022-03-27๐ Fix when
fullscreenof the Calendar isfalse, the element returned bydateFullCellRendercannot be interactive. #34614 @imoctopus๐ Fix text position in Steps with
smallsize anddotmode. #34651๐ Fix Descriptions
contentStylenot working when children is 0. #34696 @zhao-huo-long๐ Fix notification prevent interaction on elements which under it. #34716
4.19.3#
2022-03-21๐ Fix TextArea
clearIconcolor. #34610๐ Fix: apply scale transform to disabled star. #34547 @Unuuuuu
๐ Fix Tooltip arrow color with preset. #34548
๐ Fixed number abnormal position display in Badge RTL mode. #34545
๐ Fix numeric Row and Col class styles when using prefixCls. #34494 @mic-web
๐ Fix Editable Textarea height jump in Firefox and Editable Typography.Title confirm icon position. #34518
๐ Fix missing
statusstyle in RangePicker. #34509๐ Add warning for Input getting blurred when dynamically add
hasFeedback. #34475๐ Fix missing classname in input when Input has
prefixorsuffix. #34474๐ฑ๐น Updated lt_LT locale for
typeTemplate. #34567 @Anizcus๐ฎ๐น Updated it_iT locale for
Table. #34566 @freshgiammi
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
12pxto8pxinsideextra. #34428๐ Export css variable function in
antd/es/config-providerfolder to enable ssr requirement. #34436๐ Refactor Menu with React hooks. #34433
Input
Form
Tooltip
๐ Fix Tooltip width in Safari. #34415 @jiandandkl
๐ Fix arrow size of Tooltip/Popover/Popconfirm. #34407
๐ Remove Collapse bottom border in simple style. #34366 @PanStar
TypeScript
4.19.1#
2022-03-08๐ Fix less compile error related to custom status. #34350
๐ Fix error
ReferenceError: colorPalette is not definedwhen customize theme.๐ Fix error
Error: Invalid class or id selector syntaxwhen importantd/dist/antd.css.
๐ Fix Input.Passowrd icon color in site. #34354
๐ Fix ConfigProvider
cspsometime 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
refis modified because of refactoring from class component to function component. You can still get DOM node frominput, and other methods such asfocusandblurmentioned in document are also supported.
๐ Support
clearIconprop for customizing clear icon. #34325
Table
๐
filterSearchnow support passing function to customize search. #34085 @heiyu4585๐
column.filterDropdown({ clearFilters })supportclearFilters({ confirm: false, closeDropdown: false }). #34120 @heiyu4585โจ๏ธ Table adds
aria-sortattribute for screen readers. #33603 @dgreene1๐ Fix Table filters select-all Checkbox not changed when select item. #34295
๐ Data entry components add
statusprop to support custom status.Transfer #34098
AutoComplete #34096
TreeSelect #34093
Cascader #34086
Select #34084
DatePicker and TimePicker #34073
Mentions #34071
InputNumber #34042
Input #33995

๐ InputNumber supports
controls={{ upIcon, downIcon }}to customize icon up and down. #33914 @heiyu4585๐ Notification
placementsupporttop/bottom#33871 @heiyu4585๐ Select, Cascades, DatePicker now support
placementproperty. #33641 @ONLY-yours๐ Dropdown support
arrow={{ pointAtCenter: true }}to make arrow point at center. Andtopbottomplacement are also supported. #33658๐ Skeleton.Input Adds
blockprop. #33672 @woochanleee๐ Move TimePicker
disabledHours,disabledMinutes,disabledSecondsintodisabledTimeto align with DatePicker. #33503๐ Modify the color of some borders and the background color of the progress bar to be transparent to suit the colored background. #33506
๐ Fix
Typography.Titledidn't keep font size when become editable. #34169 @heiyu4585๐ Fix Form.Item throw warning
React does not recognize the requiredMark prop on a DOM element. #34323
4.18.8#
2022-02-21๐ Fix
getContainerconfig not working bug when called multi-times viamessage.config. #34123 @TrickyPi๐ Fix invalid context value cache in Menu component. #34121 @mrwd2009
๐ Fix ConfigProvider config theme on server side crash, and warning for useless in SSR instead. #34118
Table
๐ Fix incorrect copy text of Typography after children is updated when enable
copyable. #34034 @opopeieieโก๏ธ Optimize Avatar, List, Pagination, Steps to avoid additional render on mount if unnecessary. 34122
๐ Fix Form broken style when Select item is too long in horizontal layout. #34117
๐ธ๐ฐ Improve texts for Table, Form and Modal in
sk_SK. #34061 @xsemanTypeScript
4.18.7#
2022-02-14Typography
๐ Fix Typography
useLayoutEffectwarning in SSR. #33818 @SoYoung210๐ Fix Typography with
ellipsismakes screen show the scroll bar in some case. #34007๐ Typography copy click event is now
stopPropagationby default. #33998 @linxianxi๐ Fix Typography edit & copy button not trigger by enter key. #33976 @mrwd2009
๐ Fix Form
undefinedtext of min/max validators in pl_PL locale. #34024 @MichalPodeszwa๐ Fix Input.TextArea cut text logic when
maxLengthconfigured. #33910 @chenyizhongx๐ Button with
type=defaultwill provide.ant-btn-defaultclassName. #34013๐ Improve Menu
:focus-visiblestyle. #34008๐ Fix Pagination and Rate style problem in Safari. #34002
๐ Fix Row and Col component styles when using prefixCls. #33969 @mic-web
๐ Fix Timeline icons with custom color not working. #33951 @MadCcc
TypeScript
๐ค Optimize Cascader
onChangedefinition withmultipleprop. #33947 @babycannotsay
4.18.6#
2022-02-07๐ Fix the empty Popover displayed when
contentandtitleis undefined or null. #33835 @DawnLck๐ Fix the problem that Tooltip didn't show on
ellipsiswith rows larger than 1. #33875Button
๐ Fix the issue that
blockof Button not work when small size. #33878 @tangjinzhou๐ Fix the issue that
loading.delayof Button cause React memory leak warning #33858 @mrwd2009
๐ Fix the problem that Tooltip cannot be displayed when it is used with Switch in
loadingstate. #33860๐ Fix the Upload button sometimes flashes after changed from hidden to display when the Upload component is a
picture-cardtype. #33820 @credredTypeScript
๐ค Fix DatePicker
refTypeScript definition. #33901 @Amour1688
4.18.5#
2022-01-24Cascader
๐ 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
onChangecould not correctly pass in the modified value when dynamically modifyingvalueproperty. #33753
4.18.4#
2022-01-18Typography
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
validateMessagesbug 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
homeandendkeyboard navigate. #33642 @dartamonov-vertexTable
โก๏ธ Improve Table perfermance 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 @MadCcc๐ Fix Input with
suffixwill crash whenvalueis number type. #33462๐ Fix Divider with text dashed border color error. #33452 @chen-jingjie
๐ Fix Dropdown.Button not support
destroyPopupOnHide. #33442 @LongHaoo๐ Fix Table Pagination not trigger
onChangewhencurrentchanged. #33411 @2724635499
4.18.0#
2021-12-27๐ Fix Skeleton missing
styleprop. #33405๐ Fix Descriptions overflow style cause other components being cut. #33392
๐ Unique Select-like component generic as OptionType to support FieldNames type. #33364
๐ Fix Slider rail hover color when it is disabled. #33369 @chen-jingjie
Table
Form
๐ Modal static function support
wrapClassNameprop. #32676 @cwjTerrace๐ Popconfirm add
showCancelprop. #32620 @cwjTerrace๐ Dropdown.Button supports
loadingproperty now. #32467 @kaysonwu๐ Input adds
showCountproperty. #32522 @cwjTerrace๐ Alert supports
closeIconnow. #32345 @chen-jingjieTypography
๐ for editable Paragraph, edit can be triggered by clicking the icon or the value itself (or both) with
triggerType. #32219 @kachanovskiy๐ Typography support
enterIconto config confirm icon. #32220 @kachanovskiy
๐ Divider added
orientationMarginAPIs for customizingmargin-left/rightof title. #32084 @neotan๐ Avatar add
maxPopoverTriggerto support configuration of popover trigger. #32197 @RiteshMakan๐ Upload supports
showUploadList.previewIconnow. #32059 @1040961807๐ด๓ ฅ๓ ณ๓ ฃ๓ ด๓ ฟ Fix Catalan (ca_ES) missing translation key with
Form. #33377 @ZzGGitter๐ซ๐ฎ Fix Finland (fi_FI) missing translation key with
Table. #33372 @ZakarFin๐ฐ๐ญ Added locales for Khmer (km_KH) translation. #32853 @vireakkeosokvibol
TypeScript
๐ค Add Upload
capturedefinition. #33370 @MichalPodeszwa
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
.fixedto.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: relativestyle 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
centeredwas not centered vertically. #33022๐ Cascader typescript fix definition missing
suffixIconand support generic ofoptionstype. #33008๐ Fix Input.Search don't trigger click event on element inside
enterButton. #32999๐ช๐ช Added missing Estonian translations. #33005 @wedeso
๐ค Tree support generic to work more well with
fieldNames. #32992
4.17.1#
2021-11-22๐ Fix directly import
es/style/mixins/index.lessthrowVariable @root-entry-name is undefinederror. #32887๐ Fix Menu text color in collapsed tooltip. #32956
๐ Fix Modal.method
bodyStylenot working bug. #32934 @jin-benben๐ Fix abnormal placeholder color. #32915
๐ Fix editable Tabs dropdown remove button style issue. #32919
๐ Modal.confirm() Remove unnecessary
divcontainer. #31492 @ppbl๐ Remove unused css code for Drawer. 4ca6976
๐ Use
@height-basein PageHeader. #32883๐ต๐ฑ Added missing pl_PL translations. #32896 @MichalPodeszwa
TypeScript
๐ค Remove unnecessary union types for ReactNode. #32935 @huangkairan
๐ค Inherit
itemRendertyping fromrc-pagination. #32931 @JounQin
4.17.0#
2021-11-15Dynamic Theme Theme
๐ฅ ConfigProvider support dynamic modify theme color. view detail. #31496
๐ง Move part
mixinsrelated less file tothemesinstead since it requires theme variable. We do not recommend use internal file but please note this if you already use it. #32763๐ Fix
antd.variable.lesscompile mix with default theme variable. #32279๐ Fix antd compile file miss
/style/default.css. #32116๐ Fix less compile
antd.xxx.lessthrow theMaximum call stack size exceeded error. #32063
Input
๐ Fix Input.Search
border-left-radiusis not 0 when configured withallowClearandaddonBefore. #32812 @KAROTT7๐ Fix Input set to
disabledstill keep focused style. #32739๐ Avoid Input
placeholdercan be selected on Chrome. #32639 @cw1997๐ Input.TextArea
maxLengthis now passing to html textarea element. #32448 @MOHAMMADArsalan๐ Fix Input cannot clear content when focus it. #31931 @adaex
Cascader
๐ฅ Cascader support
multiplemode. #31936๐ Cascader support
onSearchandsearchValueprops. #31936๐ Cascader add
titleprop with content by default. #31237 @yingpengsha๐ Fix Cascader missing
popupClassNameandpopupPlacementprops. #32143
Select
TreeSelect
Tree
๐ Tree
draggableadd handler for tips. #32306๐ Tree support
fieldNamesto customize node field name. #31395๐ Tree support
onScrollin virtual scroll. #474๐ Fix Tree icon align bug when
showLineis enable. #32822๐ Fix Tree.DirectoryTree throws
TypeError:nativeEvent is undefined. #32551 @D-to-the-K๐ Fix Tree drop outside not clear indicator. #478
๐ Fix 1px position deviation of the Tree connection line when zooming in. #32075 @btea
PageHeader
๐ Fix PageHeader with false 'breadcrumbrender' still shows dom. #32738
Form
Drawer
๐ Tweak Drawer close icon position and default width, add
extraandsizeprops. #30908๐ Drawer support
autoFocusprop. #181๐ Fix the problem that the bottom Drawer component has no animation. #32761 @solitia7125
๐ Optimize Drawer open animation. #32342
Steps
๐ Fix Steps
progressDotstyle when it isvertical. #32742๐ Fix Steps default responsive style not working. #31965 @tangjinzhou
Typography
Table
๐ฅ Table adds
column.filterModeto support filter in a tree, which could set to'menu' | 'tree'. #31809๐ฅ Table adds
column.filterSearchfor enable search function in filter dropdown. #31809๐ Table hover
rowSpanrow will highlight all the rows now. #32557๐ Fix Table selection column arrow get covered by fixed column. #32276 @g7i
๐ Fix Table
loadingjumpy style when setsticky. #32703 @miloudbelaabed๐ Table remove
stickystyle with fixed column in IE11 to avoid layout issue. #32177๐ Optimize Table sorter icon margin problem. #32172
๐ Fix Table.SELECT_XXX ignore record
disabledstatus bygetCheckboxProps. #32027๐ Table filter reset button won't close dropdown now. #31809
๐ Revert Table sticky
z-indexstyle back tocalcinstead of less calculation to fixautostyle failure. #31874 @bconnorwhite๐ Fix Table scroll bar display issue when data dynamic changed. #647 @lanten
๐ Fix
pagination.classNamenot working in Table. #32131 @JounQin
Transfer
๐ Transfer support custom left and right
footer. #31108๐ Transfer supports
locale.notFoundContentwith array. #31088 @wwyx778๐ Fix Transfer throws
MenuItem should not leave undefined keywarning when opening selection dropdown menu. #32578๐ Tweak Transfer filter search input icon position. #31809
Collapse
Button
Pagination
๐ Pagination supports
selectComponentClassprop. #32132 @JounQin๐ Add box-shadow for jumper input in Pagination with
simpleprops. #32528 @chen-jingjie
Upload
InputNumber
๐ฅ InputNumber support
addonBeforeandaddonAfter. #31432 @Austaras๐ InputNumber now supports
controlsfor displaying+-buttons or not. #31548๐ InputNumber
formattersupport additional param to check if current input is user typing. #31030๐ Fix InputNumber handler arrow not align center. #32409
๐ Show InputNumber handler when focus it. #31911
DatePicker
๐
DatePickerandRangePickernow supportnextIcon,prevIcon,superNextIconandsuperPrevIcon. #31703 @Oreoz๐ Fix
defaultPickerValuenot working in RangePicker. #32107 @thommesZip
Notification
๐ Notification support
maxCountto limit count. #31807 @binyellow๐ Fix
closeIconnot working bug when Notification is called multiple times. #32359 @KAROTT7
๐ Popconfirm
onConfirmsupports Promise. #30871 @wendellhu95๐ Fix Card
tabsstyle when settabPosition: 'left'. #32695๐ Fix Radio cannot click due to custom
typeproperty. #32463๐ Fix
Okabbreviation to beOK. #32259 @chj-damon๐ Fix Grid Col
flexsome time exceed its width when content too long. #32160๐ Fix Switch Loading icon in an incorrect position. #32216
๐ Fix return element of
getPopupContainerin ConfigProvider is not used as a container when callingmessage.useMessage. #31939 @DaoxingHuang๐ Improve small size Image by ellipsising preview text. #29900 @drizzlesconsin
๐ Fix Alert extra dom node when
messageisundefined. #32057๐ Fix anchor
targetOffsetnot work when contain spaces. #31952 @adaex๐ Add
@checkbox-border-radiusless variable. #31360 @Gherciu๐ Avatar add
crossOriginproperty to resolve cross origin issue. #31273 @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
directionvalue in RTL mode. #31903
๐ Localization
TypeScript
๐ค Modify the type of Spin
tipto ReactNode.. #32733 @tychenjiajun๐ค Fix Message duration type definition. #32524 @chen-jingjie
๐ค Fix args type for
getPopupContainerin ConfigProvider. #32406 @mtadams007๐ Fix Table missing generic type definition. #32358
๐ Fix Switch missing
idproperty. #32237 @M-ZubairAhmed๐ค Fix
typetype for Button. #32004 @jaredleechn๐ค Improve and export
DropdownButtonTypetype for DropdownButton [#31957 @Dreamerryao๐ค Update the
levelMovetype 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
destroyPopupOnHideTypeScript 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
colorprop. #31617 @eokoneyo๐ Fix circle Progress
success.strokeColorcannot take effect. #31589๐ Fix the type error due to the Select component didn't ignore the
getRawInputElementprop. #31566 @aoilti๐ Fix Pagination's
totalBoundaryShowSizeChangerproperty type error. #31549 @Monty-Ma๐ Fix
classNameapplied to both Skeleton.Avatar wrapper and element itself. #31536 @Greatshock๐ Internationalization
๐น๐ท Added Turkish translation for Image
Previewtext. #31593 @mburakkalkan๐ฐ๐ท Fix a typo in the Korean language. #31575 @chatoo2412
4.16.9#
2021-07-27๐ Fix Typography
ellipsiscalculation bug when browser zoomed. #31449๐ Fix Input wrong class when using
prefixCls. #31479 @spawnia๐ Fix Input.Password unexpected focus style of error status. #31456
๐ Fix Badge color transition issue when toggle visibility. #31458
๐ Fix Tabs
tabBarGutterabnormal style behaviors. #31469๐ Internationalization
๐ท๐บ Update translation for Image in ru_RU. #31448 @KirillSBarsukov
๐ฉ๐ฐ Add missing translation for Table in da_DK. #31486 @bischmlb
4.16.8#
2021-07-19๐ Fix TextArea
stylenot work whenallowClearconfigured. #31391๐ Fix BackTop not disappear when fade out. #31357
๐ Fix Cascader style bug inside Input
addonBefore. #31350๐ Fix DatePicker disabled cell style when customize
dateRender. #31349๐ Fix Select background in disabled. #31430 @DerrickTel
๐ Fix alignment between Radio.Group and Button. #31421 @gtb104
๐ Fix Input clear icon color in some situation. #31378
Table
๐ Internationalization
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
nameas a default label value invalidationMessages. #30179 @jameslahm
๐ Fix Rate focus ring style in Safari. #31241
๐ Tweak Select arrow icon position. #31234
๐ Input will not trigger
onBlurwhen click clear icon now which resolve that editable table input cannot be cleared. #31202๐ Fix Tooltip
arrowPointAtCenter1px shift bug. #31201๐ Fix Menu.Item hover color transition style. #31189
๐ Fix Dropdown.Button don't support
overlayClassNameandoverlayStyle. #31187๐ Adjust Pagination pattern of disabled-active buttons align with Radio style. #31185 @Map1en
๐ Fix the path error when packaging the component style export file in the Windows environment. #31277 @aoxiang78
TypeScript
๐ค Adjust Transfer
listStyledefinition to be optional. #31322 @geekrainy
4.16.6#
2021-06-29๐ Fix Tree loading status not been restored when
loadDatathrow error. #31170โก๏ธ Optimize Progress animation CPU usage. #31128 @stygian-desolator
๐ Fix Popover arrow cannot show correct color. #31127 @A113n1003
4.16.5#
2021-06-23๐ Fix Menu to import
@ant-design/iconsicon directly to reduce bundle size without tree shaking. #31011๐ Fix Menu with overflow indicator popup do not follow current theme. #31043
๐ Fix Table styles not using
@{table-prefix-cls}less variable. #30983๐ Fix Input.Password hover border color in Form validation. #30999
๐ Fix Space with wrap takes additional negative margin style. #31000
๐ Fix Typography warning for non-boolean attribute when set
italicproperty. #31004๐ Fix Badge not passing markup validation. #31042 @conwnet
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
filteredKeysis 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
horizontalmod breaks byfloatelement. #30879Typography
๐ Fix Progress
type="circle"throws errorRendered more hooks than during the previous rendersometimes. #30855๐ Optimize Tooltip content width. #30822 @donysukardi
Table
๐ Fix Dropdown Item with link color style and click icon can also trigger link effect now. #30802
๐ Remove duplicated css reset styles for render performance. #30660 @renzhao1113
TypeScript
๐ค Adjust Form, Input, Locale, PageHeader component definition. #30776 @qqabcv520
4.16.1#
2021-05-30Menu
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
onChangeevent. #30265 @appleshell๐ PageHeader
breadcrumballows to set as a reactnode. #30019 @gepd๐ ConfigProvider supports dynamic
prefixCls. #30625๐ Fix Anchor cannot trigger
onChangewhen havegetCurrentAnchorprop. #30601๐ Fix Notification custom styles don't apply to correct div by
classNamewhen usinguseNotification. #30588๐ Fix Tabs
tabBarGutternot working. #30545๐ Rewrite Space to use
flexGapinstead ofmarginstyle to deal with layout issues under certain border situations. #30023๐ Fix Form error style of Input.Group and Cascader. #30640
๐ Internationalization
๐ Added 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
beforeUploadreturnsfalsein IE. #30391 @OleksandrAntonenko1Calendar
Table
๐ Fix Dropdown.Button don't support
mouseEnterDelayandmouseLeaveDelay. #30452๐ Optimize Rate focus behavior from
:focusto:focus-visible. #30451๐ Fix Steps with progress get cut at the bottom. #30373 @fachreza73
๐ Fix the problem that setting
localein DatePicker cannot override ConfigProviderlocale. #30380 @Map1enLocale
TypeScript
๐ค Export Tooltip
zIndexprop typescript definition. #30432
4.15.4#
2021-04-30๐ Fix Menu.Item width issue when
collapsedWidthis set. #30357 @Map1en๐ Fix Radio check spin style sometime height too long. #30367
๐ Fix Typography.Link open link when trigger
editable. #30354 @John60676๐ InputNumber clean up input will trigger
onChange(null)now. #30337๐ Fix Dropdown.Button broken style when inside Modal
footer. #30328 @Map1en๐ Replace Anchor default background from
#FFFFFFtotransparent. #30336๐ Add
ko_KRandja_JPTimePicker.RangePicker placeholder. #30285 @ChalkPETypeScript
4.15.3#
2021-04-25Table
๐ Fix Button
type="link"should not redirect when it isdisabled. #30209๐ Fix Upload appear errors when url of file is
null. #30215๐ Fix padding on a SubMenu inside an ItemGroup. #30218 @sebakerckhof
๐ Fix Checkbox & Radio align issue in flex box. #30260
๐ Fix Badge broken animation on spin icon. #30275
๐ Fix Input
disabledhover style in Form. #30302 @Fog3211TypeScript
๐ค 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
onChangeevent returntargetobject is not a HTMLTextArea object. #30124๐ Files in Upload
fileListwill always have uid. #30087 @jameslahm๐ Fix Badge toggle style when
statusiswarning. #30090 @jameslahm๐ Add Image component
previewtext in zh_HK and zh_TW. #30100 @jameslahm๐ add da_DK locale TimePicker.RangePicker. #30128 @themitvp
TypeScript
๐ค Modify LIST_IGNORE field is of string type. #30188 @hello-chinese
4.15.1#
2021-04-10๐ Fix Descriptions
labelStylecontentStyleunsuccessful whenlayout="vertical"andbordered={true}. #29942๐ Upload won't crash when
fileListis a frozen object now. #29944๐ Fix Tabs cannot scroll when vertical mode in Safari 13.1. #29983
๐ Fix Button throws
Cannot read property 'removeChild' of nullin some situation. #29961 @JohnDeved๐ Fix Transfer button's box-shadow getting cut. #30030 @jinchaofs
๐ Fix CheckBox.Group cannot work with Form of
@ant-design/compatible. #30039 @jameslahm๐ Fix PageHeader
<Tabs type="card" />padding missing. #29819Table
๐ Optimize Table pagination style when narrow width. #30065
๐ Fix Table
@table-border-radius-basenot being applied to.ant-tablenode. #29966 @VoliBearCat
๐ Fix Input.TextArea
maxLengthdoes not work in control mode. #30070TypeScript
Locale
4.15.0#
2021-03-29๐ Table now supports
rowSelection.defaultSelectedRowKeys. #29879 @keelii๐ Fix TextArea display value will be cut by
maxLengthwhen in controlled. FixonCompositionEndnot trigger when input exceedmaxLength. Fix emoji count not align withmaxLength&showCount. #29867๐ Fix Button click effect style not working in shadow root. #29897 @JohnDeved
Pagination
๐ Fix Steps progress item getting cut at edge. #29893
๐ Prevent Upload drop event bubbling to handle nest case. #29832 @jojonarte
๐ Apply ConfigProvider
componentSizeon Tabs component. #29844 @bn3t๐ Remove Tag hover style since it do not have click interactive. #29874
4.14.0#
2021-03-14Upload
๐ Upload
onChangeto change back to the original behavior (before Upload false returns the original file, and the rest of the scene returns the encapsulated object). Now you can always get the original file viaonChange.info.originFileObj. For future upgrades, please use this method to access the original text first. #29737๐ Fix Upload
onChangeparamsfilecan notcloneDeepby lodash. #29718๐ Fix Upload crash when
fileListisnull. #29702๐ Upload motion add 2s deadline to avoid developer manually remove motion makes hanging. #29686
๐ Fix the bug that Modal footer buttons not spaced properly when using href in button. #29681 @n0ruSh
๐ Add parent class for different Notification types. #29634 @n0ruSh
๐ Typography editable supports
onCancelandonEnd. #29615 @jueininTabs
๐ Fix Tabs
centeredprop 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
classNamemissing. #29725๐ Fix console warning when setting
marginstyle on Row. #29688๐ Fix the error style where the
disabledInput has affix elements. #29670๐ Optimize the cursor style of Form.Item tooltip info. #29650
๐จ๐ฟ Fix typo in cs_CZ locale. #29675 @jvaclavik
๐จ๐ฆ Add fr_CA locale. #29748 @liufenghua808
4.13.1#
2021-03-06๐ Fix
message.configwithprefixClsmissing animation style. #29574๐ Fix Tooltip is not interactive when
visibleistrueunder some situation. #29555๐ Fix ConfigProvider within multiple page switch will lose locale issue. #29570
๐ Fix Modal with hooks cannot call
updateordestroybefore render. #29584๐ Fix Grid throw error when client support flexGap but ssr not support. #29586
๐ Fix Select caret position when
mode="tags"andsize="small". #29561๐ Fix Carousel
dotPositionmakespauseOnHovernot working. #29587 @zgoby๐ Fix Steps
responsiveprop warning. #29599๐ Fix Upload
onChangeparam offile.originFileObjreturn nest Proxy object. #29614๐ Fix Descriptions under Table will not have 100% width. #29630
TypeScript
๐ค Fix Drawer type declaration of
contentWrapperStyle. #29571
4.13.0#
2021-02-28๐ฅ InputNumber support
stringModefor high precisionstep.valuein control out of range shows warning style instead of changing it. Dynamic updatemin&maxwill not triggeronChangeanymore. #29373๐ Upload support
beforeUploadreturnUpload.LIST_IGNOREto skip item added in UploadList. #29474ConfigProvider
๐ Form.List nest multiple level Form.Item support
preserveprop. #29267๐ Fix Table
pagination.currentdisplay error when result of filter is empty. #29386 @jinchaofs๐ Fix Anchor throws error when
targetdon't return a html element. #29523 @bcd337๐ Fix Steps with small size that icon shift up
1px. #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.positionis['none', 'none']. #29256 @mumiao๐ Fix TextArea
showCountshould not be interactive. #29245๐ Fix abnormal background color for
multipleanddisabledSelect in dark. #29242โก๏ธ Optimize Slider align performance of tooltip. #29308 @kerm1it
โก๏ธ Upgrade
@ant-design/colorsto 6.x to reduce gzipped bundle size1KB. #29307 @07akioni๐ฎ๐ท Add
fa_IRlocale text for DatePicker, Form, Table, TimePicker and Transfer. #29232 @amiralitaheriTypeScript
4.12.0#
2021-02-03๐ Image.PreviewGroup add
currentprop. #29153InputNumber
๐ Darken Tag text color to enhance readability. #29144
๐ Fix Row with vertical
gutterprovides additionalmargin-bottomstyle. #29059๐ Fix Collapse header disappers with delay. #29158
๐ Fix the problem that
showCountdisplay data is incorrect when TextArea input emoji. #29057 @HomyeeKing๐ฆ Optimize ConfigProvider to avoid import all icons when tree shaking is not enabled. #29045
๐ Add en-GB missing translations for table. #29131 @eberjoe
Table
๐ Table
showSorterTooltipnow could be a object for more configuration. #29002 @harrisoffโก๏ธ Optimize calling sequence of
onChangeandonSelectAllinrowSelectionof Table. #29079 @kerm1it
Badge
TypeScript
๐ค Table TS definition update
dataSourcetoreadonly. #29084
Less
4.11.3#
2021-02-03Wrong 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
ellipsissupporttooltipto 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
placeholderdisappear 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
styledefinition. #28966 @yingpengsha
4.10.3#
2021-01-18๐ Fix Button not adapting to the
@btn-border-widthwhen loading. #28886 @jjanssenTable
Transfer
Upload
๐ Fix Slider
getPopupContainerprop has no default valuedocument.body. #28865 @rinick๐ Fix Empty description validateDOMNesting warning. #28862
๐ Fix Tree
filterTreeNodemissing style. #28866๐ fix Badge
dotwidth issue whensize="small". #28854
4.10.1#
2021-01-10๐ Fix Slider throw
forcePopupAlignerror when unmounted. #28699 @Kerumen๐ Fix Transfer throws
Cannot add property key, object is not extensiblewhendataSourceis immutable. #28675๐ Fix Notification box closing height issue generated by
useNotification. #28660๐ Fix Drawer and Modal disabled scrollbar after closing. #28749
๐ Reduce gzipped bundle size
2kB. #28678TypeScript
๐ค InputNumber
onChangesupportnullasvalue. #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
searchValuehas value. #28574๐ Fix Dropdown disabled menu item link style. #28578
๐ Fix Progress
stepsdisplay accuracy issue. #28530 @gaoryrt๐ Fix Radio align issue in Chrome. #28616
๐ Fix Collapse arrow position not aligned when change @collapse-header-padding variable. #28507
๐ Optimize the white border style of Card images. #28624
Input
Modal
๐ Modal.method adds an
afterClosecallback that will be triggered after the Modal is completely closed. #28053 @liuchao233๐ Fix the problem that Modal can be dragged outside the viewport. #28438 @mumiao
Table
๐ Fix the problem that Table childrenColumnName and checkStrictly={false} cannot be used together. #28568
๐ Fix Table selection abnormal behavior when inside Checkbox.Group. #28576
๐ Fix the problem that the sticky header style is messy when there is no data. #28323
๐ Fix the problem that
onChangelistener always receives empty list asfiltersparameter if use a customfilterDropdown. #28627 @Meowu๐ Adds
expandable.columnWidthto customize the width of the expanded column. #28249
Image
๐ Fix the misalignment issue of Image component.#28439 @MoeCasts
๐ Adds preview style. #28235
๐ Adds functionality for zoom in\out by sliding the wheel. #react-component/image/52 @OmriGM
๐ Support separate settings url for preview images. #react-component/image/56 @wangcch
Upload
๐ Fix a warning even when not using
transformFile. #28455 @YanYuanFE๐ Fix Upload
fileListcannot work with data that is produced by immer. #28636 @mumiao๐ Upload adds a new
maxCountproperty to limit the number of files. #28367
DatePicker
๐ Optimize the logic of
disabledDate. #react-component/picker/191๐ Adds
onKeyDowncallback. #react-component/picker/138 @conquera99
Select
๐ Fix issue where
optionsupdate does not trigger the selection box content update. #react-component/select/580 @jameslahm๐ Fix the problem that the dropdown box cannot be opened after clicking the option with
tagRender. react-component/select/582 @mumiao๐ Fix the problem that
tokenSeparatorscan not recognize the separator correctly under Chinese input method. #28564๐ Adds
scrollToto theref. #react-component/select/565๐
maxTagCountsupportsresponsiveinmultiplemode. #28520
๐ Slider add a new
range.draggableTrackprop. #28592๐ Descriptions support setting
labelStyle&contentStyledirectly. #28613๐ message added a new
onClickcallback that will be triggered when the message is clicked. #28148 @ZeroTo0ne๐ The
scrollToFirstErrorproperty of the Form adds support for setting the position for scrolling. #28272 @vouis๐ Steps support reponsive which allows to turn off reponsive change. #28459
๐ Localization
๐ญ๐ท Improved Croatian language support. #28458
TypeScript
โ๏ธ Fix
titletype of PageHeader. #28374 @zhukovvandrei
4.9.3#
2020-12-14๐ Fix Badge standalone motion blink when show/hide. #28240
๐ Fix Table
filtersnot support number and boolean type. #28220 @Meowu๐ Remove Tree hover background color when
selectable={false}. #28269๐ Fix Statistics decimal font size. #28223
TypeScript
๐ค Fix Tree
draggableTS definition. #28262 @DavidSichau๐ค Fix Image.PreviewGroup TS definition. #28263 @liuchao233
๐ค Improve
message().thenTS definition. #28304๐ค Fix TransferProps
titlesto ReactNode. #28326 @jacklee814
4.9.2#
2020-12-06Table
Dropdown
๐ Fix
overlayInnerStylenot work in Tooltip. #27682 @jasepellerin๐ Fix Layout overflow style for Table
sticky. #28176๐ Fix Steps
progressDotbroken style of first step. #28126 @ZeroTo0ne๐ Optimize Modal
useModalperformance by isolating elements render to avoid the component to rerender. #28122 @TotooriaHyperion๐ Fix TextArea showCount style while using with Form. #28130 @AlanCutFlim
๐ Fix Tag cursor style in Tree node. #28219
๐ Remove
@ant-design/css-animationfor better bundle size. #28201RTL
๐ Fix the style of Alert. #28108 @jesse3mh9a
๐ Fix Tree
dropIndicatorstyle of defaultltrdirection. #28150 @kagawagao
TypeScript
4.9.0#
2020-11-30Modal
๐ Modal support
focusTriggerAfterCloseto disable auto focus back. #27985 @molokovev๐ Fix Modal hooks not trigger
onCancel. #28063 @JuniorTour๐ Fix Modal sometime not popup from the click position. #28037
๐ Support
closableandcloseIconapi for Modal.method. #27909 @MrHeer
๐ Reduce Table selection column width to
32px. #28073Image
Collapse
๐ Fix Cascader bug that empty data can be selected. #28062 @n0ruSh
๐ Alert support
actionprop. #25892 @jesse3mh9a๐ฅ Tree refactor drag behavior. Add
dropIndicatorRenderandallowDropprop. #26462 @07akioni๐ Space support
wrapfor auto break line. #27910๐ Descriptions.Item support
labelStyle&contentStyleprops. #27897๐ Form.List support
initialValue. #27872๐ Menu supports
expandIcon, and optimize default expand icon style. #27565๐ Input and TextArea add
setSelectionRangeofref. #27584 @appleshell๐ Select support
filterSortto order the filtered options. #27523 @n0ruSh
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_GBandzh_TW. #28016 @abz53378RTL
TypeScript
๐ค Fix Upload
beforeUploaddefinition. #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
loadingstyle. #27860๐ Optimize Skeleton color to fit dark background. #27836
๐ Adjust Statistic
deciamlfont size. #27884๐ Refactor CheckboxใLayout.Sider and TextArea with React hooks. #27739 #27719 #27693
๐ Refactor BackTopใBadgeใUploadList with
rc-motioninstead ofrc-animate. #27840 #27848 #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 deprecatedin 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=tagscannot input whitespace normally. #27726 @baxtergu๐ Fix the mouse style when Typography.Link is
disabled. #27734๐ Fix Menu dropdown animation start twice when appear. #27663
๐ Fix Avatar style when
srcis Image component. #27691๐ Fix Select multiple cursor position. #27689
๐ Fix TextArea emoji been cut when enable
maxLength. #27679 @372623460jh๐ Fix small size RangePicker active bar align issue. #27673 @Ifeinstein
๐ Add
@radio-border-width. #27703
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-rightwhen enable size changer. #27610๐ Fix Input.Search
enterButton={null}throw error. #27591 @davidebianchi๐ fix Avatar.Group
sizenot working. #27531๐ Fix vertical Tabs long title cause tab width changes. #27569
๐ Fix Table filters didn't display in
column.children. #27435 @JhonXY๐ Fix Steps style that inside another Steps. #27514
TypeScript
RTL
๐ Fix Progress.Line
strokeColordirection error in RTL mode. #27515
4.8.0#
2020-11-02Image
๐ ConfigProvider support
form.requiredMark. #27322๐ Statistic support
loadingprop. #26811 @appleshellAvatar
๐ Row support
noWrapto make Col in line. #27469Tree
Modal
Input
Table
Typography
Steps
๐ Fix PageHeader that empty dom will be displayed when
titleis empty. #27485๐ Fix Slider keep tooltip align with handle when dragging. #27489
๐ Fix RangePicker selected range border style. #27438
๐ Adjust Collapse arrow position align with first line. #27363
๐ Fix Descriptions style when
labeluse block element. #27375๐ Fix Select abnormal border style in Form validation. #27378
4.7.3#
2020-10-24Form
Typography
Input
๐ Fix Upload.List preview image fit size issue. #27312 @JuniorTour
๐ Fix Notification no wrap with long text. #27285 @littleee
๐ Fix Menu inside flexable container will not shrink properly. #27253
๐ Fix en_US, en_GB and ga_IE gramma. #27259 @yasikovsky
๐ Fix Tag with customize
closeIconbreaks line issue. #27226 @handycode
4.7.2#
2020-10-19๐ Fix Layout.Sider
lighttheme lost styles. #27227 @lingjieee๐ Fix TextArea wrapped with additional div when
showCountisfalse, and passclassNameandstyleto outer wrapper whenshowCountistrue. #27216๐ Fix Checkbox.Group TS2559 error. #27231
4.7.1#
2020-10-18DatePicker
Typography
๐ Fix Descriptions
ant-descriptions-item-contentand add styleword-break:break-word;. #27195 @WLyKan๐ Fix clear Password value attribute in controlled mode. #27191
๐ Optimize Notification width in small screen. #27189
๐ Fix Cascader className duplicate. #27187 @huntdream
๐ Fix the issue that the Drawer will trigger form submit. #27175
๐ Fix Dropdown icon missing margin. #27165
๐ Fix Layout.Sider
collapsedWidthcannot work without modifying@menu-collapsed-width. #27154๐ Fix Tabs
animated={true}not working for panels. #27145๐ Fix Divider color when contains text. #27134
๐ Fix the cursor style when the Radio option is selected and disabled. #27125
๐ช๐ธ Add missing translations in es_ES. #27079 @gersongams
RTL
๐ Optimize the style of Input.TextArea character count in RTL mode. #27098
TypeScript
๐ค Button shape remove undeclared doc type. #27159
๐ค Add optional
rulesproperty intoFormListProps. #27164 @huntdream
4.7.0#
2020-10-10๐ฅ Input.TextArea support word count. #26952 @zhangchen915
DatePicker
Form
๐ฅ Form.Item support
tooltipto customize tooltip. #26780๐ Form.List support
rulesvalidation and add Form.ErrorList to show the errors. #26676๐ Form.Item support
messageVariablesprop. #26597๐ Fix Form
onValuesChangesecond param return fullystorevalues instead of validate fields. #26808
Upload
Table
๐ Table
stickynow 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
destroyOnClosewhen closed. #26940๐ Modal add
modalRenderprop which can be used for draggable dialog. #26507 @jhoneybee
๐ Space add
splitprop. #26948๐ Image
previewprop now supportvisibleandonVisibleChange. #26915๐ InputNumber will trigger
onStepprop when click up/down buttons. #27075๐ Avatar
sizesupport responsive config. #26244 @willamesoares๐ Fix Radio.Button children cannot apply Tooltip. #27050
RTL
โฌ ๏ธ Fix List action button position in RTL mode. #26964
โฌ ๏ธ Fix Transfer pagination style in RTL mode. #26960
โฌ ๏ธ Fix Upload style in RTL mode. #26961
โฌ ๏ธ Optimize Tag style to avoid the interaction between theme and RTL mode. #26955
โฌ ๏ธ Optimize Cascader and Tree style of the data expansion loading icon in RTL mode. #27010
TypeScript
๐ค Fix typo
TimeLineItemPropstoTimelineItemProps. #27001 @mgcrea๐ค Fix Slider missing
autoFocusprop. #26995 @shangyilim๐ค Fix Slider
stepprop not acceptingnullvalue. #26984 @shangyilim๐ค Fix Slider.Range
trackStyleandhandleStyleshould be array. #27033๐ค Optimize Tag
onCloseTypeScript definition. #26932๐ค Improve Form TypeScript definition to support
getFieldsValuereturn generic type withoutnamePathargument. #26791
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-backgroundcannot set to linear gradient color. #26810๐ Fix Select compositing status lost when input first letter in Chinese. #26796
๐ Fix Table
@table-sticky-zindexless compile error issue. #26800 @chimp1nskiButton
๐ Fix TimePicker column align issue, add
@picker-time-panel-column-widthand@picker-time-panel-column-heightless variables. #26784๐ Fix AutoComplete warning when using
placeholderandallowClear. #26765๐ Fix Space show items when it's render empty dom. #26721 @knobo
๐ Dedupe
rc-triggerversion to reduce package size. #26803TypeScript
๐ค Cascader add
nameandidprops definition. #26660 @alwaysloseall
4.6.4#
2020-09-13๐ style: Card card image has extra 1px border. #26659
๐ Fix Select
placeholdercolor not same as Input. #26651 @wangcch๐ Fix Menu not support React.Fragment inside. #26656
๐ Fix TextArea different behavior with Input when set
valuetoundefined. #26652๐ Fix Motion related issue like Upload align flash and Form.Item with
helpssr issue. #26628๐ Fix Typography.Link warning
Invalid value for prop navigatewhen using with react-router. #26623๐ Fix Table pagination missing when is above table. #26618
๐ Fix Upload in control miss file when upload multiple file in same time. #26612
TypeScript
๐ค Fix Table that sorter
compareandmultipleshould be optional. #26686
4.6.3#
2020-09-06๐ Sort props
classNameto the end. #26602Table
๐ Fix Modal closing cause scroll position jump up. #26538
๐ Fix the type declaration of onError in
customRequestoptions of Upload. #26601 @yingpengsha๐ Shutdown Select/TreeSelect autocomplete list in Chrome. #26590
๐ Fix Cascader value overwritten when filtering. #26569 @lich-yoo
๐ Fix Modal jump out of screen in some situations. #25765 @tanmoyopenroot
๐ Fix Radio.Group not working properly, when is used in legacy Form. #26555 @willc001
๐ Fix Pagination align issue in windows. #26549
๐ Fix Form with
helpmake ssr un-sync issue. #26542๐ Fix Avatar doesn't scale fallback text well when display is none. #26522 @zhangyu1818
TypeScript
4.6.2#
2020-08-31Upload
Table
๐ Fix Table Pagination not hide with empty data when show on top position. #26143 @zhangchen915
๐ Fix Table expand icon size issue when
@font-size-baseis12px. #26409
Space
๐ Fix Badge not work when
statusorcoloris empty. #26375 @zhangchen915๐ Fix Tree draggable transition style. #26387
๐ Fix
colorPalette is not definedwhen customize theme in some situation. #26395TypeScript
๐ Fix TimePicker.RangePicker typescript need
pickerissue. #26446๐ Upload extended
showUploadListof Upload withremoveIconanddownloadIconproperties. #26406 @bencallaway
RTL
๐ Fix the rtl style of Col. #26479 #26482 @TrueMoein
4.6.0#
2020-08-23๐ Darker
@text-colorfor WCAG 2.0 on contrast ratio. #25630๐ฅ New Image component. #26296
๐ฅ Table support
stickyprop 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
filterOptionnot trigger when search spaces. #26335Progress
๐ Fix Textarea don't display
defaultValuewhenvalueisundefined. #26327Cascader
๐ Remove deprecated
Button.Groupand please use Space component instead. #26260Select
๐ Select support
onClearprop. #25907๐ Fix Select
mode="tags"showing duplicated items when search. #25907๐ Fixed the style exception that was disabled when Select focused. #26255
๐ Fix Select icon overlap with selections when
showArrowenabled. #26168 @zhangchen915
DatePicker
๐ Fix Pagination font family style. #26230 @albertms10
๐ Fix Space children remount in some case. #26219
Badge
๐ Add
@badge-colorless variable. #26159๐ Badge support
sizeprop. #25851 @moonrailgun
๐ Tabs
tabBarExtraSlotsupport extra position. #25138 @jesse3mh9a๐ Optimize the display effect of Descriptions when there is more content. #25903
๐ message could be detroied by
message.desctroy(key). #26052 @lihqi๐ Adjust InputNumber handler bar to be hidden when
readOnly. #25998Locale
๐ Add Galician locale support. #26015 @barreeeiroo
๐ฑ๐น Add Lithuanian locale support. #26312 @mslotvinskij
๐ Use
kmr_IQto replaceku_IQ. #26030
RTL
TypeScript
๐ค Fix Form.Item
initialValuemissing definition. #26292 @miaoyuxinbaby๐ค Form support generic type. #25937
4.5.4#
2020-08-12๐ Fix Form.Item
hiddennot working in less. #26152๐ Fix Dropdown render issue when
overlayis string. #26135๐ Fix Table pagination disappear when last record in last page is deleted. #26133 @QoVoQ
Tree
๐ Fix Tree.DirectoryTree can not use
scrollTowith ref. #26129๐ Fix Tree lost line between top level nodes when enable
showLine. #25991 @zhangchen915
๐ Add
@badge-colorless variable. #26159RTL
TypeScript
๐ Fix Slider
handleStyleandtrackStyleTypeScript definitions. #26160
4.5.3#
2020-08-08Menu
Table
Form
Transfer
Cascader
Select
๐ Fix Breadcrumb.Item lost separator after wrapping in component. #25984 @flyerH
๐ Fix InputNumber dark theme handler background color. #26072
๐ Fix the missing
keyof Avatar.Group. #26098๐ Adjusts Mentions
readOnlymouse style to native style. #25977๐ Add
@btn-line-height. #26014๐ Optimize Pagination style when
simpletype anddisabled. #26008๐ Fix Modal
useModalmissing style issue. #25967๐ Fix Steps RTL style when use
progress. #26075
4.5.2#
2020-08-02๐ Fix Divider color in dark mode. #25922
๐ Fix Radio.Button text color when
disabledandchecked. #25911๐ Fix Carousel children height smaller then parent node issue. #25906
๐ Fix Table
indentSizecouldn't be zero value. #25890 @OmriGM๐ Fix List
actionsshow cursor outside clickable area. #25961๐ท๐บ Improve Russian locale. #25958 @addictional
RTL
4.5.1#
2020-07-284.5.0#
2020-07-28๐ Input and Input.TextArea support
borderedprop. #25617๐ Add
useMessagehook for Message to supportcontextaccess. #25422๐ Tree support
titleRenderto customize all nodes' content. #25624๐ Add
Modal.configto setrootPrefixClsfor Modal statis methods. #25613๐ Drawer support
pushprop for multi-Drawer linkage. #25445 @jinxin0112๐ Add Badge.Ribbon component. #25456
๐ Steps support
percentprop to show step icon progress. #25839๐ Menu.Item's blue indicator line and dropdown width are the same as its content's width in
horizontalmode. #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
onCalendarChangeaddrangeparam to indicate currently activated pane. #25568 @Kim-Wing-Fung๐ DatePicker support
panelRenderto customize panel. #25488๐ Fix QuarterPicker not working, remove DatePicker.XxxPicker and recommend
picker='xxx'usage instead. #25768
Form
๐ Form.List support array in
removemethod. #25638 @fireairforce๐ Form.Item supports
dependenciesto control updating logic with render propschildren. #25408๐ Adjust Form.Item validateFist to validate in order. Origin logic use parallel to validate. #25321
๐ Fix Form.Item sometime not clean up prev error message. #25737
๐ Fix Form.Item not collect
validateStatuswhen children Form.Item withnoStylehas an error. #25734๐ Fix Form.Item setting
labelCol={{ offset: number }}doesn't work if layout is vertical. #25713 @zhangchen915โจ๏ธ Form add
role="alert"attribute on validation message node to import accessibility. #25735 @AlbertAZ1992
Calendar
๐ Fix Calendar
validRangepreventsdisabledDate. #25626 @zhangchen915๐ Fix Calendar
validRangenot working on month selection dropdown. #25626 @zhangchen915
๐ Fix Table
indeterminatereturned bygetCheckboxPropsnot working. #25649๐ Fix Select clear icon position in Form.Item. #25728
๐ Fix Pagination mouse style of the page turning button. #25772
๐ Fix TreeSelect
treeNodeLabelPropaffect tree node render result. #25755๐ Fix Carousel
findDOMNodewarning in strict mode. #25744๐ Fix Radio causing SSR build errors with
[email protected]. 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
triggercannot customize zero width to trigger. #25653๐ Fix Form.Item
helpstyle when verification fails. #25582 @zhangchen915๐ Fix Descriptions abnormal style inside Table
expandedRowRender. #25593๐ Add
@zindex-popconfirm: 1060less variable, and improve@zindex-tooltipinto1070. #25693๐ Upgrade
react-slickto reduce bundle size. #25599๐ Improve Catalan ca_ES localization. #25583 @albertms10
TypeScript
๐ Fix Upload
customRequestfile 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
preserveas invalidate dom prop. #25518๐ Fix Card cover margin bug when bordered is false. #25515 @yutingzhao1991
๐ Adjust Typography style to set
overflow-wrap: break-wordas default. #25516๐ Fix Table
expandedRowRendernested Table cell background color. #25498๐ Fix Popover wrong positioning on Radio.Button. #25449 @zgoby
๐ Fix RangePicker clear icon position issue when
size=small. #25458๐ Upload supports to show thumbnail for non-image files as
thumbUrlconfigured inonChangeevent. #25432 @AlbertAZ1992๐ Fix Table
onChangetriggered multiple times when change page size. #25520 @zhangchen915๐ Remove
babel-runtimeand add@babel/runtimein dependencies, reduce gzipped bundle size18.6KB. #25530๐ช๐ธ Improve es_ES localization. #25460 @gersongams
4.4.1#
2020-07-06Menu
๐ Fix Input disabled
backgroundColoris override when inside aerrororwarningForm.Item. #25385๐ Fix Table header extra border of right side column. #25378
๐ Fix Grid ResponsiveObserve not been unsubscribed correctly. #25319 @zhangchen915
๐ Fix Progress
successPercentwarning message and correctsuccess.progresstosuccess.percent. #25356 @fireairforce๐ Fix PageHeader Tabs unnecessary
margin-bottom. #25340 @dickeylthForm
Radio
๐ Fix Radio.Group throw
Function components cannot be given refswarning message. #25328๐ Fix Radio.Group style with extra spaces in
children. #25304 @ElderJames
๐ Fix 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
onChangedefinition. #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
onChangeaddactionin extra argument. #24697๐ Table support
rowSelection.dirtyto enable cachekeywith ajax. #24718๐ Table supports
rowSelection.checkStrictly. #24931๐ Fix Table
onSelectAll'schangeRowsparameter is incorrect. #24931๐ Fix Table expand buttons of leaf rows in tree data can still be clicked. #24931
๐ Fix Table expand icon still interative when hidden. #25170
TimePicker
Cascader
Menu
๐ Menu support
triggerSubMenuAction(hover or click). #25127 @hydRAnger๐ Fix Menu.SubMenu background color in dark theme. #25205
Tabs
๐ Pagination support
onChangecalled whenpageSizechange. #24964 @fireairforce๐ Tabs support
addIconto 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
arrowprop. #23869 @wendellhu95๐ Fix Drawer
getContainer={false}cause scrollbar missing in some situation. #25273
๐ Fix Rate render unexpectedly when
valueis1.6or2.6. #24993๐ Menution support
autoSizeprop. #24961 @Kermit-Xuan๐ Remove the 140px width limit on vertical dot Steps.Step. #24907
๐ Move Result children to end of component. #24945
๐ Add Rate
charactersupport(RateProps)=> ReactNodecustomization. #24903๐ Add
optionTypeapi to set Radio type in Radio.Group when useoptions. #24809๐ Add
closeIconto customize Tag close icon. #24885๐ Drawer support
closeIcon. #24842๐ Add
ghostprop for collapse to set a transparent background. #24734๐ Progress support customise filled Progress color. #24655 @fireairforce
๐ Typography copyable support
iconandtooltipsfor customization. #25274 @israelKusayev๐ Add
showLeafIconfor Tree Component when setshowLineprop. #25271๐ Add BackTop
durationused to set the time required to return to the top. #25254๐ Fix Select suffix icon can not focus input. #25212
๐ Fix the issue that Notification modification
widthis not aligned with the edge of the screen. #25168๐ Make Switch animation more smooth and quicker. #25160
๐ Modal add more less parameters. #24773 @hicrystal
๐ Fix PageHeader tabs unexpected border style. #25159
๐ Fix InputNumber
maxprop has no default value. #25243๐ Add missing translation keys to table locale in German, Italian and Czech. #25233 @karelsoupaEMZ
๐ฏ๐ต Add ja_JP globalization for Form. #25244 @kentaro84207
RTL
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-14Form
Table
๐ Fix Modal
confirm()has no default icon. #24956๐ Fix List
gridnot working in React.Fragment or wrapped List.Item. #24955๐ Fix Avatar fallback to children when loading image with error. #24944 @sosohime
๐ Fix Drawer doesn't omit prop
getTargetContainer. #24938๐ Fix Tabs dropdown clip text when tab title too long. #24928
๐ Fix Carousel under Tabs shaking when tab switch. #24873
๐ Fix Transfer package size will increase if tree shaking is disabled. #24847 @DavidSichau
๐ Add
@rate-star-hover-scaleto control Rate scale when cursor hover. #24917๐ Add
@divider-orientation-marginless variable to control Divider's left margin whenorientationis set. #24877๐ Localization
TypeScript
4.3.2#
2020-06-06๐ Fix Tag.CheckableTag don't support
onClick. #24743๐ Fix Drawer support set
getPopupContainerandgetPrefixClsby ConfigProvider. #24727๐ Fix Button
loading.delayrepeat trigger when parent compoent re-render. #24713๐ Fix Dropdown menu link color when has
icon. #24707 #24702Select
๐ Fix Select virtual scroll display abnormally in compact mode. #24706
โก๏ธ Optimize Select multiple mode performance. #24785 @Kermit-Xuan
๐ Fix Calendar trigger
onPanelChangeeven 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
onChangein pagination. #24514๐ Localization
๐ฎ๐ฑ Add Hebrew localisations for Form. #24716 @israelKusayev
๐ Add less variable
@table-font-size,@table-font-size-mdand@table-font-size-smto customize the size of Table text. #24714 @morenyangRTL
4.3.1#
2020-06-02Tabs
Button
๐ Fix Button quick set
loadingfromdelaytofalsewill still change to the loading status. #24678๐ Fix the inconsistent style of Text Button in
danger. #24622 @morenyang
๐ Fix Table no showing scrollbar inside Row. #24661 @zt123123
๐ Fix Drawer get
dropdownMatchSelectWidthas dom prop warning. #24651๐ Adjust Steps to support React.Fragment with
children. #24644๐ Fix Upload delete icon cannot be navigate via keyboard. #24615 @morenyang
๐ Fix multiple Select search input cursor missing issue. #24631
๐ Fix Radio.Group using
optionsgetElement type is invaliderror. #24631RTL
๐ Adjust Notification default placement to
topLeftin RTL. #24632
TypeScript
๐ Export Tabs
TabPanePropsdefinition. #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
๐
datacould returnPromisenow. #24546 @Kermit-Xuan๐ Support
progressto customize progress bar. #24319 @morenyang๐ Fix progress bar override by accident. #24339 @morenyang
Table
๐ Table support
rowSelection.hideSelectAllto hide selectAll checkbox. #24592 @Kermit-Xuan๐
ellipsissupportshowTitleto configtitleshow. #24056 @lijinke666๐ Table
columnssupportshouldCellUpdate. #23872
Input
๐ Input.Passowrd support custom icon. #23792
๐ Fix Input.Password still show
valueattribute in DOM after blur it. #24535๐ Add less variable
@input-disabled-color. #23775 @alwaysloseall
Form
Menu
Avatar
Typography
๐ Support Typography.Paragraph custom expand style. #24385 @fireairforce
๐ Typography.Text support
keyboardstyle. #24195๐ Add Link component. #24019
๐ Fix Typography
titleprop support. #24440 @Kermit-Xuan
๐ Tooltip support
colorto config background color. #23155๐ Popconfirm can be closed by pressing
ESCnow. #24420๐ Tooltip
destroyTooltipOnHidesupportkeepParentconfig. #24362 @Kermit-Xuan๐ Notification support to config
prefixCls. #24295 @tdida๐ RangePicker
dateRendersupport additional argument to detect isstartorendfield. #24278๐ Skeleton add
roundprop to enable paragraph and title show radius. #24137 @xilihuasi๐ Transfer support
oneWayandpagination. #24041๐ Message support customize
classNameandstyle. #24024 @Kermit-Xuan๐ ConfigProvider support
virtualanddropdownMatchSelectWidth. #23841 @hengkx๐ Fix Breadcrumb icon margin missing when using links. #24490 @EscapeB
๐ Fix Cascader expand icon color when disabled. #24521
๐ Fix List warning about
React does not recognize colStyle prop. #24568๐ Fix Progress with
stepsdon't updatepercentexpectedly. #24534 @ChuckJonas๐ Fix Steps
subtitletransition style. #24593๐ Fix Alert close icon
paddingstyle. #24471๐ Fix Tree
@tree-directory-selected-bgdon't work. #24468 @morenyang๐ Fix
@ant-prefixdon't work on some styles. #24459 @morenyang๐ Descriptions add less variables
@descriptions-item-trailing-colonand etc. #24032 @hengkx๐ Localization
๐ฎ๐ช Add Irish(ga_IE) locale. #24609 @AbhijeetGaware
๐ฌ๐ง Improve Form
en_GBlocale. #24404 @morenyang
RTL
TypeScript
4.2.5#
2020-05-25๐ Fix Table selection arrow out of column when
sizeissmall/middle. #24394๐ Fix Input.TextArea clear icon disappears in Input.Group when hover it. #24360 @Mr-jiangzhiguo
๐ Fixed an issue where the
RowSelection.onChangewill still be cached when the Table removes entries indataSource. #24338๐ Adjust
useNotificationapi instance to be same instance for each render. #24337๐ Fix Button
loadingtransition animation missing and ModalconfirmLoadingnot being reset. #24328๐ Fix Drawer cover background elements when it is not visible. #24290
๐ Fix Cascader/Select/Table/TreeSelect text color when data empty. #24279
๐ Fix InputNumber operation button arrow is not centered. #24266
๐ Fix Table with empty array
filteredValuestill highlight the filtered icon. #24263๐ Fix Cascader not support
number[]value. #24247โจ๏ธ Fix Switch
autoFocustrigger whendisabledremoved. Adjust style to avoid switch shaking. Remove blur logic whenonMouseUpto improve acessibility. #24254๐ Add Menu default
text-alignstyle. #24253๐ Modify the Alert with hooks to support strict mode. #24236 @hengkx
๐Fix Card perfermance 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-progressto resolveh3g is not definederror in<script src="antd.min.js" />. #24127๐ Rewrote Use in create-react-app. #24184
Drawer
BackTop
DatePicker
Button
๐ Refactor Tooltip with hooks. #23699
๐ Avoid
disabledUpload.Dragger being triggered by clicking Formlabel. #24202๐ Fix Select selected option not interactive (such as
titlenot working). #24170๐ Fix Switch shake in Safari and iOS Chrome. #24122 @lexlexa
๐ Carousel upgrade to
[email protected]to resolve some problems. #24067๐ Cascader will display
defaultValueinstead 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-11Form
Table
DatePicker
Switch
๐ Fix Upload error message location to scroll in the float layer. #24001 @mraiguo
๐ Tweak Comment render unnecessary div style when
avataris empty. #23994 @Xuhao๐ Fix Select
focusborder style in Input.Group. #23985๐ Fix Steps
subTitleshowing[object Object]title. #23989๐ Tweak Select close icon position. #23963
๐ Fix Drawer
width="50%"hidden problem when no mask. #23925๐ Fix Textarea with
allowClearhas error height style. #23835๐ Adjust Modal.xxx function async to avoid block React events. #23826
๐ Fix Menu with controlled
openKeysabnormal behavior wheninlineCollapsedchanged. #23822๐ Fix Button
loadinganimation. #23783๐ Fix Slider
marksselected problem when dragging. #23773๐ Localization
๐ฎ๐ท Add Farsi
fa_IRdefault locale template localisations. #23926 @NarimanMov๐บ๐ธ Add default
endefault locale template localisations for Form. #23859 @mjfwebb
๐ฆ Reduce bundle size
RTL
TypeScript
4.2.0#
2020-04-29๐ List
gridsupport all column count like 5. #23630๐ Divider add
plainprop which allows a non-heading style divider text. #23405๐ Typography
ellipsissupportonEllipsisevent handler. #23414๐ Space support
alignprop. #23306๐ Upload support
isImageUrlto force trade file as image. #23248 @onjuju๐ Form.Item support
initialValueandgetValuePropsprops. #22993ConfigProvider
Table
๐ Fix RangePicker
rangestag color to primary color. #23705๐ Fix Transfer with custom empty style issue. #23694 @hengkx
Input
๐ Fix Password caret position. #23633 @huntdream
๐ Adjust Input.Search icon style. #23406
Button
Menu
๐ Fix Tag cannot be directly called by
react-dnd. #23632 @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-bottomis customize and switching the validing info. #23436 @yoyo837๐ Fix the first Divider render differently with others. #23438
๐ Fix nest ConfigProvider missing
prefixClsvalue. #23423๐ Fix Carousel tabbed Radio/Checkbox to non-active slide. #23380
๐ Fix Tree with virtual scroll frozen by quick
loadData. #23581๐ Fix Steps style in IE11 when direction is vertical. #23561 @AdrianoRuberto
๐ Fix Input.Search height affected by
suffixandreact keywarning. #23527๐ Fix Menu behavior when hover on submenu gap. #23511
๐ Fix Tree custom icon missing when node is loading data. #23494
RTL
TypeScript
๐ Fix type definition of
selectionsfor Table. #23462 @xiaoxintang
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
rowSelectionparams issue whenchildrenColumnNameconfigured. #23205Input
Select
Globalization
TypeScript
RTL
4.1.3#
2020-04-13๐ Adjust Form.Item
labelheight style in vertical layout. #23192๐ Fix
Variable is undefinedwhen importing dark or compact theme and provide agetThemeVariablesmethold for getting theme variables easily. #23171๐ Fix PageHeader style breaks when
titleis too long and improve it's responsive design. #23133Tabs
Table
๐ Fix Table fixed columns cannot pin in Safari 12. #23161
๐ Fix Table
summarypadding in small size. #23140 @someyoungideas
๐ Fix Select align style with different size. #23160
๐ Fix RangePicker under Input.Group style issue. #23149
๐ Fix Pagination missing TypeScript definition of
showTitle. #23144 @DongchengWang
4.1.2#
2020-04-10Menu
๐ Fix dark and compact theme cannot work together. #22934 @AshoneA
๐ Fix Notification invalid
paddig-topvalue. #22941Button
๐ Fix Statistic show
-0when value is-. @22950๐ Fix Modal.confirm
onOkshould 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
styleprop support. #23081๐ Fix Tabs bottom card active tab wrong height style. #23087
๐ Fix RTL support of Anchor, Select, DatePicker, Grid, Mentions. @xrkffgg
TypeScript
๐ Upload
UploadPropssupport generic typing. #22921 @dpyzo0o๐ Fix Modal.confirm
okButtonPropstypes. #21165 @nicu-chiciuc๐ Export Form
Storeinterface. #22755 @shaodahong๐ Improve enum types for Input, Tag, Badge. #23026 #22999 #23006 @fjc0k
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
sizeis configured. #22872๐ Adjust nest Table style, compact only when just one table element. #22868
๐ Fix Table column
alignnot working on head whensorterconfigured. #22858๐ Fix Table filter config not work on jsx structure. #22888
๐ Adjust Table expanded row not fix width when scroll only. #22832
๐ Fix the column can't show when the
column.childrenisundefined. #22832๐ Fix Table still show filter icon when
filtersisundefined. #22833๐ Fix Table unchanged
filtersshould not triggeronChange. #22829๐ Fix Table loading compatibility. #22739
๐ Fix Table scroll shadow style in Safari. #22794
๐ Adjust RangePicker arrow style. #22847
๐ Fix Text with
ellipsisalign issue. #22836๐ Tweak
@info-colorshould be@primary-colordefaultly. #22723๐ Fix BackTop not working in iframe and improve it's perfermance. #22788
๐ Fix Select inconsistent height when
mode="multiple"andsize="large" />. #22904๐ Fix Card Tabs do not support small size. #22666 @MrHeer
๐ Fix Affix throws
React warning of state update on unmounted component. #22790๐ Fix Textarea with
clearIconadditionalmarginin Form.Item. #22793๐ Fix List
footermissing border when data is empty. #22771๐ Fix Slider
tooltipPlacementoption API is changed to be correct again. #22772 @phoenixeliot๐ Refactor LocaleReceiver with new context api to avoid React strict mode warning. #22762
๐ Fix Radio and Checkbox required prop not passing to input. #22761
๐ Fix variable
--scroll-baris undefined. #22754 @mikeyshing88๐ Fix Menu and Spin style in compact mode. #22908 @AshoneA
๐ Fix Space item duplicate key. #22745
๐ Fix Select cursor style. #22743
๐ซ๐ท DatePicker and TimePicker update French locale. #22769 @PaulJln
RTL
TypeScript
๐ Fix Table
FilterDropdownPropsTypeScript definition. #22895 @zhangyu1818๐ Fix Form
StoreandStoreValueTypeScript definition. #22755 @shaodahong
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
virtualprop to disable virtual scroll. #21955๐ Improve Pagination switch experience. #22711
Pagination will show size changer when
total > 50.Unify Pagination items to fixed length.
Change default size options to
10, 20, 50, 100.
Table
๐ Tag component support
iconprop. #22418 @vtsybulin๐ Grid add
useBreakpointhook. #22226๐ Card support
tabProps. #22207๐ Pagination add
autoResizeprop. #21959 @wendellhu95๐ Add render props support for Popover/Popconfirm. #22034 @nossbigg
๐ TimePicker.RangePicker support
orderprop. #21948๐ Carousel
dotssupport object to passclassName. #21848๐ Form
validateMessagessupport${label}variable. #21835๐ Expose all Dropdown props in Breadcrumb.Item. #20763 @paranoidjk
โจ๏ธ Improve Tabs Accessibility. #22287
Add Tabs
keyboardprop.Tabs
extraContentdon't trigger keyboard navigation now.
๐ Warning Form.Item with
defaultValuewhen it's controlled. #22571๐ Menu.Item Tooltip could be hidden by falsy
titleprop. #22202๐ Typography
onExpandfunction support event parameter. #22092 @BlazPocrnja๐ Simplify Popconfirm and Popover dom structure. #22052
๐ Fix Autocomplete display
nullwhenvalueisnull. #21955๐ Adjust Drawer close button without
titlestyle to avoid overlap with scroll bar. #22710๐ Fix Calendar style details. #22676
Table
๐ Fix Input with
suffixonly align style issue. #22603๐ Fix Alert cannot work with Tooltip/Popover. #22594
๐ Fix nest dynamic Form.Item get react unmounted update warning. #22575
๐ Adjust Tag
processingstatus color. #22303๐ Remove Select dropdown group title mouse click style. #22581
๐ Redesign Table filter menu buttons and fix Dropdown edge
paddingstyle. #22072๐ Move
@form-item-label-heightfrom form styles to theme variables. #22600 @slavakam๐ Add less variables
@link-focus-decorationand@link-focus-outline. #22511๐ add separator cursor
disabledof DatePicker. #22563RTL
๐ Optimize Checkbox
innerRTL style issue. #22627๐ Optimize Upload
picture-cardRTL style issue. #22630๐ Fix Badge RTL number style issue. #22665
๐ Fix Select RTL style issue when select multiple options can be cleared. #22596
๐ Fix Progress RTL style issue. #22558
๐ Fix Badge RTL style issue. #22551
๐ Fix Input RTL style issue. #22525
๐ Fix Steps RTL style issue. #22523
๐ Optimize Tabs RTL icon style issue. #22653
๐ Optimize Input.Group RTL style issue. #22624
๐ Optimize Timeline label mode RTL style issue. #22652
๐ Optimization Select dropdown group RTL style issue. #22584
๐ Optimization Dropdown.Button RTL style issue. #22519
Typescript
๐ replace deprecated
React.SFCwithReact.FC. #22691 @Rustin-Liu๐ Fix Form.Item
childrendefinition. #22662
4.0.4#
2020-03-23๐ Fix AutoComplete clear icon overlap issue on search icon. #22310
๐ Fix Button align issue when is
disabledand wrapped by Tooltip. #22461๐ Fix Cascader search need to press down arrow twice to select item. #22216 @Kermit-Xuan
๐ Fix Carousel cannot works on Snowpack. #22507
๐ Fix ConfigProvider
componentSizenot works on DatePicker.RangePicker. #22486๐ Fix Descriptions cannot fit to small container width. #22407
โก๏ธ Optimization Form.Item with multiple noStyle children Form.Item message collection performance. #22410
๐ Fix Grid broken style using Col without
span. #22455๐ Add InputNumber RTL style. #22434
Menu
๐ Fix Progress Dashboard won't allow
gapDegto be0. #22462 @thisrabbit๐ Adjust Radio.Group logic that
valueisundefinedshould be uncontrolled mode. #22245โก๏ธ Reduce Row unnecessary render when
gutteris array. #22475 @dolfje๐ Tweak RangePicker arrow shadow style. #22406
๐ Fix Select dropdown menu vertical padding. #22251
๐ Fix Slider tooltip crash when with
nullablevalue. #22482Table
๐ Fix Table ColumnGroup with controlled
sorterOrdernot working issue. #22450๐ Fix Table border radius style. #22413 @akshatmittal
๐ Fix Table fixed column height issue. #22367
๐Fix Table row expand icon show error in ipad. #22334 @BugHiding
๐ Table
column.filtersupportbooleanvalue. #22277 @xudongdev๐ Fix Table filter no working when only set
onFilter. #22317
๐ Fix TreeSelect
treeIconnot working. #22437๐ Refactor DirectoryTree to fix deprecated warning. #22318
๐ Fix Typography nest list style issue. #22284
๐ Adjust Upload
onChangereturnfileListis immutable data to avoid render issue. #22322๐ Localization
๐ซ๐ท Update French locale. #22238 @abenhamdine
Typescript
๐ Omit Table
getCheckboxPropstypeofchecked. #22391 @geekrainy
4.0.3#
2020-03-14Menu
Slider
๐ Fix an issue where the position of 'slider handle' is incorrect in the vertical case of Slider. #22135 @wendellhu95
๐ Fix Slider missing
focusstyle. #22161
Table
๐ Fix ConfigProvider not work on Table filter dropdown. #22133
๐ Fix Table nest tree column expandable style issue with fixed column. #22131
๐ Fix an issue where Table filtering throws
cannot read property 'map' of undefined. #22096 @yoyo837๐ Fix Table expandable column not fixed when selection column is fixed. #22087
๐ Fix Table filter menu reset not working. #22079 @shaodahong
๐ Fix Table filter sub menu max height with many items. #22230
Form
๐ Optimize the responsive and box model performance of The Form. #21907 @shaodahong
๐ Fix FormItem hooks render error. #22053 @kagawagao
๐ Fixed the problem of using custom icons to wrap in Input.Group. #22197 @xrkffgg
๐ Adjust Select single padding style to avoid tweak with dropdown. #22167
๐ Fix Calendar header select ellipsis bug. #22148
๐ Fixed Dropdown content and icons overlapping. #22098 @xrkffgg
๐ Fix Select ellipsis bug in Firefox. #22101
๐ Remove PageHeader unnecessary
overflow: hiddenstyle,Optimize PageHeader extra buttons responsive design. #22030๐ Fix TextArea
autoSizedon't scroll bottom in Firefox. #22014๐ซ๐ท The full fr_FR internationalized text. #22122 @PaulJln
RTL
๐ Optimize the style of Pagination in RTL mode. #22155 @xrkffgg
๐ Fixed the icon style with Cascader RTL. #22191 @xrkffgg
๐ Optimize the Checkbox.Group style in RTL mode. #22186 @xrkffgg
๐ Optimize Radio.Button style issues in RTL mode. #22066 @xrkffgg
๐ Optimize table-pinned style issues that are listed under RTL. #21914 @saeedrahimi
๐ Adjust the direction of the Dropdown icon in RTL mode. #22104 @xrkffgg
๐ Optimize the Breadcrumb style in RTL mode. #22159 @xrkffgg
๐ Optimize the style of the Steps component in RTL mode. #22175 @xrkffgg
๐ Optimize styles in RTL mode with form feedback. #22222
TypeScript
๐ท Update the
operationtype definition of FormList. #22058 @kagawagao๐ท Update the definition of the
triggerparameter for components such as Tooltip. #22043 @wendellhu95
4.0.2#
2020-03-08Form
๐ Fix nest Form.Item dynamic remove will warning in React. #21896
โก๏ธ Form
useFormnow return same instance for perfermance. #21927โก๏ธ Refactor Form.Item render logic that will only render once when children is a pure component. #21991
โก๏ธ FormContext use a memoized value to avoid trigger FormItem's unintentional renders. #21980 @qiqiboy
Table
Select
Menu
๐ Fix Badge animation when switch between 10 and 11. #21834 @wendellhu95
๐ Fix Radio.Button inside Tooltip throws
Function components cannot be given refswarning. #21895 @AshoneA๐ Fix Descriptions miss style when content is falsy. #21901
๐ Fix DatePicker cursor style on
seperator. #21937 @xrkffgg๐ Fix ConfigProvider
prefixClsnot working on Input.Password. #21953 @tdida๐ Fix Input.Search border style in
rtlmode. #21946 @xrkffggLess
TypeScript
๐ Improve Form.Item
renderPropsdefinite. #21911
4.0.1#
2020-03-04Form
๐ Fix Form help control will get
[email protected]warning. #21800 #21702๐ Fix Form.Item exceed Form width when content is too long. #21682
Input
๐ Fix TextArea style get warning in
[email protected]. #21703๐ Fix Input.Search extra border when has
prefix. #21753
Table
๐ Fix List
borderedandsplitprops conflict. #21784 @MXWXZ๐ Fix Menu.Item
atag hidden bug. #21699 @shaodahong๐ Fix
message.opencrash wheniconis not passed. #21747 @AshoneA๐ Fix Result
statuscannot assigned to string or number type. #21691๐ Fix Descriptions warning for duplicate key. #21688
๐ Optimize Calendar header style in small screen. #21813
๐ Radio.Group not wrapping now. #21813
๐ Refactor icons import code to reduce webpack disabled tree shaking bundle size. #21752
Typescript
๐ Fix Radio.Button type error. #21807 @jhoneybee
๐ fix
TreeSelect.SHOW_*type. #21791 @TennyZhuang๐ Fix TreeSelect missing
suffixdefine. #21714๐ Fix Drawer
forceRenderTypeScript definite. #21774๐ Fix Tree
treeDatadefine. #21756๐ Fix Form.Item
renderPropsreturn type define. #21716
4.0.0#
2020-02-28๐ Ant Design v4 is out! Check here for more info.
๐ Breadcrumb use
pathas default key to fixnamekey conflict. #21583 @douxc๐ Timeline.Item support
label. #21560 @shaodahong๐ Fix Table filter menu max height style with many items. #21602
๐ Add the Calendar component's custom default font color for display content. #21598 @xrkffgg
๐ฎ Remove DatePicker legacy cell className for custom cell style. #21589
๐ Fix RangePicker style render bug in IE11. #21587
๐ Progress
strokeColornow will ignore incorrect percent. #21564 @AshoneA๐ Fix Progress
trailColornot working whentype=line. #21552 @AshoneA๐ Fix the background of the components in the pop-up components in the dark theme. #21299
๐ Optimization under the dark theme color swatches transparency.
๐ new less variable
@popover-customize-border-color,@list-customize-card-bg,@table-expand-icon-bg,@steps-background,@pagination-item-input-bgfor theme customization.
4.0.0-rc.6#
2020-02-24Form
Upload
๐ Upload added
removeIconanddownloadIconproperties. #21363 @sdhr27๐ Fix Upload identify types of image logic errors. #21473 @holynewbie
Input
Table
Descriptions
๐ Fix
labeldoes not have the problem of still rendering the label element when not usingbordered. #21542๐ Fix Non-bordered titles under
verticalare also a problem fortd. #21542๐ Fix
verticalandborderedlayout issues. #21542๐ Fix the problem of
stylenot working onItem. #21542๐ Fix
thwill also get the useless-colonclassName problem underborder. #21542
๐ Select added
tagRenderfor customized tag rendering. #21064 @fguitton๐ Picker
onPanelChangewill 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
showDownloadIcondefault doesn't show. b4636๐ Tweak Divider inner text
paddingand add@divider-text-padding. #21407Typescript
4.0.0-rc.5#
2020-02-16๐ Fix Form.Item
validateFirstprevent 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
disabledstate of the DatePicker component. #21352๐ Fix Affix throws
Cannot read property getBoundingClientRectin mobile device. #21350๐ Fix the problem that the label width is incorrect when the screen is less than
xs. #21222๐ Fix Input
sizeislargeheight style. #21338๐ Fix Badge
colornot working when contains children. #21333๐ Fix Alert close button extra padding. #21325
๐ Tweak Steps 1px align issue. #21306
๐ Fix legacy Button.Group
largesize style issue. #21307๐ Fix Input border radius with suffix, style in Firefox, TextArea allowClear style issues. #21316
๐ Pagination will pass
disabledprop 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
stylefield foroptionsprop of Checkbox.Group and Radio.Group. #21219๐ Add
validateFirstprop for Form.Item. #21178๐ Add
useModalhook for Modal to supportcontextaccess. #20949๐ Add
useNotificationhook for Notification to supportcontextaccess. #21275๐ Add
borderedprop for SelectใTreeSelectใDatePickerใTimePicker and Cascader. #21242๐ Add
selectAllLabelsprop 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
extraprop is set. #21202 @zhiyuc123Form
Input
๐ Fix Radio.Group style with Badge. #21215
๐ Fix Select no margin between lines when mode is
tagsormultiple. #21175๐ Fix Slider dots focus style. #21244 @Kermit-Xuan
๐ Fix Steps icon not align when
size="small"andlabelPlacement="vertical". #21258Table
๐ Fix TimePicker
defaultOpenValueprop 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 / prefixstyle issue withaddonBefore / addonAfter. #21105๐ Improved Timeline component style in RTL mode. #21068 @xrkffgg
๐ Update
clearfixmixin to remove legacyzoomdescriptor. #21109 @morenyang๐Card component use
@font-size-baseinstead of inline14px. #21107 @morenyang๐ Adjust Layout component to let
classNameget 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
๐ Added scroll options as
scrollToFieldargument. #20774๐ Fixed Form.Item update
helpmakes layout shake. #20886๐ Fixed unexpected extra rerender when Form.Item is not a real Field. #20963
๐ Fixed Form.Item ignore
help=""issue. #21026๐ Fixed Form.Item
labelalign bug in small screen. #20836
๐ Fixed message cut shadow issue. #20856
๐ Fixed Tooltip hidden when
titleis0. #20894๐ Fixed List
actionsinconsistent position. #20897๐ Add a visual list example for Tree. #20911
๐ Fixed AutoComplete example styling issue. #20946
๐ Removed AutoComplete useless
labelInValue. #20967๐ Fixed Drawer
footerStyleprop cause react warning. #20983๐ Fixed Breadcrumb style in
rtlmode. #21054๐ Tweak Layout
classNameorder to end. #21041TypeScript
๐ Export DatePicker related interface. #20900
Less variables
4.0.0-rc.1#
2020-01-11๐ Drawer Added
footerandfooterStyleproperties. #20690 @DeanVanNiekerk๐ Switch Added
@switch-min-widthand@switch-sm-min-widthless variables. #20829 @abdihTable
๐ Fix expanded icon not work when
expandRowByClickis 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
rowSelectionoffixednot 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-indexhigher than Table fixed columns. #20751๐ Tweak font family to be same as tailwindcss. #20747
๐ Fix TextArea
autoSizeblink in FireFox. #20737๐ Fix Form.Item not keep error message sync when hit rule changed. #20725
๐ Fix Form.Item add additional feedback style when
hasFeedbackis not set. #20691๐ Fix Cascader search bug when
fieldNamesis existed and label/value share same name. #20720๐ Fix Collapse background color with wrong less variable. #20718 @kuitos
๐ Fix Slider's Tooltip not follow handle. #20699
๐ Fix Card cover image get skretched. #20701
๐ Fix Typography automatic overflow with
suffixproperty. #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-04Ant 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
directioninternationalization 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
initialValuesto replace the original field initialization.๐ Added
validateMessagesto support modify validation templates.๐ Added
onFinishandonFinishFailedto complete the overall component verification logic.๐ Added
onFieldsChangeandonValuesChangefor triggering controlled state.๐ Provide hook support for
useForm.๐ Form.Item adds
nameproperty for data binding.๐ Form.Item
validateTriggerwill only perform validation trigger and will not collect field values โโat the same time.๐ Form.Item adds
rulesproperty for data validation.๐ Form.Item adds
shouldUpdateproperty to support render props.๐ Form.Item adds
dependenciesproperty to simplify related field update logic.๐ Form.Item adds
noStyleproperty 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
summarysupport for summary lines.๐ Now
fixedColumn,expandable, andscrollcan be mixed.๐ Support multi-column sort.
๐ Support custom
bodyand add virtual scrolling example.๐ Expansion-related props moved into the
expandableattribute and addrowExpandableprop.๐ Use css
stickyto achieve fixed effects to optimize performance.๐ Optimized
expandanimation effect.
๐ New DatePicker, TimePicker and Calendar components. #20023
๐ Support custom date library.
๐ Added
pickersupport 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
disabledseparately for the start and end time.๐ The range selector allows empty start and end times.
๐ Optimized manual input and keyboard interaction support.
๐ Added
inputReadOnlyto disable manual input.
๐ Remove Icon and use
@ ant-design / iconsinstead. #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
valueisundefinednow.๐ multiple Select won't rerender if
valueis mutable.
๐ TreeSelect uses virtual scrolling and optimizes keyboard support. #19040
๐ Uncontrolled mode when
valueisundefinednow.
๐ Button adds
defaultandlinkstyles fordanger. #19837๐ Form and ConfigProvider support
sizesetting to include component size. #20570๐ Typography adds
suffixattribute. #20224๐ Progress adds
stepssubcomponent. #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
flexlayout. #16635๐ Fix the display error of Carousel component
dotpositionasleft | 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-bgand other less variables. #20070