-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17637a8
commit f0f41aa
Showing
140 changed files
with
848 additions
and
829 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": minor | ||
--- | ||
|
||
Remove the CSS modules feature flag from Checkbox |
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 | ||
--- | ||
|
||
Update `Token`, `IssueLabelToken`, `AvatarToken` components to use CSS Modules |
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 | ||
--- | ||
|
||
Update FormControl sub-components to use new styled components format for migration |
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 | ||
--- | ||
|
||
Remove the CSS modules feature flag from Checkbox |
This file was deleted.
Oops, something went wrong.
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 added
BIN
+7.05 KB
...rlinePanels.test.ts-snapshots/UnderlinePanels-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
+7.08 KB
...UnderlinePanels.test.ts-snapshots/UnderlinePanels-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
+7.01 KB
...nePanels.test.ts-snapshots/UnderlinePanels-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
+7.05 KB
...onents/UnderlinePanels.test.ts-snapshots/UnderlinePanels-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
+7.05 KB
...rlinePanels.test.ts-snapshots/UnderlinePanels-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
+7.07 KB
...linePanels.test.ts-snapshots/UnderlinePanels-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
+7.02 KB
...ePanels.test.ts-snapshots/UnderlinePanels-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
+7.07 KB
...nents/UnderlinePanels.test.ts-snapshots/UnderlinePanels-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
+7.07 KB
...linePanels.test.ts-snapshots/UnderlinePanels-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 added
BIN
+7.05 KB
...ePanels.test.ts-snapshots/UnderlinePanels-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
+7.08 KB
...rlinePanels.test.ts-snapshots/UnderlinePanels-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
+7.01 KB
...nels.test.ts-snapshots/UnderlinePanels-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
+7.05 KB
...ts/UnderlinePanels.test.ts-snapshots/UnderlinePanels-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
+7.05 KB
...ePanels.test.ts-snapshots/UnderlinePanels-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
+7.07 KB
...Panels.test.ts-snapshots/UnderlinePanels-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
+7.02 KB
...els.test.ts-snapshots/UnderlinePanels-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
+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() | ||
}) | ||
}) | ||
} | ||
}) | ||
} | ||
}) |
Oops, something went wrong.