Commit Graph

6664 Commits

Author SHA1 Message Date
qiang
6847d4fbb0 chore(hooks): [useLocale] autocomplete locale field keys (#21876) 2025-08-24 00:03:46 +02:00
Zhong
3477df1b90 docs: add yarn and pnpm installation examples (#21875) 2025-08-23 18:26:46 +08:00
Element
0148f1c7b3 chore: Update changelog 2.11.1 (#21872)
chore: update changelog 2.11.1
2025-08-23 08:30:49 +08:00
Zhong
0cb71ebc48 fix(components): [color-picker] fix color-picker-panel style path (#21867) 2025-08-23 08:02:20 +08:00
Noblet Ouways
812f48af22 docs: increase layout z-index & reduce el component's z-index (#21870)
closed #20231
2025-08-23 07:41:58 +08:00
Noblet Ouways
6ad90520d6 docs: remove object from cascader modelValue (#21869)
closed #21868
2025-08-23 07:37:57 +08:00
micaiguai
cdb891bc69 fix(components): scrollbar fix thumb size calculation error (#21849)
* fix(components): scrollbar

Fix scrollbar thumb size calculation error

closed 20793

* test(components): scrollbar

Fix the calculation of the scrollbar thumb width.
2025-08-22 22:06:43 +08:00
Element
9181afa895 chore: Update changelog 2.11.0 (#21864)
chore: update changelog 2.11.0
2025-08-22 11:37:29 +00:00
Noblet Ouways
289b59e546 fix(components): [color-picker-panel] sync bg-color with date-picker-panel (#21859)
fix: sync bg-color with date-picker-panel
2025-08-22 19:15:23 +08:00
micaiguai
2ccb268e82 fix(components): [select & select-v2] avoid line break when input is empty (#21844)
* fix(components): select

Give some space to the input field

* fix(components): [select]

fix(components): [select] Add the judgement of filterable

* fix(components): [select-v2] Give some space to the input field

Give some space to the input field

* fix(components): [select-v2 & select & input] Create constants/form.ts

Create a form.ts file to store the MINIMUM_INPUT_WIDTH constant
2025-08-22 16:10:21 +08:00
Noblet Ouways
2144a78880 feat(components): [color-picker-panel] externalize color-picker core component (#21668)
* feat(components): [color-picker-panel] externalize color-picker

chore: save

chore: save

chore: save

test passing

chore: save

chore: save

chore: save

chore: save

chore: save

styles

chore: save

chore: save

chore: save

chore: save

chore: save

chore: cleanup

chore: save

chore: minor tweaks

* chore: better doc

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

* chore: address pr review

Co-authored-by: qiang <qw13131wang@gmail.com>

* chore: fix

* chore: remove extra ̀`.valuè`

* docs: delete useless class in the examples

* chore: apply review

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

* style: add content-box

* chore: use gap instead of margin

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* chore: use pure

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

* chore: remove extra style

* chore: apply koo review

Co-authored-by: kooriookami
<38392315+kooriookami@users.noreply.github.com>

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* chore: apply narrow screen style

Co-authored-by: 知晓同丶 <zhixiaotong.me@qq.com>

* docs: delete redundant types

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: 知晓同丶 <zhixiaotong.me@qq.com>
2025-08-22 14:13:59 +08:00
Noblet Ouways
2e19e59e67 fix(components): [date-picker] add missing data slot (#19839)
* feat: add missing date-picker data slot

* chore: fix review & forward old test case

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

* Update docs/en-US/component/date-picker.md

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

* chore: update

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-21 18:19:29 +02:00
八毛钱
5647b3e392 feat(components): [input-tag] add collapse-* prop (#21477)
* feat(components): Add input box label folding function

- Add collapseTags, collapseTagsTooltip, and maxCollapseTags attributes
- Implement the function of tag folding and mouse hovering to display complete content
- Update documentation and sample code

* feat(components): optimize the judgment before out of focus

-New beforeBlur method
-Add input tag list class name to improve the style and layout of tag list
-Add label text wrapping to optimize the display of long text

* feat(docs): 添加标签折叠功能

- 新增 collapse-tags 属性,用于在多选时将标签折叠为文本
- 新增 collapse-tags-tooltip 属性,用于在鼠标悬停时显示折叠标签的完整内容
- 新增 max-collapse-tags 属性,用于设置折叠标签的最大数量

* feat(components): optimize tag display logic

- Add showTagList and collapseTagList calculation properties to control the display of labels
- Modify the label removal logic, and now remove through the label value instead of the index
- Adjust the rendering method of labels to simplify the template structure
- Removed redundant tags text class styles, and directly displayed with tag values

* refactor(components): optimize tags

- Modify the logic of fallback label deletion, and use the index to directly remove the last label
- Reconstruct the tag rendering method and simplify the template structure
- Remove unused CSS classes

* refactor(components): optimize label rendering logic

- Replace the template tag in the template with the el tag component
- Simplify the rendering logic of labels and improve the readability and performance of components

* refactor(components): optimize key binding of tag list

- Change the key of the tag component from item to index

* docs(components): Modify the description of the collapse tags attribute

- Optimize the description of collapse tags attribute

* feat(components): add custom slots for labels

- Add a slot named "tag" in the el tag component

* test(components): add a test case for the collapseTags function

- Test the basic function of the collapseTags attribute
- est the hover effect of the collapseTagsTooltip attribute
- Test the restriction logic of the maxCollapseTags attribute

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

Co-authored-by: qiang <qw13131wang@gmail.com>

* docs(components): update documents

- New features introduced in version 2.11.0 have been added to the document

* test(components): remove comments from unit tests

- Removed unnecessary comments in test code

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-08-21 20:22:03 +08:00
Noblet Ouways
a985f511a0 chore: date-picker-panel tweaks (#21827)
* docs(components): [date-picker-panel] add missing props & make the doc clearer

* fix(components): [date-picker-panel] set default time-format & date-format

* refactor(components): [date-picker-panel] remove `format` property
2025-08-21 20:01:27 +08:00
Noblet Ouways
96c5d8ae8c fix(components): [cascader] treat tagTooltipRef as array (#21826)
* fix(components): [cascader] treat  ̀tagTooltipRef` as array

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

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

* chore: typecheck

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-21 10:50:36 +02:00
Noblet Ouways
7644c1fe4a feat(components): [cascader/select/date-picker] add popper-style (#21807)
* feat(components): add popper style

* test: enforce ci passing

* chore: handle select-v2 & apply review

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

* chore: bump for select component

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-21 10:46:06 +02:00
知晓同丶
3b8a590baf docs: improve examples layout for narrow screens (#21489)
* docs: improve examples layout for narrow screens

* docs: style related

* style: [statistic] use utilities

* style: [input] remove deep

* style: [transitions] change style

* refactor: [date-picker-panel] narrow refactor
2025-08-21 10:22:05 +02:00
Monday1997
9062df2f31 fix(build): path compatible with Windows platform (#21423)
* fix(build-utils): fn excludeFiles has bug if path with 'test' in win32

* fix: update

* chore: rename slash to normalizePath

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2025-08-21 11:39:32 +08:00
dhj-l
96e3278472 fix(components): [table] show-overflow-tooltip dynamic switch (#21811)
* fix(components): el-table-column: show-overflow-tooltip dynamic switch

* fix(components): el-table-column: show-overflow-tooltip dynamic switch

* test: add test case

* chore: remove previous tests

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-08-21 07:11:58 +08:00
Noblet Ouways
ada03b0798 fix(components): [table] make root show-overflow-tooltip dynamic (#21823) 2025-08-20 19:49:04 +08:00
LeiZhang
92dc3c2398 fix(components): [radio-group] prop-value cause ivalidate loop (#21814)
Co-authored-by: 路振凯 <l>
2025-08-20 17:35:01 +08:00
知晓同丶
98041055b0 feat(components): [message] add placement option & method (#21747)
* feat(components): [message] add `placement` option & method

* fix: resolve test hanging issue caused by reactive circular dependency

* test: add test

* feat: add placement `top-left/top-right/bottom-left/bottom-right`

* refactor: split large normalizeOptions function

* docs: adjust description text

* chore: remove unused height expose

* refactor: simpify code

* style: opt-in center style & simplified animations

* style: replace :not(.center) with :is(.left,.right) for more explicit

* feat: add `placement` to `config-provider`

* fix: fix test warning when placement is undefined

* refactor: remove useless style & simpify types

* fix: avoid circular dependency

* chore: types related

* Update docs/examples/config-provider/message.vue

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

* Update packages/components/config-provider/__tests__/config-provider.test.tsx

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

* chore: make typecheck happy & format

* style: add top/bottom transition

* chore: format

---------

Co-authored-by: zhixiaotong <947803089@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-08-19 15:16:49 +00:00
Noblet Ouways
bc71cba2d2 feat(components): [config-provider/button] add text prop (#21806) 2025-08-19 17:08:31 +02:00
Noblet Ouways
ea85a0d25e docs(components): add tree-select node-key information (#21810)
closed #20913
2025-08-19 17:07:53 +02:00
btea
1101998e1a ci: upgrade github-pages-deploy-action to 4.4.1 (#21821) 2025-08-19 13:26:12 +02:00
btea
4ea542e40f docs: [date-picker-panel] update show-week-number type (#21819) 2025-08-19 09:19:09 +00:00
Zhong
e3b5db5d2a fix(components): [slider] correctly reset sliderSize (#21812) 2025-08-19 16:35:34 +08:00
Noblet Ouways
a1b0e504a3 feat(components): [date-picker-panel] externalize date-picker core component (#21331)
* feat(components): [date-picker-panel] add `date-picker` core component

Revert "feat(components): [date-picker] flat picker PoC"

This reverts commit 9952c7fc0f9aedd72723d553878f4282f9448951.

chore: get visual panel

chore: wip

chore: wip

chore: wip

chore: wip

chore: handleChange portable

chore: prettier

Revert "chore: prettier"

This reverts commit 87f1585e27f39c580d5f1f3439670bca44cedb6b.

Revert "chore: handleChange portable"

This reverts commit 99c1c1fc2e541703481c3933d154ab80677181c1.

chore: revert & be good

chore: prettier & lint

chore: some cleanup

chore: refine a bit

chore: refine

chore: style tweaks for panel

chore: handle disabled

chore: fix test

test: add disabled

chore: update

chore: refine

chore: save

chore: temp undo diff docs

chore: rename bordered => border

test: add time pickers

Revert "chore: temp undo diff docs"

This reverts commit ddf11fae1ab26d63e85b0fd5ab6f7739e90bbfb7.

chore: save

* chore: set `show-footer` default to false

* chore: review & simplify

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

* chore: add overview icon

* fix: doc typo

* chore: doc tweaks

* chore: rebase tweaks

* chore: remove change event for panel

* fix: css import path

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

* chore: rebase & doc tweak

* chore: fix review

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

* fix: apply review

Co-authored-by: qiang <qw13131wang@gmail.com>

* chore: remove popper injection 1/2

* chore: remove popper injection 2/2

* chore: address same import

* docs: delete format example

* chore: remove useless passing prop

* chore: resolve conflict

* docs: update datetime props

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2025-08-19 10:08:07 +02:00
Noblet Ouways
2888dad3f2 fix(components): [input] add work-break to CONTEXT_STYLE (#21809)
closed #21808
2025-08-19 06:57:10 +08:00
Zhong
c33aeb4762 fix(components): [cascader] correctly handle focus and blur events (#21510)
* fix(components): [cascader] correctly handle focus and blur events

* fix: 正确 event type

Co-authored-by: qiang <qw13131wang@gmail.com>

* chore: rerun ci

* fix: close popper on blur

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-08-18 18:48:40 +02:00
dhj-l
51fce50758 fix(components): [steps] dynamic status step exception (#21753)
* fix(components): 修复当el-step显式设置status属性后,后续步骤的进行中状态(processStatus)失效

* fix(components): 修复当el-step显式设置status属性后,后续步骤的进行中状态(processStatus) 失效

* refactor(components): optimize test selector usage in steps test

* refactor(components): optimize test selector usage in another steps test

* chore: format

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-08-18 18:49:15 +08:00
Zhong
cd7bf873d0 docs(components): [popover] update examples (#21785)
* docs(components): [popover] remove `delayHide`

* docs: update

* docs: update

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-08-18 09:38:35 +00:00
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
110d4e1d7e docs(components): [link] add security warning (#21711)
* docs(components): [link] add security warning

* chore: position adjustment

* chore: fold js example
2025-08-15 14:15:02 +08:00
Zhong
c375a20b61 docs(components): [menu] missing expose handleResize method (#21763)
* docs(components): [menu] add missing documentation for handleResize

* docs: remove tag
2025-08-15 14:05:53 +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