Commit Graph

1818 Commits

Author SHA1 Message Date
Alan Wang
73e60cd86a
test(components): [select] click icon twice (#6471) 2022-03-10 23:28:50 +08:00
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
三咲智子
a973e7505d
feat: export dayjs instance, closes #6498 (#6517) 2022-03-10 22:53:55 +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
云游君
6b7bc4fd94
refactor(theme-chalk): message css var & add getCssVarName (#6488)
* refactor(theme-chalk): message css var & add getCssVarName

* Update closable.vue
2022-03-08 21:08:19 +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
renovate[bot]
30ba0726a6
fix(deps): update all non-major dependencies (#6448) 2022-03-07 10:51:47 +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
msidolphin
ce10babc22
fix: [el-table] selection cell when double clicking expand icon (#6400) 2022-03-05 20:36:32 +08:00
msidolphin
f3b4e54c0c
feat(components): [el-dialog] add border-radius css variable (#6412) 2022-03-05 20:35:07 +08:00
gjfei
d6ce14500d
fix(components):[el-collapse-transition] styles (#6414) 2022-03-05 20:34:26 +08:00
gjfei
158e5a8a23
fix(theme-chalk): namespace (#6416) 2022-03-05 20:34:01 +08:00
Alan Wang
f6fc91b9d6
fix(theme-chalk): [input] custom theme error (#6430) 2022-03-05 20:32:48 +08:00
msidolphin
7c1b22e4fa
fix(components): [el-input] override edge browser default password style (#6423) 2022-03-05 20:32:16 +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
blackie
5239079c55
fix(components): [select] fix align issue for remove button (#6397) 2022-03-04 08:50:46 +08:00
Yuyao Nie
c7ae1f65ad
fix(components): make margin of search equal to padding of el-input (#6409) 2022-03-04 08:47:01 +08:00
Carter Li
8a80bfea0c
fix(components): work around #6378 (#6380) 2022-03-02 23:08:28 +08:00
msidolphin
6c5668a4d3
fix(components): [tabs] optimize new icon style (#6327) 2022-03-02 15:29:15 +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
msidolphin
b5d3a63702
fix(components): [el-dropdown-menu] override default style (#6328) 2022-03-02 09:50:36 +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
llllllllllx
ce614197d7
fix(components): [message-box] fix center style (#6356) 2022-03-01 23:42:11 +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
renovate[bot]
537f8556ba
fix(deps): update dependency @element-plus/icons-vue to v1 (#6319)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 11:30:12 +08:00
renovate[bot]
644bf309f8
chore(deps): update all non-major dependencies (#6318)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 11:29:46 +08:00
btea
15895d6d4d
refactor(utils): extract isElement (#6292) 2022-02-26 15:00:57 +08:00
blackie
108b84ec15
refactor(components): [tag] switch to script-setup syntax (#6288) 2022-02-26 11:37:40 +08:00
btea
0f5fe32b79
fix: [el-select] remove last tag margin-right (#5992)
* style: [el-select] remove last tag margin-right

* chore: update selector
2022-02-24 16:15:27 +08:00
JeremyWuuuuu
6aa69126b8
feat(components): [message] add vue context for message component (#6259) 2022-02-24 11:24:34 +08:00
msidolphin
cd0f01c034
chore(components): [el-input] override default border (#6250) 2022-02-24 11:13:41 +08:00
msidolphin
3062aecfb8
fix(components): [el-time-picker] lags when open range picker (#6249) 2022-02-24 11:12:46 +08:00
msidolphin
9677fe6bc7
fix(components): [el-dropdown-menu] adjust html tag (#6231) 2022-02-24 11:11:44 +08:00
blackie
c7d738e468
refactor(components): [button-group] switch to script-setup syntax (#6256) 2022-02-24 10:15:28 +08:00
bqy
7928a4d214
refactor(components): [card] switch to script-setup syntax (#6071) 2022-02-23 20:52:27 +08:00
renovate[bot]
d6c3a0db41
fix(deps): update all non-major dependencies (#6251)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-23 18:26:25 +08:00
bqy
ead3b2ac18
refactor(components): [backtop] use JSX in Unit test (#6160)
* refactor(components): [backtop] use JSX in Unit test

* fix: code style

* fix: import type individually
2022-02-23 16:59:29 +08:00
云游君
155a7f9de2
fix(theme-chalk): remove useless tag close icon css attribute (#6242) 2022-02-23 16:47:20 +08:00
bqy
77eb2ea4e4
refactor(components): [affix] use JSX in Unit test (#6159)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-02-23 16:44:48 +08:00
bqy
6cd7446b54
refactor(components): [avatar] switch to script-setup syntax (#6070) 2022-02-23 16:38:36 +08:00
三咲智子
0f387bd58e
feat(components): [badge] expose content (#6247) 2022-02-23 16:34:32 +08:00
gjfei
4e603d336f
fix(components):[el-date-picker] styles (#6187) 2022-02-23 11:03:29 +08:00
weidehai
265a0b79cd
fix(components): [el-popper] fix #6152 bug (#6173) 2022-02-23 10:49:53 +08:00
msidolphin
73304da65f
fix(components): [el-table] fix clearFilter failure problem (#6212) 2022-02-23 10:47:25 +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
云游君
496398ce38
refactor(theme-chalk): use scss list & map generate type css var (#6221)
* refactor(theme-chalk): use scss list & map generate type css var

* chore(theme-chalk): remove quote for var

* refactor(theme-chalk): use light-7 for check button

* refactor(theme-chalk): use light var for check-tag

* refactor(theme-chalk): use css var for tag color

* refactor(theme-chalk): remove tag-color in scss var
2022-02-23 10:09:32 +08:00
msidolphin
d05a83b9e7
chore(components): [el-date-picker] fix range-picker border (#6230) 2022-02-23 10:08:19 +08:00
Alan Wang
00c855d927
fix(style): classes for hiding elements (#6217) 2022-02-22 17:55:54 +08:00
JeremyWuuuuu
124bc0d03e
fix(components): [el-dialog] refactor left overs (#6211)
- Refactor left overs addressing
2022-02-22 16:44:43 +08:00
云游君
f0e4b3a184
fix(docs): remove fixed variables & add color palette (#6216) 2022-02-22 16:42:54 +08:00
msidolphin
04f6db9be8
chore(components): [el-input] use mixins to refactor the box-shadow (#6209)
* chore(components): [el-input] use mixins to refactor the box-shadow

* fix: adjust z-index
2022-02-22 15:32:27 +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
云游君
709c2d837c
feat(docs): add docs dark basic style (#6196) 2022-02-21 21:36:34 +08:00
啝裳
f5c2051bed
feat: [el-popover] add before-enter、before-leave (#6203) 2022-02-21 17:08:21 +08:00
三咲智子
20e4f19bf3
fix(locale): language type (#6198) 2022-02-21 15:36:20 +08:00
三咲智子
7b098fe809
chore(deps): upgrade deps (#6197) 2022-02-21 15:35:45 +08:00
weidehai
687d3e0abc
fix(components): [select-v2] fix #6083 bug (#6084) 2022-02-21 14:54:45 +08:00
三咲智子
aaf90d99d0
test: switch to vitest (#5991)
* test: use vitest

* test: add script and ci

* chore: improve tsconfig

* refactor: use-form-item

* fix: remove unused

* chore: improve scripts

* test: improve mock

* refactor: change coverage
2022-02-21 14:28:22 +08:00
啝裳
0b4acfbabb
fix: [el-popover] compatible svg (#6089)
* fix: [el-popover] compatible svg

* fix: add test
2022-02-21 14:23:20 +08:00