feat(react-tooltip): add secondary content - #36492
Draft
petdud wants to merge 3 commits into
Draft
Conversation
added 2 commits
August 2, 2026 22:14
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: d310308-5b2c-46e6-ac1a-e5a717893d8f
|
Pull request demo site: URL |
| @@ -1,6 +1,7 @@ | |||
| import * as React from 'react'; | |||
There was a problem hiding this comment.
🕵🏾♀️ visual changes to review in the Visual Change Report
vr-tests-react-components/CalendarCompat 4 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-react-components/CalendarCompat.multiDayView - High Contrast.default.chromium.png | 1228 | Changed |
| vr-tests-react-components/CalendarCompat.multiDayView.default.chromium_1.png | 489 | Changed |
| vr-tests-react-components/CalendarCompat.multiDayView - Dark Mode.default.chromium.png | 1103 | Changed |
| vr-tests-react-components/CalendarCompat.multiDayView - RTL.default.chromium.png | 494 | Changed |
vr-tests-react-components/Menu 1 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-react-components/Menu.Nested Submenus Small Viewport Stacked.nested menu.chromium.png | 841 | Changed |
vr-tests-react-components/Menu Converged - submenuIndicator slotted content 1 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-react-components/Menu Converged - submenuIndicator slotted content.default.submenus open.chromium.png | 413 | Changed |
vr-tests-react-components/Positioning 2 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-react-components/Positioning.Positioning end.chromium.png | 957 | Changed |
| vr-tests-react-components/Positioning.Positioning end.updated 2 times.chromium.png | 744 | Changed |
vr-tests-react-components/ProgressBar converged 3 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-react-components/ProgressBar converged.Indeterminate + thickness - Dark Mode.default.chromium.png | 40 | Changed |
| vr-tests-react-components/ProgressBar converged.Indeterminate + thickness.default.chromium.png | 27 | Changed |
| vr-tests-react-components/ProgressBar converged.Indeterminate + thickness - High Contrast.default.chromium.png | 35 | Changed |
vr-tests-react-components/TagPicker 2 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-react-components/TagPicker.disabled - Dark Mode.chromium.png | 658 | Changed |
| vr-tests-react-components/TagPicker.disabled.chromium.png | 677 | Changed |
vr-tests-react-components/Tooltip Converged 3 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-react-components/Tooltip Converged.secondary content - Dark Mode.default.chromium.png | 0 | Added |
| vr-tests-react-components/Tooltip Converged.secondary content - High Contrast.default.chromium.png | 0 | Added |
| vr-tests-react-components/Tooltip Converged.secondary content.default.chromium.png | 0 | Added |
There were 3 duplicate changes discarded. Check the build logs for more information.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: d310308-5b2c-46e6-ac1a-e5a717893d8f
📊 Bundle size reportUnchanged fixtures
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Previous Behavior
Tooltip only supported a single
contentregion. Applications commonly appended supporting information to the primary label instead of using the same primary/secondary hierarchy available in MenuItem.New Behavior
secondaryContentslot to Tooltip, consistent with MenuItem.secondaryContentis not provided.Design review
secondaryContentname and the distinction between primary content and short supporting metadata.Related Issue(s)