@wise/dynamic-flow-client-internal 4.1.0 → 4.2.1-experimental-6bb6f02
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 +33 -0
- package/build/i18n/uk.json +33 -0
- package/build/main.js +33 -9
- package/build/main.mjs +39 -15
- package/package.json +25 -25
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"df.wise.ArraySchema.addItem": "Uložit",
|
|
3
|
+
"df.wise.ArraySchema.addItemTitle": "Add Item",
|
|
4
|
+
"df.wise.ArraySchema.editItem": "Uložit",
|
|
5
|
+
"df.wise.ArraySchema.maxItemsError": "Přidejte {maxItems} nebo méně.",
|
|
6
|
+
"df.wise.ArraySchema.minItemsError": "Přidejte alespoň {minItems}.",
|
|
7
|
+
"df.wise.ArraySchema.removeItem": "Odstranit",
|
|
8
|
+
"df.wise.ControlFeedback.maxLength": "Zadejte {maxLength} nebo méně znaků.",
|
|
9
|
+
"df.wise.ControlFeedback.maximum": "Zadejte číslo, které je {maximum} nebo menší.",
|
|
10
|
+
"df.wise.ControlFeedback.maximumDate": "Zadejte datum, které je v den nebo před {maximum}.",
|
|
11
|
+
"df.wise.ControlFeedback.minLength": "Zadejte alespoň {minLength} znaků.",
|
|
12
|
+
"df.wise.ControlFeedback.minimum": "Zadejte číslo, které je {minimum} nebo více.",
|
|
13
|
+
"df.wise.ControlFeedback.minimumDate": "Zadejte datum, které je v den nebo po {minimum}.",
|
|
14
|
+
"df.wise.ControlFeedback.pattern": "Zadejte to prosím ve správném formátu.",
|
|
15
|
+
"df.wise.ControlFeedback.patternDate": "Zadejte prosím datum ve správném formátu.",
|
|
16
|
+
"df.wise.ControlFeedback.required": "Vyplňte prosím toto pole.",
|
|
17
|
+
"df.wise.ControlFeedback.type": "Nesprávný typ",
|
|
18
|
+
"df.wise.DynamicParagraph.copied": "Zkopírováno do schránky",
|
|
19
|
+
"df.wise.DynamicParagraph.copy": "Kopírovat",
|
|
20
|
+
"df.wise.ErrorBoundary.errorAlert": "Něco se pokazilo.",
|
|
21
|
+
"df.wise.ErrorBoundary.retry": "Zkusit znovu",
|
|
22
|
+
"df.wise.ExternalConfirmation.cancel": "Zrušit",
|
|
23
|
+
"df.wise.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.",
|
|
24
|
+
"df.wise.ExternalConfirmation.open": "Open in new tab",
|
|
25
|
+
"df.wise.ExternalConfirmation.title": "Please confirm",
|
|
26
|
+
"df.wise.Help.ariaLabel": "Pro více informací klikněte sem.",
|
|
27
|
+
"df.wise.MultiSelect.summary": "{first} a {count} více",
|
|
28
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Pardon, tento soubor je příliš velký. Nahrajte prosím menší soubor.",
|
|
29
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Nahrajte {maxItems} nebo méně souborů.",
|
|
30
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Nahrajte prosím alespoň {minItems} soubor(y).",
|
|
31
|
+
"df.wise.PersistAsyncSchema.genericError": "Něco se pokazilo. Prosím, zkuste to znovu.",
|
|
32
|
+
"df.wise.SearchLayout.loading": "Načítání..."
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"df.wise.ArraySchema.addItem": "Заощаджуйте",
|
|
3
|
+
"df.wise.ArraySchema.addItemTitle": "Add Item",
|
|
4
|
+
"df.wise.ArraySchema.editItem": "Заощаджуйте",
|
|
5
|
+
"df.wise.ArraySchema.maxItemsError": "Додайте {maxItems} або менше.",
|
|
6
|
+
"df.wise.ArraySchema.minItemsError": "Додайте принаймні {minItems}.",
|
|
7
|
+
"df.wise.ArraySchema.removeItem": "Вилучити",
|
|
8
|
+
"df.wise.ControlFeedback.maxLength": "Будь ласка, введіть {maxLength} або менше символів.",
|
|
9
|
+
"df.wise.ControlFeedback.maximum": "Введіть число, що дорівнює {maximum}, або менше.",
|
|
10
|
+
"df.wise.ControlFeedback.maximumDate": "Введіть дату, що припадає на {maximum}, або ранішу.",
|
|
11
|
+
"df.wise.ControlFeedback.minLength": "Мінімальна кількість символів: {minLength}.",
|
|
12
|
+
"df.wise.ControlFeedback.minimum": "Введіть число, що дорівнює {minimum}, або більше.",
|
|
13
|
+
"df.wise.ControlFeedback.minimumDate": "Введіть дату, що припадає на {minimum}, або пізнішу.",
|
|
14
|
+
"df.wise.ControlFeedback.pattern": "Введіть значення в правильному форматі.",
|
|
15
|
+
"df.wise.ControlFeedback.patternDate": "Введіть дату в правильному форматі.",
|
|
16
|
+
"df.wise.ControlFeedback.required": "Заповніть це поле.",
|
|
17
|
+
"df.wise.ControlFeedback.type": "Неправильний тип",
|
|
18
|
+
"df.wise.DynamicParagraph.copied": "Скопійовано в буфер обміну",
|
|
19
|
+
"df.wise.DynamicParagraph.copy": "Копіювати",
|
|
20
|
+
"df.wise.ErrorBoundary.errorAlert": "Сталася помилка.",
|
|
21
|
+
"df.wise.ErrorBoundary.retry": "Повторити спробу",
|
|
22
|
+
"df.wise.ExternalConfirmation.cancel": "Скасувати",
|
|
23
|
+
"df.wise.ExternalConfirmation.description": "Підтвердьте, що ви бажаєте відкрити **{origin}** в новій вкладці браузера.",
|
|
24
|
+
"df.wise.ExternalConfirmation.open": "Відкрити в новій вкладці",
|
|
25
|
+
"df.wise.ExternalConfirmation.title": "Підтвердьте",
|
|
26
|
+
"df.wise.Help.ariaLabel": "Натисніть тут, щоб дізнатися більше.",
|
|
27
|
+
"df.wise.MultiSelect.summary": "{first} і ще {count}",
|
|
28
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Вибачте, але цей файл завеликий. Будь ласка, завантажте файл меншого розміру.",
|
|
29
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Будь ласка, завантажте {maxItems} або менше файлів.",
|
|
30
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Будь ласка, завантажте принаймні {minItems} файл(ів).",
|
|
31
|
+
"df.wise.PersistAsyncSchema.genericError": "Щось сталося. Спробуйте ще раз.",
|
|
32
|
+
"df.wise.SearchLayout.loading": "Завантаження…"
|
|
33
|
+
}
|
package/build/main.js
CHANGED
|
@@ -53201,14 +53201,31 @@ var DynamicIcon_default = DynamicIcon;
|
|
|
53201
53201
|
var import_components7 = require("@transferwise/components");
|
|
53202
53202
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
53203
53203
|
function NavigationOptionMedia({ icon, image }) {
|
|
53204
|
+
const iconNode = getIconNode(icon);
|
|
53205
|
+
const imageNode = getImageNode(image);
|
|
53206
|
+
if (imageNode) {
|
|
53207
|
+
if (iconNode) {
|
|
53208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_components7.AvatarView, { badge: { asset: iconNode }, children: imageNode });
|
|
53209
|
+
}
|
|
53210
|
+
return imageNode;
|
|
53211
|
+
}
|
|
53212
|
+
if (iconNode) {
|
|
53213
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_components7.AvatarView, { children: iconNode });
|
|
53214
|
+
}
|
|
53215
|
+
return null;
|
|
53216
|
+
}
|
|
53217
|
+
var getIconNode = (icon) => {
|
|
53204
53218
|
if (!isNullish(icon)) {
|
|
53205
53219
|
if ("name" in icon) {
|
|
53206
|
-
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
53220
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DynamicIcon_default, { name: icon.name });
|
|
53207
53221
|
}
|
|
53208
53222
|
if (icon.text) {
|
|
53209
|
-
return
|
|
53223
|
+
return icon.text;
|
|
53210
53224
|
}
|
|
53211
53225
|
}
|
|
53226
|
+
return null;
|
|
53227
|
+
};
|
|
53228
|
+
var getImageNode = (image) => {
|
|
53212
53229
|
if (image) {
|
|
53213
53230
|
const { accessibilityDescription, uri } = image;
|
|
53214
53231
|
if (!uri.startsWith("urn:")) {
|
|
@@ -53216,7 +53233,7 @@ function NavigationOptionMedia({ icon, image }) {
|
|
|
53216
53233
|
}
|
|
53217
53234
|
}
|
|
53218
53235
|
return null;
|
|
53219
|
-
}
|
|
53236
|
+
};
|
|
53220
53237
|
|
|
53221
53238
|
// ../renderers/src/DecisionRenderer.tsx
|
|
53222
53239
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
@@ -53233,7 +53250,7 @@ var DecisionRenderer = {
|
|
|
53233
53250
|
content: description,
|
|
53234
53251
|
disabled,
|
|
53235
53252
|
media: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(NavigationOptionMedia, { icon, image }),
|
|
53236
|
-
showMediaCircle:
|
|
53253
|
+
showMediaCircle: Boolean(icon),
|
|
53237
53254
|
showMediaAtAllSizes: true,
|
|
53238
53255
|
onClick
|
|
53239
53256
|
},
|
|
@@ -53492,13 +53509,13 @@ function getIconAvatar({ icon, image }) {
|
|
|
53492
53509
|
}
|
|
53493
53510
|
}
|
|
53494
53511
|
if (isFlagIcon2(icon)) {
|
|
53495
|
-
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_components13.
|
|
53512
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_components13.AvatarView, { size, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DynamicIcon_default, { name: icon.name }) });
|
|
53496
53513
|
}
|
|
53497
53514
|
if (isNamedIcon2(icon)) {
|
|
53498
53515
|
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DynamicIcon_default, { name: icon.name });
|
|
53499
53516
|
}
|
|
53500
53517
|
if (icon && "text" in icon) {
|
|
53501
|
-
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_components13.
|
|
53518
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_components13.AvatarView, { size, children: icon.text });
|
|
53502
53519
|
}
|
|
53503
53520
|
return null;
|
|
53504
53521
|
}
|
|
@@ -54936,7 +54953,7 @@ function BackButton({ title, onClick }) {
|
|
|
54936
54953
|
onClick,
|
|
54937
54954
|
children: [
|
|
54938
54955
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "sr-only", children: title }),
|
|
54939
|
-
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_components38.
|
|
54956
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_components38.AvatarView, { interactive: true, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_icons3.ArrowLeft, { size: "24" }) })
|
|
54940
54957
|
]
|
|
54941
54958
|
}
|
|
54942
54959
|
) });
|
|
@@ -55059,7 +55076,14 @@ var ListRenderer = {
|
|
|
55059
55076
|
items.map((props) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(DesignSystemListItem, __spreadValues({}, props), props.title))
|
|
55060
55077
|
] })
|
|
55061
55078
|
};
|
|
55062
|
-
var DesignSystemListItem = ({
|
|
55079
|
+
var DesignSystemListItem = ({
|
|
55080
|
+
title,
|
|
55081
|
+
subtitle,
|
|
55082
|
+
value,
|
|
55083
|
+
subvalue,
|
|
55084
|
+
icon,
|
|
55085
|
+
image
|
|
55086
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
55063
55087
|
"label",
|
|
55064
55088
|
{
|
|
55065
55089
|
className: (0, import_classnames6.default)("np-option p-a-2", {
|
|
@@ -55084,7 +55108,7 @@ var DesignSystemListItem = ({ title, subtitle, value, subvalue, icon, image }) =
|
|
|
55084
55108
|
);
|
|
55085
55109
|
var ListItemMedia = ({ icon, image }) => {
|
|
55086
55110
|
if (icon) {
|
|
55087
|
-
return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "circle circle-sm text-primary", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NavigationOptionMedia, { icon, image }) });
|
|
55111
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "circle circle-sm text-primary circle-inverse", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NavigationOptionMedia, { icon, image }) });
|
|
55088
55112
|
}
|
|
55089
55113
|
if (image) {
|
|
55090
55114
|
return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "np-option__no-media-circle", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NavigationOptionMedia, { icon, image }) });
|
package/build/main.mjs
CHANGED
|
@@ -53192,17 +53192,34 @@ function DynamicIcon({ name }) {
|
|
|
53192
53192
|
var DynamicIcon_default = DynamicIcon;
|
|
53193
53193
|
|
|
53194
53194
|
// ../renderers/src/components/icon/NavigationOptionMedia.tsx
|
|
53195
|
-
import {
|
|
53195
|
+
import { AvatarView } from "@transferwise/components";
|
|
53196
53196
|
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
53197
53197
|
function NavigationOptionMedia({ icon, image }) {
|
|
53198
|
+
const iconNode = getIconNode(icon);
|
|
53199
|
+
const imageNode = getImageNode(image);
|
|
53200
|
+
if (imageNode) {
|
|
53201
|
+
if (iconNode) {
|
|
53202
|
+
return /* @__PURE__ */ jsx30(AvatarView, { badge: { asset: iconNode }, children: imageNode });
|
|
53203
|
+
}
|
|
53204
|
+
return imageNode;
|
|
53205
|
+
}
|
|
53206
|
+
if (iconNode) {
|
|
53207
|
+
return /* @__PURE__ */ jsx30(AvatarView, { children: iconNode });
|
|
53208
|
+
}
|
|
53209
|
+
return null;
|
|
53210
|
+
}
|
|
53211
|
+
var getIconNode = (icon) => {
|
|
53198
53212
|
if (!isNullish(icon)) {
|
|
53199
53213
|
if ("name" in icon) {
|
|
53200
|
-
return /* @__PURE__ */ jsx30(
|
|
53214
|
+
return /* @__PURE__ */ jsx30(DynamicIcon_default, { name: icon.name });
|
|
53201
53215
|
}
|
|
53202
53216
|
if (icon.text) {
|
|
53203
|
-
return
|
|
53217
|
+
return icon.text;
|
|
53204
53218
|
}
|
|
53205
53219
|
}
|
|
53220
|
+
return null;
|
|
53221
|
+
};
|
|
53222
|
+
var getImageNode = (image) => {
|
|
53206
53223
|
if (image) {
|
|
53207
53224
|
const { accessibilityDescription, uri } = image;
|
|
53208
53225
|
if (!uri.startsWith("urn:")) {
|
|
@@ -53210,7 +53227,7 @@ function NavigationOptionMedia({ icon, image }) {
|
|
|
53210
53227
|
}
|
|
53211
53228
|
}
|
|
53212
53229
|
return null;
|
|
53213
|
-
}
|
|
53230
|
+
};
|
|
53214
53231
|
|
|
53215
53232
|
// ../renderers/src/DecisionRenderer.tsx
|
|
53216
53233
|
import { jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
@@ -53227,7 +53244,7 @@ var DecisionRenderer = {
|
|
|
53227
53244
|
content: description,
|
|
53228
53245
|
disabled,
|
|
53229
53246
|
media: /* @__PURE__ */ jsx31(NavigationOptionMedia, { icon, image }),
|
|
53230
|
-
showMediaCircle:
|
|
53247
|
+
showMediaCircle: Boolean(icon),
|
|
53231
53248
|
showMediaAtAllSizes: true,
|
|
53232
53249
|
onClick
|
|
53233
53250
|
},
|
|
@@ -53475,7 +53492,7 @@ var onWheel = (event) => {
|
|
|
53475
53492
|
};
|
|
53476
53493
|
|
|
53477
53494
|
// ../renderers/src/utils/getIconAvatar.tsx
|
|
53478
|
-
import {
|
|
53495
|
+
import { AvatarView as AvatarView2 } from "@transferwise/components";
|
|
53479
53496
|
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
53480
53497
|
var size = 24;
|
|
53481
53498
|
function getIconAvatar({ icon, image }) {
|
|
@@ -53486,13 +53503,13 @@ function getIconAvatar({ icon, image }) {
|
|
|
53486
53503
|
}
|
|
53487
53504
|
}
|
|
53488
53505
|
if (isFlagIcon2(icon)) {
|
|
53489
|
-
return /* @__PURE__ */ jsx41(
|
|
53506
|
+
return /* @__PURE__ */ jsx41(AvatarView2, { size, children: /* @__PURE__ */ jsx41(DynamicIcon_default, { name: icon.name }) });
|
|
53490
53507
|
}
|
|
53491
53508
|
if (isNamedIcon2(icon)) {
|
|
53492
53509
|
return /* @__PURE__ */ jsx41(DynamicIcon_default, { name: icon.name });
|
|
53493
53510
|
}
|
|
53494
53511
|
if (icon && "text" in icon) {
|
|
53495
|
-
return /* @__PURE__ */ jsx41(
|
|
53512
|
+
return /* @__PURE__ */ jsx41(AvatarView2, { size, children: icon.text });
|
|
53496
53513
|
}
|
|
53497
53514
|
return null;
|
|
53498
53515
|
}
|
|
@@ -53617,17 +53634,17 @@ function DFModal({ content, margin, trigger }) {
|
|
|
53617
53634
|
import { SelectInput, SelectInputOptionContent } from "@transferwise/components";
|
|
53618
53635
|
|
|
53619
53636
|
// ../renderers/src/SelectInputRenderer/OptionMedia.tsx
|
|
53620
|
-
import { Avatar as
|
|
53637
|
+
import { Avatar as Avatar2, AvatarType as AvatarType2 } from "@transferwise/components";
|
|
53621
53638
|
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
53622
53639
|
function OptionMedia({ icon, image }) {
|
|
53623
53640
|
if (image && !image.uri.startsWith("urn:")) {
|
|
53624
53641
|
return /* @__PURE__ */ jsx46("img", { src: image.uri, alt: image.accessibilityDescription || "", width: "64px" });
|
|
53625
53642
|
}
|
|
53626
53643
|
if (icon && "name" in icon) {
|
|
53627
|
-
return /* @__PURE__ */ jsx46(
|
|
53644
|
+
return /* @__PURE__ */ jsx46(Avatar2, { type: AvatarType2.ICON, children: /* @__PURE__ */ jsx46(DynamicIcon_default, { name: icon.name }) });
|
|
53628
53645
|
}
|
|
53629
53646
|
if (icon && "text" in icon) {
|
|
53630
|
-
return /* @__PURE__ */ jsx46(
|
|
53647
|
+
return /* @__PURE__ */ jsx46(Avatar2, { type: AvatarType2.INITIALS, children: icon.text });
|
|
53631
53648
|
}
|
|
53632
53649
|
return null;
|
|
53633
53650
|
}
|
|
@@ -54922,7 +54939,7 @@ var getReviewAction = (callToAction) => {
|
|
|
54922
54939
|
import { Alert as Alert2, Title } from "@transferwise/components";
|
|
54923
54940
|
|
|
54924
54941
|
// ../renderers/src/step/BackButton.tsx
|
|
54925
|
-
import {
|
|
54942
|
+
import { AvatarView as AvatarView3 } from "@transferwise/components";
|
|
54926
54943
|
import { ArrowLeft } from "@transferwise/icons";
|
|
54927
54944
|
import { jsx as jsx67, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
54928
54945
|
function BackButton({ title, onClick }) {
|
|
@@ -54936,7 +54953,7 @@ function BackButton({ title, onClick }) {
|
|
|
54936
54953
|
onClick,
|
|
54937
54954
|
children: [
|
|
54938
54955
|
/* @__PURE__ */ jsx67("span", { className: "sr-only", children: title }),
|
|
54939
|
-
/* @__PURE__ */ jsx67(
|
|
54956
|
+
/* @__PURE__ */ jsx67(AvatarView3, { interactive: true, children: /* @__PURE__ */ jsx67(ArrowLeft, { size: "24" }) })
|
|
54940
54957
|
]
|
|
54941
54958
|
}
|
|
54942
54959
|
) });
|
|
@@ -55059,7 +55076,14 @@ var ListRenderer = {
|
|
|
55059
55076
|
items.map((props) => /* @__PURE__ */ jsx70(DesignSystemListItem, __spreadValues({}, props), props.title))
|
|
55060
55077
|
] })
|
|
55061
55078
|
};
|
|
55062
|
-
var DesignSystemListItem = ({
|
|
55079
|
+
var DesignSystemListItem = ({
|
|
55080
|
+
title,
|
|
55081
|
+
subtitle,
|
|
55082
|
+
value,
|
|
55083
|
+
subvalue,
|
|
55084
|
+
icon,
|
|
55085
|
+
image
|
|
55086
|
+
}) => /* @__PURE__ */ jsx70(
|
|
55063
55087
|
"label",
|
|
55064
55088
|
{
|
|
55065
55089
|
className: (0, import_classnames6.default)("np-option p-a-2", {
|
|
@@ -55084,7 +55108,7 @@ var DesignSystemListItem = ({ title, subtitle, value, subvalue, icon, image }) =
|
|
|
55084
55108
|
);
|
|
55085
55109
|
var ListItemMedia = ({ icon, image }) => {
|
|
55086
55110
|
if (icon) {
|
|
55087
|
-
return /* @__PURE__ */ jsx70("div", { className: "circle circle-sm text-primary", children: /* @__PURE__ */ jsx70(NavigationOptionMedia, { icon, image }) });
|
|
55111
|
+
return /* @__PURE__ */ jsx70("div", { className: "circle circle-sm text-primary circle-inverse", children: /* @__PURE__ */ jsx70(NavigationOptionMedia, { icon, image }) });
|
|
55088
55112
|
}
|
|
55089
55113
|
if (image) {
|
|
55090
55114
|
return /* @__PURE__ */ jsx70("div", { className: "np-option__no-media-circle", children: /* @__PURE__ */ jsx70(NavigationOptionMedia, { icon, image }) });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "4.1
|
|
3
|
+
"version": "4.2.1-experimental-6bb6f02",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -30,29 +30,29 @@
|
|
|
30
30
|
"url": "git+https://github.com/transferwise/dynamic-flow.git"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@babel/core": "7.26.
|
|
33
|
+
"@babel/core": "7.26.9",
|
|
34
34
|
"@babel/plugin-syntax-flow": "7.26.0",
|
|
35
35
|
"@babel/plugin-transform-react-jsx": "7.25.9",
|
|
36
|
-
"@babel/preset-env": "7.26.
|
|
36
|
+
"@babel/preset-env": "7.26.9",
|
|
37
37
|
"@babel/preset-react": "7.26.3",
|
|
38
38
|
"@babel/preset-typescript": "7.26.0",
|
|
39
|
-
"@chromatic-com/storybook": "3.2.
|
|
40
|
-
"@formatjs/cli": "^6.
|
|
41
|
-
"@storybook/addon-a11y": "^8.
|
|
42
|
-
"@storybook/addon-actions": "^8.
|
|
43
|
-
"@storybook/addon-essentials": "^8.
|
|
44
|
-
"@storybook/addon-interactions": "^8.
|
|
45
|
-
"@storybook/addon-links": "^8.
|
|
39
|
+
"@chromatic-com/storybook": "3.2.5",
|
|
40
|
+
"@formatjs/cli": "^6.6.1",
|
|
41
|
+
"@storybook/addon-a11y": "^8.6.3",
|
|
42
|
+
"@storybook/addon-actions": "^8.6.3",
|
|
43
|
+
"@storybook/addon-essentials": "^8.6.3",
|
|
44
|
+
"@storybook/addon-interactions": "^8.6.3",
|
|
45
|
+
"@storybook/addon-links": "^8.6.3",
|
|
46
46
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.5",
|
|
47
|
-
"@storybook/react": "^8.
|
|
48
|
-
"@storybook/react-webpack5": "^8.
|
|
49
|
-
"@storybook/test": "^8.
|
|
47
|
+
"@storybook/react": "^8.6.3",
|
|
48
|
+
"@storybook/react-webpack5": "^8.6.3",
|
|
49
|
+
"@storybook/test": "^8.6.3",
|
|
50
50
|
"@testing-library/dom": "10.4.0",
|
|
51
51
|
"@testing-library/jest-dom": "6.6.3",
|
|
52
52
|
"@testing-library/react": "16.2.0",
|
|
53
53
|
"@testing-library/user-event": "14.6.1",
|
|
54
|
-
"@transferwise/components": "46.
|
|
55
|
-
"@transferwise/formatting": "^2.13.
|
|
54
|
+
"@transferwise/components": "46.94.0",
|
|
55
|
+
"@transferwise/formatting": "^2.13.1",
|
|
56
56
|
"@transferwise/icons": "3.18.0",
|
|
57
57
|
"@transferwise/neptune-css": "14.22.0",
|
|
58
58
|
"@types/jest": "29.5.14",
|
|
@@ -68,22 +68,22 @@
|
|
|
68
68
|
"jest-fetch-mock": "^3.0.3",
|
|
69
69
|
"jest-watch-typeahead": "^2.2.2",
|
|
70
70
|
"npm-run-all2": "7.0.2",
|
|
71
|
-
"postcss": "^8.5.
|
|
71
|
+
"postcss": "^8.5.3",
|
|
72
72
|
"postcss-cli": "^11.0.0",
|
|
73
73
|
"postcss-import": "^16.1.0",
|
|
74
74
|
"react": "18.3.1",
|
|
75
75
|
"react-dom": "18.3.1",
|
|
76
76
|
"react-intl": "6.8.9",
|
|
77
|
-
"storybook": "^8.
|
|
78
|
-
"stylelint": "16.
|
|
77
|
+
"storybook": "^8.6.3",
|
|
78
|
+
"stylelint": "16.15.0",
|
|
79
79
|
"stylelint-config-standard": "36.0.1",
|
|
80
|
-
"stylelint-no-unsupported-browser-features": "8.0.
|
|
80
|
+
"stylelint-no-unsupported-browser-features": "8.0.4",
|
|
81
81
|
"stylelint-value-no-unknown-custom-properties": "6.0.1",
|
|
82
|
-
"tsx": "4.19.
|
|
83
|
-
"typescript": "5.
|
|
84
|
-
"webpack": "5.
|
|
82
|
+
"tsx": "4.19.3",
|
|
83
|
+
"typescript": "5.8.2",
|
|
84
|
+
"webpack": "5.98.0",
|
|
85
85
|
"@wise/dynamic-flow-fixtures": "0.0.1",
|
|
86
|
-
"@wise/dynamic-flow-types": "3.
|
|
86
|
+
"@wise/dynamic-flow-types": "3.1.0-experimental-6bb6f02",
|
|
87
87
|
"@wise/dynamic-flow-renderers": "0.0.0"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
100
|
"classnames": "2.5.1",
|
|
101
|
-
"@wise/dynamic-flow-client": "4.0
|
|
102
|
-
"@wise/dynamic-flow-types": "3.
|
|
101
|
+
"@wise/dynamic-flow-client": "4.1.0-experimental-6bb6f02",
|
|
102
|
+
"@wise/dynamic-flow-types": "3.1.0-experimental-6bb6f02"
|
|
103
103
|
},
|
|
104
104
|
"scripts": {
|
|
105
105
|
"dev": "pnpm build:visual-tests && storybook dev -p 3005",
|