Commit Graph

2825 Commits

Author SHA1 Message Date
rzzf
5d5de8121a fix(components): [splitter] display the mask after panel update (#22954)
* fix(components): [splitter] display the mask when there is no panel

* fix: update
2025-11-29 11:19:29 +01:00
rzzf
f25ef834dd fix(components): [splitter] runtime validation failed for update:size (#22957) 2025-11-29 11:14:07 +01:00
sea
adf4fbfb6b feat(components): [tree-select] add instance type and improve test cleanup logic (#22499)
* feat(components): [tree-select] add instance

* chore: update

* chore: update test

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

* Update packages/components/tree-select/src/instance.ts

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

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-11-28 23:34:57 +08:00
rzzf
8d4d0514e7 feat(components): [timeline] add reverse prop (#22931)
* feat(components): [timeline] add `reverse` prop

* test: update

* chore: update import
2025-11-28 08:06:03 +08:00
rzzf
f3b3140f5d fix(components): avoid focusing disabled elements (#22940) 2025-11-28 08:01:52 +08:00
Rainbow
5c432f355e fix(components): [table] correct the type of style (#22939) 2025-11-27 23:13:36 +01:00
余晖
8170fca7ae fix(components): [table] fix header HMR and keep v-if fallback (#22884)
* fix(components): [table] fix header HMR and keep v-if fallback

* fix(components): [table] return text VNode in header fallback
2025-11-26 14:33:35 +01:00
qiang
183360f316 perf(components): [select-v2] avoid duplicate render after props change (#22935)
closed #17175, close #19725
2025-11-26 18:44:08 +08:00
ykcory
1cdf9b3ce5 fix(components): [segmented] fire change event if option not checked (#19705)
* fix(components): [segmented] update change event processing (#19684)

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

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

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

* test: set test case

* chore: fmt

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-11-25 22:32:28 +08:00
余晖
84710a7105 refactor(components): [table] clear state on non-resizable columns (#22916)
* refactor(components): [table] clear state on non-resizable columns

* refactor(components): [table] simplify dragging state cleanup
2025-11-25 17:27:00 +08:00
DDDDD12138
09f06f9b9d fix(components): [table] tableBody height not update when header changed (#19580)
fix: tableBody height not updating with table header height changes
2025-11-25 15:45:25 +08:00
sea
5beb8d9432 improvement(components): [splitter] use import emits (#22907)
* improvement(components): [splitter] use import emits

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

Co-authored-by: rzzf <cszhjh@gmail.com>

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-25 11:14:17 +08:00
Dun Lu
9cd07b798e feat(components): [select-v2] add remote-show-suffix prop (#22885)
* fix(components): [selectV2] fix computed logic&add remoteShowSuffix prop

* fix(components): add test case and add prop in docs

* docs(components): [select-v2](remote) add example and version info

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-25 10:16:49 +08:00
Fiona
2657f1d876 fix(components): [cascader] fix SVG generated mask the menu when scroll (#16365)
fix(components): [cascader] fix SVG generated mask the menu when scrolled

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-11-24 11:25:58 +01:00
reex
8ca2ad7ecb fix(components): [select] skip process keydown.enter in composing (#22861)
fix(components): [select] skip process keydown.enter event in composing state

Co-authored-by: reexliu <reexliu@tencent.com>
2025-11-24 17:42:58 +08:00
云游君
7be439a53a fix(components): [tabs] default-value support and update demo for docs (#22896)
* fix(components): [tabs] default-value support and update demo for docs

* chore: update docs/en-US/component/tabs.md

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

* fix(components): [tabs] undefined for defaultValue

---------

Co-authored-by: btea <2356281422@qq.com>
2025-11-23 15:18:51 +08:00
Zhan Dong
020c904b18 fix(components): [image-viewer]: add touch event in mobile (#12550)
* style(components): [image-viewer]: add scroll

closed #12473

* fix(components): [image-viewer] add touch event in mobile

closed #12473

* style(components): [image-viewer] remove useless  overflow

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-11-23 09:09:43 +08:00
Den Moshkin
e3eff3725f feat(components): [button-group]: add direction prop (#18906)
* feat(components): [button-group]:add vertical direction for button group

* feat(components): [button-group]: add direction prop (update)

* feat(components): [button-group]: fix docs

* feat(components): [button-group]: update version

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

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

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

* chore: format

* docs: improve sentence

* docs: improve display example

* refactor: enhance prop type

- fit with segmented direction prop
- enhance type according with
https://github.com/element-plus/element-plus/pull/22757

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-11-23 09:07:43 +08:00
Rainbow
3e0d623e62 fix(components): [table] prevent incorrect drag when resizable is false (#22327) 2025-11-23 08:59:54 +08:00
Rainbow
d6eb72bcdc fix(components): [time-picker] avoid incorrect values after losing focus (#22880)
* fix(components): [time-picker] avoid incorrect values after losing focus

* test: set test case

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-11-22 23:54:28 +01:00
Rainbow
0b1a57f23d fix(components): [select/select-v2] correct the trigger timing of visible-change (#22897)
fix(components): correct the trigger timing of visible-change
2025-11-22 23:14:53 +08:00
Putia3
1375b3e604 fix(components): [select] shouldn't add is-hovering to disabled option (#22845)
fix(components): [select] shouldn't add "is-hovering" when disabled
2025-11-22 17:14:32 +08:00
Rainbow
074e82700e fix(components): [select-v2] ResizeObserver loop completed with undelivered notifications (#22895)
fix: ResizeObserver loop completed with undelivered notifications
2025-11-22 15:54:29 +08:00
yicheny
2c2f6a2687 feat(components): [tabs] add default-value prop, suppress flicker (#22815)
closed #22776

Co-authored-by: 云游君 <me@yunyoujun.cn>
2025-11-21 23:42:03 +08:00
btea
0df5270e42 chore: [tooltip] event type error (#22886) 2025-11-21 11:18:54 +01:00
yicheny
751e80d50b fix(components): [table] avoid height loop (#22838)
* fix(components): [table] avoid height loop

closed #22834

* Update packages/components/table/__tests__/table.test.ts

Co-authored-by: rzzf <cszhjh@gmail.com>

---------

Co-authored-by: alex.yang <alex.yang@hytechc.com>
Co-authored-by: 云游君 <me@yunyoujun.cn>
Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-21 16:29:18 +08:00
Rainbow
439c0b5b88 improvement(components): [select/select-v2] hoveringIndex stays on the most recently selected option with multiple (#22782)
* improvement: hoveringIndex stays on the last selected option

* improvement: update

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-20 15:09:16 +08:00
Rainbow
3243b71e37 improvement(components): [select] locate the most recently selected option when using multiple (#22753)
* improvement: locate the most recently selected one when using multiple

* test: add test case
2025-11-20 14:45:53 +08:00
rzzf
f8c76a4679 fix(components): [virtual-list] prevent scroll from exceeding its bounds (#22786)
* fix(components): [virtual-list] prevent scroll from exceeding its bounds

* test: update

* fix: update

Co-authored-by: warmthsea <2586244885@qq.com>

* fix: update

* test: fix

* fix: update grid

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-11-19 14:43:04 +01:00
ls57765867
f40d404a18 fix(components): [input] fix resize not working (#13841)
When setting show-word-limit and resize to horizontal, there is an issue with the positioning, and
it should maintain a spacing of 10px

BREAKING CHANGE :
N

closed #13769

Co-authored-by: Xc <124118265@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2025-11-19 14:36:00 +01:00
rzzf
976ec490e0 fix(components): [popconfirm] fallthrough virtual-ref & virtual-triggering (#22843)
* fix(components): [popconfirm] pass through virtualRef/virtualTriggering

* test: add test
2025-11-19 11:54:02 +08:00
rzzf
1859f5137e fix(utils): [addUnit] handle 0 value correctly (#22808)
* fix(utils): [addUnit] handle 0 value correctly

* fix: provide example

* fix: update

* fix: update

* test: update case name

* fix: update

Co-authored-by: Dsaquel <291874700n@gmail.com>

* fix: update

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

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-11-18 16:29:01 +08:00
sea
cd2728af99 Revert "feat(components): [alert] add open and auto-close functionality with delay (#20533,#22028)" (#22560)
* Revert "fix(components): [alert] show immediately when `showAfter` not needed (#22028)"

This reverts commit 229a0a159b.

* Revert "feat(components): [alert] add open and auto-close functionality with delays (#20533)"

* chore: update deprecated

* docs: update remark
2025-11-17 11:04:56 +08:00
Rainbow
94b273d10f feat(components): [splitter] expose splitterPanelRef (#22791)
* feat(components): [split-panel] expose panelEl

* feat: update

* feat: update

* docs: update version number
2025-11-16 23:39:25 +01:00
Carl Chen
261012cd1f fix(components): [input] fixed the onchange parameter when type is file (#14687)
* fix(components): [input]

fixed the onchange parameter when type is file

BREAKING CHANGE :
the onchange type of input has been enhanced to string

FileList

closed #14686

* fix: fix lint

* fix: fix lint

* fix(components): input

remove error

* perf(components): input

change event emit event

* fix(components): [input]

add test & fix file clear

* fix: fix unit test

* perf: change input test name

* chore: format

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-11-16 09:35:12 +08:00
rzzf
8d8174ce3a fix(components): [tree] checkbox selection wrong with disabled nodes (#22711)
* fix(components): [tree] checkbox selection wrong with disabled nodes

* fix: 19435

* refactor: remove useless code

* fix: correctly handle lazy mode and default-checked-keys

* test: update
2025-11-16 09:28:11 +08:00
Map1en
21a651b13d fix(components): [select] after the last select unmounts memory leak issue (#22764)
* fix(components): after the last select unmounts memory leak issue

* fix: avoid intercepting info from other components

---------

Co-authored-by: btea <2356281422@qq.com>
2025-11-15 10:33:07 +08:00
betavs
f30bfaa09b fix(components): [input-number] correct condition for user input reset (#21283) 2025-11-14 17:53:16 +08:00
Rainbow
0c378d43f3 refactor(components): [select-v2] reduce repeated property access (#22801) 2025-11-14 15:24:12 +08:00
Map1en
3b6f377eb4 fix(components): [popper] trigger memory leak issue (#22763)
* fix(components): trigger memory leak issue

* fix: update test

* Update packages/components/popper/src/trigger.vue

---------

Co-authored-by: btea <2356281422@qq.com>
2025-11-13 14:46:09 +00:00
btea
784568cf13 refactor(components): [drawer] rename event parameter avoid conflicts (#22790) 2025-11-13 15:04:03 +08:00
btea
6c63c0018a refactor(components): [watermark] reduce unnecessary calc (#22789) 2025-11-13 15:02:22 +08:00
Jevin
43c1a9de82 feat(components): [drawer] add resize-start resize resize-end emits (#22784)
* feat(components): [drawer] add    emits

* chore: update

* chore: update
2025-11-13 14:32:00 +08:00
Rainbow
5cae7273af fix(components): [select-v2] avoid wrong style when disabled (#22780) 2025-11-13 11:10:19 +08:00
qiang
37df183c4b docs(components): [input] adjust the recommended value for the type (#22757)
closed #14686
2025-11-13 08:02:35 +08:00
jiaxiang
ff47514c4f chore(components): [cascader-panel] remove inheritAttrs: false (#22779) 2025-11-13 08:01:33 +08:00
yicheny
581a83a9b9 fix(components): [select] sync label when persistent is false and options change (#22755)
fix(components): sync label when persistent=false and options change

- Rehydrate options from slot vnodes on slots/model change when dropdown is closed

BREAKING CHANGE: Closes #22754

closed #22754

Co-authored-by: alex.yang <alex.yang@hytechc.com>
2025-11-12 22:37:20 +08:00
Putia3
e47acb7ac7 fix(components): [select] shouldn't display the input box when disabled (#22767)
fix(style): [select]Do not display the input box when disabled
2025-11-12 22:20:03 +08:00
yicheny
eaeba4f923 fix(components): [upload] ensure onChange receives updated fileList (#22760)
* fix(components): ensure onChange receives updated fileList

- defer onChange emission to next tick so v-model sync completes

- add regression test covering v-model:fileList synchronization

closed #22676

* test(components): annotate v-model sync test types

- import UploadFiles for the new regression test

- type refs and handlers to satisfy lint/typecheck

closed #22676

---------

Co-authored-by: 云游君 <me@yunyoujun.cn>
2025-11-12 20:56:46 +08:00
Rainbow
c03171e52d fix(components): [select-v2] avoid invalid positioning when using filterable and default-first-option (#22725)
* fix: avoid invalid positioning

* fix: update

* fix: update

* test: add test case

* test: update
2025-11-11 23:07:23 +01:00