Commit Graph

16 Commits

Author SHA1 Message Date
三咲智子
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
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
Herrington Darkholme
fc74a232a0
Revert "fix(components): [el-form]: ensure form validation always triggers callback (#3294)" (#3324)
This reverts commit 509292678d.
2021-09-10 12:02:52 +08:00
Robert Schönthal
509292678d
fix(components): [el-form]: ensure form validation always triggers callback (#3294)
ensures the callback is always called
2021-09-10 11:49:33 +08:00
Aex
03f02b5554
refactor(utils): improve debug warn (#3302) 2021-09-09 11:49:48 +08:00
Aex
2f9cdc74ce
chore(project): improve prettier format (#3236) 2021-09-05 00:53:31 +08:00
SongWuKong
6f23947920
fix(components): message verified by el-form is "" validate (#3227) (#3231) 2021-09-04 19:35:11 +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
三咲智子
80ccfef93c
docs/test: [el-form] add scrollToField docs and test (#3147)
* docs(typography): format docs

* docs(docs): [el-form] add scrollToField method

* test(components): [el-form] add scrollToField test

* destroy mock
2021-09-03 14:13:58 +08:00
Taosh
e8a66adffd
fix(components): [el-form-item] dom element null checking (#3172) 2021-09-01 17:49:39 +08:00
Sanxiaozhizi
8f67fb7645
feat(components): form add scrollToField method (#3110)
* feat(form): add scrollToField function

* feat(components): complete scrollToField function

Co-authored-by: linjie <linjie@zhuanzhuan.com>
2021-08-28 20:00:19 +08:00
Sanxiaozhizi
0617cdf9f8
test: fix test (#3109) 2021-08-27 19:13:37 +08:00
wangbincyzj
8830b2337a
fix: [label-wrap] Fix misspellings (#3030)
Co-authored-by: wangbin <bin.wang2@cyclone-robotics.com>
2021-08-25 09:47:41 +08:00
wangbincyzj
9c790c76f0
fix(components): [form-item] Fix misspellings (#3019)
Co-authored-by: wangbin <bin.wang2@cyclone-robotics.com>
2021-08-24 14:25:28 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00