7372 Commits

Author SHA1 Message Date
Zachary Bear
0cb3a2768c feat(components): [color-picker-panel] add hue-slider-class and hue-slider-style props (#23499)
* fix(style): [color-picker-panel] removed unnecessary background

* feat(components): [color-picker-panel] added props for hue-slider

- Added prop `hue-slider-class` to  define
custom class names for hue-slider
- Added prop `hue-slider-style` to define hue-slider's style

* test(components): [color-picker-panel] tests for new props

testing `hueSliderStyle` and `hueSliderClass`

* perf(types): [color-picker-panel] updated ColorPickerPanelProps

* perf(docs): [color-picker-panel] add descriptions about new props

* Revert "fix(style): [color-picker-panel] removed unnecessary background"

This reverts commit 5e34317c30.

* feat(types): [color-picker-panel] new props

Added `hueSliderClass` and `hueSliderStyle` to
deprecated colorPickerPanelProps.

* fix(components): [color-picker-panel] correct document nits

* test(components): optimized test case

* chore: remove conflict pending state & fix grammar

* chore: bump version

* docs(components): [color-picker-panel] modified version tag

* perf(components): [color-picker-panel] updated types

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
2026-03-12 21:26:11 +08:00
Mrbigshot
dfe0f58351 fix(components): [tree-v2] update expanded state when defaultExpandedKeys change (#23557)
* fix(components): [tree-v2] sync expanded state with defaultExpandedKeys

- guard setExpandedKeys against stale keys
- remove isExpanded, use node.expanded in template
- move defaultExpandedKeys apply logic to data watch
- remove redundant comments in tests

fix #23546

Made-with: Cursor

* fix: update

* fix: move the position of the watch

* fix: revert

---------

Co-authored-by: cye2 <cye2@leqee.com>
Co-authored-by: keeplearning66 <1256734885@qq.com>
2026-03-12 21:24:24 +08:00
rzzf
341a08c353 fix(components): [table] expanded rows cannot be updated using array methods (#23761)
* fix(components): [table] expanded rows cannot be updated using array methods

* test: add case

* test: apply coderabbit suggest
2026-03-12 09:03:27 +08:00
rzzf
b128fbc79e improvement(components): [tabs] navigation wheel scrolling experience (#23775)
* improvement(components): [tabs] navigation wheel scrolling experience

* fix: update
2026-03-11 17:17:12 +08:00
0song
370153a242 chore: update doc (#23777) 2026-03-11 05:22:29 +00:00
知晓同丶
3387031d21 feat(components): [input] add password-icon slot (#23772)
* feat(components): [input] add `password-icon` slot

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

* docs: simply example

* docs: improve example

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-03-11 04:12:13 +00:00
rzzf
1a484aac7b fix(components): [tab] incorrect boundary detection when container size is a float number (#23774)
fix(components): [tab] incorrect boundary detection when container size is a decimal
2026-03-11 10:50:40 +08:00
rzzf
d5c8de0b5f fix(components): [mention] remove the whole input containing a split (#23753) 2026-03-11 10:30:30 +08:00
btea
05ba3fbc99 chore: update changelog (#23769) 2026-03-10 16:13:04 +08:00
renovate[bot]
8124f16159 chore(deps): update dawidd6/action-download-artifact action to v16 (#23749)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-10 15:27:11 +08:00
rzzf
5cf8a6e4b3 ci: fix guideline and COC URLs broken (#23763) 2026-03-10 15:08:53 +08:00
snowbitx
0b9556240b fix(components): [tooltip] sync visible after disabled toggle (#23738) 2026-03-09 14:36:25 +01:00
Zachary Bear
8de357ca9a docs(components): [tooltip] optimized basic example (#23756)
* perf(docs): [tooltip] optimized basic example

The `left-*` and `right-*` example are showing single line content,
so user wouldn't see what's the difference between them.

Now I changed them to multiline content.

* style(docs): [tooltip] improve documentation for clarity and consistency

* docs(components): [tooltip] fixed typos

* docs(components): [tooltip] removed leftover prop

* Update docs/examples/tooltip/basic.vue

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-03-09 08:25:40 +00:00
btea
ce8fb70127 chore: @ctrl/tinycolor use catalog protocol (#23754) 2026-03-09 14:43:08 +08:00
renovate[bot]
8c29f50657 chore(deps): update dependency @ctrl/tinycolor to v4 (#23751)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 13:40:06 +08:00
知晓同丶
ef4832863e feat(components): [slider] allow step to be set to "mark" (#23685)
* feat(components): [slider] add prop `restrictToMarks`

* rerun test

* fix: fix issues

* fix: fix issues

* fix: fix issues

* refactor: replace `restrictToMarks` with step 'mark'

* fix: types issue

* fix: fix issue

* refactor: optimize code & add range test

* Update slider.md for version 2.13.4

* refactor: simpify code & add warn

* chore: enhance step prop description

* fix: fix docs & add warn

* refactor: optimize markList computation and validation logic

* chore: sync description

* chore: bump `2.13.6`

---------

Co-authored-by: zhixiaotong <947803089@qq.com>
Co-authored-by: rzzf <cszhjh@gmail.com>
2026-03-09 10:49:59 +08:00
Yan
a45ecbab72 style(components): [tag] fix icon in slot causing text wrap (#23725)
* Remove display flex from icon class in tag.scss

```css
.el-tag .el-icon {
    display: flex;
}
```
el-icon已经有了`display: inline-flex`,此处设置`display: flex;`会导致el-icon变成一个块,最终导致图标和文字换行。el-tag带图标的使用场景通常是图标和文字同一行。因此删掉`display: flex;`。

* fix: update icon style

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-03-08 12:38:28 +01:00
keeplearning66
48276fd604 docs: add label for hiding source code (#23747) 2026-03-08 18:24:40 +08:00
vsqaq
6128e09e21 docs(components): [dropdown] example style adjustments (#23746)
* docs(components): [dropdown] example style adjustments

* docs(components): [dropdown] example style adjustments
2026-03-08 13:55:14 +08:00
Element
637874b8c2 chore: Update changelog 2.13.5 (#23745)
chore: update changelog 2.13.5
2026-03-07 23:09:11 +08:00
rzzf
fe437c84ca chore: fix locale/lang/*.ts dts default export (#23741) 2026-03-07 12:13:12 +01:00
btea
39076202ec chore: fix build (#23737)
* chore: fix build

* chore: update
2026-03-07 10:49:54 +01:00
Element
ad99f7300a chore: Update changelog 2.13.4 (#23733)
chore: update changelog 2.13.4
2026-03-06 11:28:51 +00:00
Zachary Bear
ada3b2a206 feat(components): [popover] expose hide() through slot (#23694)
* feat(components): [popover] expose hide() through slot

* docs(components): [popover] update slots section

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

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

* style(docs): [popover] formatted descriptions

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

Co-authored-by: keeplearning66 <1256734885@qq.com>

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: keeplearning66 <1256734885@qq.com>
2026-03-06 12:29:08 +08:00
rzzf
2e05c91335 docs: add component changelog drawer and open issues button (#23724)
* docs: add component changelog drawer and open issues button

* docs: update comp name

* docs: optimize code

* docs: apply cb review

* Apply suggestions from code review

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* docs: apply cb review

* docs: apply cb review

* docs: add in-memory cache for issue count requests

Cache GitHub API responses for 5 minutes to avoid redundant
requests when navigating between component pages.

Co-authored-by: GitHub Copilot <noreply@github.com>

* Update docs/.vitepress/vitepress/components/globals/vp-component-meta.vue

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

* docs: optimaze code

* docs: fix i18n

* style: update version color

* docs: fix ts error

* docs: improve style and display condition

* fix: alias comp parser

* docs: show the last 20 versions

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: GitHub Copilot <noreply@github.com>
Co-authored-by: btea <2356281422@qq.com>
2026-03-06 08:16:47 +08:00
snowbitx
f695f8f05e feat(components): [time-picker] add save-on-blur prop (#23531)
* feat(components): [time-picker] prevent auto-fill on focus when empty

* docs: add doc

* docs: update doc

* 更新 time-picker.md

* fix: propagate the effect until confirm

* Update time-picker.md

* fix: clear bug

* fix: clear bug

* fix: clear bug

* fix: time-range clear bug

* fix: test error

* test: add test case

* docs: update doc

* fix: clear bug refactor

* Update packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue

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

* refactor: use rAF

* refactor: optimize useOldValue options

* chore: use unknown

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-03-05 14:08:35 +00:00
btea
ea926472df feat(components): [input] textarea supports clearing effects (#23723)
* feat(components): [input] textarea supports clearing effects

* Update packages/components/input/__tests__/input.test.tsx

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

* feat: update

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* style: update

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

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

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2026-03-05 12:08:29 +01:00
rzzf
25a3595ede docs(components): [watermark] improve text color readability in dark (#23721) 2026-03-04 10:51:28 +08:00
snowbitx
17627647e3 fix(components): [color-picker-panel] set showAlpha default to false (#23709)
fix(components): [color-picker-panel] fix typecheck error
2026-03-03 21:30:06 +00:00
Noblet Ouways
d1a60f599d fix(components): [tree] reconcile parent states in setCheckedKeys (#23697)
closed #22032
2026-03-03 16:49:47 +08:00
rzzf
fea1ae7a86 test(components): [carousel] use fake timers instead of real timers (#23712)
test(components): [carousel] use mock timers instead of real timers
2026-03-03 11:48:20 +08:00
btea
4e44f16bac chore: css build compatibility is consistent with the docs (#23711) 2026-03-03 10:32:11 +08:00
btea
484f2cb298 feat(components): [input] emit clear event pass event parameter (#23696)
* fix(components): [input] click clear icon should trigger the event

* fix: update

* fix: update

* test: update

* docs: update
2026-03-03 10:15:23 +08:00
Noblet Ouways
76787fdedf chore: refresh build toolchain (#23365)
* chore: refresh js build

* chore: remove fs-extra

* chore: try lightningcss

* chore: correct build

* chore: rolldown minimal

* chore: WIP

* chore: WIP

* fix: WIP

* chore: cleanup

* chore: remove unused

* fix: windows path

* chore: update

* fix: exports missing in nested barrel files

* chore: self review

* chore: apply cb review

* chore: no any

* chore: apply review

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

* chore: set import

* chore: apply review

* chore: upgrade rolldown & plugin dts

* chore: apply review

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

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: rzzf <cszhjh@gmail.com>
2026-03-02 21:21:24 +01:00
Bryan Qiu
074e9c022b docs(components): [autocomplete] fix invalid placement enum value (#23708) 2026-03-02 23:36:13 +08:00
0song
125e05d617 chore: update doc (#23707) 2026-03-02 06:53:03 +00:00
btea
245722bd8e chore: upgrade @ctrl/tinycolor (#23704) 2026-03-01 20:54:59 +08:00
Element
6a826e56e7 chore: Update changelog 2.13.3 (#23703)
chore: update changelog 2.13.3
2026-02-28 20:55:31 +08:00
leihaohao
91b46a7594 fix(components): [form/form-item] initial value and reset func (#23597)
* fix(components): [form][form-item] initial value and reset func

* fix: resetFields

* fix: coderabbitai

* fix: resetFields

* fix: coderabbitai

* fix: resetFields

* fix: setInitialValues

* chore: simplify

* docs: better doc

* chore: sync doc

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

* docs: update

* docs: update

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2026-02-27 11:22:32 +08:00
btea
6ac113696e fix(components): [affix] update logic caused infinite loop (#23599)
* fix(components): [affix] update logic caused infinite loop

* fix: update

* fix: update
2026-02-27 10:54:42 +08:00
Jeff
cf6426336f style(theme-chalk): [message] resolve incorrect position during transition in Firefox (#23686)
* style(theme-chalk): [message] refacter center style

* style(theme-chalk): [message] refactor center style

* recover style

* fix compatible
2026-02-27 09:49:53 +08:00
Noblet Ouways
1dc034570d fix(components): [select/v2] stop change event bubbling (#23669)
fix(components): [select] stop change event bubbling
2026-02-27 08:03:59 +08:00
知晓同丶
69db3d92b8 style(components): [tabs] add disabled style for prev and next buttons (#23688)
* style(components): [tabs] add disabled style

* style: avoid override cursor in left/right
2026-02-26 15:36:16 +08:00
@长久同学
7475ac8eeb fix(components): [select] Slot default invoked outside of the render (#23232)
* fix(components): [select] Slot default invoked outside of the render

* test: fix expect error

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-02-26 15:26:39 +08:00
rzzf
de70ad1ac9 fix(components): [input-tag] delimiter does not support pasted line breaks (#23674)
* fix(components): [input-tag] delimiter prop does not support \n

* test: format

* fix: update

* fix: unexpected additions and pasting over input
2026-02-26 10:18:00 +08:00
Noblet Ouways
aef049776f fix(components): [form] support nested FormRules (#23668) 2026-02-26 10:12:26 +08:00
Noblet Ouways
ed94e7b61e fix(components): [upload] append all values in formdata (#23664)
* fix(components): [upload] append all values in formdata

* chore: apply cb review

* fix(components): [upload] support both array and tuple in formdata

* chore: more guards

* chore: improve type

* Update packages/components/upload/src/ajax.ts

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

* fix: import

* chore: address cb review

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-02-25 11:36:38 +08:00
Noblet Ouways
bd450fb409 style(theme-chalk): [checkbox-button] add disabled+checked visual distinction (#23665) 2026-02-25 11:29:44 +08:00
Noblet Ouways
e35eb5ad3f fix(components): [tree] focus error after switching tree (#23659)
* fix(components): [tree] focus error after switching tree

* test: set test case

* fix: test case
2026-02-25 10:07:39 +08:00
Noblet Ouways
94866508b5 fix(components): [select/v2] always clear input after create option (#23662)
* fix(components): [select/v2] always clear input after create option

* test: set tests case
2026-02-24 23:14:00 +08:00