Commit Graph

1628 Commits

Author SHA1 Message Date
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
jeremywu
91d851f44d
fix(components): [el-virtual-list] potential mem issue (#3510)
- Replace memo with memoize-one for preventing mem outage
2021-09-19 22:09:18 +08:00
btea
0f10ff2fcd
docs: start-up vitepress show network (#3501) 2021-09-19 20:45:55 +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
jeremywu
ccaddca6b4
fix(build): full bundle transform error (#3504)
- Prevent transformer to transform @element-plus/icons
2021-09-19 20:23:00 +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
三咲智子
7d1fa5aea1
refactor(components): refactor page-header (#3491)
* refactor(components): refactor page-header

* fix
2021-09-19 18:22:22 +08:00
三咲智子
1e02424daf
refactor(components): refactor tag (#3489)
* refactor(components): refactor tag

* fix
2021-09-19 18:21:43 +08:00
三咲智子
fbebf03d8c
refactor(components): refactor popconfirm (#3490)
* refactor(components): refactor popconfirm

* fix(components): fix path

* chore: change name

* fix
2021-09-19 18:21:23 +08:00
三咲智子
cff124ceca
refactor(components): refactor breadcrumb (#3487)
* refactor(components): refactor breadcrumb

* fix

* Revert "fix"

This reverts commit 5e096c51065776c726a21a541813387d40723153.
2021-09-19 18:18:13 +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
Aex
138008e3ab
chore(project): use specified run id for preview depoly (#3500) 2021-09-19 17:24:42 +08:00
三咲智子
25f948fb25
refactor(components): refactor overlay (#3496) 2021-09-19 16:00:19 +08:00
三咲智子
d9cfaaac52
refactor(components): refactor divider (#3488) 2021-09-19 15:50:11 +08:00
三咲智子
b365fe6278
refactor(components): refactor backtop (#3486) 2021-09-19 15:10:59 +08:00
Aex
dd871cc8e9
fix(theme-chalk): [el-radio] input border hover color (#3493) 2021-09-19 02:51:02 +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
Aex
5ff3de24b5
fix(components): [el-dialog] content scrolling behavior (#3484) 2021-09-18 22:43:07 +08:00
啝裳
a24c2977e1
perf(components): [el-button] delete isEmpty (#3479) 2021-09-18 20:49:50 +08:00
三咲智子
39009034f1
chore: adjust scripts (#3475) 2021-09-18 13:46:40 +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
啝裳
48a787d55f
fix: [el-table] an extra 0 after the total line at safari (#3471) 2021-09-18 10:25:54 +08:00
三咲智子
ec8680632c
chore: remove mitt (#3474) 2021-09-18 10:25:23 +08:00
Aex
78ab1b2f8e
feat(hooks): add same target support (#3473)
* feat(hooks): add same target support

* fix: dialog test

* fix: remove unused code

* improvement: custom-mask-event attr
2021-09-18 10:04:25 +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
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
三咲智子
1615b9ee67
feat(dev): improve typings (#3457)
* refactor: improve buildProp

* feat(dev): add global components type for Volar
2021-09-17 15:07:32 +08:00
Aex
5e00a390b9
chore(project): avoid staging workflow running through fork (#3459) 2021-09-17 15:00:11 +08:00
jeremywu
2204b8b71a
chore(docs): fix documentation line error (#3454) 2021-09-17 11:22:41 +08:00
啝裳
f66b046872
fix: [el-form] button type is reset and reset form (#3445)
* fix: [el-form] button type is reset and reset form

* fix: [el-form] button type is reset and reset form

* fix: [el-form] button type is reset and reset form
2021-09-17 11:15:49 +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
Aex
8e32034aa5
chore(project): move staging preview to gh-pages (#3446)
* chore(project): move staging preview to gh-pages

* chore(project): update config

* chore(project): delete staging branch

* chore(project): delete useless file

* chore(project): delete commit message

* chore: update target branch

* chore: update typo

* chore: update bot token

* chore(project): ready for merge
2021-09-17 11:03:19 +08:00
三咲智子
dc9eafdf93
docs: fix ElementPlus typo (#3449) 2021-09-17 09:18:40 +08:00
三咲智子
c86c2b0fe9
style: eslint enable prefer-template (#3414)
* style: eslint enable prefer-template

* chore: apply eslint rules
2021-09-17 09:18:24 +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
三咲智子
70ebeaaedc
chore: update docs (#3443) 2021-09-17 00:03:11 +08:00
jeremywu
d8502d872f
fix(components): el-icon root element receives attributes twice (#3442)
- Fix attributes incorrectly inherited twice.
2021-09-17 00:02:38 +08:00
云游君
fb22634b61
style(components): add css var width & margin-top for dialog (#3431) 2021-09-16 23:01:22 +08:00
Delyan Haralanov
c17161e21c
Feat/remove mitt (#3356)
* feat(components): collapse use provide/inject instead of mitt events

# Conflicts:
#	packages/components/collapse/src/collapse-item.vue
#	packages/components/collapse/src/collapse.vue

* feat(components): menu use provide/inject instead of mitt events

# Conflicts:
#	packages/components/menu/src/menu.ts

* feat(components): form use provide/inject instead of mitt events

# Conflicts:
#	packages/components/checkbox/src/checkbox-group.vue
#	packages/components/checkbox/src/useCheckbox.ts
#	packages/components/form/src/form-item.vue
#	packages/components/form/src/form.vue
#	packages/components/input/src/index.vue
#	packages/components/radio/src/radio-group.vue
#	packages/components/select/src/useSelect.ts
#	packages/components/slider/src/index.vue
#	packages/components/time-picker/src/common/picker.vue
#	packages/components/transfer/src/index.vue
#	packages/tokens/form.ts

* feat(components): tree use provide/inject instead of mitt events

# Conflicts:
#	packages/components/tree/src/model/useDragNode.ts
#	packages/components/tree/src/tree-node.vue

* feat(components): select use provide/inject instead of mitt events

# Conflicts:
#	packages/components/select/src/option-group.vue
#	packages/components/select/src/select.vue
#	packages/components/select/src/useOption.ts
#	packages/components/select/src/useSelect.ts

* feat: remove mitt from packages dependencies

# Conflicts:
#	packages/components/package.json
#	packages/element-plus/package.json
#	packages/tokens/package.json

* feat: remove mitt from webpack.config.js

* refactor: change imports order

* refactor: import types separately

* fix: revert removing mitt from webpack.config.js

This config is not related to the build so no need to remove mitt here
2021-09-16 21:19:27 +08:00
Aex
3a84382f2e
fix(theme-chalk): [el-input] textarea focus & hover border color (#3403) 2021-09-15 22:25:03 +08:00
啝裳
58585bf87d
fix: use fromPairs replace Object.fromEntries (#3422) 2021-09-15 14:43:34 +08:00
btea
9d142ae129
fix(utils): add type remove the ts error (#3406)
* fix(utils): add type remove the ts error

* fix: optional chaining operator replace non-nullish assertion

* chore: try again test
2021-09-15 08:30:30 +08:00
三咲智子
a3f01b0f23
build: external packages (#3415) 2021-09-15 08:28:23 +08:00