-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(SegmentedControl): set global focus styles (#5140)
* Revert "revert: set global focus styles (#5114)" This reverts commit 9f37707. * fix(SegmentedControl): add offset to globalFocusStyle * test(SegmentedControl): add e2e focus tests * test(vrt): update snapshots * test(SegmentedControl): only test focus state on button and icon stories * Revert "test(vrt): update snapshots" This reverts commit 5736299. * test(vrt): update snapshots --------- Co-authored-by: francinelucca <francinelucca@users.noreply.github.com>
- Loading branch information
1 parent
a8c7517
commit 73796d3
Showing
58 changed files
with
43 additions
and
0 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 | ||
--- | ||
|
||
fix(SegmentedControl): set global focus styles |
Binary file added
BIN
+7.48 KB
...trol.test.ts-snapshots/SegmentedControl-Default-dark-colorblind-focus-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
+7.61 KB
...pshots/SegmentedControl-Default-dark-colorblind-middle-selected-focus-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
+7.52 KB
...dControl.test.ts-snapshots/SegmentedControl-Default-dark-dimmed-focus-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
+7.61 KB
...-snapshots/SegmentedControl-Default-dark-dimmed-middle-selected-focus-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
+7.48 KB
...egmentedControl.test.ts-snapshots/SegmentedControl-Default-dark-focus-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
+7.49 KB
...l.test.ts-snapshots/SegmentedControl-Default-dark-high-contrast-focus-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
+7.59 KB
...ots/SegmentedControl-Default-dark-high-contrast-middle-selected-focus-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
+7.61 KB
...test.ts-snapshots/SegmentedControl-Default-dark-middle-selected-focus-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
+7.48 KB
...trol.test.ts-snapshots/SegmentedControl-Default-dark-tritanopia-focus-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
+7.61 KB
...pshots/SegmentedControl-Default-dark-tritanopia-middle-selected-focus-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
+7.43 KB
...rol.test.ts-snapshots/SegmentedControl-Default-light-colorblind-focus-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
+7.55 KB
...shots/SegmentedControl-Default-light-colorblind-middle-selected-focus-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
+7.43 KB
...gmentedControl.test.ts-snapshots/SegmentedControl-Default-light-focus-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
+7.46 KB
....test.ts-snapshots/SegmentedControl-Default-light-high-contrast-focus-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
+7.56 KB
...ts/SegmentedControl-Default-light-high-contrast-middle-selected-focus-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
+7.55 KB
...est.ts-snapshots/SegmentedControl-Default-light-middle-selected-focus-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
+7.43 KB
...rol.test.ts-snapshots/SegmentedControl-Default-light-tritanopia-focus-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
+7.55 KB
...shots/SegmentedControl-Default-light-tritanopia-middle-selected-focus-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
...ol.test.ts-snapshots/SegmentedControl-Icon-Only-dark-colorblind-focus-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.53 KB
...hots/SegmentedControl-Icon-Only-dark-colorblind-middle-selected-focus-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
...ontrol.test.ts-snapshots/SegmentedControl-Icon-Only-dark-dimmed-focus-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.49 KB
...napshots/SegmentedControl-Icon-Only-dark-dimmed-middle-selected-focus-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
...mentedControl.test.ts-snapshots/SegmentedControl-Icon-Only-dark-focus-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.28 KB
...test.ts-snapshots/SegmentedControl-Icon-Only-dark-high-contrast-focus-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.55 KB
...s/SegmentedControl-Icon-Only-dark-high-contrast-middle-selected-focus-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.53 KB
...st.ts-snapshots/SegmentedControl-Icon-Only-dark-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.24 KB
...ol.test.ts-snapshots/SegmentedControl-Icon-Only-dark-tritanopia-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.53 KB
...hots/SegmentedControl-Icon-Only-dark-tritanopia-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.26 KB
...l.test.ts-snapshots/SegmentedControl-Icon-Only-light-colorblind-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.53 KB
...ots/SegmentedControl-Icon-Only-light-colorblind-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.26 KB
...entedControl.test.ts-snapshots/SegmentedControl-Icon-Only-light-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.28 KB
...est.ts-snapshots/SegmentedControl-Icon-Only-light-high-contrast-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.55 KB
.../SegmentedControl-Icon-Only-light-high-contrast-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.53 KB
...t.ts-snapshots/SegmentedControl-Icon-Only-light-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.26 KB
...l.test.ts-snapshots/SegmentedControl-Icon-Only-light-tritanopia-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.53 KB
...ots/SegmentedControl-Icon-Only-light-tritanopia-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.84 KB
...l.test.ts-snapshots/SegmentedControl-With-Icons-dark-colorblind-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.98 KB
...ots/SegmentedControl-With-Icons-dark-colorblind-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.85 KB
...ntrol.test.ts-snapshots/SegmentedControl-With-Icons-dark-dimmed-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.93 KB
...apshots/SegmentedControl-With-Icons-dark-dimmed-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.84 KB
...entedControl.test.ts-snapshots/SegmentedControl-With-Icons-dark-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.91 KB
...est.ts-snapshots/SegmentedControl-With-Icons-dark-high-contrast-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.99 KB
.../SegmentedControl-With-Icons-dark-high-contrast-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.98 KB
...t.ts-snapshots/SegmentedControl-With-Icons-dark-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.84 KB
...l.test.ts-snapshots/SegmentedControl-With-Icons-dark-tritanopia-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.98 KB
...ots/SegmentedControl-With-Icons-dark-tritanopia-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.83 KB
....test.ts-snapshots/SegmentedControl-With-Icons-light-colorblind-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.96 KB
...ts/SegmentedControl-With-Icons-light-colorblind-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.83 KB
...ntedControl.test.ts-snapshots/SegmentedControl-With-Icons-light-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.88 KB
...st.ts-snapshots/SegmentedControl-With-Icons-light-high-contrast-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.98 KB
...SegmentedControl-With-Icons-light-high-contrast-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.96 KB
....ts-snapshots/SegmentedControl-With-Icons-light-middle-selected-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.83 KB
....test.ts-snapshots/SegmentedControl-With-Icons-light-tritanopia-focus-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.96 KB
...ts/SegmentedControl-With-Icons-light-tritanopia-middle-selected-focus-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