Commit Graph

1643 Commits

Author SHA1 Message Date
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
Noblet Ouways
99dacaaaec chore: build & doc tiny tweak (#21644)
chore: doc tweak
2025-08-06 17:46:30 +08:00
catanswer
7b25a87d6d feat(components): [autocomplete] add header and footer slot (#21594)
* feat(components): [autocomplete] add header and footer slot

* docs(components): add a bump version for new slots

* test(components): [autocomplete] add header/footer slots test case

* docs(components): [autocomplete] add header and footer slots example

---------

Co-authored-by: yinshenghao <shenghao.yin@eslink.com>
2025-08-05 22:34:39 +02:00
sea
14eda6f1e8 docs(components): [table] supplement columns type (#21642) 2025-08-05 22:28:53 +02:00
sea
bf6a1c2640 docs: update select clearable description (#21641) 2025-08-05 23:03:19 +08:00
Noblet Ouways
20652107fe fix(components): [date-picker] keep datetimerange close on value change (#21625)
* fix(components): [date-picker] keep datetimerange close on value change

* chore: review past solution

* test: add test case

* docs: update onChange event

* test: test
2025-08-05 16:28:26 +02:00
Zhong
72a26a48f0 docs: fix typo & prettier & unify attribute name format (#21600) 2025-08-03 16:47:48 +08:00
Noblet Ouways
bce22dd10d fix(components): allow null type on empty-values components (#21582)
* fix(components): allow null type on empty-values components

* refactor(hooks): [empty-values]: allow plain null for `value-on-clear`
2025-08-01 12:27:19 +02:00
sea
e479006c4c docs: update overview splitter icon style (#21581) 2025-08-01 11:36:00 +02:00
0song
c1b3ace687 chore: update doc (#21576) 2025-08-01 07:11:39 +00:00
sea
100ae5cbb8 docs: add quick jump to props attribute (#21572) 2025-08-01 14:22:22 +08:00
Noblet Ouways
907b7b2766 feat(components): [cascader] add check-on-click-leaf attribute (#21508)
* feat(components): [cascader] add `check-on-click-leaf` attribute

* chore: chore
2025-08-01 10:31:17 +08:00
sea
305bac5839 docs(components): [dialog] smoother custom-animation example (#21555)
* docs: delete sidebar component version class

* docs: update examples

* chore: update version style

* chore: update version style

* chore: update version style

* chore: update version style

* chore: update version style
2025-07-31 07:46:57 +00:00
Zhong
09df413426 refactor(components): [form] enhance scrollIntoViewOptions type (#21552) 2025-07-31 09:20:07 +08:00
Zhong
3182010562 feat(components): [dialog] add modal-penetrable prop (#21511)
* feat(components): [dialog] add `modal-penetrable` prop

* refactor(components): [dialog] optimize code

* test(components): [dialog] update test

* test(components): [test] update test
2025-07-30 16:51:18 +08:00
btea
622b945993 docs: [cascader] reduce sample code (#21549) 2025-07-30 09:56:40 +02:00