@transferwise/components 46.0.4 → 46.0.6
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 +2 -0
- package/build/i18n/de.json +2 -0
- package/build/i18n/es.json +2 -0
- package/build/i18n/fr.json +2 -0
- package/build/i18n/hu.json +2 -0
- package/build/i18n/id.json +2 -0
- package/build/i18n/it.json +2 -0
- package/build/i18n/ja.json +2 -0
- package/build/i18n/pl.json +2 -0
- package/build/i18n/pt.json +2 -0
- package/build/i18n/ro.json +2 -0
- package/build/i18n/ru.json +2 -0
- package/build/i18n/th.json +2 -0
- package/build/i18n/tr.json +2 -0
- package/build/i18n/uk.json +2 -0
- package/build/i18n/zh-CN.json +2 -0
- package/build/i18n/zh-HK.json +2 -0
- package/build/index.esm.js +35 -5
- package/build/index.esm.js.map +1 -1
- package/build/index.js +35 -5
- package/build/index.js.map +1 -1
- package/build/types/moneyInput/MoneyInput.d.ts.map +1 -1
- package/package.json +2 -2
- 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/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/uk.json +2 -0
- package/src/i18n/zh-CN.json +2 -0
- package/src/i18n/zh-HK.json +2 -0
- package/src/moneyInput/MoneyInput.js +1 -3
- package/src/moneyInput/MoneyInput.story.tsx +23 -7
- package/src/tooltip/__snapshots__/Tooltip.spec.tsx.snap +1 -0
package/build/index.js
CHANGED
|
@@ -7896,7 +7896,6 @@ class MoneyInput extends React.Component {
|
|
|
7896
7896
|
this.formatMessage = this.props.intl.formatMessage;
|
|
7897
7897
|
this.state = {
|
|
7898
7898
|
searchQuery: '',
|
|
7899
|
-
selectedOption: this.props.selectedCurrency,
|
|
7900
7899
|
formattedAmount: formatAmountIfSet(props.amount, props.selectedCurrency.currency, locale, props.maxLengthOverride),
|
|
7901
7900
|
locale
|
|
7902
7901
|
};
|
|
@@ -8003,9 +8002,6 @@ class MoneyInput extends React.Component {
|
|
|
8003
8002
|
}
|
|
8004
8003
|
handleSelectChange = value => {
|
|
8005
8004
|
this.handleSearchChange('');
|
|
8006
|
-
this.setState({
|
|
8007
|
-
selectedOption: value
|
|
8008
|
-
});
|
|
8009
8005
|
this.props.onCurrencyChange(value);
|
|
8010
8006
|
};
|
|
8011
8007
|
handleCustomAction = () => {
|
|
@@ -8094,7 +8090,7 @@ class MoneyInput extends React.Component {
|
|
|
8094
8090
|
className: classNames__default.default(this.style('input-group-btn'), this.style('amount-currency-select-btn')),
|
|
8095
8091
|
children: /*#__PURE__*/jsxRuntime.jsx(SelectInput, {
|
|
8096
8092
|
items: selectOptions,
|
|
8097
|
-
value:
|
|
8093
|
+
value: selectedCurrency,
|
|
8098
8094
|
compareValues: "currency",
|
|
8099
8095
|
renderValue: (currency, withinTrigger) => {
|
|
8100
8096
|
return /*#__PURE__*/jsxRuntime.jsx(SelectInputOptionContent, {
|
|
@@ -14684,8 +14680,10 @@ var cs = {
|
|
|
14684
14680
|
"neptune.ClearButton.ariaLabel": "Vyčistit",
|
|
14685
14681
|
"neptune.CloseButton.ariaLabel": "Zavřít",
|
|
14686
14682
|
"neptune.DateInput.day.label": "Den",
|
|
14683
|
+
"neptune.DateInput.day.placeholder": "DD",
|
|
14687
14684
|
"neptune.DateInput.month.label": "Měsíc",
|
|
14688
14685
|
"neptune.DateInput.year.label": "Rok",
|
|
14686
|
+
"neptune.DateInput.year.placeholder": "RRRR",
|
|
14689
14687
|
"neptune.DateLookup.day": "den",
|
|
14690
14688
|
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
14691
14689
|
"neptune.DateLookup.month": "měsíc",
|
|
@@ -14739,8 +14737,10 @@ var de = {
|
|
|
14739
14737
|
"neptune.ClearButton.ariaLabel": "Zurücksetzen",
|
|
14740
14738
|
"neptune.CloseButton.ariaLabel": "Schließen",
|
|
14741
14739
|
"neptune.DateInput.day.label": "Tag",
|
|
14740
|
+
"neptune.DateInput.day.placeholder": "DD",
|
|
14742
14741
|
"neptune.DateInput.month.label": "Monat",
|
|
14743
14742
|
"neptune.DateInput.year.label": "Jahr",
|
|
14743
|
+
"neptune.DateInput.year.placeholder": "YYYY",
|
|
14744
14744
|
"neptune.DateLookup.day": "Tag",
|
|
14745
14745
|
"neptune.DateLookup.goTo20YearView": "Zur 20-Jahres-Ansicht",
|
|
14746
14746
|
"neptune.DateLookup.month": "Monat",
|
|
@@ -14794,8 +14794,10 @@ var es = {
|
|
|
14794
14794
|
"neptune.ClearButton.ariaLabel": "Borrar",
|
|
14795
14795
|
"neptune.CloseButton.ariaLabel": "Cerrar",
|
|
14796
14796
|
"neptune.DateInput.day.label": "Día",
|
|
14797
|
+
"neptune.DateInput.day.placeholder": "DD",
|
|
14797
14798
|
"neptune.DateInput.month.label": "Mes",
|
|
14798
14799
|
"neptune.DateInput.year.label": "Año",
|
|
14800
|
+
"neptune.DateInput.year.placeholder": "AAAA",
|
|
14799
14801
|
"neptune.DateLookup.day": "día",
|
|
14800
14802
|
"neptune.DateLookup.goTo20YearView": "Ir a vista de 20 años",
|
|
14801
14803
|
"neptune.DateLookup.month": "mes",
|
|
@@ -14849,8 +14851,10 @@ var fr = {
|
|
|
14849
14851
|
"neptune.ClearButton.ariaLabel": "Effacer",
|
|
14850
14852
|
"neptune.CloseButton.ariaLabel": "Fermer",
|
|
14851
14853
|
"neptune.DateInput.day.label": "Jour",
|
|
14854
|
+
"neptune.DateInput.day.placeholder": "JJ",
|
|
14852
14855
|
"neptune.DateInput.month.label": "Mois",
|
|
14853
14856
|
"neptune.DateInput.year.label": "Année",
|
|
14857
|
+
"neptune.DateInput.year.placeholder": "AAAA",
|
|
14854
14858
|
"neptune.DateLookup.day": "jour",
|
|
14855
14859
|
"neptune.DateLookup.goTo20YearView": "Accéder à la vue sur 20 ans",
|
|
14856
14860
|
"neptune.DateLookup.month": "mois",
|
|
@@ -14904,8 +14908,10 @@ var hu = {
|
|
|
14904
14908
|
"neptune.ClearButton.ariaLabel": "Törlés",
|
|
14905
14909
|
"neptune.CloseButton.ariaLabel": "Bezárás",
|
|
14906
14910
|
"neptune.DateInput.day.label": "Nap",
|
|
14911
|
+
"neptune.DateInput.day.placeholder": "Nap",
|
|
14907
14912
|
"neptune.DateInput.month.label": "Hónap",
|
|
14908
14913
|
"neptune.DateInput.year.label": "Év",
|
|
14914
|
+
"neptune.DateInput.year.placeholder": "Év",
|
|
14909
14915
|
"neptune.DateLookup.day": "nap",
|
|
14910
14916
|
"neptune.DateLookup.goTo20YearView": "Ugrás a 20 éves nézetre",
|
|
14911
14917
|
"neptune.DateLookup.month": "hónap",
|
|
@@ -14959,8 +14965,10 @@ var id = {
|
|
|
14959
14965
|
"neptune.ClearButton.ariaLabel": "Hapus",
|
|
14960
14966
|
"neptune.CloseButton.ariaLabel": "Tutup",
|
|
14961
14967
|
"neptune.DateInput.day.label": "Hari",
|
|
14968
|
+
"neptune.DateInput.day.placeholder": "HH",
|
|
14962
14969
|
"neptune.DateInput.month.label": "Bulan",
|
|
14963
14970
|
"neptune.DateInput.year.label": "Tahun",
|
|
14971
|
+
"neptune.DateInput.year.placeholder": "TTTT",
|
|
14964
14972
|
"neptune.DateLookup.day": "hari",
|
|
14965
14973
|
"neptune.DateLookup.goTo20YearView": "Lihat tampilan 20 tahun",
|
|
14966
14974
|
"neptune.DateLookup.month": "bulan",
|
|
@@ -15014,8 +15022,10 @@ var it = {
|
|
|
15014
15022
|
"neptune.ClearButton.ariaLabel": "Elimina",
|
|
15015
15023
|
"neptune.CloseButton.ariaLabel": "Chiudi",
|
|
15016
15024
|
"neptune.DateInput.day.label": "Giorno",
|
|
15025
|
+
"neptune.DateInput.day.placeholder": "GG",
|
|
15017
15026
|
"neptune.DateInput.month.label": "Mese",
|
|
15018
15027
|
"neptune.DateInput.year.label": "Anno",
|
|
15028
|
+
"neptune.DateInput.year.placeholder": "AAAA",
|
|
15019
15029
|
"neptune.DateLookup.day": "giorno",
|
|
15020
15030
|
"neptune.DateLookup.goTo20YearView": "Vai alla vista su 20 anni",
|
|
15021
15031
|
"neptune.DateLookup.month": "mese",
|
|
@@ -15069,8 +15079,10 @@ var ja = {
|
|
|
15069
15079
|
"neptune.ClearButton.ariaLabel": "消去",
|
|
15070
15080
|
"neptune.CloseButton.ariaLabel": "閉じる",
|
|
15071
15081
|
"neptune.DateInput.day.label": "日",
|
|
15082
|
+
"neptune.DateInput.day.placeholder": "日",
|
|
15072
15083
|
"neptune.DateInput.month.label": "月",
|
|
15073
15084
|
"neptune.DateInput.year.label": "年",
|
|
15085
|
+
"neptune.DateInput.year.placeholder": "年(西暦)",
|
|
15074
15086
|
"neptune.DateLookup.day": "日",
|
|
15075
15087
|
"neptune.DateLookup.goTo20YearView": "20年表示に移動する",
|
|
15076
15088
|
"neptune.DateLookup.month": "月",
|
|
@@ -15124,8 +15136,10 @@ var pl = {
|
|
|
15124
15136
|
"neptune.ClearButton.ariaLabel": "Wyczyść",
|
|
15125
15137
|
"neptune.CloseButton.ariaLabel": "Zamknij",
|
|
15126
15138
|
"neptune.DateInput.day.label": "Dzień",
|
|
15139
|
+
"neptune.DateInput.day.placeholder": "DD",
|
|
15127
15140
|
"neptune.DateInput.month.label": "Miesiąc",
|
|
15128
15141
|
"neptune.DateInput.year.label": "Rok",
|
|
15142
|
+
"neptune.DateInput.year.placeholder": "RRRR",
|
|
15129
15143
|
"neptune.DateLookup.day": "dzień",
|
|
15130
15144
|
"neptune.DateLookup.goTo20YearView": "Przejdź do widoku 20-letniego",
|
|
15131
15145
|
"neptune.DateLookup.month": "miesiąc",
|
|
@@ -15179,8 +15193,10 @@ var pt = {
|
|
|
15179
15193
|
"neptune.ClearButton.ariaLabel": "Remover",
|
|
15180
15194
|
"neptune.CloseButton.ariaLabel": "Fechar",
|
|
15181
15195
|
"neptune.DateInput.day.label": "Dia",
|
|
15196
|
+
"neptune.DateInput.day.placeholder": "DD",
|
|
15182
15197
|
"neptune.DateInput.month.label": "Mês",
|
|
15183
15198
|
"neptune.DateInput.year.label": "Ano",
|
|
15199
|
+
"neptune.DateInput.year.placeholder": "AAAA",
|
|
15184
15200
|
"neptune.DateLookup.day": "dia",
|
|
15185
15201
|
"neptune.DateLookup.goTo20YearView": "Acessar a visualização de 20 anos",
|
|
15186
15202
|
"neptune.DateLookup.month": "mês",
|
|
@@ -15234,8 +15250,10 @@ var ro = {
|
|
|
15234
15250
|
"neptune.ClearButton.ariaLabel": "Elimină",
|
|
15235
15251
|
"neptune.CloseButton.ariaLabel": "Închide",
|
|
15236
15252
|
"neptune.DateInput.day.label": "Zi",
|
|
15253
|
+
"neptune.DateInput.day.placeholder": "ZZ",
|
|
15237
15254
|
"neptune.DateInput.month.label": "Lună",
|
|
15238
15255
|
"neptune.DateInput.year.label": "An",
|
|
15256
|
+
"neptune.DateInput.year.placeholder": "AAAA",
|
|
15239
15257
|
"neptune.DateLookup.day": "zi",
|
|
15240
15258
|
"neptune.DateLookup.goTo20YearView": "Accesează vizualizarea pe 20 de ani",
|
|
15241
15259
|
"neptune.DateLookup.month": "lună",
|
|
@@ -15289,8 +15307,10 @@ var ru = {
|
|
|
15289
15307
|
"neptune.ClearButton.ariaLabel": "Очистить",
|
|
15290
15308
|
"neptune.CloseButton.ariaLabel": "Закрыть",
|
|
15291
15309
|
"neptune.DateInput.day.label": "День",
|
|
15310
|
+
"neptune.DateInput.day.placeholder": "ДД",
|
|
15292
15311
|
"neptune.DateInput.month.label": "Месяц",
|
|
15293
15312
|
"neptune.DateInput.year.label": "Год",
|
|
15313
|
+
"neptune.DateInput.year.placeholder": "ГГГГ",
|
|
15294
15314
|
"neptune.DateLookup.day": "день",
|
|
15295
15315
|
"neptune.DateLookup.goTo20YearView": "Перейти к обзору 20 лет",
|
|
15296
15316
|
"neptune.DateLookup.month": "месяц",
|
|
@@ -15344,8 +15364,10 @@ var th = {
|
|
|
15344
15364
|
"neptune.ClearButton.ariaLabel": "ชัดเจน",
|
|
15345
15365
|
"neptune.CloseButton.ariaLabel": "ปิด",
|
|
15346
15366
|
"neptune.DateInput.day.label": "วัน",
|
|
15367
|
+
"neptune.DateInput.day.placeholder": "DD",
|
|
15347
15368
|
"neptune.DateInput.month.label": "เดือน",
|
|
15348
15369
|
"neptune.DateInput.year.label": "ปี",
|
|
15370
|
+
"neptune.DateInput.year.placeholder": "YYYY",
|
|
15349
15371
|
"neptune.DateLookup.day": "วัน",
|
|
15350
15372
|
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
15351
15373
|
"neptune.DateLookup.month": "เดือน",
|
|
@@ -15399,8 +15421,10 @@ var tr = {
|
|
|
15399
15421
|
"neptune.ClearButton.ariaLabel": "Sil",
|
|
15400
15422
|
"neptune.CloseButton.ariaLabel": "Kapat",
|
|
15401
15423
|
"neptune.DateInput.day.label": "Gün",
|
|
15424
|
+
"neptune.DateInput.day.placeholder": "GG",
|
|
15402
15425
|
"neptune.DateInput.month.label": "Ay",
|
|
15403
15426
|
"neptune.DateInput.year.label": "Yıl",
|
|
15427
|
+
"neptune.DateInput.year.placeholder": "YYYY",
|
|
15404
15428
|
"neptune.DateLookup.day": "gün",
|
|
15405
15429
|
"neptune.DateLookup.goTo20YearView": "20 yıl görünümüne git",
|
|
15406
15430
|
"neptune.DateLookup.month": "ay",
|
|
@@ -15454,8 +15478,10 @@ var uk = {
|
|
|
15454
15478
|
"neptune.ClearButton.ariaLabel": "Очистити",
|
|
15455
15479
|
"neptune.CloseButton.ariaLabel": "Закрити",
|
|
15456
15480
|
"neptune.DateInput.day.label": "День",
|
|
15481
|
+
"neptune.DateInput.day.placeholder": "ДД",
|
|
15457
15482
|
"neptune.DateInput.month.label": "Місяць",
|
|
15458
15483
|
"neptune.DateInput.year.label": "Рік",
|
|
15484
|
+
"neptune.DateInput.year.placeholder": "РРРР",
|
|
15459
15485
|
"neptune.DateLookup.day": "дня",
|
|
15460
15486
|
"neptune.DateLookup.goTo20YearView": "Go to 20 year view",
|
|
15461
15487
|
"neptune.DateLookup.month": "місяць",
|
|
@@ -15509,8 +15535,10 @@ var zhCN = {
|
|
|
15509
15535
|
"neptune.ClearButton.ariaLabel": "清除",
|
|
15510
15536
|
"neptune.CloseButton.ariaLabel": "关闭",
|
|
15511
15537
|
"neptune.DateInput.day.label": "日",
|
|
15538
|
+
"neptune.DateInput.day.placeholder": "DD",
|
|
15512
15539
|
"neptune.DateInput.month.label": "月",
|
|
15513
15540
|
"neptune.DateInput.year.label": "年",
|
|
15541
|
+
"neptune.DateInput.year.placeholder": "YYYY",
|
|
15514
15542
|
"neptune.DateLookup.day": "日",
|
|
15515
15543
|
"neptune.DateLookup.goTo20YearView": "转到 20 年视图",
|
|
15516
15544
|
"neptune.DateLookup.month": "月",
|
|
@@ -15564,8 +15592,10 @@ var zhHK = {
|
|
|
15564
15592
|
"neptune.ClearButton.ariaLabel": "清除",
|
|
15565
15593
|
"neptune.CloseButton.ariaLabel": "關閉",
|
|
15566
15594
|
"neptune.DateInput.day.label": "日",
|
|
15595
|
+
"neptune.DateInput.day.placeholder": "日",
|
|
15567
15596
|
"neptune.DateInput.month.label": "月",
|
|
15568
15597
|
"neptune.DateInput.year.label": "年",
|
|
15598
|
+
"neptune.DateInput.year.placeholder": "年",
|
|
15569
15599
|
"neptune.DateLookup.day": "日",
|
|
15570
15600
|
"neptune.DateLookup.goTo20YearView": "切換至20年視圖",
|
|
15571
15601
|
"neptune.DateLookup.month": "月",
|