@wise/dynamic-flow-client-internal 5.21.0 → 5.21.2

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.
@@ -3,5 +3,5 @@ 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 function DynamicFlow(props: DynamicFlowWiseProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function DynamicFlow(props: DynamicFlowWiseProps): import("react").JSX.Element;
7
7
  //# sourceMappingURL=DynamicFlow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DynamicFlow.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/DynamicFlow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAElF,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAC;AAEP,wBAAgB,WAAW,CAAC,KAAK,EAAE,oBAAoB,2CAatD"}
1
+ {"version":3,"file":"DynamicFlow.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/DynamicFlow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAElF,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAC;AAEP,wBAAgB,WAAW,CAAC,KAAK,EAAE,oBAAoB,+BAatD"}
@@ -1,3 +1,3 @@
1
1
  import type { DynamicFlowWiseProps } from './DynamicFlowWiseProps';
2
- export declare function DynamicFlowModal(props: DynamicFlowWiseProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function DynamicFlowModal(props: DynamicFlowWiseProps): import("react").JSX.Element;
3
3
  //# sourceMappingURL=DynamicFlowModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DynamicFlowModal.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/DynamicFlowModal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,2CAa3D"}
1
+ {"version":3,"file":"DynamicFlowModal.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/DynamicFlowModal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,+BAa3D"}
@@ -8,7 +8,7 @@ export declare function useContextMenu({ title, items }: {
8
8
  items: MenuItem[];
9
9
  }): {
10
10
  onContextMenu: (event: ReactMouseEvent<HTMLDivElement>) => void;
11
- contextMenu: import("react/jsx-runtime").JSX.Element | null;
11
+ contextMenu: import("react").JSX.Element | null;
12
12
  };
13
13
  export {};
14
14
  //# sourceMappingURL=useContextMenu.d.ts.map
@@ -4,6 +4,6 @@ export declare const useDFContextMenu: (controller: {
4
4
  getSubmittableValue: () => Promise<JsonElement>;
5
5
  }) => {
6
6
  onContextMenu: (event: import("react").MouseEvent<HTMLDivElement>) => void;
7
- contextMenu: import("react/jsx-runtime").JSX.Element | null;
7
+ contextMenu: import("react").JSX.Element | null;
8
8
  };
9
9
  //# sourceMappingURL=useDFContextMenu.d.ts.map
@@ -6,11 +6,11 @@
6
6
  export declare const Header: ({ title, callToAction }: {
7
7
  title?: string;
8
8
  callToAction?: import("@wise/dynamic-flow-types/renderers").CallToAction;
9
- }) => "" | import("react/jsx-runtime").JSX.Element | undefined;
9
+ }) => "" | import("react").JSX.Element | undefined;
10
10
  export declare const Media: ({ media, preferAvatar, size }: {
11
11
  media: import("@wise/dynamic-flow-types/renderers").Media | undefined;
12
12
  preferAvatar?: boolean;
13
13
  size: 16 | 24 | 32 | 40 | 48 | 56 | 72;
14
- }) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | null | undefined;
14
+ }) => string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | null | undefined;
15
15
  export declare const getMargin: (size: import("@wise/dynamic-flow-types/spec").Margin) => "" | "m-b-0" | "m-b-1" | "m-b-2" | "m-b-3" | "m-b-5";
16
16
  //# sourceMappingURL=renderers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/renderers.tsx"],"names":[],"mappings":"AAMA;;;;GAIG;AAEH,eAAO,MAAM,MAAM;;;8DAAiB,CAAC;AACrC,eAAO,MAAM,KAAK;;;;6WAAgB,CAAC;AACnC,eAAO,MAAM,SAAS,gHAAoB,CAAC"}
