Commit Graph

181 Commits

Author SHA1 Message Date
Aex
8acb9dc0eb
chore(project): add vite init & update vite config with ts (#3519) 2021-09-21 02:09:18 +08:00
jeremywu
079bb11b8c
chore(project): ignore play file (#3506)
* chore(project): ignore play file

- Remove cached play file

* update new way for ignore

* better solution
2021-09-19 20:45:38 +08:00
云游君
2322103059
chore: remove import-from (#3503) 2021-09-19 20:18:14 +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
三咲智子
39009034f1
chore: adjust scripts (#3475) 2021-09-18 13:46:40 +08:00
三咲智子
ec8680632c
chore: remove mitt (#3474) 2021-09-18 10:25:23 +08:00
btea
e78e7ce67a
chore(project): modify docs:gen-locale rm -rf to rimraf (#3470) 2021-09-17 21:07:14 +08:00
jeremywu
477519a52e
feat(project): local dev environment (#3463)
- Add vite config for local dev
2021-09-17 16:42:20 +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
三咲智子
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
三咲智子
a3f01b0f23
build: external packages (#3415) 2021-09-15 08:28:23 +08:00
三咲智子
5c70b303d9
fix(build): fix exclude dependency (#3404)
* fix(build): fix exclude dependency

* Update utils.ts
2021-09-15 01:13:36 +08:00
三咲智子
680de635f6
fix(core): downgrade vueuse version (#3405) 2021-09-14 23:22:59 +08:00
三咲智子
d26070d939
chore: add @vueuse/core (#3370) 2021-09-13 10:37:43 +08:00
三咲智子
91316b79c3
improvement(project): add webpack-dev-server type (#3299)
* improvement(project): add webpack-dev-server type

* fix(project): listen all hosts
2021-09-10 09:46:27 +08:00
三咲智子
23ab0e61a8
chore(project): update package.json (#3246)
* chore(project): update package.json

* chore(project): add browserslist
2021-09-05 21:42:37 +08:00
Aex
ac7c226196
chore(project): upgrade dependencies to latest minor (#3242)
* chore(project): bump @babel/cli from 7.12.1 to 7.15.4

* chore(project): bump @babel/core from 7.11.6 to 7.15.5

* chore(project): bump @babel/plugin-proposal-class-properties to 7.14.5

* chore(project): bump @babel/plugin-transform-runtime to 7.15.0

* chore(project): bump @babel/preset-env from 7.11.5 to 7.15.4

* chore(project): bump @babel/preset-typescript from 7.10.4 to 7.15.0

* chore(project): bump babel-loader from 8.1.0 to 8.2.2

* chore(project): bump babel-plugin-module-resolver from 4.0.0 to 4.1.0

* chore(project): bump @popperjs/core from 2.4.4 to 2.10.1

* chore(project): update babel.config.js

* chore(project): update jest.config.js

* chore(project): bump @typescript-eslint/eslint-plugin to 4.30.0

* chore(project): bump @typescript-eslint/parser from 4.29.3 to 4.30.0

* chore(project): bump algoliasearch from 4.4.0 to 4.10.5

* chore(project): bump transliteration from 2.1.11 to 2.2.0

* chore(project): bump typescript from 4.3.5 to 4.4.2

* chore(project): bump esbuild from 0.12.5 to 0.12.25

* chore(project): bump file-loader from 6.1.0 to 6.2.0

* chore(project): bump rollup from 2.28.2 to 2.56.3

* chore(project): bump rollup-plugin-esbuild from 4.2.3 to 4.5.0

* chore(project): bump sass from 1.37.0 to 1.39.0

* chore(project): move sass & typescript to devDependencies
2021-09-05 19:57:35 +08:00
Aex
7fc2d6bc7d
chore(project): upgrade dependencies to latest patch (#3241)
bump lodash from 4.17.20 to 4.17.21
bump url-loader from 4.1.0 to 4.1.1
bump chalk from 4.1.0 to 4.1.2
bump cross-env from 7.0.2 to 7.0.3
bump components-helper from 1.0.2 to 1.0.4
bump @vue/babel-plugin-jsx from 1.0.0 to 1.0.7
bump @vue/compiler-sfc from 3.2.6 to 3.2.8
bump @vue/component-compiler-utils 3.2.0 from to 3.2.2
2021-09-05 16:27:17 +08:00
云游君
4ec08a8251
refactor: upgrade to husky@7 & lint-staged@11 & commitlint@13 (#3239) 2021-09-05 01:33:56 +08:00
Aex
2f9cdc74ce
chore(project): improve prettier format (#3236) 2021-09-05 00:53:31 +08:00
三咲智子
55348b30b6
style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
jeremywu
12006ecdb7
chore(build): remove unused package.json scripts (#3150)
* chore(build): remove unused package.json scripts

- Remove unused scripts
- Revert changes made for removing ts-node
- Fix button.var error

* Update dropdown.vue
2021-08-31 17:57:35 +08:00
Sanxiaozhizi
6cc16bbd06
refactor: enhance type definition (#3062)
* chore: add vue-tsc for type check

* refactor(components): respect Vue's own style type

* refactor(components): improve props type

* chore(build): improve types

* fix(components): remove unnecessary props

* perf(components): use shallowRef

* fix(components): add missing property type for table

* refactor(components): improve time-picker types

* refactor(components): extract import type

* refactor(components): improve popper types

* refactor(components): upload list types

* fix(docs): fix type

* better type

* fix: remove index
2021-08-31 09:40:13 +08:00
Sanxiaozhizi
f5d0b85dbf
chore: move rollup-plugin-replace to devDependencies (#3136) 2021-08-30 21:38:16 +08:00
Sanxiaozhizi
e9e56d5938
chore: upgrade & improve eslint rule (#3105)
* chore: remove unused ts-node

* chore: upgrade lodash

* chore: upgrade eslint

* perf: remove side effects in computed

* refactor: follow eslint rules

* chore: remove vue-template-compiler

* style: enhance eslint format rule

* style: format code
2021-08-27 17:46:06 +08:00
jeremywu
d2162d8450
fix(build): unpin vue compiler version (#3055)
- Change @vue/compiler-sfc version from 3.2.x to ^3.2.0
2021-08-25 17:47:25 +08:00
Haoqun Jiang
5d9037a8b5
fix: stop pinning vue peer dependency version (#3051)
* fix: stop pinning vue peer dependency version

It should be safe to trust `vue` to follow semver.
Pinning a peer dependency version is a bad idea because any change in
peer dependency requirement should be considered a breaking change in
theory.

On the other hand, `@vue/compiler-sfc` has a strict peer dependency
version requirement.
So pinning the `vue` version is likely to causing issues like
https://github.com/vitejs/vite/issues/4573 in the future.

* chore: update lockfile
2021-08-25 17:34:57 +08:00
jeremywu
0738aed40c
fix(build) fix rollup full bundile issue (#3034) 2021-08-25 01:22:03 +08:00
jeremywu
ef94ac1a70
fix(build): upgrade vue to 3.2.x (#3031)
* chore(build): upgrade vue to 3.2.x

- Update Vue related dependencies version

* update vue version
2021-08-25 00:18:06 +08:00
kooriookami
e0095e3c1d
build: update browserslist (#3027) 2021-08-24 17:36:52 +08:00
jeremywu
a3d0d05d82
fix replaceAll is undefined (#3024) 2021-08-24 16:52:44 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
云游君
a2dba425a0
chore(build): remove useless dependencies & use ts for gulp & add progressbar (#2792)
* refactor(theme-chalk): upgrade to ts & renive gulp-mincss with gulp-clean-css

* feat(build): add clean-css colorful log && add progressbar for webpack
2021-08-03 09:12:34 +08:00
云游君
a2e1491411
refactor(slider): migrate css var & use sass map for message (#2772) 2021-07-30 17:40:22 +08:00
jeremywu
a7b4b61dc1
feat(icon): introduce-el-icons-into-ep (#2766)
- Add @element-plus/icons as dependency.
- Update el-icon.
- Update icon.md for all languages.
2021-07-30 11:29:25 +08:00
jeremywuuuuu
4e5ef0d3a8 build(project): update bundle strategy
- Update the build script for generating *.d.ts files
- Update package.json module entry.
- Update CI pipeline node version
- Reorganized main bundle structure
- Update i18n functionalities
2021-07-23 16:46:53 +08:00
Square Coin
d17d6a5b49
feat(menu): improve handleItemClick (#2514)
* feat(menu): improve handleItemClick function

* chore(menu): add description of handleItemClick

* feat(menu): better name

* Address comments

* Update doc for all languages

Co-authored-by: liik <linyunqianpp@126.com>
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-07-15 15:18:02 +08:00
云游君
37d3d778c1
chore(style): lint scss by prettier (#2515) 2021-07-14 09:27:52 +08:00
Enoch Qin
36f2d0964b
chore: upgrade sass from 1.34.0 to 1.35.1 (#2437) 2021-07-05 09:05:03 +08:00
william paulo
bb44760f56
fix: update peerDependencies vue version (#2352)
leave patch level open for vue
2021-06-30 15:21:52 +08:00
zouyaoji
265a6e4c6d
fix: Highlighted the search results of document (#2382) 2021-06-30 14:36:41 +08:00
Herrington Darkholme
0287d1a2b6
Fix/table test (#2229)
* fix(table): remove unnecessary test lib

we can safely use jest.fn

* fix(build): cleanup unused deps
2021-06-12 17:10:24 +08:00
jeremywu
8206e34a66
fix(project): fix/upgrade-to-vue-3-1-1-and-with-bug-fix (#2220)
- Upgrade Vue to 3.1.1 and fix the bug alone with the upgrade
2021-06-11 18:20:49 +08:00
hangzou
7baf85bf6d
feat(build): esbuild for single component build (#2112) 2021-06-03 13:05:21 +08:00
Bios Sun
eeedac6cf7
build: bump sass from 1.26.10 to 1.34.0 (#2060)
# Conflicts:
#	packages/theme-chalk/src/common/var.scss
2021-05-27 16:39:04 +08:00
0song
3171c992cd
chore: fix gen type (#1762) 2021-04-06 15:53:17 +08:00
qiang
87a16f24d3
workflow: Auto generate code hint files from the docs (#1749)
* chore: add components-helper

* docs: unified style

* docs: unified style

* docs: unified style

* docs: unified style

* chore: replace Accepted Values for icon

* chore: delete vetur folder

* chore: add components-helper

* docs: unified style

* docs: unified style

* docs: unified style

* docs: unified style

* chore: replace Accepted Values for icon

* chore: delete vetur folder
2021-04-06 11:41:02 +08:00
jeremywu
ac0612965f
build(project): project/bumping-vue-version (#1702)
* build(project): project/bumping-vue-version

- Bumping vue to 3.0.9

* remove unnecessary dependency

* restore @vue/compiler-sfc
2021-03-28 12:46:58 +08:00
qiang
8238fa8593
chore: add web-types.json (#1662) 2021-03-19 09:11:18 +08:00