mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* feat(components): [select] add collapseTagsTooltipAppendTo & test Add collapseTagsTooltipAppendTo prop to control where the collapse-tags tooltip is appended. Wire it to the tag tooltip with fallback to appendTo. Add unit test to verify prop is passed correctly. * docs(docs): add collapseTagsTooltipAppendTo doc * refactor(components): [select]rename collapseTagsTooltipAppendTo prop Rename collapseTagsTooltipAppendTo to tooltipAppendTo Simplify the prop name by removing redundant context Behavior remains unchanged * docs(components): [select] add version tag for tooltipAppendTo prop * Update packages/components/select/__tests__/select.test.ts Co-authored-by: rzzf <cszhjh@gmail.com> * feat(components): [select] add tagTooltip config object Add TagTooltip to support appendTo, placement, fallbackPlacements, effect, popperClass, popperStyle, teleported, popperOptions, showAfter, and offsetWire all tagTooltip properties to the collapse-tags tooltip with fallback to existing select propsProvides more granular control over tooltip behavior while maintaining backward compatibility * docs(components): [select] add tag-tooltip config object doc * docs(components): [select] add default value for fallback-placements * docs(components): [select] update tag-tooltip default value to {} * docs(components): [select]remove string type from TagTooltipProps effect * docs(components): [select] add fallback mechanism tip for tag-tooltip * feat(components): [select] extend TagTooltipProps Add transition, hideAfter, and autoClose properties to TagTooltipProps Update popperStyle type to accept both string and CSSProperties * docs(components): [select] enhance tag-tooltip documentation Add transition, hide-after, and auto-close properties to TagTooltip API table Clarify fallback mechanism with priority order explanation Add custom container positioning tip for append-to usage * docs(components): [select] refine tag-tooltip priority description Co-authored-by: keeplearning66 <1256734885@qq.com> * docs(components): [select] refine effect prop type in tag-tooltip Co-authored-by: keeplearning66 <1256734885@qq.com> * chore: format * docs: apply rabbit comment * feat(components): [select-v2] add TagTooltipProps interface Add TagTooltipProps interface with popper configuration options * feat(components): [select-v2] implement tagTooltip prop * test(components): [select-v2] add tag-tooltip prop test case Add test case to verify tagTooltip prop functionality with appendTo option * docs(components): [select-v2] add tag-tooltip API documentation Add tag-tooltip configuration object to Select V2 API table Add comprehensive tag-tooltip properties section with fallback mechanism explanation and custom container positioning tip * docs(components): [select-v2] add version tag to tag-tooltip prop * fix(components): [select-v2] Optional chain tagTooltip access * fix(components): [select] optional chain tagTooltip access * feat(components): [select-v2] Fix tooltip teleport timing * docs(components): [select-v] add version tag for tag-tooltip Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com> * docs(components): [select] add version tag for tag-tooltip Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com> --------- Co-authored-by: rzzf <cszhjh@gmail.com> Co-authored-by: keeplearning66 <1256734885@qq.com> Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>