Commit Graph

2377 Commits

Author SHA1 Message Date
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
xinconan
aa6c510282 feat(components): [tabs] expose tabNavRef and tabListRef (#20552) 2025-04-29 13:45:52 +08:00
w2xi
3fc96e15f8 fix(components): [image] make show-progress prop available (#20590)
fix(components): [image] make `show-progress` prop available (close #20588)
2025-04-29 09:39:29 +08:00
Kaine
d8b44b6a2c fix(components): [collapse] avoid direct activeNames changes (#20437)
fix(components): [collapse] Avoid direct activeNames changes

* refactor(components): [collapse] Removal of modelValue Modification in watch

* test(components): [collapse] Add new test cases for modelValue

* docs(components): [collapse] Adjust the default value of modelValue/v-model in the documentation

closed #20436
2025-04-28 10:19:13 +08:00
kooriookami
fa54f13b57 style(components): [tooltip] add class name (#20569) 2025-04-27 17:01:08 +08:00
Anod Chow
91ffdbfca6 fix(components): [tree] filter update scheduling error (#20267)
* Update tree-store.ts

fix: the bug #20259 
Ensure the sequence for the traverse step.

* fix(components): [tree] filter update scheduling error

fix(components): [tree] fix bug #20259
Ensure the sequence for the traverse step. If call the traverse without await, the code below will run before the children had been processed, making the parent node invisible.
2025-04-27 16:47:35 +08:00
kooriookami
498acc321b fix(components): [select-v2] fix fit-input-width (#20509)
* fix(components): [select-v2] fix fit-input-width

* fix(components): [select-v2]

* fix(components): update

* fix(components): update
2025-04-27 16:05:24 +08:00
w2xi
ec5a5001c4 fix(components): [mention] the input event is not be triggered when selecting a mention (#20549)
fix(components): [mention] the input event is not be triggered when selecting a mention (close #20548)
2025-04-27 09:00:42 +08:00
Noblet Ouways
0589201ad4 feat(components): [input-tag] add delimiter (#20532)
* feat(components): [input-tag] add delimiter

* chore: add missing bump version
2025-04-26 07:55:25 +08:00
w2xi
8b12b76c2c refactor(components): [message] remove inferable return types (#20551) 2025-04-25 23:27:27 +08:00
w2xi
1e6efeee21 test(components): [notification] add cases for closeIcon prop (#20526)
* docs(components): [notification] update `closeIcon` prop

* test(components): [notification] add cases for `closeIcon` prop
2025-04-25 13:42:49 +08:00
dopamine
148c137445 fix(components): [tooltip] remove some references in time (#20495)
* fix(components): [tooltip] remove references to stopHandle and popperInstance in time

* fix
2025-04-24 23:04:48 +08:00
betavs
3a3db6e564 refactor(components): use built-in methods to check for undefined and null (#20537)
style(components): check the undefined type for unification
2025-04-24 22:51:58 +08:00