Commit Graph

4280 Commits

Author SHA1 Message Date
thinkasany
1671338036 refactor(components): [cascader] adjust the ts type (#21966) 2025-08-31 15:42:03 +08:00
thinkasany
52cfb4afd8 feat(components): [popConfirm] support effect (#21965) 2025-08-31 14:48:06 +08:00
Kylin
b887cd1917 refactor(components): [cascader] adjust the ts type (#21963)
* refactor(components): [cascader] adjust the ts type

* refactor(components): [cascader] adjust the State position
2025-08-30 12:27:23 +08:00
qiang
0aa72d510b fix(components): [onlyChild] no warning when there are multiple child (#21958) 2025-08-30 12:25:02 +08:00
snowbitx
b83316e151 feat(components): [checkbox-group] support options (#21545)
* feat(components): [checkbox-group] support options

* chore: ts logic

* docs: add doc

* Update checkbox-group.ts

* chore: eslint

* refactor: use ts logic

* refactor: fix effect lost

* test: add test case

* refactor: simplify

* chore: build error

* refactor: use independent getOptionProps

* refactor: rename defaultProps

* Update checkbox-group.vue

* chore: rename optionProps

* refactor: add more attr support

* chore: update version

* chore: changed props

* Update checkbox.md
2025-08-30 07:32:19 +08:00
Rainbow
01dcccdfc3 fix(components): [form] inline-message of form-item defaults to undefined (#21944)
* fix(components): [form] inline-message of form-item should be Boolean

* fix: update

* fix: update

* docs: inline-message of form-item defaults to undefined
2025-08-30 00:09:38 +02:00
一只前端汪
3d7fcdadab fix(components): [select/v2] width of drop-down panel exceeds the input (#21910)
* fix(components): [select/V2] width of dropdown panel exceeds the input

* fix(components): [select/V2] width of drop-down panel exceeds the input

* fix: select constants

* fix: select

---------

Co-authored-by: 2586740555 <15972343+CYJ090915@user.noreply.gitee.com>
2025-08-29 15:10:36 +08:00
chenyuqiua
20af6159c6 feat(components): [container] add validation for the direction prop (#16734)
* feat(components): add validation for the Container component properties

- I found that the orientation attribute of the Container component was not validated.

- So I added enumeration value validation to the component

* chore: remove useless function isDirectionType

* chore: use buildProps

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-08-29 15:06:14 +08:00
micaiguai
748cf2a260 chore(components): [table-v2] fix the typo (#21936)
chore(components): [table-v2] Fix the typo
2025-08-28 23:15:37 +00:00
thinkasany
094fc74cf2 feat(components): [tour] add close locale (#21934) 2025-08-29 07:12:17 +08:00
qiang
ac814d3a22 ci: add locale:sync scripts (#21857)
* ci: add locale:sync scripts

* chore: remove el.datepicker.week

* chore: execute locale:sync commands

* chore: rename LocaleObject to TranslatePair
2025-08-28 20:22:30 +08:00
thinkasany
96e6a18191 refactor(components): [drawer] improve slot template (#21906) 2025-08-27 21:02:16 +08:00
Zhong
3055342ff7 fix(components): [notification] correctly read the first offset (#21904) 2025-08-26 18:19:09 +08:00
Zhong
75d86dd399 fix(components): [textarea] fix autosize in Splitter (#21840)
* fix(components): [input] fix `autosize` in Splitter

* fix: update

* fix: update
2025-08-26 18:15:43 +08:00
Zhong
3643c9e35f perf(components): [rate] optimize mousemove and keydown logic (#21847)
refactor(components): [rate] optimaze `mousemove` and `keydown` logic
2025-08-26 07:42:32 +08:00
Rainbow
0808687d07 fix(components): [tree-v2] icon display is abnormal when expanding nodes (#21506)
* fix(components): [tree-v2] icon display is abnormal when expanding nodes

* fix: update

* fix: update

* test: add unit tests

* fix: update

* test: update test

* fix: avoid the icon issue when using filter-method

* test: update unit tests

* fix: reduce nested if statements

* fix: update
2025-08-26 07:29:58 +08:00
Noblet Ouways
853df25476 feat(components): [select/v2] add index to label slot (#21884)
* feat(components): [select/v2] add index to label slot

* chore: simplify

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

* chore: fix edge cases

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-25 18:49:02 +02:00
Zhong
4080916453 fix(components): [splitter] keep panel size when container size is 0 (#21893) 2025-08-25 21:24:00 +08:00
Noblet Ouways
f5e90de682 fix(components): [date-picker-panel] remove duplicate panels on inner date input change (#21888)
* fix(components): [date-picker-panel] remove duplicate panels on inner date input change

* test: add test case
2025-08-25 18:13:31 +08:00
Zhong
4a3c9daf51 fix(components): [input-tag] add missing Tooltip style (#21887) 2025-08-25 17:38:30 +08:00
Noblet Ouways
68a6b13f57 fix(components): [cascader] allow object type in modelValue (#21880)
fix(components): [cascader] allow object type as modelValue

closed #21868
2025-08-24 20:10:03 +02:00
oooh
3cb37d47b4 fix(components): [cascader] keep panel open on checkOnClickNode (#21831)
* fix(components): cascader-panel checkOnClickNode bug

* fix: cascader-panel bug

* test: add test case

* chore: keep previous state

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-08-24 22:33:02 +08:00
DDDDD12138
3e33654588 fix(components): [cascader-panel] enable node selection in hover mode (#21878) 2025-08-24 07:59:43 +08:00
qiang
6847d4fbb0 chore(hooks): [useLocale] autocomplete locale field keys (#21876) 2025-08-24 00:03:46 +02:00
Zhong
0cb71ebc48 fix(components): [color-picker] fix color-picker-panel style path (#21867) 2025-08-23 08:02:20 +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
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
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
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
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