Commit Graph

495 Commits

Author SHA1 Message Date
JeremyWuuuuu
337622ed95 feat(components): [tag] add new API for rounded
- Add new api `round` for rounded tag.
- Add documentation for rounded tag.
- Update document styles.
2022-03-31 17:27:49 +08:00
云游君
5d0ee3ab34
fix: remove default size warn by set componetSizes (#6908)
* fix: remove default size warn by set componetSizes

* fix: default avatar size
2022-03-31 10:12:52 +08:00
joson
cc9df6ea61
style: delete extra spaces (#6903)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-03-31 09:11:29 +08:00
JeremyWuuuuu
f576d5a57b
feat(components): [tooltip-v2] documentation (#6870)
- Add tooltip-v2 documentation
- Complete tooltip-v2 implementation
2022-03-29 15:12:10 +08:00
云游君
19a4e2d7ac
refactor(theme-chalk): overlay/mask/box-shadow css vars (#6848) 2022-03-27 23:23:14 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
云游君
f74f4e94d2
refactor(theme-chalk): remove default size class & simplify button css (#6782)
* refactor(theme-chalk): [button] remove default size class & simplify css

* test: fix test caused by size remove default

* fix: adapt for form default & remove tag default button m 0

* fix: add uno.css & bem for tag
2022-03-24 19:42:09 +08:00
btea
cffc865f21
fix(components): [cascader] loading icon position (#6802) 2022-03-24 18:29:47 +08:00
gjfei
e179ee6960
refactor(components): [time-picker] use useNamespace (#6523)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-23 22:58:43 +08:00
Hefty
35ad87ef0b
fix(components): [input] textarea border does not display on ios (#6768)
fix: #6752
2022-03-23 18:13:39 +08:00
YunYouJun
0574c7eaca refactor(theme-chalk): use getCssVar instead of var(--el) & fix details 2022-03-23 17:10:40 +08:00
云游君
e4c6f6d0d9
refactor(theme-chalk): use css var instead of component hex colors (#6727)
* refactor(theme-chalk): use css var instead of component hex colors

* refactor(theme-chalk): hex colors to css var & use mixin as namespace
2022-03-21 21:41:33 +08:00
Hefty
e464348655
fix(style): [el-checkbox-group] vertical align in form-item (#6688) 2022-03-19 09:35:34 +08:00
云游君
aeee7339f4
refactor: css vars for reset.scss & reset for docs & fix cards (#6698) 2022-03-18 23:53:11 +08:00
Zhongxiang Wang
9843fb1d69
fix(components): [table] not scroll empty block when scrolling table (#6615)
* fix(components): [table] not scroll empty block when scrolling table

* fix(components): [table] fix unexpected gap

* fix(components): [table] fix unexpected gap
2022-03-16 10:47:30 +08:00
三咲智子
bb939c6a58
refactor(build): move to internal package (#6585)
* refactor(build): move to internal package

* ci: fix

* chore: fix

* fix: docs

* chore: add fast-glob to root package

* chore: fix PR comments

* build: add tsx

* refactor: re-organize

* refactor: improve log
2022-03-15 19:23:38 +08:00
云游君
9c4f1774f2
fix(theme-chalk): [mixins] use set-css-var-value to transpile text (#6630)
* fix(theme-chalk): [mixins] use set-css-var-value to transpile text

* fix(theme-chalk): [mixins] format code
2022-03-15 10:47:00 +08:00
云游君
a7cab4fb52
fix(theme-chalk): [drawer] bg color (#6631) 2022-03-15 10:45:21 +08:00
云游君
f22614b11c
fix(components): [pagination] button bg color (#6628)
* fix(components): [pagination] button bg color

* fix(components): [pagination] button bg color
2022-03-14 23:41:50 +08:00
Zhongxiang Wang
b80d5f9d4d
fix(theme-chalk): [cascader/checkbox] fix unexpected fill color (#6619) 2022-03-14 19:57:25 +08:00
Hefty
15d543d69f
fix(theme-chalk): [message-box] el-message-box__status position may o… (#6614)
* fix(theme-chalk): [message-box] el-message-box__status position may override by el-icon

* fix(theme-chalk): [message-box] use class selector
2022-03-14 19:48:28 +08:00
云游君
d3a66b8767
refactor(components): [rate] use css var & disable to disabled & star-color to fill-color (#6601)
* refactor(components): [rate] use css var & disable to disabled

* refactor(components): [rate] remove getIconStyle

* refactor(components): [rate] rename star-color to fill-color

* fix(test-utils): rate vitest by css vars

* refactor: use ns.is('', state)
2022-03-14 19:34:49 +08:00
iamkun
98f5e58f00
fix: Upload component remove status label box shadow (#6586) 2022-03-13 23:18:10 +08:00
云游君
d8a52cfe85
refactor(theme-chalk): dark.scss to css vars & migrate fill-color-blank (#6597) 2022-03-13 22:42:57 +08:00
云游君
06f6844509
refactor(theme-chalk): rewrite palette & remove -base suffix (#6593)
* refactor(theme-chalk): rewrite palette & remove -base suffix

* refactor(theme-chalk): container as default bg-color

* refactor(theme-chalk): add fill-color-blank

* fix(docs): fill-color-light for code-bg
2022-03-13 20:10:07 +08:00
bqy
6c3c4b2626
fix(components): [carousel] center arrow (#6573) 2022-03-12 23:37:31 +08:00
云游君
2db400c73a
refactor(components): [link] dynamic css vars & fix inner align (#6557) 2022-03-12 16:59:07 +08:00
云游君
93ee392932
fix(components): [upload] photo-wall wrap (#6546)
* fix(components): upload photo-wall wrap

* refactor(components): upload conent with props by tsx

* fix: type generate for upload sfc tsx

* Revert "fix: type generate for upload sfc tsx"

This reverts commit beeb9fb1642a875278ab9bf92f8ae4b7ae971013.

* Revert "refactor(components): upload conent with props by tsx"

This reverts commit 425e4a9f34693d9828bc8cf2e5ef2d75c5037864.

* fix: upload content type by as any

* refactor: extract uploadContentProps to object

* refactor(components): upload use tamplate instead of h

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

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

* refactor(components): remove useless key in upload-content

* refactor(components): fix type

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-03-12 16:57:48 +08:00
Alan Wang
b6f61dd562
fix(components): [el-menu] icon is not to the right of the text (#6268) 2022-03-11 15:58:44 +08:00
Alan Wang
103bb1b104
feat(components): [cascader]add collapse-tags-tooltip (#6331) 2022-03-11 15:58:00 +08:00
Alan Wang
57d08f9a78
feat(components): [select]add collapse-tags-tooltip (#6245)
* feat(components): [select]add collapse-tags-tooltip

* feat(components): [select] collapse-tags-tooltip set width

* feat(components): [select] collapse-tags-tooltip set fallback-placements

* feat(components): [select] resolve conflicts

* feat(components): [select] add v-if on tooltip
2022-03-11 15:56:23 +08:00
msidolphin
61c6b97183
fix(components): [el-upload] jitter when remove file in the list (#6505)
* fix(components): [el-upload] jitter when remove file in the list

* chore: improve code
2022-03-11 15:56:07 +08:00
blackie
c35dfec666
style(components): rename disabled to is-disabled (#6475)
* style(components): [pagination] rename disabled to is-disabled

* style(components): [slider] rename disabled to is-disabled

* style(components): [pagination] rename active to is-active

* refactor(components): [calendar] use namespace hooks

* fix(components): [pagination] fix test error
2022-03-10 23:57:07 +08:00
云游君
8929151b85
refactor(theme-chalk): [upload] use bem rewrite upload scss & fix bugs (#6508)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-10 23:52:13 +08:00
三咲智子
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