Commit Graph

3968 Commits

Author SHA1 Message Date
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
14806fe8f8 fix(hooks): [use-focus-controller] repeatedly trigger focus when clicked (#17148)
* fix(components): [input] the focus event is triggered twice

closed #16959, #16961

* fix(hooks): [use-focus-controller] repeatedly trigger focus when clicked

* chore: remove @click.stop
2025-06-12 21:55:22 +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
1da935e2bd fix(locale): update ru.ts (#20972)
* fix(locale): update ru.ts

---------

Co-authored-by: Zhongxiang Wang <yhen@all-my-life.cn>
2025-06-11 16:25:30 +00: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
qiang
d3dae80b70 fix(theme-chalk): [drawer] replace fixed color with CSS var (#19011) 2025-06-08 18:35:11 +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
betavs
6936245fff fix(theme-chalk): [radio] update background color for checked state (#19594)
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-06-05 16:11:51 +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
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
btea
e71435d02e style(components): [menu] make active item text color correct (#20914)
* style(components): [menu] make active item text color correct

* style: update
2025-06-04 09:53:27 +02: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
Nick Wu
a48b496ba5 fix(components): [dialog] drag into view when content is too high (#20595) 2025-06-03 22:59:49 +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
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
betavs
dad393b92c fix(components): [cascader-panel] value can be an empty string (#20731) 2025-05-23 11:30:26 +08:00
Noblet Ouways
1b9d6df3f5 fix(components): [date-time-picker] inherit time across picker views (#20806)
* fix(components): [date-time-picker] inherit time across picker views

closed #20804

* typo

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-23 11:17:12 +08:00
btea
7c3a321e5f fix(components): [message] message method jump failed (#20818)
* revert: [message] `Message` interface

* refactor: update

* fix: update
2025-05-22 16:50:11 +08:00