Commit Graph

679 Commits

Author SHA1 Message Date
Jiewei Qian
79e14780ce Docs: warn input as a controlled component. (#14463)
Explicitly states that input events should be handled, and v-model modifiers
are not supported.
2019-02-25 10:28:14 +08:00
georgyfarniev
57f3960927 Menu: add support for el-menu-item without index (#13298) 2019-02-22 19:25:38 +08:00
liuchuzhang
b8d0b45858 docs: fix pagination doc style (#14451)
* fix document style bug

* Updates

* Update
2019-02-22 17:56:52 +08:00
iamkun
3459a5218d docs: update input doc (#14437) 2019-02-22 16:40:35 +08:00
Gabriel Oliveira
8608dbf800 DropdownItem: add icon prop to dropdown-item (#14088)
* Add icon prop to dropdown-item

* Add French translation to DropdownItem Icon

* Adding missing TypeScript definition to DropdownItem
2019-02-22 12:33:15 +08: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
Yamen Sharaf
1fd5964b70 autocomplete: add highlight-first-item prop (#14269) 2019-02-14 20:05:42 +08:00
Zhi Cun
f598d9ba9f Merge pull request #14295 from tuxinghuan/dev
docs(icon):make the style change when hover on it
2019-02-02 10:23:31 +08:00
wangguohao
2e4f6bef9a update custom-theme docs 2019-02-02 10:03:18 +08:00
tuxinghuan
431475bc4f docs:make the style change when hover on it 2019-02-01 23:22:46 +08:00
Hamlet Barsamyan
3aee1a4c37 I18n: Created Armenian locale (#14214)
* Created Armenian locale

* Added Armenian locale in example docs

* Created Armenian locale in example docs

* Created Armenian locale in example docs

* Update hy-AM.js
2019-02-01 17:15:47 +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
xunmeng
cee7237255 Docs: fix table markdown demo (#14253) 2019-01-29 15:13:12 +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
Zhi Cun
439f58fc8e i18n: support Kyrgyz language (#14174)
* Update i18n.md

Submit the internationalization profile of element in Kyrgyz

* Add international language - Kyrgyz
2019-01-23 11:32:49 +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
jiang.an
b48d64eaf1 Fix a document difference 2019-01-17 18:54:37 +08:00
Gideon King
911ca6872a Popover: fix popover issues with hover display (#13104)
* Fix issue with popover displaying on focus when configuration is for it to show on hover.
Fix issue with popover timer still running when button clicked and parent element no longer visible (e.g. keepalive component).

* Updated to pass tests

* Correct documentation for el-date-picker

* Changes as per ziyoung review
2018-12-05 17:23:10 +08:00
fafa
814740b63c Table: fix index type (#13628) 2018-11-30 19:10:56 +08:00
hetech
dd4a496940 Tree: update doc and definition file (#13540) 2018-11-23 17:44:57 +08:00
hetech
d8d4dfedd5 DatePicker: add validate-event attribute (#13531) 2018-11-22 18:29:16 +08:00
Jiewei Qian
93790b654f doc: input-number, fix missing num9 declaration (#13463) 2018-11-19 17:39:57 +08:00
hetech
c1b869d7ce Cascader: add visible-change event (#13415) 2018-11-14 12:25:41 +08:00
Arthur Denner
026558682c Autocomplete: add clearable prop (#12171)
* Autocomplete: add clearable prop

* Input: remove focus after clearing the value

* Autocomplete: hide options after clearing the value
2018-11-13 18:33:33 +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
hetech
d241282a81 Alter: title is not a required prop (#13360)
* Alter: title is not a required prop

* update docs
2018-11-09 12:01:35 +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
d1440c9608 Tree: add iconClass attribute (#13337) 2018-11-07 19:06:36 +08:00
Ruslan P
1f592944d6 DatePicker: allowed to customize range-seprator with a slot (#13272)
* DatePicker: Allowed to customize range-seprator with a slot

Currently, the only possible option for "range-selector" is a string, would be nice to use a slot, so we could have custom svg-icon there.

* update doc
2018-11-07 12:30:47 +08:00
hetech
e715848c90 Form: validateField accepts an array of field names (#13319) 2018-11-06 18:52:54 +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
SkyAo
bdc9363635 InputNumber: add placeholder attribute (#13275) 2018-11-05 15:36:36 +08:00
Harlan
bcef4d9e35 Table: add resetFilter which can reset filter of a column (#13176)
* Table: clearFilter can clear the filters of specified columns

* optimize code and add resetFilter example in doc

* Table: Improve documentation of clearFilter
2018-11-02 11:40:36 +08:00
hetech
9c32f55892 Table: fix header scoped slot not accessing data (#13263) 2018-11-01 15:23:55 +08:00
Harlan
933109fd5b Carousel: add prop loop (#13217)
* Carousel: add prop `loop` which can control whether display in loop (#12869)

* Carousel: add es doc for new prop `loop`
2018-10-31 17:41:23 +08:00
Asier Iturralde Sarasola
bc26ab6ba5 i18n: add Basque translation (#13239)
* Add Basque translation

* update doc
2018-10-31 16:41:35 +08:00
Ivan Seidel
2bafed0acc Table: Adds header rendering slot (#13012)
* Table: Adds header rendering slot

Fixes #4909 and #4908

* Add translation to spanish

* Include render-header deprecation warning

* Add chinese translation and scoped slot description at bottom

* Fix documentation and warnings. Fix custom-header docs

* Fix redundant columns and cleanup example

* Prevent scopedSlot from working on selection column

* Typo
2018-10-26 11:16:56 +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
hetech
9b1d120a0f NavMenu: fix typo (#13060) 2018-10-15 18:38:57 +08:00
ZSkycat
9bbae74cb6 Select: make clearable work for multi select (#13049)
* Select: make clearable work for multi select (#6399)

* Select: chore

* Select: fix bug and update docs (#13049)
2018-10-15 16:47:23 +08:00
hetech
261abd69fc Badge: add type attribute (#12991)
* badge: add type attribute

* Update badge.md
2018-10-09 12:14:45 +08:00
Andrew Kordampalos
ec0074bf8b Dropdown: Added slots to documentation (#12985)
* Dropdown: Added slots to documentation

Added slots section in english to documentation for dropdown component. Chinese and Spanish missing.

* Update dropdown.md
2018-10-09 11:49:19 +08:00
Yamen Sharaf
44a85b8e60 Form: emits error message on validate event (#12860)
* Form: Emits error message on validate events

* Update form.md
2018-09-26 10:50:50 +08:00
hetech
99a1f4f376 doc: update i18n doc for Serbian language (#12867) 2018-09-25 12:09:01 +08:00
hetech
861b0b294b Upload: add missing definition (#12839) 2018-09-20 16:50:27 +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
Yamen Sharaf
098ba463c3 FormItem: adding hide-required-asterisk attribute(#12744)
* Form: adds prop to make asterisk optional on required  fields

* Form: adds prop to make asterisk optional on required  fields

* ElForm: Reverses attribute name to hide-required-asterisk, which defaults to false

* Update form-item.vue

* Update form.scss

* Update form.md
2018-09-17 18:32:23 +08:00
Kaveet Laxmidas
0bc07d7ec4 docs: improved documentation for el-form (#12635)
* Docs: Document el-form label-position attribute

Adds improved documentation to the el-form `label-position` attribute, which behaves differently when used with and without `label-width`. This has been a source of confusion for myself and others:

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

Thanks!

* Document el-form label-position attribute (zh-CN, needs translation)

* Document el-form label-position attribute (es)

* Update form.md
2018-09-14 10:51:37 +08:00
Yamen Sharaf
ea27fb8fbf FormItem: using slot-scope to display validation message (#12715)
* Updated el-form-item to accept custom error message via slot

* FormItem: updated slot name in docs

* updated spanish and chinese translations

* Update form.md

* Update form.md

* Update form.md

* Update form.md
2018-09-13 18:19:44 +08:00