-
Notifications
You must be signed in to change notification settings - Fork 813
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR: Ranking new view — swap left and right sides. (#8841)
- Loading branch information
1 parent
954c307
commit 43dd069
Showing
8 changed files
with
174 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
92 changes: 92 additions & 0 deletions
92
tests/markup/snapshots/ranking-selectToRankEnabled-SwapAreas.snap.html
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,92 @@ | ||
<div class="sv-ranking sv-ranking--select-to-rank sv-ranking--select-to-rank-horizontal sv-ranking--select-to-rank-swap-areas"> | ||
<div class="sv-ranking__container sv-ranking__container--from" data-ranking="from-container"> | ||
<div class="sv-q-col-1 sv-ranking-item" data-sv-drop-target-ranking-item="0" tabindex="0"> | ||
<div style="outline:none;" tabindex="-1"> | ||
<div class="sv-ranking-item__ghost"> | ||
</div> | ||
<div class="sv-ranking-item__content"> | ||
<div class="sv-ranking-item__icon-container"> | ||
<svg class="sv-ranking-item__icon sv-ranking-item__icon--hover"> | ||
<use xlink:href="#icon-drag-n-drop" class=""> | ||
</use> | ||
</svg> | ||
<svg class="sv-ranking-item__icon sv-ranking-item__icon--focus"> | ||
<use xlink:href="#icon-ranking-arrows" class=""> | ||
</use> | ||
</svg> | ||
</div> | ||
<div class="sv-ranking-item__index sv-ranking-item__index--empty"> | ||
<svg class=""> | ||
<use xlink:href="#icon-ranking-dash" class=""> | ||
</use> | ||
</svg> | ||
</div> | ||
<div class="sv-ranking-item__text"> | ||
<span class="sv-string-viewer">item1</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="sv-q-col-1 sv-ranking-item" data-sv-drop-target-ranking-item="1" tabindex="0"> | ||
<div style="outline:none;" tabindex="-1"> | ||
<div class="sv-ranking-item__ghost"> | ||
</div> | ||
<div class="sv-ranking-item__content"> | ||
<div class="sv-ranking-item__icon-container"> | ||
<svg class="sv-ranking-item__icon sv-ranking-item__icon--hover"> | ||
<use xlink:href="#icon-drag-n-drop" class=""> | ||
</use> | ||
</svg> | ||
<svg class="sv-ranking-item__icon sv-ranking-item__icon--focus"> | ||
<use xlink:href="#icon-ranking-arrows" class=""> | ||
</use> | ||
</svg> | ||
</div> | ||
<div class="sv-ranking-item__index sv-ranking-item__index--empty"> | ||
<svg class=""> | ||
<use xlink:href="#icon-ranking-dash" class=""> | ||
</use> | ||
</svg> | ||
</div> | ||
<div class="sv-ranking-item__text"> | ||
<span class="sv-string-viewer">item2</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="sv-q-col-1 sv-ranking-item" data-sv-drop-target-ranking-item="2" tabindex="0"> | ||
<div style="outline:none;" tabindex="-1"> | ||
<div class="sv-ranking-item__ghost"> | ||
</div> | ||
<div class="sv-ranking-item__content"> | ||
<div class="sv-ranking-item__icon-container"> | ||
<svg class="sv-ranking-item__icon sv-ranking-item__icon--hover"> | ||
<use xlink:href="#icon-drag-n-drop" class=""> | ||
</use> | ||
</svg> | ||
<svg class="sv-ranking-item__icon sv-ranking-item__icon--focus"> | ||
<use xlink:href="#icon-ranking-arrows" class=""> | ||
</use> | ||
</svg> | ||
</div> | ||
<div class="sv-ranking-item__index sv-ranking-item__index--empty"> | ||
<svg class=""> | ||
<use xlink:href="#icon-ranking-dash" class=""> | ||
</use> | ||
</svg> | ||
</div> | ||
<div class="sv-ranking-item__text"> | ||
<span class="sv-string-viewer">item3</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="sv-ranking__containers-divider"> | ||
</div> | ||
<div class="sv-ranking__container sv-ranking__container--empty sv-ranking__container--to" data-ranking="to-container"> | ||
<div class="sv-ranking__container-placeholder"> | ||
<span class="sv-string-viewer sv-string-viewer--multiline">Drag choices here to rank them</span> | ||
</div> | ||
</div> | ||
</div> |