Skip to content

Commit

Permalink
updated siteautosuggest in navigation component (#2837)
Browse files Browse the repository at this point in the history
* updated siteautosuggest in navigation component

* fix formatting

* update test snapshot

---------

Co-authored-by: Precious Onyenaucheya <[email protected]>
  • Loading branch information
1 parent 5e7296a commit 8935fd8
Show file tree
Hide file tree
Showing 4 changed files with 670 additions and 540 deletions.
138 changes: 110 additions & 28 deletions __snapshots__/layout/_template.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1057,23 +1057,38 @@ exports[`base page template matches the full configuration snapshot 1`] = `
<ul class="ons-navigation__list">

<li class="ons-navigation__item ">
<a class="ons-navigation__link" href="#0">Service standard</a>
<a class="ons-navigation__link" href="#0">
Service standard

</a>
</li>

<li class="ons-navigation__item ons-navigation__item--active">
<a class="ons-navigation__link" href="#design-system">Design system</a>
<a class="ons-navigation__link" href="#design-system">
Design system

</a>
</li>

<li class="ons-navigation__item ">
<a class="ons-navigation__link" href="#0">Accessibility</a>
<a class="ons-navigation__link" href="#0">
Accessibility

</a>
</li>

<li class="ons-navigation__item ">
<a class="ons-navigation__link" href="#0">Brand guidelines</a>
<a class="ons-navigation__link" href="#0">
Brand guidelines

</a>
</li>

<li class="ons-navigation__item ">
<a class="ons-navigation__link" href="#0">Content style guide</a>
<a class="ons-navigation__link" href="#0">
Content style guide

</a>
</li>

</ul>
Expand All @@ -1086,19 +1101,31 @@ exports[`base page template matches the full configuration snapshot 1`] = `
<ul class="ons-navigation__list ons-navigation__list">

<li class="ons-navigation__item ">
<a class="ons-navigation__link ons-navigation__link" href="#0">Guidance</a>
<a class="ons-navigation__link ons-navigation__link" href="#0">
Guidance

</a>
</li>

<li class="ons-navigation__item ">
<a class="ons-navigation__link ons-navigation__link" href="#0">Foundations</a>
<a class="ons-navigation__link ons-navigation__link" href="#0">
Foundations

</a>
</li>

<li class="ons-navigation__item ">
<a class="ons-navigation__link ons-navigation__link" href="#0">Components</a>
<a class="ons-navigation__link ons-navigation__link" href="#0">
Components

</a>
</li>

<li class="ons-navigation__item ons-navigation__item--active">
<a class="ons-navigation__link ons-navigation__link" href="#patterns">Patterns</a>
<a class="ons-navigation__link ons-navigation__link" href="#patterns">
Patterns

</a>
</li>

</ul>
Expand Down Expand Up @@ -1157,82 +1184,137 @@ exports[`base page template matches the full configuration snapshot 1`] = `
</li>

<li class="ons-navigation__item ">
<a class="ons-navigation__link" href="#0">Guidance</a>
<a class="ons-navigation__link" href="#0">
Guidance

</a>

</li>

<li class="ons-navigation__item ">
<a class="ons-navigation__link" href="#0">Foundations</a>
<a class="ons-navigation__link" href="#0">
Foundations

</a>

</li>

<li class="ons-navigation__item ">
<a class="ons-navigation__link" href="#0">Components</a>
<a class="ons-navigation__link" href="#0">
Components

</a>

</li>

<li class="ons-navigation__item ons-navigation__item--active">
<a class="ons-navigation__link" href="#patterns">Patterns</a>
<a class="ons-navigation__link" href="#patterns">
Patterns

</a>


<h3 class="ons-navigation__list-header">Ask users for...</h3>

<h3 class="ons-navigation__list-header">Ask users for...</h3>

<ul class="ons-navigation__list ons-navigation__list--child ons-list--dashed ons-u-ml-s ons-u-mt-xs">

<li class="ons-navigation__item ons-list__item ons-navigation__item--active">
<a class="ons-navigation__link ons-navigation__link--section" href="#access-codes">Access codes</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#access-codes">
Access codes

</a>
</li>

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Addresses</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Addresses

</a>
</li>

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Dates</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Dates

</a>
</li>

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Durations</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Durations

</a>
</li>

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Email addresses</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Email addresses

</a>
</li>

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Numeric values</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Numeric values

</a>
</li>

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Phone numbers</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Phone numbers

</a>
</li>

</ul>

<h3 class="ons-navigation__list-header">Help users to...</h3>

<h3 class="ons-navigation__list-header">Help users to...</h3>

<ul class="ons-navigation__list ons-navigation__list--child ons-list--dashed ons-u-ml-s ons-u-mt-xs">

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Access support in multiple languages</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Access support in multiple languages

</a>
</li>

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Change language</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Change language

</a>
</li>

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Check answers</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Check answers

</a>
</li>

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Control cookies</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Control cookies

</a>
</li>

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Correct errors</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Correct errors

</a>
</li>

<li class="ons-navigation__item ons-list__item ">
<a class="ons-navigation__link ons-navigation__link--section" href="#0">Extend a session</a>
<a class="ons-navigation__link ons-navigation__link--section" href="#0">
Extend a session

</a>
</li>

</ul>
Expand Down
Loading

0 comments on commit 8935fd8

Please sign in to comment.