Commit Graph

2027 Commits (d7e9e6173f20045a9791440ac721b1558a49fb2e)

Author SHA1 Message Date
杨奕 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