@wise/dynamic-flow-client-internal 5.23.0-experimental-2dcb025 → 5.24.0-experimental-9265cac
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/main.css +33 -0
- package/build/main.js +112 -76
- package/build/main.mjs +185 -149
- package/build/tsconfig.types.tsbuildinfo +1 -1
- package/build/types/dynamicFlow/renderers.d.ts +16 -4
- package/build/types/dynamicFlow/renderers.d.ts.map +1 -1
- package/package.json +18 -18
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CallToAction, Media as MediaType } from '@wise/dynamic-flow-types/renderers';
|
|
2
|
+
import type { Margin } from '@wise/dynamic-flow-types/spec';
|
|
2
3
|
/**
|
|
3
4
|
* We need to redefine these because @wise/dynamic-flow-renderers is a private package that
|
|
4
5
|
* cannot be installed. There is likely a better solution, but until we find it we can
|
|
5
6
|
* redefine and re-export.
|
|
6
7
|
*/
|
|
7
|
-
export declare const Header:
|
|
8
|
-
export declare const Media:
|
|
9
|
-
export declare const getMargin:
|
|
8
|
+
export declare const Header: HeaderComponentType;
|
|
9
|
+
export declare const Media: MediaComponentType;
|
|
10
|
+
export declare const getMargin: GetMarginType;
|
|
11
|
+
type GetMarginType = (size: Margin) => string;
|
|
12
|
+
type HeaderComponentType = (props: {
|
|
13
|
+
title?: string;
|
|
14
|
+
callToAction?: CallToAction;
|
|
15
|
+
}) => React.ReactNode;
|
|
16
|
+
type MediaComponentType = (props: {
|
|
17
|
+
media: MediaType | undefined;
|
|
18
|
+
preferAvatar?: boolean;
|
|
19
|
+
size: 16 | 24 | 32 | 40 | 48 | 56 | 72;
|
|
20
|
+
}) => React.ReactNode;
|
|
21
|
+
export {};
|
|
10
22
|
//# sourceMappingURL=renderers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/renderers.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/renderers.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,mBAAoC,CAAC;AAC1D,eAAO,MAAM,KAAK,EAAE,kBAAkC,CAAC;AACvD,eAAO,MAAM,SAAS,EAAE,aAAiC,CAAC;AAE1D,KAAK,aAAa,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;AAE9C,KAAK,mBAAmB,GAAG,CAAC,KAAK,EAAE;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,KAAK,KAAK,CAAC,SAAS,CAAC;AAEtB,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE;IAChC,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;CACxC,KAAK,KAAK,CAAC,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.24.0-experimental-9265cac",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -32,46 +32,46 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@chromatic-com/storybook": "^5.2.1",
|
|
35
|
-
"@formatjs/cli": "^6.16.
|
|
36
|
-
"@storybook/addon-a11y": "^10.
|
|
37
|
-
"@storybook/addon-docs": "^10.
|
|
38
|
-
"@storybook/addon-links": "^10.
|
|
39
|
-
"@storybook/react-vite": "^10.
|
|
35
|
+
"@formatjs/cli": "^6.16.14",
|
|
36
|
+
"@storybook/addon-a11y": "^10.5.2",
|
|
37
|
+
"@storybook/addon-docs": "^10.5.2",
|
|
38
|
+
"@storybook/addon-links": "^10.5.2",
|
|
39
|
+
"@storybook/react-vite": "^10.5.2",
|
|
40
40
|
"@testing-library/dom": "^10.4.1",
|
|
41
41
|
"@testing-library/jest-dom": "^6.9.1",
|
|
42
42
|
"@testing-library/react": "^16.3.2",
|
|
43
43
|
"@testing-library/user-event": "^14.6.1",
|
|
44
|
-
"@transferwise/components": "^46.
|
|
44
|
+
"@transferwise/components": "^46.156.0",
|
|
45
45
|
"@transferwise/formatting": "^2.14.1",
|
|
46
46
|
"@transferwise/icons": "4.4.4",
|
|
47
47
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
48
48
|
"@types/react": "^19.2.17",
|
|
49
49
|
"@types/react-dom": "^19.2.3",
|
|
50
50
|
"@vitejs/plugin-react": "^5.2.0",
|
|
51
|
-
"@wise/art": "^2.
|
|
51
|
+
"@wise/art": "^2.32.0",
|
|
52
52
|
"@wise/components-theming": "^1.10.3",
|
|
53
53
|
"esbuild": "^0.28.1",
|
|
54
|
-
"eslint-plugin-storybook": "^10.
|
|
54
|
+
"eslint-plugin-storybook": "^10.5.2",
|
|
55
55
|
"framer-motion": "^12.42.2",
|
|
56
56
|
"npm-run-all2": "^9.0.2",
|
|
57
|
-
"postcss": "^8.5.
|
|
57
|
+
"postcss": "^8.5.19",
|
|
58
58
|
"postcss-cli": "^11.0.1",
|
|
59
59
|
"postcss-import": "^16.1.1",
|
|
60
60
|
"react": "19.2.7",
|
|
61
61
|
"react-dom": "19.2.7",
|
|
62
62
|
"react-intl": "7.1.14",
|
|
63
|
-
"storybook": "^10.
|
|
63
|
+
"storybook": "^10.5.2",
|
|
64
64
|
"stylelint": "^16.26.1",
|
|
65
65
|
"stylelint-config-standard": "^36.0.1",
|
|
66
66
|
"stylelint-no-unsupported-browser-features": "^8.1.1",
|
|
67
67
|
"stylelint-value-no-unknown-custom-properties": "^6.1.1",
|
|
68
|
-
"tsx": "^4.23.
|
|
68
|
+
"tsx": "^4.23.1",
|
|
69
69
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
70
|
-
"vite": "^8.1.
|
|
71
|
-
"vitest": "^4.1.
|
|
70
|
+
"vite": "^8.1.5",
|
|
71
|
+
"vitest": "^4.1.10",
|
|
72
72
|
"@wise/dynamic-flow-renderers": "0.0.0",
|
|
73
|
-
"@wise/dynamic-flow-
|
|
74
|
-
"@wise/dynamic-flow-
|
|
73
|
+
"@wise/dynamic-flow-types": "4.18.0-experimental-9265cac",
|
|
74
|
+
"@wise/dynamic-flow-fixtures": "0.0.1"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@transferwise/components": "^46.104.0",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"react-intl": "^6 || ^7"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@wise/dynamic-flow-
|
|
88
|
-
"@wise/dynamic-flow-
|
|
87
|
+
"@wise/dynamic-flow-client": "5.20.0-experimental-9265cac",
|
|
88
|
+
"@wise/dynamic-flow-types": "4.18.0-experimental-9265cac"
|
|
89
89
|
},
|
|
90
90
|
"wise": {
|
|
91
91
|
"platform": "wise-library",
|