@wise/dynamic-flow-client-internal 5.2.0-exp-bits-29346f3 → 5.3.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.
- package/build/i18n/uk.json +3 -3
- package/build/main.css +6 -2
- package/build/main.js +42 -40
- package/build/main.mjs +39 -37
- package/build/types/dynamicFlow/DynamicFlow.d.ts +0 -1
- package/build/types/dynamicFlow/DynamicFlowWithRef.d.ts +1 -1
- package/package.json +13 -13
package/build/i18n/uk.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"df.wise.ArraySchema.addItem": "Зберегти",
|
|
3
|
-
"df.wise.ArraySchema.addItemTitle": "
|
|
3
|
+
"df.wise.ArraySchema.addItemTitle": "Додати позицію",
|
|
4
4
|
"df.wise.ArraySchema.editItem": "Зберегти",
|
|
5
5
|
"df.wise.ArraySchema.maxItemsError": "Додайте {maxItems} або менше.",
|
|
6
6
|
"df.wise.ArraySchema.minItemsError": "Додайте принаймні {minItems}.",
|
|
7
7
|
"df.wise.ArraySchema.removeItem": "Вилучити",
|
|
8
|
-
"df.wise.ButtonLayout.buttonLoadingMessage": "
|
|
8
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "Це може зайняти кілька секунд",
|
|
9
9
|
"df.wise.ControlFeedback.maxLength": "Максимальна кількість символів: {maxLength}.",
|
|
10
10
|
"df.wise.ControlFeedback.maximum": "Введіть число, що менше або дорівнює {maximum}.",
|
|
11
11
|
"df.wise.ControlFeedback.maximumDate": "Введіть дату, що припадає на {maximum}, або ранішу.",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"df.wise.SearchLayout.loading": "Завантаження…",
|
|
36
36
|
"df.wise.back.label": "Назад",
|
|
37
37
|
"df.wise.filter.noResults": "Нічого не знайдено",
|
|
38
|
-
"df.wise.filter.placeholder": "
|
|
38
|
+
"df.wise.filter.placeholder": "Почніть вводити текст для пошуку",
|
|
39
39
|
"df.wise.filter.results": "Результати пошуку",
|
|
40
40
|
"df.wise.group.all": "Усе",
|
|
41
41
|
"df.wise.group.currencies-with-account-details": "Валюти з реквізитами рахунків",
|
package/build/main.css
CHANGED
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
.df-box-renderer-width-lg {
|
|
15
15
|
width: 100%;
|
|
16
16
|
}
|
|
17
|
-
@media screen and (width >=
|
|
17
|
+
@media screen and (width >=768px) {
|
|
18
|
+
.df-box-renderer-border {
|
|
19
|
+
padding: var(--size-24);
|
|
20
|
+
}
|
|
21
|
+
|
|
18
22
|
.df-box-renderer-width-xs {
|
|
19
23
|
width: 33.33%;
|
|
20
24
|
}
|
|
@@ -31,7 +35,7 @@
|
|
|
31
35
|
width: 83.33%;
|
|
32
36
|
}
|
|
33
37
|
}
|
|
34
|
-
@media screen and (width >=
|
|
38
|
+
@media screen and (width >=990px) {
|
|
35
39
|
.df-box-renderer-width-xs {
|
|
36
40
|
width: 25%;
|
|
37
41
|
}
|
package/build/main.js
CHANGED
|
@@ -135,6 +135,9 @@ __export(index_exports, {
|
|
|
135
135
|
module.exports = __toCommonJS(index_exports);
|
|
136
136
|
var import_dynamic_flow_client3 = require("@wise/dynamic-flow-client");
|
|
137
137
|
|
|
138
|
+
// src/dynamicFlow/useDynamicFlowWise.tsx
|
|
139
|
+
var import_dynamic_flow_client = require("@wise/dynamic-flow-client");
|
|
140
|
+
|
|
138
141
|
// ../renderers/src/AlertRenderer.tsx
|
|
139
142
|
var import_components = require("@transferwise/components");
|
|
140
143
|
|
|
@@ -3727,13 +3730,12 @@ var getWiseRenderers = () => [
|
|
|
3727
3730
|
];
|
|
3728
3731
|
|
|
3729
3732
|
// src/dynamicFlow/useDynamicFlowWise.tsx
|
|
3730
|
-
var import_dynamic_flow_client = require("@wise/dynamic-flow-client");
|
|
3731
3733
|
var import_react21 = require("react");
|
|
3732
3734
|
|
|
3733
3735
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
3734
3736
|
var appVersion = (
|
|
3735
3737
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
3736
|
-
typeof process !== "undefined" ? "5.
|
|
3738
|
+
typeof process !== "undefined" ? "5.3.0" : "0.0.0"
|
|
3737
3739
|
);
|
|
3738
3740
|
|
|
3739
3741
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
@@ -3766,39 +3768,13 @@ var getTrackEvent = (onEvent, onAnalytics) => (name, properties) => {
|
|
|
3766
3768
|
}
|
|
3767
3769
|
};
|
|
3768
3770
|
|
|
3769
|
-
// src/dynamicFlow/useWiseHttpClient.tsx
|
|
3770
|
-
var import_react19 = require("react");
|
|
3771
|
-
var import_react_intl26 = require("react-intl");
|
|
3772
|
-
var useWiseHttpClient = (httpClient) => {
|
|
3773
|
-
const { locale } = (0, import_react_intl26.useIntl)();
|
|
3774
|
-
return (0, import_react19.useCallback)(
|
|
3775
|
-
async (input, init = {}) => {
|
|
3776
|
-
const headers = new Headers(init.headers);
|
|
3777
|
-
headers.set("accept-language", locale);
|
|
3778
|
-
const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone || void 0;
|
|
3779
|
-
if (timeZone) {
|
|
3780
|
-
headers.set("time-zone", timeZone);
|
|
3781
|
-
}
|
|
3782
|
-
const requestInit = __spreadProps(__spreadValues({}, init), { credentials: "include", headers });
|
|
3783
|
-
return httpClient(input, requestInit).catch(handleRejection);
|
|
3784
|
-
},
|
|
3785
|
-
[httpClient, locale]
|
|
3786
|
-
);
|
|
3787
|
-
};
|
|
3788
|
-
var handleRejection = (error) => {
|
|
3789
|
-
if (error instanceof Error && error.message === "SCA_MODAL_CLOSED") {
|
|
3790
|
-
return new Response(JSON.stringify({ validation: {} }), { status: 400 });
|
|
3791
|
-
}
|
|
3792
|
-
throw error;
|
|
3793
|
-
};
|
|
3794
|
-
|
|
3795
3771
|
// src/dynamicFlow/useOnCopy.tsx
|
|
3796
|
-
var
|
|
3797
|
-
var
|
|
3772
|
+
var import_react19 = require("react");
|
|
3773
|
+
var import_react_intl27 = require("react-intl");
|
|
3798
3774
|
|
|
3799
3775
|
// src/dynamicFlow/messages.ts
|
|
3800
|
-
var
|
|
3801
|
-
var messages_default = (0,
|
|
3776
|
+
var import_react_intl26 = require("react-intl");
|
|
3777
|
+
var messages_default = (0, import_react_intl26.defineMessages)({
|
|
3802
3778
|
copied: {
|
|
3803
3779
|
id: "df.wise.CopyFeedback.copy",
|
|
3804
3780
|
defaultMessage: "Copied to clipboard",
|
|
@@ -3813,9 +3789,9 @@ var messages_default = (0, import_react_intl27.defineMessages)({
|
|
|
3813
3789
|
|
|
3814
3790
|
// src/dynamicFlow/useOnCopy.tsx
|
|
3815
3791
|
var useOnCopy = () => {
|
|
3816
|
-
const { formatMessage } = (0,
|
|
3792
|
+
const { formatMessage } = (0, import_react_intl27.useIntl)();
|
|
3817
3793
|
const createSnackBar = useSnackBarIfAvailable();
|
|
3818
|
-
return (0,
|
|
3794
|
+
return (0, import_react19.useCallback)(
|
|
3819
3795
|
(copiedContent) => {
|
|
3820
3796
|
if (copiedContent) {
|
|
3821
3797
|
createSnackBar({ text: formatMessage(messages_default.copied) });
|
|
@@ -3827,7 +3803,34 @@ var useOnCopy = () => {
|
|
|
3827
3803
|
);
|
|
3828
3804
|
};
|
|
3829
3805
|
|
|
3806
|
+
// src/dynamicFlow/useWiseHttpClient.tsx
|
|
3807
|
+
var import_react20 = require("react");
|
|
3808
|
+
var import_react_intl28 = require("react-intl");
|
|
3809
|
+
var useWiseHttpClient = (httpClient) => {
|
|
3810
|
+
const { locale } = (0, import_react_intl28.useIntl)();
|
|
3811
|
+
return (0, import_react20.useCallback)(
|
|
3812
|
+
async (input, init = {}) => {
|
|
3813
|
+
const headers = new Headers(init.headers);
|
|
3814
|
+
headers.set("accept-language", locale);
|
|
3815
|
+
const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone || void 0;
|
|
3816
|
+
if (timeZone) {
|
|
3817
|
+
headers.set("time-zone", timeZone);
|
|
3818
|
+
}
|
|
3819
|
+
const requestInit = __spreadProps(__spreadValues({}, init), { credentials: "include", headers });
|
|
3820
|
+
return httpClient(input, requestInit).catch(handleRejection);
|
|
3821
|
+
},
|
|
3822
|
+
[httpClient, locale]
|
|
3823
|
+
);
|
|
3824
|
+
};
|
|
3825
|
+
var handleRejection = (error) => {
|
|
3826
|
+
if (error instanceof Error && error.message === "SCA_MODAL_CLOSED") {
|
|
3827
|
+
return new Response(JSON.stringify({ validation: {} }), { status: 400 });
|
|
3828
|
+
}
|
|
3829
|
+
throw error;
|
|
3830
|
+
};
|
|
3831
|
+
|
|
3830
3832
|
// src/dynamicFlow/useDynamicFlowWise.tsx
|
|
3833
|
+
var wiseRenderers = getWiseRenderers();
|
|
3831
3834
|
var useDynamicFlowWise = (props) => {
|
|
3832
3835
|
const {
|
|
3833
3836
|
customFetch = globalThis.fetch,
|
|
@@ -3866,11 +3869,10 @@ var openLinkInNewTab = (url) => {
|
|
|
3866
3869
|
|
|
3867
3870
|
// src/dynamicFlow/DynamicFlow.tsx
|
|
3868
3871
|
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
3869
|
-
var wiseRenderers = getWiseRenderers();
|
|
3870
3872
|
function DynamicFlow(props) {
|
|
3871
3873
|
const { className = "" } = props;
|
|
3872
3874
|
const df = useDynamicFlowWise(props);
|
|
3873
|
-
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className, children: df.
|
|
3875
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className, children: df.view });
|
|
3874
3876
|
}
|
|
3875
3877
|
|
|
3876
3878
|
// src/dynamicFlow/DynamicFlowWithRef.tsx
|
|
@@ -3884,13 +3886,13 @@ var DynamicFlowWithRef = (0, import_react22.forwardRef)(function DynamicFlowWith
|
|
|
3884
3886
|
() => ({
|
|
3885
3887
|
getValue: async () => {
|
|
3886
3888
|
var _a;
|
|
3887
|
-
return (_a = await df.getSubmittableValue()) != null ? _a : null;
|
|
3889
|
+
return (_a = await df.controller.getSubmittableValue()) != null ? _a : null;
|
|
3888
3890
|
},
|
|
3889
|
-
validate: () => df.validate()
|
|
3891
|
+
validate: () => df.controller.validate()
|
|
3890
3892
|
}),
|
|
3891
|
-
[]
|
|
3893
|
+
[df]
|
|
3892
3894
|
);
|
|
3893
|
-
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className, children: df.
|
|
3895
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className, children: df.view });
|
|
3894
3896
|
});
|
|
3895
3897
|
|
|
3896
3898
|
// src/index.ts
|
package/build/main.mjs
CHANGED
|
@@ -117,6 +117,9 @@ var require_classnames = __commonJS({
|
|
|
117
117
|
// src/index.ts
|
|
118
118
|
import { makeHttpClient } from "@wise/dynamic-flow-client";
|
|
119
119
|
|
|
120
|
+
// src/dynamicFlow/useDynamicFlowWise.tsx
|
|
121
|
+
import { useDynamicFlow } from "@wise/dynamic-flow-client";
|
|
122
|
+
|
|
120
123
|
// ../renderers/src/AlertRenderer.tsx
|
|
121
124
|
import { Alert } from "@transferwise/components";
|
|
122
125
|
|
|
@@ -3718,13 +3721,12 @@ var getWiseRenderers = () => [
|
|
|
3718
3721
|
];
|
|
3719
3722
|
|
|
3720
3723
|
// src/dynamicFlow/useDynamicFlowWise.tsx
|
|
3721
|
-
import { useDynamicFlow } from "@wise/dynamic-flow-client";
|
|
3722
3724
|
import { useMemo as useMemo2 } from "react";
|
|
3723
3725
|
|
|
3724
3726
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
3725
3727
|
var appVersion = (
|
|
3726
3728
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
3727
|
-
typeof process !== "undefined" ? "5.
|
|
3729
|
+
typeof process !== "undefined" ? "5.3.0" : "0.0.0"
|
|
3728
3730
|
);
|
|
3729
3731
|
|
|
3730
3732
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
@@ -3757,35 +3759,9 @@ var getTrackEvent = (onEvent, onAnalytics) => (name, properties) => {
|
|
|
3757
3759
|
}
|
|
3758
3760
|
};
|
|
3759
3761
|
|
|
3760
|
-
// src/dynamicFlow/
|
|
3762
|
+
// src/dynamicFlow/useOnCopy.tsx
|
|
3761
3763
|
import { useCallback } from "react";
|
|
3762
3764
|
import { useIntl as useIntl15 } from "react-intl";
|
|
3763
|
-
var useWiseHttpClient = (httpClient) => {
|
|
3764
|
-
const { locale } = useIntl15();
|
|
3765
|
-
return useCallback(
|
|
3766
|
-
async (input, init = {}) => {
|
|
3767
|
-
const headers = new Headers(init.headers);
|
|
3768
|
-
headers.set("accept-language", locale);
|
|
3769
|
-
const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone || void 0;
|
|
3770
|
-
if (timeZone) {
|
|
3771
|
-
headers.set("time-zone", timeZone);
|
|
3772
|
-
}
|
|
3773
|
-
const requestInit = __spreadProps(__spreadValues({}, init), { credentials: "include", headers });
|
|
3774
|
-
return httpClient(input, requestInit).catch(handleRejection);
|
|
3775
|
-
},
|
|
3776
|
-
[httpClient, locale]
|
|
3777
|
-
);
|
|
3778
|
-
};
|
|
3779
|
-
var handleRejection = (error) => {
|
|
3780
|
-
if (error instanceof Error && error.message === "SCA_MODAL_CLOSED") {
|
|
3781
|
-
return new Response(JSON.stringify({ validation: {} }), { status: 400 });
|
|
3782
|
-
}
|
|
3783
|
-
throw error;
|
|
3784
|
-
};
|
|
3785
|
-
|
|
3786
|
-
// src/dynamicFlow/useOnCopy.tsx
|
|
3787
|
-
import { useCallback as useCallback2 } from "react";
|
|
3788
|
-
import { useIntl as useIntl16 } from "react-intl";
|
|
3789
3765
|
|
|
3790
3766
|
// src/dynamicFlow/messages.ts
|
|
3791
3767
|
import { defineMessages as defineMessages12 } from "react-intl";
|
|
@@ -3804,9 +3780,9 @@ var messages_default = defineMessages12({
|
|
|
3804
3780
|
|
|
3805
3781
|
// src/dynamicFlow/useOnCopy.tsx
|
|
3806
3782
|
var useOnCopy = () => {
|
|
3807
|
-
const { formatMessage } =
|
|
3783
|
+
const { formatMessage } = useIntl15();
|
|
3808
3784
|
const createSnackBar = useSnackBarIfAvailable();
|
|
3809
|
-
return
|
|
3785
|
+
return useCallback(
|
|
3810
3786
|
(copiedContent) => {
|
|
3811
3787
|
if (copiedContent) {
|
|
3812
3788
|
createSnackBar({ text: formatMessage(messages_default.copied) });
|
|
@@ -3818,7 +3794,34 @@ var useOnCopy = () => {
|
|
|
3818
3794
|
);
|
|
3819
3795
|
};
|
|
3820
3796
|
|
|
3797
|
+
// src/dynamicFlow/useWiseHttpClient.tsx
|
|
3798
|
+
import { useCallback as useCallback2 } from "react";
|
|
3799
|
+
import { useIntl as useIntl16 } from "react-intl";
|
|
3800
|
+
var useWiseHttpClient = (httpClient) => {
|
|
3801
|
+
const { locale } = useIntl16();
|
|
3802
|
+
return useCallback2(
|
|
3803
|
+
async (input, init = {}) => {
|
|
3804
|
+
const headers = new Headers(init.headers);
|
|
3805
|
+
headers.set("accept-language", locale);
|
|
3806
|
+
const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone || void 0;
|
|
3807
|
+
if (timeZone) {
|
|
3808
|
+
headers.set("time-zone", timeZone);
|
|
3809
|
+
}
|
|
3810
|
+
const requestInit = __spreadProps(__spreadValues({}, init), { credentials: "include", headers });
|
|
3811
|
+
return httpClient(input, requestInit).catch(handleRejection);
|
|
3812
|
+
},
|
|
3813
|
+
[httpClient, locale]
|
|
3814
|
+
);
|
|
3815
|
+
};
|
|
3816
|
+
var handleRejection = (error) => {
|
|
3817
|
+
if (error instanceof Error && error.message === "SCA_MODAL_CLOSED") {
|
|
3818
|
+
return new Response(JSON.stringify({ validation: {} }), { status: 400 });
|
|
3819
|
+
}
|
|
3820
|
+
throw error;
|
|
3821
|
+
};
|
|
3822
|
+
|
|
3821
3823
|
// src/dynamicFlow/useDynamicFlowWise.tsx
|
|
3824
|
+
var wiseRenderers = getWiseRenderers();
|
|
3822
3825
|
var useDynamicFlowWise = (props) => {
|
|
3823
3826
|
const {
|
|
3824
3827
|
customFetch = globalThis.fetch,
|
|
@@ -3857,11 +3860,10 @@ var openLinkInNewTab = (url) => {
|
|
|
3857
3860
|
|
|
3858
3861
|
// src/dynamicFlow/DynamicFlow.tsx
|
|
3859
3862
|
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
3860
|
-
var wiseRenderers = getWiseRenderers();
|
|
3861
3863
|
function DynamicFlow(props) {
|
|
3862
3864
|
const { className = "" } = props;
|
|
3863
3865
|
const df = useDynamicFlowWise(props);
|
|
3864
|
-
return /* @__PURE__ */ jsx82("div", { className, children: df.
|
|
3866
|
+
return /* @__PURE__ */ jsx82("div", { className, children: df.view });
|
|
3865
3867
|
}
|
|
3866
3868
|
|
|
3867
3869
|
// src/dynamicFlow/DynamicFlowWithRef.tsx
|
|
@@ -3878,13 +3880,13 @@ var DynamicFlowWithRef = forwardRef(function DynamicFlowWithRef2(props, ref) {
|
|
|
3878
3880
|
() => ({
|
|
3879
3881
|
getValue: async () => {
|
|
3880
3882
|
var _a;
|
|
3881
|
-
return (_a = await df.getSubmittableValue()) != null ? _a : null;
|
|
3883
|
+
return (_a = await df.controller.getSubmittableValue()) != null ? _a : null;
|
|
3882
3884
|
},
|
|
3883
|
-
validate: () => df.validate()
|
|
3885
|
+
validate: () => df.controller.validate()
|
|
3884
3886
|
}),
|
|
3885
|
-
[]
|
|
3887
|
+
[df]
|
|
3886
3888
|
);
|
|
3887
|
-
return /* @__PURE__ */ jsx83("div", { className, children: df.
|
|
3889
|
+
return /* @__PURE__ */ jsx83("div", { className, children: df.view });
|
|
3888
3890
|
});
|
|
3889
3891
|
|
|
3890
3892
|
// src/index.ts
|
|
@@ -3,5 +3,4 @@ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>
|
|
|
3
3
|
export type Prettify<T> = {
|
|
4
4
|
[K in keyof T]: T[K];
|
|
5
5
|
} & {};
|
|
6
|
-
export declare const wiseRenderers: import("@wise/dynamic-flow-types/renderers").Renderers;
|
|
7
6
|
export declare function DynamicFlow(props: DynamicFlowProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,7 +16,7 @@ export type DynamicFlowRef = {
|
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* DynamicFlowWithRef is like DynamicFlow, but it also accepts a ForwardedRef.
|
|
19
|
-
* This ref conforms to the
|
|
19
|
+
* This ref conforms to the DynamicFlowRef type, containing two functions: `getValue` and `validate`.
|
|
20
20
|
* @experimental This component may be changed in the future without notice.
|
|
21
21
|
*/
|
|
22
22
|
export declare const DynamicFlowWithRef: ForwardRefExoticComponent<DynamicFlowWithRefProps & RefAttributes<DynamicFlowRef>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@chromatic-com/storybook": "4.1.3",
|
|
35
|
-
"@formatjs/cli": "^6.
|
|
35
|
+
"@formatjs/cli": "^6.11.0",
|
|
36
36
|
"@storybook/addon-a11y": "^10.1.11",
|
|
37
37
|
"@storybook/addon-docs": "^10.1.11",
|
|
38
38
|
"@storybook/addon-links": "^10.1.11",
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
"@testing-library/jest-dom": "6.9.1",
|
|
42
42
|
"@testing-library/react": "16.3.1",
|
|
43
43
|
"@testing-library/user-event": "14.6.1",
|
|
44
|
-
"@transferwise/components": "^46.
|
|
44
|
+
"@transferwise/components": "^46.121.1",
|
|
45
45
|
"@transferwise/formatting": "^2.13.4",
|
|
46
|
-
"@transferwise/icons": "4.0.
|
|
47
|
-
"@transferwise/neptune-css": "14.26.
|
|
46
|
+
"@transferwise/icons": "4.0.2",
|
|
47
|
+
"@transferwise/neptune-css": "14.26.1",
|
|
48
48
|
"@types/react": "18.3.27",
|
|
49
49
|
"@types/react-dom": "18.3.7",
|
|
50
|
-
"@wise/art": "2.
|
|
51
|
-
"@wise/components-theming": "^1.
|
|
50
|
+
"@wise/art": "2.26.0",
|
|
51
|
+
"@wise/components-theming": "^1.10.0",
|
|
52
52
|
"currency-flags": "4.0.7",
|
|
53
53
|
"esbuild": "0.27.0",
|
|
54
54
|
"eslint-plugin-storybook": "10.1.11",
|
|
55
|
-
"framer-motion": "^12.
|
|
55
|
+
"framer-motion": "^12.26.2",
|
|
56
56
|
"npm-run-all2": "8.0.4",
|
|
57
57
|
"postcss": "^8.5.6",
|
|
58
58
|
"postcss-cli": "^11.0.1",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"stylelint-value-no-unknown-custom-properties": "6.1.0",
|
|
68
68
|
"tsx": "4.21.0",
|
|
69
69
|
"typescript": "5.9.3",
|
|
70
|
-
"vitest": "4.0.
|
|
70
|
+
"vitest": "4.0.17",
|
|
71
71
|
"vitest-fetch-mock": "0.4.5",
|
|
72
|
-
"@wise/dynamic-flow-fixtures": "0.0.1",
|
|
73
72
|
"@wise/dynamic-flow-renderers": "0.0.0",
|
|
74
|
-
"@wise/dynamic-flow-
|
|
73
|
+
"@wise/dynamic-flow-fixtures": "0.0.1",
|
|
74
|
+
"@wise/dynamic-flow-types": "4.4.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@transferwise/components": "^46.104.0",
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"react-intl": "^6"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@wise/dynamic-flow-client": "5.
|
|
89
|
-
"@wise/dynamic-flow-types": "4.
|
|
88
|
+
"@wise/dynamic-flow-client": "5.3.0",
|
|
89
|
+
"@wise/dynamic-flow-types": "4.4.0"
|
|
90
90
|
},
|
|
91
91
|
"scripts": {
|
|
92
92
|
"dev": "pnpm build:visual-tests && storybook dev -p 3005",
|