Commit Graph

7002 Commits

Author SHA1 Message Date
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
Edge-Seven
af78e7026d docs(components): [collapse] fix typo (#22840)
Fix typos in some files

Co-authored-by: khanhkhanhlele <namkhanh20xx@gmail.com>
2025-11-18 06:25:10 +00:00
Noblet Ouways
a8a83be56a docs: fix typecheck (#22452)
* docs: fix typecheck

* chore: undo lock

* chore: set react stub in gitignore

* chore: try be kind on windows

* chore: try be kind on windows v2

* chore: try be kind on windows v3

don't ignore stub

* chore: use Vue 3.4.31

* fix: import jsx from vue

---------

Co-authored-by: dopamine <coderzyou@gmail.com>
2025-11-17 13:46:17 +01:00
余晖
f09335f01d docs(components): [anchor] use vp-raw to fix demo scroll (#22828) 2025-11-17 20:21:05 +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
Caleb
8e5f8b7a86 docs(components): [space] fix typo coresponds => corresponds (#22821)
docs: coresponds => corresponds
2025-11-17 10:07:30 +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
Element
38a7545c85 chore: Update changelog 2.11.8 (#22818)
chore: update changelog 2.11.8
2025-11-15 10:57:16 +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
btea
6654eb40a8 docs: [drawer] update event parameter (#22816) 2025-11-15 10:06:27 +08:00
rzzf
f7e6db47af ci: fix lint-commit-message not working for PR from fork (#22806)
* ci: fix lint-commit-message not working for PR from fork

* chore: upgrade

* ci: update
2025-11-15 10:02:59 +08:00
Caleb
3901ae43fe docs(components): [segmented] fix typo (#22811)
docs: varibles => variables
2025-11-14 18:08:47 +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
Nullaha
37600dadd3 docs(components): [tree] update select state when add or remove node (#14916)
docs(components): [tree] Update select state when add or remove node

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-11-13 19:25:22 +08: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
Putia3
210be41ff4 style: [select] remove unnecessary style (#22765)
style(style): [select]The situation does not exist
2025-11-12 21:06:32 +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
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