Commit Graph

6438 Commits

Author SHA1 Message Date
dopamine
d05f87b6fd refactor(hooks): [useOrderedChildren] sort child components on patch (#21124) 2025-06-26 17:17:02 +08:00
btea
7a499bf40f refactor(components): [table] compatible with rowKey non-existence (#21134)
* refactor(components): [table] compatible with rowKey non-existence

* chore: update

* fix: update
2025-06-25 16:39:32 +02: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
Zhong
514cf66fce fix(components): [menu] expose updateActiveIndex type (#21129)
feat(components): [Menu] expose updateActiveIndex type
2025-06-25 09:11:53 +02: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
Noblet Ouways
47ea8e855e fix(components): [cascader-panel] avoid multiple init invokes (#20892)
chore: improve
2025-06-24 14:43:58 +02: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
JCL206312
1fd8c4b3b2 fix(components): [color-picker] Improve modelValue prop type (#20880)
* fix(components): [color-picker] Improve modelValue prop type

* Revert "fix(components): [color-picker] Improve modelValue prop type"

This reverts commit 450fdfa1da.

* fix(components): [color-picker] Improve modelValue prop type

* Update packages/components/color-picker/src/color-picker.ts

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

* fix: typecheck

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-06-24 16:35:57 +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
知晓同丶
51c426aa9f fix(components): [space] prevent extra spacers after empty templates (#21105)
* fix(components): [space] prevent extra spacers after empty templates

closed #21101

* revert: no need to keep comment nodes
2025-06-23 16:33:38 +08:00
Ethan Yin
23c680f810 perf(components): [table] remove redundant updateSelectionByRowKey (#21092)
* perf(components): [table] remove redundant `updateSelectionByRowKey`

* revert(components): [table] revert `assertRowKey`
2025-06-23 01:00:08 +02:00
betavs
947a88d255 fix(components): [table] render tree node (#19247) 2025-06-20 20:36:56 +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
Ravoan
4dbb805181 fix(locale): improve Khmer (km) locale translations (#21069)
* fix(locale): update Khmer (km) locale translations

* fix(locale): improve formatting of Khmer locale strings

* fix(locale): refine Khmer locale pagination and dialog strings

---------

Co-authored-by: Chappie <chappie@mayam32.com>
2025-06-20 11:09:32 +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
betavs
38a886c7ed chore: update node version requirement to 20 (#21034) 2025-06-16 08:09:16 +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
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
Element
9f4e7c441d chore: Update changelog 2.10.2 (#21027)
chore: update changelog 2.10.2
2025-06-13 13:31:23 +00: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
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
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
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
btea
2a91b0e0f9 test: update coverage.exclude (#20943) 2025-06-07 16:16:42 +08:00
Element
bcfe48d1de chore: Update changelog 2.10.1 (#20950)
chore: update changelog 2.10.1
2025-06-07 13:00:42 +08:00
qiang
735aa2e4df fix(components): [splitter-panel] the style file path error (#20948) 2025-06-07 11:55:10 +08:00
betavs
76a5abf358 docs: update alert component version references to 2.10.0 (#20946) 2025-06-07 11:19:29 +08:00
betavs
cbc11e601d fix(components): [form] the validate function is executed repeatedly (#19345) 2025-06-07 10:30:26 +08:00
Element
eb342b511e chore: Update changelog 2.10.0 (#20937)
chore: update changelog 2.10.0
2025-06-06 10:54:36 +00: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