@transferwise/components 46.98.0 → 46.99.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 (217) hide show
  1. package/build/body/Body.js +2 -1
  2. package/build/body/Body.js.map +1 -1
  3. package/build/body/Body.mjs +2 -1
  4. package/build/body/Body.mjs.map +1 -1
  5. package/build/dateInput/DateInput.js +4 -4
  6. package/build/dateInput/DateInput.js.map +1 -1
  7. package/build/dateInput/DateInput.mjs +4 -4
  8. package/build/dateInput/DateInput.mjs.map +1 -1
  9. package/build/dateLookup/DateLookup.js +4 -4
  10. package/build/dateLookup/DateLookup.js.map +1 -1
  11. package/build/dateLookup/DateLookup.mjs +4 -4
  12. package/build/dateLookup/DateLookup.mjs.map +1 -1
  13. package/build/dateLookup/dayCalendar/table/DayCalendarTable.js +3 -3
  14. package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
  15. package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs +3 -3
  16. package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs.map +1 -1
  17. package/build/i18n/cs.json +0 -2
  18. package/build/i18n/cs.json.js +0 -2
  19. package/build/i18n/cs.json.js.map +1 -1
  20. package/build/i18n/cs.json.mjs +0 -2
  21. package/build/i18n/cs.json.mjs.map +1 -1
  22. package/build/i18n/de.json +0 -2
  23. package/build/i18n/de.json.js +0 -2
  24. package/build/i18n/de.json.js.map +1 -1
  25. package/build/i18n/de.json.mjs +0 -2
  26. package/build/i18n/de.json.mjs.map +1 -1
  27. package/build/i18n/en.json +0 -2
  28. package/build/i18n/en.json.js +0 -2
  29. package/build/i18n/en.json.js.map +1 -1
  30. package/build/i18n/en.json.mjs +0 -2
  31. package/build/i18n/en.json.mjs.map +1 -1
  32. package/build/i18n/es.json +0 -2
  33. package/build/i18n/es.json.js +0 -2
  34. package/build/i18n/es.json.js.map +1 -1
  35. package/build/i18n/es.json.mjs +0 -2
  36. package/build/i18n/es.json.mjs.map +1 -1
  37. package/build/i18n/fr.json +0 -2
  38. package/build/i18n/fr.json.js +0 -2
  39. package/build/i18n/fr.json.js.map +1 -1
  40. package/build/i18n/fr.json.mjs +0 -2
  41. package/build/i18n/fr.json.mjs.map +1 -1
  42. package/build/i18n/hu.json +0 -2
  43. package/build/i18n/hu.json.js +0 -2
  44. package/build/i18n/hu.json.js.map +1 -1
  45. package/build/i18n/hu.json.mjs +0 -2
  46. package/build/i18n/hu.json.mjs.map +1 -1
  47. package/build/i18n/id.json +0 -2
  48. package/build/i18n/id.json.js +0 -2
  49. package/build/i18n/id.json.js.map +1 -1
  50. package/build/i18n/id.json.mjs +0 -2
  51. package/build/i18n/id.json.mjs.map +1 -1
  52. package/build/i18n/it.json +0 -2
  53. package/build/i18n/it.json.js +0 -2
  54. package/build/i18n/it.json.js.map +1 -1
  55. package/build/i18n/it.json.mjs +0 -2
  56. package/build/i18n/it.json.mjs.map +1 -1
  57. package/build/i18n/ja.json +0 -2
  58. package/build/i18n/ja.json.js +0 -2
  59. package/build/i18n/ja.json.js.map +1 -1
  60. package/build/i18n/ja.json.mjs +0 -2
  61. package/build/i18n/ja.json.mjs.map +1 -1
  62. package/build/i18n/nl.json +0 -2
  63. package/build/i18n/pl.json +0 -2
  64. package/build/i18n/pl.json.js +0 -2
  65. package/build/i18n/pl.json.js.map +1 -1
  66. package/build/i18n/pl.json.mjs +0 -2
  67. package/build/i18n/pl.json.mjs.map +1 -1
  68. package/build/i18n/pt.json +0 -2
  69. package/build/i18n/pt.json.js +0 -2
  70. package/build/i18n/pt.json.js.map +1 -1
  71. package/build/i18n/pt.json.mjs +0 -2
  72. package/build/i18n/pt.json.mjs.map +1 -1
  73. package/build/i18n/ro.json +0 -2
  74. package/build/i18n/ro.json.js +0 -2
  75. package/build/i18n/ro.json.js.map +1 -1
  76. package/build/i18n/ro.json.mjs +0 -2
  77. package/build/i18n/ro.json.mjs.map +1 -1
  78. package/build/i18n/ru.json +0 -2
  79. package/build/i18n/ru.json.js +0 -2
  80. package/build/i18n/ru.json.js.map +1 -1
  81. package/build/i18n/ru.json.mjs +0 -2
  82. package/build/i18n/ru.json.mjs.map +1 -1
  83. package/build/i18n/th.json +0 -2
  84. package/build/i18n/th.json.js +0 -2
  85. package/build/i18n/th.json.js.map +1 -1
  86. package/build/i18n/th.json.mjs +0 -2
  87. package/build/i18n/th.json.mjs.map +1 -1
  88. package/build/i18n/tr.json +0 -2
  89. package/build/i18n/tr.json.js +0 -2
  90. package/build/i18n/tr.json.js.map +1 -1
  91. package/build/i18n/tr.json.mjs +0 -2
  92. package/build/i18n/tr.json.mjs.map +1 -1
  93. package/build/i18n/zh-CN.json +0 -2
  94. package/build/i18n/zh-CN.json.js +0 -2
  95. package/build/i18n/zh-CN.json.js.map +1 -1
  96. package/build/i18n/zh-CN.json.mjs +0 -2
  97. package/build/i18n/zh-CN.json.mjs.map +1 -1
  98. package/build/i18n/zh-HK.json +0 -2
  99. package/build/i18n/zh-HK.json.js +0 -2
  100. package/build/i18n/zh-HK.json.js.map +1 -1
  101. package/build/i18n/zh-HK.json.mjs +0 -2
  102. package/build/i18n/zh-HK.json.mjs.map +1 -1
  103. package/build/index.js +0 -2
  104. package/build/index.js.map +1 -1
  105. package/build/index.mjs +0 -1
  106. package/build/index.mjs.map +1 -1
  107. package/build/instructionsList/InstructionsList.js +1 -0
  108. package/build/instructionsList/InstructionsList.js.map +1 -1
  109. package/build/instructionsList/InstructionsList.mjs +1 -0
  110. package/build/instructionsList/InstructionsList.mjs.map +1 -1
  111. package/build/main.css +16 -45
  112. package/build/moneyInput/MoneyInput.js +2 -2
  113. package/build/moneyInput/MoneyInput.js.map +1 -1
  114. package/build/moneyInput/MoneyInput.mjs +2 -2
  115. package/build/moneyInput/MoneyInput.mjs.map +1 -1
  116. package/build/snackbar/Snackbar.js +1 -1
  117. package/build/snackbar/Snackbar.js.map +1 -1
  118. package/build/snackbar/Snackbar.mjs +1 -1
  119. package/build/snackbar/Snackbar.mjs.map +1 -1
  120. package/build/styles/body/Body.css +3 -0
  121. package/build/styles/dateInput/DateInput.css +13 -1
  122. package/build/styles/main.css +16 -45
  123. package/build/tabs/Tabs.js +3 -3
  124. package/build/tabs/Tabs.js.map +1 -1
  125. package/build/tabs/Tabs.mjs +3 -3
  126. package/build/tabs/Tabs.mjs.map +1 -1
  127. package/build/test-utils/assets/apple-pay-logo.svg +84 -0
  128. package/build/typeahead/Typeahead.js +2 -2
  129. package/build/typeahead/Typeahead.js.map +1 -1
  130. package/build/typeahead/Typeahead.mjs +2 -2
  131. package/build/typeahead/Typeahead.mjs.map +1 -1
  132. package/build/typeahead/typeaheadInput/TypeaheadInput.js +2 -2
  133. package/build/typeahead/typeaheadInput/TypeaheadInput.js.map +1 -1
  134. package/build/typeahead/typeaheadInput/TypeaheadInput.mjs +2 -2
  135. package/build/typeahead/typeaheadInput/TypeaheadInput.mjs.map +1 -1
  136. package/build/types/body/Body.d.ts +5 -0
  137. package/build/types/body/Body.d.ts.map +1 -1
  138. package/build/types/index.d.ts +0 -2
  139. package/build/types/index.d.ts.map +1 -1
  140. package/build/types/test-utils/fake-data.d.ts +2 -0
  141. package/build/types/test-utils/fake-data.d.ts.map +1 -1
  142. package/build/types/test-utils/index.d.ts +0 -4
  143. package/build/types/test-utils/index.d.ts.map +1 -1
  144. package/build/types/uploadInput/UploadInput.d.ts.map +1 -1
  145. package/build/upload/Upload.js +2 -2
  146. package/build/upload/Upload.js.map +1 -1
  147. package/build/upload/Upload.mjs +2 -2
  148. package/build/upload/Upload.mjs.map +1 -1
  149. package/build/upload/steps/uploadImageStep/uploadImageStep.js +1 -1
  150. package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
  151. package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +1 -1
  152. package/build/upload/steps/uploadImageStep/uploadImageStep.mjs.map +1 -1
  153. package/build/uploadInput/UploadInput.js +0 -1
  154. package/build/uploadInput/UploadInput.js.map +1 -1
  155. package/build/uploadInput/UploadInput.mjs +0 -1
  156. package/build/uploadInput/UploadInput.mjs.map +1 -1
  157. package/package.json +14 -14
  158. package/src/body/Body.css +3 -0
  159. package/src/body/Body.less +3 -0
  160. package/src/body/Body.spec.tsx +8 -0
  161. package/src/body/Body.story.tsx +12 -0
  162. package/src/body/Body.tsx +11 -2
  163. package/src/dateInput/DateInput.css +13 -1
  164. package/src/dateInput/DateInput.less +20 -3
  165. package/src/dateInput/DateInput.tests.story.tsx +14 -3
  166. package/src/dateInput/DateInput.tsx +4 -4
  167. package/src/i18n/cs.json +0 -2
  168. package/src/i18n/de.json +0 -2
  169. package/src/i18n/en.json +0 -2
  170. package/src/i18n/es.json +0 -2
  171. package/src/i18n/fr.json +0 -2
  172. package/src/i18n/hu.json +0 -2
  173. package/src/i18n/id.json +0 -2
  174. package/src/i18n/it.json +0 -2
  175. package/src/i18n/ja.json +0 -2
  176. package/src/i18n/nl.json +0 -2
  177. package/src/i18n/pl.json +0 -2
  178. package/src/i18n/pt.json +0 -2
  179. package/src/i18n/ro.json +0 -2
  180. package/src/i18n/ru.json +0 -2
  181. package/src/i18n/th.json +0 -2
  182. package/src/i18n/tr.json +0 -2
  183. package/src/i18n/zh-CN.json +0 -2
  184. package/src/i18n/zh-HK.json +0 -2
  185. package/src/index.ts +0 -2
  186. package/src/instructionsList/InstructionsList.story.tsx +35 -37
  187. package/src/instructionsList/InstructionsList.tsx +1 -1
  188. package/src/legacylistItem/LegacyListItem.story.tsx +5 -5
  189. package/src/legacylistItem/LegacyListItem.tests.story.tsx +6 -6
  190. package/src/main.css +16 -45
  191. package/src/main.less +1 -1
  192. package/src/ssr.spec.tsx +0 -1
  193. package/src/test-utils/assets/apple-pay-logo.svg +84 -0
  194. package/src/test-utils/fake-data.ts +5 -0
  195. package/src/uploadInput/UploadInput.tsx +4 -13
  196. package/build/selectOption/SelectOption.js +0 -131
  197. package/build/selectOption/SelectOption.js.map +0 -1
  198. package/build/selectOption/SelectOption.messages.js +0 -17
  199. package/build/selectOption/SelectOption.messages.js.map +0 -1
  200. package/build/selectOption/SelectOption.messages.mjs +0 -13
  201. package/build/selectOption/SelectOption.messages.mjs.map +0 -1
  202. package/build/selectOption/SelectOption.mjs +0 -127
  203. package/build/selectOption/SelectOption.mjs.map +0 -1
  204. package/build/styles/selectOption/SelectOption.css +0 -44
  205. package/build/types/selectOption/SelectOption.d.ts +0 -21
  206. package/build/types/selectOption/SelectOption.d.ts.map +0 -1
  207. package/build/types/selectOption/SelectOption.messages.d.ts +0 -12
  208. package/build/types/selectOption/SelectOption.messages.d.ts.map +0 -1
  209. package/build/types/selectOption/index.d.ts +0 -3
  210. package/build/types/selectOption/index.d.ts.map +0 -1
  211. package/src/selectOption/SelectOption.css +0 -44
  212. package/src/selectOption/SelectOption.less +0 -40
  213. package/src/selectOption/SelectOption.messages.ts +0 -12
  214. package/src/selectOption/SelectOption.spec.tsx +0 -83
  215. package/src/selectOption/SelectOption.story.tsx +0 -277
  216. package/src/selectOption/SelectOption.tsx +0 -151
  217. package/src/selectOption/index.ts +0 -2
