-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(StopoverArrow): migrate to tailwind
- Loading branch information
1 parent
e0b5d1a
commit e676cc0
Showing
30 changed files
with
49 additions
and
25 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
15 changes: 15 additions & 0 deletions
15
packages/orbit-components/src/StopoverArrow/StopoverArrow.ct-story.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,15 @@ | ||
import * as React from "react"; | ||
|
||
import STOPS from "./consts"; | ||
|
||
import StopoverArrow from "."; | ||
|
||
export default function StopoverArrowStory() { | ||
return ( | ||
<div className="p-md"> | ||
{Object.values(STOPS).map(stops => ( | ||
<StopoverArrow stops={stops} /> | ||
))} | ||
</div> | ||
); | ||
} |
23 changes: 23 additions & 0 deletions
23
packages/orbit-components/src/StopoverArrow/StopoverArrow.ct.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,23 @@ | ||
import * as React from "react"; | ||
import { test, expect } from "@playwright/experimental-ct-react"; | ||
|
||
import StopoverArrowStory from "./StopoverArrow.ct-story"; | ||
import RenderInRtl from "../utils/rtl/RenderInRtl"; | ||
|
||
test.describe("visual StopoverArrow", () => { | ||
test("default", async ({ mount }) => { | ||
const component = await mount(<StopoverArrowStory />); | ||
|
||
await expect(component).toHaveScreenshot(); | ||
}); | ||
|
||
test("rtl", async ({ mount }) => { | ||
const component = await mount( | ||
<RenderInRtl> | ||
<StopoverArrowStory /> | ||
</RenderInRtl>, | ||
); | ||
|
||
await expect(component).toHaveScreenshot(); | ||
}); | ||
}); |
Binary file added
BIN
+781 Bytes
...topoverArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Desktop-darwin.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
+1.1 KB
...StopoverArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Desktop-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
+953 Bytes
...rArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Large-Desktop-darwin.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
+1.39 KB
...erArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Large-Desktop-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
+1.69 KB
...erArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Large-Mobile-darwin.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
+973 Bytes
...verArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Large-Mobile-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
+1.49 KB
...rArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Medium-Mobile-darwin.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
+927 Bytes
...erArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Medium-Mobile-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
+1.4 KB
...erArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Small-Mobile-darwin.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
+895 Bytes
...verArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Small-Mobile-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
+1.92 KB
...StopoverArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Tablet-darwin.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
+1009 Bytes
.../StopoverArrow.ct.tsx-snapshots/visual-StopoverArrow-default-1-Tablet-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
+788 Bytes
...ow/StopoverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Desktop-darwin.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
+1.08 KB
...row/StopoverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Desktop-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
+988 Bytes
...poverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Large-Desktop-darwin.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
+1.39 KB
...opoverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Large-Desktop-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
+1.63 KB
...opoverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Large-Mobile-darwin.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
+957 Bytes
...topoverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Large-Mobile-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
+1.46 KB
...poverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Medium-Mobile-darwin.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
+914 Bytes
...opoverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Medium-Mobile-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
+1.35 KB
...opoverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Small-Mobile-darwin.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
+882 Bytes
...topoverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Small-Mobile-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
+1.87 KB
...row/StopoverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Tablet-darwin.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
+996 Bytes
...rrow/StopoverArrow.ct.tsx-snapshots/visual-StopoverArrow-rtl-1-Tablet-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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