@searchstax-inc/searchstudio-ux-js 4.1.5 → 4.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +6 -6
- package/dist/@searchstax-inc/searchstudio-ux-js.cjs +47 -47
- package/dist/@searchstax-inc/searchstudio-ux-js.iife.js +40 -40
- package/dist/@searchstax-inc/searchstudio-ux-js.mjs +812 -760
- package/dist/feedbackWidget.mjs +199 -159
- package/dist/templates.js +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the "searchstudio-ux-js" project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [4.1.9]
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
- accessibility: focus is now being trapped in feedback widget
|
|
8
|
+
- accessibility: more/less buttons have role and changes are announced
|
|
9
|
+
- accessibility: fixed feedback widget roles
|
|
10
|
+
- accessibility: pagination disabled state fixes
|
|
11
|
+
|
|
5
12
|
## [4.1.5]
|
|
6
13
|
### Bug Fixes
|
|
7
14
|
- answers endpoint now have same query parameters as emselect
|
package/README.md
CHANGED
|
@@ -724,11 +724,11 @@ It receives following props:
|
|
|
724
724
|
{{#results.length}}
|
|
725
725
|
<div class="searchstax-pagination-container" data-test-id="searchstax-pagination-container">
|
|
726
726
|
<div class="searchstax-pagination-content">
|
|
727
|
-
<a class="searchstax-pagination-previous {{#isFirstPage}}disabled{{/isFirstPage}}" id="searchstax-pagination-previous" data-test-id="searchstax-pagination-previous" tabindex="0" aria-label="Previous Page">< Previous</a>
|
|
727
|
+
<a role="link" class="searchstax-pagination-previous {{#isFirstPage}}disabled{{/isFirstPage}}" {{#isFirstPage}} disabled="disabled" {{/isFirstPage}} id="searchstax-pagination-previous" data-test-id="searchstax-pagination-previous" {{^isFirstPage}} tabindex="0" {{/isFirstPage}} aria-label="Previous Page">< Previous</a>
|
|
728
728
|
<div class="searchstax-pagination-details" data-test-id="searchstax-pagination-details">
|
|
729
729
|
{{startResultIndex}} - {{endResultIndex}} of {{totalResults}}
|
|
730
730
|
</div>
|
|
731
|
-
<a class="searchstax-pagination-next {{#isLastPage}}disabled{{/isLastPage}}" data-test-id="searchstax-pagination-next" id="searchstax-pagination-next" tabindex="0" aria-label="Next Page">Next ></a>
|
|
731
|
+
<a role="link" class="searchstax-pagination-next {{#isLastPage}}disabled{{/isLastPage}}" {{#isLastPage}}disabled="disabled"{{/isLastPage}} data-test-id="searchstax-pagination-next" id="searchstax-pagination-next" {{^isLastPage}} tabindex="0" {{/isLastPage}} aria-label="Next Page">Next ></a>
|
|
732
732
|
</div>
|
|
733
733
|
</div>
|
|
734
734
|
{{/results.length}}
|
|
@@ -741,11 +741,11 @@ It receives following props:
|
|
|
741
741
|
{{#results.length}}
|
|
742
742
|
<div class="searchstax-pagination-container" data-test-id="searchstax-pagination-container">
|
|
743
743
|
<div class="searchstax-pagination-content">
|
|
744
|
-
<a class="searchstax-pagination-previous {{#isFirstPage}}disabled{{/isFirstPage}}" id="searchstax-pagination-previous" data-test-id="searchstax-pagination-previous" tabindex="0" aria-label="Previous Page">< Previous</a>
|
|
744
|
+
<a role="link" class="searchstax-pagination-previous {{#isFirstPage}}disabled{{/isFirstPage}}" {{#isFirstPage}} disabled="disabled" {{/isFirstPage}} id="searchstax-pagination-previous" data-test-id="searchstax-pagination-previous" {{^isFirstPage}} tabindex="0" {{/isFirstPage}} aria-label="Previous Page">< Previous</a>
|
|
745
745
|
<div class="searchstax-pagination-details" data-test-id="searchstax-pagination-details">
|
|
746
746
|
{{startResultIndex}} - {{endResultIndex}} of {{totalResults}}
|
|
747
747
|
</div>
|
|
748
|
-
<a class="searchstax-pagination-next {{#isLastPage}}disabled{{/isLastPage}}" data-test-id="searchstax-pagination-next" id="searchstax-pagination-next" tabindex="0" aria-label="Next Page">Next ></a>
|
|
748
|
+
<a role="link" class="searchstax-pagination-next {{#isLastPage}}disabled{{/isLastPage}}" {{#isLastPage}}disabled="disabled"{{/isLastPage}} data-test-id="searchstax-pagination-next" id="searchstax-pagination-next" {{^isLastPage}} tabindex="0" {{/isLastPage}} aria-label="Next Page">Next ></a>
|
|
749
749
|
</div>
|
|
750
750
|
</div>
|
|
751
751
|
{{/results.length}}
|
|
@@ -901,10 +901,10 @@ It receives following props:
|
|
|
901
901
|
template: `
|
|
902
902
|
<div class="searchstax-facet-show-more-container" data-test-id="searchstax-facet-show-more-container">
|
|
903
903
|
{{#showingAllFacets}}
|
|
904
|
-
<div class="searchstax-facet-show-less-button searchstax-facet-show-button" tabindex="0" data-test-id="searchstax-facet-show-less-button">less</div>
|
|
904
|
+
<div class="searchstax-facet-show-less-button searchstax-facet-show-button" tabindex="0" data-test-id="searchstax-facet-show-less-button" role="button">less</div>
|
|
905
905
|
{{/showingAllFacets}}
|
|
906
906
|
{{^showingAllFacets}}
|
|
907
|
-
<div class="searchstax-facet-show-more-button searchstax-facet-show-button" tabindex="0" data-test-id="searchstax-facet-show-more-button">more {{onShowMoreLessClick}}</div>
|
|
907
|
+
<div class="searchstax-facet-show-more-button searchstax-facet-show-button" tabindex="0" data-test-id="searchstax-facet-show-more-button" role="button">more {{onShowMoreLessClick}}</div>
|
|
908
908
|
{{/showingAllFacets}}
|
|
909
909
|
</div>
|
|
910
910
|
`,
|