Commit Graph

428 Commits (0b5d3b2f13def387ad8ccd0584f2e533eb11b570)

Author SHA1 Message Date
杨奕 9c058fbf7c
Select: remove blur emit after soft focus (#10822) 2018-04-21 16:39:48 +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
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
Jiewei Qian 7c3cadba5c DatePicker: fix week selection range highlight (#10712) 2018-04-15 14:30:14 +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
杨奕 dcf0488a3e
Pagination: ensure currentPage is updated in current-change handler (#10599) 2018-04-08 13:58:47 +08:00
RickMacTurk 528bce4479 DateTimePicker: enable default-time attribute in date picker (#10321) 2018-04-02 11:55:49 +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
云游君 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
云游君 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
杨奕 cf7f117bfb
Form: add invalidFields as a second param of validation callback (#10279) 2018-03-21 13:36:29 +08:00
remizovvv bfa44e8b4f DatePicker: extract time and date format from format prop (#10174) 2018-03-20 14:04:44 +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
杨奕 84bb3397cb
Table: add test for selectOnIndeterminate (#10210) 2018-03-16 21:42:11 +08:00
Jiewei Qian 810cae1c64 DatePicker: add reverse selection test (#10035) 2018-03-07 10:57:00 +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
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
blackmiaool e70c598d44 Input: add clear event (#9988) 2018-03-04 13:50:25 +08:00
杨奕 aa5f015cd9
Transfer: add target-order (#9960) 2018-03-02 14:43:10 +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
落叶 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
Jiewei Qian c5cec198d2 Fix date-picker flaky test (#9923) 2018-02-28 18:09:14 +08:00
baiyaaaaa 610723ea00 support menu disabled (#9771) 2018-02-11 14:59:46 +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
杨奕 248b1bf8de
Tree: support scoped slot (#9686) 2018-02-06 16:45:27 +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
wacky6.AriesMBP 1f58f4f8d5 date-picker: add timestamp format 2018-01-29 12:14:40 +08:00
Hi-Linlin e40c17f68b DatePicker: panels should display different months (#9471) 2018-01-28 16:16:15 +08:00
Jiewei Qian 1b59561e3f DateTimePicker: changeToNow cheks disabledDate (#9470) 2018-01-25 19:16:10 +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
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
nighca 2880132de8 DatePicker: fix incorrect interaction on range change when defaultTime provided 2018-01-18 11:48:57 +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
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
Jiewei Qian 15d528c768 input-number: fix user input parsing (#9166) 2018-01-09 14:08:46 +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
cinwell.li be3dcbfc4c chore: update ESLint (#9124)
* chore: update ESLint

* chore: update eslint ignore
2018-01-05 16:53:02 +08:00
qingwei.li 63fed345e5 feat(Menu): rerender activeIndex when menus changed, fixed #9092 2018-01-03 10:43:48 +08:00
earlymeme 735a834566 loading directive customClass 2017-12-17 18:12:44 +08:00
Leopoldthecoder d58814290e Picker: fix blur event 2017-12-12 15:54:29 +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
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