Commit Graph

75 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
8fdf558b04
fix(docs): adding title for components (#4025)
- Remove `type` field.
- Add `title` field
2021-10-25 15:21:08 +08:00
三咲智子
1bca47dcf7
fix(components): button displays icon only (#4019)
* fix(components): button displays icon only

* docs: add chinese button
2021-10-25 14:32:11 +08:00
jeremywuuuuu
74fa835f9f fix(docs): add extra field for frontmatter
- Add `type` into frontmatter field to avoid crowdin auto wrap
2021-10-25 14:26:50 +08:00
jeremywu
adfb6a95fc
docs: fix compiled static html lang (#4021) 2021-10-25 10:22:45 +08:00
M5 Universe
55fd145547
fix(components): [el-icon] support string size (#3835) 2021-10-25 09:43:54 +08:00
Marco Velarde
174756b73d
docs: add missing upload 'method' attribute documentation (#4008) 2021-10-25 04:20:02 +08:00
Kevin
ba6433700c fix: type error 2021-10-22 14:48:38 -04:00
Kevin
0ae66f8230 chore: upgrade dependencies 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
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