-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ui): update card component to match new designs (ENG-58155)
- Loading branch information
1 parent
6817c15
commit 19b8e31
Showing
6 changed files
with
125 additions
and
129 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 |
---|---|---|
@@ -1,77 +1,91 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Card Rendering Render the Card component with default props 1`] = ` | ||
<a | ||
<Layer | ||
className="Card" | ||
> | ||
<span | ||
className="Card__title" | ||
<a | ||
className="Card__link" | ||
> | ||
Add Host record | ||
</span> | ||
</a> | ||
<div> | ||
<span | ||
className="Card__title" | ||
> | ||
Add Host record | ||
</span> | ||
</div> | ||
<div | ||
className="Card__iconContainer" | ||
> | ||
<ArrowRight | ||
className="Card__arrowRight" | ||
size={20} | ||
/> | ||
</div> | ||
</a> | ||
</Layer> | ||
`; | ||
|
||
exports[`Card Rendering Render the Card component with props 1`] = ` | ||
<a | ||
<Layer | ||
className="Card test_cn" | ||
href="#" | ||
> | ||
<span | ||
className="Card__title" | ||
> | ||
Add Host Record | ||
</span> | ||
<span | ||
className="Card__description" | ||
<a | ||
className="Card__link" | ||
href="#" | ||
> | ||
Add a host record on BAM | ||
</span> | ||
<span> | ||
<span | ||
className="Card__pathTitle" | ||
> | ||
Path | ||
</span> | ||
<span | ||
className="Card__path" | ||
<div> | ||
<span | ||
className="Card__title" | ||
> | ||
Add Host Record | ||
</span> | ||
<span | ||
className="Card__description" | ||
> | ||
Add a host record on BAM | ||
</span> | ||
</div> | ||
<div | ||
className="Card__iconContainer" | ||
> | ||
Host Record | ||
</span> | ||
</span> | ||
</a> | ||
<ArrowRight | ||
className="Card__arrowRight" | ||
size={20} | ||
/> | ||
</div> | ||
</a> | ||
</Layer> | ||
`; | ||
|
||
exports[`Card Rendering Render the Card component with pseudo translated text 1`] = ` | ||
<a | ||
<Layer | ||
className="Card test_cn" | ||
href="#" | ||
> | ||
<span | ||
className="Card__title" | ||
<a | ||
className="Card__link" | ||
href="#" | ||
> | ||
Add Host Record | ||
</span> | ||
<span | ||
className="Card__description" | ||
> | ||
Add a host record on BAM | ||
</span> | ||
<span> | ||
<span | ||
className="Card__pathTitle" | ||
> | ||
Pââth | ||
</span> | ||
<span | ||
className="Card__path" | ||
<div> | ||
<span | ||
className="Card__title" | ||
> | ||
Add Host Record | ||
</span> | ||
<span | ||
className="Card__description" | ||
> | ||
Add a host record on BAM | ||
</span> | ||
</div> | ||
<div | ||
className="Card__iconContainer" | ||
> | ||
Host Record | ||
</span> | ||
</span> | ||
</a> | ||
<ArrowRight | ||
className="Card__arrowRight" | ||
size={20} | ||
/> | ||
</div> | ||
</a> | ||
</Layer> | ||
`; |
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
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