Commit Graph

1708 Commits

Author SHA1 Message Date
qiang
a174c6e0c3 docs: unregister PWA (#8979)
* docs: unregister PWA

* chore: remove images
2025-06-29 15:10:56 +08:00
狂人的芝士
82fa008537 docs(components): [affix] fix el-affix inside overflow:auto (#21127) 2025-06-25 22:03:29 +08:00
Spaceman
b3219f6446 fix(components): [table] fix the issue where the expand-row-keys property does not support the number type (#20210)
* fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix the bug of the expand-row-keys property

Fix the issue where the expand-row-keys property does not support the number type

* fix(components): [table] fix the bug of the expand-row-keys property

Fix the issue where the expand-row-keys property does not support the number type

* fix(components): [table] Use Map instead of Object to handle number keys

 Use Map instead of Object to solve the problem of number keys

* fix(components): [table] fix the bug of the expand-row-keys property

1.expandRowKeys should be of type Array<string | number> ✔
2.It would be better to add types to new Map() ✔
3.It would be better to add relevant test cases ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1. expandRowKeys should be of type Array<string | number> ✔
2. It would be better to add types to new Map() ✔
3. It would be better to add relevant test cases ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1. expandRowKeys should be of type Array<string | number> ✔
2. It would be better to add types to new Map() ✔
3. It would be better to add relevant test cases ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1.table.md ✔
2.add a test for mixed strings and numbers ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1.table.md ✔
2.add a test for mixed strings and numbers ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1. table-test-common.ts ✔
2. table.md ✔
3. tree.ts -- changed to: new Map<string | number, object>() ✔

* fix(components): [table] fix the bug of the expand-row-keys property

fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix the bug of the expand-row-keys property

fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix the bug of the expand-row-keys property

fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix packages/components/table/src/store/tree.ts

fix(components): [table] fix packages/components/table/src/store/tree.ts

* chore: update test cases

* chore: update version

* fix(components): [table] fix the bug of the expand-row-keys property

Fix the issue where the expand-row-keys property does not support the number type

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-25 22:02:43 +08:00
sea
49e1d594fa docs(components): [date-picker] improve event type (#21125)
* docs(components): [date-picker] improve event type

* docs: update
2025-06-24 14:00:13 +00:00
dhj-l
eb80cacb0d docs(components): [table] update filter-change event description (#21123)
docs(docs): fix filter-change event description in table
2025-06-24 17:18:39 +08:00
Noblet Ouways
ffe42ae401 feat(components): [color-picker] add empty values attributes (#20962)
* feat(components): [color-picker] add empty values attributes

* chore: better

* test: add test case

* docs: update version

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-24 16:58:38 +08:00
Noblet Ouways
c57b0cab42 refactor(components): [tree] remove ts-nocheck (#21097)
* chore: wip

* chore: wip

* chore: wip

* chore: wip

* chore: fix

* chore: fix

* chore: cleanup

* chore: fix

* fix: review

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-06-24 15:01:53 +08:00
知晓同丶
327922d4b2 fix(components): [tree-v2] treeNode add expanded and responds to UI (#21066)
* fix(components): [tree-v2] treeNode add `expanded` and responds to UI

closed #21023

* fix(components): [tree-v2] treeNode add `expanded` and responds to UI

closed #21023

* docs: add custom node icon demo
2025-06-23 14:31:47 +02:00
jiaxiang
29f5783d81 refactor(components): [cascader-panel] remove @ts-nocheck and optimize code (#20014)
* refactor(components): [CascaderPanel] remove tsnocheck and optimize code

* chore: chore

* revert: revert

* chore: add menu type

* chore: remove tsnocheck

* revert: revert

* revert: revert

* refactor: use setup syntax

* fix: type

* chore: add line

* chore: chore

* chore: add update:modelValue Events

* chore: format

* chore: revert

* chore: chore

* fix: error

* chore: remove any and code loss

* fix: code loss

* fix: code loss

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-23 17:09:40 +08:00
fratzinger
bc7773b673 feat(components): [input] native inputmode prop for el-input & el-input-number (#14997)
* feat(components): add native inputmode for el-input

* feat(components): add native inputmode for el-input-number
 Please enter the commit message for your changes. Lines starting

* chore: rm "props" in template
2025-06-20 20:24:26 +08:00
WANGXIAOYU1995
4f56d01f04 feat(components): [cascader] add tag slot (#20994)
* feat(components): [cascader] add showFirstOnly to show top-level label

* feat(components): [cascader] add unit test cases

* Revert "feat(components): [cascader] add unit test cases"

This reverts commit 8cbb9d44ee.

* Revert "feat(components): [cascader] add showFirstOnly to show top-level label"

This reverts commit 5ca520dff8.

* feat(components): [cascader]  Added a new slot `tag`

* Revert "feat(components): [cascader]  Added a new slot `tag`"

This reverts commit 99062da169.

* feat(components): [cascader]  Added a new slot `tag`

* feat(components): [cascader] Optimize slot and update doc

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

Good catch, committed.

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

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

Sure, I’ve committed the suggestion. Thanks again!

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

* feat(components): [cascader] Add test case

* feat(components): [cascader] update to expose tree node info

* feat(components): [cascader] update 'presentTags' and docs

* feat(components): [cascader] optimize code

* feat(components): [cascader] update doc

* feat(components): [cascader] update function name

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

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

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

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

* chore: minor tweaks

* feat(components): [cascader] Update test case

* docs: update Cascader Slots

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-18 15:51:59 +00:00
fratzinger
667726b128 fix(components): [date-picker] pass showWeekNumber to panel (#21049)
* fix(components): prop show-week-number

* docs: [date-time-picker] add attribute showWeekNumber

* fix(components): [date-picker] range showWeekNumber

* refactor(components): date-table use ns class for week number header

* refactor: BooleanConstructor casts to false by default

* test(components): [date-picker] add showWeekNumber

* test(components): [date-picker] datetime showsWeekNumber
2025-06-18 22:59:01 +08:00
Zhong
073441d21b feat(components): [splitter] add collapse event (#21035)
* feat(components): [splitter] add collapse event

* docs(components): [splitter] add version tag
2025-06-17 21:54:52 +08:00
Noblet Ouways
2f17df1209 style(eslint-config): newline before import type (#21036)
* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288.

* Revert "chore: fix"

This reverts commit 69c82a90c0.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
Jevin
0f034f948d docs(components): [date-time-picker] add disabled-hours disabled-minutes disabled-seconds info (#21029)
docs(components): [date-time-picker] add disabled hms info
2025-06-15 07:46:34 +08:00
qiang
9539c19b40 style(eslint-config): add rules to restrict the imports of element-plus (#20959)
* style(eslint-config): add rules to restrict the imports of element-plus

* chore: added validation for tsx files

* chore: revert the shell
2025-06-13 17:07:39 +08:00
xingyixiang
bb5930e8b7 feat(components): [form] export getField (#20981)
* feat(components): [form] export getField

* fix(components): [form] test

* feat(components): [form] export getField

* Update packages/components/form/src/utils.ts

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

* feat(components): [form] export getField

* feat(components): [form] export getField

---------

Co-authored-by: btea <2356281422@qq.com>
2025-06-12 22:33:29 +08:00
qiang
168b5f34ca style(eslint-config): move newline-after-import to global (#21011) 2025-06-12 22:30:23 +08:00
Robert Zeng
0d466303c0 feat(components): [cascader]add a props to control tooltip maxHeight (#20933)
* feat(components): [cascader]add a props  to control tooltip maxHeight

* fix(components): [cascader] fix max-height setting of scrollbar

* docs(components): [cascader]add props maxCollapseTagsTooltipHeight docs

* feat(components): [cascader]add unit test

* feat(components): [cascader]remove extra logic of max tooltip height

* fix(components): [cascader]remove props defalut value

* docs(components): [cascader]add version for the new props

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

* docs(components): [cascader]fix lint

* test(components): [cascader]optimize max height props test case

* test(components): [cascader]optimize component import

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

* fix: lint

---------

Co-authored-by: btea <2356281422@qq.com>
2025-06-12 21:39:39 +08:00
Zhong
6717d7f70d docs(components): [radio] fix text-color and fill attr ownership (#20997)
* docs(components): [radio] fix text-color and fill attr ownership

* docs: format order

* docs: format order

---------

Co-authored-by: it-evan <evanzhong@efun.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-12 03:44:46 +00:00
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