Commit Graph

2285 Commits

Author SHA1 Message Date
cnjs
0011ee6af4 Table: enhanced table sorting when clicking on the arrow (#12890) 2018-11-28 15:46:53 +08:00
Ende93
0e7a7d345f DatePicker: add key prop to 'v-for' (#13547) 2018-11-26 15:17:46 +08:00
Jiewei Qian
e2c5573c1f Input: simplify el-input implementation (#13471)
* input: simplify internal implementation

remove currentValue, strictly follow one-way data flow
hack for MSIE input event when placeholder is set
remove isKorean hack (#11665, #10648)

* input-number: fix for new el-input

* test: input, fix vue warning

* date-time-range: fix for new el-input

* pagination: fix for new el-input, simplify internals

* input: fix input event on compositionend

* input-number: fix for new el-input

* input-number: nuke userInput on change
2018-11-26 15:05:46 +08:00
hetech
d8d4dfedd5
DatePicker: add validate-event attribute (#13531) 2018-11-22 18:29:16 +08:00
ziyoung
dd920170d5 [build] 2.4.11 2018-11-21 16:38:26 +08:00
Aleko
48821cffcd Col: fix the responsive bug caused by 'xs' variable (#13468) 2018-11-21 14:46:28 +08:00
hetech
94833532d8
Menu: revert #13296 (#13478) 2018-11-20 11:50:20 +08:00
ziyoung
d293b188d5 [build] 2.4.10 2018-11-16 19:29:51 +08:00
Harlan
465ec7c695 Transfer: fix component crash when target order is push (#13333)
* Transfer: fix bug sometimes component crash when target order is push(#13320)

* update code
2018-11-14 15:46:14 +08:00
hetech
c1b869d7ce
Cascader: add visible-change event (#13415) 2018-11-14 12:25:41 +08:00
Arthur Denner
026558682c Autocomplete: add clearable prop (#12171)
* Autocomplete: add clearable prop

* Input: remove focus after clearing the value

* Autocomplete: hide options after clearing the value
2018-11-13 18:33:33 +08:00
Ali Torki
d37f74f539 Progress: add text status (#13198)
* add: text status in progress circle component

* Progress: update Chinse and Spanish docs and minor improvements

* update progress
2018-11-13 11:24:15 +08:00
dive2Pro
d97555bdde Tree: fixed default-checked-keys display wrong (#13349)
* fix: 12383 Tree in lazy mode set child node 'default-checked-keys', display wrong:All nodes are fulfilled

* 添加测试

* fix code style

* update style
2018-11-13 10:31:22 +08:00
Jiewei Qian
9738054dd4 DatePicker: optimize code, fix #12980, follow up #8156 (#13374)
* date-table: simplify implementation, fix #12980

* date-table: remove rangeState's row and column

* date-table: fix disabled cell highlight

this is a regression introduced in pr #8156, which allows disabled date to be
highlighted.

Also simplifies handleClick's implementation to avoid DOM operations.
2018-11-12 19:19:58 +08:00
hetech
61f2b8afae
Cascader: set separator when filtering (#13389) 2018-11-12 19:19:08 +08:00
hetech
bf7bb4b6f5
Table: stop event propagation for checkbox (#13369) 2018-11-09 19:03:07 +08:00
花裤衩
fb4ba161a1 TimePicker: explicit declare box-sizing: content-box (#13347) 2018-11-09 14:51:20 +08:00
hetech
d241282a81
Alter: title is not a required prop (#13360)
* Alter: title is not a required prop

* update docs
2018-11-09 12:01:35 +08:00
Anton Kuznetsov
2b7fa617ae Tree: add currentNodeKey property declaration and fix test for currentNodeKey (#13197)
* Add currentNodeKey property declaration, fix test for currentNodeKey

* translate Chines doc
2018-11-08 19:28:24 +08:00
hetech
d1440c9608
Tree: add iconClass attribute (#13337) 2018-11-07 19:06:36 +08:00
SkyAo
eb41032658 Menu: clickoutside hide submenu (#13296)
* Menu:(fix) clickoutside hide submenu

* fix: optimize code
2018-11-07 19:05:46 +08:00
Harlan
036102675a AutoComplete: add clear event (#13326)
* AutoComplete: add clear event(#13317)

* remove arg in `handleClear` in AutoComplete
2018-11-07 17:20:06 +08:00
Ruslan P
1f592944d6 DatePicker: allowed to customize range-seprator with a slot (#13272)
* DatePicker: Allowed to customize range-seprator with a slot

Currently, the only possible option for "range-selector" is a string, would be nice to use a slot, so we could have custom svg-icon there.

* update doc
2018-11-07 12:30:47 +08:00
hetech
e715848c90
Form: validateField accepts an array of field names (#13319) 2018-11-06 18:52:54 +08:00
Harlan
717b3480b9 Collapse: slot header use display flex instead of float (#13277) (#13290) 2018-11-06 17:39:33 +08:00
hetech
9a31f5f6e6
ColorPicker: not trigger form validation when dragging (#13299)
* ColorPicker: not trigger form validation when dragging

* update test case for input
2018-11-05 19:21:49 +08:00
st-sloth
9d09d0dbf4 InputNumber: add select method (#13286)
* Input: add test for `select` method

* InputNumber: add `select` method
2018-11-05 19:21:24 +08:00
SkyAo
f8a27565b0 ColorPicker: add immediate watcher for currentColor (#13278) 2018-11-05 15:51:12 +08:00
SkyAo
bdc9363635 InputNumber: add placeholder attribute (#13275) 2018-11-05 15:36:36 +08:00
liuchuzhang
f98e797d48 autocomplete: update style and fix #13129 (#13266) 2018-11-02 14:25:07 +08:00
Harlan
bcef4d9e35 Table: add resetFilter which can reset filter of a column (#13176)
* Table: clearFilter can clear the filters of specified columns

* optimize code and add resetFilter example in doc

* Table: Improve documentation of clearFilter
2018-11-02 11:40:36 +08:00
hetech
5b32ec426d
Select: fix repeat clicking to display dropdown menu (#13268) 2018-11-02 11:35:33 +08:00
hetech
9c32f55892
Table: fix header scoped slot not accessing data (#13263) 2018-11-01 15:23:55 +08:00
hetech
f33a6562ca
Tooltip: fix word wrap for long words (#13257) 2018-11-01 12:11:53 +08:00
Harlan
933109fd5b Carousel: add prop loop (#13217)
* Carousel: add prop `loop` which can control whether display in loop (#12869)

* Carousel: add es doc for new prop `loop`
2018-10-31 17:41:23 +08:00
Harlan
0d526b8371 Table: current row will set to the row which has the same row-key when data changes(#3023) (#13200) 2018-10-31 16:42:34 +08:00
Amumu
74fb8ac225 Select: Improve Robustness, fix #13049 (#13245) 2018-10-31 15:59:35 +08:00
hetech
87f448f8dd
chore: optimize code (#13214) 2018-10-30 15:31:58 +08:00
hetech
168bf64b57
Progress: add transition support (#13210) 2018-10-29 16:42:55 +08:00
porcelainHeart
326266134f Button: fix disabled button style bug (#13188) 2018-10-29 15:55:24 +08:00
hetech
7daa72be04
Input: not display clear icon in disabled form (#13208) 2018-10-29 15:52:45 +08:00
rongxingsun
87baaad394 Table: not display tooltip when cell is empty (#13152)
* Update table-body.js

* Update table-body.js
2018-10-29 15:25:41 +08:00
ziyoung
c6204c38a8 [build] 2.4.9 2018-10-26 19:17:23 +08:00
hetech
672ff0a156
Tabs: set TabNav key (#13178) 2018-10-26 15:09:16 +08:00
hetech
cf42b5444e
Table: update Chinese doc (#13177) 2018-10-26 11:59:02 +08:00
Harlan
3a1ee202a4 Table: tooltip content prefer innerText instead of textContent (#13159) 2018-10-26 11:58:17 +08:00
Ivan Seidel
2bafed0acc Table: Adds header rendering slot (#13012)
* Table: Adds header rendering slot

Fixes #4909 and #4908

* Add translation to spanish

* Include render-header deprecation warning

* Add chinese translation and scoped slot description at bottom

* Fix documentation and warnings. Fix custom-header docs

* Fix redundant columns and cleanup example

* Prevent scopedSlot from working on selection column

* Typo
2018-10-26 11:16:56 +08:00
Wenlu Wang
31d31d904d Alert: add support for title slot (#13082)
* Alert: add support for title slot

* update documents
2018-10-20 11:51:36 +08:00
Jérôme Botineau
97728bddb5 aria: add role dialog (#13084) 2018-10-18 19:09:06 +08:00
Akshay Jat
6ae54e5230 Select: fix option wrap in multiple mode (#12329)
* Select: Fix (#11392 & #12327) Writing space become small when collapse-tags prop is added & input takes new line even if space is available when filterable & multiple props are true

* Changes as IE & Edge dosen't support display: contents

* Revert "Changes as IE & Edge dosen't support display: contents"

This reverts commit 21475c6daac3e0ca364b4a9889e899316e553839.

* Fixed issue - input going in new line even if there is space (collapse-tags)

* Made calculating with dynamic (replaced static 208 with el-select__tags dynamic width)

* Select: Fixed Bug - Extra Height

Fixed bug - getting extra height whenever last options width is most of same as select's width
2018-10-17 16:40:29 +08:00