Commit Graph

266 Commits

Author SHA1 Message Date
云游君
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
btea
d083be90c9
feat(components): [cascader] add tag-type attribute (#6726)
* feat(components): [cascader] add tag-type attribute

* chore: add comment
2022-03-21 12:42:03 +08:00
云游君
aeee7339f4
refactor: css vars for reset.scss & reset for docs & fix cards (#6698) 2022-03-18 23:53:11 +08:00
blackie
458e301a52
fix(components): [result] rename slot's name from 'subTitle' to 'sub-title' (#6636)
* fix(components): [result] rename slot's name

* docs(components): [result] update doc
2022-03-15 16:59:50 +08:00
云游君
2caac7906e
refactor(docs): adjust style details & fix pages width (#6624)
* refactor(docs): adjust style details

* refactor(docs): add toc width

* refactor(docs): remove unused var

* fix(docs): typography & button etc pages width unify
2022-03-14 23:41:39 +08:00
云游君
d3a66b8767
refactor(components): [rate] use css var & disable to disabled & star-color to fill-color (#6601)
* refactor(components): [rate] use css var & disable to disabled

* refactor(components): [rate] remove getIconStyle

* refactor(components): [rate] rename star-color to fill-color

* fix(test-utils): rate vitest by css vars

* refactor: use ns.is('', state)
2022-03-14 19:34:49 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
msidolphin
d435a6a6fc
feat(components): [el-table] exposes scroll methods (#6539)
* feat(components): [el-table] exposes scroll methods

* chore: improve code
2022-03-13 23:00:58 +08:00
blackie
468d4ba162
refactor(components): [skeleton] switch to script-setup syntax (#6395)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-13 20:53:05 +08:00
Jason Ren
bf8eec1314
docs: [layout] fix a mistyped value (#6576) 2022-03-13 15:32:50 +08:00
云游君
93ee392932
fix(components): [upload] photo-wall wrap (#6546)
* fix(components): upload photo-wall wrap

* refactor(components): upload conent with props by tsx

* fix: type generate for upload sfc tsx

* Revert "fix: type generate for upload sfc tsx"

This reverts commit beeb9fb1642a875278ab9bf92f8ae4b7ae971013.

* Revert "refactor(components): upload conent with props by tsx"

This reverts commit 425e4a9f34693d9828bc8cf2e5ef2d75c5037864.

* fix: upload content type by as any

* refactor: extract uploadContentProps to object

* refactor(components): upload use tamplate instead of h

* Update packages/components/upload/src/upload.vue

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

* refactor(components): remove useless key in upload-content

* refactor(components): fix type

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-03-12 16:57:48 +08:00
三咲智子
da6d2dc84b
feat(components): [message] support re-render vnode (#6527)
* feat(components): [message] support re-render vnode

* docs: improve api reference

* test: add message vnode render function
2022-03-11 20:19:31 +08:00
Alan Wang
103bb1b104
feat(components): [cascader]add collapse-tags-tooltip (#6331) 2022-03-11 15:58:00 +08:00
Alan Wang
a3e3acc0fc
feat(components): [select-v2]add collapse-tags-tooltip (#6532)
* feat(components): [select-v2]add collapse-tags-tooltip

* feat(components): [select-v2]set fallback-placements

* feat(components): [select-v2]add collapse-tags-tooltip

* feat(components): [select-v2]set fallback-placements

* feat(components): [select-v2]add v-if on tooltip
2022-03-11 15:56:35 +08:00
Alan Wang
57d08f9a78
feat(components): [select]add collapse-tags-tooltip (#6245)
* feat(components): [select]add collapse-tags-tooltip

* feat(components): [select] collapse-tags-tooltip set width

* feat(components): [select] collapse-tags-tooltip set fallback-placements

* feat(components): [select] resolve conflicts

* feat(components): [select] add v-if on tooltip
2022-03-11 15:56:23 +08:00
云游君
195224f745
docs: separate layout examples (#6526) 2022-03-11 00:13:29 +08:00
Lay Hunt
0d6cfc60b8
docs(theme-chalk): update the modification guide introduced by webpack on demand (#6496) 2022-03-10 15:42:56 +08:00
msidolphin
505616c2ab
feat: [el-table] support always show scrollbar & get selection rows (#6469) 2022-03-08 14:28:58 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
三咲智子
eab6be93e7
refactor(docs): [form] improve docs and typings (#6447) 2022-03-07 13:37:13 +08:00
C.Y.Kun
13ffea1114
refactor(components): refactor upload (#6014)
* refactor(components): refactor ElUpload

* refactor(components): refactor upload

* test: use jsx

* refactor: resolve review comments

* fix: ts error

* refactor: re-order imports

* refactor: rename

* fix: infinity watch

* refactor: rename

* refactor: address PR comments

Co-authored-by: Kevin <sxzz@sxzz.moe>
2022-03-05 23:09:31 +08:00
JeremyWuuuuu
11d3db586c
feat(components): [el-messagebox] add context for message box (#6379)
- Add context for message box
- Update documentation based on changes
2022-03-05 19:40:35 +08:00
Carter Li
4412ace887
feat(components): export prop persistent in el-select (#6428)
Ref: https://github.com/element-plus/element-plus/issues/6378#issuecomment-1058968214
2022-03-04 17:52:10 +08:00
JeremyWuuuuu
69de57b8d4
feat(components): [el-notification] add context for notification (#6368)
- Add context for notify method
- Add documentation for adding appContext for notification
- Fix a bug which message[type] method connot get context
- Enhance documentation for ElMessage
2022-03-02 11:12:26 +08:00
JeremyWuuuuu
d5f6f795cd
feat(components): [el-notification] add context for notification (#6367)
- Add context for notify method
- Add documentation for adding appContext for notification
- Fix a bug which message[type] method connot get context
- Enhance documentation for ElMessage
2022-03-02 10:55:51 +08:00
JeremyWuuuuu
f6a58ce66c
fix(components): [el-dialog] revert focus trapping feature (#6346)
* fix(components): [el-dialog] revert focus trapping feature

- Revert focus trapping

* Remove focus trap documentation
2022-03-01 00:45:42 +08:00
三咲智子
dbbfa34bec
feat(components): [button] add icon slot (#6343) 2022-03-01 00:11:24 +08:00
三咲智子
de1ae87010
docs: fix link (#6336) 2022-02-28 18:29:11 +08:00
JeremyWuuuuu
722ad0ba54
chore(project): Add gogo code migration to readme (#6325)
- Add gogo code migration tool descriptions to readme
- Add gogo code migration tool to migration.md
2022-02-28 14:25:26 +08:00
JeremyWuuuuu
6aa69126b8
feat(components): [message] add vue context for message component (#6259) 2022-02-24 11:24:34 +08:00
三咲智子
7289f99848
docs: refactor resource (#6260)
* docs: refactor resource

* docs: change shadow
2022-02-24 11:04:56 +08:00
blackie
c7d738e468
refactor(components): [button-group] switch to script-setup syntax (#6256) 2022-02-24 10:15:28 +08:00
paul
f68aa3cf05
feat(components): [el-row] enhancement for supporting space-evenly (#6223)
Co-authored-by: gp5251 <gp5251@qq.com>
2022-02-23 10:46:06 +08:00
云游君
f0e4b3a184
fix(docs): remove fixed variables & add color palette (#6216) 2022-02-22 16:42:54 +08:00
啝裳
31839aa92c
docs: update Using Nuxt.js (#6214) 2022-02-22 15:52:03 +08:00
JeremyWuuuuu
d2e9de9511
feat(components): [el-dialog] enhancement for dialog a11y (#6087)
* feat(components): [el-dialog] enhancement for dialog a11y

- Refactor dialog to script setup

* Separates dialog and its content into different components

* Remove unused code & fix a potential bug in focus-trap component

* Update dialog-content.vue

Co-authored-by: bqy <1743369777@qq.com>
2022-02-22 12:49:28 +08:00
msidolphin
108f7dd5df
feat(components): [el-popconfirm] support persistent (#6207) 2022-02-22 10:48:59 +08:00
啝裳
87617892e9
docs: [el-popover] add trigger=contextmenubefore-enterbefore-leave (#6108)
* docs: [el-popover] add before-enter、before-leave

* docs: [el-popover] add `trigger=contextmenu`

* docs: update
2022-02-21 17:10:55 +08:00
Ghislain B
769833954a
docs(components): [el-popover] add missing effect option (#6135)
* docs(components): [popover] add missing `effect` option

* Update popover.md

Co-authored-by: Ghislain Beaulac <Ghislain.Beaulac@se.com>
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-02-21 14:56:44 +08:00
Alan Wang
4159bfa500
fix(docs): [popover] add description of teleported (#6137) 2022-02-21 10:16:42 +08:00
msidolphin
78b24dfdfd
fix(components): [el-table] optimize popover performance (#6170) 2022-02-21 09:21:59 +08:00
weidehai
7e9ff25aea
test(components): [el-tooltip] add unit test about appendTo (#6178) 2022-02-21 09:12:29 +08:00
btea
2dd396f644
chore(docs): update rate.md (#6077) 2022-02-16 10:40:30 +08:00
msidolphin
4b6e9889de
feat(components): [el-menu] support customize popper offset (#6049)
* feat(components): [el-menu] support customize popper offset

* docs: improve docs
2022-02-15 11:06:21 +08:00
BeADre
99f378a63a
feat(components): [el-select] add effect and close #5956 (#5976) 2022-02-11 23:13:33 +08:00
C.Y.Kun
f9a6bd8444
docs(components): update docs (#5854)
* docs(components): update docs
2022-02-11 20:29:52 +08:00
0song
39cb432cd9
docs: update empty component docs (#5959) 2022-02-11 12:16:18 +08:00
msidolphin
2ed6fc4cee
docs: [el-image] add preview-append-to-body (#5901)
* docs: [el-image] add preview-append-to-body

* chore: rename
2022-02-11 11:41:29 +08:00
weidehai
8945e21ec7
feat(components): [el-time-picker] add visibleChange event (#5704) 2022-02-11 11:24:46 +08:00
Calum Knott
4f58afb7dd
docs: [select-v2] simplify description (#5893)
Co-authored-by: Kevin <sxzz@sxzz.moe>
2022-02-11 00:42:45 +08:00
啝裳
bbe1cdcb13
docs: tabpane name support number type (#5916) 2022-02-10 23:26:04 +08:00
weidehai
0fce1f1a58
chore(docs): fix input document (#5937) 2022-02-10 23:10:01 +08:00
msidolphin
04ed04effd
feat(components): [el-table] support tableLayout (#5860)
* feat(components): [el-table] support tableLayout

* fix: typo

* fix: remove unused var

* fix: optimize code

* fix: typo
2022-02-10 09:35:29 +08:00
iamkun
6ff6270cdc
docs: update theming doc (#5806) 2022-02-08 03:54:30 +08:00
iamkun
02d82bae4a
chore: update icon doc (#5808) 2022-02-08 02:39:24 +08:00
三咲智子
f811ebbacf
docs: update migration (#5793) 2022-02-06 13:20:37 +08:00
三咲智子
8d1e66a5bf
docs: [config-provider] add slot scope (#5792) 2022-02-06 09:20:37 +08:00
jeremywu
dbb00ef4b6
fix(components): [el-popper] append to body compatability (#5755)
* fix(components): [el-popper] append to body compatability

- Add a new hook for deprecation warning
- Add deprecation warnings for previous used `append-to-body` API
- Add test for the API.

* Address PR comments

* Update documentations for deprecated

* Fix formatting issue
2022-02-04 14:59:58 +08:00
kooriookami
fb50b4ff8d
fix(components): [Dialog & MessageBox] support draggable (#5369)
* feat: add use-draggable

* feat: msgbox add draggable

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update
2022-02-03 21:04:25 +08:00
C.Y.Kun
b46bdae9e6
docs(components): check docs before stable (#5740) 2022-01-31 23:43:56 +08:00
Chen_Z
cf094c4e1b
fix(docs): fix el-tree props disabled type (#5540) 2022-01-28 16:23:29 +08:00
G-G
696c20dd60
fix(theme-chalk): el-breadcrumb__item style (#5597)
* fix(theme-chalk): el-breadcrumb__item style

Change the style of el-breadcrumb__item,It wasn't aligned before

fix #5594

* docs(docs): docs edit describe

docs edit describe  Change separator-class to separator-icon

* docs(docs): docs edit describe

docs edit describe  Change 'iconfont' to 'svg icon'

Co-authored-by: 赵雅国 <zhao.yaguo@shinewingdigital.com>
2022-01-27 16:27:30 +08:00
msidolphin
77a3d5c7c1
refactor(components): [el-pagination] adjust component size (#5640)
* refactor(components): [el-pagination] adjust component size

* fix: background size

* chore: improve doc style
2022-01-26 14:29:48 +08:00
MoConWu
5ee184fdfd
feat(theme-chalk): css var for empty & rate (#5359)
* 更新var.scss,提取empty的fill-color

将fill的color提取出来,作为变量,方便后续修改,修改如下:
    'fill-color-0': var(--el-color-white),
    'fill-color-1': #FCFCFD,
    'fill-color-2': #F8F9FB,
    'fill-color-3': #F7F8FC,
    'fill-color-4': #EEEFF3,
    'fill-color-5': #EDEEF2,
    'fill-color-6': #E9EBEF,
    'fill-color-7': #E5E7E9,
    'fill-color-8': #E0E3E9,
    'fill-color-9': #D5D7DE,

* 修改Empty的fillcolor作为变量引用,方便后续的色彩搭配更改

修改Empty的fillcolor作为变量引用,方便后续的色彩搭配更改

* 修改rate下的配色提取到变量里

修改rate下的配色提取到变量里,提取如下:
    'void-color': #c6d1de,
    'rate-color': #F7BA2A,

* 提取rate的色彩作为变量

提取rate的色彩作为变量

* 修改rate的色彩变量

修改和提取rate变量为:
    'void-color': #c6d1de,
    'star-color': #F7BA2A,
    'disable-void-color': #EFF2F7,
    'text-color': #1f2d3d,

* replace space to enter

替換空格为回车

* lint change

lint change

* Missing Pretty error

color 颜色小写

* Add CustomStyles infomation

Add CustomStyles infomation

* Change CustomStyles

Change CustomStyles

* Add CustomStyles

Add CustomStyles

* Change rate to empty

Change rate to empty

* Modify CustomStyles after Bottom content

Modify CustomStyles after Bottom content

* Change Custom styles

Change Custom styles

* feat: format rate.md
2022-01-26 02:10:19 +08:00
kooriookami
7032e75721
style&doc(components): [el-tooltip] improve style and doc (#5598)
* style: change style

* style: remove useless style

* style: update

* docs: update
2022-01-25 16:10:49 +08:00
三咲智子
0464c06d92
fix(build): locale export default (#5576) 2022-01-24 23:37:19 +08:00
三咲智子
0cb14b3f61
docs: remove vue-cli related (#5571) 2022-01-23 12:35:51 -05:00
hy
b687074a43
docs: [el-progress] fix default slot description (#5564)
Co-authored-by: hy <zihong2020@foxmail.com>
2022-01-24 00:40:13 +08:00
msidolphin
13de0524eb
feat(components): [el-button] support for customize loading component (#5505) 2022-01-21 23:11:35 -03:00
weidehai
47fdd4f542
chore(docs): fix tooltip document (#5421) 2022-01-20 15:28:18 +08:00
msidolphin
1fdd2cee8f
feat(components): [tree] node-click passes event object (#4312)
re 4307
2022-01-19 17:13:18 +08:00
Alan Wang
260e491011
docs: [el-select]change default of reserve-keyword (#5355) 2022-01-19 15:17:19 +08:00
Alan Wang
db41ec5d5e
feat(components): [el-dropdown]add handleOpen and handleClose methods (#5444)
* feat(components): [el-dropdown]add handleOpen and handleClose methods

* feat(components): [el-dropdown]add handleOpen and handleClose methods

* feat(components): [el-dropdown]add handleOpen and handleClose methods
2022-01-19 15:04:44 +08:00
Alan Wang
4f9f27d40d
feat: [el-select-v2]add reserve-keyword and change docs (#5308)
* feat: [el-select-v2]add reserve-keyword and change docs

* fix(components): [el-select-v2]add test case
2022-01-18 11:24:54 +08:00
msidolphin
8a9747310e
feat(components): [el-date-picker] add panel change event (#5304)
* feat(components): [el-date-picker] add panel change event

* docs: [el-date-picker] add panel change event
2022-01-18 10:37:27 +08:00
Alan Wang
984e0c2578
feat(components): [el-drawer] add footer slot (#5404)
* feat: [el-drawer]add footer slot

* feat(components): [el-drawer]add footer slot

* feat(components): [el-drawer]add cancel and confirm function
2022-01-17 14:58:06 +08:00
kooriookami
f632072186
feat: dropdown add popper-options prop (#5396) 2022-01-16 13:56:16 +08:00