douxc
bc75c14dac
Button: circle button supports size ( #11275 )
...
让circle button也支持size属性控制,padding的大小根据size属性的```button-padding-vertical```确定
2018-05-23 11:04:35 +08:00
杨奕
66c7b3cfc1
Breadcrumb: fix regression of dynamic to
support ( #11286 )
2018-05-22 18:27:36 +08:00
杨奕
0b2a1eb784
Table: add sort-orders ( #11283 )
2018-05-22 18:20:04 +08:00
Jikkai Xiao
9a2f6897c7
Checkbox: support validation for single checkbox. Closes #5787 ( #11271 )
2018-05-22 17:47:05 +08:00
Jikkai Xiao
48c40ffa0a
Tabs: add before-leave hook ( #11259 )
...
* Tabs: add before-leave hook
* Tabs: update tabs.d.ts
2018-05-21 19:10:49 +08:00
Leopoldthecoder
2162240132
Popover: execute focus on instance only if it is a function
2018-05-21 17:41:05 +08:00
杨奕
38a13de337
Autocomplete: add hide-loading ( #11260 )
2018-05-21 17:27:42 +08:00
STLighter
f37e92cc82
Input: cursor goes to the end when typing Chinese quickly ( #11235 )
...
autocomplete: remove composition event listeners because input has already handle it.
2018-05-21 14:43:37 +08:00
Leopoldthecoder
0ede22cd66
[build] 2.3.9
2018-05-18 14:21:10 +08:00
Fengyuan Chen
117f731f6e
Upload: fix a TypeError when upload a processed file from the beforeUpload
hook ( #11210 )
...
* Upload: add filename
Reference: https://developer.mozilla.org/en-US/docs/Web/API/FormData/append
* Upload: add name and uid properties to processedFile to fix an error
* Update upload.vue
2018-05-18 14:00:06 +08:00
杨奕
696beba0b9
Table: showOverflowTooltip compatibility with IE11 ( #11225 )
2018-05-18 13:18:22 +08:00
杨奕
e809720ce4
Tree: setCurrentKey cancels highlight when param is null ( #11205 )
2018-05-17 13:30:58 +08:00
hetech
b79a98c7e0
MessageBox: wrap hashchange listener in nextTick ( #11200 )
2018-05-17 12:25:43 +08:00
刘昆
c6e9cdac88
Table: update expandRows when setData ( #11186 )
...
* Table: update expandRows when setData.
Fix a bug that after set new table data, the expanded cells will not
be able to unexpand.
* Update table-store.js
2018-05-16 18:15:45 +08:00
杨奕
1d3ecc5820
Cascader: fix disabled items in filtered results ( #11185 )
2018-05-16 13:18:02 +08:00
杨奕
d537906ac6
Progress: fix missing icon when status is exception ( #11172 )
2018-05-15 18:50:18 +08:00
杨奕
d6b65f9400
Autocomplete: avoid popper creation in updated hook ( #11144 )
2018-05-14 11:05:29 +08:00
hetech
63844fd845
Popup: lockScroll uses class instead of inline style, remove redundant code ( #11114 )
...
* Popup: when popup open, use a class to prevent body scroll
* popup,MessageBox,vue-popper: remove redundant code
* popup: use getStyle to get document body's paddingRight
* Update mixin.vue-popup.spec.js
* Update mixin.vue-popup.spec.js
2018-05-13 12:07:09 +08:00
杨奕
6289144d84
Table: optimize tooltip logic ( #11137 )
2018-05-13 11:47:19 +08:00
Leopoldthecoder
992a7a534e
[build] 2.3.8
2018-05-11 19:02:08 +08:00
杨奕
f4d2f14788
Table: use Range to determine text overflow ( #11124 )
2018-05-11 18:09:28 +08:00
杨奕
68db03fc22
Tree: add checkOnClickNode ( #11111 )
2018-05-10 18:01:49 +08:00
杨奕
1ff01a77f9
Table: fix an undefined issue in ssr ( #11109 )
2018-05-10 17:03:03 +08:00
杨奕
3d5f9ef080
Input: fix clear icon overlapping ( #11103 )
2018-05-10 15:31:37 +08:00
杨奕
8b30a479aa
Dialog: remove unnecessary body line-height ( #11097 )
2018-05-10 12:08:47 +08:00
杨奕
e51e9fe8ba
Tree: drag events should return if not draggable ( #11095 )
2018-05-10 11:56:49 +08:00
hetech
602afe0364
Select: add prefix named slot ( #11063 )
...
* Select: add prefix named slot
* Update select.md
2018-05-08 19:12:25 +08:00
Jiewei Qian
71a66ae21d
DatePicker: fix valueEquals for array ( #11017 )
2018-05-07 14:28:54 +08:00
杨奕
897f20683f
Menu: delay addItem so it is after old instances's remoteItem when re-render ( #11036 )
2018-05-07 12:13:23 +08:00
杨奕
7409be8ce1
Pagination: emit current-change after current page is manually updated ( #11012 )
2018-05-04 15:32:23 +08:00
杨奕
d304cb27cf
Input: hide clear button when readonly ( #10998 )
2018-05-03 19:20:25 +08:00
杨奕
dd773b9e72
InputNumber: fix accessing missing $refs in updated hook ( #10995 )
2018-05-03 18:41:10 +08:00
Jiewei Qian
31b65b8e51
DatePicker: fix dates selection date jump ( #10973 )
...
see issue #10890
2018-05-03 10:26:25 +08:00
Leopoldthecoder
6498829c96
[build] 2.3.7
2018-04-29 21:34:34 +08:00
杨奕
1aed314527
Select: fix infinite loop of keyboard navigation when all filtered options are disabled ( #10945 )
2018-04-29 18:12:02 +08:00
杨奕
16dc174a8d
Select: input should be readonly when options menu not visible ( #10944 )
2018-04-29 18:00:56 +08:00
Bo Zhang
a8248ddfef
ColorPicker: active-change only triggers on user interaction ( #10903 )
...
* ColorPicker: only emit active-change event source from dropdown, fixed #10901
* Update main.vue
2018-04-29 17:31:52 +08:00
杨奕
27a8c1556e
Input: not show clear button when value is null ( #10912 )
2018-04-27 16:22:21 +08:00
Jason Zoo
8b379a57df
Switch: use CSS to process button position ( #10879 )
...
* switch transformx value not flexiable
* add -1px for button
2018-04-25 17:34:00 +08:00
杨奕
458d34a820
Switch: pass id to native input element ( #10862 )
2018-04-25 17:03:41 +08:00
Weimengxi
6443850aa3
Tree: make checkStrictly responsive ( #10867 )
...
* Tree: fix model.TreeStore.checkStrictly doesn't change along with the change of tree.props.checkStrictly
* Update tree.vue
2018-04-24 19:51:03 +08:00
杨奕
8d6a2a4555
Table: update columns width after filter ( #10834 )
2018-04-23 11:48:11 +08:00
Leopoldthecoder
363528fc0d
[build] 2.3.6
2018-04-21 18:15:20 +08:00
杨奕
9c058fbf7c
Select: remove blur emit after soft focus ( #10822 )
2018-04-21 16:39:48 +08:00
杨奕
1d33bae558
Tree: fix allowDrop's type behavior ( #10821 )
2018-04-21 15:02:22 +08:00
Zong
5c0c5b8eae
Pagination: optimize styles for small pagination ( #10808 )
2018-04-21 14:42:40 +08:00
qingming
14eef644e9
Breadcrumb: code optimization ( #10817 )
2018-04-21 14:37:29 +08:00
Leopoldthecoder
fdef1020ca
[build] 2.3.5
2018-04-20 16:05:19 +08:00
杨奕
9a1afc3b33
Select: focus input in setSoftFocus when available ( #10801 )
2018-04-20 14:10:16 +08:00
杨奕
e8e2fc425b
Tree: add type as allow-drop's 3rd param ( #10792 )
2018-04-19 19:25:59 +08:00
GU Yiling
071e44bab0
a11y: add aria-hidden for checkbox/radio ( #10771 )
2018-04-18 16:18:19 +08:00
杨奕
f530bffa97
Pagination: update docs for pager-count ( #10772 )
2018-04-18 16:01:07 +08:00
John
9fc1f9e367
Pagination: add pagerCount prop ( #10493 )
2018-04-18 14:19:52 +08:00
杨奕
95e168f7ca
Pagination: add prev-click and next-click events ( #10755 )
2018-04-17 16:47:32 +08:00
Jiewei Qian
d8f861e929
DatePicker: nuke invalid input on close ( #10749 )
2018-04-17 14:15:47 +08:00
杨奕
1f4adb7c08
DatePicker: support multiple dates selection ( #10650 )
...
* DatePicker: add multiselect feature
* DatePicker: add multiselect feature
* DatePicker: add multiselect feature
* DatePicker: add multiselect feature
* DatePicker: add multiselect feature
* Datepicker: fix can't clear bug
* Datepicker: add unit test
* Datepicker: add unit test
* Datepicker: add unit test
* Datepicker: add unit test
* Datepicker: add unit test
* Datepicker: add unit test
* DatePicker: support multiple dates selection
* reflect review comments
2018-04-17 14:09:43 +08:00
cnjs
f2988cd1bd
MessageBox: fix invalid input border color when inputValidator returns string ( #10729 )
2018-04-16 18:29:56 +08:00
杨奕
3eb377f72f
Select: update docs for automatic-dropdown ( #10727 )
2018-04-16 12:32:14 +08:00
Richard-Choooou
4b628e9cf7
Rate: pressing nav keys shouldn't update value when disabled ( #10726 )
2018-04-16 12:27:25 +08:00
Gary Kaganas
25fcfb34d7
Select: allows user to choose if select focus triggers menu ( #10042 )
...
* Select: Preserves focus after options selected
* Select: softFocus: Passing lint
Write test
* Select: Soft focus: Include input ref
* Revert src/index.js
* Update select.vue
* Select: Default focus on select does not open menu. Added attribute for automatic-dropdown. Includes tests
* Select: remove trailing space
* Select: Removing incorrectly applied automatic-update props from input elements
* Select: Fixed up references to correct focus tests
* Select
- Checking if automatic dropdown already revealed menu when toggling menu
- Updating test: removing timeouts for related test
* Update select.vue
2018-04-16 12:02:54 +08:00
Hyuni
783cb2691f
Input / Select: fix Korean IME composition bug ( #10648 )
...
* Input: fix cursor goes to the end of the text(#10611 )
* Input: fix cursor goes to the end of the text(#10611 )
* Update input.vue
* Update select.vue
* Update input.vue
2018-04-15 15:57:35 +08:00
杨奕
769db14516
Input: fix when value is zero ( #10714 )
2018-04-15 14:45:52 +08:00
Jiewei Qian
7c3cadba5c
DatePicker: fix week selection range highlight ( #10712 )
2018-04-15 14:30:14 +08:00
Leopoldthecoder
12d559965c
[build] 2.3.4
2018-04-12 21:24:59 +08:00
superbiger
36fa8d6dcb
Rate: fix a method name typo ( #10688 )
2018-04-12 18:53:21 +08:00
杨奕
583439a4be
Table: add $index as formatter's param ( #10645 )
2018-04-10 16:15:09 +08:00
杨奕
58138613eb
Tabs: fix text color for disabled border-card ( #10640 )
2018-04-10 11:14:10 +08:00
杨奕
064831de92
Select: fix tags style in IE10 ( #10632 )
2018-04-09 20:27:34 +08:00
杨奕
a864d506aa
Textarea: fix undefined in ssr when v-model not set ( #10630 )
2018-04-09 19:54:00 +08:00
杨奕
0ae91ec37f
Pagination: disabled prev and next buttons should not trigger click ( #10628 )
2018-04-09 18:53:50 +08:00
Brandon
79325390e2
Pagination: handle NaN on props ( #10623 )
...
* Pagination: handle pageSize NaN
* Pagination: handle currentPage NaN
2018-04-09 17:50:07 +08:00
杨奕
6f4f57172b
Upload: fix duplicated handleClick due to keydown bubbling ( #10624 )
2018-04-09 17:05:25 +08:00
杨奕
5da88ade6b
Select: fix a wrong variable name ( #10618 )
2018-04-09 14:20:46 +08:00
Harlan
5b41b1a789
Table: update resizeState when updateColumnsWidth ( #10338 )
2018-04-09 09:58:36 +08:00
杨奕
dcf0488a3e
Pagination: ensure currentPage is updated in current-change handler ( #10599 )
2018-04-08 13:58:47 +08:00
杨奕
ae32925318
Radio: remove native input's offset of radio button ( #10592 )
2018-04-07 18:26:53 +08:00
杨奕
02440aa5fb
Transfer: support scoped slot for data items ( #10577 )
2018-04-05 21:25:14 +08:00
杨奕
94312a4444
Pagination: fix current-change not fire after currentPage manually updated ( #10562 )
2018-04-04 19:26:38 +08:00
Leopoldthecoder
582226a0ff
[build] 2.3.3
2018-04-04 16:42:55 +08:00
杨奕
1790d2c9fd
InputNumber: change event should fire after input event ( #10553 )
2018-04-04 14:02:16 +08:00
杨奕
422a8ac9c4
Breadcrumb: remove visual feedback for non-link items ( #10551 )
2018-04-04 11:34:00 +08:00
Jeremy Studer
2bc4df7863
Tabs: not change tab color on hover when disabled ( #10549 )
...
For tabs of style "border-card", don't set the color property on hover
if it is disabled.
2018-04-04 10:45:42 +08:00
杨奕
a7e60ea766
Radio & Checkbox: fix first button style ( #10544 )
2018-04-04 10:20:02 +08:00
杨奕
0b7e9dae5c
Input / Select: shouldn't fire input event during composition ( #10517 )
2018-04-02 18:12:56 +08:00
杨奕
c8ff3ad606
Menu: add popper-append-to-body for SubMenu ( #10515 )
2018-04-02 17:18:50 +08:00
杨奕
464f81886f
Tabs: remove box shadow when browser hidden / blur ( #10503 )
2018-04-02 13:12:03 +08:00
RickMacTurk
528bce4479
DateTimePicker: enable default-time attribute in date picker ( #10321 )
2018-04-02 11:55:49 +08:00
blackmiaool
cdb7a34136
Tooltip: invoke 'doDestory' manually when disabled ( #10498 )
2018-04-01 16:44:34 +08:00
杨奕
10f5a661f5
Tree: address some draggable issues ( #10494 )
2018-03-31 14:29:09 +08:00
xhd
4fe040d928
Switch: fix switch blinking in ssr ( #10484 )
...
* fixed #3800
https://github.com/ElemeFE/element/issues/3800 fixed
* Switch:fix switch will blink when render in server beause its default width is 0.
2018-03-31 14:24:38 +08:00
杨奕
3e0106e069
Autocomplete: add placement attribute ( #10475 )
2018-03-30 14:42:23 +08:00
杨奕
f8e8a994e9
Tree: fix drag event error ( #10474 )
2018-03-30 14:33:13 +08:00
杨奕
5f019e8a60
Badge: fix hidden value of zero ( #10470 )
2018-03-30 10:48:22 +08:00
云游君
87532aa8ef
Card: add shadow attribute ( #10418 )
...
* Card: add shadow attribute
* Card: fix test file
* Card: modify shadow class
* Card: modify test file
* Card: fix props
2018-03-29 15:18:31 +08:00
Leopoldthecoder
6bfc4ae915
[build] 2.3.2
2018-03-29 12:12:06 +08:00
杨奕
b605f2a63b
Autocomplete: fix popper options ( #10442 )
2018-03-29 11:59:16 +08:00
Leopoldthecoder
fbed07d3fa
[build] 2.3.1
2018-03-29 10:59:59 +08:00
Leopoldthecoder
46b70a5b89
Select: add blur method
2018-03-28 18:45:12 +08:00
Leopoldthecoder
7ae2662b7c
Select: update popper after options change
2018-03-28 17:57:34 +08:00
Leopoldthecoder
8ce9978ee1
Input: pass native types to input element
2018-03-28 17:57:34 +08:00
Will Lee
2e4e5906fb
Autocomplete: add popperOptions ( #10411 )
2018-03-28 17:51:55 +08:00
Leopoldthecoder
e4094e9e69
[build] 2.3.0
2018-03-28 14:46:08 +08:00
杨奕
8debdac9cc
Tree: update drag and drop docs ( #10396 )
2018-03-28 13:22:23 +08:00
FuryBean
4fe58a3d96
Tree: update drag and drop logic ( #10372 )
2018-03-28 11:46:48 +08:00
杨奕
438348c33b
Dropdown: fix arrow offset ( #10394 )
2018-03-28 11:36:23 +08:00
杨奕
e67d71a42d
Input: add inheritAttrs ( #10391 )
2018-03-28 10:57:19 +08:00
杨奕
3c8a6e8e30
Table: fix filter panel reference element to the trigger span ( #10384 )
2018-03-27 15:01:57 +08:00
杨奕
af4b13d911
Input: bind native attrs to input and textarea element ( #10382 )
2018-03-27 13:37:52 +08:00
杨奕
d6b4cf3f13
TimePicker: fix missing dependency style files ( #10381 )
2018-03-27 12:16:11 +08:00
云游君
54c3613682
Button: add circle attribute ( #10359 )
...
* Button: add circle attribute
* test: modify button round
* Button: update docs for round & circle
* Button: fix disabled docs
* Button: fix button margin
* Button: fix button margin
2018-03-27 10:54:28 +08:00
杨奕
1449bfc0b9
Table: filter-panel should hide when new one shows ( #10373 )
2018-03-27 10:11:59 +08:00
杨奕
190bfe6427
TimePicker: remove unnecessary margin-left ( #10371 )
2018-03-26 18:29:22 +08:00
杨奕
e62c2f8b42
Chore: misc updates ( #10370 )
2018-03-26 17:38:17 +08:00
fisker Cheung
39ba058d0d
MessageBox: allow showInput when message is empty ( #10337 )
...
* MessageBox: should allow showInput when message is empty
* MessageBox: no confirm when inputType === 'textarea'
* MessageBox: hide status when message is empty
2018-03-26 17:16:11 +08:00
Cyril Su
a8abe07f3e
Input: bind id only when given ( #10360 )
2018-03-26 16:58:22 +08:00
杨奕
5d6fe5eb2c
Input: add blur method ( #10356 )
2018-03-26 10:51:18 +08:00
云游君
0b330126c7
Progress: add color attribute ( #10352 )
2018-03-26 10:50:57 +08:00
杨奕
d9bcaacc74
Form: add validate event ( #10351 )
2018-03-25 22:32:22 +08:00
杨奕
e9ea178ded
Layout: iteration starts from 0 ( #10347 )
2018-03-25 13:00:38 +08:00
杨奕
430c149d88
Input: disabled Input should not show clear icon ( #10331 )
2018-03-23 16:36:58 +08:00
杨奕
d479ea9789
Table: fix wrapper width of fixed table ( #10291 )
2018-03-22 11:40:36 +08:00
杨奕
259aeec369
Dropdown: add focus method so it can be triggered when used with Popover and Tooltip ( #10288 )
2018-03-21 19:30:29 +08:00
杨奕
cf7f117bfb
Form: add invalidFields as a second param of validation callback ( #10279 )
2018-03-21 13:36:29 +08:00
杨奕
3ede818e41
Upload: filter accepted file types in dragger ( #10278 )
2018-03-21 11:56:30 +08:00
杨奕
3934e8f3ba
Button: inherit disabled from wrapping Form ( #10275 )
2018-03-21 11:45:10 +08:00
杨奕
1362bae57d
Popover: fix error when reference comes before popover ( #10273 )
2018-03-21 10:54:33 +08:00
remizovvv
bfa44e8b4f
DatePicker: extract time and date format from format prop ( #10174 )
2018-03-20 14:04:44 +08:00
Harlan
d7c4fd2632
Tree: support drag and drop node ( #9251 )
2018-03-20 13:42:04 +08:00
杨奕
2098e36b51
Table: transparent border when loading ( #10254 )
2018-03-20 12:41:50 +08:00
杨奕
725af9d1a0
Pagination: trigger current-change event on user input ( #10247 )
2018-03-20 11:59:33 +08:00
杨奕
674f8648bf
ColorPicker: update docs for predefine ( #10237 )
2018-03-19 19:31:38 +08:00
杨奕
38e9b6eca6
Table: update column width before updating height ( #10236 )
2018-03-19 18:21:11 +08:00
Harlan
441669f081
ColorPicker: add predefine colors ( #10170 )
...
* ColorPicker: add predefine colors(#8702 )
* Add selected state of predefine color and test cases
* Fix the bugs mentioned in review
2018-03-19 17:20:09 +08:00
杨奕
3377cd0847
Input: add select method ( #10229 )
2018-03-19 12:17:57 +08:00
杨奕
a294c628e9
Form: rule key supports both dot-separated and nested ( #10227 )
2018-03-19 11:10:06 +08:00
syn-zeta
e36d57ac1d
Table: Add selectOnIndeterminate prop to control master checkbox behavior ( #9924 )
2018-03-16 19:00:28 +08:00
Limichange
741d5e6f24
Menu: add collapse-transition ( #8809 )
...
* Menu: add menu attribute - collapseTransition
Sometime we dont need collapse transition
* Menu: add docs & definition - collapseTransition
2018-03-16 11:21:35 +08:00
Harlan
a848b26495
Table: fix column formatter not changed when new formatter is set ( #10184 )
2018-03-16 11:04:44 +08:00
花裤衩
130007210d
Menu: check $slots.title when rendering title tooltip ( #10193 )
2018-03-16 11:01:29 +08:00
杨奕
2df0f22bf0
Form: fix label alignment with input-group ( #10189 )
2018-03-15 15:36:53 +08:00
杨奕
bfd7d0236c
Tabs: fix exception in scrollToActiveTab ( #10187 )
2018-03-15 15:08:15 +08:00
杨奕
b60c2cac8c
Form: make filter conditions for getFilteredRule clearer ( #10181 )
2018-03-15 12:28:15 +08:00
Harlan
d73ec07d07
Form: fix validation skipping rules whose trigger is an array ( #10178 )
2018-03-15 12:14:20 +08:00
Harlan
b24a9ce729
TimeSelect: fix resetField not working when user inputs an invalid value ( #10176 )
2018-03-15 11:54:02 +08:00
杨奕
c48a69c947
Table: added scss variable $--table-border-color ( #10179 )
2018-03-15 11:43:38 +08:00
Leopoldthecoder
427dcb2dad
[build] 2.2.2
2018-03-14 18:10:59 +08:00
FuryBean
0c8523bce9
Tree: stopPropagation and preventDefault for node-contextmenu if bound ( #10123 )
2018-03-14 15:16:52 +08:00
杨奕
5797325c73
Pagination: update pager value when page size changes ( #10157 )
2018-03-14 13:24:28 +08:00
杨奕
8eaf600044
Transfer: add left-check-change and right-check-change ( #10156 )
2018-03-14 12:38:23 +08:00
杨奕
1238dbf997
Slider: add input-size ( #10154 )
2018-03-14 10:52:44 +08:00