Commit Graph

4136 Commits

Author SHA1 Message Date
Noblet Ouways
1c8c5b52a3 refactor(components): [cascader-panel] unify click node (#21796)
* refactor(components): [cascader-panel] unify click node

* chore: remove useless props
2025-08-18 10:57:33 +02:00
Noblet Ouways
c83b99d2f2 feat(components): unify clear btn display on focus (#21732)
* feat(components): unify clear btn display on focus

* test: add tests

* chore: apply review
2025-08-18 10:54:32 +02:00
Noblet Ouways
574ad88659 fix(components): [segmented] wrap options item slot to any (#21794)
* fix(components): [segmented] wrap options item slot to any

closed #21791

* chore: add comment
2025-08-18 07:24:09 +08:00
Rainbow
a335eab6f6 style(components): [message-box] keep centered when modal is false (#21780)
* style(components): [overlay] keep centered when modal is false

* style: update

* style(components): [message-box] keep centered when modal is false
2025-08-17 14:59:26 +08:00
Zhong
ca976e3620 feat(components): [drawer] add resizable prop (#21608)
* feat(components): [drawer] add `resizable` prop

* style(theme-chalk): [drawer] update based on review feeddback

* chore: adjust style & example

* docs: update example

* docs: remove default direction

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-17 14:46:27 +08:00
Rainbow
348a855890 style(components): [collapse] adapt height when customizing title (#21779) 2025-08-16 23:48:27 +08:00
Zhong
67ce064086 feat(components): [splitter] add lazy prop (#21730)
* feat(components): [splitter] add lazy prop

* chore: cleanup

* fix: lazy change should end dragging
2025-08-16 11:22:54 +02:00
知晓同丶
9ac2da6c07 feat(components): add isDragging to useDraggable for dialog/message-box (#21703)
* feat(components): add isDragging to useDraggable for dialog/message-box

* refactor: perf code
2025-08-16 11:09:07 +02:00
Zhong
a2884da5f8 fix(components): [splitter] collapse works with two-way size and min & max (#21738)
* fix(components): [splitter] collapse works with two-way size and min

* test: fix case

* chore: rerun ci
2025-08-15 19:18:31 +02:00
Rainbow
cf28d96966 fix(components): [cascader] issue when lazy loading returns leaf nodes (#21414)
* fix(components): [cascader] issue when lazy loading returns leaf nodes

* fix: update

* fix: update

* fix: add unit tests

* fix: do not automatically select leaf nodes

* test: update unit tests
2025-08-15 19:10:35 +02:00
Coder Goo
bf0568cacf feat(components): add custom clear icon (#21699)
* feat(components): add custom clear icon function

added `clear-icon` property to Cascader, Input, and InputTag components to customize the clear icon.

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

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

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

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

* feat(components): add custom clear icon use case

* docs(components): reduce cascader clear-icon use case options

* Update packages/components/input-tag/src/input-tag.vue

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

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

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-15 18:47:30 +02:00
Zhong
557d4a18d7 fix(components): [menu] skip comment nodes in ellipsis (#21751)
* fix(components): [menu] skip empty nodes in ellipsis

* fix: resolve #19161

* chore: trigger CI build

* fix: resolve #14657 & add test cases

* test: optimize case

* chore: revert CSS changes

* chore: add shapeFlag comments

* chore: format
2025-08-15 12:26:15 +02:00
Zhong
56b6cb0e9b feat(components): [select] add support for option groups in options (#21692)
* feat(components): [select] add support for option groups in `options`

* chore: format
2025-08-15 11:10:36 +02:00
thinkasany
ca8877fdc8 feat(components): [tour] support keyboard switching steps (#21766)
* feat(components): [tour] support keyboard switching steps

* Update packages/components/tour/src/step.vue

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-15 10:58:50 +02:00
知晓同丶
69d717028e test(components): [avatar, image] improve image load test stability (#21762)
* test(components): [avatar] improve fallback slot test stability

* test: improve image test
2025-08-15 14:26:30 +08:00
snowbitx
398b5971c3 fix(components): [cascader-panel] ensure set null after clear (#21652)
* fix: 21650

* Update index.vue

* Update index.vue

* add testcase

* Update cascader-panel.test.tsx

* fix: remove duplicate calls

* chore: add btea solution

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

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-08-13 22:05:25 +08:00
ylcjwq
38bc248a4c Revert "fix(components): [table] render default slot only when it returns valid vnodes (#21651)" (#21728)
* revert: revert fix table slot rendering (#21651)

* Revert "fix(components): [table] render default slot only when it returns valid vnodes (#21651)"

This reverts commit 6bf6313f35.

---------

Co-authored-by: dopamine <coderzyou@gmail.com>
2025-08-13 21:02:11 +08:00
thinkasany
2ceb415830 fix(components): [splitter] collapsible does not take effect dynamically (#21742)
* fix(components): [splitter] Toggle collapsible configuration

* ci: rerun

* Update docs/examples/splitter/collapsible.vue

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-08-13 18:11:25 +08:00
Jevin
66a0ca2758 fix(components): [carousel] special case activeIndex is inaccurate (#21736)
* fix: done

* chore: update

* chore: update

* chore: foramt

---------

Co-authored-by: chenwenjie <chenwenjie@zujibao.net>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-08-13 09:49:35 +00:00
知晓同丶
25c7ea2b3c refactor(components): export TreeV2Instance & optimize type usage (#21718)
* refactor(components): export `TreeV2Instance` & optimize type usage

* refactor: change type declaration entry file
2025-08-13 12:33:30 +08:00
snowbitx
ceabde2558 fix(components): [scrollbar] resize according to container size (#21694)
fix: 21693
2025-08-12 08:46:20 +08:00
catanswer
ee334a635c feat(components): [popconfirm] expose hide function and popperRef (#21681)
* feat(components): [popconfirm] expose hide function and popperRef

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

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

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

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

* chore: bump tweak

---------

Co-authored-by: yinshenghao <shenghao.yin@eslink.com>
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-08-12 00:12:49 +02:00
Noblet Ouways
24cbd4bdbb fix(components): [date-picker] ensure reset visibility on picker range (#21691)
closed #21689
2025-08-11 14:25:30 +02:00
qiang
826373a133 fix(components): [select] click outside should lose focus (#21702)
* fix(components): [select] click outside should lose focus

* chore: add test
2025-08-11 14:44:03 +08:00
知晓同丶
ff525392ac feat(components): [config-provider] support dialog config (#21684)
* feat(components): [config-provider] support `dialog` config

* chore: remove comment

* fix: `props` take precedence over `globalConfig`

* fix: dialog-content use globalConfig

* revert: undo globalConfig & bump

* docs: supplement  tag

---------

Co-authored-by: zhixiaotong <947803089@qq.com>
2025-08-10 14:26:21 +02:00
Jeremy
a9f7bcb54f feat(project): organize dependencies properly (#21683) 2025-08-09 09:33:16 +08:00
Zhong
f930e42967 fix(components): [input] correct textarea height in fullscreen (#21656) 2025-08-09 00:55:06 +02:00
Zhong
20e420e530 chore(components): [config-provider] improve jsdoc navigation links (#21685) 2025-08-09 06:41:24 +08:00
dopamine
6bf6313f35 fix(components): [table] render default slot only when it returns valid vnodes (#21651) 2025-08-06 14:39:10 +02:00
Zhong
2d089b19d1 fix(components): [watermark] resolve text clipping caused by textAlign (#21639)
* fix(components): [watermark] resolve text clipping caused by textAlign

* refactor(components): [watermark] update based on review feeddback

* fix: update
2025-08-06 17:55:33 +08:00
catanswer
7b25a87d6d feat(components): [autocomplete] add header and footer slot (#21594)
* feat(components): [autocomplete] add header and footer slot

* docs(components): add a bump version for new slots

* test(components): [autocomplete] add header/footer slots test case

* docs(components): [autocomplete] add header and footer slots example

---------

Co-authored-by: yinshenghao <shenghao.yin@eslink.com>
2025-08-05 22:34:39 +02:00
thinkasany
41e65b79bb refactor(components): [message-box] remove duplicates conditional (#21634)
refactor(components): [message-box] rm redundant conditional expression
2025-08-05 22:32:51 +02:00
Noblet Ouways
20652107fe fix(components): [date-picker] keep datetimerange close on value change (#21625)
* fix(components): [date-picker] keep datetimerange close on value change

* chore: review past solution

* test: add test case

* docs: update onChange event

* test: test
2025-08-05 16:28:26 +02:00
Zhong
6cf0a1d48f fix(components): [image] support lazy inside transformed containers (#21573)
* fix(components): [image] support lazy inside transformed containers

* fix: update
2025-08-05 14:33:14 +08:00
Zhong
136ec5c21b fix(components): [splitter] provide layout should be reactive (#21607)
* fix(components): [splitter] provide `layout` should be reactive

* refactor(components): [splitter] extract `layout` variable
2025-08-05 11:28:27 +08:00
btea
64e9316547 fix(components): [select-v2] stop the click event propagation of header/footer slot (#21617)
fix(components): [select-v2] stop the click event propagation of header/footer slot
2025-08-04 13:20:39 +02:00
thinkasany
a4babd542e refactor(components): [tour] improve TourContext type (#21605) 2025-08-04 17:47:48 +08:00
thinkasany
82fcbf0237 style(components): Replace inset to provide better compatibility (#21601)
* style(components): Replace inset to provide better compatibility

* ci: fix

* ci: fix
2025-08-04 12:34:08 +08:00
thinkasany
d2d44c7de3 refactor(components): [tour] improve code style (#21586)
* refactor(components): [tour] improve code style

* fix(components): fix
2025-08-03 22:41:48 +08:00
Noblet Ouways
bce22dd10d fix(components): allow null type on empty-values components (#21582)
* fix(components): allow null type on empty-values components

* refactor(hooks): [empty-values]: allow plain null for `value-on-clear`
2025-08-01 12:27:19 +02:00
thinkasany
8120ae8bae refactor(components): [message] use MessageType replace messageType (#21579)
* fix(components): [message] use MessageType replace messageType

* chore: add notes

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-08-01 09:25:59 +00:00
Noblet Ouways
24cfc3685d style(components): remove unused icon class & autocomplete tweaks (#21565)
* style(components): remove unused icon class & autocomplete tweaks

* fix: review

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-08-01 17:16:15 +08:00
Spaceman
630c18ff25 fix(components): [tree] up/down keys stop working after expanding nodes (#21526)
* fix(components): [tree] Up/Down keys stop working after expanding nodes

Fix issue #21514

* fix(components): [tree] Up/Down keys stop working after expanding nodes

* fix(components): [tree] Up/Down keys stop working after expanding nodes
2025-08-01 10:37:59 +08:00
Noblet Ouways
907b7b2766 feat(components): [cascader] add check-on-click-leaf attribute (#21508)
* feat(components): [cascader] add `check-on-click-leaf` attribute

* chore: chore
2025-08-01 10:31:17 +08:00
btea
19842d428d fix(components): [select] ResizeObserver loop completed with undelivered notifications (#21559) 2025-07-31 13:51:09 +02:00
Rainbow
b1cd22fb14 fix(components): [select-v2] avoid abnormal display of new options (#21538)
* fix(components): [select-v2] avoid abnormal display of new options

* fix: update

* fix: update

* fix: update

---------

Co-authored-by: Zhong <58726932+cszhjh@users.noreply.github.com>
2025-07-31 16:27:26 +08:00
btea
5e402ac252 fix(components): [input-number] dynamic precision render value (#21558)
* fix(components): [input-number] dynamic precision render value

* chore: test case
2025-07-31 15:44:12 +08:00
Noblet Ouways
822a5796b9 fix(components): [select-v2] set model-value default to undefined (#21540)
* fix(components): [select-v2] set `model-value` default to `undefined`

* test: test
2025-07-31 11:31:43 +08:00
Zhong
09df413426 refactor(components): [form] enhance scrollIntoViewOptions type (#21552) 2025-07-31 09:20:07 +08:00
Zhong
3182010562 feat(components): [dialog] add modal-penetrable prop (#21511)
* feat(components): [dialog] add `modal-penetrable` prop

* refactor(components): [dialog] optimize code

* test(components): [dialog] update test

* test(components): [test] update test
2025-07-30 16:51:18 +08:00