Commit Graph

609 Commits

Author SHA1 Message Date
Herb Brewer
428893f7fa
fix(components): [upload] fileList prop should sync uploadFiles (#6492)
* fix(components): [upload] fileList prop should sync uploadFiles

* fix(components): [upload] fileList prop should sync uploadFiles

* fix: typings

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-10 23:19:44 +08:00
msidolphin
254eacd7da
perf(components): [el-table] optimize the performance of expand rows (#6480)
* perf(components): [el-table] optimize the performance of expand rows

* chore: revert comments

* chore: remove useless code

* chore: rename

* Update packages/components/table/src/table-body/render-helper.ts

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

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-03-10 16:45:08 +08:00
Alan Wang
76735a6560
fix(components): [el-tooltip] close the dropdown after set disabled (#6467)
* fix(components): [el-tooltip] close the dropdown after set disabled

* fix(components): [el-tooltip] close the dropdown after set disabled

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

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

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-03-10 15:52:07 +08:00
gjfei
3cc4867f7a
fix(components): el-select-allow-dynamically-update-options (#6473)
* fix(components):[select] (#6458)

* fix(components): [select] allow create

* fix(components): [select] allow create code review
2022-03-10 15:50:46 +08:00
gjfei
593082ec65
fix(components):[select] namespace (#6486) 2022-03-10 15:39:42 +08:00
三咲智子
80d903771f
feat: extract eslint config to separate package (#6495) 2022-03-10 15:39:13 +08:00
btea
d9b8ec2164
refactor(utils): remove isFF (#6507)
* refactor(utils): remove isFF

* chore: remove isObject
2022-03-10 11:30:10 +08:00
Alan Wang
a7f90cc517
fix(components): [message] offset error (#6497) 2022-03-10 08:39:56 +08:00
JeremyWuuuuu
bc8443773b
fix(components): [el-collapse] collapse item key pressing jumping (#6462)
- Fix the issue when pressing `space` key on collapse item the page will jump
2022-03-08 17:54:31 +08:00
msidolphin
505616c2ab
feat: [el-table] support always show scrollbar & get selection rows (#6469) 2022-03-08 14:28:58 +08:00
gjfei
68127aa442
fix(components):[select] (#6446) (#6474) 2022-03-08 14:09:37 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
bqy
88a97ca6d2
refactor(components): [breadcrumb] switch to script-setup syntax (#6073)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-08 12:50:46 +08:00
gjfei
5a9d5ea5fb
refactor(components): [cascader,cascader-panel] add namespace (#5589)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-07 22:30:45 +08:00
gjfei
d3915ed493
fix(components): [el-checkbox] modelValue (#6168) (#6169) 2022-03-07 16:58:14 +08:00
msidolphin
a7db76d782
fix: [el-table] fixed columns display when horizontal cannot scroll (#6320)
* fix: [el-table] fixed columns display when horizontal cannot scroll

* fix: change default class

* refactor: optimize fixed column style
2022-03-07 16:17:16 +08:00
msidolphin
43ee78563b
fix(components): [el-table] defaultSort not working (#6322)
* fix(components): [el-table] defaultSort not working

* fix: unit test

* chore: improve code
2022-03-07 16:15:54 +08:00
msidolphin
166c5944d0
fix(components): [el-select] optimize prefix size & selected style (#6267)
* fix(components): [el-select] optimize prefix size & selected style

* fix: implement icon by mask

* chore: adjust multiple demo width
2022-03-07 16:13:05 +08:00
三咲智子
eab6be93e7
refactor(docs): [form] improve docs and typings (#6447) 2022-03-07 13:37:13 +08:00
三咲智子
c46d257a47
refactor(components): [row] refactor (#6354) 2022-03-07 10:35:11 +08:00
三咲智子
c72679e4e9
refactor(components)!: refactor form (#5401)
* refactor(components): refactor form

* refactor: resolve PR comments

* refactor(components): refactor isNested

* refactor: resolve PR comments
2022-03-06 22:20:56 +08:00
blackie
a178131193
fix(components): [dropdown] add disabled support (#6375)
* fix(components): [dropdown] add disabled support

* fix(components): [dropdown] resolve review

* fix(components): [dropdown] resolve review
2022-03-06 18:19:08 +08:00
msidolphin
f504ad77fe
fix(components): [el-table] scrollbar cannot display when resize table (#6369)
* fix(components): [el-table] scrollbar cannot display when resize table

* fix: add flexDirection

* fix: adjust to inline-block

* fix: revert flex
2022-03-06 18:09:53 +08:00
msidolphin
333b1b450a
fix(components): [el-table] render failed when custom table column (#6398) 2022-03-06 18:01:40 +08:00
Alan Wang
a4679050ea
fix(components): [select] click icon not respond (#6441) 2022-03-06 18:00:00 +08:00
Alan Wang
ac89f5f4e1
fix(components): [el-popover] transition error (#6329) 2022-03-06 17:59:42 +08:00
ntnyq
99859a5fd0
fix(components): [form] trigger can be a string list (#5975) 2022-03-06 11:55:40 +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
Alan Wang
dc7c54c741
fix(components): [select-v2] style error when form is set to disabled (#6391) 2022-03-04 08:56:37 +08:00
Carter Li
8a80bfea0c
fix(components): work around #6378 (#6380) 2022-03-02 23:08:28 +08:00
Alan Wang
e95dedd22b
fix(components): [button] space is not added (#6361) 2022-03-02 12:17:03 +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
三咲智子
cb6300c739
refactor(components): [dialog] refactor (#6300)
* refactor(components): [dialog] refactor

- fix TS type.
- enhance prop type `beforeClose`
- move `token.ts` to `@element-plus/tokens`

* refactor: resolve review comments

* test: fix slots
2022-03-01 23:43:50 +08:00
三咲智子
bb160c5f9b
refactor(components): [affix] use vueuse utils (#6295)
* refactor(components): refactor affix

* refactor: resolve review comments
2022-03-01 23:27:00 +08:00
三咲智子
b97ac7cfb8
refactor(components): [teleport] refactor (#6301)
* refactor(components): [teleport] refactor

* chore: re-order imports
2022-03-01 23:22:23 +08:00
三咲智子
35b6e0cc27
refactor(components): [col] refactor (#6303)
* refactor(components): refactor col

* test: improve renderFn

* Revert "test: improve renderFn"

This reverts commit 20ea7dd986.
2022-03-01 23:21:42 +08:00
Wiensss
56a5ef5fb1
fix(components): [message-box]add type declaration of button-size (#6344)
Co-authored-by: Wiens <Huangwenxu@yimian.com.cn>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-01 23:14:16 +08:00
blackie
5aabf066e6
refactor(components): [page-header] switch to script-setup syntax (#6321)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-01 22:16:46 +08:00
三咲智子
f38c28a89a
refactor(components): [check-tag] switch to script-setup syntax (#6296) 2022-03-01 21:59:38 +08:00
三咲智子
599dddb650
refactor(components): [slot] refactor (#6302) 2022-03-01 21:51:16 +08:00
bqy
e083447b48
refactor(components): [collapse] refactor (#6307)
* refactor(components): [collapse] refactor

* refactor(components): [collapse] refactor

* refactor: rename

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-01 20:44:32 +08:00
Yuyao Nie
a54a0f9283
fix(components): set flex-shrink for first child of submenu title (#6315)
* fix(components): set flex-shrink for first child of submenu title

* chore(components): modify code according to reviews
2022-03-01 15:41:01 +08:00
bqy
cde87c5590
refactor(components): [autocomplete] refactor autocomplete (#6067)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-01 11:48:57 +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
Delyan Haralanov
fd4e5d30ec
fix(components): [el-dialog] don't ignore z-index (#6332) 2022-03-01 00:39:43 +08:00
三咲智子
dbbfa34bec
feat(components): [button] add icon slot (#6343) 2022-03-01 00:11:24 +08:00
btea
15895d6d4d
refactor(utils): extract isElement (#6292) 2022-02-26 15:00:57 +08:00