Commit Graph

2487 Commits

Author SHA1 Message Date
Simona
d9462ab771 Image: add image component (#15117) 2019-04-19 12:09:42 +08:00
Zhi Cun
686595627e Alert: Add dark theme (#15041) 2019-04-19 11:57:20 +08:00
Zhi Cun
128feba18f Divider: add divider component (#15055) 2019-04-19 11:44:35 +08:00
Simona
c34ec3f1f1 Rate: add custom colors and icon-classes by passing a object (#15051) 2019-04-19 11:08:30 +08:00
iamkun
ec0295f5a7 Dialog: Fix dialog body correctly break long words (#15027)
fix #14855
2019-04-18 10:32:44 +08:00
morning
c965e3697a Select: set placeholder to label of option selected when filterable is true (#14989) 2019-04-17 18:01:10 +08:00
iamkun
d7ab0a58c0 Upload: Fix Upload transparent picture display style (#15039) 2019-04-17 16:48:27 +08:00
Haoran Yu
f19b9f13c6 Rate: Fix decimal display support in disabled mode (#15089) 2019-04-17 11:33:08 +08:00
iamkun
f02a849444 fix: Fix Notification title word break (#15008) 2019-04-17 11:05:58 +08:00
hetech
993e9a12fb
Form: required FormItem displays asterisk when label is auto (#15144) 2019-04-17 11:04:28 +08:00
hetech
c6dbd286e1
Table: fix load bug in lazy mode (#15101) 2019-04-12 19:06:29 +08:00
hetech
7b24f82586 Form: fix label style (#14969) 2019-04-03 20:03:56 +08:00
iamkun
14e0a0d28c [build] 2.7.2 2019-04-03 17:10:04 +08:00
hetech
901ff0ed2b
Form: fix style when label-width is auto (#14955) 2019-04-03 16:49:27 +08:00
iamkun
0790a218b1 [build] 2.7.1 2019-04-03 15:12:06 +08:00
hetech
a408b3dd3f
Form: label-width supports width auto (#14944) 2019-04-03 11:56:49 +08:00
hetech
e7fdd3dc50
Dialog: background-color can be configured (#14939) 2019-04-03 10:38:17 +08:00
hetech
b851242a5c
Table: defaultExpandAll works when expand column exists (#14935)
* Table: `defaultExpandAll` works when expand column exists

* fix
2019-04-02 15:26:46 +08:00
Jiewei Qian
d38ab315fa Input: update DOM dependent values on type change (#14889)
fix #14857
2019-04-02 12:19:32 +08:00
aaronfulkerson
6a766097e2 Select: set value to null when cleared (#14322) (#14650) 2019-03-29 02:16:30 +11:00
iamkun
9a0eea74fd [build] 2.7.0 2019-03-28 13:20:07 +08:00
hetech
afaec24a03 Tooltip: displays when initial value is true (#14826) 2019-03-28 10:57:38 +08:00
hetech
314e7fbaee Tree: revert pr #13349 (#14847) 2019-03-27 18:28:50 +08:00
iamkun
53df27e48f ColorPicker: Fix handle error hex color string (#14793)
* fix(ColorPicker): Fix handle error hex color string

* Update color.js

* Update color.js
2019-03-27 17:48:58 +08:00
hetech
ea55f525a1 Dropdown: compatible with 2.6 new v-slot syntax (#14832) 2019-03-27 16:14:00 +08:00
hetech
9def85be4a Table: add support tree structure data (#14632) 2019-03-27 16:13:21 +08:00
花裤衩
56e3e1f56a NavMenu: fix click el-submenu trigger childMenu pop again bug (#14443) 2019-03-26 15:45:02 +08:00
hetech
9f19298d1a
Table: footer follows body cell align (#14730) 2019-03-25 19:31:10 +08:00
Akshay Jat
9736448b54 Tabs: rerender when label changes (#14496)
* tab: fix active bar bug (#14416)

fix: Tab active bar doesn't resize when tab label changes dynamically

* tab: fix active bar bug

changes done as suggested in review
2019-03-25 19:21:51 +08:00
子物
362953ef4e Tabs: use primary color as boxShadow color (#14558) 2019-03-25 16:29:47 +08:00
Jeff Wen
c0642aab89 Theme: fix media query is not working in sm-only, md-only, lg-only (#14611) 2019-03-22 14:12:40 +08:00
ziyoung
44458bb81c [build] 2.6.3 2019-03-21 18:28:41 +08:00
hetech
d956022a96
Cascader: remove unnecessary DOM operation (#14788)
* Cascader: remove unnecessary DOM operation

* update cascader test
2019-03-21 18:11:14 +08:00
Jiewei Qian
a149828889 date-picker: fix default-value DST (#14562) 2019-03-21 17:18:27 +08:00
ziyoung
da42924f17 [build] 2.6.2 2019-03-21 14:52:32 +08:00
Jiewei Qian
ed13de38c7 input: fix regression (#14572)
* input: fix regression

guard against: #14551
fix: #14501, #14521, #14564, #14332

* Input: update
2019-03-19 15:54:55 +08:00
Jeff Wen
0e8bc859e0 Steps: fix style with simple theme (#14610) 2019-03-18 16:51:29 +08:00
hetech
535b6149d8
chore: upgrade gulp (#14745)
* chore: upgrade gulp

* update
2019-03-18 16:15:18 +08:00
iamkun
5b6cb3180f chore: generate theme (#14666)
* update es fr i18n

* update no need edit pages

* move var name to frontend

* add i18n

* update i18n

* fix bug

* update style

* add callback

* add shortcut

* redo undo logic

* update picker style

* update shadow style

* save config to local

* button color

* button color

* add message

* update save logic
2019-03-14 17:55:28 +08:00
Hao Li
88c7d3e34f fix issue 14663 - slot in ElPagination is not updating 2019-03-14 14:26:18 +08:00
Jeff Wen
d1255684d4 Steps: fixes issue #14502 (#14596)
* Steps: fixes issue #14502

* Update

* f
2019-03-09 21:26:51 +08:00
Jeff Wen
b7ee84f39a date-picker: fix first-day-of-week computation (#14523)
Fixes #14523
2019-03-06 19:10:40 +11:00
Jiewei Qian
e52c7e06df Date-picker: fix week picker's value-format (#13754) 2019-03-04 15:55:23 +08:00
zxyRealm
2f5a489a9c DatePicker: add monthrange for type attribute (#4204) (#14487) 2019-03-04 15:41:04 +08:00
zhiyang
a7a09d9b0f [build] 2.6.1 2019-03-03 14:31:57 +08:00
ziyoung
2450874305 [build] 2.6.0 2019-03-01 18:50:24 +08:00
iamkun
91fb5c5571 Alert: update alert description default slot class (#14488)
fix #14015
2019-02-28 16:08:09 +08:00
hetech
651438eef3 Switch: trigger form validation if value changes (#14426)
* switch: trigger form validation if value changes

* add French translation

* fix doc

* trigger validation in watch handler
2019-02-28 16:07:25 +08:00
iamkun
febdd3bbb4 chore: init theme (#14508)
* chore: init theme

* chore: update faas config
2019-02-28 16:00:59 +08:00
iamkun
969fdd264b Input: update input password (#14480)
* refactor: Refactor Input component

* Update input.vue

* Update input.vue
2019-02-26 12:09:05 +08:00
georgyfarniev
57f3960927 Menu: add support for el-menu-item without index (#13298) 2019-02-22 19:25:38 +08:00
hetech
dc83a5a848
Tabs & Dropdown: fix style (#14452) 2019-02-22 17:59:44 +08:00
Gabriel Oliveira
8608dbf800 DropdownItem: add icon prop to dropdown-item (#14088)
* Add icon prop to dropdown-item

* Add French translation to DropdownItem Icon

* Adding missing TypeScript definition to DropdownItem
2019-02-22 12:33:15 +08:00
Hao Peng
423d97825f Input: add show-password props (#13966) 2019-02-21 12:30:38 +08:00
xifeiwu
e8e271a8ef ScrollBar: prevent right button click on thumb (#14196) 2019-02-20 19:53:05 +08:00
riho
7b1d0e2aeb Table: make toggleAllSelection method an instance method(#14075) 2019-02-20 15:27:00 +08:00
Harlan
f55fbdb051 Select: add slot empty (#13785)
* Select: Add slot `empty` (#13769)

* Select: add test case for slot `empty`
2019-02-19 14:36:09 +08:00
HarlanLuo
a54802c71a Table: remove some html DOM operations (#13643) 2019-02-18 14:31:03 +08:00
Harlan
5ae443a408 Upload: optimize code (#13973) 2019-02-15 16:36:24 +08:00
Zhi Cun
6231a39361
Merge pull request #14331 from ColinCLL/dev
Tree: Empty-text tips are different from tables
2019-02-15 16:08:52 +08:00
JuniorTour
740248bca4 InputNumber: remove unnecessary parseFloat (#14172) 2019-02-15 15:39:39 +08:00
刘鹏龙
1ec0821e42 Menu:fix subMenu focus bug when switch browser tab (#13976)
* Menu:fix subMenu focus bug

* Menu:fix subMenu focus bug remove window.ActiveXObject
2019-02-15 13:49:55 +08:00
Yamen Sharaf
1fd5964b70 autocomplete: add highlight-first-item prop (#14269) 2019-02-14 20:05:42 +08:00
ColinCll
24ea6e7054 Tree: Empty-text tips are different from tables
There is a color difference between the tree and the table empty-text.And I think use `$--color-text-secondary` is  more sense.
2019-02-12 11:03:11 +08:00
Zhi Cun
f17533ab11
Timeline: add timeline component (#14248)
* Table: fix params order of row events (#12086)

* Timeline: add timeline component (#11736)

* Timeline: add timeline component

* Timeline: add timeline component

* Timeline: add test case

* Timeline: fix icon class

* Timeline: update docs

* Timeline: fix test case

* Timeline: remove pending attribute

* Timeline: fix docs

* Timeline: make reverse default to false

* Timline: fix test case

* Timeline: update element-ui.d.ts

* Timeline: optimize code
2019-02-01 17:13:08 +08:00
island205
a638a25117 [build] 2.5.4 2019-02-01 13:55:19 +08:00
ziyoung
f992ee5b88 [build] 2.5.3 2019-01-31 15:37:25 +08:00
vok123
4eefc2a552 message: optimize code (#14029) 2019-01-30 19:25:26 +08:00
iamkun
ff1251f0b1 Tabs: fix error tab bar style 2019-01-28 16:13:09 +08:00
Zhi
eb2087747b [build] 2.5.2 2019-01-27 21:29:27 +08:00
iamkun
3ea5da6038 chore: 2.5.1 fix 2019-01-26 20:48:25 +08:00
Zhi
d57d79bd61 Merge remote-tracking branch 'eleme/master' into dev 2019-01-26 14:25:23 +08:00
Zhi
d0bb15f9de [build] 2.5.0 2019-01-25 19:15:48 +08:00
Debiancc
0ddc10d652 date-picker: highlight current month and year (#14211) 2019-01-25 18:39:39 +08:00
Zhi Cun
32a4c139a9
Merge pull request #14185 from luckyCao/dev
Table: fixed show-summary issue when multilevel header has fixed attr…
2019-01-24 15:38:47 +08:00
Zhi Cun
fc84a66544
Merge pull request #13667 from KidneyFlower/dev
Tree: fix a bug that caused `showCheckbox` props on `Tree` can not affect their children `tree-node`
2019-01-24 15:21:37 +08:00
曹磊
cdb5d45dd7 Table: fixed show-summary issue when multilevel header has fixed attr(#13914) 2019-01-24 15:14:55 +08:00
ohhoney1
09b384bf3a Radio: refine style 2019-01-23 14:19:46 +08:00
王小白
4b02ed7c51 popper: destroy popper instance(#13988) 2019-01-23 11:22:54 +08:00
Zhi Cun
c154292d1b input: fix textarea ref (#13803) 2019-01-21 14:42:00 +08:00
ileechee
e9aae8f706 Tag: add click event (#14106)
* Tag: add tag click event handle

* Tag: add doc and unit test.
2019-01-21 13:52:33 +08:00
Pan
6a6460eda6 Checkbox: refine style 2019-01-17 18:08:32 +08:00
YuCheng Lin
904e60ef1d date-time-picker: add selectableRange in pickerOptions 2019-01-14 23:25:46 +08:00
ziyoung
1a52458a42 chore: use shadow CDN and fix typo 2019-01-10 20:00:23 +08:00
Sean
5f181c31e3 date-picker: fix week highlight on year boundary (#13883)
When the selected week spans across two years (e.g. 2018-12-30 2019-01-05),
they should be highlighted in both month tables.
2019-01-03 14:43:37 +08:00
Jiewei Qian
b33dcb5208
chore: fix slider indent (#13955) 2019-01-02 16:43:01 +08:00
liuchuzhang
5fbb14d5eb Autocomplete: update style (#13762)
fix regression introduced in pr #13266, where popper arrow is hidden
2019-01-02 16:40:38 +08:00
Harlan
4f93968db4
Pagination: input max value won't be less than 1 (#13727)
Pagination: input max value won't be less than 1 (#13727)
2018-12-29 13:27:05 +08:00
Harlan
2e9eb0f739
Upload: add url prop to upload file when list-type changed (#13771)
Upload: add url prop to upload file when list-type changed (#13771)
2018-12-29 13:25:31 +08:00
Harlan
91c40d311e
Carousel: stop timer before component destroyed (#13820)
Carousel: stop timer before component destroyed (#13820)
2018-12-29 13:08:50 +08:00
HarlanLuo
23e81831fe Carousel: stop timer before component destroyed (#13820) 2018-12-20 11:37:35 +08:00
HarlanLuo
c3e8b77d47 Upload: add url prop to upload file when list-type changed (#13771) 2018-12-17 10:30:13 +08:00
iamkun
e5a38eaebe Tabs: use paneName instead of name (#13733) 2018-12-14 11:17:51 +08:00
iamkun
c8839b8022 Cascader : remove deprecated property (#13737) 2018-12-14 11:15:50 +08:00
HarlanLuo
82fbac875d Pagination: input max value won't be less than 1 (#13727) 2018-12-12 21:10:43 +08:00
iamkun
16311d1e32 Tabs: get the correct tab through tab name (#13705) 2018-12-10 16:46:55 +08:00
iamkun
f7241f62ef Tabs: fix auto scroll bug (#13696) 2018-12-10 16:22:32 +08:00
Jerry Chou
7a031e6399 Table: fix empty text vertical alignment issue on IE10+ (#13638)
* Table: fix empty text vertical alignment issue on IE10+

* Table: add a comment to IE-specific fixes
2018-12-07 18:30:08 +08:00
Gideon King
911ca6872a Popover: fix popover issues with hover display (#13104)
* Fix issue with popover displaying on focus when configuration is for it to show on hover.
Fix issue with popover timer still running when button clicked and parent element no longer visible (e.g. keepalive component).

* Updated to pass tests

* Correct documentation for el-date-picker

* Changes as per ziyoung review
2018-12-05 17:23:10 +08:00
KidneyFlower
c2e7e17a21 Tree: fix a bug that caused showCheckbox props on Tree can not affect their children tree-node 2018-12-05 16:30:21 +08:00
hetech
7236b866c0
Autocomplete: update autocomplete style (#13597) 2018-11-28 16:43:38 +08:00
hetech
16744b61cf
Cascader: update cascader style (#13596) 2018-11-28 16:20:20 +08:00
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