云游君
9c4f1774f2
fix(theme-chalk): [mixins] use set-css-var-value to transpile text ( #6630 )
...
* fix(theme-chalk): [mixins] use set-css-var-value to transpile text
* fix(theme-chalk): [mixins] format code
2022-03-15 10:47:00 +08:00
云游君
a7cab4fb52
fix(theme-chalk): [drawer] bg color ( #6631 )
2022-03-15 10:45:21 +08:00
renovate[bot]
c04d41026e
fix(deps): update dependency @vueuse/core to v8 ( #6605 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 01:42:17 +08:00
三咲智子
e37116389b
feat(components): [loading] export directive alias ( #6629 )
2022-03-14 12:13:57 -04:00
云游君
f22614b11c
fix(components): [pagination] button bg color ( #6628 )
...
* fix(components): [pagination] button bg color
* fix(components): [pagination] button bg color
2022-03-14 23:41:50 +08:00
Zhongxiang Wang
b80d5f9d4d
fix(theme-chalk): [cascader/checkbox] fix unexpected fill color ( #6619 )
2022-03-14 19:57:25 +08:00
Hefty
15d543d69f
fix(theme-chalk): [message-box] el-message-box__status position may o… ( #6614 )
...
* fix(theme-chalk): [message-box] el-message-box__status position may override by el-icon
* fix(theme-chalk): [message-box] use class selector
2022-03-14 19:48:28 +08:00
JeremyWuuuuu
be0f72577b
fix(components): [el-form] Form not emitting validation result ( #6610 )
...
* fix(components): [el-form] Form not emitting validation result
- Refactor validate code to allow it to yield promise value
- Update tests accordingly
* fix: refactor
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-14 19:47:31 +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
renovate[bot]
46a4da0cdc
fix(deps): update all non-major dependencies ( #6604 )
2022-03-14 18:00:30 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag ( #6603 )
2022-03-13 16:16:11 -04:00
iamkun
98f5e58f00
fix: Upload component remove status label box shadow ( #6586 )
2022-03-13 23:18:10 +08: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
Zhongxiang Wang
30878dc5ef
fix(components): [form] set validateState to success after passed ( #6596 )
2022-03-13 23:00:28 +08:00
云游君
d8a52cfe85
refactor(theme-chalk): dark.scss to css vars & migrate fill-color-blank ( #6597 )
2022-03-13 22:42:57 +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
btea
18bd8c4952
refactor(components): [rate] switch to script-setup syntax ( #6565 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-13 20:20:21 +08:00
三咲智子
61cfd369dc
fix(components): [dialog] remove footer when not existed ( #6590 )
2022-03-13 20:11:44 +08:00
云游君
06f6844509
refactor(theme-chalk): rewrite palette & remove -base suffix ( #6593 )
...
* refactor(theme-chalk): rewrite palette & remove -base suffix
* refactor(theme-chalk): container as default bg-color
* refactor(theme-chalk): add fill-color-blank
* fix(docs): fill-color-light for code-bg
2022-03-13 20:10:07 +08:00
JeremyWuuuuu
c415f8bdbc
fix(components): [popper-trigger] SSR issue ( #6575 )
...
* fix(components): [popper-trigger] ssr issue
- Moved all watch expressions inside `onMounted` to avoid SSR error
* Update unwrapMesurable for skipping SSR
2022-03-13 14:10:14 +08:00
三咲智子
9c30a5d153
refactor(components): [input] refactor ( #6545 )
...
* refactor(components): [input] refactor
* test: improve tests
* fix: dts
* fix: nextTick
2022-03-13 00:23:00 +08:00
bqy
6c3c4b2626
fix(components): [carousel] center arrow ( #6573 )
2022-03-12 23:37:31 +08:00
wzrove
0e6ff4f9a9
refactor(components): [divider] switch to script-setup ( #6556 )
...
Co-authored-by: rove <rove@outlook.com>
2022-03-12 21:31:24 +08:00
Zapic
525f61f8da
fix(component): [el-tabs] the initial pane should only render for once ( #6563 )
...
* fix(component): [el-tabs] the initial pane should only render for once
* test(component): [el-tabs] improve test of lazy load pane
* test(component): [el-tabs] fix lint error
Co-authored-by: KawaiiZapic <kawaiizapic@zapic.moe>
2022-03-12 20:44:17 +08:00
三咲智子
e98d1298c0
refactor(components): [link] refactor ( #6543 )
2022-03-12 17:21:20 +08:00
云游君
2db400c73a
refactor(components): [link] dynamic css vars & fix inner align ( #6557 )
2022-03-12 16:59:07 +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 beeb9fb164
.
* Revert "refactor(components): upload conent with props by tsx"
This reverts commit 425e4a9f34
.
* 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
Herrington Darkholme
14353dbfce
fix(ci): suppress warning by mark icon as raw ( #6555 )
2022-03-12 15:58:29 +08:00
三咲智子
88b574e765
fix(build): move eslint config to internal ( #6553 )
2022-03-12 14:33:41 +08:00
Herrington Darkholme
e10a1e4c9d
fix(ci): fix cascader ns querySelector class ( #6552 )
2022-03-12 13:46:36 +08:00
Herrington Darkholme
51aac2f630
fix(ci): clean up several warning ( #6551 )
2022-03-12 00:00:07 -05: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
b6f61dd562
fix(components): [el-menu] icon is not to the right of the text ( #6268 )
2022-03-11 15:58:44 +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
msidolphin
61c6b97183
fix(components): [el-upload] jitter when remove file in the list ( #6505 )
...
* fix(components): [el-upload] jitter when remove file in the list
* chore: improve code
2022-03-11 15:56:07 +08:00
JeremyWuuuuu
cfd51c849e
chore(project): add escape-html as dependency for main entry ( #6534 )
...
- Add `escape-html` as dependency for `packages/element-plus`
2022-03-11 15:39:44 +08:00
blackie
36e80869ab
fix(components): [autocomplete] fix shaking at first open ( #6342 )
...
* fix(components): [auto-complete] fix shaking at first open
* fix(components): [autocomplete] remove added file by oversight
2022-03-11 15:09:09 +08:00
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
三咲智子
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