forked from liferay/clay
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c11caa
commit 945eb1f
Showing
6 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
packages/clay-isomorphic/fixtures/expected/ClayDropdownBase.items
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<li data-onclick=""><a class=" dropdown-item"href="#1">Item 1</a></li><li data-onclick=""><a class=" dropdown-item active"href="#2">Item 2</a></li><li data-onclick=""><a class=" dropdown-item disabled"href="#zSoyz">Item 3</a></li><li data-onclick=""><a class=" dropdown-item"href="#4">Item 4</a></li> | ||
<li data-onclick="null"><a class=" dropdown-item"href="#1">Item 1</a></li><li data-onclick="null"><a class=" dropdown-item active"href="#2">Item 2</a></li><li data-onclick="null"><a class=" dropdown-item disabled"href="#zSoyz">Item 3</a></li><li data-onclick="null"><a class=" dropdown-item"href="#4">Item 4</a></li> |
1 change: 1 addition & 0 deletions
1
packages/clay-isomorphic/fixtures/expected/ClayDropdownItem.render
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<li data-onclick=""><a class=" dropdown-item active"href="href"title="title"><span class="dropdown-item-indicator"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-check"focusable="false"><title>check</title><use xlink:href="spritemap#check" /></svg></span>Item</a></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<li class="page-item active"><a aria-label="Clay Pagination Aria Label"class=" page-link"href="baseHref11"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-plus inline-item inline-item-before"focusable="false"><title>plus</title><use xlink:href="spritemap.svg#plus" /></svg>Clay Pagination Label</a></li> | ||
<li class="page-item active" data-page="1" data-onclick="null"><a aria-label="Clay Pagination Aria Label"class=" page-link"href="baseHref11"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-plus inline-item inline-item-before"focusable="false"><title>plus</title><use xlink:href="spritemap.svg#plus" /></svg>Clay Pagination Label</a></li> |
2 changes: 1 addition & 1 deletion
2
packages/clay-isomorphic/fixtures/expected/ClayPagination.render
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<ul class="clay-pagination pagination clay-pagination-1 clay-pagination-2"id="clay-pagination"><li class="page-item disabled"><a aria-label="previous-page"class=" page-link"href="baseHref"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-angle-left"focusable="false"><title>angle-left</title><use xlink:href="spritemap.svg#angle-left" /></svg></a></li><li class="page-item active"><a class=" page-link"href="baseHref1">1</a></li><li class="page-item"><a class=" page-link"href="baseHref2">2</a></li><li class="page-item"><a aria-label="next-page"class=" page-link"href="baseHref2"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-angle-right"focusable="false"><title>angle-right</title><use xlink:href="spritemap.svg#angle-right" /></svg></a></li></ul> | ||
<ul class="clay-pagination pagination clay-pagination-1 clay-pagination-2"id="clay-pagination"><li class="page-item disabled" data-page="null" data-onclick="null"><a aria-label="previous-page"class=" page-link"href="baseHref"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-angle-left"focusable="false"><title>angle-left</title><use xlink:href="spritemap.svg#angle-left" /></svg></a></li><li class="page-item active" data-page="1" data-onclick="null"><a class=" page-link"href="baseHref1">1</a></li><li class="page-item" data-page="2" data-onclick="null"><a class=" page-link"href="baseHref2">2</a></li><li class="page-item" data-page="2" data-onclick="null"><a aria-label="next-page"class=" page-link"href="baseHref2"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-angle-right"focusable="false"><title>angle-right</title><use xlink:href="spritemap.svg#angle-right" /></svg></a></li></ul> |
2 changes: 1 addition & 1 deletion
2
packages/clay-isomorphic/fixtures/expected/ClayPaginationBar.render
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<div class="clay-pagination-bar pagination-bar clay-pagination-1 clay-pagination-2"id="clay-pagination"><div class="dropdown pagination-items-per-page"><button aria-expanded="false"aria-haspopup="true" aria-label="toggle" class="dropdown-toggle btn btn-unstyled"data-onclick="toggle"ref="triggerButton"type="button">2 items<svg aria-hidden="true" class="lexicon-icon lexicon-icon-caret-bottom inline-item inline-item-after"focusable="false"><title>caret-bottom</title><use xlink:href="spritemap.svg#caret-bottom" /></svg></button><div class="dropdown-menu" ref="menu"><ul class="list-unstyled"><li data-onclick="null"><a class=" dropdown-item"href="href1">1</a></li><li data-onclick="null"><a class=" dropdown-item"href="href2">2</a></li></ul></div></div><div class="pagination-results">showing-1-to-2of-2-entries</div><ul class="clay-pagination pagination"><li class="page-item disabled"><a aria-label="previous-page"class=" page-link"href="baseHref"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-angle-left"focusable="false"><title>angle-left</title><use xlink:href="spritemap.svg#angle-left" /></svg></a></li><li class="page-item active"><a class=" page-link"href="baseHref1">1</a></li><li class="page-item disabled"><a aria-label="next-page"class=" page-link"href="baseHref"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-angle-right"focusable="false"><title>angle-right</title><use xlink:href="spritemap.svg#angle-right" /></svg></a></li></ul></div> | ||
<div class="clay-pagination-bar pagination-bar clay-pagination-1 clay-pagination-2"id="clay-pagination"><div class="dropdown pagination-items-per-page"><button aria-expanded="false"aria-haspopup="true" aria-label="toggle" class="dropdown-toggle btn btn-unstyled"data-onclick="toggle"ref="triggerButton"type="button">2 items<svg aria-hidden="true" class="lexicon-icon lexicon-icon-caret-bottom inline-item inline-item-after"focusable="false"><title>caret-bottom</title><use xlink:href="spritemap.svg#caret-bottom" /></svg></button><div class="dropdown-menu" ref="menu"><ul class="list-unstyled"><li data-onclick="null"><a class=" dropdown-item"href="href1">1</a></li><li data-onclick="null"><a class=" dropdown-item"href="href2">2</a></li></ul></div></div><div class="pagination-results">showing-1-to-2-of-2-entries</div><ul class="clay-pagination pagination"><li class="page-item disabled" data-page="null" data-onclick="null"><a aria-label="previous-page"class=" page-link"href="baseHref"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-angle-left"focusable="false"><title>angle-left</title><use xlink:href="spritemap.svg#angle-left" /></svg></a></li><li class="page-item active" data-page="1" data-onclick="null"><a class=" page-link"href="baseHref1">1</a></li><li class="page-item disabled" data-page="null" data-onclick="null"><a aria-label="next-page"class=" page-link"href="baseHref"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-angle-right"focusable="false"><title>angle-right</title><use xlink:href="spritemap.svg#angle-right" /></svg></a></li></ul></div> |
18 changes: 18 additions & 0 deletions
18
packages/clay-isomorphic/fixtures/input/ClayDropdownItem.render
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"maxItems": 7, | ||
"icon": "check", | ||
"itemsIconAlignment": "left", | ||
"active": true, | ||
"label": "Item", | ||
"contentRenderer": "item", | ||
"title": "title", | ||
"separator": false, | ||
"inputName": "inputname", | ||
"spritemap": "spritemap", | ||
"_handleItemClick": "", | ||
"inputValue": "inputvalue", | ||
"checked": false, | ||
"disabled": false, | ||
"href": "href", | ||
"items": [] | ||
} |