mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
22 KiB
22 KiB
Changelog
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.