diff --git a/docs/search-ui-react.filtergroupcssclasses.md b/docs/search-ui-react.filtergroupcssclasses.md index 7989d7f4f..f7ff72f6c 100644 --- a/docs/search-ui-react.filtergroupcssclasses.md +++ b/docs/search-ui-react.filtergroupcssclasses.md @@ -129,6 +129,25 @@ string _(Optional)_ + + + +[searchInputLabel?](./search-ui-react.filtergroupcssclasses.searchinputlabel.md) + + + + + + + +string + + + + +_(Optional)_ + + diff --git a/docs/search-ui-react.filtergroupcssclasses.searchinputlabel.md b/docs/search-ui-react.filtergroupcssclasses.searchinputlabel.md new file mode 100644 index 000000000..85e4e890d --- /dev/null +++ b/docs/search-ui-react.filtergroupcssclasses.searchinputlabel.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [@yext/search-ui-react](./search-ui-react.md) > [FilterGroupCssClasses](./search-ui-react.filtergroupcssclasses.md) > [searchInputLabel](./search-ui-react.filtergroupcssclasses.searchinputlabel.md) + +## FilterGroupCssClasses.searchInputLabel property + +**Signature:** + +```typescript +searchInputLabel?: string; +``` diff --git a/docs/search-ui-react.filtergroupprops.md b/docs/search-ui-react.filtergroupprops.md index f212154c6..ef91c8db0 100644 --- a/docs/search-ui-react.filtergroupprops.md +++ b/docs/search-ui-react.filtergroupprops.md @@ -167,6 +167,25 @@ number _(Optional)_ Limit on the number of options to be displayed. + + + +[showOptionsSearchInputLabel?](./search-ui-react.filtergroupprops.showoptionssearchinputlabel.md) + + + + + + + +boolean + + + + +_(Optional)_ Whether or not to display the visible search input label. Defaults to false. + + diff --git a/docs/search-ui-react.filtergroupprops.showoptionssearchinputlabel.md b/docs/search-ui-react.filtergroupprops.showoptionssearchinputlabel.md new file mode 100644 index 000000000..f9fcf5dd3 --- /dev/null +++ b/docs/search-ui-react.filtergroupprops.showoptionssearchinputlabel.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [@yext/search-ui-react](./search-ui-react.md) > [FilterGroupProps](./search-ui-react.filtergroupprops.md) > [showOptionsSearchInputLabel](./search-ui-react.filtergroupprops.showoptionssearchinputlabel.md) + +## FilterGroupProps.showOptionsSearchInputLabel property + +Whether or not to display the visible search input label. Defaults to false. + +**Signature:** + +```typescript +showOptionsSearchInputLabel?: boolean; +``` diff --git a/docs/search-ui-react.filtersearch.md b/docs/search-ui-react.filtersearch.md index 4182cff49..c57ef58e2 100644 --- a/docs/search-ui-react.filtersearch.md +++ b/docs/search-ui-react.filtersearch.md @@ -9,7 +9,7 @@ A component which allows a user to search for filters associated with specific e **Signature:** ```typescript -declare function FilterSearch({ searchFields, label, placeholder, searchOnSelect, onSelect, onDropdownInputChange, afterDropdownInputFocus, sectioned, customCssClasses, disableBuiltInClasses, ariaLabel, showCurrentLocationButton, geolocationProps }: FilterSearchProps): React.JSX.Element; +declare function FilterSearch({ searchFields, label, placeholder, searchOnSelect, onSelect, onDropdownInputChange, afterDropdownInputFocus, sectioned, customCssClasses, disableBuiltInClasses, ariaLabel, resultsRegionAriaLabel, showCurrentLocationButton, geolocationProps }: FilterSearchProps): React.JSX.Element; ``` ## Parameters @@ -32,7 +32,7 @@ Description -{ searchFields, label, placeholder, searchOnSelect, onSelect, onDropdownInputChange, afterDropdownInputFocus, sectioned, customCssClasses, disableBuiltInClasses, ariaLabel, showCurrentLocationButton, geolocationProps } +{ searchFields, label, placeholder, searchOnSelect, onSelect, onDropdownInputChange, afterDropdownInputFocus, sectioned, customCssClasses, disableBuiltInClasses, ariaLabel, resultsRegionAriaLabel, showCurrentLocationButton, geolocationProps } diff --git a/docs/search-ui-react.filtersearchprops.md b/docs/search-ui-react.filtersearchprops.md index 300766dc8..3c455901c 100644 --- a/docs/search-ui-react.filtersearchprops.md +++ b/docs/search-ui-react.filtersearchprops.md @@ -205,6 +205,25 @@ string _(Optional)_ The search input's placeholder text when no text has been entered by the user. Defaults to "Search here...". + + + +[resultsRegionAriaLabel?](./search-ui-react.filtersearchprops.resultsregionarialabel.md) + + + + + + + +string + + + + +_(Optional)_ 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. + + diff --git a/docs/search-ui-react.filtersearchprops.resultsregionarialabel.md b/docs/search-ui-react.filtersearchprops.resultsregionarialabel.md new file mode 100644 index 000000000..efa3674f4 --- /dev/null +++ b/docs/search-ui-react.filtersearchprops.resultsregionarialabel.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [@yext/search-ui-react](./search-ui-react.md) > [FilterSearchProps](./search-ui-react.filtersearchprops.md) > [resultsRegionAriaLabel](./search-ui-react.filtersearchprops.resultsregionarialabel.md) + +## FilterSearchProps.resultsRegionAriaLabel property + +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. + +**Signature:** + +```typescript +resultsRegionAriaLabel?: string; +``` diff --git a/docs/search-ui-react.md b/docs/search-ui-react.md index bb7ea1e6f..a54328388 100644 --- a/docs/search-ui-react.md +++ b/docs/search-ui-react.md @@ -140,7 +140,7 @@ A divider component used to separate NumericalFacets, HierarchicalFacets, Standa -[FilterSearch({ searchFields, label, placeholder, searchOnSelect, onSelect, onDropdownInputChange, afterDropdownInputFocus, sectioned, customCssClasses, disableBuiltInClasses, ariaLabel, showCurrentLocationButton, geolocationProps })](./search-ui-react.filtersearch.md) +[FilterSearch({ searchFields, label, placeholder, searchOnSelect, onSelect, onDropdownInputChange, afterDropdownInputFocus, sectioned, customCssClasses, disableBuiltInClasses, ariaLabel, resultsRegionAriaLabel, showCurrentLocationButton, geolocationProps })](./search-ui-react.filtersearch.md) diff --git a/docs/search-ui-react.standardfacetprops.md b/docs/search-ui-react.standardfacetprops.md index 1c099177e..01eeb0d4e 100644 --- a/docs/search-ui-react.standardfacetprops.md +++ b/docs/search-ui-react.standardfacetprops.md @@ -167,6 +167,25 @@ boolean _(Optional)_ Whether or not to show the option counts for each filter. Defaults to true. + + + +[showOptionsSearchInputLabel?](./search-ui-react.standardfacetprops.showoptionssearchinputlabel.md) + + + + + + + +boolean + + + + +_(Optional)_ Whether or not to show the label for the search bar when present. Defaults to false. + + diff --git a/docs/search-ui-react.standardfacetprops.showoptionssearchinputlabel.md b/docs/search-ui-react.standardfacetprops.showoptionssearchinputlabel.md new file mode 100644 index 000000000..ec43d2479 --- /dev/null +++ b/docs/search-ui-react.standardfacetprops.showoptionssearchinputlabel.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [@yext/search-ui-react](./search-ui-react.md) > [StandardFacetProps](./search-ui-react.standardfacetprops.md) > [showOptionsSearchInputLabel](./search-ui-react.standardfacetprops.showoptionssearchinputlabel.md) + +## StandardFacetProps.showOptionsSearchInputLabel property + +Whether or not to show the label for the search bar when present. Defaults to false. + +**Signature:** + +```typescript +showOptionsSearchInputLabel?: boolean; +``` diff --git a/docs/search-ui-react.staticfiltersprops.md b/docs/search-ui-react.staticfiltersprops.md index 1fa98c7c9..4ad9fdbce 100644 --- a/docs/search-ui-react.staticfiltersprops.md +++ b/docs/search-ui-react.staticfiltersprops.md @@ -167,6 +167,25 @@ boolean _(Optional)_ Whether or not a search is automatically run when a filter is selected. Defaults to true. + + + +[showOptionsSearchInputLabel?](./search-ui-react.staticfiltersprops.showoptionssearchinputlabel.md) + + + + + + + +boolean + + + + +_(Optional)_ Whether or not to display the visible search input label. Defaults to false. + + 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": "هل كنت تقصد ", "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 ", "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 ", "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 ", "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": "Μήπως εννοούσατε ", "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 ", "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 ", "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 ", "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 ", "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 ", "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 ", "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": "क्या आपका मतलब था", "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 ", "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: ", "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 ", "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": " と言いたかったですか", "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": "다음을 찾으셨나요 ", "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 ", "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 ", "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 ", "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 ", "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 ", "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 ", "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 ", "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": "Вы имели в виду ?", "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 ?", "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 ?", "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 ", "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à 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": "您的意思是 吗", "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": "您的意思是 嗎", "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 && (