Commit Graph

1708 Commits

Author SHA1 Message Date
Zhong
5459cd5e9d docs: update overview color-picker-panel icon (#22009) 2025-09-03 10:02:05 +08:00
Kylin
b174dd07e2 docs(components): [select] demo for adjusting the options property (#21976)
* docs(components): [select] demo for adjusting the options property

* refactor: adjust the position of the props
2025-09-01 10:22:28 +08:00
thinkasany
52cfb4afd8 feat(components): [popConfirm] support effect (#21965) 2025-08-31 14:48:06 +08:00
thinkasany
a6d319bfaa docs: improve drawer api tips (#21962) 2025-08-30 10:25:58 +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
micaiguai
ac9b55b3fc docs(components): [tree-v2] add missing height prop (#21937)
docs(components): [tree-v2] Add height prop
2025-08-29 07:20:32 +08:00
Harry
0800a4d6b1 docs(components): [color-picker-panel] update border attribute description (#21926) 2025-08-28 12:25:31 +00: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
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
sea
048991534c chore: update start docs port (#21820)
* chore: update start docs scripts & port

* docs: update

* chore: update
2025-08-25 21:21:13 +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
Noblet Ouways
05ddd3615a docs: date-picker & tree tweaks (#21885) 2025-08-24 22:36:03 +08:00
Noblet Ouways
ae586b840b Revert "docs: increase layout z-index & reduce el component's z-index (#21870)" (#21879)
This reverts commit 812f48af22.
2025-08-24 07:54:04 +08:00
Zhong
3477df1b90 docs: add yarn and pnpm installation examples (#21875) 2025-08-23 18:26:46 +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
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
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
知晓同丶
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
4ea542e40f docs: [date-picker-panel] update show-week-number type (#21819) 2025-08-19 09:19:09 +00: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
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
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
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
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
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
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
thinkasany
2ceb415830 fix(components): [splitter] collapsible does not take effect dynamically (#21742)
* fix(components): [splitter] Toggle collapsible configuration

* ci: rerun

* Update docs/examples/splitter/collapsible.vue

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-08-13 18:11:25 +08:00
知晓同丶
25c7ea2b3c refactor(components): export TreeV2Instance & optimize type usage (#21718)
* refactor(components): export `TreeV2Instance` & optimize type usage

* refactor: change type declaration entry file
2025-08-13 12:33:30 +08:00
0song
6802685e6b chore: update doc (#21737) 2025-08-13 04:19:34 +00:00
sea
63987bb9c9 chore: update crowdin translate link (#21725)
* chore: update crowdin translate link

* chore: update readme
2025-08-13 09:38:02 +08:00
sea
e551185b38 chore: early release update version (#21724)
rel: https://github.com/element-plus/element-plus/pull/21691
2025-08-12 17:37:31 +08:00
sea
ecd7b365c5 docs: update overview clear warning (#21716) 2025-08-12 12:25:35 +08:00
catanswer
ee334a635c feat(components): [popconfirm] expose hide function and popperRef (#21681)
* feat(components): [popconfirm] expose hide function and popperRef

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

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

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

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

* chore: bump tweak

---------

Co-authored-by: yinshenghao <shenghao.yin@eslink.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-08-12 00:12:49 +02:00
知晓同丶
b7acae49c3 docs: Improve the demo of transition object in config-provider (#21695)
Co-authored-by: zhixiaotong <947803089@qq.com>
2025-08-11 07:10:43 +08:00
知晓同丶
ff525392ac feat(components): [config-provider] support dialog config (#21684)
* feat(components): [config-provider] support `dialog` config

* chore: remove comment

* fix: `props` take precedence over `globalConfig`

* fix: dialog-content use globalConfig

* revert: undo globalConfig & bump

* docs: supplement  tag

---------

Co-authored-by: zhixiaotong <947803089@qq.com>
2025-08-10 14:26:21 +02:00
Zhong
764aa9a1fa docs: sync switch state with system color scheme (#21690) 2025-08-10 07:51:56 +08:00
Allen Xu
065e3874d8 docs(components): [dropdown] fix typo (#21687)
docs(components): [dropdown] fix typo of 2st & 3st
2025-08-09 06:08:44 +00:00
btea
2010ed0252 chore(docs): [autocomplete] update slot version (#21676) 2025-08-08 09:48:11 +02:00
0song
c55fee68ed chore: update doc (#21673) 2025-08-08 04:34:36 +00:00
Zhong
dc3c72a370 docs(components): [config-provider] add ColorPicker to empty values config supported list (#21655)
docs(components): [config-provider] add ColorPicker to supported list
2025-08-07 11:39:40 +08:00