Commit Graph

249 Commits

Author SHA1 Message Date
Xc
b2e9d630a6
chore(style): refine repetitive code (#7003)
* style: Refine repetitive code

* style: add default value

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-10 14:04:46 +08:00
qiang
88206c947d
feat(docs): add PWA support for docs (#7074) 2022-04-10 13:56:01 +08:00
云游君
ee91b01400
feat(theme-chalk): dark bg color overlay for components (#7005)
* feat(theme-chalk): dark bg color overlay for components

* fix(theme-chalk): details of components

* fix(theme-chalk): box-shadow
2022-04-10 13:47:19 +08:00
三咲智子
cea5fbd8e9
fix(docs): contributors when other language (#7066) 2022-04-09 11:08:54 +08:00
三咲智子
2ca93aabd7
feat: publish eslint config and metadata (#7063) 2022-04-09 04:32:01 +08:00
黄忠忠
4442ca31ec
chore(docs): update document site style (#7052)
* chore(docs): update document site style

- enhance document site css rules

* fix: update docs/.vitepress/vitepress/styles/content/table-of-content.scss

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-08 17:16:10 +08:00
三咲智子
6a290ff85a
refactor(build): improve building (#7048)
* fix: fetching contributors

* refactor(build): improve building

* fix: building

* refactor: build constants

* fix: lockfile

* ci: remove token

* ci: rename

* refactor: improve docs constant
2022-04-08 14:17:44 +08:00
三咲智子
851242e317
feat(docs): add source and contributors (#6044)
* feat(docs): add source and contributors

closes #6038

* feat(docs): ignore contributor when dev

* ci: add github token

* fix: lint

* fix: page

* fix: placeholder

* ci: remove preview
2022-04-08 00:40:25 +08:00
JeremyWuuuuu
2b117e702a Update hamburger 2022-04-05 23:27:48 +08:00
JeremyWuuuuu
4346578790 Update top nav icons size 2022-04-05 23:27:48 +08:00
JeremyWuuuuu
9107187728 Update styles for content section 2022-04-05 23:27:48 +08:00
JeremyWuuuuu
f994101b27 fix(docs): small screen docs style
- Update style for sub nav on mobile size
- Update content width on `1280 - 1440` to allow auto expansion
2022-04-05 23:27:48 +08:00
JeremyWuuuuu
a31fc8a460 Update style to align with header 2022-04-05 10:55:48 +08:00
JeremyWuuuuu
5025b2704c fix(docs): small screen docs sidebar layout
- Fix sidebar size on small screen
- Fix sidebar size on extra large screen
2022-04-05 10:55:48 +08:00
JeremyWuuuuu
a460a1f889 Update 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
5b1508ed9d Update 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
08ce00609a Update 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
88021d49a8 Update breakpoints 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
7eccb654b3 Update mobile device layout 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
228a062b2e Add 18px shift for large screen 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
a39363e935 Remove updated-at & update style 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
9e491c57b8 Update style 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
085bbe2e09 Update style 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
caa5e1e40f Update style 2022-04-05 09:20:54 +08:00
JeremyWuuuuu
2580aacbe5 fix(docs): documentation layout issue
- Update documentation layout to align with design
2022-04-05 09:20:54 +08:00
云游君
316efcc045
feat(theme-chalk): dark palette & common color mixins (#6999)
* feat(theme-chalk): dark palette & common color mixins

* chore: move layouts var

* feat: add dark transparent colors for designer

* refactor: remove example-showcase dark bg
2022-04-04 22:46:00 +08:00
云游君
0529352776
feat(theme-chalk): card support dark (#6975)
* feat(theme-chalk): card support dark

* refactor: move dark css-vars to one file
2022-04-04 13:33:39 +08:00
JeremyWuuuuu
d3e7b62ee2
chore(docs): update main page style (#6981)
- Update padding between sponsors and banner
2022-04-03 10:57:16 +08:00
虞金攀
904aa0e21b
feat(components): add tree select component (#6843)
* feat(ElTreeSelect): add tree select base component

* refactor(ElTreeSelect): use render function and move select/tree props to them self module

* fix(ElTreeSelect): init value not checked

* fix(ElTreeSelect): `toArray` ignores valid values

* fix(ElTreeSelect): expose not working when defined on mounted

* fix(ElTreeSelect): watch `modelValue` deep

* test(ElTreeSelect): add base unit test

* perf(ElTreeSelect): default slot should be a function

* fix(ElTreeSelect): `onNodeClick` can not call,

* test(ElTreeSelect): update unit test

* fix(ElTreeSelect): `onNodeClick` can not call,

* fix(ElTreeSelect): remove folder node when `checkStrictly` is false

* feat(ElTreeSelect): export `ElTreeSelect`

* fix(ElTreeSelect): `filterMethod` conflicts with `filterNodeMethod`

* docs(ElTreeSelect): add component docs

* fix(ElTreeSelect): fix lint

* docs(ElTreeSelect): fix lazy loading requires non-leaf nodes, and change mock labels

* docs(ElTreeSelect): the link address of the attributes is incorrect

* docs(ElTreeSelect): `dropdown` doesn't need the `-` symbol

* refactor(ElTreeSelect): use alias path and make sure vue is above to components

* refactor(ElTreeSelect): use a unified namespace for styles

* docs(ElTreeSelect): change option labels in default slots

* refactor(ElTreeSelect): import `ElOption` using unified entry and change the way to override the select click event

* style(ElTreeSelect): sort imports

* docs(ElTreeSelect): update the documentation for special codes

* refactor(ElTreeSelect): keep it consistent with the select style

* refactor(ElTreeSelect): use `isFunction` from `@element-plus/utils`

* refactor(ElTreeSelect): use single closing tag when no subset

* docs(ElTreeSelect): set `TreeSelect` promotion as `2.1.8`
2022-04-02 15:15:33 +08:00
JeremyWuuuuu
ada12878d1
chore(docs): update sponsors on main page (#6964)
* chore(docs): update sponsors on main page

- Update sponsors layout on main page
- Add a footer section on hero contents

* Extract common code

* Fix main page parallax image issue

* Remove unused variables

* Remove unused variables
2022-04-02 12:54:03 +08:00
JeremyWuuuuu
c51af37761
fix(docs): documentation style (#6952)
- Fix documentation style
2022-04-01 16:11:57 +08:00
JeremyWuuuuu
337622ed95 feat(components): [tag] add new API for rounded
- Add new api `round` for rounded tag.
- Add documentation for rounded tag.
- Update document styles.
2022-03-31 17:27:49 +08:00
iamkun
7983583da6
chore: update sponsor (#6891) 2022-03-29 22:49:54 +08:00
JeremyWuuuuu
f576d5a57b
feat(components): [tooltip-v2] documentation (#6870)
- Add tooltip-v2 documentation
- Complete tooltip-v2 implementation
2022-03-29 15:12:10 +08:00
云游君
19a4e2d7ac
refactor(theme-chalk): overlay/mask/box-shadow css vars (#6848) 2022-03-27 23:23:14 +08:00
iamkun
f8c6a9ba62
chore: update resource page i18n (#6842) 2022-03-26 15:45:25 +08:00
iamkun
8bc8ecfc3b
chore: install hotjar on doc (#6841) 2022-03-26 14:03:16 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
云游君
f74f4e94d2
refactor(theme-chalk): remove default size class & simplify button css (#6782)
* refactor(theme-chalk): [button] remove default size class & simplify css

* test: fix test caused by size remove default

* fix: adapt for form default & remove tag default button m 0

* fix: add uno.css & bem for tag
2022-03-24 19:42:09 +08:00
0song
2f3c447db4
fix: doc domain check (#6793)
* fix: doc domain check

* Update vp-app.vue

* chore: lint code

Co-authored-by: 云游君 <me@yunyoujun.cn>
2022-03-24 14:00:32 +08:00
0song
092abe44ba
chore: update sponsors (#6787) 2022-03-24 11:20:45 +08:00
三咲智子
9c029b414d
docs: [upload] improve typings (#6764) 2022-03-23 18:50:36 +08:00
三咲智子
bb8609ecc6
refactor(docs): switch to unocss (#6728) 2022-03-22 17:16:46 +08:00
Jason Ren
790311d035
fix: fix "Invalid date" display error in docs site (#6714)
originally the "Last Updated" field displayed "Invalid date", the bug was in vitepress's file
'config.ts', missing 'lastUpdated' field in UserConfig object.
2022-03-19 09:21:19 +08:00
云游君
aeee7339f4
refactor: css vars for reset.scss & reset for docs & fix cards (#6698) 2022-03-18 23:53:11 +08:00
云游君
4c7638dd5a
fix(docs): build without window and Element error (#6656) 2022-03-15 22:13:01 +08:00
三咲智子
bb939c6a58
refactor(build): move to internal package (#6585)
* refactor(build): move to internal package

* ci: fix

* chore: fix

* fix: docs

* chore: add fast-glob to root package

* chore: fix PR comments

* build: add tsx

* refactor: re-organize

* refactor: improve log
2022-03-15 19:23:38 +08:00
云游君
2caac7906e
refactor(docs): adjust style details & fix pages width (#6624)
* refactor(docs): adjust style details

* refactor(docs): add toc width

* refactor(docs): remove unused var

* fix(docs): typography & button etc pages width unify
2022-03-14 23:41:39 +08:00
云游君
93aa1d621e
fix(docs): border-color css var (#6620) 2022-03-14 19:41:41 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
云游君
b232a20b7d
fix: docsearch dark shadow (#6595) 2022-03-13 22:51:23 +08:00
云游君
d8a52cfe85
refactor(theme-chalk): dark.scss to css vars & migrate fill-color-blank (#6597) 2022-03-13 22:42:57 +08:00
云游君
06f6844509
refactor(theme-chalk): rewrite palette & remove -base suffix (#6593)
* refactor(theme-chalk): rewrite palette & remove -base suffix

* refactor(theme-chalk): container as default bg-color

* refactor(theme-chalk): add fill-color-blank

* fix(docs): fill-color-light for code-bg
2022-03-13 20:10:07 +08:00
JeremyWuuuuu
8a8f0d64e7
chore(project): rename .eslint.js to .eslint.json (#6584) 2022-03-13 14:19:51 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
云游君
46d6240ad6
docs: parallax layers for home (#6435)
* docs: parallax layers for home

* fix: parallax size to small

* fix: parallax size to small

* fix: adjust home size
2022-03-05 20:00:44 +08:00
iamkun
071fca55ae
docs: rm old doc link (#6438) 2022-03-05 19:26:07 +08:00
0song
99bc488ed2
chore: update sponsors (#6364)
* chore: update sponsor config

* chore: update readme

* chore: fix lint
2022-03-01 23:07:58 +08:00
云游君
72f6416d36
chore(docs): fix bit sponsor logo (#6316) 2022-02-28 11:31:43 +08:00
msidolphin
3422a49c56
fix(docs): fix banner covering sponsor problem (#6269) 2022-02-25 17:09:41 +08:00
msidolphin
8210a307e3
fix(docs): jitter when expand source code (#6279)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-02-25 17:04:45 +08:00
Zhou Qi
cb8476fea0
fix: typo (#6263) 2022-02-24 15:59:29 +08:00
云游君
c3b935d803
fix(docs): do not useDark when production (#6262)
* fix(theme-chalk): remove useless tag close icon css attribute

* fix(docs): disable useDark when online
2022-02-24 14:03:02 +08:00
三咲智子
7289f99848
docs: refactor resource (#6260)
* docs: refactor resource

* docs: change shadow
2022-02-24 11:04:56 +08:00
msidolphin
979d169958
docs: demo block add float control (#6258)
* docs: demo block add float control

* feat: add hover state

* chore: improve code
2022-02-24 10:53:13 +08:00
云游君
f0e4b3a184
fix(docs): remove fixed variables & add color palette (#6216) 2022-02-22 16:42:54 +08:00
云游君
709c2d837c
feat(docs): add docs dark basic style (#6196) 2022-02-21 21:36:34 +08:00
三咲智子
1a5411bd54
docs: remove setup code for playground (#5951) 2022-02-11 11:33:43 +08:00
三咲智子
6503e55277
refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
jeremywu
5c095d3a13
fix(docs): algolia searching (#5926)
* fix(docs): algolia searching

- Fix algolia searching hit component
- Comment the code which is not used and causing warning in dev mode

* Fix Linter complains
2022-02-10 17:30:00 +08:00
iamkun
16db823157
chore: rm doc countdown (#5805) 2022-02-07 11:40:24 +08:00
三咲智子
24ee8066e4
docs: add element-ui link (#5776) 2022-02-05 23:48:17 +08:00
三咲智子
911ed90bf2
docs: move backtop to Navigation, closes #3897 (#5652) 2022-01-31 23:28:22 +08:00
iamkun
5798495b32
chore: update doc UI dot style (#5624) 2022-01-25 17:43:25 +08:00
iamkun
6397c6c636
docs: add release countdown (#5605) 2022-01-25 16:58:33 +08:00
iamkun
2bbeaf4bad
docs: check user prefer site (#5407) 2022-01-16 08:59:40 +08:00
iamkun
1b711119ab
chore: remove resource red dot (#5290) 2022-01-11 05:55:50 +08:00
msidolphin
32af40ea59
fix(docs): [el-icon] fix svg icon cannot copied issue (#5208)
* fix(docs): [el-icon] fix svg icon cannot copied issue

* Update docs/.vitepress/vitepress/components/globals/icons.vue

* fix: format

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-01-08 19:49:21 +08:00
jeremywu
12b80c097b
feat(docs): Add migration chapter (#5205)
- Add example for migration document.
2022-01-07 16:09:32 +08:00
msidolphin
533d9cd7e2
docs: limit width of the document table (#4398) 2022-01-04 14:58:11 +08:00
jeremywu
dd19cae2bc
refactor(components): popper composables (#5035)
* refactor(components): popper composables

- Refactor popper composables

* updates

* updates for tooltip

* Updates for popper. TODO: fix controlled tooltip animation

* Fix controlled mode popper animation issue

* Add new feature for customizing tooltip theme

* Fix popover and popconfirm error

* - Add Collection component for wrapping a collection of component
- Add FocusTrap component for trap focus for popups
- Add RovingFocus component for roving focus component type
- Adjust dropdown component based on these newly added components
- Add popper-trigger component for placing the trigger
- TODO: Finish current dropdown component, and all component's tests plus documents

* Refactor popper

* Complete organizing popper

* Almost finish dropdown

* Update popper tests

* update only-child test

* Finish focus trap component test

* Finish tooltip content test

* Finish tooltip trigger tests

* Finish tooltip tests

* finish tests for Collection and RovingFocusGroup

* Fix test cases for timeselect & select & popover

* Fix popover, popconfirm, menu bug and test cases

* Fix select-v2 test error caused by updating popper

* Fix date-picker test issue for updating popper

* fix test cases

* Fix eslint

* Rebase dev & fix tests

* Remove unused code
2022-01-04 09:15:15 +08:00
云游君
784bc069da
refactor(docs): auto import icons & optimize details (#5087) 2021-12-31 16:30:35 +08:00
三咲智子
d28d0701d7
docs: improve code (#5040)
* docs: remove unused code

* refactor(docs): improve code
2021-12-30 19:00:11 +08:00
jeremywu
fe0bcd16ce
feat(docs): update demo block playground icon (#5052)
- Update playground icon and update the icon for github, copy, source-code for alignment
2021-12-30 17:48:34 +08:00
三咲智子
e1e00f825d
refactor: upgrade vue & remove @vue/compiler-sfc (#4815)
* refactor: remove @vue/compiler-sfc

* chore(deps): upgrade vue
2021-12-28 17:15:54 +08:00
云游君
7c651828e3
fix: message-box confirm button style (#4988) 2021-12-27 19:39:30 +08:00
三咲智子
9100c0b638
docs: change playground domain (#4989) 2021-12-27 17:30:12 +08:00
btea
56e3f01240
docs: add edit-in-editor tooltip (#4918) 2021-12-22 13:45:03 +08:00
C.Y.Kun
575835a2f8
docs(components): use script setup replace defineComponent (#4849)
* docs(components): use `script setup` replace `defineComponent`

* docs(components): use setup sugar simplify `checkbox` demo

* docs(components): use setup sugar simplify `collapse` demo

* docs(components): use setup sugar simplify `color-picker` demo

* docs(components): use setup sugar simplify `config-provider` demo

* docs(components): use setup sugar simplify `container` demo

* docs(components): use setup sugar simplify `date-picker` demo

* docs(components): use setup sugar simplify `datetime-picker` demo

* docs(components): use setup sugar simplify `dialog` demo

* docs(components): use setup sugar simplify `drawer` demo

* docs(components): use setup sugar simplify `dropdown` demo

* docs(components): use setup sugar simplify `image` demo

* docs(components): use setup sugar simplify `infinite-scroll` demo

* docs(components): use setup sugar simplify `input-number` demo

* docs(components): use setup sugar simplify `loading` demo

* docs(components): use setup sugar simplify `menu` demo

* docs(components): use setup sugar simplify `message` demo

* docs(components): use setup sugar simplify `message-box` demo

* docs(components): use setup sugar simplify `notification` demo

* docs(components): use setup sugar simplify `page-header` demo

* docs(components): use setup sugar simplify `pagination` demo

* docs(components): use setup sugar simplify `popover` demo

* docs(components): use setup sugar simplify `progress` demo

* docs(components): use setup sugar simplify `radio` demo

* docs(components): use setup sugar simplify `rate` demo

* docs(components): use setup sugar simplify `scrollbar` demo

* docs(components): use setup sugar simplify `select` demo

* docs(components): use setup sugar simplify `select-v2` demo

* docs(components): use setup sugar simplify `skeleton` demo

* docs(components): use setup sugar simplify `slider` demo

* docs(components): use setup sugar simplify `space` demo

* docs(components): use setup sugar simplify `step` demo

* docs(components): use setup sugar simplify `switch` demo

* docs(components): use setup sugar simplify `tabs` demo

* docs(components): use setup sugar simplify `tag` demo

* docs(components): use setup sugar simplify `time-picker` demo

* docs(components): use setup sugar simplify `time-select` demo

* docs(components): use setup sugar simplify `timeline` demo

* docs(components): use setup sugar simplify `tooltip` demo

* docs(components): use setup sugar simplify `transfer` demo

* docs(components): use setup sugar simplify `transition` demo

* docs(components): use setup sugar simplify `tree` demo

* docs(components): use setup sugar simplify `table` demo

* docs(components): Escape character

* docs(components): use setup sugar simplify `tree-v2` demo

* docs(components): use setup sugar simplify `upload` demo

* docs(components): use `ref` to replace `reactive`

* docs(ci): use `playground` to replace `codepen`

* docs(ci): change icon from `codepen`  to `ep`

* docs(components): `sass` to `css`

* fix(components): add button CssVar

* docs(ci): change `Edit in Codepen.io` to `Edit in Playground`

* docs(ci): add vitepress i18
2021-12-21 15:51:33 +08:00
云游君
efb48a61fd
fix(style): adjust component size & demo (#4801)
* fix(style): adjust button size & demo spacing

* fix(style): adjust input padding & with prefix/suffix

* fix(style): adjust button padding horizontal

* fix(style): adjust form margin & font-size

* refactor(docs): use setup simplify form examples
2021-12-15 16:36:49 +08:00
云游君
7caa13e80c
feat(style): add scrollbar for docs (#4800)
* feat(style): add scrollbar for docs

* fix(style): adjust scrollbar color
2021-12-13 00:07:28 +08:00
云游君
4560adfdf8
refactor(style): adjust component size to large/default/small (#4491)
* refactor(style): adjust component size to large/default/small

* refactor(components): avatar size & use flex instead of block

* refactor(components): adjust check button size

* refactor(components): adjust tag size

* refactor(components): adjust size doc

* fix(components): datetime-picker demo style width

* refactor(components): color-picker size & block to flex

* refactor(components): adjust slider input size

* refactor(components): adjust radio input size for demo

* refactor(components): adjust select size & docs

* refactor(components): adjust form radio size & docs

* refactor(components): add windicss for docs

* refactor(components): adjust skeleton avatar size to css var

* refactor(components): simplify typography size demo

* refactor(components): adjust dropdown size & demo

* refactor(components): adjust descriptions size

* fix(components): datetime-picker showcase class pollute global button

* chore(ci): upgrade docs dependencies to fix ci

* fix(ci): add highlight because vitepress not export it

* fix(ci): disable line for no-console

* fix(ci): remove mini to fix test

* fix(style): code font size

* fix(style): button span flex style

* fix(style): button padding horizontal default 15px

* refactor(components): adjust tag padding size & demo

* refactor(components): adjust form line-height for input

* refactor(components): adjust dropdown menu size & button padding

* fix(style): picker separator block to flex center

* fix: dropdown button span items-center

* style: adjust input-with-icon & size demo & fix input vitepress load

* chore: upgrade dependencies

* chore: upgrade dependencies

* ci: fix website build

* ci: regenerate pnpm-lock.yaml

* ci: use dev pnpm-lock

* ci: update pnpm-lock.yaml
2021-12-12 17:54:21 +08:00
云游君
e01a236849
refactor(style): rename -color-base to --el-bg-color (#4615) 2021-12-05 12:59:18 +08:00
0song
e568973a58
chore: update doc nav new (#4669) 2021-12-05 00:56:16 +08:00
三咲智子
5087026948
refactor: change icon package name (#4625) 2021-12-04 11:20:06 +08:00
0song
8d4ca53825
chore: update doc sidebar (#4561) 2021-11-30 11:23:54 +08:00
三咲智子
151be696dd
feat(docs): add auto import and update icon (#4554) 2021-11-29 15:59:32 +08:00
云游君
17d6287d6c
fix(components): confirm button style when in message-box (#4564) 2021-11-29 13:24:32 +08:00
云游君
e68b6c05d7
refactor(style): rename to text-color bg-color (#4468)
* refactor(style): rename -font to -text-color & -background to -bg-color

* refactor(style): rename bg-color text-color

* refactor(style): rename 'color' to 'text-color'
2021-11-22 11:19:44 +08:00
0song
da5d1171eb
chore: update doc mobile sidebar style (#4420) 2021-11-21 19:20:35 +08:00
0song
b0f8f81297
Chore: update index i18n (#4240)
* chore: update index i18n

* chore: update index i18n

* chore: update index i18n
2021-11-05 20:54:21 +08:00
云游君
9c74c8595a
refactor(docs): use markdown-it instead of marked (#4239) 2021-11-05 18:37:13 +08:00
Aex
f78407a409
fix(components): empty icon component judgment (#4178)
* fix(components): empty icon component judgment

* revert: globals components

* fix(components): el-icon missing import

* fix: use shallowRef for icon components

* refactor: remove shallowRef

* fix: remove unused code

* fix: social-link icon size

* fix: time picker icon

* fix: v-if judge
2021-11-05 17:44:02 +08:00
Kevin
d0e4832b47 docs: fix marked type 2021-11-05 03:56:25 +08:00
iamkun
b1cce27d75
chore: update readme jnpf (#4217) 2021-11-04 23:07:42 +08:00
iamkun
b7c05d6bef
chore(docs): update jnpf (#4181) 2021-11-03 15:14:45 +08:00
Aex
5e570508b9
feat(docs): add support for copying svg content (#4169) 2021-11-02 18:45:09 +08:00
jeremywu
7f8f7a3207
fix(docs): fix-docs-build-issue (#4125) 2021-10-31 12:33:55 +08:00
jeremywu
22e960d34b
chore(docs): add GA for docs (#4120)
- Add Goolge Analysis scripts for website
2021-10-31 00:41:01 +08:00
云游君
0139d24583
chore: remove useless css prefix & utils (#4075) 2021-10-29 19:16:53 +08:00
msidolphin
b14fa3913a
docs: add parallax scrolling effect on index page (#4081) 2021-10-29 16:28:27 +08:00
三咲智子
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