Commit Graph

266 Commits

Author SHA1 Message Date
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
三咲智子
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
表弟
12f1d0e47f
style(components): [el-message-box] string does not wrap (#3856) (#3867) 2021-10-14 11:12:47 +08:00
三咲智子
3cf091f2d5
refactor(components): refactor image (#3770) 2021-10-06 20:17:18 +08:00
啝裳
45ec48e020
style(components): optimize the addable style (#3726) 2021-09-29 12:53:56 +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
btea
ea31eeabed
chore(project): revise rm rf to rimraf (#3680) 2021-09-27 16:38:15 +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
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
三咲智子
7a9c6f38d7
build: parallel build (#3416) 2021-09-26 01:29:07 +08:00
三咲智子
5f5248020c
chore(project): adjust dependency (#3595) 2021-09-24 09:28:21 +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
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
云游君
9fddcf42fa
fix(style): use flex replace float & fix vertical center (#3523) 2021-09-21 02:23:44 +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
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
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
三咲智子
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
三咲智子
c86c2b0fe9
style: eslint enable prefer-template (#3414)
* style: eslint enable prefer-template

* chore: apply eslint rules
2021-09-17 09:18:24 +08:00
云游君
fb22634b61
style(components): add css var width & margin-top for dialog (#3431) 2021-09-16 23:01:22 +08:00
Aex
3a84382f2e
fix(theme-chalk): [el-input] textarea focus & hover border color (#3403) 2021-09-15 22:25:03 +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
Aex
6db8dbca82
fix(components): [el-dialog] avoid custom class style conflict (#3267) 2021-09-10 10:09:47 +08:00
btea
0b1f74154b
fix(components): [el-alert] change the border-radius variable (#3271) 2021-09-07 13:31:14 +08:00
Aex
ac7c226196
chore(project): upgrade dependencies to latest minor (#3242)
* chore(project): bump @babel/cli from 7.12.1 to 7.15.4

* chore(project): bump @babel/core from 7.11.6 to 7.15.5

* chore(project): bump @babel/plugin-proposal-class-properties to 7.14.5

* chore(project): bump @babel/plugin-transform-runtime to 7.15.0

* chore(project): bump @babel/preset-env from 7.11.5 to 7.15.4

* chore(project): bump @babel/preset-typescript from 7.10.4 to 7.15.0

* chore(project): bump babel-loader from 8.1.0 to 8.2.2

* chore(project): bump babel-plugin-module-resolver from 4.0.0 to 4.1.0

* chore(project): bump @popperjs/core from 2.4.4 to 2.10.1

* chore(project): update babel.config.js

* chore(project): update jest.config.js

* chore(project): bump @typescript-eslint/eslint-plugin to 4.30.0

* chore(project): bump @typescript-eslint/parser from 4.29.3 to 4.30.0

* chore(project): bump algoliasearch from 4.4.0 to 4.10.5

* chore(project): bump transliteration from 2.1.11 to 2.2.0

* chore(project): bump typescript from 4.3.5 to 4.4.2

* chore(project): bump esbuild from 0.12.5 to 0.12.25

* chore(project): bump file-loader from 6.1.0 to 6.2.0

* chore(project): bump rollup from 2.28.2 to 2.56.3

* chore(project): bump rollup-plugin-esbuild from 4.2.3 to 4.5.0

* chore(project): bump sass from 1.37.0 to 1.39.0

* chore(project): move sass & typescript to devDependencies
2021-09-05 19:57:35 +08:00
kooriookami
c2b6c30f92
feat(components): [el-timeline] add hollow prop (#3229)
* feat: timeline add hollow prop

* feat: update

* feat: format

Co-authored-by: kooriookami <18114643032@163.com>
2021-09-05 11:07:24 +08:00
三咲智子
55348b30b6
style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
msidolphin
e4032821a8
fix(theme-chalk): [el-form] no display red asterisk when width is auto (#3222)
fix #3221
2021-09-03 16:46:19 +08:00
sunnuan
0dacfb1247
style: fix missing import (#3212)
Co-authored-by: sunnuan <sunnuan>
2021-09-03 11:34:16 +08:00
三咲智子
80fb61691d
fix: [el-form-item] add min-width (#3208) 2021-09-03 10:14:46 +08:00
云游君
8654e7d54a
fix: missing timepicker css var (#3204) 2021-09-03 09:58:18 +08:00
sunnuan
d8487f29a6
style: fixed style (#3202)
Co-authored-by: [liuyaqian] <[liuyaqian@geekplus.com]>
2021-09-02 18:30:39 +08:00
Aex
01b867896e
style(var): $--border-color-hover var reference (#3179) 2021-09-02 16:18:24 +08:00
Aex
eb8ec6fb7a
fix(components): descriptions cell class (#3195) 2021-09-02 15:01:13 +08:00
kooriookami
614c09eead
perf: perf menu add back arrow-icon and overflow (#3167)
* perf: perf menu add back arrow-icon and overflow

* perf: optimize resize
2021-09-01 15:43:57 +08:00
云游君
eacd21f118
style(table): allow custom tr background-color (#3166)
* style(table): allow custom tr background-color

* style(table): format table docs & add status tr example by var
2021-09-01 15:17:13 +08:00
msidolphin
bfe23ce820
fix(theme-chalk): fixed the wrong background color of timeline-item (#3165) 2021-09-01 14:29:20 +08:00
msidolphin
7556a1b2d1
fix(components): virtualized selector optimize (#3160)
1. limit the maximum width to prevent content overflow
2. hover the last option after closing the panel in multiple mode
3. fixed the incorrect style when disabled
4. optimized tag style
2021-09-01 13:14:17 +08:00
jeremywu
12006ecdb7
chore(build): remove unused package.json scripts (#3150)
* chore(build): remove unused package.json scripts

- Remove unused scripts
- Revert changes made for removing ts-node
- Fix button.var error

* Update dropdown.vue
2021-08-31 17:57:35 +08:00
kooriookami
b5c7914a05
feat(menu): add ellipsis in horizontal mode (#3083)
* feat(components): adjust types

* feat: popper add fallbackPlacements

* feat: update

* feat: update

* feat: update

* feat: update

* feat: u7pdate

* feat: update fallbackPlacements

* feat: update fallbackPlacements

* feat: when calculate, include padding

* feat: remove horizontal first level arrow

* feat: update

* feat: fix click item index mistake

* feat: fix item active

* feat: update

* feat: remove ele.me website
2021-08-31 15:31:48 +08:00
msidolphin
b1d2f0de06
feat(components): select-v2 support keyboard operations (#3138) 2021-08-31 14:17:43 +08:00
msidolphin
a15f5f293f
feat(components): select-v2 support filter-method & remote-search (#3092) 2021-08-29 09:46:38 +08:00
kooriookami
a54098393f
style: radio support size prop both border or not (#3103) 2021-08-27 20:31:40 +08:00
kooriookami
5f87831710
style: checkbox support size prop both border or not (#3099)
* style: checkbox support size prop both border or not

* feat: update

* style: update
2021-08-27 20:28:56 +08:00
Sanxiaozhizi
e9e56d5938
chore: upgrade & improve eslint rule (#3105)
* chore: remove unused ts-node

* chore: upgrade lodash

* chore: upgrade eslint

* perf: remove side effects in computed

* refactor: follow eslint rules

* chore: remove vue-template-compiler

* style: enhance eslint format rule

* style: format code
2021-08-27 17:46:06 +08:00
kooriookami
f274bc97db
style: update calc style (#3090)
fix #3073
2021-08-27 14:39:53 +08:00