@@ -28,8 +28,6 @@
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "電話番号",
29
29
  "neptune.Select.searchPlaceholder": "検索する... ",
30
30
  "neptune.SelectInput.noResultsFound": "結果が見つかりませんでした",
31
- "neptune.SelectOption.action.label": "選択してください",
32
- "neptune.SelectOption.selected.action.label": "選択したオプションを変更する",
33
31
  "neptune.StatusIcon.iconLabel.error": "エラー:",
34
32
  "neptune.StatusIcon.iconLabel.information": "情報:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "保留中:",
@@ -32,8 +32,6 @@ var ja = {
32
32
  "neptune.PhoneNumberInput.phoneNumberLabel": "電話番号",
33
33
  "neptune.Select.searchPlaceholder": "検索する... ",
34
34
  "neptune.SelectInput.noResultsFound": "結果が見つかりませんでした",
35
- "neptune.SelectOption.action.label": "選択してください",
36
- "neptune.SelectOption.selected.action.label": "選択したオプションを変更する",
37
35
  "neptune.StatusIcon.iconLabel.error": "エラー:",
38
36
  "neptune.StatusIcon.iconLabel.information": "情報:",
39
37
  "neptune.StatusIcon.iconLabel.pending": "保留中:",
@@ -1 +1 @@
1
- {"version":3,"file":"ja.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ja.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@ var ja = {
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "電話番号",
29
29
  "neptune.Select.searchPlaceholder": "検索する... ",
30
30
  "neptune.SelectInput.noResultsFound": "結果が見つかりませんでした",
31
- "neptune.SelectOption.action.label": "選択してください",
32
- "neptune.SelectOption.selected.action.label": "選択したオプションを変更する",
33
31
  "neptune.StatusIcon.iconLabel.error": "エラー:",
34
32
  "neptune.StatusIcon.iconLabel.information": "情報:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "保留中:",
@@ -1 +1 @@
1
- {"version":3,"file":"ja.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ja.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "Telefoonnummer",
29
29
  "neptune.Select.searchPlaceholder": "Zoeken...",
30
30
  "neptune.SelectInput.noResultsFound": "Geen resultaten gevonden",
31
- "neptune.SelectOption.action.label": "Kiezen",
32
- "neptune.SelectOption.selected.action.label": "Gekozen optie wijzigen",
33
31
  "neptune.StatusIcon.iconLabel.error": "Fout:",
34
32
  "neptune.StatusIcon.iconLabel.information": "Informatie:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "In behandeling:",
@@ -28,8 +28,6 @@
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "Numer telefonu",
29
29
  "neptune.Select.searchPlaceholder": "Wyszukaj...",
30
30
  "neptune.SelectInput.noResultsFound": "Nie znaleziono wyników",
31
- "neptune.SelectOption.action.label": "Wybierz",
32
- "neptune.SelectOption.selected.action.label": "Zmień wybraną opcję",
33
31
  "neptune.StatusIcon.iconLabel.error": "Błąd:",
34
32
  "neptune.StatusIcon.iconLabel.information": "Informacje:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "W toku:",
@@ -32,8 +32,6 @@ var pl = {
32
32
  "neptune.PhoneNumberInput.phoneNumberLabel": "Numer telefonu",
33
33
  "neptune.Select.searchPlaceholder": "Wyszukaj...",
34
34
  "neptune.SelectInput.noResultsFound": "Nie znaleziono wyników",
35
- "neptune.SelectOption.action.label": "Wybierz",
36
- "neptune.SelectOption.selected.action.label": "Zmień wybraną opcję",
37
35
  "neptune.StatusIcon.iconLabel.error": "Błąd:",
38
36
  "neptune.StatusIcon.iconLabel.information": "Informacje:",
39
37
  "neptune.StatusIcon.iconLabel.pending": "W toku:",
@@ -1 +1 @@
1
- {"version":3,"file":"pl.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"pl.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@ var pl = {
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "Numer telefonu",
29
29
  "neptune.Select.searchPlaceholder": "Wyszukaj...",
30
30
  "neptune.SelectInput.noResultsFound": "Nie znaleziono wyników",
31
- "neptune.SelectOption.action.label": "Wybierz",
32
- "neptune.SelectOption.selected.action.label": "Zmień wybraną opcję",
33
31
  "neptune.StatusIcon.iconLabel.error": "Błąd:",
34
32
  "neptune.StatusIcon.iconLabel.information": "Informacje:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "W toku:",
@@ -1 +1 @@
1
- {"version":3,"file":"pl.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"pl.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "Número de telefone",
29
29
  "neptune.Select.searchPlaceholder": "Buscar...",
30
30
  "neptune.SelectInput.noResultsFound": "Nenhum resultado encontrado",
31
- "neptune.SelectOption.action.label": "Selecionar",
32
- "neptune.SelectOption.selected.action.label": "Altere a opção escolhida",
33
31
  "neptune.StatusIcon.iconLabel.error": "Erro:",
34
32
  "neptune.StatusIcon.iconLabel.information": "Informação:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "Pendente:",
@@ -32,8 +32,6 @@ var pt = {
32
32
  "neptune.PhoneNumberInput.phoneNumberLabel": "Número de telefone",
33
33
  "neptune.Select.searchPlaceholder": "Buscar...",
34
34
  "neptune.SelectInput.noResultsFound": "Nenhum resultado encontrado",
35
- "neptune.SelectOption.action.label": "Selecionar",
36
- "neptune.SelectOption.selected.action.label": "Altere a opção escolhida",
37
35
  "neptune.StatusIcon.iconLabel.error": "Erro:",
38
36
  "neptune.StatusIcon.iconLabel.information": "Informação:",
39
37
  "neptune.StatusIcon.iconLabel.pending": "Pendente:",
@@ -1 +1 @@
1
- {"version":3,"file":"pt.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"pt.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@ var pt = {
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "Número de telefone",
29
29
  "neptune.Select.searchPlaceholder": "Buscar...",
30
30
  "neptune.SelectInput.noResultsFound": "Nenhum resultado encontrado",
31
- "neptune.SelectOption.action.label": "Selecionar",
32
- "neptune.SelectOption.selected.action.label": "Altere a opção escolhida",
33
31
  "neptune.StatusIcon.iconLabel.error": "Erro:",
34
32
  "neptune.StatusIcon.iconLabel.information": "Informação:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "Pendente:",
@@ -1 +1 @@
1
- {"version":3,"file":"pt.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"pt.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "Număr de telefon",
29
29
  "neptune.Select.searchPlaceholder": "Caută...",
30
30
  "neptune.SelectInput.noResultsFound": "Nu s-a găsit niciun rezultat",
31
- "neptune.SelectOption.action.label": "Alege",
32
- "neptune.SelectOption.selected.action.label": "Schimbă opțiunea aleasă",
33
31
  "neptune.StatusIcon.iconLabel.error": "Eroare:",
34
32
  "neptune.StatusIcon.iconLabel.information": "Informații:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "În așteptare:",
@@ -32,8 +32,6 @@ var ro = {
32
32
  "neptune.PhoneNumberInput.phoneNumberLabel": "Număr de telefon",
33
33
  "neptune.Select.searchPlaceholder": "Caută...",
34
34
  "neptune.SelectInput.noResultsFound": "Nu s-a găsit niciun rezultat",
35
- "neptune.SelectOption.action.label": "Alege",
36
- "neptune.SelectOption.selected.action.label": "Schimbă opțiunea aleasă",
37
35
  "neptune.StatusIcon.iconLabel.error": "Eroare:",
38
36
  "neptune.StatusIcon.iconLabel.information": "Informații:",
39
37
  "neptune.StatusIcon.iconLabel.pending": "În așteptare:",
@@ -1 +1 @@
1
- {"version":3,"file":"ro.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ro.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@ var ro = {
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "Număr de telefon",
29
29
  "neptune.Select.searchPlaceholder": "Caută...",
30
30
  "neptune.SelectInput.noResultsFound": "Nu s-a găsit niciun rezultat",
31
- "neptune.SelectOption.action.label": "Alege",
32
- "neptune.SelectOption.selected.action.label": "Schimbă opțiunea aleasă",
33
31
  "neptune.StatusIcon.iconLabel.error": "Eroare:",
34
32
  "neptune.StatusIcon.iconLabel.information": "Informații:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "În așteptare:",
@@ -1 +1 @@
1
- {"version":3,"file":"ro.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ro.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "Номер телефона",
29
29
  "neptune.Select.searchPlaceholder": "Поиск...",
30
30
  "neptune.SelectInput.noResultsFound": "Ничего не найдено",
31
- "neptune.SelectOption.action.label": "Выбрать",
32
- "neptune.SelectOption.selected.action.label": "Изменить выбранный вариант",
33
31
  "neptune.StatusIcon.iconLabel.error": "Ошибка:",
34
32
  "neptune.StatusIcon.iconLabel.information": "Информация:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "В ожидании:",
@@ -32,8 +32,6 @@ var ru = {
32
32
  "neptune.PhoneNumberInput.phoneNumberLabel": "Номер телефона",
33
33
  "neptune.Select.searchPlaceholder": "Поиск...",
34
34
  "neptune.SelectInput.noResultsFound": "Ничего не найдено",
35
- "neptune.SelectOption.action.label": "Выбрать",
36
- "neptune.SelectOption.selected.action.label": "Изменить выбранный вариант",
37
35
  "neptune.StatusIcon.iconLabel.error": "Ошибка:",
38
36
  "neptune.StatusIcon.iconLabel.information": "Информация:",
39
37
  "neptune.StatusIcon.iconLabel.pending": "В ожидании:",
@@ -1 +1 @@
1
- {"version":3,"file":"ru.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ru.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@ var ru = {
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "Номер телефона",
29
29
  "neptune.Select.searchPlaceholder": "Поиск...",
30
30
  "neptune.SelectInput.noResultsFound": "Ничего не найдено",
31
- "neptune.SelectOption.action.label": "Выбрать",
32
- "neptune.SelectOption.selected.action.label": "Изменить выбранный вариант",
33
31
  "neptune.StatusIcon.iconLabel.error": "Ошибка:",
34
32
  "neptune.StatusIcon.iconLabel.information": "Информация:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "В ожидании:",
@@ -1 +1 @@
1
- {"version":3,"file":"ru.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ru.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "หมายเลขโทรศัพท์",
29
29
  "neptune.Select.searchPlaceholder": "ค้นหา...",
30
30
  "neptune.SelectInput.noResultsFound": "ไม่พบผลลัพธ์",
31
- "neptune.SelectOption.action.label": "เลือก",
32
- "neptune.SelectOption.selected.action.label": "เปลี่ยนตัวเลือกที่เลือกไว้",
33
31
  "neptune.StatusIcon.iconLabel.error": "ข้อผิดพลาด:",
34
32
  "neptune.StatusIcon.iconLabel.information": "ข้อมูล:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "รอดำเนินการ:",
@@ -32,8 +32,6 @@ var th = {
32
32
  "neptune.PhoneNumberInput.phoneNumberLabel": "หมายเลขโทรศัพท์",
33
33
  "neptune.Select.searchPlaceholder": "ค้นหา...",
34
34
  "neptune.SelectInput.noResultsFound": "ไม่พบผลลัพธ์",
35
- "neptune.SelectOption.action.label": "เลือก",
36
- "neptune.SelectOption.selected.action.label": "เปลี่ยนตัวเลือกที่เลือกไว้",
37
35
  "neptune.StatusIcon.iconLabel.error": "ข้อผิดพลาด:",
38
36
  "neptune.StatusIcon.iconLabel.information": "ข้อมูล:",
39
37
  "neptune.StatusIcon.iconLabel.pending": "รอดำเนินการ:",
@@ -1 +1 @@
1
- {"version":3,"file":"th.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"th.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@ var th = {
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "หมายเลขโทรศัพท์",
29
29
  "neptune.Select.searchPlaceholder": "ค้นหา...",
30
30
  "neptune.SelectInput.noResultsFound": "ไม่พบผลลัพธ์",
31
- "neptune.SelectOption.action.label": "เลือก",
32
- "neptune.SelectOption.selected.action.label": "เปลี่ยนตัวเลือกที่เลือกไว้",
33
31
  "neptune.StatusIcon.iconLabel.error": "ข้อผิดพลาด:",
34
32
  "neptune.StatusIcon.iconLabel.information": "ข้อมูล:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "รอดำเนินการ:",
@@ -1 +1 @@
1
- {"version":3,"file":"th.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"th.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "Telefon numarası",
29
29
  "neptune.Select.searchPlaceholder": "Ara...",
30
30
  "neptune.SelectInput.noResultsFound": "Sonuç bulunamadı",
31
- "neptune.SelectOption.action.label": "Seç",
32
- "neptune.SelectOption.selected.action.label": "Seçilen opsiyonu değiştir",
33
31
  "neptune.StatusIcon.iconLabel.error": "Hata:",
34
32
  "neptune.StatusIcon.iconLabel.information": "Bilgi:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "Bekliyor:",
@@ -32,8 +32,6 @@ var tr = {
32
32
  "neptune.PhoneNumberInput.phoneNumberLabel": "Telefon numarası",
33
33
  "neptune.Select.searchPlaceholder": "Ara...",
34
34
  "neptune.SelectInput.noResultsFound": "Sonuç bulunamadı",
35
- "neptune.SelectOption.action.label": "Seç",
36
- "neptune.SelectOption.selected.action.label": "Seçilen opsiyonu değiştir",
37
35
  "neptune.StatusIcon.iconLabel.error": "Hata:",
38
36
  "neptune.StatusIcon.iconLabel.information": "Bilgi:",
39
37
  "neptune.StatusIcon.iconLabel.pending": "Bekliyor:",
@@ -1 +1 @@
1
- {"version":3,"file":"tr.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"tr.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@ var tr = {
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "Telefon numarası",
29
29
  "neptune.Select.searchPlaceholder": "Ara...",
30
30
  "neptune.SelectInput.noResultsFound": "Sonuç bulunamadı",
31
- "neptune.SelectOption.action.label": "Seç",
32
- "neptune.SelectOption.selected.action.label": "Seçilen opsiyonu değiştir",
33
31
  "neptune.StatusIcon.iconLabel.error": "Hata:",
34
32
  "neptune.StatusIcon.iconLabel.information": "Bilgi:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "Bekliyor:",
@@ -1 +1 @@
1
- {"version":3,"file":"tr.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"tr.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "电话号码",
29
29
  "neptune.Select.searchPlaceholder": "搜索",
30
30
  "neptune.SelectInput.noResultsFound": "找不到结果",
31
- "neptune.SelectOption.action.label": "选择",
32
- "neptune.SelectOption.selected.action.label": "更改所选选项",
33
31
  "neptune.StatusIcon.iconLabel.error": "错误:",
34
32
  "neptune.StatusIcon.iconLabel.information": "信息:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "待处理:",
@@ -32,8 +32,6 @@ var zhCN = {
32
32
  "neptune.PhoneNumberInput.phoneNumberLabel": "电话号码",
33
33
  "neptune.Select.searchPlaceholder": "搜索",
34
34
  "neptune.SelectInput.noResultsFound": "找不到结果",
35
- "neptune.SelectOption.action.label": "选择",
36
- "neptune.SelectOption.selected.action.label": "更改所选选项",
37
35
  "neptune.StatusIcon.iconLabel.error": "错误:",
38
36
  "neptune.StatusIcon.iconLabel.information": "信息:",
39
37
  "neptune.StatusIcon.iconLabel.pending": "待处理:",
@@ -1 +1 @@
1
- {"version":3,"file":"zh-CN.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"zh-CN.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@ var zhCN = {
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "电话号码",
29
29
  "neptune.Select.searchPlaceholder": "搜索",
30
30
  "neptune.SelectInput.noResultsFound": "找不到结果",
31
- "neptune.SelectOption.action.label": "选择",
32
- "neptune.SelectOption.selected.action.label": "更改所选选项",
33
31
  "neptune.StatusIcon.iconLabel.error": "错误:",
34
32
  "neptune.StatusIcon.iconLabel.information": "信息:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "待处理:",
@@ -1 +1 @@
1
- {"version":3,"file":"zh-CN.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"zh-CN.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "電話號碼",
29
29
  "neptune.Select.searchPlaceholder": "搜尋…",
30
30
  "neptune.SelectInput.noResultsFound": "找不到任何結果",
31
- "neptune.SelectOption.action.label": "選擇",
32
- "neptune.SelectOption.selected.action.label": "更改已選選項",
33
31
  "neptune.StatusIcon.iconLabel.error": "錯誤:",
34
32
  "neptune.StatusIcon.iconLabel.information": "資訊:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "處理中:",
@@ -32,8 +32,6 @@ var zhHK = {
32
32
  "neptune.PhoneNumberInput.phoneNumberLabel": "電話號碼",
33
33
  "neptune.Select.searchPlaceholder": "搜尋…",
34
34
  "neptune.SelectInput.noResultsFound": "找不到任何結果",
35
- "neptune.SelectOption.action.label": "選擇",
36
- "neptune.SelectOption.selected.action.label": "更改已選選項",
37
35
  "neptune.StatusIcon.iconLabel.error": "錯誤:",
38
36
  "neptune.StatusIcon.iconLabel.information": "資訊:",
39
37
  "neptune.StatusIcon.iconLabel.pending": "處理中:",
@@ -1 +1 @@
1
- {"version":3,"file":"zh-HK.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"zh-HK.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,8 +28,6 @@ var zhHK = {
28
28
  "neptune.PhoneNumberInput.phoneNumberLabel": "電話號碼",
29
29
  "neptune.Select.searchPlaceholder": "搜尋…",
30
30
  "neptune.SelectInput.noResultsFound": "找不到任何結果",
31
- "neptune.SelectOption.action.label": "選擇",
32
- "neptune.SelectOption.selected.action.label": "更改已選選項",
33
31
  "neptune.StatusIcon.iconLabel.error": "錯誤:",
34
32
  "neptune.StatusIcon.iconLabel.information": "資訊:",
35
33
  "neptune.StatusIcon.iconLabel.pending": "處理中:",
@@ -1 +1 @@
1
- {"version":3,"file":"zh-HK.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"zh-HK.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/build/index.js CHANGED
@@ -4,7 +4,6 @@
4
4
  var Accordion = require('./accordion/Accordion.js');
5
5
  var ActionButton = require('./actionButton/ActionButton.js');
6
6
  var ActionOption = require('./actionOption/ActionOption.js');
7
- var SelectOption = require('./selectOption/SelectOption.js');
8
7
  var Alert = require('./alert/Alert.js');
9
8
  var avatarTypes = require('./avatar/avatarTypes.js');
10
9
  var Avatar = require('./avatar/Avatar.js');
@@ -144,7 +143,6 @@ var withId = require('./withId/withId.js');
144
143
  exports.Accordion = Accordion.default;
145
144
  exports.ActionButton = ActionButton.default;
146
145
  exports.ActionOption = ActionOption.default;
147
- exports.SelectOption = SelectOption.default;
148
146
  exports.Alert = Alert.default;
149
147
  Object.defineProperty(exports, "AlertArrowPosition", {
150
148
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/build/index.mjs CHANGED
@@ -2,7 +2,6 @@
2
2
  export { default as Accordion } from './accordion/Accordion.mjs';
3
3
  export { default as ActionButton } from './actionButton/ActionButton.mjs';
4
4
  export { default as ActionOption } from './actionOption/ActionOption.mjs';
5
- export { default as SelectOption } from './selectOption/SelectOption.mjs';
6
5
  export { default as Alert, AlertArrowPosition } from './alert/Alert.mjs';
7
6
  export { AvatarType } from './avatar/avatarTypes.mjs';
8
7
  export { default as Avatar } from './avatar/Avatar.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -77,6 +77,7 @@ function Instruction({
77
77
  }), /*#__PURE__*/jsxRuntime.jsx(Body.default, {
78
78
  className: "text-primary",
79
79
  type: typography.Typography.BODY_LARGE,
80
+ preserveNewlines: true,
80
81
  children: isInstructionNode ? item.content : item
81
82
  })]
82
83
  });
@@ -1 +1 @@
1
- {"version":3,"file":"InstructionsList.js","sources":["../../src/instructionsList/InstructionsList.tsx"],"sourcesContent":["import { CrossCircleFill as DontIcon, CheckCircleFill as DoIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { ReactNode } from 'react';\n\nimport Body from '../body/Body';\nimport { Typography, CommonProps } from '../common';\n\ntype InstructionNode = {\n content: ReactNode;\n ['aria-label']: string;\n};\n\nexport type InstructionsListProps = CommonProps &\n (\n | {\n dos?: readonly ReactNode[];\n donts?: readonly ReactNode[];\n sort?: 'dosFirst' | 'dontsFirst';\n }\n | {\n dos?: readonly InstructionNode[];\n donts?: readonly InstructionNode[];\n sort?: 'dosFirst' | 'dontsFirst';\n }\n );\n\nconst InstructionsList = ({ className, dos, donts, sort = 'dosFirst' }: InstructionsListProps) => {\n const dosInstructions =\n dos?.map((doThis, index) => (\n // eslint-disable-next-line react/no-array-index-key\n <Instruction key={index} item={doThis} type=\"do\" />\n )) ?? null;\n\n const dontsInstructions =\n donts?.map((dont, index) => (\n // eslint-disable-next-line react/no-array-index-key\n <Instruction key={index} item={dont} type=\"dont\" />\n )) ?? null;\n\n const orderedInstructions =\n sort === 'dosFirst' ? (\n <>\n {dosInstructions}\n {dontsInstructions}\n </>\n ) : (\n <>\n {dontsInstructions}\n {dosInstructions}\n </>\n );\n\n return <ul className={clsx('tw-instructions', className)}>{orderedInstructions}</ul>;\n};\n\nfunction Instruction({ item, type }: { item: ReactNode | InstructionNode; type: 'do' | 'dont' }) {\n const isInstructionNode =\n typeof item === 'object' && item !== null && 'content' in item && 'aria-label' in item;\n return (\n <li className=\"instruction\">\n {type === 'do' ? (\n <DoIcon\n size={24}\n className={type}\n title={isInstructionNode ? item['aria-label'] : undefined}\n />\n ) : (\n <DontIcon\n size={24}\n className={type}\n title={isInstructionNode ? item['aria-label'] : undefined}\n />\n )}\n <Body className=\"text-primary\" type={Typography.BODY_LARGE}>\n {isInstructionNode ? item.content : item}\n </Body>\n </li>\n );\n}\n\nexport default InstructionsList;\n"],"names":["InstructionsList","className","dos","donts","sort","dosInstructions","map","doThis","index","_jsx","Instruction","item","type","dontsInstructions","dont","orderedInstructions","_jsxs","_Fragment","children","clsx","isInstructionNode","DoIcon","size","title","undefined","DontIcon","Body","Typography","BODY_LARGE","content"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BMA,MAAAA,gBAAgB,GAAGA,CAAC;EAAEC,SAAS;EAAEC,GAAG;EAAEC,KAAK;AAAEC,EAAAA,IAAI,GAAG;AAAU,CAAyB,KAAI;EAC/F,MAAMC,eAAe,GACnBH,GAAG,EAAEI,GAAG,CAAC,CAACC,MAAM,EAAEC,KAAK;AAAA;AACrB;AACAC,EAAAA,cAAA,CAACC,WAAW,EAAA;AAAaC,IAAAA,IAAI,EAAEJ,MAAO;AAACK,IAAAA,IAAI,EAAC;AAAI,GAAA,EAA9BJ,MACnB,CAAC,IAAI,IAAI;EAEZ,MAAMK,iBAAiB,GACrBV,KAAK,EAAEG,GAAG,CAAC,CAACQ,IAAI,EAAEN,KAAK;AAAA;AACrB;AACAC,EAAAA,cAAA,CAACC,WAAW,EAAA;AAAaC,IAAAA,IAAI,EAAEG,IAAK;AAACF,IAAAA,IAAI,EAAC;AAAM,GAAA,EAA9BJ,MACnB,CAAC,IAAI,IAAI;EAEZ,MAAMO,mBAAmB,GACvBX,IAAI,KAAK,UAAU,gBACjBY,eAAA,CAAAC,mBAAA,EAAA;IAAAC,QAAA,EAAA,CACGb,eAAe,EACfQ,iBAAiB;AAAA,GACpB,CAAG,gBAEHG,eAAA,CAAAC,mBAAA,EAAA;IAAAC,QAAA,EAAA,CACGL,iBAAiB,EACjBR,eAAe;AAAA,GAClB,CACD;AAEH,EAAA,oBAAOI,cAAA,CAAA,IAAA,EAAA;AAAIR,IAAAA,SAAS,EAAEkB,SAAI,CAAC,iBAAiB,EAAElB,SAAS,CAAE;AAAAiB,IAAAA,QAAA,EAAEH;AAAmB,GAAK,CAAC;AACtF;AAEA,SAASL,WAAWA,CAAC;EAAEC,IAAI;AAAEC,EAAAA;AAAkE,CAAA,EAAA;AAC7F,EAAA,MAAMQ,iBAAiB,GACrB,OAAOT,IAAI,KAAK,QAAQ,IAAIA,IAAI,KAAK,IAAI,IAAI,SAAS,IAAIA,IAAI,IAAI,YAAY,IAAIA,IAAI;AACxF,EAAA,oBACEK,eAAA,CAAA,IAAA,EAAA;AAAIf,IAAAA,SAAS,EAAC,aAAa;AAAAiB,IAAAA,QAAA,GACxBN,IAAI,KAAK,IAAI,gBACZH,cAAA,CAACY,qBAAM,EAAA;AACLC,MAAAA,IAAI,EAAE,EAAG;AACTrB,MAAAA,SAAS,EAAEW,IAAK;AAChBW,MAAAA,KAAK,EAAEH,iBAAiB,GAAGT,IAAI,CAAC,YAAY,CAAC,GAAGa;AAAU,KAC1D,CAAA,gBAEFf,cAAA,CAACgB,qBAAQ,EAAA;AACPH,MAAAA,IAAI,EAAE,EAAG;AACTrB,MAAAA,SAAS,EAAEW,IAAK;AAChBW,MAAAA,KAAK,EAAEH,iBAAiB,GAAGT,IAAI,CAAC,YAAY,CAAC,GAAGa;AAAU,KAAA,CAE7D,eACDf,cAAA,CAACiB,YAAI,EAAA;AAACzB,MAAAA,SAAS,EAAC,cAAc;MAACW,IAAI,EAAEe,qBAAU,CAACC,UAAW;AAAAV,MAAAA,QAAA,EACxDE,iBAAiB,GAAGT,IAAI,CAACkB,OAAO,GAAGlB;AAAI,KACpC,CACR;AAAA,GAAI,CAAC;AAET;;;;"}
1
+ {"version":3,"file":"InstructionsList.js","sources":["../../src/instructionsList/InstructionsList.tsx"],"sourcesContent":["import { CrossCircleFill as DontIcon, CheckCircleFill as DoIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { ReactNode } from 'react';\n\nimport Body from '../body/Body';\nimport { Typography, CommonProps } from '../common';\n\ntype InstructionNode = {\n content: ReactNode;\n ['aria-label']: string;\n};\n\nexport type InstructionsListProps = CommonProps &\n (\n | {\n dos?: readonly ReactNode[];\n donts?: readonly ReactNode[];\n sort?: 'dosFirst' | 'dontsFirst';\n }\n | {\n dos?: readonly InstructionNode[];\n donts?: readonly InstructionNode[];\n sort?: 'dosFirst' | 'dontsFirst';\n }\n );\n\nconst InstructionsList = ({ className, dos, donts, sort = 'dosFirst' }: InstructionsListProps) => {\n const dosInstructions =\n dos?.map((doThis, index) => (\n // eslint-disable-next-line react/no-array-index-key\n <Instruction key={index} item={doThis} type=\"do\" />\n )) ?? null;\n\n const dontsInstructions =\n donts?.map((dont, index) => (\n // eslint-disable-next-line react/no-array-index-key\n <Instruction key={index} item={dont} type=\"dont\" />\n )) ?? null;\n\n const orderedInstructions =\n sort === 'dosFirst' ? (\n <>\n {dosInstructions}\n {dontsInstructions}\n </>\n ) : (\n <>\n {dontsInstructions}\n {dosInstructions}\n </>\n );\n\n return <ul className={clsx('tw-instructions', className)}>{orderedInstructions}</ul>;\n};\n\nfunction Instruction({ item, type }: { item: ReactNode | InstructionNode; type: 'do' | 'dont' }) {\n const isInstructionNode =\n typeof item === 'object' && item !== null && 'content' in item && 'aria-label' in item;\n return (\n <li className=\"instruction\">\n {type === 'do' ? (\n <DoIcon\n size={24}\n className={type}\n title={isInstructionNode ? item['aria-label'] : undefined}\n />\n ) : (\n <DontIcon\n size={24}\n className={type}\n title={isInstructionNode ? item['aria-label'] : undefined}\n />\n )}\n <Body className=\"text-primary\" type={Typography.BODY_LARGE} preserveNewlines>\n {isInstructionNode ? item.content : item}\n </Body>\n </li>\n );\n}\n\nexport default InstructionsList;\n"],"names":["InstructionsList","className","dos","donts","sort","dosInstructions","map","doThis","index","_jsx","Instruction","item","type","dontsInstructions","dont","orderedInstructions","_jsxs","_Fragment","children","clsx","isInstructionNode","DoIcon","size","title","undefined","DontIcon","Body","Typography","BODY_LARGE","preserveNewlines","content"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BMA,MAAAA,gBAAgB,GAAGA,CAAC;EAAEC,SAAS;EAAEC,GAAG;EAAEC,KAAK;AAAEC,EAAAA,IAAI,GAAG;AAAU,CAAyB,KAAI;EAC/F,MAAMC,eAAe,GACnBH,GAAG,EAAEI,GAAG,CAAC,CAACC,MAAM,EAAEC,KAAK;AAAA;AACrB;AACAC,EAAAA,cAAA,CAACC,WAAW,EAAA;AAAaC,IAAAA,IAAI,EAAEJ,MAAO;AAACK,IAAAA,IAAI,EAAC;AAAI,GAAA,EAA9BJ,MACnB,CAAC,IAAI,IAAI;EAEZ,MAAMK,iBAAiB,GACrBV,KAAK,EAAEG,GAAG,CAAC,CAACQ,IAAI,EAAEN,KAAK;AAAA;AACrB;AACAC,EAAAA,cAAA,CAACC,WAAW,EAAA;AAAaC,IAAAA,IAAI,EAAEG,IAAK;AAACF,IAAAA,IAAI,EAAC;AAAM,GAAA,EAA9BJ,MACnB,CAAC,IAAI,IAAI;EAEZ,MAAMO,mBAAmB,GACvBX,IAAI,KAAK,UAAU,gBACjBY,eAAA,CAAAC,mBAAA,EAAA;IAAAC,QAAA,EAAA,CACGb,eAAe,EACfQ,iBAAiB;AAAA,GACpB,CAAG,gBAEHG,eAAA,CAAAC,mBAAA,EAAA;IAAAC,QAAA,EAAA,CACGL,iBAAiB,EACjBR,eAAe;AAAA,GAClB,CACD;AAEH,EAAA,oBAAOI,cAAA,CAAA,IAAA,EAAA;AAAIR,IAAAA,SAAS,EAAEkB,SAAI,CAAC,iBAAiB,EAAElB,SAAS,CAAE;AAAAiB,IAAAA,QAAA,EAAEH;AAAmB,GAAK,CAAC;AACtF;AAEA,SAASL,WAAWA,CAAC;EAAEC,IAAI;AAAEC,EAAAA;AAAkE,CAAA,EAAA;AAC7F,EAAA,MAAMQ,iBAAiB,GACrB,OAAOT,IAAI,KAAK,QAAQ,IAAIA,IAAI,KAAK,IAAI,IAAI,SAAS,IAAIA,IAAI,IAAI,YAAY,IAAIA,IAAI;AACxF,EAAA,oBACEK,eAAA,CAAA,IAAA,EAAA;AAAIf,IAAAA,SAAS,EAAC,aAAa;AAAAiB,IAAAA,QAAA,GACxBN,IAAI,KAAK,IAAI,gBACZH,cAAA,CAACY,qBAAM,EAAA;AACLC,MAAAA,IAAI,EAAE,EAAG;AACTrB,MAAAA,SAAS,EAAEW,IAAK;AAChBW,MAAAA,KAAK,EAAEH,iBAAiB,GAAGT,IAAI,CAAC,YAAY,CAAC,GAAGa;AAAU,KAC1D,CAAA,gBAEFf,cAAA,CAACgB,qBAAQ,EAAA;AACPH,MAAAA,IAAI,EAAE,EAAG;AACTrB,MAAAA,SAAS,EAAEW,IAAK;AAChBW,MAAAA,KAAK,EAAEH,iBAAiB,GAAGT,IAAI,CAAC,YAAY,CAAC,GAAGa;AAAU,KAAA,CAE7D,eACDf,cAAA,CAACiB,YAAI,EAAA;AAACzB,MAAAA,SAAS,EAAC,cAAc;MAACW,IAAI,EAAEe,qBAAU,CAACC,UAAW;MAACC,gBAAgB,EAAA,IAAA;AAAAX,MAAAA,QAAA,EACzEE,iBAAiB,GAAGT,IAAI,CAACmB,OAAO,GAAGnB;AAAI,KACpC,CACR;AAAA,GAAI,CAAC;AAET;;;;"}
@@ -73,6 +73,7 @@ function Instruction({
73
73
  }), /*#__PURE__*/jsx(Body, {
74
74
  className: "text-primary",
75
75
  type: Typography.BODY_LARGE,
76
+ preserveNewlines: true,
76
77
  children: isInstructionNode ? item.content : item
77
78
  })]
78
79
  });
@@ -1 +1 @@
1
- {"version":3,"file":"InstructionsList.mjs","sources":["../../src/instructionsList/InstructionsList.tsx"],"sourcesContent":["import { CrossCircleFill as DontIcon, CheckCircleFill as DoIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { ReactNode } from 'react';\n\nimport Body from '../body/Body';\nimport { Typography, CommonProps } from '../common';\n\ntype InstructionNode = {\n content: ReactNode;\n ['aria-label']: string;\n};\n\nexport type InstructionsListProps = CommonProps &\n (\n | {\n dos?: readonly ReactNode[];\n donts?: readonly ReactNode[];\n sort?: 'dosFirst' | 'dontsFirst';\n }\n | {\n dos?: readonly InstructionNode[];\n donts?: readonly InstructionNode[];\n sort?: 'dosFirst' | 'dontsFirst';\n }\n );\n\nconst InstructionsList = ({ className, dos, donts, sort = 'dosFirst' }: InstructionsListProps) => {\n const dosInstructions =\n dos?.map((doThis, index) => (\n // eslint-disable-next-line react/no-array-index-key\n <Instruction key={index} item={doThis} type=\"do\" />\n )) ?? null;\n\n const dontsInstructions =\n donts?.map((dont, index) => (\n // eslint-disable-next-line react/no-array-index-key\n <Instruction key={index} item={dont} type=\"dont\" />\n )) ?? null;\n\n const orderedInstructions =\n sort === 'dosFirst' ? (\n <>\n {dosInstructions}\n {dontsInstructions}\n </>\n ) : (\n <>\n {dontsInstructions}\n {dosInstructions}\n </>\n );\n\n return <ul className={clsx('tw-instructions', className)}>{orderedInstructions}</ul>;\n};\n\nfunction Instruction({ item, type }: { item: ReactNode | InstructionNode; type: 'do' | 'dont' }) {\n const isInstructionNode =\n typeof item === 'object' && item !== null && 'content' in item && 'aria-label' in item;\n return (\n <li className=\"instruction\">\n {type === 'do' ? (\n <DoIcon\n size={24}\n className={type}\n title={isInstructionNode ? item['aria-label'] : undefined}\n />\n ) : (\n <DontIcon\n size={24}\n className={type}\n title={isInstructionNode ? item['aria-label'] : undefined}\n />\n )}\n <Body className=\"text-primary\" type={Typography.BODY_LARGE}>\n {isInstructionNode ? item.content : item}\n </Body>\n </li>\n );\n}\n\nexport default InstructionsList;\n"],"names":["InstructionsList","className","dos","donts","sort","dosInstructions","map","doThis","index","_jsx","Instruction","item","type","dontsInstructions","dont","orderedInstructions","_jsxs","_Fragment","children","clsx","isInstructionNode","DoIcon","size","title","undefined","DontIcon","Body","Typography","BODY_LARGE","content"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BMA,MAAAA,gBAAgB,GAAGA,CAAC;EAAEC,SAAS;EAAEC,GAAG;EAAEC,KAAK;AAAEC,EAAAA,IAAI,GAAG;AAAU,CAAyB,KAAI;EAC/F,MAAMC,eAAe,GACnBH,GAAG,EAAEI,GAAG,CAAC,CAACC,MAAM,EAAEC,KAAK;AAAA;AACrB;AACAC,EAAAA,GAAA,CAACC,WAAW,EAAA;AAAaC,IAAAA,IAAI,EAAEJ,MAAO;AAACK,IAAAA,IAAI,EAAC;AAAI,GAAA,EAA9BJ,MACnB,CAAC,IAAI,IAAI;EAEZ,MAAMK,iBAAiB,GACrBV,KAAK,EAAEG,GAAG,CAAC,CAACQ,IAAI,EAAEN,KAAK;AAAA;AACrB;AACAC,EAAAA,GAAA,CAACC,WAAW,EAAA;AAAaC,IAAAA,IAAI,EAAEG,IAAK;AAACF,IAAAA,IAAI,EAAC;AAAM,GAAA,EAA9BJ,MACnB,CAAC,IAAI,IAAI;EAEZ,MAAMO,mBAAmB,GACvBX,IAAI,KAAK,UAAU,gBACjBY,IAAA,CAAAC,QAAA,EAAA;IAAAC,QAAA,EAAA,CACGb,eAAe,EACfQ,iBAAiB;AAAA,GACpB,CAAG,gBAEHG,IAAA,CAAAC,QAAA,EAAA;IAAAC,QAAA,EAAA,CACGL,iBAAiB,EACjBR,eAAe;AAAA,GAClB,CACD;AAEH,EAAA,oBAAOI,GAAA,CAAA,IAAA,EAAA;AAAIR,IAAAA,SAAS,EAAEkB,IAAI,CAAC,iBAAiB,EAAElB,SAAS,CAAE;AAAAiB,IAAAA,QAAA,EAAEH;AAAmB,GAAK,CAAC;AACtF;AAEA,SAASL,WAAWA,CAAC;EAAEC,IAAI;AAAEC,EAAAA;AAAkE,CAAA,EAAA;AAC7F,EAAA,MAAMQ,iBAAiB,GACrB,OAAOT,IAAI,KAAK,QAAQ,IAAIA,IAAI,KAAK,IAAI,IAAI,SAAS,IAAIA,IAAI,IAAI,YAAY,IAAIA,IAAI;AACxF,EAAA,oBACEK,IAAA,CAAA,IAAA,EAAA;AAAIf,IAAAA,SAAS,EAAC,aAAa;AAAAiB,IAAAA,QAAA,GACxBN,IAAI,KAAK,IAAI,gBACZH,GAAA,CAACY,eAAM,EAAA;AACLC,MAAAA,IAAI,EAAE,EAAG;AACTrB,MAAAA,SAAS,EAAEW,IAAK;AAChBW,MAAAA,KAAK,EAAEH,iBAAiB,GAAGT,IAAI,CAAC,YAAY,CAAC,GAAGa;AAAU,KAC1D,CAAA,gBAEFf,GAAA,CAACgB,eAAQ,EAAA;AACPH,MAAAA,IAAI,EAAE,EAAG;AACTrB,MAAAA,SAAS,EAAEW,IAAK;AAChBW,MAAAA,KAAK,EAAEH,iBAAiB,GAAGT,IAAI,CAAC,YAAY,CAAC,GAAGa;AAAU,KAAA,CAE7D,eACDf,GAAA,CAACiB,IAAI,EAAA;AAACzB,MAAAA,SAAS,EAAC,cAAc;MAACW,IAAI,EAAEe,UAAU,CAACC,UAAW;AAAAV,MAAAA,QAAA,EACxDE,iBAAiB,GAAGT,IAAI,CAACkB,OAAO,GAAGlB;AAAI,KACpC,CACR;AAAA,GAAI,CAAC;AAET;;;;"}
1
+ {"version":3,"file":"InstructionsList.mjs","sources":["../../src/instructionsList/InstructionsList.tsx"],"sourcesContent":["import { CrossCircleFill as DontIcon, CheckCircleFill as DoIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { ReactNode } from 'react';\n\nimport Body from '../body/Body';\nimport { Typography, CommonProps } from '../common';\n\ntype InstructionNode = {\n content: ReactNode;\n ['aria-label']: string;\n};\n\nexport type InstructionsListProps = CommonProps &\n (\n | {\n dos?: readonly ReactNode[];\n donts?: readonly ReactNode[];\n sort?: 'dosFirst' | 'dontsFirst';\n }\n | {\n dos?: readonly InstructionNode[];\n donts?: readonly InstructionNode[];\n sort?: 'dosFirst' | 'dontsFirst';\n }\n );\n\nconst InstructionsList = ({ className, dos, donts, sort = 'dosFirst' }: InstructionsListProps) => {\n const dosInstructions =\n dos?.map((doThis, index) => (\n // eslint-disable-next-line react/no-array-index-key\n <Instruction key={index} item={doThis} type=\"do\" />\n )) ?? null;\n\n const dontsInstructions =\n donts?.map((dont, index) => (\n // eslint-disable-next-line react/no-array-index-key\n <Instruction key={index} item={dont} type=\"dont\" />\n )) ?? null;\n\n const orderedInstructions =\n sort === 'dosFirst' ? (\n <>\n {dosInstructions}\n {dontsInstructions}\n </>\n ) : (\n <>\n {dontsInstructions}\n {dosInstructions}\n </>\n );\n\n return <ul className={clsx('tw-instructions', className)}>{orderedInstructions}</ul>;\n};\n\nfunction Instruction({ item, type }: { item: ReactNode | InstructionNode; type: 'do' | 'dont' }) {\n const isInstructionNode =\n typeof item === 'object' && item !== null && 'content' in item && 'aria-label' in item;\n return (\n <li className=\"instruction\">\n {type === 'do' ? (\n <DoIcon\n size={24}\n className={type}\n title={isInstructionNode ? item['aria-label'] : undefined}\n />\n ) : (\n <DontIcon\n size={24}\n className={type}\n title={isInstructionNode ? item['aria-label'] : undefined}\n />\n )}\n <Body className=\"text-primary\" type={Typography.BODY_LARGE} preserveNewlines>\n {isInstructionNode ? item.content : item}\n </Body>\n </li>\n );\n}\n\nexport default InstructionsList;\n"],"names":["InstructionsList","className","dos","donts","sort","dosInstructions","map","doThis","index","_jsx","Instruction","item","type","dontsInstructions","dont","orderedInstructions","_jsxs","_Fragment","children","clsx","isInstructionNode","DoIcon","size","title","undefined","DontIcon","Body","Typography","BODY_LARGE","preserveNewlines","content"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BMA,MAAAA,gBAAgB,GAAGA,CAAC;EAAEC,SAAS;EAAEC,GAAG;EAAEC,KAAK;AAAEC,EAAAA,IAAI,GAAG;AAAU,CAAyB,KAAI;EAC/F,MAAMC,eAAe,GACnBH,GAAG,EAAEI,GAAG,CAAC,CAACC,MAAM,EAAEC,KAAK;AAAA;AACrB;AACAC,EAAAA,GAAA,CAACC,WAAW,EAAA;AAAaC,IAAAA,IAAI,EAAEJ,MAAO;AAACK,IAAAA,IAAI,EAAC;AAAI,GAAA,EAA9BJ,MACnB,CAAC,IAAI,IAAI;EAEZ,MAAMK,iBAAiB,GACrBV,KAAK,EAAEG,GAAG,CAAC,CAACQ,IAAI,EAAEN,KAAK;AAAA;AACrB;AACAC,EAAAA,GAAA,CAACC,WAAW,EAAA;AAAaC,IAAAA,IAAI,EAAEG,IAAK;AAACF,IAAAA,IAAI,EAAC;AAAM,GAAA,EAA9BJ,MACnB,CAAC,IAAI,IAAI;EAEZ,MAAMO,mBAAmB,GACvBX,IAAI,KAAK,UAAU,gBACjBY,IAAA,CAAAC,QAAA,EAAA;IAAAC,QAAA,EAAA,CACGb,eAAe,EACfQ,iBAAiB;AAAA,GACpB,CAAG,gBAEHG,IAAA,CAAAC,QAAA,EAAA;IAAAC,QAAA,EAAA,CACGL,iBAAiB,EACjBR,eAAe;AAAA,GAClB,CACD;AAEH,EAAA,oBAAOI,GAAA,CAAA,IAAA,EAAA;AAAIR,IAAAA,SAAS,EAAEkB,IAAI,CAAC,iBAAiB,EAAElB,SAAS,CAAE;AAAAiB,IAAAA,QAAA,EAAEH;AAAmB,GAAK,CAAC;AACtF;AAEA,SAASL,WAAWA,CAAC;EAAEC,IAAI;AAAEC,EAAAA;AAAkE,CAAA,EAAA;AAC7F,EAAA,MAAMQ,iBAAiB,GACrB,OAAOT,IAAI,KAAK,QAAQ,IAAIA,IAAI,KAAK,IAAI,IAAI,SAAS,IAAIA,IAAI,IAAI,YAAY,IAAIA,IAAI;AACxF,EAAA,oBACEK,IAAA,CAAA,IAAA,EAAA;AAAIf,IAAAA,SAAS,EAAC,aAAa;AAAAiB,IAAAA,QAAA,GACxBN,IAAI,KAAK,IAAI,gBACZH,GAAA,CAACY,eAAM,EAAA;AACLC,MAAAA,IAAI,EAAE,EAAG;AACTrB,MAAAA,SAAS,EAAEW,IAAK;AAChBW,MAAAA,KAAK,EAAEH,iBAAiB,GAAGT,IAAI,CAAC,YAAY,CAAC,GAAGa;AAAU,KAC1D,CAAA,gBAEFf,GAAA,CAACgB,eAAQ,EAAA;AACPH,MAAAA,IAAI,EAAE,EAAG;AACTrB,MAAAA,SAAS,EAAEW,IAAK;AAChBW,MAAAA,KAAK,EAAEH,iBAAiB,GAAGT,IAAI,CAAC,YAAY,CAAC,GAAGa;AAAU,KAAA,CAE7D,eACDf,GAAA,CAACiB,IAAI,EAAA;AAACzB,MAAAA,SAAS,EAAC,cAAc;MAACW,IAAI,EAAEe,UAAU,CAACC,UAAW;MAACC,gBAAgB,EAAA,IAAA;AAAAX,MAAAA,QAAA,EACzEE,iBAAiB,GAAGT,IAAI,CAACmB,OAAO,GAAGnB;AAAI,KACpC,CACR;AAAA,GAAI,CAAC;AAET;;;;"}
package/build/main.css CHANGED
@@ -658,6 +658,9 @@
658
658
  border-width: 1px;
659
659
  border-color: var(--badge-border-color);
660
660
  }
661
+ .np-text--pre-line {
662
+ white-space: pre-line;
663
+ }
661
664
  .np-btn {
662
665
  position: relative;
663
666
  }
@@ -1789,50 +1792,6 @@ button.np-option {
1789
1792
  margin-top: -3px;
1790
1793
  }
1791
1794
  }
1792
- .np-select-option {
1793
- border-radius: 10px;
1794
- border-radius: var(--radius-small);
1795
- padding: 16px;
1796
- padding: var(--size-16);
1797
- }
1798
- .np-select-option-placeholder {
1799
- background-color: rgba(134,167,189,0.10196);
1800
- background-color: var(--color-background-neutral);
1801
- }
1802
- .np-select-option-placeholder:not(.disabled):hover {
1803
- background-color: var(--color-background-neutral-hover);
1804
- }
1805
- .np-select-option-placeholder:not(.disabled):focus,
1806
- .np-select-option-placeholder:not(.disabled):active {
1807
- background-color: var(--color-background-neutral-active);
1808
- }
1809
- .np-select-option-selected {
1810
- border: 1px solid #c9cbce;
1811
- border: 1px solid var(--color-interactive-secondary);
1812
- }
1813
- .np-select-option-list {
1814
- max-height: 350px;
1815
- overflow-y: auto;
1816
- }
1817
- .np-select-option-list > .np-section {
1818
- margin-top: 0;
1819
- }
1820
- .has-error * .np-select-option {
1821
- --ring-outline-color: var(--color-sentiment-negative);
1822
- --ring-outline-width: 3px;
1823
- --ring-outline-offset: calc(-1 * var(--ring-outline-width));
1824
- outline: var(--ring-outline-color) solid 3px;
1825
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
1826
- outline-offset: calc(-1 * 3px);
1827
- outline-offset: var(--ring-outline-offset);
1828
- }
1829
- .has-error * .np-select-option:focus {
1830
- outline: none;
1831
- }
1832
- .has-error * .np-select-option:focus-visible {
1833
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
1834
- outline-offset: var(--ring-outline-offset);
1835
- }
1836
1795
  .np-panel__content {
1837
1796
  opacity: 0;
1838
1797
  visibility: hidden;
@@ -1910,10 +1869,22 @@ button.np-option {
1910
1869
  border-color: rgba(0,0,0,0.10196);
1911
1870
  border-color: var(--color-border-neutral);
1912
1871
  }
1913
- .np-theme-personal .tw-date label {
1872
+ .tw-date label {
1914
1873
  width: 100%;
1874
+ }
1875
+ .tw-date .tw-date--year label {
1915
1876
  margin-bottom: 0;
1916
1877
  }
1878
+ .tw-date .tw-date--year,
1879
+ .tw-date .tw-date--month,
1880
+ .tw-date .tw-date--day {
1881
+ margin-bottom: 0;
1882
+ }
1883
+ @media (min-width: 576px) {
1884
+ .np-theme-personal .tw-date label {
1885
+ margin-bottom: 0;
1886
+ }
1887
+ }
1917
1888
  .tw-date-lookup-menu {
1918
1889
  width: 400px;
1919
1890
  }
@@ -55,11 +55,11 @@ const parseNumber = ({
55
55
  };
56
56
  const allowedInputKeys = new Set(['Backspace', 'Delete', ',', '.', 'ArrowDown', 'ArrowUp', 'ArrowLeft', 'ArrowRight', 'Enter', 'Escape', 'Tab']);
57
57
  class MoneyInput extends React.Component {
58
- static defaultProps = (() => ({
58
+ static defaultProps = {
59
59
  size: size.Size.LARGE,
60
60
  classNames: {},
61
61
  selectProps: {}
62
- }))();
62
+ };
63
63
  amountFocused = false;
64
64
  constructor(props) {
65
65
  super(props);