Commit Graph

461 Commits

Author SHA1 Message Date
bqy_fe
b863db272e
feat(components): [tabs] add tab-change event (#6978) 2022-04-03 14:09:52 +08:00
JeremyWuuuuu
d3e7b62ee2
chore(docs): update main page style (#6981)
- Update padding between sponsors and banner
2022-04-03 10:57:16 +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
ada12878d1
chore(docs): update sponsors on main page (#6964)
* chore(docs): update sponsors on main page

- Update sponsors layout on main page
- Add a footer section on hero contents

* Extract common code

* Fix main page parallax image issue

* Remove unused variables

* Remove unused variables
2022-04-02 12:54:03 +08:00
JeremyWuuuuu
c51af37761
fix(docs): documentation style (#6952)
- Fix documentation style
2022-04-01 16:11:57 +08:00
一个大胖子
913cf42fdd
fix(docs): [el-divider] Document case error, String to string (#6934) 2022-04-01 14:27:23 +08:00
三咲智子
d6a4415306
chore: upgrade deps (#6937)
* chore: upgrade deps

* chore: upgrade deps
2022-04-01 10:33:16 +08:00
msidolphin
0b8f1cb64b
docs: [el-table] add self-close issue (#6923)
* docs: [el-table] add self-close issue

* chore: adjust word

* chore: improve desc
2022-03-31 20:44:05 +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
msidolphin
d3756d941e
feat(components): [el-scrollbar] expose scrollTo method (#6663)
* feat(components): [el-scrollbar] expose scrollTo method

* chore: improve code
2022-03-31 14:25:58 +08:00
msidolphin
e8ea457f6c
docs: [el-table] add FAQ category (#6907)
* docs: [el-table] add FAQ category

* - Update docs/en-US/component/table.md

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-03-31 10:27:06 +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
8c26036e60
refactor(components): [image, image-viewer] refactor (#6704)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-30 21:44:30 +08:00
Chingiz Mammadov
7a4fc4cefb
locale: Added Azerbaijani language (#6878)
* locale: Added Azerbaijani language

* fix: Formatted locale file

* docs: added azerbaijani language to supported language list

* fix: Fixed TYPO
2022-03-30 09:26:30 +08:00
renovate[bot]
65149ab551
fix(deps): update all non-major dependencies (#6893)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 02:42:23 +08:00
iamkun
7983583da6
chore: update sponsor (#6891) 2022-03-29 22:49:54 +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
iamkun
a8fcdcaeee
chore: remove some outdated docs (#6845) 2022-03-29 15:17:03 +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
iamkun
f8c6a9ba62
chore: update resource page i18n (#6842) 2022-03-26 15:45:25 +08:00
iamkun
8bc8ecfc3b
chore: install hotjar on doc (#6841) 2022-03-26 14:03:16 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
JeremyWuuuuu
5afe23c18c
refactor(components): [el-popper] refactor popper to script setups (#6725)
- Update legacy syntax to script setup for popper
- Update tests due to changes
- Move popper/token to element-plus/tokens
2022-03-24 21:22:46 +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
三咲智子
b51c37ad29
docs: improve API format (#6799) 2022-03-24 15:35:15 +08:00
0song
2f3c447db4
fix: doc domain check (#6793)
* fix: doc domain check

* Update vp-app.vue

* chore: lint code

Co-authored-by: 云游君 <me@yunyoujun.cn>
2022-03-24 14:00:32 +08:00
JeremyWuuuuu
b051efd1b7
feat(components): [el-config-provider] experimental feature toggle (#6794)
- Add experimental feature toggle to config provider
- Add experimental feature toggle documentation
- Update test cases against feature toggle
2022-03-24 13:48:58 +08:00
0song
092abe44ba
chore: update sponsors (#6787) 2022-03-24 11:20:45 +08:00
三咲智子
9c029b414d
docs: [upload] improve typings (#6764) 2022-03-23 18:50:36 +08:00
三咲智子
bb8609ecc6
refactor(docs): switch to unocss (#6728) 2022-03-22 17:16:46 +08:00
BaboonKing
cc48cee966
docs: fix link error (#6753) 2022-03-22 17:16:34 +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
renovate[bot]
8f1e6168b1
chore(deps): update all non-major dependencies (#6729) 2022-03-21 17:40:56 +08:00
btea
d083be90c9
feat(components): [cascader] add tag-type attribute (#6726)
* feat(components): [cascader] add tag-type attribute

* chore: add comment
2022-03-21 12:42:03 +08:00
Jason Ren
790311d035
fix: fix "Invalid date" display error in docs site (#6714)
originally the "Last Updated" field displayed "Invalid date", the bug was in vitepress's file
'config.ts', missing 'lastUpdated' field in UserConfig object.
2022-03-19 09:21:19 +08:00
云游君
aeee7339f4
refactor: css vars for reset.scss & reset for docs & fix cards (#6698) 2022-03-18 23:53:11 +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
云游君
4c7638dd5a
fix(docs): build without window and Element error (#6656) 2022-03-15 22:13:01 +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
三咲智子
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
blackie
458e301a52
fix(components): [result] rename slot's name from 'subTitle' to 'sub-title' (#6636)
* fix(components): [result] rename slot's name

* docs(components): [result] update doc
2022-03-15 16:59:50 +08:00
renovate[bot]
c04d41026e
fix(deps): update dependency @vueuse/core to v8 (#6605)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 01:42:17 +08:00
云游君
2caac7906e
refactor(docs): adjust style details & fix pages width (#6624)
* refactor(docs): adjust style details

* refactor(docs): add toc width

* refactor(docs): remove unused var

* fix(docs): typography & button etc pages width unify
2022-03-14 23:41:39 +08:00
云游君
93aa1d621e
fix(docs): border-color css var (#6620) 2022-03-14 19:41:41 +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
renovate[bot]
46a4da0cdc
fix(deps): update all non-major dependencies (#6604) 2022-03-14 18:00:30 +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
云游君
b232a20b7d
fix: docsearch dark shadow (#6595) 2022-03-13 22:51:23 +08:00