Commit Graph

2432 Commits

Author SHA1 Message Date
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
xiaohe0601
5cee7a1464 fix(components): [table] fix children can't be unchecked (#20995)
* fix(components): [table] fix children can't be unchecked

* test(components): [table] reserve selection
2025-06-20 10:01:20 +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
dopamine
f50222cb55 fix(components): [tabs] match visual order to source order (#21025)
* fix(components): [tabs] match visual order to source order

* fix
2025-06-17 09:50:00 +08:00
maicss
af97019b70 fix(components): [tabs] fix nav height for better display (#15600)
fix(components): [tabs] fix border UI
2025-06-16 15:55:11 +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
selicens
88c63db41e fix(components): [upload-dragger] Blink when sliding over sub elements (#21006)
* fix(components): [upload]

Drag to upload flicker when passing through sub elements

* chore: type adjusting

* chore: adjusting
2025-06-13 17:57:55 +02:00
btea
6d72d09043 fix(components): [table] tooltip compatibility edge case (#21012) 2025-06-13 17:55:12 +02: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
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
btea
880de62fee fix(components): [tree-select] value label rendering error (#20947)
* fix(components): [tree-select] value label rendering error

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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: update

* fix: update

* fix: lint

* test: case

* fix: lint

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-11 21:37:04 +08:00
qiang
ed8fe460a8 fix(components): [date-picker] yearrange & unlinkPanels causes panels display error (#17822)
* fix(components): [date-picker] unlinkPanels causes panels display error

* fix: type
2025-06-10 21:52:12 +08:00
jyp114110
07eff9e2f8 fix(components): [date-picker] getting month dates range error (#20932)
* fix(components): [date-picker] fix "disabledDate" bug

fix #20931

BREAKING CHANGE: N

closed #20931

* fix(components): [date-picker]

Add test case for fixing #20931

BREAKING CHANGE: N

closed #20931

* fix(components): [date-picker]

[date-picker] getting month dates range error #20932

BREAKING CHANGE: n

closed #20932

* Revert "fix(components): [date-picker]"

This reverts commit 710c1cc3d6.

* refactor: set time separately

---------

Co-authored-by: 金亚平 <yaping.jin@jinlihk.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-06-09 23:11:50 +08:00
btea
0b6e8af510 fix(components): [scrollbar] horizontal scroll drag invalid (#20953)
* fix(components): [scrollbar] horizontal scroll drag invalid

* fix: horizontal scroll
2025-06-07 16:26:53 +02:00
qiang
735aa2e4df fix(components): [splitter-panel] the style file path error (#20948) 2025-06-07 11:55:10 +08:00
betavs
cbc11e601d fix(components): [form] the validate function is executed repeatedly (#19345) 2025-06-07 10:30:26 +08:00
Rhodi
c043e5fc81 fix(components): [collapse] resolve space key conflict and improve accessibility (#20529)
* fix(components): resolve space key conflict and improve accessibility

- Replace native `<button>` with `<div role="button">` in collapse header
- Refactor keyboard event handling for Enter/Space triggers
- Add event propagation control for nested input elements
- Implement ARIA-compliant focus management
- Prevent unintended collapse toggling during input interactions

closed #20520

* fix: update based on review comments

* fix: update base on review comments
2025-06-06 15:44:49 +08:00
sea
84376becfe refactor(components): [tooltip-v2] remove ts-nocheck comments (#16928)
* chore: remove ts-nocheck comments in tooltip-v2 index

* chore: fix type

* Update packages/components/tooltip-v2/src/content.vue

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

* chore: format

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-06-06 15:07:11 +08:00
betavs
8f380ce884 refactor(components): standardize injection keys (#20616) 2025-06-06 14:45:39 +08:00
Jeff
6f8e91f771 refactor(components): [select] modify manuallyRenderSlots execute (#20854)
* refactor(components): [select] modify `manuallyRenderSlots` execute

* refactor(components): [select] modify ’manuallyRenderSlots‘ execute

* fix(components): [select] fix render slots attempt when persistent=false

* fix: remove duplicate judgments

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-06-06 08:56:35 +08:00
btea
8098ddc180 fix(components): [space] keep comment nodes (#20930) 2025-06-05 21:18:59 +02: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
d5ee6e56aa fix(components): [space] correctly render comment nodes (#20922) 2025-06-04 21:57:54 +02:00
sea
47bf23be53 refactor: [select, select-v2]: unified name & supplement type (#20050)
* chore: update

* chore: update
2025-06-04 17:46:56 +08:00
wsVIC
07a6613374 fix(components): [dialog] fix dialog zindex should update responsively (#18520)
Co-authored-by: btea <2356281422@qq.com>
2025-06-04 14:37:58 +08:00
Noblet Ouways
c493763f70 fix(components): [cascader-panel] check if children label are comments (#20899)
* fix(components): [cascader-panel] check if children label are comments

* refactor: better

* chore: fix type

Co-authored-by: dopamine <coderzyou@gmail.com>

* chore: fix type v2

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

* chore: review & test

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

---------

Co-authored-by: dopamine <coderzyou@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-06-04 12:19:49 +08:00
sea
2c29081621 fix(hooks): [use-focus-controller] form-disabled-status not trigger blur (#20891)
* fix(components): [input] form-disabled-status blur not validate

* fix: update hooks

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

* test: add form disabled case

* fix: test import

* Update packages/hooks/use-focus-controller/index.ts

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

* refactor: import path

---------

Co-authored-by: xingyixiang <452282988@qq.com>
Co-authored-by: btea <2356281422@qq.com>
2025-06-04 10:44:53 +08:00
kooriookami
cacd8ea53a refactor(components): [color-picker] Use tinycolor to calculate color (#20847)
* refactor(components): [color-picker] Use tinycolor to calculate color

* refactor(components): update

* refactor(components): update

* refactor(components): update

* fix(components): fix

closed #13239
2025-06-03 23:05:00 +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
伊墨
b31e727edd fix(components): [select] display exception when label is 0 or "" (#20905)
* fix(components): [option] display exception when label is `0` or `""`

* test: add test case
2025-06-03 01:07:37 +00:00
Noblet Ouways
bae467696d test(components): [form] add missing async keyword (#20906) 2025-06-02 20:21:53 +08:00
btea
1e0297b118 test(components): [cascader] with placelhoder pass empty string (#20902) 2025-06-02 10:20:08 +02:00
betavs
8b4a21136b fix(components): [form-item] cannot be set to div tag for rendering (#20608) 2025-06-01 18:31:49 +08: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
btea
0a85cc0a10 fix(components): [cascader] placeholder should be blank if pass a empty string (#20896)
fix(components): [cascader] placeholder should be blank if pass a empty
2025-05-30 16:47:03 +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
DDDDD12138
e01a1439c0 style(components): [colorPicker] enhance disabled styles (#19432)
* feat: remove mask and add disabled style

* feat: set `width` and `height` on the warp container

* feat: update style

* feat: update style

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-05-29 15:54:16 +08:00
DDDDD12138
4e821c5552 fix(components): [input-number] clear display content after non-numeric input (#19538)
fix: clear display content after non-numeric input
2025-05-29 15:36:37 +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
btea
e19fea2ed7 fix(components): [cascader] scrolling to active node is inaccurate (#20877) 2025-05-28 23:28:38 +08:00
betavs
b35c3a54da fix(components): [text] the title attribute loses its reactivity (#20875) 2025-05-28 20:39:45 +08:00
betavs
feb21505b8 fix(components): [config-provider] provide global config function is invalid for message (#20863)
* fix(components): [config-provider] provide global config function is invalid for message

* test(components): [config-provider] reset message config after each test to prevent state leakage
2025-05-27 10:12:51 +02:00
btea
8399c0076c test(components): [form] scrollToError scroll to correct form item (#20848) 2025-05-26 09:20:44 +08:00
张海峰
34525a5e6e fix: [color-picker] Fix invalid color code clearing (#20832)
* fix: [color-picker] Fix invalid color code clearing

Enable clearing of invalid input when incorrect code is entered

* fix: fix customInput should be currentColor

---------

Co-authored-by: zhanghaifeng <751434992@qq.com>
2025-05-24 22:10:26 +08: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
sea
556fbbc699 Revert "table expand #20587 #20715 #20811" (#20834)
* Revert "table expand  #20587 #20715 #20811"

* chore: revert
2025-05-23 18:03:59 +08:00
Noblet Ouways
00c78d6fbf fix(components): [image-viewer] dont persist image preview list (#20807)
* fix(components): [image-viewer] dont persist image preview list

* chore: rearrange tests
2025-05-23 16:00:42 +08:00