diff --git a/docs/search-ui-react.staticfiltersprops.showoptionssearchinputlabel.md b/docs/search-ui-react.staticfiltersprops.showoptionssearchinputlabel.md
new file mode 100644
index 000000000..af6b96e41
--- /dev/null
+++ b/docs/search-ui-react.staticfiltersprops.showoptionssearchinputlabel.md
@@ -0,0 +1,13 @@
+
+
+[Home](./index.md) > [@yext/search-ui-react](./search-ui-react.md) > [StaticFiltersProps](./search-ui-react.staticfiltersprops.md) > [showOptionsSearchInputLabel](./search-ui-react.staticfiltersprops.showoptionssearchinputlabel.md)
+
+## StaticFiltersProps.showOptionsSearchInputLabel property
+
+Whether or not to display the visible search input label. Defaults to false.
+
+**Signature:**
+
+```typescript
+showOptionsSearchInputLabel?: boolean;
+```
diff --git a/etc/search-ui-react.api.md b/etc/search-ui-react.api.md
index dd840b2af..31e0f88e9 100644
--- a/etc/search-ui-react.api.md
+++ b/etc/search-ui-react.api.md
@@ -274,6 +274,8 @@ export interface FilterGroupCssClasses {
// (undocumented)
searchInput?: string;
// (undocumented)
+ searchInputLabel?: string;
+ // (undocumented)
titleLabel?: string;
}
@@ -286,6 +288,7 @@ export interface FilterGroupProps {
filterOptions: FilterOptionConfig[];
searchable?: boolean;
showMoreLimit?: number;
+ showOptionsSearchInputLabel?: boolean;
title: string;
}
@@ -299,7 +302,7 @@ export interface FilterOptionConfig {
}
// @public
-export function FilterSearch({ searchFields, label, placeholder, searchOnSelect, onSelect, onDropdownInputChange, afterDropdownInputFocus, sectioned, customCssClasses, disableBuiltInClasses, ariaLabel, showCurrentLocationButton, geolocationProps }: FilterSearchProps): React_2.JSX.Element;
+export function FilterSearch({ searchFields, label, placeholder, searchOnSelect, onSelect, onDropdownInputChange, afterDropdownInputFocus, sectioned, customCssClasses, disableBuiltInClasses, ariaLabel, resultsRegionAriaLabel, showCurrentLocationButton, geolocationProps }: FilterSearchProps): React_2.JSX.Element;
// @public
export interface FilterSearchCssClasses extends AutocompleteResultCssClasses {
@@ -332,6 +335,7 @@ export interface FilterSearchProps {
onDropdownInputChange?: (params: OnDropdownInputChangeProps) => void;
onSelect?: (params: OnSelectParams) => void;
placeholder?: string;
+ resultsRegionAriaLabel?: string;
searchFields: Omit[];
// @deprecated
searchOnSelect?: boolean;
@@ -860,6 +864,7 @@ export interface StandardFacetProps {
label?: string;
showMoreLimit?: number;
showOptionCounts?: boolean;
+ showOptionsSearchInputLabel?: boolean;
transformOptions?: (options: DisplayableFacetOption[]) => DisplayableFacetOption[];
}
@@ -922,6 +927,7 @@ export interface StaticFiltersProps {
filterOptions: StaticFilterOptionConfig[];
searchable?: boolean;
searchOnChange?: boolean;
+ showOptionsSearchInputLabel?: boolean;
title: string;
}
@@ -1043,7 +1049,7 @@ export interface VisualAutocompleteConfig {
// Warnings were encountered during analysis:
//
-// dist/index.d.ts:1749:5 - (ae-forgotten-export) The symbol "translations" needs to be exported by the entry point index.d.ts
+// dist/index.d.ts:1764:5 - (ae-forgotten-export) The symbol "translations" needs to be exported by the entry point index.d.ts
// (No @packageDocumentation comment for this package)
diff --git a/locales/ar/search-ui-react.json b/locales/ar/search-ui-react.json
index 8bb2abbb5..9d4d266a3 100644
--- a/locales/ar/search-ui-react.json
+++ b/locales/ar/search-ui-react.json
@@ -30,6 +30,7 @@
"didYouMean": "هل كنت تقصد {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "عند توفر نتائج الإكمال التلقائي، استخدم الأسهم للأعلى والأسفل للتنقل واضغط Enter للاختيار.",
"feedback": "ملاحظات",
+ "filterGroupSearchInputLabel": "ابحث في خيارات {{title}}",
"invalidRange": "نطاق غير صالح",
"max": "الحد الأقصى",
"min": "الحد الأدنى",
@@ -63,9 +64,9 @@
"resultsCountText_zero": "لا توجد نتائج",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} من أصل {{resultsCount}} نتيجة",
"searchHere": "ابحث هنا…",
+ "showingAllInstead": "يتم عرض جميع نتائج {{currentVerticalLabel}} بدلاً من ذلك.",
"showLess": "عرض أقل",
"showMore": "عرض المزيد",
- "showingAllInstead": "يتم عرض جميع نتائج {{currentVerticalLabel}} بدلاً من ذلك.",
"sources_few": "مصادر ({{count}})",
"sources_many": "مصدر ({{count}})",
"sources_one": "مصدر",
diff --git a/locales/cs/search-ui-react.json b/locales/cs/search-ui-react.json
index 88b803e80..658b0d753 100644
--- a/locales/cs/search-ui-react.json
+++ b/locales/cs/search-ui-react.json
@@ -5,10 +5,12 @@
"apply": "Použít",
"applyFilters": "Použít filtry",
"autocompleteOptionsFound_few": "Nalezeny {{count}}{{label}} možnosti automatického dokončování.",
+ "autocompleteOptionsFound_many": "Nalezeno {{count}}{{label}} možností automatického dokončování.",
"autocompleteOptionsFound_one": "Nalezena {{count}}{{label}} možnost automatického dokončování.",
"autocompleteOptionsFound_other": "Nalezeno {{count}}{{label}} možností automatického dokončování.",
"autocompleteSuggestion": "návrh automatického doplňování: {{suggestion}}",
"autocompleteSuggestionsFound_few": "Nalezeny {{count}} návrhy automatického dokončování.",
+ "autocompleteSuggestionsFound_many": "Nalezeno {{count}} návrhů automatického dokončování.",
"autocompleteSuggestionsFound_one": "Nalezen {{count}} návrh automatického dokončování.",
"autocompleteSuggestionsFound_other": "Nalezeno {{count}} návrhů automatického dokončování.",
"basedOnYourDevice": " (na základě vašeho zařízení)",
@@ -25,6 +27,7 @@
"didYouMean": "Mysleli jste {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Pokud jsou dostupné výsledky automatického doplnění, použijte šipky nahoru/dolů pro výběr a Enter pro potvrzení.",
"feedback": "Zpětná vazba",
+ "filterGroupSearchInputLabel": "Hledat možnosti {{title}}",
"invalidRange": "Neplatný rozsah",
"max": "Max",
"min": "Min",
@@ -37,26 +40,31 @@
"readMoreAbout": "Přečíst si více o {{name}} ",
"recentSearch": "nedávné vyhledávání: {{query}}",
"recentSearchesFound_few": "Nalezena {{count}} nedávná hledání.",
+ "recentSearchesFound_many": "Nalezeno {{count}} nedávných hledání.",
"recentSearchesFound_one": "Nalezeno {{count}} nedávné hledání.",
"recentSearchesFound_other": "Nalezeno {{count}} nedávných hledání.",
"removeFilter": "Odebrat filtr „{{displayName}}“",
"resultPreview": "náhled výsledků: {{value}}",
"resultPreviewsFound_few": "Nalezeny {{count}} náhledy výsledků.",
+ "resultPreviewsFound_many": "Nalezeno {{count}} náhledů výsledků.",
"resultPreviewsFound_one": "Nalezen {{count}} náhled výsledku.",
"resultPreviewsFound_other": "Nalezeno {{count}} náhledů výsledků.",
"resultsCountText_few": "{{count}} výsledky",
+ "resultsCountText_many": "{{count}} výsledků",
"resultsCountText_one": "{{count}} výsledek",
"resultsCountText_other": "{{count}} výsledků",
"resultsCountWithPaginationText": "{{paginateStart}} – {{paginateEnd}} z {{resultsCount}} výsledků",
"searchHere": "Hledejte zde…",
+ "showingAllInstead": "Místo toho zobrazujeme všechny {{currentVerticalLabel}}.",
"showLess": "Zobrazit méně",
"showMore": "Zobrazit více",
- "showingAllInstead": "Místo toho zobrazujeme všechny {{currentVerticalLabel}}.",
"sources_few": "Zdroje ({{count}})",
+ "sources_many": "Zdroje ({{count}})",
"sources_one": "Zdroj",
"sources_other": "Zdroje ({{count}})",
"submitSearch": "Odeslat vyhledávání",
"suggestionResultsCount_few": "{{label}} – {{count}} výsledky",
+ "suggestionResultsCount_many": "{{label}} – {{count}} výsledků",
"suggestionResultsCount_one": "{{label}} – {{count}} výsledek",
"suggestionResultsCount_other": "{{label}} – {{count}} výsledků",
"thankYouForYourFeedback": "Děkujeme za vaši zpětnou vazbu!",
diff --git a/locales/da/search-ui-react.json b/locales/da/search-ui-react.json
index 3c0dc8bbe..3411aea33 100644
--- a/locales/da/search-ui-react.json
+++ b/locales/da/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "Mente du {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Når autoudfyldningsresultater er tilgængelige, brug pil op/ned for at gennemgå og Enter for at vælge.",
"feedback": "Feedback",
+ "filterGroupSearchInputLabel": "Søg i valgmuligheder for {{title}}",
"invalidRange": "Ugyldigt rækkevidde",
"max": "Maks",
"min": "Min",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} resultater",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} af {{resultsCount}} resultater",
"searchHere": "Søg her…",
+ "showingAllInstead": "Viser i stedet alle {{currentVerticalLabel}}.",
"showLess": "Vis mindre",
"showMore": "Vis mere",
- "showingAllInstead": "Viser i stedet alle {{currentVerticalLabel}}.",
"sources_one": "Kilde",
"sources_other": "Kilder ({{count}})",
"submitSearch": "Indsend søgning",
diff --git a/locales/de/search-ui-react.json b/locales/de/search-ui-react.json
index a8592f9c2..fe803bbec 100644
--- a/locales/de/search-ui-react.json
+++ b/locales/de/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "Meinten Sie {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Wenn Autovervollständigungsergebnisse verfügbar sind, mit Pfeiltasten navigieren und mit Enter auswählen.",
"feedback": "Rückmeldung",
+ "filterGroupSearchInputLabel": "Optionen für {{title}} durchsuchen",
"invalidRange": "Ungültiger Bereich",
"max": "Max",
"min": "Min",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} Ergebnisse",
"resultsCountWithPaginationText": "{{paginateStart}}–{{paginateEnd}} von {{resultsCount}} Ergebnissen",
"searchHere": "Suche hier…",
+ "showingAllInstead": "Zeige stattdessen alle {{currentVerticalLabel}} an.",
"showLess": "Weniger anzeigen",
"showMore": "Mehr anzeigen",
- "showingAllInstead": "Zeige stattdessen alle {{currentVerticalLabel}} an.",
"sources_one": "Quelle",
"sources_other": "Quellen ({{count}})",
"submitSearch": "Suche einreichen",
diff --git a/locales/el/search-ui-react.json b/locales/el/search-ui-react.json
index 33dd604a0..0833b5277 100644
--- a/locales/el/search-ui-react.json
+++ b/locales/el/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "Μήπως εννοούσατε {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Όταν είναι διαθέσιμα αποτελέσματα αυτόματης συμπλήρωσης, χρησιμοποιήστε τα βελάκια πάνω/κάτω για προεπισκόπηση και Enter για επιλογή.",
"feedback": "Σχόλια",
+ "filterGroupSearchInputLabel": "Αναζήτηση στις επιλογές {{title}}",
"invalidRange": "Άκυρο εύρος",
"max": "Μέγ.",
"min": "Ελάχ.",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} Αποτελέσματα",
"resultsCountWithPaginationText": "{{paginateStart}} – {{paginateEnd}} από {{resultsCount}} Αποτελέσματα",
"searchHere": "Αναζήτησε εδώ…",
+ "showingAllInstead": "Δείχνωνται όλα τα/{{currentVerticalLabel}} αντ’ αυτού.",
"showLess": "Εμφάνιση λιγότερων",
"showMore": "Εμφάνιση περισσότερων",
- "showingAllInstead": "Δείχνωνται όλα τα/{{currentVerticalLabel}} αντ’ αυτού.",
"sources_one": "Πηγή",
"sources_other": "Πηγές ({{count}})",
"submitSearch": "Αναζήτηση",
diff --git a/locales/en-GB/search-ui-react.json b/locales/en-GB/search-ui-react.json
index 7a8c00641..55d1aa6e6 100644
--- a/locales/en-GB/search-ui-react.json
+++ b/locales/en-GB/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "Did you mean {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "When autocomplete results are available, use up and down arrows to review and enter to select.",
"feedback": "Feedback",
+ "filterGroupSearchInputLabel": "Search {{title}} Options",
"invalidRange": "Invalid range",
"max": "Max",
"min": "Min",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} Results",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} of {{resultsCount}} Results",
"searchHere": "Search here…",
+ "showingAllInstead": "Showing all {{currentVerticalLabel}} instead.",
"showLess": "Show Less",
"showMore": "Show More",
- "showingAllInstead": "Showing all {{currentVerticalLabel}} instead.",
"sources_one": "Source",
"sources_other": "Sources ({{count}})",
"submitSearch": "Submit Search",
diff --git a/locales/en/search-ui-react.json b/locales/en/search-ui-react.json
index b9e9fc2dd..adf09785e 100644
--- a/locales/en/search-ui-react.json
+++ b/locales/en/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "Did you mean {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "When autocomplete results are available, use up and down arrows to review and enter to select.",
"feedback": "Feedback",
+ "filterGroupSearchInputLabel": "Search {{title}} Options",
"invalidRange": "Invalid range",
"max": "Max",
"min": "Min",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} Results",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} of {{resultsCount}} Results",
"searchHere": "Search here...",
+ "showingAllInstead": "Showing all {{currentVerticalLabel}} instead.",
"showLess": "Show Less",
"showMore": "Show More",
- "showingAllInstead": "Showing all {{currentVerticalLabel}} instead.",
"sources_one": "Source",
"sources_other": "Sources ({{count}})",
"submitSearch": "Submit Search",
diff --git a/locales/es/search-ui-react.json b/locales/es/search-ui-react.json
index 2f4a1c243..7c5415884 100644
--- a/locales/es/search-ui-react.json
+++ b/locales/es/search-ui-react.json
@@ -4,9 +4,11 @@
"appliedFiltersToCurrentSearch": "Filtros aplicados a la búsqueda actual",
"apply": "Aplicar",
"applyFilters": "Aplicar filtros",
+ "autocompleteOptionsFound_many": "{{count}}{{label}} opciones de autocompletado encontradas.",
"autocompleteOptionsFound_one": "{{count}}{{label}} opción de autocompletado encontrada.",
"autocompleteOptionsFound_other": "{{count}}{{label}} opciones de autocompletado encontradas.",
"autocompleteSuggestion": "sugerencia de autocompleto: {{suggestion}}",
+ "autocompleteSuggestionsFound_many": "{{count}} sugerencias de autocompletado encontradas.",
"autocompleteSuggestionsFound_one": "{{count}} sugerencia de autocompletado encontrada.",
"autocompleteSuggestionsFound_other": "{{count}} sugerencias de autocompletado encontradas.",
"basedOnYourDevice": " (basado en tu dispositivo)",
@@ -22,6 +24,7 @@
"didYouMean": "Quisiste decir {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Cuando haya resultados de autocompletar, usa las flechas arriba y abajo para revisar y entra para seleccionar.",
"feedback": "Comentarios",
+ "filterGroupSearchInputLabel": "Buscar opciones de {{title}}",
"invalidRange": "Rango no válido",
"max": "Máx.",
"min": "Mín.",
@@ -33,22 +36,27 @@
"pagination": "Paginación",
"readMoreAbout": "Leer más sobre {{name}} ",
"recentSearch": "búsqueda reciente: {{query}}",
+ "recentSearchesFound_many": "{{count}} búsquedas recientes encontradas.",
"recentSearchesFound_one": "{{count}} búsqueda reciente encontrada.",
"recentSearchesFound_other": "{{count}} búsquedas recientes encontradas.",
"removeFilter": "Quitar el filtro «{{displayName}}»",
"resultPreview": "vista previa de resultados: {{value}}",
+ "resultPreviewsFound_many": "{{count}} vistas previas de resultados encontradas.",
"resultPreviewsFound_one": "{{count}} vista previa de resultado encontrada.",
"resultPreviewsFound_other": "{{count}} vistas previas de resultados encontradas.",
+ "resultsCountText_many": "{{count}} resultados",
"resultsCountText_one": "{{count}} resultado",
"resultsCountText_other": "{{count}} resultados",
"resultsCountWithPaginationText": "{{paginateStart}}–{{paginateEnd}} de {{resultsCount}} resultados",
"searchHere": "Buscar aquí…",
+ "showingAllInstead": "Mostrando todos los {{currentVerticalLabel}} en su lugar.",
"showLess": "Mostrar Menos",
"showMore": "Mostrar Más",
- "showingAllInstead": "Mostrando todos los {{currentVerticalLabel}} en su lugar.",
+ "sources_many": "Fuentes ({{count}})",
"sources_one": "Fuente",
"sources_other": "Fuentes ({{count}})",
"submitSearch": "Enviar búsqueda",
+ "suggestionResultsCount_many": "{{label}} - {{count}} resultados",
"suggestionResultsCount_one": "{{label}} - {{count}} resultado",
"suggestionResultsCount_other": "{{label}} - {{count}} resultados",
"thankYouForYourFeedback": "¡Gracias por tus comentarios!",
diff --git a/locales/et/search-ui-react.json b/locales/et/search-ui-react.json
index 38713eeb4..3c2601196 100644
--- a/locales/et/search-ui-react.json
+++ b/locales/et/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "Kas mõtlesite {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Kui automaattäite tulemused on saadaval, kasuta üles-/allanooleid eelvaateks ja Enterit valimiseks.",
"feedback": "Tagasiside",
+ "filterGroupSearchInputLabel": "Otsi {{title}} valikute seast",
"invalidRange": "Kehtetu vahemik",
"max": "Maks",
"min": "Min",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} tulemust",
"resultsCountWithPaginationText": "{{paginateStart}} – {{paginateEnd}} / {{resultsCount}} tulemust",
"searchHere": "Otsige siit…",
+ "showingAllInstead": "Näidatakse hoopis kõiki kategooriaid {{currentVerticalLabel}}.",
"showLess": "Näita vähem",
"showMore": "Näita rohkem",
- "showingAllInstead": "Näidatakse hoopis kõiki kategooriaid {{currentVerticalLabel}}.",
"sources_one": "Allikas",
"sources_other": "Allikad ({{krahv}})",
"submitSearch": "Otsingut esitama",
diff --git a/locales/fi/search-ui-react.json b/locales/fi/search-ui-react.json
index 574531941..ccf7c8b7a 100644
--- a/locales/fi/search-ui-react.json
+++ b/locales/fi/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "Tarkoititko {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Kun automaattiset tulokset ovat saatavilla, käytä nuolinäppäimiä selaamiseen ja Enteriä valitsemiseen.",
"feedback": "Palaute",
+ "filterGroupSearchInputLabel": "Hae {{title}}-vaihtoehdoista",
"invalidRange": "Virheellinen väli",
"max": "Maks",
"min": "Min",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} tulosta",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} / {{resultsCount}} tulosta",
"searchHere": "Hae tästä…",
+ "showingAllInstead": "Näytetään kaikki kohteessa {{currentVerticalLabel}} sen sijaan.",
"showLess": "Näytä vähemmän",
"showMore": "Näytä lisää",
- "showingAllInstead": "Näytetään kaikki kohteessa {{currentVerticalLabel}} sen sijaan.",
"sources_one": "Lähde",
"sources_other": "Lähteet ({{count}})",
"submitSearch": "Lähetä haku",
diff --git a/locales/fr/search-ui-react.json b/locales/fr/search-ui-react.json
index c85a1c9e3..985e15625 100644
--- a/locales/fr/search-ui-react.json
+++ b/locales/fr/search-ui-react.json
@@ -4,9 +4,11 @@
"appliedFiltersToCurrentSearch": "Filtres appliqués à la recherche actuelle",
"apply": "Appliquer",
"applyFilters": "Appliquer les filtres",
+ "autocompleteOptionsFound_many": "{{count}} options d'autocomplétion{{label}} trouvées.",
"autocompleteOptionsFound_one": "{{count}} option d'autocomplétion{{label}} trouvée.",
"autocompleteOptionsFound_other": "{{count}} options d'autocomplétion{{label}} trouvées.",
"autocompleteSuggestion": "suggestion de saisie semi-automatique: {{suggestion}}",
+ "autocompleteSuggestionsFound_many": "{{count}} suggestions d'autocomplétion trouvées.",
"autocompleteSuggestionsFound_one": "{{count}} suggestion d'autocomplétion trouvée.",
"autocompleteSuggestionsFound_other": "{{count}} suggestions d'autocomplétion trouvées.",
"basedOnYourDevice": " (basé sur votre appareil)",
@@ -22,6 +24,7 @@
"didYouMean": "Vouliez-vous dire {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Lorsque des résultats de saisie semi-automatique sont disponibles, utilisez les flèches haut et bas pour naviguer et appuyez sur Entrée pour sélectionner.",
"feedback": "Retour",
+ "filterGroupSearchInputLabel": "Rechercher parmi les options de {{title}}",
"invalidRange": "Gamme non valide",
"max": "Max",
"min": "Min",
@@ -33,22 +36,27 @@
"pagination": "Pagination",
"readMoreAbout": "En savoir plus sur {{name}} ",
"recentSearch": "recherche récente : {{query}}",
+ "recentSearchesFound_many": "{{count}} recherches récentes trouvées.",
"recentSearchesFound_one": "{{count}} recherche récente trouvée.",
"recentSearchesFound_other": "{{count}} recherches récentes trouvées.",
"removeFilter": "Supprimer le filtre «{{displayName}}»",
"resultPreview": "aperçu du résultat: {{value}}",
+ "resultPreviewsFound_many": "{{count}} aperçus de résultats trouvés.",
"resultPreviewsFound_one": "{{count}} aperçu de résultat trouvé.",
"resultPreviewsFound_other": "{{count}} aperçus de résultats trouvés.",
+ "resultsCountText_many": "{{count}} résultats",
"resultsCountText_one": "{{count}} résultat",
"resultsCountText_other": "{{count}} résultats",
"resultsCountWithPaginationText": "{{paginateStart}}–{{paginateEnd}} sur {{resultsCount}} résultats",
"searchHere": "Recherche ici…",
+ "showingAllInstead": "Affichage de tous les {{currentVerticalLabel}} à la place.",
"showLess": "Afficher moins",
"showMore": "Afficher plus",
- "showingAllInstead": "Affichage de tous les {{currentVerticalLabel}} à la place.",
+ "sources_many": "Sources ({{count}})",
"sources_one": "Source",
"sources_other": "Sources ({{count}})",
"submitSearch": "Soumettre la recherche",
+ "suggestionResultsCount_many": "{{label}} - {{count}} résultats",
"suggestionResultsCount_one": "{{label}} - {{count}} résultat",
"suggestionResultsCount_other": "{{label}} - {{count}} résultats",
"thankYouForYourFeedback": "Merci pour votre retour !",
diff --git a/locales/hi/search-ui-react.json b/locales/hi/search-ui-react.json
index 4e6e24c12..e30322dc5 100644
--- a/locales/hi/search-ui-react.json
+++ b/locales/hi/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "क्या आपका मतलब {{correctedQuery}} था",
"dropDownScreenReaderInstructions": "जब स्वतः पूर्ण परिणाम उपलब्ध हों, तो समीक्षा के लिए ऊपर और नीचे के तीर कुंजी का उपयोग करें और चयन के लिए एंटर दबाएं।",
"feedback": "प्रतिक्रिया",
+ "filterGroupSearchInputLabel": "{{title}} विकल्प खोजें",
"invalidRange": "अमान्य सीमा",
"max": "अधिकतम",
"min": "न्यूनतम",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} परिणाम",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} में से कुल {{resultsCount}} परिणाम",
"searchHere": "यहाँ खोजें…",
+ "showingAllInstead": "इसके बजाय सभी {{currentVerticalLabel}} दिखा रहे हैं।",
"showLess": "कम दिखाएँ",
"showMore": "और दिखाएँ",
- "showingAllInstead": "इसके बजाय सभी {{currentVerticalLabel}} दिखा रहे हैं।",
"sources_one": "स्रोत",
"sources_other": "स्रोत ({{count}})",
"submitSearch": "खोज जमा करें",
diff --git a/locales/hr/search-ui-react.json b/locales/hr/search-ui-react.json
index e604ee47d..68370abc4 100644
--- a/locales/hr/search-ui-react.json
+++ b/locales/hr/search-ui-react.json
@@ -25,6 +25,7 @@
"didYouMean": "Jeste li mislili na {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Kad su dostupni rezultati automatskog dovršavanja, koristite strelice gore i dolje za pregled i Enter za odabir.",
"feedback": "Povratne informacije",
+ "filterGroupSearchInputLabel": "Pretraži opcije za {{title}}",
"invalidRange": "Nevažeći raspon",
"max": "Maks",
"min": "Min",
@@ -49,9 +50,9 @@
"resultsCountText_other": "{{count}} rezultata",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} od {{resultsCount}} rezultata",
"searchHere": "Pretražite ovdje…",
+ "showingAllInstead": "Prikazuju se svi {{currentVerticalLabel}} umjesto toga.",
"showLess": "Prikaži manje",
"showMore": "Prikaži više",
- "showingAllInstead": "Prikazuju se svi {{currentVerticalLabel}} umjesto toga.",
"sources_few": "Izvora ({{count}})",
"sources_one": "Izvor",
"sources_other": "Izvori ({{count}})",
diff --git a/locales/hu/search-ui-react.json b/locales/hu/search-ui-react.json
index 4bb1087d5..f27d3c8b6 100644
--- a/locales/hu/search-ui-react.json
+++ b/locales/hu/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "Ezt szerette volna: {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Ha automatikus kiegészítési eredmények érhetők el, használd a fel/le nyilakat a böngészéshez, és az Entert a kiválasztáshoz.",
"feedback": "Visszacsatolás",
+ "filterGroupSearchInputLabel": "Keresés a(z) {{title}} lehetőségei között",
"invalidRange": "Érvénytelen hatótávolság",
"max": "Max",
"min": "Min",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} találat",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} / összesen {{resultsCount}} találat",
"searchHere": "Keressen itt…",
+ "showingAllInstead": "Helyette az összes {{currentVerticalLabel}} megjelenítése.",
"showLess": "Kevesebb mutatása",
"showMore": "Több mutatása",
- "showingAllInstead": "Helyette az összes {{currentVerticalLabel}} megjelenítése.",
"sources_one": "Forrás ({{count}})",
"sources_other": "Források ({{count}})",
"submitSearch": "Küldje el a keresést",
diff --git a/locales/it/search-ui-react.json b/locales/it/search-ui-react.json
index 4723d7821..88b690666 100644
--- a/locales/it/search-ui-react.json
+++ b/locales/it/search-ui-react.json
@@ -4,9 +4,11 @@
"appliedFiltersToCurrentSearch": "Filtri applicati alla ricerca corrente",
"apply": "Applica",
"applyFilters": "Applica filtri",
+ "autocompleteOptionsFound_many": "{{count}}{{label}} opzioni di completamento automatico trovate.",
"autocompleteOptionsFound_one": "{{count}}{{label}} opzione di completamento automatico trovata.",
"autocompleteOptionsFound_other": "{{count}}{{label}} opzioni di completamento automatico trovate.",
"autocompleteSuggestion": "suggerimento di completamento automatico: {{suggestion}}",
+ "autocompleteSuggestionsFound_many": "{{count}} suggerimenti di completamento automatico trovati.",
"autocompleteSuggestionsFound_one": "{{count}} suggerimento di completamento automatico trovato.",
"autocompleteSuggestionsFound_other": "{{count}} suggerimenti di completamento automatico trovati.",
"basedOnYourDevice": " (basato sul tuo dispositivo)",
@@ -22,6 +24,7 @@
"didYouMean": "Volevi dire {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Quando sono disponibili i risultati di completamento automatico, usa le frecce su e giù per rivedere e invio per selezionare.",
"feedback": "Feedback",
+ "filterGroupSearchInputLabel": "Cerca tra le opzioni di {{title}}",
"invalidRange": "Gamma non valida",
"max": "Max",
"min": "Min",
@@ -33,22 +36,27 @@
"pagination": "Paginazione",
"readMoreAbout": "Leggi di più su {{name}} ",
"recentSearch": "ricerca recente: {{query}}",
+ "recentSearchesFound_many": "{{count}} ricerche recenti trovate.",
"recentSearchesFound_one": "{{count}} ricerca recente trovata.",
"recentSearchesFound_other": "{{count}} ricerche recenti trovate.",
"removeFilter": "Rimuovi il filtro «{{displayName}}»",
"resultPreview": "anteprima dei risultati: {{value}}",
+ "resultPreviewsFound_many": "{{count}} anteprime dei risultati trovate.",
"resultPreviewsFound_one": "{{count}} anteprima del risultato trovata.",
"resultPreviewsFound_other": "{{count}} anteprime dei risultati trovate.",
+ "resultsCountText_many": "{{count}} risultati",
"resultsCountText_one": "{{count}} risultato",
"resultsCountText_other": "{{count}} risultati",
"resultsCountWithPaginationText": "{{paginateStart}}–{{paginateEnd}} di {{resultsCount}} risultati",
"searchHere": "Cerca qui…",
+ "showingAllInstead": "Mostrando invece tutti i {{currentVerticalLabel}}.",
"showLess": "Mostra meno",
"showMore": "Mostra di più",
- "showingAllInstead": "Mostrando invece tutti i {{currentVerticalLabel}}.",
+ "sources_many": "Fonti ({{count}})",
"sources_one": "Fonte",
"sources_other": "Fonti ({{count}})",
"submitSearch": "Invia la ricerca",
+ "suggestionResultsCount_many": "{{label}} – {{count}} risultati",
"suggestionResultsCount_one": "{{label}} – {{count}} risultato",
"suggestionResultsCount_other": "{{label}} – {{count}} risultati",
"thankYouForYourFeedback": "Grazie per il tuo feedback!",
diff --git a/locales/ja/search-ui-react.json b/locales/ja/search-ui-react.json
index 6a42f3d1e..cf696075d 100644
--- a/locales/ja/search-ui-react.json
+++ b/locales/ja/search-ui-react.json
@@ -19,6 +19,7 @@
"didYouMean": "{{correctedQuery}} と言いたかったですか",
"dropDownScreenReaderInstructions": "オートコンプリート結果が利用可能な場合、↑↓キーで選択し、Enter キーで選択。",
"feedback": "フィードバック",
+ "filterGroupSearchInputLabel": "{{title}} のオプションを検索",
"invalidRange": "無効な範囲",
"max": "最大",
"min": "最小",
@@ -37,9 +38,9 @@
"resultsCountText_other": "{{count}}件",
"resultsCountWithPaginationText": "{{paginateStart}}〜{{paginateEnd}}/全{{resultsCount}}件",
"searchHere": "ここで検索…",
+ "showingAllInstead": "代わりにすべての{{currentVerticalLabel}}を表示しています。",
"showLess": "折りたたむ",
"showMore": "もっと見る",
- "showingAllInstead": "代わりにすべての{{currentVerticalLabel}}を表示しています。",
"sources_other": "出典({{count}})",
"submitSearch": "検索を送信します",
"suggestionResultsCount_other": "{{label}} – {{count}} 件の結果",
diff --git a/locales/ko/search-ui-react.json b/locales/ko/search-ui-react.json
index bdb3c7d82..ca22f6951 100644
--- a/locales/ko/search-ui-react.json
+++ b/locales/ko/search-ui-react.json
@@ -19,6 +19,7 @@
"didYouMean": "다음을 찾으셨나요 {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "자동완성 결과가 있을 때 위/아래 화살표로 탐색하고 Enter 키로 선택하세요.",
"feedback": "피드백",
+ "filterGroupSearchInputLabel": "{{title}} 옵션 검색",
"invalidRange": "잘못된 범위입니다",
"max": "최대",
"min": "최소",
@@ -37,9 +38,9 @@
"resultsCountText_other": "{{count}}개 결과",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} / 총 {{resultsCount}}개 결과",
"searchHere": "여기에 검색…",
+ "showingAllInstead": "{{currentVerticalLabel}} 전체를 표시하고 있습니다.",
"showLess": "간략히 보기",
"showMore": "더 보기",
- "showingAllInstead": "{{currentVerticalLabel}} 전체를 표시하고 있습니다.",
"sources_other": "출처 ({{count}})",
"submitSearch": "검색",
"suggestionResultsCount_other": "{{label}} - {{count}}개 결과",
diff --git a/locales/lt/search-ui-react.json b/locales/lt/search-ui-react.json
index aac54d927..d40d7f987 100644
--- a/locales/lt/search-ui-react.json
+++ b/locales/lt/search-ui-react.json
@@ -5,10 +5,12 @@
"apply": "Taikyti",
"applyFilters": "Taikyti filtrus",
"autocompleteOptionsFound_few": "Rastos {{count}}{{label}} automatinio užbaigimo parinktys.",
+ "autocompleteOptionsFound_many": "Rasta {{count}}{{label}} automatinio užbaigimo parinkčių.",
"autocompleteOptionsFound_one": "Rasta {{count}}{{label}} automatinio užbaigimo parinktis.",
"autocompleteOptionsFound_other": "Rasta {{count}}{{label}} automatinio užbaigimo parinkčių.",
"autocompleteSuggestion": "automatinis užbaigimas pasiūlymas: {{suggestion}}",
"autocompleteSuggestionsFound_few": "Rasti {{count}} automatinio užbaigimo pasiūlymai.",
+ "autocompleteSuggestionsFound_many": "Rasta {{count}} automatinio užbaigimo pasiūlymų.",
"autocompleteSuggestionsFound_one": "Rastas {{count}} automatinio užbaigimo pasiūlymas.",
"autocompleteSuggestionsFound_other": "Rasta {{count}} automatinio užbaigimo pasiūlymų.",
"basedOnYourDevice": " (remiantis jūsų įrenginiu)",
@@ -25,6 +27,7 @@
"didYouMean": "Ar turėjote omenyje {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Kai yra automatinio užbaigimo rezultatai, naudokite rodykles aukštyn ir žemyn naršymui ir Enter pasirinkimui.",
"feedback": "Atsiliepimai",
+ "filterGroupSearchInputLabel": "Ieškoti {{title}} parinkčių",
"invalidRange": "Neteisingas diapazonas",
"max": "Maks.",
"min": "Min.",
@@ -37,26 +40,31 @@
"readMoreAbout": "Skaityti daugiau apie {{name}} ",
"recentSearch": "Naujausia paieška: {{query}}",
"recentSearchesFound_few": "Rastos {{count}} neseniai atliktos paieškos.",
+ "recentSearchesFound_many": "Rasta {{count}} neseniai atliktų paieškų.",
"recentSearchesFound_one": "Rasta {{count}} neseniai atlikta paieška.",
"recentSearchesFound_other": "Rasta {{count}} neseniai atliktų paieškų.",
"removeFilter": "Pašalinti filtrą: „{{displayName}}“",
"resultPreview": "rezultato peržiūra: {{value}}",
"resultPreviewsFound_few": "Rastos {{count}} rezultatų peržiūros.",
+ "resultPreviewsFound_many": "Rasta {{count}} rezultatų peržiūrų.",
"resultPreviewsFound_one": "Rasta {{count}} rezultatų peržiūra.",
"resultPreviewsFound_other": "Rasta {{count}} rezultatų peržiūrų.",
"resultsCountText_few": "{{count}} rezultatai",
+ "resultsCountText_many": "{{count}} rezultatų",
"resultsCountText_one": "{{count}} rezultatas",
"resultsCountText_other": "{{count}} rezultatų",
"resultsCountWithPaginationText": "{{paginateStart}}–{{paginateEnd}} iš {{resultsCount}} rezultatų",
"searchHere": "Ieškokite čia…",
+ "showingAllInstead": "Vietoje to rodomi visi {{currentVerticalLabel}}.",
"showLess": "Rodyti mažiau",
"showMore": "Rodyti daugiau",
- "showingAllInstead": "Vietoje to rodomi visi {{currentVerticalLabel}}.",
"sources_few": "Šaltiniai ({{count}})",
+ "sources_many": "Šaltinių ({{count}})",
"sources_one": "Šaltinis",
"sources_other": "Šaltinių ({{count}})",
"submitSearch": "Pateikti paiešką",
"suggestionResultsCount_few": "{{label}} – {{count}} rezultatai",
+ "suggestionResultsCount_many": "{{label}} – {{count}} rezultatų",
"suggestionResultsCount_one": "{{label}} – {{count}} rezultatas",
"suggestionResultsCount_other": "{{label}} – {{count}} rezultatų",
"thankYouForYourFeedback": "Ačiū už jūsų atsiliepimus!",
diff --git a/locales/lv/search-ui-react.json b/locales/lv/search-ui-react.json
index cc7492cff..8a85b62f7 100644
--- a/locales/lv/search-ui-react.json
+++ b/locales/lv/search-ui-react.json
@@ -25,6 +25,7 @@
"didYouMean": "Vai jūs domājāt {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Kad ir pieejami automātiskās pabeigšanas rezultāti, izmantojiet bultiņas uz augšu un leju, lai pārlūkotu, un Enter, lai izvēlētos.",
"feedback": "Atsauksmes",
+ "filterGroupSearchInputLabel": "Meklēt {{title}} opcijās",
"invalidRange": "Nederīgs diapazons",
"max": "Maks",
"min": "Min",
@@ -49,9 +50,9 @@
"resultsCountText_zero": "{{count}} rezultātu",
"resultsCountWithPaginationText": "{{paginateStart}}–{{paginateEnd}} no {{resultsCount}} rezultātiem",
"searchHere": "Meklēt šeit…",
+ "showingAllInstead": "Tiek rādīti visi {{currentVerticalLabel}}.",
"showLess": "Rādīt mazāk",
"showMore": "Rādīt vairāk",
- "showingAllInstead": "Tiek rādīti visi {{currentVerticalLabel}}.",
"sources_one": "Avots",
"sources_other": "Avoti ({{count}})",
"sources_zero": "Avoti nav pieejami",
diff --git a/locales/nb/search-ui-react.json b/locales/nb/search-ui-react.json
index 90397b5b3..4852dd303 100644
--- a/locales/nb/search-ui-react.json
+++ b/locales/nb/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "Mente du {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Når autofullføringsresultater er tilgjengelige, bruk opp- og nedpiler for å bla gjennom og enter for å velge.",
"feedback": "Tilbakemelding",
+ "filterGroupSearchInputLabel": "Søk i alternativer for {{title}}",
"invalidRange": "Ugyldig område",
"max": "Maks",
"min": "Min",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} resultater",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} av {{resultsCount}} resultater",
"searchHere": "Søk her…",
+ "showingAllInstead": "Viser alle {{currentVerticalLabel}} i stedet.",
"showLess": "Vis mindre",
"showMore": "Vis mer",
- "showingAllInstead": "Viser alle {{currentVerticalLabel}} i stedet.",
"sources_one": "Kilde",
"sources_other": "Kilder ({{count}})",
"submitSearch": "Send søk",
diff --git a/locales/nl/search-ui-react.json b/locales/nl/search-ui-react.json
index aa1de1269..7707e4387 100644
--- a/locales/nl/search-ui-react.json
+++ b/locales/nl/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "Bedoelde je {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Wanneer automatische aanvulresultaten beschikbaar zijn, gebruik de pijltjestoetsen omhoog en omlaag om te navigeren en Enter om te selecteren.",
"feedback": "Feedback",
+ "filterGroupSearchInputLabel": "Zoek in opties voor {{title}}",
"invalidRange": "Ongeldig bereik",
"max": "Max",
"min": "Min",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} resultaten",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} van {{resultsCount}} resultaten",
"searchHere": "Hier zoeken…",
+ "showingAllInstead": "Toont in plaats daarvan alle {{currentVerticalLabel}}.",
"showLess": "Minder weergeven",
"showMore": "Meer weergeven",
- "showingAllInstead": "Toont in plaats daarvan alle {{currentVerticalLabel}}.",
"sources_one": "Bron",
"sources_other": "Bronnen ({{count}})",
"submitSearch": "Zoekopdracht versturen",
diff --git a/locales/pl/search-ui-react.json b/locales/pl/search-ui-react.json
index ae4f94632..147527017 100644
--- a/locales/pl/search-ui-react.json
+++ b/locales/pl/search-ui-react.json
@@ -5,10 +5,12 @@
"apply": "Zastosuj",
"applyFilters": "Zastosuj filtry",
"autocompleteOptionsFound_few": "Znaleziono {{count}}{{label}} opcje autouzupełniania.",
+ "autocompleteOptionsFound_many": "Znaleziono {{count}}{{label}} opcji autouzupełniania.",
"autocompleteOptionsFound_one": "Znaleziono {{count}}{{label}} opcję autouzupełniania.",
"autocompleteOptionsFound_other": "Znaleziono {{count}}{{label}} opcji autouzupełniania.",
"autocompleteSuggestion": "sugestia autouzupełniania: {{suggestion}}",
"autocompleteSuggestionsFound_few": "Znaleziono {{count}} sugestie autouzupełniania.",
+ "autocompleteSuggestionsFound_many": "Znaleziono {{count}} sugestii autouzupełniania.",
"autocompleteSuggestionsFound_one": "Znaleziono {{count}} sugestię autouzupełniania.",
"autocompleteSuggestionsFound_other": "Znaleziono {{count}} sugestii autouzupełniania.",
"basedOnYourDevice": " (na podstawie Twojego urządzenia)",
@@ -25,6 +27,7 @@
"didYouMean": "Czy chodziło Ci o {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Gdy dostępne są wyniki autouzupełniania, użyj strzałek w górę i w dół, aby przejrzeć, a enter, aby wybrać.",
"feedback": "Informacja zwrotna",
+ "filterGroupSearchInputLabel": "Szukaj w opcjach {{title}}",
"invalidRange": "Nieprawidłowy zasięg",
"max": "Max",
"min": "Min",
@@ -37,26 +40,31 @@
"readMoreAbout": "Czytaj więcej o {{name}} ",
"recentSearch": "najnowsze wyszukiwanie: {{query}}",
"recentSearchesFound_few": "Znaleziono {{count}} ostatnie wyszukiwania.",
+ "recentSearchesFound_many": "Znaleziono {{count}} ostatnich wyszukiwań.",
"recentSearchesFound_one": "Znaleziono {{count}} ostatnie wyszukiwanie.",
"recentSearchesFound_other": "Znaleziono {{count}} ostatnich wyszukiwań.",
"removeFilter": "Usuń filtr „{{displayName}}“",
"resultPreview": "podgląd wyników: {{value}}",
"resultPreviewsFound_few": "Znaleziono {{count}} podglądy wyników.",
+ "resultPreviewsFound_many": "Znaleziono {{count}} podglądów wyników.",
"resultPreviewsFound_one": "Znaleziono {{count}} podgląd wyniku.",
"resultPreviewsFound_other": "Znaleziono {{count}} podglądów wyników.",
"resultsCountText_few": "{{count}} wyniki",
+ "resultsCountText_many": "{{count}} wyników",
"resultsCountText_one": "{{count}} wynik",
"resultsCountText_other": "{{count}} wyników",
"resultsCountWithPaginationText": "{{paginateStart}}–{{paginateEnd}} z {{resultsCount}} wyników",
"searchHere": "Wyszukaj tutaj…",
+ "showingAllInstead": "Wyświetlam wszystkie {{currentVerticalLabel}} zamiast tego.",
"showLess": "Pokaż mniej",
"showMore": "Pokaż więcej",
- "showingAllInstead": "Wyświetlam wszystkie {{currentVerticalLabel}} zamiast tego.",
"sources_few": "Źródła ({{count}})",
+ "sources_many": "Źródeł ({{count}})",
"sources_one": "Źródło",
"sources_other": "Źródeł ({{count}})",
"submitSearch": "Prześlij wyszukiwanie",
"suggestionResultsCount_few": "{{label}} – {{count}} wyniki",
+ "suggestionResultsCount_many": "{{label}} – {{count}} wyników",
"suggestionResultsCount_one": "{{label}} – {{count}} wynik",
"suggestionResultsCount_other": "{{label}} – {{count}} wyników",
"thankYouForYourFeedback": "Dziękujemy za Twoją opinię!",
diff --git a/locales/pt/search-ui-react.json b/locales/pt/search-ui-react.json
index f84e3704d..ceb1109fc 100644
--- a/locales/pt/search-ui-react.json
+++ b/locales/pt/search-ui-react.json
@@ -4,9 +4,11 @@
"appliedFiltersToCurrentSearch": "Filtros aplicados à pesquisa atual",
"apply": "Aplicar",
"applyFilters": "Aplicar Filtros",
+ "autocompleteOptionsFound_many": "{{count}}{{label}} opções de preenchimento automático encontradas.",
"autocompleteOptionsFound_one": "{{count}}{{label}} opção de preenchimento automático encontrada.",
"autocompleteOptionsFound_other": "{{count}}{{label}} opções de preenchimento automático encontradas.",
"autocompleteSuggestion": "sugestão de preenchimento automático: {{suggestion}}",
+ "autocompleteSuggestionsFound_many": "{{count}} sugestões de preenchimento automático encontradas.",
"autocompleteSuggestionsFound_one": "{{count}} sugestão de preenchimento automático encontrada.",
"autocompleteSuggestionsFound_other": "{{count}} sugestões de preenchimento automático encontradas.",
"basedOnYourDevice": " (baseado no seu dispositivo)",
@@ -22,6 +24,7 @@
"didYouMean": "Você quis dizer {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Quando os resultados de preenchimento automático estiverem disponíveis, use as setas para cima e para baixo para revisar e Enter para selecionar.",
"feedback": "Feedback",
+ "filterGroupSearchInputLabel": "Pesquisar opções de {{title}}",
"invalidRange": "Intervalo inválido",
"max": "Máx",
"min": "Mín",
@@ -33,22 +36,27 @@
"pagination": "Paginação",
"readMoreAbout": "Leia mais sobre {{name}} ",
"recentSearch": "busca recente: {{query}}",
+ "recentSearchesFound_many": "{{count}} buscas recentes encontradas.",
"recentSearchesFound_one": "{{count}} busca recente encontrada.",
"recentSearchesFound_other": "{{count}} buscas recentes encontradas.",
"removeFilter": "Remover filtro «{{displayName}}»",
"resultPreview": "pré-visualização do resultado: {{value}}",
+ "resultPreviewsFound_many": "{{count}} pré-visualizações recentes encontradas.",
"resultPreviewsFound_one": "{{count}} pré-visualização do resultado encontrada.",
"resultPreviewsFound_other": "{{count}} pré-visualizações recentes encontradas.",
+ "resultsCountText_many": "{{count}} Resultados",
"resultsCountText_one": "{{count}} Resultado",
"resultsCountText_other": "{{count}} Resultados",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} de {{resultsCount}} Resultados",
"searchHere": "Pesquise aqui…",
+ "showingAllInstead": "Mostrando todos os {{currentVerticalLabel}} em vez disso.",
"showLess": "Mostrar Menos",
"showMore": "Mostrar Mais",
- "showingAllInstead": "Mostrando todos os {{currentVerticalLabel}} em vez disso.",
+ "sources_many": "Fontes ({{count}})",
"sources_one": "Fonte",
"sources_other": "Fontes ({{count}})",
"submitSearch": "Enviar pesquisa",
+ "suggestionResultsCount_many": "{{label}} - {{count}} resultados",
"suggestionResultsCount_one": "{{label}} - {{count}} resultado",
"suggestionResultsCount_other": "{{label}} - {{count}} resultados",
"thankYouForYourFeedback": "Obrigado pelo seu feedback!",
diff --git a/locales/ro/search-ui-react.json b/locales/ro/search-ui-react.json
index 4b13e1e58..ca18d4da1 100644
--- a/locales/ro/search-ui-react.json
+++ b/locales/ro/search-ui-react.json
@@ -25,6 +25,7 @@
"didYouMean": "Ai vrut să spui {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Când sunt disponibile rezultate de completare automată, folosește săgețile sus și jos pentru a naviga și Enter pentru a selecta.",
"feedback": "Feedback",
+ "filterGroupSearchInputLabel": "Căutați în opțiunile pentru {{title}}",
"invalidRange": "Interval nevalid",
"max": "Max",
"min": "Min",
@@ -49,9 +50,9 @@
"resultsCountText_other": "{{count}} de rezultate",
"resultsCountWithPaginationText": "{{paginateStart}}–{{paginateEnd}} din {{resultsCount}} rezultate",
"searchHere": "Căutați aici…",
+ "showingAllInstead": "Se afișează toate {{currentVerticalLabel}} în schimb.",
"showLess": "Arată mai puțin",
"showMore": "Arată mai mult",
- "showingAllInstead": "Se afișează toate {{currentVerticalLabel}} în schimb.",
"sources_few": "Surse ({{count}})",
"sources_one": "Sursă",
"sources_other": "Surse ({{count}})",
diff --git a/locales/ru/search-ui-react.json b/locales/ru/search-ui-react.json
index 40abc5a99..dbce2c598 100644
--- a/locales/ru/search-ui-react.json
+++ b/locales/ru/search-ui-react.json
@@ -28,6 +28,7 @@
"didYouMean": "Вы имели в виду {{correctedQuery}} ?",
"dropDownScreenReaderInstructions": "Когда доступны результаты автозаполнения, используйте стрелки вверх и вниз для просмотра и Enter для выбора.",
"feedback": "Обратная связь",
+ "filterGroupSearchInputLabel": "Искать среди вариантов {{title}}",
"invalidRange": "Недопустимый диапазон",
"max": "Макс",
"min": "Мин",
@@ -55,9 +56,9 @@
"resultsCountText_other": "{{count}} результата",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} из {{resultsCount}} результатов",
"searchHere": "Искать здесь…",
+ "showingAllInstead": "Показаны все {{currentVerticalLabel}} вместо этого.",
"showLess": "Показать меньше",
"showMore": "Показать больше",
- "showingAllInstead": "Показаны все {{currentVerticalLabel}} вместо этого.",
"sources_few": "Источника ({{count}})",
"sources_many": "Источников ({{count}})",
"sources_one": "Источник",
diff --git a/locales/sk/search-ui-react.json b/locales/sk/search-ui-react.json
index 15fd0b30f..34905bd8f 100644
--- a/locales/sk/search-ui-react.json
+++ b/locales/sk/search-ui-react.json
@@ -5,10 +5,12 @@
"apply": "Použiť",
"applyFilters": "Použiť filtre",
"autocompleteOptionsFound_few": "Nájdené {{count}}{{label}} možnosti automatického dopĺňania.",
+ "autocompleteOptionsFound_many": "Nájdených {{count}}{{label}} možností automatického dopĺňania.",
"autocompleteOptionsFound_one": "Nájdená {{count}}{{label}} možnosť automatického dopĺňania.",
"autocompleteOptionsFound_other": "Nájdených {{count}}{{label}} možností automatického dopĺňania.",
"autocompleteSuggestion": "návrh automatického dopĺňania: {{suggestion}}",
"autocompleteSuggestionsFound_few": "Nájdené {{count}} návrhy automatického dopĺňania.",
+ "autocompleteSuggestionsFound_many": "Nájdených {{count}} návrhov automatického dopĺňania.",
"autocompleteSuggestionsFound_one": "Nájdený {{count}} návrh automatického dopĺňania.",
"autocompleteSuggestionsFound_other": "Nájdených {{count}} návrhov automatického dopĺňania.",
"basedOnYourDevice": " (na základe vášho zariadenia)",
@@ -25,6 +27,7 @@
"didYouMean": "Mali ste na mysli {{correctedQuery}} ?",
"dropDownScreenReaderInstructions": "Keď sú k dispozícii výsledky automatického dokončenia, použite šípky nahor a nadol na preskúmanie a enter na výber.",
"feedback": "Spätná väzba",
+ "filterGroupSearchInputLabel": "Hľadať možnosti {{title}}",
"invalidRange": "Neplatný rozsah",
"max": "Max",
"min": "Min",
@@ -37,26 +40,31 @@
"readMoreAbout": "Čítať viac o {{name}} ",
"recentSearch": "nedávne vyhľadávanie: {{query}}",
"recentSearchesFound_few": "Nájdené {{count}} nedávne vyhľadávania.",
+ "recentSearchesFound_many": "Nájdených {{count}} nedávnych vyhľadávaní.",
"recentSearchesFound_one": "Nájdené {{count}} nedávne vyhľadávanie.",
"recentSearchesFound_other": "Nájdených {{count}} nedávnych vyhľadávaní.",
"removeFilter": "Odstrániť filter „{{displayName}}“",
"resultPreview": "výsledkový náhľad: {{value}}",
"resultPreviewsFound_few": "Nájdené {{count}} náhľady výsledkov.",
+ "resultPreviewsFound_many": "Nájdených {{count}} náhľadov výsledkov.",
"resultPreviewsFound_one": "Nájdený {{count}} náhľad výsledku.",
"resultPreviewsFound_other": "Nájdených {{count}} náhľadov výsledkov.",
"resultsCountText_few": "{{count}} výsledky",
+ "resultsCountText_many": "{{count}} výsledkov",
"resultsCountText_one": "{{count}} výsledok",
"resultsCountText_other": "{{count}} výsledkov",
"resultsCountWithPaginationText": "{{paginateStart}}–{{paginateEnd}} z {{resultsCount}} výsledkov",
"searchHere": "Vyhľadajte tu…",
+ "showingAllInstead": "Zobrazujú sa všetky položky v {{currentVerticalLabel}}.",
"showLess": "Zobraziť menej",
"showMore": "Zobraziť viac",
- "showingAllInstead": "Zobrazujú sa všetky položky v {{currentVerticalLabel}}.",
"sources_few": "Zdroje ({{count}})",
+ "sources_many": "Zdroje ({{count}})",
"sources_one": "Zdroj",
"sources_other": "Zdroje ({{count}})",
"submitSearch": "Odovzdať",
"suggestionResultsCount_few": "{{label}} – {{count}} výsledky",
+ "suggestionResultsCount_many": "{{label}} – {{count}} výsledkov",
"suggestionResultsCount_one": "{{label}} – {{count}} výsledok",
"suggestionResultsCount_other": "{{label}} – {{count}} výsledkov",
"thankYouForYourFeedback": "Ďakujeme za vašu spätnú väzbu!",
diff --git a/locales/sv/search-ui-react.json b/locales/sv/search-ui-react.json
index 5235befae..528bd5ca4 100644
--- a/locales/sv/search-ui-react.json
+++ b/locales/sv/search-ui-react.json
@@ -22,6 +22,7 @@
"didYouMean": "Menade du {{correctedQuery}} ?",
"dropDownScreenReaderInstructions": "När autofyllningsresultat är tillgängliga, använd upp- och nedpilar för att bläddra och enter för att välja.",
"feedback": "Feedback",
+ "filterGroupSearchInputLabel": "Sök bland alternativ för {{title}}",
"invalidRange": "Ogiltigt intervall",
"max": "Max",
"min": "Min",
@@ -43,9 +44,9 @@
"resultsCountText_other": "{{count}} resultat",
"resultsCountWithPaginationText": "{{paginateStart}}–{{paginateEnd}} av {{resultsCount}} resultat",
"searchHere": "Sök här…",
+ "showingAllInstead": "Visar alla {{currentVerticalLabel}} i stället.",
"showLess": "Visa mindre",
"showMore": "Visa mer",
- "showingAllInstead": "Visar alla {{currentVerticalLabel}} i stället.",
"sources_one": "Källa",
"sources_other": "Källor ({{count}})",
"submitSearch": "Skicka sökning",
diff --git a/locales/tr/search-ui-react.json b/locales/tr/search-ui-react.json
index 0b2c676a9..4628b57c5 100644
--- a/locales/tr/search-ui-react.json
+++ b/locales/tr/search-ui-react.json
@@ -4,8 +4,10 @@
"appliedFiltersToCurrentSearch": "Mevcut aramaya uygulanan filtreler",
"apply": "Uygula",
"applyFilters": "Filtreleri Uygula",
+ "autocompleteOptionsFound_one": "{{count}}{{label}} tamamlayıcı seçenek bulundu.",
"autocompleteOptionsFound_other": "{{count}}{{label}} tamamlayıcı seçenekler bulundu.",
"autocompleteSuggestion": "tamamlayıcı öneri: {{suggestion}}",
+ "autocompleteSuggestionsFound_one": "{{count}} tamamlayıcı öneri bulundu.",
"autocompleteSuggestionsFound_other": "{{count}} tamamlayıcı öneri bulundu.",
"basedOnYourDevice": " (cihazınıza göre)",
"basedOnYourInternetAddress": " (internet adresinize göre)",
@@ -19,6 +21,7 @@
"didYouMean": "Demek istediniz mi {{correctedQuery}} ",
"dropDownScreenReaderInstructions": "Tamamlayıcı sonuçlar mevcut olduğunda, yukarı/aşağı okları kullanarak gezinip enter ile seçin.",
"feedback": "Geri bildirim",
+ "filterGroupSearchInputLabel": "{{title}} seçeneklerinde ara",
"invalidRange": "Geçersiz aralık",
"max": "Maks",
"min": "Min",
@@ -30,18 +33,23 @@
"pagination": "Sayfalandırma",
"readMoreAbout": "{{name}} hakkında daha fazla oku",
"recentSearch": "son arama: {{query}}",
+ "recentSearchesFound_one": "{{count}} son arama bulundu.",
"recentSearchesFound_other": "{{count}} son arama bulundu.",
"removeFilter": "“{{displayName}}” filtresini kaldır",
"resultPreview": "sonuç önizlemesi: {{value}}",
+ "resultPreviewsFound_one": "{{count}} sonuç önizlemesi bulundu.",
"resultPreviewsFound_other": "{{count}} yakın zamanda önizleme bulundu.",
+ "resultsCountText_one": "{{count}} Sonuç",
"resultsCountText_other": "{{count}} Sonuç",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} toplam {{resultsCount}} sonuç",
"searchHere": "Burada ara…",
+ "showingAllInstead": "Bunun yerine tüm {{currentVerticalLabel}} gösteriliyor.",
"showLess": "Daha az göster",
"showMore": "Daha fazla göster",
- "showingAllInstead": "Bunun yerine tüm {{currentVerticalLabel}} gösteriliyor.",
+ "sources_one": "Kaynak",
"sources_other": "Kaynaklar ({{count}})",
"submitSearch": "Aramayı Gönder",
+ "suggestionResultsCount_one": "{{label}} - {{count}} sonuç",
"suggestionResultsCount_other": "{{label}} - {{count}} sonuç",
"thankYouForYourFeedback": "Geri bildiriminiz için teşekkürler!",
"thisAnsweredMyQuestion": "Bu sorumu yanıtladı",
diff --git a/locales/vi/search-ui-react.json b/locales/vi/search-ui-react.json
index 4a86fa8b3..4b7a285ec 100644
--- a/locales/vi/search-ui-react.json
+++ b/locales/vi/search-ui-react.json
@@ -19,6 +19,7 @@
"didYouMean": "Ý bạn là {{correctedQuery}} phải không",
"dropDownScreenReaderInstructions": "Khi có kết quả tự động hoàn thành, dùng phím mũi lên/xuống để duyệt và Enter để chọn.",
"feedback": "Phản hồi",
+ "filterGroupSearchInputLabel": "Tìm kiếm trong các tùy chọn {{title}}",
"invalidRange": "Phạm vi không hợp lệ",
"max": "Tối đa",
"min": "Tối thiểu",
@@ -37,9 +38,9 @@
"resultsCountText_other": "{{count}} kết quả",
"resultsCountWithPaginationText": "{{paginateStart}}–{{paginateEnd}} trên tổng {{resultsCount}} kết quả",
"searchHere": "Tìm kiếm ở đây…",
+ "showingAllInstead": "Hiển thị tất cả {{currentVerticalLabel}} thay vào đó.",
"showLess": "Ẩn bớt",
"showMore": "Xem thêm",
- "showingAllInstead": "Hiển thị tất cả {{currentVerticalLabel}} thay vào đó.",
"sources_other": "Nguồn ({{count}})",
"submitSearch": "Gửi tìm kiếm",
"suggestionResultsCount_other": "{{label}} – {{count}} kết quả",
diff --git a/locales/zh-CN/search-ui-react.json b/locales/zh-CN/search-ui-react.json
index 9096f9850..15c4adbf5 100644
--- a/locales/zh-CN/search-ui-react.json
+++ b/locales/zh-CN/search-ui-react.json
@@ -19,6 +19,7 @@
"didYouMean": "您的意思是 {{correctedQuery}} 吗",
"dropDownScreenReaderInstructions": "当有自动完成结果时,使用上下箭头浏览,按回车键选择。",
"feedback": "反馈",
+ "filterGroupSearchInputLabel": "搜索{{title}}选项",
"invalidRange": "无效范围",
"max": "最大",
"min": "最小",
@@ -37,9 +38,9 @@
"resultsCountText_other": "{{count}} 条结果",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} / 共 {{resultsCount}} 个结果",
"searchHere": "在此搜索…",
+ "showingAllInstead": "正在显示所有{{currentVerticalLabel}}。",
"showLess": "收起",
"showMore": "查看更多",
- "showingAllInstead": "正在显示所有{{currentVerticalLabel}}。",
"sources_other": "来源({{count}})",
"submitSearch": "提交搜索",
"suggestionResultsCount_other": "{{label}} – {{count}} 个结果",
diff --git a/locales/zh-TW/search-ui-react.json b/locales/zh-TW/search-ui-react.json
index b68cd29e9..4cbc4d3e4 100644
--- a/locales/zh-TW/search-ui-react.json
+++ b/locales/zh-TW/search-ui-react.json
@@ -19,6 +19,7 @@
"didYouMean": "您的意思是 {{correctedQuery}} 嗎",
"dropDownScreenReaderInstructions": "有自動完成結果時,請使用上下鍵瀏覽並按 Enter 鍵選取。",
"feedback": "回饋",
+ "filterGroupSearchInputLabel": "搜尋{{title}}選項",
"invalidRange": "無效範圍",
"max": "最大",
"min": "最小",
@@ -37,9 +38,9 @@
"resultsCountText_other": "{{count}} 筆結果",
"resultsCountWithPaginationText": "{{paginateStart}} - {{paginateEnd}} / 共 {{resultsCount}} 筆結果",
"searchHere": "請在此搜尋…",
+ "showingAllInstead": "顯示所有 {{currentVerticalLabel}}。",
"showLess": "顯示較少",
"showMore": "顯示更多",
- "showingAllInstead": "顯示所有 {{currentVerticalLabel}}。",
"sources_other": "來源({{count}})",
"submitSearch": "提交搜尋",
"suggestionResultsCount_other": "{{label}} – {{count}} 筆結果",
diff --git a/src/components/FacetProps.ts b/src/components/FacetProps.ts
index fcbcedb42..282aaa5f3 100644
--- a/src/components/FacetProps.ts
+++ b/src/components/FacetProps.ts
@@ -65,7 +65,12 @@ export interface StandardFacetProps {
*/
showMoreLimit?: number,
/** CSS classes for customizing the component styling. */
- customCssClasses?: FilterGroupCssClasses
+ customCssClasses?: FilterGroupCssClasses,
+ /**
+ * Whether or not to show the label for the search bar when present.
+ * Defaults to false.
+ */
+ showOptionsSearchInputLabel?: boolean
}
/**
diff --git a/src/components/FilterGroup.tsx b/src/components/FilterGroup.tsx
index c52c8abea..3e7fbde1c 100644
--- a/src/components/FilterGroup.tsx
+++ b/src/components/FilterGroup.tsx
@@ -22,6 +22,7 @@ const DEFAULT_CUSTOM_CSS_CLASSES = {};
export interface FilterGroupCssClasses {
titleLabel?: string,
searchInput?: string,
+ searchInputLabel?: string,
optionsContainer?: string,
option?: string,
optionInput?: string,
@@ -49,6 +50,8 @@ export interface FilterGroupProps {
defaultExpanded?: boolean,
/** Whether or not to display a text input to search for filter options. */
searchable?: boolean,
+ /** Whether or not to display the visible search input label. Defaults to false. */
+ showOptionsSearchInputLabel?: boolean,
/** CSS classes for customizing the component styling. */
customCssClasses?: FilterGroupCssClasses,
/** Limit on the number of options to be displayed. */
@@ -65,10 +68,12 @@ export function FilterGroup({
collapsible = true,
defaultExpanded = true,
searchable,
+ showOptionsSearchInputLabel = false,
customCssClasses = DEFAULT_CUSTOM_CSS_CLASSES,
showMoreLimit = filterOptions.length,
children
}: PropsWithChildren) {
+ const { t } = useTranslation();
const cssClasses = useMemo(() => {
const { option, optionLabel, optionInput, ...remainingClasses } = customCssClasses;
return {
@@ -78,6 +83,11 @@ export function FilterGroup({
...optionInput && { input: optionInput }
};
}, [customCssClasses]);
+ const searchInputLabel = showOptionsSearchInputLabel
+ ? t('filterGroupSearchInputLabel', {
+ title
+ })
+ : undefined;
return (
{collapsible ? (
- {searchable && }
+ {searchable &&
+ }
) : (
- {searchable &&
}
+ {searchable &&
+
}
);
-}
\ No newline at end of file
+}
diff --git a/src/components/FilterSearch.tsx b/src/components/FilterSearch.tsx
index 5766f2c19..0548e5608 100644
--- a/src/components/FilterSearch.tsx
+++ b/src/components/FilterSearch.tsx
@@ -126,6 +126,11 @@ export interface FilterSearchProps {
disableBuiltInClasses?: boolean,
/** The accessible label for the dropdown input. */
ariaLabel?: string,
+ /**
+ * The accessible label for the region which contains the filter search input and its filtered content.
+ * If provided, this overrides `label` for the region accessible label.
+ */
+ resultsRegionAriaLabel?: string,
/** Whether to include a button to search on the user's location. Defaults to false. */
showCurrentLocationButton?: boolean,
/** The props for the geolocation component, if the current location button is enabled. */
@@ -152,6 +157,7 @@ export function FilterSearch({
customCssClasses,
disableBuiltInClasses = false,
ariaLabel,
+ resultsRegionAriaLabel,
showCurrentLocationButton = false,
geolocationProps = {}
}: FilterSearchProps): React.JSX.Element {
@@ -243,6 +249,7 @@ export function FilterSearch({
}, [filterSearchResponse?.sections]);
const hasResults = sections.flatMap(s => s.results).length > 0;
+ const regionAriaLabel = resultsRegionAriaLabel ?? label;
const handleSelectDropdown = useCallback(async (
_value: string,
@@ -320,10 +327,17 @@ export function FilterSearch({
function renderDropdownItems() {
return sections.map((section, sectionIndex) => {
+ const sectionLabelId = section.label ? `${inputId}-section-${sectionIndex}` : undefined;
+
return (
-
+
{section.label &&
-
+
{section.label}
}
@@ -376,7 +390,11 @@ export function FilterSearch({
);
return (
-
+
{label && (
{label}
diff --git a/src/components/Filters/SearchInput.tsx b/src/components/Filters/SearchInput.tsx
index cc22cdbb9..daeea0122 100644
--- a/src/components/Filters/SearchInput.tsx
+++ b/src/components/Filters/SearchInput.tsx
@@ -1,6 +1,7 @@
import { useTranslation } from 'react-i18next';
import React, { ChangeEvent, useCallback } from 'react';
import { useFilterGroupContext } from './FilterGroupContext';
+import { useId } from '../../hooks/useId';
/**
* Props for the {@link Filters.SearchInput}.
@@ -10,8 +11,12 @@ import { useFilterGroupContext } from './FilterGroupContext';
export interface SearchInputProps {
/** CSS class names applied to the input element. */
className?: string,
+ /** CSS class names applied to the label element. */
+ labelClassName?: string,
/** {@inheritDoc FilterSearch.placeholder} */
- placeholder?: string
+ placeholder?: string,
+ /** The visible label text associated with the input. */
+ label?: string
}
/**
@@ -26,20 +31,32 @@ export function SearchInput(props: SearchInputProps): React.JSX.Element {
const { t } = useTranslation();
const {
className = 'text-sm form-input bg-white h-9 w-full outline-none p-2 mb-2 rounded-md border border-gray-300 focus:ring-primary focus:ring-0 text-neutral-dark placeholder:text-neutral',
- placeholder
+ labelClassName = 'mb-1 block text-sm font-medium text-neutral-dark',
+ placeholder,
+ label
} = props;
const { searchValue, setSearchValue } = useFilterGroupContext();
const handleChange = useCallback((e: ChangeEvent) => {
setSearchValue(e.target.value);
}, [setSearchValue]);
+ const labelId = useId('filters-search-input-label');
+ const inputId = useId('filter-group-search-input');
return (
-
+ <>
+ {label && (
+
+ {label}
+
+ )}
+
+ >
);
}
diff --git a/src/components/StaticFilters.tsx b/src/components/StaticFilters.tsx
index 020c721bb..58ed985d1 100644
--- a/src/components/StaticFilters.tsx
+++ b/src/components/StaticFilters.tsx
@@ -40,6 +40,8 @@ export interface StaticFiltersProps {
defaultExpanded?: boolean,
/** {@inheritDoc FilterGroupProps.searchable} */
searchable?: boolean,
+ /** {@inheritDoc FilterGroupProps.showOptionsSearchInputLabel} */
+ showOptionsSearchInputLabel?: boolean,
/**
* Whether or not a search is automatically run when a filter is selected.
* Defaults to true.
diff --git a/test-site/package-lock.json b/test-site/package-lock.json
index 0c219ca4d..e9a55895c 100644
--- a/test-site/package-lock.json
+++ b/test-site/package-lock.json
@@ -34,7 +34,7 @@
},
"..": {
"name": "@yext/search-ui-react",
- "version": "2.1.1",
+ "version": "2.1.2",
"license": "BSD-3-Clause",
"dependencies": {
"@restart/ui": "^1.0.1",
diff --git a/test-site/src/pages/PeoplePage.tsx b/test-site/src/pages/PeoplePage.tsx
index 4fdbc31df..730fb2383 100644
--- a/test-site/src/pages/PeoplePage.tsx
+++ b/test-site/src/pages/PeoplePage.tsx
@@ -113,7 +113,7 @@ export function PeoplePage() {
/>
-
+
diff --git a/tests/components/Facets.test.tsx b/tests/components/Facets.test.tsx
index 3a757b86b..6b91a0d6d 100644
--- a/tests/components/Facets.test.tsx
+++ b/tests/components/Facets.test.tsx
@@ -123,6 +123,20 @@ describe('Facets', () => {
.toBeDefined();
});
+ it('Passes the options search input label setting to an override standard facet', () => {
+ render(
+
+
+ );
+
+ expect(screen.getByText('Search Products Options')).toBeDefined();
+ expect(screen.getByLabelText('Search Products Options')).toBeDefined();
+ });
+
it('Properly renders an override numerical facet if present', () => {
const mockTransformOptions = (options: DisplayableFacetOption[]) =>
options.map(option => ({ ...option, displayName: `Price is ${option.displayName}` }));
@@ -146,6 +160,20 @@ describe('Facets', () => {
expect(screen.getByText(`Price is ${facet.options[0].displayName}`)).toBeDefined();
});
+ it('Passes the options search input label setting to an override numerical facet', () => {
+ render(
+
+
+ );
+
+ expect(screen.getByText('Search Price Options')).toBeDefined();
+ expect(screen.getByLabelText('Search Price Options')).toBeDefined();
+ });
+
it('Properly renders an override hierarchical facet if present', () => {
const overrideFieldId = 'hier';
const overrideLabel = 'My Fruit';
diff --git a/tests/components/FilterSearch.test.tsx b/tests/components/FilterSearch.test.tsx
index 787633059..f1fce8fbe 100644
--- a/tests/components/FilterSearch.test.tsx
+++ b/tests/components/FilterSearch.test.tsx
@@ -102,6 +102,37 @@ function renderFilterSearch(
}
describe('search with section labels', () => {
+ it('uses the display label as the accessible name for a containing region', () => {
+ renderFilterSearch({ searchFields: searchFieldsProp, label: 'Filter' });
+
+ expect(screen.getByRole('region', { name: 'Filter' })).toBeDefined();
+ });
+
+ it('uses resultsRegionAriaLabel as the accessible name for a containing region when label is absent', () => {
+ renderFilterSearch({
+ searchFields: searchFieldsProp,
+ resultsRegionAriaLabel: 'Location filter'
+ });
+
+ expect(screen.getByRole('region', { name: 'Location filter' })).toBeDefined();
+ });
+
+ it('uses resultsRegionAriaLabel as the accessible name for a containing region when both labels are provided', () => {
+ renderFilterSearch({
+ searchFields: searchFieldsProp,
+ label: 'Filter',
+ resultsRegionAriaLabel: 'Location filter'
+ });
+
+ expect(screen.getByRole('region', { name: 'Location filter' })).toBeDefined();
+ });
+
+ it('does not render a region role when neither label nor resultsRegionAriaLabel is provided', () => {
+ renderFilterSearch({ searchFields: searchFieldsProp });
+
+ expect(screen.queryByRole('region')).toBeNull();
+ });
+
it('renders the filter search bar, "Filter" label, and default placeholder text translated based on the locale', () => {
const { rerenderWithLocale } = renderFilterSearch({ searchFields: searchFieldsProp, label: 'Filter' });
const label = 'Filter';
@@ -117,6 +148,11 @@ describe('search with section labels', () => {
expect(localizedSearchBarElement[0].placeholder).toBe('ここで検索…');
});
+ it('associates the filter label to the filter search input', () => {
+ renderFilterSearch({ searchFields: searchFieldsProp, label: 'Filter' });
+ expect(screen.getByRole('combobox', { name: 'Filter' })).toBeDefined();
+ });
+
it('sets the placeholder text to the specified value regardless of the search locale', () => {
const { rerenderWithLocale } = renderFilterSearch({ searchFields: searchFieldsProp, placeholder: 'Search...' });
const searchBarElement = screen.getByRole('combobox');
diff --git a/tests/components/NumericalFacetContent.test.tsx b/tests/components/NumericalFacetContent.test.tsx
index d4329a8ae..42e026e1d 100644
--- a/tests/components/NumericalFacetContent.test.tsx
+++ b/tests/components/NumericalFacetContent.test.tsx
@@ -161,6 +161,17 @@ describe('NumericalFacetContent', () => {
expect(label).toBeNull();
expect(labelAndCount).toBeDefined();
});
+
+ it('Shows the options search input label when enabled', () => {
+ render(mockNumericalFacet({
+ fieldId: numericalFacet.fieldId,
+ showMoreLimit: 1,
+ showOptionsSearchInputLabel: true
+ }));
+
+ expect(screen.getByText(`Search ${numericalFacet.displayName} Options`)).toBeDefined();
+ expect(screen.getByLabelText(`Search ${numericalFacet.displayName} Options`)).toBeDefined();
+ });
});
function expectFacetOptionSet(
diff --git a/tests/components/StandardFacetContent.test.tsx b/tests/components/StandardFacetContent.test.tsx
index 7a1116e3f..e14a74a3e 100644
--- a/tests/components/StandardFacetContent.test.tsx
+++ b/tests/components/StandardFacetContent.test.tsx
@@ -105,6 +105,17 @@ describe('StandardFacetContent', () => {
await userEvent.click(teaCheckbox);
expectFacetOptionSet(actions, standardFacet.fieldId, standardFacet.options[1], false);
});
+
+ it('Shows the options search input label when enabled', () => {
+ render(mockStandardFacet({
+ fieldId: standardFacet.fieldId,
+ showMoreLimit: 1,
+ showOptionsSearchInputLabel: true
+ }));
+
+ expect(screen.getByText(`Search ${standardFacet.displayName} Options`)).toBeDefined();
+ expect(screen.getByLabelText(`Search ${standardFacet.displayName} Options`)).toBeDefined();
+ });
});
function expectFacetOptionSet(
diff --git a/tests/components/StaticFilters.test.tsx b/tests/components/StaticFilters.test.tsx
index e763792d4..d7a487d2c 100644
--- a/tests/components/StaticFilters.test.tsx
+++ b/tests/components/StaticFilters.test.tsx
@@ -173,6 +173,19 @@ describe('Static Filters', () => {
expect(screen.queryByRole('checkbox')).toBeNull();
});
+ it('Can show the search input label', () => {
+ render(
+
+ );
+
+ expect(screen.getByText(`Search ${staticFiltersProps.title} Options`)).toBeDefined();
+ expect(screen.getByLabelText(`Search ${staticFiltersProps.title} Options`)).toBeDefined();
+ });
+
it('Clicking a filter option executes a search when searchOnChange is true', async () => {
const actions = spyOnActions();
render( );