Commit Graph

2389 Commits

Author SHA1 Message Date
betavs
b35c3a54da fix(components): [text] the title attribute loses its reactivity (#20875) 2025-05-28 20:39:45 +08:00
betavs
feb21505b8 fix(components): [config-provider] provide global config function is invalid for message (#20863)
* fix(components): [config-provider] provide global config function is invalid for message

* test(components): [config-provider] reset message config after each test to prevent state leakage
2025-05-27 10:12:51 +02:00
btea
8399c0076c test(components): [form] scrollToError scroll to correct form item (#20848) 2025-05-26 09:20:44 +08:00
张海峰
34525a5e6e fix: [color-picker] Fix invalid color code clearing (#20832)
* fix: [color-picker] Fix invalid color code clearing

Enable clearing of invalid input when incorrect code is entered

* fix: fix customInput should be currentColor

---------

Co-authored-by: zhanghaifeng <751434992@qq.com>
2025-05-24 22:10:26 +08:00
betavs
0531cab05f feat(components): [alert] add open and auto-close functionality with delays (#20533)
* feat(components): [alert] add open events and delay options

* docs(components): [alert] add example with delayed attributes
2025-05-24 11:28:57 +02:00
sea
556fbbc699 Revert "table expand #20587 #20715 #20811" (#20834)
* Revert "table expand  #20587 #20715 #20811"

* chore: revert
2025-05-23 18:03:59 +08:00
Noblet Ouways
00c78d6fbf fix(components): [image-viewer] dont persist image preview list (#20807)
* fix(components): [image-viewer] dont persist image preview list

* chore: rearrange tests
2025-05-23 16:00:42 +08:00
btea
c29eac5f81 fix(components): [form] scrollToError scroll to correct position (#20826)
* fix(components): [form] `scrollToError` scroll to correct position

* fix: update

* fix: update

* fix: update

* fix: revert

* fix: set scrollIntoViewOptions default to true

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

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

* fix: update

* fix: update class

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-05-23 15:52:55 +08:00
betavs
dad393b92c fix(components): [cascader-panel] value can be an empty string (#20731) 2025-05-23 11:30:26 +08:00
Noblet Ouways
1b9d6df3f5 fix(components): [date-time-picker] inherit time across picker views (#20806)
* fix(components): [date-time-picker] inherit time across picker views

closed #20804

* typo

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-23 11:17:12 +08:00
btea
7c3a321e5f fix(components): [message] message method jump failed (#20818)
* revert: [message] `Message` interface

* refactor: update

* fix: update
2025-05-22 16:50:11 +08:00
btea
433b622aee refactor: rename test env (#20816) 2025-05-22 16:17:15 +08:00
sea
5905ab430a fix(components): [table-v2] use keep-alive position top error (#20813)
* fix(components): [table-v2] use `keep-alive` position top error

* chore: del useless code

* chore: del useless code

* chore: add nextTick
2025-05-22 10:30:59 +08:00
sea
040520dddf fix(components): [table] update expand-row-keys invalid (#20811) 2025-05-22 09:13:39 +08:00
btea
8ddbb1d85a fix(components): [select] select value label rendering error (#20769)
* fix(components): [select] select value label rendering error

* chore: comment

* fix: update

* fix: update

* feat: manual render

* refactor: immediate watch

* test: update

* test: with multiple
2025-05-21 13:54:59 +08:00
知晓同丶
73150c1214 refactor(components): improve alignment type definitions (#20695)
* refactor(components): improve alignment type definitions

* fix: rename Alignment to Align

* refactor: rename align to columnAlignment

* fix: use values to perf types

* fix: remove useless isValidColumnAlignment
2025-05-20 17:30:54 +08:00
忆白°
ca533d18f9 fix(components): [input-number] Improve modelValue prop type (#16124)
* fix(components): [input-number] Improve modelValue prop type

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

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

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-05-20 17:29:46 +08:00
jiaxiang
c64d00b1af chore: [table-v2] remove ts-nocheck directive (#20202)
* refactor: [table-v2] remove ts-nocheck directive

* revert: revert
2025-05-20 17:27:47 +08:00
kooriookami
e0e5e8f303 fix(components): [select-v2] fix scroll position when using props (#20788) 2025-05-20 11:43:30 +08:00
q
53b7a31520 fix(components): [table] the selection column cannot be displayed when it is not in the first row (#20582)
* fix(components): [table] el-table里table-column的fixed问题 #20558

* fix(components): [table] 修复如果selection没有fixed属性时,会一直出现在末尾的bug #20558

* fix(components): [table] 删除test案例读取到left为0时修改fixed属性 #20558

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

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

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

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

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

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

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

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

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

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

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

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

* fix(components): [table] 还原table-column.test.ts测试用例&格式化watcher.ts代码

* fix: [table] -增加左侧/右侧固定列筛选selection逻辑

* fix: [table] -table-column.test.ts测试用例修改

* fix: [table] - 还原测试用例,修改watcher.ts,使其兼容如果有固定列并且select为第一列的情况

* fix: update & test

* fix: update

---------

Co-authored-by: 卿鹏 <qp66797@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-05-20 10:28:25 +08:00
kooriookami
bd17819bb4 feat(components): [alert] [result] [message] [message-box] [notification] add primary type (#20782)
feat(components): add primary type
2025-05-20 07:46:08 +08:00
Noblet Ouways
00eedd8a82 feat(components): [config-provider] support link config (#20773) 2025-05-19 17:32:53 +08:00
IllegalCreed
aab2df4b40 refactor: delete useless code (#20759)
* refactor: delete useless code

A && B && C && ( C || D ) === A && B && C 所以第四个判断完全没意义

* chore: format code

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-05-19 09:07:05 +08:00
xingyixiang
21fda1e55f fix(components): [tree-v2] set expanded keys requires multiple nextTick (#20725) 2025-05-15 23:58:19 +08:00
Liao-js
4e9b0893a3 feat(components): [collapse] add beforeCollapse prop (#20716)
* Revert "fix(components): [collapse] avoid direct activeNames changes (#20437)"

This reverts commit d8b44b6a2c.

* feat(components): [collapse] add beforeCollapse prop

* docs: update

* test: update

* test: update

* docs: update
2025-05-15 22:57:09 +08:00
kooriookami
066f5aaf1d fix(components): [text] fix properties of null when destroyed (#20751) 2025-05-15 16:08:53 +08:00
伊墨
097e3f08a1 fix(components): [table-v2] modify the width calculation logic (#19021)
* fix(components): [table-v2] modify the width calculation logic

* fix(components): [table-v2] resolved scrollbar width issue

* test(components): [scrollbar] fix test case error
2025-05-14 21:32:03 +08:00
Noblet Ouways
6c924a7066 feat(components): [config-provider] support more button config (#20726)
* feat(components): [config-provider] support more button config

* chore: add docs & test

* chore: remove empty string
2025-05-14 15:02:50 +08:00
kooriookami
386129f402 feat(components): [config-provider] add message plain config (#20723)
* feat(components): [config-provider] add message plain config

* feat: update
2025-05-14 15:02:21 +08:00
betavs
420d4ff75c fix(components): [cascader] safeguard arrow modifier access in popper options (#20732)
fix(components): [cascader] safeguard arrow modifier
2025-05-14 06:31:48 +00:00
btea
317307aa2a fix(components): [table] default-expand-all invalid (#20715)
* fix(components): [table] `default-expand-all` invalid

* test: dynamic data case

* test: update
2025-05-13 16:49:17 +08:00
Meet you
9d9d71a32c feat(components): [date-picker] add quick year and month selection (#19700)
* feat(components): [date-picker] add quick year and month selection

closed #1730

* fix(components): [date-picker] update

* test(components): [date-picker] add tests for year and month selection

* fix: update

* fix(components): update

* fix(components): update

* fix: [date-picker] fix conflicts

* fix(components): [date-picker] update

* Update packages/components/date-picker/src/date-picker-com/panel-date-range.ts

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

* fix(components): [date-picker] update

* fix(components): [date-picker] update

---------

Co-authored-by: btea <2356281422@qq.com>
2025-05-13 12:25:06 +08:00
dopamine
eff628a65a refactor(components): [carousel] simplify the code for motion blur (#20696) 2025-05-12 16:41:36 +08:00
sea
6956491d94 feat(components): [tabs] update type and expose tabBarRef (#20670)
* feat(components): [tabs] update tabBarRef type and expose tabBarRef

* fix: update ins

* chore: update type

* docs: update

Co-authored-by: xingyixiang <452282988@qq.com>

---------

Co-authored-by: xingyixiang <452282988@qq.com>
2025-05-09 14:37:13 +08:00
知晓同丶
5490bedf85 fix(components): [select-v2] tooltipRef maybe undefined (#20688)
closed #20687
2025-05-09 14:07:16 +08:00
Liao-js
ea2c42783e fix(components): [select-v2] label error when multiple and remote (#20668)
* fix(components): [select-v2] label error when multiple and remote

* fix: test case
2025-05-09 09:29:18 +08:00
Noblet Ouways
41d6351a3d fix(components): [loading] inherit app context (#20371)
* fix(components): [loading] inherit app context in ssr mode

* chore: get appContext inherit in childApp

* docs: add loading inheritance

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

Co-authored-by: qiang <qw13131wang@gmail.com>

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-05-09 09:17:06 +08:00
kooriookami
afd36831f7 fix(components): [mention] fix missing input emit (#20651) 2025-05-08 11:00:55 +08:00
Xiao
8d2f08108b fix(components): [popper] fix arrow overflow issue (#20049)
* fix(components): [popper] fix arrow overflow issue

Add popperArrowProp to popperContentProps to ensure usePopper
correctly applies arrow options, preventing the arrow from
overflowing the popper container edges.

* fix(components): [popper] change arrowOffset to ref for reactivity

* feat(components): [tooltip] add arrow-offset property

- Allow users to control the padding of the tooltip arrow
- Prevents the arrow from touching the popper's edge

Reference: https://popper.js.org/docs/v2/modifiers/arrow/#padding

* fix(components): [popper] add reactive watch for arrowOffset prop

* feat(components): [popper] remove unused arrowOffset prop

Removes unused arrowOffset prop and related logic
- Removes arrowOffset from PopperContentInjectionContext
- Removes arrowOffset prop watching and state management
- Cleans up related test cases

* docs(components): [tooltip] update version requirement

update version requirement for arrow-offset prop

* docs(components): [tooltip] update `arrow-offset` version

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

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-05-07 10:02:28 +00:00
Noblet Ouways
bb5c767b7e fix(components): [date-picker] merge default-value with default-time (#20550)
* fix(components): [date-picker] merge `default-value` with `default-time`

* fix: build

* chore: cleanup

* chore: fix ssr test
2025-05-06 17:16:02 +08:00
jiaxiang
37520f61b9 feat(components): [collapse] add expand icon position customization (#19537)
* feat(components): [collapse] add expand icon position customization

* chore: [collapse] update expand icon position options

* feat(docs): update custom icon position example

* fix(docs): update default expand icon position to 'right'

* fix: CollapseIconPositionType

* revert: revert

* docs: update

* docs: update custom icon position version to 2.9.6

* docs: update v

* Update docs/examples/collapse/custom-icon-position.vue

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

* chore(docs): format

* chore: update V

* fix: title slot isActive

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

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

* Update packages/components/collapse/src/collapse-item.vue

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

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

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-05-06 15:36:54 +08:00
dopamine
8edea27a36 build: rollup dts (#20586)
* build: rollup dts

* update

* update
2025-05-06 09:42:40 +08:00
sea
3892c0ca32 feat(components): [popover] append-to prop (#20596) 2025-05-02 16:12:56 +08:00
btea
3e81fdd36c chore: remove todo comment (#20614) 2025-05-02 15:29:02 +08:00
betavs
ec6e0c51a5 fix(components): [select] update selection width calculation (#20615)
* fix(components): [select] update selection width calculation

* fix(components): [select-v2] update selection width calculation
2025-05-01 18:23:23 +08:00
w2xi
0eb0eae70b refactor(components): [form] make exposed fields reactive (#20567)
fix(components): [form] make exposed `fields` reactive (close #20566)
2025-05-01 16:59:27 +08:00
Noblet Ouways
ca0c4945f6 fix(components): [tooltip] listen clickoutside after open (#20577)
closed #14580
2025-05-01 16:53:00 +08:00
Nick Wu
154f7b0f8e fix(components): [table] shrinked table expanded when modify data (#20587)
* fix(components): [table] shrinked  table expanded when modify data

* fix(components): [table] type check error

* fix(components): [table] update test case
2025-05-01 16:49:07 +08:00
w2xi
2d076d87d5 feat(components): [collapse-item ] enhance title slot with isActive property (#20613) 2025-05-01 16:36:27 +08:00
betavs
69a94c1263 fix(components): [date-picker] correct injection key for default format (#20611) 2025-05-01 16:33:07 +08:00