Commit Graph

1188 Commits

Author SHA1 Message Date
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