Commit Graph

1386 Commits

Author SHA1 Message Date
Summer
60be401c89
feat(components): [el-virtual-scroll-bar] handle click event (#3308)
Co-authored-by: 徐志伟 <zwxu01@wisedu.com>
2021-09-09 12:04:11 +08:00
Aex
03f02b5554
refactor(utils): improve debug warn (#3302) 2021-09-09 11:49:48 +08:00
Aex
6408d3cce6
feat(components): [el-badge] support color of type when is-dot (#3279)
* feat(components): [el-badge] apply color of type when isDot

* fix(components): [el-badge] change default type to danger
2021-09-07 17:17:39 +08:00
btea
0b1f74154b
fix(components): [el-alert] change the border-radius variable (#3271) 2021-09-07 13:31:14 +08:00
BeADre
1d445d7ad2
fix(components): [el-menu] fix the infinite loop (#3263) 2021-09-06 23:05:23 +08:00
三咲智子
23ab0e61a8
chore(project): update package.json (#3246)
* chore(project): update package.json

* chore(project): add browserslist
2021-09-05 21:42:37 +08:00
Aex
ac7c226196
chore(project): upgrade dependencies to latest minor (#3242)
* chore(project): bump @babel/cli from 7.12.1 to 7.15.4

* chore(project): bump @babel/core from 7.11.6 to 7.15.5

* chore(project): bump @babel/plugin-proposal-class-properties to 7.14.5

* chore(project): bump @babel/plugin-transform-runtime to 7.15.0

* chore(project): bump @babel/preset-env from 7.11.5 to 7.15.4

* chore(project): bump @babel/preset-typescript from 7.10.4 to 7.15.0

* chore(project): bump babel-loader from 8.1.0 to 8.2.2

* chore(project): bump babel-plugin-module-resolver from 4.0.0 to 4.1.0

* chore(project): bump @popperjs/core from 2.4.4 to 2.10.1

* chore(project): update babel.config.js

* chore(project): update jest.config.js

* chore(project): bump @typescript-eslint/eslint-plugin to 4.30.0

* chore(project): bump @typescript-eslint/parser from 4.29.3 to 4.30.0

* chore(project): bump algoliasearch from 4.4.0 to 4.10.5

* chore(project): bump transliteration from 2.1.11 to 2.2.0

* chore(project): bump typescript from 4.3.5 to 4.4.2

* chore(project): bump esbuild from 0.12.5 to 0.12.25

* chore(project): bump file-loader from 6.1.0 to 6.2.0

* chore(project): bump rollup from 2.28.2 to 2.56.3

* chore(project): bump rollup-plugin-esbuild from 4.2.3 to 4.5.0

* chore(project): bump sass from 1.37.0 to 1.39.0

* chore(project): move sass & typescript to devDependencies
2021-09-05 19:57:35 +08:00
Aex
7fc2d6bc7d
chore(project): upgrade dependencies to latest patch (#3241)
bump lodash from 4.17.20 to 4.17.21
bump url-loader from 4.1.0 to 4.1.1
bump chalk from 4.1.0 to 4.1.2
bump cross-env from 7.0.2 to 7.0.3
bump components-helper from 1.0.2 to 1.0.4
bump @vue/babel-plugin-jsx from 1.0.0 to 1.0.7
bump @vue/compiler-sfc from 3.2.6 to 3.2.8
bump @vue/component-compiler-utils 3.2.0 from to 3.2.2
2021-09-05 16:27:17 +08:00
kooriookami
c2b6c30f92
feat(components): [el-timeline] add hollow prop (#3229)
* feat: timeline add hollow prop

* feat: update

* feat: format

Co-authored-by: kooriookami <18114643032@163.com>
2021-09-05 11:07:24 +08:00
三咲智子
519630a813
style(components): [el-image] format code (#3238) 2021-09-05 01:25:30 +08:00
zycoJamie
c572d5e6e3
fix(components): lazy image is not work when it changes src (#3189) 2021-09-05 01:06:19 +08:00
Aex
2f9cdc74ce
chore(project): improve prettier format (#3236) 2021-09-05 00:53:31 +08:00
三咲智子
eb932c18c0
fix(components): [el-menu] fix warn & listen item (#3225)
* feat(directives): resize add element argument

* fix(components): [el-menu] fix warn & listen item

* chore: move import order

* fix(components): remove debounce
2021-09-04 19:44:11 +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
msidolphin
e4032821a8
fix(theme-chalk): [el-form] no display red asterisk when width is auto (#3222)
fix #3221
2021-09-03 16:46:19 +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
linrongbin16
f30bb8853e
fix(chore): typo package.json (#3214) 2021-09-03 13:47:28 +08:00
sunnuan
0dacfb1247
style: fix missing import (#3212)
Co-authored-by: sunnuan <sunnuan>
2021-09-03 11:34:16 +08:00
三咲智子
80fb61691d
fix: [el-form-item] add min-width (#3208) 2021-09-03 10:14:46 +08:00
Aex
21cdf61d20
refactor(components): Improve calendar date range validate (#3156)
* fix(components): Improve calendar date range validate method

* chore(components): Add some comments and references

* fix(components): change `console.warn` to `warn`
2021-09-03 09:59:45 +08:00
云游君
8654e7d54a
fix: missing timepicker css var (#3204) 2021-09-03 09:58:18 +08:00
msidolphin
9c5c17a5d4
fix(components): [el-input-number] model:value not required (#3190) 2021-09-03 09:30:42 +08:00
SongWuKong
12b5d76020
fix(components): tabs dynamic text (#3174) (#3180)
* fix(components): tabs dynamic text (#3174)

* fix(components): tabs dynamic text (#3174)
2021-09-03 08:19:28 +08:00
kooriookami
f03a8fe07e
perf: [el-menu] only vertical mode has transition (#3200) 2021-09-02 21:08:59 +08:00
sunnuan
d8487f29a6
style: fixed style (#3202)
Co-authored-by: [liuyaqian] <[liuyaqian@geekplus.com]>
2021-09-02 18:30:39 +08:00
Aex
01b867896e
style(var): $--border-color-hover var reference (#3179) 2021-09-02 16:18:24 +08:00
Aex
eb8ec6fb7a
fix(components): descriptions cell class (#3195) 2021-09-02 15:01:13 +08:00
msidolphin
d6bf132dd4
fix(components): collapse incorrect export statement (#3185) 2021-09-02 09:45:57 +08:00
神楽坂みずき
8b801cfd8a
fix(utils): make width valid with calc (#3181)
fix #3032
2021-09-02 09:45:15 +08:00
Taosh
e8a66adffd
fix(components): [el-form-item] dom element null checking (#3172) 2021-09-01 17:49:39 +08:00
Aex
017eb705d3
fix(utils): improve element.addEventListener (#3173) 2021-09-01 17:38:54 +08:00
kooriookami
614c09eead
perf: perf menu add back arrow-icon and overflow (#3167)
* perf: perf menu add back arrow-icon and overflow

* perf: optimize resize
2021-09-01 15:43:57 +08:00
云游君
eacd21f118
style(table): allow custom tr background-color (#3166)
* style(table): allow custom tr background-color

* style(table): format table docs & add status tr example by var
2021-09-01 15:17:13 +08:00
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
云游君
e6013c1e41
refactor(button): use sass map & add outline:none for focus (#2774) 2021-08-01 00:40:00 +08:00
云游君
a2e1491411
refactor(slider): migrate css var & use sass map for message (#2772) 2021-07-30 17:40:22 +08:00
云游君
2fb139a3e3
refactor(link): remove unused link variables & add sass map (#2768) 2021-07-30 16:22:23 +08:00
Aex
e4891ab023
feat(space): add fill support (#2716)
* feat(space): add fill support

* feat(space): Add fill add fillPercentage support

* docs(space): Add fillPrecentage explain

* refactor(space): rename fillPercentage to fillRatio

* docs(space): add description of the fill property

* feat(space): add test for fill
2021-07-30 11:39:07 +08:00
Summer
e0b79f8eda
LabelWrap: fix label-width bug (#2742)
* LabelWrap: fix label-width bug

* LabelWrap: add unit test

* LabelWrap: update unit test
2021-07-30 11:38:48 +08:00
jeremywu
a7b4b61dc1
feat(icon): introduce-el-icons-into-ep (#2766)
- Add @element-plus/icons as dependency.
- Update el-icon.
- Update icon.md for all languages.
2021-07-30 11:29:25 +08:00
云游君
a4275b94f2
refactor(badge/card/dropdown/rate): migrate css var & use sass:map (#2764)
* refactor(badge): migrate css var & use sass:map

* refactor(rate): migrate css var & use sass:map

* refactor(card): migrate css var & use sass:map

* refactor(dropdown): migrate css var & use sass:map
2021-07-30 11:25:47 +08:00
qiang
51beb99d0e
fix(tooltip): styles error (#2763) 2021-07-29 21:42:35 +08:00
Norbert Kowalik
731209e140
feat(input) Removed validator for autocomplete attribute (#2757)
* [input] Removed validator for autocomplete attribute

* [input] fixed wrong dash used in docs

* [input] Docs update in zh-CN/es/fr/jp
2021-07-29 13:48:09 +08:00
msidolphin
8ccbf7b82e
test(select-v2): complete unit tests (#2739) 2021-07-28 20:15:22 +08:00
0song
93053ee836
fix: time picker adjust spinner bug (#2743) 2021-07-28 20:14:53 +08:00
jeremywu
54e4a4211c
fix(image-viewer): image-viewer export error (#2754)
- Fix image viewer image error.
2021-07-28 20:14:36 +08:00
0song
90d901af3e
fix: date-time picker sameday select time bug (#2747) 2021-07-28 20:12:10 +08:00
zycoJamie
88a327fa4f
fix(date-picker): date-picker focus end-time resets start-time (#2290) 2021-07-28 17:15:44 +08:00
BeADre
74d03dd173
fix(input-number): fix style (#2738) 2021-07-28 15:32:11 +08:00
jeremywu
3d6259263a
fix(locale): inject locale for modal like components (#2737)
- Add a runtime locale object cache for modal components to use
2021-07-28 12:20:23 +08:00
Daniel Jost
f3784cfb62
[types.ts] Fixed Nullable type for RefElement (#2730)
* Fixed Nullable type for RefElement

* Changed undefined to null
2021-07-28 10:16:41 +08:00
云游君
b1e81d5436
refactor(backtop): migrate css var (#2711) 2021-07-28 10:16:33 +08:00
咖喱
8f39b7cc6b
fix(message): using iconClass causes "el-message__icon" to be lost (#2709)
Co-authored-by: 穆建华 <galimu@foxmail.com>
2021-07-28 10:07:51 +08:00
msidolphin
ecd6e19c26
fix(input): no trigger input event when clear value (#2723)
fix #2688
2021-07-28 09:24:50 +08:00
msidolphin
1b8d27513d
fix(scrollbar): the problem of ScrollbarDirKey being deleted (#2722) 2021-07-28 09:24:08 +08:00
云游君
81b39e15de
fix(var): map merge default var (#2727) 2021-07-28 09:18:15 +08:00
云游君
c8acaebabd
refactor(var): simplify checkbox var & move transition to root (#2729) 2021-07-28 09:16:44 +08:00
云游君
30918a8d97
refactor(date-picker): migrate css var (#2689)
Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-07-27 10:40:22 +08:00
Wenfang Du
22c2791138
fix(radio-button): checked should sync with state (#2699)
closes #2694
2021-07-27 09:53:13 +08:00
msidolphin
89c01de6f1
fix(notification): improve type definition and define closeAll function (#2705)
fix #2696
2021-07-27 09:09:12 +08:00
mistery-li
52b474525d
fix(message): fixed message iconClass not working (#2695)
"fix #2692"

Co-authored-by: tujin_li <tujin.li@gshopper.com>
2021-07-27 09:08:46 +08:00
云游君
3f4e0f6f33
refactor: migrate tree/popup/form/timeline-item css var (#2697) 2021-07-27 09:02:46 +08:00
云游君
62976c27e3
fix(avatar): css property line-height (#2702) 2021-07-26 22:40:48 +08:00
云游君
6bdff00285
refactor(scrollbar): migrate css var (#2698) 2021-07-26 19:58:19 +08:00
云游君
16a45e6001
refactor(color): rename color-text to text-color (#2691)
* refactor(color): rename color-text to text-color

* fix(color): text-color typo
2021-07-26 17:33:39 +08:00
云游君
bf5e510f9f
refactor(tooltip): migrate css var (#2686) 2021-07-26 15:12:04 +08:00
云游君
d4cfd29248
refactor(popover): migrate css var (#2687) 2021-07-26 15:06:05 +08:00
0song
243e2c47f8
fix: add ElConfigProvider css file (#2679) 2021-07-26 11:42:12 +08:00
jeremywu
07106da33a
fix(locale): dayjs related i18n issue (#2678)
- Fix dayjs related i18n issue.
2021-07-26 10:51:32 +08:00
jeremywu
c42f905c10
refactor: i18n implementation (#2670) 2021-07-26 00:24:30 +08:00
haoming
d55ca77137
fix(input): input maxlength calculate the correct length (#2654)
* fix(input): input maxlength calculate the correct length

* docs(input): Update maxlength comment

* fix(input): format code and remove upperLimit calculated attributes

* fix(input): props.maxlength is converted to number type

* docs(input): modify maxlength type
2021-07-25 22:48:47 +08:00
云游君
3181258403
refactor(border): migrate css var & simplify docs (#2663) 2021-07-25 16:27:07 +08:00
jeremywu
c8d65bf43d
feat(locale): locale-provider (#2662)
- Add a component for providing configs
- Add `use-locale` hooks into hooks for composable usage
- Add `use-locale` for `config-provider` to allow user to provide locale config via `react-like` API
- Add test cases against these new features
2021-07-25 15:26:00 +08:00
Jimmy
b609145f6a
style: remove bg-color of menu items at ':focus' state in vertical mode (#2659) 2021-07-25 15:13:21 +08:00
云游君
0a0db513e3
refactor(collapse): migrate css var (#2661) 2021-07-25 14:54:55 +08:00
云游君
6166d7ff21
refactor(color): migrate all color-text var & simplify color docs (#2656) 2021-07-25 00:01:34 +08:00
msidolphin
80a44d87a5
fix(select-v2): adjust the trigger conditions of focus and blur (#2650) 2021-07-24 23:51:53 +08:00
JeremyWuuuuu
48fd68bdf1 fix(locale): fix default translate method
- Fix the wrong logic of default translate method
2021-07-24 20:07:10 +08:00
内小子
2493048152
fix: ondemand style lost (#2648) 2021-07-24 20:06:02 +08:00
Mao NianYou
d6fecf9b32
fix(select): should not stop at invisible options by up and down (#2585)
* fix(select): should not stop at invisible options by up and down

this also fix another problem (#2562): about unselect user-created tag in ElSelect

fix #2563 #2562

* fix(select): checkDefaultFirstOption: exlucde disabled options

fix #2562 #2563

* test(select): add test for "default-first-option" (with navigation)

check default first option

re #2585
2021-07-24 11:41:23 +08:00
msidolphin
5b16f20725
fix: missing install & locale issue (#2647) 2021-07-24 00:47:20 +08:00
云游君
e3bf8ad3b3
refactor(empty): migrate css var (#2644) 2021-07-23 23:14:07 +08:00
云游君
741fd86f1d
refactor(descriptions): migrate css var (#2643) 2021-07-23 23:13:31 +08:00
云游君
0154b542e5
refactor(menu): migrate css var (#2642) 2021-07-23 23:13:08 +08:00
云游君
4ae485123e
refactor(dialog): migrate css var (#2641) 2021-07-23 23:12:45 +08:00
云游君
7e3b9df2da
refactor(transfer): migrate css var (#2639) 2021-07-23 23:11:41 +08:00
云游君
02f3c7d66d
refactor(carousel): migrate css var (#2638) 2021-07-23 23:11:00 +08:00
云游君
fc40a3bbfb
refactor(result): migrate css var (#2637) 2021-07-23 23:09:50 +08:00
jeremywu
2bba6d570f
fix(locale): Fix locale translation method (#2645)
- Fix defaultTranslation method that causes error
2021-07-23 23:02:16 +08:00
云游君
c4d1f547eb
refactor(link): migrate css var (#2622) 2021-07-23 17:06:53 +08:00
msidolphin
60c13b6f6b
test(select-v2): add some test cases & fix selectLabel/multiple-limit issue (#2626) 2021-07-23 17:06:01 +08:00
msidolphin
7aa732892d
style(select-v2): optimized the style (#2628) 2021-07-23 17:05:39 +08:00
jeremywuuuuu
4e5ef0d3a8 build(project): update bundle strategy
- Update the build script for generating *.d.ts files
- Update package.json module entry.
- Update CI pipeline node version
- Reorganized main bundle structure
- Update i18n functionalities
2021-07-23 16:46:53 +08:00
kooriookami
6ddd84d61a
perf(date-picker): shortcuts support function type (#2617)
re #2598
2021-07-22 17:49:52 +08:00
anguiao
82bd102995
fix(style): ensure that the loading icon is inline (#2550) 2021-07-22 11:21:28 +08:00
kooriookami
47bc9f7f83
perf(affix): expose update function (#2603)
re #2594
2021-07-22 08:30:17 +08:00
云游君
912cb45e11
refactor(avatar): migrate css var (#2601) 2021-07-21 22:51:41 +08:00
ZenQuan
6a7b9a4d8b
feat(autocomplete): optimize some const of autocomplete (#2593)
* feat(autocomplete): optimize some const of autocomplete

* feat(autocomplete): optimize some const of autocomplete
2021-07-21 22:47:51 +08:00
云游君
0bf673def1
refactor(tag): migrate css var (#2592) 2021-07-21 20:34:49 +08:00
云游君
d05e5a6b4a
refactor(color): migrate color css var & simplify color box docs (#2589)
* refactor(color): migrate color css var & simplify color box docs

* Update unit-test.yml

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-07-20 22:58:06 +08:00
hangzou
65924dd40c
feat: new hook: useCssVar for inject custom css vars (#2547)
* feat: new hook: `usecssvars` for inject custom css vars

* perf: optimize usecssvar logic

* test: test css var
2021-07-20 15:26:17 +08:00
云游君
57b23f5544
refactor(table+calendar): migrate css var (#2588)
* refactor(table): migrate css var

* refactor(calendar): migrate css var
2021-07-20 15:16:03 +08:00
云游君
c9f03eaee4
refactor(pagination): migrate css var (#2587) 2021-07-20 13:18:24 +08:00
云游君
43b02d2f73
refactor(skeleton): migrate css var (#2586) 2021-07-20 13:16:54 +08:00
云游君
c2661e9363
refactor(switch): migrate css var (#2584)
* refactor(switch): migrate css var

* refactor(switch): remove switch var in common
2021-07-20 12:53:09 +08:00
云游君
2663d7e219
refactor(button): migrate css var (#2582) 2021-07-20 12:51:52 +08:00
kooriookami
a0e5776ea3
fix(descriptions): fix the last td colspan (#2567)
re #2559
2021-07-19 20:15:24 +08:00
云游君
4ffb2d164c
refactor(cascader): migrate css var (#2578) 2021-07-19 20:11:27 +08:00
云游君
e430bd3d49
refactor(message-box): migrate css var (#2568) 2021-07-19 19:38:44 +08:00
云游君
9744f089f0
refactor(color): add error var (#2565) 2021-07-19 17:28:52 +08:00
inottn
c49b84e81f
fix(time-select): fix editable prop and add disabled prop (#1899)
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2021-07-19 15:42:18 +08:00
云游君
a08a6c5670
refactor(message): migrate css var (#2560) 2021-07-19 14:33:22 +08:00
jeremywu
425567ec3b
refactor(hooks): refactor transition (#2556)
* refactor(hooks): refactor transition

- Introduce new hook named useTransition
- Update transition.scss with css vars

* - Align variable name.

* - Update transitions to cssvars

* - Address PR comments
2021-07-18 20:08:58 +08:00
云游君
deac9dd213
refactor(notification): migrate css var (#2552) 2021-07-16 14:24:25 +08:00
msidolphin
c8244b381b
feat(cascader): supports popper-append-to-body feature (#2544)
supports popper-append-to-body feature and improved documentation for cascader and select

fix #2500
2021-07-16 09:10:55 +08:00
云游君
47c40708b8
refactor(alert): replace all css var (#2545) 2021-07-16 09:00:30 +08:00
云游君
6e46c23000
refactor(color): css var for border-color & simplify border-color docs (#2540) 2021-07-15 21:06:30 +08:00
Square Coin
d17d6a5b49
feat(menu): improve handleItemClick (#2514)
* feat(menu): improve handleItemClick function

* chore(menu): add description of handleItemClick

* feat(menu): better name

* Address comments

* Update doc for all languages

Co-authored-by: liik <linyunqianpp@126.com>
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-07-15 15:18:02 +08:00
jeremywu
c28d7b3738
feat(hooks): redesign popper apis (#2529)
* feat(hooks): redesign popper apis

- Redesign use-popper APIs to make it more adaptable.

* - Reorganize the popper APIs
2021-07-15 14:08:13 +08:00
云游君
a99b20a8c1
refactor(typography): add css var for typography & simplify example code (#2531)
* refactor(typography): add css var for typography & simplify example code

* fix: add @use "sass:map" for _var.scss
2021-07-15 13:33:22 +08:00
云游君
ab8250d85a
refactor(container): header/footer/aside size by css variables (#2530) 2021-07-15 08:45:29 +08:00
Dinarte Jesus
b791aca744
feat(formItem): Change slot label formItem to scopedSlots (#2522)
* Change slot label from formItem to scoupedSlot

* Improve docs with scoped value

* Update documentation for scopedSlots on FormItem
2021-07-15 08:44:29 +08:00
msidolphin
270f4bc97a
refactor(container): header/footer/asdide size by css variables (#2526)
fix #2482
2021-07-14 22:00:15 +08:00
bastarder
5b52f21311
fix(tree): fix el-tree accordion attribute only takes effect on root nodes (#1996) (#2523)
Co-authored-by: Qian Jie <jie.qian@blockheaders.com>
2021-07-14 18:00:51 +08:00
msidolphin
d1dc55dc65
fix(select): filtered empty groups (#2507)
fix #2506
2021-07-14 15:01:00 +08:00
jeremywu
2e097605dc
feat(hooks): export popperjs common attributes (#2520)
- Export popperjs/core common attributes for reusing
2021-07-14 14:59:39 +08:00
msidolphin
08c60ed85b feat(checkbox): label supports object type
re #2509
2021-07-14 11:55:28 +08:00
云游君
37d3d778c1
chore(style): lint scss by prettier (#2515) 2021-07-14 09:27:52 +08:00
JeremyWuuuuu
a7a8f29a19 refactor(popper): use-popper-hook for popper
- Add new use popper hook into the codebase for replacing the current `use-popper`
2021-07-13 17:49:00 +08:00
清尘
8a9a0e38df
fix(select-v2): fix select-v2 inputWidth is not defined (#2510) 2021-07-13 17:35:49 +08:00
itreetree
10d24a76ab
fix(menu): fix el-menu activeIndex bug (#2468) 2021-07-13 16:57:05 +08:00
云游君
0074f334fe
refactor: generate color var by sass map (#2504) 2021-07-13 10:26:04 +08:00
msidolphin
c1770d8877
fix(select): hoverIndex has incorrect when popover is turned on again (#2469) 2021-07-13 09:42:13 +08:00
C.Y.Kun
f6b17cb79a
fix(option): selectemitter was not turned off when it was destroyed (#2450) 2021-07-13 09:25:37 +08:00
msidolphin
6305f7af80
fix(time-picker): model-value should sync when disable-attrs was updated (#2462) 2021-07-13 09:25:04 +08:00
BeADre
1e44af0b91
fix(table-column): parse width and minWidth (#2466)
* fix(table-column): parse width and minWidth

* fix: modify type of value
2021-07-12 18:15:17 +08:00
YiJie
1cdf7400db
feat(lading): custom loading svg (#2456)
* feat(loading): support customize svg

* feat(loading): unit test customize svg

* docs(loading): simple customize svg demo

* docs(loading): supplement composition api documents

* docs(loading): make the load SVG stop rotating

* docs(loading): prompt users to prevent XSS attacks

* docs(loading): i18n

* docs(loading): fix md code wrong

* docs(loading): fix md code wrong
2021-07-12 18:13:19 +08:00
云游君
4676be7c47
refactor: button/radio/input size by sass map (#2502) 2021-07-12 18:13:02 +08:00
qige2016
f560b39ce7
fix(form): fix no effect when label-width prop is auto (#2480)
* chore(form-item): fix code style

* fix(form): fix no effect when label-width prop is auto

* fix(form): fix does not work when set label-position to left

* test(form): add a test case

* fix(form): replace CSSStyleDeclaration with CSSProperties

* chore(form): fix types import
2021-07-12 15:19:27 +08:00
kooriookami
f651dca37b
fix(time-picker): fix missing blur methods and spelling error (#2457)
* fix(time-picker): fix missing blur methods and spelling error

* fix: update
2021-07-12 11:07:23 +08:00
msidolphin
abd902acd2
fix: upload file-list is updated but without re-rendered (#2405) (#2460) 2021-07-12 11:03:00 +08:00
msidolphin
e2f8f382c3
fix: more than one component in table_column.spec.js (#2461) 2021-07-12 11:01:47 +08:00
云游君
5faa7ec530
feat(style): migrate checkbox css3 var (#2493) 2021-07-12 09:27:49 +08:00
Summer
d49a0e13df
ElDynamicSizeList: fix horizontal scrollbar bug (#2494)
* ElDynamicSizeList: fix horizontal scrollbar bug

* Scrollbar: delete never used var
2021-07-12 09:19:17 +08:00
ioslh
d334142d0d
refactor(pagination): pagination internal logic refactored (#2491)
* refactor(pagination): pagination internal logic refactored

* improvement(pagination): improve pr by better naming and misc
2021-07-11 13:12:22 +08:00
kooriookami
78ef773b36
fix(form): add default value of label-width (#2492)
fix #2490
2021-07-10 21:33:14 +08:00
云游君
7dc55a7576
feat(style): use css3 var refactor base variable (#2478)
* feat: add basic css3 var

* feat(style): migrate base style z-index
2021-07-10 20:49:06 +08:00
kooriookami
f44211da86
fix(time-select): fix missing blur method (#2477)
fix #1925
2021-07-10 20:46:51 +08:00
Zzm
3de8090628
chore: fix code style (#2463) 2021-07-07 15:28:51 +08:00
msidolphin
4622b12869
docs: improve description of date-picker value-format prop (#2416) (#2449) 2021-07-06 15:36:38 +08:00
kooriookami
3d161f785a
perf(descriptions): split type.ts file (#2447)
* perf(descriptions): split type.ts file

* fix: add type
2021-07-06 10:16:25 +08:00
qige2016
c34ffaa386
chore(avatar): let -> const (#2442)
* chore(avatar): let -> const

* fix(avatar): fix fit prop validator

* chore(avatar): remove fit prop validator
2021-07-06 10:10:59 +08:00
qige2016
7bc6baf495
refactor(breadcrumb): refactor the type definition of breadcrumb (#2443)
* refactor(breadcrumb): refactor the type definition of breadcrumb

* chore(breadcrumb): fix types import
2021-07-06 09:54:06 +08:00
jeremywu
6b4c04fd0a
feat(hooks): add use-timeout hook (#2439)
* feat(hooks): add use-timeout hook

- Add use timeout hook for register timeout callbacks
- Add test cases against add-timeout

* resolve linter issue
2021-07-06 07:49:49 +08:00
msidolphin
1989eed7f0
fix: add missing styles (#2423) (#2444) 2021-07-06 07:49:22 +08:00
msidolphin
627b1a941c
fix: table selectable callback index incorrect issue (#2393) 2021-07-05 10:47:08 +08:00
Hgwxxdd
1f6fc8c38b style(mixin): variable is assigned but never used 2021-07-05 10:17:03 +08:00
yanzhuang
4e9ddcdb53
Utils: fix isScroll (#2433) 2021-07-05 09:16:00 +08:00
kooriookami
e61d08ed29
feat(scrollbar): add always show props and control scrollbar methods (#2428)
* feat(scrollbar): add always show props and control scrollbar methods

re #1751 #2004

* feat: update for review
2021-07-05 09:10:50 +08:00
JeremyWuuuuu
b66044db84 Finish unfinished test case 2021-07-05 08:50:36 +08:00
JeremyWuuuuu
5f8b25bc31 feat(hooks): add use-model-toggle hook
- Add use model hook to the hooks for toggleable model common logic
2021-07-05 08:50:36 +08:00
JeremyWuuuuu
d970108d16 feat(hooks): add use-transition-fallthrough-hook
- Add transition-fallthrough-hook to get common logic extracted.
2021-07-05 08:49:45 +08:00
kooriookami
af88436258
chore(virtual-list): remove useless line (#2431) 2021-07-03 22:30:23 +08:00
Herrington Darkholme
a7df202724
fix: remove duplicate cell-contextmenu (#2426)
duplicate commits
2021-07-03 19:04:27 +08:00
jeremywu
913aaafabb
feat(hooks): add use-teleport hook (#2421)
* feat(hooks) add use-teleport hook
- Add teleport hook for teleported components
- Add teleport hooks hepler methods
- Add coresponding testing cases

* - add use teleport to the exporting entry
2021-07-03 19:04:03 +08:00
kooriookami
f2e3dcb68e
feat(descriptions): add new feature for customized style (#2358)
* feat(descriptions): add new feature for customized style

add props: width, min-width, align, label-align, class-name, label-class-name

re #1976 #2353

* feat: update docs

* feat: update docs

* feat: update

* feat: separate type
2021-07-03 15:01:55 +08:00
msidolphin
dae1d88e51 fix: warning in console when cell-contextmenu triggered (#2404) 2021-07-02 19:18:42 +08:00
0song
90ebffbcb1 fix(table): add cell-contextmenu emit event (#2074) 2021-07-02 19:18:00 +08:00
msidolphin
012c432816 fix: table-column rendered other component in hidden-columns (#2401) 2021-07-02 19:14:39 +08:00
波比小金刚
4a8ead95dd Update bar.vue 2021-07-02 19:08:45 +08:00
波比小金刚
4202e176c6 Update bar.vue 2021-07-02 19:08:45 +08:00
波比小金刚
721a3d2743 feat: add event type definition 2021-07-02 19:08:45 +08:00
msidolphin
e6c38e6d6f fix: menu hover color not change when background is changed (#2417) 2021-07-02 19:05:36 +08:00
ioslh
e1b5a85127 fix(table): empty data render bug 2021-07-02 19:00:59 +08:00
kooriookami
7daac762a7
feat(form): label-width supports number type (#2396)
* feat(form): label-width supports number type

* perf: update

* feat: update
2021-07-02 17:30:15 +08:00
qige2016
8cc2ff6977
style(space): fix code space (#2411) 2021-07-02 16:09:03 +08:00
msidolphin
ea3b74e4c4
fix: select_v2 asynchronous binding issue (#2368) (#2378) 2021-07-01 21:01:35 +08:00
kooriookami
1fe271549e
feat: add resize directive (#2167)
* feat: add resize directive

* fix: update
2021-07-01 09:29:00 +08:00
msidolphin
6700fbc855
docs: improve the document of form-item (#2372) (#2375) 2021-07-01 08:44:52 +08:00
msidolphin
e10071a430
fix: checkbox label auto convert to bool when label is empty (#2287) (#2380) 2021-07-01 08:12:47 +08:00
ioslh
eb5208efe4
feat(virtual-list): template string to render function (#2388) 2021-06-30 14:31:18 +08:00
kooriookami
de1e9bd5f8
fix(cascader): fix arrow position (#2356)
fix #2266
2021-06-28 18:41:38 +08:00
msidolphin
1347ee6360
fix: carousel not working when using v-show (#2361) 2021-06-28 18:41:12 +08:00
kooriookami
b3d92b8939
Revert "perf(scrollbar): scrollbar update when slot changed (#2322)" (#2354)
This reverts commit 87a23bbbbb.
2021-06-28 18:34:06 +08:00
kooriookami
e373bb4f04 perf: remove useless test 2021-06-26 16:42:15 +08:00
kooriookami
b8dccdc884 docs(row): add flex update tip, and remove type prop
re #2319
2021-06-26 16:42:15 +08:00
vb
748278905a
fix(message-box): messageBox should close when press enter (#2308)
Co-authored-by: vb <vb@itech8.net>
2021-06-25 17:21:47 +08:00
kooriookami
87a23bbbbb
perf(scrollbar): scrollbar update when slot changed (#2322)
re #2293
2021-06-25 17:10:55 +08:00
netcon
93e50e147b
fix: can not binding multiple click-outside directives on a component (#2327)
* fix: can not binding multiple click-outside directives on a component

* test: add test for multiple click-outside directives
2021-06-25 17:10:29 +08:00
Simona
e93f6f6984
style: add no-multi-spaces rule (#2345)
* style: add no-multi-spaces rule

* style: remove extra spaces
2021-06-25 16:25:54 +08:00
Xing.Wu
b9aa9045ab
fix(popover): v-popover can't work (#2341)
* fix: v-popover cant work

* fix: fix popover repeated registration

Co-authored-by: xing.wu <wuxing@bjca.org.cn>
2021-06-25 16:13:36 +08:00
Simona
5c4a3cb27b
fix(cascader-panel): should not re-init when props's value not change (#2344)
* fix(cascader-panel): should not re-init when props's value not change

fix #2317 #1871

* style: extra space
2021-06-25 16:08:00 +08:00
Simona
98714cc3f1
Revert "fix: cascader panel expanded state revert (#1871) (#2298)" (#2325)
This reverts commit a57727bfa4.
2021-06-25 13:47:09 +08:00
qige2016
42ed0f1c74
fix(input-number): fix border color when disabled and hover over buttons (#2334) 2021-06-25 10:10:06 +08:00
Enoch Qin
77e64996e7
fix: @use "sass:math" repeat reference (#2336) 2021-06-25 09:39:06 +08:00
Simona
1fb35d43eb
fix(cascader-panel): default value doesn't work in lazy mode (#2338)
fix #2312
2021-06-25 09:38:09 +08:00
msidolphin
a57727bfa4
fix: cascader panel expanded state revert (#1871) (#2298) 2021-06-24 14:38:21 +08:00
jeremywu
5d980505f2
fix(virtual-list): fix #2294 module resolve issue (#2316)
- Replace @element-plus with relative path to avoid bundling issue

fix #2294

Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
2021-06-24 09:45:47 +08:00
jeremywu
e9ea4b4ee2
Fix/revert changes for fixing issue (#2313)
* Revert "fix(project): fix beta 49 build issue (#2310)"

This reverts commit 7d39b37f00.

* Revert "feat(hooks): feat: Encapsulate function for rendering teleport element"

This reverts commit 74ec002d23.

* Revert "refactor(popper): refactor extract common props for props (#2300)"

This reverts commit 45982cff8a.

Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
2021-06-23 21:08:31 +08:00
jeremywu
7d39b37f00
fix(project): fix beta 49 build issue (#2310)
- Fix the build issue caused by internal objects

Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
2021-06-23 19:58:02 +08:00
jeremywuuuuu
74ec002d23 feat(hooks): feat: Encapsulate function for rendering teleport element
- Add new function for rendering teleport element.
2021-06-23 16:41:13 +08:00
Enoch Qin
a9d6fe062f
refactor: col different size style (#2237) 2021-06-23 14:57:44 +08:00
jeremywu
45982cff8a
refactor(popper): refactor extract common props for props (#2300)
- Extract some common props out of prop

Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
2021-06-23 14:35:42 +08:00
msidolphin
f91f709cff fix: descriptions not re-rendered when slots is updated (#2275) 2021-06-20 12:46:58 +08:00
yangyu8
9bce9ea2e7 fix: table index error issue (#1919) 2021-06-19 19:56:16 +08:00
kooriookami
09429fd69d style(form): use flex layout 2021-06-19 16:39:00 +08:00
kooriookami
47e1fe91cb perf: fix style 2021-06-19 15:41:16 +08:00
kooriookami
b2a78c1e50 fix: fix height 2021-06-19 15:41:16 +08:00
kooriookami
99db792df9 fix(cascader): fix style 2021-06-19 15:41:16 +08:00
kooriookami
3ea408216a
docs(docs): remove .native (#2272) 2021-06-19 02:33:00 +08:00
kooriookami
7c8ddf5167
perf(cascader): add fallback-placements in some components (#2267)
re #2259
2021-06-18 17:32:05 +08:00
云游君
7b58b4d3ff
style(message-box): rename some var --msgbox to --messagebox (#2241) 2021-06-15 15:19:07 +08:00
云游君
daa79d62f7
style(menu): add 569JNRXZghiklms-menu-border-color (#2240) 2021-06-15 15:18:11 +08:00
msidolphin
f9e4da734d
fix: Checkbox checked optional cannot control state issue (#2046) (#2122)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-14 20:20:02 +08:00
Herrington Darkholme
e2e3ace5db
WIP: refactor(table): refactor the test cases (#2232)
* fix(table): move common test util out of table

* refactor(table): move column test out of table

* refactor(table): remove unnecessary toArray

* refactor(table): use triggerEvent from test-util

* fix(utils): add types to triggerEvent

* fix(table): add commented test back

* refactor(table): remove done from async test

* refactor(table): remove unused expectArray

* fix(table): fix type error on triggerEvent

* refactor(table): use conciser array methods
2021-06-12 19:38:39 +08:00
yangyu8
e46e29c37f fix: ElTable index calculation issue (#2143) 2021-06-12 17:15:35 +08:00
Herrington Darkholme
0287d1a2b6
Fix/table test (#2229)
* fix(table): remove unnecessary test lib

we can safely use jest.fn

* fix(build): cleanup unused deps
2021-06-12 17:10:24 +08:00
Map1en_
9dd3249f28 fix(date-picker): default-time does not work when type is datetime
fix #1915
2021-06-12 11:08:58 +08:00
jeremywu
6182fd3b96
fix(project): fix/remove-console-log-statement (#2227)
- Remove unnecessary console.log statement
2021-06-12 08:38:55 +08:00
kooriookami
dbfcdcf361
perf(rate): update change event (#2181)
* perf(rate): update change event

re #2178

* perf: add test
2021-06-11 18:28:50 +08:00
云游君
17a6ca4b5d
fix(popconfirm): import missing popover.scss (#2207) 2021-06-11 18:22:04 +08:00
jeremywu
8206e34a66
fix(project): fix/upgrade-to-vue-3-1-1-and-with-bug-fix (#2220)
- Upgrade Vue to 3.1.1 and fix the bug alone with the upgrade
2021-06-11 18:20:49 +08:00
Enoch Qin
c77e570d1c
fix: Input style use show-password and clearable (#2168) (#2169)
* fix: Input style use show-password and clearable

* fix: replace Input classname
2021-06-08 14:37:38 +08:00
jeremywu
a99232f582
feat(select-v2): feat/integrate-virtual-list-with-select (#1906) 2021-06-08 14:12:16 +08:00
msidolphin
da622e10d1
fix: date picker support value-format (#2120)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-03 20:35:48 +08:00
msidolphin
77631999d1
feat: add himBH-popover-border-radius variable (element-plus#2094) (#2095)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-03 15:37:12 +08:00
msidolphin
e8fa016b46
fix: Cascader size issue when filterable and multiple are enabled (#2123)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-03 13:10:49 +08:00
Ryan2128
a1953ef7af
feat(input): add input-style prop (#2117)
* feat(input): add input-style prop

* test(input): add test case
2021-06-03 13:08:50 +08:00
波比小金刚
2f8a579967
feat: use built-in throwError function. (#2131)
* feat: use built-in throwError function.

* Update index.vue

* Update index.vue
2021-06-03 12:56:52 +08:00
好多大米
1a1804fa31
fix: week translations for hr locale (#2134)
Co-authored-by: wp178491 <wp178491@alibaba-inc.com>
2021-06-03 12:56:20 +08:00
bastarder
57e6e751ce
fix: tabindex prop type (#2130)
Co-authored-by: Qian Jie <jie.qian@blockheaders.com>
2021-06-03 12:55:51 +08:00
神楽坂みずき
7b8c4853a9
fix(col): col should hidden when span is zero (#1769) 2021-06-02 19:11:02 +08:00
msidolphin
e4a2245258
fix: ImageViewer isLast attribute calculation error issue (#1902) (#2125)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-02 18:36:03 +08:00
msidolphin
f29b188c84
fix: fix popper in dialog isn't enough space to position problem (#2102)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-05-31 14:29:25 +08:00
msidolphin
6cde2408f7
fix: hot reload (#2077) (#2097)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-05-31 14:06:25 +08:00
mistery-li
2e8ef5e14b
fix(scrollbar): add scrollbar type's defination (#2057) 2021-05-28 13:58:14 +08:00
波比小金刚
a6b1483aab
fix: add specific type declaration (#1939)
* fix: add specific type declaration

* fix: add an empty string tyoe

* feat: add an empty string defination

Co-authored-by: huangteng02 <huangteng02@meituan.com>
2021-05-27 16:39:56 +08:00
Bios Sun
eeedac6cf7
build: bump sass from 1.26.10 to 1.34.0 (#2060)
# Conflicts:
#	packages/theme-chalk/src/common/var.scss
2021-05-27 16:39:04 +08:00
Xing.Wu
b7450ff21d
fix(pagination): bug #2025 (#2062)
* fix(pagination): fix parent #2025

* fix(pagination): add test case for pagination

Co-authored-by: xing.wu <wuxing@bjca.org.cn>
2021-05-27 16:38:54 +08:00
0song
35ae8f4a33
fix: allow clearable to control both of the clear button (#2072)
fix #2035
2021-05-26 16:31:04 +08:00
kooriookami
0d29cc444c
perf(scrollbar): perf behavior of bar click (#2066)
re #2064
2021-05-25 19:15:12 +08:00
kooriookami
a5ac641c08
style(style): remove useless style (#2058) 2021-05-25 09:29:14 +08:00
BelinChung
0bb128315b
feat(click-outside): return mousedown event (#2038)
* feat(click-outside):  return mousedown event

Return mousedown event for binding function.

* feat(click-outside): expose both mouseup and mousedown event

* feat(directives): add test cases for click-outside

* feat(directives):  clear the previously assigned event object
2021-05-24 17:29:19 +08:00
Zong
548eed72b1
fix(locale): translated ja (#2050) 2021-05-24 11:02:07 +08:00
ping
9ee93ddf81
fix(notification): fix notification component zIndex prop can not work (#2021)
fix notification component zIndex prop can not work

fix #2017

Co-authored-by: ping <1456687576@qq.com>
2021-05-24 09:58:59 +08:00
波比小金刚
42a4798976
feat: update the setCurrentName function. (#2030)
* feat: update the setCurrentName function.

* Update tabs.vue

* Update tabs.vue
2021-05-21 16:37:27 +08:00
波比小金刚
3846e2a8cd
fix: should test is-dot class existed. (#1992) 2021-05-21 16:29:31 +08:00
波比小金刚
f419b8c61c
fix: Remove unused type declarations (#1991) 2021-05-21 16:27:33 +08:00
mistery-li
980152c997
fix(button): fix: add button click type's defination (#2026)
Co-authored-by: tujin_li <tujin.li@gshopper.com>
2021-05-21 16:23:09 +08:00
ioslh
116f5294f7
fix: v-if patch bug on el-table-column (#1988) 2021-05-21 15:54:39 +08:00
波比小金刚
ce2a9b10c8
fix: use same throw error utils function. (#2022)
* fix: use same throw error utils function.

* Update tab-nav.vue

Update error message.

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-05-21 15:47:54 +08:00
Enoch Qin
79876b9733
refactor(date-picker): attribute 'type' add ts declare (#1979)
* refactor(date-picker): attribute 'type' add ts declare

* refactor(date-picker): add isValidDatePicktype utils

* style: date-picker code fix

* Update date-picker.ts

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-05-21 15:30:12 +08:00
Zong
3d7809cd75
fix(transfer): remove uesless button style (#1975) 2021-05-21 14:55:14 +08:00
justwiner
9b9eb65d44
fix(table): fix #1919 (#1983)
fix #1919

Co-authored-by: winerlu <winerlu@tencent.com>
2021-05-21 14:54:36 +08:00
波比小金刚
c23c57d2ba
feat: It should verify that text is inserted in the slot (#2000) 2021-05-21 14:45:46 +08:00
波比小金刚
b9db322037
fix: add tabs type's defination (#2020)
* fix: add tabs type's defination

* feat: add tab's type, tab-position defination

* Update tabs.vue

* Update tabs.vue

* Update tab-nav.vue
2021-05-21 14:42:49 +08:00
波比小金刚
60fd5a3b5f
fix: Remove unused code (#2019) 2021-05-21 14:42:33 +08:00
波比小金刚
24ef604db9
feat: remove meaningless parentheses (#2033) 2021-05-21 14:33:37 +08:00
Herrington Darkholme
8f519cfbef
fix: respect format props and default value (#2034)
* fix: respect format props and default value

Vue 3 props will always have all keys defined, regardless if users pass props when using the component.
So {format, ...props} will always overwrite the default format because props has format defined on it.
When users do not pass format, the code breaks.

* fix: null-coalescing operator(??) requires parens

* fix: capture reactivity
2021-05-20 16:15:40 +08:00
hangzou
83bc018598
fix: add addtional css in dropdown (#1998) 2021-05-13 18:12:52 +08:00
justwiner
6e23b46289
refactor(table): refactored the type definition of table (#1997)
Co-authored-by: winerlu <winerlu@tencent.com>
2021-05-13 17:55:04 +08:00
jeremywu
962772ffe1
fix(date-picker): fix/date-picker-popper-options-expose (#1982)
- Expose popper options API for date picker
2021-05-11 10:57:15 +08:00
jeremywu
05c17b9b52
fix(time-picker): fix/date-time-picker-positioning-issue (#1980)
* fix(time-picker): fix/date-time-picker-positioning-issue

- Make time-picker accepting popper-options injection

* update the providing strategy
2021-05-10 22:52:23 +08:00
Zong
f3b9ebf571
fix: use more reasonable type inference (#1963)
Use 'hasOwn' instead of 'hasOwnProperty' to complete more reasonable type inference and avoid possible bugs in the prototype chain.
2021-05-09 10:46:11 +08:00
kiloc
42ed6abbdf
fix(table): fixed checkbox not trigger oninput events in older browsers (#1945)
Co-authored-by: LAPTOP-IUOG0Q5G\chenq <chenqiang0620@gmail.com>
2021-05-09 10:45:51 +08:00
AndyLZC
955f7862d2
refactor(notification): avoid magic numbers (#1928)
* refactor(notification): avoid magic numbers

* refactor: refactor(pagination): simplify pagination logic

Co-authored-by: zc l <andylzce@gmail.com>
2021-05-09 10:40:33 +08:00
波比小金刚
fc95fc4c81
fix: judging by activeColor / inactiveColor (#1966)
If I didn’t miss anything, it should be related to the existence of activeColor or inactiveColor
2021-05-09 10:40:18 +08:00
Map1en_
0d877688cd
fix(button): wrong style when hovering the plain button (#1937)
close #1924
2021-05-09 10:36:16 +08:00
Genesis
b9212870d4
SCSS Variables: Add missing !default modifiers (#1969) 2021-05-09 10:35:56 +08:00
kooriookami
0e593a95c6
fix(icon): fix icons (#1950)
fix #1936
2021-05-09 10:34:32 +08:00
Zong
d5215ce242
fix(transfer): remove uesless button style (#1953) 2021-05-09 10:34:08 +08:00
zouhang
13cc5fd0e9 fix: add additional css in popover 2021-05-07 22:58:51 +08:00
Black
5844f9cd39
fix(drawer): add modal false div class (#1932) 2021-05-06 19:35:29 +08:00
Yexk_M
48299068e6 [fixed] validate types error
根据 `form/index.js` 源码 124行, 发现types类型声明错误。在此修正。
2021-05-06 19:20:54 +08:00
波比小金刚
58646285c7
fix: keep the same with property name (#1940) 2021-05-06 19:06:51 +08:00
Eyes22798
c790aeb19f
fix(rate): remove the confusing this (#1910) 2021-05-01 23:09:47 +08:00
hearsay
a87c8c3fe5
fix(image): fix image Add the dom of the preview picture to the body (#1577) 2021-04-26 11:54:22 +08:00
Summer
a1f521edec
switch: add beforeChange hook (#1878) 2021-04-26 11:53:09 +08:00
kooriookami
045ea5df41
fix(icon): fix icon (#1896) 2021-04-25 21:18:38 +08:00
kooriookami
c5e72c801b
feat(page-header): add icon props and slots (#1882) 2021-04-25 21:17:39 +08:00
kooriookami
b86b360a9b
feat(scrollbar): perf behavior of scrollbar (#1869)
* feat(scrollbar): perf behavior of  scrollbar

when mousedown and move out of the scrollbar, the bar can still be scroll

* feat: add test

* feat: update test
2021-04-21 15:28:46 +08:00
Enoch Qin
2cef7566c1
refactor(Button): setup props add type (#1879)
* refactor(Button): setup props add type

* refactor(Button): IButtonProps type
2021-04-21 15:13:40 +08:00
滑威
9a577d65cb
feat(progress): indeterminate progress bar (#1832)
* feat: indeterminate-progress

* docs: 补充属性

* fix: 更新单元测试用例

* chore: 优化性能

* docs: Indeterminate progress other lang

* chore: progress bem classname && docs

* docs: speed -> duration

* docs: progress docs
2021-04-21 13:47:29 +08:00
inottn
63ac60a478
fix(upload): expose abort method (#1877) 2021-04-21 10:54:18 +08:00
kooriookami
7a1457bce0
feat(scrollbar): add docs and params (#1859)
* feat(scrollbar): add docs and params

* fix: fix wrapStyle

* feat: add test

* feat: update
2021-04-20 10:44:10 +08:00
kooriookami
0d676acbc2
fix(dropdown): fix click disabled still trigger (#1865)
fix #1864
2021-04-20 10:39:17 +08:00
kooriookami
f48c497703
Feat/descriptions (#1856)
* feat(descriptions): new component Descriptions

* feat: update

* feat: update

* feat: update

* feat: update

* fix: revert readme.md

* feat: update

* feat: update provide key
2021-04-19 18:05:48 +08:00
jeremywu
94b410b647
feat(virtual-list): enhance-virtual-list (#1813)
* feat(virtual-list): enhance-virtual-list

- Enhance virtual list with generic list generator and variable size list

* finish enhancement, tests awaits

* feat(virtual-list): - finalize the tests
2021-04-16 11:18:39 +08:00
jeremywu
68c8dc8e46
fix(space): fix/1839-el-space-string-spacer-style-issue (#1845)
- Fix the issue causing horizontal layout spacer styling weird
2021-04-15 11:33:52 +08:00
xiejiahe
f3bf10cffa
fix(Checkbox): activeStyle boxShadow error (#1829) 2021-04-14 15:49:00 +08:00
kooriookami
cb29649c7f
fix(table): fix variable spelling (#1837) 2021-04-14 11:47:37 +08:00
jeremywu
cc988f9ac1
fix(table): fix table column rerendered whenever table updates
- Fix table column rerendered whenever table updates
2021-04-14 11:21:04 +08:00
kooriookami
634448d756
feat(result): new componet Result (#1818)
* feat(result): new componet Result

re #1137

* feat: fix docs

* feat: perf slot

* feat: use svg icon

* feat: update variable name

* feat: update style
2021-04-14 10:18:29 +08:00
0song
041d36242d
fix: time picker change event bug (#1828) 2021-04-14 10:16:36 +08:00
xiejiahe
62cffd67a4
style: using 'Array.prototype.forEach()' (#1826) 2021-04-13 17:52:51 +08:00
xiejiahe
d2ce2604c8
style(date-picker): date-picker-com conditional judgment (#1823) 2021-04-13 15:03:40 +08:00
siam
834147c1cc
fix(date-picker): date-picker daterange panel clear value and view not update (#1816)
Co-authored-by: liao-zhi-peng <liaozhipeng@weis-inc.com>
2021-04-13 12:14:38 +08:00
xubo leng
3359d7b193
fix(image-viewer): fix image src attribute error #1791 (#1819)
Co-authored-by: Xubo Leng <xubo.leng@thoughtworks.com>
2021-04-13 10:40:03 +08:00
xiejiahe
ee7e9c0a00
fix(talbe): null check error (#1807) 2021-04-13 10:31:38 +08:00
张宇
6582b7cdbc
fix(avatar): fix src attributes default value (#1770) 2021-04-11 21:06:38 +08:00