Commit Graph

342 Commits

Author SHA1 Message Date
LIUCHAO
58a96122b7
docs(components): [datetime-picker] event parameters (#8930) 2022-07-23 09:58:18 +09:00
BaboonKing
ff86548156
docs(components): [menu] supplement some content (#8942) 2022-07-23 09:45:44 +09:00
Xc
ef22e5db62
feat(components): [tooltip] adjust controlled mode (#8762)
* feat(components): [tooltip] adjust controlled mode
2022-07-17 23:14:51 +08:00
白雾三语
884690c0cf
docs(components): [tooltip] add trigger-keys attribute (#8740) 2022-07-14 21:46:10 +08:00
yujinpan
8a9958688a
docs(components): [TreeSelect] default value is reversed (#8738) 2022-07-10 23:56:17 +08:00
류한경
efbc4fec09
docs(components): [form] add scroll-to-error attribute (#8650) 2022-07-06 19:15:25 +09:00
류한경
5b817d3008
feat(components): [slider] placement (#8561)
* feat(components): [slider] placement

feat: add fallback placements

feat: rename tooltip-placement

refactor: test code

docs: add placement attribute

docs: prettier

* docs: example placement
2022-07-04 22:35:53 +08:00
zz
e09c0dbc39
docs(components): [transfer] improve and complete examples (#8471) 2022-07-04 21:39:53 +08:00
kooriookami
ae96aedf3c
feat(components): [autocomplete] fit input width (#8596)
* feat(components): [autocomplete] Add fitInputWidth prop

* feat(components): [autocomplete]

* feat: add docs

* feat(components): [autocomplete]
2022-07-03 17:54:40 +08:00
Kim Yang
483c32f341
docs(components): update el-input docs (#8500)
Co-authored-by: KimYangOfCat <kim.yang.yj@outlook.com>
2022-07-03 12:46:57 +08:00
Hefty
72d0bc2177
fix(components): add validate-event for form types component (#8173)
* fix(components): add validate-event for form types component

* chore: format code
2022-07-02 21:01:05 +08:00
yujinpan
4fe9c2bd6c
fix(components): [TreeSelect] checkbox interaction (#8102)
* fix(components): [TreeSelect] check child when parent checked

* refactor(components): [TreeSelect] move utility functions to utils.ts

* fix(components): [TreeSelect] exclude check event from click node

* fix(components): [TreeSelect] handle dup when `checkOnClickNode`

* feat(components): [TreeSelect] `treeFind` support find parent node

* fix(components): [TreeSelect] show current selected node only first time

* fix(components): [TreeSelect] incorrect node selection condition

* docs(components): [TreeSelect] update checkbox examples and tips

* fix(components): [TreeSelect] incorrect label when data modify
2022-07-02 14:49:21 +08:00
qiang
598f3ab5cd
feat(components): [autocomplete] expose blur event (#8364)
* feat(components): [autocomplete] expose blur event

* docs(components): [autocomplete] update
2022-06-27 13:39:25 +09:00
云游君
5d88f628bb
feat(components): [message-box] add autofocus attribute (#8445)
* feat(components): [message-box] add autofocus attribute

* fix: autofocus to be true by default

* docs: message-box autofocus default value

* chore: remove useless comment

* fix: focusStartRef value el
2022-06-26 04:32:05 +08:00
LinZhanMing
a9277187cf
docs: fix popper.js docs link(dropdown, select-v2, tooltip) (#8474) 2022-06-25 22:43:55 +09:00
류한경
c6b43df7b3
refactor(components): [popconfirm] changed button type (#8436)
* refactor(components): [popconfirm] changed button type

* docs: changes to attribute kebab case, add accepted values ​

* fix: remove del tag

* fix: remove del tag
2022-06-24 13:58:51 +09:00
LIUCHAO
63847a981f
docs(components): [message-box] add customized icon for examples (#8381) 2022-06-22 01:29:27 +00:00
0song
1706dfb6c5
docs: add autocomplete doc (#8320) 2022-06-17 16:20:04 +08:00
三咲智子
73f48ae7a7
fix(components): [upload] two-way binding fileList (#8258) 2022-06-17 15:01:30 +08:00
0song
9aa1632452
docs: add autocomplete doc (#8316) 2022-06-17 06:55:40 +00:00
Linmj
9f9a0657f7
docs(components): [tabs] update tabs.md (#8260) 2022-06-16 13:16:05 +08:00
Eddie
5cc33b01ad
docs(components): [time-picker] remove invalid attribute (#7801) 2022-06-15 16:37:35 +08:00
Carter Li
1aa9d43129
refactor(components): [switch] Simplify color handling (#8199)
1. Use CSS variables to set `(in)activeColor` in order not to modify DOM
2. Deprecate property `(in)activeColor` in favor of CSS variables
2022-06-12 22:40:53 +08:00
류한경
4ef6ee28a8
docs(components): [link] fix type accepted values (#8117) 2022-06-08 09:23:24 +08:00
qiang
d8739fa550
docs(components): [table] wrong default value for resizable (#8092) 2022-06-05 09:52:14 +08:00
云游君
92b2007d82
docs(components): [menu] add left and right example (#8094) 2022-06-05 09:51:58 +08:00
류한경
2805cb8aae
docs: fix typo (#8078)
* docs: fix typo

* fix: restore text
2022-06-04 06:48:44 +08:00
qiang
60cd22b890
feat(components): [image] support native lazy loading (#7968) 2022-06-01 13:21:05 +08:00
Jeremy
2a44274bf4
docs(components): [time-picker] event parameters (#8002)
* Update doc event parameters for blur/focus event.
* Update doc event parameters for change event.
* Update doc event parameters for visible-change event.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-31 10:03:44 +08:00
Chris
d3f50525f8
chore(docs): use defineConfig for vite (#7670) 2022-05-31 05:49:49 +08:00
Faizal Andyka
bb246485c9
docs: theming (#7965) 2022-05-30 04:05:51 +00:00
opengraphica
af732b124b
feat(components): [dropdown] a11y (#7946)
* feat(components): [dropdown] always use button trigger

* feat(components): [dropdown] a11y unit tests

* feat(components): [dropdown] pr comments
2022-05-30 11:51:25 +08:00
三咲智子
180a2b91e0
docs: fix markdown block (#7960) 2022-05-30 10:26:15 +08:00
qiang
49117b6b03
docs: fix typo (#7815)
type="link" -> link
2022-05-24 09:36:23 +08:00
JeremyWuuuuu
15c3aa4fb1
docs(components): [input-number] HTML tag issue (#7864) 2022-05-23 22:05:37 +08:00
msidolphin
6f04af6c39
feat(components): [table] ensure minimum-size doesn't follow the content (#7627)
* feat(components): [table] ensure minimum-size doesn't follow the content

* chore: add version tag
2022-05-20 17:57:21 +08:00
0song
4172ff4da6
docs: update doc (#7799) 2022-05-20 12:06:00 +08:00
JeremyWuuuuu
5bfa42cfed
feat(components): [button] restore type="text" (#7761) 2022-05-18 00:39:31 +08:00
JeremyWuuuuu
01a3edf619
docs(components): [input-number] documentation updates (#7727)
- Add version tag for `value-on-clear`.
- Add breaking change log for `value-on-clear`.
2022-05-17 10:47:09 +08:00
Carter Li
2577b06328
feat(components): [input-number] add :value-on-clear and make it nullable (#7724) 2022-05-17 01:16:44 +08:00
JeremyWuuuuu
5d2daca248
docs(components): [button] link button (#7694)
- Update docs for link button.
- Update vp-translation wrong usage of button.
- Update doc show cases examples.
- Update commit hash value for `link button`
2022-05-14 12:58:09 +08:00
Xc
ad3d998752
feat(components): [button] add link api (#7652)
* feat: button add link type

* fix: code lint

* feat: button add link api

* docs: edit word

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-05-14 12:20:02 +08:00
Carter Li
325f84d44f
feat(components): menu add more controllable styles (#7549)
1. add some css variables
2. support specifying level padding
3. small code refactor
4. deprecate `background-color` etc
2022-05-12 22:38:26 +08:00
qiang
2dc4e463fd
chore(ci): optimizing the generated code hint file (#7634) 2022-05-12 10:59:16 +08:00
opengraphica
9c51dab123
feat(components): [dialog] a11y and focus trap on dialog components (#7550)
* feat(components): [dialog] a11y and focus trap on dialog components

* feat(components): [dialog] remove default browser focus style

* feat(components): [dialog] clean up async and comment
2022-05-10 17:58:18 +08:00
btea
688dbb3011
fix(docs): copy icon (#7587)
* fix(docs): copy icon

* chore: modify demo & update copy
2022-05-10 08:06:04 +08:00
云游君
0795254a67
docs: add how to custom namespace & example (#7596) 2022-05-10 08:04:37 +08:00
JeremyWuuuuu
16abb4ca41
improvement(components): [virtual-table] (#7557)
- Add method `scrollToRow` to VirtualTable.
- Restore missing `cellProps` attribute.
- Add example for **Manual Scroll**.
- Add example for **Cross Hovering**.
- Update documentation accordingly.
2022-05-07 19:06:57 +08:00
JeremyWuuuuu
9b3a88811d
improvement(components): [virtual-table] (#7548)
- Add example for selection.
- Add example for inline editing.
2022-05-07 11:47:52 +08:00
btea
43cf294f8c
fix(docs): icon collection link (#7547) 2022-05-07 09:48:23 +08:00
JeremyWuuuuu
090706250b
feat(components): [auto-resizer] new component (#7541)
* feat(components): [auto-resizer] new component

- Add new component AutoResizer for skip passing width/height.
- Update documentation for AutoResizer.
- Update FAQs for TableV2.
- Update interfaces for TableV2.

* Fix linter error

* Fix linter issue
2022-05-07 09:47:32 +08:00
JeremyWuuuuu
a4aad5a9c0
feat(components): [button] update text button (#7515) 2022-05-05 23:53:47 +08:00
opengraphica
7173e402b7
feat(components): [form-item] auto attach labels to inputs (#7450)
* feat(components): [form-item] auto attach labels to inputs

* feat(components): [form-item] auto-attach up through select

* feat(components): [form-item] auto id complete for all inputs

* feat(components): [form-item] fix lint, remove unused usePopper hook

* feat(components): [form-item] PR comments
2022-05-05 22:04:32 +08:00
云游君
6f9d55471b
docs: add dark mode usage & compile dark/css-vars.css (#7513)
* docs: add dark mode usage & compile dark/css-vars.css

* docs: add example link
2022-05-05 19:56:10 +08:00
JeremyWuuuuu
14cfb0500f
docs(components): [virtualized-table] finishing leftovers (#7496)
- Finishing the documentation examples
- Add APIs to the documentation
- Fix some issue while updating the documentations
2022-05-05 00:54:49 +08:00
云游君
dbf076ee15
docs: replace navigation example with svg for dark (#7492) 2022-05-04 22:58:35 +08:00
Travis
eda5bd8695
docs(docs): [badge] fix badge.md prop description error (#7419) 2022-05-04 12:10:25 +08:00
iamkun
f0c0ed8b14
docs: update message box doc 'callback accepted values' (#7469) 2022-05-03 02:42:11 +08:00
云游君
4ea1d85184
docs: fix color box spacing (#7458) 2022-05-01 18:38:08 +08:00
Kevin.Liao
ca5b8982eb
fix(docs): icon import (#7440) 2022-05-01 07:01:01 +08:00
joson
9aa6cc1912
feat(components): [switch] add size (#7377)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-05-01 05:58:43 +08:00
iamkun
4b0613d354
docs: update some description in the docs (#7432) 2022-04-29 18:03:54 +08:00
JeremyWuuuuu
46d04c7ddd
docs(components): [virtual-table] spans (#7441) 2022-04-29 17:57:39 +08:00
三咲智子
7e33c87fe8
docs: add icons for cdn, global and automatic imports (#7407)
closes #7369
2022-04-28 12:35:11 +08:00
opengraphica
16989d8187
feat(components): [slider] aria keyboard controls and attrs (#7389)
* feat(components): [slider] aria keyboard controls and attrs

fix #7350

* feat(components): [slider] fix lint error in slider types

* feat(components): [slider] change start value for home/end unit test

* feat(components): prevent scrolling on touch screen for runway

* feat(components): [slider] type-o in locale prop

* fix(components): [slider] PR comments r1

* fix(components): [slider] linting errors
2022-04-27 21:38:47 +08:00
JeremyWuuuuu
dc98974db9
docs(components): [virtual-table] filtering (#7401)
- Add example for adding filter.
- Export header cell slot renderer interface.
2022-04-27 15:41:22 +08:00
JeremyWuuuuu
1037eb75b4
docs(components): [virtual-table] grouping header (#7397) 2022-04-26 19:21:12 +08:00
JeremyWuuuuu
2d4c52e352
docs(components): [virtual-table] documentations (#7386)
* docs(components): [virtual-table] documentations

- Add examples for `sticky-rows`.
- Add examples for `fixed-columns`.

* Remove style language marking
2022-04-26 14:16:46 +08:00
JeremyWuuuuu
915e1ffe26
docs(components): [virtual-table] custom cell & row class (#7370)
- Add example for customizing cell
- Add example for customize row class
2022-04-25 17:53:49 +08:00
Xc
335569e8a7
feat(components)[image] imageviewer add close-on-press-escape(#7154) (#7182)
* feat: imageviewer add close-on-press-escape(#7154)

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-25 13:34:40 +08:00
JeremyWuuuuu
77c7225a9d
docs(components): [virtual-table] basic usage (#7352)
- Add entry for table-v2
- Add basic usage for table-v2
2022-04-24 13:44:40 +08:00
云游君
c022b6cb94
docs: fix some spacing styles (#7343) 2022-04-24 00:56:03 +08:00
Serendipity96
9b23b1c9ec
feat(components): [input] add input formatter (#6876)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-23 22:48:21 +08:00
云游君
60d38a464f
docs: dark palette when toggle & fix autocomplete bg (#7317) 2022-04-23 08:39:21 +08:00
iamkun
b602608bed
docs: [color-picker] fix popper-class (#7331) 2022-04-22 22:38:11 +08:00
Lee
5068528768
fix(docs): radio-group (#7257)
* Update radio.md

Radio-group Attributes
Accepted Values
size is wrong

* fix(docs): radio-group
2022-04-21 21:39:13 +08:00
云游君
2b47933c8f
fix(theme-chalk): components details when dark (#7229)
* fix(theme-chalk): components details when dark

* fix(theme-chalk): remove step icon bg color
2022-04-19 12:38:12 +08:00
blackie
0ecc6bc91e
docs(components): [tooltips] Update docs (#6962) 2022-04-13 22:15:37 +08:00
Yorn Qiu
8149867dd0
docs(components): [select-v2] remove repeated 'clear-icon' (#7145)
* docs(components): [select-v2] remove repeated 'clear-icon'

remove repeated 'clear-icon' in SelectV2 Attributes

* docs(components): [select-v2] change the lower-cased component to Components
2022-04-13 20:59:30 +08:00
iamkun
5bb64819c7
docs: add config-provider namespace (#7128) 2022-04-12 22:29:05 +08:00
三咲智子
73fa508530
docs: fix typo (#7117) 2022-04-12 07:45:54 +08:00
云游君
33859cca5d
feat: add dark for custom button & adjust details (#7086) 2022-04-10 23:58:20 +08:00
bqy_fe
d9e493f4cf
docs(components): [table] add empty slot (#7004) 2022-04-09 17:56:51 +08:00
三咲智子
851242e317
feat(docs): add source and contributors (#6044)
* feat(docs): add source and contributors

closes #6038

* feat(docs): ignore contributor when dev

* ci: add github token

* fix: lint

* fix: page

* fix: placeholder

* ci: remove preview
2022-04-08 00:40:25 +08:00
bqy_fe
b863db272e
feat(components): [tabs] add tab-change event (#6978) 2022-04-03 14:09:52 +08:00
虞金攀
904aa0e21b
feat(components): add tree select component (#6843)
* feat(ElTreeSelect): add tree select base component

* refactor(ElTreeSelect): use render function and move select/tree props to them self module

* fix(ElTreeSelect): init value not checked

* fix(ElTreeSelect): `toArray` ignores valid values

* fix(ElTreeSelect): expose not working when defined on mounted

* fix(ElTreeSelect): watch `modelValue` deep

* test(ElTreeSelect): add base unit test

* perf(ElTreeSelect): default slot should be a function

* fix(ElTreeSelect): `onNodeClick` can not call,

* test(ElTreeSelect): update unit test

* fix(ElTreeSelect): `onNodeClick` can not call,

* fix(ElTreeSelect): remove folder node when `checkStrictly` is false

* feat(ElTreeSelect): export `ElTreeSelect`

* fix(ElTreeSelect): `filterMethod` conflicts with `filterNodeMethod`

* docs(ElTreeSelect): add component docs

* fix(ElTreeSelect): fix lint

* docs(ElTreeSelect): fix lazy loading requires non-leaf nodes, and change mock labels

* docs(ElTreeSelect): the link address of the attributes is incorrect

* docs(ElTreeSelect): `dropdown` doesn't need the `-` symbol

* refactor(ElTreeSelect): use alias path and make sure vue is above to components

* refactor(ElTreeSelect): use a unified namespace for styles

* docs(ElTreeSelect): change option labels in default slots

* refactor(ElTreeSelect): import `ElOption` using unified entry and change the way to override the select click event

* style(ElTreeSelect): sort imports

* docs(ElTreeSelect): update the documentation for special codes

* refactor(ElTreeSelect): keep it consistent with the select style

* refactor(ElTreeSelect): use `isFunction` from `@element-plus/utils`

* refactor(ElTreeSelect): use single closing tag when no subset

* docs(ElTreeSelect): set `TreeSelect` promotion as `2.1.8`
2022-04-02 15:15:33 +08:00
一个大胖子
913cf42fdd
fix(docs): [el-divider] Document case error, String to string (#6934) 2022-04-01 14:27:23 +08:00
msidolphin
0b8f1cb64b
docs: [el-table] add self-close issue (#6923)
* docs: [el-table] add self-close issue

* chore: adjust word

* chore: improve desc
2022-03-31 20:44:05 +08:00
JeremyWuuuuu
337622ed95 feat(components): [tag] add new API for rounded
- Add new api `round` for rounded tag.
- Add documentation for rounded tag.
- Update document styles.
2022-03-31 17:27:49 +08:00
msidolphin
d3756d941e
feat(components): [el-scrollbar] expose scrollTo method (#6663)
* feat(components): [el-scrollbar] expose scrollTo method

* chore: improve code
2022-03-31 14:25:58 +08:00
msidolphin
e8ea457f6c
docs: [el-table] add FAQ category (#6907)
* docs: [el-table] add FAQ category

* - Update docs/en-US/component/table.md

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-03-31 10:27:06 +08:00
bqy_fe
8c26036e60
refactor(components): [image, image-viewer] refactor (#6704)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-30 21:44:30 +08:00
Chingiz Mammadov
7a4fc4cefb
locale: Added Azerbaijani language (#6878)
* locale: Added Azerbaijani language

* fix: Formatted locale file

* docs: added azerbaijani language to supported language list

* fix: Fixed TYPO
2022-03-30 09:26:30 +08:00
iamkun
a8fcdcaeee
chore: remove some outdated docs (#6845) 2022-03-29 15:17:03 +08:00
JeremyWuuuuu
f576d5a57b
feat(components): [tooltip-v2] documentation (#6870)
- Add tooltip-v2 documentation
- Complete tooltip-v2 implementation
2022-03-29 15:12:10 +08:00
JeremyWuuuuu
5afe23c18c
refactor(components): [el-popper] refactor popper to script setups (#6725)
- Update legacy syntax to script setup for popper
- Update tests due to changes
- Move popper/token to element-plus/tokens
2022-03-24 21:22:46 +08:00
三咲智子
b51c37ad29
docs: improve API format (#6799) 2022-03-24 15:35:15 +08:00
JeremyWuuuuu
b051efd1b7
feat(components): [el-config-provider] experimental feature toggle (#6794)
- Add experimental feature toggle to config provider
- Add experimental feature toggle documentation
- Update test cases against feature toggle
2022-03-24 13:48:58 +08:00
三咲智子
9c029b414d
docs: [upload] improve typings (#6764) 2022-03-23 18:50:36 +08:00
BaboonKing
cc48cee966
docs: fix link error (#6753) 2022-03-22 17:16:34 +08:00