btea
c33d861797
fix(components): [el-tree-v2] indent can not set zero ( #3881 )
...
* fix(components): [el-tree-v2] indent can not set zero
* chore: simplify code
2021-10-31 20:11:16 +08:00
btea
d6c6c99ffc
fix(components): [el-table] refresh data, selected error ( #3908 )
2021-10-31 10:52:21 +08:00
SongWuKong
c728e25cea
fix(components): [el-menu] icon style ( #4122 )
2021-10-31 01:35:50 +08:00
SongWuKong
708b58d191
fix(components): [el-cascader] can not use keyboard select node( #3254 ) ( #3260 )
...
* fix(components): [el-cascader] can not use keyboard select node(#3254 )
* fix(components): [el-cascader] add filterable keyboard selection test
* fix: switch case block
2021-10-31 00:25:24 +08:00
btea
4c698be458
fix(components): upload headers add type judge ( #4119 )
2021-10-30 23:37:44 +08:00
Alan Wang
c1bfe08c21
fix(components): [el-input] input border ( #4110 )
2021-10-30 22:46:27 +08:00
wxyong
5fd62430a1
fix(components): [el-upload] request headers missing when headers is typeof Headers( #4043 ) ( #4045 )
...
Co-authored-by: itw_wuxy <itw_wuxy@tkmail.com>
2021-10-30 22:12:33 +08:00
CodeSpikeX
7fe4e0b026
feat(components): [el-message] & [el-notification] appendTo option added ( #4012 )
...
* feat(components): [el-message] & [el-notification] appendTo option added
* fix(components): unit test and replaced warn with debugWarn
2021-10-30 22:09:36 +08:00
三咲智子
a902be5917
refactor(utils)!: remove resize-observer-polyfill ( #4058 )
...
* refactor(utils): remove resize-observer-polyfill
* test: add resize-observer-polyfill for tests only
2021-10-30 21:48:25 +08:00
msidolphin
93a1aa9b2f
feat(components): [el-date-picker] support customized cell content ( #4078 )
...
re #4056
2021-10-30 21:39:11 +08:00
kooriookami
cf726a0b42
feat: add fit-input-width prop ( #4088 )
2021-10-30 09:34:19 -04:00
神楽坂みずき
94c404b12a
fix(checkbox): fix checkbox when modelvalue length less than min limit ( #1745 )
...
* fix(checkbox): fix checkbox when modelvalue length less than min limit
* fix
* fix something wrong while handling conflict
2021-10-30 21:30:52 +08:00
Aex
cd646824c2
feat(components): el-switch add inline content support ( #4091 )
...
* refactor(components): el-swtich custom texts and icons
* fix: test
* fix: font size
* fix: example margin
* feat(components): el-switch add inline-prompt support
* revert: paly
* docs: update icons
* feat: add inner text
* fix: switch test
* refactor: icon inline
2021-10-30 21:23:29 +08:00
renovate[bot]
5b5e9ab81d
chore(deps): update dependency eslint-plugin-vue to v8 ( #4105 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-10-30 18:13:00 +08:00
renovate[bot]
ab81fc89f2
chore(deps): pin dependencies ( #4098 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-30 17:09:09 +08:00
啝裳
7332b46131
fix(components): [el-menu] trigger hover, open and close events no work ( #4077 )
2021-10-30 13:40:19 +08:00
btea
36b1f19b78
refactor(directives): use util method replace judge firefox ( #4086 )
2021-10-30 11:31:00 +08:00
Aex
4b1975ebc9
fix(components): [el-page-header] icon size ( #4085 )
2021-10-29 19:56:00 +08:00
云游君
0139d24583
chore: remove useless css prefix & utils ( #4075 )
2021-10-29 19:16:53 +08:00
Alan Wang
3ade9cae65
fix(components): [el-input] maxlength is not correct ( #3969 )
2021-10-29 16:54:53 +08:00
ExtReMLapin
e32d070c8e
improvement(locale): finished translating french lang ( #4073 )
2021-10-29 13:30:17 +08:00
921
917b909984
fix(components): [el-form-item] align inline elements vertically ( #4080 )
...
Co-authored-by: 921 <redky@qq.com>
2021-10-29 13:26:26 +08:00
云游君
453c595a1b
feat: remove font icon scss & font-path ( #4074 )
...
* feat: remove font icon scss & font-path
* chore: fix lint useless var
2021-10-29 00:20:16 +08:00
Aex
4510816802
refactor(componentes): deprecate the icon font of some components ( #4067 )
...
* refactor(components): [el-breadcumb] icon
* refactor(components): el-tabs icon
* refactor(components): color picker icon
* refactor(components): menus icon
* refactor(components): loading spinner icon
* fix(components): panel-data-pick elicon import
* refactor(components): dropdown item icon
* refactor(components): tabs plus icon
* fix: message & tabs icon test
* fix(components): breadcrumb docs
* fix(components): colorPicker docs
* fix(components): loading docs
Co-authored-by: imswk <syfzxx@vip.qq.com>
2021-10-28 23:37:26 +08:00
神楽坂みずき
aa0e0b9ea1
fix(components): fix add space in prod mode ( #4062 )
2021-10-28 13:22:30 +08:00
921
9a016bfd32
fix(components): [el-input-number] add a type attribute ( #4030 )
...
Co-authored-by: 921 <redky@qq.com>
2021-10-28 06:19:56 +08:00
btea
cb03f4d890
fix(hooks): add type remove ts error ( #4055 )
2021-10-28 04:44:27 +08:00
Aex
883fd8d6ef
epic: refactor icons ( #3492 )
...
* refactor(components): el-alert icon (#3441 )
* refactor(components): el-alert icon
* fix: el-alert test
* fix: [el-alert] lint error
* feat(utils): add icon util
* refactor(components): el-alert icon
* refactor(utils): icon
* test: update alert test
* refactor: remove el-icon in util
* refactor(components): el-notification icon (#3512 )
* chore: temp save changes
* refactor: update icon
* fix: var
* docs: update icon
* fix: type class error
* style: remove unused class
* fix: update icon type
* docs: update icon
* fix: update iconComponent
* refactor(components): el-dialog icon (#3505 )
* refactor(components): [el-dialog] icon
* fix: typo
* refactor: dialog icon ref
* refactor: dialog icon
* style: update close button size
* refactor(components): el-message-box icon (#3507 )
* refactor(components): message-box icon
* refactor(components): message icon
* fix: test
* refactor: update ref
* fix: test
* docs: update icon
* fix: delete unused code
* docs: update type
* fix: update close button size
* fix: type
* fix: icon type class
* fix: icon type
* fix: update type class
* refactor(components): el-popconfirm icon (#3513 )
* refactor(components): el-popconfirm icon
* fix: space styles
* docs: update example
* docs: update example for trigger event
* refactor(components): el-page-header icon (#3518 )
* refactor(components): el-page-header icon
* docs: update icon
* fix: space errors
* refactor(components): el-steps icon (#3520 )
* refactor(components): el-backtop icon (#3514 )
* refactor(components): el-backtop icon
* fix: update font size
* refactor(components): el-button icon (#3536 )
* refactor(components): el-button icon
* fix: update example
* refactor(components): el-button icon
* refactor: style simplify
Co-authored-by: imswk <syfzxx@vip.qq.com>
* refactor(components): el-tree icon (#3590 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-avatar icon (#3599 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-carousel icon (#3602 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-progress icon (#3607 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-result icon (#3609 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-timeline icon (#3646 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-table icon (#3611 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* chore: add vue to gitignore
* fix: buildProp error
* refactor(components): el-pagination icon (#3605 )
* test: el-menu deprecated icon font (#3794 )
* test: el-loading deprecated icon font (#3795 )
* chore: Update changelog 1.1.0-beta.20 (#3838 )
* fix: about custom extension of table column (#3437 )
* refactor(components): el-autocomplete icon (#3783 )
* refactor(components): el-dropdown icon (#3517 )
* refactor(components): el-dropdown icon
* fix: arrow down icon size
* style: revert
* fix: font-size
* refactor(components): el-link icon (#3538 )
* refactor(components): el-link icon
* refactor: update example
* fix: import icons
* docs: add tip
* refactor: update link icon
* fix: icon align
* fix: typo
* refactor(components): el-select icon (#3780 )
* refactor(components): el-input icon (#3565 )
* refactor(components): input icon
* docs: update example
* refactor(components): el-select icon
* docs: icon usage
* fix: input style
* fix: add scoped
* docs: fix icon
* fix: icon align
* fix: icon align
* fix: typo
* fix: typo
* refactor(components): el-input-number icon (#3566 )
* refactor(components): el-input-number icon
* fix: icon align
* refactor(components): el-tag icon (#3793 )
* refactor(components): el-tag icon
* fix: icon align
* fix: icon margin
* refactor(components): el-switch icon (#3787 )
* refactor(components): el-switch icon
* fix: icon align
* docs: add icon usage
* refactor(components): el-collapse icon (#3788 )
* refactor(components): el-collapse icon
* docs: update icon demo
* fix: typo
* refactor(components): el-uplod icon (#3598 )
* refactor(components): el-uplod icon
* docs: update icon useage
* docs: fix icon
* docs: fix icon
* docs: update upload-filled icon
* fix: icon align
* fix: item icon align
* refactor(components): el-select-v2 icon (#3781 )
* refactor(components): el-select-v2 icon
* revert: play/main.ts
* fix: icon style
* fix: icon solt
* refactor(components): el-cascader icon (#3785 )
* refactor(components): input icon
* docs: update example
* refactor(components): el-select icon
* refactor(components): el-cascader icon
* refactor(components): el-tag icon
* fix: icon align
* fix: icon margin
* docs: icon usage
* fix: input style
* fix: add scoped
* test: remove unuesd code
* fix: cascader-panel
* fix: icon style
* fix: icon animation
* refactor(components): el-drawer icon (#3796 )
* refactor(components): el-drawer icon
* fix: close icon size
* fix: close icon align
* refactor(components): el-transfer icon (#3792 )
* refactor(components): el-transfer icon
* fix: icon align
* refactor(components): el-image-viewer icon (#3797 )
* refactor(components): el-image-view icon
* fix: icon size
* docs: update domo
* style: format vue
* fix: fullscreen icon
* Add cursor for icons
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
* refactor(components): rate-icon (#3891 )
* refactor(components): el-rate icon
* docs: update example
* docs: update
* test: update
* docs: update
* fix: variable rename
* fix: demo update
* fix: allow half bug
* refactor(components): el-time-picker icon (#3834 )
* refactor(components): el-button icon
* refactor(components): date-picker icon
* refactor(components): input icon
* docs: update example
* refactor(components): el-select icon
* refactor(components): el-time-select icon
* fix: icon width
* docs: icon usage
* fix: input style
* fix: add scoped
* fix: icon size
* docs: icon display
* fix: icon in button
* docs: fix error
* refactor(components): el-time-picker icon
* fix: var
* fix: icon align
* test: delete unused code
* test: fix error
* fix: remove unused code
* docs: fix typo
* docs: update icon
* fix: default prefix icon
* fix: range picker icon align
* Update cursor for picker
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
* fix(components): el-input close icon
* chore: delete fonts
* fix: copy full style
Co-authored-by: imswk <syfzxx@vip.qq.com>
Co-authored-by: bastarder <85257684@qq.com>
Co-authored-by: qianjie <qianjie@patsnap.com>
Co-authored-by: Element <wallement@gmail.com>
Co-authored-by: Alan Wang <948467222@qq.com>
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-10-27 23:17:13 +08:00
msidolphin
a504503eab
fix(components): [el-form-item] validate success does not return fields ( #4001 )
...
fix #3860
2021-10-27 18:46:34 +08:00
BaboonKing
ba00ae375e
fix(components): [el-date-picker] increase width of range separator ( #4028 )
2021-10-27 09:05:14 +08:00
Alan Wang
89ede5d05f
fix: popover repeat when exist fixed column in table ( #3394 )
...
* fix: popover repeat when exist fixed column in table
* Update render-helper.ts
2021-10-26 17:19:12 +08:00
iceman
65a29f2a2b
refactor(components): [el-message] change the name of stopTimer
...
Co-authored-by: iceman <dd>
2021-10-26 11:04:36 +08:00
三咲智子
4e99d0b5ba
build!: simplify build & support esm import ( #4018 )
...
* build!: simplify build & support native esm import
* build: refactor build
* refactor: reorganize files
* refactor: refactor build
* build: improve perf
* fix: scripts
* build: add rollup-plugin-filesize
* chore: scripts ignore no-console
* build: disable tree-shaking
* build: improve code
* build: add sourcemap
* build: add banner
* refactor: remove annotation
* build!: improve esm exports (#3871 )
* build: improve esm import
* refactor: change mjs for esm version
* chore: improve exports map
* fix: add sideEffects
* refactor: improve alias
* build: upgrade dependencies
2021-10-25 17:07:48 +08:00
三咲智子
1bca47dcf7
fix(components): button displays icon only ( #4019 )
...
* fix(components): button displays icon only
* docs: add chinese button
2021-10-25 14:32:11 +08:00
M5 Universe
55fd145547
fix(components): [el-icon] support string size ( #3835 )
2021-10-25 09:43:54 +08:00
神楽坂みずき
5cd8be2434
feat(components): add space between two characters in Chinese ( #3992 )
2021-10-24 22:47:39 +08:00
Kevin
0ae66f8230
chore: upgrade dependencies
2021-10-22 14:48:38 -04:00
jeremywu
6006e910aa
refactor(components): ElInputNumber ( #3974 )
...
* refactor(components): ElInputNumber
- Rename index.vue -> input-number.vue
- Extract inputNumberProps and inputNumberEmits to input-number.ts
* Update input number docs
* Update input number docs
* Update input number docs
* Address comments
* Code perfection
* Make modelValue required field
* Fix linter
* Remove unnecessary code
* Fix linter
2021-10-22 23:28:03 +08:00
btea
78f8246a89
fix(components): [el-select-v2] set a non-empty array value error ( #3998 )
2021-10-22 15:48:59 +08:00
Alan Wang
67e03d458d
fix(components): [el-input] disable button style error ( #3989 )
2021-10-22 12:21:00 +08:00
Alan Wang
4b76238ea3
fix(components): [el-affix] update method does not exist ( #3996 )
2021-10-22 12:15:35 +08:00
Ibrahim Al Khalil
51d8271181
feat: add translation for Bengali language ( #3972 )
2021-10-22 12:09:00 +08:00
波比小金刚
4741b40e19
fix: tag should support large size too ( #3948 )
2021-10-22 11:11:20 +08:00
btea
fdb06718eb
feat(components): [el-popconfirm] adjust tag and style ( #3981 )
2021-10-21 21:54:31 +08:00
jeremywuuuuu
3786ba9993
fix(utils): remove $ from util
...
- Replace $ with unref from vue
- Remove $ from `@element-plus/utils/util` to prevent ref sugar issue
2021-10-20 06:14:18 -04:00
spx
896a6c9860
fix(components): select v-2 value-key seems not working #2904 ( #3915 )
...
* fix(components): select v-2 value-key seems not working #2904
select v-2 value-key seems not working #2904
fix #2904
* fix(components): select v-2 value-key seems not working #2904
select v-2 value-key seems not working #2904
fix #2904
2021-10-20 11:24:09 +08:00
jeremywu
8b64402c08
update package json field for fixing the bundler ( #3965 )
2021-10-20 10:59:56 +08:00
jeremywu
289fdcf96f
fix(build): fix package entry field ( #3962 )
...
- Replace index.mjs with index.js
2021-10-20 10:40:09 +08:00
btea
bccca92dfd
refactor(utils): dom and add test ( #3950 )
...
* refactor(utils): getAttribute replace className
* test: add dom test
* fix(utils): update trimArr and test
* chore: includes replace indexOf
* chore: modify judge
2021-10-20 10:04:54 +08:00
Otto
7349165300
fix(components): elProgress 修复不必要的 props required 定义,减少单测错误 ( #3954 )
2021-10-20 09:45:19 +08:00
jeremywu
16f069ebbe
Revert "build!: simplify build & support native esm import ( #3900 )" ( #3945 )
...
* Revert "build!: simplify build & support native esm import (#3900 )"
This reverts commit fb94222bb4
.
* remove module
* Fix linter
* Add @element-plus/icons as dependency
* update pnpm lock file
* temporary lock element-plus at 1.1.0-beta.20
2021-10-20 09:42:32 +08:00
Alan Wang
fffed80a81
fix(components): [el-rate] decimal icon display problem ( #3921 )
...
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-10-19 13:26:56 +08:00
btea
208be236cd
fix(utils): svg classname deal ( #3926 )
2021-10-19 13:26:30 +08:00
btea
3c98dd627f
refactor(utils): addClass and removeClass ( #3858 )
2021-10-18 16:33:34 +08:00
波比小金刚
40b3dea926
fix(components): [el-form-item] calc the label-width. ( #3914 )
2021-10-18 16:31:45 +08:00
波比小金刚
fdfe38deb0
refactor(utils): use built-in throwError function ( #3916 )
2021-10-18 16:30:45 +08:00
三咲智子
06fc7f4215
build!: improve esm exports ( #3871 )
...
* build: improve esm import
* refactor: change mjs for esm version
* chore: improve exports map
2021-10-18 16:29:33 +08:00
三咲智子
12bf28e8c8
refactor(components): refactor image-viewer ( #3810 )
...
* refactor(components): refactor image-viewer
* fix: remove unused
* refactor: improve type
2021-10-18 16:24:52 +08:00
三咲智子
ffe6d251c6
refactor(components): refactor input ( #3805 )
...
* refactor(input): rename
* refactor(input): with-install
* refactor(input): kebab-case
* refactor(components): refactor input
* fix: fix test import
* refactor(components): [el-input] refactor export named
* refactor: improve types
* refactor: improve types
2021-10-18 16:21:30 +08:00
三咲智子
fb94222bb4
build!: simplify build & support native esm import ( #3900 )
...
* build: refactor build
* refactor: reorganize files
* refactor: refactor build
* build: improve perf
* fix: scripts
* build: add rollup-plugin-filesize
* chore: scripts ignore no-console
* build: disable tree-shaking
* build: improve code
* build: add sourcemap
* build: add banner
* refactor: remove annotation
2021-10-18 14:45:57 +08:00
三咲智子
3e2be8eb0b
chore: upgrade & remove unused dependencies ( #3892 )
2021-10-16 21:00:18 +08:00
三咲智子
cf112c5866
refactor(utils): improve props validator warning ( #3847 )
...
* refactor(utils): improve props validator warning
* Update props.ts
* refactor: improve buildProps
* fix: test
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 18:24:49 +08:00
deepthan
e8043abca8
fix: capitalize the first letter of the error message ( #3882 )
...
* Fix: fix erros message typo
Co-authored-by: linkun.he <helinkun@ithinkdt.com>
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 17:51:15 +08:00
Alan Wang
39c286f140
fix: table lazy rows can't expand at the first time ( #3731 )
...
* fix: Table Attributes expand-row-keys has changed, but fold not work
* fix: Table lazy column can't expand at the first time
* Update packages/components/table/src/store/tree.ts
Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
* Update packages/components/table/src/store/tree.ts
Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-10-14 17:38:00 +08:00
Alan Wang
4cffe3d9e7
fix: [ElSelectV2] set value to an empty array after selection error ( #3875 )
2021-10-14 17:36:41 +08:00
啝裳
9108fade83
feat(components): [el-menu] add ellipsis prop ( #3870 )
2021-10-14 14:58:50 +08:00
表弟
12f1d0e47f
style(components): [el-message-box] string does not wrap ( #3856 ) ( #3867 )
2021-10-14 11:12:47 +08:00
Alan Wang
d36ef9d784
fix: about custom extension of table column ( #3437 )
2021-10-11 16:13:29 +08:00
btea
816a3bb44e
chore: fix typo ( #3831 )
2021-10-10 16:56:47 +08:00
三咲智子
4e458fe586
refactor(utils): improve defineProps ( #3811 )
...
* refactor(utils): improve defineProps
* refactor(utils): improve defineProps
2021-10-08 14:58:48 +08:00
三咲智子
85d526f556
refactor(components): refactor col ( #3804 )
2021-10-08 09:55:18 +08:00
三咲智子
3cf091f2d5
refactor(components): refactor image ( #3770 )
2021-10-06 20:17:18 +08:00
三咲智子
edb5726c2d
refactor(utils): refactor buildProps & replace buildProp ( #3775 )
2021-10-06 19:56:24 +08:00
三咲智子
a4c65447f0
build: refactor copyDefinitions ( #3756 )
2021-10-06 19:40:44 +08:00
三咲智子
3b9e63d587
refactor(components): refactor space ( #3757 )
2021-10-06 19:34:32 +08:00
Kevin
cd2bd26d63
test: upgrade @vue/test-utils to v2.0.0-rc.15
2021-10-06 17:19:00 +08:00
btea
bf91f72351
fix(components): [el-date-picker] panel not select value enter error ( #3768 )
2021-10-05 15:46:17 +08:00
iamkun
8af6e78c42
chore: update package homepage ( #3761 )
2021-10-02 02:22:29 +08:00
bchen1029
20b574700b
fix(components): fix composition event bug ( #3659 )
2021-10-01 02:30:31 +08:00
btea
fd06ac17c1
refactor(utils): refactor aria color ( #3742 )
2021-09-30 15:07:44 +08:00
啝裳
45ec48e020
style(components): optimize the addable style ( #3726 )
2021-09-29 12:53:56 +08:00
Neil Guo
48a830d9eb
Update package.json ( #3721 )
...
fix sideEffects at package.json
2021-09-29 11:05:20 +08:00
啝裳
37000b7727
feat(components): [el-menu] expose handleResize ( #3723 )
2021-09-29 10:59:10 +08:00
Alan Wang
a267c75965
fix: Table Attributes expand-row-keys has changed, but fold not work ( #3675 )
...
* fix: Table Attributes expand-row-keys has changed, but fold not work
* Update packages/components/table/src/store/tree.ts
Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
* Update packages/components/table/src/store/tree.ts
Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-09-29 09:53:51 +08:00
三咲智子
bf8697cc0e
feat(utils): add buildProps ( #3718 )
2021-09-29 09:52:58 +08:00
Alan Wang
5cc4479060
fix(components): [el-autocomplete] popover auto width ( #3674 )
...
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-09-29 09:20:01 +08:00
三咲智子
93f0a35905
feat(components): [el-button-group] add type prop ( #3702 )
...
* feat(components): [el-button-group] add type prop
* fix breadcrumb import
2021-09-28 20:51:08 +08:00
云游君
8583c70fdc
feat(theme-chalk): use @use instead of @import & remove /**/ comment ( #3696 )
...
* feat(theme-chalk): use @use instead of @import & remove /**/ comment
* refactor(theme-chalk): refactor scss with @use module
* fix(docs): scss in docs toggle to '@use'
* docs: add custom theme on demand
* docs: add unplugin-element-plus
2021-09-28 20:42:12 +08:00
三咲智子
ab8982379e
build: refactor each package build ( #3709 )
2021-09-28 20:28:47 +08:00
三咲智子
0cb8250d9e
build(tokens): fix token build script ( #3703 )
2021-09-28 15:40:08 +08:00
三咲智子
4a4f04970d
fix(components): [el-form] fix async-validator version ( #3697 )
2021-09-28 11:58:16 +08:00
三咲智子
c68d59c6a0
refactor(components): refactor menu ( #3639 )
...
* refactor(menu): rename to kebab-case
* refactor(menu): rename RootMenuProvider to MenuProvider
* refactor(menu): rename menu.type to types
* refactor(menu): extract menu props and emits
* refactor(menu): change sub-menu.vue to ts
* refactor(menu): extract menu-item-group props and emits
* refactor(menu): extract menu-item props and emits
* refactor(menu): extract sub-menu props and emits
* refactor(menu): rename type RegisterMenuItem to MenuItemRegistered
* refactor(menu): MenuProvider ref to reactive
* refactor(menu): MenuProvider remove methods
* refactor(menu): change submenus to subMenus
* refactor(menu): remove RootMenuProps type
* refactor(menu): MenuProvider improve types & rename submenu to subMenu
* refactor(menu): menu add block to provide
* refactor(menu): menu improve expose
* refactor(menu): menu improve render types
* refactor(menu): menu refactor types & change handle(Sub)MenuItemClick params
* refactor(menu): menu refactor types
* refactor(menu): menu-item-group improve types
* refactor(menu): menu-item improve types
* refactor(menu): sub-menu improve types
* refactor(menu): use-menu improve types
* refactor(menu): sub-menu fix types
* refactor(menu): menu-collapse-transition improve types
* refactor(menu): menu-item-group improve template
* refactor(menu): menu-item rename emit param
* refactor(menu): finally improve types
* fix lint
* chore: re-order import
* chore: remove reactive
2021-09-28 10:59:22 +08:00
btea
ea31eeabed
chore(project): revise rm rf to rimraf ( #3680 )
2021-09-27 16:38:15 +08:00
三咲智子
3e8409cd45
refactor(dev): drop babel ( #3678 )
...
* refactor(dev): drop babel
* test: fix test
* drop babel
* refactor: drop nodejs 14 support
2021-09-27 15:25:58 +08:00
Summer
ec96e9dbc7
fix(components): [el-affix] get scrollContainer of vertical ( #3424 )
...
Co-authored-by: 徐志伟 <zwxu01@wisedu.com>
2021-09-27 14:53:16 +08:00
msidolphin
2d2878eb53
feat(components): add virtual tree ( #3398 )
...
* feat(components): add virtual tree
* perf: optimize compute performance
* perf: optimize update checked states performance
* feat(components): [tree-v2] supports filter method
* feat(components): [el-tree-v2] exposes check api
* feat(components): [el-tree-v2] exposes current api
* feat(components): [el-tree-v2] support contextmenu event
* style(components): [el-tree-v2] optimized code style
* refactor(components): [el-tree-v2] using svg icon
* refactor(components): [el-tree-v2] replace all PropType with buildProp
replace all PropType with buildProp, support perfMode, expose setData
* refactor: improve prop
* docs: [el-tree-v2] improve documention
* refactor(components): [el-tree-v2] optimized code
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-09-27 11:12:50 +08:00
spx
7ee4f44e22
fix(components): trigger update:modelValue by itself ( #3660 )
...
trigger update:modelValue by component itself
fix #2282
2021-09-27 11:09:59 +08:00
三咲智子
f9c9f11415
feat(project): upgrade async-validator to 4.0.3 ( #3667 )
...
* feat(project): upgrade async-validator to 4.0.3
* fix: fix types
2021-09-27 09:57:44 +08:00
三咲智子
b88e932775
chore: change normalize-wheel to esm version ( #3371 )
2021-09-27 09:55:40 +08:00
三咲智子
6447feb505
fix(build): fix dependencies packaging ( #3665 )
...
* Revert "fix(components): [el-date-picker] dayjs props not extended (#3662 )"
This reverts commit fb8446709f
.
* fix(build): fix rollup externals
2021-09-27 00:23:27 +08:00
Aex
fb8446709f
fix(components): [el-date-picker] dayjs props not extended ( #3662 )
2021-09-26 23:38:44 +08:00
jeremywu
50a1b6f892
feat(components): [el-virtualized-grid] fulfillment ( #3612 )
...
* feat(components): [el-virtualized-grid] fulfillment
- Add scrollabr and scroll handler to v-grid
* Address comments and code perfection
* Update render function
* fix linter
* address comments
2021-09-26 19:22:56 +08:00
云游君
51cc956589
feat(utils): extract color to utils & fix submenu color ( #3638 )
2021-09-26 12:01:20 +08:00
msidolphin
e1a91b1a9f
fix(components): [el-date-picker] validate callback ( #3649 )
2021-09-26 11:55:38 +08:00
三咲智子
8b0402ae03
refactor(components): [el-message][el-notification] improve type ( #3636 )
2021-09-26 04:20:21 +08:00
三咲智子
7a9c6f38d7
build: parallel build ( #3416 )
2021-09-26 01:29:07 +08:00
三咲智子
5faec885f3
feat(dev): add global component types for volar ( #3624 )
...
* feat(dev): add global component types for volar
* chore: update README.md
2021-09-26 00:06:46 +08:00
三咲智子
0b015ab7d4
fix(components): [el-popconfirm] fix vue warning ( #3618 )
...
close #3613
2021-09-24 21:18:16 +08:00
啝裳
4dd3806f47
fix: [el-menu] using v-for causing render loop ( #3617 )
...
* fix: [el-menu] using v-for causing render loop
* fix: [el-menu] using v-for causing render loop
* perf: improve perf
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-09-24 21:08:23 +08:00
jeremywu
3138dea797
fix(components): sub components no install issue ( #3615 )
...
- Add noop install for all sub components for supress the warning
2021-09-24 19:11:56 +08:00
三咲智子
5f5248020c
chore(project): adjust dependency ( #3595 )
2021-09-24 09:28:21 +08:00
btea
db9a5e6bd6
fix(components): [el-popover] fix the title renderIf type error ( #3552 )
2021-09-24 09:21:38 +08:00
三咲智子
6f5ef560ea
refactor: improve buildProp ( #3592 )
2021-09-23 20:06:07 +08:00
btea
f21b15a67e
fix(components): [el-form] fix the methods validate callback invalid ( #3589 )
2021-09-23 16:10:03 +08:00
三咲智子
34745432d1
fix(components): fix message closeAll ( #3583 )
2021-09-23 14:18:53 +08:00
Abdulkaiyum Shaikh
1b843aac8e
Added missing 'memoize-one' to the publish package ( #3572 )
2021-09-23 08:12:50 +08:00
三咲智子
f9e192535f
refactor: replace yarn with pnpm ( #3571 )
...
* refactor: replace yarn with pnpm
* chore: install pnpm
* chore: disable cache
* ignore pnpm-lock.yaml
* resolve deps
* setup pnpm
2021-09-23 08:12:37 +08:00
btea
53a519457e
fix(components): [el-selectv2] add type remove ts error ( #3480 )
...
* fix(components): [el-select-dropdown] add type remove ts error
* fix: remove the SelectV2Context
2021-09-23 01:11:06 +08:00
jeremywu
a887a9632e
feat(components): exposing sub components ( #3563 )
2021-09-22 21:50:41 +08:00
bchen1029
165ae1000b
fix(components): [el-select] fix composition bug #3532 ( #3533 )
2021-09-22 21:45:22 +08:00
三咲智子
a5438d3545
fix(components): fix typo ( #3561 )
2021-09-22 21:09:32 +08:00
三咲智子
46d69bd37f
refactor: improve buildProp ( #3558 )
...
* refactor: improve buildProp
* fix: fix key
* fix: improve validator
2021-09-22 20:27:23 +08:00
云游君
35c90180d1
refactor(components): use css var to set menu global style ( #3539 )
...
* refactor(components): use css var to set menu global style
* fix(components): remove useless value & change camelCase & test file
* test: comment code that can not test final style
* test: fix unused-vars lint
* feat: add computed for useMenuCssVar
* test(components): revert test file
* fix(components): use computed value
2021-09-22 18:41:32 +08:00
jeremywu
2a0ebbc0b9
feat(components): [el-virtualized-list] enable virtual list perf mode ( #3547 )
...
* feat(components): [el-virtualized-list] enable virtual list perf mode
- Add perfMode API for both list and grid
- Code refactor
* fix linter issue
2021-09-22 18:29:54 +08:00
啝裳
57519896c5
fix: [el-scrollbar] cascade selector of cascader is stuck after clicking ( #3546 )
...
* fix: [el-scrollbar] cascade selector of cascader is stuck after clicking
* fix: [el-scrollbar] cascade selector of cascader is stuck after clicking
* fix: [el-scrollbar] cascade selector of cascader is stuck after clicking
2021-09-22 15:44:20 +08:00
yuzhang
325cc43709
feat(components): [el-message-box] add inline style prop ( #3537 )
2021-09-22 10:06:40 +08:00
Dreamcreative
d7a96911d4
fix(components): [el-select-v2] fix style problem when select-v2 option too long ( #3534 )
2021-09-22 08:47:42 +08:00
三咲智子
426a1814d0
refactor(components): refactor empty ( #3522 )
...
* refactor(components): refactor empty
* fix: tests
2021-09-22 01:41:44 +08:00
三咲智子
9575d111c2
refactor(components): refactor message ( #3524 )
...
* refactor(components): refactor message
* chore: remove unused
2021-09-22 01:40:18 +08:00
三咲智子
2431b589af
refactor(components): refactor notification ( #3495 )
...
* refactor(components): refactor notification
* chore: fix type
* refactor(components): improve vnode
* Update notification.vue
2021-09-22 01:19:35 +08:00
三咲智子
6256189100
refactor(components): refactor pagination ( #3526 )
...
* refactor(components): refactor pagination
* fix: tests
* fix: emits
* refactor: improve props
2021-09-22 01:19:04 +08:00
三咲智子
bb5ec2c487
refactor(components): refactor link ( #3527 )
...
* refactor(components): refactor link
* fix: buildProp
2021-09-22 00:48:26 +08:00
三咲智子
6a57d547d0
refactor(components): refactor icon ( #3528 )
2021-09-22 00:46:23 +08:00
三咲智子
d71c87344a
refactor: fix buildProp ( #3529 )
2021-09-21 17:19:35 +08:00
云游君
9fddcf42fa
fix(style): use flex replace float & fix vertical center ( #3523 )
2021-09-21 02:23:44 +08:00
jeremywu
91d851f44d
fix(components): [el-virtual-list] potential mem issue ( #3510 )
...
- Replace memo with memoize-one for preventing mem outage
2021-09-19 22:09:18 +08:00
云游君
ac30cd0d6e
chore: add vscode config & upgrade typescript/sass/vite ( #3502 )
...
* chore: add vscode config & upgrade typescript/sass/vite
* fix: format scss by prettier
2021-09-19 19:34:25 +08:00
三咲智子
7d1fa5aea1
refactor(components): refactor page-header ( #3491 )
...
* refactor(components): refactor page-header
* fix
2021-09-19 18:22:22 +08:00
三咲智子
1e02424daf
refactor(components): refactor tag ( #3489 )
...
* refactor(components): refactor tag
* fix
2021-09-19 18:21:43 +08:00
三咲智子
fbebf03d8c
refactor(components): refactor popconfirm ( #3490 )
...
* refactor(components): refactor popconfirm
* fix(components): fix path
* chore: change name
* fix
2021-09-19 18:21:23 +08:00
三咲智子
cff124ceca
refactor(components): refactor breadcrumb ( #3487 )
...
* refactor(components): refactor breadcrumb
* fix
* Revert "fix"
This reverts commit 5e096c5106
.
2021-09-19 18:18:13 +08:00
三咲智子
25f948fb25
refactor(components): refactor overlay ( #3496 )
2021-09-19 16:00:19 +08:00
三咲智子
d9cfaaac52
refactor(components): refactor divider ( #3488 )
2021-09-19 15:50:11 +08:00
三咲智子
b365fe6278
refactor(components): refactor backtop ( #3486 )
2021-09-19 15:10:59 +08:00
Aex
dd871cc8e9
fix(theme-chalk): [el-radio] input border hover color ( #3493 )
2021-09-19 02:51:02 +08:00
云游君
0836097c55
refactor(components): drawer animation use transition replace keyframe ( #3447 )
...
* refactor(components): drawer animation use transition replace keyframe
* fix(components): fix drawer leave animation
2021-09-19 00:09:41 +08:00
Aex
5ff3de24b5
fix(components): [el-dialog] content scrolling behavior ( #3484 )
2021-09-18 22:43:07 +08:00
啝裳
a24c2977e1
perf(components): [el-button] delete isEmpty ( #3479 )
2021-09-18 20:49:50 +08:00
BeADre
fdc2bef0c1
feat(components): [el-timeline] add center prop ( #3436 )
...
* feat(components): [el-timeline]add center prop
* fix: remove unnecessary selector
2021-09-18 11:31:58 +08:00
啝裳
48a787d55f
fix: [el-table] an extra 0 after the total line at safari ( #3471 )
2021-09-18 10:25:54 +08:00
Aex
78ab1b2f8e
feat(hooks): add same target support ( #3473 )
...
* feat(hooks): add same target support
* fix: dialog test
* fix: remove unused code
* improvement: custom-mask-event attr
2021-09-18 10:04:25 +08:00
jeremywu
477519a52e
feat(project): local dev environment ( #3463 )
...
- Add vite config for local dev
2021-09-17 16:42:20 +08:00
三咲智子
0636e1e240
style: add import and stricter lint ( #3440 )
...
* style: add import lint
* chore: apply eslint rules
* chore: add stricter lint
* chore: lint all files
* auto fix
* manually fix
* restore build-indices.ts
2021-09-17 15:27:31 +08:00
三咲智子
1615b9ee67
feat(dev): improve typings ( #3457 )
...
* refactor: improve buildProp
* feat(dev): add global components type for Volar
2021-09-17 15:07:32 +08:00
啝裳
f66b046872
fix: [el-form] button type is reset and reset form ( #3445 )
...
* fix: [el-form] button type is reset and reset form
* fix: [el-form] button type is reset and reset form
* fix: [el-form] button type is reset and reset form
2021-09-17 11:15:49 +08:00
三咲智子
c86c2b0fe9
style: eslint enable prefer-template ( #3414 )
...
* style: eslint enable prefer-template
* chore: apply eslint rules
2021-09-17 09:18:24 +08:00
jeremywu
d8502d872f
fix(components): el-icon root element receives attributes twice ( #3442 )
...
- Fix attributes incorrectly inherited twice.
2021-09-17 00:02:38 +08:00
云游君
fb22634b61
style(components): add css var width & margin-top for dialog ( #3431 )
2021-09-16 23:01:22 +08:00
Delyan Haralanov
c17161e21c
Feat/remove mitt ( #3356 )
...
* feat(components): collapse use provide/inject instead of mitt events
# Conflicts:
# packages/components/collapse/src/collapse-item.vue
# packages/components/collapse/src/collapse.vue
* feat(components): menu use provide/inject instead of mitt events
# Conflicts:
# packages/components/menu/src/menu.ts
* feat(components): form use provide/inject instead of mitt events
# Conflicts:
# packages/components/checkbox/src/checkbox-group.vue
# packages/components/checkbox/src/useCheckbox.ts
# packages/components/form/src/form-item.vue
# packages/components/form/src/form.vue
# packages/components/input/src/index.vue
# packages/components/radio/src/radio-group.vue
# packages/components/select/src/useSelect.ts
# packages/components/slider/src/index.vue
# packages/components/time-picker/src/common/picker.vue
# packages/components/transfer/src/index.vue
# packages/tokens/form.ts
* feat(components): tree use provide/inject instead of mitt events
# Conflicts:
# packages/components/tree/src/model/useDragNode.ts
# packages/components/tree/src/tree-node.vue
* feat(components): select use provide/inject instead of mitt events
# Conflicts:
# packages/components/select/src/option-group.vue
# packages/components/select/src/select.vue
# packages/components/select/src/useOption.ts
# packages/components/select/src/useSelect.ts
* feat: remove mitt from packages dependencies
# Conflicts:
# packages/components/package.json
# packages/element-plus/package.json
# packages/tokens/package.json
* feat: remove mitt from webpack.config.js
* refactor: change imports order
* refactor: import types separately
* fix: revert removing mitt from webpack.config.js
This config is not related to the build so no need to remove mitt here
2021-09-16 21:19:27 +08:00
Aex
3a84382f2e
fix(theme-chalk): [el-input] textarea focus & hover border color ( #3403 )
2021-09-15 22:25:03 +08:00
啝裳
58585bf87d
fix: use fromPairs replace Object.fromEntries ( #3422 )
2021-09-15 14:43:34 +08:00
btea
9d142ae129
fix(utils): add type remove the ts error ( #3406 )
...
* fix(utils): add type remove the ts error
* fix: optional chaining operator replace non-nullish assertion
* chore: try again test
2021-09-15 08:30:30 +08:00
Alan Wang
5978ebdabd
fix: [el-cascader] multiple search with v-model can't work ( #3350 )
...
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-09-15 05:25:08 +08:00
三咲智子
680de635f6
fix(core): downgrade vueuse version ( #3405 )
2021-09-14 23:22:59 +08:00
Ted
29545d1ea2
docs: [locale] update tr.ts ( #3385 )
2021-09-14 13:19:47 +08:00
jeremywu
19bc41f965
feat(hooks): extracting size injection for form items ( #3383 )
...
* feat(hooks): extracting size injection for form items
- Extract common code for form items
- Apply extracted code for el-button
* - Address import order
* Update packages/hooks/use-form-item/index.ts
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
* - Fix type annotation for fallbacks
* - Use MaybeRef to mark type of local fallbacks
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2021-09-13 23:14:48 +08:00
Summer
b5b67b489d
fix(components): [el-virtual-scrollbar] fix move bug ( #3379 )
...
Co-authored-by: 徐志伟 <zwxu01@wisedu.com>
2021-09-13 18:07:51 +08:00
三咲智子
d943a66434
fix(components): [el-badge] add export type ( #3376 )
2021-09-13 13:19:24 +08:00
三咲智子
1079e9afe6
fix(components): [el-dialog] fix emits ( #3375 )
2021-09-13 13:19:06 +08:00
三咲智子
f538abae77
build: no strict when build ( #3373 )
2021-09-13 13:14:39 +08:00
三咲智子
0bcebf5e18
fix: add @vueuse/core as dependency ( #3374 )
2021-09-13 13:13:13 +08:00
三咲智子
7a4bd0f236
refactor(components): refactor affix ( #3368 )
2021-09-13 12:02:18 +08:00
三咲智子
0eca6446e4
refactor(components): refactor dialog ( #3369 )
...
* refactor(components): refactor dialog
* refactor: drawer for dialog
2021-09-13 12:01:37 +08:00
三咲智子
60da0daf98
refactor(components): refactor card ( #3367 )
2021-09-13 10:51:11 +08:00
三咲智子
04d1d13905
refactor(components): refactor badge ( #3366 )
2021-09-13 10:49:52 +08:00
三咲智子
ad12c39ce5
refactor(components): refactor alert ( #3365 )
2021-09-13 10:48:10 +08:00
三咲智子
19752ba778
refactor(components): refactor avatar ( #3364 )
2021-09-13 10:46:12 +08:00
三咲智子
d26070d939
chore: add @vueuse/core ( #3370 )
2021-09-13 10:37:43 +08:00
jectychen
4d3a499fa6
feat(utils): getPropByPath function adjust ( #1276 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2021-09-13 03:14:47 +08:00
高奕GaoYi
00d38e1807
feat(components): [el-upload] clearFiles
support filter status ( #1501 )
2021-09-13 03:13:11 +08:00
波比小金刚
31bd0b12fb
refactor(components): [el-alert] improve judgment ( #1985 )
2021-09-12 22:02:45 +08:00
啝裳
da07d130da
feat(components): [el-upload] support put method ( #3358 )
2021-09-12 19:51:21 +08:00
三咲智子
0327d2d0b2
refactor(components): refactor button ( #3341 )
...
* feat(utils): add buildProp
* chore: disable eslint rule
* chore: typescript use strict
* refactor(components): refactor button
* feat: add comment for buildProp
2021-09-12 19:38:48 +08:00
Aex
0a878740c7
feat(components): [el-input-number] add focus & blur methods ( #3337 )
...
* feat(components): [el-input-number] add focus & blur methods
* fix(components): update focus
* docs: update input-number blur
* fix: remove useless code
* feat(components): use optional chaining
2021-09-12 19:24:17 +08:00
三咲智子
5be1f0d878
refactor(utils): refactor with-install ( #3355 )
2021-09-12 19:18:14 +08:00
啝裳
f2939ae075
feat(components): [el-calendar] add prev-year and next-year ( #3360 )
2021-09-12 18:43:44 +08:00
三咲智子
ee0cc94249
fix(components): rename loading directive instance name ( #3336 )
2021-09-12 18:33:24 +08:00
啝裳
629fef2993
feat(components): calendar component header support slot ( #3316 )
...
* feat(components): calendar component header support slot
* feat(components): calendar component header support slot
* feat(components): calendar component header support slot
2021-09-12 18:32:53 +08:00
Alan Wang
b14f45006c
fix: [el-table] default-expand-all doesn't work ( #3321 )
...
close #2776
2021-09-12 18:00:22 +08:00
btea
72774e95d1
refactor(utils): refactor menu-bar ( #3343 )
2021-09-12 17:46:55 +08:00
Alan Wang
64c094b528
fix(components): [el-textarea] show different font family ( #3349 )
...
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-09-11 21:40:40 +08:00
啝裳
2816cd3332
feat(components): image-viewer component support slot ( #3345 )
...
* feat(components): image-viewer component support slot
* feat(components): image-viewer component support named slot viewer
* feat(components): image-viewer component support named slot viewer
2021-09-11 19:47:47 +08:00
btea
2baaaf5ef9
fix(components): [el-cascader] event renamed to e ( #3344 )
2021-09-11 15:55:33 +08:00
三咲智子
200effa261
refactor(utils): drop ie support ( #3304 )
...
* refactor(utils): drop ie support
* fix(utils): remove unused
2021-09-10 15:00:39 +08:00
Herrington Darkholme
fc74a232a0
Revert "fix(components): [el-form]: ensure form validation always triggers callback ( #3294 )" ( #3324 )
...
This reverts commit 509292678d
.
2021-09-10 12:02:52 +08:00
Robert Schönthal
509292678d
fix(components): [el-form]: ensure form validation always triggers callback ( #3294 )
...
ensures the callback is always called
2021-09-10 11:49:33 +08:00
Aex
6db8dbca82
fix(components): [el-dialog] avoid custom class style conflict ( #3267 )
2021-09-10 10:09:47 +08:00
三咲智子
b8869f8b9d
refactor(components): refactor check-tag ( #3311 )
2021-09-10 10:04:09 +08:00
三咲智子
2f23940152
refactor(utils): refactor throwError
( #3301 )
...
* refactor(utils): refactor error
* refactor(utils): remove default export
2021-09-10 10:01:17 +08:00
三咲智子
eade4c90a1
refactor(hooks): refactor useAttrs ( #3300 )
2021-09-10 10:00:44 +08:00