Commit Graph

144 Commits

Author SHA1 Message Date
三咲智子
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
三咲智子
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
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
三咲智子
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
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
三咲智子
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
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
三咲智子
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 5e096c51065776c726a21a541813387d40723153.
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
云游君
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
啝裳
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
啝裳
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