order | title | toc | timeline |
---|---|---|---|
6 |
Change Log |
false |
true |
antd
strictly follows Semantic Versioning 2.0.0.
- 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.
2018-06-23
- ๐ Fixed
Steps
theme@process-icon-color
. #10973 - ๐ Fixed style of RangePicker with preset ranges. #10986
- ๐ Fixed
Dropdown
non-boolean attribute warning. #7798 - TypeScript
2018-06-17
- ๐ Fixed that capitalized extension of Upload image url couldn't be recognaized. #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. #10874 - TypeScript
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
- ๐ Fix custom icon does not follow the value of
- TypeScript
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 promisfied 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
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
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
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
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
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. #10135 - Table
- ๐ 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
- ๐ Column
Menu
upgraderc-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
- ๐ Support custom
- Select
- ๐ Fix type for
placeholder
. #10282 @thomasthiebaud - ๐ Fix extra space taken up when arrow disabled. #10296
- ๐ Fix property
value
typescript type. #10336 @paranoidjk
- ๐ Fix type for
- Input
- Form
- ๐ Fix typing for
Form.onValuesChange
. #10231 @whtsky - ๐ Fix typescript interface
ComponentDecorator
. #10324 @paranoidjk
- ๐ Fix typing for
- ๐ 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
2018-05-03
- ๐ Fix file object is empty and file name not showing in Upload. #10319
2018-04-28
- ๐ Fix that Upload file in
onChange({ file })
is not a File instance introduced in3.4.2
. #10293 - ๐ Fix style lose bug when use tree shaking in webpack@4. #10217 @whtsky
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
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-ADD - List
- ๐ 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
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 extention in Upload. #9936
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 - ๐ Fixed type definition of Layout.Sider. #9885 @zachguo
- ๐ Improved style of Modal for long contents. #9592
- ๐ Added new locale Slovenian.
2018-03-25
- Revert Upload
file
type change in previous version which causes breaking change.
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
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
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 @u3u DatePicker
- ๐ 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
. #9574 Table
- ๐ 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
- ๐ 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
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
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
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 childen Card. #9258
- ๐ Fix background color of Avatar when image source is not existe. #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
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 settting icon type. #8811 @minwe - ๐ Add
id
prop to DatePicker. #8598 @mgrdevport - ๐ Add new
forceRender
prop to Collapse to allow rendering hide panel. #9192 #Pyroboomka @paulcmason - RangePicker
- ๐ 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
- ๐ Improve
- Select
- ๐ Improve
onChange
,onDeselect
, they will receive selectedOption
as second paramteter. - ๐ Fix issue resulting in
onSelect
is not trigged when using automatic tokenization. #9094 - ๐ Fix the missing scrollbar in Chrome.
- ๐ Improve
- ๐ 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 validattion 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.
2018-01-28
- ๐ Revert #9141 since it causes year and month can not be selected in DatePicker.
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
- ๐ Add Icon
file-word
. #9092 #9061 - ๐ Fix wrong font family. commit/506f97
- ๐ Add some TypeScript type definitions
- Add
duration
for Notification. pull/9120 @duhongjun - Add
style
for Steps. pull/9126 @wanliyunyan
- Add
- ๐ Optimize Avatar default background color. commit/275946
- ๐ Add the less variable for Slider and Menu. pull/9065 pull/9115 @mrgeorgegray
2018-01-21
- ๐ Fix ButtonGroup z-index issue. #9014
- ๐ Fix Dropdown.Button can not be fully disabled. #8991 @sallen450
- ๐ Fix Layout error responsive docs. #8995 @ReedSun
- ๐ 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 @Rohanhacker - Refactor DatePicker types. commit/0bb531
- Fix Input
maxLength
type definitions. #9046 @Riokai
- Add
- ๐ Add some new less variables.
- About Checkbox and Radio: #9003 @mrgeorgegray
- About Breadcrumb: #9022 @mrgeorgegray
- ๐ Add aliyun icon.
2018-01-14
- ๐ Fix error when passing
null
locale
to LocaleProvider.
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 Table[emptyText]. #8871
- ๐ Fix now working Dropdown[transitionName].
- ๐ 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
- ๐ Add some new less variables b9b5aba 5931b20 c9d7397
- ๐ Optimize Chinese quotes displaying.
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
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 compenents 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.
2017-12-22
- ๐ Add React.SFC type for Form.create return value. #8672
- ๐ Fix form item height and align problem. #8701
- ๐ Improve input addon size. #8680
- ๐ Fix table size of fixed column. #8660
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 overrided 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
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
. 28d13e2 - Fix that Affix will be overlap when it is heigher than viewport. 31a0654
- Fix the open animation of Collapse. edd592c
- Fix the aligment 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
2017-12-04
Learn more in the Ant Design 3.0 announcement post.
- 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.
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 removeed. -
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/lib/style/v2-compatible-reset';
Or use less
@import '~antd/lib/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>
- ๐ 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.
- ๐ 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
- ๐ Allow
- Badge
- ๐ Added new
offset
prop to allow setting the offset of status point. - ๐
status
can use whithchildren
now. #8164
- ๐ Added new
- Card
- DatePicker
- TimePicker
- ๐ Added new
hourStep
,minuteStep
,secondStep
props to allow customizing time setps. Demo - ๐ Added new
focusOnOpen
prop to focus input after panel is open.
- ๐ Added new
- 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: () => {}, })} />
- ๐ Added new
- 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
- ๐บ๐ฆ Added Ukrainian. #8169 @anxolerd
- 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
- 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 16 - Fully 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.
Visit GitHub to read 2.x
change logs.
Visit GitHub to read change logs from 0.x
to 1.x
.