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.
3.26.18#
2020-06-14
🐞 Fix Tree
AntTreeNodeProps.children
type. #24429 @fireairforce🇮🇪 Add Irish(ga_IE) locale. #24849 @AbhijeetGaware
3.26.13#
2020-03-07
🐞 Fix Result
status
cannot assigned tostring
ornumber
type. #21691🐞 Fix Badge animation when switch between 10 and 11. #21887 @wendellhu95
🐞 Fix DatePicker disabled icon cursor style. #21655 @jhoneybee
🐞 Fix Grid multiple Rows
margin
overlapping. #21518 @felipeptcho🐞 Fix Table filter menu max height with many items. #21602
3.26.10#
2020-02-16
🐞 Fix Input.Group inside
<Form layout="vertical" >
1px bug. #20685🐞 Fix Badge
color
not working when contains children. #21333🐞 Fix Alert close button extra
padding
. #21325🐞 Fix Affix throws
Cannot read property getBoundingClientRect in mobile device
. #21350💄 Tweak Steps 1px align issue. #21306
💄 Fix Row component affect next element style issue. #21310
Typescript
3.26.9#
2020-02-08
🐞 Fix Badge that count is not align when wrapped by Typography. #21237
🐞 Fix Steps that icon is not align when
size="small"
andlabelPlacement="vertical"
. #21258🐞 Fix Typography not focus at the end of textarea when
editable
is true. #21268TypeScript
💄 Improve type definition of validation rule's type for Form. #21250 @hansololai
🐞 Fix type definition of
event
for Tree. #21200 @Jirka-Lhotka
3.26.7#
2020-01-13
💄 Optimize Table fixed columns blank problem in some case. #20821 @AshoneA
🐞 Fix Tree
switcherIcon
shown in leaf node problem. #20753🐞 Fix Badge
z-index
higher than Table fixed columns. #20751🐞 Fix Cascader search bug when
fieldNames
is existed and label/value share same name. #20720🐞 Fix Collapse background color with wrong less variable. #20718 @kuitos
🐞 Fix Input.Group inside
<Form layout="vertical" >
1px bug. #20685
3.26.4#
2019-12-22
💄 Optimize Steps
subTitle
UI whenlabelPlacement="vertical"
. #20325🐞 Fix upload preview not support ico file type issue. #20375 @Rustin-Liu
🐞 Fix Form feedback icon combine Input
suffix
display not correct. #20363🐞 Fix Tag
onClick
been triggered when close it. #20355🐞 Fix Cascader component form check color trigger issue. #20347 @xrkffgg
🐞 Disallow auto focus input after triggering
onSearch
event in mobile and tablet devices. #20332 @YaoKaiLun🐞 Fix Tabs ink bar missing transition animation. #20283
🐞 Fix TreeNode without
icon
show white block inshowIcon
mode. #20274TypeScript
3.26.3#
2019-12-14
🛠 support
unpkg
field inpackage.json
. #20193🐞 Fix Tree
showLine
andshowIcon
missing icon. #20196🐞 Fix Modal combine Drawer cause invalid scroll problem. #20242
🐞 Fix Drawer
switchScrollingEffect prop on a DOM element
warning. #20175🐞 Fix Select Option
label
definition. #20190 @ZhechenLi💄 Add less variables for Select/Cascader to optimize dropdown padding and border radius. #20156 @Satloff
3.26.2#
2019-12-10
🐞 Fix DatePicker
disabledTime
TypeScript definition to be optional. #20153 @khaledkhalil94🐞 Fix Transfer's
title
ofdataSource
TypeScript definition to be optional. #20144 @mraiguo
3.26.1#
2019-12-09
🐞 Fix List pagination options text align. #20037
🐞 Fix Button text not align well in Chrome. #20059
🐞 Fix DescriptionItem
className
error applied to label. #20067 @Liu-Ya🐞 Fix Tree duplicated icons when
showLine
is true. #20090🐞 Fix Editable Typography flush in Firefox. #20118
🐞 Improve Icon
component
definition to be compatible with create-react-app svg component. #20142Table
3.26.0#
2019-12-01
🏆
3.26.0
will be the last minor version of antd v3. And v4 beta is coming!🌟 Notification support
closeIcon
props. #19618 @liuchao233🌟 Typography support
pt_BR
locale. #19651 @liuchao233🇲🇰 Locale add Macedonian support. #19647 @sradevski
🐞 Fix Input.Group compat mode has wrong border radius for Input Addon. #19926
🐞 Fix Spin render default indicator when
indicator
isnull
. #19943🐞 Fix Button component
disabled
withloading
not prevent pointer-events. #19958🐞 Fix message can not cancel when
key
is provided. #19967🐞 Fix image in Upload with
picture-card
mode exceeds the border. #20008 @qq645381995🐞 Fix Input clear icon overlap with feedback icon. #20017
🐞 Fix Slider tooltip text not align center. #20016
🐞 Fix Descriptions items not working with React.Fragment. #20019
🛠 Upload under drag mode moves
className
andstyle
to the real effect dom.#19987💄Add less variable
@table-header-bg-sm
and fix small Table footer style. #19939
3.25.2#
2019-11-17
🐞 Fix Upload List do not have tooltip when upload failed. #19689 @qq645381995
💄 Fix Transfer search style to avoid text overlap with clear icon. #19693 @Abdullah700
TypeScript
🐞 Fix Table FilterDropdownProps definition. #19701 @DeanVanNiekerk
🛠 Slider add
reverse
definition. #19713 @jacklee814
3.25.1#
2019-11-10
🐞 Fix less variables of
@menu-icon-size
and@menu-icon-size-lg
not working. #19553 @yoyo837🐞 Fix DirectoryTree
defaultExpandedAll
not working withtreeData
. #19646🐞 Fix Drawer content overflow when
placement
prop is top or bottom. #19506 @shaodahong🐞 Fix broken Menu.ItemGroup style inside Dropdown again. #19578
🐞 Fix Dropdown that menu icon
margin-right
style is missing. #19635🐞 Fix Icon
extraCommonProps
not working properly. #19572 @yoyo837🐞 Fix Modal.method() scrollbar not disabled. #19233 @emersonlaurentino
Table
TypeScript
3.25.0#
2019-11-04
🌟 Transfer
listStyle
support function callback. #19330 @lxnxbnq🌟
icon
of Avatar support ReactNode. #19368🌟 TextArea support
allowClear
. #19310 @Rustin-Liu🌟 Upload support to custom
method
for request. #19533🌟 Upload
onChange
addXMLHttpRequest
as additional param. #19539 @hahmadia🐞 Fix WeekPicker
defaultPickerValue
not works. #19141 @NightFox7🐞 Fix DatePicker
onEsc is not a function
TypeError. #19474🐞 Fix table does not automatically scroll to the top when change page size. #19474 @MrHeer
💄 Fix Icon Button not aligned well in Button.Group. #19453
💄 Fix Checkbox not aligned center of some cases in Chrome. #19452
💄 Fix Menu
margin
collapsed issue. #19476 @wangweijun0418💄 Remove useless style in Select. #19510 @jacklee814
💄 Added less variables
@input-number-hover-border-color
,@select-background
. #19546🌍 Add
downloadFile
in all locale files. #19361 @DemetriusHR🇹🇭 Add missing translations in Thai (th_TH) locale. #19378 @anawinwz
Typescript
🐞 Add Upload missing
preview
type. #19496 @chnliquan
3.24.3#
2019-10-26
🐞 Fix Table sort not working when
columns
inside render. #19404🐞 Fix Grid responsive
gutter
not working. #19308🐞 Fix the problem that Menu in Dropdown is not highlighted when SubMenu is selected. #19313
🐞 Fix the problem that moment.js in Typography & Drawer & Statistic can't be tree-shaking. #19317
🐞 Fix Input.Search react warnings of
non-boolean attribute
andunique key
. #19357🐞 Fix Modal icon position when not use title. #19419
💄 Fix a problem with the mouse pointer error when Checkbox is disabled. #19403
💄 Add
@modal-header-color
variable. #19385🛠 Improved some TypeScript definitions. #19377 #19343 #19333
3.24.2#
2019-10-19
🐞 Fix Table
scroll={{ x: 'max-content' }}
rendered without scrollbar problem in Chrome. #19284🐞 Fix Table crash when passing
column.filterDropdown
as new prop. #19302🐞 Fix Upload
download
button trigger preview unexpectedly. #19268 @qq645381995🐞 Fix Comment long author name breaks on small screen. #19272 @rayronvictor
Typescript
3.24.0#
2019-10-16
🔥 Promote Yuque on home page.
Table
🌟 Added
tableLayout
property fortable-layout
attribute. And usingtableLayout="fixed"
by default in scroll table to resolve align issue caused by cell content. #17284🌟 Added
column.ellipsis
to ellipsize cell content.🌟 Added the
scroll.scrollToFirstRowOnChange
property to set whether to scroll to the top of the table after page changing. #18726🌟
filterDropdown
added avisible
parameter to get the display state of the dropdown box. #17614 @sedx🌟
title
added asortColumn
parameter to get the currently sorted column. #19012 @swillis12🌟 The
sorter
parameter ofonChange
will always containcolumn
information when sorting. #19226🐞 Fix Table filter submenu checkbox margin. #e1a4f28
🌟 Anchor added a
onChange
attribute to listen for changes to anchor links. #18715Upload
🌟 Added
showDownloadIcon
attribute to display download icon. #18664 @qq645381995🌟 Support for
onRemove
control of upload interrupts. #18937 @ladjzero
🌟 Input.Search added a
loading
property to show the state in the load. #18771🌟 Grid's
gutter
property added support for vertical spacing. Now you can set an array forgutter
and the second value of the array for vertical spacing. #18979🌟 message added support for updating content with a unique key. #18678
🌟 Layout added a
zeroWidthTriggerStyle
property to control the style of the specialtrigger
that appears whencollapsedWidth
is0
. #19079🌟 Drawer added the
drawerStyle
andheaderStyle
properties. #19109PageHeader
ConfigProvider
🐞 Fixed the issue that the
removeIcon
andclearIcon
properties of TreeSelect didn't work. #18949🐞 Fixed the issue that the
switcherIcon
does not take effect after the Tree settingshowLine
. #18829 @MrHeer🐞 Fixed the issue that the Slider component set the handle size and positioned incorrectly. #19120
Collapse
🐞 Fix icon styles under IE 11. #19135 @GBcrimson
🐞 Keep
className
given toexpandIcon
. #19160 @gpetrioli
🐞 Fixed the issue that
defaultExpandAll
does not take effect when Tree.DirectoryTree component passedtreeData
. #19148🐞 Fixed the issue with some of the Menu styles under Dropdown. #19150
🐞 Fixed Cascader's
placeholder
internationalization error. #19227 @kagawagao🌟 Added less variables
@typography-title-margin-top
,@typography-title-margin-bottom
. #18746🗑 Discard the
autosize
property of Input.TextArea, useautoSize
instead. #19177
3.23.5#
2019-09-29
🐞 Fix Upload preview image cannot fill the picture card box. #18990
🐞 Fix Breadcrumb not support
data-*
andaria-*
attributes. #18941 @sosohime🐞 Fix TreeSelect
removeIcon
andclearIcon
not working. #18949 @sosohime🐞 Fix Tree
switcherIcon
prop not working whenshowLine
is true. #18829 @MrHeer🐞 Fix style bug of Button with icon only when in Button.Group. #18994
🐞 Remove Select useless prop
searchValue
which is a total misunderstanding. #19003🐞 Fix Avatar string blink when ssr render at first time. #19029
TypeScript
🐞 Fix Grid type definition. #18946 @handycode
3.23.4#
2019-09-21
🐞 Fix item not disabled when Transfer is
disabled
. #18849🐞 Revert Dragger to class component to fix ref warning. #18707
🐞 Fix Input
addonAfter
icon height bug in Chrome. #18858🐞 Fix Menu lost state when being collapsed to
0px
. #18907🐞 Disabled input should not trigger the action of suffix part. #18900
🐞 Fix title and content of Alert not break line when long text exist. #18929
💄 Add
@page-header-back-color
less variable. #18887TypeScript
🐞 Fix Table event type definition. #18910
3.23.3#
2019-09-16
🐞 Fix ConfigProvider
locale
not working with Modal in some situation. #18732🐞 Fix Avatar extrusion style when using long pictures. #18768 @Eusen
🐞 Fix InputNumber active border style. #18791 @escorponox
🐞 Fix Input.Search not trigger
onSearch
when click clear icon. #18783🐞 Fix text color of Button inside Menu. #18820
🐞 Fix
size="small"
Table header missing right border. #18821⌨️ Enhance accessibility of Alert close button. #18750 @MrHeer
💄 Tweak Button
type="link"
should not insert space. #18724TypeScript
3.23.2#
2019-09-06
🐞 Fix
round
Button font size too large. #18701🐞 Fix Descriptions warning with same key when bordered is true. #18637
🐞 Fix Drawer animation when
placement
is right andmask
is false. #18636🐞 Fix Icon that
component
andchildren
prop should have priority overtype
prop. #18592🐞 Fix Layout.Sider boundary values for max-width. #18553 @Nikitenkova
🐞 Fix PageHeader that back icon can't coexist with breadcrumb. #18691
🗑 Deprecated Select
inputValue
prop and usesearchValue
instead. #18629TypeScript
3.23.0#
2019-09-02
🔥 Pageheader has been redesigned to accommodate more situations. #18128
🌟 Card support
tabBarExtraContent
prop. #18433 @lengthmin🌟 Anchor.Link add add new property
target
. #18335 @DiamondYuan🌟 Breadcrumb support children use with
React.Fragment
. #18340 @long-zhuge🌟 Card.Grid add new prop
hoverable
for support disable hover state. #18457 @MrHeerInputNumber
Less variables
🛎 Add warning when use
value
of Switch, Checkbox, Upload. #18497🛠 Refactor styleChecker to arrow function for fix serverless target in next.js. #18541 @ZhengYuTay
🐞 Fix circle Button not circle in some situation. #18516
🐞 Fix RangePicker selected date style. #18559
Descriptions
🐞 Fix Tab content width not correct in Safari. #18574
🐞 Fix Mentions popup position not correct when
prefix
is empty string. #18576🐞 Fix Upload.Dragger can upload multiple files when
multiple
is false. #18580🐞 Fix Card
actions
style when contains link Button. #18588🐞 Fix Input not vertical align with Button in Chrome. #18603
🐞 Fix nested List style in grid layout. #18589
TypeScript
3.22.1#
2019-08-26
🔥 The official website now supports the search icon through the picture! #18425
💄 Tweak Table expand icon style. c5344bd
🐞 Fix prop
style
is getting duplicated on Table. #18330 @MrHeer🐞 Fix Input line height style bug in IE11. #17759
🐞 Fix Steps progressDot broken style. #18356
🐞 Fix an issue with plain icon button style errors. #18458 @qhanw
🐞 Fix TextArea with
autosize
in controlled mode that scrollbar blink when typing. #18401🐞 Fixed an issue where Input.Password
ref
could not get the input element and had nofocus
andblur
method. #18441🐞 Fix Upload wrong line break. #18423
💄 Add less variables
@select-dropdown-bg
@select-item-selected-bg
@select-item-active-bg
@anchor-border-colorr
@descriptions-bg
. #18444 #18372 @MrHeer
3.22.0#
2019-08-17
🔥 New type
navigation
of Step. #17994Anchor
🌟 Add
getCurrentAnchor
property to specify current active anchor. #17823 @shaodahong🌟 Add
targetOffset
property to customize scroll position offset. #17827 @shaodahong
🌟 Drawer supports popup in custom dom node. #18167
🌟 Mentions support
getPopupContainer
property. #18298 @vijayst🌟 Modal support custom
closeIcon
. #18309🌟 Upload support to preview
jfif
format images. #18322💄 Tweak Descriptions.Item padding bottom via size. #18270
Cascader
🐞 Fix Menu.SubMenu
className
applied to popup menu mistakenly. #18290🐞 Upgrade react-slick to fix Carousel lifecycle warning. #18209
🐞 Fix Button
received false for a non-boolean attribute loading
warning. #18208🐞 Fix style problem when hovering Table selected row. #18261
🐞 Fix Checkbox hovering border color when it is
disabled
. #18168🐞 Fix Progress missing or messed gradient color. #18284
🐞 修复 TextArea scrollbar blinking problem when using
autosize
andmaxRows
. #18289TypeScript
🐞 Fix some components (Tooltip, Breadcrumb, Badge) importing error. #18282 @lidianhao123
🐞 Fix MonthPicker
monthCellContentRender
property definition. #18192 @JonathanLee-LX🐞 Fix Upload.Dragger
children
error. #18196🐞 Fix Tag.CheckableTag
style
property definition. #18300
3.21.3#
2019-08-09
Timeline
🐞 Fix Tabs content with margin collapse with navigation. #18112
🐞 Fix Textarea
autosize
shows scrollbar after resize. #18114🐞 Fix Tooltip not work correctly on
disabled
Checkbox. #18138🐞 Fix a Button line-height align issue. #18139
🐞 Fix missing
blur
andfocus
methods on Mentions. #18132 @yoyo837🐞 Fix Upload throw File not defined in IE9. #18115
🐞 Fix Input clear icon not align correctly. #18151
🐞 Fix Card broken style when using Button as
actions
. #18179🐞 Fix the problem that Modal.confirm can't set
getContainer
. #18182⌨️ Improve Divider accessibility by adding role="separator". #18116
3.21.0#
2019-08-04
🌟 Breadcrumb adds
Separator
component. #17873 @long-zhuge🌟 Rotate zero when Sider triggers in right mode. #18043 @kagawagao
🌟 Table add
getPopupContainer
props. #17806🌟 Add new color
gray
for Timeline.Item for unfinished or disabled status. #17731🌟 Upload adds
transformFile
to support transforming file before file uploading. #18009 @lijinke666🐞 Fix ConfigProvider
getPopupContainer
not working in Table. #17806🐞 Fix Statistic font not align with global font. #18044
🐞 Fix
Form.Item
label replace regexp. #17985 @shaodahong🐞 Fix Select search style. #17760 @chenyizhongx
🐞 Fix DatePicker style bug when
mode
is decade. #17887 @xrkffgg🐞 Fix wave effect performance of Button and other related component. #17945
🐞 Fix Tabs
tabBarExtraContent
align issue. #17969🐞 Fix Tabs error when
type
iseditable-card
and child component is false. #17965 @oldturkey🐞 Fix Input align issue of
clearIcon
andsuffix
again. #17684 @LilyWakana🐞 Remove
a
tag in Alert's close tag. #17872 @geograous💄 Unified drawer and modal
mask
opacity. #17943💄 Optimize RangePicker focus style. #17983
💄 Tag now will be rendered as a
span
. #17971💄 Enhance accessibility of Table expanded icon. #17781
💄 Merge LocaleProvider into ConfigProvider. #17816
💄 Add some less variables. #17976 @Yangzhedi #17613 @alxkosov:
@table-footer-bg
@table-footer-color
@menu-icon-size
@menu-icon-size-lg
🇲🇾 Add locale Malay. #17546 @austin-krave
🇸🇪 Add Swedish translation for Typography (Text) component. #17858 @Malven
🇫🇷 Add French translation for Typography (Text) component. #17418 @Clafouti
🏴 Add Tamil spanish translations. #17903 @sivaraj-dev
TypeScript
3.20.6#
2019-07-24
🐞 Fix Col miss the place when its height is 0. #17748 @yoyo837
🐞 Fix Cascader was broken when
options
'schildren
isnull
. #17756🐞 Fix Checkbox padding where all spans align left. #17752 #17761 @inovux
🐞 Fix Input line height style bug in IE. #17759
🐞 Fix last item of Rate has additional margin. #17764 @inovux
🐞 Fix Radio.Button disabled item border style. #17775
🐞 Fix DatePicker
@input-hover-border-color
variables not working. #17784🐞 Fix Transfer not re-render list when
dataSource
withlazy
. #17783🐞 Fix RangePicker
defaultValue
startTime later than endTime. #17694 @mraiguo💄 Tweak long
placeholder
truncate style. #17797 @Kapiroska🐞 Fix Alert
message
style. #17808 @mtadams007🐞 Fix Progress with mini
value
not keeps bar radius round. #17819🐞 Fix Statistic.Countdown
format
not escaping characters in square brackets. #17841🐞 Fix Table custom
filterDropdown
always triggeringonChange
in some situations. #17846🐞 Fix TimePicker weird render bug in Safari. #17857
3.20.4#
2019-07-19
🐞 Fix multiple level Drawer with falsy
mask
, parent Drawer can not collapse after removing sub component. #17698🐞 Fix Table border radius missing in Firefox. #17641
🐞 Fix Menu throw warning
Cannot update during an existing state transition
. #17657🐞 Fix Affix not resize when container size changed. #17678
🐞 Fix Anchor not update bind element when
getContainer
changed. #17677🐞 Fix window scroll issue when using Modal and Drawer same time. #17600
🌟 Empty
description
supportsfalse
. #17659 @billfeller💄 Remove Pagination element underline style to avoid polluted by global style. #17728
💄 Extends Card action click area. #17705 @lhx6538665
💄 Tweak less variables and UI to improve style customization. #17705
Optimize danger Button UI design.
Fix
@border-radius-sm
not working for Slider, TreeSelect.Added some less variables for Progress, Tabs, Slider and Timeline.
TypeScript
💄 Improve type definition of Form. #17676 @lixiaoyang1992
💄 Improve type definition of Tabs. #17675
3.20.2#
2019-07-13
🐞 Fix Button transition style when loading. #17596 @LilyWakana
Cascader
🐞 Fix Input style when suffix and clear icon exist both. #17508 @LilyWakana
TypeScript
3.20.1#
💄 Optimize TimePicker focus style. #17447
💄 Optimize DatePicker arrow style for resolve messy when not use utf-8. #17480
🐞 Remove useless props which Drawer pass to rc-drawer for avoid error. #17390
🐞 Fix Tabs disabled tab and next icon style. #17500
🐞 Fix Result's problem that the
className
is empty and the class name is wrong. #17389🐞 Fix DatePicker's input box is obscured on safari. #17421
🐞 Fix typo icon name
colum-height
tocolumn-height
. #17458TypeScript
🐞 Fix Form
onSubmit
type. #17412🐞 Fix omit AutoComplete
loading
type. #17433🐞 Fix Switch
onClick
type. #17502 @DiamondYuan
3.20.0#
🔥🔥🔥 Add Result Used to feed back the results of a series of operational tasks.
🔥 Progress.Circle support gradient line color. #17315 @hengkx
🔥 Optimize PageHeader className naming. #17321
🐞 Drawer fixes
maskCloseble
to false, keyboard ESC closes invalid. #17316🐞 Fixed an issue where Drawer closes not calling
afterVisibleChange
in Edge. #17311🌟 Drawer adds
keyboard
to allow opening and closing of responses to keyboard events. #17316🌟 Popconfirm adds the
disabled
props to control whether the click child element pops up. #16985 @lhyt⌨️ Improve TimePicker accessibility. #17099
💄 Fix Tooltip arrow shadow style. #17264
🐞 Fix Descriptions.Item not support
className
. #17280🐞 Fixing Descriptions.Item does not set a label and will also display the
:
question. #17337🐞 Fixed the incorrect color of the
placeholder
of the Mentions. #17317🐞 Fixed incorrect line-height for Mentions. #17347
💄 Fixed small Table header background to white according to design spec. #17351
🌟 The CheckboxGroup
onChange
value keeps the order of the options. #17342 @yoyo837🐞 Fix Tooltip not work correctly on disabled Switch. #17372
💄 Add variables #16843 #17031 #16996 @alxkosov:
@dropdown-line-height
@dropdown-font-size
@dropdown-vertical-padding
@collapse-panel-border-radius
@table-body-selected-sort-bg
@table-selected-row-hover-bg
TypeScript
3.19.7#
2019-06-21
🐞 Fix Descriptions throw error when contains falsy child. #17207 @superandrew213
🐞 Fix a scrollbar style problem of empty Table in IE. #17223
🐞 Fix single Breadcrumb not showing on PageHeader. #17209
🐞 Fix Modal that 24px botton area cannot trigger mask click event. #17229
🐞 Fix Layout Sider‘s zero-width trigger
z-index
bug. #17228TypeScript
⚡️ Use the
unknown
type in typescript 3.0 to improve defintions. #14044 @Zzzen🐞 Fix Calendar
headerRender
should be optional. #17063 @wonderjar
3.19.4#
2019-06-16
PageHeader
🐞 Fix Table with sort not back to first page. #16978
🐞 Fix Menu.SubMenu with selected item should have active style. #17039
🐞 Fix Tree with showLine animation shake. #17055
🐞 Fix Collapse's redundant scrollbar. #17009 #mtadams007
🐞 Fixing date formats for Arabic-Egypt locale. #17092 #3b3ziz
🐞 Fix Input not align with other components in Chrome. #17082
💄 Adjust bordered table header scrollbar style. #17065
🌟 Make Divider style customization easier. #17113
🌟 Add new less variables #17041 #SamKirkland:
@comment-font-size-base
@comment-font-size-sm
3.19.3#
2019-06-06
📝 Add FAQ for DatePicker/RangePicker with
mode
cannot be selected. #16984🐞 Fix Breadcrumb validateDOMNesting warning. #16929
🐞 Fix Breadcrumb path error when
children
is selected. #16885 @haianweifeng🐞 Fix InputNumber with
number
type display native spinner. #16926🐞 Fix Transfer render Empty when customize without data. #16925
🐞 Fix Table header extra vertical scrollbar problem. #16950
🐞 Fix Table miss
border-radius
in Firefox. #16957🐞 Fix Table error when
rowSelection.getCheckboxProps()
has no return value. #15224🐞 Fix Table abnormal scrollbar in Chrome when using
title
androwSelection
. #16934🐞 Fix Divider
orientation="center"
style. #16988TypeScript
🐞 Fix Upload
RcFile
definition. #16851⚡️ Export
TextProps
type in Typography. #17003 @Jarvis1010
3.19.2#
2019-06-01
🐞 Fix Tabs vertical card mode not scrollable. #16825
🐞 Fix Transfer warn
setStart
on an unmounted component. #16822 @shiningjason💄 Using less variables
@error-color
,@warning-color
instead of@text-color-danger
,@text-color-warning
. #16890 @MrHeer💄 Add warning if Menu use
inlineCollapsed
under Sider. #16826TypeScript
⚡️ Add
forceSubmenuRender
into MenuProps. #16827⚡️ Export
TypographyProps
type. #16835⚡️ Add
onChange
prop type definition to Steps. #16845 @JonathanLee-LX⚡️ Add
webkitRelativePath
prop type definition to Upload. #16850 @DiamondYuan
3.19.0#
2019-05-26
New Components:
🔥🔥🔥 Mentions Provides Mentions component and origin Mention marked as deprecated.
🔥🔥🔥 Descriptions Display multiple read-only fields in groups.
🌟 Drawer support close by press
ESC
. #16694🌟 Steps support click to switch. #16773
🌟 Calendar support
headerRender
to customize header。#16535 @abgaryanharutyun🌟 Slider support
tooltipPlacement
to set tooltip position. #16641 @cmaster11🌟 Slider support
getTooltipPopupContainer
to customize tooltip container. #16717🐞 Fix PageHeader horizontal divider style. #16684
🐞 Fix Carousel
initialSlide
not work whenchildren
count change. #16756🐞 Fix Cascader
displayRender
not interactive. #16782🐞 Fix Upload list still can be removed when
disabled
. #16786💄 Update Upload
disabled
cursor style. #16799 @attacking💄 Correct Statistic font color. #16801
TypeScript
⚡️ Update Upload
action
prop definition. #16716 @christophehurpeau⚡️ Update Upload
onRemove
prop definition. #16570 @christophehurpeau⚡️ Update Select
getPopupContainer
prop definition. #16778 @chj-damon⚡️ Update InputNumber
parse
prop definition. #16797⚡️ Remove useless props definition. #16705 @sirlantis
3.18.2#
2019-05-20
🐞 Fix space missing for Button with mixed content. #15342
🐞 Fix active status missing for Carousel when
children
is changed. #16583🐞 Fix panel not close when DatePicker is
blur
by upgradingrc-calendar
requirement to version9.13.3
. #16588🐞 Fix style disorder for Form.Item with
help
prop andmargin-bottom
is negative. #16584 @sbusch🐞 Fix Spin not align when set
font-size
style. #15206🐞 Fix
selectedRows
missing when there ischildrenColumnName
in Table. #16614TypeScript
3.18.0#
2019-05-12
🌟 Transfer support
children
prop to customize render list. #16026🌟 Pagination support
disabled
prop. #16493🌟 Upgrade
@ant-design/icons
and@ant-design/icons-react
to 2.0 for fix lots of missing icons. #15874🐞 Fix Form
hasFeedback
overlap issue with Input.Password. #16445🐞 Fix Select selected and disabled item wrong hover color. #16477
🐞 Fix disabled Upload being triggered by label. #16483
🐞 Fix
hoist-non-react-statics
compilation error. #16397 @ztplz🐞 Fix customize icon style in Notification size not correct. #16507
🐞 Fix PageHeader should not render blank dom when
title
is undefined. #16510 @yociduo⚡️ Print reject error when Modal's
onOk
callback return an promise rejects. #16437 @jas0ncnTypeScript
3.17.0#
2019-05-05
🎉 Breadcrumb.Item supports
overlay
props to define drop-down menus. #16315🎉 Button added a new type
link
. #16289⌨️ Wrap List.Item under
ul
to enhance accessibility.#15890🌟 TreeSelect support
showSearch
in multiple mode. #15933🌟 Provides
previewFile
to customize preview logic. #15984🌟 Added the
@table-selected-row-color
variable to customize the color selected by the table. #15971 @hextion🌟 Added
@form-warning-input-bg
and@form-error-input-bg
variables to customize the background color when the form is in error state. #15954 @hextion🌟 Dropdown.Button supports
icon
props to customize icons. #15996 @DiamondYuan🌟 Support SkeletonAvatarProps
size
accept number. #16128 @MrHeer🌟 Notification.config now supports
getContainer
for custom dom rendering locations. #16123 @Nouzbe🌟 Drawer supports
afterVisibleChange
props, which fires when the drawer animation is complete. #16228🌟 Form.Item supports
htmlFor
props. #16278🌟 Collapse supports
expandIconPosition
props. #16365🌟 Carousel supports the location of custom panel indicator points. #16225 @yociduo
🌟 TreeNode supports the properties of
checkable
. #16369🌟 🇭🇷 Added Croatian language pack. #15641 @fpintaric
🐞 Fix Drawer wrong animation direction. #16358
🐞 Fix Slider mark text style will break line. #15128
🐞 Fix Checkbox.Group
onChange
pass removed value. #16392🐞 Fixed multiple Typescript type errors. #16043 #16341 #16343 #16360 #16344
3.16.6#
2019-04-26
⌨️ Improve PageHeader
backIcon
keyboard accessibility. #16038🇮🇹 Optimize Italian localization. #16093 @yp #16172 @afelicioni
🐞 Fix Select with
showSearch
not triggeronSearch
when blur it. #16235🐞 Fix Select active item's hover background color. #16238 @yociduo
🐞 Fix unexpected pressed style of disabled Switch. #16251 @atomoo
🐞 Fix small size Table header background. #16266
🐞 Fix Tabs missing border when
tabPosition="bottom"
. #16130 @rinick🐞 Fix Typography.Title not support
type
. #16275🐞 Fix Typography editable mode not support
className
. #16307🐞 Fix List
actions
misplaced. #16239🐞 Fix long word Modal title display problem. #16267 @yoyo837
🐞 Fix Pagination active item background color. #16306
🐞 Fix a
core-js@<2.6.5 is no longer maintained
install warning. #16325Typescript
🐞 Fix
Form.create()
don't work. #16242🐞 Fix Tooltip
className
definition. #16195 @swillis12
3.16.4#
2019-04-21
🐞 Fix circle button responding mouse event when loading. #16063 @gxvv
🐞 Fix issue that Form.Item's
labelAlign
does not work. #16067🐞 Fix issue that tailing debounce call raising error when Spin unmount. #16081 @raybooysen
🐞 Fix issue that List's
defaultPageSize
does not work. #16100🐞 Fix error moment call in DatePicker. #16109
🐞 Fix Radio does not in center on Firefox. #16039
🐞 Fix issue that Affix's
target
does not work after it's value changing. #16146🐞 Fix the Modal's animation issue Modal on first rendering. #15795
🐞 Fix issue that Table's
rowSelection.columnWidth
does not work. #16163🐞 Fix type definition of Form.create. #16095
🐞 Fix type definition of Icon's
aria-hidden
. #16202🐞 Fix type definition of PageHeader's
tags
. #16092🌟 Add new less variable
@text-selection-bg;
. #16155
3.16.3#
2019-04-12
🐞 Fix Button TypeScript definition. #15938
⚠️ Add DatePicker warning when time invalidate. #15920
🐞 Fix Menu arrow not display in old version of IE. #15932
🐞 Fix Progress success UI when
status
isundefined
. #15951🐞 Fix Tooltips not work when Menu collapsed. #15948
🐞 Fix Switch can't be trigger by click of form label. #15923
🐞 Fix Directory
onSelect
info not correct. #15967🐞 Fix Menu
defaultOpenKeys
not work as expect. #15970🐞 Fix Nested Table with
middle
size
style not correct. #16008🐞 Fix nest Tabs ink bar style issue. #16013
🐞 Fix Empty in IE not fully render. #16016
🐞 Fix Switcher loading icon and checkbox should be vertical align when
@tree-title-height
is modified. #15962💄 Default selection column width can be overridden in css. #15990
TypeScript
🐞 Fix Pagination
showLessItems
TS definition. #15952
3.16.2#
2019-04-07
🐞 Fix Menu shaking and collapse behavior. #15868
🐞 Fix List pagination pageSize changer not work. #15871
🐞 Fix RangePicker end time input not editable. #15866
📝 Site Icon supports search. #15867 @DiamondYuan
🐞 Fix TimePicker
locale
doesn't work. #15837🐞 Fix Steps style broken when using
progressDot
andsize="small"
. #15856🐞 Fix Affix position not update when content height changed. #15899
Table
🐞 Fix Badge display negative count incorrect. #15810
💄 Optimize Empty default UI of
Empty.PRESENTED_IMAGE_SIMPLE
. #15841🌟 Added a new less variable
@html-selector
to enable override of html selector to support theme prefix. #15613 @krokofantTypeScript
🐞 Fix Table columnGroup definition. fc45d
3.16.0#
2019-04-01
🌟 Badge support customize color. #15764
🌟 Checkbox.Group support
name
prop. #15760 @bencallaway🌟 Modal support
confirm({ icon: null })
to hide Icon. #15319 @Adamwu1992Empty
🌟 Progress.Line support gradient line color. #15524 @zy410419243
DatePicker
⚡️ Refactor Form move
ant-form-item-no-colon
selector position in Form.Item. #15592 @HsuanXyzMenu
🐞 Fix Menu unexpected shaking when collapsed. #15625 @zy410419243
🐞 Fix MenuItem rendered unexpected Tooltip when
inlineCollapsed
isfalse
. #15705 @zy410419243
🐞 Fix Upload border jumping issue in Chrome. #15636
🐞 Fix clear icon style in Input and Input.Search. #15672
🐞 PageHeader support level 2 breadcrumb. #15689
Tag
🐞 Fix Spin style when
indicator
is Icon. #15712🐞 Fix collapsible Layout.Sider throw error when use svg icon. #15720 @wx1322
Table
🐞 Fix col element missing relative style. #15766
💄 Adjust Card and PageHeader padding from
32px
to24px
. #15755🌟 Add less variables
🌟 Adjust multiple TypeScript types
🐞 Fix for changes in
@types/react
for Button. #15702 @ferdikoomen🌟 Menu add
overflowedIndicator
type. #15355 @Yangzhedi🐞 Fix Input
action
definition. #15598 @Yangzhedi🐞 Fix Tree
onLoad
typo. #15718 @babycannotsay🌟 CheckBox.Group add
name
type. #15753🌟 RangePicker add
separator
type. #15765
3.15.2#
2019-03-23
📖 New English translation for Data Display and Feedback. #15454 @klouskingsley #15460 @klouskingsley
🌟 Add two less variables
@font-feature-settings
and@select-item-selected-font-weight
. #15506 @dancerphil #15515 @willc001🐞 Fix the scale calculate logic when Avatar is remounted. #15503
🐞 Fix inefficient custom
width
for DatePicker. #15547 @DiamondYuan🐞 Fix the incorrect priority of icon style for Notification. #15530
🐞 Fix that
notFound
content is not aligned for Select. #15570🐞 Fix empty missing when
loading
property is true for Table. #15583🐞 Fix the incorrect
white-space
style for Tag. #15526 @Kapiroska🐞 Fix the incorrect judgement on image type for Upload. #15354
3.15.1#
2019-03-17
🌟 Add four less variables
@pagination-item-bg-active
,@icon-color
. #15302 #15343🐞 Fix tree-shaking not working for importing PageHeader. #15354
List
🐞 Fix Calendar can't switch type. #15338 @zy410419243
Badge
🐞 Fix the issue that customized color is not supported in Badge. #15356 @DiamondYuan
🐞 Fix height problem of Badge with dot. #15395
🐞 Fix tabbar style of Tabs in card mode when browser is zoomed out. #15299 @rinick
🐞 Fix Avatar component cannot calculate the offset when
display: none
is set. #15351 @ppbl🐞 Correct suffix icon in Input.Password. #15381 @melchior-voidwolf
🐞 Fix Layout has classname
ant-layout-has-sider
even ifhasFixer
is set tofalse
. #15396 @SoraYama🐞 Fix Divider alignment issue in PageHeader. #15400
🌟 Adjust multiple TypeScript types
🌟 FormComponentProps added a generic type of form values. #15355
🌟 Export ConfigProviderProps interface. #15446 @DiamondYuan
🐞 Add
style
prop for Steps.Step component. #15393 @pavolgolias🐞 Fix
itemRender
definition of Pagination. #15428 @DiamondYuan
3.15.0#
2019-03-08
Form
🌟 Supports
colon
prop in Form. #15276 @DiamondYuan🐞 Fix two colons will appear in FormItem label. 15285 @jinxin0112
🐞 Fix Typography dom structure. #15210
🐞 Fix Affix position update logic. #15150
Input
🐞 Fix DatePicker and TimePicker cursor style. #15218
TypeScript
🇹🇷 Turkish translations of new components. #15238 @codesignist
3.14.0#
2019-03-02
Two new components added this month:
🔥🔥🔥Typography provides basic formatting and common operations for text.
🔥🔥🔥PageHeader can be used to declare the page theme, display important information about the page that the user is interested in, and host the relevant page. Action item.
🌟 TimePicker provides
clearIcon
prop for customizing clear icon. #14556🌟 Statistic.Countdown supports
onFinish
prop. #14791🌟 Collapse.Panel support
extra
prop. 62e65dDatePicker
🌟 The Form supports
labelCol
&wrapperCol
prop. #15038🌟 Add type
more
for Icon. #15047🐞 Fix Table filter can not support other type of value. #15046
🐞 Fix Spin
wrapperClassName
settingpadding
icon is not centered. #15056🐞 Fix Calendar won't trigger
onPanelChange
correctly in some cases. #15063🌟 Select supports
showArrow
in multi-select mode. #15091🐞 Fix closable Drawer hiding without transition. #15147
🌟 Two less variables
@drawer-header-padding
and@drawer-body-padding
have been added to control Drawer padding. #15120🐞 Fix Cascader should tab twice to exist. #15117
🐞 The
onChange
of InputNumber will returnnull
instead ofundefined
to fix the problem that the value of the control cannot be properly collected and emptied. #14960🌟 Adjusted multiple TypeScript types
3.13.6#
2019-02-23
Form
🐞 Fixed extra space at the bottom of Table header in chrome. #14926
🐞 Fixed that Select check icon is not aligned center. #15016
🐞 Fixed Input.Search
addonBefore
oraddonAfter
style issue. #14959🐞 Fixed growing space of Tree nodes. #14958 @Yangzhedi
🐞 Improved accessibility of Icon when
type
is falsy. #14970🐞 Fixed Dropdown subMenu disabled cursor style. #14952
🇮🇩 Updated locale to be more natural for Indonesian. #15013 @kamalmahmudi
3.13.3#
2019-02-16
📖 New English translation
🐞 Fix mouse cursor style when Switch is disabled. #14764
🐞 Fix Progress shows a wrong successful status. #14769 @imhele
🐞 Fix the issue that the upload status has always been
uploading
after hiding the upload button in the Upload. #14779🐞 Fix the issue where the custom icons for vertical Steps were not centered. #14677
🐞 Fix the issue with Input.Search does not support
addonAfter
. #14785🐞 Fix layout issues with FormItem when there is an error. #14772
🐞 Fix the issue that the operation button will be blocked when the Card is
loading
. #14832🐞 Fix the issue that describes overflow in List. #14765 @Shub1427
🐞 Fix the style issue of TimePicker's clear button, when using the
small
size. #14861 @YangzhediTable
🐞 Fix the issue that the floating element misalignment. #14822 @chiaweilee
🐞 Fix the issue where the className was not synchronized when the
rowSelection
property was removed. #14759🐞 Fix border display issue when there is no data. #14834
🐞 Fix the issue where
pagination
was set totrue
.🐞 Fix the issue where the filter drop-down box would be occluded.
TypeScript
🐞 Menu adds
onTitleMouseEnter
andonTitleMouseLeave
. #14737 #GabeMedrash
3.13.1#
2019-02-04
📝 Rewrite the documentation of Use in TypeScript. #14637
📝 Upgrade the document of Real project with umi and dva. #14574 @cc189
🐞 Fix DatePicker missing dateTime default format in
showTime
. #14593Table
Upload
🐞 Fix Dropdown pseudo class style which causes the overlay non-clickable. #14604 @shawtung
💄 Improve Checkbox the style for check don't align center in some cases. #14619 #14271
🐞 Fix Avatar change
src
not trigger reload if previous image load failed. #14606 @AhmedAlSammany🐞 Fix Modal
destroy
logic not process correctly. #14600 @xu-snow🐞 Fix Tooltip arrow not align when the content of
title
is less. #14667 @YangzhediCalendar
🐞 Fix AutoComplete
placeholder
not display when disabled. #14652 @tangjinzhou🐞 Fix Icon customize svg Icon miss viewBox. #14686
Less
🐞 Fix some TypeScript definitions. #14584 @boraikizoglu, #14591, #14640 @SylvanasGone, #14654 @kuitos, #12667 @yueyes, #14653, #14676 @kristof0425, #14684 @RunningCoderLee
3.13.0#
2019-01-26
Button
🌟 Button support
round
shape. #14236
Collapse
🌟 Add
expandIcon
to allow customization of Collapse icon. #14060
ConfigProvider
DatePicker
🌟 Will read format as default format in locale if provided. #14340
Tabs
🌟 Support customize bar node. #14368
Icon
Badge
🐞 Fix changing the count with
border-color
will raises an property readonly error. #14525
Modal
🌟 Add
mask
property support for Modal method. #14197🌟 Add
transitionName
andmaskTransitionName
property support for Modal method. #14273 @thomasJang
Input
🐞 Fix Input.Search style issue. Move
className
from inner input to top wrapper when withaddon
. #14461
TimePicker
🌟 Deprecated
allowEmpty
prop and useallowClear
instead. Sync style with DatePicker. #14490
Radio
🐞 Fix RadioButton trigger onChange twice in RadioGroup. #14523
Spin
🐞 Fix Table cannot click with loading when IE <= 10. #14511
Switch
🌟 Switch support
event
asonChange
,onClick
argument. #14560
Table
🐞 Fix style issue when use fixed column in Safari. #14550
Progress
🌟 All types support
successPercent
prop. #14412
Pagination
🐞 Fix wave style issue in Edge. #14469
3.12.4#
2019-01-19
🌟 Update the "Use in create-react-app" document to be compatible with upgraded create-react-app and react-scripts-rewired. #14385
🐞 Fix using autoprefixer 9.4.5 in postcss (webpack) will throw an error
Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed
. #14312🐞 Fix InputNumber style not correct in MenuItem. #14373
🐞 Fix Input.Search with enterButton style issue. #14397
🐞 Fix Input.TextArea autosize not correct when input number. #14375
🐞 Fix Slider focus style. 9202509
🐞 Fix the problem that the
prefixCls
property is passed to theEmpty
. #14404🐞 Fix the problem that Radio
onChange
will be override by RadioGrouponChange
.#14364
3.12.2#
2019-01-12
🐞 Fix the ineffectiveness of
className
prop for Anchor.Link. #14248🐞 Fix the incompatibility of float number for Badge. #14195 @ztplz
🐞 Fix the auto focus when popup layer is
open
still for DatePicker. #14092 @YangzhediDrawer
🐞 Fix label for vertical Form cannot be wrapped. #14135 @ranbena
🐞 Fix the wrong position for Modal.confirm in small screen. #14279
Radio
🐞 Fix the empty style for Select. #14204
💄 Simplify the implementation of Spin to improve performance. #14100
Table
🐞 Fix the unexpected call of
afterClose
for Tag when visible changes from false to true. #14200 @tangjinzhouTypeScript
🐞 Fix the TypeScript definition lack of
forceRender
for Modal. #14160🐞 Fix TypeScript definition of
sortDirections
which should be optional. #14182🐞 Fix the wrong TypeScript definition of
locale
for Table. #14245 @LeezQ🐞 Fix the TypeScript definition not extending from native
div
element for List.Item. #14171
🌟 Add new
Less
variables, including@btn-shadow
,@btn-primary-shadow
and@btn-text-shadow
. #14172
3.12.0#
2019-01-06
🎉 New component Empty, and improved empty data style of all components! 13651
🎉 Hindi locale added (hi_IN). #13776 @gurungrahul2
🎉 Kannada locale added (kn_IN). #13776 @gurungrahul2
🌟 Add
eye-invisible
Icon. b8630b3🌟 ConfigProvider component support prefixCls. #13389
Less
Input
🌟 Add Input.Password. #13342 @zy410419243
🌟 Support
allowClear
. #13939
Modal
🌟 Add
forceRender
support. f791a50🌟 Add
destroyAll
. #13409 @caolvchong🌟 Add
icon
to Modal.confirm/info/warning/error,iconType
is deprecated. 5c26635
🌟 Add
small
type Card component. #13180 @ndbroadbentForm
🌟 Add
switcherIcon
prop to Tree. #13592 @nick-ChenZe🌟 Mention add
defaultSuggestion
. #13695Dropdown
Button
Table
DatePicker
TimePicker
🌟 Update
rc-tree-select
to 2.5.0 to support use a ReactNode asnotFoundContent
in TreeSelect. 47b89e5🌟 Rate component support
tooltips
. 192e188🐞 Fixed Drawer prop
style
not working. #13850Upload
Popover
🐞 Fixed arrow of Popover shadow. #13935 @crazyurus
🐞 Fixed Popover top border disappear in IE9. #14064 @gyh9457
🐞 Fixed Radio style bug in Chrome. #3699
🐞 Fixed affix Menu flickering when scrolling. #13662
🐞 Fixed Steps style issue on IE9. #14001
🐞 Fixed nested Timeline last item missing line. #14108
🐞 Fixed spin never shows up when delay got initially set. #14100
Badge
🐞 Fixed animation jump when count is ReactNode. #13800
TypeScript
🐞 Fixed type define of DatePicker prop
disabledDate
. #14008 @vnguyen94🐞 Fixed Dropdown
onVisibleChange
type define bug. #13988 @travikk
3.11.3 🎅🏻#
2018-12-22
⚡️ Upgrade our toolchains (babel and webpack) to latest version and prettier all codes!
Table
🐞 Fixed that dropdown menu action not clickable. #13563
🐞 Fixed hovering components on Table sortable column. #13467
🐞 Fixed crash issue of selection Table under IE9/10. #13540
🐞 Fixed check-all checkbox state when Table
childrenColumnName
is specified. #13710💄 Remove work break styles in table cell for consistent behavior. #13624
💄 Rewrote the custom filter demo of Table. Link
🐞 Fixed padding of Button which children is
0
. #13596 @951565664💄 Chore Card header and loading UI.
💄 Optimized Spin wrapper styles and improve performance slightly. 2c7112b
🐞 Fixed border color of validated Input.Group. #13529 @morenyang
🐞 Fixed submenu animation of vertical-type Menu. #13597
🐞 Fixed width of WeekPicker. #13629
🐞 Fixed cursor style of disabled Radio.Button. #13642 @gianpaj
Dropdown
🐞 Fixed slight shift when menu is popped in Chrome. #12115 @gurungrahul2
🐞 Fixed unexpected scrollbar caused by dropdown placed at screen edge. 00564dd
🐞 Fixed
offset
props when Badgecount
is specified as a ReactNode. #13694🐞 Remove nested Form.Item negative margin. #13748
📝 Added a Select demo of Hide Already Selected. #13552 @SergeyVolynkin
🐞 Fixed padding of Comment actions. #13713
🐞 Fixed broken arrow style when customize Popover's background color. #13533 @gurungrahul2
🐞 Corrected Drawer
style
prop to outside wrapper. #11504🐞 Fixed one problem of incorrect state when Affix first mounted. #13737 @xuxinhang
🐞 Fixed Tabs cursor style of disabled tab. #13709
TypeScript
⚡️ Enhanced Table
ColumnProps
types aboutdataIndex
. #13605 @bondBo⚡️ Enhanced Table
TableRowSelection.onChange
arguments with generic types.#13761 @hahabazinga🐞 Fixed type of LocaleProvider's
children
. #12974🐞 Fixed Comment
author
type from string to ReactNode. #13670 @reichjustin🐞 Fixed type of Select
dropdownProps
's arguments. #13617 @SylvanasGone
3.11.2#
2018-12-10
🐞 Fixed Table
Cannot read property 'children' of undefined
error when customizecolumn.title
as ReactNode. #13542 @geraldchen890806🐞 Fixed another border problem of Button when customized less variable
@border-width-base
. #13534 @morenyang🐞 Fixed Upload don't support resolve
Blob
object whenbeforeUpload
returns a Promise. #13528 @huanz🐞 Fixed two props of Dropdown TypeScript definitions. #13536 @wangxingkang
3.11.1#
2018-12-08
🐞 Fixed the issue where the Avatar icon could not be centered vertically. #13408
🐞 Fixed the border problem of Button when customized less variable
@border-width-base
. #13413 @morenyang🐞 Fixed Comment does not correctly display line breaks. #13429
🐞 Fixed the issue that when the Alert is in
closable
, the icon will be covered by the text. #13440Button
Dropdown
Table
DatePicker
🐞 Fixed the blur method of the Slider. #13439
🐞 Fixed Cascader's i18n issues. #13486
3.11.0#
2018-12-02
3.11.0 brings two new Components, a lot of exciting changes and new features.
🔥 Added a new component ConfigProvider for user to customize some global setting. #12991
Component Fixes / Enhancements:
🌟 Avatar Added
srcSet
prop that is a list of sources to use for different screen resolutions. #12525 @philipodev🌟 Upgrade
rc-notification
to3.3.0
, Notification AddedonClick
prop that is called when the notification is clicked. #11832Transfer
🌟 Refactor Badge, support
count
as custom component. #12140 @supra28🌟 Slider Added
tooltipVisible
prop that whether Tooltip will always show. #12915 @zy410419243🌟 Support custom font-variant style through less variable
@font-variant-base
. #12691 @neemskiTable upgrade
rc-table
to6.4.0
Select upgrade
rc-select
to8.6.0
💄 Added
title
prop that Menu.Item support tooltip title when collapsed. #12952Cascader upgrade
rc-calendar
to9.8.0
🐞 Fix TextArea use resize observer to check textarea size. #13295
🐞 Fix Tabs renderTabBar style error when tabPosition is left or right. #13118
🐞 Fix Upload thumbnail icon broken styles. #13333
3.10.9#
2018-11-24
🐞 Fix disabled Checkbox label cursor style. #13199 @walker27
🐞 Fix TimePicker input exceeds the boundary of container. #13194
🌟 Adjust Table sort order from
desc -> asc
toasc -> desc
. #13069 @OvestLabs🐞 Fix Switch can be operated when loading. #13219 @jojoLockLock
🐞 Fix Carousel can not be interactive in fade mode. #13215
🐞 Fix DatePicker don't support
tabIndex
prop. #13265 @arifemrecelik🐞 TreeSelect won't call
loadData
when searching to avoid lagging problem. #13245
3.10.8#
2018-11-17
🐞 Fix pop-up menu background transparency.#13104
🐞 Fixed an issue where disabled Button does not full width in Popconfirm.#13119
🐞 Fixed an issue where Radio.Button in Radio.Group overridden Badge.#13132
🐞 Fixed a issue where RangePicker was not aligned in
small
mode.#13105🐞 Fix the problem that the Dropdown font size affects the avatar.#13091
🐞 Fixed an issue where tabBarGutter could not work in vertical mode.#12968
🌟 Adjusted the types of multiple typescript.
3.10.5#
2018-11-09
🎉 Ant Design Landing released!
📖 Published the new sketch resource of Ant Design.
Button
🐞 Fix the incompatibility for
Cascader[filedNames]
after3.7.0
version. #12970🐞 Fix that the show date in pop-up layer should be reset when date value is not modified successfully for
DatePicker
. #12929🐞 Fix the lose of type
cross
for Icon. #12970🐞 Fix the incorrect
mode
for collapsed Menu. #2782 #2783 #2786🐞 Fix the unnecessary
reflow
to avoid weird wave animation for Popover and Tooltip. #12942Table
🐞 Fix the disappearance when nested in Popover and Popconfirm for Tooltip whose children is
disabled
. #13001🐞 Fix the stuck problem when upload non-image file for Upload. #12948
🐞 Fix that
DOM Object
doesn't support property or methodremoveAttribute
inIE
andEdge
. #2423🐞 Remove the unnecessary wave animation for hidden elements. #12967
3.10.4#
2018-11-03
🌟 Support custom modal header style through less variable
@modal-header-bg
. #12914🐞 Fixed mask style not working for Modal.method. #12688
🐞 Fixed Checkbox missing check mark inside table in IE 11. #12597
🐞 Fixed FormItem having different height with help info. #12803
🐞 Fixed Divider expands Popover card width under Chrome. #10914
🐞 Fixed Avatar content not aligned in Popover. #10917
Button
Table
TypeScript
3.10.3#
2018-10-27
🌟 Improve util function
getScroll
TypeScript definition. #12784 @ztplz🐞 Fixed that Checkbox inside CheckboxGroup do not trigger
onChange
. #12642🐞 Fixed Calendar month picker not correct when set with
validRange
. #12675🐞 Fixed multiple Select drop-down bug when set
dropdownMatchSelectWidth
. #12816 @hengkx🐞 Fixed Card title overflow bug. #12680
🐞 Fixed Forminline help and extra overlapped. #12725
Table
🌟 Support custom Table filter backgrounds. #12775 @ivankravets
🐞 Adjust small table placeholder style. #12682
🐞 Fixed small size table header border missing in Firefox. #12840
🐞 Fixed checkbox align of small/middle size table. #12723
3.10.2#
2018-10-23
📝 Translated documentation patterns overview to English. #12637 @ilanus
🛠 Improve support vi_VN locale for DatePicker component. #12656 @hieuhlc
🐞 Fixed TimePicker style issue in IE11. #12707 jinyaqiao1102
🐞 Fixed Popconfirm defaultVisible. #12733
🐞 Fixed Table the border missing in Firefox. #12628
🐞 Add
touch-action: none
css on Slider to fix chrome warning. #12595🐞 Fixed Tabs ink-bar vertical css. #12276
🐞 Fixed vertical align issue of empty Button. #12681
🐞 Fixed Calendar
locale
prop should have priority. #12706🐞 Fixed Checkboxchecked indeterminate style. #12724
🐞 Fixed
prefixCls
not passed to Popconfirm's button. #12677 @concefly🐞 Fixed Edge ignoring
pointer-events:none
on Button's span. #12712 @dazboProgress
TypeScript
🐞 Fixed
trexpandedKeys
andonTreeExpand
definition missing in TreeSelect. #12648 @decadef20🐞 Fixed some definition of Icon. 3dbc357
3.10.1#
2018-10-12
🎉 Ant Design Mobile of Angular(NG-ZORRO-Mobile) released!
📝 Upgrade document
Real project with dva
to Real project with umi.Table
🐞 Fixed clicking all columns will trigger sort behavior even without
sorter
props. #12515🐞 Fixed extra "Sort" title hint of column. #12613
🐞 Fixed broken style of sort and right-aligned column. #12552
🐞 Fixed sort not working as expected when
columns
defined inrender
. #12571🐞 Fixed sorted column background color of small size Table.
🐞 Fixed overlap style of Table row selection Checkbox in chrome. 5bef1aa
🐞 Fixed broken style of Table inside Form.Item. #12554
DatePicker
🐞 Fixed Anchor text edge cut problem. #12520
🐞 Fixed that Drawer still cover page even set
mask={false}
. #12401🐞 Fixed disabled style missing of Input.TextArea when used as custom input in AutoComplete. #12594
🐞 Fixed Modal.confirm
prefixCls
prop not passing to mask element, and changed it's default value toant-model-confirm
. #12546🐞 Fixed an align issue of Input.Group in safari. #12493
🐞 Fixed an align issue of standalone
<Badge />
. #12419🐞 Fixed inconsistent arguments of
onExpand
when click Tree.DirectoryTree switch icon and tree node. #12567🐞 Fixed hasFeedback icon unexpected focused state in IE11. #12524 @siyu77
🐞 Fixed multiple Select will trigger
onFocus
andonBlur
repeatedly when click it multiple times. #12281 @Frezc🐞 Fixed long text overflow issue of circle type Progress.
TypeScript
3.10.0#
2018-09-30
🌟 Upload adds
openFileDialogOnClick
prop to allow setting whether to open the upload dialog when the component is clicked. #12347 @hengkx🌟 InputNumber adds
decimalSeparator
prop to allow setting a custom decimal. #12329 @amedora🌟 TreeSelect adds the
treeExpandedKeys
andonTreeExpand
props to control the expansion of the tree. #12145Transfer
🌟 Adds
disabled
prop. #12066
Modal
Table
🌟 Alert adds
icon
prop to allow setting a custom icon. Demo🌟 The following components add a
suffixIcon
prop, which is used to set the icon behind the input box. For details, please refer to the documentation.Cascader
DatePicker
Select
TreeSelect
TimePicker
🌟 Add some new less variables. f237eff
🐞 Fix Icon.createFromIconfontCN prepending
https
to thescriptUrl
. #12316🐞 Fix the issue with the
gutter
props of Row that doesn't work when using nested Col. #12320🐞 Fix the issue where the Tree.DirectoryTree component could not properly expand the node when the 'expandedKeys` prop had initial values. #12396
🐞 Fix the issue when the
render
prop of the Transfer component returns a ReactNode, thetitle
property of the list item shows an unexpected value. #12399🐞 Fix Tooltip not working with CheckboxGroup. #12427
🐞 Fix the issue that Button can still be clicked in IE9 under loading state. #12466 @snail
🐞 Fix the issue with mouse hover when using non-Input components in Input.Group. #12407 @hengkx
🐞 Fix some TypeScript type definitions. #12374 #12370 #12354 #12473
3.9.3#
2018-09-22
🐞 Fix
Select
render lag of long text in Chrome. #11456 #11843🐞 Fix
onOpenChange
handler not being called inRangePicker
for preset ranges. #12142@leijingdao🐞 Fix parameter
dontAnimate
togoTo
ofCarousel
, the parameter be used to closing animation transitions. #12205🐞 Fix the vertical alignment for the title of
Card
. #11036 #10576🐞 Fix Item key unexpected change on
List
component. #12299@douglasjunior🐞 Fix
confirmFilter
inTable
does not refresh immediately. 954c7 #12284Menu
🐞 Fix extra scrollbar when popup
Menu
inhorizontal
mode. #12152🐞 Fix
openKeys
have higher priority inMenu
. #12361 @tangjinzhou
Upload
Icon related
TypeScript
3.9.2#
2018-09-08
🐞 Title of children
Card
underCard
usingtab-card
has wrong padding. #12083🐞 Fix
AutoComplete
usingTextArea
as input, height adjust by manual has time delay. #12117🌟
Popconfirm
can detect whetheronVisibleChange
is triggered by Ok or Cancel buttons. #8614🐞 Fix something table header in
Table
using fixed header and columns display unnecessary scrollbar. #6515🐞 Fix
Spin
usingdelay
still render at first time. #12131Icon related:
3.9.1#
2018-09-03
🐞 Fixed the bug that
Tooltip
can not be triggered byIcon
. #12005🐞 Fixed the bug that
InputNumber
shows wrong UP icon. #12035🐞 Fixed the bug that
Modal
shows no icon in error confirm. #12026🐞 Fixed the bug that the icon is misaligned in
Popconfirm
. #12026🐞 Fixed the but that the icons are misaligned in
Card
'sActions
panel. #12016🐞 Fixed that the icons in
Form
,Alert
,TimePicker
have wrong theme. #12016🐞 Fixed that the icons are set to have 90deg rotation in the
header
property inCollapse
. #12016🐞 Fixed the issue that there are still old icons in some production environments. #12016 8b82f14
🐞 Fixed the bug that the new static method
Icon.createFromIconFontCN({...})
doesn't work and gives a warning. #12013
3.9.0#
2018-09-02
In September we brought an update for
3.9.0
. There are many new features in3.9.0
, Ant Design is getting stronger and solider.🔥🔥🔥 In the
3.9.0
version, we redraw all the icons, adding two new categories, more than 90 new icons. And the bit adds a variety of styles to each icon. To this end, we have rewritten the Icon component, replaced thefontface
icon withSVG
, adding a number of features that allow us to quickly use new icons and styles.💄 Replace the
css
font icon with theSVG
icon, see more discussion about it.💄 You can now render a two-color icon.
💄 We provide three theme of icons: outlined, filled, twoTone, default theme is outlined.
🌟 Two new categories, Edit Icons and Data Icons, have been added.
🌟 Add the
theme
attribute to set the theme style of the icon. #11971🌟 Added
component
attribute, you can externally pass a component to customize the control rendering result. #11322🌟 The
twoToneColor
property is added to control the theme color of the two-color icon. #11971🌟 Added static methods
Icon.getTowToneColor()
andIcon.setTwoToneColor(...)
to globally get and set the theme color of all two-color icons. #11971🌟 The new static method
Icon.createFromIconfontCN({...})
is added to make it easier to use icons hosted oniconfont.cn
. For more usage, please refer to Ant Design Pro - Introduction to Business Icons. #11322
🔥 Added a new component Skeleton.
🔥 Menu will automatically close up to fit width in
horizontal
mode.🔥 The
placement
of the drawer supportstop
andbottom
to accommodate more scenes.
In addition, our Ant Design Pro 2.0.0 version has also been released simultaneously, please see here for details.
Bugfix/Feature:#
🌟 Added Modal.open for optional icon dialog. #11982 @hsiehjack
🌟 Modal.info adds the configuration of
getContainer
. #11377🌟 Improve RangePicker footer UI by merging them.
🌟 The Anchor component adds
onClick
property. #11898🌟 The Tab component adds the
renderTabBar
property. #11856🌟 The Input component adds the
select
method. #11906🌟 Steps adds the
initial
attribute. #11180🐞 Fixed Steps dot style broken.
🐞 Fixed an issue where setting fontSize in the
headStyle
of the Card does not work. #11995🐞 Fixed an issue where the Button component wave animation was mix up. #11985
🐞 Fixed an issue where the Modal.confirm setting
centered
attribute didn't work. #11969🐞 Fixed an issue where setting the
suffix
andprefix
of the second Input in thecompact
mode of Input.Group would cause the right border to disappear. #11965🐞 Fixed an issue where Upload components might cause misplaced images when uploading many images. #11183
🐞 Fixed MonthPicker
renderExtraFooter
not working. #8184
3.8.4#
2018-08-27
🐞 Fixed an issue where the Tag component would cause a line break after deleting the tag.
🐞 Fixed
Failed to execute 'removeChild' on 'Node'
error when click Switch.
3.8.3#
2018-08-26
📖 Rewrite the documentation of Customize Theme and provider instruction for major
Less
variables. 6fd5e9 53dd82🐞 Fix the zoom animation style for Badge. #11870
🐞 Fix the abnormal width in IE and Edge for Cascader. #11857
🐞 Fix the blurry style in Windows Chrome for Checkbox. #11797
🐞 Fix that
style
prop is not effective for DatePicker.WeekPicker. #11738🐞 Fix the flash style for Drawer. #11813
🐞 Fix the border style for compact Input.Group with
prefix
orsuffix
. #11863Menu
🐞 Fix that overlong
description
is cut off for Steps. #11864🐞 Fix that the word maybe break in overlong
title
for Tooltip. #11722🐞 Fix that
custom prop
of TreeNode cannot be accepted for Tree. #11423🐞 Fix the effective area for Upload.Dragger. #11869
3.8.2#
2018-8-18
🐞 Fixed Tag still visible when initially setting
visible
prop to false. #11757🐞 Fixed Modal text got selected when opened by double click. #11777
🐞 Fixed style of Rate component while getting clicked. #11736
🐞 Fixed style of Badge component when its children is
display:block
. #84119d8Drawer
TypeScript
🐞 Fixed
selectable
prop is missing in TreeNode props. #11604 @apieceofbart🐞 Fixed
autosize
prop is missing in Input props. #11697
3.8.1#
2018-08-12
🐞 Fixed TimePicker unexpected long width. 80f8267
🐞 Fixed Tabs that focusable element in inactive panel cause tabs disappear. #11261
🐞 Fixed Badge
offset
x y axis order error. #11648 @tangjinzhouUpload
🐞 Fixed Anchor with
affix=true
doesn't work inside inner scrollable. #11688 @vitaliymaz🐞 Fixed card width in List.Grid. !11712
🐞 Fixed Radio align problem in safari. 754a22c
💄 Apply wave click animation to components Switch, Radio.Button and Tag. 9cf6ae6
TypeScript
💄 Migrate to new lifecycle methods, include components TimePicker, Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm. #11666 @dancerphil #11682 @dancerphil
3.8.0#
2018-08-05
Thanks to 24 contributors who send pull request to 3.8.0!
💄 Support TypeScript 3 and improve lots of definitions.
💄 Use tabular-nums font variant instead of monospaced numeric font family Tahoma. #11567 @tibdex
🌟 Timeline support
mode="left|right|alternate"
now. #11490 @jrvboesch🌟 Button added
block
prop which allow to fit parent container. #11500 @ilanusTree
Table
🌟 Added
rowSelection.columnTitle
to customize selection column title. #11042 @littleLane💄 Added demo of resizable columns.
💄 Support to select multiple rows when pressing
shift
. #11404 @RaphaelChauveau
Avatar
🌟 Added
onError
prop that is callback when image loading fail. #11285 @paranoidjk🌟 Added
size
prop for customize size of Avatar. #11256 @emersonlaurentino
🌟 Card added
headStyle
prop. #11407 @emersonlaurentino🐞 Fixed that Tooltip not working with DatePicker. #11451 @yociduo
🐞 Fixed that Tooltip not working with Input.Group. #11532 @yociduo
🐞 Fixed that DatePicker time panel text jumping when hovering. #11460
🐞 Fixed Tabs display issue when switch focus elements between panels. #11261
Select
💄 Support
data-*
attributes.🐞 Fixed that selected item don't display correct position in dropdown menu items. #11268
🌟 Calendar added
onChange
prop. #11476 @tangjinzhouModal
🌟 Progress added
strokeLinecap
to customize shape of edge. #11547 @blatinier🌟 Drawer added
className
and deprecatedwrapClassName
. #11609 @fergiar
3.7.2#
2018-07-25
DatePicker
Drawer
🐞 Fix style issue of dark theme Menu in Layout.Header. #11400 @hongxuWei
🐞 Fix the arrow buttons of InputNumber showing wrong position in a fixed table. #11408
🐞 Fix issue resulting in Select.Option shows wrong border radius in Select.OptGroup. 6cb6f5c
🐞 Fix issue resulting in
onChange
was trigged twice when click the filter icon of Table. #11164 @adybionka🐞 Fix issue resulting title of Modal.confirm shows scrollbar on Firefox. #11432
TypeScript
🐞 Fix type definition of Radio.Group. #11409 @eddiemoore
🐞 Fix type definition of TreeSelect. #11442 @JribiBelhassen
🐞 Fix type definition of Badge. #11421 @zongzi531
3.7.1#
2018-07-21
🐞 Fix popup content can't display in Drawer component.#11304
🐞 Card using
tabList
supportdisabled
prop.#11212🐞 Fix Link of Anchor not sync when
href
update.#11287 @tangjinzhou🐞 Fix Menu component style.#11299
🐞 Fix Drawer component don't have animation when
destroyOnClose
is set.#11307🐞 Fix DirectoryTree can't expand when
expandedKeys
is in control.#11366🐞 Fix Button with Tooltip under ButtonGroup style issue when Button is
disabled
.11321 @tangjinzhou
3.7.0#
3.7.0 is a heavy update that brings a lot of exciting changes and new features. Here are some highlights ✨:
🌟 Add
Tree.DirectoryTree
component as the built-in directory tree. #7749
Component Fixes / Enhancements:
Upgrade
rc-tree-select
to2.0.5
for TreeSelect, refactored to fix the logic of the check.🌟 Add
autoClearSearchValue
prop to clear the value of search input when multiple select is selected or deselected. 10996🌟 Add
searchValue
prop to set the value of search input. 6ff7dd8🌟 Add
maxTagCount
prop to set the max count of visible tags. fb96c9d🌟 Add
maxTagPlaceholder
prop to set the content when the tag is hidden. fb96c9d🌟 Search input now supports case sensitive search. #10990
🗑 Remove
label
prop and usetitle
prop instead in thetreeData
.
Upgrade
rc-upload
to2.5.0
for Upload.Dropdown
Upgrade
rc-table
to6.2.2
for Table. f2fddff🌟 Add
expanded
as the fourth param ofexpandedRowRender
prop to get the expanded state of current row. #10379🌟 Add the ability to override the filter menu without the fully controlled component. 59cc3a8 @chrvadala
🌟
filterIcon
prop supports to be a render function which returns ReactNode. 1af4392🐞 Fix the row dislocation problem when the column is fixed. #10392
🌟 Allow to pass
data-*
,aria-*
androle-*
props to the inner for Alert. f0b684d🌟 Add
alt
prop for Avatar to set the text when the image is unable to display. #10798🌟 Allow to pass
data-*
,aria-*
androle-*
props to the inner Input for DatePicker. e63f9d4🌟 Add
event
object as the second param ofonSearch
prop for Input.Search. #11015🌟 Add
onBreakPoint
prop for Layout.Sider to be the callback function when breakpoint is triggered. #10750 @nuintun🌟 Add
okButtonProps
prop to set the props of ok button and addcancelButtonProps
prop to set the props of cancel button for Modal. #10955 @djyde🌟 Add
strokeColor
prop to set the color of progress bar for Progress. #10725🌟 Add
buttonStyle
prop whose optional value isoutline
orsolid
to set the Radio.Group style. 60e3cfa🌟 Add
setDefaultIndicator
static function to set global indicator for Spin. #10787🌟 Add
visible
prop to set the visibility forTag
. 4ac0277Upgrade
rc-tree
to1.12.0
for Tree🗑 Deprecate
combobox
value forSelect[mode]
and please replace it withAutoComplete
. 53046a4🐞 Cascader adds
fieldNames
and discards the misspelledfiledNames
. #10896🐞 Fix Timeline dot not working with Tooltip. 0e3b67e
🐞 Fix border radius when avatar has custom size. e1e6523
3.6.6#
2018-07-07
🐞 Fix the style of the selected day for
DatePicker
. #6146 #9529🐞 Fix the style of the selected day for
DatePicker.RangePicker
. 004561b🐞 Fix the alignment style wrapped by
Form.Item
forCascader
. #9827 #11133🐞 Fix the background style of the
handler
forInputNumber
. 4aabc53🐞 Fix the header overflow in
FireFox
when the data is empty forTable
. #11135
3.6.5#
2018-07-02
🐞 Fixed wired
Transfer
repaint problem in IE or Edge. #9697🐞 Fixed
Card
background overflow when zoom in chrome. #9085TypeScript
🐞 Add custom local support in
Pagination
. babbbdd4🐞 Move max-width to ant-tooltip, so that it can be override by overlayStyle.maxWidth. e2b359e9
🐞 Adjust
Select
mirror style to avoid to long string. #11035
3.6.3#
2018-06-17
🐞 Fixed that capitalized extension of Upload image url couldn't be recognized. #10928 @sliwey
🐞 Fixed missing border of InputNumber when browser is zoomed in. #10562
🐞 Fixed that fixed element inside Spin cannot be fixed. #10196
🐞 Fixed broken border style of small table. #9754
🐞 Fixed missing
className
prop of Table'sfilterIcon
. #10937🐞 Fixed that Affix
offsetTop
andoffsetBottom
cannot be updated. #10874TypeScript
3.6.2#
2018-06-09
🐞 Fix the wrong status of check all checkbox in Table when data change. #10629
🐞 Fix border style of Button.Group.
🐞 Fix file list being reversed when
beforeUpload
returnsfalse
in Upload component. #10681🐞 Fix overflow of cell content in Calendar. #10808 @Yangzhedi
🐞 Fix the processing color of Badge not follows the
primary-color
.Spin
🐞 Fix custom icon does not follow the value of
size
. #10786🐞 Fix no
delay
issue when setsspinning
totrue
as default.#10727 @dreamerblue
TypeScript
3.6.0#
2018-06-02
🌟
Form
's error message now can be customized with ReactNode. #10136 @lovekonakona🌟
List
support customized configuration for position of pagination. #10581 @zheeeng🌟
Layout.Sider
now can be configured withlight
ordark
theme. #10142 @pd4d10🌟 Ant Design official site now supports offline mode. #10625
🌟
Transfer
addingstyle
andoperationStyle
props for further customization. @eduludi🌟
Message
adds a promised interface to handle callback. #10421 @zhujinxuan🐞 Fix compilation issue with typescript@v2.9.1 . #10729 @karol-majewski
🐞 Fix a bug in
Menu
where outer menu item not highlighting while inner item is selected. #8666 @stonehank🐞 Affix
offsetBottom
not working. #10674
3.5.4#
2018-05-26
🐞 Fix
showSearch
onCascader
not working.968488a2🐞
Badge[status]
supportTooltip
.#10626🐞 Fix
text-align
on parent element affectsSpin
.#10643 @wmzhong💄
Table
break line style change frombreak-all
tobreak-word
.#10655 @clinyong🌟 When
Search
not defineenterButton
, click search icon will triggeronSearch
. 36ffe7e1
3.5.3#
2018-05-20
🐞 Fix
Affix
with offsetTop === 0, value becomesundefined
problem #10566🐞 Fixed issue with shaded
Input.Group
component shadows#10230🐞 Fixed issue where the
Transfer
component checkbox event fired twice #10480💄 Unifying the name of the variable 12d3046
💄 Fine-tuned the style of
Dropdown
8e2f72f💄 The components of the Chinese document will now be demonstrated using Chinese language packages. 9b17a94
💄 The main theme switch was changed to
antd-theme-generato
, thanks to the work of @mzohaibqc.TypeScript
3.5.2#
2018-05-13
🐞 Fixed
Table
filter doesn't work when click checkbox. #10452🐞 Fixed
Cascader
displayRender z-index issue. #10433🐞 Fixed
Button
Types of property 'ref' are incompatible. #10405🐞 Fixed the height of
Form
item when checks position is dithered. #10445🌟 Allow to use any CSS units for
Layout
width. #10479
3.5.1#
2018-05-09
🐞 Fixed broken style of Input.Group under Form. #10371
🐞 Fixed overlay style of Select. #10383
🐞 Remove focused style of Collapse.
🐞 Remove unnecessary
z-index
of Input.Group and Checkbox. #9840 #10385🐞 Fixed that monospaced font family can't be bold.
Table
TypeScript
🐞 Fixed Breadcrumb.Item type. #10372 @karol-majewski
🐞 Fixed Table
rowSelection
type. #10374
3.5.0#
2018-05-04
🌟 Add
title
prop toBadge
that shows when hovering it. 74d81c2 @ludwigbacklund🌟 Add
successPercent
asProgress[format]
argument. #10096🌟 Update
rc-notification
to 3.1.0 so thatNotification
support setmaxCount
. #10161 @jzhangs🌟 Update
rc-cascader
to 1.13.0 so thatCascader
support setfiledNames
. react-component/cascader#23 @405go🌟 Add ability to update
Notification
props by key. react-component/notification#40 @yevhen-hryhorevskyi🌟
List
support pagination by default. #10135Table
🌟 Column
sorter
function is passedsortOrder
as param. #10306 @kumarashwin🐞 Fix merged header cell border. #10359
🐞 Fix lost of user selection on data updates. #10332 @chrvadala
Menu upgrade
rc-menu
to7.x
#10305🌟 Better aria-* attributes support. react-component/menu#137
🌟 Improve Menu performance by avoiding unnecessary updates. react-component/menu#133
🌟 Support passing props through to MenuItem list item. react-component/menu#135
🐞 Minor key shortcut bug fixes. react-component/menu#132
Collapse
🌟 Support custom
Collapse
styles with less. #9943 @davidhatten🌟 Update
rc-collapse
to 1.9.0 to addCollapse
keyboard support. react-component/collapse#84 @kossel
Select
🐞 Fix type for
placeholder
. #10282 @thomasthiebaud🐞 Fix extra space taken up when arrow disabled. #10296
🐞 Fix property
value
typescript type. #10336 @paranoidjk
Input
Form
🐞 Fix typescript interface
ComponentDecorator
. #10324 @paranoidjk
🐞 Fix dashed
Divider
. #10216🐞 Fix
Spin
container interaction. #10227🐞 Fix
Notification
icon hover color. #10272🐞 Fix
Upload
propertylastModifiedDate
name. #10315 @danielg2002🐞 Fix
Button
props type, useReact.HTMLProps
. #10229 @whtsky🐞 Fix less var naming convention. #10275
3.4.3#
2018-04-23
🐞 Fix style lose bug when use tree shaking in webpack@4. #10197 @Aladdin-ADD
🐞 Fix
Menu
item's clickable region in dark theme. #10187 @dgeibi
3.4.2#
2018-04-22
💄 Deployed site by netlify to avoid blocking by GFW.
🐞 Fix TypeScript definitions of Menu, Tooltip, Card, Anchor, Avatar, Form, Tabs, Transfer, Tree, AutoComplete and etc.
💄 Added
sideEffects
topackage.json
for better Tree-Shaking. #10043 @Aladdin-ADDList
🐞 Fix wrong preview image of Upload list when file.url contains url params. #10102
🐞 Fix Progress when percent is out of range. 0eb8357
Menu
🐞 Fix that sometimes controlled input in Form cannot be edited. #9790
🐞 Fix padding jumping issue of loading Card. #10052 @zheeeng
🐞 Fix that Avatar's fallback text don't scale as the text avatar does. #10184
🐞 Fix Table
getCheckboxProps
cannot be updated as expected. #10133🐞 Fix CheckboxGroup
prefixCls
prop not passed to Checkbox. #9950
3.4.1#
2018-04-08
🐞 Fix TypeScript type error caused by code error of Badge. #9931
💄 Improve clicking region of Card
actions
. #9882🐞 Fix Divider style issue when used with float elements. #9956
🐞 Fix style issue of Form in advanced-search mode. #9907
🐞 Add
onHeaderRow
TypeScript type definitions for Table. #9902 @Nokecy💄 Improve the customized-icon demo of Tree. #9893
🐞 Fix image url display with non-image extension in Upload. #9936
3.4.0#
2018-04-01
Tree
🛠 In this version, we refactored the underlying code of Tree to resolve some long living issues.
🌟 Added
defaultExpandParent
for expanding parent at first render.🌟 Added
disabled
for disabling the whole tree.🌟 Added
TreeNode[icon]
to allow setting custom node icon.🌟 Improved the check logic for disabled TreeNode.
🌟 Anchor added
getContainer
for setting the container of scroll content.🌟 Table added a new less variable
@table-expanded-row-bg
. #9789🐞 Fixed a less syntax error. #9832 @jojoLockLock
🐞 Fixed
moment.locale
invoking error in LocaleProvider. #9853🐞 Fixed issue resulting in
style
of WeekPicker not works. #9848💄 Improved style of Modal for long contents. #9592
🌟 Added new locale Slovenian.
3.3.2#
2018-03-24
🐞
Carousel
: Upgradereact-slick
version to fix width calculation. #3659💄
Rate
: Adjustdisabled
style. #9747💄
Modal
: Adjustconfirm-modal
style to fix display issue when content use grid layout. #9374💄
Menu
: Adjust style to fix mouse trigger event region. #9666 @dgeibi🐞
Upload
: Fix type offile
onbeforeUpload
function. #9775🐞
Button
: Fixtwo-chinese-words
space not re-calculate when text changed. 4502ad8
3.3.1#
2018-03-18
💄 Tweak danger button focus style.
🐞 Fix a show error when the value of enterButton is a button element. #9639
🐞 Fix missing key of
column.title
in Table .#9658 @terence55🐞 Fix
scroll: { x: true }
not working if.ant-table-scroll table
width isauto
. #9704🐞 Fix when the helper message disappears, the input box will shake. #8831
🐞 Fix isMoment call in
TimePicker
will report error in parcel. 85c78e4🐞 Tweak
Table
border radius. #9674
3.3.0#
2018-03-12
🌟 Add
afterClose
prop forAlert
to achieve smooth unmount. #9448 @Hughen🌟 Add
validRange
prop forCalendar
to set the date range. 71f65a0 @Rohanhacker🌟 Add
defaultActiveTabKey
prop forCard
to initial TabPane's active key. 30fe88d @u3uDatePicker
🌟 Add
orientation
prop forDivider
to set the alignment of text in divider. #9275 @jrvboesch🌟 Add
keyboard
prop forModal
to set whether Modal could be closed byEsc
key. #8818🌟 Improve the TypeScript definition of
event
param inonChange
prop forRadio
andCheckbox
. #9574Table
🌟 Add
position
prop inpagination
prop to set the position of pagination. #9357 @kanweiwei🌟 Add event param of
onSelect
prop inrowSelection
prop. #9376 @kanweiwei🌟 Add
columnWidth
prop inrowSelection
prop to set the column width of selection. #9474 @SimpleFrontend🐞 Fix border radius issue in
Chrome
forTable
. af8e54f
🌟 Add
pendingDot
prop forTimeline
to set icon of ghost node. #9546 @SimpleFrontend🌟 Add
inputReadOnly
prop forTimePicker
to set if it's read only. 4a69446 @JesperWe🌟 Add
dropdownClassName
prop forTreeSelect
. 69b154f 56e4ce0🌟 Improve the preview for
Upload
when uploading the file of non-image format. #9621 @zswang🐞 Fix
successPercent
prop that cannot decide the success status forProgress
. #9382🐞 Fix font size for
Tabs
. #9509🐞 Fix that disabled parent node cannot spread for
Tree
andTreeSelect
. #9539
3.2.3#
2018-03-02
🐞 Fix props
onPopupScroll
ts define inSelect
. #9475 @twobin🐞 Fix
Table
filter dropdown menu popup container. #9209🐞 Fix
Timeline
head custom style error in chrome. #9429 @vthinkxie🐞 Fix
Select
dropdown border. 82092c1🐞 Fix compatibility with less 3. #7850
🐞 Fix
DatePicker.WeekPicker
year. #9463🐞 Fix
Button.Group
align issue in chrome. #9457
3.2.2#
2018-02-24
🌟 Add font-family variable for
Pagination
. #9351🌟 Add font-weight variable for
Badge
. #9352🐞 Fix table custom spin indicator. #9355
🐞 Fix
Form.create
. #9331🐞 Revert typescript definition of
column.dataIndex
. #9393🐞 Fix last menu item in Sider could be blocked by collapse trigger. #9398 @MJ111
🐞 Fix badge works wrong in dot mode. #9359 @khayalan-mathew
3.2.1#
2018-02-11
🌟 Add icons of some famous products. c04377e5
Mention
🌟
multiLines
mode will support autosize.🐞 Fix paste not working when
placeholder
is specified. #9215
Table
Select
🐞 Fix wrong scroll position when navigating active item with keyboard. #9276
🐞 Fix arrow position in IE11.
🐞 Fix issue that file item showing
uploading
when UploadbeforeUpload
return false. #8020🐞 Fix misplace of feedback icon of
vertical
layout Form. #9153🐞 Fix loading style missing of empty children Card. #9258
🐞 Fix background color of Avatar when image source is not existed. #9278 @andriijas
🐞 Fix RangePicker
Cannot read property 'locale' of undefined
error when select end date. #9267🐞 Fix style problem when using disabled button with Tooltip inside ButtonGroup. #9296 #9296
🐞 Fix z-index of Dropdown's submenu. #9218
3.2.0#
2018-02-04
🌟 Add new
tabBarGutter
prop to Tab to allow setting gutter between tabs. #8644 @lixiaoyang1992🌟 Add new
hasSider
prop to Layout to avoid render error when server rendering. #8937🌟 Add new
successPercent
to Progress to allow showing two phases. Demo🌟 Add new
iconType
prop to Alert to allow setting icon type. #8811 @minwe🌟 Add
id
prop to DatePicker. #8598 @mgrdevport🌟 Add new
forceRender
prop to Collapse to allow rendering hide panel. #9192 #Pyroboomka @paulcmasonRangePicker
🌟 Improve
ranges
prop to allow passing function to it. #8281🐞 Fix issue resulting in can not input start date manually. #6999
🐞 Fix issue resulting date panel being closed without animation when click on the preset range. #6364
🐞 Fix issue resulting
onOk
is not being trigged, when click on the preset range. #7747
Select
🌟 Improve
onChange
,onDeselect
, they will receive selectedOption
as second parameter.🐞 Fix issue resulting in
onSelect
is not trigged when using automatic tokenization. #9094🐞 Fix the missing scrollbar in Chrome.
🌟 Improve Table's
rowSelection[getCheckboxProps]
prop, now the all the properties returned bygetCheckboxProps
will be passed to checkbox. #9054 @mgrdevport🐞 Fix issue resulting in Calendar's
mode
not being allowed to be changed from outside. #9243 @mgrdevport🐞 Fix issue resulting AutoComplete showing wrong border when showing validation message.9f2b490
🐞 Fix issue resulting in DatePicker showing wrong time in the control mode. #8885
🐞 Fix issue resulting in TextArea showing wrong height in Edge. #9108 @cuyl
🐞 Fix issue resulting in Tabs showing wrong tab style when using
type="card"
combine withtabPosition="bottom"
. #9165 @ryanhoho🌟 Add new Kurdish locale.
3.1.5#
2018-01-27
🐞 Fix Select Options were disappeared when click the scrollbar in IE11. #7934 @tianlang89757
🐞 Fix Form
getFieldDecorator
referenced item will conflicted when using the same id. #9103 #7351🐞 Fix RangePicker i18n issue which will shown the last language when change the language. #8970
🐞 Fix DatePicker shown wrong in the control mode. #8885
🐞 Fix Table shown emptyText when loading state. #9095 @sallen450
🐞 Fix wrong font family. commit/506f97
📖 Add some TypeScript type definitions
Add
duration
for Notification. pull/9120 @duhongjunAdd
style
for Steps. pull/9126 @wanliyunyan
🌟 Optimize Avatar default background color. commit/275946
🌟 Add the less variable for Slider and Menu. pull/9065 pull/9115 @mrgeorgegray
3.1.4#
2018-01-21
🐞 Fix ButtonGroup z-index issue. #9014
🐞 Fix Dropdown.Button can not be fully disabled. #8991 @sallen450
🐞 Fix List
grid
do not support xxl. #9019🐞 Fix RangePicker can not cancel selected start date when the panel is closed. #8839
🐞 Fix Tabs error margin. commit/200d6c
🐞 Fix WeekPicker shows error weeks. #9021
🐞 Fix some TypeScript type definitions.
Add
subMenuCloseDelay
andsubMenuOpenDelay
for Menu. #8976 @RohanhackerRefactor DatePicker types. commit/0bb531
🌟 Add some new less variables.
About Checkbox and Radio: #9003 @mrgeorgegray
About Breadcrumb: #9022 @mrgeorgegray
🌟 Add aliyun icon.
3.1.2#
2018-01-13
🐞 Fix Button can not display
0
. #8733 @Cuihongsen🐞 Fix extra scrollbar in Table and List caused by Spin. #8799
🐞 Fix can not pass function to TableemptyText. #8871
🐞 Fix now working DropdowntransitionName.
🐞 Fix issue resulting in font changes when enter number in Input.#8636
🐞 Fix issue resulting in wrong locale text when import multiple locale files. #8785
🐞 Fix
locales
in dist/antd-with-locales.js has aextra
default key. #8881🐞 Fix some TypeScript type definitions. 4cc29bc 693e734 67e956d ecd4177 33119ec 88e0c9b
🌟 Optimize Chinese quotes displaying.
3.1.1#
2018-01-08
📖 Published the new site and design guideline.
📖 Updated the guideline of real project with dva to roadhog 2.0. 5dcf1c0
📖 Published the new sketch resource of Ant Design 3.0. 22dfe88
🐞 Fix contextMenu event for trigger prop in the TypeScript definition of Dropdown. #8646 @cjahv
🐞 Fix HOC in Button not inserted space between Chinese words.
🐞 Fix the style compatibility in IE 11 for List Component. #8784
🐞 Fix notFoundContent prop not working for Select Component. #8809
🐞 Fix the warning for BackTop Component in React 16. #8848
🐞 Fix unexpected scrollbar for List Component when setting gutter. #8799
🐞 Fix to support complete href link for Anchor.Link Component. #8808
🌟 Optimize the font family of Chinese quote. c6fcc31
3.1.0#
2017-12-29
Happy 2018 !~ 2018 2018 2018 coming!~~~
🐞 Fix ant-spin-container overflow resizing for Spin component. #8602 @jhsu
🐞 Fix extra padding in Table small with fixed columns. #8724
🐞 Fix Checkbox.Group align issue in Form. #8739
🐞 Fix unexpected scrollbar in Affix. #8606
🐞 Fix List component "No Data" mixed with loading. #8647
🌟 Add onKeyUp TypeScript definition to Input component. #8705 @delesseps
🌟 Add
showArrow
for disabling arrow icon in collapse panel. #8536 @apieceofbart🌟 Rate add
allowClear
for reset when click again. #8627🌟 Add responsive for BackTop. #8719 @JetRunner
🌟 Add
destroyOnClose
to Modal component to support unmount child components on onClose. #8769 @Rohanhacker🌟 Pagination add
hideOnSinglePage
for support hide it when only one page. #8615 @camsong🌟 Support customize spin for List component.
👻 Support open official demo in CodeSandbox.
3.0.2#
2017-12-17
📝 Provide a migration helper for antd@3.0. e71b68dd
📝 Rewrite CONTRIBUTING Guideline
🌟 Optimize notification display in small screen. #8631
🌟 Optimize Pagination design and fix some issues of alignment and margin.
🐞 Upgrade to
react-slick@0.16.0
for peerDependencies warning. #8455🐞 Fix not working
size
property in fixed-header Table. #8577🐞 Fix not working
locale
property of DatePicker/RangePicker. #8635🐞 Fix Popover arrow position and size cannot be overridden by less variable. #8548 #8549
🐞 Fix not working
notFoundContent
of AutoComponent. #8553🐞 Tweak RangePicker vertical align position.
🐞 Layout.Sider breakpoints is same as Grid's now. #8620
🐞 Fix submenu still showing in a collapsed menu when collapsedWidth is
0
. #8587🐞 Fix Card's
Meta.title
text overflow not working. #8597🐞 Fix pagination margin problem of bordered List. #8562
🐞 Fix Menu's submenu cannot open when specified non-existed
defaultOpenKeys
. #8475🐞 Fix type name collisions of
InputProps
andSearchProps
in Input, AutoComplete, Transfer. #8478
3.0.1#
2017-12-11
Remove useless DOM wrapper of Card, so that Card's DOM structure will be the same as Card of 2.x.
Fix that missing
antd/lib/style/v2-compatible-reset.css
. 28d13e2Fix that Affix will be overlap when it is higher than viewport. 31a0654
Fix the open animation of Collapse. edd592c
Fix the alignment of large size Input and Button in Form. #8459
Menu
Fix compile error of style of Notification. #8437
Fix the background color of mini Pagination. e13c6d8
Table
TypeScript
3.0.0#
2017-12-04
Learn more in the Ant Design 3.0 announcement post.
Major Changes#
New color system, We changed our primary color from 『
#108EE9
』 to 『#1890FF
』, we called the new primary color "拂晓蓝 (Daybreak Blue)" which means the color of the sky at daybreak.New design of components.
Increased the base font size from 12px to 14px.
Changed default locale to
en_US
.Support React 16.
Better TypeScript support.
New List component.
New Divider component.
30 New icons.
⚠️ Read it before migration#
We suggest you upgrade to latest 3.x version directly.
Some APIs may be deprecated in other 3.x versions which don't described below, please pay attention to warning in browser console and upgrade them.
We strongly suggest upgrade react to 16 or newest for better support and performance, which could be conduct via React 16 upgrading.
Then you can migrate to antd@3 by following
Breaking Changes
section.
Breaking Changes#
We provide a migration tool to help you find deprecated usages in your codebase.
Card's
noHovering
has been renamed tohoverable
, and its default value now istrue
.Added new Grid breakpoints. #7230
Form
getFieldDecorator
'sexclusive
option has been removed.Added
Form.createFormField
, and you must use it to wrap field data returned inoption.mapPropsToFields
:import { Form } from 'antd'; Form.create({ mapPropsToFields() { return { - name: { value: 'antd' }, + name: Form.createFormField({ value: 'antd' }), }; }, })
Improved global reset style, if you encounter style problem after upgrading, you can try import our v2 compatible style.
import 'antd/es/style/v2-compatible-reset';
Or use less
@import '~antd/es/style/v2-compatible-reset.less';
Since we changed default locale to en_US, LocalProvider is not required any more for English users.
We don't set
size="large"
toInput
inForm
by default any more.Input.Search
🔍 icon don't be interactive anymore, you can use newenterButton
prop to add a button after input.UMD version of
dist/antd.js
doesn't include moment any more, you need add moment by yourself if you are using the UMD version.<html> <head> + <script src="https://unpkg.com/moment@2.19.3/moment.js"></script> <script src="https://unpkg.com/antd@3.0.0/dist/antd.js"></script> </head> </html>
Removed Deprecations#
🗑 DatePicker.Calendar has been removed, you can use Calendar directly.
🗑 DatePicker's
toggleOpen
prop has been removed, useonOpenChange
instead.🗑 Form's
inline
,horizontal
,vertical
props has been removed, uselayout
instead.🗑 Input's
type
prop has dropped textarea support, please use Input.TextArea instead.🗑 Mention's
toEditorState
has been removed.🗑 Select's
multiple
,combobox
,tags
props has been removed, usemode
instead.
Features and Improvements#
🌟 Tabs added new size
size="large"
.🌟 Row's
gutter
now support responsive setting, you can writegutter={{ sm: 16, lg: 32 }}
.🌟 Spin added new
indicator
prop to allow setting custom indicator. #7977 @kossel🌟 Input.Search added new
enterButton
prop to allow setting custom search button.#7596🌟 Mention added new
placement
prop to allow setting the popup direction.🌟 Carousel added new
next()
,prev()
,goTo(slideNumber)
methods to allow controlling slides programmatically.🌟 Button added link support, Button with
href
prop will render to<a>
. #8343🌟 Steps was refactored, first rendering won't flash. #6010
🌟 Switch added new
loading
prop to show a loading status.Menu
🌟 We refactored it with rc-trigger for delay popup and auto overflow in viewport.
🌟 Added new
subMenuOpenDelay
andsubMenuCloseDelay
props to allow setting delay time for submenu toggling.🌟 Added new
forceSubMenuRender
prop to render submenu even if it's collapsed. #5586
Form
🌟 Added animations for validation message showing.
🌟 Added field conditional rendering support. #react-component/117
Message
🌟 Allow
duration
optional. #7857 @monkindey
Badge
🌟 Added new
offset
prop to allow setting the offset of status point.🌟
status
can use withchildren
now. #8164
Card
DatePicker
TimePicker
🌟 Added new
hourStep
,minuteStep
,secondStep
props to allow customizing time steps. Demo🌟 Added new
focusOnOpen
prop to focus input after panel is open.
Table
🌟 Added new
components
prop to allow overriding default table elements.// You can override following elements const components = { table: MyTable, header: { wrapper: HeaderWrapper, row: HeaderRow, cell: HeaderCell, }, body: { wrapper: BodyWrapper, row: BodyRow, cell: BodyCell, }, }; <Table components={components} columns={columns} data={data} />;
🌟 Added new
onRow
prop to allow passing custom props to table body row.🌟 Added new
onHeaderRow
props to allow passing custom props to table header row.🌟 Added
column[onCell]
to allow passing custom props to table body cell.🌟 Added
column[onHeaderCell]
to allow passing custom props to table header cell.🌟 Added
column[align]
to allow setting how text aligns.🌟 Added
column[defaultSortOrder]
to allow setting default sort order. #8111 @megawac🌟 Added
rowSelection[fixed]
to allow fixing the selection column.🙅 Deprecated
getBodyWrapper
, please usecomponents
instead.🙅 Deprecated
onRowClick
,onRowDoubleClick
,onRowContextMenu
,onRowMouseEnter
,onRowMouseLeave
, please useonRow
instead.<Table onRow={(record) => ({ onClick: () => {}, onDoubleClick: () => {}, onContextMenu: () => {}, onMouseEnter: () => {}, onMouseLeave: () => {}, })} />
Select
🌟 Option's value can be a number in single or multiple mode.
🌟 Added new
maxTagCount
andmaxTagPlaceholder
props.🌟 Added new
showAction
prop to allow setting the trigger action for popup.🌟 Added new
onMouseEnter
andonMouseLeave
callback.
LocaleProvider
🇮🇸 Added Icelandic. #7561 @paunovic-stefan
🇪🇬 Added Egyptian Arabic. #7888 @mohamed-seada-1994
Bug fixes#
Form
🐞 Fixed issue result in Input icon is hovered by feedback icon.
🐞 Fixed feedback icon not centered in large input.
🐞 Fix Menu key press error. #8089
Other things#
Don't need set
allowSyntheticDefaultImports
when using in TypeScript.We removed
react@0.14
andreact@15
frompeerDependencies
, thoughantd@3.0
still works on old React versions, but we highly recommend you upgrading to React 16 since we may use the new features only exists in React 16 in the future. See React 16Fully es module support, if you are using webpack 3, you can set babel-plugin-import's
libraryDirectory
toes
to enable tree shaking .We will support 2.x branch until June in next year.