@transferwise/components 46.162.2 → 46.164.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/build/Chips/Chip/Chip.js +11 -4
- package/build/Chips/Chip/Chip.js.map +1 -1
- package/build/Chips/Chip/Chip.mjs +11 -4
- package/build/Chips/Chip/Chip.mjs.map +1 -1
- package/build/FlowNavigation/FlowNavigation.js +4 -2
- package/build/FlowNavigation/FlowNavigation.js.map +1 -1
- package/build/FlowNavigation/FlowNavigation.mjs +4 -2
- package/build/FlowNavigation/FlowNavigation.mjs.map +1 -1
- package/build/FlowNavigation/helpers.js +24 -0
- package/build/FlowNavigation/helpers.js.map +1 -0
- package/build/FlowNavigation/helpers.mjs +21 -0
- package/build/FlowNavigation/helpers.mjs.map +1 -0
- package/build/Typeahead/Typeahead.js +17 -4
- package/build/Typeahead/Typeahead.js.map +1 -1
- package/build/Typeahead/Typeahead.mjs +17 -4
- package/build/Typeahead/Typeahead.mjs.map +1 -1
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.js +2 -0
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.js.map +1 -1
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.mjs +2 -0
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.mjs.map +1 -1
- package/build/i18n/cs.json +1 -0
- package/build/i18n/cs.json.js +1 -0
- package/build/i18n/cs.json.js.map +1 -1
- package/build/i18n/cs.json.mjs +1 -0
- package/build/i18n/cs.json.mjs.map +1 -1
- package/build/i18n/de.json +1 -0
- package/build/i18n/de.json.js +1 -0
- package/build/i18n/de.json.js.map +1 -1
- package/build/i18n/de.json.mjs +1 -0
- package/build/i18n/de.json.mjs.map +1 -1
- package/build/i18n/es.json +1 -0
- package/build/i18n/es.json.js +1 -0
- package/build/i18n/es.json.js.map +1 -1
- package/build/i18n/es.json.mjs +1 -0
- package/build/i18n/es.json.mjs.map +1 -1
- package/build/i18n/fr.json +1 -0
- package/build/i18n/fr.json.js +1 -0
- package/build/i18n/fr.json.js.map +1 -1
- package/build/i18n/fr.json.mjs +1 -0
- package/build/i18n/fr.json.mjs.map +1 -1
- package/build/i18n/hu.json +1 -0
- package/build/i18n/hu.json.js +1 -0
- package/build/i18n/hu.json.js.map +1 -1
- package/build/i18n/hu.json.mjs +1 -0
- package/build/i18n/hu.json.mjs.map +1 -1
- package/build/i18n/id.json +1 -0
- package/build/i18n/id.json.js +1 -0
- package/build/i18n/id.json.js.map +1 -1
- package/build/i18n/id.json.mjs +1 -0
- package/build/i18n/id.json.mjs.map +1 -1
- package/build/i18n/it.json +1 -0
- package/build/i18n/it.json.js +1 -0
- package/build/i18n/it.json.js.map +1 -1
- package/build/i18n/it.json.mjs +1 -0
- package/build/i18n/it.json.mjs.map +1 -1
- package/build/i18n/ja.json +1 -0
- package/build/i18n/ja.json.js +1 -0
- package/build/i18n/ja.json.js.map +1 -1
- package/build/i18n/ja.json.mjs +1 -0
- package/build/i18n/ja.json.mjs.map +1 -1
- package/build/i18n/nl.json +1 -0
- package/build/i18n/nl.json.js +1 -0
- package/build/i18n/nl.json.js.map +1 -1
- package/build/i18n/nl.json.mjs +1 -0
- package/build/i18n/nl.json.mjs.map +1 -1
- package/build/i18n/pl.json +1 -0
- package/build/i18n/pl.json.js +1 -0
- package/build/i18n/pl.json.js.map +1 -1
- package/build/i18n/pl.json.mjs +1 -0
- package/build/i18n/pl.json.mjs.map +1 -1
- package/build/i18n/pt.json +1 -0
- package/build/i18n/pt.json.js +1 -0
- package/build/i18n/pt.json.js.map +1 -1
- package/build/i18n/pt.json.mjs +1 -0
- package/build/i18n/pt.json.mjs.map +1 -1
- package/build/i18n/ro.json +1 -0
- package/build/i18n/ro.json.js +1 -0
- package/build/i18n/ro.json.js.map +1 -1
- package/build/i18n/ro.json.mjs +1 -0
- package/build/i18n/ro.json.mjs.map +1 -1
- package/build/i18n/ru.json +1 -0
- package/build/i18n/ru.json.js +1 -0
- package/build/i18n/ru.json.js.map +1 -1
- package/build/i18n/ru.json.mjs +1 -0
- package/build/i18n/ru.json.mjs.map +1 -1
- package/build/i18n/th.json +1 -0
- package/build/i18n/th.json.js +1 -0
- package/build/i18n/th.json.js.map +1 -1
- package/build/i18n/th.json.mjs +1 -0
- package/build/i18n/th.json.mjs.map +1 -1
- package/build/i18n/tr.json +1 -0
- package/build/i18n/tr.json.js +1 -0
- package/build/i18n/tr.json.js.map +1 -1
- package/build/i18n/tr.json.mjs +1 -0
- package/build/i18n/tr.json.mjs.map +1 -1
- package/build/i18n/uk.json +1 -0
- package/build/i18n/uk.json.js +1 -0
- package/build/i18n/uk.json.js.map +1 -1
- package/build/i18n/uk.json.mjs +1 -0
- package/build/i18n/uk.json.mjs.map +1 -1
- package/build/i18n/zh-HK.json +1 -0
- package/build/i18n/zh-HK.json.js +1 -0
- package/build/i18n/zh-HK.json.js.map +1 -1
- package/build/i18n/zh-HK.json.mjs +1 -0
- package/build/i18n/zh-HK.json.mjs.map +1 -1
- package/build/main.css +3 -0
- package/build/styles/Typeahead/Typeahead.css +3 -0
- package/build/styles/main.css +3 -0
- package/build/types/Body/Body.d.ts +2 -2
- package/build/types/Chips/Chip/Chip.d.ts +3 -1
- package/build/types/Chips/Chip/Chip.d.ts.map +1 -1
- package/build/types/FlowNavigation/FlowNavigation.d.ts +6 -2
- package/build/types/FlowNavigation/FlowNavigation.d.ts.map +1 -1
- package/build/types/FlowNavigation/helpers.d.ts +5 -0
- package/build/types/FlowNavigation/helpers.d.ts.map +1 -0
- package/build/types/FlowNavigation/index.d.ts +1 -0
- package/build/types/FlowNavigation/index.d.ts.map +1 -1
- package/build/types/FlowNavigation/types.d.ts +15 -0
- package/build/types/FlowNavigation/types.d.ts.map +1 -0
- package/build/types/IconButton/IconButton.d.ts +1 -1
- package/build/types/MoneyInput/MoneyInput.d.ts +1 -1
- package/build/types/MoneyInput/MoneyInput.d.ts.map +1 -1
- package/build/types/Title/Title.d.ts +2 -2
- package/build/types/Typeahead/Typeahead.d.ts +2 -0
- package/build/types/Typeahead/Typeahead.d.ts.map +1 -1
- package/build/types/Typeahead/TypeaheadInput/TypeaheadInput.d.ts +1 -1
- package/build/types/Typeahead/TypeaheadInput/TypeaheadInput.d.ts.map +1 -1
- package/build/types/Upload/Steps/UploadImageStep/UploadImageStep.d.ts +1 -1
- package/build/types/UploadInput/UploadItem/UploadItemLink.d.ts +1 -1
- package/build/types/index.d.ts +1 -1
- package/build/types/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/Chips/Chip/Chip.test.tsx +34 -0
- package/src/Chips/Chip/Chip.tsx +11 -3
- package/src/FlowNavigation/FlowNavigation.test.tsx +45 -0
- package/src/FlowNavigation/FlowNavigation.tsx +14 -3
- package/src/FlowNavigation/_stories/FlowNavigation.CriticalBanner.docs.mdx +66 -0
- package/src/FlowNavigation/_stories/FlowNavigation.story.tsx +49 -0
- package/src/FlowNavigation/helpers.ts +28 -0
- package/src/FlowNavigation/index.ts +1 -0
- package/src/FlowNavigation/types.ts +16 -0
- package/src/Prompt/CriticalBanner/_stories/CriticalBanner.story.tsx +2 -0
- package/src/Snackbar/Snackbar.test.tsx +190 -0
- package/src/Typeahead/Typeahead.css +3 -0
- package/src/Typeahead/Typeahead.less +4 -0
- package/src/Typeahead/Typeahead.test.tsx +73 -0
- package/src/Typeahead/Typeahead.tsx +18 -3
- package/src/Typeahead/TypeaheadInput/TypeaheadInput.tsx +6 -1
- package/src/Typeahead/_stories/Typeahead.story.tsx +1 -0
- package/src/Typeahead/_stories/Typeahead.test.story.tsx +41 -0
- package/src/i18n/cs.json +1 -0
- package/src/i18n/de.json +1 -0
- package/src/i18n/es.json +1 -0
- package/src/i18n/fr.json +1 -0
- package/src/i18n/hu.json +1 -0
- package/src/i18n/id.json +1 -0
- package/src/i18n/it.json +1 -0
- package/src/i18n/ja.json +1 -0
- package/src/i18n/nl.json +1 -0
- package/src/i18n/pl.json +1 -0
- package/src/i18n/pt.json +1 -0
- package/src/i18n/ro.json +1 -0
- package/src/i18n/ru.json +1 -0
- package/src/i18n/th.json +1 -0
- package/src/i18n/tr.json +1 -0
- package/src/i18n/uk.json +1 -0
- package/src/i18n/zh-HK.json +1 -0
- package/src/index.ts +1 -1
- package/src/main.css +3 -0
package/src/i18n/fr.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Sélectionnez une option…",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Code pays",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Numéro de téléphone",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Indicatif",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Recherche...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "Aucun résultat trouvé",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Erreur :",
|
package/src/i18n/hu.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Válassz ki egy lehetőséget...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Országazonosító",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Telefonszám",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Előtag",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Keresés...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "Nincs találat",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Hiba:",
|
package/src/i18n/id.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Pilih opsi...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Kode negara",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Nomor telepon",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Awalan",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Cari...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "Hasil tidak ditemukan",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Kesalahan:",
|
package/src/i18n/it.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Seleziona un'opzione...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Prefisso",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Numero di telefono",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Prefisso",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Cerca...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "Nessun risultato trovato",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Errore:",
|
package/src/i18n/ja.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "選択してください…",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "国コード",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "電話番号",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "プレフィックス",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "検索する... ",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "結果が見つかりませんでした",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "エラー:",
|
package/src/i18n/nl.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Selecteer een optie...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Landcode",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Telefoonnummer",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Voorvoegsel",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Zoeken...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "Geen resultaten gevonden",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Fout:",
|
package/src/i18n/pl.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Wybierz opcję...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Numer kierunkowy",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Numer telefonu",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Prefiks",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Wyszukaj...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "Nie znaleziono wyników",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Błąd:",
|
package/src/i18n/pt.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Escolha uma opção...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Código do país",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Número de telefone",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Prefixo",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Buscar...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "Nenhum resultado encontrado",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Erro:",
|
package/src/i18n/ro.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Selectează o opțiune...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Codul țării",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Număr de telefon",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Prefix",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Caută...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "Nu s-a găsit niciun rezultat",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Eroare:",
|
package/src/i18n/ru.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Выберите вариант...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Код страны",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Номер телефона",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Код страны",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Поиск...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "Ничего не найдено",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Ошибка:",
|
package/src/i18n/th.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "เลือกตัวเลือก...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "รหัสประเทศ",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "หมายเลขโทรศัพท์",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "คำนำหน้า",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "ค้นหา...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "ไม่พบผลลัพธ์",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "ข้อผิดพลาด:",
|
package/src/i18n/tr.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Bir seçenek seçin...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Ülke kodu",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Telefon numarası",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Ön ek",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Ara...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "Sonuç bulunamadı",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Hata:",
|
package/src/i18n/uk.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Виберіть варіант…",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Код країни",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Номер телефону",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Префікс",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Пошук…",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "Нічого не знайдено",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Помилка:",
|
package/src/i18n/zh-HK.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "選擇其中一項…",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "國家/地區代碼",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "電話號碼",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "前綴",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "搜尋…",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "找不到任何結果",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "錯誤:",
|
package/src/index.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export type { ContainerProps } from './Container';
|
|
7
7
|
export type { LogoProps, LogoSize, LogoAssetName } from './Logo';
|
|
8
|
-
export type { FlowNavigationProps } from './FlowNavigation';
|
|
8
|
+
export type { FlowNavigationProps, CriticalBannerLegacyData } from './FlowNavigation';
|
|
9
9
|
export type { AccordionItem, AccordionProps } from './Accordion';
|
|
10
10
|
export type { ActionOptionProps } from './_deprecated/ActionOption';
|
|
11
11
|
export type { AlertAction, AlertProps, AlertType } from './_deprecated/Alert';
|
package/src/main.css
CHANGED
|
@@ -27578,6 +27578,9 @@ button.np-link {
|
|
|
27578
27578
|
cursor: text;
|
|
27579
27579
|
display: flex;
|
|
27580
27580
|
}
|
|
27581
|
+
.typeahead--multiple .input-group.disabled .typeahead__input-container {
|
|
27582
|
+
cursor: not-allowed;
|
|
27583
|
+
}
|
|
27581
27584
|
.typeahead--multiple .sizer {
|
|
27582
27585
|
white-space: pre;
|
|
27583
27586
|
position: absolute;
|