Commit Graph

4043 Commits

Author SHA1 Message Date
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
Zhong
360f04e9c8 style(theme-chalk): fix focus issue when clicking label blank area (#21388) 2025-07-18 10:16:44 +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
sea
ad01328cb8 chore: fix dev-volar type resolution (#21321) 2025-07-12 19:05:20 +08: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
b643cbed13 chore: format scss code (#21312) 2025-07-11 16:40:01 +08:00
yuhengshen
5ee6449b01 fix(types): [other] cannot find declare module types from installed packages (#21266)
* fix(types): cannot find declare module types from installed packages

* fix(types): play global type error

* fix(types): typecheck error
2025-07-11 13:47:18 +08:00
kooriookami
b7d3bff519 style(theme-chalk): convert color to integer (#21301) 2025-07-11 00:32:37 +02: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
Zhong
8d81ed0908 fix(components): [tabs] correct height calculation in vertical layout (#21263) 2025-07-10 22:24:21 +08:00
dengguangmiaoyyds
5cba237704 style(components): [checkbox] modify the icon position when selected (#20087)
* style(components): [checkbox]Modify the icon position when selected

* style(components): [checkbox]Modify icon horizontal and vertical offset
2025-07-10 22:23:06 +08: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
Tenado
6c8e4f4feb fix(components): [tooltip] fix the issue where content is hidden (#21223) 2025-07-08 16:30:22 +08: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
Noblet Ouways
c5d37fbb0a refactor(components): [table] remove @ts-nocheck (#21197)
refactor(components): [table] remove `@ts-nocheck` 2/3
2025-07-01 15:49:54 +08:00
Noblet Ouways
e3373b36e8 refactor(components): [table] remove @ts-nocheck (#21139)
* refactor(components): [table] remove `@ts-nocheck`

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* fixup! refactor(components): [table] remove `@ts-nocheck`

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

* fixup! refactor(components): [table] remove `@ts-nocheck`

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

* chore: revert type

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

* Update packages/components/table/src/store/index.ts

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-06-30 23:41:36 +08:00
Noblet Ouways
09e1c60fba fix(components): [anchor] recalculate marker style on slot update (#21180)
* fix(components): [anchor] recalculate marker style on slot update

* fix: review
2025-06-30 23:02:24 +08:00
Noblet Ouways
4f8cca0f6c feat(components): [select/select-v2/cascader] expose more tag options (#21157)
* feat(components): [select/select-v2] bind `data` for tag slot

* chore: remove console.log

* feat: expose `deleteTag` aswell

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-29 13:17:20 +00:00
baozj
524f901045 feat(components): [select] expose selectDisabled prop to #tag slot (#21093)
* feat(components): [select] expose selectDisabled prop to #tag slot

* feat(components): [select] expose selectDisabled and update docs

* feat(components): [select-v2] expose selectDisabled to #tag slot

Add example demonstrating how to use selectDisabled in custom tag rendering.

* docs(components): [select, select-v2] add selectDisabled to #tag slot

* docs(components): [select, select-v2] remove tag-disabled.vue examples

---------

Co-authored-by: baozhangjie <jay.bao@photonpay.com>
2025-06-29 20:59:04 +08:00
btea
7448d6d1ff fix(components): [form] increase error style priority (#21177) 2025-06-27 23:34:08 +02:00