@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.
- package/build/body/Body.js +2 -1
- package/build/body/Body.js.map +1 -1
- package/build/body/Body.mjs +2 -1
- package/build/body/Body.mjs.map +1 -1
- package/build/dateInput/DateInput.js +4 -4
- package/build/dateInput/DateInput.js.map +1 -1
- package/build/dateInput/DateInput.mjs +4 -4
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/dateLookup/DateLookup.js +4 -4
- package/build/dateLookup/DateLookup.js.map +1 -1
- package/build/dateLookup/DateLookup.mjs +4 -4
- package/build/dateLookup/DateLookup.mjs.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js +3 -3
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs +3 -3
- package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs.map +1 -1
- package/build/i18n/cs.json +0 -2
- package/build/i18n/cs.json.js +0 -2
- package/build/i18n/cs.json.js.map +1 -1
- package/build/i18n/cs.json.mjs +0 -2
- package/build/i18n/cs.json.mjs.map +1 -1
- package/build/i18n/de.json +0 -2
- package/build/i18n/de.json.js +0 -2
- package/build/i18n/de.json.js.map +1 -1
- package/build/i18n/de.json.mjs +0 -2
- package/build/i18n/de.json.mjs.map +1 -1
- package/build/i18n/en.json +0 -2
- package/build/i18n/en.json.js +0 -2
- package/build/i18n/en.json.js.map +1 -1
- package/build/i18n/en.json.mjs +0 -2
- package/build/i18n/en.json.mjs.map +1 -1
- package/build/i18n/es.json +0 -2
- package/build/i18n/es.json.js +0 -2
- package/build/i18n/es.json.js.map +1 -1
- package/build/i18n/es.json.mjs +0 -2
- package/build/i18n/es.json.mjs.map +1 -1
- package/build/i18n/fr.json +0 -2
- package/build/i18n/fr.json.js +0 -2
- package/build/i18n/fr.json.js.map +1 -1
- package/build/i18n/fr.json.mjs +0 -2
- package/build/i18n/fr.json.mjs.map +1 -1
- package/build/i18n/hu.json +0 -2
- package/build/i18n/hu.json.js +0 -2
- package/build/i18n/hu.json.js.map +1 -1
- package/build/i18n/hu.json.mjs +0 -2
- package/build/i18n/hu.json.mjs.map +1 -1
- package/build/i18n/id.json +0 -2
- package/build/i18n/id.json.js +0 -2
- package/build/i18n/id.json.js.map +1 -1
- package/build/i18n/id.json.mjs +0 -2
- package/build/i18n/id.json.mjs.map +1 -1
- package/build/i18n/it.json +0 -2
- package/build/i18n/it.json.js +0 -2
- package/build/i18n/it.json.js.map +1 -1
- package/build/i18n/it.json.mjs +0 -2
- package/build/i18n/it.json.mjs.map +1 -1
- package/build/i18n/ja.json +0 -2
- package/build/i18n/ja.json.js +0 -2
- package/build/i18n/ja.json.js.map +1 -1
- package/build/i18n/ja.json.mjs +0 -2
- package/build/i18n/ja.json.mjs.map +1 -1
- package/build/i18n/nl.json +0 -2
- package/build/i18n/pl.json +0 -2
- package/build/i18n/pl.json.js +0 -2
- package/build/i18n/pl.json.js.map +1 -1
- package/build/i18n/pl.json.mjs +0 -2
- package/build/i18n/pl.json.mjs.map +1 -1
- package/build/i18n/pt.json +0 -2
- package/build/i18n/pt.json.js +0 -2
- package/build/i18n/pt.json.js.map +1 -1
- package/build/i18n/pt.json.mjs +0 -2
- package/build/i18n/pt.json.mjs.map +1 -1
- package/build/i18n/ro.json +0 -2
- package/build/i18n/ro.json.js +0 -2
- package/build/i18n/ro.json.js.map +1 -1
- package/build/i18n/ro.json.mjs +0 -2
- package/build/i18n/ro.json.mjs.map +1 -1
- package/build/i18n/ru.json +0 -2
- package/build/i18n/ru.json.js +0 -2
- package/build/i18n/ru.json.js.map +1 -1
- package/build/i18n/ru.json.mjs +0 -2
- package/build/i18n/ru.json.mjs.map +1 -1
- package/build/i18n/th.json +0 -2
- package/build/i18n/th.json.js +0 -2
- package/build/i18n/th.json.js.map +1 -1
- package/build/i18n/th.json.mjs +0 -2
- package/build/i18n/th.json.mjs.map +1 -1
- package/build/i18n/tr.json +0 -2
- package/build/i18n/tr.json.js +0 -2
- package/build/i18n/tr.json.js.map +1 -1
- package/build/i18n/tr.json.mjs +0 -2
- package/build/i18n/tr.json.mjs.map +1 -1
- package/build/i18n/zh-CN.json +0 -2
- package/build/i18n/zh-CN.json.js +0 -2
- package/build/i18n/zh-CN.json.js.map +1 -1
- package/build/i18n/zh-CN.json.mjs +0 -2
- package/build/i18n/zh-CN.json.mjs.map +1 -1
- package/build/i18n/zh-HK.json +0 -2
- package/build/i18n/zh-HK.json.js +0 -2
- package/build/i18n/zh-HK.json.js.map +1 -1
- package/build/i18n/zh-HK.json.mjs +0 -2
- package/build/i18n/zh-HK.json.mjs.map +1 -1
- package/build/index.js +0 -2
- package/build/index.js.map +1 -1
- package/build/index.mjs +0 -1
- package/build/index.mjs.map +1 -1
- package/build/instructionsList/InstructionsList.js +1 -0
- package/build/instructionsList/InstructionsList.js.map +1 -1
- package/build/instructionsList/InstructionsList.mjs +1 -0
- package/build/instructionsList/InstructionsList.mjs.map +1 -1
- package/build/main.css +16 -45
- package/build/moneyInput/MoneyInput.js +2 -2
- package/build/moneyInput/MoneyInput.js.map +1 -1
- package/build/moneyInput/MoneyInput.mjs +2 -2
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/snackbar/Snackbar.js +1 -1
- package/build/snackbar/Snackbar.js.map +1 -1
- package/build/snackbar/Snackbar.mjs +1 -1
- package/build/snackbar/Snackbar.mjs.map +1 -1
- package/build/styles/body/Body.css +3 -0
- package/build/styles/dateInput/DateInput.css +13 -1
- package/build/styles/main.css +16 -45
- package/build/tabs/Tabs.js +3 -3
- package/build/tabs/Tabs.js.map +1 -1
- package/build/tabs/Tabs.mjs +3 -3
- package/build/tabs/Tabs.mjs.map +1 -1
- package/build/test-utils/assets/apple-pay-logo.svg +84 -0
- package/build/typeahead/Typeahead.js +2 -2
- package/build/typeahead/Typeahead.js.map +1 -1
- package/build/typeahead/Typeahead.mjs +2 -2
- package/build/typeahead/Typeahead.mjs.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.js +2 -2
- package/build/typeahead/typeaheadInput/TypeaheadInput.js.map +1 -1
- package/build/typeahead/typeaheadInput/TypeaheadInput.mjs +2 -2
- package/build/typeahead/typeaheadInput/TypeaheadInput.mjs.map +1 -1
- package/build/types/body/Body.d.ts +5 -0
- package/build/types/body/Body.d.ts.map +1 -1
- package/build/types/index.d.ts +0 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/test-utils/fake-data.d.ts +2 -0
- package/build/types/test-utils/fake-data.d.ts.map +1 -1
- package/build/types/test-utils/index.d.ts +0 -4
- package/build/types/test-utils/index.d.ts.map +1 -1
- package/build/types/uploadInput/UploadInput.d.ts.map +1 -1
- package/build/upload/Upload.js +2 -2
- package/build/upload/Upload.js.map +1 -1
- package/build/upload/Upload.mjs +2 -2
- package/build/upload/Upload.mjs.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.js +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +1 -1
- package/build/upload/steps/uploadImageStep/uploadImageStep.mjs.map +1 -1
- package/build/uploadInput/UploadInput.js +0 -1
- package/build/uploadInput/UploadInput.js.map +1 -1
- package/build/uploadInput/UploadInput.mjs +0 -1
- package/build/uploadInput/UploadInput.mjs.map +1 -1
- package/package.json +14 -14
- package/src/body/Body.css +3 -0
- package/src/body/Body.less +3 -0
- package/src/body/Body.spec.tsx +8 -0
- package/src/body/Body.story.tsx +12 -0
- package/src/body/Body.tsx +11 -2
- package/src/dateInput/DateInput.css +13 -1
- package/src/dateInput/DateInput.less +20 -3
- package/src/dateInput/DateInput.tests.story.tsx +14 -3
- package/src/dateInput/DateInput.tsx +4 -4
- package/src/i18n/cs.json +0 -2
- package/src/i18n/de.json +0 -2
- package/src/i18n/en.json +0 -2
- package/src/i18n/es.json +0 -2
- package/src/i18n/fr.json +0 -2
- package/src/i18n/hu.json +0 -2
- package/src/i18n/id.json +0 -2
- package/src/i18n/it.json +0 -2
- package/src/i18n/ja.json +0 -2
- package/src/i18n/nl.json +0 -2
- package/src/i18n/pl.json +0 -2
- package/src/i18n/pt.json +0 -2
- package/src/i18n/ro.json +0 -2
- package/src/i18n/ru.json +0 -2
- package/src/i18n/th.json +0 -2
- package/src/i18n/tr.json +0 -2
- package/src/i18n/zh-CN.json +0 -2
- package/src/i18n/zh-HK.json +0 -2
- package/src/index.ts +0 -2
- package/src/instructionsList/InstructionsList.story.tsx +35 -37
- package/src/instructionsList/InstructionsList.tsx +1 -1
- package/src/legacylistItem/LegacyListItem.story.tsx +5 -5
- package/src/legacylistItem/LegacyListItem.tests.story.tsx +6 -6
- package/src/main.css +16 -45
- package/src/main.less +1 -1
- package/src/ssr.spec.tsx +0 -1
- package/src/test-utils/assets/apple-pay-logo.svg +84 -0
- package/src/test-utils/fake-data.ts +5 -0
- package/src/uploadInput/UploadInput.tsx +4 -13
- package/build/selectOption/SelectOption.js +0 -131
- package/build/selectOption/SelectOption.js.map +0 -1
- package/build/selectOption/SelectOption.messages.js +0 -17
- package/build/selectOption/SelectOption.messages.js.map +0 -1
- package/build/selectOption/SelectOption.messages.mjs +0 -13
- package/build/selectOption/SelectOption.messages.mjs.map +0 -1
- package/build/selectOption/SelectOption.mjs +0 -127
- package/build/selectOption/SelectOption.mjs.map +0 -1
- package/build/styles/selectOption/SelectOption.css +0 -44
- package/build/types/selectOption/SelectOption.d.ts +0 -21
- package/build/types/selectOption/SelectOption.d.ts.map +0 -1
- package/build/types/selectOption/SelectOption.messages.d.ts +0 -12
- package/build/types/selectOption/SelectOption.messages.d.ts.map +0 -1
- package/build/types/selectOption/index.d.ts +0 -3
- package/build/types/selectOption/index.d.ts.map +0 -1
- package/src/selectOption/SelectOption.css +0 -44
- package/src/selectOption/SelectOption.less +0 -40
- package/src/selectOption/SelectOption.messages.ts +0 -12
- package/src/selectOption/SelectOption.spec.tsx +0 -83
- package/src/selectOption/SelectOption.story.tsx +0 -277
- package/src/selectOption/SelectOption.tsx +0 -151
- package/src/selectOption/index.ts +0 -2
package/build/i18n/ja.json
CHANGED
|
@@ -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": "保留中:",
|
package/build/i18n/ja.json.js
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/ja.json.mjs
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/nl.json
CHANGED
|
@@ -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:",
|
package/build/i18n/pl.json
CHANGED
|
@@ -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:",
|
package/build/i18n/pl.json.js
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/pl.json.mjs
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/pt.json
CHANGED
|
@@ -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:",
|
package/build/i18n/pt.json.js
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/pt.json.mjs
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/ro.json
CHANGED
|
@@ -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:",
|
package/build/i18n/ro.json.js
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/ro.json.mjs
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/ru.json
CHANGED
|
@@ -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": "В ожидании:",
|
package/build/i18n/ru.json.js
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/ru.json.mjs
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/th.json
CHANGED
|
@@ -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": "รอดำเนินการ:",
|
package/build/i18n/th.json.js
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/th.json.mjs
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/tr.json
CHANGED
|
@@ -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:",
|
package/build/i18n/tr.json.js
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/tr.json.mjs
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/zh-CN.json
CHANGED
|
@@ -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": "待处理:",
|
package/build/i18n/zh-CN.json.js
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/zh-HK.json
CHANGED
|
@@ -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": "處理中:",
|
package/build/i18n/zh-HK.json.js
CHANGED
|
@@ -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,
|
package/build/index.js.map
CHANGED
|
@@ -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';
|
package/build/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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;
|
|
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;;;;"}
|
|
@@ -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;
|
|
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
|
-
.
|
|
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);
|