Commit Graph

38 Commits

Author SHA1 Message Date
三咲智子
4e99d0b5ba
build!: simplify build & support esm import (#4018)
* build!: simplify build & support native esm import

* build: refactor build

* refactor: reorganize files

* refactor: refactor build

* build: improve perf

* fix: scripts

* build: add rollup-plugin-filesize

* chore: scripts ignore no-console

* build: disable tree-shaking

* build: improve code

* build: add sourcemap

* build: add banner

* refactor: remove annotation

* build!: improve esm exports (#3871)

* build: improve esm import

* refactor: change mjs for esm version

* chore: improve exports map

* fix: add sideEffects

* refactor: improve alias

* build: upgrade dependencies
2021-10-25 17:07:48 +08:00
msidolphin
ef8a3534e1
docs: optimized link style (#4027) 2021-10-25 16:57:22 +08:00
jeremywu
adfb6a95fc
docs: fix compiled static html lang (#4021) 2021-10-25 10:22:45 +08:00
Kevin
ba6433700c fix: type error 2021-10-22 14:48:38 -04:00
jeremywu
7d581e0b53
docs: fix translation dropdown error (#4007) 2021-10-23 01:23:49 +08:00
jeremywu
b2a0631a87
fix(docs): translation missing (#4006)
- Update the judgement for getting the correct answer
2021-10-22 22:50:54 +08: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
jeremywu
16f069ebbe
Revert "build!: simplify build & support native esm import (#3900)" (#3945)
* Revert "build!: simplify build & support native esm import (#3900)"

This reverts commit fb94222bb4.

* remove module

* Fix linter

* Add @element-plus/icons as dependency

* update pnpm lock file

* temporary lock element-plus at 1.1.0-beta.20
2021-10-20 09:42:32 +08:00
三咲智子
fb94222bb4
build!: simplify build & support native esm import (#3900)
* build: refactor build

* refactor: reorganize files

* refactor: refactor build

* build: improve perf

* fix: scripts

* build: add rollup-plugin-filesize

* chore: scripts ignore no-console

* build: disable tree-shaking

* build: improve code

* build: add sourcemap

* build: add banner

* refactor: remove annotation
2021-10-18 14:45:57 +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
三咲智子
a5dd21e94a
docs(build): refactor config & support dev without pre build (#3743)
* docs: refactor config

* docs(build): support dev without pre build

* docs: disable sourcemap
2021-09-30 19:26:30 +08:00
btea
48834fe98b
fix(docs): fix link gitee sites confirm keep appearing (#3720) 2021-09-29 12:44:57 +08:00
云游君
8583c70fdc
feat(theme-chalk): use @use instead of @import & remove /**/ comment (#3696)
* feat(theme-chalk): use @use instead of @import & remove /**/ comment

* refactor(theme-chalk): refactor scss with @use module

* fix(docs): scss in docs toggle to '@use'

* docs: add custom theme on demand

* docs: add unplugin-element-plus
2021-09-28 20:42:12 +08:00
zouhang
148a8ed7c2
docs: update external link style (#3686) 2021-09-27 17:22:54 +08:00
jeremywu
ca27cb051c
feat(docs): enable mirror site redirection (#3683)
* feat(docs): enable mirror site redirection

- Allow zh-CN users to redirect to the mirror site

* Update content max width
2021-09-27 16:45:42 +08:00
msidolphin
2d2878eb53
feat(components): add virtual tree (#3398)
* feat(components): add virtual tree

* perf: optimize compute performance

* perf: optimize update checked states performance

* feat(components): [tree-v2] supports filter method

* feat(components): [el-tree-v2] exposes check api

* feat(components): [el-tree-v2] exposes current api

* feat(components): [el-tree-v2] support contextmenu event

* style(components): [el-tree-v2] optimized code style

* refactor(components): [el-tree-v2] using svg icon

* refactor(components): [el-tree-v2] replace all PropType with buildProp

replace all PropType with buildProp, support perfMode, expose setData

* refactor: improve prop

* docs: [el-tree-v2] improve documention

* refactor(components): [el-tree-v2] optimized code

Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-09-27 11:12:50 +08:00
msidolphin
9a5a1d5ea6
docs: limit supported languages (#3642) 2021-09-26 16:34:15 +08:00
三咲智子
7a9c6f38d7
build: parallel build (#3416) 2021-09-26 01:29:07 +08:00
btea
ff6e3580e2
docs: fix the css attribute (#3619) 2021-09-25 02:18:22 +08:00
jeremywu
9408e7eb76
feat(docs): document add changelog page (#3596)
* feat(docs): document add changelog page

- Add changelog and markdown component for changelog.md
- Add changelog page
- Add some locale for change log
- Fix a bug that caused ToC not working

* Add minimal width to changelog selector

* Add width to changelog selector

* fix selector width issue
2021-09-24 01:19:18 +08:00
三咲智子
ae5c119665
docs: remove undefined in head tag (#3593) 2021-09-23 20:11:24 +08:00
zouhang
d8954f945e
chore: make eslint works in docs folder (#3582)
* chore: make eslints work in docs folder

* refactor(dev): improve eslint

* fix eslint issue

Co-authored-by: Kevin <sxzz@sxzz.moe>
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-09-23 14:16:37 +08:00
jeremywu
7fa9afaa43
feat(docs): document website enhancement (#3580)
- Add language jump support
- Fix ifBuild.sh bug on posix platform
2021-09-23 11:08:19 +08:00
三咲智子
da1eef4cad
docs: rename NavMenu to Menu (#3564) 2021-09-22 22:38:21 +08:00
zouhang
b8cf646226
perf: improve jump link for home page (#3551) 2021-09-22 22:37:35 +08:00
SongWuKong
7e3247515b
fix(docs): doc-content table min-width modify (#3557) 2021-09-22 21:40:42 +08:00
Alan Wang
3e24580a9f
docs: add favicon logo (#3560) 2021-09-22 20:42:35 +08:00
btea
0f10ff2fcd
docs: start-up vitepress show network (#3501) 2021-09-19 20:45:55 +08:00
云游君
ac30cd0d6e
chore: add vscode config & upgrade typescript/sass/vite (#3502)
* chore: add vscode config & upgrade typescript/sass/vite

* fix: format scss by prettier
2021-09-19 19:34:25 +08:00
jeremywu
71dc2c5c4e
chore(docs): website UI updates (#3477) 2021-09-19 00:12:50 +08:00
云游君
0836097c55
refactor(components): drawer animation use transition replace keyframe (#3447)
* refactor(components): drawer animation use transition replace keyframe

* fix(components): fix drawer leave animation
2021-09-19 00:09:41 +08:00
三咲智子
029fa7718d
docs: fix vue version (#3467) 2021-09-18 09:58:37 +08:00
jeremywu
8d14c3f54d
chore(docs): website updates (#3472) 2021-09-18 00:34:56 +08:00
jeremywu
c6bed151a5
epic(website): refactor website (#3426)
* feat(website): init viteperss (#3162)

* init vitepress

* Finish homepage

* relayout page

* partial finish

* update

* update use lang

* remove font weight; change font size

* docs: optimize docs folder structure

* reorganize project

* fix ssr issue

* fix build issues

Co-authored-by: Kevin <sxzz@sxzz.moe>
Co-authored-by: zouhang <zouhang@didiglobal.com>

* feat(website) integrate with crowdin (#3218)

- Introduce Crowdin CLI
- Add script for fetching Crowdin token from env
- Add script for local development

* fix formatting

* update codeblocks (#3249)

* feat(docs): update website preview script

- Update azure preview build script
- Eliminate dead links

* bootstrap docs

* fix homepage layout issue

* fix formating

* Finish ToC and codepen integration

* reorganized files and fix issue that causes demo unavailable after build

* feat(docs): migration documentations (#3283)

* feat(docs): migration documentations

- Move documentations to docs/

* remove unused files

* docs: [popconfirm] migrate document (#3285)

* feat(docs): migrate documentation from space.md to upload.md (#3292)

- Upload documentations acorrodingly

* docs: [date-picker] migrate document  (#3289)

* docs: [date-picker] migrate document

* fix: typo

* docs: [slider] migrate document (#3287)

* docs: migrate documents (#3290)

* docs: migrate-datetime-picker

* docs: migrate descriptions

* docs: migrate dialog

* docs: migrate divider

* docs: migrate drawer

* docs: migrate drapdown

* docs: fix drapdown

* docs: migrate empty

* docs: migrate form

* docs: add scoped for style

* docs: simplify toRefs

* chore: update doc (#3297)

* chore: update doc

* chore: update doc

* chore: update doc

* feat(docs): migrate documentations from infinite-scroll to page-header (#3303)

- Update docs accordingly
- Update CodePen icon to match style
- Update component name to match others

* docs: migrate documentions (#3293)

migrate list:
* image
* popover
* scrollbar
* radio
* rate
* skeleton
* select
* select-v2
* reault
* progress
* pagination

* chore: update doc (#3305)

Co-authored-by: 0song <0song@gmail.com>

* Fix broken pipeline

* chore: update demo plugin

* website perfection

* fix hydration bug

* docs: update guide (#3342)

* WIP docs

* docs: update docs

* add dark mode

* make dev fetch components from local instead of node_modules

Co-authored-by: msidolphin <msidolphin@outlook.com>
Co-authored-by: Aex <spryti@qq.com>
Co-authored-by: 0song <82012629+0song@users.noreply.github.com>
Co-authored-by: 0song <0song@gmail.com>
Co-authored-by: zouhang <zouhang@didiglobal.com>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>

* fix(docs): fix codepen code example issue (#3380)

* fix(docs): fix codepen code example issue

- Add lang="ts" for all example files
- Fix codepen import error

* revert changes in resource.vue

* feat(docs): complete crowdin integration (#3408)

* Update mds for preparing the integration script

* deprecate old website

* update sponsors and even handler for resize

* update build script for preview

* fix preview-build error

* fix preview-build error

* fix preview-build error

* fix preview-build error

* fix preview-build error

* update deploy script and some bugs

* Fix existing issue

* chore(project): add dev preview workflow

* chore(project): rename dev to staging

* update the size of toc

* update staging-preview script

* update preview scripts

* enable website build for preview

* fix build error

* final commitment for update the details

* remove azure pipeline

* move docs ignores into docs and update date

Co-authored-by: Kevin <sxzz@sxzz.moe>
Co-authored-by: zouhang <zouhang@didiglobal.com>
Co-authored-by: msidolphin <msidolphin@outlook.com>
Co-authored-by: Aex <spryti@qq.com>
Co-authored-by: 0song <82012629+0song@users.noreply.github.com>
Co-authored-by: 0song <0song@gmail.com>
2021-09-17 00:18:50 +08:00