Commit Graph

1052 Commits

Author SHA1 Message Date
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
Alan Wang
2431c6d44d
fix: el-image-viewer drag have problem (#3133)
* fix: el-image-viewer drag have problem

* Update packages/components/image-viewer/src/index.vue

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-09-01 11:04:42 +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
Alan Wang
90f77308a9
fix: [image-viewer] two-finger zoom in and out (#3114)
Co-authored-by: jia <Fire_Mars_j@163.com>
2021-08-31 17:19:39 +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
kooriookami
e7f18fbb4f
fix: [el-scrollbar] add missing off mouseup (#3143) 2021-08-31 14:51:21 +08:00
SongWuKong
5f847e3590
fix(components): [el-table] width init error (close #3087) (#3117) 2021-08-31 14:23:45 +08:00
msidolphin
b1d2f0de06
feat(components): select-v2 support keyboard operations (#3138) 2021-08-31 14:17:43 +08:00
jeremywu
03bc13e45a
fix(components): layout css lost (#3140)
- Fix the lost layout css
2021-08-31 10:04:40 +08:00
rikapo
9e0e4febd4
fix(locale): update korean translation (#3137) 2021-08-31 09:47:43 +08:00
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
kooriookami
f274bc97db
style: update calc style (#3090)
fix #3073
2021-08-27 14:39:53 +08:00
msidolphin
f108d6ca3d fix(theme-chalk): add the missing margin-left to transfer 2021-08-27 14:39:19 +08:00
JeremyWuuuuu
eebc688669 fix(build): marking side effects for webpack importing styles
- Marking file under `dist` and `theme-chalk/*.css` `theme-chalk/*.scss`
2021-08-26 20:55:57 +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
SongWuKong
1fa381040e
fix(form): el-from/src/token.d.ts file miss (#2979) (#2988)
* fix(form): el-from/src/token.d.ts file miss (#2979)

* fix(form): el-from/src/token.d.ts file miss (#2979)

* fix(form): el-from/src/token.d.ts file miss (#2979)

Co-authored-by: imswk <925>
2021-08-26 14:18:57 +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
kooriookami
4bf5ac6e16
perf: update tw lang (#3045)
re #2934
2021-08-25 14:52:14 +08:00
kooriookami
20c57e3e98
style: remove useless style (#3042) 2021-08-25 12:10:18 +08:00
jeremywu
e926d20179
fix(build): exposing installer function and version for umd build (#3041)
* fix(build): exposing installer function and version for umd build

* fix codepen code snippet error
2021-08-25 11:27:16 +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
kooriookami
e0095e3c1d
build: update browserslist (#3027) 2021-08-24 17:36:52 +08:00
kooriookami
b5e3058783
style(transfer): add text-algin (#3018)
fix #3004
2021-08-24 15:17:25 +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
wangbincyzj
21820acafc
Update token.ts (#3001)
fix interface FormItemContext.validate wrong parameter type
2021-08-24 09:45:51 +08:00
kooriookami
8920101abc
style(menu): change to border-box (#2999)
re #2998
2021-08-23 10:41:15 +08:00
Aex
22baee933e
fix(notification): icon color error (#2992) 2021-08-19 23:17:33 +08:00
kooriookami
138a35a9ea
style(checkbox): fix the size property is invalid (#2985)
* style(checkbox): fix the size property is invalid

fix #2982

* style: use flex
2021-08-19 19:49:57 +08:00
kooriookami
17628c2fb5
fix(link): fix style (#2990) 2021-08-19 19:48:50 +08:00
Aex
f3536b899f
feat(link): remove href prototype when empty (#2969) 2021-08-19 17:09:17 +08:00
Senasiko
a0e9eb2027
improvement(tabs): optimize tab-bar offset calc (#2844)
* improvement(tabs): optimize tab-bar offset calc

* test(tabs): add tab active bar offset test
2021-08-19 10:31:25 +08:00
云游君
47516e75ed
feat(card): add var background-color & prepare for dark mode (#2912) 2021-08-19 10:30:51 +08:00
云游君
77a4cbf1b8
feat(date-picker): custom date-editor width (#2836) 2021-08-19 10:30:26 +08:00
Aex
61a305547c
fix(pagination): icon center aligned (#2962) 2021-08-19 09:59:51 +08:00
CallMeSoul
8287f90521
更新骨架屏自定义模板时的key值 (#2944)
* 更新骨架屏自定义模板时的key值

之前骨架屏自定义模板时key都是0,因为没有传入模板作用域。现在把count循环的i传入作用域,解决该问题

* fix warning

fix the linter issue before this merged
2021-08-19 09:50:02 +08:00
Zapic
f55c320354
fix(carousel): a invalid css rule by typo (#2951) 2021-08-19 01:16:00 +08:00
inottn
9d2d30ce46
fix(dropdown): add css var for popper (#2909) 2021-08-18 12:56:13 +08:00
Folee
b4e1a7253c
fix(pagination): Fix that current-page and page-size do not support hyphen style when using v-model (#2884)
* fix(pagination): Fix that current-page and page-size do not support hyphen style when using v-model

* fix(pagination): Fix the bug that the value of hasCurrentPageListener is always true
2021-08-18 11:21:06 +08:00
ioslh
c5c816c094
fix: pagination locale key correction (#2889) 2021-08-18 11:13:56 +08:00
iamkun
264a5255eb
feat: add 'calendar-change' event to date-range datetime-range picker (#2964) 2021-08-18 08:49:19 +08:00
云游君
a0e261f75b
fix(style): allow custom alone color sass var (#2963) 2021-08-17 23:30:30 +08:00
kooriookami
9a9d70be1c
perf(scrollbar): add min-size prop (#2916)
* perf(scrollbar): add min-size prop

re #2906

* perf: add docs

* perf: remove console

* perf: perfect

* perf: add code annotation

* perf: perf precision

* perf: update
2021-08-16 14:20:48 +08:00
Hatem Satouri
7fb574a161
feat(switch): add border color (#2933) 2021-08-16 09:55:35 +08:00
Victor Vedenin
2067e6587c
fix(badge): fix dot-badge color (#2943)
Fix dot-badge color. It was interrupted by primary color
2021-08-16 09:55:26 +08:00
qiang
f03b12bdf9
fix(tree): undefined parent cause error on SSR (#2942) 2021-08-16 09:52:16 +08:00
kooriookami
54453257a2
fix(tabs): add v-resize directive (#2886)
fix #2660
2021-08-16 09:50:36 +08:00
云游君
9f76045da6
refactor(var): alert/badge/link/message/message-box/notification/tag (#2892) 2021-08-12 09:47:32 +08:00
Liam Li
8cd6dd6c70
fix(comments): update var button comments (#2896)
update var button comments
2021-08-11 11:19:41 +08:00
clam
535e1b35ec
fix(locale): update error url and remove useless code (#2852)
Co-authored-by: zhangweiwei <zhangweiwei12@huawei.com>
2021-08-10 11:33:04 +08:00
云游君
5bbf348ddd
refactor(color): add css var color for button & fix style for datepicker (#2869)
* refactor(color): add css var color for button & fix style for datepicker

* refactor(button): generate var in class for type

* refactor(var): remove color light-i css var
2021-08-09 09:01:38 +08:00
云游君
f22130acfa
refactor(tag): use inherit css var way to simplify tag (#2878) 2021-08-09 08:56:35 +08:00
云游君
25995df924
refactor(transition): use sass map refactor & rename some transition (#2879) 2021-08-09 08:51:57 +08:00
Kisama
08c41150ab
fix(select): options display fix when allow-create, also empty & entered #2826 #2854 (#2830)
* fix(select):created option showed incorrectly#2826

fix https://github.com/element-plus/element-plus/issues/2826

* fix(select): options display fix when allow-create, also empty & entered

fix #2826 #2854

Co-authored-by: hanx316 <xuanxinhan@vip.qq.com>
2021-08-08 16:11:39 +08:00
云游君
cdc6a6ac61
feat(table): add new css var background-color (#2866) 2021-08-08 11:40:05 +08:00
云游君
e5536eb933
fix(drawer): missing css var, close #2848 (#2861) 2021-08-07 12:34:53 +08:00
云游君
594eb5b33f
fix(button): when(circle) use button-padding-vertical & add size demo (#2860) 2021-08-07 00:06:33 +08:00
云游君
0d47109782
fix(cascader): missing cascader-panel css var & add default var for thumb (#2847) 2021-08-05 20:53:56 +08:00
Simona
665ae6bd20
fix(cascader): revert #2344 to fix not update when options change (#2843)
fix #2837, revert #2344
2021-08-05 20:50:53 +08:00
云游君
a32ee8171c
fix(date-picker): color-text has been renamed to text-color (#2835) 2021-08-05 20:47:20 +08:00
云游君
0b0f7a8eeb
fix(build): throw sass exception for ci (#2832) 2021-08-04 22:53:32 +08:00
jeremywu
b05b9c1433
fix(style): sass compiling error (#2831)
- Fix sass compiling error
- Fix cascader transparent issue
2021-08-04 19:26:53 +08:00
jeremywu
7c97bc5283
fix(project): node is not exporting issue (#2827)
- Fix issue that caused ts definition file not generating
2021-08-04 18:28:08 +08:00
云游君
57b1ccf85b
fix(var): fix input/radio/checkbox used by other components (#2821) 2021-08-04 15:20:14 +08:00
qiang
42a00d3001
fix(dropdown): styles error (#2823) 2021-08-04 14:49:50 +08:00
云游君
d70d358c8c
fix(theme-chalk): fix fonts build by gulp (#2817) 2021-08-04 11:25:22 +08:00
云游君
03d9617776
refactor(var): move css var from root to class (#2808)
* refactor(var): move css var from root to class

* fix(var): fix typo & replace some var
2021-08-03 22:25:26 +08:00
zhaozhongyu
bcf48a2c8d
fix: select option does not delete in onBeforeMount (#2753)
Co-authored-by: zhaozhongyu <zhaozhongyu@xunlei.com>
2021-08-03 09:37:52 +08:00
Adrian Andersen
c96b43e14b
fix(locale): update Norwegian translation file (#2789) 2021-08-03 09:12:51 +08:00
云游君
a2dba425a0
chore(build): remove useless dependencies & use ts for gulp & add progressbar (#2792)
* refactor(theme-chalk): upgrade to ts & renive gulp-mincss with gulp-clean-css

* feat(build): add clean-css colorful log && add progressbar for webpack
2021-08-03 09:12:34 +08:00
云游君
3c2ed958f4
fix(checkbox): checkbox bordered padding & height (#2784) 2021-08-03 08:55:22 +08:00
zhaozhongyu
2111d8a88f
fix: select-v2's dropdown width wrong if create in style(display: none) (#2791)
Co-authored-by: zhaozhongyu <zhaozhongyu@xunlei.com>
2021-08-03 08:51:08 +08:00
云游君
fe9600c181
feat(var): var sass map for components (#2778)
* feat(var): var sass map for components

* feat(var): migrate var sass map for all components
2021-08-01 18:10:30 +08:00
Aex
0f2181abc3
fix(input): Improve inputStyle reference (#2780) 2021-08-01 16:04:30 +08:00