mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
36 KiB
36 KiB
Changelog
2.0.0-alpha.1
2017-09-30
New features
- General
- A new theme:
theme-chalk - Accessibility of the following components are improved: Alert, AutoComplete, Breadcrumb, Button, Checkbox, Collapse, Input, InputNumber, Menu, Progress, Radio, Rate, Slider, Switch, Upload
- Layout components: Container, Header, Aside, Main, Footer
- A new theme:
- Button
- Added
roundattribute. It's used for round-cornered Buttons #6643
- Added
- TimeSelect
- Now can be navigated by
UpandDown, and hittingEnterselects the time #6023
- Now can be navigated by
- TimePicker
- Now can be navigated by arrow keys, and hitting
Enterselects the time #6050 - Added
start-placeholderandend-placeholder. They're placeholders for the two input boxes in range mode #7169
- Now can be navigated by arrow keys, and hitting
- Tree
- Now child nodes don't render before the first expand #6257
- Added
check-descendantsattribute. It determines if child nodes are checked when checking their parent node inlazymode #6235
- Tag
- Added
sizeattribute #7203
- Added
- Datepicker
- Now
timeFormatcan format the TimePicker when type is set todatetimerange#6052 - Added
start-placeholderandend-placeholder. They're placeholders for the two input boxes in range mode #7169
- Now
- MessageBox
- Added
closeOnHashChangeattribute #6043 - Added
centerattribute so that the content can be centered #7029 - Added
roundButtonattribute to display round Buttons #7029 - Added
dangerouslyUseHTMLStringattribute. When set totrue,messagewill be parsed as HTML string* #6043
- Added
- Dialog
- Added
width、fullscreen、append-to-bodyattributes. Now Dialog can be nested - Added
centerattribute so that the content can be centered #7042 - Added
focus-after-closed、focus-after-opento improve accessibility #6511
- Added
- ColorPicker
- Now you can type colors in the input box #6167
- Added
sizeanddisabledattributes #7026
- Message
- Now color of the icons can be overridden by CSS #6207
- Added
dangerouslyUseHTMLStringattribute. When set totrue,messagewill be parsed as HTML string* #6207 - Added
centerattribute so that the content can be centered #6875
- Notification
- Added
positionattribute to configure where Notification pops up #6231 - Added
dangerouslyUseHTMLStringattribute. When set totrue,messagewill be parsed as HTML string* #6231 - Added
showCloseattribute to hide the close button #6402
- Added
- Rate
- Added
show-scoreattribute to determine if current score is displayed #6295
- Added
- Tabs
- Added
tab-positionattribute #6096
- Added
- Radio
- Improved accessibility #6101
- Added
borderandsizeattributes #6690
- Checkbox
- Added
borderandsizeattributes #6690
- Added
- Alert
- Added
centerattribute so that the content can be centered #6876
- Added
- Menu
- Added
background-color,text-colorandactive-text-colorattributes #7064
- Added
- Form
- Added
inline-messageattribute to determine if the validation message is displayed in inline style #7032 - Added
status-iconattribute to display a feedback icon when validated #7032
- Added
- Input
- Added
suffixandprefixnamed slots,suffixIconandprefixIconattributes to add contents inside the input box #7032
- Added
- Breadcrumb
- Added
separator-classattribute to support icons as item separators #7203
- Added
- Steps
- Added
simpleattribute to activate simple-styled Steps #7274
- Added
Bug fixes
- DatePicker
- Fixed
v-modelreturning the second day of the selected week in week mode #6038 - Fixed the first input being cleared in
daterangetype #6021
- Fixed
- DateTimePicker
- Fixed DateTimePicker and TimePicker affecting each other when picked #6090
- Fixed hour and second can be beyond limit when selecting time #6076
- TimePicker
- Fixed
v-modelnot update correctly when blurred #6023
- Fixed
- Dialog
- Fixed texts having blurry edges when opening and closing nesting dropdowns #6088
- Select
- Improved performance. Now Vue dev-tool won't crash when a large number of Selects are destroyed #6151
Breaking changes
- General
- Removed
theme-default changeevent of form components andcurrent-changeevent of Pagination now only trigger on user interactionsizeattribute of Button and form components can no longer be set tolarge. Now they acceptmedium,smallandmini- To facilitate the use of third-party icons,
iconattribute of Button and Steps,prefix-iconandsuffix-iconattributes of Input now require a full class name
- Removed
- Dialog
- Removed
sizeattribute. Now the size of Dialog can be configured bywidthandfullscreen - Now the visibility of Dialog cannot be controlled by
v-model
- Removed
- Rate
text-templateis renamed toscore-template
- Dropdown
menu-alignis renamed toplacement. Now it supports more positions
- Transfer
footer-formatis renamed toformat
- Switch
on-textandoff-textattributes now don't have default values
- Tag
typeattribute now acceptssuccess,info,warninganddangerclose-transitionis renamed todisable-transitions
- Menu
- Removed
themeattribute. The color of Menu can be configured usingbackground-color,text-colorandactive-text-color
- Removed
- Input
- Removed
iconattribute. Now the suffix icon can be configured usingsuffix-iconattribute orsuffixnamed slot - Removed
on-icon-clickattribute andclickevent. Now to add click handler on icons, please use named slots
- Removed
- Autocomplete
- Removed
custom-itemattribute. Now the template of input suggestions can be customized usingscoped slot
- Removed
- Table
- Removed support for customizing column template using
inline-template
- Removed support for customizing column template using
- Steps
- Removed
centerattribute - Now the Steps will fill its parent container by default
- Removed
* Dynamically rendering arbitrary HTML on your website can be very dangerous because it can easily lead to XSS attacks. So when dangerouslyUseHTMLString is on, please make sure the content of message is trusted, and never assign message to user-provided content.
1.4.6
2017-09-27
- Fixed Slider's button jumping to previous position when clicked, #7190
- Fixed Tooltip
disabledregression, #7198 - Fixed Cascader not correctly filter options when
propsis set, #7225 - Fixed an error when range typed DatePicker has an initial value of
[], #7233
1.4.5
2017-09-24
- Rate's
colorsattribute now supports dynamic updates, #6872 @lukaszb - Fixed Tree not highlighting tree node whose value of
node-keyis 0, #6917 - Fixed initially disabled Dropdown not showing menu when it's enabled, #6969
- Added
hide-afterattribute for Tooltip, #6401 @ryatziv - Fixed cancel button of TimePicker not cancel picked value when clicked, #7028
- Added
selectWhenUnmatchedattribute for Autocomplete, #6428 @ryatziv - Fixed when
beforeUploadof a file returns false, other files are aborted by Upload, #7077 - Fixed disabled dates of DatePicker in month view and year view not displayed correctly in the west hemisphere, #7114
default-valueof DatePicker now supports daterange type, #7073 @wacky6
1.4.4
2017-09-05
- Fixed all months disabled in DatePicker month view when
disabledDateis set, #6768 @qingdengyue - Added
debounceattribute for Slider, #6820 @langgo - Fixed value of Pagination jumper can be bigger than the total page count, #6842 @huguangju
- Fixed TimePicker's focus slipping away when selecting hour to 23 with mouse scroll, #6719 @qingdengyue
1.4.3
2017-08-25
- Fixed style bug when Progress's
percentageis0, #6551 @Kingwl - Fixed Carousel items flashing when switching, #6394
- Fixed disabled Button not prevent event propagation when clicked on its text area, #6421
- Fixed disabled dates calculation in DatePicker's month view, #6363
- Fixed key enter event being stopped propagation in Autocomplete, #6499 @leezng
- Fixed
amPmnot supported in DatePicker i18n, #6574 - Fixed clicking or dragging error of Slider when it switches from invisible to visible, #6593
- Fixed Alert using small icons when its
descriptionis passed via default slot, #6612 @leezng
1.4.2
2017-08-09
- Fixed Select marking option of
valueequal to0as selected when the initial value is null and bound to an object-typed value, #6143 - Fixed Step style issue when
statusiserror, #6155 @wacky6 - Fixed Cascader selecting parent item when moving mouse quickly after clicking a leaf item, #6199
- Fixed Menu not hiding submenus when collapsed, #6200
- Fixed status of the inner native input of Switch not syncing with the component, #6205 @wacky6
- Fixed wrong button positioning of Slider after window is resized, #6263
- Fixed Autocomplete not hiding dropdown menu on blur, #6256
- Fixed hitting enter on jumper of Pagination not trigger page change event in IE, #6306 @qingdengyue
- Fixed InputNumber style issue when its
sizeislargeorsmall, #6310 @JeremyWuuuuu - Fixed i18n failure for some texts in DatePicker, #6328
- Fixed Slider value changing to minimum when its button is clicked, #6359
1.4.1
2017-07-28
- Fixed child nodes expanding when checking parent node in Tree, #6029
- Fixed checking behavior error of Tree, #6034
- Fixed FormItem not inheriting
label-widthas a Form's direct child, #6044 - Fixed Menu incorrectly showing SubMenu in collapse mode, #6111
- Fixed render order error of
v-ifcontrolled dynamic TabPanes, #6066 - Fixed Popover still popping up after mouse leaves within
open-delay, #6058 (by @laobubu) - Fixed delete buttons still rendered in file list of disabled Upload, #6091
- Fixed background color error on hover of striped Table, #6024 (by @xtongs)
1.4.0 Boron
2017-07-21
New features:
- Message
messageattribute now supports VNode, #5463 (by @egyptik)
- ColorPicker
- Added
active-changeevent, #5775
- Added
- Popover
- Added
open-delayattribute, #5842 (by @kaungmyatlwin)
- Added
- Table
- A third parameter
valueis passed toformatter, #5709 (by @haledeng)
- A third parameter
- Tree
- Added
disabledattribute, #5937
- Added
- Menu
- Added
collapseattribute, #5941
- Added
- Select
- Added
value-keyattribute, #5897
- Added
Fixes:
- DatePicker
- i18n failure for some texts, #5485
- returning a non-zero millisecond value when initial value is empty, #5663
disabledDateaffecting undesired date, #4946 (by @liyangworld)
- Steps
- style problems when a step is dynamically added or removed, #5456 (by @elfman)
- Table
- highlight row misplaced when an expandable Table has fixed table columns, #5471 (by @elfman)
classListnot supported in some browsers, #5613 (by @flynntsc)
- Select
- single Select unable to scroll to the selected item when the dropdown menu pops up, #5564(by @wacky6)
- Radio
- border radius lost in RadioGroups with only one Radio, #5646 (by @YYvanYang)
- Upload
- unable to reselect previously deleted file when
auto-uploadis false, #5706 - delete button still visible and functioning when
disabled, #5841 - compatibility issue with Vue 2.4
key, #5872
- unable to reselect previously deleted file when
- MessageBox
- clicking cancel buttons getting resolved when not invoked as a
confirmorprompt, #5658
- clicking cancel buttons getting resolved when not invoked as a
- Rate
- active icons not reflecting decimal part of initial value, #5785
- Pagination
- compatibility issue of total page display with vue-i18n@6.x, #5796 (by @mario56)
- apostrophe incorrectly showing up when current page is one page less than total page, #5861 (by @openks)
- Loading
- style problems when bound to invisible elements, #5649 (by @xiongzixiao)
- Cascader
- text in the input box not vertically aligned, #5819 (by @jianzhi92)
- Tree
setCheckedKeysandsetCheckedNodesin lazy mode, #5937- loading all descendent nodes when a parent node is checked in lazy mode, #5963
- Form
- label named slot not working when
labelis not assigned on FormItem, #5921
- label named slot not working when
- Tooltip
- not working in Vue 2.4.x when the triggering element is a custom component, #5916
Breaking changes:
- Select
- when value is an object,
value-keyis required as its unique identity key, #5897
- when value is an object,
1.3.7
2017-06-18
- Fixed Table with async data not showing summary row, #5318
- Fixed Pagination's jumper value not sync with current page, #5377
- Fixed DatePicker's shortcut panel overflow issue, #5297 (by @alashow)
- Fixed clicking Switch not responding when some text on the page is selected, #5411
- The red wildcard indicating required field of Form is now responsive, #5403
- Fixed initial-index of Carousel not working, #5334
- Fixed Popover enable to be focused when nested in a Dialog, #5336
1.3.6
2017-06-09
- Fixed inconsistency of ColorPicker's default value and panel value, #5183 (by @Kingwl)
- Fixed ColorPicker not able to change hue in the panel when its default value is white, #5184 (by @Kingwl)
- Fixed Select's dropdown taking multiple clicks to expand when nested in a Dialog after scrolling, #5226
- Added
propsproperty for Autocomplete, #5282 - Fixed dropdown of DatePicker not hiding when Tab key is pressed after manual input, #5149 (by @ChuckFields)
1.3.5
2017-06-03
- Fixed
default-first-optionof Select not working in remote filtering, #5084 - Fixed InputNumber not aligning with other form components, #5127
- Fixed inline FormItem having no effect on mixed Input, #5151
- Fixed height of FormItem being different in Firefox from other browsers, #5152
- Fixed items with a
valueof 0 in Cascader can not be expanded, #5172 (by @Kingwl) - Fixed Autocomplete not triggering native
keydownandkeyupevents, #5129 - Added
clearevent for Select, #5112 - Fixed Cascader's dropdown menu not updating its position in some situations, #5064
- Better accessibility for Dialog and MessageBox, #4786
1.3.4
2017-05-23
- Fixed highlight and stripe effects of Table with expandable rows, #4871 (by @mu-yu)
- Added
default-first-optionfor Select, #4838 (by @wacky6) - Fixed Select with no options not displaying "No data" text when
allow-createis true, #4977
1.3.3
2017-05-14
- Added
visible-changeevent for Dropdown, #4818 (by @luciy) - Added
tagattribute for Col and Row, #4799 - Fixed Cascader search functionality regression, #4812
- Fixed DatePicker triggering watch when
typeis range, #4837 (by @wacky6) - Fixed numbers in TimePicker not align vertically, #4847 (by @pengchongfu)
- Fixed Dialog not triggering
before-closehook when ESC is pressed, #4819 (by @patriciussanctus) - Fixed multiple MessageBox not rendering content correctly when some of the
messageis a VNode - Fixed Checkbox not focused when navigating with tab
1.3.2
2017-05-10
- Fixed undefined custom component
el-collapse-transitionerror when importing some components on demand, #4728 - Fixed vertical alignment issue of Pagination in FireFox, #4756
- Fixed dropdown panel view not updating after binding value of DatePicker is programmatically changed when
typeis week, #4739 - Fixed height calculation errors of Table with summary rows, #4736
- Added
before-filterattribute for Cascader, #4774 - Added
debounceattribute for InputNumber, #4712(by @pengchongfu)
1.3.1
2017-05-06
- Fixed Autocomplete clearing input box when typing Chinese, #4718
- Fixed async Table's summary row not scroll with Table, #4717
- Fixed Dialog not closing correctly after pressing ESC when
close-on-press-escis true, #4706 - Fixed wrong parameter in
changeevent of Switch whenon-valueandoff-valueare assigned, #4675
1.3.0 Beryllium
2017-05-05
New features:
- New component: Transfer
- Now you can use our pre-defined transitions
- Vertical mode for Slider, can be activated by the
verticalattribute, #4410 (by @devange) - Button style for CheckboxGroup, #3697 (by @mdartic)
- Table
- Added
setCurrentRowmethod, #4390 - Added summary row, with three attributes:
show-summary,sum-textandsummary-method, #4484 - Added
filter-placementattribute for TableColumn, #4491
- Added
- Dialog
- Added a
before-closehook, #4432 - Added
visibleattribute, which supports the.syncmodifier, #4539
- Added a
- Upload
- Added
disabledattribute, #4473 on-changenow also triggers when a file is added, #4447- Added
abortmethod
- Added
- Switch now supports
on-valueandoff-value, so that you can customize its values, #4403 - DatePicker
- Added
default-valueattribute for initially displayed date in the dropdown, #4222 (by @wacky6) typenow supports dynamic updates, #4417 (by @coffeedeveloper)- Added
labelattribute for CarouselItem, #4317 (by @paul-blundell)
- Added
messageof MessageBox now supports VNode, #4550current-pageof Paginationcurrent-pagenow supports.sync, #4539- Added
labelslot for Form, so you can customize label's content, #4634
Fixes:
- Compatibility issues of Select and Table with Vue 2.3.x, #4518
disabledDateof DatePicker having no effect on typed value in the input box, #4309- An issue when the key of a Tree node is number 0, #4415
- TimePicker number not align when picked, #4425 (by @pengchongfu)
- Autocomplete frequently triggering searching method when typing Chinese, #4393 (by @qazbnm456)
- Upload
- not able to select the same file multiple times, #4461
- not displaying preview image when is
auto-uploadfalse, #4572 - some style errors, #4643
- Style bug of RadioGroup when nested in a FormItem, #4336
- ColorPicker not clear the color panel when bound value is emptied, #4668 (by @pengchongfu)
show-overflow-tooltipof Table not working in Safari, #4157 (by @renxia)
Breaking changes:
- Only compatible with Vue 2.3.0+
1.2.9
2017-04-19
- Fixed RadioButton not working properly when some texts on the page are selected, #4217
- Fixed the toggle-all checkbox of Tree not working in some browsers, #4107 (by @pengchongfu)
- Fixed Cascader clear button not working, #4167 (by @pengchongfu)
- Fixed router switching error when the page has a Table with Tooltips, #4085
- Fixed Upload not able to remove selected files, #4233
- Added
onClickattribute for Notification, #4221 (by @amouillard) - Fixed binding value of DatePicker becoming undefined when cleared, #4186 (by @pengchongfu)
- Fixed style error of ColorPicker when nested in a FormItem, #4303
- Added
enterableattribute for Tooltip, #4210
1.2.8
2017-04-07
- Fixed
resetFieldsof Form reassigning form items, #3840 (by @pengchongfu) - Added
maxandminattributes for CheckboxGroup, #3700 (by @mdartic) - Fixed DatePicker adding one to picked month in some specific days, #3935
- Added
closeAllmethod for Message, #3966 (by @pengchongfu) - Added
format-tooltipattribute for Slider, #3657 (by @liyanlong) - Fixed filter panel of Table being when nested in a Dialog, #4023 (by @liyanlong)
- Fixed single Select unable to create new items in Vue 2.2.x, #3984
- Fixed Row disappearing in all breakpoints if its
spanis set to 0 in some breakpoints, #4053
1.2.7
2017-03-29
- Fixed Select not compatible with Vue 2.2.6, #3797
- Improve performance for rendering tooltip in Table, #3478
- Add
tooltip-effectproperty for Table
1.2.6
2017-03-28
- Fixed Switch compatible with SSR, #3752
- Fixed the time of TimePicker calculating incorrectly, #3479
- Fixed the week of DatePicker formatting incorrectly, #2774
- Fixed the week of DatePicker initializing incorrectly, #3058
- Fixed the events of Popover destroying incorrectly, #3555
- Fixed InputNumber setInterval, #3514 (by @pengchongfu)
- Fixed RadioButton css files, #3276
- Fixed hover style on striped Table, #3696 (by @nicoeg)
- Fixed Slider's button jumping left issue, #3664 (by @gabrielboliveira)
- Added
delete-tagevent for Select, #3663 (by @pengchongfu) - Added
onPickoption for DatePicker, #2921 - Added
statusfor Step, #3722 - Added full example for on-demand importing, #3302
1.2.5
2017-03-19
- Added
show-tooltipproperty for Slider, #3430 (by @gabrielboliveira) - Fixed Slider precision not updating when
stepis updated, #3475 (by @gabrielboliveira) - Fixed a bug that when the window is at the criticality of showing the scrollbar, the popup of Tooltip inside a Table will cause the Table to shake horizontally, #3549
- Fixed Table automatically shrinking vertically in some conditions, #3539
- Fixed popup components inside a Popover not hiding when blank area is clicked, #3451 (by @nicoeg)
- Now Col will hide itself if its
xs,sm,mdorlgis set to 0, #3564
1.2.4
2017-03-09
- Fixed Carousel not responding to dynamic data updates, #3159
- Fixed
cell-dblclickof Table not firing issue, #3305 - Fixed disabled Cascader not displaying initial value, #3297
- Fixed Slider not correctly displaying initial value when
show-inputis true, #3281 - Fixed Tooltip error in server-side rendering, #3214
- Fixed
range-separatorof DatePicker not working issue, #3378 - Added support for dynamically update loading text of Loading directive, #3345 (by @imyzf)
- Added
http-requestattribute for Upload, #3387 - Added support for hiding col if its
spanis 0, #3313
1.2.3
2017-03-01
- Fixed Tooltip, #3152
1.2.2
2017-02-28
- Fixed compatibility issues with Vue 2.2, #3002 #3067 #3097
- Fixed Cascader's dropdown hiding behind Dialog when nested in a Dialog, #3035
- Fixed incorrect parameter of
changeevent of Cascader, #3014 - Add
changeevent for ColorPicker, #3049 (by @nicoeg) - Fixed
setCheckedKeysmethod of Tree not working on non-leaf nodes, #2967 (by @rainyLeo) - Fixed Tooltip not compatible with
router-link, #3143
1.2.1
2017-02-23
- Fixed SSR regression in version 1.2.0, #2982
- Fixed horizontal scroll buttons not showing in Tabs, #2974
- Fixed wrong calculation of height after the
heightattribute is updated dynamically in Table, #2979 - Added
cell-dblclickandheader-dragendevents for Table, #2983 #2988 - Fixed form items showing a left padding inside an inline Form with a specified
label-width, #2990 - Fixed Cascader's dropdown misplaces in some conditions, #2992
1.2.0 Lithium
2017-02-22
New features:
- Two brand new components: Cascader and ColorPicker
- New attributes
editableandaddable, and new eventstab-addandeditfor Tabs - Language config files in UMD format
- New events
node-expandandnode-collapsefor Tree, #2507 (by @masterzhang) - New attribute
indentfor Tree, #2713 - Dialog's title now supports named slot, #2657
- New attribute
rangefor Slider, #2751 - Upload
- Attribute
auto-uploadthat controls if files are uploaded immediately after selecting, and its default value istrue - Event
on-changethat fires when file status changes - Attribute
list-typethat configures the appearance of file list
- Attribute
- Scroll bars in Autocomplete are made prettier
Fixes:
- Carousel not responding to contents' update, #2775
- Numbers in TimePicker not align in some conditions, #2948
- TimePicker only responding to odd clicks in some conditions, #2884 (by @k55k32)
- Tabs' display order error when tab-pane is dynamically changed, #2898
- Menu highlighting menu-item when
default-activeis assigned to an non-existent item - Collapse's style issue when nested
Breaking changes:
- Tooltip is refactored, no additional HTML tags will be rendered so that the structures of nested component stay unchanged, #2459
- The backdrop of Dialog now inserts to body element by default, #2556
- Tabs don't maintain tab instances internally any more, so they should be handled externally via events emitted by Tabs, #2567
- Upload is refactored
default-file-listrenamed tofile-list, andshow-upload-listrenamed toshow-file-listthumbnail-moderemoved
1.1.6
2017-01-23
- Fixed
customClassof MessageBox affecting follow-up instances, #2472 - Fixed style issue of Select after being activated when located in a non-default-activated tab pane inside Tabs, #2466
- Fixed style missing issue for some components when imported on demand
- Fixed disabled filterable multiple Select still showing dropdown when clicked on a certain area, #2540
- Restored returning to original sorting in sortable Table columns, #2491
- Added
reset.cssintheme-default, #2378 - Added
range-separatorattribute for DatePicker, #2579 - Published individual component packages: Table, DatePicker, Loading, Upload and Carousel
- Add Finnish (@groenroos)
1.1.5
2017-01-17
- Fixed Menu not activating corresponding menu item after router switching in router mode, #2451
- Fixed
valueattribute of Collapse not supportingNumbertyped value, #2455
1.1.4
2017-01-16
- Fixed Input Number triggering
changeevent when bound value is changed programmatically, #2329 - Fixed Menu not responding to
$routerchanging in router mode, #2391 - Fixed Menu and Tree expanding state malfunctioning when clicked multiple times quickly, #2354
- Fixed
changeevent triggering mechanism of Input Number and Checkbox Group, now they do not fire when bound value is changed programmatically - Added
on-icon-clickattribute for Input, #2414 - Added
disabledattribute for Radio Group, #2411 - Added
accordionattribute for Tree, #2408 - Added
show-messageattribute for Form, #2356 - Fixed sort clicking area of Table, updated default sorting related APIs, #2309 #2405 (by @njleonzhang)
- Fixed
firstDayOfWeeknot working in ranged typed of DatePicker, #2353 - Fixed DatePicker displaying 1970 when initial value is null, #2388
- Fixed
filteredValueattribute for Table, #2348 - Fixed scrollable Table's style with empty data, #2396
- Added
beforeCloseattribute for MessageBox, #2204 - Fixed filterable Select not showing dropdown when triangle icon is clicked, #2389
Breaking change
- The
default-sort-propanddefault-sort-orderattributes added in 1.1.3 are now merged into an object-typed attribute
1.1.3
2017-01-09
- Fixed DatePicker not firing change event when cleared for the first time upon page load, #2167
- Fixed DatePicker year calculating error when choosing the next year, #2152
- Added
default-sort-propanddefault-sort-orderattributes for Table, #2182 (by @njleonzhang) - Fixed filterable Select filtering other options with initial value, #2196
- Added custom i18n processing, making Element compatible with i18n plugins other than
vue-i18n, #2129 - Added
resizeattribute for Input, #2263 (by @Kingwl) - Fixed Autocomplete not hiding dropdown when blurred, #2247
- Fixed style issues with nested Tabs, #2212 (by @Kingwl)
- Fixed Tabs' tab bar locating error when non-first item is initially activated, #2192
1.1.2
2016-12-30
- Fixed
sortableandfixedattribute of Table not working in Vue 2.1.7+ - Fixed Input Number not resetting on blur when input with illegal values, #2098
- Removed
titlescoped slot of Collapse, and addedtitlenamed slot, #2100 - Fixed range selection in TimePicker not working issue
- Fixed Tabs' active tab switching when a non-active tab is removed, #2106
- Fixed console error reporting when navigating Select with arrow keys, #2120
- Fixed incorrect validation timing of filterable Select in Form, #2120
1.1.1
2016-12-29
- Fixed compatibility issue with latest Vue due to compilation
1.1.0 Helium
2016-12-29
New features:
- Two brand new components: Carousel and Collapse
- SSR supported
- Scrollbars' style inside components is upgraded
- Table now supports custom templates via scoped slots; the good old
inline-templateis still compatible, but it's no longer recommended and is likely to be removed in the future - Table now supports expandable rows
- DatePicker now supports specifying the first day of week
- TimeSelect now supports
maxTime - Autocomplete now supports
popper-class - To customize template of Tab-Pane, now you can use the
slotnamedlabel
Fixes:
changeevent of DatePicker incorrectly triggering multiple times, #2070- Width shaking of tab-pane while initializing, #1883
Breaking changes:
- Only compatible with Vue 2.1.6 and beyond
- Parameters of Form validateField() methods are updated
- Alert's render-content attribute is removed, and now you can pass your custom template via default slot
- The box models of Input and Select are updated from
blocktoinline-block - The box model of Tabs is updated from
inline-blocktoblock, and Tab-Pane'slabel-contentattribute is removed - The dropdown of Autocomplete now inserts directly to
<body>, not<el-autocomplete>any more
1.0.9
2016-12-27
- Fixed DatePicker incorrectly triggering input event, #1834
- Fixed Tree reporting
event is undefinederror in Firefox, #1945 - Added
changeevent for DatePicker, whose parameter is the formatted value, #1841 - Added
header-alignattribute for Table, #1424 - Fixed single select Table's highlight style not removing when data is removed, #1890
- Fixed filterable Select lagging issue with more options, #1933
- Fixed multiple disabled Select not disabling removing selected options issue, #2001
- Fixed Col style not working in
xs, #2011 - Added
valueattribute for Tab, #2008 - Fixed InputNumber
changeevent incorrectly firing multiple times in some conditions, #1999 - Added
clearableattribute for DatePicker, #1994 - Fixed Form always passing validation in async mode, #1936
1.0.8
2016-12-20
- Fixed nested Popup from event bubbling, #1677
- Fixed the issue that datetimerange-typed DatePicker can not select time, #1758
- Fixed
changeevent not firing correctly of Slider, #1809 - Fixed Loading's spinner splitting while animating in some conditions, #1786
- Added
loading-text,no-data-text,no-match-textproperties andvisible-changeevent for Select, #1849 - Added
popper-classproperty for DatePicker, Select and Tooltip, #1806 - Added
expand-on-click-node,current-node-keyproperties andcurrent-changeevent for Tree, #1805 #1807 - Added the third parameter
columnfor Table'srow-clickevent, #1808 - Fixed an error when pages with Checkbox switching routes due to
computedproperty being cached, #1860 - Added the tab instance as a parameter for TabPanel's
label-contentrender function, #1857 - Added infinite submenus support for NavMenu in vertical mode, #1851
- Updated Checkbox so that it works without a binding value, #1818
- Added
onProgresshook for Progress, #1782 - Fixed Tab not updating active bar with dynamic label, #1761
- Added
filter-changeevent for Table, andcolumn-keyproperty for TableColumn, #1876 - Added
hide-on-clickproperty for Dropdown, #1879
1.0.7
2016-12-14
- Fixed DatePicker dropdown appears when hovering on the clear button
- Fixed DatePicker displays a wrong date when its initial value is null
- Added
row-contextmenuevent andmax-heightattribute for Table, #1663 #1674 - Added
customClassattribute for MessageBox, #1707 - Added
iconClassandcustomClassattributes for Message and Notification, #1671 - Added empty slot for Table, #1737
- Added old value as a second parameter in change event for InputNumber
1.0.6
2016-12-09
- Added
disabledattribute for Tabs, #1620 - Added
sizeattribute for DatePicker input, #1440 - Fixed
datetimerangeDatePicker's panel not showing correct date if initial value is present, #1129 - Fixed DatePicker display error when switching year, #1607
- Fixed DatePicker not triggering clickoutside when its icon is clicked, #1604
- Fixed TimePicker not refreshing value after clicking the clear button, #1583
- Fixed remote filterable Select display error when its value is an object, #1593
- Fixed Select's clear button still working bug when it's
disabled, #1619 - Fixed Switch's background color error when its
disabledattribute is dynamically changed, #1627 - Fixed some style bugs of Table
1.0.5
2016-12-06
- Fixed Select with async options and binding value displaying value instead of label, #1537
- Fixed Select reports an error when initial binding value is an empty object, #1533
- Fixed remote filtering Select not showing dropdown in some conditions, #1531
- Fixed Slider sometimes drifting a small distance after releasing dragging, #1546
- Fixed Steps style in IE9, #1543
- Added Upload generating URL for all file types, #1530
- Fixed TimeSelect style, removed flexbox, #1335
1.0.4
2016-12-02
- Added
controlsattribute for Input Number, #1473 - Fixed Checkbox Group and Radio Group async issue, #1511 #1514
- Added
offsetattribute for Notification, #1419 - Fixed Slider's value not accurate issue when dragging rapidly, #1458
- Fixed Slider incorrectly showing multiple decimal digits issue, #1450
- Fixed Select's binding value and displayed value not in sync in some conditions
- Added
multiple-limitandallow-createattributes for Select - Fixed Tree leaf nodes' triangle icon not disappear when expanded, #1438
- Fixed Tree's view not updating issue after fetching child nodes' data, #1439
- Fixed some Table's style issues in windows system, #1464 #1507
- Fixed Table's first column's label not showing issue when grouping table head is used with fixed columns, #1451
- Added
row-dblclickevent for Table, #1362
1.0.3
2016-11-28
- Fixed
currentPageof Pagination not working in some cases, #1336 - Fixed
monthanddisabledDateDatePicker's view not refreshing issue when switching year, #1158 - Fixed
readonlyDatePicker clear button not disabled issue, #1238 - Fixed Slider not working when binding value is
NaNorstepis smaller than 1, #1239 #1282 - Added multi-header for Table, #1312
- Added
rowStylefor Table, #1348 - Fixed some attributes of TableColumn can not dynamically assigned issue, #1314
- Added
filter-node-methodattribute andfiltermethod for Tree, #1257 - Added
getCheckedKeysandsetCheckedKeysmethods for Tree, #1254 - Added deep nesting support for Checkbox/Radio inside Checkbox/Radio Group, #1152
- Fixed Popper not triggering destroy issue when keep-alive, #1359
- Added object deep validation for Form, #1363
- Added
appendandprependfor Autocomplete, #1369 - Added dynamic
pageSizessupport for Pagination, #1372 - Added custom style API for checked buttons in Radio Button, #1380
- Added assigning title via slot for Menu Group, #1382
- Fixed DatePicker year switching bug, #1385
- Added uploaded file list API for Upload, #1393
- Added multi-type support for
labelattribute of Checkbox, #1400 - Added
setCheckedmethod for Tree, #1422
1.0.2
2016-11-18
- Added
contextfor Table to specify which context to access inside of table columns, #1161 - Added multiple languages
- Fixed language's dynamic switching issue, #1160
- Added
render-contentfor Alert, #568 - Added styles for focused Button, #982
- Fixed
changetriggering timing in Switch, #1162 - Fixed TimeSelect being disabled when start time is set to
00:00, #676 - Added
show-headerattribute andheader-clickmethod for Table, #1195 - Improved
heightattribute for Table when set to a string, #1195 - Fixed
selection-changeof Table not triggering in some cases, #1198 - Fixed Table's fixed columns not disappear when
fixedattribute is dynamically changed, #1182
1.0.1
2016-11-16
- Fixed Pagination improperly triggering multiple
current-changeevents - Fixed Switch style when nested in a Form, #967
- Fixed Loading locks scroll of
bodyin specific scenarios, #968 spanof Col is no longer a required attribute, and its default value is24if omitted- Added
disabledandeditableattribute for DatePicker, #976 - Fixed DatePicker readonly with native behavior, #976
- Added
closemethod for Message and Notification to manually close an instance - Added clear value feature for DatePicker, #759
- Fixed Form reports an error when resetting a Date typed field, #937
- Fixed Table render error using vue-loader 9.9.0
- Added
align-centerattribute for Step, #994 - Fixed Upload missing Progress component, #1013
- Layout now supports responsive layout
- Added
show-closefor Dialog - Fixed an error when
vue-i18nis imported but not configured, #973 - Fixed DatePicker not refresh view with an initial value, #1050
- Fixed DiatePicker not refresh year when switched in month picker, #1070
- Added $loading service
- Added
manualtrigger in Popover - Added props:
nodeKey,emptyText,checkStrictly,defaultExpandAll,autoExpandParent,defaultCheckedKeys,defaultExpandedKeysand method:setCheckedNodesfor Tree
1.0.0
2016-11-9
- Element 1.0.0 released.