72 KiB
Change Log (The following content is translated by Google)
ant-design-vue
strictly follows Semantic Versioning 2.0.0.
Release Schedule
- Weekly release: patch version for routine bugfix.
- Monthly release: minor version for new features.
- Major version release is not included in this schedule for breaking change and new features.
2.0.0-rc.1
2020-11-14
- đđđ
- đ Menu cancel the default lazy loading, improve the first animation effect, optimize the Bezier curve function, and make it smoother #3177
- đ Fix Select search function failure problem #3144
- đ Fix the Drawer component does not have automatic focus, which can not be closed directly by the ESC button #3148
- đ Fix the incorrect position of popover elements in Popover #3147
- đ Fix CountDown not updating problem #3170
- đ Fix multiple errors or missing Ts types
2.0.0-beta.15
2020-11-08
- đ Optimize the Menu animation to make it smoother #3095
- đ Optimize VirtualList to avoid invalid render #2e61e9
- đ Fix Menu overflowedIndicator not taking effect #689113
- đ Select
- đ Fix DatePicker default formatting invalid problem #3091
- đ Fix Table customRow configuration event not taking effect #3121
- đ Fix the style of TreeSelect search box [
ee4cd3c
](https://github.com/vueComponent/ant-design-vue/commit/ee4cd3c35a
) - đ Fix Ts type error or missing problem
2.0.0-beta.13
2020-11-02
- đ Fix npm install error report #3080
- đ Fix Select maxPlaceHolder display error problem #3085
- đ Fix the pop-up component, the pop-up position is not updated #3085
- đ Fix the warning problem when Table data is empty #3082
- đ Fix Input display multiple borders in Form #3084
2.0.0-beta.12
2020-11-01
- đ Fix dist/antd.css missing component style issue #3069
- đ Fix Input style issue #3074
- đ Fix Form layout="vertical" style issue #3075
- đ Fix Select cannot open popup problem #3070
2.0.0-beta.11
2020-10-30
- đđđ Refactored Select and AutoComplete components, supports virtual lists, and greatly improves performance
- đĨđĨđĨ Use Typescript to refactor all components, type support is more friendly
- đĨ Optimize the underlying animation components, with better performance and smoother
- đ Textarea component added showCount to support word count function
- đ Recursive Menu component, supports arbitrary nesting of other elements #1452
- đŽđĒ Add Irish language internationalization support
- đ Fix webpack 5 compatibility issues.
- đ Fix the problem that the Upload method attribute does not take effect #2837
- đ Fix Table component filter not supporting number type problem #3052
- đ Fix Table fixed column ellipsis not working issue #2916
- đ Fix Table custom expandIcon not taking effect #3013
- đ Fix the problem that TreeSelect cannot customize slot #2827
- đ Change Avatar's srcSet to srcset
2.0.0-beta.10
2020-09-24
- đ Update Vue dependency to release version
- đ Fix the problem that Menu does not collapse in Layout #2819
- đ Fix a warning issue when switching Tabs #2865
- đ Fix the problem that the input box does not trigger the change event when compositionend
- đ Fix the problem that the Upload button does not disappear #2884
- đ Fix upload custom method not working issue #2837
- đ Fix some ts type errors
2.0.0-beta.8
- đ Fix ts types error
2.0.0-beta.7
- đ Fix the problem that Descriptions Item does not support v-for #2793
- đ Fix Modal button loading effect not working problem 9257c1
- đ Fix the problem that the Steps component cannot be clicked when using v-model ec7309
- đ Checkbox, Radio add event declaration
- đ Fix ts type error 802446
2.0.0-beta.6
- đ Fix the problem that TreeSelectNode subcomponent TreeSelectNode is not registered
2.0.0-beta.5
- đĨ Support Vite.
2.0.0-beta.4
- đ Remove polyfills that are no longer used
- đ Fix the problem of calling
Modal
afterClose twice - đ Supplement the declaration that ts type files lack native attributes
2.0.0-beta.3
- đĨ Support Typescript.
- đĨ Added
Space
component. - đ Fix the problem that some components cannot use css scope 4bdb24.
- đ Fix
List.Meta
registration failure problem 03a42a - đ Fix the problem of misalignment in the fixed column of Table #1493
- đ Fix the problem that the
Button
is not vertically centered bd71e3 - đ Fix
Tabs
multiple departurechange
event issue 8ed937
2.0.0-beta.2
Design specification adjustment
- Adjust the row height from
1.5
(21px
) to1.5715
(22px
). - Basic round corner adjustment, changed from
4px
to2px
. - The color brightness of the dividing line is reduced, from
#E8E8E8
to#F0F0F0
. - The default background color of Table is changed from transparent to white.
Compatibility adjustment
- The minimum supported version of IE is IE 11.
- The minimum supported version of Vue is Vue 3.0.
Adjusted API
-
Removed LocaleProvider, please use
ConfigProvider
instead. -
Removed the afterClose property of Tag.
-
Merged FormModel and Form, see the Form refactoring part below for details.
-
tabIndex
,maxLength
,readOnly
,autoComplete
,autoFocus
are changed to all lowercase. -
In order to use the slot more friendly in template syntax, all related to xxxRender, renderXxxx are changed to single parameter, involving
itemRender
,renderItem
,customRender
,dropdownRender
,dateCellRender
,dateFullCellRender
,monthCellRender
,monthFullCellRender
,renderTabBar
. -
All the places where scopedSlots are configured are changed to slots.
-
{ on, props, attrs, ... }
configuration is flattened, such as{ props: {type:'xxx'}, on: {click: this.handleClick}}
changed to{ type: 'xxx', onClick: this.handleClick }
, related fields:okButtonProps
,cancelButtonProps
. -
Change xxx.sync to v-model:xxx
-
v-model is changed to v-model:xxx, which specifically involves components:
- The components changed from v-model to v-model:checked are: CheckableTag, Checkbox, Switch
- The components changed from v-model to v-model:value are: Radio, Mentions, CheckboxGroup, Rate, DatePicker
- The components changed from v-model to v-model:visible are: Tag, Popconfirm, Popove, Tooltip, Moda, Dropdown
- The components changed from v-model to v-model:activeKey are: Collaps, Tabs
- The components changed from v-model to v-model:current are: Steps
- The components changed from v-model to v-model:selectedKeys are: Menu
Icon Upgrade
In ant-design-vue@1.2.0
, we introduced the svg icon (Why use the svg icon?). The icon API that uses string naming cannot be loaded on demand, so the svg icon file is fully introduced, which greatly increases the size of the packaged product. In 2.0, we adjusted the icon usage API to support tree shaking, reducing the default package size by approximately 150 KB (Gzipped).
The old way of using Icon will be obsolete:
<a-icon type="smile" /> <a-button icon="smile" />
In 2.0, an on-demand introduction method will be adopted:
<template>
<smile-outlined />
<a-button>
<template v-slot:icon><smile-outlined /></template>
</a-buttom>
</template>
<script>
import SmileOutlined from'@ant-design/icons/SmileOutlined';
export default {
components: {
SmileOutlined
}
}
</script>
Component refactoring
In 1.x, we provide two form components, Form and FormModel. The original Form component uses v-decorator for data binding. In Vue2, we use context to force update components. However, in Vue3, due to the introduction of patchFlag, etc. Optimization method, forced refresh will destroy the performance advantage brought by patchFlag. So in version 2.0, we merged Form and FormModel, retained the use of FormModel, enriched related functions, and renamed it to Form.
Involving changes:
- Added
scrollToFirstError
,name
,validateTrigger
properties for Form, addedfinish
,finishFailed
events, and addedscrollToField
method. - Form.Item adds
validateFirst
,validateTrigger
, and discards theprop
attribute, and replaces it withname
. - The nested field path uses an array. In the past version, we used. To represent the nested path (such as user.name to represent {user: {name:''} }). However, in some back-end systems, the variable name will also carry .. This causes users to need additional codes for conversion. Therefore, in the new version, nested paths are represented by arrays to avoid wrong handling behaviors (such as ['user','name']).
- validateFields no longer supports callback. validateFields will return a Promise object, so you can perform corresponding error handling through async/await or then/catch. It is no longer necessary to determine whether errors is empty:
// v1
validateFields((err, value) => {
if (!err) {
// Do something with value
}
});
Change to
// v2
validateFields().then(values ââ=> {
// Do something with value
});
1.6.4
2020-07-21
- đ Fix breadcrumb
Breadcrumb
duplicate key problem #2505 - đ Fix the Tooltip issue when MenuItem title is empty #2526
- đ Fix the problem that Input textarea cannot be dragged up when allow-clear is activated. #2563
- đ Add less variables @select-item-selected-color #2458
- đ Add flex attribute to Col in Grid #2558
1.6.3
2020-07-05
- đ Fix Input.Password focus position shift issue #2420
- đ Fix Drawer maskstyle not working #2407
- đ Fix Drawer maskstyle not working #2407
- đ Button supports custom Icon #2245
- đ DatePicker supports custom format #2276
- đ Fix DatePicker year and time is incorrect #2488
- đ Optimize the Menu component, the animation is smoother
- đ Fix Dropdown pop-up position error #2359
- đ Fix the problem of duplicate key when
Breadcrumb
has the same name #2505
1.6.2
2020-06-02
1.6.1
2020-05-25
- đ Fix the problem of filling the current time when DatePicker blur #2246
- đ Fix Drawer error when destroying #2254
- đ Fix Tabs cannot remove tabs with 0 as key 55bbf9
- đ Fix Menu trigger twice click event #2266
- đ Fix Menu active class name is not added ffc002
- đ TreeSelect add custom data field function #2253
- đ Modal added dialogStyle and dialogClass instead of style and class before refactoring #2285
- đ Fix Table sorting trigger infinite update issue #2270
1.6.0
2020-05-15
- đ Tootip supports custom components 741897
- đ Refactor Modal's underlying Portal components to solve the problem of delayed content update in Modal #2244
- đ Fix Select option focus border style in Input.Group #2224
- đ Fix Cascader option icon color when disabled #2223
- đ Fix DatePicker color when separator is disabled #2222
- đ Fix Carousel keyboard switch to Radio / Checkbox on inactive slide.
- đ Fix the problem that Table filter menu is not displayed when less version is
2.x
. #23272 - đ Fix the failure of Table
column.filtered
. - đ Fix the style problem of Input in Safari browser in Select
multiple
mode. #22586 - đ Fix the problem that Descriptions can not adapt in small size. #22407
1.5.6
2020-05-09
- đ Fix the problem of missing css, min.js and other files in the dist folder
1.5.5
2020-05-08
- đ Fix
Tabs
not showing issue under safari 13 #2199 - đ Fix the first input failure of
Input
under FireFox #2151 - đ Fix
Input
cursor shift issue in Modal component #2207
1.5.4
2020-04-30
- đ
DatePicker
supports the align attribute and sets the popup position #1112f2 - đ
DatePicker
supports inputReadOnly attribute #138eae - đ
DatePicker
TimePicker
Calendar
supports string-type binding values ââ#718 - đ
Table
ConfigProvider
addstransformCellText
for transforming table rendering values, such as processing of empty data #2109 - đ
FormModel
added validateMessages attribute #2130 - đ Optimize pop-up window animation effect #bf52f73
- đ Fix the
tabBarGutter
attribute of theTabs
component does not take effect #2083 - đ Fix renderTabBar of
Tabs
component not working #2157 - đ
Tabs
component supports number 0 as key #2167 - đ Fix the style of the Input.Search component is misaligned #2077
- đ Fix the style misalignment of
Slider
component #2097 - đ Fix
Tree.TreeNode
customTitle scope slot can not get selected status issue #2006 - đ Fix
SelectTree
showSearch error when reporting #2082 - đ Fix the inconsistent position of original dots in
Badge
dot state #2121
1.5.3
2020-04-13
- đ Fix the problem that the content does not respond to updates when
Dropdown
visible is unchanged #81eb40
1.5.2
2020-04-09
- đ Fix ts type of
FormModel
not introduced #1996 - đ Fix
DatePicker.WeekPicker
type file error #2044 - đ Fix "Tabs" tabClick event does not take effect #2030
- đ Fix
Table
resize error issue #2033
1.5.1
2020-04-02
- đ Fix
PageHeader
cannot hide backIcon #1987 - đ Fix
Pagination
doesn't update when total changes #1989 - đ Fix placeholder does not disappear when inputting
TreeSelect
in Chinese #1994 - đ Fix
Table
customRender cannot customize class style #2004 - đ Fix
Form
missing slot content when using Form.create #1998 - đ Fix
Textarea
scroll bar flickering problem #1964 - đ Add ts type file of
FormModel
#1996 - đ Add
modal
destroyAll type declaration #1993
1.5.0
2020-03-29
- Four new components have been added:
- đĨđĨđĨ Mentions Added mentioned components and discarded the original Mention components.
- đĨđĨđĨ Descriptions Display multiple read-only fields in groups.
- đĨđĨđĨ PageHeader can be used to declare the topic of the page, display important information about the page that the user is concerned about, and carry the operation items related to the current page.
- đĨđĨđĨ Result is used to feedback the processing results of a series of operation tasks.
- đĨđĨđĨ FormModel Form components that use v-model for automatic validation are more concise than v-decorator forms.
- đĨ Descriptions supports vertical layout.
- đĨ Progress.Circle supports gradient colors.
- đĨ Progress.Line supports gradient colors.
- Breadcrumb
- đ Breadcrumb.Item supports the
overlay
property to define drop-down menus. - đ Added
Breadcrumb.Separator
component, you can customizeseparator
.
- đ Breadcrumb.Item supports the
- đ TreeSelect's
showSearch
supports multiple selection mode. - đ Timeline.Item adds
gray
color type, which can be used in incomplete or invalid state. - đ Modal supports
closeIcon
property for customizing the close icon. - Upload
- đ Upload provides
previewFile
property to customize the preview logic. - đ Upload adds
transformFile
to support converting files before uploading. - đ Upload supports previewing pictures in jfif format.
- đ Added
showDownloadIcon
property for displaying download icons.
- đ Upload provides
- đ Input.Search adds
loading
property, which is used to display the loading status. - đ Grid's
gutter
property adds support for vertical spacing. Now you can set an array forgutter
, the second value of the array represents the vertical spacing. - đ message Added support for updating content with unique
key
. - đ TextArea supports
allowClear
. - đ Dropdown.Button supports
icon
property to customize the icon. - Drawer
- đ Support
afterVisibleChange
property, which is triggered after the drawer animation is completed. - đ Support
ESC
shutdown. - đ Added
keyboard
, which allows the response to keyboard events to be turned on and off.
- đ Support
- đ TreeNode supports
checkable
property. - đ Transfer supports
children
custom rendering list. - đ Pagination supports
disabled
property. - đ Steps support click to switch function.
- Slider
- đ Support
tooltipPlacement
to define the location of the tip. - đ Support
getTooltipPopupContainer
to allow custom container for the prompt. - đ Flip
trigger
direction when Sider is on the right.
- đ Support
- đ Calendar supports
headerRender
to customize header. - đ Carousel supports custom panel pointing point locations.
- đ Collapse supports
expandIconPosition
property. - đ Popconfirm adds
disabled
props, which are used to control whether clicking child elements pop up. - đ Select supports
showArrow
in multi-select mode. - đ Collapse.Panel added
extra
. - Card
- đ Card component added
tabBarExtraContent
property. - đ Card.Grid added a hoverable property to allow floating effects to be disabled.
- đ Card component added
- đ Anchor.Link adds
target
attribute. - đ TimePicker added
clearIcon
prop for custom clear icon. - Form
- đ Support to configure the
colon
property directly on the Form. - đ Support
labelAlign
property.
- đ Support to configure the
- Table
- đ Table adds
getPopupContainer
property for setting various floating layer rendering nodes in the table. - đ Adjust the style of the Table expand button.
- đ Added
tableLayout
property, supports setting the table'stable-layout
layout, and enablestableLayout =" fixed "
by default under fixed headers / columns, to solve the column alignment problem caused by the table layout automatically based on content . - đ Added
column.ellipsis
to support automatic omission of cell contents. - đ Added
scroll.scrollToFirstRowOnChange
property, which is used to set whether to scroll to the top of the table after page turning. Â Â -FilterfilterDropdown
Addedvisible
parameter to get the display status of the drop-down box. - đ The
title
method adds asortColumn
parameter to get the currently sorted column. Â Â -Sort When sorting, thesorter
parameter ofonChange
will always containcolumn
information.
- đ Table adds
- đ Tree component supports
blockNode
property. - đ RangePicker adds
separator
definition. - Empty
- đ Empty supports the
imageStyle
property. - đ Empty
description
supportsfalse
. - đ Empty Supports access to preset pictures via
Empty.PRESENTED_IMAGE_DEFAULT
andEmpty.PRESENTED_IMAGE_SIMPLE
- đ Empty supports the
- đ Badge supports custom colors.
- đ Fix the problem that the label of Steps is not centered.
- đ Fix cursor style problem of DatePicker and TimePicker.
- đ Fix
TreeSelect
custom icon is invalid #1901 - đ Fix
Tabs
keyboard left / right switching error #1947
1.4.12
2020-03-03
- đ Fix ts type error of
Modal
component #1809
1.4.11
2020-02-12
- đ DirectoryTree adds custom switcherIcon function #1743
- đ Add draggable table column width example
- đ Replace
this.$listeners
of all components to avoid repeated rendering of components #1705 - đ Fix ConfigProvider component error report error 7a4003
- đ Fix placeholder does not disappear when custom input box of AutoComplete component #1761
- đ Fix Statistic.Countdown does not trigger finish event #1731
- đ Fix upload component preview image not refreshing f74469
- đ Fix TimePicker id is not unique #1566
- đ Fix Pagination pagination without animation #1540
- đ Fix drop-down list does not show empty elements when Cascader's option is empty array #1701
- đ Fix spellcheck rendering incorrect for Input component #1707
- đ Fix Tree component cannot customize icon #1712
- đ Fix SubMenu forceSubMenuRender property is invalid #1668
- đ Fix style of upload button is misaligned #1742
1.4.10
2019-12-11
- đ Fixed the left and right arrows of MonthPicker cannot be worked #1543
1.4.9
2019-12-10
- đ Fix body scrolling issue when
Modal
is opened #1472 - đ Fix
Drawer
wrapStyle not working #1481 - đ Fix
InputNumber
id mount position is incorrect #1477 - đ Fix
Tabs
nextClick event does not fire #1489 - đ Fix
MonthPicker
cannot be changed in open state #1510 - đ Fix the issue that
AutoComplete
does not disappear when entering Chinese #1506 - đ Fix the problem that the content cannot pop up when referencing different Vue variables 6362bf
- đ
Table
customRender
Add a third column parameter #1513 - đ
InputPassword
adds focus and blur methods #1485 - đ Fix
Tooltip
report error when using native html element #1519 - đ Fix
Menu
report error in edge browser #1492 - đ Fix empty centering of
Select
#1445 - đ Fix popup window component memory leak problem #1483
1.4.8
2019-11-28
1.4.7
2019-11-27
- đ
getPopupContainer
ofConfigProvider
Added popup context as the second parameter for uniform configuration ofgetPopupContainer
inModal
[7a3c88](https://github.com/vueComponent/ant-design -vue / commit /7a3c881075
) - đ Fix
ConfigProvider
reporting error in Vue 2.5 309baa - đ Fix
Menu
click event is triggered twice #1450 - đ Fix incorrect width of input box in
Select
#1458 - đ Fix
Select
the problem thatplaceholder
does not disappear when inputting Chinese #1458 - đ Add the TS type declaration for the
Comment
component #1453
1.4.6
2019-11-20
- đ Fix
Cascader
can't enter a space question #1427 - đ Fix
AutoComplete
can't delete the last character #1429 - đ Update
dbclick
inTree
'sexpandAction
todblclick
#1437 - đ Update
dbclick
in theTable
document todblclick
#1437 - đ Add the TS type declaration for the
Empty
component #1439
1.4.5
2019-11-16
-
đ
Form
supportlabelCol
wrapperCol
for setting layout #1365 -
đ
Input
Select
DatePicker
trigger change event after input Chinese, reducing unnecessary performance consumption #1281 -
đ Fixed when the placeholder of
Input
Select
is Chinese, the change event is automatically triggered under ie #1387 -
Tree
-
đ Fix
Input
Delete content under ie9 does not trigger change event #1421 -
đ Fix
Dropdown
disabled
invalid problem #1400 -
đ Fix Select type error when
lableInValue
#1393 -
đ Fix Comment style question #1389
-
đ Fix
Statistic
Password
TypeScript type definition.
1.4.4
2019-10-30
- đ Progress format support v-slot #1348
- đ Fix RangePicker Year Panel not work #1321
- đ Fix Pagination simple mode not work #1333
- đ Fix AutoComplete flashing on fast input #1327
- đ Fix Button loading mode is not centered #1337
- đ Fix Menu menu collapsed in Chrome #873
- đ Fix Checkbox v-model parameter validation failure #1356
- đ Fix Checkbox.Group error when update value to undefined #1356
1.4.3
2019-10-22
- đ Fix Cascader component style issues caused by Input #1293
- đ Fix some component can not use
<template slot="xxx" />
041839
1.4.2
2019-10-21
- đ Fix
Radio.Group
triggers multiple change callback issues #1280 - đ Fix
Pagination
keyup enter not work #1316
1.4.1
2019-10-17
- đ fix
Input.Password
cannot usev-model
#1306 - đ Optimize the clear button of
Input
to display the logic. #1296 - đ After click clear button,
Input
becomes thefocus
state. - đ fix progress strokeWidth not work #1301
- đ Fix Radio.Group triggers multiple change callback issues #1280
- đ Fix Form initialValue error #1291
1.4.0
2019-10-14
- đ New component Empty, and improved empty data style of all components!
- đ New component Statistic.
- đ Hindi locale added (hi_IN).
- đ Kannada locale added (kn_IN).
- đ ConfigProvider component support prefixCls.
- Button
- đ Button support round shape.
- Collapse
- đ Add
expandIcon
to allow customization of Collapse icon.
- đ Add
- ConfigProvider
- đ Support Content Security Policy (CSP) config.
- đ Support
autoInsertSpaceInButton
to remove space between 2 Chinese characters on Button.
- Icon
- đ Icon component add
aria-label
prop to enhance accessibility. - đ Add
rotate
to allow icon rotate as specified degrees. - đ Add
eye-invisible
icon.
- đ Icon component add
- Input
- đ Add Input.Password.
- đ support
allowClear
ã
- Modal
- đ Add
forceRender
support. - đ Add
destroyAll
method. - đ Add
icon
to Modal.confirm/info/warning/error,iconType
is deprecated. - đ Add
mask
property support for Modal method. - đ Add
transitionName
andmaskTransitionName
property support for Modal method. - đ Fix the problem that the mouse moves to the mask layer to close automatically #842
- đ Add
- đ Add
small
type Card component. - Form
- đ Add switcherIcon prop to Tree.
- Dropdown
- đ Dropdown.Button support
href
. - đ Add
openClassName
.
- đ Dropdown.Button support
- Table
- đ Add prop
sortDirections
for Table and Table.Column. - đ Fixed Badge component display over the fixed table column.
- đ Fixed rowSelection columnWidth doesn't work.
- đ Add prop
- DatePicker
- đ Will read format as default format in locale if provided.
- đ Add new
renderFooter
API for DatePicker. - đ Fixed
dateRender
not supported at WeekPicker. - đ Fixed disabled button style in DatePicker panel.
- đ support prop
renderExtraFooter
in all mode. - đ Fixed month range display when start year equals end year.
- TimePicker
- đ TimePicker support new prop
popupStyle
and new eventamPmChange
. - đ Fixed TimePicker Icon disappear when used with Input.Group.
- đ Deprecated
allowEmpty
prop and useallowClear
instead. Sync style with DatePicker.
- đ TimePicker support new prop
- đ Rate component support
tooltips
. - Upload
- đ Add new less var
upload-picture-card-border-style
and Fixedupload-picture-card-size
typo. - đ Fixed
dpg
file type is not recognizable as image in Upload component.
- đ Add new less var
- Spin
- đ Fix Spin style issue in IE 10.
- Progress
- đ All types support
successPercent
prop.
- đ All types support
- Pagination
- đ Fix ellipsis misalignment.
- đ Fixed Radio style bug in Chrome.
- đ Fixed Steps style issue on IE9.
- đ Fixed nested Timeline last item missing line.
- đ Fixed spin never shows up when delay got initially set.
- đ Fix wave style issue in Edge.
1.3.17
2019-09-29
- đ
Form
adds theselfUpdate
attribute to improve form performance #1049 Select
- đ Fixed an issue with 'TimePicker` input error #1176
- đ Fix
defaultVisible
attribute invalidation problem forTooltip
component #1232 - đ Fix
Comment
ConfigProvider
TypeScript type definition problem.
1.3.16
2019-08-25
- đ Fix
Select
component to uninstall component error when there is no input #1091 - đ Fix
Collapse
error when no child element #1116 - đ Fix TypeScript type definitions.
1.3.15
2019-08-17
- đ Fix
Select
component cannot scroll under IE #999 - đ Fix
Form
initialValue
warning #1076 - đ Fix
Form
error when verifyingNumber
type #1090
1.3.14
2019-08-12
- đ Fix
MenuItem
parsing arrayclass
incorrect question #1009 - đ Fix an error when npm install #997
- đ Fix
Select
component cannot scroll under IE #999 - đ Fix
Select
component does not trigger focus event problem #999 - đ Fix
DropdownButton
size
attribute does not work #71b7c9 - đ Fix
Table
component does not support vue 2.6 v-slot syntax problem #1058 - đ
Popover
addbuiltinPlacements
attribute #1073 - đ
Button
supportlink
type #1077 - đ
Modal.confirm
title
andcontent
support function #824
1.3.13
2019-07-22
- đ Fix
dist
missingantd.less
file problem #995
1.3.12
2019-07-22
- đ
package.json
files
addscripts
1.3.11
2019-07-22
- Dropdown
- đ
AutoComplete
Cascader
DatePicker
DropDown
Select
TimePicker
add an instance of the popup referencepopupRef
f9373e - đ Fix
DatePicker
can not open when placeholder is chinese at ie 10 and 11 #865 - đ
DatePicker
add custom render trigger #957 - đ
@ant-design/icons-vue
update to^2.0.0
- đ
Icon
addfocusable="false"
#924 - đ Fix custom
Form
prompts for custom components.warning
problem #915 - đ Fix
FormItem
v-decorator
error #930 - đ Fixed an issue where the
Upload
component reported an error inform.resetFields()
#929 - đ Fix
Select
shows bounce problem #970 - đ Fix TypeScript type definitions.
1.3.10
2019-06-11
- đ Remove useless
module.export
of package. #850
1.3.9
2019-05-26
- đ Fix
TreeSelect
withoutdataRef
#712 - đ
Tooltip
adddestroyTooltipOnHide
to identify whether to destroy tooltip after hiding #727 - đ Fix
Avatar
does not update the problem when settingsrc
dynamically #731 - đ Fix
LocaleProvider
changemoment
language does not work 28b7a6 - đ
Modal.confirm
addclosable
configuration #798 - đ Fixed a problem when
Select
customdropdownRender
was not automatically closed #644 - đ Fix the problem of removing Dom error under ie9, no need to introduce polyfill separately #705
- đ Fix
Input.Search
repeat mount id problem #726 - đ Fix
Table
does not work when customizing expandIcon using function form #751 - đ Fix
Icon
extraCommonProps
property does not work #737 - đ Fix
DirectoryTree
expandAction="doubleclick" does not work #745
1.3.8
2019-04-04
- đ Fix
Table
unclickable problem under IE #504 - đ Fix
Table
Header is not aligned under Firefox #579 - đ Drawer
Drawer
add customhandel
- đ Fix TypeScript type definitions.
1.3.7
2019-03-18
- đ Fix
Select
selectedKeys
type validation error #597
1.3.6
2019-03-17
- đ Fix
Select
title attribute to display confusion #588 - đ Fix
InputSearch
does not support slot mode customization addonAfter and addonBefore issues #581 - đ Fix
Input
repeat class question #faf9ba - đ Fix
Message
Customize content by function does not work #554 - đ
Cascader
option.value
supportsString
Number
type #595 - đ Fix some TypeScript definitions.
1.3.5
2019-02-23
- đ Optimize the
Popover
Popconfirm
component arrow style. - đ Fix using autoprefixer 9.4.5 in postcss (vue-cli) will throw an error
Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed
. #471 - Tree
- đ Fix
Modal.confirm
class
does not work.#475 - đ Fix some TypeScript definitions.
1.3.4
2019-01-31
đ đ đ Happy New Year!
- đ fix: AutoComplete placeholder not display when disabled. #402ã
- đ Add the
BreadcrmbItem
ts type file.#452ã - đ Fixed an issue where the FormItem was not updated when it was in a subcomponent. #446ã
- đ Fix some component TypeScript definitions.
1.3.3
2019-01-26
- đ Fix
message
not close When you configure maxcount.#428ã - đ Fix some component TypeScript definitions.#422ã
- đ The Anchor component add
warpperClass
wrapperStyle
property.1aa42d - đ Update the document: form adds the
preserve
description, and theicon
modifies the custom component reference document description.
1.3.2
2019-01-17
- đ Fix Form reports an error when using the obsolete API
autoCreateForm
.#413ã - đ Fix Slider error when clicking mark. #407ã
1.3.1
2019-01-15
- đ Fixed the
Table
component could not be scrolled under ie.ã#390ã - đ Fix
Form
does not clear that does not need to check the field.#367ã
1.3.0
2019-01-12
-
đ đ đ Publish the vscode plugin ant-design-vue-helper
-
đ đ đ Optimize official website document interaction
1.3.0 brings two new Components, a lot of exciting changes and new features.
-
đĨ Added a new component Commentã
-
đĨ dded a new component ConfigProvider for user to customize some global setting.
Component Fixes / Enhancements:
- đ Avatar Added
srcSet
prop that is a list of sources to use for different screen resolutions. - đ Notification Added
onClick
prop that is called when the notification is clicked. - Transfer
- đ Added
search
event that is executed when search field are changed and deprecatedsearchChange
event. - đ Added
disabled
prop that whether disable transfer.
- đ Added
- đ Refactor Badge, support
count
as custom component. - Slider
- đ Added
tooltipVisible
prop that whether Tooltip will always show. - đ Optimize the focus effect
- đ Fix tooltip does not display the problem when focus through the keyboard tab.
- đ Fix the hidden switch problem of Tooltip while dragging.
- đ Added
- Calendar
- đ Support multiple date format.
- đ showSearch added
limit
prop that support limit filtered item count.
- Table
- đ Added
expandIcon
prop that custom the default expand icon. - đ customCell added
index
prop.
- đ Added
- Select
- đ Added
removeIcon
ãclearIcon
ãmenuItemSelectedIcon
propīŧallow settingremove
ãclear
ãmenuItemSelected
custom icons. - đ Added
dropdownRender
prop that custom dropdown content. - đ Added
loading
prop that indicate loading state.
- đ Added
- đ Optimize the display of the Button when it contains an Icon.
- âĄī¸ Refactor Tag component with less code and better performance.
- đ Added
title
prop that Menu.Item support tooltip title when collapsed. - đ Chore Card header and loading UI.
- đ Optimized Spin wrapper styles and improve performance slightly.
- đ Fix TextArea use resize observer to check textarea size.
- đ Fix Tooltip in the disabled state, the style error problem.#389
- đ Fix some component TypeScript definitions.
1.2.5
2019-01-06
- đ Add
Typescript
type file#250 - đ Fix
Icon
component can't support static class and dynamic class problems at the same time#371
1.2.4
2018-12-29
- đ Fix
Select
component does not triggerpopupScroll
event#350 - đ Fixing the custom
Icon
component does not supportclass
style
issues.#351 - đ
Tree
TreeSelect
supportskey
ofnumber
type. #343 - đ
Tree
componentsselectedKeys
,expandedKeys
support the.sync
modifier.6373ce TreeSelect
- đ Remove the expansion animation when the
Menu
component is initialized.#338
1.2.3
2018-12-25
- đ Remove Christmas egg.
- đ Fix some components do not support array type
class
problem#322 - đ
TreeSelect
adds thetreeExpandedKeys
props andtreeExpand
event to control the expansion of the tree. - đ Fix the
Tree
component warning duplicatekey
question when usingTreeNode
ã
1.2.2
2018-12-19
- đ
Datepicker
render footer twice question. #315 Menu
- đ Fix form validateStatus icon not work #321
- đ
Upload
thumbnail icon broken styles f1e130 - đ
Icon
support native event cffef3
1.2.1
2018-12-17
- đ Fix
Menu
flashing problem when scaling underLayout
- đ Fix
Icon
report Warning problem
1.2.0
2018-12-16
- đĨđĨđĨ replaced font icons with svg icons which bring benefits below:īŧ
- Complete offline usage of icon, no dependency of alipay cdn font icon file and no more empty square during downloading than no need to deploy icon font files locally either.
- Much more display accuracy in lower-level screens.
- Support multiple colors for icon.
- No need to change built-in icons with overriding styles by providing more props in component.
- đ But at the same time bring the problem that the bundle file is too big, related solutions and discussions can check the React version of ant-design issue.
- đ Add the
theme
attribute to set the theme style of the icon. - đ Added
component
attribute, you can externally pass a component to customize the control rendering result. - đ The
twoToneColor
property is added to control the theme color of the two-color icon. - đ Added static methods
Icon.getTowToneColor()
andIcon.setTwoToneColor(...)
to globally get and set the theme color of all two-color icons. - đ The new static method
Icon.createFromIconfontCN({...})
is added to make it easier to use icons hosted oniconfont.cn
.
- đĨ 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. - đ 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
- đ Added Modal.open for optional icon dialog.
- đ Modal.info adds the configuration of
getContainer
. - đ Improve RangePicker footer UI by merging them.
- đ The Anchor component adds
onClick
property. - đ The Tab component adds the
renderTabBar
property. - đ The Input component adds the
select
method. - đ Steps adds the
initial
attribute. - đ Upload adds
openFileDialogOnClick
prop to allow setting whether to open the upload dialog when the component is clicked. - đ InputNumber adds
decimalSeparator
prop to allow setting a custom decimal. - đ Fix a lot of hidden bugs that have not yet been issued, and then not list them one by one.
1.1.10
2018-12-7
- đĨđĨđĨ In the 1.1.10 version, the
Form
component better supports the single-file tempalte syntax. In previous versions, complex component requirements were required to be implemented using JSX. In order to better use the automatic collection and validation of Form forms in the template, we have optimized the way components are used. All Demo files are refactored using the latest syntax. However, for the previous API, continue to support, you can not worry about the API changes, resulting in problems in the existing system.
<template>
<a-form :form="form">
<a-form-item>
<a-input v-decorator="[id, options]">
</a-form-item>
</a-form>
</template>
<script>
export default {
beforeCreate () {
this.form = this.$form.createForm(this, options)
},
}
</script>
- đ Fix
Steps
componentlabelPlacement
does not work #281 - đ Fix the
Timeline
component style problem, addreverse
mode
props #8e37cd Tree
1.1.9
2018-11-26
- đ Fix the
TreeSelect
component getPopupContainer does not work #265 - đ Fix
Carousel
component on-demand loading does not work #271 - đ Fix
Upload
component remove event no return value problem #259
1.1.8
2018-11-11
Progress
- đ Fix
Cascader
component does not supportgetPopupContainer
problem #257 - đ
Tooltip
support align #252
1.1.7
2018-10-27
- đ Fix
Cascader
component type error problem #219 - đ Fix
Tree
component custom Icon the callback parameter order error #223 - đ Fix
Table
pagination trigger multiple change events whenshowSizeChange=true
#228 - đ Optimize the
Tabs
component to add tabs to the visible area by default #215 - đ Fix
RadioGroup
component does not support number 0 problem #226 - đ Fix
Slider
component When setting zoom is not 1, the position error problem, some browsers need visualViewport Polyfill #227
1.1.6
2018-10-10
- đ Fix
Select
component keyboard event error #217 - đ Fix the
Drawer
component children update issue #209
1.1.4
2018-09-29
- đ Refactor the
vc-tree
component and add a directory tree component - đ Fix
tabs
component propertytabBarGutter
does not work #205 - đ Fix
table
component data synchronization error #202
1.1.3
2018-09-22
- đ Optimize component registration methods, such as Vue.use(Form) a6620c
- đ
Select.Option
componentvalue
property supports0
#194 - đ Fix
Layout.Sider
trigger button width does not work #201 - đ Fix
Menu
When switching inlineCollapsed, there is no animation problem #200 - đ Fix style problem in
Steps
dot
mode #199
1.1.2
2018-09-17
- đ Synchronize antd3.8.4 style
- đ Tag component adds
visible
attribute and wave effect - đ Fix the 'Cascader` component, the selected item is not expanded #195
1.1.1
2018-09-13
- đ dropdown position incorrect caused by window size change #184
- đ tabs container add custom event listeners #189
- đ Fixing 'centered` does not work when calling Modal window via API form #183
- đ Slider marks support {number: function}åŊĸåŧ #171
1.1.0
2018-09-11
- đ Synchronize components from 3.4.0 to antd [3.8.2](https://github.com/ Ant-design/ant-design/releases/tag/3.8.2)
- đ Add the
Drawer
component - đ Fix
Spin
content flicker problem #174 - đ Fix
RangePicker
selection is not disabled #158 - đ Fixed throw error when
Form
value wasnull
#153 - đ Fix the
Modal
subcomponent to repeat themounted
question #152 - đ Fixed donot
render
after 'Transfer` search filter #148 - đ Fixed multi-level
Tabs
component nesting causingsize
not to work #144 - đ Fix
TreeSelect
searchPlaceholder does not work #125 - đ Other issues that do not appear in the issue, see antd changelog
1.0.3
2018-08-11
- đ Fix
Select
children not to update the problem #106 - đ Fix
Badge
offset x y axis order error and support number type #99 - đ Fix
Input
trigger input event problem when placeholder is Chinese in IE#92 - đ Fix
Avatar
does not accept event issues #102 - đ Fix
grid.row
gutter type error problem 4af03c4 - đ Fix
CheckboxGroup
to report defaultValue warning inForm
#110
1.0.2
2018-08-04
- đ Modify the component library name to
ant-design-vue
- đ The official site supports IE9 accessa8a5f8
- đ Fix reminder issues caused by exporting undefined variables#87
- đ Fix some component classname duplicatesb48bbac
- đ Fix
Select
component label does not update the problemda1b924 - đ Corrected some documentation errors
1.0.1
2018-07-27
- đ Optimize Chinese input for
Input
components(just support v-model) 4a5154 - đ Fix
treeSelect
treeData[i].children
throw error when null#81 - đ Fix
Calendar
change event call twice#82 - đ Fix the
description
andtitle
slot attribute of theCard
component does not work#83 - đ Fix
dropdownClassName
attribute ofDataPicker
component does not working02ab242
1.0.0
2018-07-21
- đ Add
Carousel
component edddbd - modify some error document
0.7.1
2018-07-17
- đ fix
Tooltip
containing disabled button does not show and style#73 - đ add
Table
panagation deep watch#b464c6
0.7.0
2018-07-11
- đ Add
TreeSelect
component - đ
Select
addoptions
, Easy to generate a selection list directly#37 - đ Fix
blur
event error when usingSelect
component inTooltip
#67 - đ Modify the
Upload
componentaction
attribute to optional#66
0.6.8
2018-07-05
0.6.7
2018-07-03
- đ Fix
Form
component cannot be updated when using template syntax#62
0.6.6
2018-07-03
- đ Fix
Upload
type validation error issue and update related demo#61 - đ Fix
Upload
image preview does not jump correctly1584b3
0.6.5
2018-07-01
- đ Fix
Select
getPopupContainer
not working #56 - đ Fix
Select
popup position is not updated8254f7
0.6.4
2018-06-28
- đ Fix
InputSearch
v-model
return wrong value#53
0.6.3
2018-06-26
- đ Fix
Popover
v-model
not working#49
0.6.2
2018-06-24
- đ
Form
component data auto-checking support fortemplate
syntax7c9232 Select
: đ addfocus
blur
methods52f6f5Radio
TimePicker
: đ FixautoFoucs
focus
blur
not working28d009
0.6.1
2018-06-17
- đ Add
List
Component Table
Tooltip
: đ update events APIchange
tovisibleChange
Textarea
: đ FixautoFoucs
not working787927InputSearch
: đ Addfocus
blur
methods3cff62InputNumber
: đ FixautoFoucs
not working88f165DatePicker
: đ FixautoFoucs
not working264abfCascader
: đ FixautoFoucs
not workingbe69bdRate
: đ FixautoFoucs
not workingīŧandblur
errorc2c984RangePicker
: đ Fix value type check error problem228f44
0.6.0
2018-06-04
- đ Add
Anchor
Component Table
- đ
DatePicker
: Fix the issue ofchange
event repeatedly call whenshowTime
istrue
81ab82 - đ
InputNumber
: Fixplaceholder
not working ce39dc
0.5.4
2018-05-26
- đ Fix missing
less
file problem in dist directoryca084b9
0.5.3
2018-05-25
- đ Fixed issue with building
antd-with-locales.js
containing test files90583a3
0.5.2
2018-05-25
- đ
Timeline
: Fix duplicated loading component bug fa5141b Transfer
- đ
Select
: Optimizingtitle
display logic 9314957 Form
- đ
DatePicker
: Fix calendar keyboard event does not work e9b6914 Avatar
: Fixing font size adaptation issues #22- đ Added single test for some components
- đ sorted component library
dependencies
anddevDependencies
, deleted unused packages, and addedpeerDependencies
0.5.1
2018-05-10
- đ
Table
: FixcustomRow
events not working#16
0.5.0
2018-05-08
- đ
Form
: add Form component - đ
Upload.Dragger
: Modifyname
name toa-upload-dragger
- đ
Upload
: Fixname
prop not working
0.4.3
2018-05-02
- đ Fix component style loss problem
- đ site add babel-polyfill
0.4.2
2018-04-24
- đ fix menu click bug
0.4.1
bug
- Transfer Vue's dependencies to devDependencies to avoid unstable bugs caused by inconsistency with business versions
0.4.0
Layout
- add
layout
component
Others
- support use Vue.use(antd)
0.3.1
Features
- first version, provide 45 components