Commit Graph

138 Commits

Author SHA1 Message Date
云游君
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
achin797
da88218821
docs: [form] add FormRules type assertion (#7192) 2022-04-17 17:43:23 +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
云游君
33859cca5d
feat: add dark for custom button & adjust details (#7086) 2022-04-10 23:58:20 +08:00
云游君
ae365d5bc6
docs: change bg color for layout container (#7077) 2022-04-10 13:50:27 +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
三咲智子
851242e317
feat(docs): add source and contributors (#6044)
* feat(docs): add source and contributors

closes #6038

* feat(docs): ignore contributor when dev

* ci: add github token

* fix: lint

* fix: page

* fix: placeholder

* ci: remove preview
2022-04-08 00:40:25 +08:00
Xc
0bdd0fa7ea
docs: [tree-select] clean redundant code (#7029)
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-07 21:07:40 +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
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
bqy_fe
c05bc511a8
fix(components): [autocomplete] can not fetch suggestions after clear (#6847)
* fix(components): [autocomplete] can not fetch suggestions after clear

* style: define valuePresented constant
2022-03-29 15:48:50 +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
三咲智子
9c029b414d
docs: [upload] improve typings (#6764) 2022-03-23 18:50:36 +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
长喆
12c4ceb856
fix(docs): update tabs click prop type (#6709)
* fix(docs): update tabs click prop type

* fix(docs): import type
2022-03-18 21:54:25 +08:00
JeremyWuuuuu
6aeb2d7aab
feat(components): [el-result] warn users using subTitle as slots (#6651)
* feat(components): [el-result] warn users using subTitle as slots

- Add deprecation warning for el-result sub-title slots
- Update documentation with a slotted sub title

* Fix useDeprecated typing issue
2022-03-15 19:50:50 +08:00
云游君
93aa1d621e
fix(docs): border-color css var (#6620) 2022-03-14 19:41:41 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
msidolphin
d435a6a6fc
feat(components): [el-table] exposes scroll methods (#6539)
* feat(components): [el-table] exposes scroll methods

* chore: improve code
2022-03-13 23:00:58 +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
JeremyWuuuuu
8a8f0d64e7
chore(project): rename .eslint.js to .eslint.json (#6584) 2022-03-13 14:19:51 +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
103bb1b104
feat(components): [cascader]add collapse-tags-tooltip (#6331) 2022-03-11 15:58:00 +08:00
Alan Wang
a3e3acc0fc
feat(components): [select-v2]add collapse-tags-tooltip (#6532)
* feat(components): [select-v2]add collapse-tags-tooltip

* feat(components): [select-v2]set fallback-placements

* feat(components): [select-v2]add collapse-tags-tooltip

* feat(components): [select-v2]set fallback-placements

* feat(components): [select-v2]add v-if on tooltip
2022-03-11 15:56:35 +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
云游君
195224f745
docs: separate layout examples (#6526) 2022-03-11 00:13:29 +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
云游君
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
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +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
三咲智子
c72679e4e9
refactor(components)!: refactor form (#5401)
* refactor(components): refactor form

* refactor: resolve PR comments

* refactor(components): refactor isNested

* refactor: resolve PR comments
2022-03-06 22:20:56 +08:00
C.Y.Kun
13ffea1114
refactor(components): refactor upload (#6014)
* refactor(components): refactor ElUpload

* refactor(components): refactor upload

* test: use jsx

* refactor: resolve review comments

* fix: ts error

* refactor: re-order imports

* refactor: rename

* fix: infinity watch

* refactor: rename

* refactor: address PR comments

Co-authored-by: Kevin <sxzz@sxzz.moe>
2022-03-05 23:09:31 +08:00
msidolphin
6c5668a4d3
fix(components): [tabs] optimize new icon style (#6327) 2022-03-02 15:29:15 +08:00
Sanjay Soundarajan
31bed90a2e
docs: add tab name for the card style tabs (#6310) 2022-03-01 19:17:11 +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
云游君
f0e4b3a184
fix(docs): remove fixed variables & add color palette (#6216) 2022-02-22 16:42:54 +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
啝裳
87617892e9
docs: [el-popover] add trigger=contextmenubefore-enterbefore-leave (#6108)
* docs: [el-popover] add before-enter、before-leave

* docs: [el-popover] add `trigger=contextmenu`

* docs: update
2022-02-21 17:10:55 +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
msidolphin
04ed04effd
feat(components): [el-table] support tableLayout (#5860)
* feat(components): [el-table] support tableLayout

* fix: typo

* fix: remove unused var

* fix: optimize code

* fix: typo
2022-02-10 09:35:29 +08:00
ioslh
a8a8cd8f08
fix(docs): [pagination] example bugfix according to new usage (#5833) 2022-02-09 18:28:39 +08:00
啝裳
ea90c4c148
docs: fix all style contamination (#5656)
* docs: fix all style contamination

* fix: update
2022-02-06 09:18:11 +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