Commit Graph

440 Commits

Author SHA1 Message Date
Noblet Ouways
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
Noblet Ouways
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
btea
622b945993 docs: [cascader] reduce sample code (#21549) 2025-07-30 09:56:40 +02:00
snowbitx
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
Noblet Ouways
54cb51f2d9 feat(components): [config-provider] support card config (#21483) 2025-07-28 17:19:44 +08:00
zepeng
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
Zhong
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
snowbitx
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
Noblet Ouways
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
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
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
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
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
qiang
168b5f34ca style(eslint-config): move newline-after-import to global (#21011) 2025-06-12 22:30:23 +08: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
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
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
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
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
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
w2xi
2d076d87d5 feat(components): [collapse-item ] enhance title slot with isActive property (#20613) 2025-05-01 16:36:27 +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
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
sea
56b732717a docs(components): [form] simplified validation example (#20398) 2025-04-11 14:14:24 +08:00
betavs
54b0aae060 refactor(components): [message] deprecate the center option (#20296) 2025-04-10 11:00:16 +08:00
btea
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
btea
8a0a7fc45d docs: [image] update prop and example (#20349) 2025-04-05 19:37:14 +08:00
kooriookami
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
thinkasany
4807705579 docs: add placement demo for popover/popconfirm (#20126)
* docs: add placement demo for popover/popconfirm

* fix: update name

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

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

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-03-15 17:37:25 +08:00
dopamine
2f9da16df8 docs: [scrollbar] tweak horizontal scroll example (#20133)
fix(docs): [scrollbar] tweak horizontal scroll example
2025-03-14 17:09:16 +08:00
EralChen
d410486c07 feat(components): [table-column] preserve expanded content (#19899)
* feat: [table-column] preserve expanded content

* chore: format

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-03-13 10:20:07 +08:00
xinconan
25f42aa9d7 feat(components): [alert] add icon slot (#20034)
* feat(components): [alert]add icon slot

* refactor(components): [alert] move default iconComponent into icon slot

* chore: update version

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-03-09 15:34:11 +00:00
sea
244e811b44 chore(eslint-config): add line-between-blocks rules (#20051) 2025-03-08 08:55:02 +08:00
Spaceman
241a22414c docs(components): [el-tooltip] add example using append-to API (#19943)
* docs(docs): [el-tooltip] Add example using append-to API

* chore: del type

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-02-28 18:02:11 +08:00