Commit Graph

6467 Commits

Author SHA1 Message Date
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
betavs
947a88d255 fix(components): [table] render tree node (#19247) 2025-06-20 20:36:56 +08:00
fratzinger
bc7773b673 feat(components): [input] native inputmode prop for el-input & el-input-number (#14997)
* feat(components): add native inputmode for el-input

* feat(components): add native inputmode for el-input-number
 Please enter the commit message for your changes. Lines starting

* chore: rm "props" in template
2025-06-20 20:24:26 +08:00
Ravoan
4dbb805181 fix(locale): improve Khmer (km) locale translations (#21069)
* fix(locale): update Khmer (km) locale translations

* fix(locale): improve formatting of Khmer locale strings

* fix(locale): refine Khmer locale pagination and dialog strings

---------

Co-authored-by: Chappie <chappie@mayam32.com>
2025-06-20 11:09:32 +08:00
xiaohe0601
5cee7a1464 fix(components): [table] fix children can't be unchecked (#20995)
* fix(components): [table] fix children can't be unchecked

* test(components): [table] reserve selection
2025-06-20 10:01:20 +08:00
WANGXIAOYU1995
4f56d01f04 feat(components): [cascader] add tag slot (#20994)
* feat(components): [cascader] add showFirstOnly to show top-level label

* feat(components): [cascader] add unit test cases

* Revert "feat(components): [cascader] add unit test cases"

This reverts commit 8cbb9d44ee.

* Revert "feat(components): [cascader] add showFirstOnly to show top-level label"

This reverts commit 5ca520dff8.

* feat(components): [cascader]  Added a new slot `tag`

* Revert "feat(components): [cascader]  Added a new slot `tag`"

This reverts commit 99062da169.

* feat(components): [cascader]  Added a new slot `tag`

* feat(components): [cascader] Optimize slot and update doc

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

Good catch, committed.

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

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

Sure, I’ve committed the suggestion. Thanks again!

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

* feat(components): [cascader] Add test case

* feat(components): [cascader] update to expose tree node info

* feat(components): [cascader] update 'presentTags' and docs

* feat(components): [cascader] optimize code

* feat(components): [cascader] update doc

* feat(components): [cascader] update function name

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

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

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

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

* chore: minor tweaks

* feat(components): [cascader] Update test case

* docs: update Cascader Slots

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-18 15:51:59 +00:00
fratzinger
667726b128 fix(components): [date-picker] pass showWeekNumber to panel (#21049)
* fix(components): prop show-week-number

* docs: [date-time-picker] add attribute showWeekNumber

* fix(components): [date-picker] range showWeekNumber

* refactor(components): date-table use ns class for week number header

* refactor: BooleanConstructor casts to false by default

* test(components): [date-picker] add showWeekNumber

* test(components): [date-picker] datetime showsWeekNumber
2025-06-18 22:59:01 +08:00