Commit Graph

184 Commits

Author SHA1 Message Date
三咲智子
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
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
4b76238ea3
fix(components): [el-affix] update method does not exist (#3996) 2021-10-22 12:15:35 +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
Otto
7349165300
fix(components): elProgress 修复不必要的 props required 定义,减少单测错误 (#3954) 2021-10-20 09:45:19 +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
波比小金刚
40b3dea926
fix(components): [el-form-item] calc the label-width. (#3914) 2021-10-18 16:31:45 +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
三咲智子
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
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
三咲智子
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
三咲智子
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
bchen1029
20b574700b
fix(components): fix composition event bug (#3659) 2021-10-01 02:30:31 +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
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
三咲智子
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
三咲智子
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
三咲智子
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
三咲智子
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