Commit Graph

802 Commits

Author SHA1 Message Date
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
BeADre
99f378a63a
feat(components): [el-select] add effect and close #5956 (#5976) 2022-02-11 23:13:33 +08:00
jeremywu
fc294561c2
fix(components): [el-popper] effect prop validation error (#5978) 2022-02-11 20:13:23 +08:00
jeremywu
1429a4e669
fix(components): [el-select] tag default theme (#5983)
- Fix the default theme for select tag
- Fix the input padding for inputable select
2022-02-11 19:55:34 +08:00
啝裳
0b0ad578bd
fix: add offset in usePopoverProps (#5982) 2022-02-11 19:50:16 +08:00
啝裳
5789318ef4
fix: delete offset in usePopoverProps (#5980) 2022-02-11 19:22:54 +08:00
msidolphin
12eae347a1
chore: typo (#5979) 2022-02-11 18:57:20 +08:00
zeting
fc8291114e
fix(components): fix [el-select] infinite bounce (#5977)
修复了select组件  filterable 和multiple 属性激活是  当失去焦点后再次激活焦点会无限抖动的问题,并修复异常样式

# 5905

Co-authored-by: 袁泽庭 <chongyun@boomlink.com>
2022-02-11 18:18:39 +08:00
啝裳
857a94afa8
fix: el-tree isLeaf type is string (#5954)
* fix: el-tree isLeaf type is string

* fix: update
2022-02-11 18:18:24 +08:00
jeremywu
04df2a483a
fix(utils): restore scrollIntoView method (#5973) 2022-02-11 18:07:59 +08:00
msidolphin
7569ccaf90
fix: namespace typo (#5972)
* chore: typo

* chore: typo

* chore: typo
2022-02-11 18:07:14 +08:00
啝裳
dafc701af8
fix: replenish popover missing types (#5958)
* fix: replenish popover missing types

* fix: update
2022-02-11 17:56:21 +08:00
msidolphin
43c41015eb
fix(components): [el-table] avoid scrollbar not display (#5920)
* fix(components): [el-table] avoid scrollbar not display

* chore: optimize code
2022-02-11 15:17:34 +08:00
msidolphin
dcb7365365
feat(components): [el-image] support append preview to body (#5883)
* feat(components): [el-image] support append preview to body

* chore: add deprecated warning

* chore: compatible with  append-to-body and get zIndex from PopupManager

* fix: apply transition on the initial render

* fix: PopupManager import

* fix: modify default value

* chore: rename to teleported

* chore: rename to teleported

* fix: resolve import issue

* fix: resolve import issue

* fix: resolve import issue
2022-02-11 15:16:45 +08:00
msidolphin
b6be179a2c
feat(components): [el-table] maxHeight support more units (#5904)
* feat(components): [el-table] maxHeight support more formats (vh、calc...)

re #5888

* chore: optimize code

* fix: resolve import issue
2022-02-11 15:00:33 +08:00
啝裳
f8bcf51962
fix: delete alteredCollapse in menu (#5889) 2022-02-11 14:52:00 +08:00
三咲智子
590538cd38
test: fix scrollIntoView (#5960) 2022-02-11 12:35:26 +08:00
bqy
23c7c7843e
refactor(components): [popover] use useNamespace (#5727) 2022-02-11 11:47:22 +08:00
msidolphin
f194efca96
fix: [el-select-v2] avoid remove new option when reserve-keyword is true (#5912) 2022-02-11 11:43:58 +08:00
三咲智子
b712dd8466
refactor: fix buildProps (#5936) 2022-02-11 11:40:50 +08:00
weidehai
8945e21ec7
feat(components): [el-time-picker] add visibleChange event (#5704) 2022-02-11 11:24:46 +08:00
三咲智子
6503e55277
refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
btea
cb98b7cf97
fix(components): [select] change the tagType and style default value (#5884)
* fix(components): [select] change the tagType and style default value

* chore: update
2022-02-11 11:01:53 +08:00
bqy
553f5ffb96
refactor(components): [dropdown,dropdown-item,dropdown-menu] use useNamespace (#5719) 2022-02-11 10:51:38 +08:00
bqy
7e803e92f4
refactor(components): [pagination] use useNamespace (#5725) 2022-02-11 10:50:00 +08:00
JacBiank
e901c58c63
fix(components): [el-select] (#5952) 2022-02-11 10:28:18 +08:00
bqy
28b82a5ffe
fix(components): [select] define nsInput & rename ns to nsSelect (#5953) 2022-02-11 09:56:53 +08:00
virgosoy
3a7ba03171
fix(components): [el-popconfirm] fix onConfirm and onCancel type bug (#5948) 2022-02-11 09:17:45 +08:00
bqy
eb1adcd491
refactor(components): [steps] use useNamespace (#5944) 2022-02-11 04:02:21 +08:00
bqy
a995d4487b
refactor(components): [popper] use useNamespace (#5728) 2022-02-11 04:01:18 +08:00
bqy
b99fd42e07
refactor(components): [select] use useNamespace (#5733)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-02-11 03:58:02 +08:00
bqy
d132e6e000
refactor(components): [tree] use useNamespace (#5754) 2022-02-11 03:57:10 +08:00
bqy
115a40ce7a
refactor(components): [slider] use useNamespace (#5743) 2022-02-11 03:52:41 +08:00
bqy
b5644360ba
refactor(components): [select-v2] use useNamespace (#5738) 2022-02-11 01:36:17 +08:00
bqy
1d8584d627
fix(components): [dialog] fix dialog not fill full screen after drag (#5875) 2022-02-11 00:07:06 +08:00
bqy
09ebf1bed8
refactor(components): [tooltip] use useNamespace (#5752) 2022-02-11 00:06:05 +08:00
bqy
067c5ae669
refactor(components): [transfer] use useNamespace (#5753) 2022-02-10 23:46:57 +08:00
bqy
95608a8463
refactor(components): [tree-v2] use useNamespace (#5757) 2022-02-10 23:41:41 +08:00
bqy
ac4b582187
refactor(components): [upload] use useNamespace (#5758) 2022-02-10 23:39:52 +08:00
啝裳
d5e586b51b
feat: tabpane name support number type (#5915)
* feat: tabpane name support number type

* fix: update
2022-02-10 23:25:39 +08:00
jeremywu
bcd5c8b848
test(components): removing mock folder (#5911)
- Remove mock folder from the project root
- Add mock for each component test file accordingly
2022-02-10 16:35:44 +08:00
msidolphin
40b0f963c6
fix(components): [el-slider] sync manually updated value (#5876) 2022-02-10 09:41:19 +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
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
三咲智子
b80e5c69e9
refactor(hooks): refactor popup manager to useZIndex (#5701) 2022-02-09 16:31:31 +08:00
QuXiaoMing
1add6d2c70
fix(components): [el-popover] update popperInstance when props change (#5835)
Co-authored-by: xiaoming <xiaoming@mgtv.com>
2022-02-09 16:05:02 +08:00
msidolphin
21c646d4da
fix(components): [el-table] group header not supported fixed column (#5873)
fix #5864
2022-02-09 15:09:25 +08:00
mawi1512
129a2d72e5
fix(components): [el-dropdown] use custom attributes for dropdown items (#5779)
* fix(components): [el-dropdown] use custom attributes for dropdown items

* fix: forward props and attrs
2022-02-09 15:07:20 +08:00
bqy
99d3f0902b
refactor(components): [space] use useNamespace (#5749) 2022-02-09 12:13:38 +08:00
核心已转储
8f91f98796
fix(compnents): [el-input-number] cannot read properties of null (reading 'setAttribute') #5691
* fix(components): [input-number]  exist#5691
2022-02-09 10:50:14 +08:00
bqy
352530b548
refactor(components): [dialog] use useNamespace (#5761) 2022-02-09 00:26:33 +08:00
bqy
cc7384854b
refactor(components): [message] use useNamespace (#5720) 2022-02-09 00:25:19 +08:00
bqy
6ec9da0563
refactor(components): [popconfirm] use useNamespace (#5726) 2022-02-09 00:24:36 +08:00
bqy
25caa3fd07
refactor(components): [collapse,collapse-item] use useNamespace (#5715)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-02-09 00:23:34 +08:00
bqy
c54f446197
refactor(components): [progress] use useNamespace (#5729) 2022-02-08 11:38:42 +08:00
bqy
258622fdac
refactor(components): [col] use useNamespace (#5714) 2022-02-08 11:36:46 +08:00
三咲智子
426a6a686c
feat: switch to lodash-unified (#5734)
* feat: switch to lodash-unified

* chore: move lodash mocks
2022-02-08 10:37:21 +08:00
三咲智子
b63956c325
refactor: add transition namespace (#5829) 2022-02-08 09:09:54 +08:00
bqy
a84facfa4f
refactor(components): [notification] use useNamespace (#5722) 2022-02-08 05:51:03 +08:00
bqy
4db23d2426
refactor(components): [teleport] use useNamespace (#5751) 2022-02-08 05:44:50 +08:00
bqy
76e48e37cd
refactor(components): [overlay] use useNamespace (#5723) 2022-02-08 05:43:15 +08:00
bqy
d210f267ac
refactor(components): [page-header] use useNamespace (#5724) 2022-02-08 05:27:13 +08:00
bqy
fae48c8817
refactor(components): [color-picker] use useNamespace (#5718) 2022-02-08 05:21:17 +08:00
bqy
e1f78d9c04
refactor(components): [collapse-transition] use useNamespace (#5716) 2022-02-08 04:34:06 +08:00
msidolphin
baf6bc0260
fix: [el-pagination] fix justify alignment (#5814)
fix #5807
2022-02-07 16:46:26 +08:00
msidolphin
b2ff01a60f
fix(components): [el-popconfirm] revert component name (#5815) 2022-02-07 16:43:56 +08:00
jeremywu
44dc9a1cf5
test(components): remove all sleep statement in the tests (#5784) 2022-02-06 00:37:20 +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
bqy
4501b6dd66
refactor(components): [skeleton,skeleton-item] use useNamespace (#5739) 2022-01-31 23:41:56 +08:00
C.Y.Kun
e62e29ef5b
fix(components): [popover] after-enter/leave events not trigger (#5681) 2022-01-31 23:07:09 +08:00
C.Y.Kun
1a24e85248
fix(components): [cascader] Unable to use spaces when filtering (#5676) 2022-01-31 23:03:58 +08:00
bqy
97658e2e5c
refactor(components): [scrollbar] use useNamespace (#5732) 2022-01-31 23:03:28 +08:00
Carter Li
2b38b5f5a5
fix(components): fix #5582 (#5583) 2022-01-28 15:25:15 +08:00
kooriookami
eb6553bedf
fix(components): [image-viewer] fix some bugs and improve style (#5673)
* fix: fix ElImageViewer

* fix: update

* perf: perf zoomRate
2022-01-28 15:21:43 +08:00
msidolphin
0d8f08ab9b
perf(components): [el-scrollbar] prevent re-render when scrolling (#5670)
* perf(components): [el-scrollbar] prevent re-render when scrolling

* chore: improve code
2022-01-27 17:10:44 +08:00
msidolphin
8322bcf843
refactor(components): [el-pagination] optimize component style (#5666) 2022-01-27 16:52:45 +08:00
msidolphin
f860941d8e
fix(components): [el-table] hover not working in fixed mode (#5638) 2022-01-26 14:06:22 +08:00
msidolphin
043d20403f
fix(components): [el-table] fix invalid maxHeight issue (#5584)
* fix(components): [el-table] fix invalid maxHeight issue

fix #5580

* fix: remove native scrollbar
2022-01-26 14:05:35 +08:00
msidolphin
51c3f09483
refactor(components): [el-tag] use namespace (#5643)
* refactor(components): [el-tag] use namespace

* chore: optimize code
2022-01-26 14:00:57 +08:00
btea
4be0d47d70
refactor(components): [drawer] use useNamespace (#5596) 2022-01-26 09:36:35 +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
btea
46b2d7099b
fix(components): [el-message-box] add default value to button-size (#5620)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-01-25 20:59:57 +08:00
btea
2def078e7c
fix(components): [el-transfer] can't find clearQuery (#5438) 2022-01-25 20:00:51 +08:00
BigPengZai
38a1a02680
fix(components): [el-popover] hide-after bug (#5386)
fix [el-popover] hide-after bug

fix #5372
2022-01-25 12:07:24 +08:00
JeremyWuuuuu
a34ad9c53d fix(components): [el-checkbox] is-disabled class is added unexpectedly
- Fix the regression error which cause non-grouped chekcbox has unexpected `is-disabled` class
2022-01-25 11:51:43 +08:00
iamkun
94311a8e39
refactor: refactor carousel to support namespace (#5553) 2022-01-25 00:53:20 +08:00
btea
fec3d0c69d
refactor(components): [checkbox] use useNamespace (#5493) 2022-01-24 18:13:44 +08:00
Delyan Haralanov
5286713dcb
feat(components): [el-dialog] remove width validator (#5329) (#5568) 2022-01-24 00:40:29 +08:00
iamkun
9d317c8f8c
refactor: refactor autocomplete to support namespace (#5550) 2022-01-23 17:55:23 +08:00
iamkun
0ecb3faf23
refactor: refactor backtop to support namespace (#5552) 2022-01-23 17:53:51 +08:00
btea
d7297131cf
refactor(components): [image, image-viewer] use useNamespace (#5513) 2022-01-22 17:35:50 +08:00
btea
3956faacba
fix(components): [el-pagination] jumper prohibit decimal (#5512) 2022-01-22 17:34:29 +08:00
Alan Wang
5762aed58f
fix(components): [el-cascader] checkStrict and lazyLoad need click twice (#4182) 2022-01-22 10:50:24 +08:00
Alan Wang
11d2fe00d2
fix(components): [el-select-v2]set v-model has error (#5128)
* fix(components): [el-select-v2]set v-model has error

* fix(components): [el-select-v2]set v-model has error
2022-01-22 10:43:46 +08:00
Alan Wang
8033c7c5ea
fix(components): [infinite-scroll] Infinite scroll (#5393) 2022-01-22 10:39:35 +08:00
Alan Wang
22d2df4267
fix(components): [el-tree] accordion attribute error at third level (#3862) 2022-01-22 10:38:30 +08:00
msidolphin
2f521c419c
refactor(components): [el-table] use namespace (#5528) 2022-01-22 10:37:59 +08:00
msidolphin
13de0524eb
feat(components): [el-button] support for customize loading component (#5505) 2022-01-21 23:11:35 -03:00
kooriookami
55512a8d7d
fix: slider tooltip (#5508) 2022-01-20 16:23:20 +08:00
Valar103769
c552c3b700
refactor(components): [calendar] add namespace (#5496) 2022-01-20 06:04:41 +08:00
btea
62a38138f6
refactor(components): [container] use useNamespace (#5498) 2022-01-20 06:02:05 +08:00
btea
a80e295194
refactor(components): [descriptions] use useNamespace (#5499) 2022-01-20 06:00:53 +08:00
Alan Wang
1285697a7f
fix(components): [el-color-picker] active-change triggered incorrectly (#4729) 2022-01-19 17:49:06 +08:00
Alan Wang
7246b07011
fix(components): [el-collapse] watch modelValue invalid (#4593) 2022-01-19 17:31:51 +08:00
msidolphin
1fdd2cee8f
feat(components): [tree] node-click passes event object (#4312)
re 4307
2022-01-19 17:13:18 +08:00
msidolphin
13be920c9a
refactor: [el-table] refactoring table with el-scrollbar (#5384)
* refactor: [el-table] refactoring table with el-scrollbar

* refactor: remove gutter

* fix: remove unused

* fix: optimize code
2022-01-19 17:12:58 +08:00
Alan Wang
d05acba3d0
fix(components): [el-cascader] suddenly jump to the left (#4516) 2022-01-19 17:05:11 +08:00
Alan Wang
7f025e1efc
fix(components): [el-select] hover index (#4423) 2022-01-19 16:59:03 +08:00
Alan Wang
a73f34844c
fix(components): [el-date-picker]make defaultValue be reactive (#4808)
* fix(components): [el-date-picker]make defaultValue be reactive

* fix(components): [el-date-picker]change toRefs to toRef

* Update packages/components/date-picker/__tests__/date-picker.spec.ts

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

* update date-picker.spec.ts

Co-authored-by: btea <2356281422@qq.com>
2022-01-19 16:48:22 +08:00
Alan Wang
acf8fbd8ee
fix(components): [el-input-number]do not change undefined to NaN (#5049)
* fix(components): [el-input-number]do not change undefined to NaN

* fix(components): [el-input-number]change null
2022-01-19 15:27:29 +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
三咲智子
68bbd0e79a
refactor(components): use useNamespace is (#5468) 2022-01-19 15:04:01 +08:00
Valar103769
0fed0f469e
refactor(components): [input, input-number] add namespace (#5488) 2022-01-19 14:38:53 +08:00
三咲智子
58463b9ba4
refactor(components): [affix] add namespace & instance type (#5474) 2022-01-19 11:37:37 +08:00
三咲智子
3cef197e65
refactor(components): [badge] add namespace & instance type (#5473) 2022-01-19 11:37:11 +08:00
三咲智子
c08cc54eda
refactor(components): [breadcrumb] add namespace & instance type (#5472) 2022-01-19 10:42:48 +08:00
三咲智子
6f25f6ecd4
refactor(components): [alert] add namespace & instance type (#5459) 2022-01-19 10:26:31 +08:00
liangjunjie
1a9a609444
fix(components): [el-avatar] fix avatar default size (#5129) 2022-01-18 22:30:59 +08:00
程成
9460e42ac6
fix(components): [el-image] image load error (#4820)
Co-authored-by: C.Y.Kun <30518686+emojiiii@users.noreply.github.com>
2022-01-18 22:26:28 +08:00
三咲智子
2ab6940431
refactor(components): [avatar] add namespace & instance type (#5461) 2022-01-18 18:36:26 +08:00
三咲智子
280aa9a245
refactor(components): [divider] add namespace & instance type (#5462) 2022-01-18 18:19:23 +08:00
三咲智子
3843293034
refactor(components): [rate] add namespace & instance type (#5456) 2022-01-18 18:14:17 +08:00
三咲智子
1f4386b3e0
refactor(components): refactor timeline (#5458)
Co-authored-by: Alanscut <wp_scut@163.com>
2022-01-18 16:22:02 +08:00
三咲智子
2e21b0daa8
refactor(components): refactor check-tag (#5451)
* refactor(components): refactor check-tag

* fix: tests
2022-01-18 15:31:00 +08:00
三咲智子
1197202d71
refactor(components): [row] add namespace & instance type (#5454)
* refactor(components): [row] add namespace & instance type

* refactor: remove useless annotation
2022-01-18 15:24:12 +08:00
三咲智子
59551fe866
refactor(components): [icon] add namespace & instance type (#5452)
* refactor(components): [icon] add namespace & instance type

* refactor(components): use addUnit

* refactor: improve code
2022-01-18 15:23:11 +08:00
三咲智子
4b6f9c82d7
refactor(components): [switch] add namespace (#5455) 2022-01-18 15:22:37 +08:00
三咲智子
c6acc8ecc8
refactor(components): [result] add namespace & instance type (#5453) 2022-01-18 15:00:46 +08:00
三咲智子
2dd3848084
refactor(components): [link] add namespace & instance type (#5449) 2022-01-18 14:52:29 +08:00
三咲智子
cc4cebf465
refactor(components): [card] add namespace & instance type (#5445) 2022-01-18 14:45:04 +08:00
三咲智子
6107740866
refactor(components): [empty] add namespace & instance type (#5446) 2022-01-18 14:38:14 +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
9117cb6fff
fix(components): [el-time-picker] fix adjust scroll position fail issue (#5312) 2022-01-18 10:53:47 +08:00
msidolphin
3a857c0695
fix: [el-table] fix checkbox cleared when data reference is not changed (#5443)
fix #5390
2022-01-18 10:43:02 +08:00
msidolphin
3037fdc8c5
fix(components): [el-popover] revert hide method (#5344)
fix #5334
2022-01-18 10:42:21 +08:00
msidolphin
136dd297c5
fix(components): [el-scrollbar] fix cannot selection issue (#5330)
fix #5301
2022-01-18 10:41:57 +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
msidolphin
1888d3c06b
fix: [input-number] modelValue change to non-required (#4338)
fix #4323
2022-01-18 10:36:26 +08:00
msidolphin
300a570b5a
fix(components): [el-table] fixed column position error issue (#5430) 2022-01-18 10:33:04 +08:00
三咲智子
58c4040b45
fix(hooks): component size (#5402) 2022-01-17 17:20:26 +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
三咲智子
4d470d062c
fix(components): time picker when midnight (#5403) 2022-01-17 10:35:26 +08:00
kooriookami
f632072186
feat: dropdown add popper-options prop (#5396) 2022-01-16 13:56:16 +08:00
iamkun
9929c0fba4
feat: support custom namespace (#5377) 2022-01-15 18:12:48 +08:00
ElsaOOo
98108da10f
fix(components): fix TreeOptionProps types (#4813) 2022-01-14 01:41:36 +08:00
Alan Wang
708542eca6
fix(components): [el-dropdown-menu] size (#5343) 2022-01-12 22:59:54 +08:00
Alan Wang
27af1050d6
fix(components): [el-cascader] inline style (#5339) 2022-01-12 14:28:36 +08:00
Alan Wang
2cf215e3c4
feat(components): [el-time-select] support custom format (e.g. 12-hour) (#5309) 2022-01-12 11:11:43 +08:00
msidolphin
1f71d3c80c
fix: [el-calendar] selected wrong date when change the month/year (#5297) 2022-01-11 14:29:06 +08:00
0song
2606778d30
fix: fix DateRangePicker custom style & class bug (#5300) 2022-01-11 14:27:45 +08:00
jeremywu
a2cfb64028
fix(components): [el-tooltip] restoring append-to API (#5296)
- Restore `append-to` API
- Add test against `append-to` API
2022-01-11 11:02:32 +08:00
msidolphin
82182a91aa
fix(components): [el-date-picker] panel position error after view switch (#5277)
* fix(components): [el-date-picker] panel position error after view switch

* fix: [el-popper] zIndex not update issue
2022-01-11 10:40:40 +08:00
kooriookami
57e0d1d1bb
fix(style): [el-dropdown] fix doc style (#5266)
* fix: update style

* style: update

* feat: update test
2022-01-11 10:29:25 +08:00
jeremywu
df57ddfe39
fix(components): [el-dropdown] cannot be closed by clicking outside (#5287)
- Fix the issue that dropdown with trigger 'click' cannot be closed when clicking outside content
- Fix the same issue for popover popconfirm
- Remove useless code from `el-tooltip-content` which can be much simpler
- Use `onClick` to replace `onMousedown` because `onMousedown` is triggered prior than `onClick`
- Adjust test cases against these changes above
2022-01-11 10:24:48 +08:00
msidolphin
180e21dc56
fix(components): [el-tree] fix safari drop animation issue (#5294) 2022-01-11 10:21:13 +08:00
kooriookami
43ad4aa072
fix: dropdowm item can not click (#5257) 2022-01-10 09:48:59 +08:00
btea
e3417babe2
test(components): [el-config-provider] use useFakeTimers (#5228)
* fix(components): modify config-provider sleep time

* test: use useFakeTimers
2022-01-09 20:45:01 -05:00
kooriookami
c2ee36a7fc
fix: tooltip with compoents add persistent (#5250) 2022-01-09 17:38:51 +08:00
Carter Li
5062ff106b
fix(components): make Datepicker value-format="x" emit number timestamp value (#5187) 2022-01-09 12:42:08 +08:00
btea
70fa3e7f26
feat(components): [el-message] config-provider message max attr (#5063)
* feat(components): [el-message] config-provider message max attr

* chore: update test

* feat: update test and message-method

* chore: format config-provider.md

* test: add multiple config-provider

* test: config-provider nesting
2022-01-08 20:03:13 +08:00
Zapic
53fe828273
feat(components): [el-cascader] cascader panel loading placeholder (#5064)
Co-authored-by: KawaiiZapic <kawaiizapic@zapic.moe>
2022-01-08 19:55:59 +08:00
msidolphin
b5ae3e80bb
fix(components): [el-transfer] improve styles (#5139) 2022-01-08 19:53:52 +08:00
msidolphin
d61cf39cf3
chore(components): add shadow to panels (#5146)
* chore(components): add shadow to panels

* fix: improve menu test
2022-01-08 19:52:50 +08:00