Commit Graph

2701 Commits

Author SHA1 Message Date
遇见同学
74833b49bc fix(components): [menu] hide arrow right padding incorrect (#21292)
* fix(components): [menu] Hide Arrow Padding Right Value

* fix(components): [menu] Hide Arrow Padding Right Value

* feat: Hide Arrow Padding Right Value

* feat: dynamically calcMoreButtonWidth

* Revert "feat: dynamically calcMoreButtonWidth"

This reverts commit b46953e333.

* chore: dynamic solution

* chore: fix

* Update packages/theme-chalk/src/menu.scss

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-23 18:21:16 +08:00
dhj-l
6e419e9b9a fix(components): [time-picker] fix keyboard arrow controls (#21215) 2025-07-23 17:36:38 +08:00
btea
6593d815e6 feat(components): [scrollbar] add distance prop (#21261)
* feat(components): [scrollbar] add `distance` prop

* feat: update trigger end logic

* refactor: code

* refactor: reduce code

* chore: update check

* refactor: rename

* Update docs/en-US/component/scrollbar.md
2025-07-23 10:37:13 +02:00
xingyixiang
be98423b29 fix(components): [form] maximum recursive updates exceeded (#21391) 2025-07-23 16:28:00 +08:00
Zhong
bc9a95d9ba chore(components): fix typos (#21473) 2025-07-23 07:09:15 +08:00
snowbitx
7ec0f3a442 feat(components): [cascader] add checkOnClickNode and prefix prop (#21089)
* feat(components): [cascader] Hide radio in single mode

* feat(components): [cascader] Renamed prop to \`selectOnClick\`

* feat(components): [cascader] Update doc

* feat(components): [cascader] Adjust how data is fetched

* feat(components): [cascader] update type

* Update packages/components/cascader-panel/src/node-content.ts

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

* feat(components): [cascader] Merge and fix v-model bug

* feat(components): [cascader] Renamed to checkOnClickNode

* feat(components): [cascader] Renamed to checkOnClickNode

* feat(components): [cascader] merge

* feat(components): [cascader] Add a check

* feat(components): [cascader] Add test case

* feat(components): [cascader] Fix type error

* feat(components): [cascader] Add checkOnClickNode, showRadio props

* feat(components): [cascader] Update doc

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

Done, thanks!

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

* fix: showRadio defaults checkOnClickNode

* test: showRadio fallback behavior

* refactor: rename prop and support checkOnClickNode for multiple mode

* doc:update

* Update packages/components/cascader-panel/src/config.ts

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

* docs: tweak props

* docs: update doc

* chore: update doc & fix toggle check

* 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>

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

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

* Update cascader-panel.test.tsx

---------

Co-authored-by: WANGXIAOYU1995 <109521682+WANGXIAOYU1995@users.noreply.github.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-07-22 17:23:20 +08:00
Mamaev Iurii
4bb8d8ce04 fix(components): [table] fix absence of theadRef bug (#21454)
fix(components): [TableHeader] fix absence of theadRef bug
2025-07-22 08:13:53 +08:00
thinkasany
ea38e306b1 fix(components): [time-select] fix typos (#21452)
fix(components): fix typos
2025-07-22 07:42:09 +08:00
Zhong
e488f951d9 fix(components): [splitter] ensure cacheCollapsedSize is set (#21259) 2025-07-21 17:09:34 +08:00
thinkasany
31ff48921c refactor(components): Simplified event handling (#21432)
* refactor(components): Simplified event handling

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

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

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-21 10:45:14 +02:00
Spaceman
e34cd311ef fix(components): [tree] keyboard nav broken after filter/collapse (#21377)
* fix(components): [tree] keyboard nav broken after filter/collapse

Fix issues #21376

* fix(components): [tree] keyboard nav broken after filter/collapse

* fix(components): [tree] keyboard nav broken after filter/collapse

* Update packages/components/tree/src/model/node.ts

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

* Update packages/components/tree/src/model/node.ts

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

* fix(components): [tree] keyboard nav broken after filter/collapse

* fix(components): [tree] add test cases

* fix(components): [tree] keyboard nav broken after filter/collapse

* fix(components): [tree] keyboard nav broken after filter/collapse

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-21 10:17:32 +08:00
Zhong
a36792abc5 fix(components): [pagination] reset icon hover state when page changes (#21371)
* fix(components): [pagination] reset icon hover state when page changes

* test(components): [pagination] add test case

* fix(components): [pagination] correctly reset status

* chore(components): [pagination] optimize code

---------

Co-authored-by: cszhjh <cszhjh@iMac.local>
2025-07-21 09:57:10 +08:00
Zhong
62edc0c906 fix(components): [select-v2] resolve invalid filter and remote methods (#21419)
* fix(components): [select-v2] resolve invalid filter and remote methods

* refactor(components): [select-v2] delete redundant comparisons

---------

Co-authored-by: cszhjh <cszhjh@192.168.0.104>
2025-07-21 08:59:07 +08:00
thinkasany
2dc61ac5ea refactor(components): improve tab Observer name (#21413)
chore(components): improve tab Observer name
2025-07-20 08:02:06 +08:00
btea
7b6858374a fix(components): [cascader] dynamic options render error (#21405)
* fix(components): [cascader] dynamic optios render error

* fix: remove debugger

* fix: update

* test: dynamic options
2025-07-19 03:21:57 +02:00
snowbitx
da67d58a97 feat(components): [input-number] add disabled-scientific prop (#21319)
* feat(components): [input-number] add disableScientific prop

* chore: useless change

* Update basic.vue

* Update basic.vue

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

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

* refactor: merge events

* test: add test case

* chore: tweaks

* Update notes

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

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

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

* chore: rename prop

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-07-18 22:38:49 +08:00
btea
5cc42ad9fc feat(components): [color-picker] add persistent and append-to prop (#21393) 2025-07-18 02:10:05 +02:00
Jeff
80157249ef fix(components): [segmented] fix label item width render (#21379)
* fix(components): [segmented]  fix label item width render

* Update segmented.vue

* chore: use zhiaxiaotong solution

* Update segmented.vue

* chore: foramt

Co-authored-by: zhixiaotong <947803089@qq.com>

---------

Co-authored-by: 知晓同丶 <zhixiaotong.me@qq.com>
2025-07-17 15:45:54 +00:00
snowbitx
da08a2ffaf feat(components): [input-number] add align prop (#21291)
* feat(components): [input-number] add align prop

* refactor: change implementation

* refactor: simplify SCSS

* test: add align prop class test

* test: fix type error

* Update packages/components/input-number/src/input-number.ts

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

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

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

* chore: useless change

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-17 15:45:24 +08:00
snowbitx
ec59698157 fix(components): [form] avoid reset manual errors (#21368)
* fix: #21365

* fix: #21365 add test case
2025-07-16 22:40:08 +08:00
Zhong
c3711304e5 test(components): add close-on-press-escape test case (#21367) 2025-07-16 09:10:46 +08:00
Zhong
a6cc30b979 feat(components): [notification] support updateOffsets command (#21300)
* feat(components): [notification] support updateOffsets command

* fix(components): [notification] correct calculation offset

* test(components): [notification] add test case

* feat(components): [notification] add default value & update doc

* test(components): [notification] cleanup

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

* docs(components): [notification] update

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

* test(components): [notification] use defineGetter replace defineProperty

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-16 02:01:41 +02:00
Shaobo Lua
db680e4dd0 fix(components): [checkbox-group] dynamic prop-value cause ivalidate loop (#21309)
* fix(components): [checkbox-group]

fix  el-checkbox-group in el-form-item with dynamic prop cause infinite update loop

closed #21305

* chore: fix lint

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-07-15 00:06:21 +08:00
snowbitx
a5582a78f3 fix(components): [option] delete newly created option (#21324)
*fix(components): [option] delete newly created option

* Update option.vue
2025-07-14 09:55:11 +08:00
Noblet Ouways
ed29cf0dfb docs: fix examples & type consistency (#21333)
* docs(components): [select] fix consistency

* chore: remove all `:height="208"`
2025-07-14 09:42:58 +08:00
Zhong
c6f14d69c8 fix(components): [tooltip] avoid repeated onBeforeEnter execution (#20983) 2025-07-13 09:34:55 +08:00
Zhong
dd69d738ec test(components): [splitter] add tests for component events (#21328) 2025-07-12 16:59:28 +02:00
btea
8b0c061b74 test(components): [cascader] update (#21329) 2025-07-12 16:58:50 +02:00
btea
8b26d34017 test: [cascader] single mode select first option (#21325) 2025-07-12 15:21:50 +02:00
Noblet Ouways
5447972845 feat(components): [tree-v2] add scrollbar-always-on attribute (#21293) 2025-07-11 17:48:45 +08:00
btea
66b9a88235 fix(components): [cascader] single selection fails (#21317)
fix(components): [cascader] checkStrictly is true select fail
2025-07-11 17:09:37 +08:00
btea
de625a1403 feat(components): [input-number] change the min and max default value (#21302)
* feat(components): [input-number] change the min and max default value

* docs: update
2025-07-11 00:16:29 +02:00
btea
7c1e171bab feat(components): [input-number] warn when exceeds the safe integer (#19405) 2025-07-11 00:15:18 +02:00
Spaceman
94a5d9bb1c fix(components): [select-v2] scrollbar resets to top after select item (#21257)
* fix(components): [select-v2] scrollbar resets to top after select item

issue #21225

* fix(components): [select-v2] scrollbar resets to top after select item

使用函数包裹能解决isFunction(props.remoteMethod)触发watchEffect的问题

* fix(components): [select-v2] scrollbar resets to top after select item
2025-07-10 17:05:06 +08:00
56jun
e4d3ce2970 feat(components): [mention] add whole-remove event (#21050)
* feat(components): [mention] 添加mention-remove事件,当props.whole为真且移除提及项时触发

* feat(components): [mention] 添加whole-remove事件,当props.whole为真且移除提及项时触发

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-07-10 16:40:18 +08:00
btea
173c1cbfd7 fix(components): [select] custom warnHeandler cause memory leak (#21284) 2025-07-09 10:50:28 +02:00
betavs
fee45e1b31 fix(components): [tab-pane] safely access value before schedule render (#21275) 2025-07-08 12:30:02 +02:00
Noblet Ouways
8a243036fe fix(components): [input-tag] paste multiple delimiters (#21256)
* fix(components): [input-tag] paste multiple delimiters

* chore: refact

* refactor: easier to read & import types

* chore: remove useless convert regex

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

* chore: fix

* chore: fix

* chore: same logic on paste & better tests

* chore: fix edge case

* chore: fix

* chore: add

---------

Co-authored-by: btea <2356281422@qq.com>
2025-07-08 09:02:13 +00:00
An Hao
797044368e fix(components): [affix] correctly updateRoot when fixed (#21094)
Co-authored-by: anhao <wzanh@sinopec.com>
2025-07-07 21:18:47 +08:00
yuhengshen
cfc661c626 feat(types): [components] add public prop types (#21222)
* feat(types): [utils] add ExtractPublicPropTypes type

* feat(types): [components] add props public type

* chore(types): use type-only import for Prop from 'vue'

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

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-07 00:51:32 +08:00
Zhong
58a5852d2d refactor(components): improve component boolean type (#21260) 2025-07-06 14:56:17 +02:00
dopamine
21a29c7b1c fix(components): [tabs] ensure label slot updates (#21231)
* fix(components): [tabs] ensure label slot updates

* fix: compatible with Vue 3.4+

* chore: comments
2025-07-04 19:30:02 +08:00
w2xi
a37b793fae fix(components): [tabs] update tabs order correctly when reordering (#21064)
* fix(components): [tabs] update tabs order correctly when reordering

* fix

* perf: reorder only if child components have been moved

* chore: tweak the test

---------

Co-authored-by: dopamine <coderzyou@gmail.com>
2025-07-04 19:00:39 +08:00
Noblet Ouways
419b3e02f4 refactor(components): [scrollbar] remove ts-nocheck (#21233) 2025-07-04 09:17:01 +08:00
yuhengshen
a579224896 fix(components): [autocomplete] add placeholder prop type definition (#21206)
* fix(components): [autocomplete] add placeholder prop type definition

* feat(components): [autocomplete] add inputProps and merge properties

* docs: [input] description typo

* feat: explicitly using the `model` & `disabled`

* fix(components): [time-picker] single input name type

* docs: add input attrs link

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-07-03 00:15:53 +02:00
btea
1e28b08bcb fix(components): [select/select-v2] apply popper-class to tag tooltip (#21212) 2025-07-02 17:15:42 +08:00
Noblet Ouways
164a8a5ee5 refactor(components): [table] remove @ts-nocheck (#21200)
* refactor(components): [table] remove `@ts-nocheck`

* chore: remove any wip

* chore: better types
2025-07-02 11:28:11 +08:00
dopamine
6c3967c546 fix(components): [loading] element-loading-* attributes support reactivity (#15111) 2025-07-01 12:00:34 +02:00
qiang
6eab313cf9 fix(components): [tabs] focus may still remain in pane when tabs changed (#19433)
* fix(components): [tabs] focus may still remain in pane when tabs changed

closed #19364

* fix: type

* chore: style

* fix: test
2025-07-01 11:45:06 +02:00
qiang
b881ef25cb refactor(hooks): [useFocusController] add disabled attribute (#21032)
refactor(hooks): [useFocusController] add disabled prop

Co-authored-by: warmthsea <2586244885@qq.com>
2025-07-01 08:41:35 +00:00