Commit Graph

378 Commits

Author SHA1 Message Date
Alan Wang
a8619057c1
docs: [el-upload]add description of handleRemove() (#4983) 2021-12-27 16:39:31 +08:00
Red Rabbit
61abb754da
fix(components): [el-step] 移除在simple模式下多余的点 (#4944) 2021-12-27 16:16:02 +08:00
Delyan Haralanov
542ea5ee7e
feat(components): [date/time-picker] add id attribute to the inputs (#4972)
* feat(components): [date/time-picker] add id attribute to the inputs

* docs(components): [date/time-picker] add id to attributes
2021-12-27 16:04:39 +08:00
Herrington Darkholme
f85621d209
fix(components): fix message warning (#4979) 2021-12-27 14:05:07 +08:00
Herrington Darkholme
0057fbfadc
fix(components): fix more size prop checks (#4975) 2021-12-26 15:45:58 +08:00
Herrington Darkholme
343b7e333f
fix(components): always emit scroll with scrollTop number (#4974) 2021-12-26 15:44:47 +08:00
Herrington Darkholme
d03d8cc20a
fix(components): change size mini to small (#4947) 2021-12-26 15:08:39 +08:00
Herrington Darkholme
b431838d60
fix(core): fix unit testing warning (#4948) 2021-12-26 15:08:04 +08:00
Alan Wang
794127b205
feat: [el-popconfirm]add debounce of confirm() and cancel() (#4943) 2021-12-24 09:06:20 +08:00
Herrington Darkholme
1682b18684
test(components): fix time picker default value in cancel test (#4938) 2021-12-23 13:32:30 +08:00
Herrington Darkholme
931bc691e0
test(components): remove more sleep from input test (#4937) 2021-12-23 13:26:23 +08:00
Ryan2128
bbed5a5e96
fix(components): [select-v2] missing validate action when clear (#4892)
* fix(components): [select-v2] missing validate action when clear

- Fix the bug that missing validate when clear
- Add the same icon and style as the select component

* docs: [select-v2] fix demo render error
2021-12-22 17:37:42 +08:00
Herrington Darkholme
ee5a822bf2
test(components): remove several sleep from test code (#4924) 2021-12-22 13:42:20 +08:00
msidolphin
1d0d0053fc
fix: [el-checkbox-group]: default value adjusted to empty array (#4316)
fix #4300
2021-12-21 14:38:54 +08:00
SongWuKong
8f57bf610e
fix(components): [el-popper] onVisibilityChange (#4907) 2021-12-21 14:03:51 +08:00
啝裳
fa751a6ae0
perf: [el-switch] activeIcon and inactiveIcon type (#4899) 2021-12-21 11:47:04 +08:00
João Gonçalves
0a43be5939
feat(components): [el-dropdown] add new "popper-class" prop (#4909)
Co-authored-by: João Gonçalves <joaogoncalves@pixelmatters.com>
2021-12-21 09:44:37 +08:00
Alan Wang
23712260f0
docs: [el-upload]add example of setting on-exceed to cover the old file (#4861)
* docs: [el-upload]add example of seting on-exceed to cover the old file

* Update packages/components/upload/src/useHandlers.ts

Co-authored-by: btea <2356281422@qq.com>

* Update docs/examples/upload/limit-cover.vue

Co-authored-by: btea <2356281422@qq.com>

Co-authored-by: btea <2356281422@qq.com>
2021-12-21 09:27:52 +08:00
云游君
74785ca472
refactor(components): set messagebox button size be default (#4846) 2021-12-15 17:32:22 +08:00
三咲智子
6287c1f92d
refactor(utils): remove isServer (#4792) 2021-12-12 23:28:03 +08:00
云游君
7666e247c3
fix(style): custom icon size (#4798) 2021-12-12 22:33:48 +08:00
云游君
4560adfdf8
refactor(style): adjust component size to large/default/small (#4491)
* refactor(style): adjust component size to large/default/small

* refactor(components): avatar size & use flex instead of block

* refactor(components): adjust check button size

* refactor(components): adjust tag size

* refactor(components): adjust size doc

* fix(components): datetime-picker demo style width

* refactor(components): color-picker size & block to flex

* refactor(components): adjust slider input size

* refactor(components): adjust radio input size for demo

* refactor(components): adjust select size & docs

* refactor(components): adjust form radio size & docs

* refactor(components): add windicss for docs

* refactor(components): adjust skeleton avatar size to css var

* refactor(components): simplify typography size demo

* refactor(components): adjust dropdown size & demo

* refactor(components): adjust descriptions size

* fix(components): datetime-picker showcase class pollute global button

* chore(ci): upgrade docs dependencies to fix ci

* fix(ci): add highlight because vitepress not export it

* fix(ci): disable line for no-console

* fix(ci): remove mini to fix test

* fix(style): code font size

* fix(style): button span flex style

* fix(style): button padding horizontal default 15px

* refactor(components): adjust tag padding size & demo

* refactor(components): adjust form line-height for input

* refactor(components): adjust dropdown menu size & button padding

* fix(style): picker separator block to flex center

* fix: dropdown button span items-center

* style: adjust input-with-icon & size demo & fix input vitepress load

* chore: upgrade dependencies

* chore: upgrade dependencies

* ci: fix website build

* ci: regenerate pnpm-lock.yaml

* ci: use dev pnpm-lock

* ci: update pnpm-lock.yaml
2021-12-12 17:54:21 +08:00
云游君
3fa3e9ff6b
refactor(utils): use @ctrl/tinycolor instead of custom color.ts (#4682) 2021-12-12 16:14:42 +08:00
renovate[bot]
a8462cf49d
chore(deps): update dependency rollup to v2.61.1 (#4789)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-12-11 21:14:57 +08:00
btea
81efc44c3b
fix(components): [date-picker] filter custom content comment (#4651) 2021-12-11 12:35:47 +08:00
msidolphin
4f6cac4252
fix: [el-date-picker] focus input box when focus method is called (#4343)
fix #4327
2021-12-11 06:56:40 +08:00
C.Y.Kun
13375ef887
fix(components): [ElDatePicker] click clear is invalid (#4768) 2021-12-10 21:21:21 +08:00
Alan Wang
60bdd14317
fix(components): [el-tooltip] fallback placement (#4771) 2021-12-10 18:32:30 +08:00
C.Y.Kun
6113e9e539
refactor(components): refactor switch (#4271) 2021-12-10 18:30:15 +08:00
Carter Li
fcd11d9bb0
fix(components): [table-column, time-picker] improve typings (#4761) 2021-12-10 18:14:31 +08:00
iceman
70b754fe93
refactor(components): [el-checkbox] simplify the value (#4674)
Co-authored-by: iceman <dd>
2021-12-10 18:13:35 +08:00
三咲智子
3d019cfbac
refactor(components): refactor loading (#4750) 2021-12-10 17:52:11 +08:00
三咲智子
db1d9401fe
feat(components): [el-config-provider] add size (#4730) 2021-12-10 17:21:01 +08:00
Kevin
aa5be28c0c refactor(components): refactor progress 2021-12-10 03:15:16 +08:00
Alanscut
16ea1bfecc refactor(components): refactor progress 2021-12-10 03:15:16 +08:00
Alan Wang
8600be1cd1
refactor(components): refactor calendar (#4325)
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-12-10 02:41:46 +08:00
Alan Wang
42430106f3
feat(components): [el-select] tag type (#4504) 2021-12-10 01:57:50 +08:00
Alan Wang
0b269e76a1
feat(components): [el-divider] support setting the dividing line style (#4435)
* feat(components): [el-divider] support setting the dividing line style

* Update divider.md
2021-12-09 20:41:38 +08:00
Alan Wang
59ea340e7e
fix(components): [el-input-number]set value equal to min will update (#4650) 2021-12-08 09:05:52 +08:00
spx
5beaf750f3
feat(components): [el-dialog] support custom close icon (#4514)
[el-dialog] support custom close icon
2021-12-07 17:51:15 +08:00
Alan Wang
812b1b8b80
fix(components): [el-input-number]raise native form validation error (#4706) 2021-12-07 17:21:48 +08:00
张仕春
f0162167aa
fix(components): [el-table] tooltip wrong style
fix #4697
2021-12-07 16:23:11 +08:00
Alan Wang
b7ea88193b
refactor(components): refactor drawer (#4282)
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-12-04 23:19:34 +08:00
btea
73038fccce
fix(components): [el-message] fit badge error type (#4662) 2021-12-04 22:16:33 +08:00
三咲智子
5087026948
refactor: change icon package name (#4625) 2021-12-04 11:20:06 +08:00
btea
3c4d4a841c
fix(components): [el-button] computed type (#4641) 2021-12-04 01:23:40 +08:00
Alan Wang
54583bbec7
fix(components): [el-config-provider] autoInsertSpace false (#4629) 2021-12-02 20:00:56 +08:00
Alan Wang
16e1056e01
fix(components): [el-date-picker] can't use numpadEnter (#4563)
* fix(components): [el-date-picker] can't use numpadEnter

* fix(components): [el-date-picker]enter to close when input.value is null

* fix(components): [el-date-picker] add test
2021-12-01 16:29:49 +08:00
C.Y.Kun
0009de4be0
feat(components): [ElCalender] add internationalization (#4582)
* feat(components): [ElCalender] add internationalization

* perf(components): [ElCalender] remove redundant  `ref`
2021-12-01 16:26:51 +08:00
三咲智子
57dd10ad49
fix(utils): setTimeout & config-provider type (#4598)
* fix(utils): setTimeout type

* fix(components): export config-provider types
2021-12-01 15:58:53 +08:00
C.Y.Kun
164f4249d1
fix(components): [ElScrollbar] fix useResizeObserver watch undefined (#4576) 2021-11-30 15:49:35 +08:00
btea
aae2514a87
improvement(components): [el-cascader-panel] unref store (#4544) 2021-11-30 11:38:21 +08:00
C.Y.Kun
b12e82b8fc
fix(components): [ElMenu] the collapsible menu switch will disappear (#4575) 2021-11-29 19:29:41 +08:00
三咲智子
bbd16a08e9
refactor(hooks): refactor hooks (#4253)
* refactor(hooks): remove use-css-var

* refactor(hooks): remove use-events

* refactor(hooks): remove use-migrating

* refactor(hooks): remove use-transition

* refactor(hooks): named export useAttrs

* refactor(hooks): named export useFocus

* refactor(hooks): refactor useFormItem

* refactor(hooks): refactor useGlobalConfig

* refactor(hooks): refactor useLocale

* refactor(hooks): refactor useLockscreen

* refactor(hooks): refactor useModal

* refactor(hooks): refactor useModelToggle

* refactor(hooks): refactor usePreventGlobal

* refactor(hooks): refactor useRestoreActive

* refactor(hooks): refactor useTeleport

* refactor(hooks): refactor useThrottleRender

* refactor(hooks): refactor useTimeout

* refactor(hooks): refactor useTransitionFallthrogh
2021-11-29 15:58:44 +08:00
云游君
17d6287d6c
fix(components): confirm button style when in message-box (#4564) 2021-11-29 13:24:32 +08:00
renovate[bot]
023bc0685d
chore(deps): update dependency prettier to v2.5.0 (#4536)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-11-28 20:20:09 +08:00
王永辉
0feacce078
Update item.vue (#4555)
remove useless code
2021-11-28 14:14:31 +08:00
C.Y.Kun
af2d8cf6ba
fix(components): [date-picker] range-separator slot don't work (#4522) 2021-11-25 09:43:50 +08:00
sumy
6c79ef576c
fix(components): [el-upload] fix get accept from uploader.props (#4506)
fix #4505
2021-11-24 22:32:56 +08:00
啝裳
23958e4a75
fix(components): [el-menu] menu-collapse onLeave lose done (#4517) 2021-11-24 17:31:18 +08:00
周毓杰 (Oliver Zhou)
adc85619e0
perf(components): avoid unnecessary tab switch rerender (#4513)
Co-authored-by: 周毓杰 <xiake@xiaohongshu.com>
2021-11-24 13:55:00 +08:00
C.Y.Kun
8fe4f1e65e
fix(components): [ElFormItem] label will be show undefined (#4487) 2021-11-23 00:17:19 +08:00
C.Y.Kun
0832a55f89
refactor(components): refactor button (#4499) 2021-11-23 00:10:54 +08:00
kooriookami
94e0421623
fix: coler picker support touch (#4477)
* fix: coler picker support touch

* fix: update

* fix: add getClientXY util

* fix: move getClientXY to util/dom
2021-11-22 17:01:09 +08:00
云游君
e68b6c05d7
refactor(style): rename to text-color bg-color (#4468)
* refactor(style): rename -font to -text-color & -background to -bg-color

* refactor(style): rename bg-color text-color

* refactor(style): rename 'color' to 'text-color'
2021-11-22 11:19:44 +08:00
btea
500fa403ba
fix(components): [el-select-v2] set option default value 0 (#4417)
* fix(components): [el-select-v2] set option defalut value 0

* fix: add hasModelValue
2021-11-21 20:23:24 +08:00
C.Y.Kun
e9f3d989c6
fix(components): [el-image] preview-src-list warn (#4472) 2021-11-21 19:17:17 +08:00
C.Y.Kun
e51ce0dc17
fix(components): [ElSelect] fix group disabled don't work (#4481) 2021-11-21 19:14:29 +08:00
云游君
5a166b4ba5
feat(components): add custom color for button & rename css var bg-color (#3664) 2021-11-19 20:22:16 +08:00
SongWuKong
ff9a6d2c6b
fix(components): [el-rate] icon hidden (#4452) 2021-11-18 22:33:36 +08:00
三咲智子
6de5aacce4
fix(components): [el-tabs] fix tab render (#4383) 2021-11-15 10:08:07 +08:00
C.Y.Kun
6363cf03bc
refactor(components): refactor skeleton/skeleton-item (#4264) 2021-11-14 22:55:50 +08:00
C.Y.Kun
87a06ddcdf
feat(components): [el-select] support suffix-icon (#4364) 2021-11-12 14:27:51 +08:00
Kevin
bc869e3368 refactor(components): refactor scrollbar 2021-11-12 06:55:58 +08:00
undefined-design
0369fa8fac refactor(components): refactor scrollbar 2021-11-12 06:55:58 +08:00
Kevin
a586e15a35 refactor(components): refactor tabs 2021-11-12 05:43:40 +08:00
Chen
bb6fad313e refactor(components): refactor tabs 2021-11-12 05:43:40 +08:00
msidolphin
75c6ea967a
refactor: [el-config-provider] change default autoInsertSpace to false (#4330) 2021-11-10 15:21:20 +08:00
btea
fdf8c13aad
fix(components): [el-autocomplete] fix popper position (#4321)
* fix(components): [el-autocomplete] fix popper position

* fix: add fallback-placements
2021-11-10 10:29:23 +08:00
C.Y.Kun
5e3a86eaa9
fix(components): [el-checkbox] tabindex property doesn't work (#4286) 2021-11-08 13:13:47 +08: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