-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ButtonGroup: Fix button and icon button styling when tooltips are use…
…d on them (#4210) * fix button group styling for tooltip and tooltip v2 * Add changeset * take the a tag into account when styling * add e2e tests for the buttons groups that use tooltip * test(vrt): update snapshots --------- Co-authored-by: broccolinisoup <broccolinisoup@users.noreply.github.com>
- Loading branch information
1 parent
9f298ef
commit 3acbd80
Showing
59 changed files
with
321 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@primer/react': patch | ||
--- | ||
|
||
ButtonGroup: Fix button and icon button styling when tooltips are used on them |
Binary file added
BIN
+8.11 KB
....ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-2-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.13 KB
...test.ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-2-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.11 KB
...-snapshots/ButtonGroup-Button-Group-With-Tooltip-2-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.11 KB
...nGroup.test.ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-2-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.11 KB
....ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-2-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.12 KB
...ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-2-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.18 KB
...snapshots/ButtonGroup-Button-Group-With-Tooltip-2-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.12 KB
...Group.test.ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-2-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.12 KB
...ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-2-light-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.19 KB
...st.ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.2 KB
...p.test.ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.22 KB
...ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.19 KB
...tonGroup.test.ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.19 KB
...st.ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.23 KB
...t.ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.28 KB
...s-snapshots/ButtonGroup-Button-Group-With-Tooltip-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.22 KB
...onGroup.test.ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.23 KB
...t.ts-snapshots/ButtonGroup-Button-Group-With-Tooltip-light-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.21 KB
....ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-2-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.16 KB
...test.ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-2-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.24 KB
...-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-2-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.21 KB
...nGroup.test.ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-2-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.21 KB
....ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-2-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.29 KB
...ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-2-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.32 KB
...snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-2-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.29 KB
...Group.test.ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-2-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.29 KB
...ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-2-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.3 KB
...st.ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.27 KB
...p.test.ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.37 KB
...ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.29 KB
...tonGroup.test.ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.3 KB
...st.ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.4 KB
...t.ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.43 KB
...s-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.4 KB
...onGroup.test.ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.4 KB
...t.ts-snapshots/ButtonGroup-Icon-Buttons-With-Tooltip-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.21 KB
...up.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-2-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.16 KB
...nGroup.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-2-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.24 KB
...test.ts-snapshots/ButtonGroup-Links-With-Tooltip-2-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.21 KB
...s/ButtonGroup.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-2-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.21 KB
...up.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-2-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.29 KB
...p.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-2-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.32 KB
...est.ts-snapshots/ButtonGroup-Links-With-Tooltip-2-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.29 KB
.../ButtonGroup.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-2-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.29 KB
...p.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-2-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.19 KB
...roup.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.2 KB
...tonGroup.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.22 KB
...p.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.19 KB
...nts/ButtonGroup.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.19 KB
...roup.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.23 KB
...oup.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.27 KB
....test.ts-snapshots/ButtonGroup-Links-With-Tooltip-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.22 KB
...ts/ButtonGroup.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.23 KB
...oup.test.ts-snapshots/ButtonGroup-Links-With-Tooltip-light-tritanopia-linux.png
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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