Commit Graph

188 Commits

Author SHA1 Message Date
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