Skip to content

Commit

Permalink
Feature/enable nested list (#2749)
Browse files Browse the repository at this point in the history
* allow nested list

* remane to itemslist

* update example class

* update example

* added tests and updated documentation

* update failing tests

* update vr test

* update macro to fix test
  • Loading branch information
precious-onyenaucheya-ons authored Jul 25, 2023
1 parent 82175d6 commit 8c6e406
Show file tree
Hide file tree
Showing 72 changed files with 316 additions and 155 deletions.
116 changes: 86 additions & 30 deletions __snapshots__/layout/_template.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1413,34 +1413,47 @@ exports[`base page template matches the full configuration snapshot 1`] = `
<ul class=\\"ons-list ons-u-mb-no ons-list--bare\\">
<ul class=\\"ons-list ons-u-mb-no ons-list--bare\\">
<li class=\\"ons-list__item\\">
<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>
</li>
<li class=\\"ons-list__item\\">
<a href=\\"#0\\" class=\\"ons-list__link\\">Respondent Charter</a>
</li>
</ul>
</ul>
</div>
Expand All @@ -1460,34 +1473,47 @@ exports[`base page template matches the full configuration snapshot 1`] = `
<ul class=\\"ons-list ons-u-mb-no ons-list--bare\\">
<ul class=\\"ons-list ons-u-mb-no ons-list--bare\\">
<li class=\\"ons-list__item\\">
<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>
</li>
<li class=\\"ons-list__item\\">
<a href=\\"#0\\" class=\\"ons-list__link\\">Contact us</a>
</li>
</ul>
</ul>
</div>
Expand All @@ -1507,11 +1533,14 @@ exports[`base page template matches the full configuration snapshot 1`] = `
<ul class=\\"ons-list ons-u-mb-no ons-list--bare\\">
<ul class=\\"ons-list ons-u-mb-no ons-list--bare\\">
<li class=\\"ons-list__item\\">
Expand All @@ -1522,26 +1551,36 @@ exports[`base page template matches the full configuration snapshot 1`] = `
<path d=\\"M8.83,7.88a.51.51,0,0,0,.71,0l2.31-2.32,1.28,1.28A.51.51,0,0,0,14,6.49v-4a.52.52,0,0,0-.5-.5h-4A.51.51,0,0,0,9,2.52a.58.58,0,0,0,.14.33l1.28,1.28L8.12,6.46a.51.51,0,0,0,0,.71Z\\" transform=\\"translate(-2 -1.99)\\"></path>
</svg></span><span class=\\"ons-external-link__new-window-description ons-u-vh\\"> (opens in a new tab)</span></a>
</li>
<li class=\\"ons-list__item\\">
<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>
</li>
</ul>
</ul>
</div>
Expand Down Expand Up @@ -1570,43 +1609,60 @@ exports[`base page template matches the full configuration snapshot 1`] = `
<ul class=\\"ons-list ons-u-mb-s ons-footer--rows ons-list--bare ons-list--inline\\">
<ul class=\\"ons-list ons-u-mb-s ons-footer--rows ons-list--bare ons-list--inline\\">
<li class=\\"ons-list__item\\">
<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>
</li>
<li class=\\"ons-list__item\\">
<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>
</li>
</ul>
</ul>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8c6e406

Please sign in to comment.