-
Notifications
You must be signed in to change notification settings - Fork 549
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(UnderlinePanels): add dev stories and update e2e tests (#5348)
* add vrt snapshots * test(vrt): update snapshots * fix vrt id --------- Co-authored-by: randall-krauskopf <[email protected]>
- Loading branch information
1 parent
00da88a
commit e2a85e0
Showing
74 changed files
with
81 additions
and
231 deletions.
There are no files selected for viewing
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
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-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
+12.1 KB
...napshots/UnderlinePanels-Labelled-By-External-Element-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
+12.2 KB
...ts-snapshots/UnderlinePanels-Labelled-By-External-Element-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
+12 KB
...shots/UnderlinePanels-Labelled-By-External-Element-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
+12.1 KB
...s.test.ts-snapshots/UnderlinePanels-Labelled-By-External-Element-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
+12.1 KB
...napshots/UnderlinePanels-Labelled-By-External-Element-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
+12 KB
...apshots/UnderlinePanels-Labelled-By-External-Element-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
+11.6 KB
...hots/UnderlinePanels-Labelled-By-External-Element-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
+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
20 changes: 20 additions & 0 deletions
20
packages/react/src/experimental/UnderlinePanels/UnderlinePanels.dev.stories.tsx
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,20 @@ | ||
import React from 'react' | ||
import type {Meta} from '@storybook/react' | ||
import UnderlinePanels from './UnderlinePanels' | ||
import type {ComponentProps} from '../../utils/types' | ||
|
||
export default { | ||
title: 'Experimental/Components/UnderlinePanels/Dev', | ||
component: UnderlinePanels, | ||
} as Meta<ComponentProps<typeof UnderlinePanels>> | ||
|
||
export const Default = () => ( | ||
<UnderlinePanels aria-label="Select a tab"> | ||
<UnderlinePanels.Tab>Tab 1</UnderlinePanels.Tab> | ||
<UnderlinePanels.Tab>Tab 2</UnderlinePanels.Tab> | ||
<UnderlinePanels.Tab>Tab 3</UnderlinePanels.Tab> | ||
<UnderlinePanels.Panel>Panel 1</UnderlinePanels.Panel> | ||
<UnderlinePanels.Panel>Panel 2</UnderlinePanels.Panel> | ||
<UnderlinePanels.Panel>Panel 3</UnderlinePanels.Panel> | ||
</UnderlinePanels> | ||
) |