Skip to content

Commit

Permalink
Regen ClayActionsDropdown snapshots | Fixes liferay#600
Browse files Browse the repository at this point in the history
  • Loading branch information
matuzalemsteles committed Mar 1, 2018
1 parent 04ce60b commit 720ae8d
Showing 1 changed file with 43 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,49 @@ exports[`ClayActionsDropdown should render an actions dropdown with id 1`] = `
</div>
`;
exports[`ClayActionsDropdown should render an actions dropdown with triggerClasses 1`] = `
<div class="dropdown dropdown-action" id="myId">
<button aria-expanded="false" aria-haspopup="true" aria-label="toggle" class="dropdown-toggle btn component-action btn-unstyled" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-ellipsis-v" focusable="false">
<title>ellipsis-v</title>
<use xlink:href="icons.svg#ellipsis-v"></use>
</svg>
</button>
</div>
<div class="dropdown-menu" ref="menu">
<ul class="list-unstyled">
<li>
<a class=" dropdown-item" href="#1">Edit</a>
</li>
<li>
<a class=" dropdown-item" href="#1">Preview</a>
</li>
<li aria-hidden="true" class="dropdown-divider" role="presentation"></li>
<li>
<a class=" dropdown-item" href="#1">Expire</a>
</li>
<li>
<a class=" dropdown-item" href="#1">View History</a>
</li>
<li aria-hidden="true" class="dropdown-divider" role="presentation"></li>
<li>
<a class=" dropdown-item" href="#1">Permissions</a>
</li>
<li aria-hidden="true" class="dropdown-divider" role="presentation"></li>
<li>
<a class=" dropdown-item" href="#1">Copy</a>
</li>
<li>
<a class=" dropdown-item" href="#1">Move</a>
</li>
<li aria-hidden="true" class="dropdown-divider" role="presentation"></li>
<li>
<a class=" dropdown-item" href="#1">Move to the Recycle Bin</a>
</li>
</ul>
</div>
`;
exports[`ClayActionsDropdown should render an expanded action dropdown 1`] = `
<div class="dropdown dropdown-action show">
<button aria-expanded="true" aria-haspopup="true" aria-label="toggle" class="dropdown-toggle btn btn-unstyled" type="button">
Expand Down

0 comments on commit 720ae8d

Please sign in to comment.