Commit Graph

31 Commits

Author SHA1 Message Date
Sanxiaozhizi
6cc16bbd06
refactor: enhance type definition (#3062)
* chore: add vue-tsc for type check

* refactor(components): respect Vue's own style type

* refactor(components): improve props type

* chore(build): improve types

* fix(components): remove unnecessary props

* perf(components): use shallowRef

* fix(components): add missing property type for table

* refactor(components): improve time-picker types

* refactor(components): extract import type

* refactor(components): improve popper types

* refactor(components): upload list types

* fix(docs): fix type

* better type

* fix: remove index
2021-08-31 09:40:13 +08:00
feisha
45c292c874
fix: [el-cascader-panel] fix childrenData (close #3126) (#3131) 2021-08-30 22:36:55 +08:00
btea
4e19718553
feat(components): [el-image-viewer] emit close event (#3129) 2021-08-30 18:01:44 +08:00
Aex
88e193ce96
fix(components): [el-upload] revoke object url on item remove (#3135) 2021-08-30 17:50:24 +08:00
SongWuKong
d1b48949f5
fix(components): image no emit switch event (close #3132) (#3134) 2021-08-30 17:44:05 +08:00
Sanxiaozhizi
6b017045ae
feat(components): button-group add size (#3098)
* feat(components): button-group add size

* feat(components): add size validator

* docs: complete docs

* fix(components): fix typo

* refactor(components): move and rename tokens

* refactor(components): change size type

* fix: button-group reactive size
2021-08-29 12:33:35 +08:00
msidolphin
a15f5f293f
feat(components): select-v2 support filter-method & remote-search (#3092) 2021-08-29 09:46:38 +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
wanghaitao
c1445d80de
Table: fix Destructuring assignment bug (#2893) 2021-08-28 03:48:03 +08:00
BeADre
fdbbd15187
fix: remove useless and duplicate declaration (#3082) 2021-08-28 03:47: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
0617cdf9f8
test: fix test (#3109) 2021-08-27 19:13:37 +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
SongWuKong
7b79aae8ff
fix(input): autosize type problem (#3008) (#3012)
* fix(input): autosize type problem (#3008)

* fix(input/card):  ( autosize/bodyStyle )type problem (#3008)

* fix(input/card): (autosize/bodyStyle)type problem (#3008)

* fix(components): input/card (autosize/bodyStyle) type problem (#3008)

* fix(components): input/card (autosize/bodyStyle) type problem (#3008)
2021-08-26 17:00:18 +08:00
jeremywu
5f33956b76
fix(components): style path error for radio button (#3079)
- Fix style path issue for radio button and step component
2021-08-26 16:20:55 +08:00
jeremywu
6b2b7ec702
fix(components): exposing style folder for select dropdpwn (#3077)
- Fix the error importing in style file
- Update plugin usage for `babel-plugin-import`
2021-08-26 15:11:47 +08:00
Aex
13c1183cf7
fix(components): [table] avoid table border style conflict (#3064) 2021-08-26 09:58:58 +08:00
kooriookami
d9b7ef56ea
style(docs): Optimized style of documentation (#3010)
* style(docs): use css var

* style: update

* style: demo-icon use grid layout

* style: remove demo-block.vue style scoped

* docs: remove strange character
2021-08-26 09:57:56 +08:00
Haoqun Jiang
5d9037a8b5
fix: stop pinning vue peer dependency version (#3051)
* fix: stop pinning vue peer dependency version

It should be safe to trust `vue` to follow semver.
Pinning a peer dependency version is a bad idea because any change in
peer dependency requirement should be considered a breaking change in
theory.

On the other hand, `@vue/compiler-sfc` has a strict peer dependency
version requirement.
So pinning the `vue` version is likely to causing issues like
https://github.com/vitejs/vite/issues/4573 in the future.

* chore: update lockfile
2021-08-25 17:34:57 +08:00
msidolphin
d6975c61df
feat(select-v2): support allow-create feature (#3017)
* feat(select-v2): support allow-create feature

support allow-create feature and refactored part of select-v2's code

* fix: optimized code
2021-08-25 17:23:13 +08:00
tryag
3aff7bbbd5
fix(rate):use constant (#3011) 2021-08-25 17:11:50 +08:00
JeremyWuuuuu
b4342c5ef4 fix missing folders and umd locale builds and i18n docs for umd builds 2021-08-25 17:07:06 +08:00
Aex
84d8d7111e
fix(components): [descriptions] avoid conflict with el-table (#3005)
Co-authored-by: imwsk <syfzxx@vip.qq.com>

Co-authored-by: imwsk <syfzxx@vip.qq.com>
2021-08-25 11:00:02 +08:00
Sanxiaozhizi
c7e7224f77
refactor: rename el-submenu to el-sub-menu (#3037)
* refactor(components): rename el-submenu to el-sub-menu

* refactor(docs): rename el-submenu to el-sub-menu
2021-08-25 10:03:36 +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
Sanxiaozhizi
08e5fc8662
fix(message-box): fix type (#3038) 2021-08-25 09:47:08 +08:00
jeremywu
0738aed40c
fix(build) fix rollup full bundile issue (#3034) 2021-08-25 01:22:03 +08:00
jeremywu
ef94ac1a70
fix(build): upgrade vue to 3.2.x (#3031)
* chore(build): upgrade vue to 3.2.x

- Update Vue related dependencies version

* update vue version
2021-08-25 00:18:06 +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