@transferwise/components 0.0.0-experimental-fd70ead → 0.0.0-experimental-2384dbf
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/i18n/cs.json +3 -0
- package/build/i18n/de.json +3 -0
- package/build/i18n/es.json +3 -0
- package/build/i18n/fr.json +3 -0
- package/build/i18n/hu.json +3 -0
- package/build/i18n/id.json +3 -0
- package/build/i18n/it.json +3 -0
- package/build/i18n/ja.json +3 -0
- package/build/i18n/pl.json +3 -0
- package/build/i18n/pt.json +3 -0
- package/build/i18n/ro.json +3 -0
- package/build/i18n/ru.json +3 -0
- package/build/i18n/th.json +3 -0
- package/build/i18n/tr.json +3 -0
- package/build/i18n/uk.json +3 -0
- package/build/i18n/zh-CN.json +3 -0
- package/build/index.esm.js +166 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +166 -1
- package/build/index.js.map +1 -1
- package/build/main.css +1 -1
- package/build/styles/inputs/InputGroup.css +1 -0
- package/build/styles/main.css +1 -1
- package/build/types/body/Body.d.ts +2 -2
- package/build/types/common/hooks/useEffectEvent.d.ts +2 -0
- package/build/types/common/hooks/useEffectEvent.d.ts.map +1 -0
- package/build/types/common/hooks/useResizeObserver.d.ts +3 -0
- package/build/types/common/hooks/useResizeObserver.d.ts.map +1 -0
- package/build/types/common/panel/Panel.d.ts +1 -1
- package/build/types/common/responsivePanel/ResponsivePanel.d.ts +1 -1
- package/build/types/dimmer/Dimmer.d.ts +1 -1
- package/build/types/index.d.ts +2 -0
- package/build/types/index.d.ts.map +1 -1
- package/build/types/inputs/Input.d.ts +1 -1
- package/build/types/inputs/Input.d.ts.map +1 -1
- package/build/types/inputs/InputGroup.d.ts +21 -0
- package/build/types/inputs/InputGroup.d.ts.map +1 -0
- package/build/types/inputs/TextArea.d.ts +1 -1
- package/build/types/select/searchBox/SearchBox.d.ts +1 -1
- package/build/types/utilities/cssValueWithUnit.d.ts +2 -0
- package/build/types/utilities/cssValueWithUnit.d.ts.map +1 -0
- package/package.json +4 -4
- package/src/common/hooks/useEffectEvent.ts +22 -0
- package/src/common/hooks/useResizeObserver.ts +22 -0
- package/src/i18n/cs.json +3 -0
- package/src/i18n/de.json +3 -0
- package/src/i18n/es.json +3 -0
- package/src/i18n/fr.json +3 -0
- package/src/i18n/hu.json +3 -0
- package/src/i18n/id.json +3 -0
- package/src/i18n/it.json +3 -0
- package/src/i18n/ja.json +3 -0
- package/src/i18n/pl.json +3 -0
- package/src/i18n/pt.json +3 -0
- package/src/i18n/ro.json +3 -0
- package/src/i18n/ru.json +3 -0
- package/src/i18n/th.json +3 -0
- package/src/i18n/tr.json +3 -0
- package/src/i18n/uk.json +3 -0
- package/src/i18n/zh-CN.json +3 -0
- package/src/index.ts +2 -0
- package/src/inputs/Input.tsx +5 -0
- package/src/inputs/InputGroup.css +1 -0
- package/src/inputs/InputGroup.less +61 -0
- package/src/inputs/InputGroup.story.tsx +73 -0
- package/src/inputs/InputGroup.tsx +142 -0
- package/src/main.css +1 -1
- package/src/main.less +1 -0
- package/src/utilities/cssValueWithUnit.ts +3 -0
- package/build/i18n/zh-HK.json +0 -41
- package/src/i18n/zh-HK.json +0 -41
package/src/main.less
CHANGED
package/build/i18n/zh-HK.json
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"neptune.Chips.ariaLabel": "清除{choice}",
|
|
3
|
-
"neptune.ClearButton.ariaLabel": "清除",
|
|
4
|
-
"neptune.CloseButton.ariaLabel": "關閉",
|
|
5
|
-
"neptune.DateInput.day.label": "日",
|
|
6
|
-
"neptune.DateInput.month.label": "月",
|
|
7
|
-
"neptune.DateInput.year.label": "年",
|
|
8
|
-
"neptune.MoneyInput.Select.placeholder": "選擇一個選項…",
|
|
9
|
-
"neptune.Select.searchPlaceholder": "搜尋…",
|
|
10
|
-
"neptune.Summary.statusDone": "已完成事項",
|
|
11
|
-
"neptune.Summary.statusNotDone": "未完成事項",
|
|
12
|
-
"neptune.Summary.statusPending": "待處理事項",
|
|
13
|
-
"neptune.Upload.csButtonText": "上載另一個檔案?",
|
|
14
|
-
"neptune.Upload.csFailureText": "上載失敗,請重試。",
|
|
15
|
-
"neptune.Upload.csSuccessText": "上載完成!",
|
|
16
|
-
"neptune.Upload.csTooLargeMessage": "請提供小於5MB的檔案",
|
|
17
|
-
"neptune.Upload.csWrongTypeMessage": "不支持檔案類型,請使用其他檔案重試",
|
|
18
|
-
"neptune.Upload.psButtonText": "取消",
|
|
19
|
-
"neptune.Upload.psProcessingText": "上載中...",
|
|
20
|
-
"neptune.Upload.usButtonText": "或者選擇一個檔案",
|
|
21
|
-
"neptune.Upload.usDropMessage": "拖放檔案以開始上載",
|
|
22
|
-
"neptune.Upload.usPlaceholder": "拖放不超過5MB的檔案",
|
|
23
|
-
"neptune.UploadButton.allFileTypes": "所有檔案類型",
|
|
24
|
-
"neptune.UploadButton.dropFiles": "拖放檔案以開始上載",
|
|
25
|
-
"neptune.UploadButton.instructions": "{fileTypes},小於{size}MB",
|
|
26
|
-
"neptune.UploadButton.uploadFile": "上載檔案",
|
|
27
|
-
"neptune.UploadButton.uploadFiles": "上載檔案",
|
|
28
|
-
"neptune.UploadInput.deleteModalBody": "移除此檔案會把它從我們的系統中刪除。",
|
|
29
|
-
"neptune.UploadInput.deleteModalCancelButtonText": "取消",
|
|
30
|
-
"neptune.UploadInput.deleteModalConfirmButtonText": "移除",
|
|
31
|
-
"neptune.UploadInput.deleteModalTitle": "你確定要移除此檔案嗎?",
|
|
32
|
-
"neptune.UploadInput.fileIsTooLarge": "檔案太大",
|
|
33
|
-
"neptune.UploadInput.fileTypeNotSupported": "不支持檔案類型",
|
|
34
|
-
"neptune.UploadInput.maximumFilesAlreadyUploaded": "抱歉,這次上載失敗,因為我們每次最多只能接受{maxFilesAllowed}個檔案。",
|
|
35
|
-
"neptune.UploadItem.deleting": "刪除中…",
|
|
36
|
-
"neptune.UploadItem.removeFile": "移除檔案{filename}",
|
|
37
|
-
"neptune.UploadItem.uploaded": "已上載",
|
|
38
|
-
"neptune.UploadItem.uploadedFile": "已上載檔案",
|
|
39
|
-
"neptune.UploadItem.uploading": "上載中...",
|
|
40
|
-
"neptune.UploadItem.uploadingFailed": "上載失敗"
|
|
41
|
-
}
|
package/src/i18n/zh-HK.json
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"neptune.Chips.ariaLabel": "清除{choice}",
|
|
3
|
-
"neptune.ClearButton.ariaLabel": "清除",
|
|
4
|
-
"neptune.CloseButton.ariaLabel": "關閉",
|
|
5
|
-
"neptune.DateInput.day.label": "日",
|
|
6
|
-
"neptune.DateInput.month.label": "月",
|
|
7
|
-
"neptune.DateInput.year.label": "年",
|
|
8
|
-
"neptune.MoneyInput.Select.placeholder": "選擇一個選項…",
|
|
9
|
-
"neptune.Select.searchPlaceholder": "搜尋…",
|
|
10
|
-
"neptune.Summary.statusDone": "已完成事項",
|
|
11
|
-
"neptune.Summary.statusNotDone": "未完成事項",
|
|
12
|
-
"neptune.Summary.statusPending": "待處理事項",
|
|
13
|
-
"neptune.Upload.csButtonText": "上載另一個檔案?",
|
|
14
|
-
"neptune.Upload.csFailureText": "上載失敗,請重試。",
|
|
15
|
-
"neptune.Upload.csSuccessText": "上載完成!",
|
|
16
|
-
"neptune.Upload.csTooLargeMessage": "請提供小於5MB的檔案",
|
|
17
|
-
"neptune.Upload.csWrongTypeMessage": "不支持檔案類型,請使用其他檔案重試",
|
|
18
|
-
"neptune.Upload.psButtonText": "取消",
|
|
19
|
-
"neptune.Upload.psProcessingText": "上載中...",
|
|
20
|
-
"neptune.Upload.usButtonText": "或者選擇一個檔案",
|
|
21
|
-
"neptune.Upload.usDropMessage": "拖放檔案以開始上載",
|
|
22
|
-
"neptune.Upload.usPlaceholder": "拖放不超過5MB的檔案",
|
|
23
|
-
"neptune.UploadButton.allFileTypes": "所有檔案類型",
|
|
24
|
-
"neptune.UploadButton.dropFiles": "拖放檔案以開始上載",
|
|
25
|
-
"neptune.UploadButton.instructions": "{fileTypes},小於{size}MB",
|
|
26
|
-
"neptune.UploadButton.uploadFile": "上載檔案",
|
|
27
|
-
"neptune.UploadButton.uploadFiles": "上載檔案",
|
|
28
|
-
"neptune.UploadInput.deleteModalBody": "移除此檔案會把它從我們的系統中刪除。",
|
|
29
|
-
"neptune.UploadInput.deleteModalCancelButtonText": "取消",
|
|
30
|
-
"neptune.UploadInput.deleteModalConfirmButtonText": "移除",
|
|
31
|
-
"neptune.UploadInput.deleteModalTitle": "你確定要移除此檔案嗎?",
|
|
32
|
-
"neptune.UploadInput.fileIsTooLarge": "檔案太大",
|
|
33
|
-
"neptune.UploadInput.fileTypeNotSupported": "不支持檔案類型",
|
|
34
|
-
"neptune.UploadInput.maximumFilesAlreadyUploaded": "抱歉,這次上載失敗,因為我們每次最多只能接受{maxFilesAllowed}個檔案。",
|
|
35
|
-
"neptune.UploadItem.deleting": "刪除中…",
|
|
36
|
-
"neptune.UploadItem.removeFile": "移除檔案{filename}",
|
|
37
|
-
"neptune.UploadItem.uploaded": "已上載",
|
|
38
|
-
"neptune.UploadItem.uploadedFile": "已上載檔案",
|
|
39
|
-
"neptune.UploadItem.uploading": "上載中...",
|
|
40
|
-
"neptune.UploadItem.uploadingFailed": "上載失敗"
|
|
41
|
-
}
|