-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: TomMenga <[email protected]>
- Loading branch information
1 parent
d6b0143
commit 83af539
Showing
8 changed files
with
214 additions
and
49 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
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
197 changes: 197 additions & 0 deletions
197
src/components/link-list/__snapshots__/link-list.spec.snap.js
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,197 @@ | ||
/* @web/test-runner snapshot v1 */ | ||
export const snapshots = {}; | ||
|
||
snapshots['sbb-link-list rendered with a slotted title'] = `<sbb-link-list | ||
orientation="vertical" | ||
size="s" | ||
title-level="2" | ||
> | ||
<span slot="title"> | ||
Help & Contact | ||
</span> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-0" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Rückerstattungen | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-1" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Fundbüro | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-2" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Beschwerden | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-3" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Lob aussprechen | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-4" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Sachbeschädigung melden | ||
</sbb-link> | ||
</sbb-link-list> | ||
`; | ||
/* end snapshot sbb-link-list rendered with a slotted title */ | ||
|
||
snapshots['sbb-link-list rendered with a title from properties'] = `<sbb-link-list | ||
orientation="vertical" | ||
size="s" | ||
title-content="Help & Contact" | ||
title-level="2" | ||
> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-0" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Rückerstattungen | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-1" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Fundbüro | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-2" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Beschwerden | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-3" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Lob aussprechen | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-4" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Sachbeschädigung melden | ||
</sbb-link> | ||
</sbb-link-list> | ||
`; | ||
/* end snapshot sbb-link-list rendered with a title from properties */ | ||
|
||
snapshots['sbb-link-list rendered without a title'] = `<sbb-link-list | ||
orientation="vertical" | ||
size="s" | ||
> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-0" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Rückerstattungen | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-1" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Fundbüro | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-2" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Beschwerden | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-3" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Lob aussprechen | ||
</sbb-link> | ||
<sbb-link | ||
dir="ltr" | ||
href="https://www.sbb.ch/de/hilfe-und-kontakt/erstattung-entschaedigung/rueckerstattung-von-billetten.html" | ||
role="link" | ||
size="s" | ||
slot="link-4" | ||
tabindex="0" | ||
variant="block" | ||
> | ||
Sachbeschädigung melden | ||
</sbb-link> | ||
</sbb-link-list> | ||
`; | ||
/* end snapshot sbb-link-list rendered without a title */ |
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