Commit Graph

1807 Commits

Author SHA1 Message Date
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
Leopoldthecoder
c0e9a0f44f [build] 2.0.1 2017-10-28 17:13:24 +08:00
Leopoldthecoder
8479b2fbaf bug fixes 2017-10-28 03:10:52 -05:00
Leopoldthecoder
2e8161e68e Fix checkbox-button and radio-button gap 2017-10-27 04:41:27 -05:00
Leopoldthecoder
6995641d72 [build] 2.0.0 2017-10-27 11:56:27 +08:00
Leopoldthecoder
f3aa9b30ad Changelog: update for 2.0.0 2017-10-26 22:42:55 -05:00
wacky6.AriesMBP
07acf66a69 picker: fix clear value 2017-10-25 23:48:47 -05:00
Leopoldthecoder
00e8c7454f misc updates and fixes 2017-10-25 22:21:35 -05:00
wacky6.AriesMBP
c856d9268b date-picker: support array for name attr 2017-10-25 21:48:55 -05:00
Leopoldthecoder
c195a873b7 [build] 2.0.0-rc.1 2017-10-25 19:03:07 +08:00
Leopoldthecoder
768981c1aa Changelog: update for 2.0.0-rc.1 2017-10-25 05:47:57 -05:00
Cyril Su
25e8503d65 Carbon: Table add features and fix bugs (#7682)
* Table: Fix error in calculate `totalFlexWidth`

* Table: Fix error in caculate `scrollX`

* Table: Watch `max-height` change

* Table: Change `toggleRowExpanded`

* Table: Support `obj[key]`

* Table: Update docs for `toggleRowExpanded`

* Table: Add style and class control for every row and cell

* Table: Add `migrating` mixin for `expand`

* Table: Update test spec

* Table: Add `index` in `table-column` for custom index
2017-10-25 02:35:12 -05:00
Leopoldthecoder
333a010d3b Table: add size 2017-10-25 01:41:17 -05:00
Li Chuangbo
0d9204dd89 Input: remove textarea extra close tag 2017-10-24 21:08:24 -05:00
Leopoldthecoder
6d3636fbac Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	CHANGELOG.en-US.md
#	CHANGELOG.zh-CN.md
#	examples/app.vue
#	examples/index.tpl
#	examples/versions.json
#	package.json
#	packages/dropdown/src/dropdown.vue
#	packages/theme-default/package.json
#	packages/theme-default/src/date-picker/date-picker.css
#	src/index.js
2017-10-24 18:48:54 +08:00
杨奕
71fca8e051 update custom theme docs (#7679)
* update custom theme docs

* update form docs
2017-10-24 05:43:23 -05:00
Leopoldthecoder
ccd36eb01f [build] 1.4.8 2017-10-24 18:21:12 +08:00
杨奕
664f893086 Changelog: update for 1.4.8 (#7683)
* Table: Trigger `doLayout` when display from `none` to others

* Changelog: update for 1.4.8
2017-10-24 05:19:04 -05:00
phongkt
5698e77c72 Dropdown: allow change show/hide timeout by props (#7621)
* Dropdown: Allow change show/hide timeout by props

* Dropdown: Fixes for document mistake
2017-10-24 04:20:03 -05:00
baiyaaaaa
cf0197e02a Collapse: fix $parent bug when collapse-item is nested in other components (#7675)
* fix collapse  bug

* fix code style
2017-10-24 03:50:18 -05:00
杨奕
4517e3d9be Autocomplete: add value-key (#7671)
* Autocomplete: add value-key

* fix autocomplete test
2017-10-24 02:24:35 -05:00
Leopoldthecoder
14ecf86c55 Icon: fix mobile-phone class name 2017-10-23 21:18:11 -05:00
Leopoldthecoder
6e65590775 DatePicker: register el-button 2017-10-23 21:18:11 -05:00
Leopoldthecoder
917b8e78f2 theme-chalk tuning 2017-10-23 21:18:11 -05:00
Leopoldthecoder
9e6f1adafc update landing page for 2.0 2017-10-23 05:38:15 -05:00
Leopoldthecoder
88636b948f Button: fix round button sizes 2017-10-22 22:45:47 -05:00
Leopoldthecoder
96093927e9 MessageBox: fix missing icons 2017-10-22 21:54:33 -05:00
DuLinRain
1d90390fa5 DateTimePicker: fix hidden last item of sidebar (#7567)
* Update picker-panel.css

fix "last item been overlapped by footbar bug" when sidebar items are two more。even overflow can not resolve this problem, it is not the same thing. the details you can see https://dulinrain.github.io/elementui/ElementUI%E4%B9%8B%E6%97%B6%E9%97%B4%E6%8F%92%E4%BB%B6Bug.html

* Update date-picker.css

reply to the reviewe of #7567 (https://github.com/ElemeFE/element/pull/7567)

* Update picker-panel.css

remove the previous fix after the review of  #7567(https://github.com/ElemeFE/element/pull/7567)

* Update date-picker.css

* Update picker-panel.css
2017-10-22 21:54:12 -05:00
杨奕
36dfe304f3 Form: add clearValidate (#7623)
* Form: add clearValidate

* remove dup attrs
2017-10-21 23:35:42 -05:00
baiyaaaaa
c3cf3f2389 support prop 'for' (#6049) 2017-10-21 22:00:06 -05:00
Leopoldthecoder
44c75ff1af [build] 2.0.0-beta.1 2017-10-20 16:09:07 +08:00
lirilsu
1310bdee26 Table: Remove sort-clear and filter-clear event 2017-10-20 02:19:45 -05:00
lirilsu
8c78dc1082 Table: Update docs for carbon table 2017-10-20 02:19:45 -05:00
lirilsu
0ca040fb42 Table: Render default slot in table-column to get a correct columnRows 2017-10-20 02:19:45 -05:00
lirilsu
fa494b1952 Table: Trigger doLayout when display from none to others 2017-10-20 02:19:45 -05:00
lirilsu
302eb3116f Table: Add flex: 1 for el-table 2017-10-20 02:19:45 -05:00
lirilsu
7c77cc3380 Chalk: Remove selector variable for & 2017-10-20 02:19:45 -05:00
lirilsu
999db14732 Table: Move append slot out of table-body 2017-10-20 02:19:45 -05:00
lirilsu
f6f61bcbde Table: Add class to expanded row 2017-10-20 02:19:45 -05:00
lirilsu
f347657651 Table: Table: Remove render default in table-column 2017-10-20 02:19:45 -05:00
lirilsu
00c5028d8d Table: Expand rows when set expand-row-keys 2017-10-20 02:19:45 -05:00
lirilsu
ec182424ad Table: Add clear sort 2017-10-20 02:19:45 -05:00
lirilsu
26a8c222b1 Table: Add clear filter 2017-10-20 02:19:45 -05:00
lirilsu
8e09988918 Table: Add spanMethod to support rowspan and colspan 2017-10-20 02:19:45 -05:00
lirilsu
d8dd114a16 Table: Fix error in cacluating hidden in table-header and table-body 2017-10-20 02:19:45 -05:00
lirilsu
ba3315a728 Table: Filter data again when change data 2017-10-20 02:19:45 -05:00
lirilsu
cb993a6487 Table: Change sort method to match built-in Array#sort 2017-10-20 02:19:45 -05:00
Leopoldthecoder
fa140dea9c Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	packages/input/src/calcTextareaHeight.js
#	packages/message-box/src/main.vue
#	packages/theme-default/src/menu.css
#	yarn.lock
2017-10-20 14:08:11 +08:00
杨奕
7d55d47b67 some style updates (#7603)
* some style updates

* fix a datepicker typo
2017-10-20 01:03:34 -05:00
Jiewei Qian
af46f968ab DatePicker: Daylight Saving Time (#7599)
* date-table: fix daylight saving time highlight

* test: update date-picker range test
2017-10-19 22:06:44 -05:00
Chris James
8313016dae ColorPicker: Fixed Unknown custom element: <el-button> error 2017-10-19 21:21:20 -05:00
wayne
6055e39bc7 Carbon: fix hide to hidden in display.scss 2017-10-19 21:15:12 -05:00
Leopoldthecoder
c31f413a4f Layout: add xl breakpoint 2017-10-19 03:30:24 -05:00
Black Wayne
457f9f97ed DatePicker: add unlink-panels (#7537) 2017-10-19 01:09:05 -05:00
wayne
6521828f27 Carbon: layout add Visibility support 2017-10-19 01:05:31 -05:00
wayne
b678772e94 Carbon: add migration mixin for breaking changes 2017-10-19 01:01:47 -05:00
Leopoldthecoder
8ba6b580fd Menu: fix close menu bug 2017-10-19 00:09:22 -05:00
Leopoldthecoder
f73dbe104e some icon fixes 2017-10-18 23:16:31 -05:00
Leopoldthecoder
bd0114454e DatePicker: fix disabled in range mode 2017-10-18 23:16:31 -05:00
Ian Patel
3f12de1f79 Fix padding for mini Tag without close 2017-10-18 21:35:54 -05:00
wayne
fe15518f19 Carbon: new icons 2017-10-18 06:39:34 -05:00
Leopoldthecoder
1e95e51f9b update typings 2017-10-18 18:38:23 +08:00
Leopoldthecoder
2999279ae3 minor fixes for select, message-box and textarea 2017-10-18 18:38:13 +08:00
wacky6.AriesMBP
55bc6f35ba date-picker: fix value-format change event 2017-10-16 23:11:50 -05:00
wacky6.AriesMBP
7ceecce564 date-picker: fix typo, fix value-format parsing 2017-10-16 18:18:05 -05:00
Leopoldthecoder
f0b7debd23 Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	CHANGELOG.en-US.md
#	CHANGELOG.zh-CN.md
#	examples/app.vue
#	examples/docs/en-US/switch.md
#	examples/docs/zh-CN/switch.md
#	examples/versions.json
#	package.json
#	packages/switch/src/component.vue
#	packages/theme-default/package.json
#	packages/theme-default/src/common/var.css
#	packages/theme-default/src/switch.css
#	src/index.js
2017-10-16 18:33:41 +08:00
Leopoldthecoder
21622d4e07 [build] 2.0.0-alpha.3 2017-10-16 18:08:56 +08:00
杨奕
1333c85d15 Changelog: update for 2.0.0-alpha.3 (#7502)
* Changelog: update for 2.0.0-alpha.3

* fix test
2017-10-16 05:05:40 -05:00
Leopoldthecoder
c52b64dae1 [build] 1.4.7 2017-10-16 16:25:29 +08:00
Brad Adams
6d311ed6d3 Switch: Add allowFocus prop & focus/blur events (#7494)
* Table: Add `important` rule to `col-resize` cursor

* Table: Add `important` rule to `col-resize` cursor

* Update table-header.js

* [Switch]: Add `allowFocus` prop + blur/focus events

+ Add new `allowFocus` prop
+ Add event emitters for focus & blur events
+ Set `input` $ref `.focus()` on switch click event

* [Switch]: Add styling for when `allowFocus: true`

+ Add styling for when `allowFocus` prop is set to true.
+ Add styling for when input is focused

* [Switch]: Update docs
2017-10-16 02:52:10 -05:00
杨奕
38459ae850 update dependencies (#7476)
* update el-input change event

* upgrade to vue 2.5.0

* upgrade webpack to 3.7

* upgrade vue to 2.5.2

* minor style updates
2017-10-16 14:07:24 +08:00
maranran
542deb779b Accessibility for message & message-box & tabs (#7424)
* 	add accessibility for message & message-box & tabs

* Update message-box.md
2017-10-15 23:13:10 -05:00
rennai
17c94d7410 fix #5813
修复 autocomplete 组件 IE11 下使用搜狗输入法,无法输入中文的问题
2017-10-14 06:53:47 -05:00
Black Wayne
9b09f6aa9f Form: add size attribute (#7428) 2017-10-12 04:50:06 -05:00
Black Wayne
ab47262588 Menu: support open and close submenu manually (#7412)
* Carbon: menu support open close submenu manually

* Update menu.md

* Update menu.md
2017-10-12 03:20:16 -05:00
Black Wayne
5426c957a2 add upload limit & form validate return promise (#7405)
* Carbon: upload limit & input append & form validate promise

* Update upload.md

* Update upload.md

* Update index.js
2017-10-12 03:07:50 -05:00
Jiewei Qian
889fae43fb Input: align input change with native (#7258)
* Input: align change event with native ones

* test: update input:change event test
2017-10-11 22:28:42 -05:00
Jiewei Qian
83245f846d DatePicker: fix date time picker cancel (#7442)
* date-time-picker: fix cancel button

* test: add date-time-picker tests
2017-10-11 21:46:16 -05:00
Leopoldthecoder
553e89568b TimePicker: add arrow-control 2017-10-11 05:34:08 -05:00
Leopoldthecoder
9dcc4eb0b7 Docs: add algolia search 2017-10-10 05:23:42 -05:00
Jiewei Qian
f93798446e *-picker: refactor (#7367)
* Revert "Picker only emit user change (#6214)"

This reverts commit 1912c473ef.

* picker/util: add helper methods

range: n => Array
modify{Date, Time}: Date => Date
clear{Time, Milliseconds}: Date => Date
limitTimeRange: Date => Date
timeWithinRange: Date, [Date] => Boolean

* time-spinner: refactory

* time-panel: refactory

* picker refactory

* date-panel, *-table: refactory

* time-select: refactory

* test: update time-picker

* test: update date-picker

* time-range: refactory

* date-range: refactory

* test: update time-select

* test: update form date-picker/time-picker

* docs: update date-picker
2017-10-10 04:49:41 -05:00
Brad Adams
0de6b447e5 Table: Add important rule to col-resize cursor (#7381)
* Table: Add `important` rule to `col-resize` cursor

* Table: Add `important` rule to `col-resize` cursor

* Update table-header.js
2017-10-09 07:07:10 -05:00
Leopoldthecoder
1e57f25d19 Loading: add custom spinner and background 2017-10-09 04:39:40 -05:00
Leopoldthecoder
f46f931daa [build] 2.0.0-alpha.2 2017-10-05 10:21:50 +08:00