Commit Graph

522 Commits

Author SHA1 Message Date
JeremyWuuuuu
5f58657b69
feat(components): [virtual-table] overlay renderer (#7314)
- Add Overlay renderer
- Add Overlay in table-v2
- Update table-v2.scss for overlay
2022-04-22 08:07:01 +08:00
JeremyWuuuuu
74a8d8ba32
feat(components): [virtual-table] empty renderer (#7308)
- Add Empty component.
- Add empty render conditions.
- Add empty rendering to table-v2.
2022-04-21 18:45:35 +08:00
JeremyWuuuuu
658d396ff7 feat(components): [virtual-list] renderers
- Add Footer renderer.
- Add footer rendering for table-v2.
- Update table-v2.scss for footer rendering.
- Update utils typing.
2022-04-21 16:37:07 +08:00
JeremyWuuuuu
655fecd8f2
feat(components): [virtual-table] renderers (#7273)
- Update table grid for dynamic height row rendering
- Expose reset rendered row methods for Grid
- Expose enums in virtual table for user facing usages.
- Update table-v2 style.
2022-04-20 18:06:45 +08:00
Zhongxiang Wang
d2810c867e
fix(components): [input] fix status icon gap (#7228) 2022-04-19 12:39:08 +08:00
云游君
2b47933c8f
fix(theme-chalk): components details when dark (#7229)
* fix(theme-chalk): components details when dark

* fix(theme-chalk): remove step icon bg color
2022-04-19 12:38:12 +08:00
joson
ff7061d9b8
fix(components): [el-upload] icon is covered (#6951)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-04-19 07:54:30 +08:00
Zhongxiang Wang
8307d109fd
refactor(components): [input] change to flex layout (#7179)
* Revert "fix(components): [input] improved when both `suffix` and `prefix` are displayed (#7001)"

This reverts commit 793ca8ae29.

* refactor(components): [input] change to flex layout
2022-04-18 23:18:13 +08:00
JeremyWuuuuu
5716a94211
feat(components): [virtual-table] renderers (#7218)
- Temporarily removed ColumnResizer in HeaderCell
- Update VirtualScrollbar to match the design
- Style updates
2022-04-18 15:53:03 +08:00
webfansplz
503be91343
docs(theme-chalk): [select] fix a typo (#7214) 2022-04-18 14:01:09 +08:00
JeremyWuuuuu
8f57571d6b
feat(components): [virtual-table] renderers (#7204)
- Update sorting for table-v2.
- Update SortIndicator component's style.
2022-04-18 00:49:35 +08:00
云游君
56bbb81f2e
fix: empty svg when dark (#7203) 2022-04-17 23:55:02 +08:00
JeremyWuuuuu
0aabc18db7
feat(components): [virtual-table] renderers (#7201)
- Add RightTable component for rendering right fixed columns
- Add style for right fixed columns
- Fix the judgment bug for left fixed columns
2022-04-17 21:20:21 +08:00
JeremyWuuuuu
e610149fb7
feat(components): [virtual-table] renderers (#7198)
- Add LeftFixedTable component renderer
- Render LeftFixedTable for table-v2
- Add style for left table
2022-04-17 19:28:44 +08:00
JeremyWuuuuu
83aba9fd7a
feat(components): [virtual-table] renderer (#7191)
- Add ExpandIcon for rendering expandable row
- Fix a potential bug in VirtualGrid component
- Add method for mapping expandable data
2022-04-17 11:36:14 +08:00
云游君
9e083ff79d
fix: tag bg color & other dark details (#7138)
* fix: tag bg color & other dark details

* chore: use 0 instead of 0px
2022-04-13 14:40:01 +08:00
云游君
9c7c61eac5
fix(components): [color-picker] vertical bar bg (#7113) 2022-04-12 01:41:52 +08:00
云游君
33859cca5d
feat: add dark for custom button & adjust details (#7086) 2022-04-10 23:58:20 +08:00
Xc
b2e9d630a6
chore(style): refine repetitive code (#7003)
* style: Refine repetitive code

* style: add default value

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-10 14:04:46 +08:00
云游君
ee91b01400
feat(theme-chalk): dark bg color overlay for components (#7005)
* feat(theme-chalk): dark bg color overlay for components

* fix(theme-chalk): details of components

* fix(theme-chalk): box-shadow
2022-04-10 13:47:19 +08:00
三咲智子
2ca93aabd7
feat: publish eslint config and metadata (#7063) 2022-04-09 04:32:01 +08:00
云游君
316efcc045
feat(theme-chalk): dark palette & common color mixins (#6999)
* feat(theme-chalk): dark palette & common color mixins

* chore: move layouts var

* feat: add dark transparent colors for designer

* refactor: remove example-showcase dark bg
2022-04-04 22:46:00 +08:00
云游君
0529352776
feat(theme-chalk): card support dark (#6975)
* feat(theme-chalk): card support dark

* refactor: move dark css-vars to one file
2022-04-04 13:33:39 +08:00
虞金攀
904aa0e21b
feat(components): add tree select component (#6843)
* feat(ElTreeSelect): add tree select base component

* refactor(ElTreeSelect): use render function and move select/tree props to them self module

* fix(ElTreeSelect): init value not checked

* fix(ElTreeSelect): `toArray` ignores valid values

* fix(ElTreeSelect): expose not working when defined on mounted

* fix(ElTreeSelect): watch `modelValue` deep

* test(ElTreeSelect): add base unit test

* perf(ElTreeSelect): default slot should be a function

* fix(ElTreeSelect): `onNodeClick` can not call,

* test(ElTreeSelect): update unit test

* fix(ElTreeSelect): `onNodeClick` can not call,

* fix(ElTreeSelect): remove folder node when `checkStrictly` is false

* feat(ElTreeSelect): export `ElTreeSelect`

* fix(ElTreeSelect): `filterMethod` conflicts with `filterNodeMethod`

* docs(ElTreeSelect): add component docs

* fix(ElTreeSelect): fix lint

* docs(ElTreeSelect): fix lazy loading requires non-leaf nodes, and change mock labels

* docs(ElTreeSelect): the link address of the attributes is incorrect

* docs(ElTreeSelect): `dropdown` doesn't need the `-` symbol

* refactor(ElTreeSelect): use alias path and make sure vue is above to components

* refactor(ElTreeSelect): use a unified namespace for styles

* docs(ElTreeSelect): change option labels in default slots

* refactor(ElTreeSelect): import `ElOption` using unified entry and change the way to override the select click event

* style(ElTreeSelect): sort imports

* docs(ElTreeSelect): update the documentation for special codes

* refactor(ElTreeSelect): keep it consistent with the select style

* refactor(ElTreeSelect): use `isFunction` from `@element-plus/utils`

* refactor(ElTreeSelect): use single closing tag when no subset

* docs(ElTreeSelect): set `TreeSelect` promotion as `2.1.8`
2022-04-02 15:15:33 +08:00
Zhongxiang Wang
ec559688f9
fix(theme-chalk): [el-table] fix custom header background of fixed column (#6931)
* fix(components): [el-table] fix custom header bg of fixed column

* fix(components): [el-table] fix custom header bg of fixed column

* fix(components): [el-table] fix custom header bg of fixed column
2022-04-01 17:01:05 +08:00
msidolphin
5021214d77
feat(components): [el-virtual-list] support native behaviours (#6945) 2022-04-01 14:37:41 +08:00
troy
d0280b5eff
fix(components): [input] 添加prepend或append插槽后, clearable无法显示 (#6756) 2022-03-31 21:08:35 +08:00
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