Commit Graph

1890 Commits (0f06fd5079d22f306f5a3be02385cb52668eb785)

Author SHA1 Message Date
cinwell.li be3dcbfc4c chore: update ESLint (#9124)
* chore: update ESLint

* chore: update eslint ignore
2018-01-05 16:53:02 +08:00
Allenice 5e06a1a463 Dialog: remove DOM node after destroyed when appendToBody (#9005)
* Form: fix async validate bug

* Form: fix async validate bug

* When dialo's <appendToBody> is true, remove DOM node after destory
2018-01-05 12:31:51 +08:00
杨奕 931249bad6 Table: add missing tooltip style when imported on demand (#9130) 2018-01-04 18:18:44 +08:00
HugoLew ea7f7bb6d7 feat: el-submenu add show-timeout,hide-timeout attributes (#8934)
* el-submenu add show-timeout,hide-timeout attributes

* el-submenu add show-timeout,hide-timeout attributes

* el-submenu add show-timeout,hide-timeout attributes

* add the definition for SubMenu
2018-01-04 17:11:51 +08:00
Clark Du 1ad4b89ce2 refactor: fix some code issues (#6945)
* Table: remove condition due to rows has been accessed prior

* Table: change el-tooltip style to object

Signed-off-by: Clark Du <clark.duxin@gmail.com>
2018-01-04 16:00:47 +08:00
Jordan Pickwell e86cb785b3 Fix #9121 (#9122) 2018-01-04 10:28:25 +08:00
qingwei.li 63fed345e5 feat(Menu): rerender activeIndex when menus changed, fixed #9092 2018-01-03 10:43:48 +08:00
Leopoldthecoder 11d2263678 Select: fix remove-tag event param 2017-12-31 17:23:17 +08:00
Leopoldthecoder 0ab07c1fca Input: remove blue border of Select when prepended/appended 2017-12-31 17:01:30 +08:00
Leopoldthecoder f6ba1efea1 Tabs: fix active bar width when only one tab 2017-12-31 10:26:15 +08:00
Leopoldthecoder ce27b5b396 [build] 2.0.10 2017-12-29 18:09:56 +08:00
Leopoldthecoder 5bb6135f6f Changelog: update for 2.0.10 2017-12-29 18:07:33 +08:00
liril a7fa7449d0 revert: Revert table thead inline-flex 2017-12-29 17:34:49 +08:00
Leopoldthecoder ae4d29cff5 Chore: misc updates 2017-12-29 17:34:26 +08:00
remizovvv 324ee72446 Picker: Only emit 'change' event when value is changed. (#9029)
* isue#9027 picker emit only real user change

* issue#9027 date-picker emit change if user real change only

* issue#9027 date-picker emit change if user real change only
2017-12-28 16:36:42 +08:00
liril 8d9aaac41f fix: Fix wrong max height in fixed table 2017-12-28 16:32:59 +08:00
liril d436d027db fix: Make thead cell inline-flex 2017-12-28 16:18:20 +08:00
dicklwm 79a4ac29af #9038, add el-input tabindex props 2017-12-28 15:50:07 +08:00
liril 71f2b31b24 fix: Fix wrong compiled color 2017-12-28 15:41:13 +08:00
wacky6.AriesMBP b0c382f2f8 Slider: mitigate high cpu usage (#8989)
see: https://github.com/ElemeFE/element/issues/8989
2017-12-28 15:39:57 +08:00
Leopoldthecoder bd616e37b6 Notification: fix style when message prop is omitted 2017-12-26 17:12:12 +08:00
Leopoldthecoder 8d49e17303 [build] 2.0.9 2017-12-24 19:35:10 +08:00
Leopoldthecoder 351f900df6 Tree: add renderAfterExpand 2017-12-24 19:13:17 +08:00
Akiho Nagao 8d15a86df2 Table: Add eventListener option passive 2017-12-23 21:35:28 +08:00
Leopoldthecoder 0d952b7917 Switch: fix style 2017-12-21 10:35:56 +08:00
Leopoldthecoder bc893b5051 Carousel: fix items hides up when data is asynchronously updated 2017-12-20 21:11:21 +08:00
Leopoldthecoder 42849a89fe Loading: remove parent class when directive is unbound 2017-12-20 17:05:37 +08:00
Leopoldthecoder c69adb0458 publish independent packages 2017-12-20 11:52:49 +08:00
花裤衩 24b15776de Table: use $--table-header-background to define header background(#8871)
$--table-header-background is defined but never used
2017-12-19 18:03:01 +08:00
Pan f7c63d993e Picker: perf el-icon-circle-close hover effect 2017-12-19 10:33:58 +08:00
Leopoldthecoder 4392a036d1 Form: fix support for dot-separated rule key 2017-12-19 10:33:27 +08:00
xifeiwu 13855f6c65 fix: the width prop of el-table-column is invalid when it is 0 (#8861)
* fix: the width prop of el-table-column is invalid when it is 0

* Update table-column.js
2017-12-17 18:20:00 +08:00
Leopoldthecoder 4af54f5a93 Popover: remove word-break style 2017-12-17 18:14:55 +08:00
Leopoldthecoder fac4bdf2f3 Autocomplete: support maxlength and minlength 2017-12-17 18:14:55 +08:00
earlymeme 735a834566 loading directive customClass 2017-12-17 18:12:44 +08:00
Leopoldthecoder 81ff11ad41 Form: fix initial error message 2017-12-16 21:23:05 +08:00
Leopoldthecoder 4a7f3c82ad Chore: misc updates 2017-12-15 16:45:15 +08:00
Leopoldthecoder 6497e8c1c1 Carousel: add type="button" to navigation buttons 2017-12-15 13:43:05 +08:00
wangshaobo 79b4cb42d2 Revise with review comments. 2017-12-13 11:17:00 +08:00
wangshaobo 4fe557b5e8 upload: add before-remove hook function 2017-12-13 11:17:00 +08:00
Leopoldthecoder 66dd670a53 Table: replace sorting arrow icons with borders to avoid overlap 2017-12-12 19:27:46 +08:00
Leopoldthecoder e64ba965d6 Select: fix default-first-option on created options 2017-12-12 19:03:52 +08:00
Leopoldthecoder 03635d1935 [build] 2.0.8 2017-12-12 17:07:23 +08:00
Leopoldthecoder 0fb05a35b3 Changelog: update for 2.0.8 2017-12-12 16:54:17 +08:00
Leopoldthecoder d58814290e Picker: fix blur event 2017-12-12 15:54:29 +08:00
Leopoldthecoder b91c5f8d11 Input: textarea should inherit font size 2017-12-12 14:05:55 +08:00
Leopoldthecoder dca4b7afd2 Chore: configure es docs 2017-12-12 14:05:55 +08:00
Leopoldthecoder 53fa204128 Form: fix blur validation 2017-12-12 14:05:55 +08:00
hejinming 0e478016be Table: fix table-column order disorder when made the assembly again 2017-12-12 11:47:40 +08:00
刘盼峰 0c824d61c8 Tabs: fix right padding of last tab item in basic type top/bottom position 2017-12-12 10:57:14 +08:00
Leopoldthecoder ffc310d98d Form: support nested rules 2017-12-11 19:02:32 +08:00
mario_ma bd3ccaab3f Select: use tags to show option when collapse-tags is set (#8567)
* modify set collapse-tags just show text

* Update select.vue
2017-12-11 18:03:40 +08:00
Leopoldthecoder 1fb98ef172 Chore: misc updates 2017-12-11 10:52:31 +08:00
Johan Hernefeldt 8ae2defa2d Dropdown: click open uses `show-timeout` attribute (#8734)
* Dropdown: Click open uses `show-timeout` attribute

* Dropdown: Modified test to work with `show-timeout` attribute

* Dropdown: Clean up in testfix
2017-12-10 17:42:08 +08:00
Jason Yin 0f7dcb9d32 Tooltip: fix extra spaces before class 'focusing' when focus multi times 2017-12-10 16:47:36 +08:00
wangshaobo b566c6156d Add Document for AM/PM `A` time format 2017-12-10 16:16:20 +08:00
yoyo837 216cf0c990 limitReached:Improve robustness when it does not set a default value 2017-12-04 17:59:46 +08:00
firesh f5aa24e419 DatePicker: add am/pm mode in time selector (#8620)
* time-picker: add am/pm mode in time selector (#8270)

* time-picker: add 'hh:mm:ss A' format test

* time-picker: add am/pm mode in time selector (#8270)

* time-picker: add am/pm mode in time selector (#8270)

* time-picker: add am/pm mode in time selector (#8270)

* Update time-spinner.vue

* Update time-spinner.vue

* Update time-spinner.vue
2017-12-04 13:44:49 +08:00
Leopoldthecoder 12e12758e7 [build] 2.0.7 2017-11-29 16:57:22 +08:00
Leopoldthecoder 6f5df9529e Button: fix disabled text button style 2017-11-29 16:42:36 +08:00
Leopoldthecoder 57f7dc766f [build] 2.0.6 2017-11-29 14:32:44 +08:00
Leopoldthecoder 765e59de6b Pagination: add background prop 2017-11-29 13:52:44 +08:00
Leopoldthecoder ace0d05791 Table: expand column supports label 2017-11-27 18:35:49 +08:00
Bogdan Luca 6e8f10a556 Input: add clearable (#8509)
* Added clearable to el-input.

* Added en-US example.

* Also fire change event on clear.

* Used clearable shorthand; added clearable to attribute list.

* Added styles.
2017-11-27 10:55:26 +08:00
Leopoldthecoder 475cc04681 Menu: collapsed menu shouldn't open default indices 2017-11-26 16:57:41 +08:00
Leopoldthecoder 7a4ec97f0d Chore: misc updates 2017-11-26 16:57:41 +08:00
Daniel Chiang abd2d7de36 call `doClose()` in the exposed `close` method 2017-11-26 15:38:41 +08:00
Leopoldthecoder f307f7f428 Cascader: add separator prop 2017-11-25 20:42:13 +08:00
Jason Zoo 6c4006487c Dropdown: inherit size from global config (#8473) 2017-11-24 10:42:04 +08:00
liyl 11b3c8bbfd Autocomplete: support suffixIcon & prefixIcon (#8446)
* feat: update autocomplete

* Feat: update input doc
2017-11-24 10:26:14 +08:00
Leopoldthecoder 0462d9ce1a DatetimePicker: disable inputs when selecting range 2017-11-23 19:22:16 +08:00
Leopoldthecoder 6a99f03e1f Select: update scroll bar position 2017-11-23 19:22:16 +08:00
Leopoldthecoder 9cfdc433c3 Popover: fix manual trigger 2017-11-23 19:22:16 +08:00
Decade 7120490d3e Pagination: reset invalid jumper value (#8408)
* fix pagination jumper value

* fix lint
2017-11-23 19:22:16 +08:00
Leslie 55617e0d1a DatetimePicker: fix max time error when init value is empty (#8336)
1.no init data
2.click start time and comfirm
3.click end time and comfirm(the end time is not change)
4.error
reason:
not evaluate 'maxDate' value in step1
I will show more details in conversation
2017-11-23 19:15:16 +08:00
Leopoldthecoder e033313608 Select: fix filter input display in multiple mode 2017-11-23 11:36:48 +08:00
Leon Zhang d6c35bffaa remove unnecessary event 2017-11-22 17:05:22 +08:00
hejinming 94d737fb4a Table: fix el-table-column 'hover-row' class error when expend column embed el-table 2017-11-22 11:44:27 +08:00
Leopoldthecoder dd8d350b7d Table: fix sorting arrow style 2017-11-21 11:54:45 +08:00
刘洋 6544134c38 Tag: stop close icon click event propagation (#8396)
* Tag关闭按钮@click修改为@click.stop防止事件冒泡(Tag添加自定义事件时,点击关闭会触发两次事件)

* Button: fix closeEvent bug
Tag关闭按钮@click修改为@click.stop防止事件冒泡(Tag添加自定义事件时,点击关闭会触发两次事件)
2017-11-21 11:05:52 +08:00
Leopoldthecoder 8f623b4cc4 Form: required rule shouldn't care about model type 2017-11-20 22:29:01 +08:00
Leopoldthecoder 46bd165fb1 [build] 2.0.5 2017-11-17 15:27:06 +08:00
Leopoldthecoder 5406a97359 Chore: misc updates 2017-11-17 12:46:52 +08:00
Leopoldthecoder 23e86bcf1a Table: fix high CPU consumption 2017-11-17 12:28:55 +08:00
Lengxu 6f1fc76e30 Select: fix input height resetting in default size
* dropdown 组件 新增触发下拉框显示隐藏时, 触发visible事件,传递当前下拉框显示状态

* Dropdown 修改事件名称,新增文档

* Dropdown 统一事件名称,修改文档

* Dropdown 统一事件名称,修改文档

* 完善form表单prop字段介绍

* Repair of multiple height calculation bug
2017-11-16 16:02:41 +08:00
Leopoldthecoder bd55a5a593 Cascader: fix active-item-change event 2017-11-15 21:29:13 +08:00
Ryan.xu 292ad8efec Table: fix table column show-overflow-tooltip bug
Table: fix table column show-overflow-tooltip bug, low version Firefox without innerText, add textContent
2017-11-15 14:10:28 +08:00
wacky6.AriesMBP c7d3de95b0 input: fix focus 2017-11-15 11:28:22 +08:00
Leopoldthecoder 2884984097 Tree: fix keyboard event 2017-11-15 11:15:26 +08:00
Leopoldthecoder 37f4ce0b30 MessageBox: ensure to get input element 2017-11-15 11:01:09 +08:00
lyh2668 4f00d7dea8 Update table-body.js
添加一个this.$refs.tooltip是否存在的判断
2017-11-15 10:54:19 +08:00
Leopoldthecoder ed511e9219 Tree & Breadcrumb: fix setAttribute to undefined bug 2017-11-13 17:29:16 +08:00
Leopoldthecoder f24aeeca00 Select: add collapse-tags 2017-11-12 21:03:34 +08:00
Leopoldthecoder 9611079d4d Table: sort arrow nostalgia 2017-11-12 21:03:34 +08:00
Leopoldthecoder 8fa549894b Popover: fix click trigger 2017-11-12 20:13:19 +08:00
Leopoldthecoder 64f154839c Chore: replace includes with indexOf 2017-11-12 14:27:20 +08:00
Leopoldthecoder 1833db26d8 Select: fix divider and focus issue 2017-11-12 14:27:20 +08:00
Leopoldthecoder 33bf6f9cd9 [build] 2.0.4 2017-11-10 16:39:45 +08:00
Leopoldthecoder c0c0e728ca Changelog: update for 2.0.4 2017-11-10 16:33:02 +08:00
Bunker13 2260a3bab3 Update package.json
missing devDependencies gulp-autoprefixer
2017-11-10 14:43:27 +08:00
carl 010b09891a fix invalid hover color of nav menu when background color contains 0 2017-11-10 12:25:02 +08:00
Leopoldthecoder 9f2ea7eab0 Chore: doc updates 2017-11-09 15:19:09 +08:00
Leopoldthecoder aa02b42022 Radio: fix console error of RadioGroup 2017-11-09 15:19:09 +08:00
Leopoldthecoder cbfd9cfab3 Menu: fix console error 2017-11-09 15:19:09 +08:00
Leopoldthecoder 73184399ed fix bordered checkbox and radio height 2017-11-09 15:19:09 +08:00
Leopoldthecoder 7f8991a664 Tree: fix updateChildren 2017-11-09 15:19:09 +08:00
maranran 363a80b184 Accessibility for Popover, Tooltip, Message & Notification (#8009)
* Accessibility for Tooltip & Popover

* Accessibility for message & notification

* fixbug for popover with nodeType
2017-11-09 11:21:20 +08:00
maranran 6c77cd9716 Accessibility for Tree (#8049)
* tree

* Update yarn.lock
2017-11-09 11:19:52 +08:00
maranran 81011d1c48 Accessibility for Cascader & Dropdown (#7973) 2017-11-09 10:21:27 +08:00
Joe Wong 4ea53ab896 Cascader: optimize hover to expand experience (#8010)
* Cascader: optimize hover to expand experience

pass eslint

* Cascader: hoverThreshold configuable
2017-11-08 12:24:29 +08:00
Leopoldthecoder 4d71e2f3af Container: add min-width 2017-11-06 19:24:50 +08:00
Pan c8477c815a Breadcrumb: use provide/inject instead of this.this.$parent 2017-11-06 19:20:05 +08:00
Jordan Pickwell fb066a6e45 Fix #7656 2017-11-04 09:30:27 +08:00
Leopoldthecoder 513294d159 Chalk: fix styles for vertical Slider and nested Tabs 2017-11-03 16:47:07 +08:00
Leopoldthecoder 44849f7998 [build] 2.0.3 2017-11-03 15:59:15 +08:00
Leopoldthecoder fa522dd2bc Tree: fix updateKeyChildren 2017-11-03 14:11:19 +08:00
Leopoldthecoder 03ccdb4fbc Menu: register el-tooltip 2017-11-03 13:21:06 +08:00
Leopoldthecoder c30d4b11d2 Pagination: fix current-change 2017-11-03 13:21:06 +08:00
Leopoldthecoder eefa2c907a Select: show dropdown on input focus 2017-11-03 10:27:13 +08:00
Chris Anderson 52bbf4f3e1 Fixes #7959 by providing aria labels for buttons 2017-11-03 10:26:30 +08:00
Leopoldthecoder 08b80ca467 Steps: fix style for last step when vertical 2017-11-02 19:16:36 +08:00
Leopoldthecoder 88868eebf7 Theme: releasing all variables 2017-11-02 14:01:58 +08:00
Leopoldthecoder 9553e1edba Chore: misc fixes and updates 2017-11-02 14:01:58 +08:00
Leopoldthecoder 194874b3b2 Message: restore focus only when target in viewport 2017-11-01 17:42:25 +08:00
Leopoldthecoder aa09c460ff Tabs: fix padding-left for nested tabs 2017-11-01 17:32:41 +08:00
Div 06112e51da upload: Increase support for Blob types 2017-11-01 15:58:11 +08:00
maran 6a5a3aaa2f remove outline for collapse & upload 2017-11-01 15:01:27 +08:00
Leopoldthecoder 343e9fa438 DatePicker: fix editable and readonly in range pick 2017-11-01 11:51:37 +08:00
Leopoldthecoder 906580eb88 [build] 2.0.2 2017-10-31 18:48:53 +08:00
Leopoldthecoder c1155b3be0 Table: avoid doLayout continuous executing 2017-10-31 18:46:35 +08:00
Leopoldthecoder 6dc98ebcf7 Select: fix menu not expand when clicked on input 2017-10-31 18:46:35 +08:00
Leopoldthecoder 9ae38e01e4 Pagination: fix jumper height in specified sizes 2017-10-31 18:46:35 +08:00
Leopoldthecoder ee72cd5b9f Tree: expand hot area of arrow icon 2017-10-31 17:09:48 +08:00
Leopoldthecoder 1412b5757c Step: fix icon style 2017-10-31 17:09:48 +08:00
Leopoldthecoder 633cb30d52 Loading: use class to set styles 2017-10-31 17:09:48 +08:00
胡明昊 fecc38f495 DatePicker: fix bug for wrong year number when week cross the year like 2014/12/29 2017-10-31 14:24:10 +08:00
Leopoldthecoder 5d172ad5cf Select: fix input height of mini size 2017-10-31 11:36:09 +08:00
wangfengming 877718099e Table: support sort-by. can't sort if sort-by is null 2017-10-31 11:35:40 +08:00
wangfengming f642294949 Table: support sort-by, use isArray to test sortBy 2017-10-31 11:35:40 +08:00
wangfengming 0a24f05125 Table: support sort-by, use isArray to test sortBy 2017-10-31 11:35:40 +08:00
wangfengming 7074a247f4 Table: support sort-by 2017-10-31 11:35:40 +08:00
XpLoDWilD 6619daf1ab Var: Allow transitions to be overridden
This allows to override transitions parameters (for example if you want them slower or faster) the same way you would tweak the primary/accent colors.
2017-10-31 10:16:43 +08:00
Leopoldthecoder 5d6a7b6f9c Upload: fix icons in list type 2017-10-31 10:09:17 +08:00
Leopoldthecoder 0cca820dac Tree: reserve node expanding state while filtering 2017-10-30 06:22:48 -05:00
linzer 3eb06dcb0e input-number allow input '.' '-' 2017-10-30 05:25:06 -05:00
Leopoldthecoder 409a3c852f Form: fix validate state 2017-10-30 04:03:19 -05:00
Leopoldthecoder 146e02c4a3 DatePicker: workaround for Chromium 55 - 57 2017-10-30 04:03:19 -05:00
Allenice 468124f956 Form: fix async validate bug 2017-10-30 01:51:14 -05:00
Allenice 476d1c4f6e Form: fix async validate bug 2017-10-30 01:51:14 -05:00
Leopoldthecoder 85a8ea0ade Checkbox: fix change event param 2017-10-28 06:05:43 -05:00