jeremywu
477519a52e
feat(project): local dev environment ( #3463 )
...
- Add vite config for local dev
2021-09-17 16:42:20 +08:00
三咲智子
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
三咲智子
1615b9ee67
feat(dev): improve typings ( #3457 )
...
* refactor: improve buildProp
* feat(dev): add global components type for Volar
2021-09-17 15:07:32 +08:00
啝裳
f66b046872
fix: [el-form] button type is reset and reset form ( #3445 )
...
* fix: [el-form] button type is reset and reset form
* fix: [el-form] button type is reset and reset form
* fix: [el-form] button type is reset and reset form
2021-09-17 11:15:49 +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
jeremywu
d8502d872f
fix(components): el-icon root element receives attributes twice ( #3442 )
...
- Fix attributes incorrectly inherited twice.
2021-09-17 00:02:38 +08:00
云游君
fb22634b61
style(components): add css var width & margin-top for dialog ( #3431 )
2021-09-16 23:01:22 +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
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
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
三咲智子
680de635f6
fix(core): downgrade vueuse version ( #3405 )
2021-09-14 23:22:59 +08:00
Ted
29545d1ea2
docs: [locale] update tr.ts ( #3385 )
2021-09-14 13:19:47 +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
啝裳
f2939ae075
feat(components): [el-calendar] add prev-year and next-year ( #3360 )
2021-09-12 18:43:44 +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
Alan Wang
b14f45006c
fix: [el-table] default-expand-all doesn't work ( #3321 )
...
close #2776
2021-09-12 18:00:22 +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
三咲智子
200effa261
refactor(utils): drop ie support ( #3304 )
...
* refactor(utils): drop ie support
* fix(utils): remove unused
2021-09-10 15:00:39 +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
6db8dbca82
fix(components): [el-dialog] avoid custom class style conflict ( #3267 )
2021-09-10 10:09:47 +08:00
三咲智子
b8869f8b9d
refactor(components): refactor check-tag ( #3311 )
2021-09-10 10:04:09 +08:00
三咲智子
2f23940152
refactor(utils): refactor throwError
( #3301 )
...
* refactor(utils): refactor error
* refactor(utils): remove default export
2021-09-10 10:01:17 +08:00
三咲智子
eade4c90a1
refactor(hooks): refactor useAttrs ( #3300 )
2021-09-10 10:00:44 +08:00
啝裳
14e184531c
improvement(directives): add type declaration ( #3310 )
...
and fix docs copy
close #3313
2021-09-09 19:41:10 +08:00
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