@transferwise/components 0.0.0-experimental-77845f6 → 0.0.0-experimental-e556371
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/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/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/main.css +15 -65
- package/build/prompt/InlinePrompt/InlinePrompt.js +0 -7
- package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
- package/build/prompt/InlinePrompt/InlinePrompt.mjs +1 -8
- package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
- package/build/styles/main.css +15 -65
- package/build/styles/moneyInput/MoneyInput.css +8 -0
- package/build/styles/prompt/InlinePrompt/InlinePrompt.css +7 -7
- package/build/types/index.d.ts +0 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts +2 -3
- package/build/types/prompt/InlinePrompt/InlinePrompt.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/package.json +4 -4
- package/src/i18n/en.json +0 -2
- package/src/index.ts +0 -2
- package/src/main.css +15 -65
- package/src/main.less +0 -1
- package/src/moneyInput/MoneyInput.css +8 -0
- package/src/moneyInput/MoneyInput.less +5 -0
- package/src/prompt/InlinePrompt/InlinePrompt.css +7 -7
- package/src/prompt/InlinePrompt/InlinePrompt.less +7 -7
- package/src/prompt/InlinePrompt/InlinePrompt.spec.tsx +0 -6
- package/src/prompt/InlinePrompt/InlinePrompt.tsx +2 -12
- package/src/ssr.spec.tsx +0 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js +0 -114
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.js.map +0 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.js +0 -17
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.js.map +0 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.mjs +0 -13
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.mjs.map +0 -1
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs +0 -110
- package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs.map +0 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.js +0 -281
- package/build/expressiveMoneyInput/amountInput/AmountInput.js.map +0 -1
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs +0 -279
- package/build/expressiveMoneyInput/amountInput/AmountInput.mjs.map +0 -1
- package/build/expressiveMoneyInput/amountInput/utils.js +0 -87
- package/build/expressiveMoneyInput/amountInput/utils.js.map +0 -1
- package/build/expressiveMoneyInput/amountInput/utils.mjs +0 -78
- package/build/expressiveMoneyInput/amountInput/utils.mjs.map +0 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.js +0 -50
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.js.map +0 -1
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.mjs +0 -48
- package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.mjs.map +0 -1
- package/build/expressiveMoneyInput/chevron/Chevron.js +0 -31
- package/build/expressiveMoneyInput/chevron/Chevron.js.map +0 -1
- package/build/expressiveMoneyInput/chevron/Chevron.mjs +0 -29
- package/build/expressiveMoneyInput/chevron/Chevron.mjs.map +0 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +0 -160
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +0 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +0 -157
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +0 -1
- package/build/expressiveMoneyInput/hooks/useFocus.js +0 -37
- package/build/expressiveMoneyInput/hooks/useFocus.js.map +0 -1
- package/build/expressiveMoneyInput/hooks/useFocus.mjs +0 -35
- package/build/expressiveMoneyInput/hooks/useFocus.mjs.map +0 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.js +0 -71
- package/build/expressiveMoneyInput/hooks/useInputStyle.js.map +0 -1
- package/build/expressiveMoneyInput/hooks/useInputStyle.mjs +0 -69
- package/build/expressiveMoneyInput/hooks/useInputStyle.mjs.map +0 -1
- package/build/styles/expressiveMoneyInput/ExpressiveMoneyInput.css +0 -58
- package/build/styles/expressiveMoneyInput/amountInput/AmountInput.css +0 -32
- package/build/styles/expressiveMoneyInput/chevron/Chevron.css +0 -12
- package/build/styles/expressiveMoneyInput/currencySelector/CurrencySelector.css +0 -6
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts +0 -33
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts +0 -12
- package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts +0 -13
- package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/amountInput/utils.d.ts +0 -22
- package/build/types/expressiveMoneyInput/amountInput/utils.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts +0 -9
- package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts +0 -6
- package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts +0 -30
- package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts +0 -7
- package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts +0 -10
- package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts +0 -10
- package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +0 -1
- package/build/types/expressiveMoneyInput/index.d.ts +0 -3
- package/build/types/expressiveMoneyInput/index.d.ts.map +0 -1
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +0 -58
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.less +0 -13
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.messages.ts +0 -13
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.story.tsx +0 -290
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.tsx +0 -125
- package/src/expressiveMoneyInput/amountInput/AmountInput.css +0 -32
- package/src/expressiveMoneyInput/amountInput/AmountInput.less +0 -43
- package/src/expressiveMoneyInput/amountInput/AmountInput.tsx +0 -353
- package/src/expressiveMoneyInput/amountInput/utils.spec.ts +0 -114
- package/src/expressiveMoneyInput/amountInput/utils.ts +0 -116
- package/src/expressiveMoneyInput/animatedNumber/AnimatedNumber.tsx +0 -40
- package/src/expressiveMoneyInput/chevron/Chevron.css +0 -12
- package/src/expressiveMoneyInput/chevron/Chevron.less +0 -13
- package/src/expressiveMoneyInput/chevron/Chevron.tsx +0 -35
- package/src/expressiveMoneyInput/currencySelector/CurrencySelector.css +0 -6
- package/src/expressiveMoneyInput/currencySelector/CurrencySelector.less +0 -7
- package/src/expressiveMoneyInput/currencySelector/CurrencySelector.tsx +0 -218
- package/src/expressiveMoneyInput/hooks/useFocus.ts +0 -35
- package/src/expressiveMoneyInput/hooks/useInputStyle.ts +0 -85
- package/src/expressiveMoneyInput/hooks/useSelectionRange.ts +0 -23
- package/src/expressiveMoneyInput/index.ts +0 -2
- package/src/prompt/InlinePrompt/InlinePrompt.story.tsx +0 -57
package/build/i18n/en.json
CHANGED
|
@@ -16,8 +16,6 @@
|
|
|
16
16
|
"neptune.DateLookup.selected": "selected",
|
|
17
17
|
"neptune.DateLookup.twentyYears": "20 years",
|
|
18
18
|
"neptune.DateLookup.year": "year",
|
|
19
|
-
"neptune.ExpressiveMoneyInput.currency.search.placeholder": "Type a currency / country",
|
|
20
|
-
"neptune.ExpressiveMoneyInput.currency.select.currency": "Select currency",
|
|
21
19
|
"neptune.FlowNavigation.back": "back to previous step",
|
|
22
20
|
"neptune.Info.ariaLabel": "More information",
|
|
23
21
|
"neptune.Label.optional": "(Optional)",
|
package/build/i18n/en.json.js
CHANGED
|
@@ -20,8 +20,6 @@ var en = {
|
|
|
20
20
|
"neptune.DateLookup.selected": "selected",
|
|
21
21
|
"neptune.DateLookup.twentyYears": "20 years",
|
|
22
22
|
"neptune.DateLookup.year": "year",
|
|
23
|
-
"neptune.ExpressiveMoneyInput.currency.search.placeholder": "Type a currency / country",
|
|
24
|
-
"neptune.ExpressiveMoneyInput.currency.select.currency": "Select currency",
|
|
25
23
|
"neptune.FlowNavigation.back": "back to previous step",
|
|
26
24
|
"neptune.Info.ariaLabel": "More information",
|
|
27
25
|
"neptune.Label.optional": "(Optional)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/en.json.mjs
CHANGED
|
@@ -16,8 +16,6 @@ var en = {
|
|
|
16
16
|
"neptune.DateLookup.selected": "selected",
|
|
17
17
|
"neptune.DateLookup.twentyYears": "20 years",
|
|
18
18
|
"neptune.DateLookup.year": "year",
|
|
19
|
-
"neptune.ExpressiveMoneyInput.currency.search.placeholder": "Type a currency / country",
|
|
20
|
-
"neptune.ExpressiveMoneyInput.currency.select.currency": "Select currency",
|
|
21
19
|
"neptune.FlowNavigation.back": "back to previous step",
|
|
22
20
|
"neptune.Info.ariaLabel": "More information",
|
|
23
21
|
"neptune.Label.optional": "(Optional)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/index.js
CHANGED
|
@@ -67,7 +67,6 @@ var Markdown = require('./markdown/Markdown.js');
|
|
|
67
67
|
var Modal = require('./modal/Modal.js');
|
|
68
68
|
var Money = require('./money/Money.js');
|
|
69
69
|
var MoneyInput = require('./moneyInput/MoneyInput.js');
|
|
70
|
-
var ExpressiveMoneyInput = require('./expressiveMoneyInput/ExpressiveMoneyInput.js');
|
|
71
70
|
var NavigationOption = require('./navigationOption/NavigationOption.js');
|
|
72
71
|
var NavigationOptionsList = require('./navigationOptionsList/NavigationOptionsList.js');
|
|
73
72
|
var Nudge = require('./nudge/Nudge.js');
|
|
@@ -230,7 +229,6 @@ exports.Markdown = Markdown.default;
|
|
|
230
229
|
exports.Modal = Modal.default;
|
|
231
230
|
exports.Money = Money.default;
|
|
232
231
|
exports.MoneyInput = MoneyInput.default;
|
|
233
|
-
exports.ExpressiveMoneyInput = ExpressiveMoneyInput.default;
|
|
234
232
|
exports.NavigationOption = NavigationOption.default;
|
|
235
233
|
exports.NavigationOptionsList = NavigationOptionsList.default;
|
|
236
234
|
exports.Nudge = Nudge.default;
|
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
|
@@ -65,7 +65,6 @@ export { default as Markdown } from './markdown/Markdown.mjs';
|
|
|
65
65
|
export { default as Modal } from './modal/Modal.mjs';
|
|
66
66
|
export { default as Money } from './money/Money.mjs';
|
|
67
67
|
export { default as MoneyInput } from './moneyInput/MoneyInput.mjs';
|
|
68
|
-
export { default as ExpressiveMoneyInput } from './expressiveMoneyInput/ExpressiveMoneyInput.mjs';
|
|
69
68
|
export { default as NavigationOption } from './navigationOption/NavigationOption.mjs';
|
|
70
69
|
export { default as NavigationOptionsList } from './navigationOptionsList/NavigationOptionsList.mjs';
|
|
71
70
|
export { default as Nudge } from './nudge/Nudge.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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/main.css
CHANGED
|
@@ -526,26 +526,26 @@
|
|
|
526
526
|
background-color: var(--color-sentiment-positive-secondary-active);
|
|
527
527
|
}
|
|
528
528
|
.wds-inline-prompt--proposition {
|
|
529
|
-
background-color:
|
|
530
|
-
color: var(--color-
|
|
529
|
+
background-color: var(--color-sentiment-positive-secondary);
|
|
530
|
+
color: var(--color-sentiment-positive-primary);
|
|
531
531
|
}
|
|
532
532
|
.wds-inline-prompt--proposition a,
|
|
533
533
|
.wds-inline-prompt--proposition button {
|
|
534
|
-
color: var(--color-
|
|
534
|
+
color: var(--color-sentiment-positive-primary);
|
|
535
535
|
}
|
|
536
536
|
.wds-inline-prompt--proposition a:hover,
|
|
537
537
|
.wds-inline-prompt--proposition button:hover {
|
|
538
|
-
color: var(--color-
|
|
538
|
+
color: var(--color-sentiment-positive-primary-hover);
|
|
539
539
|
}
|
|
540
540
|
.wds-inline-prompt--proposition a:active,
|
|
541
541
|
.wds-inline-prompt--proposition button:active {
|
|
542
|
-
color: var(--color-
|
|
542
|
+
color: var(--color-sentiment-positive-primary-active);
|
|
543
543
|
}
|
|
544
544
|
.wds-inline-prompt.wds-inline-prompt--proposition:has(a, button):hover {
|
|
545
|
-
background-color:
|
|
545
|
+
background-color: var(--color-sentiment-positive-secondary-hover);
|
|
546
546
|
}
|
|
547
547
|
.wds-inline-prompt.wds-inline-prompt--proposition:has(a, button):active {
|
|
548
|
-
background-color:
|
|
548
|
+
background-color: var(--color-sentiment-positive-secondary-active);
|
|
549
549
|
}
|
|
550
550
|
.wds-inline-prompt--neutral {
|
|
551
551
|
background-color: rgba(134,167,189,0.10196);
|
|
@@ -4421,6 +4421,14 @@ button.np-link {
|
|
|
4421
4421
|
flex-shrink: 0;
|
|
4422
4422
|
width: auto;
|
|
4423
4423
|
}
|
|
4424
|
+
.tw-money-input .input-group-addon:not(.amount-currency-select-btn):not(.tw-money-input__fixed-currency):not(:has(~ .tw-money-input__fixed-currency)) {
|
|
4425
|
+
padding-right: 0 !important;
|
|
4426
|
+
}
|
|
4427
|
+
[dir="rtl"] .tw-money-input .input-group-addon:not(.amount-currency-select-btn):not(.tw-money-input__fixed-currency):not(:has(~ .tw-money-input__fixed-currency)) {
|
|
4428
|
+
padding-left: 0 !important;
|
|
4429
|
+
padding-right: 0 !important;
|
|
4430
|
+
padding-right: initial !important;
|
|
4431
|
+
}
|
|
4424
4432
|
.tw-money-input .amount-currency-select-btn {
|
|
4425
4433
|
flex-shrink: 0;
|
|
4426
4434
|
width: auto;
|
|
@@ -4447,64 +4455,6 @@ button.np-link {
|
|
|
4447
4455
|
box-shadow: inset 0 0 0 1px #c9cbce !important;
|
|
4448
4456
|
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary) !important;
|
|
4449
4457
|
}
|
|
4450
|
-
.wds-amount-input-container {
|
|
4451
|
-
width: 100%;
|
|
4452
|
-
}
|
|
4453
|
-
.wds-amount-input-input-container {
|
|
4454
|
-
display: flex;
|
|
4455
|
-
justify-content: right;
|
|
4456
|
-
width: 100%;
|
|
4457
|
-
transition: font-size 0.4s cubic-bezier(0.3, 0, 0.1, 1), height 0.4s cubic-bezier(0.3, 0, 0.1, 1), margin-top 0.4s cubic-bezier(0.3, 0, 0.1, 1), color 0.4s ease;
|
|
4458
|
-
color: var(--color-interactive-primary);
|
|
4459
|
-
overflow: hidden;
|
|
4460
|
-
margin-bottom: 0 !important;
|
|
4461
|
-
}
|
|
4462
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4463
|
-
.wds-amount-input-input-container {
|
|
4464
|
-
transition: none;
|
|
4465
|
-
}
|
|
4466
|
-
}
|
|
4467
|
-
.wds-amount-input-input {
|
|
4468
|
-
border: none;
|
|
4469
|
-
outline: none;
|
|
4470
|
-
flex-grow: 1;
|
|
4471
|
-
text-align: right;
|
|
4472
|
-
background-color: transparent;
|
|
4473
|
-
}
|
|
4474
|
-
.wds-amount-input-input:focus-visible {
|
|
4475
|
-
outline: none;
|
|
4476
|
-
}
|
|
4477
|
-
.wds-amount-input-placeholder {
|
|
4478
|
-
flex-grow: 0;
|
|
4479
|
-
display: flex;
|
|
4480
|
-
align-items: center;
|
|
4481
|
-
}
|
|
4482
|
-
.wds-currency-selector:disabled {
|
|
4483
|
-
opacity: 1 !important;
|
|
4484
|
-
cursor: auto !important;
|
|
4485
|
-
cursor: initial !important;
|
|
4486
|
-
mix-blend-mode: initial !important;
|
|
4487
|
-
}
|
|
4488
|
-
.wds-chevron-container {
|
|
4489
|
-
width: 32px;
|
|
4490
|
-
width: var(--size-32);
|
|
4491
|
-
overflow: hidden;
|
|
4492
|
-
color: var(--color-interactive-primary);
|
|
4493
|
-
margin-left: 8px;
|
|
4494
|
-
margin-left: var(--size-8);
|
|
4495
|
-
transition: width 0.3s ease;
|
|
4496
|
-
}
|
|
4497
|
-
.wds-chevron-hidden {
|
|
4498
|
-
width: 0;
|
|
4499
|
-
}
|
|
4500
|
-
.wds-expressive-money-input-currency-selector {
|
|
4501
|
-
flex-shrink: 0;
|
|
4502
|
-
margin-right: 24px;
|
|
4503
|
-
margin-right: var(--size-24);
|
|
4504
|
-
}
|
|
4505
|
-
.wds-expressive-money-input-chevron {
|
|
4506
|
-
transform: translateY(-5%);
|
|
4507
|
-
}
|
|
4508
4458
|
.np-navigation-option {
|
|
4509
4459
|
-webkit-text-decoration: none;
|
|
4510
4460
|
text-decoration: none;
|
|
@@ -35,16 +35,9 @@ const InlinePrompt = ({
|
|
|
35
35
|
loading = false,
|
|
36
36
|
className,
|
|
37
37
|
children,
|
|
38
|
-
media = null,
|
|
39
38
|
...rest
|
|
40
39
|
}) => {
|
|
41
40
|
const renderMedia = () => {
|
|
42
|
-
if (media && ['proposition', 'positive'].includes(sentiment$1)) {
|
|
43
|
-
return media;
|
|
44
|
-
}
|
|
45
|
-
if (sentiment$1 === 'proposition') {
|
|
46
|
-
return /*#__PURE__*/jsxRuntime.jsx(icons.GiftBox, {});
|
|
47
|
-
}
|
|
48
41
|
if (muted) {
|
|
49
42
|
return /*#__PURE__*/jsxRuntime.jsx(icons.BackslashCircle, {
|
|
50
43
|
size: 16,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlinePrompt.js","sources":["../../../src/prompt/InlinePrompt/InlinePrompt.tsx"],"sourcesContent":["import { Sentiment } from '../../common';\nimport { BackslashCircle
|
|
1
|
+
{"version":3,"file":"InlinePrompt.js","sources":["../../../src/prompt/InlinePrompt/InlinePrompt.tsx"],"sourcesContent":["import { Sentiment } from '../../common';\nimport { BackslashCircle } from '@transferwise/icons';\nimport ProcessIndicator from '../../processIndicator';\nimport StatusIcon from '../../statusIcon';\nimport { clsx } from 'clsx';\nimport Body from '../../body';\n\nexport type InlinePromptProps = {\n sentiment?: `${Sentiment.POSITIVE | Sentiment.NEGATIVE | Sentiment.NEUTRAL | Sentiment.WARNING}`;\n loading?: boolean;\n /**\n * Use for short-lived inline prompts to avoid swap of the icon (which is bad UX for short-lived prompts, e.g. when submit form)\n */\n muted?: boolean;\n id?: string;\n className?: string;\n 'data-testid'?: string;\n children: React.ReactNode;\n};\n\nexport const InlinePrompt = ({\n sentiment = Sentiment.POSITIVE,\n muted = false,\n loading = false,\n className,\n children,\n ...rest\n}: InlinePromptProps) => {\n const renderMedia = () => {\n if (muted) {\n return <BackslashCircle size={16} data-testid=\"InlinePrompt_Muted\" />;\n }\n if (loading) {\n return <ProcessIndicator data-testid=\"InlinePrompt_ProcessIndicator\" size=\"xxs\" />;\n }\n return <StatusIcon size={16} sentiment={sentiment} />;\n };\n\n return (\n <div\n className={clsx(\n 'wds-inline-prompt',\n `wds-inline-prompt--${sentiment}`,\n {\n 'wds-inline-prompt--muted': muted,\n 'wds-inline-prompt--loading': loading,\n },\n className,\n )}\n {...rest}\n >\n <div className=\"wds-inline-prompt__media-wrapper\">{renderMedia()}</div>\n <Body>{children}</Body>\n </div>\n );\n};\n"],"names":["InlinePrompt","sentiment","Sentiment","POSITIVE","muted","loading","className","children","rest","renderMedia","_jsx","BackslashCircle","size","ProcessIndicator","StatusIcon","_jsxs","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17
17
|
import '../../common/propsValues/scroll.mjs';
|
|
18
18
|
import '../../common/propsValues/markdownNodeType.mjs';
|
|
19
19
|
import '../../common/fileType.mjs';
|
|
20
|
-
import {
|
|
20
|
+
import { BackslashCircle } from '@transferwise/icons';
|
|
21
21
|
import { clsx } from 'clsx';
|
|
22
22
|
import 'react';
|
|
23
23
|
import 'react-intl';
|
|
@@ -33,16 +33,9 @@ const InlinePrompt = ({
|
|
|
33
33
|
loading = false,
|
|
34
34
|
className,
|
|
35
35
|
children,
|
|
36
|
-
media = null,
|
|
37
36
|
...rest
|
|
38
37
|
}) => {
|
|
39
38
|
const renderMedia = () => {
|
|
40
|
-
if (media && ['proposition', 'positive'].includes(sentiment)) {
|
|
41
|
-
return media;
|
|
42
|
-
}
|
|
43
|
-
if (sentiment === 'proposition') {
|
|
44
|
-
return /*#__PURE__*/jsx(GiftBox, {});
|
|
45
|
-
}
|
|
46
39
|
if (muted) {
|
|
47
40
|
return /*#__PURE__*/jsx(BackslashCircle, {
|
|
48
41
|
size: 16,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlinePrompt.mjs","sources":["../../../src/prompt/InlinePrompt/InlinePrompt.tsx"],"sourcesContent":["import { Sentiment } from '../../common';\nimport { BackslashCircle
|
|
1
|
+
{"version":3,"file":"InlinePrompt.mjs","sources":["../../../src/prompt/InlinePrompt/InlinePrompt.tsx"],"sourcesContent":["import { Sentiment } from '../../common';\nimport { BackslashCircle } from '@transferwise/icons';\nimport ProcessIndicator from '../../processIndicator';\nimport StatusIcon from '../../statusIcon';\nimport { clsx } from 'clsx';\nimport Body from '../../body';\n\nexport type InlinePromptProps = {\n sentiment?: `${Sentiment.POSITIVE | Sentiment.NEGATIVE | Sentiment.NEUTRAL | Sentiment.WARNING}`;\n loading?: boolean;\n /**\n * Use for short-lived inline prompts to avoid swap of the icon (which is bad UX for short-lived prompts, e.g. when submit form)\n */\n muted?: boolean;\n id?: string;\n className?: string;\n 'data-testid'?: string;\n children: React.ReactNode;\n};\n\nexport const InlinePrompt = ({\n sentiment = Sentiment.POSITIVE,\n muted = false,\n loading = false,\n className,\n children,\n ...rest\n}: InlinePromptProps) => {\n const renderMedia = () => {\n if (muted) {\n return <BackslashCircle size={16} data-testid=\"InlinePrompt_Muted\" />;\n }\n if (loading) {\n return <ProcessIndicator data-testid=\"InlinePrompt_ProcessIndicator\" size=\"xxs\" />;\n }\n return <StatusIcon size={16} sentiment={sentiment} />;\n };\n\n return (\n <div\n className={clsx(\n 'wds-inline-prompt',\n `wds-inline-prompt--${sentiment}`,\n {\n 'wds-inline-prompt--muted': muted,\n 'wds-inline-prompt--loading': loading,\n },\n className,\n )}\n {...rest}\n >\n <div className=\"wds-inline-prompt__media-wrapper\">{renderMedia()}</div>\n <Body>{children}</Body>\n </div>\n );\n};\n"],"names":["InlinePrompt","sentiment","Sentiment","POSITIVE","muted","loading","className","children","rest","renderMedia","_jsx","BackslashCircle","size","ProcessIndicator","StatusIcon","_jsxs","clsx","Body"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBO,MAAMA,YAAY,GAAGA,CAAC;EAC3BC,SAAS,GAAGC,SAAS,CAACC,QAAQ;AAC9BC,EAAAA,KAAK,GAAG,KAAK;AACbC,EAAAA,OAAO,GAAG,KAAK;EACfC,SAAS;EACTC,QAAQ;EACR,GAAGC;AAAI,CACW,KAAI;EACtB,MAAMC,WAAW,GAAGA,MAAK;AACvB,IAAA,IAAIL,KAAK,EAAE;MACT,oBAAOM,GAAA,CAACC,eAAe,EAAA;AAACC,QAAAA,IAAI,EAAE,EAAG;QAAC,aAAA,EAAY;AAAoB,QAAG;AACvE,IAAA;AACA,IAAA,IAAIP,OAAO,EAAE;MACX,oBAAOK,GAAA,CAACG,gBAAgB,EAAA;AAAC,QAAA,aAAA,EAAY,+BAA+B;AAACD,QAAAA,IAAI,EAAC;AAAK,OAAA,CAAG;AACpF,IAAA;IACA,oBAAOF,GAAA,CAACI,UAAU,EAAA;AAACF,MAAAA,IAAI,EAAE,EAAG;AAACX,MAAAA,SAAS,EAAEA;AAAU,MAAG;EACvD,CAAC;AAED,EAAA,oBACEc,IAAA,CAAA,KAAA,EAAA;IACET,SAAS,EAAEU,IAAI,CACb,mBAAmB,EACnB,CAAA,mBAAA,EAAsBf,SAAS,EAAE,EACjC;AACE,MAAA,0BAA0B,EAAEG,KAAK;AACjC,MAAA,4BAA4B,EAAEC;KAC/B,EACDC,SAAS,CACT;AAAA,IAAA,GACEE,IAAI;AAAAD,IAAAA,QAAA,gBAERG,GAAA,CAAA,KAAA,EAAA;AAAKJ,MAAAA,SAAS,EAAC,kCAAkC;MAAAC,QAAA,EAAEE,WAAW;AAAE,KAAM,CACtE,eAAAC,GAAA,CAACO,IAAI,EAAA;AAAAV,MAAAA,QAAA,EAAEA;AAAQ,KAAO,CACxB;AAAA,GAAK,CAAC;AAEV;;;;"}
|
package/build/styles/main.css
CHANGED
|
@@ -526,26 +526,26 @@
|
|
|
526
526
|
background-color: var(--color-sentiment-positive-secondary-active);
|
|
527
527
|
}
|
|
528
528
|
.wds-inline-prompt--proposition {
|
|
529
|
-
background-color:
|
|
530
|
-
color: var(--color-
|
|
529
|
+
background-color: var(--color-sentiment-positive-secondary);
|
|
530
|
+
color: var(--color-sentiment-positive-primary);
|
|
531
531
|
}
|
|
532
532
|
.wds-inline-prompt--proposition a,
|
|
533
533
|
.wds-inline-prompt--proposition button {
|
|
534
|
-
color: var(--color-
|
|
534
|
+
color: var(--color-sentiment-positive-primary);
|
|
535
535
|
}
|
|
536
536
|
.wds-inline-prompt--proposition a:hover,
|
|
537
537
|
.wds-inline-prompt--proposition button:hover {
|
|
538
|
-
color: var(--color-
|
|
538
|
+
color: var(--color-sentiment-positive-primary-hover);
|
|
539
539
|
}
|
|
540
540
|
.wds-inline-prompt--proposition a:active,
|
|
541
541
|
.wds-inline-prompt--proposition button:active {
|
|
542
|
-
color: var(--color-
|
|
542
|
+
color: var(--color-sentiment-positive-primary-active);
|
|
543
543
|
}
|
|
544
544
|
.wds-inline-prompt.wds-inline-prompt--proposition:has(a, button):hover {
|
|
545
|
-
background-color:
|
|
545
|
+
background-color: var(--color-sentiment-positive-secondary-hover);
|
|
546
546
|
}
|
|
547
547
|
.wds-inline-prompt.wds-inline-prompt--proposition:has(a, button):active {
|
|
548
|
-
background-color:
|
|
548
|
+
background-color: var(--color-sentiment-positive-secondary-active);
|
|
549
549
|
}
|
|
550
550
|
.wds-inline-prompt--neutral {
|
|
551
551
|
background-color: rgba(134,167,189,0.10196);
|
|
@@ -4421,6 +4421,14 @@ button.np-link {
|
|
|
4421
4421
|
flex-shrink: 0;
|
|
4422
4422
|
width: auto;
|
|
4423
4423
|
}
|
|
4424
|
+
.tw-money-input .input-group-addon:not(.amount-currency-select-btn):not(.tw-money-input__fixed-currency):not(:has(~ .tw-money-input__fixed-currency)) {
|
|
4425
|
+
padding-right: 0 !important;
|
|
4426
|
+
}
|
|
4427
|
+
[dir="rtl"] .tw-money-input .input-group-addon:not(.amount-currency-select-btn):not(.tw-money-input__fixed-currency):not(:has(~ .tw-money-input__fixed-currency)) {
|
|
4428
|
+
padding-left: 0 !important;
|
|
4429
|
+
padding-right: 0 !important;
|
|
4430
|
+
padding-right: initial !important;
|
|
4431
|
+
}
|
|
4424
4432
|
.tw-money-input .amount-currency-select-btn {
|
|
4425
4433
|
flex-shrink: 0;
|
|
4426
4434
|
width: auto;
|
|
@@ -4447,64 +4455,6 @@ button.np-link {
|
|
|
4447
4455
|
box-shadow: inset 0 0 0 1px #c9cbce !important;
|
|
4448
4456
|
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary) !important;
|
|
4449
4457
|
}
|
|
4450
|
-
.wds-amount-input-container {
|
|
4451
|
-
width: 100%;
|
|
4452
|
-
}
|
|
4453
|
-
.wds-amount-input-input-container {
|
|
4454
|
-
display: flex;
|
|
4455
|
-
justify-content: right;
|
|
4456
|
-
width: 100%;
|
|
4457
|
-
transition: font-size 0.4s cubic-bezier(0.3, 0, 0.1, 1), height 0.4s cubic-bezier(0.3, 0, 0.1, 1), margin-top 0.4s cubic-bezier(0.3, 0, 0.1, 1), color 0.4s ease;
|
|
4458
|
-
color: var(--color-interactive-primary);
|
|
4459
|
-
overflow: hidden;
|
|
4460
|
-
margin-bottom: 0 !important;
|
|
4461
|
-
}
|
|
4462
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4463
|
-
.wds-amount-input-input-container {
|
|
4464
|
-
transition: none;
|
|
4465
|
-
}
|
|
4466
|
-
}
|
|
4467
|
-
.wds-amount-input-input {
|
|
4468
|
-
border: none;
|
|
4469
|
-
outline: none;
|
|
4470
|
-
flex-grow: 1;
|
|
4471
|
-
text-align: right;
|
|
4472
|
-
background-color: transparent;
|
|
4473
|
-
}
|
|
4474
|
-
.wds-amount-input-input:focus-visible {
|
|
4475
|
-
outline: none;
|
|
4476
|
-
}
|
|
4477
|
-
.wds-amount-input-placeholder {
|
|
4478
|
-
flex-grow: 0;
|
|
4479
|
-
display: flex;
|
|
4480
|
-
align-items: center;
|
|
4481
|
-
}
|
|
4482
|
-
.wds-currency-selector:disabled {
|
|
4483
|
-
opacity: 1 !important;
|
|
4484
|
-
cursor: auto !important;
|
|
4485
|
-
cursor: initial !important;
|
|
4486
|
-
mix-blend-mode: initial !important;
|
|
4487
|
-
}
|
|
4488
|
-
.wds-chevron-container {
|
|
4489
|
-
width: 32px;
|
|
4490
|
-
width: var(--size-32);
|
|
4491
|
-
overflow: hidden;
|
|
4492
|
-
color: var(--color-interactive-primary);
|
|
4493
|
-
margin-left: 8px;
|
|
4494
|
-
margin-left: var(--size-8);
|
|
4495
|
-
transition: width 0.3s ease;
|
|
4496
|
-
}
|
|
4497
|
-
.wds-chevron-hidden {
|
|
4498
|
-
width: 0;
|
|
4499
|
-
}
|
|
4500
|
-
.wds-expressive-money-input-currency-selector {
|
|
4501
|
-
flex-shrink: 0;
|
|
4502
|
-
margin-right: 24px;
|
|
4503
|
-
margin-right: var(--size-24);
|
|
4504
|
-
}
|
|
4505
|
-
.wds-expressive-money-input-chevron {
|
|
4506
|
-
transform: translateY(-5%);
|
|
4507
|
-
}
|
|
4508
4458
|
.np-navigation-option {
|
|
4509
4459
|
-webkit-text-decoration: none;
|
|
4510
4460
|
text-decoration: none;
|
|
@@ -38,6 +38,14 @@
|
|
|
38
38
|
flex-shrink: 0;
|
|
39
39
|
width: auto;
|
|
40
40
|
}
|
|
41
|
+
.tw-money-input .input-group-addon:not(.amount-currency-select-btn):not(.tw-money-input__fixed-currency):not(:has(~ .tw-money-input__fixed-currency)) {
|
|
42
|
+
padding-right: 0 !important;
|
|
43
|
+
}
|
|
44
|
+
[dir="rtl"] .tw-money-input .input-group-addon:not(.amount-currency-select-btn):not(.tw-money-input__fixed-currency):not(:has(~ .tw-money-input__fixed-currency)) {
|
|
45
|
+
padding-left: 0 !important;
|
|
46
|
+
padding-right: 0 !important;
|
|
47
|
+
padding-right: initial !important;
|
|
48
|
+
}
|
|
41
49
|
.tw-money-input .amount-currency-select-btn {
|
|
42
50
|
flex-shrink: 0;
|
|
43
51
|
width: auto;
|
|
@@ -91,26 +91,26 @@
|
|
|
91
91
|
background-color: var(--color-sentiment-positive-secondary-active);
|
|
92
92
|
}
|
|
93
93
|
.wds-inline-prompt--proposition {
|
|
94
|
-
background-color:
|
|
95
|
-
color: var(--color-
|
|
94
|
+
background-color: var(--color-sentiment-positive-secondary);
|
|
95
|
+
color: var(--color-sentiment-positive-primary);
|
|
96
96
|
}
|
|
97
97
|
.wds-inline-prompt--proposition a,
|
|
98
98
|
.wds-inline-prompt--proposition button {
|
|
99
|
-
color: var(--color-
|
|
99
|
+
color: var(--color-sentiment-positive-primary);
|
|
100
100
|
}
|
|
101
101
|
.wds-inline-prompt--proposition a:hover,
|
|
102
102
|
.wds-inline-prompt--proposition button:hover {
|
|
103
|
-
color: var(--color-
|
|
103
|
+
color: var(--color-sentiment-positive-primary-hover);
|
|
104
104
|
}
|
|
105
105
|
.wds-inline-prompt--proposition a:active,
|
|
106
106
|
.wds-inline-prompt--proposition button:active {
|
|
107
|
-
color: var(--color-
|
|
107
|
+
color: var(--color-sentiment-positive-primary-active);
|
|
108
108
|
}
|
|
109
109
|
.wds-inline-prompt.wds-inline-prompt--proposition:has(a, button):hover {
|
|
110
|
-
background-color:
|
|
110
|
+
background-color: var(--color-sentiment-positive-secondary-hover);
|
|
111
111
|
}
|
|
112
112
|
.wds-inline-prompt.wds-inline-prompt--proposition:has(a, button):active {
|
|
113
|
-
background-color:
|
|
113
|
+
background-color: var(--color-sentiment-positive-secondary-active);
|
|
114
114
|
}
|
|
115
115
|
.wds-inline-prompt--neutral {
|
|
116
116
|
background-color: rgba(134,167,189,0.10196);
|
package/build/types/index.d.ts
CHANGED
|
@@ -40,7 +40,6 @@ export type { MarkdownProps } from './markdown';
|
|
|
40
40
|
export type { ModalProps } from './modal';
|
|
41
41
|
export type { MoneyProps } from './money';
|
|
42
42
|
export type { CurrencyHeaderItem, CurrencyItem, CurrencyOptionItem, MoneyInputProps, } from './moneyInput';
|
|
43
|
-
export type { ExpressiveMoneyInputProps } from './expressiveMoneyInput';
|
|
44
43
|
export type { NavigationOptionListProps } from './navigationOptionsList';
|
|
45
44
|
export type { NavigationOptionProps } from './navigationOption/NavigationOption';
|
|
46
45
|
export type { OverlayHeaderProps } from './overlayHeader';
|
|
@@ -134,7 +133,6 @@ export { default as Markdown } from './markdown';
|
|
|
134
133
|
export { default as Modal } from './modal';
|
|
135
134
|
export { default as Money } from './money';
|
|
136
135
|
export { default as MoneyInput } from './moneyInput';
|
|
137
|
-
export { default as ExpressiveMoneyInput } from './expressiveMoneyInput';
|
|
138
136
|
export { default as NavigationOption } from './navigationOption';
|
|
139
137
|
export { default as NavigationOptionsList } from './navigationOptionsList';
|
|
140
138
|
export { default as Nudge } from './nudge';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,YAAY,EAAE,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AEG;AACH,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEjD;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Sentiment } from '../../common';
|
|
2
2
|
export type InlinePromptProps = {
|
|
3
|
-
sentiment?: `${Sentiment.POSITIVE | Sentiment.NEGATIVE | Sentiment.NEUTRAL | Sentiment.WARNING}
|
|
3
|
+
sentiment?: `${Sentiment.POSITIVE | Sentiment.NEGATIVE | Sentiment.NEUTRAL | Sentiment.WARNING}`;
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
/**
|
|
6
6
|
* Use for short-lived inline prompts to avoid swap of the icon (which is bad UX for short-lived prompts, e.g. when submit form)
|
|
@@ -10,7 +10,6 @@ export type InlinePromptProps = {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
'data-testid'?: string;
|
|
12
12
|
children: React.ReactNode;
|
|
13
|
-
media?: React.ReactNode;
|
|
14
13
|
};
|
|
15
|
-
export declare const InlinePrompt: ({ sentiment, muted, loading, className, children,
|
|
14
|
+
export declare const InlinePrompt: ({ sentiment, muted, loading, className, children, ...rest }: InlinePromptProps) => import("react").JSX.Element;
|
|
16
15
|
//# sourceMappingURL=InlinePrompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlinePrompt.d.ts","sourceRoot":"","sources":["../../../../src/prompt/InlinePrompt/InlinePrompt.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOzC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"InlinePrompt.d.ts","sourceRoot":"","sources":["../../../../src/prompt/InlinePrompt/InlinePrompt.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOzC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,OAAO,GAAG,SAAS,CAAC,OAAO,EAAE,CAAC;IACjG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,6DAO1B,iBAAiB,gCA4BnB,CAAC"}
|
|
@@ -26,8 +26,6 @@ declare function customRender(ui: ReactElement, { locale, messages, ...renderOpt
|
|
|
26
26
|
"neptune.DateLookup.selected": string;
|
|
27
27
|
"neptune.DateLookup.twentyYears": string;
|
|
28
28
|
"neptune.DateLookup.year": string;
|
|
29
|
-
"neptune.ExpressiveMoneyInput.currency.search.placeholder": string;
|
|
30
|
-
"neptune.ExpressiveMoneyInput.currency.select.currency": string;
|
|
31
29
|
"neptune.FlowNavigation.back": string;
|
|
32
30
|
"neptune.Info.ariaLabel": string;
|
|
33
31
|
"neptune.Label.optional": string;
|
|
@@ -111,8 +109,6 @@ declare function customRenderHook(callback: () => unknown, { locale, messages }?
|
|
|
111
109
|
"neptune.DateLookup.selected": string;
|
|
112
110
|
"neptune.DateLookup.twentyYears": string;
|
|
113
111
|
"neptune.DateLookup.year": string;
|
|
114
|
-
"neptune.ExpressiveMoneyInput.currency.search.placeholder": string;
|
|
115
|
-
"neptune.ExpressiveMoneyInput.currency.select.currency": string;
|
|
116
112
|
"neptune.FlowNavigation.back": string;
|
|
117
113
|
"neptune.Info.ariaLabel": string;
|
|
118
114
|
"neptune.Label.optional": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test-utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAM,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,EAAc,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMxD;;;;GAIG;AACH,iBAAS,YAAY,CACnB,EAAE,EAAE,YAAY,EAChB,EAAE,MAAuB,EAAE,QAAa,EAAE,GAAG,aAAa,EAAE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test-utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAM,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,EAAc,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMxD;;;;GAIG;AACH,iBAAS,YAAY,CACnB,EAAE,EAAE,YAAY,EAChB,EAAE,MAAuB,EAAE,QAAa,EAAE,GAAG,aAAa,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAK,GAChE,UAAU,CAAC,OAAO,MAAM,CAAC,CAK3B;AAED;;;GAGG;AACH,iBAAS,gBAAgB,CACvB,QAAQ,EAAE,MAAM,OAAO,EACvB,EAAE,MAAuB,EAAE,QAAa,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAK,uEAKhD;AAED,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,gBAAgB,IAAI,UAAU,EAAE,SAAS,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transferwise/components",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-e556371",
|
|
4
4
|
"description": "Neptune React components",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -84,10 +84,10 @@
|
|
|
84
84
|
"storybook-addon-tag-badges": "^2.0.2",
|
|
85
85
|
"storybook-addon-test-codegen": "^2.0.1",
|
|
86
86
|
"framer-motion": "^12.23.22",
|
|
87
|
-
"@
|
|
87
|
+
"@transferwise/less-config": "3.1.2",
|
|
88
88
|
"@transferwise/neptune-css": "14.25.1",
|
|
89
|
-
"@wise/
|
|
90
|
-
"@
|
|
89
|
+
"@wise/components-theming": "1.7.0",
|
|
90
|
+
"@wise/wds-configs": "0.0.0"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
93
|
"@transferwise/icons": "^3.22.4",
|
package/src/i18n/en.json
CHANGED
|
@@ -16,8 +16,6 @@
|
|
|
16
16
|
"neptune.DateLookup.selected": "selected",
|
|
17
17
|
"neptune.DateLookup.twentyYears": "20 years",
|
|
18
18
|
"neptune.DateLookup.year": "year",
|
|
19
|
-
"neptune.ExpressiveMoneyInput.currency.search.placeholder": "Type a currency / country",
|
|
20
|
-
"neptune.ExpressiveMoneyInput.currency.select.currency": "Select currency",
|
|
21
19
|
"neptune.FlowNavigation.back": "back to previous step",
|
|
22
20
|
"neptune.Info.ariaLabel": "More information",
|
|
23
21
|
"neptune.Label.optional": "(Optional)",
|
package/src/index.ts
CHANGED
|
@@ -62,7 +62,6 @@ export type {
|
|
|
62
62
|
CurrencyOptionItem,
|
|
63
63
|
MoneyInputProps,
|
|
64
64
|
} from './moneyInput';
|
|
65
|
-
export type { ExpressiveMoneyInputProps } from './expressiveMoneyInput';
|
|
66
65
|
export type { NavigationOptionListProps } from './navigationOptionsList';
|
|
67
66
|
export type { NavigationOptionProps } from './navigationOption/NavigationOption';
|
|
68
67
|
export type { OverlayHeaderProps } from './overlayHeader';
|
|
@@ -189,7 +188,6 @@ export { default as Markdown } from './markdown';
|
|
|
189
188
|
export { default as Modal } from './modal';
|
|
190
189
|
export { default as Money } from './money';
|
|
191
190
|
export { default as MoneyInput } from './moneyInput';
|
|
192
|
-
export { default as ExpressiveMoneyInput } from './expressiveMoneyInput';
|
|
193
191
|
export { default as NavigationOption } from './navigationOption';
|
|
194
192
|
export { default as NavigationOptionsList } from './navigationOptionsList';
|
|
195
193
|
export { default as Nudge } from './nudge';
|