@transferwise/components 46.162.2 → 46.163.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.
Files changed (92) hide show
  1. package/build/Chips/Chip/Chip.js +11 -4
  2. package/build/Chips/Chip/Chip.js.map +1 -1
  3. package/build/Chips/Chip/Chip.mjs +11 -4
  4. package/build/Chips/Chip/Chip.mjs.map +1 -1
  5. package/build/Typeahead/Typeahead.js +17 -4
  6. package/build/Typeahead/Typeahead.js.map +1 -1
  7. package/build/Typeahead/Typeahead.mjs +17 -4
  8. package/build/Typeahead/Typeahead.mjs.map +1 -1
  9. package/build/Typeahead/TypeaheadInput/TypeaheadInput.js +2 -0
  10. package/build/Typeahead/TypeaheadInput/TypeaheadInput.js.map +1 -1
  11. package/build/Typeahead/TypeaheadInput/TypeaheadInput.mjs +2 -0
  12. package/build/Typeahead/TypeaheadInput/TypeaheadInput.mjs.map +1 -1
  13. package/build/i18n/es.json +1 -0
  14. package/build/i18n/es.json.js +1 -0
  15. package/build/i18n/es.json.js.map +1 -1
  16. package/build/i18n/es.json.mjs +1 -0
  17. package/build/i18n/es.json.mjs.map +1 -1
  18. package/build/i18n/hu.json +1 -0
  19. package/build/i18n/hu.json.js +1 -0
  20. package/build/i18n/hu.json.js.map +1 -1
  21. package/build/i18n/hu.json.mjs +1 -0
  22. package/build/i18n/hu.json.mjs.map +1 -1
  23. package/build/i18n/id.json +1 -0
  24. package/build/i18n/id.json.js +1 -0
  25. package/build/i18n/id.json.js.map +1 -1
  26. package/build/i18n/id.json.mjs +1 -0
  27. package/build/i18n/id.json.mjs.map +1 -1
  28. package/build/i18n/it.json +1 -0
  29. package/build/i18n/it.json.js +1 -0
  30. package/build/i18n/it.json.js.map +1 -1
  31. package/build/i18n/it.json.mjs +1 -0
  32. package/build/i18n/it.json.mjs.map +1 -1
  33. package/build/i18n/ja.json +1 -0
  34. package/build/i18n/ja.json.js +1 -0
  35. package/build/i18n/ja.json.js.map +1 -1
  36. package/build/i18n/ja.json.mjs +1 -0
  37. package/build/i18n/ja.json.mjs.map +1 -1
  38. package/build/i18n/nl.json +1 -0
  39. package/build/i18n/nl.json.js +1 -0
  40. package/build/i18n/nl.json.js.map +1 -1
  41. package/build/i18n/nl.json.mjs +1 -0
  42. package/build/i18n/nl.json.mjs.map +1 -1
  43. package/build/i18n/pl.json +1 -0
  44. package/build/i18n/pl.json.js +1 -0
  45. package/build/i18n/pl.json.js.map +1 -1
  46. package/build/i18n/pl.json.mjs +1 -0
  47. package/build/i18n/pl.json.mjs.map +1 -1
  48. package/build/i18n/ro.json +1 -0
  49. package/build/i18n/ro.json.js +1 -0
  50. package/build/i18n/ro.json.js.map +1 -1
  51. package/build/i18n/ro.json.mjs +1 -0
  52. package/build/i18n/ro.json.mjs.map +1 -1
  53. package/build/i18n/uk.json +1 -0
  54. package/build/i18n/uk.json.js +1 -0
  55. package/build/i18n/uk.json.js.map +1 -1
  56. package/build/i18n/uk.json.mjs +1 -0
  57. package/build/i18n/uk.json.mjs.map +1 -1
  58. package/build/i18n/zh-HK.json +1 -0
  59. package/build/i18n/zh-HK.json.js +1 -0
  60. package/build/i18n/zh-HK.json.js.map +1 -1
  61. package/build/i18n/zh-HK.json.mjs +1 -0
  62. package/build/i18n/zh-HK.json.mjs.map +1 -1
  63. package/build/main.css +3 -0
  64. package/build/styles/Typeahead/Typeahead.css +3 -0
  65. package/build/styles/main.css +3 -0
  66. package/build/types/Chips/Chip/Chip.d.ts +3 -1
  67. package/build/types/Chips/Chip/Chip.d.ts.map +1 -1
  68. package/build/types/Typeahead/Typeahead.d.ts +2 -0
  69. package/build/types/Typeahead/Typeahead.d.ts.map +1 -1
  70. package/build/types/Typeahead/TypeaheadInput/TypeaheadInput.d.ts +1 -1
  71. package/build/types/Typeahead/TypeaheadInput/TypeaheadInput.d.ts.map +1 -1
  72. package/package.json +4 -4
  73. package/src/Chips/Chip/Chip.test.tsx +34 -0
  74. package/src/Chips/Chip/Chip.tsx +11 -3
  75. package/src/Typeahead/Typeahead.css +3 -0
  76. package/src/Typeahead/Typeahead.less +4 -0
  77. package/src/Typeahead/Typeahead.test.tsx +73 -0
  78. package/src/Typeahead/Typeahead.tsx +18 -3
  79. package/src/Typeahead/TypeaheadInput/TypeaheadInput.tsx +6 -1
  80. package/src/Typeahead/_stories/Typeahead.story.tsx +1 -0
  81. package/src/Typeahead/_stories/Typeahead.test.story.tsx +41 -0
  82. package/src/i18n/es.json +1 -0
  83. package/src/i18n/hu.json +1 -0
  84. package/src/i18n/id.json +1 -0
  85. package/src/i18n/it.json +1 -0
  86. package/src/i18n/ja.json +1 -0
  87. package/src/i18n/nl.json +1 -0
  88. package/src/i18n/pl.json +1 -0
  89. package/src/i18n/ro.json +1 -0
  90. package/src/i18n/uk.json +1 -0
  91. package/src/i18n/zh-HK.json +1 -0
  92. package/src/main.css +3 -0
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/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/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": "Помилка:",
@@ -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/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;