-
Notifications
You must be signed in to change notification settings - Fork 525
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 refactor/update-ts-types-for-table
- Loading branch information
Showing
170 changed files
with
1,943 additions
and
1,208 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 | ||
--- | ||
|
||
Updated PageLayout.Pane to conditionally include id prop |
Binary file added
BIN
+7 KB
...omponents/TextInput.test.ts-snapshots/TextInput-Block-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.99 KB
...ts/components/TextInput.test.ts-snapshots/TextInput-Block-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.96 KB
...onents/TextInput.test.ts-snapshots/TextInput-Block-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 KB
...snapshots/components/TextInput.test.ts-snapshots/TextInput-Block-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 KB
...omponents/TextInput.test.ts-snapshots/TextInput-Block-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.02 KB
...mponents/TextInput.test.ts-snapshots/TextInput-Block-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.06 KB
...nents/TextInput.test.ts-snapshots/TextInput-Block-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.02 KB
...napshots/components/TextInput.test.ts-snapshots/TextInput-Block-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.02 KB
...mponents/TextInput.test.ts-snapshots/TextInput-Block-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.02 KB
...ponents/TextInput.test.ts-snapshots/TextInput-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.02 KB
.../components/TextInput.test.ts-snapshots/TextInput-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
+6.99 KB
...ents/TextInput.test.ts-snapshots/TextInput-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.02 KB
...apshots/components/TextInput.test.ts-snapshots/TextInput-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.02 KB
...ponents/TextInput.test.ts-snapshots/TextInput-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.05 KB
...onents/TextInput.test.ts-snapshots/TextInput-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.08 KB
...nts/TextInput.test.ts-snapshots/TextInput-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.05 KB
...pshots/components/TextInput.test.ts-snapshots/TextInput-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.05 KB
...onents/TextInput.test.ts-snapshots/TextInput-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.02 KB
...onents/TextInput.test.ts-snapshots/TextInput-Disabled-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.01 KB
...components/TextInput.test.ts-snapshots/TextInput-Disabled-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.99 KB
...nts/TextInput.test.ts-snapshots/TextInput-Disabled-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.02 KB
...pshots/components/TextInput.test.ts-snapshots/TextInput-Disabled-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.02 KB
...onents/TextInput.test.ts-snapshots/TextInput-Disabled-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.03 KB
...nents/TextInput.test.ts-snapshots/TextInput-Disabled-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.07 KB
...ts/TextInput.test.ts-snapshots/TextInput-Disabled-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.03 KB
...shots/components/TextInput.test.ts-snapshots/TextInput-Disabled-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.03 KB
...nents/TextInput.test.ts-snapshots/TextInput-Disabled-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.21 KB
...omponents/TextInput.test.ts-snapshots/TextInput-Error-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.33 KB
...ts/components/TextInput.test.ts-snapshots/TextInput-Error-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.51 KB
...onents/TextInput.test.ts-snapshots/TextInput-Error-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.45 KB
...snapshots/components/TextInput.test.ts-snapshots/TextInput-Error-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.45 KB
...omponents/TextInput.test.ts-snapshots/TextInput-Error-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.48 KB
...mponents/TextInput.test.ts-snapshots/TextInput-Error-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.52 KB
...nents/TextInput.test.ts-snapshots/TextInput-Error-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.46 KB
...napshots/components/TextInput.test.ts-snapshots/TextInput-Error-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.46 KB
...mponents/TextInput.test.ts-snapshots/TextInput-Error-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.02 KB
...omponents/TextInput.test.ts-snapshots/TextInput-Large-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.02 KB
...ts/components/TextInput.test.ts-snapshots/TextInput-Large-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.99 KB
...onents/TextInput.test.ts-snapshots/TextInput-Large-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.02 KB
...snapshots/components/TextInput.test.ts-snapshots/TextInput-Large-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.02 KB
...omponents/TextInput.test.ts-snapshots/TextInput-Large-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...mponents/TextInput.test.ts-snapshots/TextInput-Large-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.08 KB
...nents/TextInput.test.ts-snapshots/TextInput-Large-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...napshots/components/TextInput.test.ts-snapshots/TextInput-Large-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...mponents/TextInput.test.ts-snapshots/TextInput-Large-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.02 KB
...omponents/TextInput.test.ts-snapshots/TextInput-Small-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.02 KB
...ts/components/TextInput.test.ts-snapshots/TextInput-Small-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.99 KB
...onents/TextInput.test.ts-snapshots/TextInput-Small-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.02 KB
...snapshots/components/TextInput.test.ts-snapshots/TextInput-Small-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.02 KB
...omponents/TextInput.test.ts-snapshots/TextInput-Small-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...mponents/TextInput.test.ts-snapshots/TextInput-Small-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.08 KB
...nents/TextInput.test.ts-snapshots/TextInput-Small-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...napshots/components/TextInput.test.ts-snapshots/TextInput-Small-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.05 KB
...mponents/TextInput.test.ts-snapshots/TextInput-Small-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.68 KB
...ponents/TextInput.test.ts-snapshots/TextInput-Success-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.48 KB
.../components/TextInput.test.ts-snapshots/TextInput-Success-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.47 KB
...ents/TextInput.test.ts-snapshots/TextInput-Success-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.55 KB
...apshots/components/TextInput.test.ts-snapshots/TextInput-Success-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.68 KB
...ponents/TextInput.test.ts-snapshots/TextInput-Success-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.1 KB
...onents/TextInput.test.ts-snapshots/TextInput-Success-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.66 KB
...nts/TextInput.test.ts-snapshots/TextInput-Success-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.71 KB
...pshots/components/TextInput.test.ts-snapshots/TextInput-Success-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.56 KB
...onents/TextInput.test.ts-snapshots/TextInput-Success-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.07 KB
...put.test.ts-snapshots/TextInput-Visually-Hidden-Label-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.09 KB
...xtInput.test.ts-snapshots/TextInput-Visually-Hidden-Label-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.12 KB
....test.ts-snapshots/TextInput-Visually-Hidden-Label-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.07 KB
...ents/TextInput.test.ts-snapshots/TextInput-Visually-Hidden-Label-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.07 KB
...put.test.ts-snapshots/TextInput-Visually-Hidden-Label-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.13 KB
...ut.test.ts-snapshots/TextInput-Visually-Hidden-Label-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.21 KB
...test.ts-snapshots/TextInput-Visually-Hidden-Label-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.13 KB
...nts/TextInput.test.ts-snapshots/TextInput-Visually-Hidden-Label-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.13 KB
...ut.test.ts-snapshots/TextInput-Visually-Hidden-Label-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.4 KB
...ponents/TextInput.test.ts-snapshots/TextInput-Warning-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.34 KB
.../components/TextInput.test.ts-snapshots/TextInput-Warning-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.43 KB
...ents/TextInput.test.ts-snapshots/TextInput-Warning-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.4 KB
...apshots/components/TextInput.test.ts-snapshots/TextInput-Warning-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.4 KB
...ponents/TextInput.test.ts-snapshots/TextInput-Warning-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.56 KB
...onents/TextInput.test.ts-snapshots/TextInput-Warning-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.52 KB
...nts/TextInput.test.ts-snapshots/TextInput-Warning-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.56 KB
...pshots/components/TextInput.test.ts-snapshots/TextInput-Warning-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.56 KB
...onents/TextInput.test.ts-snapshots/TextInput-Warning-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.34 KB
...ts/TextInput.test.ts-snapshots/TextInput-With-Caption-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.3 KB
...onents/TextInput.test.ts-snapshots/TextInput-With-Caption-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.29 KB
...TextInput.test.ts-snapshots/TextInput-With-Caption-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.34 KB
...ts/components/TextInput.test.ts-snapshots/TextInput-With-Caption-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.34 KB
...ts/TextInput.test.ts-snapshots/TextInput-With-Caption-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.38 KB
...s/TextInput.test.ts-snapshots/TextInput-With-Caption-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.39 KB
...extInput.test.ts-snapshots/TextInput-With-Caption-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.38 KB
...s/components/TextInput.test.ts-snapshots/TextInput-With-Caption-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.38 KB
...s/TextInput.test.ts-snapshots/TextInput-With-Caption-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.65 KB
...Input.test.ts-snapshots/TextInput-With-Leading-Visual-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.58 KB
...TextInput.test.ts-snapshots/TextInput-With-Leading-Visual-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.57 KB
...ut.test.ts-snapshots/TextInput-With-Leading-Visual-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.65 KB
...onents/TextInput.test.ts-snapshots/TextInput-With-Leading-Visual-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.65 KB
...Input.test.ts-snapshots/TextInput-With-Leading-Visual-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.68 KB
...nput.test.ts-snapshots/TextInput-With-Leading-Visual-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.76 KB
...t.test.ts-snapshots/TextInput-With-Leading-Visual-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.68 KB
...nents/TextInput.test.ts-snapshots/TextInput-With-Leading-Visual-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.68 KB
...nput.test.ts-snapshots/TextInput-With-Leading-Visual-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.53 KB
...nput.test.ts-snapshots/TextInput-With-Trailing-Action-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.49 KB
...extInput.test.ts-snapshots/TextInput-With-Trailing-Action-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.51 KB
...t.test.ts-snapshots/TextInput-With-Trailing-Action-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.53 KB
...nents/TextInput.test.ts-snapshots/TextInput-With-Trailing-Action-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.53 KB
...nput.test.ts-snapshots/TextInput-With-Trailing-Action-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.56 KB
...put.test.ts-snapshots/TextInput-With-Trailing-Action-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.59 KB
....test.ts-snapshots/TextInput-With-Trailing-Action-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.56 KB
...ents/TextInput.test.ts-snapshots/TextInput-With-Trailing-Action-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.56 KB
...put.test.ts-snapshots/TextInput-With-Trailing-Action-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.8 KB
...tInput.test.ts-snapshots/TextInput-With-Trailing-Icon-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.8 KB
.../TextInput.test.ts-snapshots/TextInput-With-Trailing-Icon-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.8 KB
...put.test.ts-snapshots/TextInput-With-Trailing-Icon-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.8 KB
...ponents/TextInput.test.ts-snapshots/TextInput-With-Trailing-Icon-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.8 KB
...tInput.test.ts-snapshots/TextInput-With-Trailing-Icon-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.9 KB
...Input.test.ts-snapshots/TextInput-With-Trailing-Icon-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.9 KB
...ut.test.ts-snapshots/TextInput-With-Trailing-Icon-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.9 KB
...onents/TextInput.test.ts-snapshots/TextInput-With-Trailing-Icon-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.9 KB
...Input.test.ts-snapshots/TextInput-With-Trailing-Icon-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.3 KB
...hTokens.test.ts-snapshots/TextInputWithTokens-Default-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.2 KB
...tWithTokens.test.ts-snapshots/TextInputWithTokens-Default-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.5 KB
...kens.test.ts-snapshots/TextInputWithTokens-Default-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.3 KB
...extInputWithTokens.test.ts-snapshots/TextInputWithTokens-Default-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.3 KB
...hTokens.test.ts-snapshots/TextInputWithTokens-Default-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.4 KB
...Tokens.test.ts-snapshots/TextInputWithTokens-Default-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.8 KB
...ens.test.ts-snapshots/TextInputWithTokens-Default-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.4 KB
...xtInputWithTokens.test.ts-snapshots/TextInputWithTokens-Default-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.4 KB
...Tokens.test.ts-snapshots/TextInputWithTokens-Default-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.8 KB
....ts-snapshots/TextInputWithTokens-With-Leading-Visual-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.6 KB
...test.ts-snapshots/TextInputWithTokens-With-Leading-Visual-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.9 KB
...-snapshots/TextInputWithTokens-With-Leading-Visual-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.8 KB
...Tokens.test.ts-snapshots/TextInputWithTokens-With-Leading-Visual-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.8 KB
....ts-snapshots/TextInputWithTokens-With-Leading-Visual-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.9 KB
...ts-snapshots/TextInputWithTokens-With-Leading-Visual-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.2 KB
...snapshots/TextInputWithTokens-With-Leading-Visual-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.9 KB
...okens.test.ts-snapshots/TextInputWithTokens-With-Leading-Visual-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.9 KB
...ts-snapshots/TextInputWithTokens-With-Leading-Visual-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.5 KB
...ts-snapshots/TextInputWithTokens-With-Trailing-Visual-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.3 KB
...est.ts-snapshots/TextInputWithTokens-With-Trailing-Visual-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.6 KB
...snapshots/TextInputWithTokens-With-Trailing-Visual-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.5 KB
...okens.test.ts-snapshots/TextInputWithTokens-With-Trailing-Visual-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.5 KB
...ts-snapshots/TextInputWithTokens-With-Trailing-Visual-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.6 KB
...s-snapshots/TextInputWithTokens-With-Trailing-Visual-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.9 KB
...napshots/TextInputWithTokens-With-Trailing-Visual-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.6 KB
...kens.test.ts-snapshots/TextInputWithTokens-With-Trailing-Visual-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.6 KB
...s-snapshots/TextInputWithTokens-With-Trailing-Visual-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,369 @@ | ||
import {test, expect} from '@playwright/test' | ||
import {visit} from '../test-helpers/storybook' | ||
import {themes} from '../test-helpers/themes' | ||
|
||
test.describe('TextInput', () => { | ||
test.describe('Default', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput--default', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`TextInput.Default.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput--default', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Block', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--block', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`TextInput.Block.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--block', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Disabled', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--disabled', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`TextInput.Disabled.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--disabled', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Error', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--error', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot({animations: 'disabled'})).toMatchSnapshot(`TextInput.Error.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--error', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Large', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--large', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`TextInput.Large.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--large', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Small', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--small', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`TextInput.Small.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--small', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Success', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--success', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot({animations: 'disabled'})).toMatchSnapshot(`TextInput.Success.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--success', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Visually Hidden Label', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--visually-hidden-label', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`TextInput.Visually Hidden Label.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--visually-hidden-label', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Warning', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--warning', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot({animations: 'disabled'})).toMatchSnapshot(`TextInput.Warning.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--warning', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('With Caption', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--with-caption', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`TextInput.With Caption.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--with-caption', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('With Leading Visual', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--with-leading-visual', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`TextInput.With Leading Visual.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--with-leading-visual', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('With Trailing Action', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--with-trailing-action', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`TextInput.With Trailing Action.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--with-trailing-action', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('With Trailing Icon', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--with-trailing-icon', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`TextInput.With Trailing Icon.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-textinput-features--with-trailing-icon', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
}) |
Oops, something went wrong.