-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into css_modules_remove_feature_flag_text
- Loading branch information
Showing
135 changed files
with
943 additions
and
483 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 | ||
--- | ||
|
||
BugFix: Fix issue in ButtonGroup Overlay screenshots by updating the selector to use `:is(button, a)` and `:first-of-type` and `:last-of-type` pseudo-classes. |
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": minor | ||
--- | ||
|
||
Convert SegmentedControl to use CSS modules behind feature flag |
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 | ||
--- | ||
|
||
docs: fix *.docs.json story ids |
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": minor | ||
--- | ||
|
||
Convert `Pagination` component to use CSS modules |
Binary file added
BIN
+4.61 KB
...s/BaseStyles.test.ts-snapshots/BaseStyles-Dev-Default-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
+4.61 KB
...nents/BaseStyles.test.ts-snapshots/BaseStyles-Dev-Default-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
+4.62 KB
...aseStyles.test.ts-snapshots/BaseStyles-Dev-Default-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
+4.61 KB
...s/components/BaseStyles.test.ts-snapshots/BaseStyles-Dev-Default-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
+4.61 KB
...s/BaseStyles.test.ts-snapshots/BaseStyles-Dev-Default-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
+4.63 KB
.../BaseStyles.test.ts-snapshots/BaseStyles-Dev-Default-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
+4.62 KB
...seStyles.test.ts-snapshots/BaseStyles-Dev-Default-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
+4.63 KB
.../components/BaseStyles.test.ts-snapshots/BaseStyles-Dev-Default-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
+4.63 KB
.../BaseStyles.test.ts-snapshots/BaseStyles-Dev-Default-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 modified
BIN
+5.87 KB
(160%)
...rol.test.ts-snapshots/FormControl-With-Leading-Visual-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 modified
BIN
+5.74 KB
(160%)
...Control.test.ts-snapshots/FormControl-With-Leading-Visual-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 modified
BIN
+6.03 KB
(160%)
....test.ts-snapshots/FormControl-With-Leading-Visual-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 modified
BIN
+5.87 KB
(160%)
...ts/FormControl.test.ts-snapshots/FormControl-With-Leading-Visual-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 modified
BIN
+5.87 KB
(160%)
...rol.test.ts-snapshots/FormControl-With-Leading-Visual-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 modified
BIN
+5.93 KB
(160%)
...ol.test.ts-snapshots/FormControl-With-Leading-Visual-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 modified
BIN
+6.02 KB
(160%)
...test.ts-snapshots/FormControl-With-Leading-Visual-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 modified
BIN
+5.93 KB
(160%)
...s/FormControl.test.ts-snapshots/FormControl-With-Leading-Visual-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 modified
BIN
+5.93 KB
(160%)
...ol.test.ts-snapshots/FormControl-With-Leading-Visual-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 modified
BIN
+309 Bytes
(100%)
...erlay.test.ts-snapshots/Overlay-Memex-Nested-Overlays-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 modified
BIN
+634 Bytes
(100%)
...s/Overlay.test.ts-snapshots/Overlay-Memex-Nested-Overlays-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 modified
BIN
+315 Bytes
(100%)
...ay.test.ts-snapshots/Overlay-Memex-Nested-Overlays-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 modified
BIN
+457 Bytes
(100%)
...mponents/Overlay.test.ts-snapshots/Overlay-Memex-Nested-Overlays-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 modified
BIN
+309 Bytes
(100%)
...erlay.test.ts-snapshots/Overlay-Memex-Nested-Overlays-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 modified
BIN
+879 Bytes
(110%)
...rlay.test.ts-snapshots/Overlay-Memex-Nested-Overlays-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 modified
BIN
+313 Bytes
(100%)
...y.test.ts-snapshots/Overlay-Memex-Nested-Overlays-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 modified
BIN
+296 Bytes
(100%)
...ponents/Overlay.test.ts-snapshots/Overlay-Memex-Nested-Overlays-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
+299 Bytes
(100%)
...rlay.test.ts-snapshots/Overlay-Memex-Nested-Overlays-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+110 Bytes
(100%)
.../Overlay.test.ts-snapshots/Overlay-Nested-Overlays-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+134 Bytes
(100%)
...Overlay.test.ts-snapshots/Overlay-Nested-Overlays-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...rlinePanels.test.ts-snapshots/UnderlinePanels-Default-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.08 KB
...UnderlinePanels.test.ts-snapshots/UnderlinePanels-Default-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.01 KB
...nePanels.test.ts-snapshots/UnderlinePanels-Default-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...onents/UnderlinePanels.test.ts-snapshots/UnderlinePanels-Default-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...rlinePanels.test.ts-snapshots/UnderlinePanels-Default-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.07 KB
...linePanels.test.ts-snapshots/UnderlinePanels-Default-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.02 KB
...ePanels.test.ts-snapshots/UnderlinePanels-Default-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.07 KB
...nents/UnderlinePanels.test.ts-snapshots/UnderlinePanels-Default-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.07 KB
...linePanels.test.ts-snapshots/UnderlinePanels-Default-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...ePanels.test.ts-snapshots/UnderlinePanels-Dev-Default-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.08 KB
...rlinePanels.test.ts-snapshots/UnderlinePanels-Dev-Default-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.01 KB
...nels.test.ts-snapshots/UnderlinePanels-Dev-Default-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...ts/UnderlinePanels.test.ts-snapshots/UnderlinePanels-Dev-Default-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...ePanels.test.ts-snapshots/UnderlinePanels-Dev-Default-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.07 KB
...Panels.test.ts-snapshots/UnderlinePanels-Dev-Default-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.02 KB
...els.test.ts-snapshots/UnderlinePanels-Dev-Default-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.07 KB
...s/UnderlinePanels.test.ts-snapshots/UnderlinePanels-Dev-Default-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.07 KB
...Panels.test.ts-snapshots/UnderlinePanels-Dev-Default-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.1 KB
...napshots/UnderlinePanels-Labelled-By-External-Element-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.2 KB
...ts-snapshots/UnderlinePanels-Labelled-By-External-Element-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+12 KB
...shots/UnderlinePanels-Labelled-By-External-Element-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.1 KB
...s.test.ts-snapshots/UnderlinePanels-Labelled-By-External-Element-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.1 KB
...napshots/UnderlinePanels-Labelled-By-External-Element-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+12 KB
...apshots/UnderlinePanels-Labelled-By-External-Element-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.6 KB
...hots/UnderlinePanels-Labelled-By-External-Element-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+12 KB
....test.ts-snapshots/UnderlinePanels-Labelled-By-External-Element-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+12 KB
...apshots/UnderlinePanels-Labelled-By-External-Element-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.79 KB
...Panels.test.ts-snapshots/UnderlinePanels-Selected-Tab-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.8 KB
...linePanels.test.ts-snapshots/UnderlinePanels-Selected-Tab-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.76 KB
...els.test.ts-snapshots/UnderlinePanels-Selected-Tab-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.79 KB
...s/UnderlinePanels.test.ts-snapshots/UnderlinePanels-Selected-Tab-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.79 KB
...Panels.test.ts-snapshots/UnderlinePanels-Selected-Tab-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.81 KB
...anels.test.ts-snapshots/UnderlinePanels-Selected-Tab-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.77 KB
...ls.test.ts-snapshots/UnderlinePanels-Selected-Tab-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.81 KB
.../UnderlinePanels.test.ts-snapshots/UnderlinePanels-Selected-Tab-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.81 KB
...anels.test.ts-snapshots/UnderlinePanels-Selected-Tab-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.75 KB
...pshots/UnderlinePanels-With-Counters-In-Loading-State-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.79 KB
...-snapshots/UnderlinePanels-With-Counters-In-Loading-State-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.78 KB
...ots/UnderlinePanels-With-Counters-In-Loading-State-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.75 KB
...test.ts-snapshots/UnderlinePanels-With-Counters-In-Loading-State-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.75 KB
...pshots/UnderlinePanels-With-Counters-In-Loading-State-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.73 KB
...shots/UnderlinePanels-With-Counters-In-Loading-State-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.73 KB
...ts/UnderlinePanels-With-Counters-In-Loading-State-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.73 KB
...est.ts-snapshots/UnderlinePanels-With-Counters-In-Loading-State-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.73 KB
...shots/UnderlinePanels-With-Counters-In-Loading-State-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.5 KB
...anels.test.ts-snapshots/UnderlinePanels-With-Counters-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.55 KB
...inePanels.test.ts-snapshots/UnderlinePanels-With-Counters-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.81 KB
...ls.test.ts-snapshots/UnderlinePanels-With-Counters-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.5 KB
.../UnderlinePanels.test.ts-snapshots/UnderlinePanels-With-Counters-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.5 KB
...anels.test.ts-snapshots/UnderlinePanels-With-Counters-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.45 KB
...nels.test.ts-snapshots/UnderlinePanels-With-Counters-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.7 KB
...s.test.ts-snapshots/UnderlinePanels-With-Counters-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.45 KB
...UnderlinePanels.test.ts-snapshots/UnderlinePanels-With-Counters-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.45 KB
...nels.test.ts-snapshots/UnderlinePanels-With-Counters-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.8 KB
...ts/UnderlinePanels-With-Icons-Hidden-On-Narrow-Screen-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.6 KB
...pshots/UnderlinePanels-With-Icons-Hidden-On-Narrow-Screen-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.8 KB
...UnderlinePanels-With-Icons-Hidden-On-Narrow-Screen-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.8 KB
....ts-snapshots/UnderlinePanels-With-Icons-Hidden-On-Narrow-Screen-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.8 KB
...ts/UnderlinePanels-With-Icons-Hidden-On-Narrow-Screen-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.8 KB
...s/UnderlinePanels-With-Icons-Hidden-On-Narrow-Screen-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.8 KB
...nderlinePanels-With-Icons-Hidden-On-Narrow-Screen-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.8 KB
...ts-snapshots/UnderlinePanels-With-Icons-Hidden-On-Narrow-Screen-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+12.8 KB
...s/UnderlinePanels-With-Icons-Hidden-On-Narrow-Screen-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.27 KB
...nePanels.test.ts-snapshots/UnderlinePanels-With-Icons-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.3 KB
...erlinePanels.test.ts-snapshots/UnderlinePanels-With-Icons-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.2 KB
...anels.test.ts-snapshots/UnderlinePanels-With-Icons-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.27 KB
...nts/UnderlinePanels.test.ts-snapshots/UnderlinePanels-With-Icons-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.27 KB
...nePanels.test.ts-snapshots/UnderlinePanels-With-Icons-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.27 KB
...ePanels.test.ts-snapshots/UnderlinePanels-With-Icons-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.11 KB
...nels.test.ts-snapshots/UnderlinePanels-With-Icons-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.27 KB
...ts/UnderlinePanels.test.ts-snapshots/UnderlinePanels-With-Icons-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.27 KB
...ePanels.test.ts-snapshots/UnderlinePanels-With-Icons-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import {test, expect} from '@playwright/test' | ||
import {visit} from '../test-helpers/storybook' | ||
import {themes} from '../test-helpers/themes' | ||
|
||
const stories = [ | ||
{ | ||
id: 'behaviors-basestyles-dev--default', | ||
title: 'Dev Default', | ||
}, | ||
] as const | ||
|
||
test.describe('BaseStyles', () => { | ||
for (const story of stories) { | ||
test.describe(story.title, () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: story.id, | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot({animations: 'disabled'})).toMatchSnapshot( | ||
`BaseStyles.${story.title}.${theme}.png`, | ||
) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: story.id, | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
} | ||
}) |
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
Oops, something went wrong.