Commit Graph

2249 Commits (74fb8ac2256dbe490f7dc1f9d37eda92a3d9694c)

Author SHA1 Message Date
杨奕 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
Cyril Su 2d1251975c DatePicker: fix unexpected blur for time panel (#10141) 2018-03-13 17:53:04 +08:00
道玄 b2f9cef1b4 Chalk: add font-smoothing to reset.css (#10140) 2018-03-13 17:39:50 +08:00
Pocho 6ccca79c67 MessageBox: fix multiple instances with duplicate title (#10126) 2018-03-13 13:43:51 +08:00
FuryBean 9f09bd3b57 Table: fix fixed column style on safari (#10130) 2018-03-13 10:36:15 +08:00
杨奕 c6e85dbd81
Select: remove scrollToOption after selection (#10115) 2018-03-11 16:19:59 +08:00
杨奕 22463fb404
DatePicker: fix style for ranged picker after #10064 (#10114) 2018-03-11 15:50:45 +08:00
杨奕 f234b161df
Select: trigger validation after resetField (#10105) 2018-03-10 20:20:48 +08:00
杨奕 119becb0b0
Menu: update SubMenu to allow custom component (#10077) 2018-03-08 19:19:10 +08:00
杨奕 99e5a6b4ba
Input: update line-height (#10064) 2018-03-08 14:01:48 +08:00
Leopoldthecoder b3062de0d2 Pagination: fix a potential exception with new deps 2018-03-08 12:30:47 +08:00
Leopoldthecoder 09cc5be758 Popover: add after transition events 2018-03-08 12:30:47 +08:00
Hi-Linlin e92d1d13aa Pagination: add disabled prop (#10006) 2018-03-07 11:47:19 +08:00
Jason Zoo 9d6d0d69c1 DateRange: support reversed selection in range mode (#8156) 2018-03-06 19:21:56 +08:00
杨奕 74eaaf7eca
Table: shouldUpdateHeight should be true when maxHeight is set (#10034) 2018-03-06 18:28:44 +08:00
Jiewei Qian fd8648a4b3 Button: loading implies disabled (#10020)
* button: loading implies disabled

fix https://github.com/ElemeFE/element/issues/10018
simplifies internal implementation

* button: remove extra disabled check
2018-03-06 15:53:06 +08:00
Vladislav Sevostyanov 737ef71262 Slider: add touch events support (#9320) 2018-03-06 11:27:34 +08:00
杨奕 ed5892b933
Rate: make icon classes responsive (#10003) 2018-03-06 11:04:57 +08:00
Jiewei Qian cacb0aeaec DatePicker: fix change event on clear (#9986) 2018-03-05 16:42:42 +08:00
杨奕 62b0e2ace9
Select: remove unnecessary remote query when focused (#9998) 2018-03-05 13:14:12 +08:00
杨奕 067a9be7d1
Slider: warn against min being greater than max (#9997) 2018-03-05 11:48:48 +08:00
杨奕 f1b483a91a
ColorPicker: support hsl/hsv model input (#9991) 2018-03-04 13:51:22 +08:00
blackmiaool e70c598d44 Input: add clear event (#9988) 2018-03-04 13:50:25 +08:00
杨奕 657f9b9c3a
Popover & Tooltip: focus reference element on tab if it's focusable (#9990) 2018-03-04 11:16:06 +08:00
Leopoldthecoder 2350d585a0 [build] 2.2.1 2018-03-02 16:41:08 +08:00
Eng Philippe b54ed0a62f DatePicker: prefix icon of input clickable for non-range pickers (#9966) 2018-03-02 14:52:40 +08:00
杨奕 aa5f015cd9
Transfer: add target-order (#9960) 2018-03-02 14:43:10 +08:00
杨奕 c5d76d7910
Select: fix an emptyText visibility bug (#9969) 2018-03-02 12:23:09 +08:00
杨奕 f5aefcdb78
InputNumber: prevent drag event (#9968) 2018-03-02 12:14:26 +08:00
Gary Kaganas bc39454c93 Select: preserves focus after selection (#9857)
* 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
2018-03-02 11:16:49 +08:00
杨奕 2ccb0ead05 Slider: add tooltip-class (#9957) 2018-03-01 17:21:31 +08:00
落叶 5f75ab8375 Select: focusing does not show popper (#9894) 2018-03-01 16:02:13 +08:00
Jiewei Qian 6dd3d38393 DatePicker: fix date-time panel user input (#9913)
* date-picker: fix date-time panel user input

* test: add test for date-time-picker change event
2018-03-01 10:22:44 +08:00
杨奕 f681b4bded
MessageBox: listen for keydown instead of keyup (#9908) 2018-02-27 16:22:20 +08:00
杨奕 da2c87a03d Table: calc layout after row expansion changes (#9848) 2018-02-26 16:13:33 +08:00
杨奕 6dbbee35e6
Table: fix js pending in ssr (#9876) 2018-02-24 13:13:05 +08:00
dayu 7b89b68295 Menu: update routeToItem rejection (#9871) 2018-02-24 10:43:09 +08:00
杨奕 89509b5fe3
Select: fix style for inline popper (#9835) 2018-02-18 20:33:21 +08:00
相学长 fa00fcfbf9 Upload: fix default status of fileList (#6571) 2018-02-16 19:47:41 +08:00
杨奕 f677292d86
Container: forbid shrinking for Aside, Header and Footer (#9812) 2018-02-13 23:17:50 +08:00
杨奕 c6e4a11b33
Menu: remove print error 2018-02-13 23:10:17 +08:00
Leopoldthecoder a98325bee8 [build] 2.2.0 2018-02-12 17:13:18 +08:00
杨奕 0f06fd5079
Select: add popper-append-to-body (#9782) 2018-02-11 18:18:49 +08:00
troy351 b070c8d88c ColorPicker: declare box-sizing for panel (#9780)
in case some users declare `box-sizing: border-box` globally and may causing unexpected problems
2018-02-11 17:07:03 +08:00
阿林 ad07722aab Chore: replace var with let and const (#9774) 2018-02-11 16:37:58 +08:00
baiyaaaaa c4ac575f3c Menu: improve vertical collapse transition (#9777) 2018-02-11 16:21:13 +08:00
baiyaaaaa 610723ea00 support menu disabled (#9771) 2018-02-11 14:59:46 +08:00
阿林 c726289094 CheckBox: hide the native input using z-index (#9746)
fix issue #9677 https://github.com/ElemeFE/element/issues/9677
2018-02-10 18:57:10 +08:00
杨奕 472b72423e
Switch: fix click event triggering twice (#9760) 2018-02-09 19:04:11 +08:00
杨奕 d46c0ed01c
Transfer: add clearQuery (#9753) 2018-02-09 12:31:24 +08:00
baiyaaaaa 202f6417b1 Menu: support multi level submenu in horizontal mode (#9741) 2018-02-09 11:05:37 +08:00
FuryBean fe29af1b1f Add check event and getHalfChecedNodes method for Tree (#9730) 2018-02-09 10:31:11 +08:00
FuryBean 6bef614c01 add api for tree (#9718) 2018-02-09 10:28:43 +08:00
baiyaaaaa d32beea1fe
fix menu active when route error (#9675) 2018-02-08 15:14:15 +08:00
FuryBean fa55dbae12 Table: hide border when v-loading is true (#9725) 2018-02-08 13:36:53 +08:00
杨奕 096dbddf98
Loading: fix after-leave execution when init value is false (#9722) 2018-02-08 11:17:10 +08:00
杨奕 cbf033a792
Collapse: add active class on el-collapse-item (#9717) 2018-02-07 21:42:40 +08:00
杨奕 fa116490e3
Chore: update .eslintignore (#9694) 2018-02-06 17:08:08 +08:00
杨奕 248b1bf8de
Tree: support scoped slot (#9686) 2018-02-06 16:45:27 +08:00
FuryBean 3bc67fa575 Tree: add node-contextmenu event for tree node (#9678) 2018-02-06 11:42:01 +08:00
FuryBean 580aaaa3f9 fix table will crash when initial columns is empty (#9666) 2018-02-05 19:22:24 +08:00
FuryBean f255c8786e Table: fix summary row drifting when horizontal scrollbar exists (#9667) 2018-02-05 19:14:20 +08:00
FuryBean e129447126 Table: fix do layout in some conditions (#9668) 2018-02-05 19:11:06 +08:00
杨奕 471b8ff4cf
Table: initial value of height can be 0 (#9660) 2018-02-05 11:31:08 +08:00
杨奕 5015589753
Layout: add flex-basis so it works in IE11 (#9655) 2018-02-04 15:35:20 +08:00
杨奕 645b30f1c7
Table: stop expansion click from bubbling (#9654) 2018-02-04 15:25:04 +08:00
杨奕 896cbb6323
Table: update selection isAllSelected (#9634) 2018-02-03 16:08:13 +08:00
杨奕 b68f18aa94
Pagination: add key in pager (#9604) 2018-02-01 15:16:21 +08:00
杨奕 41a191b721
Menu: add popper-class for SubMenu (#9600) 2018-02-01 15:05:07 +08:00
杨奕 17dadb8093
Chore: update deploy script (#9599) 2018-02-01 12:27:31 +08:00
Leopoldthecoder 67df5f0f6c [build] 2.1.0 2018-01-31 16:36:30 +08:00
杨奕 c4452995f5
Changelog: update for 2.1.0 (#9581) 2018-01-31 16:33:18 +08:00
daipeng 5ae30dd98f Popover: v-popover directive supports expression (#9564) 2018-01-31 15:54:32 +08:00
ThomasPaugam a64543b98c Update icon.scss (#9534)
Fix this : 
https://github.com/ElemeFE/element/issues/9086
2018-01-31 15:52:47 +08:00
Jiewei Qian 5b0b1e7e92 DatePicker: fix date clamping during navigation (#9577) 2018-01-31 14:20:07 +08:00
FuryBean ab2f3830d6 Table: extend height prop usage (#9575) 2018-01-31 13:32:01 +08:00
杨奕 f274f3e3d9
Dropdown: remove transition delay when trigger is click (#9573) 2018-01-31 11:22:32 +08:00
杨奕 ba34e6e270
Collapse: fix nested collapse-item style (#9566) 2018-01-30 22:21:35 +08:00
FuryBean 9b9384214b Table: improve performance (#9426)
* improve table render time in some condition

* Update table.vue
2018-01-30 20:37:23 +08:00
FuryBean b27f340561 Table: change argument selection to cloned array in selection-change event (#9551) 2018-01-30 20:13:35 +08:00
FuryBean 88af318e39 Table: fix expand row hover style (#9554) 2018-01-30 20:10:03 +08:00
杨奕 ba284c72d7
Table: add disabled state to multiple selection header checkbox (#9543) 2018-01-30 12:02:20 +08:00
syn-zeta ca02cb9cd3 Table: add indeterminate state to multiple selection header checkbox (#9363)
* Table: Add indeterminate and disabled state to multiple selection header checkbox

* Remove disabled state handling of select-all checkbox
2018-01-30 10:36:36 +08:00
杨奕 575e2d1307
Pagination: add keyup event to jumper so it works in IE11 (#9538) 2018-01-29 23:12:30 +08:00
杨奕 85a3e99ceb
Input: fix appended button style in IE11 (#9537) 2018-01-29 22:53:16 +08:00
Pyae Hein d5c135730a Added contextmenu event for column header (#9475) 2018-01-29 18:42:05 +08:00
Leopoldthecoder 56dc51bc85 Form: add disabled 2018-01-29 18:14:58 +08:00
badpunman c1fbffe051 Form: add validateOnRuleChange (#8141) 2018-01-29 15:41:53 +08:00
Leopoldthecoder 840c4b57be Loading: use popup-manager to handle fullscreen z-index 2018-01-29 15:36:44 +08:00
Leopoldthecoder cdc14756ae Notification: add closeAll 2018-01-29 12:44:18 +08:00
wacky6.AriesMBP 1f58f4f8d5 date-picker: add timestamp format 2018-01-29 12:14:40 +08:00
FuryBean cfa9e6fc61 Table: fix expanded rows collapsing when data change (#9462) 2018-01-28 16:16:57 +08:00
Hi-Linlin e40c17f68b DatePicker: panels should display different months (#9471) 2018-01-28 16:16:15 +08:00
c0hb1rd 3d7d4980a9 DateTimePicker: fix invalid month value bug for Firefox 37 (#9501)
* DateTimePicker: fix invalid month value for Firefox 37

* Update date-range.vue
2018-01-28 15:20:22 +08:00
Leopoldthecoder 86f8ff1160 Input: el-input styles should override el-textarea 2018-01-28 15:03:45 +08:00
FuryBean bbe6e62ee1 Table: forward fixed column's mousewheel event to entire table (#9323) 2018-01-26 15:38:46 +08:00
Hi-Linlin f9ad3f117c Tabs: add focus style (#9441) 2018-01-26 11:25:22 +08:00
杨奕 e56ae9ab5a Select: keep input height if not expanded (#9452) 2018-01-26 11:24:09 +08:00
Hi-Linlin 34df2e639c
Merge pull request #9454 from Leopoldthecoder/step/line
Step: fix flex-basis when align-center is true
2018-01-26 11:22:30 +08:00
FuryBean fceaa74de6 Table: checkbox selection not trigger row-click event (#9467) 2018-01-26 11:13:47 +08:00
Jiewei Qian 1b59561e3f DateTimePicker: changeToNow cheks disabledDate (#9470) 2018-01-25 19:16:10 +08:00
Leopoldthecoder 2c4ea9da8e Step: fix flex-basis when align-center is true 2018-01-25 12:08:12 +08:00
Anatoly Kolesov 714a9f0192 Menu: disabled menu shouldn't dispatch click event (#9442) 2018-01-25 10:30:15 +08:00
Hi-Linlin 404bde5746
Merge pull request #9388 from Leopoldthecoder/dev
Select: add auto-complete
2018-01-24 18:13:09 +08:00
Hi-Linlin b4590d6b79
Merge pull request #9428 from Leopoldthecoder/dialog/style
Dialog: update paddings
2018-01-24 18:08:02 +08:00
Hi-Linlin bd47ee7d6e DatePicker: fixed range type can not focus (#9437) 2018-01-24 12:55:20 +08:00
Leopoldthecoder 81a7ef7634 Dialog: update paddings 2018-01-23 18:25:49 +08:00
baiyaaaaa f0f75fb561 Menu: move menu popup to body when collapse (#9263)
* change menu popup to body

* add menu-list

* Revert "add menu-list"

This reverts commit 5799df9bf2.

* fix menu popup

* Update yarn.lock

* Update submenu.vue
2018-01-23 15:58:46 +08:00
xifeiwu 68e0573db7 Loading: fix export default for loading directive to avoid grammar error (#9408) 2018-01-23 14:03:44 +08:00
Jiewei Qian aaf7a87848 DatePicker: support clearing value using delete (#9409)
* date-picker: fix #9276

https://github.com/ElemeFE/element/issues/9276

* test: fix broken test for form/date-picker
2018-01-23 11:41:38 +08:00
Hi-Linlin bbd69ea419 DateTimePicker: add today bold style (#9403) 2018-01-23 10:17:33 +08:00
xiong hanbiao d641360605 Table: fix multi-header remove column (#9377) 2018-01-22 14:51:08 +08:00
Leopoldthecoder dad96b49c5 Select: add auto-complete 2018-01-22 14:02:20 +08:00
baiyaaaaa a75667ab78 support composite menu-item 2018-01-21 11:27:28 +08:00
Leopoldthecoder 3c942d8e93 Select: remove unnecessary query when focused 2018-01-21 11:13:26 +08:00
baiyaaaaa b206747ed0 InputNumber: support undefined value (#9361) 2018-01-21 11:06:59 +08:00
Leopoldthecoder 98bdee26b1 Popper: fix arrow position 2018-01-21 10:35:04 +08:00
baiyaaaaa c3b0d8ee9e
add max-height to transfer-panel (#9362) 2018-01-19 16:43:02 +08:00
FuryBean 990df4ed5b Table: fix table column width bug in safari & hide shadow of fixed when scrollX is false (#9327) 2018-01-18 17:17:40 +08:00
杨奕 3fffdd1534 Tooltip: move event handlers adding to the mounted hook (#9336) 2018-01-18 14:09:25 +08:00
nighca 2880132de8 DatePicker: fix incorrect interaction on range change when defaultTime provided 2018-01-18 11:48:57 +08:00
FuryBean 23a60a0ef6 Loading: fix loading not disappear in some condition (#9313) 2018-01-18 11:44:19 +08:00
FuryBean f32fe6ae72 DatePicker: hide input default clear button on ie (#9325) 2018-01-18 11:14:36 +08:00
FuryBean 28708bbf86 Table: fix last table column border disappear in some condition (#9326) 2018-01-18 11:06:59 +08:00
FuryBean ddab60121a Button: fix style of the only button in a button group (#9298) 2018-01-16 20:46:06 +08:00
Hanxing Yang 94f18ab9a6 DatePicker: add attribute defaultTime (#9094)
* DatePicker: add attribute defaultTime

* use createVue instead of createTest & update docs for defaultTime

* update defaultTime type
2018-01-16 19:39:28 +08:00
FuryBean 45815504ce Popover: fix popover hiding unexpectedly due to accessibility events (#9294) 2018-01-16 19:29:04 +08:00
柚子男 6ce4b313b4 Upload: crop the success icon when list type is "picture" (#9285) 2018-01-16 10:29:08 +08:00
AdamSGit cf3490cfea DatePicker: added prefix-icon and clear-icon (#9237)
* [DatePicker] Added the possibilitie to pass custom prefix and suffix icon class with same props as usual (prefix-icon and suffix-icon)

* [DatePicker] Fixed error in previous commit and updated english documentation according to icon changes

* Renamed suffix-icon to clear-icon, and updated english doc

* Cleaned unnecessary lines
2018-01-15 21:50:04 +08:00
liyl ee5cd93db3 Table: add column as filter-method's param (#9196)
* expand filter-method param

* update table.md
2018-01-15 12:25:53 +08:00
Anatoly Kolesov e15272be56 fix show loading, leak memory (#9189)
* fix show loading, leak memory

* $on -> $once

* refresh Trv

* remove space
2018-01-14 19:44:41 +08:00
Daniel Li b10ecc94ad Table: update selection after filtering (#9207) 2018-01-14 19:35:12 +08:00
viewweiwu 1bcebecba9 Cascader: add blur and focus events (#9184)
* add cascader blur & focus event

* fix 'Input Events' => 'Cascader Events'
2018-01-14 12:29:43 +08:00
Leopoldthecoder 6280336ca2 Message: add content right padding when closable 2018-01-14 10:57:21 +08:00
Anatoly Kolesov e15c7e0d63 Table: declare column length vars in store init (#9188)
* spread -> merge

* Update table-store.js
2018-01-10 20:06:58 +08:00
Jiewei Qian 15d528c768 input-number: fix user input parsing (#9166) 2018-01-09 14:08:46 +08:00
Leopoldthecoder 44dca81692 [build] 2.0.11 2018-01-08 14:09:09 +08:00
Lukasz Balcerzak b91e8ee3a3 Select: reset input height when filterable and collapse tags (#8966)
* Added example that exposes the issue

* Fixed issue if select component has collapse tags and filtering enabled at the same time

* tests

* simpler tests
2018-01-08 12:27:54 +08:00
Leopoldthecoder 8c4dfd1aff Tabs: fix style bug when nested with different tab positions 2018-01-07 12:29:04 +08:00
zhangyaodan 8f10ba50f2 Table: fix sort not working after clearSort (#9100) 2018-01-07 12:15:52 +08:00
Leopoldthecoder e4335bf9cc Transition: remove transition delay for fade transitions 2018-01-07 12:00:31 +08:00
Leopoldthecoder e1a5b62267 Table: align sort arrows 2018-01-07 10:35:58 +08:00
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