Skip to content

Commit

Permalink
Merge branch 'Delete-without-arrows-example-in-step-indicator'
Browse files Browse the repository at this point in the history
  • Loading branch information
philscott-rg committed Jun 11, 2018
2 parents 8aa21ed + 3c123bd commit f114b58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 6 additions & 15 deletions src/ui/library/components/navigation/step-indicators.hb
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,25 @@
</nav>

<div class="js-tab tabbed__content" id="examples">
<h2>Examples</h2>
<h2>Example</h2>

<h3>With arrows (Default)</h3>
<ul class="step-indicators">
<li><a href="">Step 1</a></li>
<li><a href="">Step 2</a></li>
<li class="step-indicators--active">Step 3</li>
<li><a href="">Step 4</a></li>
</ul>

<h3>Without arrows</h3>
<ul class="step-indicators step-indicators--no-arrows">
<li><a href="">Step 1</a></li>
<li><a href="">Step 2</a></li>
<li class="step-indicators--active"><a href="">Active item</a></li>
<li><a href="">Step 4</a></li>
</ul>
</div>

<div class="js-tab tabbed__content" id="code">
<h2>Code</h2>

{{#> code-sample }}
<ul class="step-indicators (step-indicators--no-arrows)">
<li><a href="#can-have-hyperlinks">Hyperlinked step</a></li>
<li>Step doesn't have to be hyperlinked</li>
<li class="step-indicators--active">Active step</li>
</ul>
<ul class="step-indicators">
<li><a href="#can-have-hyperlinks">Hyperlinked step</a></li>
<li>Step doesn't have to be hyperlinked</li>
<li class="step-indicators--active">Active step</li>
</ul>
{{/code-sample}}
</div>
</div>
Expand Down

0 comments on commit f114b58

Please sign in to comment.