Commit Graph

1583 Commits

Author SHA1 Message Date
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
三咲智子
a3f01b0f23
build: external packages (#3415) 2021-09-15 08:28:23 +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
jeremywu
be58b742ef
fix release scirpt (#3412) 2021-09-15 02:06:13 +08:00
jeremywu
c210352180
fix release scirpt (#3410) 2021-09-15 01:45:45 +08:00
iamkun
10af9742fe
Update CHANGELOG.en-US.md 2021-09-15 01:15:13 +08:00
三咲智子
5c70b303d9
fix(build): fix exclude dependency (#3404)
* fix(build): fix exclude dependency

* Update utils.ts
2021-09-15 01:13:36 +08:00
三咲智子
680de635f6
fix(core): downgrade vueuse version (#3405) 2021-09-14 23:22:59 +08:00
Aex
a2be1973ea
chore(project): use github workflow for website preview (#3387)
* chore(project): use github workflow for website preview

* chore: update PULL_REQUEST_NUMBER

* fix: typo

* chore: add pull_request for test

* fix: json format

* fix: add robot test

* fix: update request

* chore: update var

* chore: update var & remove test

* chore: improve workflow

* chore: upgrade workflow
2021-09-14 19:37:14 +08:00
Ted
29545d1ea2
docs: [locale] update tr.ts (#3385) 2021-09-14 13:19:47 +08:00
iamkun
56845a9e5d
Update CHANGELOG.en-US.md 2021-09-13 23:31:44 +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
三咲智子
d819ef14b8
ci(project): upgrade to latest nodejs (#3351) 2021-09-12 19:16:08 +08:00
啝裳
f2939ae075
feat(components): [el-calendar] add prev-year and next-year (#3360) 2021-09-12 18:43:44 +08:00
啝裳
f6833e8846
docs: [el-calendar] add header slot (#3323) 2021-09-12 18:39:38 +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
Dan Rose
d43064c054
docs: fix el-switch before-change code examples (#3359) 2021-09-12 18:02:52 +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
啝裳
db28c4112f
docs: image-viewer component support named slot viewer (#3357) 2021-09-12 17:51:13 +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
三咲智子
1c836634b9
fix(project): typo (#3340) 2021-09-11 03:20:50 +08:00
三咲智子
5d7cac372c
chore: Update stale.yml (#3335) 2021-09-10 19:57:54 +08:00
三咲智子
c2d9f3109b
fix(hooks): warn renamed to debugWarn (#3329) 2021-09-10 15:01:43 +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