1
+ {"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/renderers.tsx"],"names":[],"mappings":"AAMA;;;;GAIG;AAEH,eAAO,MAAM,MAAM;;;kDAAiB,CAAC;AACrC,eAAO,MAAM,KAAK;;;;iWAAgB,CAAC;AACnC,eAAO,MAAM,SAAS,gHAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getTrackEvent.d.ts","sourceRoot":"","sources":["../../../../src/dynamicFlow/telemetry/getTrackEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAA8B,MAAM,2BAA2B,CAAC;AAK9F,KAAK,OAAO,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAE3C,eAAO,MAAM,aAAa,GAAI,SAAS,OAAO,EAAE,aAAa,OAAO,KAAG,OAWtE,CAAC"}
1
+ {"version":3,"file":"getTrackEvent.d.ts","sourceRoot":"","sources":["../../../../src/dynamicFlow/telemetry/getTrackEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAA8B,MAAM,2BAA2B,CAAC;AAK9F,KAAK,OAAO,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAE3C,eAAO,MAAM,aAAa,GAAI,SAAS,OAAO,EAAE,aAAa,OAAO,KAAG,OAsBtE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type * as React from 'react';
2
2
  declare function NeptuneProviders({ children }: {
3
3
  children: React.ReactNode;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export default NeptuneProviders;
6
6
  //# sourceMappingURL=NeptuneProviders.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NeptuneProviders.d.ts","sourceRoot":"","sources":["../../../src/test-utils/NeptuneProviders.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AASpC,iBAAS,gBAAgB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAQpE;AAED,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"NeptuneProviders.d.ts","sourceRoot":"","sources":["../../../src/test-utils/NeptuneProviders.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AASpC,iBAAS,gBAAgB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,qBAQpE;AAED,eAAe,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client-internal",
3
- "version": "5.21.0",
3
+ "version": "5.21.2",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -32,45 +32,45 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@chromatic-com/storybook": "^5.2.1",
35
- "@formatjs/cli": "^6.16.3",
36
- "@storybook/addon-a11y": "^10.4.1",
37
- "@storybook/addon-docs": "^10.4.1",
38
- "@storybook/addon-links": "^10.4.1",
39
- "@storybook/react-vite": "^10.4.1",
35
+ "@formatjs/cli": "^6.16.11",
36
+ "@storybook/addon-a11y": "^10.4.6",
37
+ "@storybook/addon-docs": "^10.4.6",
38
+ "@storybook/addon-links": "^10.4.6",
39
+ "@storybook/react-vite": "^10.4.6",
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.150.0",
44
+ "@transferwise/components": "^46.152.0",
45
45
  "@transferwise/formatting": "^2.14.1",
46
46
  "@transferwise/icons": "4.4.4",
47
- "@types/react": "^19.2.15",
47
+ "@types/react": "^19.2.17",
48
48
  "@types/react-dom": "^19.2.3",
49
49
  "@vitejs/plugin-react": "^5.2.0",
50
50
  "@wise/art": "^2.31.1",
51
51
  "@wise/components-theming": "^1.10.3",
52
52
  "esbuild": "^0.28.1",
53
- "eslint-plugin-storybook": "^10.4.1",
54
- "framer-motion": "^12.40.0",
53
+ "eslint-plugin-storybook": "^10.4.6",
54
+ "framer-motion": "^12.42.2",
55
55
  "npm-run-all2": "^9.0.2",
56
- "postcss": "^8.5.15",
56
+ "postcss": "^8.5.16",
57
57
  "postcss-cli": "^11.0.1",
58
58
  "postcss-import": "^16.1.1",
59
- "react": "19.2.6",
60
- "react-dom": "19.2.6",
59
+ "react": "19.2.7",
60
+ "react-dom": "19.2.7",
61
61
  "react-intl": "7.1.14",
62
- "storybook": "^10.4.1",
62
+ "storybook": "^10.4.6",
63
63
  "stylelint": "^16.26.1",
64
64
  "stylelint-config-standard": "^36.0.1",
65
65
  "stylelint-no-unsupported-browser-features": "^8.1.1",
66
66
  "stylelint-value-no-unknown-custom-properties": "^6.1.1",
67
- "tsx": "^4.22.3",
67
+ "tsx": "^4.23.0",
68
68
  "typescript": "^5.9.3",
69
- "vite": "^8.0.16",
70
- "vitest": "^4.1.7",
69
+ "vite": "^8.1.3",
70
+ "vitest": "^4.1.9",
71
71
  "@wise/dynamic-flow-fixtures": "0.0.1",
72
- "@wise/dynamic-flow-renderers": "0.0.0",
73
- "@wise/dynamic-flow-types": "4.17.0"
72
+ "@wise/dynamic-flow-types": "4.17.1",
73
+ "@wise/dynamic-flow-renderers": "0.0.0"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "@transferwise/components": "^46.104.0",
@@ -83,8 +83,8 @@
83
83
  "react-intl": "^6 || ^7"
84
84
  },
85
85
  "dependencies": {
86
- "@wise/dynamic-flow-client": "5.18.0",
87
- "@wise/dynamic-flow-types": "4.17.0"
86
+ "@wise/dynamic-flow-client": "5.18.1",
87
+ "@wise/dynamic-flow-types": "4.17.1"
88
88
  },
89
89
  "scripts": {
90
90
  "dev": "pnpm build:visual-tests && storybook dev -p 3005",