@searchstax-inc/searchstudio-ux-js 4.1.5 → 4.1.14
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 +15 -0
- package/README.md +7 -7
- package/dist/@searchstax-inc/searchstudio-ux-js.cjs +54 -54
- package/dist/@searchstax-inc/searchstudio-ux-js.d.mts +2 -1
- package/dist/@searchstax-inc/searchstudio-ux-js.d.ts +2 -1
- package/dist/@searchstax-inc/searchstudio-ux-js.iife.js +50 -50
- package/dist/@searchstax-inc/searchstudio-ux-js.mjs +1115 -1025
- package/dist/feedbackWidget.mjs +208 -163
- package/dist/templates.js +8 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the "searchstudio-ux-js" project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [4.1.14]
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
- accessibility: feedback widget closing upon submit
|
|
8
|
+
- accessibility: feedback widget tab order fixed
|
|
9
|
+
- fixed double click being needed on feedback submit
|
|
10
|
+
- accessibility: fixed state and role of facet groups
|
|
11
|
+
- accessibility: fixed focus persistance upon facet click as well as more/less click
|
|
12
|
+
|
|
13
|
+
## [4.1.9]
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
- accessibility: focus is now being trapped in feedback widget
|
|
16
|
+
- accessibility: more/less buttons have role and changes are announced
|
|
17
|
+
- accessibility: fixed feedback widget roles
|
|
18
|
+
- accessibility: pagination disabled state fixes
|
|
19
|
+
|
|
5
20
|
## [4.1.5]
|
|
6
21
|
### Bug Fixes
|
|
7
22
|
- 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" data-focus="{{focusId}}" 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" data-focus="{{focusId}}" role="button">more {{onShowMoreLessClick}}</div>
|
|
908
908
|
{{/showingAllFacets}}
|
|
909
909
|
</div>
|
|
910
910
|
`,
|
|
@@ -914,7 +914,7 @@ It receives following props:
|
|
|
914
914
|
template: `
|
|
915
915
|
<div>
|
|
916
916
|
<div class="searchstax-facet-title-container" data-test-id="searchstax-facet-title-container">
|
|
917
|
-
<div class="searchstax-facet-title" aria-label="Facet group: {{label}}" tabindex="0">
|
|
917
|
+
<div class="searchstax-facet-title" aria-label="Facet group: {{label}}" tabindex="0" role="button">
|
|
918
918
|
{{label}}
|
|
919
919
|
</div>
|
|
920
920
|
<div class="searchstax-facet-title-arrow active"></div>
|