Commit Graph

214 Commits

Author SHA1 Message Date
jeremywu
6006e910aa
refactor(components): ElInputNumber (#3974)
* refactor(components): ElInputNumber

- Rename index.vue -> input-number.vue
- Extract inputNumberProps and inputNumberEmits to input-number.ts

* Update input number docs

* Update input number docs

* Update input number docs

* Address comments

* Code perfection

* Make modelValue required field

* Fix linter

* Remove unnecessary code

* Fix linter
2021-10-22 23:28:03 +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
db976bba68
chore(docs): adding lang field for markdowns (#4005)
- Add lang field for all *.md files' frontmatters
2021-10-22 19:32:39 +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
Ibrahim Al Khalil
51d8271181
feat: add translation for Bengali language (#3972) 2021-10-22 12:09:00 +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
deepthan
e8043abca8
fix: capitalize the first letter of the error message (#3882)
* Fix: fix erros message typo

Co-authored-by: linkun.he <helinkun@ithinkdt.com>
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 17:51:15 +08:00
啝裳
4b5dc2123f
docs: add ellipsis prop only in horizontal mode menu (#3873) 2021-10-14 14:59:00 +08:00
btea
816a3bb44e
chore: fix typo (#3831) 2021-10-10 16:56:47 +08:00
Sanjay Soundarajan
4281c49ff0
Added a fix for spelling errors (#3799) 2021-10-08 10:01:48 +08:00
诗无尽头i
8912bd80f3
docs: fix theme-chalk path (#3801) 2021-10-07 22:48:16 +08:00
云游君
e5025ce50d
refactor: add parallax effect for home (#3772) 2021-10-05 02:16:40 +08:00
qiang
8adbd4735b
build: add default slot to generate better code hint files (#3763) 2021-10-04 08:26:51 +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
Leon-kfd
1ec7914df8
docs: add scoped option in example file (#3747) 2021-09-30 19:26:15 +08:00
Alan Wang
76a6e48116
fix(docs): [el-color-picker] panel position error (#3656)
Co-authored-by: “Alanscut” <“wp_scut@163.com”>
2021-09-30 15:14:14 +08:00
Przemek Maszczynski
18e6810ac4
docs: added tips about vue compat (#3733) 2021-09-30 13:56:12 +08:00
btea
48834fe98b
fix(docs): fix link gitee sites confirm keep appearing (#3720) 2021-09-29 12:44:57 +08:00
云游君
f89ebaabfc
docs: add example link for theming (#3717) 2021-09-29 09:13:12 +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
YunYouJun
ce2f6ec819 fix(docs): quote to tip 2021-09-27 23:01:10 +08:00
YunYouJun
9f2362a1b7 docs(theme-chalk): update custom theme docs 2021-09-27 23:01:10 +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
三咲智子
9fa8b8c8a1
docs(dev): add tsconfig.json (#3681)
* docs(dev): add tsconfig.json

* chore: remove comments
2021-09-27 15:25:16 +08:00
btea
b6af879fa4
chore(docs): scripts command add corss-env (#3668) 2021-09-27 14:42:05 +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
三咲智子
91b5136243
docs: rename Nav Menu to Menu (#3651) 2021-09-26 13:55:19 +08:00
三咲智子
7a9c6f38d7
build: parallel build (#3416) 2021-09-26 01:29:07 +08:00
三咲智子
e6b6770c9e
chore: upgrade dependencies (#3625)
* chore: upgrade dependencies

* downgrade vitepress
2021-09-26 00:07:33 +08:00
三咲智子
5faec885f3
feat(dev): add global component types for volar (#3624)
* feat(dev): add global component types for volar

* chore: update README.md
2021-09-26 00:06:46 +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
三咲智子
f9e192535f
refactor: replace yarn with pnpm (#3571)
* refactor: replace yarn with pnpm

* chore: install pnpm

* chore: disable cache

* ignore pnpm-lock.yaml

* resolve deps

* setup pnpm
2021-09-23 08:12:37 +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
yuzhang
325cc43709
feat(components): [el-message-box] add inline style prop (#3537) 2021-09-22 10:06:40 +08:00
SongWuKong
8a868a885c
fix(docs): notification documentation with types demo icon missing (#3521) 2021-09-21 01:50:43 +08:00
jeremywu
801526771b
fix(docs): dialog documentation syntax error (#3515)
- Fix dialog docs syntax error
2021-09-20 20:03:02 +08:00
jeremywu
6867d4a7a2
fix(docs): theme documentation issue (#3511) 2021-09-20 00:04:11 +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
云游君
4ba61574a4
docs(theme-chalk): add how to custom theme by scss or css variables (#3494)
* docs(theme-chalk): add how to custom theme by scss or css variables

* fix(docs): modify by comments
2021-09-19 17:25:49 +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
BeADre
fdc2bef0c1
feat(components): [el-timeline] add center prop (#3436)
* feat(components): [el-timeline]add center prop

* fix: remove unnecessary selector
2021-09-18 11:31:58 +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
三咲智子
0636e1e240
style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +08:00
jeremywu
2204b8b71a
chore(docs): fix documentation line error (#3454) 2021-09-17 11:22:41 +08:00
jeremywu
9a160450ea
fix(docs): document wrong line error (#3453)
- Add empty line between demo block and content
2021-09-17 11:09:38 +08:00
三咲智子
dc9eafdf93
docs: fix ElementPlus typo (#3449) 2021-09-17 09:18:40 +08:00
三咲智子
9defdce04c
chore: remove remaining website (#3444)
* chore: remove remaining website

* chore: remove README.md part

* chore: remove useless dependency

* yarn.lock

* README.md

* update README.md

* Update .gitignore

* remove transliteration
2021-09-17 09:07:30 +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