Commit Graph

1385 Commits

Author SHA1 Message Date
三咲智子
7f38d3942f
fix(build): fix types (#4254)
* fix: add devDependencies

* fix(build): fix generate types definitions
2021-11-05 22:47:03 -04:00
btea
c6c1e965f7
fix(components): [el-cascader] empty children set leaf (#3758)
* fix(components): [el-cascader] empty children set leaf

* test: add test
2021-11-06 08:50:48 +08:00
Kevin
e9a110ed47 refactor(components): refactor radio 2021-11-06 03:48:19 +08:00
undefined-design
f058906069 refactor(components): refactor radio 2021-11-06 03:48:19 +08:00
Kevin
25fa5ee114 refactor(components): [el-row] improve props 2021-11-06 03:41:45 +08:00
undefined-design
ae5b02df0d refactor(components): refactor row 2021-11-06 03:41:45 +08:00
Kevin
03b86d69b4 refactor(components): [el-result] improve props 2021-11-06 02:49:33 +08:00
Chen
c10d0cbab3 refactor(components): refactor result 2021-11-06 02:49:33 +08:00
Kevin
3cf03d5a0c refactor(components): refactor rate 2021-11-06 02:35:59 +08:00
Chen
5ed4e1f9e4 refactor(components): refactor rate 2021-11-06 02:35:59 +08:00
表弟
b81bf53f0a
feat(components): [el-message] merge the same content messages(#3836) (#3988)
* style(components): [el-message-box] string does not wrap(#3856)

* feat(components): [el-message] merge the same content messages(#3836)

* feat(components): [el-message] merge the same content messages(#3836)

* feat(components): [el-message] merge the same content messages(#3836)

* refactor(components): el-swtich custom texts and icons

* fix: test

* fix: font size

* fix: example margin

* feat(components): el-switch add inline-prompt support

* revert: paly

* docs: update icons

* feat: add inner text

* fix: switch test

* refactor: icon inline

* feat(components): [el-message] merge the same content messages(#3836)

* feat(components): [el-message] merge the same content messages(#3836)

Co-authored-by: Aex <adaex@qq.com>
2021-11-05 18:55:40 +08:00
Alan Wang
b13955648b
fix(components): [el-select] display false (#4036) 2021-11-05 18:53:01 +08:00
btea
9aa03ac774
fix(components): [el-form] reset form validate error (#3759) 2021-11-05 18:45:45 +08:00
Alan Wang
07353a13e1
fix(components): [el-select] first item hover status error (#3880)
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-11-05 18:40:07 +08:00
msidolphin
e5e9d654a4
fix(components): [el-table] development environment warning issues (#4167)
fix #4166
2021-11-05 18:34:47 +08:00
神楽坂みずき
65276c3e4a
fix(components): ensure table size affects inner selection (#3979)
* fix(components): ensure table size affects selection

* refactor
2021-11-05 18:30:32 +08:00
Aex
2036755e3c
fix(components): h function children parameter usage (#4238)
* fix(components): `h` function children parameter usage

* fix: usage

* fix: icon align
2021-11-05 18:24:19 +08:00
msidolphin
9b059fffc6
fix: [el-date-picker] cannot change the time when provide default-time (#4228)
fix #3746
2021-11-05 18:19:01 +08:00
btea
ee34622c9a
fix(components): [el-cascader] search result switch not highlight (#4087)
* fix(components): [el-cascader] search result switch not highlight

* chore: remove Ref
2021-11-05 18:14:46 +08:00
msidolphin
66043aa3b5
refactor(components): [el-config-provider] improve componomponent extendiability (#4175)
re #4146

added button configuration
added useGlobalConfig hook
2021-11-05 18:10:07 +08:00
Zapic
cf27504bdc
fix: [el-input]hidden input is not hidden (#4128)
* fix: [el-input]hidden input is not hidden

* chore: [el-input]use v-show instead of css class

Co-authored-by: KawaiiZapic <kawaiizapic@zapic.moe>
2021-11-05 17:58:02 +08:00
Alan Wang
c0ca1389bb
feat(components): [el-image] initialIndex (#4235) 2021-11-05 17:52:13 +08:00
Aex
f78407a409
fix(components): empty icon component judgment (#4178)
* fix(components): empty icon component judgment

* revert: globals components

* fix(components): el-icon missing import

* fix: use shallowRef for icon components

* refactor: remove shallowRef

* fix: remove unused code

* fix: social-link icon size

* fix: time picker icon

* fix: v-if judge
2021-11-05 17:44:02 +08:00
msidolphin
c72ea9c1a1
fix(components): [el-table] fixed mode layout misalignment (#4188)
fix #4141
2021-11-05 17:36:05 +08:00
C.Y.Kun
ff332345f2
fix(components): el-dropdown cannot be used with v-show (#4221) 2021-11-05 15:33:17 +08:00
Aex
c2571b59c7
fix(theme-chalk): el-menu arrow icon style (#4230) 2021-11-05 14:58:15 +08:00
C.Y.Kun
670a4a29bd
chore(theme-chalk): remove useless @use (#4204) 2021-11-04 16:40:08 +08:00
btea
5b52336965
feat(components): [el-select-v2] mouse trigger scrollbar show/hide (#3722)
* feat(components): [el-select-v2] mouse trigger scrollbar show/hide

* feat: add always-on flag

* fix: change flag name and add transition

* docs: select-v2 add scrollbar-always-on flag

* test: add test cases
2021-11-04 14:37:40 +08:00
Aex
6864124d4e
fix(components): view tag does not render (#4198) 2021-11-04 12:46:23 +08:00
jeremywu
598fb86627
fix(components): el-teleport potential failure (#4197)
- Fix the judgement for `is-body`
2021-11-04 10:40:00 +08:00
云游君
f548bcb8b5
fix(style): remove chinese comments in checkbox (#4189) 2021-11-04 10:04:38 +08:00
Zapic
a089afa3bd
improvement(style): [el-input-number] Fix unexcepted text selecting when clicking buttons (#4191) 2021-11-04 09:15:25 +08:00
Alan Wang
b68e90200e
test(components): [el-color-picker] hex color with transparency (#4180) 2021-11-03 18:50:26 +08:00
云游君
a18f4c8f81
fix(components): input icon justify by flex (#4187)
* fix(components): input icon justify by flex

* fix(components): time-range-picker hover icon justify

* fix(style): fix input prefix affix button style
2021-11-03 18:49:13 +08:00
jeremywu
5a0ac482ce
feat(components): el-teleport (#4186) 2021-11-03 17:42:05 +08:00
btea
a3d23587c0
fix(components): [image-viewer] fix typo (#4183) 2021-11-03 14:17:47 +08:00
辛宝Otto
63d3d9d168
refactor(components): elForm 渐进增强表单规则,允许用户自定义类型 (#3951) 2021-11-02 23:47:16 +08:00
Alan Wang
6bba6d3a80
feat(components): [el-color-picker] hex color with transparency (#3893)
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-11-02 23:40:48 +08:00
msidolphin
f7a553184c
fix(components): [time-picker] am/pm mode avoid render redundant content (#4137)
fix #4020
2021-11-02 23:09:36 +08:00
Greper
23325a942a
feat(components): [el-tree] allow tree node to have customizable class (#3912)
* feat(components): [el-tree] custom node class

* Update packages/components/tree/src/tree.type.ts

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

* refactor: [el-tree] getNodeClass use isString & isFunction

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-11-02 22:36:47 +08:00
midcu
fb55efe48b
fix(components): [el-affix] 监听容器的大小变化 (#3932)
Co-authored-by: midcu <me@midcu.com>
2021-11-02 18:46:10 +08:00
云游君
c1621a5164
fix: input suffix icon center by flex (#4159) 2021-11-01 20:05:25 +08:00
Aex
cf6a38a4fd
fix(components): el-select-v2 empty icon (#4154) 2021-11-01 17:57:35 +08:00
Aex
fa46dbd0b4
fix(components): el-loading spinner directive (#4133) 2021-11-01 15:16:11 +08:00
Alan Wang
5a9b90b3aa
fix: [el-transfer]modelvalue is not in original order (#4082) 2021-11-01 15:11:46 +08:00
msidolphin
974e9d563f
fix(components): [el-tree-v2] empty-text supports empty string & virtual list width become no required (#4144) 2021-11-01 15:05:04 +08:00
SongWuKong
fb8fc98c63
fix(components): [el-tree] emptyText empty string is invalid (#4135) (#4136)
* fix(components): [el-tree] emptyText  empty string is invalid (#4135)

* fix: emptyText  empty  judge
2021-11-01 11:38:15 +08:00
msidolphin
86866f6725
fix: [el-date-picker] avoid click event error & fix cell props (#4134) 2021-10-31 20:59:23 +08:00
btea
c33d861797
fix(components): [el-tree-v2] indent can not set zero (#3881)
* fix(components): [el-tree-v2] indent can not set zero

* chore: simplify code
2021-10-31 20:11:16 +08:00
btea
d6c6c99ffc
fix(components): [el-table] refresh data, selected error (#3908) 2021-10-31 10:52:21 +08:00
SongWuKong
c728e25cea
fix(components): [el-menu] icon style (#4122) 2021-10-31 01:35:50 +08:00
SongWuKong
708b58d191
fix(components): [el-cascader] can not use keyboard select node(#3254) (#3260)
* fix(components): [el-cascader] can not use keyboard select node(#3254)

* fix(components): [el-cascader] add filterable keyboard selection test

* fix: switch case block
2021-10-31 00:25:24 +08:00
btea
4c698be458
fix(components): upload headers add type judge (#4119) 2021-10-30 23:37:44 +08:00
Alan Wang
c1bfe08c21
fix(components): [el-input] input border (#4110) 2021-10-30 22:46:27 +08:00
wxyong
5fd62430a1
fix(components): [el-upload] request headers missing when headers is typeof Headers(#4043) (#4045)
Co-authored-by: itw_wuxy <itw_wuxy@tkmail.com>
2021-10-30 22:12:33 +08:00
CodeSpikeX
7fe4e0b026
feat(components): [el-message] & [el-notification] appendTo option added (#4012)
* feat(components): [el-message] & [el-notification] appendTo option added

* fix(components): unit test and replaced warn with debugWarn
2021-10-30 22:09:36 +08:00
三咲智子
a902be5917
refactor(utils)!: remove resize-observer-polyfill (#4058)
* refactor(utils): remove resize-observer-polyfill

* test: add resize-observer-polyfill for tests only
2021-10-30 21:48:25 +08:00
msidolphin
93a1aa9b2f
feat(components): [el-date-picker] support customized cell content (#4078)
re #4056
2021-10-30 21:39:11 +08:00
kooriookami
cf726a0b42
feat: add fit-input-width prop (#4088) 2021-10-30 09:34:19 -04:00
神楽坂みずき
94c404b12a
fix(checkbox): fix checkbox when modelvalue length less than min limit (#1745)
* fix(checkbox): fix checkbox when modelvalue length less than min limit

* fix

* fix something wrong while handling conflict
2021-10-30 21:30:52 +08:00
Aex
cd646824c2
feat(components): el-switch add inline content support (#4091)
* refactor(components): el-swtich custom texts and icons

* fix: test

* fix: font size

* fix: example margin

* feat(components): el-switch add inline-prompt support

* revert: paly

* docs: update icons

* feat: add inner text

* fix: switch test

* refactor: icon inline
2021-10-30 21:23:29 +08:00
renovate[bot]
5b5e9ab81d
chore(deps): update dependency eslint-plugin-vue to v8 (#4105)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-10-30 18:13:00 +08:00
renovate[bot]
ab81fc89f2
chore(deps): pin dependencies (#4098)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-30 17:09:09 +08:00
啝裳
7332b46131
fix(components): [el-menu] trigger hover, open and close events no work (#4077) 2021-10-30 13:40:19 +08:00
btea
36b1f19b78
refactor(directives): use util method replace judge firefox (#4086) 2021-10-30 11:31:00 +08:00
Aex
4b1975ebc9
fix(components): [el-page-header] icon size (#4085) 2021-10-29 19:56:00 +08:00
云游君
0139d24583
chore: remove useless css prefix & utils (#4075) 2021-10-29 19:16:53 +08:00
Alan Wang
3ade9cae65
fix(components): [el-input] maxlength is not correct (#3969) 2021-10-29 16:54:53 +08:00
ExtReMLapin
e32d070c8e
improvement(locale): finished translating french lang (#4073) 2021-10-29 13:30:17 +08:00
921
917b909984
fix(components): [el-form-item] align inline elements vertically (#4080)
Co-authored-by: 921 <redky@qq.com>
2021-10-29 13:26:26 +08:00
云游君
453c595a1b
feat: remove font icon scss & font-path (#4074)
* feat: remove font icon scss & font-path

* chore: fix lint useless var
2021-10-29 00:20:16 +08:00
Aex
4510816802
refactor(componentes): deprecate the icon font of some components (#4067)
* refactor(components): [el-breadcumb] icon

* refactor(components): el-tabs icon

* refactor(components): color picker icon

* refactor(components): menus icon

* refactor(components): loading spinner icon

* fix(components): panel-data-pick elicon import

* refactor(components): dropdown item icon

* refactor(components): tabs plus icon

* fix: message & tabs icon test

* fix(components): breadcrumb docs

* fix(components): colorPicker docs

* fix(components): loading docs

Co-authored-by: imswk <syfzxx@vip.qq.com>
2021-10-28 23:37:26 +08:00
神楽坂みずき
aa0e0b9ea1
fix(components): fix add space in prod mode (#4062) 2021-10-28 13:22:30 +08:00
921
9a016bfd32
fix(components): [el-input-number] add a type attribute (#4030)
Co-authored-by: 921 <redky@qq.com>
2021-10-28 06:19:56 +08:00
btea
cb03f4d890
fix(hooks): add type remove ts error (#4055) 2021-10-28 04:44:27 +08:00
Aex
883fd8d6ef
epic: refactor icons (#3492)
* refactor(components): el-alert icon (#3441)

* refactor(components): el-alert icon

* fix: el-alert test

* fix: [el-alert] lint error

* feat(utils): add icon util

* refactor(components): el-alert icon

* refactor(utils): icon

* test: update alert test

* refactor: remove el-icon in util

* refactor(components): el-notification icon (#3512)

* chore: temp save changes

* refactor: update icon

* fix: var

* docs: update icon

* fix: type class error

* style: remove unused class

* fix: update icon type

* docs: update icon

* fix: update iconComponent

* refactor(components): el-dialog icon (#3505)

* refactor(components): [el-dialog] icon

* fix: typo

* refactor: dialog icon ref

* refactor: dialog icon

* style: update close button size

* refactor(components): el-message-box icon (#3507)

* refactor(components): message-box icon

* refactor(components): message icon

* fix: test

* refactor: update ref

* fix: test

* docs: update icon

* fix: delete unused code

* docs: update type

* fix: update close button size

* fix: type

* fix: icon type class

* fix: icon type

* fix: update type class

* refactor(components): el-popconfirm icon (#3513)

* refactor(components): el-popconfirm icon

* fix: space styles

* docs: update example

* docs: update example for trigger event

* refactor(components): el-page-header icon (#3518)

* refactor(components): el-page-header icon

* docs: update icon

* fix: space errors

* refactor(components): el-steps icon (#3520)

* refactor(components): el-backtop icon (#3514)

* refactor(components): el-backtop icon

* fix: update font size

* refactor(components): el-button icon (#3536)

* refactor(components): el-button icon

* fix: update example

* refactor(components): el-button icon

* refactor: style simplify

Co-authored-by: imswk <syfzxx@vip.qq.com>

* refactor(components): el-tree icon (#3590)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-avatar icon (#3599)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-carousel icon (#3602)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-progress icon (#3607)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-result icon (#3609)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-timeline icon (#3646)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-table icon (#3611)

Co-authored-by: qianjie <qianjie@patsnap.com>

* chore: add vue to gitignore

* fix: buildProp error

* refactor(components): el-pagination icon (#3605)

* test: el-menu deprecated icon font (#3794)

* test: el-loading deprecated icon font (#3795)

* chore: Update changelog 1.1.0-beta.20 (#3838)

* fix: about custom extension of table column (#3437)

* refactor(components): el-autocomplete icon (#3783)

* refactor(components): el-dropdown icon (#3517)

* refactor(components): el-dropdown icon

* fix: arrow down icon size

* style: revert

* fix: font-size

* refactor(components): el-link icon (#3538)

* refactor(components): el-link icon

* refactor: update example

* fix: import icons

* docs: add tip

* refactor: update link icon

* fix: icon align

* fix: typo

* refactor(components): el-select icon (#3780)

* refactor(components): el-input icon (#3565)

* refactor(components): input icon

* docs: update example

* refactor(components): el-select icon

* docs: icon usage

* fix: input style

* fix: add scoped

* docs: fix icon

* fix: icon align

* fix: icon align

* fix: typo

* fix: typo

* refactor(components): el-input-number icon (#3566)

* refactor(components): el-input-number icon

* fix: icon align

* refactor(components): el-tag icon (#3793)

* refactor(components): el-tag icon

* fix: icon align

* fix: icon margin

* refactor(components): el-switch icon (#3787)

* refactor(components): el-switch icon

* fix: icon align

* docs: add icon usage

* refactor(components): el-collapse icon (#3788)

* refactor(components): el-collapse icon

* docs: update icon demo

* fix: typo

* refactor(components): el-uplod icon (#3598)

* refactor(components): el-uplod icon

* docs: update icon useage

* docs: fix icon

* docs: fix icon

* docs: update upload-filled icon

* fix: icon align

* fix: item icon align

* refactor(components): el-select-v2 icon (#3781)

* refactor(components): el-select-v2 icon

* revert: play/main.ts

* fix: icon style

* fix: icon solt

* refactor(components): el-cascader icon (#3785)

* refactor(components): input icon

* docs: update example

* refactor(components): el-select icon

* refactor(components): el-cascader icon

* refactor(components): el-tag icon

* fix: icon align

* fix: icon margin

* docs: icon usage

* fix: input style

* fix: add scoped

* test: remove unuesd code

* fix: cascader-panel

* fix: icon style

* fix: icon animation

* refactor(components): el-drawer icon (#3796)

* refactor(components): el-drawer icon

* fix: close icon size

* fix: close icon align

* refactor(components): el-transfer icon (#3792)

* refactor(components): el-transfer icon

* fix: icon align

* refactor(components): el-image-viewer icon (#3797)

* refactor(components): el-image-view icon

* fix: icon size

* docs: update domo

* style: format vue

* fix: fullscreen icon

* Add cursor for icons

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

* refactor(components): rate-icon (#3891)

* refactor(components): el-rate icon

* docs: update example

* docs: update

* test: update

* docs: update

* fix: variable rename

* fix: demo update

* fix: allow half bug

* refactor(components): el-time-picker icon (#3834)

* refactor(components): el-button icon

* refactor(components): date-picker icon

* refactor(components): input icon

* docs: update example

* refactor(components): el-select icon

* refactor(components): el-time-select icon

* fix: icon width

* docs: icon usage

* fix: input style

* fix: add scoped

* fix: icon size

* docs: icon display

* fix: icon in button

* docs: fix error

* refactor(components): el-time-picker icon

* fix: var

* fix: icon align

* test: delete unused code

* test: fix error

* fix: remove unused code

* docs: fix typo

* docs: update icon

* fix: default prefix icon

* fix: range picker icon align

* Update cursor for picker

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

* fix(components): el-input close icon

* chore: delete fonts

* fix: copy full style

Co-authored-by: imswk <syfzxx@vip.qq.com>
Co-authored-by: bastarder <85257684@qq.com>
Co-authored-by: qianjie <qianjie@patsnap.com>
Co-authored-by: Element <wallement@gmail.com>
Co-authored-by: Alan Wang <948467222@qq.com>
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-10-27 23:17:13 +08:00
msidolphin
a504503eab
fix(components): [el-form-item] validate success does not return fields (#4001)
fix #3860
2021-10-27 18:46:34 +08:00
BaboonKing
ba00ae375e
fix(components): [el-date-picker] increase width of range separator (#4028) 2021-10-27 09:05:14 +08:00
Alan Wang
89ede5d05f
fix: popover repeat when exist fixed column in table (#3394)
* fix: popover repeat when exist fixed column in table

* Update render-helper.ts
2021-10-26 17:19:12 +08:00
iceman
65a29f2a2b
refactor(components): [el-message] change the name of stopTimer
Co-authored-by: iceman <dd>
2021-10-26 11:04:36 +08:00
三咲智子
4e99d0b5ba
build!: simplify build & support esm import (#4018)
* build!: simplify build & support native esm import

* build: refactor build

* refactor: reorganize files

* refactor: refactor build

* build: improve perf

* fix: scripts

* build: add rollup-plugin-filesize

* chore: scripts ignore no-console

* build: disable tree-shaking

* build: improve code

* build: add sourcemap

* build: add banner

* refactor: remove annotation

* build!: improve esm exports (#3871)

* build: improve esm import

* refactor: change mjs for esm version

* chore: improve exports map

* fix: add sideEffects

* refactor: improve alias

* build: upgrade dependencies
2021-10-25 17:07:48 +08:00
三咲智子
1bca47dcf7
fix(components): button displays icon only (#4019)
* fix(components): button displays icon only

* docs: add chinese button
2021-10-25 14:32:11 +08:00
M5 Universe
55fd145547
fix(components): [el-icon] support string size (#3835) 2021-10-25 09:43:54 +08:00
神楽坂みずき
5cd8be2434
feat(components): add space between two characters in Chinese (#3992) 2021-10-24 22:47:39 +08:00
Kevin
0ae66f8230 chore: upgrade dependencies 2021-10-22 14:48:38 -04:00
jeremywu
6006e910aa
refactor(components): ElInputNumber (#3974)
* refactor(components): ElInputNumber

- Rename index.vue -> input-number.vue
- Extract inputNumberProps and inputNumberEmits to input-number.ts

* Update input number docs

* Update input number docs

* Update input number docs

* Address comments

* Code perfection

* Make modelValue required field

* Fix linter

* Remove unnecessary code

* Fix linter
2021-10-22 23:28:03 +08:00
btea
78f8246a89
fix(components): [el-select-v2] set a non-empty array value error (#3998) 2021-10-22 15:48:59 +08:00
Alan Wang
67e03d458d
fix(components): [el-input] disable button style error (#3989) 2021-10-22 12:21:00 +08:00
Alan Wang
4b76238ea3
fix(components): [el-affix] update method does not exist (#3996) 2021-10-22 12:15:35 +08:00
Ibrahim Al Khalil
51d8271181
feat: add translation for Bengali language (#3972) 2021-10-22 12:09:00 +08:00
波比小金刚
4741b40e19
fix: tag should support large size too (#3948) 2021-10-22 11:11:20 +08:00
btea
fdb06718eb
feat(components): [el-popconfirm] adjust tag and style (#3981) 2021-10-21 21:54:31 +08:00
jeremywuuuuu
3786ba9993 fix(utils): remove $ from util
- Replace $ with unref from vue
- Remove $ from `@element-plus/utils/util` to prevent ref sugar issue
2021-10-20 06:14:18 -04:00
spx
896a6c9860
fix(components): select v-2 value-key seems not working #2904 (#3915)
* fix(components): select v-2 value-key seems not working #2904

select v-2 value-key seems not working #2904

fix #2904

* fix(components): select v-2 value-key seems not working #2904

select v-2 value-key seems not working #2904

fix #2904
2021-10-20 11:24:09 +08:00
jeremywu
8b64402c08
update package json field for fixing the bundler (#3965) 2021-10-20 10:59:56 +08:00
jeremywu
289fdcf96f
fix(build): fix package entry field (#3962)
- Replace index.mjs with index.js
2021-10-20 10:40:09 +08:00
btea
bccca92dfd
refactor(utils): dom and add test (#3950)
* refactor(utils): getAttribute replace className

* test: add dom test

* fix(utils): update trimArr and test

* chore: includes replace indexOf

* chore: modify judge
2021-10-20 10:04:54 +08:00
Otto
7349165300
fix(components): elProgress 修复不必要的 props required 定义,减少单测错误 (#3954) 2021-10-20 09:45:19 +08:00
jeremywu
16f069ebbe
Revert "build!: simplify build & support native esm import (#3900)" (#3945)
* Revert "build!: simplify build & support native esm import (#3900)"

This reverts commit fb94222bb4.

* remove module

* Fix linter

* Add @element-plus/icons as dependency

* update pnpm lock file

* temporary lock element-plus at 1.1.0-beta.20
2021-10-20 09:42:32 +08:00
Alan Wang
fffed80a81
fix(components): [el-rate] decimal icon display problem (#3921)
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-10-19 13:26:56 +08:00
btea
208be236cd
fix(utils): svg classname deal (#3926) 2021-10-19 13:26:30 +08:00
btea
3c98dd627f
refactor(utils): addClass and removeClass (#3858) 2021-10-18 16:33:34 +08:00
波比小金刚
40b3dea926
fix(components): [el-form-item] calc the label-width. (#3914) 2021-10-18 16:31:45 +08:00
波比小金刚
fdfe38deb0
refactor(utils): use built-in throwError function (#3916) 2021-10-18 16:30:45 +08:00
三咲智子
06fc7f4215
build!: improve esm exports (#3871)
* build: improve esm import

* refactor: change mjs for esm version

* chore: improve exports map
2021-10-18 16:29:33 +08:00
三咲智子
12bf28e8c8
refactor(components): refactor image-viewer (#3810)
* refactor(components): refactor image-viewer

* fix: remove unused

* refactor: improve type
2021-10-18 16:24:52 +08:00
三咲智子
ffe6d251c6
refactor(components): refactor input (#3805)
* refactor(input): rename

* refactor(input): with-install

* refactor(input): kebab-case

* refactor(components): refactor input

* fix: fix test import

* refactor(components): [el-input] refactor export named

* refactor: improve types

* refactor: improve types
2021-10-18 16:21:30 +08:00
三咲智子
fb94222bb4
build!: simplify build & support native esm import (#3900)
* build: refactor build

* refactor: reorganize files

* refactor: refactor build

* build: improve perf

* fix: scripts

* build: add rollup-plugin-filesize

* chore: scripts ignore no-console

* build: disable tree-shaking

* build: improve code

* build: add sourcemap

* build: add banner

* refactor: remove annotation
2021-10-18 14:45:57 +08:00
三咲智子
3e2be8eb0b
chore: upgrade & remove unused dependencies (#3892) 2021-10-16 21:00:18 +08:00
三咲智子
cf112c5866
refactor(utils): improve props validator warning (#3847)
* refactor(utils): improve props validator warning

* Update props.ts

* refactor: improve buildProps

* fix: test

Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 18:24:49 +08:00
deepthan
e8043abca8
fix: capitalize the first letter of the error message (#3882)
* Fix: fix erros message typo

Co-authored-by: linkun.he <helinkun@ithinkdt.com>
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 17:51:15 +08:00
Alan Wang
39c286f140
fix: table lazy rows can't expand at the first time (#3731)
* fix: Table Attributes expand-row-keys has changed, but fold not work

* fix: Table lazy column can't expand at the first time

* Update packages/components/table/src/store/tree.ts

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

* Update packages/components/table/src/store/tree.ts

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

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-10-14 17:38:00 +08:00
Alan Wang
4cffe3d9e7
fix: [ElSelectV2] set value to an empty array after selection error (#3875) 2021-10-14 17:36:41 +08:00
啝裳
9108fade83
feat(components): [el-menu] add ellipsis prop (#3870) 2021-10-14 14:58:50 +08:00
表弟
12f1d0e47f
style(components): [el-message-box] string does not wrap (#3856) (#3867) 2021-10-14 11:12:47 +08:00
Alan Wang
d36ef9d784
fix: about custom extension of table column (#3437) 2021-10-11 16:13:29 +08:00
btea
816a3bb44e
chore: fix typo (#3831) 2021-10-10 16:56:47 +08:00
三咲智子
4e458fe586
refactor(utils): improve defineProps (#3811)
* refactor(utils): improve defineProps

* refactor(utils): improve defineProps
2021-10-08 14:58:48 +08:00
三咲智子
85d526f556
refactor(components): refactor col (#3804) 2021-10-08 09:55:18 +08:00
三咲智子
3cf091f2d5
refactor(components): refactor image (#3770) 2021-10-06 20:17:18 +08:00
三咲智子
edb5726c2d
refactor(utils): refactor buildProps & replace buildProp (#3775) 2021-10-06 19:56:24 +08:00
三咲智子
a4c65447f0
build: refactor copyDefinitions (#3756) 2021-10-06 19:40:44 +08:00
三咲智子
3b9e63d587
refactor(components): refactor space (#3757) 2021-10-06 19:34:32 +08:00
Kevin
cd2bd26d63 test: upgrade @vue/test-utils to v2.0.0-rc.15 2021-10-06 17:19:00 +08:00
btea
bf91f72351
fix(components): [el-date-picker] panel not select value enter error (#3768) 2021-10-05 15:46:17 +08:00
iamkun
8af6e78c42
chore: update package homepage (#3761) 2021-10-02 02:22:29 +08:00
bchen1029
20b574700b
fix(components): fix composition event bug (#3659) 2021-10-01 02:30:31 +08:00
btea
fd06ac17c1
refactor(utils): refactor aria color (#3742) 2021-09-30 15:07:44 +08:00
啝裳
45ec48e020
style(components): optimize the addable style (#3726) 2021-09-29 12:53:56 +08:00
Neil Guo
48a830d9eb
Update package.json (#3721)
fix  sideEffects at package.json
2021-09-29 11:05:20 +08:00
啝裳
37000b7727
feat(components): [el-menu] expose handleResize (#3723) 2021-09-29 10:59:10 +08:00
Alan Wang
a267c75965
fix: Table Attributes expand-row-keys has changed, but fold not work (#3675)
* fix: Table Attributes expand-row-keys has changed, but fold not work

* Update packages/components/table/src/store/tree.ts

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

* Update packages/components/table/src/store/tree.ts

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

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-09-29 09:53:51 +08:00
三咲智子
bf8697cc0e
feat(utils): add buildProps (#3718) 2021-09-29 09:52:58 +08:00
Alan Wang
5cc4479060
fix(components): [el-autocomplete] popover auto width (#3674)
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-09-29 09:20:01 +08:00
三咲智子
93f0a35905
feat(components): [el-button-group] add type prop (#3702)
* feat(components): [el-button-group] add type prop

* fix breadcrumb import
2021-09-28 20:51:08 +08:00
云游君
8583c70fdc
feat(theme-chalk): use @use instead of @import & remove /**/ comment (#3696)
* feat(theme-chalk): use @use instead of @import & remove /**/ comment

* refactor(theme-chalk): refactor scss with @use module

* fix(docs): scss in docs toggle to '@use'

* docs: add custom theme on demand

* docs: add unplugin-element-plus
2021-09-28 20:42:12 +08:00
三咲智子
ab8982379e
build: refactor each package build (#3709) 2021-09-28 20:28:47 +08:00
三咲智子
0cb8250d9e
build(tokens): fix token build script (#3703) 2021-09-28 15:40:08 +08:00
三咲智子
4a4f04970d
fix(components): [el-form] fix async-validator version (#3697) 2021-09-28 11:58:16 +08:00
三咲智子
c68d59c6a0
refactor(components): refactor menu (#3639)
* refactor(menu): rename to kebab-case

* refactor(menu): rename RootMenuProvider to MenuProvider

* refactor(menu): rename menu.type to types

* refactor(menu): extract menu props and emits

* refactor(menu): change sub-menu.vue to ts

* refactor(menu): extract menu-item-group props and emits

* refactor(menu): extract menu-item props and emits

* refactor(menu): extract sub-menu props and emits

* refactor(menu): rename type RegisterMenuItem to MenuItemRegistered

* refactor(menu): MenuProvider ref to reactive

* refactor(menu): MenuProvider remove methods

* refactor(menu): change submenus to subMenus

* refactor(menu): remove RootMenuProps type

* refactor(menu): MenuProvider improve types & rename submenu to subMenu

* refactor(menu): menu add block to provide

* refactor(menu): menu improve expose

* refactor(menu): menu improve render types

* refactor(menu): menu refactor types & change handle(Sub)MenuItemClick params

* refactor(menu): menu refactor types

* refactor(menu): menu-item-group improve types

* refactor(menu): menu-item improve types

* refactor(menu): sub-menu improve types

* refactor(menu): use-menu improve types

* refactor(menu): sub-menu fix types

* refactor(menu): menu-collapse-transition improve types

* refactor(menu): menu-item-group improve template

* refactor(menu): menu-item rename emit param

* refactor(menu): finally improve types

* fix lint

* chore: re-order import

* chore: remove reactive
2021-09-28 10:59:22 +08:00
btea
ea31eeabed
chore(project): revise rm rf to rimraf (#3680) 2021-09-27 16:38:15 +08:00
三咲智子
3e8409cd45
refactor(dev): drop babel (#3678)
* refactor(dev): drop babel

* test: fix test

* drop babel

* refactor: drop nodejs 14 support
2021-09-27 15:25:58 +08:00
Summer
ec96e9dbc7
fix(components): [el-affix] get scrollContainer of vertical (#3424)
Co-authored-by: 徐志伟 <zwxu01@wisedu.com>
2021-09-27 14:53:16 +08:00
msidolphin
2d2878eb53
feat(components): add virtual tree (#3398)
* feat(components): add virtual tree

* perf: optimize compute performance

* perf: optimize update checked states performance

* feat(components): [tree-v2] supports filter method

* feat(components): [el-tree-v2] exposes check api

* feat(components): [el-tree-v2] exposes current api

* feat(components): [el-tree-v2] support contextmenu event

* style(components): [el-tree-v2] optimized code style

* refactor(components): [el-tree-v2] using svg icon

* refactor(components): [el-tree-v2] replace all PropType with buildProp

replace all PropType with buildProp, support perfMode, expose setData

* refactor: improve prop

* docs: [el-tree-v2] improve documention

* refactor(components): [el-tree-v2] optimized code

Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-09-27 11:12:50 +08:00
spx
7ee4f44e22
fix(components): trigger update:modelValue by itself (#3660)
trigger update:modelValue by component itself

fix #2282
2021-09-27 11:09:59 +08:00
三咲智子
f9c9f11415
feat(project): upgrade async-validator to 4.0.3 (#3667)
* feat(project): upgrade async-validator to 4.0.3

* fix: fix types
2021-09-27 09:57:44 +08:00
三咲智子
b88e932775
chore: change normalize-wheel to esm version (#3371) 2021-09-27 09:55:40 +08:00
三咲智子
6447feb505
fix(build): fix dependencies packaging (#3665)
* Revert "fix(components): [el-date-picker] dayjs props not extended (#3662)"

This reverts commit fb8446709f.

* fix(build): fix rollup externals
2021-09-27 00:23:27 +08:00
Aex
fb8446709f
fix(components): [el-date-picker] dayjs props not extended (#3662) 2021-09-26 23:38:44 +08:00
jeremywu
50a1b6f892
feat(components): [el-virtualized-grid] fulfillment (#3612)
* feat(components): [el-virtualized-grid] fulfillment

- Add scrollabr and scroll handler to v-grid

* Address comments and code perfection

* Update render function

* fix linter

* address comments
2021-09-26 19:22:56 +08:00