Commit Graph

6823 Commits

Author SHA1 Message Date
Zhong
8d81ed0908 fix(components): [tabs] correct height calculation in vertical layout (#21263) 2025-07-10 22:24:21 +08:00
dengguangmiaoyyds
5cba237704 style(components): [checkbox] modify the icon position when selected (#20087)
* style(components): [checkbox]Modify the icon position when selected

* style(components): [checkbox]Modify icon horizontal and vertical offset
2025-07-10 22:23:06 +08:00
Spaceman
94a5d9bb1c fix(components): [select-v2] scrollbar resets to top after select item (#21257)
* fix(components): [select-v2] scrollbar resets to top after select item

issue #21225

* fix(components): [select-v2] scrollbar resets to top after select item

使用函数包裹能解决isFunction(props.remoteMethod)触发watchEffect的问题

* fix(components): [select-v2] scrollbar resets to top after select item
2025-07-10 17:05:06 +08:00
56jun
e4d3ce2970 feat(components): [mention] add whole-remove event (#21050)
* feat(components): [mention] 添加mention-remove事件,当props.whole为真且移除提及项时触发

* feat(components): [mention] 添加whole-remove事件,当props.whole为真且移除提及项时触发

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-07-10 16:40:18 +08:00
btea
173c1cbfd7 fix(components): [select] custom warnHeandler cause memory leak (#21284) 2025-07-09 10:50:28 +02:00
betavs
fee45e1b31 fix(components): [tab-pane] safely access value before schedule render (#21275) 2025-07-08 12:30:02 +02:00
Noblet Ouways
8a243036fe fix(components): [input-tag] paste multiple delimiters (#21256)
* fix(components): [input-tag] paste multiple delimiters

* chore: refact

* refactor: easier to read & import types

* chore: remove useless convert regex

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

* chore: fix

* chore: fix

* chore: same logic on paste & better tests

* chore: fix edge case

* chore: fix

* chore: add

---------

Co-authored-by: btea <2356281422@qq.com>
2025-07-08 09:02:13 +00:00
Tenado
6c8e4f4feb fix(components): [tooltip] fix the issue where content is hidden (#21223) 2025-07-08 16:30:22 +08:00
jiaxiang
dad04531e9 style(docs): add transition in details (#21272) 2025-07-08 07:48:00 +08:00
sea
29c9d885fc docs: update type & dev includes normalize.css (#21271) 2025-07-07 17:13:22 +02:00
Noblet Ouways
7ccf1e4c53 refactor(docs): partially remove typecript errors (#21099)
* refactor(docs): partially remove typecript errors

* chore: cleanup

* chore: refact

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

* docs: typo fix type error

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: Wanghua3819 <2586244885@qq.com>
2025-07-07 22:30:02 +08:00
An Hao
797044368e fix(components): [affix] correctly updateRoot when fixed (#21094)
Co-authored-by: anhao <wzanh@sinopec.com>
2025-07-07 21:18:47 +08:00
yuhengshen
cfc661c626 feat(types): [components] add public prop types (#21222)
* feat(types): [utils] add ExtractPublicPropTypes type

* feat(types): [components] add props public type

* chore(types): use type-only import for Prop from 'vue'

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

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-07 00:51:32 +08:00
Zhong
58a5852d2d refactor(components): improve component boolean type (#21260) 2025-07-06 14:56:17 +02:00
sea
f3893835ae docs: select use minimum base examples & delete input tip (#21235)
docs: select use minimum base examples
2025-07-04 18:10:22 +02:00
Element
4cc88d5394 chore: Update changelog 2.10.3 (#21251)
chore: update changelog 2.10.3
2025-07-04 11:54:39 +00:00
dopamine
21a29c7b1c fix(components): [tabs] ensure label slot updates (#21231)
* fix(components): [tabs] ensure label slot updates

* fix: compatible with Vue 3.4+

* chore: comments
2025-07-04 19:30:02 +08:00
w2xi
a37b793fae fix(components): [tabs] update tabs order correctly when reordering (#21064)
* fix(components): [tabs] update tabs order correctly when reordering

* fix

* perf: reorder only if child components have been moved

* chore: tweak the test

---------

Co-authored-by: dopamine <coderzyou@gmail.com>
2025-07-04 19:00:39 +08:00
Noblet Ouways
419b3e02f4 refactor(components): [scrollbar] remove ts-nocheck (#21233) 2025-07-04 09:17:01 +08:00
betavs
cfe8e4e982 docs(components): [input] supplemental component events (#21229) 2025-07-03 21:56:07 +08:00
张海峰
4d27fdc4aa test: fix ssr path error (#21214)
* fix: [color-picker] Fix invalid color code clearing

Enable clearing of invalid input when incorrect code is entered

* fix: fix customInput should be currentColor

* fix(ssr): fix test:ssr errors on Windows

---------

Co-authored-by: zhanghaifeng <751434992@qq.com>
2025-07-03 09:34:52 +08:00
yuhengshen
a579224896 fix(components): [autocomplete] add placeholder prop type definition (#21206)
* fix(components): [autocomplete] add placeholder prop type definition

* feat(components): [autocomplete] add inputProps and merge properties

* docs: [input] description typo

* feat: explicitly using the `model` & `disabled`

* fix(components): [time-picker] single input name type

* docs: add input attrs link

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-07-03 00:15:53 +02:00
btea
1e28b08bcb fix(components): [select/select-v2] apply popper-class to tag tooltip (#21212) 2025-07-02 17:15:42 +08:00
Noblet Ouways
164a8a5ee5 refactor(components): [table] remove @ts-nocheck (#21200)
* refactor(components): [table] remove `@ts-nocheck`

* chore: remove any wip

* chore: better types
2025-07-02 11:28:11 +08:00
dopamine
6c3967c546 fix(components): [loading] element-loading-* attributes support reactivity (#15111) 2025-07-01 12:00:34 +02:00
qiang
6eab313cf9 fix(components): [tabs] focus may still remain in pane when tabs changed (#19433)
* fix(components): [tabs] focus may still remain in pane when tabs changed

closed #19364

* fix: type

* chore: style

* fix: test
2025-07-01 11:45:06 +02:00
qiang
b881ef25cb refactor(hooks): [useFocusController] add disabled attribute (#21032)
refactor(hooks): [useFocusController] add disabled prop

Co-authored-by: warmthsea <2586244885@qq.com>
2025-07-01 08:41:35 +00:00
Noblet Ouways
c5d37fbb0a refactor(components): [table] remove @ts-nocheck (#21197)
refactor(components): [table] remove `@ts-nocheck` 2/3
2025-07-01 15:49:54 +08:00
Noblet Ouways
e3373b36e8 refactor(components): [table] remove @ts-nocheck (#21139)
* refactor(components): [table] remove `@ts-nocheck`

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

* fixup! refactor(components): [table] remove `@ts-nocheck`

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

* fixup! refactor(components): [table] remove `@ts-nocheck`

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

* chore: revert type

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

* Update packages/components/table/src/store/index.ts

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-06-30 23:41:36 +08:00
Noblet Ouways
09e1c60fba fix(components): [anchor] recalculate marker style on slot update (#21180)
* fix(components): [anchor] recalculate marker style on slot update

* fix: review
2025-06-30 23:02:24 +08:00
Noblet Ouways
4f8cca0f6c feat(components): [select/select-v2/cascader] expose more tag options (#21157)
* feat(components): [select/select-v2] bind `data` for tag slot

* chore: remove console.log

* feat: expose `deleteTag` aswell

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-29 13:17:20 +00:00
baozj
524f901045 feat(components): [select] expose selectDisabled prop to #tag slot (#21093)
* feat(components): [select] expose selectDisabled prop to #tag slot

* feat(components): [select] expose selectDisabled and update docs

* feat(components): [select-v2] expose selectDisabled to #tag slot

Add example demonstrating how to use selectDisabled in custom tag rendering.

* docs(components): [select, select-v2] add selectDisabled to #tag slot

* docs(components): [select, select-v2] remove tag-disabled.vue examples

---------

Co-authored-by: baozhangjie <jay.bao@photonpay.com>
2025-06-29 20:59:04 +08:00
qiang
a174c6e0c3 docs: unregister PWA (#8979)
* docs: unregister PWA

* chore: remove images
2025-06-29 15:10:56 +08:00
btea
7448d6d1ff fix(components): [form] increase error style priority (#21177) 2025-06-27 23:34:08 +02:00
scvzerng
f9fa5d3329 fix(components): [tree-v2] props defaultExpandedKeys not reactive (#21173) 2025-06-27 22:51:04 +08:00
dopamine
d05f87b6fd refactor(hooks): [useOrderedChildren] sort child components on patch (#21124) 2025-06-26 17:17:02 +08:00
btea
7a499bf40f refactor(components): [table] compatible with rowKey non-existence (#21134)
* refactor(components): [table] compatible with rowKey non-existence

* chore: update

* fix: update
2025-06-25 16:39:32 +02:00
狂人的芝士
82fa008537 docs(components): [affix] fix el-affix inside overflow:auto (#21127) 2025-06-25 22:03:29 +08:00
Spaceman
b3219f6446 fix(components): [table] fix the issue where the expand-row-keys property does not support the number type (#20210)
* fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix the bug of the expand-row-keys property

Fix the issue where the expand-row-keys property does not support the number type

* fix(components): [table] fix the bug of the expand-row-keys property

Fix the issue where the expand-row-keys property does not support the number type

* fix(components): [table] Use Map instead of Object to handle number keys

 Use Map instead of Object to solve the problem of number keys

* fix(components): [table] fix the bug of the expand-row-keys property

1.expandRowKeys should be of type Array<string | number> ✔
2.It would be better to add types to new Map() ✔
3.It would be better to add relevant test cases ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1. expandRowKeys should be of type Array<string | number> ✔
2. It would be better to add types to new Map() ✔
3. It would be better to add relevant test cases ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1. expandRowKeys should be of type Array<string | number> ✔
2. It would be better to add types to new Map() ✔
3. It would be better to add relevant test cases ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1.table.md ✔
2.add a test for mixed strings and numbers ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1.table.md ✔
2.add a test for mixed strings and numbers ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1. table-test-common.ts ✔
2. table.md ✔
3. tree.ts -- changed to: new Map<string | number, object>() ✔

* fix(components): [table] fix the bug of the expand-row-keys property

fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix the bug of the expand-row-keys property

fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix the bug of the expand-row-keys property

fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix packages/components/table/src/store/tree.ts

fix(components): [table] fix packages/components/table/src/store/tree.ts

* chore: update test cases

* chore: update version

* fix(components): [table] fix the bug of the expand-row-keys property

Fix the issue where the expand-row-keys property does not support the number type

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-25 22:02:43 +08:00
Zhong
514cf66fce fix(components): [menu] expose updateActiveIndex type (#21129)
feat(components): [Menu] expose updateActiveIndex type
2025-06-25 09:11:53 +02:00
sea
49e1d594fa docs(components): [date-picker] improve event type (#21125)
* docs(components): [date-picker] improve event type

* docs: update
2025-06-24 14:00:13 +00:00
Noblet Ouways
47ea8e855e fix(components): [cascader-panel] avoid multiple init invokes (#20892)
chore: improve
2025-06-24 14:43:58 +02:00
dhj-l
eb80cacb0d docs(components): [table] update filter-change event description (#21123)
docs(docs): fix filter-change event description in table
2025-06-24 17:18:39 +08:00
Noblet Ouways
ffe42ae401 feat(components): [color-picker] add empty values attributes (#20962)
* feat(components): [color-picker] add empty values attributes

* chore: better

* test: add test case

* docs: update version

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-24 16:58:38 +08:00
JCL206312
1fd8c4b3b2 fix(components): [color-picker] Improve modelValue prop type (#20880)
* fix(components): [color-picker] Improve modelValue prop type

* Revert "fix(components): [color-picker] Improve modelValue prop type"

This reverts commit 450fdfa1da.

* fix(components): [color-picker] Improve modelValue prop type

* Update packages/components/color-picker/src/color-picker.ts

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

* fix: typecheck

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-06-24 16:35:57 +08:00
Noblet Ouways
c57b0cab42 refactor(components): [tree] remove ts-nocheck (#21097)
* chore: wip

* chore: wip

* chore: wip

* chore: wip

* chore: fix

* chore: fix

* chore: cleanup

* chore: fix

* fix: review

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-06-24 15:01:53 +08:00
知晓同丶
327922d4b2 fix(components): [tree-v2] treeNode add expanded and responds to UI (#21066)
* fix(components): [tree-v2] treeNode add `expanded` and responds to UI

closed #21023

* fix(components): [tree-v2] treeNode add `expanded` and responds to UI

closed #21023

* docs: add custom node icon demo
2025-06-23 14:31:47 +02:00
jiaxiang
29f5783d81 refactor(components): [cascader-panel] remove @ts-nocheck and optimize code (#20014)
* refactor(components): [CascaderPanel] remove tsnocheck and optimize code

* chore: chore

* revert: revert

* chore: add menu type

* chore: remove tsnocheck

* revert: revert

* revert: revert

* refactor: use setup syntax

* fix: type

* chore: add line

* chore: chore

* chore: add update:modelValue Events

* chore: format

* chore: revert

* chore: chore

* fix: error

* chore: remove any and code loss

* fix: code loss

* fix: code loss

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-23 17:09:40 +08:00
知晓同丶
51c426aa9f fix(components): [space] prevent extra spacers after empty templates (#21105)
* fix(components): [space] prevent extra spacers after empty templates

closed #21101

* revert: no need to keep comment nodes
2025-06-23 16:33:38 +08:00
Ethan Yin
23c680f810 perf(components): [table] remove redundant updateSelectionByRowKey (#21092)
* perf(components): [table] remove redundant `updateSelectionByRowKey`

* revert(components): [table] revert `assertRowKey`
2025-06-23 01:00:08 +02:00