446 Commits

Author SHA1 Message Date
2ceb415830 fix(components): [splitter] collapsible does not take effect dynamically (#21742)
* fix(components): [splitter] Toggle collapsible configuration

* ci: rerun

* Update docs/examples/splitter/collapsible.vue

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-08-13 18:11:25 +08:00
25c7ea2b3c refactor(components): export TreeV2Instance & optimize type usage (#21718)
* refactor(components): export `TreeV2Instance` & optimize type usage

* refactor: change type declaration entry file
2025-08-13 12:33:30 +08:00
b7acae49c3 docs: Improve the demo of transition object in config-provider (#21695)
Co-authored-by: zhixiaotong <947803089@qq.com>
2025-08-11 07:10:43 +08:00
ff525392ac feat(components): [config-provider] support dialog config (#21684)
* feat(components): [config-provider] support `dialog` config

* chore: remove comment

* fix: `props` take precedence over `globalConfig`

* fix: dialog-content use globalConfig

* revert: undo globalConfig & bump

* docs: supplement  tag

---------

Co-authored-by: zhixiaotong <947803089@qq.com>
2025-08-10 14:26:21 +02:00
065e3874d8 docs(components): [dropdown] fix typo (#21687)
docs(components): [dropdown] fix typo of 2st & 3st
2025-08-09 06:08:44 +00:00
7b25a87d6d feat(components): [autocomplete] add header and footer slot (#21594)
* feat(components): [autocomplete] add header and footer slot

* docs(components): add a bump version for new slots

* test(components): [autocomplete] add header/footer slots test case

* docs(components): [autocomplete] add header and footer slots example

---------

Co-authored-by: yinshenghao <shenghao.yin@eslink.com>
2025-08-05 22:34:39 +02:00
bce22dd10d fix(components): allow null type on empty-values components (#21582)
* fix(components): allow null type on empty-values components

* refactor(hooks): [empty-values]: allow plain null for `value-on-clear`
2025-08-01 12:27:19 +02:00
907b7b2766 feat(components): [cascader] add check-on-click-leaf attribute (#21508)
* feat(components): [cascader] add `check-on-click-leaf` attribute

* chore: chore
2025-08-01 10:31:17 +08:00
sea
305bac5839 docs(components): [dialog] smoother custom-animation example (#21555)
* docs: delete sidebar component version class

* docs: update examples

* chore: update version style

* chore: update version style

* chore: update version style

* chore: update version style

* chore: update version style
2025-07-31 07:46:57 +00:00
622b945993 docs: [cascader] reduce sample code (#21549) 2025-07-30 09:56:40 +02:00
dbbacae7d1 feat(components): [select] support options prop rendering (#21203)
* feat(components): [select] support options prop rendering

* feat(components):[select] format

* feat(components):[select] format

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

Thanks for the guidance!

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

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

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

* Merge remote-tracking branch 'upstream/dev' into feat/autocomplete-size

* feat(components): [select] format

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

* feat(components): [select] Add doc

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

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

* feat(components): [select] Code optimization

* feat(components): [select] Code optimization

* feat(components): [select] format

* feat(components): [select] format

* docs: refact

* refactor: simplify

* chore: useless diff change

* Update shared.ts

* Update message.ts

* Update popper.ts

* Update result.ts

* Update form-item.ts

* Update cascader-panel.test.tsx

* chore: useless change

* Update select.vue

* Update option.vue

* Update select.vue

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-07-29 09:54:30 +08:00
54cb51f2d9 feat(components): [config-provider] support card config (#21483) 2025-07-28 17:19:44 +08:00
d688af16b0 feat(components): [cascader] add show-checked-strategy prop (#16922)
* feat(components): [cascader] add showCheckedStrategy prop

* fix(components): [cascader] fix props

* feat(components): [cascader] add `show-checked-strategy`  documentation

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

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

* fix(components): [cascader] replace inline props with variables

---------

Co-authored-by: btea <2356281422@qq.com>
2025-07-24 21:27:38 +02:00
283fa72bc9 feat(components): [cascader] add header and footer slot (#21486)
* feat(components): [cascader] add header and footer slot

* docs(components): [cascader] simplify the code

* docs(components): [cascader] merge header and footer example

* docs(components): [cascader] add clear case
2025-07-24 12:03:41 +00:00
39f439e436 feat(components): [dialog] add transition prop (#21479)
* feat(components): [dialog] add `transition` prop

* fix: revert export

* chore: add test

* chore: remove useless mode

* refactor: use built-in utils & simpify code

* refactor: update use-dialog.ts

* refactor: update use-dialog.ts

* fix: add warn tip

* chore: change warn description

* refactor: remove classes & add doc tip
2025-07-24 11:47:40 +02:00
7ec0f3a442 feat(components): [cascader] add checkOnClickNode and prefix prop (#21089)
* feat(components): [cascader] Hide radio in single mode

* feat(components): [cascader] Renamed prop to \`selectOnClick\`

* feat(components): [cascader] Update doc

* feat(components): [cascader] Adjust how data is fetched

* feat(components): [cascader] update type

* Update packages/components/cascader-panel/src/node-content.ts

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

* feat(components): [cascader] Merge and fix v-model bug

* feat(components): [cascader] Renamed to checkOnClickNode

* feat(components): [cascader] Renamed to checkOnClickNode

* feat(components): [cascader] merge

* feat(components): [cascader] Add a check

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

* feat(components): [cascader] Fix type error

* feat(components): [cascader] Add checkOnClickNode, showRadio props

* feat(components): [cascader] Update doc

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

Done, thanks!

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

* fix: showRadio defaults checkOnClickNode

* test: showRadio fallback behavior

* refactor: rename prop and support checkOnClickNode for multiple mode

* doc:update

* Update packages/components/cascader-panel/src/config.ts

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

* docs: tweak props

* docs: update doc

* chore: update doc & fix toggle check

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

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

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

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

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

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

* Update cascader-panel.test.tsx

---------

Co-authored-by: WANGXIAOYU1995 <109521682+WANGXIAOYU1995@users.noreply.github.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-07-22 17:23:20 +08:00
ed29cf0dfb docs: fix examples & type consistency (#21333)
* docs(components): [select] fix consistency

* chore: remove all `:height="208"`
2025-07-14 09:42:58 +08:00
sea
f3893835ae docs: select use minimum base examples & delete input tip (#21235)
docs: select use minimum base examples
2025-07-04 18:10:22 +02:00
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
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 8cbb9d44ee7e707de7dfce01481cd03c1adcee3a.

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

This reverts commit 5ca520dff836df85130582d564676f31af26fb03.

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

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

This reverts commit 99062da16946e0c5f6d6570adef30ba752823ba5.

* 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
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 db0116a288299c507e3cfc4d7a22e2207265d920.

* Revert "chore: fix"

This reverts commit 69c82a90c01525e38180be4c21e8ef5602512318.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
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
168b5f34ca style(eslint-config): move newline-after-import to global (#21011) 2025-06-12 22:30:23 +08:00
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
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
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 e0da0a2d5345fd133176a5a7895f612a74c17920.

* Revert "wip"

This reverts commit 805988eec71e10287012a91cbd0d3269f9541d0b.

* Revert "wip"

This reverts commit 4f15391dd268eec45e006d292f9fde0dde90de71.

* Revert "chore: cleanup"

This reverts commit c0a82c4d56410389bb7e64657907ce7ffb6de82c.

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

This reverts commit 92e9533d1bbb6631d6f816a5894cf978ad4dada4.

* 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
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
07cc69e836 docs: reference path causes build error (#20844) 2025-05-24 13:04:32 +08:00
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
00eedd8a82 feat(components): [config-provider] support link config (#20773) 2025-05-19 17:32:53 +08:00
9d932a2e3c docs: remove confusing dialog attributes (#20764)
Co-authored-by: Dsaquel <noblet.ouwaysgta5@gmail.com>
2025-05-18 08:01:18 +08:00
4e9b0893a3 feat(components): [collapse] add beforeCollapse prop (#20716)
* Revert "fix(components): [collapse] avoid direct activeNames changes (#20437)"

This reverts commit d8b44b6a2c9d5b9f740ec4a23a3074fbc269ef87.

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

* docs: update

* test: update

* test: update

* docs: update
2025-05-15 22:57:09 +08:00
62e9801b76 docs: add check-on-click-leaf warnings (#20743) 2025-05-15 16:07:54 +08:00
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
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
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
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
2d076d87d5 feat(components): [collapse-item ] enhance title slot with isActive property (#20613) 2025-05-01 16:36:27 +08:00
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
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
sea
56b732717a docs(components): [form] simplified validation example (#20398) 2025-04-11 14:14:24 +08:00
54b0aae060 refactor(components): [message] deprecate the center option (#20296) 2025-04-10 11:00:16 +08:00
1b69cb9777 feat(components): [image] progress slot higher priority (#20353)
* feat(components): [image] `progress` slot higher priority

* fix: update

* chore: delete extra spaces

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-04-05 22:14:39 +08:00
8a0a7fc45d docs: [image] update prop and example (#20349) 2025-04-05 19:37:14 +08:00
09e23e98d0 feat(components): [segmented] add aliases for custom options (#20319)
feat(components): [segmented] Add aliases for custom options

closed #20310
2025-04-02 14:26:35 +08:00
990efd4f07 docs(components): increase popover width (#20195) 2025-03-20 09:56:11 +08:00
sea
c65399a4c1 feat(components): [image-viewer] export setActiveItem in slot (#20190)
* feat(components): [image-viewer] export `setActiveItem` in slot

* docs: update

* docs: update
2025-03-19 18:00:22 +08:00
sea
84851c9f12 docs: optimize example import (#20179) 2025-03-19 12:00:39 +08:00