Commit Graph

569 Commits (9f43451b53c0e6f11abf3e10308772ab9fe9295b)

Author SHA1 Message Date
VanMess 855062423c Image: add support for transmit "attrs" and "listeners" (#15578) 2019-05-24 14:53:47 +08:00
Simona c27788f993 Tooltip: fix custom tabindex not work (#15619) 2019-05-21 11:46:49 +08:00
Zhi Cun 613dd1a36d Progress: Revert pr #13198 (#15601) 2019-05-17 16:01:11 +08:00
hetech dc8bdc021e Calendar: add Calendar component (#14908) 2019-04-25 10:57:26 +08:00
luckyCao 1fe6849a63 InputNumber: add step-strictly attribute (#15050) 2019-04-23 11:28:02 +08:00
luckyCao 6ecf925d7e Select: fix slice of value when value is undefined or null (#15022) 2019-04-23 11:26:34 +08:00
Jeff Wen 6ae9f0838f Tree: delete current node after it removed (#14604) 2019-04-22 17:38:08 +08:00
iamkun 5ecf4c2895 Link: add link component (#15052) 2019-04-19 19:15:28 +08:00
luckyCao 88ae222c61 Input: add show-word-count attribute (#15075) 2019-04-19 16:14:07 +08:00
luckyCao da01541d60 Slider: add marks attribute (#15133) 2019-04-19 16:02:01 +08:00
hetech e5385e8531
Pagination: add hide-on-single-page attribute (#15096) 2019-04-19 15:52:06 +08:00
hetech 2a65c9df7e
Carousel: add direction attribute and support vertical direction (#15122) 2019-04-19 15:51:11 +08:00
Simona d9462ab771 Image: add image component (#15117) 2019-04-19 12:09:42 +08:00
Zhi Cun 686595627e Alert: Add dark theme (#15041) 2019-04-19 11:57:20 +08:00
Zhi Cun 128feba18f Divider: add divider component (#15055) 2019-04-19 11:44:35 +08:00
Simona c34ec3f1f1 Rate: add custom colors and icon-classes by passing a object (#15051) 2019-04-19 11:08:30 +08:00
morning c965e3697a Select: set placeholder to label of option selected when filterable is true (#14989) 2019-04-17 18:01:10 +08:00
Haoran Yu f19b9f13c6 Rate: Fix decimal display support in disabled mode (#15089) 2019-04-17 11:33:08 +08:00
hetech c6dbd286e1
Table: fix load bug in lazy mode (#15101) 2019-04-12 19:06:29 +08:00
hetech a408b3dd3f
Form: label-width supports width auto (#14944) 2019-04-03 11:56:49 +08:00
hetech b851242a5c
Table: `defaultExpandAll` works when expand column exists (#14935)
* Table: `defaultExpandAll` works when expand column exists

* fix
2019-04-02 15:26:46 +08:00
Jiewei Qian d38ab315fa Input: update DOM dependent values on type change (#14889)
fix #14857
2019-04-02 12:19:32 +08:00
aaronfulkerson 6a766097e2 Select: set value to null when cleared (#14322) (#14650) 2019-03-29 02:16:30 +11:00
hetech 314e7fbaee Tree: revert pr #13349 (#14847) 2019-03-27 18:28:50 +08:00
hetech 9def85be4a Table: add support tree structure data (#14632) 2019-03-27 16:13:21 +08:00
hetech d956022a96
Cascader: remove unnecessary DOM operation (#14788)
* Cascader: remove unnecessary DOM operation

* update cascader test
2019-03-21 18:11:14 +08:00
Jiewei Qian ed13de38c7 input: fix regression (#14572)
* input: fix regression

guard against: #14551
fix: #14501, #14521, #14564, #14332

* Input: update
2019-03-19 15:54:55 +08:00
Jiewei Qian 9c7fcf30f2 chore: update test deps and conf (#14735)
* test: run in headless chrome

* chore: update travis node version

* chore: upgrade test deps

* test: fix tests

* test: support async await

* test: fix tree test case

* test: fix tree test cases

* test: fix popper test case
2019-03-18 15:34:44 +08:00
Jeff Wen d1255684d4 Steps: fixes issue #14502 (#14596)
* Steps: fixes issue #14502

* Update

* f
2019-03-09 21:26:51 +08:00
Jeff Wen b7ee84f39a date-picker: fix first-day-of-week computation (#14523)
Fixes #14523
2019-03-06 19:10:40 +11:00
zxyRealm 2f5a489a9c DatePicker: add monthrange for type attribute (#4204) (#14487) 2019-03-04 15:41:04 +08:00
Jiewei Qian 8afa4cf788
doc: fix typo `type="fixed-time"` (#14552) 2019-03-02 22:25:21 +11:00
Harlan f55fbdb051 Select: add slot `empty` (#13785)
* Select: Add slot `empty` (#13769)

* Select: add test case for slot `empty`
2019-02-19 14:36:09 +08:00
HarlanLuo a54802c71a Table: remove some html DOM operations (#13643) 2019-02-18 14:31:03 +08:00
Jiewei Qian 28873807c1
test: add autocomplete highlight-first-item (#14368)
add unit test for https://github.com/ElemeFE/element/pull/14269
2019-02-14 20:30:57 +08:00
Zhi Cun f17533ab11
Timeline: add timeline component (#14248)
* Table: fix params order of row events (#12086)

* Timeline: add timeline component (#11736)

* Timeline: add timeline component

* Timeline: add timeline component

* Timeline: add test case

* Timeline: fix icon class

* Timeline: update docs

* Timeline: fix test case

* Timeline: remove pending attribute

* Timeline: fix docs

* Timeline: make reverse default to false

* Timline: fix test case

* Timeline: update element-ui.d.ts

* Timeline: optimize code
2019-02-01 17:13:08 +08:00
Zhi Cun aa9851ee74 Chore: upgrade to webpack@4 (#14173)
* Chore: upgrade webpack@4

* Chore: upgrade to webpack@4

* Chore: add babel-preset-stage-2

* Chore: fix test case

* Chore: upgrade webpack@4

* Docs: update docs

* Docs: update docs

* Chore: fix coveralls

* Chore: update yarn.lock
2019-01-23 11:34:19 +08:00
ileechee e9aae8f706 Tag: add click event (#14106)
* Tag: add tag click event handle

* Tag: add doc and unit test.
2019-01-21 13:52:33 +08:00
YuCheng Lin 904e60ef1d date-time-picker: add selectableRange in pickerOptions 2019-01-14 23:25:46 +08:00
Jiewei Qian e2c5573c1f Input: simplify el-input implementation (#13471)
* input: simplify internal implementation

remove currentValue, strictly follow one-way data flow
hack for MSIE input event when placeholder is set
remove isKorean hack (#11665, #10648)

* input-number: fix for new el-input

* test: input, fix vue warning

* date-time-range: fix for new el-input

* pagination: fix for new el-input, simplify internals

* input: fix input event on compositionend

* input-number: fix for new el-input

* input-number: nuke userInput on change
2018-11-26 15:05:46 +08:00
Ali Torki d37f74f539 Progress: add text status (#13198)
* add: text status in progress circle component

* Progress: update Chinse and Spanish docs and minor improvements

* update progress
2018-11-13 11:24:15 +08:00
dive2Pro d97555bdde Tree: fixed `default-checked-keys` display wrong (#13349)
* fix: 12383 Tree in lazy mode set child node 'default-checked-keys', display wrong:All nodes are fulfilled

* 添加测试

* fix code style

* update style
2018-11-13 10:31:22 +08:00
Anton Kuznetsov 2b7fa617ae Tree: add currentNodeKey property declaration and fix test for currentNodeKey (#13197)
* Add currentNodeKey property declaration, fix test for currentNodeKey

* translate Chines doc
2018-11-08 19:28:24 +08:00
hetech 9a31f5f6e6
ColorPicker: not trigger form validation when dragging (#13299)
* ColorPicker: not trigger form validation when dragging

* update test case for input
2018-11-05 19:21:49 +08:00
st-sloth 9d09d0dbf4 InputNumber: add `select` method (#13286)
* Input: add test for `select` method

* InputNumber: add `select` method
2018-11-05 19:21:24 +08:00
Wenlu Wang 31d31d904d Alert: add support for title slot (#13082)
* Alert: add support for title slot

* update documents
2018-10-20 11:51:36 +08:00
Harlan edb3c9b785 TimePicker: selectable range will affect to column minutes in spinner (#12312) 2018-10-12 22:40:41 +08:00
firesh c8ce0410f9 select: refactoring icon reverse (#12353)
* select: refactoring icon reverse

* select: disable clear icon when select popup is visible

* select: refactoring clear icon
2018-10-11 18:41:18 +08:00
Jiewei Qian 6cb92acc34 DatePicker: validate input date (#12898)
* date-picker: fix confirm() ignoring date validity

make date-range panel's confirm validate date before confirming.

1. disable confirm button if picked date is invalid
2. reset highlight date on picker open (resetView)

* test: date-time-range confirm honors disabledDate
2018-09-27 16:03:11 +08:00
hetech 143f0c64d1
test: update test case for form (#12886) 2018-09-26 11:01:05 +08:00
hetech 17d817c0ce
Tabs: fix order of TabNav when array is sorted (#12846)
* Tabs: fix order of TabNav when array is sorted

* update tabs.vue

* update test cases
2018-09-25 11:16:47 +08:00
morning fff4d62567
Dialog: add opened event (#12828)
* Dialog: add opened event

* Docs: update es dialog doc

* Update dialog.md
2018-09-20 11:16:22 +08:00
Jiewei Qian 02176e26f4 Date picker refactor dates selection: fix 12323 (#12347)
* date-picker: refactor type='dates'

fix issue #12323
{month, year} table highlights all selected dates
nuke selectedDates to provide cleaner data flow

* doc: correct date-picker's array usage

empty value must be falsy (empty array should not be used)
2018-08-14 16:19:51 +08:00
Jiewei Qian 9f80cf91da date-picker: fix form change validation (#12328) 2018-08-13 12:26:36 +08:00
hetech 484725b15f
Dialog: ignore width when fullscreen is true (#12203) 2018-08-02 11:27:30 +08:00
hetech 1cc45b83d8 Input: fix wrong style of Input suffix (#12108)
* Input: fix wrong style of Input

* update input.vue

* add test case
2018-07-25 15:54:02 +08:00
Jiewei Qian 69dd5399aa date-picker: fix #11152 (#12114) 2018-07-25 13:07:46 +08:00
Jikkai Xiao 4130f2af40 Table: add toggleAllSelection method (#12047) 2018-07-24 16:36:31 +08:00
杨奕 5ef3d0ec8d MessageBox: add distinguishCancelAndClose (#11831) 2018-07-03 12:02:21 +08:00
杨奕 b799d2ec4d Form: clearValidate supports prop names (#11821) 2018-07-02 18:06:16 +08:00
Jiewei Qian 0ed8d18603 Select: fix form change validation (#11672) 2018-06-20 11:15:34 +08:00
hetech 85e562185e Chore: delete unused file (#11641) 2018-06-15 12:20:19 +08:00
hetech 7bee91a517 Cascader: close when option clicked (#11623)
* Cascader: close when option clicked in hover mode

* update menu.vue
2018-06-14 17:50:10 +08:00
Jikkai Xiao 35931815fc Test: add more test cases (#11541)
* Tabs: improve test case

* Container: improve test case

* Radio: improve test case
2018-06-08 15:59:24 +08:00
Jikkai Xiao d1391e325c Tabs: add stretch attribute (#11476)
* Tabs: add stretch attribute

* Update tabs.scss
2018-06-07 11:18:57 +08:00
杨奕 0afa514e0a
MessageBox: add iconClass (#11499) 2018-06-06 12:19:24 +08:00
hetech 7df9a1e38c Test: add some test cases (#11485) 2018-06-05 13:31:15 +08:00
Jiewei Qian ecec908da8 DateTimePicker: fix incorrect date on time pick (#11474)
* date-time-picker: fix incorrect date on time pick

* date-time-picker: fix incorrect date on confirm
2018-06-04 20:22:38 +08:00
Jikkai Xiao eb1479d3bc Tabs: fix lazy loading (#11461)
* Tabs: fix lazy tab-pane order

* Tabs: fix lazy loading
2018-06-01 17:43:22 +08:00
hetech 3e2e96313a Test: add some test cases (#11453) 2018-06-01 17:07:52 +08:00
Jikkai Xiao 40cf8ee0e6 improve the test coverage (#11447) 2018-06-01 11:27:53 +08:00
Jason Zoo dc816832e1 form-item sizeClass (#11408)
* form-item sizeClass

* Update form.spec.js
2018-05-30 18:25:50 +08:00
hetech c9ea4161f1 MessageBox: remove hidden class when using MessageBox twice (#11371) 2018-05-28 16:19:10 +08:00
Jikkai Xiao b726aa0265 Table: retain currently selected row when sorting the table. (#11348) 2018-05-25 17:47:27 +08:00
Jikkai Xiao f18bbeb473 Table: support manually sorting. Resolves #9495 (#11311)
* Table: support manually sorting. Resolves #9495

* Table: add parameters for sort api

* Docs: improve docs
2018-05-24 18:01:02 +08:00
Wenlu Wang 49473ffafc add support of tab penl lazy render(#11022) (#11167)
* add support of tab penl lazy render

* add docs

* fix test

* Tabs: update tab-pane.d.ts

* Docs: update Tabs docs
2018-05-23 19:04:51 +08:00
hetech bcfb1d3c71 InputNumber: add precision attribute (#11281) 2018-05-23 14:10:34 +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
Jikkai Xiao 54eeb5ced3 Chore: convert build system to webpack (#11216)
* Chore: convert build system to webpack

* Update webpack.demo.js

* Chore: remove cooking and upgrade dependencies to adapt webpack@3
2018-05-21 15:26:46 +08:00
杨奕 e809720ce4
Tree: setCurrentKey cancels highlight when param is null (#11205) 2018-05-17 13:30:58 +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
杨奕 d537906ac6
Progress: fix missing icon when status is exception (#11172) 2018-05-15 18:50:18 +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
杨奕 68db03fc22
Tree: add checkOnClickNode (#11111) 2018-05-10 18:01:49 +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
杨奕 7409be8ce1
Pagination: emit current-change after current page is manually updated (#11012) 2018-05-04 15:32:23 +08:00
Jiewei Qian 326c0abb2a test: fix unreliable date-picker/week test (#10974) 2018-05-03 10:20:46 +08:00
杨奕 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