Skip to content

Commit

Permalink
update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar committed Sep 10, 2024
1 parent ddeb99b commit 920d367
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 53 deletions.
53 changes: 12 additions & 41 deletions __snapshots__/layout/_template.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,6 @@ exports[`base page template matches the full configuration snapshot 1`] = `







Expand All @@ -1406,48 +1405,42 @@ exports[`base page template matches the full configuration snapshot 1`] = `




<li class="ons-list__item">







<a href="#0" class="ons-list__link">About our surveys</a>
<a href="#0" class="ons-list__link">About our surveys</a>
</li>






<li class="ons-list__item">







<a href="#0" class="ons-list__link">Lists of all surveys</a>
<a href="#0" class="ons-list__link">Lists of all surveys</a>
</li>






<li class="ons-list__item">







<a href="#0" class="ons-list__link">Respondent Charter</a>
<a href="#0" class="ons-list__link">Respondent Charter</a>
</li>
</ul>

Expand All @@ -1471,7 +1464,6 @@ exports[`base page template matches the full configuration snapshot 1`] = `







Expand All @@ -1482,48 +1474,42 @@ exports[`base page template matches the full configuration snapshot 1`] = `




<li class="ons-list__item">







<a href="#0" class="ons-list__link">What we do</a>
<a href="#0" class="ons-list__link">What we do</a>
</li>






<li class="ons-list__item">







<a href="#0" class="ons-list__link">Transparency and governance</a>
<a href="#0" class="ons-list__link">Transparency and governance</a>
</li>






<li class="ons-list__item">







<a href="#0" class="ons-list__link">Contact us</a>
<a href="#0" class="ons-list__link">Contact us</a>
</li>
</ul>

Expand All @@ -1547,7 +1533,6 @@ exports[`base page template matches the full configuration snapshot 1`] = `







Expand All @@ -1558,7 +1543,6 @@ exports[`base page template matches the full configuration snapshot 1`] = `




<li class="ons-list__item">


Expand All @@ -1580,32 +1564,28 @@ exports[`base page template matches the full configuration snapshot 1`] = `




<li class="ons-list__item">







<a href="#0" class="ons-list__link">Release calendar</a>
<a href="#0" class="ons-list__link">Release calendar</a>
</li>






<li class="ons-list__item">







<a href="#0" class="ons-list__link">News</a>
<a href="#0" class="ons-list__link">News</a>
</li>
</ul>

Expand Down Expand Up @@ -1638,7 +1618,6 @@ exports[`base page template matches the full configuration snapshot 1`] = `







Expand All @@ -1649,64 +1628,56 @@ exports[`base page template matches the full configuration snapshot 1`] = `




<li class="ons-list__item">







<a href="#0" class="ons-list__link">Cookies</a>
<a href="#0" class="ons-list__link">Cookies</a>
</li>






<li class="ons-list__item">







<a href="#0" class="ons-list__link">Accessibility statement</a>
<a href="#0" class="ons-list__link">Accessibility statement</a>
</li>






<li class="ons-list__item">







<a href="#0" class="ons-list__link">Privacy and data protection</a>
<a href="#0" class="ons-list__link">Privacy and data protection</a>
</li>






<li class="ons-list__item">







<a href="#0" class="ons-list__link">Terms and conditions</a>
<a href="#0" class="ons-list__link">Terms and conditions</a>
</li>
</ul>

Expand Down
21 changes: 9 additions & 12 deletions src/components/list/example-bare-list.njk
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
{% from "components/list/_macro.njk" import onsList %}
{{
onsList({
"variants": 'bare',
"element": "ol",
"attributes": {
"data-qa": "error-list"
},
"itemsList": [
{
"url": '#0',
"text": 'Who we are'
},
{
"url": '#0',
"text": 'What we do'
},
{
"url": 'https://goo.gl/maps/ULnVRd16zfFLZWdt7',
"text": 'Where to find us',
"external": true
"url": "#0",
"text": 'Who we are',
"attributes": {
"data-qa": "error-list-1"
}
}
]
})
Expand Down

0 comments on commit 920d367

Please sign in to comment.