Commit Graph

2681 Commits

Author SHA1 Message Date
warmthsea
5167232c79 Revert "refactor: remove tooltip-v2 visual-hidden components (#22252)"
This reverts commit 3b72e183d8.
2025-09-24 08:55:39 +08:00
sea
3b72e183d8 refactor: remove tooltip-v2 visual-hidden components (#22252)
refactor: remove tooltip-v2 components
2025-09-23 22:45:16 +02:00
Zhong
b197bbf82d feat(components): [autocomplete] add loopNavigation attributes (#22281)
* fix(components): [autocomplete] allow cyclic keyboard navigation

* fix: update

* docs: update

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-09-23 17:27:24 +08:00
btea
ec86b5d6ad feat(components): [date-picker] add automatic-dropdown prop (#21764)
* fix(components): [date-picker] refocue the window causes panel to pop up

* fix: remove console

* feat: add `automatic-dropdown` prop

* fix: update

* fix: update

* docs: update

* docs: update

* docs: update

* docs: update

* docs: update
2025-09-22 17:40:20 +08:00
Noblet Ouways
6724cce7db fix(components): [color-picker] incorrect thumb offset (#22266)
* fix(components): [color-picker] incorrect thumb offset

* chore: expose

Co-authored-by: qiang <qw13131wang@gmail.com>

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-09-21 20:59:31 +08:00
Zhong
a4cdb69638 fix(components): replace KeyboardEvent.code with getEventCode (#22268)
fix(components): replace `event.code` with `getEventCode`
2025-09-21 20:57:25 +08:00
Zhong
f0bd4335f5 fix(components): [cascader] resolve visibleChange not triggered on Popper hide (#22206)
* fix(components): [cascader] resolve `visibleChange` not triggered on Popper hide

* test: update

* chore: rerun ci
2025-09-21 11:11:58 +02:00
sea
6d8045e625 improvement(components): trigger enter open tooltip (#19830)
* feat(components): [autocomplete] trigger-on-enter attributes

* feat: update test

* feat: update

* feat: update

* test: update

* chore: fix

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

* chore: deplace preventDefault for date pickers

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-21 11:04:46 +02:00
Zhong
231f126fbf fix(components): [loading] allow setText to accept VNode type (#22264)
* fix(components): [loading] allow `setText` to accept VNode type

* test: add case
2025-09-21 10:20:04 +08:00
Rainbow
2adc067bee feat(components): [autocomplete/time-select/color-picker] add popper-style (#22263)
feat(components): add popper-style
2025-09-21 10:03:35 +08:00
Zhong
b0184d8dd8 fix(components): [loading] add missing context param (#22262) 2025-09-21 08:01:27 +08:00
qiang
9043e16d94 fix: the KeyboardEvent.code is always empty string on Android (#22228)
closed #20330
2025-09-21 01:23:38 +02:00
qiang
822a0093a5 fix(components): [color-picker-panel] display error when clear the color (#22260) 2025-09-20 13:19:07 +02:00
qiang
f922d6a67e feat(components): [color-picker] add validation on blur event (#22247) 2025-09-20 08:55:27 +08:00
Zhong
1ba0a6c9b5 refactor(components): unify BEM & CSS vars via helpers (#22226) 2025-09-19 16:46:50 +08:00
Noblet Ouways
67a36d163d refactor(components): [cascader] externalize tooltip tag from v-for (#22191)
* refactor(components): [cascader] externalize tooltip tag

* chore: rename allPresentTags => tags

* chore: remove useless `isCollapseTag` property

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-09-19 12:38:53 +08:00
jiaxiang
0ff86060ab feat(components): [image-viewer] add error slot (#21961)
* feat(components): [image-viewer] add custom failed content

* Update packages/components/image-viewer/src/image-viewer.vue

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

* feat: rename error slot

* test: add custom load failed slot tests for Image and ImageViewer

* docs: perf dome

* fix: update v

* feat: add activeIndex and src properties

* fix: add key binding to img element for better reactivity

* fix: keep original structure

* fix: restore error source in image load-failed example

* feat: add image preview

* refactor: remove unused var

* fix: update demo

* chore: better contrast for dark mode

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-17 17:46:35 +02:00
catanswer
8371deaa5d feat(components): [image-viewer] add initial-scale prop (#22071)
* feat(components): [image-viewer] add initialScale attribute

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

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

* feat(components): [image-viewer] support set asynchronously

* feat(components): [image-viewer] Change initialScale to scale

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

* Update packages/components/image-viewer/src/image-viewer.ts

* chore: format

---------

Co-authored-by: catanswer <--global>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-17 15:06:50 +00:00
Zhong
d3dd793a4b fix(components): [tabs] give priority to the closable prop of tab-pane (#22187)
* fix(components): [tabs] give priority to the `closable` prop of tab-pane

* fix: resovle 22186

* fix: use strict equality

* test: add case
2025-09-17 16:41:22 +02:00
Noblet Ouways
6001577516 fix(components): [date-picker] keyboard navigation (#22192)
* fix(components): [date-picker] keyboard navigation

* test: get test working
2025-09-17 18:06:47 +08:00
sea
cd2285f5bb chore: add consistent-type-imports eslint rules to .ts file (#22195)
* chore: add import type rules to .ts

* chore: update

* chore: update
2025-09-17 10:11:26 +08:00
micaiguai
eef0aed8bc fix(components): [date-picker-panel] sync clear value with valueOnClear (#22059)
* fix(components): [date-picker-panel] The value after cleared

* chore: refactor logic to isEmptyValue method
2025-09-16 14:19:40 +02:00
sea
ffd886da55 fix(components): [dropdown]: hover trigger click item close stuck (#22078)
* fix(components): [drppdown]: hover trigger close stuck

* chore: update

* refactor: update

* chore: update
2025-09-16 14:46:09 +08:00
Zhong
0c09980630 fix(components): [autocomplete] avoid option selection by enter in IME (#21245) 2025-09-16 12:12:04 +08:00
Zhong
1a2c767b0d fix(components): [checkbox/radio] add missing style (#22151)
* fix(components): [checkbox & radio] add missing style

* fix: update
2025-09-15 18:11:39 +08:00
Noblet Ouways
c86dfdfe36 feat(components): [tree-select] expose treeRef & selectRef instances (#22147)
* feat(components): [tree-select] expose `tree` & `select` instances

* chore: reword
2025-09-15 14:41:58 +08:00
micaiguai
25a25c6aec fix(components): [rate] ensure the logic of mouseleave work (#22060)
* fix(components): [rate] refactor the logic

* fix(components): [rate] ensure work in iframe

* fix(components): [rate] remove iframe logic
2025-09-15 13:49:16 +08:00
Zhong
d52f260f22 fix(components): [tour] make path responsive to window size (#22145) 2025-09-14 12:31:39 +02:00
DDDDD12138
8a91f204fd feat(components): [select/v2] avoid unnecessary model updates when value unchanged (#20123)
* feat: avoid unnecessary model updates when value unchanged

* chore: update cSpell words

* fix: correct test case

* feat: support select-v2

* Update .vscode/settings.json

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-09-14 10:37:45 +08:00
Noblet Ouways
b8397d2353 chore(components): [date-picker-panel] remove some typescript casting (#22143) 2025-09-14 08:43:34 +08:00
Ben Lau
64a0c61917 fix(components): [tree] correctly determine the drop type of tree node (#21717)
Co-authored-by: liubaobin <liubaobin@wps.cn>
2025-09-14 00:29:49 +02:00
Noblet Ouways
75322df994 fix(components): [date-picker-panel] sync panel with model-value (#22123)
* fix(components): [date-picker-panel] sync panel with model-value

closed #22050

* test: set tests cases

* refactor: apply review

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

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
2025-09-12 18:14:59 +08:00
Zhong
61ece6bd66 refactor(components): [autocomplete] remove any type (#22127)
* refactor(components): [autocomplete] remove `any` type

* fix: update

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* fix: update

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-09-12 09:25:31 +00:00
Bigpawn
d79bc2ac55 fix(components): [splitter] resize-end event sizes value is not the latest (#22125)
* fix(components): [splitter]在调整大小结束时添加 nextTick 以确保延迟更新

当 lazy 为 true 时,使用 nextTick 确保在 DOM 更新后触发 resizeEnd 事件

* fix(components): [splitter] Fix the ts issue of onResizeEnd

* fix(components): [splitter] Add test cases

* fix(components): [splitter] Merge remote changes and keep test cases

* chore: format

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-09-12 09:14:18 +00:00
Kylin
72780e0f50 refactor(components): [checkbox] reduce repetitive code in templates (#22094)
* refactor(components): [checkbox] reduce repetitive code in templates

* refactor(components): [checkbox] recovery class

* refactor(components): [checkbox] remove the indeterminate attribute

* Update packages/components/checkbox/src/checkbox-button.vue

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

* refactor(components): [checkbox] delete inputId

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-09-11 12:33:13 +02:00
Rainbow
66c37f139f feat(components): [mention] support props prop (#21980)
* feat(components): [mention] support props prop

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* docs: update

* feat: update

* Apply suggestions from code review

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

* docs: update version number

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-09-10 22:13:10 +08:00
btea
6252d87e6a test(components): [cascader] dynamic maxCollapseTags (#22103) 2025-09-10 17:27:43 +08:00
Zhong
0f5022a4f9 feat(components): [tabs] support scrolling via mouse wheel (#22024)
* feat(components): [tabs] support scrolling via mouse wheel

* ci: rerun ci
2025-09-10 09:05:41 +08:00
btea
a9e20d3b9f fix(components): [cascader] response to change in maxCollapseTags (#22087) 2025-09-09 22:50:03 +02:00
Kylin
bfa5c1aefd refactor(components): [checkout] reduce repetitive code in templates (#22072) 2025-09-09 11:09:49 +08:00
Zhong
8400d0d998 feat(components): [dropdown] add virtual-ref / virtual-triggering / show-arrow props (#22056)
* feat(components): [dropdown] add `virtual-ref / virtual-triggering / show-arrow` props

* docs: update

* docs: add tag

* test: add case

* chore: format

* docs: update
2025-09-09 09:32:57 +08:00
Zhong
4845caab13 fix(components): [mention] correct cursor position (#22070)
* fix(components): [mention] correct cursor position

* test: add test

* fix: use wrapper as a reference
2025-09-08 12:30:05 +02:00
Zhong
229a0a159b fix(components): [alert] show immediately when showAfter not needed (#22028)
* fix(components): [alert] show immediately when `showAfter` not needed

* fix: use `open` change `visible`

* refactor: optimize code

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

* fix: resolve auto-close invalid

* test: add cases

* test: add immediate case

* fix: update

* test: update test

* fix: use `undefined` default

* fix: remove as `Ref<number>`

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

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

* fix: import isUndefined

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-09-07 21:24:08 +02:00
micaiguai
1087c10caa fix(components): [table] fix table display error in stripe mode (#22022)
* fix(components): [table] Fix table display error in stripe mode

* fix(components): [table] Add test case
2025-09-07 11:56:41 +02:00
ll-huihui
a4674ca778 feat(components): [input-tag] add drag-tag event (#22038)
* feat(components): 添加drag-tag事件

-remove-tag事件添加当前删除的索引参数\n -添加drag-tag事件\n -修改这两个事件方便不同数据源之间操作

* Update docs/en-US/component/input-tag.md

Co-authored-by: qiang <qw13131wang@gmail.com>

---------

Co-authored-by: 刘辉 <15909216375@163.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2025-09-07 13:51:48 +08:00
sea
ca4a798545 fix(components): [date-picker]: use array modelValue datetime type debacle (#22033)
fix(components): [date-picker]: use array value datetime type debacle
2025-09-06 07:46:11 +08:00
Kylin
606cdc8948 refactor(components): [menu] optimize condition judgment (#22020)
* refactor(components): [menu] optimize condition judgment

* refactor(components): [menu] use if...else...

* refactor: adjust the position of isFirstLevel
2025-09-05 09:25:38 +08:00
Anod Chow
7966f61d46 refactor(components): [date-picker-panel] emit after input instead of watch (#21899)
* fix(components): [date-picker] avoid update when modalValue is not change

* Revert "fix(components): [date-picker] avoid update when modalValue is not change"

This reverts commit 7f373ee642.

* fix(components): [date-picker-panel] emit after input instead of watch

* test: add test case

* test: add test

* chore: remove useless nextTick

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-04 20:39:02 +08:00
betavs
d5e62eb7b9 fix(components): [autocomplete] type declaration error (#15261) 2025-09-04 20:28:44 +08:00
oooh
9b5e405ad9 chore(components): [cascader-panel] remove duplicate exports (#21828)
* chore(components): cascader-panel Update types.ts export types

* chore(components): cascader-panel/node.ts export types from types.ts

* chore(components): cascader-panel/types export

* chore: cascader-panel import types form types.ts

* chore: cascader-panel test types

---------

Co-authored-by: 一只前端汪 <985313519@qq.com>
2025-09-04 18:42:00 +08:00