Commit Graph

1538 Commits

Author SHA1 Message Date
betavs
76a5abf358 docs: update alert component version references to 2.10.0 (#20946) 2025-06-07 11:19:29 +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
btea
172cb07005 docs(components): [tooltip] add faq (#20921)
* docs(components): [tooltip] add faq

* docs: update
2025-06-05 02:11:08 +02:00
kooriookami
b97766fda5 chore: update resources (#20918) 2025-06-04 10:06:35 +02:00
Gnalvin
d720e5c31c feat(components): [splitter] new component (#20145)
* feat(components): [splitter] new component

* docs(components): [splitter] update docs

* feat(components): [splitter] add export ElSplitter ElSplitterPanel types

* feat(components): [splitter] support touch even

* Update docs/.vitepress/crowdin/en-US/pages/component.json

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* docs: update

* docs: update

* chore: update docs & code

* chore: update docs & fix code type error

* fix: use slot show error

* refactor(components): [splitter] modify props use

* refactor(components): [splitter] use native event listener to drag

* fix(components): [splitter] panel bind attrs

* refactor: use `useOrderedChildren`

* chore: fix types

* feat: add icon

* chore: translate comments and add beta tag

* docs: add default-size api

* docs: remove demo lang="scss"

* refactor: remove default-size api

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: kooriookami <bingshuanglingluo@163.com>
2025-06-03 23:01:28 +08:00
0song
1c3fc40a3c chore: update doc (#20901) 2025-06-02 07:02:04 +00:00
Meet you
b44a4a3acf feat(components): [table-column] add expand slot (#20750)
* feat(components): [table-column] add `expand` slot

* fix(components): update

* Update packages/components/table/src/table-column/render-helper.ts

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* fix(docs): update

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-05-31 09:33:40 +02:00
kooriookami
e4a93aae74 fix(components): [select-v2] fix default-first-option and allow-create are not effective together (#20872)
fix(components): [select-v2] fix default-first-option

closed #20871
2025-05-29 16:27:44 +08:00
Noblet Ouways
02e050a17b feat(components): [scrollbar] add end-reached event (#20812)
* feat(components): [scrollbar] add `end-reached` attribute

* chore: cleanup

* wip

* wip

* wip

* Revert "wip"

This reverts commit e0da0a2d53.

* Revert "wip"

This reverts commit 805988eec7.

* Revert "wip"

This reverts commit 4f15391dd2.

* Revert "chore: cleanup"

This reverts commit c0a82c4d56.

* Revert "feat(components): [scrollbar] add `end-reached` attribute"

This reverts commit 92e9533d1b.

* chore: add emit attempt

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

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

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

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

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

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

* Update packages/components/scrollbar/src/scrollbar.vue

Co-authored-by: btea <2356281422@qq.com>

* Update packages/components/scrollbar/src/scrollbar.ts

* fix: update

* fix: update test

* docs: format

* fix: drag scroll

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-05-28 21:32:42 +02:00
betavs
0531cab05f feat(components): [alert] add open and auto-close functionality with delays (#20533)
* feat(components): [alert] add open events and delay options

* docs(components): [alert] add example with delayed attributes
2025-05-24 11:28:57 +02:00
qiang
07cc69e836 docs: reference path causes build error (#20844) 2025-05-24 13:04:32 +08:00
btea
c29eac5f81 fix(components): [form] scrollToError scroll to correct position (#20826)
* fix(components): [form] `scrollToError` scroll to correct position

* fix: update

* fix: update

* fix: update

* fix: revert

* fix: set scrollIntoViewOptions default to true

* Update packages/components/form/src/form.vue

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* fix: update

* fix: update class

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-05-23 15:52:55 +08:00
知晓同丶
73150c1214 refactor(components): improve alignment type definitions (#20695)
* refactor(components): improve alignment type definitions

* fix: rename Alignment to Align

* refactor: rename align to columnAlignment

* fix: use values to perf types

* fix: remove useless isValidColumnAlignment
2025-05-20 17:30:54 +08:00
忆白°
ca533d18f9 fix(components): [input-number] Improve modelValue prop type (#16124)
* fix(components): [input-number] Improve modelValue prop type

* Update packages/components/input-number/src/input-number.ts

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

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-05-20 17:29:46 +08:00
kooriookami
bd17819bb4 feat(components): [alert] [result] [message] [message-box] [notification] add primary type (#20782)
feat(components): add primary type
2025-05-20 07:46:08 +08:00
Noblet Ouways
00eedd8a82 feat(components): [config-provider] support link config (#20773) 2025-05-19 17:32:53 +08:00
Noblet Ouways
9d932a2e3c docs: remove confusing dialog attributes (#20764)
Co-authored-by: Dsaquel <noblet.ouwaysgta5@gmail.com>
2025-05-18 08:01:18 +08:00
yuxuan-ctrl
90a3128ecf feature: generate-llms.txt for AI Knowledge (#20450)
* feat: generate-llms

* chore: 去除Console

* feat:  完善脚本,支持MD与示例组件代码映射生成llms文件

* refactor(docs): 重构LLMs生成逻辑并更新构建脚本

* fix(docs): 修正生成LLMs脚本的命令名称和标题处理逻辑

* refactor(docs): 优化标题提取逻辑
2025-05-16 19:17:11 +08:00
Noblet Ouways
822fc0fa2e docs: add missing button types (#20758)
* docs: add missing button types

* docs: add missing version for underline link

* pnpm format

* Revert "docs: add missing version for underline link"

This reverts commit 73e2e2d399.
2025-05-16 15:47:11 +08:00
sea
9a82272e1f docs: format lowercase title (#20756) 2025-05-15 23:29:49 +08:00
Liao-js
4e9b0893a3 feat(components): [collapse] add beforeCollapse prop (#20716)
* Revert "fix(components): [collapse] avoid direct activeNames changes (#20437)"

This reverts commit d8b44b6a2c.

* feat(components): [collapse] add beforeCollapse prop

* docs: update

* test: update

* test: update

* docs: update
2025-05-15 22:57:09 +08:00
Noblet Ouways
62e9801b76 docs: add check-on-click-leaf warnings (#20743) 2025-05-15 16:07:54 +08:00
Noblet Ouways
6c924a7066 feat(components): [config-provider] support more button config (#20726)
* feat(components): [config-provider] support more button config

* chore: add docs & test

* chore: remove empty string
2025-05-14 15:02:50 +08:00
kooriookami
386129f402 feat(components): [config-provider] add message plain config (#20723)
* feat(components): [config-provider] add message plain config

* feat: update
2025-05-14 15:02:21 +08:00
sea
fceed74826 docs: default time example visual display (#20714) 2025-05-13 11:48:05 +08:00
sea
6956491d94 feat(components): [tabs] update type and expose tabBarRef (#20670)
* feat(components): [tabs] update tabBarRef type and expose tabBarRef

* fix: update ins

* chore: update type

* docs: update

Co-authored-by: xingyixiang <452282988@qq.com>

---------

Co-authored-by: xingyixiang <452282988@qq.com>
2025-05-09 14:37:13 +08:00
btea
6f0f4eae03 docs: [radio] add use fill & text-color example (#20686)
* docs: [radio] add use fill & text-color example

* chore: add file
2025-05-09 06:30:02 +00:00
Noblet Ouways
41d6351a3d fix(components): [loading] inherit app context (#20371)
* fix(components): [loading] inherit app context in ssr mode

* chore: get appContext inherit in childApp

* docs: add loading inheritance

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

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-05-09 09:17:06 +08:00
Xiao
8d2f08108b fix(components): [popper] fix arrow overflow issue (#20049)
* fix(components): [popper] fix arrow overflow issue

Add popperArrowProp to popperContentProps to ensure usePopper
correctly applies arrow options, preventing the arrow from
overflowing the popper container edges.

* fix(components): [popper] change arrowOffset to ref for reactivity

* feat(components): [tooltip] add arrow-offset property

- Allow users to control the padding of the tooltip arrow
- Prevents the arrow from touching the popper's edge

Reference: https://popper.js.org/docs/v2/modifiers/arrow/#padding

* fix(components): [popper] add reactive watch for arrowOffset prop

* feat(components): [popper] remove unused arrowOffset prop

Removes unused arrowOffset prop and related logic
- Removes arrowOffset from PopperContentInjectionContext
- Removes arrowOffset prop watching and state management
- Cleans up related test cases

* docs(components): [tooltip] update version requirement

update version requirement for arrow-offset prop

* docs(components): [tooltip] update `arrow-offset` version

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

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-05-07 10:02:28 +00:00
jiaxiang
37520f61b9 feat(components): [collapse] add expand icon position customization (#19537)
* feat(components): [collapse] add expand icon position customization

* chore: [collapse] update expand icon position options

* feat(docs): update custom icon position example

* fix(docs): update default expand icon position to 'right'

* fix: CollapseIconPositionType

* revert: revert

* docs: update

* docs: update custom icon position version to 2.9.6

* docs: update v

* Update docs/examples/collapse/custom-icon-position.vue

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* chore(docs): format

* chore: update V

* fix: title slot isActive

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

Co-authored-by: btea <2356281422@qq.com>

* Update packages/components/collapse/src/collapse-item.vue

Co-authored-by: btea <2356281422@qq.com>

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

Co-authored-by: btea <2356281422@qq.com>

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-05-06 15:36:54 +08:00
sea
9298b65629 docs: examples add overflow auto scroll (#20630) 2025-05-06 15:09:42 +08:00
sea
3892c0ca32 feat(components): [popover] append-to prop (#20596) 2025-05-02 16:12:56 +08:00
w2xi
2d076d87d5 feat(components): [collapse-item ] enhance title slot with isActive property (#20613) 2025-05-01 16:36:27 +08:00
w2xi
ab72948d6a docs(components): [collapse, collapse-item] update exposes (#20602)
* docs(components): [collapse, collapse-item] update exposes

* docs(components): [collapse] update type declarations
2025-04-30 22:31:32 +08:00
xinconan
aa6c510282 feat(components): [tabs] expose tabNavRef and tabListRef (#20552) 2025-04-29 13:45:52 +08:00
Kaine
d8b44b6a2c fix(components): [collapse] avoid direct activeNames changes (#20437)
fix(components): [collapse] Avoid direct activeNames changes

* refactor(components): [collapse] Removal of modelValue Modification in watch

* test(components): [collapse] Add new test cases for modelValue

* docs(components): [collapse] Adjust the default value of modelValue/v-model in the documentation

closed #20436
2025-04-28 10:19:13 +08:00
Noblet Ouways
0589201ad4 feat(components): [input-tag] add delimiter (#20532)
* feat(components): [input-tag] add delimiter

* chore: add missing bump version
2025-04-26 07:55:25 +08:00
w2xi
1e6efeee21 test(components): [notification] add cases for closeIcon prop (#20526)
* docs(components): [notification] update `closeIcon` prop

* test(components): [notification] add cases for `closeIcon` prop
2025-04-25 13:42:49 +08:00
Noblet Ouways
cae0590f6d docs: table-v2 add @end-reached parameter description (#20484) 2025-04-22 20:40:33 +08:00
w2xi
40e3626119 docs: update append-to prop type (#20516) 2025-04-22 16:58:16 +08:00
betavs
5f519a6f25 refactor(components): unify append-to prop type across multiple components (#20501)
* fix(components): [select] update `append-to` prop type

* fix(components): unify `append-to` prop type across multiple components

* docs: update `append-to` prop type
2025-04-22 09:29:19 +08:00
sea
3743cfa24e docs: add .example-showcase border-radius (#20510)
Update vp-demo.vue
2025-04-21 21:31:27 +08:00
comp-squirrel
4466ec1979 feat(components): [link] add control for when underlines should appear (#20480)
* feat(components): [link] add `always-underline` option

* docs(components): [link] update version tag

* style(components): [link] remove redundant styles

* feat(components): [link] control underline visibility timing

* chore(components): [link] add `useDeprecated` function

* chore(components): [link] remove TODO comments
2025-04-21 21:29:07 +08:00
betavs
7dd646e3c1 docs: [tour] supplementary missing attributes (#20504) 2025-04-21 19:29:59 +08:00
btea
e4d400ea9c docs: example sticky does not take effect (#20485) 2025-04-21 14:11:57 +08:00
betavs
78a208eda2 feat(components): [autocomplete] enable append-to prop (#20472) 2025-04-20 16:42:39 +08:00
Noblet Ouways
7f240f7c7a docs: attach nprogress on router event (#20438)
* docs: attach nprogress on router event

* chore: fix build

* chore: update
2025-04-18 17:59:57 +08:00
btea
05c6291fa7 docs(components): [switch] update before-change type (#20441) 2025-04-16 11:15:01 +08:00
Liao-js
7ce338a1a7 feat(components): [menu] expose updateActiveIndex (#20430) 2025-04-16 09:52:07 +08:00
sea
0072e9f2f1 docs: add right tab scroll (#20413) 2025-04-16 09:16:03 +08:00