@wise/dynamic-flow-client 4.2.3 → 4.3.1
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.
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Size } from '@wise/dynamic-flow-types/build/next';
|
|
2
|
-
import type { LayoutComponent } from '../types';
|
|
2
|
+
import type { Align, LayoutComponent } from '../types';
|
|
3
3
|
export type ImageComponent = LayoutComponent & {
|
|
4
4
|
type: 'image';
|
|
5
|
+
align: Align;
|
|
5
6
|
content: ImageContent;
|
|
6
7
|
size: Size;
|
|
7
8
|
};
|
|
@@ -9,5 +10,5 @@ type ImageContent = {
|
|
|
9
10
|
accessibilityDescription?: string;
|
|
10
11
|
uri: string;
|
|
11
12
|
};
|
|
12
|
-
export declare const createImageComponent: (imageProps: Pick<ImageComponent, "uid" | "content" | "control" | "margin" | "size">) => ImageComponent;
|
|
13
|
+
export declare const createImageComponent: (imageProps: Pick<ImageComponent, "uid" | "align" | "content" | "control" | "margin" | "size">) => ImageComponent;
|
|
13
14
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ImageLayout } from '@wise/dynamic-flow-types/build/next';
|
|
2
|
-
export declare const imageLayoutToComponent: (uid: string, { accessibilityDescription, content, control, margin, size, text, url, }: ImageLayout) => import("../../components/ImageComponent").ImageComponent;
|
|
2
|
+
export declare const imageLayoutToComponent: (uid: string, { accessibilityDescription, align, content, control, margin, size, text, url, }: ImageLayout) => import("../../components/ImageComponent").ImageComponent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "Dynamic Flow web client",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -37,29 +37,29 @@
|
|
|
37
37
|
"@babel/preset-react": "7.26.3",
|
|
38
38
|
"@babel/preset-typescript": "7.26.0",
|
|
39
39
|
"@chromatic-com/storybook": "3.2.6",
|
|
40
|
-
"@formatjs/cli": "^6.6.
|
|
41
|
-
"@storybook/addon-a11y": "^8.6.
|
|
42
|
-
"@storybook/addon-actions": "^8.6.
|
|
43
|
-
"@storybook/addon-essentials": "^8.6.
|
|
44
|
-
"@storybook/addon-interactions": "^8.6.
|
|
45
|
-
"@storybook/addon-links": "^8.6.
|
|
40
|
+
"@formatjs/cli": "^6.6.2",
|
|
41
|
+
"@storybook/addon-a11y": "^8.6.8",
|
|
42
|
+
"@storybook/addon-actions": "^8.6.8",
|
|
43
|
+
"@storybook/addon-essentials": "^8.6.8",
|
|
44
|
+
"@storybook/addon-interactions": "^8.6.8",
|
|
45
|
+
"@storybook/addon-links": "^8.6.8",
|
|
46
46
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.5",
|
|
47
|
-
"@storybook/manager-api": "^8.6.
|
|
48
|
-
"@storybook/react": "^8.6.
|
|
49
|
-
"@storybook/react-webpack5": "^8.6.
|
|
50
|
-
"@storybook/test": "^8.6.
|
|
51
|
-
"@storybook/types": "^8.6.
|
|
47
|
+
"@storybook/manager-api": "^8.6.8",
|
|
48
|
+
"@storybook/react": "^8.6.8",
|
|
49
|
+
"@storybook/react-webpack5": "^8.6.8",
|
|
50
|
+
"@storybook/test": "^8.6.8",
|
|
51
|
+
"@storybook/types": "^8.6.8",
|
|
52
52
|
"@testing-library/dom": "10.4.0",
|
|
53
53
|
"@testing-library/jest-dom": "6.6.3",
|
|
54
54
|
"@testing-library/react": "16.2.0",
|
|
55
55
|
"@testing-library/user-event": "14.6.1",
|
|
56
|
-
"@transferwise/components": "46.94.
|
|
56
|
+
"@transferwise/components": "46.94.2",
|
|
57
57
|
"@transferwise/formatting": "^2.13.1",
|
|
58
58
|
"@transferwise/icons": "3.19.1",
|
|
59
|
-
"@transferwise/neptune-css": "14.
|
|
60
|
-
"@types/node": "22.13.
|
|
59
|
+
"@transferwise/neptune-css": "14.23.0",
|
|
60
|
+
"@types/node": "22.13.12",
|
|
61
61
|
"@types/jest": "29.5.14",
|
|
62
|
-
"@types/react": "18.3.
|
|
62
|
+
"@types/react": "18.3.20",
|
|
63
63
|
"@types/react-dom": "18.3.5",
|
|
64
64
|
"@types/react-intl": "3.0.0",
|
|
65
65
|
"@wise/art": "2.20.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"react": "18.3.1",
|
|
78
78
|
"react-dom": "18.3.1",
|
|
79
79
|
"react-intl": "6.8.9",
|
|
80
|
-
"storybook": "^8.6.
|
|
80
|
+
"storybook": "^8.6.8",
|
|
81
81
|
"stylelint": "16.16.0",
|
|
82
82
|
"stylelint-config-standard": "36.0.1",
|
|
83
83
|
"stylelint-no-unsupported-browser-features": "8.0.4",
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"tsx": "4.19.3",
|
|
86
86
|
"typescript": "5.8.2",
|
|
87
87
|
"webpack": "5.98.0",
|
|
88
|
-
"@wise/dynamic-flow-
|
|
89
|
-
"@wise/dynamic-flow-
|
|
88
|
+
"@wise/dynamic-flow-fixtures": "0.0.1",
|
|
89
|
+
"@wise/dynamic-flow-renderers": "0.0.0"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"@transferwise/components": "^46.92.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"classnames": "2.5.1",
|
|
103
103
|
"react-webcam": "^7.2.0",
|
|
104
104
|
"screenfull": "^5.2.0",
|
|
105
|
-
"@wise/dynamic-flow-types": "3.1.
|
|
105
|
+
"@wise/dynamic-flow-types": "3.1.1"
|
|
106
106
|
},
|
|
107
107
|
"scripts": {
|
|
108
108
|
"dev": "pnpm build:visual-tests && storybook dev -p 3003",
|