Commit Graph

374 Commits (2260a3bab3a48a6d363e7fea037d7b3b183f2998)

Author SHA1 Message Date
Lukasz Balcerzak 0e0f234428 lint 2017-09-06 10:00:16 +08:00
Lukasz Balcerzak 0adc0c0812 Fixed test 2017-09-06 10:00:16 +08:00
Lukasz Balcerzak 40c204d3d6 Fixed reactivity of colors prop for rate component 2017-09-06 10:00:16 +08:00
huguangju e3c0e2ef05 Pagination: fix Jumper value should reassign when internalCurrentPage greater than internalPageCount 2017-09-05 17:12:18 +08:00
Leopoldthecoder ef61460688 Merge branch 'carbon-1' into carbon 2017-09-01 10:56:25 +08:00
Leopoldthecoder 512543e35b add api for radio and checkbox 2017-08-25 13:37:56 +08:00
杨奕 79016032ea scaffolding chalk (#6643)
* scaffolding chalk

* update button
2017-08-23 18:07:14 +08:00
杨奕 bf6661266a add layout (#6600)
* add layout

* add docs

* add en docs

* fix test
2017-08-22 12:46:22 +08:00
Leopoldthecoder 2250162553 Checkbox: change event only triggers on user input 2017-08-18 12:22:19 +08:00
kingwl e647bc994f Progress: fix incorrect vertical align if percent is zero 2017-08-17 16:39:03 +08:00
Leopoldthecoder 22ab137963 Radio: change event only triggers on user input 2017-08-13 14:46:00 +08:00
Leopoldthecoder bb58f00746 Slider: change event only triggers on user input 2017-08-13 14:45:44 +08:00
Leopoldthecoder dc7de86a67 remove test timeout 2017-08-09 12:47:27 +08:00
Leopoldthecoder e3aa5ac594 Merge branch 'dev' into carbon 2017-08-09 12:37:42 +08:00
Leopoldthecoder 24b29a2d09 Tree: fix lazy expandOnChecked test 2017-08-08 12:40:37 +08:00
Leopoldthecoder e294273c50 Tree: fix checkDescendants test 2017-08-05 18:26:14 +08:00
Leopoldthecoder 917ce43cad Select: optimize onOptionDestroy 2017-08-05 18:00:56 +08:00
Leopoldthecoder f23629ac43 Select: remove resetIndex 2017-08-05 18:00:56 +08:00
Leopoldthecoder f477390c79 Message: add dangerouslyUseHTMLString 2017-08-05 17:52:53 +08:00
Leopoldthecoder 50e2f23436 Message: refactor icon 2017-08-05 17:52:53 +08:00
Leopoldthecoder 7f70ea6726 Dialog: remove v-model, add append-to-body 2017-08-05 17:52:20 +08:00
Dreamacro 41c19249ab Tree: add check-descendants attribute 2017-08-05 17:36:30 +08:00
Dreamacro 54e5cd2340 Tree: render when node expand 2017-08-05 17:34:40 +08:00
Dreamacro 78e947bcac ColorPicker: support user input (#6167)
* ColorPicker: support user input

* support alpha

* Update picker-dropdown.vue
2017-08-05 16:58:09 +08:00
Leopoldthecoder c340ed13e4 Notification: add position 2017-08-05 16:38:07 +08:00
Leopoldthecoder 7d69d11ead Msgbox: add dangerouslyUseHTMLString 2017-08-05 16:37:58 +08:00
wacky6.AriesMBP 84f8168783 Switch: set checkbox checked property 2017-08-03 17:09:48 +08:00
wacky6.AriesMBP 11e3181a59 Steps: add test for error step behavior 2017-08-03 16:43:16 +08:00
Dreamacro 97183e3bc6 DatePicker: support keyboard control (#6131)
* DatePicker: support keyboard control

* DatePicker: support keyboard control

* update test timeout

* fix space
2017-08-01 19:04:31 +08:00
baiyaaaaa 5c2589677a Tab: add vertical tab (#6096)
* add tabs position

* add tabs test

* Update tabs.md
2017-07-30 16:12:06 +08:00
wacky6.AriesMBP fc242b6179 Select: fix change event
Only emit change for user input

Before:
  select.value = 1;   // triggers change

After:
  select.value = 1;   // does not trigger change
2017-07-28 10:25:24 +08:00
Dreamacro 9f31626923 Tree: add updateKeyChildren method 2017-07-23 17:37:02 +08:00
Dreamacro ce72b8414d add Tree component current node method (#5988)
* Tree: add current node method

* Tree: remove current-node-key attribute

* fix warn message

* Update tree.md

* Update tree.md
2017-07-23 17:28:26 +08:00
Leopoldthecoder 96f542e024 Merge branch 'dev' into carbon 2017-07-20 20:51:59 +08:00
Dreamacro 0a2dd8bd53 Add focus method for some form component 2017-07-20 16:50:38 +08:00
Dreamacro 476f76875c Tree: checkbox can be disabled 2017-07-20 15:41:43 +08:00
Leopoldthecoder daa4f83e4f add object-typed value test 2017-07-20 12:37:04 +08:00
Dreamacro b1860f5274 support focus and blur for select 2017-07-18 12:18:26 +08:00
Dreamacro c1829e69f1 support focus and blur event for some form component 2017-07-18 12:18:26 +08:00
baiyaaaaa ed72c389fc fix autocomplete blur bug
This reverts commit 876cb88ae6.
2017-07-17 16:58:30 +08:00
杨奕 2bba39ce2e Upload: fix against non-primitive key warn in Vue 2.4 (#5872)
* Upload: fix against non-primitive key warn in Vue 2.4

* update horizontal menu test
2017-07-15 17:14:40 +08:00
Leopoldthecoder 0c2248b013 fix switch test 2017-07-13 18:17:13 +08:00
Hugo fb99bc90b1 Dropdown: Allow any type from items' `command` prop 2017-07-02 20:23:57 +08:00
Leopoldthecoder 3f7cf2dcc7 Changelog: update for 1.3.7 2017-06-18 21:22:25 +08:00
Leopoldthecoder 45628ecbf3 ClickOutside: fix 'Cannot read property target of undefined' 2017-06-18 16:23:59 +08:00
ChuckFields 66cad95a4b DatePicker: Fix Typing a date and tabbing does not close the calendar #4948 (#5149)
* DatePicker: Fix Typing a date and tabbing does not close the calendar #4948

* DatePicker: Fix Typing a date and tabbing does not close the calendar #4948 -Updated test case
2017-06-09 18:41:30 +08:00
baiyaaaaa a1ec75b2f4 add props support (#5188) 2017-06-09 16:55:30 +08:00
kingwl 1a9822eb60 ColorPicker: fix invalid hue bar click when saturation is zero (#5080) 2017-06-09 16:21:14 +08:00
kingwl 88b5bc6e63 ColorPicker: fix nocorrect rgb value (#5179) (#5183) 2017-06-04 17:11:16 +08:00
wacky6.AriesMBP b98a042541 Switch: add test for single source of truth 2017-06-03 17:25:44 +08:00
kingwl f19cc4c7ab Cascader: fix invalid zero value (#3470) 2017-06-03 16:07:39 +08:00
wacky6.AriesMBP bd2e172fa3 Select: fix default-first-option with remote
make default-first-option work with async filter/remote method
test is updated to reflect this change
2017-05-30 11:21:02 +08:00
pengchongfu 876cb88ae6 Select: remove clickoutside, fix #4985 (#4998) 2017-05-24 11:19:18 +08:00
wacky6 e2e31790da Select: add default-first-option
default-first-option: boolean
* if set to `true`, select first matching option on enter
* only works if `filterable` or `remote` is `true`

test is included
2017-05-18 06:36:04 -07:00
wacky6 3902bcc3e8 DatePicker: fix, add test for unwanted 'input' event emission
Fixes issue: https://github.com/ElemeFE/element/issues/4624
2017-05-13 18:36:31 +08:00
wacky6 6ee73f7715 DatePicker: fix, add test for default-value 2017-05-03 18:35:18 +08:00
Leopoldthecoder defd128f54 add .sync support for Dialog and Pagination 2017-05-03 15:20:57 +08:00
Leopoldthecoder d6265daf73 fix datepicker test, revert emitter-removing attempt 2017-05-03 15:20:47 +08:00
杨奕 aff079d686 Table: add tests for summary row (#4543) 2017-05-03 15:09:27 +08:00
杨奕 72b1bc3c10 Carousel: update doc and test for indicator labels (#4551) 2017-05-02 10:24:40 +08:00
Philip Andersson fcfda74543 [Bugfix] el-select multiple with vuex (#4226)
* Select: Fix Vuex compability when using multiple

* Adding timeout for first click to allow input event to propagate before second click

* Update select.vue
2017-04-29 21:05:01 +08:00
杨奕 ec3895fdba Transfer (#4337)
* add transfer

* Transfer: add English doc

* Transfer: add tests

* update locale files
2017-04-28 16:15:49 +08:00
liyl 19c5afb2df Switch: feature add-expand-value 2017-04-27 11:46:16 +08:00
杨奕 beac09e5b2 Slider: update vertical mode (#4375) 2017-04-27 08:28:38 +08:00
Mathieu DARTIGUES 0bf50bfc2e Add button style to checkbox (#3697)
* Add button style to checkbox

* Implement min/max for checkbox button group

* Fixing a display bug when chekbox is ':checked'

* Update docs to integrate example button+min/max option

* Register correctly checkbox-button
Last fixes after cherry pick and bad rebase...
2017-04-21 16:12:38 +08:00
pengchongfu 9e32cccc73 Message: add ability to close all Messages #3941 (#3966) 2017-04-04 18:00:01 +08:00
Nicholas Lee 5234a58e57 remove unnecessary declaration 2017-04-04 17:58:59 +08:00
liyl 6afa2ba690 Slider: feature - add format-tooltip prop (#3657)
* Slider: add format-tooltip prop

* Docs: update slider.md

* Docs: update slider.md
2017-04-04 15:40:39 +08:00
Mathieu DARTIGUES dfddd5d857 Rename minimum/maximum to min/max, type to Number 2017-03-31 00:02:39 +08:00
Mathieu DARTIGUES 3cefe969be Add minimum/maximum prop to checkbox group 2017-03-31 00:02:39 +08:00
pcf 04fa32a8d0 rename delete-tag to remove-tag 2017-03-26 21:33:00 +08:00
pengchongfu a3dca68fb0 Select: add delete-tag event (#3632) 2017-03-26 21:33:00 +08:00
Nicolaj Egelund 220f1542ea Added clickoutside drag-click test 2017-03-15 15:40:57 +08:00
Nicolaj Egelund 9c13b0e8d5 Updated tests to trigger mousedown and mouseup events instead of click 2017-03-15 15:40:57 +08:00
Gabriel Oliveira f86427f25a Slider: add show-tooltip prop 2017-03-15 13:49:56 +08:00
Cyril Su 5e796ca33b Table: Add handleEvent. (#3305) 2017-03-06 18:45:27 +08:00
baoyang ae8ab4b56c Tree: fix setCheckedKeys() not work on node that has childNodes (#2967) 2017-02-28 16:02:05 +08:00
Pan e204e28320 add unit test 2017-02-27 11:43:16 +08:00
杨奕 067541e8d9 improve tests (#3033) 2017-02-24 17:37:06 +08:00
baiyaaaaa 61672ce0e2 fix input change time (#2956) 2017-02-22 16:33:30 +08:00
Furybean 42bd58d9fe Add ColorPicker component. 2017-02-21 11:01:25 +08:00
杨奕 0643460b28 Cascader: update (#2845)
* Cascader: update

* Cascader: add tests

* Cascader: move flatOptions and add debounce
2017-02-19 00:50:55 +08:00
杨奕 3f64571fcc Carousel: responsive to item change (#2775) 2017-02-18 15:11:41 +08:00
杨奕 450cf81ded Slider: add range support (#2751) 2017-02-17 19:09:59 +08:00
baiyaaaaa 98850a1832 fix test 2017-02-16 22:43:19 +08:00
kingwl 8e34408d6e Input: fix invalid resize prop (#2838) 2017-02-16 16:53:33 +08:00
Leopoldthecoder 3243b8fc98 Merge branch 'dev' into 1.2-merge1
# Conflicts:
#	package.json
#	src/utils/popup/index.js
#	yarn.lock
2017-02-09 17:33:42 +08:00
baiyaaaaa 9dee785465 autocomplete dropdown use el-scrollbar 2017-02-09 16:06:06 +08:00
杨奕 1b4a0f9285 Tree: add node-expand and node-collapse (#2507) 2017-02-07 11:01:25 +08:00
baiyaaaaa 1efe9287f9 fix test 2017-02-04 18:52:37 +08:00
baiyaaaaa 0bec05ada3 update tab api 2017-02-04 18:52:37 +08:00
cinwell.li 14565178ed Tooltip: prevent hidding when hovering tooltip, close #2633 (#2654)
* Tooltip: prevent hidding when hovering tooltip, close #2633

* Fix test
2017-02-04 18:36:08 +08:00
Vinicius Reis 6dd09cc11d Click event #2551 (#2614)
* add click event

* update doc

* add tests
2017-02-04 11:20:04 +08:00
baiyaaaaa 254fc6a20f change allowClear to clearable && add test 2017-02-04 10:46:43 +08:00
baiyaaaaa c8226ad62a add cascader test 2017-02-04 10:46:43 +08:00
baiyaaaaa 1a16fbb735 add cascader 2017-02-04 10:46:43 +08:00
张华焱 8bf9c7d9ac [tree]:add node-expand and node-collapse event 2017-01-24 10:52:25 +08:00
张华焱 7d09486968 [tree]添加node-open与node-close事件,共三个参数,依次为:传递给 data 属性的数组中该节点所对应的对象、节点对应的 Node、节点组件本身。 2017-01-18 17:16:07 +08:00
qingwei.li 5150731e1e Tooltip: refactor code no longer generates additinal html tag, resolve #2423 2017-01-17 13:45:16 +08:00
baiyaaaaa 2072156e5b tree support accordion 2017-01-16 12:37:51 +08:00