@transferwise/components 46.4.0 → 46.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/build/i18n/th.json +3 -3
  2. package/build/index.esm.js +177 -239
  3. package/build/index.esm.js.map +1 -1
  4. package/build/index.js +178 -240
  5. package/build/index.js.map +1 -1
  6. package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts +1 -1
  7. package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -1
  8. package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +2 -2
  9. package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -1
  10. package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +5 -1
  11. package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -1
  12. package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts +1 -1
  13. package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -1
  14. package/build/types/index.d.ts +3 -0
  15. package/build/types/index.d.ts.map +1 -1
  16. package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts +7 -11
  17. package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -1
  18. package/build/types/inputWithDisplayFormat/index.d.ts +2 -1
  19. package/build/types/inputWithDisplayFormat/index.d.ts.map +1 -1
  20. package/build/types/inputs/SelectInput.d.ts +2 -2
  21. package/build/types/inputs/SelectInput.d.ts.map +1 -1
  22. package/build/types/moneyInput/MoneyInput.d.ts +45 -31
  23. package/build/types/moneyInput/MoneyInput.d.ts.map +1 -1
  24. package/build/types/moneyInput/MoneyInput.messages.d.ts +6 -6
  25. package/build/types/moneyInput/MoneyInput.messages.d.ts.map +1 -1
  26. package/build/types/moneyInput/currencyFormatting.d.ts +2 -2
  27. package/build/types/moneyInput/currencyFormatting.d.ts.map +1 -1
  28. package/build/types/moneyInput/index.d.ts +2 -1
  29. package/build/types/moneyInput/index.d.ts.map +1 -1
  30. package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts +7 -11
  31. package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -1
  32. package/build/types/textareaWithDisplayFormat/index.d.ts +2 -1
  33. package/build/types/textareaWithDisplayFormat/index.d.ts.map +1 -1
  34. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +55 -83
  35. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -1
  36. package/build/types/withDisplayFormat/index.d.ts +2 -1
  37. package/build/types/withDisplayFormat/index.d.ts.map +1 -1
  38. package/package.json +1 -1
  39. package/src/common/textFormat/formatWithPattern/{formatWithPattern.js → formatWithPattern.ts} +8 -4
  40. package/src/common/textFormat/getCursorPositionAfterKeystroke/{getCursorPositionAfterKeystroke.js → getCursorPositionAfterKeystroke.ts} +8 -8
  41. package/src/common/textFormat/getSymbolsInPatternWithPosition/{getSymbolsInPatternWithPosition.js → getSymbolsInPatternWithPosition.ts} +7 -2
  42. package/src/common/textFormat/unformatWithPattern/{unformatWithPattern.js → unformatWithPattern.ts} +3 -2
  43. package/src/flowNavigation/FlowNavigation.story.js +1 -1
  44. package/src/i18n/th.json +3 -3
  45. package/src/index.ts +8 -0
  46. package/src/inputWithDisplayFormat/InputWithDisplayFormat.tsx +10 -0
  47. package/src/inputWithDisplayFormat/index.ts +2 -0
  48. package/src/inputs/SelectInput.tsx +2 -2
  49. package/src/moneyInput/{MoneyInput.rtl.spec.js → MoneyInput.rtl.spec.tsx} +4 -4
  50. package/src/moneyInput/MoneyInput.spec.js +109 -49
  51. package/src/moneyInput/MoneyInput.story.tsx +6 -14
  52. package/src/moneyInput/{MoneyInput.js → MoneyInput.tsx} +189 -173
  53. package/src/moneyInput/{currencyFormatting.spec.js → currencyFormatting.spec.ts} +2 -2
  54. package/src/moneyInput/{currencyFormatting.js → currencyFormatting.ts} +7 -10
  55. package/src/moneyInput/index.ts +7 -0
  56. package/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.spec.js +3 -1
  57. package/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.story.tsx +32 -0
  58. package/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.tsx +13 -0
  59. package/src/textareaWithDisplayFormat/index.ts +2 -0
  60. package/src/withDisplayFormat/WithDisplayFormat.spec.js +1 -1
  61. package/src/withDisplayFormat/{WithDisplayFormat.js → WithDisplayFormat.tsx} +127 -107
  62. package/src/withDisplayFormat/index.ts +2 -0
  63. package/src/inputWithDisplayFormat/InputWithDisplayFormat.js +0 -14
  64. package/src/inputWithDisplayFormat/index.js +0 -1
  65. package/src/moneyInput/index.js +0 -1
  66. package/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.js +0 -14
  67. package/src/textareaWithDisplayFormat/index.js +0 -1
  68. package/src/withDisplayFormat/index.js +0 -1
  69. /package/src/moneyInput/{MoneyInput.messages.js → MoneyInput.messages.ts} +0 -0
@@ -9,16 +9,16 @@
9
9
  "neptune.DateInput.year.label": "ปี",
10
10
  "neptune.DateInput.year.placeholder": "YYYY",
11
11
  "neptune.DateLookup.day": "วัน",
12
- "neptune.DateLookup.goTo20YearView": "Go to 20 year view",
12
+ "neptune.DateLookup.goTo20YearView": "ไปที่มุมมอง 20 ปี",
13
13
  "neptune.DateLookup.month": "เดือน",
14
14
  "neptune.DateLookup.next": "ถัดไป",
15
15
  "neptune.DateLookup.previous": "ก่อนหน้า",
16
16
  "neptune.DateLookup.selected": "เลือกแล้ว",
17
17
  "neptune.DateLookup.twentyYears": "20 ปี",
18
18
  "neptune.DateLookup.year": "ปี",
19
- "neptune.FlowNavigation.back": "back to previous step",
19
+ "neptune.FlowNavigation.back": "กลับไปที่ขั้นก่อนหน้า",
20
20
  "neptune.Info.ariaLabel": "ข้อมูลเพิ่มเติม",
21
- "neptune.Link.opensInNewTab": "(opens in new tab)",
21
+ "neptune.Link.opensInNewTab": "(เปิดในแท็บใหม่)",
22
22
  "neptune.MoneyInput.Select.placeholder": "เลือกตัวเลือก...",
23
23
  "neptune.Select.searchPlaceholder": "ค้นหา...",
24
24
  "neptune.SelectInput.noResultsFound": "ไม่พบผลลัพธ์",