Commit Graph

46 Commits

Author SHA1 Message Date
Rainbow
56f05a6522 feat(components): [mention/menu/dropdown/pagination] add popper-style (#22278)
* feat: add popper-style

* fix: update

* docs: update version number
2025-09-29 14:51:22 +08:00
Zhong
c375a20b61 docs(components): [menu] missing expose handleResize method (#21763)
* docs(components): [menu] add missing documentation for handleResize

* docs: remove tag
2025-08-15 14:05:53 +08:00
DDDDD12138
0680399713 fix(types): [menu-item] make index attribute required (#19007)
* fix(types): [menuItem] Make 'index' attribute required

* feat: update doc

* Update docs/en-US/component/menu.md

Co-authored-by: qiang <qw13131wang@gmail.com>

* feat: remove required, use debugWarn to notify

* feat: update

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-06-05 15:51:36 +08:00
Liao-js
7ce338a1a7 feat(components): [menu] expose updateActiveIndex (#20430) 2025-04-16 09:52:07 +08:00
btea
15b98154c1 Revert "docs: optimization API style (#19793)" (#20039)
This reverts commit fe9cc6351b.
2025-03-07 09:29:45 +08:00
Noblet Ouways
392db28b27 chore: format docs (#19965)
chore: format
2025-02-24 20:26:18 +08:00
jiaxiang
1bc0394190 feat(components): [menu] add persistent prop (#19874)
feat(components): [menu] add persistent prop
2025-02-16 09:07:28 +08:00
jiaxiang
fe9cc6351b docs: optimization API style (#19793)
* docs: optimization API style

* chore: Transfer

* chore: update

* fix: update
2025-02-09 13:35:08 +08:00
DDDDD12138
e3290e112d docs: [menu-item] update route attr types (#19008) 2024-11-26 09:06:54 +08:00
dopamine
da3e68791b docs: move deprecated APIs to the end of the table (#18547) 2024-10-15 08:10:59 +08:00
云游君
f365724f77 docs(theme-chalk): [menu] add how to set menu default height (#18113) 2024-09-01 07:56:23 +08:00
qiang
c0f06a4fc4 docs: remove tip about client-only (#17852) 2024-08-13 08:40:30 +08:00
wzc520pyfm
d94aa4cdb5 fix(components): [abort popper] fix effect type error (#17758)
closed #17751
2024-08-03 10:37:21 +08:00
Dan Sotnik
9a6c8021bd docs: [menu] fix descriptions for deprecated attributes (#17752)
Fix descriptions for deprecated attributes for Menu component

'--bg-color', '--text-color' and '--active-color' do nothing during styling, because the corrent name is '--el-menu-bg-color' and etc.

Description is corrected and expanded.
2024-08-02 22:04:12 +08:00
wzc520pyfm
7db060b7fb docs(components): [menu] use new display tag (#15385)
* docs(components): [menu] use new display tag

* docs(components): [menu] delete deprecated attr of sub-menu
2024-07-23 11:04:23 +08:00
Super
646fe0ff9f docs: [menu] capitalize descriptions (#15850)
Update menu.md

Co-authored-by: Super <128784464+superhorse622@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2024-04-27 12:11:58 +08:00
btea
d27927da57 docs: color values are uniformly lowercase (#16066) 2024-03-15 21:27:15 +08:00
btea
3ff8bbeaf8 chore: format code (#16016) 2024-03-04 22:08:07 +08:00
kooriookami
d8a9f902b2 chore(components): clear deprecated API (#15922)
* chore(components): clear deprecated API

* docs: update
2024-02-28 12:42:17 +08:00
知晓同丶
b79defc452 feat(components): [menu] add popper-classsubMenuTimeout props (#15193)
* feat(components): [menu] add `popper-class`、`subMenuTimeout` props

closed #15149

* refactor(components): [menu] simplify timeout props naming

* docs(components): [menu] add description of timeout

* refactor(components): [menu] remove useless codes

* Update menu.md

* revert: Update sub-menu.ts

---------

Co-authored-by: zhixiaotong <zhixiaotong.me@qq.com>
2023-12-23 13:10:54 +08:00
Xc
a078860164 docs(components): [menu,pagination,switch] modify version (#15157)
- Due to delays in planned new component versions
2023-12-15 06:31:01 +00:00
cuongle-hdwebsoft
7f687ae598 feat(components): [el-menu] allow user to hide menu when clicking outside (#14742)
* fix(components): allow user to hide menu when clicking outside

when user sets `menu-trigger` to `click` and then clicking outside, it should be close menu

closed #14738

* revert settings.json config

* fix: debounce hide menu when clicking out side

* fix: only trigger click outside when menu is open

* fix: hide parent menu

* fix: only trigger close menu when its opened

* refactor: remove redundant code

* refactor: remove redundant code

* fix(docs): `collapse-on-click-outside` prop

* fix(docs): `collapse-on-click-outside` prop

* fix: move `clickOutSide` to `menu.ts`

* fix: submenu does not emit `close` when clicking outside

* fix: submenu does not emit `close` when clicking outside

* fix: ts type

* fix: ts type

* fix: only close when passing `props.collapseOnClickOutside` to `true`

* refactor: create `directives` variable

* improvement: allow `recusiveMouseInSubMenu` to receive array

* refactor: remove redundant code

* fix: rename `recusiveMouseInSubMenu` to  `recursiveMouseInSubMenu`

* feat: add `hide-timeout` prop

* fix: revert code

* fix: code owner

* fix: coder owner

* fix: menu closed when clicking on submenu

* refactor: remove redundant code

* fix: get correct index path

* fix: build

* refactor: update docs and remove `unref`

* fix: change `collapseOnClickOutside` to `closeOnClickOutside`

* fix: remove `hideTimeout` prop
2023-12-15 13:34:22 +08:00
知晓同丶
750088624e feat(components): [menu] add popperOffset and ellipsisIcon props(#14923) (#15051)
* feat(components): [menu] add popperOffset and ellipsisIcon props(#14923)

* Update docs/examples/menu/ellipsis.vue

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* Update docs/en-US/component/menu.md

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* Update docs/en-US/component/menu.md

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* docs(components): [menu] upgrade props

* Update docs/en-US/component/menu.md

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

---------

Co-authored-by: zhixiaotong <zhixiaotong.me@qq.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2023-12-06 10:34:47 +08:00
Kaine
3e7d3ea7d8 docs(components): add attr version tag (#13641)
1. docs(components): [cascader] add version tag for togglePopperVisible expose

2. docs(components): [color-picker] add version tag for show & hide expose

3. docs(components): [date-picker] add version tag for handleOpen & handleClose method

4. docs(components): [dialog] add version tag for align-center atrr

5. docs(components): [dropdown] add version tag for teleported attr

6. docs(components): [form] add version tag for scroll-into-view-options attr

7. docs(components): [image] add version tag for zoom-rate attr

8. docs(components): [input-number] add version tag for readonly attr

9. docs(components): [menu] add version tag for popper-effect attr

10. docs(components): [message-box] add version tag for append-to attr & message function

11. docs(components): [rate] add version tag for clearable attr

12. docs(components): [select-v2] add max-collapse-tags attr

13. docs(components): [select] add version tag for collapse-tags-tooltip & placement

14. docs(components): [table] fix show-overflow-toolip attr version tag

15. docs(components): [time-picker] add version tag for handleOption & handleClose expose

16. docs(components): [tree-v2] add version tag for item-size attr

17. docs(components): [tree] add version tag for empty slot
2023-08-24 07:43:05 +08:00
qiang
5c95932769 refactor(components): [menu] add deprecated mark to popperAppendToBody (#11509) 2023-02-12 14:57:21 +08:00
LooSheng
91c79c955e docs(ssr): component ssr/ssg usage tips (#10982) 2022-12-15 19:59:34 +08:00
RealityBoy
e7331c2cb9 docs: [menu] add popper-effect attribute (#10868) 2022-12-02 13:24:15 +08:00
qiang
189c379ddc chore: add attribute enum autosuggestion for WebStorm (#9663) 2022-09-10 09:14:31 +08:00
Juliano Penna
93631d841e docs(components): [menu] More details about usage of default-active (#9030)
* Menu: more details about usage of default-active

`default-active` is required to select an item on page load. If it isn't set, no item is selected when the page first opens.

Added this caveat to `Menu Attributes` section.

* chore: update

Co-authored-by: RealityBoy <1923740402@qq.com>
2022-08-31 21:19:01 +08:00
zz
1884b1d7c8 refactor(utils): refine iconPropType (#9515) 2022-08-29 03:23:35 +00:00
zz
3be8b536b8 fix(utils): fix iconPropType (#9506) 2022-08-28 19:13:58 +08:00
zz
f5fa7e741f refactor(utils): refactor iconPropType (#9502) 2022-08-28 13:20:07 +08:00
RealityBoy
b121012a70 feat(components): [menu] add expand-close-iconexpand-open-iconcollapse-close-iconcollapse-open-icon props (#9444)
* feat(components): [menu] add some Icon prop

* chore: types update

* Update sub-menu.ts
2022-08-26 11:25:22 +08:00
BaboonKing
ff86548156 docs(components): [menu] supplement some content (#8942) 2022-07-23 09:45:44 +09:00
云游君
92b2007d82 docs(components): [menu] add left and right example (#8094) 2022-06-05 09:51:58 +08:00
Carter Li
325f84d44f feat(components): menu add more controllable styles (#7549)
1. add some css variables
2. support specifying level padding
3. small code refactor
4. deprecate `background-color` etc
2022-05-12 22:38:26 +08:00
msidolphin
4b6e9889de feat(components): [el-menu] support customize popper offset (#6049)
* feat(components): [el-menu] support customize popper offset

* docs: improve docs
2022-02-15 11:06:21 +08:00
jeremywu
dbb00ef4b6 fix(components): [el-popper] append to body compatability (#5755)
* fix(components): [el-popper] append to body compatability

- Add a new hook for deprecation warning
- Add deprecation warnings for previous used `append-to-body` API
- Add test for the API.

* Address PR comments

* Update documentations for deprecated

* Fix formatting issue
2022-02-04 14:59:58 +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
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
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
啝裳
4b5dc2123f docs: add ellipsis prop only in horizontal mode menu (#3873) 2021-10-14 14:59:00 +08:00
qiang
8adbd4735b build: add default slot to generate better code hint files (#3763) 2021-10-04 08:26:51 +08:00
三咲智子
91b5136243 docs: rename Nav Menu to Menu (#3651) 2021-09-26 13:55:19 +08:00
三咲智子
da1eef4cad docs: rename NavMenu to Menu (#3564) 2021-09-22 22:38:21 +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