Commit Graph

222 Commits

Author SHA1 Message Date
iamkun
9d78cd7f5e
chore: disable cn redirect temporarily (#7485) 2022-05-04 13:03:09 +08:00
三咲智子
aef38eac11
feat(docs): enable theme toggler (#7479) 2022-05-03 15:18:29 +08:00
云游君
8a4bf644ad
fix(theme-chalk): dark mode details (#7460) 2022-05-03 14:02:56 +08:00
云游君
4ea1d85184
docs: fix color box spacing (#7458) 2022-05-01 18:38:08 +08:00
云游君
49c7ef2633
feat(docs): use home svg layers for dark (#7408)
* feat(docs): use home svg layers for dark

* fix: people leg color & shadow color

* fix: add shadow for right layer

* fix: dot position in screen
2022-05-01 14:30:14 +08:00
iamkun
2003c345cf
chore: update doc css (#7444) 2022-04-30 00:07:50 +08:00
iamkun
538d254d7a
chore: update sponsor banner img (#7442) 2022-04-29 22:46:02 +08:00
0song
1c62eef041
chore: disable pwa on mirror site (#7414) 2022-04-28 14:03:11 +08:00
0song
9fb5927d79
chore: disable pwa on mirror site (#7413)
* chore: disable pwa on mirror site

* chore: disable pwa on mirror site
2022-04-28 12:48:41 +08:00
云游君
2ac81ab2cc
refactor: use svg for guide & resources (#7399) 2022-04-27 10:47:15 +08:00
JeremyWuuuuu
915e1ffe26
docs(components): [virtual-table] custom cell & row class (#7370)
- Add example for customizing cell
- Add example for customize row class
2022-04-25 17:53:49 +08:00
JeremyWuuuuu
77c7225a9d
docs(components): [virtual-table] basic usage (#7352)
- Add entry for table-v2
- Add basic usage for table-v2
2022-04-24 13:44:40 +08:00
云游君
c022b6cb94
docs: fix some spacing styles (#7343) 2022-04-24 00:56:03 +08:00
云游君
5a52e61a3a
docs: adapt for light & dark bg border (#7340) 2022-04-23 18:07:02 +08:00
云游君
60d38a464f
docs: dark palette when toggle & fix autocomplete bg (#7317) 2022-04-23 08:39:21 +08:00
iamkun
1ebafe7bbe
chore: fix doc english search (#7187) 2022-04-20 15:08:22 +08:00
Zhongxiang Wang
fe4fe8a202
fix(docs): fix markdown transformer (#7150) 2022-04-13 21:44:58 +08:00
三咲智子
896d8e7fe0
fix(docs): logo link (#7133) 2022-04-13 18:46:24 +08:00
三咲智子
3ab869b446
refactor(docs): improve style and fix typo (#7094)
* refactor(docs): improve style and fix typo

* fix(docs): dark
2022-04-12 20:14:08 +08:00
三咲智子
80676ed520
fix(docs): contributors when only one language (#7093) 2022-04-12 20:03:17 +08:00
qiang
1c632ef709
fix(docs): outDir error of VitePWA (#7100) 2022-04-12 15:56:49 +08:00
云游君
1796a63caa
docs: fix pre & code bg color (#7092) 2022-04-11 00:22:17 +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
qiang
88206c947d
feat(docs): add PWA support for docs (#7074) 2022-04-10 13:56:01 +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
三咲智子
cea5fbd8e9
fix(docs): contributors when other language (#7066) 2022-04-09 11:08:54 +08:00
三咲智子
2ca93aabd7
feat: publish eslint config and metadata (#7063) 2022-04-09 04:32:01 +08:00
黄忠忠
4442ca31ec
chore(docs): update document site style (#7052)
* chore(docs): update document site style

- enhance document site css rules

* fix: update docs/.vitepress/vitepress/styles/content/table-of-content.scss

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-08 17:16:10 +08:00
三咲智子
6a290ff85a
refactor(build): improve building (#7048)
* fix: fetching contributors

* refactor(build): improve building

* fix: building

* refactor: build constants

* fix: lockfile

* ci: remove token

* ci: rename

* refactor: improve docs constant
2022-04-08 14:17:44 +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
JeremyWuuuuu
2b117e702a Update hamburger 2022-04-05 23:27:48 +08:00
JeremyWuuuuu
4346578790 Update top nav icons size 2022-04-05 23:27:48 +08:00
JeremyWuuuuu
9107187728 Update styles for content section 2022-04-05 23:27:48 +08:00
JeremyWuuuuu
f994101b27 fix(docs): small screen docs style
- Update style for sub nav on mobile size
- Update content width on `1280 - 1440` to allow auto expansion
2022-04-05 23:27:48 +08:00
JeremyWuuuuu
a31fc8a460 Update style to align with header 2022-04-05 10:55:48 +08:00
JeremyWuuuuu
5025b2704c fix(docs): small screen docs sidebar layout
- Fix sidebar size on small screen
- Fix sidebar size on extra large screen
2022-04-05 10:55:48 +08:00
JeremyWuuuuu
a460a1f889 Update 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
5b1508ed9d Update 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
08ce00609a Update 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
88021d49a8 Update breakpoints 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
7eccb654b3 Update mobile device layout 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
228a062b2e Add 18px shift for large screen 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
a39363e935 Remove updated-at & update style 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
9e491c57b8 Update style 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
085bbe2e09 Update style 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
caa5e1e40f Update style 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
2580aacbe5 fix(docs): documentation layout issue
- Update documentation layout to align with design
2022-04-05 09:20:54 +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
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
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
iamkun
7983583da6
chore: update sponsor (#6891) 2022-03-29 22:49:54 +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
云游君
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
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
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
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
云游君
4c7638dd5a
fix(docs): build without window and Element error (#6656) 2022-03-15 22:13:01 +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
云游君
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
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
云游君
b232a20b7d
fix: docsearch dark shadow (#6595) 2022-03-13 22:51:23 +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
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
云游君
46d6240ad6
docs: parallax layers for home (#6435)
* docs: parallax layers for home

* fix: parallax size to small

* fix: parallax size to small

* fix: adjust home size
2022-03-05 20:00:44 +08:00
iamkun
071fca55ae
docs: rm old doc link (#6438) 2022-03-05 19:26:07 +08:00
0song
99bc488ed2
chore: update sponsors (#6364)
* chore: update sponsor config

* chore: update readme

* chore: fix lint
2022-03-01 23:07:58 +08:00
云游君
72f6416d36
chore(docs): fix bit sponsor logo (#6316) 2022-02-28 11:31:43 +08:00
msidolphin
3422a49c56
fix(docs): fix banner covering sponsor problem (#6269) 2022-02-25 17:09:41 +08:00
msidolphin
8210a307e3
fix(docs): jitter when expand source code (#6279)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-02-25 17:04:45 +08:00
Zhou Qi
cb8476fea0
fix: typo (#6263) 2022-02-24 15:59:29 +08:00
云游君
c3b935d803
fix(docs): do not useDark when production (#6262)
* fix(theme-chalk): remove useless tag close icon css attribute

* fix(docs): disable useDark when online
2022-02-24 14:03:02 +08:00
三咲智子
7289f99848
docs: refactor resource (#6260)
* docs: refactor resource

* docs: change shadow
2022-02-24 11:04:56 +08:00
msidolphin
979d169958
docs: demo block add float control (#6258)
* docs: demo block add float control

* feat: add hover state

* chore: improve code
2022-02-24 10:53:13 +08:00
云游君
f0e4b3a184
fix(docs): remove fixed variables & add color palette (#6216) 2022-02-22 16:42:54 +08:00
云游君
709c2d837c
feat(docs): add docs dark basic style (#6196) 2022-02-21 21:36:34 +08:00
三咲智子
1a5411bd54
docs: remove setup code for playground (#5951) 2022-02-11 11:33:43 +08:00
三咲智子
6503e55277
refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
jeremywu
5c095d3a13
fix(docs): algolia searching (#5926)
* fix(docs): algolia searching

- Fix algolia searching hit component
- Comment the code which is not used and causing warning in dev mode

* Fix Linter complains
2022-02-10 17:30:00 +08:00
iamkun
16db823157
chore: rm doc countdown (#5805) 2022-02-07 11:40:24 +08:00
三咲智子
24ee8066e4
docs: add element-ui link (#5776) 2022-02-05 23:48:17 +08:00
三咲智子
911ed90bf2
docs: move backtop to Navigation, closes #3897 (#5652) 2022-01-31 23:28:22 +08:00
iamkun
5798495b32
chore: update doc UI dot style (#5624) 2022-01-25 17:43:25 +08:00
iamkun
6397c6c636
docs: add release countdown (#5605) 2022-01-25 16:58:33 +08:00
iamkun
2bbeaf4bad
docs: check user prefer site (#5407) 2022-01-16 08:59:40 +08:00
iamkun
1b711119ab
chore: remove resource red dot (#5290) 2022-01-11 05:55:50 +08:00