Commit Graph

2701 Commits

Author SHA1 Message Date
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
sea
27229ac4fa fix(components): [table-v2] onEndReached executes multiple times (#20517) 2025-04-23 14:23:03 +08:00
Noblet Ouways
cae0590f6d docs: table-v2 add @end-reached parameter description (#20484) 2025-04-22 20:40:33 +08:00
kooriookami
9465d87212 fix(components): [dialog] fix draggable when window resize (#20505)
fix(components): [dialog] Fix draggable when window resize

closed #20500
2025-04-22 20:39:14 +08:00
Noblet Ouways
938d69626f fix(components): [tree] enable ellipsis on label (#20496)
* fix(components): [tree] enable ellipsis on label

* chore: revert

* Update packages/components/tree/src/tree-node-content.vue

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

* chore: add text style in tree

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

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-04-22 16:48:23 +08:00
dopamine
d8e49e5837 fix(components): [tree] retain DOM nodes only in their intended scope (#20494)
fix(components): [tree] retain the reference to DOM nodes only in its intended scope
2025-04-22 11:23:34 +08:00
YnacyZhang
a5b60869bc fix(components): [table-v2] loss of precision causes endReached to fail to trigger (#17065)
* fix(components): [table-v2] 修复如果高度存在小数可能导致计算精度丢失导致无法触发触底事件EndReached问题

* fix(components): [table-v2] 修复如果高度存在小数可能导致计算精度丢失无法触发触底事件EndReached问题

* Update packages/components/table-v2/src/use-table.ts

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

* fix(components): [table-v2] format code for better readability in use-table.ts

* fix(components): [table-v2] format code for better readability in use-table.ts

* fix(components): [table-v2] loss of precision causes endReached to fail to trigger

* fix(components): [table-v2] loss of precision causes endReached to fail to trigger

---------

Co-authored-by: ZhangYang <yang.zhang@linkkids.cn>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-04-22 11:16:28 +08:00
betavs
5f519a6f25 refactor(components): unify append-to prop type across multiple components (#20501)
* fix(components): [select] update `append-to` prop type

* fix(components): unify `append-to` prop type across multiple components

* docs: update `append-to` prop type
2025-04-22 09:29:19 +08:00
comp-squirrel
4466ec1979 feat(components): [link] add control for when underlines should appear (#20480)
* feat(components): [link] add `always-underline` option

* docs(components): [link] update version tag

* style(components): [link] remove redundant styles

* feat(components): [link] control underline visibility timing

* chore(components): [link] add `useDeprecated` function

* chore(components): [link] remove TODO comments
2025-04-21 21:29:07 +08:00
伊墨
007635aa4a test(components): [message] add one test case for #20333 (#20513)
* test(components): [message] add one test case for #20333

* fix: error caused by other test cases

After running the test case "it should render vnode function", there is a message in the body
2025-04-21 20:56:26 +08:00
dopamine
22c3abc32d fix(components): [tree] stop propagating click event to parent node (#20506)
fix(components): [tree] stop propagating click event to parent
2025-04-21 17:19:13 +08:00
betavs
78a208eda2 feat(components): [autocomplete] enable append-to prop (#20472) 2025-04-20 16:42:39 +08:00
dopamine
30a0bfe0a5 fix(components): [date-picker] memory leak with vue 3.4+ (#20451)
* fix(components):[date-picker] memory leak with vue3.4+

* --amend
2025-04-18 11:19:05 +08:00
Egor Rakutov
ea904eb105 fix(components): [el-select-v2] u-tag sync with :model-value (#20306)
* fix(components): [el-select-v2] u-tag sync with :model-value

* fix: tests, isArray

* fix: remove useless logic

* fix: single select, tests
2025-04-17 15:43:45 +08:00
DDDDD12138
16d7e64b24 fix(component): resolve 'cursor' style loss caused by 'pointer-events: none' (#19464)
* feat: remove tabindex when disabled

* fix: resolve 'cursor' style loss caused by 'pointer-events: none'

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

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

* chore: update use-focus-controller watch

* chore: remove unnecessary styles

* feat: [select] restore and remove cursor: not-allowed

* feat: override input:disabled use agent stylesheet

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

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-04-17 07:48:53 +08:00
Liao-js
7ce338a1a7 feat(components): [menu] expose updateActiveIndex (#20430) 2025-04-16 09:52:07 +08:00
btea
54304c125d fix(components): [select] import scrollbarEmits path error (#20415) 2025-04-15 09:11:56 +08:00
Feynman
1993ca2e9c feat(components): [notification] add closeIcon option with default Close (#20402)
* feat(components): [notification] add `closeIcon` prop with default Close

* docs(components): [notification] update doc for `closeIcon` option
2025-04-15 09:08:23 +08:00
Noblet Ouways
72e202f74b feat(components): [card] add header-class and footer-class for slots (#20408) 2025-04-13 15:51:57 +08:00
DDDDD12138
9473f9dcb9 fix(components): [tabs] ensure correct event order (#20384) 2025-04-12 06:17:11 +08:00
Noblet Ouways
bc2047d0b6 fix(components): [scrollbar] stop click when click scrollbar (#20316)
* fix(components): [scrollbar] stop click when click scrollbar

* fix: test typo
2025-04-10 18:29:48 +08:00
betavs
54b0aae060 refactor(components): [message] deprecate the center option (#20296) 2025-04-10 11:00:16 +08:00
betavs
952a6858fb fix(components): [slider] emit change event on slider marker down (#20383) 2025-04-10 09:54:37 +08:00
comp-squirrel
1ee7fa7e7d fix(components): [table] prevent child node selection loss during table data modification (#20322)
* fix(components): [table] child selection loss during data modification

* refactor: replace logical AND (&&) with explicit if statement

* test: use unique id
2025-04-09 17:14:55 +08:00
Feynman
ee13188cca feat(components): [select-v2] add suffix-icon prop with default ArrowDown (#20370)
* feat(components): [select-v2] add suffixIcon prop with default ArrowDown

- Introduced a new `suffixIcon` prop to allow customization of the icon in the select component.
- Updated the icon rendering logic to utilize the `suffixIcon` prop instead of a hardcoded value.

* feat(docs): [select-v2] add suffix-icon prop for custom icon support

- Added a new `suffix-icon` prop to the select component, allowing users to customize the suffix icon.
- Updated documentation to reflect the new prop and its default value.

* chore: add version

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-04-09 08:10:30 +00:00
w2xi
4e7058ee7d refactor(components): [message] use message type constants (#20355)
- Update tests to use `messageTypes` for dynamic type checking
- Refactor `Message` type definition to use mapped type for better scalability
2025-04-07 21:16:52 +08:00
btea
1b69cb9777 feat(components): [image] progress slot higher priority (#20353)
* feat(components): [image] `progress` slot higher priority

* fix: update

* chore: delete extra spaces

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-04-05 22:14:39 +08:00