@transferwise/components 0.0.0-experimental-d1cefe3 → 0.0.0-experimental-548b806
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/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 +2 -0
- package/build/i18n/cs.json.js +2 -0
- package/build/i18n/cs.json.js.map +1 -1
- package/build/i18n/cs.json.mjs +2 -0
- package/build/i18n/cs.json.mjs.map +1 -1
- package/build/i18n/de.json +2 -0
- package/build/i18n/de.json.js +2 -0
- package/build/i18n/de.json.js.map +1 -1
- package/build/i18n/de.json.mjs +2 -0
- package/build/i18n/de.json.mjs.map +1 -1
- package/build/i18n/es.json +2 -0
- package/build/i18n/es.json.js +2 -0
- package/build/i18n/es.json.js.map +1 -1
- package/build/i18n/es.json.mjs +2 -0
- package/build/i18n/es.json.mjs.map +1 -1
- package/build/i18n/fr.json +2 -0
- package/build/i18n/fr.json.js +2 -0
- package/build/i18n/fr.json.js.map +1 -1
- package/build/i18n/fr.json.mjs +2 -0
- package/build/i18n/fr.json.mjs.map +1 -1
- package/build/i18n/hu.json +2 -0
- package/build/i18n/hu.json.js +2 -0
- package/build/i18n/hu.json.js.map +1 -1
- package/build/i18n/hu.json.mjs +2 -0
- package/build/i18n/hu.json.mjs.map +1 -1
- package/build/i18n/id.json +2 -0
- package/build/i18n/id.json.js +2 -0
- package/build/i18n/id.json.js.map +1 -1
- package/build/i18n/id.json.mjs +2 -0
- package/build/i18n/id.json.mjs.map +1 -1
- package/build/i18n/it.json +2 -0
- package/build/i18n/it.json.js +2 -0
- package/build/i18n/it.json.js.map +1 -1
- package/build/i18n/it.json.mjs +2 -0
- package/build/i18n/it.json.mjs.map +1 -1
- package/build/i18n/ja.json +2 -0
- package/build/i18n/ja.json.js +2 -0
- package/build/i18n/ja.json.js.map +1 -1
- package/build/i18n/ja.json.mjs +2 -0
- package/build/i18n/ja.json.mjs.map +1 -1
- package/build/i18n/nl.json +2 -0
- package/build/i18n/pl.json +2 -0
- package/build/i18n/pl.json.js +2 -0
- package/build/i18n/pl.json.js.map +1 -1
- package/build/i18n/pl.json.mjs +2 -0
- package/build/i18n/pl.json.mjs.map +1 -1
- package/build/i18n/pt.json +2 -0
- package/build/i18n/pt.json.js +2 -0
- package/build/i18n/pt.json.js.map +1 -1
- package/build/i18n/pt.json.mjs +2 -0
- package/build/i18n/pt.json.mjs.map +1 -1
- package/build/i18n/ro.json +2 -0
- package/build/i18n/ro.json.js +2 -0
- package/build/i18n/ro.json.js.map +1 -1
- package/build/i18n/ro.json.mjs +2 -0
- package/build/i18n/ro.json.mjs.map +1 -1
- package/build/i18n/ru.json +2 -0
- package/build/i18n/ru.json.js +2 -0
- package/build/i18n/ru.json.js.map +1 -1
- package/build/i18n/ru.json.mjs +2 -0
- package/build/i18n/ru.json.mjs.map +1 -1
- package/build/i18n/th.json +2 -0
- package/build/i18n/th.json.js +2 -0
- package/build/i18n/th.json.js.map +1 -1
- package/build/i18n/th.json.mjs +2 -0
- package/build/i18n/th.json.mjs.map +1 -1
- package/build/i18n/tr.json +2 -0
- package/build/i18n/tr.json.js +2 -0
- package/build/i18n/tr.json.js.map +1 -1
- package/build/i18n/tr.json.mjs +2 -0
- package/build/i18n/tr.json.mjs.map +1 -1
- package/build/i18n/zh-CN.json +2 -0
- package/build/i18n/zh-CN.json.js +2 -0
- package/build/i18n/zh-CN.json.js.map +1 -1
- package/build/i18n/zh-CN.json.mjs +2 -0
- package/build/i18n/zh-CN.json.mjs.map +1 -1
- package/build/i18n/zh-HK.json +2 -0
- package/build/i18n/zh-HK.json.js +2 -0
- package/build/i18n/zh-HK.json.js.map +1 -1
- package/build/i18n/zh-HK.json.mjs +2 -0
- package/build/i18n/zh-HK.json.mjs.map +1 -1
- package/build/index.js +1 -0
- package/build/index.js.map +1 -1
- package/build/index.mjs +1 -1
- package/build/main.css +224 -13
- 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/dateInput/DateInput.css +1 -13
- package/build/styles/listItem/ListItem.css +223 -0
- package/build/styles/main.css +224 -13
- 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/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/index.d.ts +2 -0
- package/build/types/index.d.ts.map +1 -1
- package/build/types/listItem/ListItem.d.ts +50 -0
- package/build/types/listItem/ListItem.d.ts.map +1 -0
- package/build/types/listItem/ListItemAdditionalInfo.d.ts +9 -0
- package/build/types/listItem/ListItemAdditionalInfo.d.ts.map +1 -0
- package/build/types/listItem/ListItemButton.d.ts +6 -0
- package/build/types/listItem/ListItemButton.d.ts.map +1 -0
- package/build/types/listItem/ListItemCheckbox.d.ts +4 -0
- package/build/types/listItem/ListItemCheckbox.d.ts.map +1 -0
- package/build/types/listItem/ListItemIconButton.d.ts +8 -0
- package/build/types/listItem/ListItemIconButton.d.ts.map +1 -0
- package/build/types/listItem/ListItemMedia.d.ts +19 -0
- package/build/types/listItem/ListItemMedia.d.ts.map +1 -0
- package/build/types/listItem/ListItemNavigation.d.ts +4 -0
- package/build/types/listItem/ListItemNavigation.d.ts.map +1 -0
- package/build/types/listItem/ListItemSwitch.d.ts +3 -0
- package/build/types/listItem/ListItemSwitch.d.ts.map +1 -0
- package/build/types/listItem/index.d.ts +6 -0
- package/build/types/listItem/index.d.ts.map +1 -0
- package/build/types/listItem/prompt/Prompt.d.ts +12 -0
- package/build/types/listItem/prompt/Prompt.d.ts.map +1 -0
- package/build/types/listItem/useItemControl.d.ts +5 -0
- package/build/types/listItem/useItemControl.d.ts.map +1 -0
- 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/package.json +12 -12
- package/src/dateInput/DateInput.css +1 -13
- package/src/dateInput/DateInput.less +3 -20
- package/src/dateInput/DateInput.tests.story.tsx +3 -14
- package/src/dateInput/DateInput.tsx +4 -4
- package/src/i18n/cs.json +2 -0
- package/src/i18n/de.json +2 -0
- package/src/i18n/es.json +2 -0
- package/src/i18n/fr.json +2 -0
- package/src/i18n/hu.json +2 -0
- package/src/i18n/id.json +2 -0
- package/src/i18n/it.json +2 -0
- package/src/i18n/ja.json +2 -0
- package/src/i18n/nl.json +2 -0
- package/src/i18n/pl.json +2 -0
- package/src/i18n/pt.json +2 -0
- package/src/i18n/ro.json +2 -0
- package/src/i18n/ru.json +2 -0
- package/src/i18n/th.json +2 -0
- package/src/i18n/tr.json +2 -0
- package/src/i18n/zh-CN.json +2 -0
- package/src/i18n/zh-HK.json +2 -0
- package/src/index.ts +2 -0
- package/src/listItem/ListItem.css +223 -0
- package/src/listItem/ListItem.less +223 -0
- package/src/listItem/ListItem.spec.tsx +35 -0
- package/src/listItem/ListItem.story.tsx +582 -0
- package/src/listItem/ListItem.tsx +283 -0
- package/src/listItem/ListItemAdditionalInfo.tsx +31 -0
- package/src/listItem/ListItemButton.spec.tsx +92 -0
- package/src/listItem/ListItemButton.tsx +24 -0
- package/src/listItem/ListItemCheckbox.tsx +14 -0
- package/src/listItem/ListItemIconButton.tsx +16 -0
- package/src/listItem/ListItemMedia.tsx +52 -0
- package/src/listItem/ListItemNavigation.tsx +26 -0
- package/src/listItem/ListItemSwitch.tsx +8 -0
- package/src/listItem/index.ts +10 -0
- package/src/listItem/prompt/Prompt.spec.tsx +77 -0
- package/src/listItem/prompt/Prompt.story.tsx +170 -0
- package/src/listItem/prompt/Prompt.tsx +44 -0
- package/src/listItem/useItemControl.tsx +23 -0
- package/src/main.css +224 -13
- package/src/main.less +1 -0
|
@@ -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,6 +28,8 @@
|
|
|
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": "Изменить выбранный вариант",
|
|
31
33
|
"neptune.StatusIcon.iconLabel.error": "Ошибка:",
|
|
32
34
|
"neptune.StatusIcon.iconLabel.information": "Информация:",
|
|
33
35
|
"neptune.StatusIcon.iconLabel.pending": "В ожидании:",
|
package/build/i18n/ru.json.js
CHANGED
|
@@ -32,6 +32,8 @@ 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": "Изменить выбранный вариант",
|
|
35
37
|
"neptune.StatusIcon.iconLabel.error": "Ошибка:",
|
|
36
38
|
"neptune.StatusIcon.iconLabel.information": "Информация:",
|
|
37
39
|
"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,6 +28,8 @@ 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": "Изменить выбранный вариант",
|
|
31
33
|
"neptune.StatusIcon.iconLabel.error": "Ошибка:",
|
|
32
34
|
"neptune.StatusIcon.iconLabel.information": "Информация:",
|
|
33
35
|
"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,6 +28,8 @@
|
|
|
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": "เปลี่ยนตัวเลือกที่เลือกไว้",
|
|
31
33
|
"neptune.StatusIcon.iconLabel.error": "ข้อผิดพลาด:",
|
|
32
34
|
"neptune.StatusIcon.iconLabel.information": "ข้อมูล:",
|
|
33
35
|
"neptune.StatusIcon.iconLabel.pending": "รอดำเนินการ:",
|
package/build/i18n/th.json.js
CHANGED
|
@@ -32,6 +32,8 @@ 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": "เปลี่ยนตัวเลือกที่เลือกไว้",
|
|
35
37
|
"neptune.StatusIcon.iconLabel.error": "ข้อผิดพลาด:",
|
|
36
38
|
"neptune.StatusIcon.iconLabel.information": "ข้อมูล:",
|
|
37
39
|
"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,6 +28,8 @@ 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": "เปลี่ยนตัวเลือกที่เลือกไว้",
|
|
31
33
|
"neptune.StatusIcon.iconLabel.error": "ข้อผิดพลาด:",
|
|
32
34
|
"neptune.StatusIcon.iconLabel.information": "ข้อมูล:",
|
|
33
35
|
"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,6 +28,8 @@
|
|
|
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",
|
|
31
33
|
"neptune.StatusIcon.iconLabel.error": "Hata:",
|
|
32
34
|
"neptune.StatusIcon.iconLabel.information": "Bilgi:",
|
|
33
35
|
"neptune.StatusIcon.iconLabel.pending": "Bekliyor:",
|
package/build/i18n/tr.json.js
CHANGED
|
@@ -32,6 +32,8 @@ 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",
|
|
35
37
|
"neptune.StatusIcon.iconLabel.error": "Hata:",
|
|
36
38
|
"neptune.StatusIcon.iconLabel.information": "Bilgi:",
|
|
37
39
|
"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,6 +28,8 @@ 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",
|
|
31
33
|
"neptune.StatusIcon.iconLabel.error": "Hata:",
|
|
32
34
|
"neptune.StatusIcon.iconLabel.information": "Bilgi:",
|
|
33
35
|
"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,6 +28,8 @@
|
|
|
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": "更改所选选项",
|
|
31
33
|
"neptune.StatusIcon.iconLabel.error": "错误:",
|
|
32
34
|
"neptune.StatusIcon.iconLabel.information": "信息:",
|
|
33
35
|
"neptune.StatusIcon.iconLabel.pending": "待处理:",
|
package/build/i18n/zh-CN.json.js
CHANGED
|
@@ -32,6 +32,8 @@ 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": "更改所选选项",
|
|
35
37
|
"neptune.StatusIcon.iconLabel.error": "错误:",
|
|
36
38
|
"neptune.StatusIcon.iconLabel.information": "信息:",
|
|
37
39
|
"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,6 +28,8 @@ 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": "更改所选选项",
|
|
31
33
|
"neptune.StatusIcon.iconLabel.error": "错误:",
|
|
32
34
|
"neptune.StatusIcon.iconLabel.information": "信息:",
|
|
33
35
|
"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,6 +28,8 @@
|
|
|
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": "更改已選選項",
|
|
31
33
|
"neptune.StatusIcon.iconLabel.error": "錯誤:",
|
|
32
34
|
"neptune.StatusIcon.iconLabel.information": "資訊:",
|
|
33
35
|
"neptune.StatusIcon.iconLabel.pending": "處理中:",
|
package/build/i18n/zh-HK.json.js
CHANGED
|
@@ -32,6 +32,8 @@ 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": "更改已選選項",
|
|
35
37
|
"neptune.StatusIcon.iconLabel.error": "錯誤:",
|
|
36
38
|
"neptune.StatusIcon.iconLabel.information": "資訊:",
|
|
37
39
|
"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,6 +28,8 @@ 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": "更改已選選項",
|
|
31
33
|
"neptune.StatusIcon.iconLabel.error": "錯誤:",
|
|
32
34
|
"neptune.StatusIcon.iconLabel.information": "資訊:",
|
|
33
35
|
"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
|
@@ -272,6 +272,7 @@ Object.defineProperty(exports, "UploadStep", {
|
|
|
272
272
|
get: function () { return Upload.UploadStep; }
|
|
273
273
|
});
|
|
274
274
|
exports.UploadInput = UploadInput.default;
|
|
275
|
+
exports.Item = Table.default;
|
|
275
276
|
exports.Table = Table.default;
|
|
276
277
|
exports.useDirection = useDirection.useDirection;
|
|
277
278
|
exports.useLayout = useLayout.useLayout;
|
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
|
@@ -104,7 +104,7 @@ export { default as Tooltip } from './tooltip/Tooltip.mjs';
|
|
|
104
104
|
export { default as Typeahead } from './typeahead/Typeahead.mjs';
|
|
105
105
|
export { default as Upload, UploadStep } from './upload/Upload.mjs';
|
|
106
106
|
export { default as UploadInput } from './uploadInput/UploadInput.mjs';
|
|
107
|
-
export { default as Table } from './table/Table.mjs';
|
|
107
|
+
export { default as Item, default as Table } from './table/Table.mjs';
|
|
108
108
|
import '@transferwise/neptune-validation';
|
|
109
109
|
export { useDirection } from './common/hooks/useDirection/useDirection.mjs';
|
|
110
110
|
export { useLayout } from './common/hooks/useLayout/useLayout.mjs';
|
package/build/main.css
CHANGED
|
@@ -1866,22 +1866,10 @@ button.np-option {
|
|
|
1866
1866
|
border-color: rgba(0,0,0,0.10196);
|
|
1867
1867
|
border-color: var(--color-border-neutral);
|
|
1868
1868
|
}
|
|
1869
|
-
.tw-date label {
|
|
1869
|
+
.np-theme-personal .tw-date label {
|
|
1870
1870
|
width: 100%;
|
|
1871
|
-
}
|
|
1872
|
-
.tw-date .tw-date--year label {
|
|
1873
|
-
margin-bottom: 0;
|
|
1874
|
-
}
|
|
1875
|
-
.tw-date .tw-date--year,
|
|
1876
|
-
.tw-date .tw-date--month,
|
|
1877
|
-
.tw-date .tw-date--day {
|
|
1878
1871
|
margin-bottom: 0;
|
|
1879
1872
|
}
|
|
1880
|
-
@media (min-width: 576px) {
|
|
1881
|
-
.np-theme-personal .tw-date label {
|
|
1882
|
-
margin-bottom: 0;
|
|
1883
|
-
}
|
|
1884
|
-
}
|
|
1885
1873
|
.tw-date-lookup-menu {
|
|
1886
1874
|
width: 400px;
|
|
1887
1875
|
}
|
|
@@ -2630,6 +2618,229 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2630
2618
|
border-radius: 9999px !important;
|
|
2631
2619
|
border-radius: var(--radius-full) !important;
|
|
2632
2620
|
}
|
|
2621
|
+
.wds-list-item {
|
|
2622
|
+
list-style: none;
|
|
2623
|
+
width: 100%;
|
|
2624
|
+
padding: 0;
|
|
2625
|
+
border-radius: 16px;
|
|
2626
|
+
border-radius: var(--radius-medium);
|
|
2627
|
+
background-color: #ffffff;
|
|
2628
|
+
background-color: var(--color-background-screen);
|
|
2629
|
+
gap: 16px;
|
|
2630
|
+
gap: var(--size-16);
|
|
2631
|
+
}
|
|
2632
|
+
.wds-list-item .partially-interactive {
|
|
2633
|
+
padding: 16px;
|
|
2634
|
+
padding: var(--size-16);
|
|
2635
|
+
}
|
|
2636
|
+
.wds-list-item label,
|
|
2637
|
+
.wds-list-item a {
|
|
2638
|
+
padding: 16px;
|
|
2639
|
+
padding: var(--size-16);
|
|
2640
|
+
}
|
|
2641
|
+
.wds-list-item-interactive label {
|
|
2642
|
+
cursor: pointer;
|
|
2643
|
+
}
|
|
2644
|
+
.wds-list-item-interactive:hover {
|
|
2645
|
+
background-color: var(--color-background-screen-hover);
|
|
2646
|
+
}
|
|
2647
|
+
.wds-list-item-interactive:hover .wds-list-item-control .wds-Button {
|
|
2648
|
+
background-color: var(--Button-background-hover);
|
|
2649
|
+
color: var(--Button-color-hover);
|
|
2650
|
+
transition: none;
|
|
2651
|
+
}
|
|
2652
|
+
.wds-list-item-interactive:active {
|
|
2653
|
+
background-color: var(--color-background-screen-active);
|
|
2654
|
+
}
|
|
2655
|
+
.wds-list-item-interactive .wds-list-item-control .wds-Button {
|
|
2656
|
+
transition: none;
|
|
2657
|
+
}
|
|
2658
|
+
.wds-list-item-media-image {
|
|
2659
|
+
width: var(--item-media-image-size);
|
|
2660
|
+
height: var(--item-media-image-size);
|
|
2661
|
+
}
|
|
2662
|
+
.wds-list-item-body {
|
|
2663
|
+
width: 100%;
|
|
2664
|
+
}
|
|
2665
|
+
.wds-list-item-title {
|
|
2666
|
+
color: #37517e;
|
|
2667
|
+
color: var(--color-content-primary);
|
|
2668
|
+
}
|
|
2669
|
+
.wds-list-item-additional-info {
|
|
2670
|
+
color: #768e9c;
|
|
2671
|
+
color: var(--color-content-tertiary);
|
|
2672
|
+
}
|
|
2673
|
+
.wds-list-item-value {
|
|
2674
|
+
flex: 0 0 auto;
|
|
2675
|
+
}
|
|
2676
|
+
.wds-list-item-control {
|
|
2677
|
+
flex: 0 0 auto;
|
|
2678
|
+
}
|
|
2679
|
+
.wds-list-item-navigation,
|
|
2680
|
+
.wds-list-item-navigation:hover,
|
|
2681
|
+
.wds-list-item-navigation:focus {
|
|
2682
|
+
-webkit-text-decoration: none;
|
|
2683
|
+
text-decoration: none;
|
|
2684
|
+
}
|
|
2685
|
+
.wds-list-item.disabled {
|
|
2686
|
+
filter: none;
|
|
2687
|
+
opacity: 1;
|
|
2688
|
+
}
|
|
2689
|
+
.wds-list-item.disabled label {
|
|
2690
|
+
cursor: not-allowed;
|
|
2691
|
+
}
|
|
2692
|
+
.wds-list-item.disabled .tw-icon-backslash-circle {
|
|
2693
|
+
color: #768e9c;
|
|
2694
|
+
color: var(--color-content-tertiary);
|
|
2695
|
+
}
|
|
2696
|
+
.wds-list-item-spotlight-active {
|
|
2697
|
+
background-color: rgba(134,167,189,0.10196);
|
|
2698
|
+
background-color: var(--color-background-neutral);
|
|
2699
|
+
}
|
|
2700
|
+
.wds-list-item-spotlight-active:not(.disabled):not(:disabled):hover {
|
|
2701
|
+
background-color: var(--color-background-neutral-hover);
|
|
2702
|
+
}
|
|
2703
|
+
.wds-list-item-spotlight-active:not(.disabled):not(:disabled):active {
|
|
2704
|
+
background-color: var(--color-background-neutral-active);
|
|
2705
|
+
}
|
|
2706
|
+
.wds-list-item-spotlight-inactive {
|
|
2707
|
+
background-color: rgba(134, 167, 189, 0.025);
|
|
2708
|
+
border: 1px dashed rgba(0,0,0,0.10196);
|
|
2709
|
+
border: 1px dashed var(--color-border-neutral);
|
|
2710
|
+
}
|
|
2711
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
2712
|
+
.wds-list-item-spotlight-inactive {
|
|
2713
|
+
background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):hover {
|
|
2717
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
|
|
2718
|
+
}
|
|
2719
|
+
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):active {
|
|
2720
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
2721
|
+
}
|
|
2722
|
+
.wds-list-item-prompt {
|
|
2723
|
+
display: inline-flex;
|
|
2724
|
+
padding-top: calc(8px / 2);
|
|
2725
|
+
padding-top: calc(var(--padding-x-small) / 2);
|
|
2726
|
+
padding-bottom: calc(8px / 2);
|
|
2727
|
+
padding-bottom: calc(var(--padding-x-small) / 2);
|
|
2728
|
+
padding-left: calc(8px - 1px);
|
|
2729
|
+
padding-left: calc(var(--padding-x-small) - 1px);
|
|
2730
|
+
padding-right: 8px;
|
|
2731
|
+
padding-right: var(--padding-x-small);
|
|
2732
|
+
border-radius: 10px;
|
|
2733
|
+
border-radius: var(--radius-small);
|
|
2734
|
+
word-break: break-word;
|
|
2735
|
+
word-wrap: break-word;
|
|
2736
|
+
}
|
|
2737
|
+
.wds-list-item-prompt .np-prompt-icon {
|
|
2738
|
+
padding-right: calc(12px / 2);
|
|
2739
|
+
padding-right: calc(var(--size-12) / 2);
|
|
2740
|
+
padding-top: calc(4px - 1px);
|
|
2741
|
+
padding-top: calc(var(--size-4) - 1px);
|
|
2742
|
+
padding-bottom: calc(4px - 1px);
|
|
2743
|
+
padding-bottom: calc(var(--size-4) - 1px);
|
|
2744
|
+
}
|
|
2745
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
|
|
2746
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
|
|
2747
|
+
color: var(--color-sentiment-positive-primary);
|
|
2748
|
+
}
|
|
2749
|
+
.wds-list-item-prompt a {
|
|
2750
|
+
text-underline-offset: calc(4px / 2);
|
|
2751
|
+
text-underline-offset: calc(var(--size-4) / 2);
|
|
2752
|
+
}
|
|
2753
|
+
.wds-list-item-prompt.np-prompt-interactive {
|
|
2754
|
+
-webkit-text-decoration: none;
|
|
2755
|
+
text-decoration: none;
|
|
2756
|
+
cursor: pointer;
|
|
2757
|
+
border: none;
|
|
2758
|
+
}
|
|
2759
|
+
.wds-list-item-prompt.negative {
|
|
2760
|
+
background-color: var(--color-sentiment-negative-secondary);
|
|
2761
|
+
color: var(--color-sentiment-negative-primary);
|
|
2762
|
+
}
|
|
2763
|
+
.wds-list-item-prompt.negative a {
|
|
2764
|
+
color: var(--color-sentiment-negative-primary);
|
|
2765
|
+
}
|
|
2766
|
+
.wds-list-item-prompt.negative a:hover {
|
|
2767
|
+
color: var(--color-sentiment-negative-primary-hover);
|
|
2768
|
+
}
|
|
2769
|
+
.wds-list-item-prompt.negative a:active {
|
|
2770
|
+
color: var(--color-sentiment-negative-primary-active);
|
|
2771
|
+
}
|
|
2772
|
+
.np-prompt-interactive.wds-list-item-prompt.negative:hover {
|
|
2773
|
+
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 95%, var(--color-sentiment-negative-primary));
|
|
2774
|
+
}
|
|
2775
|
+
.np-prompt-interactive.wds-list-item-prompt.negative:active {
|
|
2776
|
+
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 90%, var(--color-sentiment-negative-primary));
|
|
2777
|
+
}
|
|
2778
|
+
.wds-list-item-prompt.positive,
|
|
2779
|
+
.wds-list-item-prompt.discount,
|
|
2780
|
+
.wds-list-item-prompt.savings {
|
|
2781
|
+
background-color: var(--color-sentiment-positive-secondary);
|
|
2782
|
+
color: var(--color-sentiment-positive-primary);
|
|
2783
|
+
}
|
|
2784
|
+
.wds-list-item-prompt.positive a,
|
|
2785
|
+
.wds-list-item-prompt.discount a,
|
|
2786
|
+
.wds-list-item-prompt.savings a {
|
|
2787
|
+
color: var(--color-sentiment-positive-primary);
|
|
2788
|
+
}
|
|
2789
|
+
.wds-list-item-prompt.positive a:hover,
|
|
2790
|
+
.wds-list-item-prompt.discount a:hover,
|
|
2791
|
+
.wds-list-item-prompt.savings a:hover {
|
|
2792
|
+
color: var(--color-sentiment-positive-primary-hover);
|
|
2793
|
+
}
|
|
2794
|
+
.wds-list-item-prompt.positive a:active,
|
|
2795
|
+
.wds-list-item-prompt.discount a:active,
|
|
2796
|
+
.wds-list-item-prompt.savings a:active {
|
|
2797
|
+
color: var(--color-sentiment-positive-primary-active);
|
|
2798
|
+
}
|
|
2799
|
+
.np-prompt-interactive.wds-list-item-prompt.positive:hover,
|
|
2800
|
+
.np-prompt-interactive.wds-list-item-prompt.discount:hover,
|
|
2801
|
+
.np-prompt-interactive.wds-list-item-prompt.savings:hover {
|
|
2802
|
+
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 95%, var(--color-sentiment-positive-primary));
|
|
2803
|
+
}
|
|
2804
|
+
.np-prompt-interactive.wds-list-item-prompt.positive:active,
|
|
2805
|
+
.np-prompt-interactive.wds-list-item-prompt.discount:active,
|
|
2806
|
+
.np-prompt-interactive.wds-list-item-prompt.savings:active {
|
|
2807
|
+
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 90%, var(--color-sentiment-positive-primary));
|
|
2808
|
+
}
|
|
2809
|
+
.wds-list-item-prompt.neutral {
|
|
2810
|
+
background-color: rgba(134,167,189,0.10196);
|
|
2811
|
+
background-color: var(--color-background-neutral);
|
|
2812
|
+
color: #37517e;
|
|
2813
|
+
color: var(--color-content-primary);
|
|
2814
|
+
}
|
|
2815
|
+
.wds-list-item-prompt.neutral a {
|
|
2816
|
+
color: #37517e;
|
|
2817
|
+
color: var(--color-content-primary);
|
|
2818
|
+
}
|
|
2819
|
+
.np-prompt-interactive.wds-list-item-prompt.neutral:hover {
|
|
2820
|
+
background-color: var(--color-background-neutral-hover);
|
|
2821
|
+
}
|
|
2822
|
+
.np-prompt-interactive.wds-list-item-prompt.neutral:active {
|
|
2823
|
+
background-color: var(--color-background-neutral-active);
|
|
2824
|
+
}
|
|
2825
|
+
.wds-list-item-prompt.warning {
|
|
2826
|
+
background-color: var(--color-sentiment-warning-secondary);
|
|
2827
|
+
color: var(--color-sentiment-warning-content);
|
|
2828
|
+
}
|
|
2829
|
+
.wds-list-item-prompt.warning a {
|
|
2830
|
+
color: var(--color-sentiment-warning-content);
|
|
2831
|
+
}
|
|
2832
|
+
.wds-list-item-prompt.warning a:hover {
|
|
2833
|
+
color: var(--color-sentiment-warning-content-hover);
|
|
2834
|
+
}
|
|
2835
|
+
.wds-list-item-prompt.warning a:active {
|
|
2836
|
+
color: var(--color-sentiment-warning-content-active);
|
|
2837
|
+
}
|
|
2838
|
+
.np-prompt-interactive.wds-list-item-prompt.warning:hover {
|
|
2839
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 90%, var(--color-sentiment-warning-primary));
|
|
2840
|
+
}
|
|
2841
|
+
.np-prompt-interactive.wds-list-item-prompt.warning:active {
|
|
2842
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 80%, var(--color-sentiment-warning-primary));
|
|
2843
|
+
}
|
|
2633
2844
|
.np-field-control {
|
|
2634
2845
|
margin-top: 4px;
|
|
2635
2846
|
margin-top: var(--size-4);
|
|
@@ -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);
|