504 Commits

Author SHA1 Message Date
btea
ea926472df feat(components): [input] textarea supports clearing effects (#23723)
* feat(components): [input] textarea supports clearing effects

* Update packages/components/input/__tests__/input.test.tsx

Co-authored-by: rzzf <cszhjh@gmail.com>

* feat: update

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* style: update

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

Co-authored-by: rzzf <cszhjh@gmail.com>

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2026-03-05 12:08:29 +01:00
rzzf
25a3595ede docs(components): [watermark] improve text color readability in dark (#23721) 2026-03-04 10:51:28 +08:00
btea
9ffd7ce279 feat(components): [config-provider] add table config (#23610)
* feat(components): [config-provider] add table config

* fix: update

* Update packages/components/table/src/table-column/watcher-helper.ts

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

* fix: update

* docs: update

* docs: update

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2026-02-10 09:07:40 +08:00
Kylin
f154ce27c6 feat(components): [button] add dashed prop (#22738)
* feat(components): [input] add the dashed attribute

* docs: update tag

* refactor: update the documentation of config-provider

* refactor: update config-provider test

* refactor: update button test

* refactor: update test

* test: update

* refactor: update css

* refactor: reset

* refactor: update css

* refactor: delete blank lines

* docs: update version

* docs: update button type

* docs: update button type

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-02-03 10:39:54 +08:00
snowbitx
0db1ae698c refactor(components): [config-provider] improve ConfigContext types (#23528)
* refactor(components): [config-provider] align shadow type

* refactor(components): [config-provider] align button/link  context type

* Update button.vue

* Change link type from 'primary' to 'success'
2026-01-26 10:35:38 +08:00
E66
5d2526eb72 docs(components): [scrollbar] missing types in examples (#23397)
docs(components): [scrollbar] Fix missing types in examples
2026-01-16 17:19:48 +08:00
bxh1071
48778958bb docs(components): [tree-v2] improve demo style (#23383)
* Add scoped styles for penultimate tree node

修正示例中的自定义类名样式未生效,节点颜色没变的问题。

* docs: update color

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-01-14 20:27:51 +08:00
keeplearning66
8b7d8eacf5 feat(components): [timeline] support mode prop (#22929)
* feat(components): [timeline] support item-placement prop

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* test: update

* feat: update

* feat: update

* feat: update

* docs: update version number

* feat: update

* feat: revert padding

* feat: update

* chore: format

* docs: update version number

* chore: use ExtractPublicPropTypes

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

Co-authored-by: rzzf <cszhjh@gmail.com>

* style: use content-box

* docs: add an example

* style: add padding-right: 0

* docs: remove max-width: 600px

* feat: add alternate-left and alternate-right

* feat: modify the value of mode

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-01-08 21:13:52 +08:00
rzzf
305c3e5d94 feat(components): [upload] add directory prop (#23265)
* feat(components): [upload] add `directory` prop

* refactor: update

* test: update

* fix: update

* docs: add detailed desc

* fix: remove unnecessary compat code

* revert: compat code
2026-01-05 16:28:24 +08:00
Rainbow
1e15f9d661 feat(components): [avatar-group] new component (#23211)
* feat(components): [avatar-group] new component

* feat: update

* feat: update

* feat: update

* docs: add an example

* refactor: remove unnecessary computed

* refactor: extract props to avatar-group-props

* feat: update

* fix: handle the rendering issue of hiddenAvatars

* style: use inline-flex instead of flex

* test: update test case

* docs: update the default values of size and shape

* refactor: apply rabbit comment

* refactor: apply rabbit comment

* chore: update description

* style: use getCssVar

* style: css variables take effect on collapse-avatars
2026-01-05 09:18:22 +08:00
Rainbow
16bbdf7a3b feat(components): [calendar] add controller-type and formatter props (#23045)
* feat(components): [calendar] support controller-type prop

* refactor: move handleDateChange to useCalendar

* feat: update

* style: update

* style: update

* feat: support formatter prop

* feat: update

* docs: update version number

* chore: use ExtractPublicPropTypes

* test: update

* chore: improve parameter type

* feat: update version number

* feat: update

* feat: update

* Apply suggestions from code review

Co-authored-by: rzzf <cszhjh@gmail.com>

* docs: update example

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-12-25 10:04:10 +00:00
dopamine
0ca1570aa1 chore: upgrade to Vue 3.5 (#22096)
* chore: upgrade deps

* chore: replace __ExtractPublicPropTypes with ExtractPublicPropTypes

* fix: get rid of type errors

* fix: resolve test errors with @vue/test-utils v2.4.6

* fix: resolve test errors with Vue 3.5.22

* ci: set pnpm flag

* chore: update the Vue peer dependency version

* Apply suggestion from @tolking

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

* docs: update example code

Co-authored-by: warmthsea <2586244885@qq.com>

* chore: remove csstype (#22487)

* chore: fix merge code type error

* chore: fix test:ssr error

- Cannot read properties of undefined (reading 'getSSRProps')

* chore: fix typecheck:vitest error

* chore: update pnpm yaml file

* test: fix collapse accordion error

* chore: update deps

* chore: fix type error

* chore: lock file

* chore: sync change

sync with the remove of vue macro

* refactor: use computed instead of eagerComputed

* fix: timeline.test.tsx typecheck

* chore: clean lock file

try dont throw CodeFactor issues in ci

did:
- rm pnpm-lock.yaml
- rm -rf ./**/node_modules
- pnpm store prune
- pnpm cache delete
- pnpm install

Also stay in 3.1.0 for vue-tsc in order to avoid the warnings of
template refs, see https://github.com/vuejs/language-tools/issues/5815

* chore: format code

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-12-16 09:34:03 +08:00
qiang
974ba4d3bf feat(components): [table-v2] accessibility enhancement (#22983)
* feat(components): [table-v2] accessibility enhancement

* chore: add test

* chore: formatted
2025-12-13 20:27:41 +08:00
btea
bec944e9d8 docs: update radio demo style (#23084) 2025-12-12 15:17:05 +01:00
rzzf
79e013acca docs: tweak demo style (#23052)
docs: tweak dome style
2025-12-10 00:10:29 +01:00
知晓同丶
c51fd7e1fe style(components): [cascader] cascader-panel fit width (#21497) 2025-12-02 10:35:12 +08:00
rzzf
8d4d0514e7 feat(components): [timeline] add reverse prop (#22931)
* feat(components): [timeline] add `reverse` prop

* test: update

* chore: update import
2025-11-28 08:06:03 +08:00
Dun Lu
9cd07b798e feat(components): [select-v2] add remote-show-suffix prop (#22885)
* fix(components): [selectV2] fix computed logic&add remoteShowSuffix prop

* fix(components): add test case and add prop in docs

* docs(components): [select-v2](remote) add example and version info

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-25 10:16:49 +08:00
云游君
7be439a53a fix(components): [tabs] default-value support and update demo for docs (#22896)
* fix(components): [tabs] default-value support and update demo for docs

* chore: update docs/en-US/component/tabs.md

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

* fix(components): [tabs] undefined for defaultValue

---------

Co-authored-by: btea <2356281422@qq.com>
2025-11-23 15:18:51 +08:00
Den Moshkin
e3eff3725f feat(components): [button-group]: add direction prop (#18906)
* feat(components): [button-group]:add vertical direction for button group

* feat(components): [button-group]: add direction prop (update)

* feat(components): [button-group]: fix docs

* feat(components): [button-group]: update version

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

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

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

* chore: format

* docs: improve sentence

* docs: improve display example

* refactor: enhance prop type

- fit with segmented direction prop
- enhance type according with
https://github.com/element-plus/element-plus/pull/22757

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-11-23 09:07:43 +08:00
Edge-Seven
af78e7026d docs(components): [collapse] fix typo (#22840)
Fix typos in some files

Co-authored-by: khanhkhanhlele <namkhanh20xx@gmail.com>
2025-11-18 06:25:10 +00:00
余晖
f09335f01d docs(components): [anchor] use vp-raw to fix demo scroll (#22828) 2025-11-17 20:21:05 +08:00
sea
cd2728af99 Revert "feat(components): [alert] add open and auto-close functionality with delay (#20533,#22028)" (#22560)
* Revert "fix(components): [alert] show immediately when `showAfter` not needed (#22028)"

This reverts commit 229a0a159b.

* Revert "feat(components): [alert] add open and auto-close functionality with delays (#20533)"

* chore: update deprecated

* docs: update remark
2025-11-17 11:04:56 +08:00
Nullaha
37600dadd3 docs(components): [tree] update select state when add or remove node (#14916)
docs(components): [tree] Update select state when add or remove node

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-11-13 19:25:22 +08:00
jiaxiang
b208a7e90c docs(style): fix class name repeat (#22739)
* docs: [Watermark] rename class name

* Update docs/examples/watermark/custom.vue

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

* chore: fix

* style: update

* Update docs/examples/autocomplete/custom-header-footer.vue

Co-authored-by: rzzf <cszhjh@gmail.com>

* fix(docs): update

* Update docs/examples/cascader/custom-header-footer.vue

* Update docs/examples/cascader/custom-header-footer.vue

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: rzzf <cszhjh@gmail.com>
2025-11-10 11:39:07 +08:00
zhongli-Leah
0a0903b605 docs(components): [popover] remove unnecessary class names (#22642)
docs(components):[popver] example delete class
2025-10-31 14:04:39 +08:00
linzx-jess
a8e22a0654 docs: fix typo and improve sentence in destroy-on-close example (#22630)
docs(docs): fix typo and improve sentence in destroy-on-close example

When I was reading the guide documentation,
I found this sentence a bit confusing.
It turned out that there was a small typo (“bellow” → “below”)
and the phrasing wasn’t very natural.
So I tried to fix it for better readability.
Thanks to all the maintainers for your hard work!

Co-authored-by: Linzx <14808625+sheldorplus@user.noreply.gitee.com>
2025-10-30 17:49:06 +08:00
linzx-jess
dd6cb9b668 docs: fix customized icon example for consistency with other demos (#22614)
* docs(docs): fix customized icon example for consistency with other demos

This PR fixes the Customized Icon example in Message-box

to make it consistent with others.
Added confirmButtonText and cancelButtonText options to avoid default Chinese labels.
Added ElMessage success and cancel feedback after confirmation or cancellation.
Ensured the example behavior matches other MessageBox demos.

* docs(docs): add import

---------

Co-authored-by: Linzx <14808625+sheldorplus@user.noreply.gitee.com>
2025-10-30 09:33:27 +08:00
Zhong
66b9c7944e docs(components): [tree] fix non-function slot warning in renderContent (#22579) 2025-10-25 10:12:23 +02:00
Zhong
a65d218e22 refactor(components): [tree] improve emit to get type hints (#22526)
* refactor(components): [tree] improve emit to get type hints

* chore: update

* fix: update

* chore: revert example

* docs: update type

Co-authored-by: Dsaquel <291874700n@gmail.com>

* chore: rename event

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

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-10-20 14:43:47 +08:00
Lensiq
1680d14c31 feat(components): [drawer] add support for modal-penetrable prop (#22498)
* feat(components): [drawer] add support for  prop

* fix: update

* docs: update
2025-10-18 16:32:37 +08:00
sea
85f3a97923 docs(components): [dialog] add modal-penetrable to model example (#22517) 2025-10-17 17:39:34 +08:00
一只前端汪
ddf28c98d3 feat(components): [input] add word-limit-position attributes (#22359)
* fix: input maxlength

* fix: make error tip same line

* fix: format

* fix: use     top: 100%;

* feat: expand show-limit-word

* feat: add test

* fix: optimize code

* fix: use nsInput.is and update docs

* fix: update test case

* fix: add wordLimitPosition props

* chore: update docs

* fix: add version tag

* fix: input support outside

* fix: update docs

* fix: add backgroundcolor

* fix: Restore code

* fix: update docs demo

* fix: add input test case

* fix: Remove two useless CSS

* Merge branch 'dev' into input-max-length
2025-10-17 11:46:14 +08:00
一只前端汪
7c16480bcd refactor(style): Update Eslint to V9 and Prettier to V3 (#21949)
* refactor(style): Update Eslint to V9 and Prettier to V3

* fix: vscode color

* fix: vscode color

* chore: remove Useless dependence and old config file

* chore: format

* Merge branch 'dev' into eslintV9

* fix: fix

* fix: ssr test

* fix: ssr test

* fix: use defineConfig

* fix: prettier format and ignore docs dist

* fix: index.mjs => index.js

* fix: Vscode color

* fix: prettier ignore global.d.ts

* fix: format

---------

Co-authored-by: 2586740555 <15972343+CYJ090915@user.noreply.gitee.com>
2025-09-29 14:14:30 +08:00
sea
3b72e183d8 refactor: remove tooltip-v2 visual-hidden components (#22252)
refactor: remove tooltip-v2 components
2025-09-23 22:45:16 +02:00
sea
45cedbb3c5 docs: update import link in lang example (#22298) 2025-09-23 17:40:36 +08:00
jiaxiang
0ff86060ab feat(components): [image-viewer] add error slot (#21961)
* feat(components): [image-viewer] add custom failed content

* Update packages/components/image-viewer/src/image-viewer.vue

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

* feat: rename error slot

* test: add custom load failed slot tests for Image and ImageViewer

* docs: perf dome

* fix: update v

* feat: add activeIndex and src properties

* fix: add key binding to img element for better reactivity

* fix: keep original structure

* fix: restore error source in image load-failed example

* feat: add image preview

* refactor: remove unused var

* fix: update demo

* chore: better contrast for dark mode

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-17 17:46:35 +02:00
Noblet Ouways
e92789c55a docs: reorganize radio documentation (#22144) 2025-09-14 08:42:13 +08:00
Rainbow
a4d6fe2cb4 docs(components): [mention] add an example of using props (#22139) 2025-09-13 07:53:04 +08:00
Zhong
8400d0d998 feat(components): [dropdown] add virtual-ref / virtual-triggering / show-arrow props (#22056)
* feat(components): [dropdown] add `virtual-ref / virtual-triggering / show-arrow` props

* docs: update

* docs: add tag

* test: add case

* chore: format

* docs: update
2025-09-09 09:32:57 +08:00
Rainbow
4a702344e9 docs(components): [checkbox] improve the example of how to use props (#22061) 2025-09-08 09:05:02 +08:00
Rainbow
96ef54ed1e docs(components): [radio] improve the example of how to use props (#22062) 2025-09-08 09:03:00 +08:00
snowbitx
f74e403299 feat(components): [radio-group] support options prop rendering (#21543)
* feat(components): [radio-group] support options

* test: add test case

* docs: tweak doc

* Update basic-usage.vue

* docs: tweak doc

* Update packages/components/radio/src/radio-group.vue

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

* chore: label prop

* Update packages/components/radio/src/radio-group.ts

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

* Update packages/components/radio/src/radio-group.vue

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

* refactor: use ts logic

* Update form.md

* Update message.ts

* refactor: fix effect lost

* refactor: use template logic and update version

* Update radio-group.ts

* Update options.vue

* Update options.vue

* refactor: rename props and  support additional attributes and  render

* chore: default key

* chore: use optionProps

* chore: fix build error

* chore: fix build error

* chore: fix build error

* chore: fix build error

* chore: fix build error

* Update radio-group.vue

* Update basic.vue

* refactor: refer checkbox

* Update pnpm-lock.yaml

* Update pnpm-workspace.yaml

* Update package.json

* Update package.json

* chore: ts error

* Update radio-group.ts

* Update radio-group.ts

* refactor: add more attr support and update version

* refactor: props consistent with select

* Update radio.md

* Update packages/components/radio/src/radio-group.vue

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

* Update packages/components/radio/src/radio-group.vue

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

* chore: type with single line

* chore: fix build error

* chore: delete radioRenderer testcase

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-09-04 17:26:57 +08:00
sea
b9ac07cb68 refactor(components): [drawer] resizable (#21932)
* Revert "drawer resizable #21608"

* refactor: drawer resizable

* feat: direction & event core

* docs: update

* fix: animation conflict

* fix: watchEffect onCleanup hrm error

* test: add resize case

* chore: format

* test: old case typo

* refactor: rel #21595 & add hover style

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: cszhjh <cszhjh@gmail.com>

* chore: del useless file

* chore: del useless file

* chore: rename

Co-authored-by: Dsaquel <291874700n@gmail.com>

* fix: use min resizable error

* fix: multiple resizable style conflicts

* test: fix

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: cszhjh <cszhjh@gmail.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-04 15:33:06 +08:00
Kylin
b174dd07e2 docs(components): [select] demo for adjusting the options property (#21976)
* docs(components): [select] demo for adjusting the options property

* refactor: adjust the position of the props
2025-09-01 10:22:28 +08:00
snowbitx
b83316e151 feat(components): [checkbox-group] support options (#21545)
* feat(components): [checkbox-group] support options

* chore: ts logic

* docs: add doc

* Update checkbox-group.ts

* chore: eslint

* refactor: use ts logic

* refactor: fix effect lost

* test: add test case

* refactor: simplify

* chore: build error

* refactor: use independent getOptionProps

* refactor: rename defaultProps

* Update checkbox-group.vue

* chore: rename optionProps

* refactor: add more attr support

* chore: update version

* chore: changed props

* Update checkbox.md
2025-08-30 07:32:19 +08:00
Noblet Ouways
2144a78880 feat(components): [color-picker-panel] externalize color-picker core component (#21668)
* feat(components): [color-picker-panel] externalize color-picker

chore: save

chore: save

chore: save

test passing

chore: save

chore: save

chore: save

chore: save

chore: save

styles

chore: save

chore: save

chore: save

chore: save

chore: save

chore: cleanup

chore: save

chore: minor tweaks

* chore: better doc

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

* chore: address pr review

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

* chore: fix

* chore: remove extra ̀`.valuè`

* docs: delete useless class in the examples

* chore: apply review

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

* style: add content-box

* chore: use gap instead of margin

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

* chore: use pure

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

* chore: remove extra style

* chore: apply koo review

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

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

* chore: apply narrow screen style

Co-authored-by: 知晓同丶 <zhixiaotong.me@qq.com>

* docs: delete redundant types

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: 知晓同丶 <zhixiaotong.me@qq.com>
2025-08-22 14:13:59 +08:00
八毛钱
5647b3e392 feat(components): [input-tag] add collapse-* prop (#21477)
* feat(components): Add input box label folding function

- Add collapseTags, collapseTagsTooltip, and maxCollapseTags attributes
- Implement the function of tag folding and mouse hovering to display complete content
- Update documentation and sample code

* feat(components): optimize the judgment before out of focus

-New beforeBlur method
-Add input tag list class name to improve the style and layout of tag list
-Add label text wrapping to optimize the display of long text

* feat(docs): 添加标签折叠功能

- 新增 collapse-tags 属性,用于在多选时将标签折叠为文本
- 新增 collapse-tags-tooltip 属性,用于在鼠标悬停时显示折叠标签的完整内容
- 新增 max-collapse-tags 属性,用于设置折叠标签的最大数量

* feat(components): optimize tag display logic

- Add showTagList and collapseTagList calculation properties to control the display of labels
- Modify the label removal logic, and now remove through the label value instead of the index
- Adjust the rendering method of labels to simplify the template structure
- Removed redundant tags text class styles, and directly displayed with tag values

* refactor(components): optimize tags

- Modify the logic of fallback label deletion, and use the index to directly remove the last label
- Reconstruct the tag rendering method and simplify the template structure
- Remove unused CSS classes

* refactor(components): optimize label rendering logic

- Replace the template tag in the template with the el tag component
- Simplify the rendering logic of labels and improve the readability and performance of components

* refactor(components): optimize key binding of tag list

- Change the key of the tag component from item to index

* docs(components): Modify the description of the collapse tags attribute

- Optimize the description of collapse tags attribute

* feat(components): add custom slots for labels

- Add a slot named "tag" in the el tag component

* test(components): add a test case for the collapseTags function

- Test the basic function of the collapseTags attribute
- est the hover effect of the collapseTagsTooltip attribute
- Test the restriction logic of the maxCollapseTags attribute

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

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

* docs(components): update documents

- New features introduced in version 2.11.0 have been added to the document

* test(components): remove comments from unit tests

- Removed unnecessary comments in test code

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-08-21 20:22:03 +08:00
知晓同丶
3b8a590baf docs: improve examples layout for narrow screens (#21489)
* docs: improve examples layout for narrow screens

* docs: style related

* style: [statistic] use utilities

* style: [input] remove deep

* style: [transitions] change style

* refactor: [date-picker-panel] narrow refactor
2025-08-21 10:22:05 +02:00
知晓同丶
98041055b0 feat(components): [message] add placement option & method (#21747)
* feat(components): [message] add `placement` option & method

* fix: resolve test hanging issue caused by reactive circular dependency

* test: add test

* feat: add placement `top-left/top-right/bottom-left/bottom-right`

* refactor: split large normalizeOptions function

* docs: adjust description text

* chore: remove unused height expose

* refactor: simpify code

* style: opt-in center style & simplified animations

* style: replace :not(.center) with :is(.left,.right) for more explicit

* feat: add `placement` to `config-provider`

* fix: fix test warning when placement is undefined

* refactor: remove useless style & simpify types

* fix: avoid circular dependency

* chore: types related

* Update docs/examples/config-provider/message.vue

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

* Update packages/components/config-provider/__tests__/config-provider.test.tsx

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

* chore: make typecheck happy & format

* style: add top/bottom transition

* chore: format

---------

Co-authored-by: zhixiaotong <947803089@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-08-19 15:16:49 +00:00