@kaizen/components 1.49.2 → 1.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.cjs +14 -2
- package/dist/cjs/Input/InputSearch/InputSearch.cjs +8 -1
- package/dist/esm/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.mjs +14 -2
- package/dist/esm/Input/InputSearch/InputSearch.mjs +8 -1
- package/dist/styles.css +2 -2
- package/dist/types/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.d.ts +3 -1
- package/locales/ar.json +12 -0
- package/locales/bg.json +12 -0
- package/locales/cs.json +12 -0
- package/locales/cy.json +12 -0
- package/locales/da.json +12 -0
- package/locales/de.json +12 -0
- package/locales/el.json +12 -0
- package/locales/en-GB.json +12 -0
- package/locales/en.json +12 -0
- package/locales/es-419.json +12 -0
- package/locales/es.json +12 -0
- package/locales/et.json +12 -0
- package/locales/fi.json +12 -0
- package/locales/fr-CA.json +12 -0
- package/locales/fr.json +12 -0
- package/locales/he.json +12 -0
- package/locales/hi.json +12 -0
- package/locales/ht.json +12 -0
- package/locales/hu.json +12 -0
- package/locales/id.json +12 -0
- package/locales/it.json +12 -0
- package/locales/ja.json +12 -0
- package/locales/km-KH.json +12 -0
- package/locales/ko.json +12 -0
- package/locales/lt.json +12 -0
- package/locales/lv.json +12 -0
- package/locales/mi.json +12 -0
- package/locales/ms.json +12 -0
- package/locales/nb.json +12 -0
- package/locales/nl.json +12 -0
- package/locales/pl.json +12 -0
- package/locales/pt-BR.json +12 -0
- package/locales/pt.json +12 -0
- package/locales/ro.json +12 -0
- package/locales/ru.json +12 -0
- package/locales/si-LK.json +12 -0
- package/locales/sk.json +12 -0
- package/locales/sr.json +12 -0
- package/locales/sv.json +12 -0
- package/locales/th.json +12 -0
- package/locales/tl.json +12 -0
- package/locales/tr.json +12 -0
- package/locales/uk.json +12 -0
- package/locales/vi.json +12 -0
- package/locales/zh-TW.json +12 -0
- package/locales/zh.json +12 -0
- package/package.json +3 -3
- package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.tsx +3 -6
- package/src/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.tsx +15 -2
- package/src/Input/InputSearch/InputSearch.tsx +10 -1
package/locales/km-KH.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "កាលបរិច្ឆេទទៅ"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filter options by search query"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "ស្វែងរក..."
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Clear search"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "ទាក់ទងផ្នែកគាំទ្រ"
|
package/locales/ko.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "종료 날짜"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "검색어별 필터링 옵션"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "검색..."
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "검색 지우기"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "지원 센터에 문의하십시오."
|
package/locales/lt.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Data iki"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filtruoti parinktis pagal paieškos užklausą"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Paieška…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Išvalyti paiešką"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "kreipkitės į pagalbos tarnybą"
|
package/locales/lv.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Datums līdz"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filtrēt opcijas pēc meklēšanas vaicājuma"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Meklēt…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Notīrīt meklēšanu"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "sazinieties ar atbalsta dienestu"
|
package/locales/mi.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Date to"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filter options by search query"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Rapua"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Clear search"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "whakapā ki te kapa tautoko."
|
package/locales/ms.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Tarikh hingga"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Tapis pilihan mengikut pertanyaan carian"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Cari…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Kosongkan carian"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "hubungi bahagian sokongan"
|
package/locales/nb.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Dato til"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filter options by search query"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Søk …"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Clear search"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "kontakt kundestøtten"
|
package/locales/nl.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Datum tot"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filter options by search query"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Zoeken…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Clear search"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "neem contact op met de ondersteuning"
|
package/locales/pl.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Data zakończenia"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filter options by search query"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Wyszukaj..."
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Clear search"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "skontaktuj się z działem wsparcia"
|
package/locales/pt-BR.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Data final"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Opções de filtro por consulta"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Pesquisa…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Limpar pesquisa"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "entre em contato com o suporte"
|
package/locales/pt.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Data final"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filter options by search query"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Procurar…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Clear search"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "entre em contato com o suporte"
|
package/locales/ro.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Data până la"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Opțiuni de filtrare după interogarea de căutare"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Căutare…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Ștergere căutare"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "contactați asistența"
|
package/locales/ru.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Дата по"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Параметры фильтрации по поисковому запросу"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Поиск..."
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Очистить поиск"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "обратитесь в службу поддержки,"
|
package/locales/si-LK.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "දිනය දක්වා"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filter options by search query"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "සොයන්න…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Clear search"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "සහය හා සම්බන්ධ වන්න"
|
package/locales/sk.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Dátum do"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filter options by search query"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Vyhľadáva sa..."
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Clear search"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "sa obráťte na podporu,"
|
package/locales/sr.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Datum „Do“"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filtriranje opcija po upitu pretrage"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Pretraga..."
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Obriši pretragu"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "kontaktirajte podršku"
|
package/locales/sv.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Slutdatum"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filtrera alternativ efter sökfråga"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Sök …"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Rensa sökning"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "kontakta supporten"
|
package/locales/th.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "จนถึงวันที่"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "กรองตัวเลือกตามคิวรีการค้นหา"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "ค้นหา…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "ล้างการค้นหา"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "ติดต่อฝ่ายสนับสนุน"
|
package/locales/tl.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Petsa hanggang"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "I-filter ang mga opsyon ayon sa query sa paghahanap"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Hanapin..."
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "I-clear ang paghahanap"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "makipag-ugnayan sa suporta"
|
package/locales/tr.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Şu tarihe kadar"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filter options by search query"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Ara..."
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Clear search"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "sorun devam ederse"
|
package/locales/uk.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Дата по"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Параметри фільтрування за пошуковим запитом"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Пошук…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Очистити пошук"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "зверніться до служби підтримки,"
|
package/locales/vi.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "Ngày đến"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Tùy chọn lọc theo truy vấn tìm kiếm"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "Tìm kiếm…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Tìm kiếm rõ ràng"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "liên hệ với bộ phận hỗ trợ"
|
package/locales/zh-TW.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "結束日期:"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "Filter options by search query"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "搜尋..."
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "Clear search"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "聯絡支援中心"
|
package/locales/zh.json
CHANGED
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"description" : "Label for the 'date to' field",
|
|
22
22
|
"message" : "结束日期"
|
|
23
23
|
},
|
|
24
|
+
"filterMultiSelectSearchInput.label" : {
|
|
25
|
+
"description" : "Label for the search input",
|
|
26
|
+
"message" : "按搜索查询筛选选项"
|
|
27
|
+
},
|
|
28
|
+
"filterMultiSelectSearchInput.placeholder" : {
|
|
29
|
+
"description" : "Placeholder for the search input",
|
|
30
|
+
"message" : "搜索…"
|
|
31
|
+
},
|
|
32
|
+
"inputSearch.clear" : {
|
|
33
|
+
"description" : "Label for the clear search button",
|
|
34
|
+
"message" : "清除搜索"
|
|
35
|
+
},
|
|
24
36
|
"kzErrorPage" : {
|
|
25
37
|
"description" : "Label for contact button",
|
|
26
38
|
"message" : "联系支持人员"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.50.0",
|
|
4
4
|
"description": "Kaizen component library",
|
|
5
5
|
"author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
|
|
6
6
|
"homepage": "https://cultureamp.design",
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"ts-jest": "^29.1.4",
|
|
96
96
|
"tslib": "^2.6.3",
|
|
97
97
|
"tsx": "^4.15.1",
|
|
98
|
-
"@kaizen/
|
|
99
|
-
"@kaizen/
|
|
98
|
+
"@kaizen/design-tokens": "10.4.1",
|
|
99
|
+
"@kaizen/package-bundler": "1.1.2"
|
|
100
100
|
},
|
|
101
101
|
"devDependenciesComments": {
|
|
102
102
|
"postcss": "Installed in root",
|
|
@@ -11,14 +11,11 @@ import { checkArraysMatch } from "../../utils/checkArraysMatch"
|
|
|
11
11
|
|
|
12
12
|
export type FilterBarMultiSelectProps = Omit<
|
|
13
13
|
FilterMultiSelectProps,
|
|
14
|
-
| "
|
|
15
|
-
| "setIsOpen"
|
|
16
|
-
| "renderTrigger"
|
|
17
|
-
| "label"
|
|
18
|
-
| "selectedKeys"
|
|
19
|
-
| "trigger"
|
|
14
|
+
"label" | "trigger"
|
|
20
15
|
> & {
|
|
21
16
|
id?: string
|
|
17
|
+
label?: FilterMultiSelectProps["label"]
|
|
18
|
+
trigger?: FilterMultiSelectProps["trigger"]
|
|
22
19
|
}
|
|
23
20
|
|
|
24
21
|
// This should technically be handled within the FilterMultiSelect
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { useId } from "react"
|
|
2
|
+
import { useIntl } from "@cultureamp/i18n-react-intl"
|
|
2
3
|
import { InputSearch } from "~components/Input/InputSearch"
|
|
3
4
|
import { useSelectionContext } from "../../context"
|
|
4
5
|
import styles from "./SearchInput.module.scss"
|
|
@@ -14,6 +15,7 @@ export const SearchInput = ({
|
|
|
14
15
|
id,
|
|
15
16
|
isLoading,
|
|
16
17
|
}: SearchInputProps): JSX.Element => {
|
|
18
|
+
const { formatMessage } = useIntl()
|
|
17
19
|
const { setSearchQuery, searchQuery } = useSelectionContext()
|
|
18
20
|
|
|
19
21
|
const handleChange: React.ChangeEventHandler<HTMLInputElement> = e => {
|
|
@@ -25,13 +27,24 @@ export const SearchInput = ({
|
|
|
25
27
|
const reactId = useId()
|
|
26
28
|
const inputId = id ?? reactId
|
|
27
29
|
|
|
30
|
+
const defaultAriaLabel = formatMessage({
|
|
31
|
+
id: "filterMultiSelectSearchInput.label",
|
|
32
|
+
defaultMessage: "Filter options by search query",
|
|
33
|
+
description: "Label for the search input",
|
|
34
|
+
})
|
|
35
|
+
const placeholder = formatMessage({
|
|
36
|
+
id: "filterMultiSelectSearchInput.placeholder",
|
|
37
|
+
defaultMessage: "Search…",
|
|
38
|
+
description: "Placeholder for the search input",
|
|
39
|
+
})
|
|
40
|
+
|
|
28
41
|
return (
|
|
29
42
|
<div className={styles.inputSearchContainer}>
|
|
30
43
|
<InputSearch
|
|
31
44
|
id={inputId}
|
|
32
|
-
aria-label={label ??
|
|
45
|
+
aria-label={label ?? defaultAriaLabel}
|
|
33
46
|
secondary
|
|
34
|
-
placeholder=
|
|
47
|
+
placeholder={placeholder}
|
|
35
48
|
value={searchQuery}
|
|
36
49
|
onChange={handleChange}
|
|
37
50
|
onClear={handleClear}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { InputHTMLAttributes, useRef } from "react"
|
|
2
|
+
import { useIntl } from "@cultureamp/i18n-react-intl"
|
|
2
3
|
import classnames from "classnames"
|
|
3
4
|
import { ClearButton } from "~components/ClearButton"
|
|
4
5
|
import { SearchIcon } from "~components/Icon/SearchIcon"
|
|
@@ -29,12 +30,20 @@ export const InputSearch = (props: InputSearchProps): JSX.Element => {
|
|
|
29
30
|
secondary = false,
|
|
30
31
|
...restProps
|
|
31
32
|
} = props
|
|
33
|
+
const { formatMessage } = useIntl()
|
|
32
34
|
const inputRef = useRef<HTMLInputElement>(null)
|
|
33
35
|
|
|
34
36
|
const handleOnClear = (): void => {
|
|
35
37
|
inputRef.current?.focus()
|
|
36
38
|
onClear && onClear()
|
|
37
39
|
}
|
|
40
|
+
|
|
41
|
+
const clearButtonLabel = formatMessage({
|
|
42
|
+
id: "inputSearch.clear",
|
|
43
|
+
defaultMessage: "Clear search",
|
|
44
|
+
description: "Label for the clear search button",
|
|
45
|
+
})
|
|
46
|
+
|
|
38
47
|
return (
|
|
39
48
|
<div
|
|
40
49
|
className={classnames(
|
|
@@ -78,7 +87,7 @@ export const InputSearch = (props: InputSearchProps): JSX.Element => {
|
|
|
78
87
|
onClick={handleOnClear}
|
|
79
88
|
disabled={disabled}
|
|
80
89
|
classNameOverride={styles.endIconAdornment}
|
|
81
|
-
aria-label=
|
|
90
|
+
aria-label={clearButtonLabel}
|
|
82
91
|
/>
|
|
83
92
|
)}
|
|
84
93
|
</div>
|