Commit Graph

6975 Commits

Author SHA1 Message Date
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
rzzf
85574e1be7 ci: fix unable to add comment on PR from fork (#22777) 2025-11-12 19:39:55 +08:00
rzzf
94627e9a6b ci: unable to add comment on PR from fork (#22761)
* ci: unable to add comment on PR from fork

* ci: update
2025-11-12 12:09:42 +01:00
Renzo Gort
77059fbed8 chore(locale): update dutch locale (#22750)
Co-authored-by: Zhongxiang Wang <yhen@all-my-life.cn>
2025-11-12 03:58:10 +00:00
一只前端汪
a445eca246 chore: upgrade Unocss version (#22758)
chore: Upgrade Unocss version
2025-11-12 08:21:33 +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
rzzf
0723ec60ed refactor(components): [image-viewer] use useLockscreen for scroll lock (#22734) 2025-11-11 17:19:00 +08:00
一只前端汪
fbb7f71016 docs: correct TypeScript type errors in documentation (#22752)
fix(docs): correct TypeScript type errors in documentation
2025-11-11 16:45:00 +08:00
Kylin
99bf3e1776 fix(components): [input-tag] the line break caused by exceeding content (#22704)
* fix(components): [input-tag] the line break caused by exceeding  content

* fix(components): [input-tag] delete min-width

* fix(components): [input-tag] adjust the logic

* refactor: adjustment of implementation logic

* refactor: restore the code

* refactor: adjust the logic

* refactor: adjust the method name

* refactor: add test

* refactor: remove interface InputTagStates

* Update packages/components/input-tag/src/composables/use-input-tag-dom.ts

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

* refactor: update test

* refactor: update test

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-11 15:33:49 +08:00
Rainbow
5761f4257b fix(components): [tree] avoid having multiple nodes with highlighted states at the same time (#22748)
* fix(components): avoid having multiple nodes selected at the same time

* test: add test case

* test: update

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-11 11:25:19 +08:00
btea
cb6d77e6fe ci: fix pr-conflict action (#22730) 2025-11-11 11:04:57 +08:00
btea
4b57840dd2 ci: pr comment action update condition (#22744)
* ci: pr comment action update condition

* Update .github/workflows/pr-comment.yml

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

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-10 14:41:55 +08:00
rzzf
85ac706325 feat(components): [cascader] expose focus and blur methods (#22737) 2025-11-10 12:57:57 +08:00
jiaxiang
b208a7e90c docs(style): fix class name repeat (#22739)
* docs: [Watermark] rename class name

* Update docs/examples/watermark/custom.vue

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

* chore: fix

* style: update

* Update docs/examples/autocomplete/custom-header-footer.vue

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

* fix(docs): update

* Update docs/examples/cascader/custom-header-footer.vue

* Update docs/examples/cascader/custom-header-footer.vue

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-10 11:39:07 +08:00
btea
e02ad8a2f9 ci: add pr-comment action (#22733) 2025-11-10 11:10:31 +08:00
renovate[bot]
b3981de4f0 chore(deps): update actions/upload-artifact action to v5 (#22740)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-10 11:09:52 +08:00
sea
1f7cdc3915 chore: only show warnings in dev mode (#22675)
* chore: only show warnings in dev mode

* chore: test

* chore: test2

* chore: test3

* chore: test3

* chore: update 4

* chore: update

* chore: update

* chore: update

* chore: update

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

* chore: add security checks to all process

---------

Co-authored-by: btea <2356281422@qq.com>
2025-11-10 09:25:01 +08:00
Spaceman
3a9db865be fix(components): [tree-select] use up/down/enter keys select error (#20008)
* fix(components): [tree-select] fix bg for up/down keys, Enter bug

fix(components): [tree-select] fix background color to up/down keys, fix Enter selection bug.

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

* fix(components): [tree-select] find the first enabled option

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

* Update useSelect.ts

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

fix(components): [tree-select] fix bg for up/down keys, Enter bug

* Update useSelect.ts

* fix(components): [tree-select] fix bg for up/down keys, Enter bug

fix(components): [tree-select] fix background color to up/down keys, fix Enter selection bug.

* fix(components): [tree-select] Add data type

fix(components): [tree-select] Add data type

* fix(components): [tree-select] use up/down/enter keys select error

* fix(components): [tree-select] change the keyboard methods

* fix(components): [tree-select] use up/down/enter keys select error

* fix(components): [tree-select] use up/down/enter keys select error

* chore: restore to dev

* chore: set solution

* fix(components): [tree-select] use up/down/enter keys select error

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

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

* fix(components): [tree-select] use up/down/enter keys select error

* fix(components): [tree-select] use up/down/enter keys select error

* fix(components): [tree-select] Fix code conflicts

* Apply suggestions from code review

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

* fix(components): [tree-select] Apply suggestions from code review

* fix(components): [tree-select] Apply suggestions from code review

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

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2025-11-09 14:00:42 +08:00
Rainbow
f62501cf40 fix(components): [image-viewer] avoid triggering scroll wheel events outside the preview area (#22722)
* fix: avoid triggering scroll wheel events outside the preview area

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

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

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-08 11:58:12 +08:00
btea
1c002d289d chore: move all pnpm settings to pnpm-workspace.yaml (#22724) 2025-11-07 18:20:18 +01:00
sea
9898d265b8 feat(components): [virtual-list] add touch event handling for scrolling (#20628)
* feat(components): add touch event handling for scrolling in virtual list

* fix: del start preventDefault

Co-authored-by: DDDDD12138 <43703884+DDDDD12138@users.noreply.github.com>

* feat: safe scroll distance

Co-authored-by: DDDDD12138 <43703884+DDDDD12138@users.noreply.github.com>

* chore: update

* chore: fix lint

* chore: foramt

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

* chore: foramt

* chore: update fn name

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

* chore: add cAF, rAF

* chore: update test

---------

Co-authored-by: DDDDD12138 <43703884+DDDDD12138@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-11-07 16:52:53 +08:00
一寸灰
5d1e59ed88 chore: Volta does not support SemVer (#22712)
chore: Volte does not support SemVer
2025-11-07 16:19:34 +08:00
Rainbow
2b381f8fae fix(components): [autocomplete] allow using Numpad Enter to select the option (#22721)
fix: allow using Numpad Enter to select the option
2025-11-07 16:04:02 +08:00
rzzf
ee8ece6383 fix(components): [textarea] add the missing name attribute (#22718) 2025-11-07 13:38:27 +08:00
rzzf
5868853923 fix(components): [select] unable to select options using NumpadEnter (#22715) 2025-11-07 10:16:31 +08:00
rzzf
5d462a9f20 chore: format code (#22713) 2025-11-07 09:59:41 +08:00
Kylin
d34f22c447 refactor(components): [menu] adjust the non-empty assertion (#22694)
* refactor(components): [menu] adjust the non-empty assertion

* refactor: cancel variable declaration
2025-11-06 12:26:39 +01:00
Noblet Ouways
34db6aedc3 fix(components): [select] allow delete non existant option (#22706) 2025-11-06 10:49:05 +08:00
Dun Lu
398863aaf4 fix(components): [watermark] use baselineOffset to get a complete canvas (#22670)
* fix(components): [watermark] use baselineOffset to get a complete canvas

* fix(components): [watermark] prevent unnecessary baselineOffset process
2025-11-06 10:24:56 +08:00
rzzf
29ccccf416 fix(components): [tree-v2] checkbox selection wrong with disabled nodes (#22627)
* fix(components): [tree-v2] checkbox selection wrong with disabled nodes

* fix: update

* test: add case

* chore: update

* chore: add comment

* chore: rename var

* Update packages/components/tree-v2/src/composables/useCheck.ts

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-11-05 13:49:32 +01:00
btea
84919cd203 build: copy LICENSE file to output (#22703)
* build: copy `LICENSE` file to output

* fix: format
2025-11-05 13:34:22 +01:00
rzzf
dcf9d42a7b chore(play): import the missing light theme variables (#22687) 2025-11-04 11:23:01 +01:00
Kylin
4a4708c4a1 refactor(components): [tree] change the for loop to the find method (#22678) 2025-11-04 11:25:48 +08:00
blackBear
400dcfa4cc fix(components): [table] ensure tooltip works correctly in tree table (#22674)
* fix(components): [table]ensure tooltip works correctly in tree table

* fix(components): [table]fix ts bug

* fix(components): [table]fix ts bug by from suggest

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

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

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

keep isolation

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

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-04 10:51:44 +08:00
Kylin
6c22020848 refactor(components): [tree] extract auxiliary function (#22677) 2025-11-04 10:25:25 +08:00
btea
72da881085 ci: revert test-coverage trigger (#22672) 2025-11-03 08:56:31 +01:00
Kylin
246f6bd1c9 refactor(components): [form] remove unnecessary non-empty assertions (#22660) 2025-11-03 15:44:35 +08:00
Kylin
8f062c2898 refactor(components): [menu] extract constants (#22661) 2025-11-02 19:46:09 +08:00
Noblet Ouways
d22289e96c fix(components): [date-picker] keyboard navigation on first of the month (#22668) 2025-11-02 19:36:18 +08:00
btea
54ed34f7fa ci: check-inactive action add exclude-issue-numbers param (#22667) 2025-11-01 16:36:54 +01:00
Element
102f47c039 chore: Update changelog 2.11.7 (#22666)
chore: update changelog 2.11.7
2025-11-01 14:57:22 +08:00
btea
a46c3758bf docs: update version badge (#22664) 2025-11-01 14:38:33 +08:00
btea
38a86acd60 test: fix date-picker test case (#22662) 2025-11-01 14:16:26 +08:00
sea
237a61d62a chore: cancel debugWarn env check (#22657)
* chore: test

* chore: test

* chore: update
2025-10-31 23:17:19 +08:00
btea
43b9a0d5b8 test: coverage config update (#22656)
* test: coverage config update

* test: update
2025-10-31 22:32:59 +08:00
Element
5b70e3cf6a chore: Update changelog 2.11.6 (#22655)
chore: update changelog 2.11.6
2025-10-31 12:37:37 +00:00
Noblet Ouways
7fbaa6561f revert: api extractor (#22622)
* chore: revert api extractor

* chore: remove typescript override

* chore: redo typescript override
2025-10-31 20:19:04 +08:00
btea
eed12b3b74 ci: lock-issues action add inactive labels (#22651) 2025-10-31 18:05:02 +08:00
zhongli-Leah
0a0903b605 docs(components): [popover] remove unnecessary class names (#22642)
docs(components):[popver] example delete class
2025-10-31 14:04:39 +08:00
btea
4c658f1a9b feat(components): [tabs] add tabindex prop (#22624) 2025-10-30 13:25:33 +01:00