Commit Graph

433 Commits

Author SHA1 Message Date
JeremyWuuuuu
d2e9de9511
feat(components): [el-dialog] enhancement for dialog a11y (#6087)
* feat(components): [el-dialog] enhancement for dialog a11y

- Refactor dialog to script setup

* Separates dialog and its content into different components

* Remove unused code & fix a potential bug in focus-trap component

* Update dialog-content.vue

Co-authored-by: bqy <1743369777@qq.com>
2022-02-22 12:49:28 +08:00
云游君
709c2d837c
feat(docs): add docs dark basic style (#6196) 2022-02-21 21:36:34 +08:00
三咲智子
7b098fe809
chore(deps): upgrade deps (#6197) 2022-02-21 15:35:45 +08:00
weidehai
687d3e0abc
fix(components): [select-v2] fix #6083 bug (#6084) 2022-02-21 14:54:45 +08:00
Alan Wang
98b901c221
fix(components): [el-switch] increase the word count of (in)active-text (#6140)
* fix(components): [el-switch] increase the word count of (in)active-text

* Update packages/components/switch/src/switch.vue

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

* Update switch.vue

Co-authored-by: btea <2356281422@qq.com>
2022-02-21 10:16:21 +08:00
msidolphin
6e8a0016eb
refactor(components): [el-input] use box-shadow to implement border (#6031)
* refactor(components): [el-input] use box-shadow to implement border

* fix: select position
2022-02-21 09:31:18 +08:00
kouchao
3c8ff3aece
fix(components): [el-input] missing margin between two icons (#5942) (#6017)
Co-authored-by: 寇超 <kouchao@xindong.com>
2022-02-15 16:00:32 +08:00
Twiliness
f811392e25
feat(components): [el-pagination] support custom button background color (#6012)
Add a new css variable `--el-pagination-button-bg-color` to support custom button background color when using `background` attribute.
2022-02-14 08:55:54 +08:00
啝裳
b825c07865
style: [el-select-v2] fix placeholder's size wrong (#5989) 2022-02-11 23:41:55 +08:00
C.Y.Kun
15a0711035
fix(components): style error when component import order is unknown (#5938) 2022-02-11 23:37:50 +08:00
jeremywu
1429a4e669
fix(components): [el-select] tag default theme (#5983)
- Fix the default theme for select tag
- Fix the input padding for inputable select
2022-02-11 19:55:34 +08:00
Aex
945e469624
fix(components): [el-menu] collapse menu active color (#5735) 2022-02-11 11:23:02 +08:00
msidolphin
bc7317203b
fix(components): [el-time-picker] border overlap in hover state (#5950) 2022-02-11 10:13:35 +08:00
msidolphin
baf6bc0260
fix: [el-pagination] fix justify alignment (#5814)
fix #5807
2022-02-07 16:46:26 +08:00
kooriookami
fb50b4ff8d
fix(components): [Dialog & MessageBox] support draggable (#5369)
* feat: add use-draggable

* feat: msgbox add draggable

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update
2022-02-03 21:04:25 +08:00
kooriookami
e89804196b
style: fix popper style (#5736) 2022-01-31 22:59:06 +08:00
kooriookami
eb6553bedf
fix(components): [image-viewer] fix some bugs and improve style (#5673)
* fix: fix ElImageViewer

* fix: update

* perf: perf zoomRate
2022-01-28 15:21:43 +08:00
msidolphin
17fd183f87
fix(theme-chalk): [el-pagination] quick button disabled state (#5672) 2022-01-27 17:36:26 +08:00
msidolphin
8322bcf843
refactor(components): [el-pagination] optimize component style (#5666) 2022-01-27 16:52:45 +08:00
G-G
696c20dd60
fix(theme-chalk): el-breadcrumb__item style (#5597)
* fix(theme-chalk): el-breadcrumb__item style

Change the style of el-breadcrumb__item,It wasn't aligned before

fix #5594

* docs(docs): docs edit describe

docs edit describe  Change separator-class to separator-icon

* docs(docs): docs edit describe

docs edit describe  Change 'iconfont' to 'svg icon'

Co-authored-by: 赵雅国 <zhao.yaguo@shinewingdigital.com>
2022-01-27 16:27:30 +08:00
msidolphin
77a3d5c7c1
refactor(components): [el-pagination] adjust component size (#5640)
* refactor(components): [el-pagination] adjust component size

* fix: background size

* chore: improve doc style
2022-01-26 14:29:48 +08:00
msidolphin
043d20403f
fix(components): [el-table] fix invalid maxHeight issue (#5584)
* fix(components): [el-table] fix invalid maxHeight issue

fix #5580

* fix: remove native scrollbar
2022-01-26 14:05:35 +08:00
MoConWu
5ee184fdfd
feat(theme-chalk): css var for empty & rate (#5359)
* 更新var.scss,提取empty的fill-color

将fill的color提取出来,作为变量,方便后续修改,修改如下:
    'fill-color-0': var(--el-color-white),
    'fill-color-1': #FCFCFD,
    'fill-color-2': #F8F9FB,
    'fill-color-3': #F7F8FC,
    'fill-color-4': #EEEFF3,
    'fill-color-5': #EDEEF2,
    'fill-color-6': #E9EBEF,
    'fill-color-7': #E5E7E9,
    'fill-color-8': #E0E3E9,
    'fill-color-9': #D5D7DE,

* 修改Empty的fillcolor作为变量引用,方便后续的色彩搭配更改

修改Empty的fillcolor作为变量引用,方便后续的色彩搭配更改

* 修改rate下的配色提取到变量里

修改rate下的配色提取到变量里,提取如下:
    'void-color': #c6d1de,
    'rate-color': #F7BA2A,

* 提取rate的色彩作为变量

提取rate的色彩作为变量

* 修改rate的色彩变量

修改和提取rate变量为:
    'void-color': #c6d1de,
    'star-color': #F7BA2A,
    'disable-void-color': #EFF2F7,
    'text-color': #1f2d3d,

* replace space to enter

替換空格为回车

* lint change

lint change

* Missing Pretty error

color 颜色小写

* Add CustomStyles infomation

Add CustomStyles infomation

* Change CustomStyles

Change CustomStyles

* Add CustomStyles

Add CustomStyles

* Change rate to empty

Change rate to empty

* Modify CustomStyles after Bottom content

Modify CustomStyles after Bottom content

* Change Custom styles

Change Custom styles

* feat: format rate.md
2022-01-26 02:10:19 +08:00
kooriookami
7032e75721
style&doc(components): [el-tooltip] improve style and doc (#5598)
* style: change style

* style: remove useless style

* style: update

* docs: update
2022-01-25 16:10:49 +08:00
msidolphin
6d779fd5c7
fix(components): [el-select-v2] optimize component size (#5531) 2022-01-22 10:13:53 +08:00
msidolphin
13de0524eb
feat(components): [el-button] support for customize loading component (#5505) 2022-01-21 23:11:35 -03:00
msidolphin
b0ce4f528c
fix(components): [el-message] style conflict (#5530) 2022-01-21 16:47:57 +08:00
三咲智子
b6ac078b97
fix(components): fix sub-menu style (#5516) 2022-01-21 09:33:34 +08:00
msidolphin
aa5aa29073
chore: improve table style (#5511) 2022-01-20 18:03:55 +08:00
msidolphin
13be920c9a
refactor: [el-table] refactoring table with el-scrollbar (#5384)
* refactor: [el-table] refactoring table with el-scrollbar

* refactor: remove gutter

* fix: remove unused

* fix: optimize code
2022-01-19 17:12:58 +08:00
kooriookami
3204ac036d
style: tooltip padding (#5433) 2022-01-18 16:53:15 +08:00
Valar103769
3fabe492e9
chore(docs): fix buildThemeChalk comment (#5426) 2022-01-17 15:43:07 +08:00
Alan Wang
64a55e3562
fix(components): [el-select] suffix-icon disabled (#5354) 2022-01-17 15:14:25 +08:00
Alan Wang
984e0c2578
feat(components): [el-drawer] add footer slot (#5404)
* feat: [el-drawer]add footer slot

* feat(components): [el-drawer]add footer slot

* feat(components): [el-drawer]add cancel and confirm function
2022-01-17 14:58:06 +08:00
kooriookami
f632072186
feat: dropdown add popper-options prop (#5396) 2022-01-16 13:56:16 +08:00
kooriookami
0745e29b0d
fix: fix space style (#5387) 2022-01-14 16:41:13 +08:00
kooriookami
3ed376f044
style: msgbox (#5371) 2022-01-14 09:22:44 +08:00
kooriookami
57e0d1d1bb
fix(style): [el-dropdown] fix doc style (#5266)
* fix: update style

* style: update

* feat: update test
2022-01-11 10:29:25 +08:00
msidolphin
180e21dc56
fix(components): [el-tree] fix safari drop animation issue (#5294) 2022-01-11 10:21:13 +08:00
Delyan Haralanov
979165a2ac
feat(components): [el-tabs] add active-bar width transition (#5206) (#5223) 2022-01-10 09:55:11 +08:00
msidolphin
b5ae3e80bb
fix(components): [el-transfer] improve styles (#5139) 2022-01-08 19:53:52 +08:00
msidolphin
d61cf39cf3
chore(components): add shadow to panels (#5146)
* chore(components): add shadow to panels

* fix: improve menu test
2022-01-08 19:52:50 +08:00
Alan Wang
0508c6fadd
fix(components): [el-pagination] layout error (#5181) 2022-01-08 19:49:46 +08:00
btea
b8b60248a6
feat(components): [el-tag] adjust icon size (#5207)
* feat(components): [el-tag] adjust icon size

* feat: font-size
2022-01-08 19:40:53 +08:00
kooriookami
f5b7e3accc
fix(components): [el-form] fix form style (#5145)
* style: fix form style

* feat: update

* feat: update

* feat: update

* feat: update spell

* feat: update
2022-01-08 19:34:09 +08:00
msidolphin
c24bebbe5d
fix(components): [el-date-picker] fix footer style (#5144) 2022-01-07 16:30:06 +08:00
msidolphin
2af36e42b2
feat(components): checkbox & radio support small size (#5189) 2022-01-07 15:58:59 +08:00
kooriookami
b33fed911b
feat(components): [el-slider] slider add size prop (#5091)
* feat: slider add size

* feat: update

* feat: update

* feat: update
2022-01-07 15:44:43 +08:00
kooriookami
fb76382dd1
feat(components): [el-switch] switch add size prop (#5101)
* feat: switch add size

* feat: update

* feat: update
2022-01-07 15:43:53 +08:00
kooriookami
9e53873742
feat(components): [el-rate] rate add size prop (#5102)
* feat: rate add size

* feat: update test

* feat: update
2022-01-07 15:43:38 +08:00
Alan Wang
bf1f52b87e
fix(components): [el-select-v2] tag overflow (#5160) 2022-01-06 08:40:48 +08:00
msidolphin
e3e59afc75
refactor: [el-table] using sticky position refactor fixed column (#4414)
* refactor: [el-table] using sticky position refactor fixed column

re #4399

* fix: solve the misalignment issue

* fix: optimize code
2022-01-05 15:13:01 +08:00
msidolphin
d8fb83c0f4
refactor(components): [layout] optimize performance (#4600) 2022-01-04 15:06:18 +08:00
jeremywu
dd19cae2bc
refactor(components): popper composables (#5035)
* refactor(components): popper composables

- Refactor popper composables

* updates

* updates for tooltip

* Updates for popper. TODO: fix controlled tooltip animation

* Fix controlled mode popper animation issue

* Add new feature for customizing tooltip theme

* Fix popover and popconfirm error

* - Add Collection component for wrapping a collection of component
- Add FocusTrap component for trap focus for popups
- Add RovingFocus component for roving focus component type
- Adjust dropdown component based on these newly added components
- Add popper-trigger component for placing the trigger
- TODO: Finish current dropdown component, and all component's tests plus documents

* Refactor popper

* Complete organizing popper

* Almost finish dropdown

* Update popper tests

* update only-child test

* Finish focus trap component test

* Finish tooltip content test

* Finish tooltip trigger tests

* Finish tooltip tests

* finish tests for Collection and RovingFocusGroup

* Fix test cases for timeselect & select & popover

* Fix popover, popconfirm, menu bug and test cases

* Fix select-v2 test error caused by updating popper

* Fix date-picker test issue for updating popper

* fix test cases

* Fix eslint

* Rebase dev & fix tests

* Remove unused code
2022-01-04 09:15:15 +08:00
云游君
2f146e8624
fix(theme-chalk): input-number controls increase/decrease height (#5088) 2021-12-31 17:24:38 +08:00
renovate[bot]
e1c01db42c
chore(deps): update dependency gulp-sass to v5.1.0 (#5066)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-31 10:44:22 +08:00
jeremywu
f024ddc941
feat(style): update cascader radio button padding size (#5057) 2021-12-30 19:25:37 +08:00
kooriookami
10e231168a
style: update descriptions style (#5025)
* style: update descriptions style

* style: update

* style: update demo

* style: update

* style: update

* style: update

* style: update

* style: update

* feat: update
2021-12-30 17:46:33 +08:00
msidolphin
d4b8199618
fix(components): adjust style of the radio and form (#5047) 2021-12-30 17:45:49 +08:00
iamkun
fce6acb5ca
refactor(style): adjust table size to large/default/small (#5036)
* feat: update table css

* feat: update table css

* feat: update table css

* feat: update table css
2021-12-30 17:32:24 +08:00
云游君
bd75d831f2
fix(theme-chalk): auto menu item height & add css var, close #4864 (#5034) 2021-12-30 17:28:49 +08:00
云游君
047dbccf3d
fix: adjust tag icon size & add checkbox with-border demo (#5033) 2021-12-30 17:26:32 +08:00
云游君
5067dd3b70
fix(theme-chalk): upload progress & menu padding style & pagination align (#5011)
* fix: upload progress margin

* fix: menu example style

* fix: picker & radio padding, button form details

* fix(theme-chalk): pagination align
2021-12-29 16:21:29 +08:00
云游君
2b209fd760
fix(components): input-number/input/dropdown/select/badge details (#4866) 2021-12-28 19:38:23 +08:00
Soul
2481d35d66
fix(components): [el-upload] improve image style (#4902) 2021-12-28 16:06:14 +08:00
msidolphin
679e7ef285
fix(components): [el-drawer] fix content cannot scroll issue (#5001)
fix #4999
2021-12-28 15:04:38 +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
云游君
0870bb968c
fix: tag in select style (#4914)
* fix: tag in select style

* fix: extract common style from select to fix select
2021-12-21 15:47:20 +08:00
云游君
efb48a61fd
fix(style): adjust component size & demo (#4801)
* fix(style): adjust button size & demo spacing

* fix(style): adjust input padding & with prefix/suffix

* fix(style): adjust button padding horizontal

* fix(style): adjust form margin & font-size

* refactor(docs): use setup simplify form examples
2021-12-15 16:36:49 +08:00
Alan Wang
b741ab5e67
fix(components): [el-form] vertical aligin (#4717) 2021-12-15 16:32:14 +08:00
cregis0073
13145de1e8
fix(theme-chalk): Put back !optional to @extend (#4835) 2021-12-15 16:28:09 +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
Alan Wang
35b1f24f8e
fix(components): [el-menu] third-party icons are hidden (#4754) 2021-12-10 18:10:42 +08:00
Alan Wang
42430106f3
feat(components): [el-select] tag type (#4504) 2021-12-10 01:57:50 +08:00
云游君
15251c3639
fix(style): override el-icon display in el-input__icon (#4684)
* fix(style): override el-icon display in el-input__icon

* fix(style): use double class selector to override input icon style

* Update packages/theme-chalk/src/input.scss

Co-authored-by: Aex <adaex@qq.com>
2021-12-09 22:56:35 +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
云游君
e01a236849
refactor(style): rename -color-base to --el-bg-color (#4615) 2021-12-05 12:59:18 +08:00
云游君
240f65c2a3
fix(style): icon font-size inherit (#4565) 2021-12-04 01:32:13 +08:00
云游君
db4db285ac
fix(components): dropdown menu divided style, close #4631 (#4638) 2021-12-02 19:51:23 +08:00
Esteban Fuentealba
f2b08cb025
fix(theme-chalk): add !optional to @extend 2021-12-01 16:26:00 +08:00
Alan Wang
d09267b7d4
fix(components): [el-dropdown] icon vertical center (#4431) 2021-11-30 16:21:15 +08:00
Alan Wang
49b0acf33a
fix(components): [el-tag] icon-center (#4438) 2021-11-30 16:10:36 +08:00
云游君
ad3ea51b83
fix(style): input inner padding right when has suffix (#4574) 2021-11-29 19:27:39 +08:00
云游君
900d62a77e
refactor(style): rename disabled color and migrate to css var (#4493)
* refactor(style): adjust component size to large/default/small

* fix(style): radio checkbox button default color

* Revert "refactor(style): adjust component size to large/default/small"

This reverts commit a952d9c81a.

* fix(style): use disabled-color-base as button disabled-text-color

* refactor(style): rename disabled base color

* refactor(style): simplify css var generate
2021-11-22 15:10:23 +08:00
云游君
859629c3ac
fix(style): radio checkbox button default color (#4492)
* refactor(style): adjust component size to large/default/small

* fix(style): radio checkbox button default color

* Revert "refactor(style): adjust component size to large/default/small"

This reverts commit a952d9c81a.

* fix(style): use disabled-color-base as button disabled-text-color
2021-11-22 14:22:15 +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
57f9da5502
chore(style): use english comment and fix typo (#4430) 2021-11-21 19:20:12 +08:00
云游君
5a166b4ba5
feat(components): add custom color for button & rename css var bg-color (#3664) 2021-11-19 20:22:16 +08:00
云游君
d0fa8ba6e5
chore(style): use english comment with scss style for vite build (#4381) 2021-11-12 17:02:28 +08:00
C.Y.Kun
1300f89e4f
fix(theme-chalk): fix icon style in Menu component is wrong (#4302) 2021-11-09 09:17:28 +08:00
btea
b18750bb2f
fix(style): radio group set inline-block (#4255) 2021-11-08 15:37:11 +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
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
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
云游君
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
云游君
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
云游君
c1621a5164
fix: input suffix icon center by flex (#4159) 2021-11-01 20:05:25 +08:00