Commit Graph

6823 Commits

Author SHA1 Message Date
Element
b225f0a31d chore: Update changelog 2.11.2 (#22053) 2025-09-05 18:13:42 +08:00
sea
79e61faef7 fix: circular deps cause build size increase (#22051)
* chore: test build size

* chore: test

* chore: test

* chore: update import link

* chore: update

* chore: update

* chore: fix

* chore: update
2025-09-05 18:00:08 +08:00
Zhong
09e6f5dff7 docs(components): [radio] add missing default value (#22048) 2025-09-05 07:01:53 +00:00
Kylin
606cdc8948 refactor(components): [menu] optimize condition judgment (#22020)
* refactor(components): [menu] optimize condition judgment

* refactor(components): [menu] use if...else...

* refactor: adjust the position of isFirstLevel
2025-09-05 09:25:38 +08:00
Anod Chow
7966f61d46 refactor(components): [date-picker-panel] emit after input instead of watch (#21899)
* fix(components): [date-picker] avoid update when modalValue is not change

* Revert "fix(components): [date-picker] avoid update when modalValue is not change"

This reverts commit 7f373ee642.

* fix(components): [date-picker-panel] emit after input instead of watch

* test: add test case

* test: add test

* chore: remove useless nextTick

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-04 20:39:02 +08:00
betavs
d5e62eb7b9 fix(components): [autocomplete] type declaration error (#15261) 2025-09-04 20:28:44 +08:00
oooh
9b5e405ad9 chore(components): [cascader-panel] remove duplicate exports (#21828)
* chore(components): cascader-panel Update types.ts export types

* chore(components): cascader-panel/node.ts export types from types.ts

* chore(components): cascader-panel/types export

* chore: cascader-panel import types form types.ts

* chore: cascader-panel test types

---------

Co-authored-by: 一只前端汪 <985313519@qq.com>
2025-09-04 18:42:00 +08:00
catanswer
3fef855fc0 fix(components): [time-picker] range type add id automatically (#21746)
* fix(components): [time-picker] range type add id automatically

* Update packages/components/time-picker/src/common/picker-range-trigger.vue

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

* Update packages/components/time-picker/src/common/picker-range-trigger.vue

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

* Update packages/components/time-picker/src/common/picker-range-trigger.vue

* fix: [time-picker] sort the import declaration

* Update packages/components/time-picker/src/common/picker-range-trigger.vue

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

* Update picker-range-trigger.vue

---------

Co-authored-by: yinshenghao <--global>
Co-authored-by: Zhong <cszhjh@gmail.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-09-04 17:28:04 +08:00
snowbitx
f74e403299 feat(components): [radio-group] support options prop rendering (#21543)
* feat(components): [radio-group] support options

* test: add test case

* docs: tweak doc

* Update basic-usage.vue

* docs: tweak doc

* Update packages/components/radio/src/radio-group.vue

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

* chore: label prop

* Update packages/components/radio/src/radio-group.ts

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

* Update packages/components/radio/src/radio-group.vue

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

* refactor: use ts logic

* Update form.md

* Update message.ts

* refactor: fix effect lost

* refactor: use template logic and update version

* Update radio-group.ts

* Update options.vue

* Update options.vue

* refactor: rename props and  support additional attributes and  render

* chore: default key

* chore: use optionProps

* chore: fix build error

* chore: fix build error

* chore: fix build error

* chore: fix build error

* chore: fix build error

* Update radio-group.vue

* Update basic.vue

* refactor: refer checkbox

* Update pnpm-lock.yaml

* Update pnpm-workspace.yaml

* Update package.json

* Update package.json

* chore: ts error

* Update radio-group.ts

* Update radio-group.ts

* refactor: add more attr support and update version

* refactor: props consistent with select

* Update radio.md

* Update packages/components/radio/src/radio-group.vue

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

* Update packages/components/radio/src/radio-group.vue

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

* chore: type with single line

* chore: fix build error

* chore: delete radioRenderer testcase

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-09-04 17:26:57 +08:00
sea
b9ac07cb68 refactor(components): [drawer] resizable (#21932)
* Revert "drawer resizable #21608"

* refactor: drawer resizable

* feat: direction & event core

* docs: update

* fix: animation conflict

* fix: watchEffect onCleanup hrm error

* test: add resize case

* chore: format

* test: old case typo

* refactor: rel #21595 & add hover style

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: cszhjh <cszhjh@gmail.com>

* chore: del useless file

* chore: del useless file

* chore: rename

Co-authored-by: Dsaquel <291874700n@gmail.com>

* fix: use min resizable error

* fix: multiple resizable style conflicts

* test: fix

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: cszhjh <cszhjh@gmail.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-04 15:33:06 +08:00
Jevin
12ffd3cfd8 feat(components): [loading] export LoadingInstance (#22027)
* feat: add export LoadingInstance

* chore: update
2025-09-04 15:28:44 +08:00
thinkasany
8cdfd33324 refactor(components): [splitter] disabled class and style (#22001)
* refactor(components): [splitter] disabled class and style

* ci: fix

* Update packages/components/splitter/src/split-bar.vue

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

* ci: fix lint

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
2025-09-04 14:34:40 +08:00
btea
333ed63b8f fix(components): [focus-trap] destory el ref (#21916) 2025-09-04 09:42:00 +08:00
qiang
7a18e717d8 feat(components): [tooltip] add focus-on-target prop (#21905)
* feat(components): [tooltip] add focus-on-hover prop

* chore: rename ot focusOnTarget

* chore: remove focusVisible

* chore:  error
2025-09-04 09:05:52 +08:00
thinkasany
1b7af91fca feat(components): [popConfirm] add close-on-press-escape prop (#21981)
* feat(components): [popConfirm] add closeOnPressEscape

* ci: add test

* ci: rerun

* ci: rerun

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

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

* ci: fix

* ci: rerun

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

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

* ci: rerun

* ci: fix

* ci: rerun

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-09-04 07:18:02 +08:00
Noblet Ouways
c6c3e258c2 fix(components): [loading] accept type VNode for text property (#22025)
* fix(components): [loading] accept type VNode for text property

closed #12927

* test: add test case
2025-09-04 07:13:33 +08:00
Noblet Ouways
7a2ffb7824 chore(locale): update french locale (#22026) 2025-09-04 07:06:28 +08:00
qiang
7449e4e6b5 docs: the ElDropdown component in the preview webpage cannot be use (#22008)
* docs: the ElDropdown component in the preview webpage cannot be use

* Revert "docs: the ElDropdown component in the preview webpage cannot be use"

This reverts commit fd2be708e4.

* fix: ensure collection.vue compiles to the same code

---------

Co-authored-by: dopamine <coderzyou@gmail.com>
2025-09-03 22:25:05 +08:00
qiang
b04b827a1f feat(components): [rate] accessibility enhancement (#22013) 2025-09-03 17:41:00 +08:00
Kylin
81df371a02 refactor(components): [tabs] extract logical reuse (#22006) 2025-09-03 15:50:35 +08:00
Noblet Ouways
db2b64159a fix(components): [table-v2] add missing LEFT member in Alignment (#22010)
closed #10113
2025-09-03 13:39:33 +08:00
Zhong
5459cd5e9d docs: update overview color-picker-panel icon (#22009) 2025-09-03 10:02:05 +08:00
thinkasany
a98960a902 refactor(components): improve tooltip type (#21999) 2025-09-02 19:15:41 +08:00
Kylin
f429c38d93 perf(components): [form] optimize search for obj with certain attribute (#21996) 2025-09-02 09:20:04 +08:00
Zhong
df88ec60ec chore(components): improve types and JSDoc for better code hints (#21998) 2025-09-02 09:02:00 +08:00
Lasy
8f6f00f5b0 fix(components): [popover] empty node execution error (#21991)
fix(components): [popover] support comment node (https://github.com/element-plus/element-plus/issues/21990)
2025-09-01 22:38:01 +02:00
sea
c7819375c9 test(components): [toopltip] input focus case (#21994) 2025-09-01 12:36:31 +02:00
sea
76e3331fb8 style(components): [splitter] use ew-ns cursor (#21988) 2025-09-01 12:33:29 +02:00
qiang
e22d59b28a fix(components): [popper] unable to capture focus event (#21908)
* fix(components): [popper] unable to capture focus event

* chore: add useCapture to removeEventListener

* chore: add useCapture to removeEventListener

* fix(components): [tooltip] improve trigger handling for closing tooltip
2025-09-01 17:23:20 +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
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
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
一只前端汪
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
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
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
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
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