Commit Graph

161 Commits

Author SHA1 Message Date
云游君
49d48b8f3b
docs: adjust dark toggle transition between navbar & content (#7493) 2022-05-04 23:46:59 +08:00
云游君
dbf076ee15
docs: replace navigation example with svg for dark (#7492) 2022-05-04 22:58:35 +08:00
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
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
云游君
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
三咲智子
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
qiang
1c632ef709
fix(docs): outDir error of VitePWA (#7100) 2022-04-12 15:56:49 +08:00
云游君
33859cca5d
feat: add dark for custom button & adjust details (#7086) 2022-04-10 23:58:20 +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
三咲智子
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
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
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
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
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
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
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +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
云游君
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
云游君
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
云游君
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
三咲智子
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
0song
99bc488ed2
chore: update sponsors (#6364)
* chore: update sponsor config

* chore: update readme

* chore: fix lint
2022-03-01 23:07:58 +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
三咲智子
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
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
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
msidolphin
32af40ea59
fix(docs): [el-icon] fix svg icon cannot copied issue (#5208)
* fix(docs): [el-icon] fix svg icon cannot copied issue

* Update docs/.vitepress/vitepress/components/globals/icons.vue

* fix: format

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-01-08 19:49:21 +08:00
msidolphin
533d9cd7e2
docs: limit width of the document table (#4398) 2022-01-04 14:58:11 +08:00
jeremywu
dd19cae2bc
refactor(components): popper composables (#5035)
* refactor(components): popper composables

- Refactor popper composables

* updates

* updates for tooltip

* Updates for popper. TODO: fix controlled tooltip animation

* Fix controlled mode popper animation issue

* Add new feature for customizing tooltip theme

* Fix popover and popconfirm error

* - Add Collection component for wrapping a collection of component
- Add FocusTrap component for trap focus for popups
- Add RovingFocus component for roving focus component type
- Adjust dropdown component based on these newly added components
- Add popper-trigger component for placing the trigger
- TODO: Finish current dropdown component, and all component's tests plus documents

* Refactor popper

* Complete organizing popper

* Almost finish dropdown

* Update popper tests

* update only-child test

* Finish focus trap component test

* Finish tooltip content test

* Finish tooltip trigger tests

* Finish tooltip tests

* finish tests for Collection and RovingFocusGroup

* Fix test cases for timeselect & select & popover

* Fix popover, popconfirm, menu bug and test cases

* Fix select-v2 test error caused by updating popper

* Fix date-picker test issue for updating popper

* fix test cases

* Fix eslint

* Rebase dev & fix tests

* Remove unused code
2022-01-04 09:15:15 +08:00
云游君
784bc069da
refactor(docs): auto import icons & optimize details (#5087) 2021-12-31 16:30:35 +08:00
三咲智子
d28d0701d7
docs: improve code (#5040)
* docs: remove unused code

* refactor(docs): improve code
2021-12-30 19:00:11 +08:00
jeremywu
fe0bcd16ce
feat(docs): update demo block playground icon (#5052)
- Update playground icon and update the icon for github, copy, source-code for alignment
2021-12-30 17:48:34 +08:00
三咲智子
9100c0b638
docs: change playground domain (#4989) 2021-12-27 17:30:12 +08:00
C.Y.Kun
575835a2f8
docs(components): use script setup replace defineComponent (#4849)
* docs(components): use `script setup` replace `defineComponent`

* docs(components): use setup sugar simplify `checkbox` demo

* docs(components): use setup sugar simplify `collapse` demo

* docs(components): use setup sugar simplify `color-picker` demo

* docs(components): use setup sugar simplify `config-provider` demo

* docs(components): use setup sugar simplify `container` demo

* docs(components): use setup sugar simplify `date-picker` demo

* docs(components): use setup sugar simplify `datetime-picker` demo

* docs(components): use setup sugar simplify `dialog` demo

* docs(components): use setup sugar simplify `drawer` demo

* docs(components): use setup sugar simplify `dropdown` demo

* docs(components): use setup sugar simplify `image` demo

* docs(components): use setup sugar simplify `infinite-scroll` demo

* docs(components): use setup sugar simplify `input-number` demo

* docs(components): use setup sugar simplify `loading` demo

* docs(components): use setup sugar simplify `menu` demo

* docs(components): use setup sugar simplify `message` demo

* docs(components): use setup sugar simplify `message-box` demo

* docs(components): use setup sugar simplify `notification` demo

* docs(components): use setup sugar simplify `page-header` demo

* docs(components): use setup sugar simplify `pagination` demo

* docs(components): use setup sugar simplify `popover` demo

* docs(components): use setup sugar simplify `progress` demo

* docs(components): use setup sugar simplify `radio` demo

* docs(components): use setup sugar simplify `rate` demo

* docs(components): use setup sugar simplify `scrollbar` demo

* docs(components): use setup sugar simplify `select` demo

* docs(components): use setup sugar simplify `select-v2` demo

* docs(components): use setup sugar simplify `skeleton` demo

* docs(components): use setup sugar simplify `slider` demo

* docs(components): use setup sugar simplify `space` demo

* docs(components): use setup sugar simplify `step` demo

* docs(components): use setup sugar simplify `switch` demo

* docs(components): use setup sugar simplify `tabs` demo

* docs(components): use setup sugar simplify `tag` demo

* docs(components): use setup sugar simplify `time-picker` demo

* docs(components): use setup sugar simplify `time-select` demo

* docs(components): use setup sugar simplify `timeline` demo

* docs(components): use setup sugar simplify `tooltip` demo

* docs(components): use setup sugar simplify `transfer` demo

* docs(components): use setup sugar simplify `transition` demo

* docs(components): use setup sugar simplify `tree` demo

* docs(components): use setup sugar simplify `table` demo

* docs(components): Escape character

* docs(components): use setup sugar simplify `tree-v2` demo

* docs(components): use setup sugar simplify `upload` demo

* docs(components): use `ref` to replace `reactive`

* docs(ci): use `playground` to replace `codepen`

* docs(ci): change icon from `codepen`  to `ep`

* docs(components): `sass` to `css`

* fix(components): add button CssVar

* docs(ci): change `Edit in Codepen.io` to `Edit in Playground`

* docs(ci): add vitepress i18
2021-12-21 15:51:33 +08:00
云游君
efb48a61fd
fix(style): adjust component size & demo (#4801)
* fix(style): adjust button size & demo spacing

* fix(style): adjust input padding & with prefix/suffix

* fix(style): adjust button padding horizontal

* fix(style): adjust form margin & font-size

* refactor(docs): use setup simplify form examples
2021-12-15 16:36:49 +08:00
云游君
7caa13e80c
feat(style): add scrollbar for docs (#4800)
* feat(style): add scrollbar for docs

* fix(style): adjust scrollbar color
2021-12-13 00:07:28 +08:00
0song
e568973a58
chore: update doc nav new (#4669) 2021-12-05 00:56:16 +08:00
三咲智子
5087026948
refactor: change icon package name (#4625) 2021-12-04 11:20:06 +08:00
三咲智子
151be696dd
feat(docs): add auto import and update icon (#4554) 2021-11-29 15:59:32 +08:00
0song
da5d1171eb
chore: update doc mobile sidebar style (#4420) 2021-11-21 19:20:35 +08:00
0song
b0f8f81297
Chore: update index i18n (#4240)
* chore: update index i18n

* chore: update index i18n

* chore: update index i18n
2021-11-05 20:54:21 +08:00
云游君
9c74c8595a
refactor(docs): use markdown-it instead of marked (#4239) 2021-11-05 18:37:13 +08:00
Aex
f78407a409
fix(components): empty icon component judgment (#4178)
* fix(components): empty icon component judgment

* revert: globals components

* fix(components): el-icon missing import

* fix: use shallowRef for icon components

* refactor: remove shallowRef

* fix: remove unused code

* fix: social-link icon size

* fix: time picker icon

* fix: v-if judge
2021-11-05 17:44:02 +08:00
Kevin
d0e4832b47 docs: fix marked type 2021-11-05 03:56:25 +08:00
iamkun
b1cce27d75
chore: update readme jnpf (#4217) 2021-11-04 23:07:42 +08:00
iamkun
b7c05d6bef
chore(docs): update jnpf (#4181) 2021-11-03 15:14:45 +08:00
Aex
5e570508b9
feat(docs): add support for copying svg content (#4169) 2021-11-02 18:45:09 +08:00
云游君
0139d24583
chore: remove useless css prefix & utils (#4075) 2021-10-29 19:16:53 +08:00
msidolphin
b14fa3913a
docs: add parallax scrolling effect on index page (#4081) 2021-10-29 16:28:27 +08:00
Kevin
ba6433700c fix: type error 2021-10-22 14:48:38 -04:00
jeremywu
bac9bb604b
fix(docs): docs-search-not-working (#4004)
* fix(docs): docs-search-not-working

- Fix docsearch configuration for searching docs

* Remove unused variable
2021-10-22 19:10:42 +08:00
jeremywu
17d7a50ee5
fix(docs): doc language selector kept reversing (#3987)
* fix(docs): doc language selector kept reversing

- Reverse language list for only once

* prevent reversing the original list

* - Remove current selected language from the list
- Fix the bug when select language in small screen the nav won't close

* Code optimization
2021-10-22 14:50:30 +08:00
jeremywu
a75cdde895
chore(docs): update website table theme (#3985)
- Adjust current table to archived version
- Reverse the language list to put Chinese on the top
2021-10-21 16:12:17 +08:00
三咲智子
3e2be8eb0b
chore: upgrade & remove unused dependencies (#3892) 2021-10-16 21:00:18 +08:00
Sanjay Soundarajan
4281c49ff0
Added a fix for spelling errors (#3799) 2021-10-08 10:01:48 +08:00
云游君
e5025ce50d
refactor: add parallax effect for home (#3772) 2021-10-05 02:16:40 +08:00