Skip to content

Commit 5083c24

Browse files
committed
FFWEB-3414: Support tab navigation for search, suggest and paging components
1 parent 9711550 commit 5083c24

3 files changed

Lines changed: 19 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22
## Unreleased
33
### Change
4+
- Support tab navigation for search, suggest and paging components
45
- Upgrade Web Components version to v5.1.5
56

67
## [v6.1.0] - 2025.03.24
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
<ff-paging class="col-xs-12 pagination-options" unresolved>
22
<ff-paging-set state="currentPage == 1">
33
<div class="prev-link ffw-page-item-container ffw-cursor">&larr; {{ translate({ ident: "PREVIOUS" }) }}</div>
4-
<ff-paging-item type="currentLink -1">{{ '{{page}}' }}</ff-paging-item>
5-
<ff-paging-item type="currentLink" class="active">{{ '{{page}}' }}</ff-paging-item>
6-
<ff-paging-item type="currentLink +1">{{ '{{page}}' }}</ff-paging-item>
7-
<ff-paging-item type="nextLink">{{ translate({ ident: "NEXT" }) }} &rarr;</ff-paging-item>
4+
<ff-paging-item type="currentLink -1"><a href="#">{{ '{{page}}' }}</a></ff-paging-item>
5+
<ff-paging-item type="currentLink" class="active"><a href="#">{{ '{{page}}' }}</a></ff-paging-item>
6+
<ff-paging-item type="currentLink +1"><a href="#">{{ '{{page}}' }}</a></ff-paging-item>
7+
<ff-paging-item type="nextLink"><a href="#">{{ translate({ ident: "NEXT" }) }} &rarr;</a></ff-paging-item>
88
</ff-paging-set>
99

1010
<ff-paging-set state="currentPage == pageCount">
11-
<ff-paging-item type="previousLink">&larr; {{ translate({ ident: "PREVIOUS" }) }}</ff-paging-item>
12-
<ff-paging-item type="currentLink -1">{{ '{{page}}' }}</ff-paging-item>
13-
<ff-paging-item type="currentLink" class="active">{{ '{{page}}' }}</ff-paging-item>
14-
<ff-paging-item type="currentLink +1">{{ '{{page}}' }}</ff-paging-item>
15-
<div class="next-link ffw-page-item-container ffw-cursor">{{ translate({ ident: "NEXT" }) }} &rarr;</div>
11+
<ff-paging-item type="previousLink"><a href="#">&larr; {{ translate({ ident: "PREVIOUS" }) }}</a></ff-paging-item>
12+
<ff-paging-item type="currentLink -1"><a href="#">{{ '{{page}}' }}</a></ff-paging-item>
13+
<ff-paging-item type="currentLink" class="active"><a href="#">{{ '{{page}}' }}</a></ff-paging-item>
14+
<ff-paging-item type="currentLink +1"><a href="#">{{ '{{page}}' }}</a></ff-paging-item>
15+
<div class="next-link ffw-page-item-container ffw-cursor"><a href="#">{{ translate({ ident: "NEXT" }) }} &rarr;</a></div>
1616
</ff-paging-set>
1717

1818
<ff-paging-set state="currentPage > 1 && currentPage < pageCount">
19-
<ff-paging-item type="previousLink">&larr; {{ translate({ ident: "PREVIOUS" }) }}</ff-paging-item>
20-
<ff-paging-item type="currentLink -1">{{ '{{page}}' }}</ff-paging-item>
21-
<ff-paging-item type="currentLink" class="active">{{ '{{page}}' }}</ff-paging-item>
22-
<ff-paging-item type="currentLink +1">{{ '{{page}}' }}</ff-paging-item>
23-
<ff-paging-item type="nextLink">{{ translate({ ident: "NEXT" }) }} &rarr;</ff-paging-item>
19+
<ff-paging-item type="previousLink"><a href="#">&larr; {{ translate({ ident: "PREVIOUS" }) }}</a></ff-paging-item>
20+
<ff-paging-item type="currentLink -1"><a href="#">{{ '{{page}}' }}</a></ff-paging-item>
21+
<ff-paging-item type="currentLink" class="active"><a href="#">{{ '{{page}}' }}</a></ff-paging-item>
22+
<ff-paging-item type="currentLink +1"><a href="#">{{ '{{page}}' }}</a></ff-paging-item>
23+
<ff-paging-item type="nextLink"><a href="#">{{ translate({ ident: "NEXT" }) }} &rarr;</a></ff-paging-item>
2424
</ff-paging-set>
2525
</ff-paging>

views/twig/webcomponents/widget/suggest.html.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
<div data-container="searchTerm">
1111
<p class="containerCaption">{{ translate({ ident: "FF_SEARCH_SUGGESTIONS" }) }}</p>
1212
<ff-suggest-item type="searchTerm">
13-
<span>{{ '{{{name}}}' }}</span>
13+
<a href="#">{{ '{{{name}}}' }}</a>
1414
</ff-suggest-item>
1515
</div>
1616

1717
<div data-container="category">
1818
<p class="containerCaption">{{ translate({ ident: "FF_CATEGORY_SUGGESTIONS" }) }}</p>
1919
<ff-suggest-item type="category">
20-
<span>{{ '{{{name}}}' }}</span>
20+
<a href="#">{{ '{{{name}}}' }}</a>
2121
</ff-suggest-item>
2222
</div>
2323

2424
<div data-container="brand">
2525
<p class="containerCaption">{{ translate({ ident: "FF_BRANDS" }) }}</p>
2626
<ff-suggest-item type="brand">
27-
<span>{{ '{{{name}}}' }}</span>
27+
<a href="#">{{ '{{{name}}}' }}</a>
2828
</ff-suggest-item>
2929
</div>
3030
</section>
@@ -34,7 +34,7 @@
3434
<p class="containerCaption">{{ translate({ ident: "FF_SUGGESTED_PRODUCTS" }) }}</p>
3535
<ff-suggest-item type="productName">
3636
<img data-image />
37-
<div class="product-name">{{ '{{{name}}}' }}</div>
37+
<a href="#" class="product-name">{{ '{{{name}}}' }}</a>
3838
</ff-suggest-item>
3939
</div>
4040
</section>

0 commit comments

Comments
 (0)