Commit Graph

461 Commits

Author SHA1 Message Date
三咲智子
80d903771f
feat: extract eslint config to separate package (#6495) 2022-03-10 15:39:13 +08:00
云游君
6b7bc4fd94
refactor(theme-chalk): message css var & add getCssVarName (#6488)
* refactor(theme-chalk): message css var & add getCssVarName

* Update closable.vue
2022-03-08 21:08:19 +08:00
msidolphin
a7db76d782
fix: [el-table] fixed columns display when horizontal cannot scroll (#6320)
* fix: [el-table] fixed columns display when horizontal cannot scroll

* fix: change default class

* refactor: optimize fixed column style
2022-03-07 16:17:16 +08:00
msidolphin
166c5944d0
fix(components): [el-select] optimize prefix size & selected style (#6267)
* fix(components): [el-select] optimize prefix size & selected style

* fix: implement icon by mask

* chore: adjust multiple demo width
2022-03-07 16:13:05 +08:00
blackie
a178131193
fix(components): [dropdown] add disabled support (#6375)
* fix(components): [dropdown] add disabled support

* fix(components): [dropdown] resolve review

* fix(components): [dropdown] resolve review
2022-03-06 18:19:08 +08:00
msidolphin
ce10babc22
fix: [el-table] selection cell when double clicking expand icon (#6400) 2022-03-05 20:36:32 +08:00
msidolphin
f3b4e54c0c
feat(components): [el-dialog] add border-radius css variable (#6412) 2022-03-05 20:35:07 +08:00
gjfei
d6ce14500d
fix(components):[el-collapse-transition] styles (#6414) 2022-03-05 20:34:26 +08:00
gjfei
158e5a8a23
fix(theme-chalk): namespace (#6416) 2022-03-05 20:34:01 +08:00
Alan Wang
f6fc91b9d6
fix(theme-chalk): [input] custom theme error (#6430) 2022-03-05 20:32:48 +08:00
msidolphin
7c1b22e4fa
fix(components): [el-input] override edge browser default password style (#6423) 2022-03-05 20:32:16 +08:00
Alan Wang
dc7c54c741
fix(components): [select-v2] style error when form is set to disabled (#6391) 2022-03-04 08:56:37 +08:00
blackie
5239079c55
fix(components): [select] fix align issue for remove button (#6397) 2022-03-04 08:50:46 +08:00
Yuyao Nie
c7ae1f65ad
fix(components): make margin of search equal to padding of el-input (#6409) 2022-03-04 08:47:01 +08:00
msidolphin
6c5668a4d3
fix(components): [tabs] optimize new icon style (#6327) 2022-03-02 15:29:15 +08:00
msidolphin
b5d3a63702
fix(components): [el-dropdown-menu] override default style (#6328) 2022-03-02 09:50:36 +08:00
llllllllllx
ce614197d7
fix(components): [message-box] fix center style (#6356) 2022-03-01 23:42:11 +08:00
Yuyao Nie
a54a0f9283
fix(components): set flex-shrink for first child of submenu title (#6315)
* fix(components): set flex-shrink for first child of submenu title

* chore(components): modify code according to reviews
2022-03-01 15:41:01 +08:00
btea
0f5fe32b79
fix: [el-select] remove last tag margin-right (#5992)
* style: [el-select] remove last tag margin-right

* chore: update selector
2022-02-24 16:15:27 +08:00
msidolphin
cd0f01c034
chore(components): [el-input] override default border (#6250) 2022-02-24 11:13:41 +08:00
云游君
155a7f9de2
fix(theme-chalk): remove useless tag close icon css attribute (#6242) 2022-02-23 16:47:20 +08:00
gjfei
4e603d336f
fix(components):[el-date-picker] styles (#6187) 2022-02-23 11:03:29 +08:00
paul
f68aa3cf05
feat(components): [el-row] enhancement for supporting space-evenly (#6223)
Co-authored-by: gp5251 <gp5251@qq.com>
2022-02-23 10:46:06 +08:00
云游君
496398ce38
refactor(theme-chalk): use scss list & map generate type css var (#6221)
* refactor(theme-chalk): use scss list & map generate type css var

* chore(theme-chalk): remove quote for var

* refactor(theme-chalk): use light-7 for check button

* refactor(theme-chalk): use light var for check-tag

* refactor(theme-chalk): use css var for tag color

* refactor(theme-chalk): remove tag-color in scss var
2022-02-23 10:09:32 +08:00
msidolphin
d05a83b9e7
chore(components): [el-date-picker] fix range-picker border (#6230) 2022-02-23 10:08:19 +08:00
Alan Wang
00c855d927
fix(style): classes for hiding elements (#6217) 2022-02-22 17:55:54 +08:00
云游君
f0e4b3a184
fix(docs): remove fixed variables & add color palette (#6216) 2022-02-22 16:42:54 +08:00
msidolphin
04f6db9be8
chore(components): [el-input] use mixins to refactor the box-shadow (#6209)
* chore(components): [el-input] use mixins to refactor the box-shadow

* fix: adjust z-index
2022-02-22 15:32:27 +08:00
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