Commit Graph

666 Commits

Author SHA1 Message Date
msidolphin
063c564461
fix(components): [el-table] escape special html characters (#6520)
* fix(components): [el-table] escape special html characters

* fix: use 3rd package
2022-03-11 15:05:29 +08:00
张大大
045703228b
fix(components): [el-input] pass input-style props to input-wrapper (#6506)
Co-authored-by: zhangtian <zhangtian@weidian.com>
2022-03-11 14:56:29 +08:00
Alan Wang
e1447d9c7c
fix(components): [select] display error when setting persistent to false (#6522) 2022-03-11 14:36:15 +08:00
Shana-AE
152f4dbf3d
fix(components): [rate] fix disbaledVoidIcon typo (#6456)
fix #6455
2022-03-11 14:35:16 +08:00
blackie
c35dfec666
style(components): rename disabled to is-disabled (#6475)
* style(components): [pagination] rename disabled to is-disabled

* style(components): [slider] rename disabled to is-disabled

* style(components): [pagination] rename active to is-active

* refactor(components): [calendar] use namespace hooks

* fix(components): [pagination] fix test error
2022-03-10 23:57:07 +08:00
云游君
8929151b85
refactor(theme-chalk): [upload] use bem rewrite upload scss & fix bugs (#6508)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-10 23:52:13 +08:00
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
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
blackie
108b84ec15
refactor(components): [tag] switch to script-setup syntax (#6288) 2022-02-26 11:37:40 +08:00
JeremyWuuuuu
6aa69126b8
feat(components): [message] add vue context for message component (#6259) 2022-02-24 11:24:34 +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
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
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
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
JeremyWuuuuu
124bc0d03e
fix(components): [el-dialog] refactor left overs (#6211)
- Refactor left overs addressing
2022-02-22 16:44:43 +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
啝裳
f5c2051bed
feat: [el-popover] add before-enter、before-leave (#6203) 2022-02-21 17:08:21 +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
msidolphin
cfc43e2a6d
fix(components): [el-table] some columns are missing in older chrome (#6111)
* fix(components): [el-table] some columns are missing in older chrome

* fix: unit tests

* fix: unit tests

* fix: lint
2022-02-21 14:20:44 +08:00
Zong
8ef1e305bb
fix: formatter func parameter type miss (#6186)
* fix: formatter func parameter type miss

* fix: lint prettier and other type miss
2022-02-21 14:19:07 +08:00
Alan Wang
98b901c221
fix(components): [el-switch] increase the word count of (in)active-text (#6140)
* fix(components): [el-switch] increase the word count of (in)active-text

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

Co-authored-by: btea <2356281422@qq.com>

* Update switch.vue

Co-authored-by: btea <2356281422@qq.com>
2022-02-21 10:16:21 +08:00
iwusong
46dfd1588e
fix(components): [el-dropdown-item] (#6147)
the method of click event is executed twice in some cases (#5838)
2022-02-21 10:14:05 +08:00
msidolphin
c60f75a0c5
fix(components): [el-table] column width calc error during resize (#6171) 2022-02-21 09:43:46 +08:00
msidolphin
78b24dfdfd
fix(components): [el-table] optimize popover performance (#6170) 2022-02-21 09:21:59 +08:00
msidolphin
8a9086d93e
fix(components): [el-table] footer layout error (#6090) 2022-02-21 09:14:45 +08:00
weidehai
7e9ff25aea
test(components): [el-tooltip] add unit test about appendTo (#6178) 2022-02-21 09:12:29 +08:00
hhparty
c78afdd6ab
fix(components): pass through appendTo (#6146) 2022-02-19 20:49:06 +08:00
bqy
f826165864
refactor(components): [backtop] switch to script-setup syntax (#6069) 2022-02-16 21:52:14 -05:00
bqy
56b37b6a34
refactor(components): [alert] switch to script-setup syntax (#6066) 2022-02-16 21:48:05 -05:00
bqy
c2fe2a4f05
refactor(components): [affix] switch to script-setup syntax (#6065) 2022-02-16 21:47:01 -05:00
btea
447fbbb638
refactor(components): [el-badge] use utils isNumber (#6095) 2022-02-17 10:45:05 +08:00
bqy
944deebd8d
refactor(components): [badge] switch to script-setup syntax (#6068) 2022-02-16 15:18:02 +08:00
btea
cc32d275ef
fix(components): [el-rate] allow-half show two icon (#6076) 2022-02-16 10:41:59 +08:00
kouchao
3c8ff3aece
fix(components): [el-input] missing margin between two icons (#5942) (#6017)
Co-authored-by: 寇超 <kouchao@xindong.com>
2022-02-15 16:00:32 +08:00
wzrove
40242b2730
style(components): [el-select] collapse-tags存在时,增加左边距 (#6037) 2022-02-15 11:14:29 +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
msidolphin
aa639e81f1
fix(components): [el-table] auto-load missing scrollbar style (#6045) 2022-02-15 09:36:00 +08:00
三咲智子
9ac025b5d5
refactor(components): refactor icon (#5934) 2022-02-13 23:26:44 +08:00
三咲智子
7abc200742
refactor(utils): improve escapeStringRegexp (#6013) 2022-02-13 22:48:42 +08:00
bqy
86d79270fc
refactor(components): [radio,radio-button,radio-group] use useNamespace (#5731)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-02-13 18:58:45 +08:00
三咲智子
ea812ae622
refactor(components): refactor button (#5933)
* refactor(components): refactor button

* refactor: rename

* test: apply jsx

* feat: expose

* test: fix
2022-02-12 18:37:16 +08:00
C.Y.Kun
15a0711035
fix(components): style error when component import order is unknown (#5938) 2022-02-11 23:37:50 +08:00