@wise/dynamic-flow-client-internal 5.17.0 → 5.18.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,6 +1,6 @@
1
1
  import type { DynamicFlowProps as DynamicFlowCoreProps } from '@wise/dynamic-flow-client';
2
2
  import { Prettify, MakeOptional } from './DynamicFlow';
3
- export type DynamicFlowWiseProps = Prettify<MakeOptional<Omit<DynamicFlowCoreProps, 'httpClient'>, 'renderers' | 'onLink'> & {
3
+ export type DynamicFlowWiseProps = Prettify<MakeOptional<Omit<DynamicFlowCoreProps, 'httpClient'>, 'renderers' | 'onLink' | 'onNotification'> & {
4
4
  className?: string;
5
5
  /**
6
6
  * @deprecated Use `features` prop with `hideStepTitle` instead.
@@ -1 +1 @@
1
- {"version":3,"file":"DynamicFlowWiseProps.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/DynamicFlowWiseProps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAE1F,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CACzC,YAAY,CAAC,IAAI,CAAC,oBAAoB,EAAE,YAAY,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC,GAAG;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IACjD,WAAW,CAAC,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;CAC/C,CACF,CAAC"}
1
+ {"version":3,"file":"DynamicFlowWiseProps.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/DynamicFlowWiseProps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAE1F,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CACzC,YAAY,CACV,IAAI,CAAC,oBAAoB,EAAE,YAAY,CAAC,EACxC,WAAW,GAAG,QAAQ,GAAG,gBAAgB,CAC1C,GAAG;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IACjD,WAAW,CAAC,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;CAC/C,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDFContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/dynamicFlow/context-menu/useDFContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAIlE,eAAO,MAAM,gBAAgB,GAAI,YAAY;IAC3C,cAAc,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IAClC,mBAAmB,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,CAAC;CACjD;;;CA8DA,CAAC"}
1
+ {"version":3,"file":"useDFContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/dynamicFlow/context-menu/useDFContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAIlE,eAAO,MAAM,gBAAgB,GAAI,YAAY;IAC3C,cAAc,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IAClC,mBAAmB,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,CAAC;CACjD;;;CAgEA,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { useSnackBarIfAvailable } from '@wise/dynamic-flow-renderers';
2
+ /**
3
+ * Wrapper around `useSnackBarIfAvailable` so tests can mock this module without
4
+ * mocking `@wise/dynamic-flow-renderers` directly.
5
+ */
6
+ export declare const useCreateSnackBar: () => ReturnType<typeof useSnackBarIfAvailable>;
7
+ //# sourceMappingURL=useCreateSnackBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCreateSnackBar.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/useCreateSnackBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAEtE;;;GAGG;AACH,eAAO,MAAM,iBAAiB,QAAO,UAAU,CAAC,OAAO,sBAAsB,CAG5E,CAAC"}
@@ -1,4 +1,4 @@
1
+ import type { DynamicFlowProps } from '@wise/dynamic-flow-client';
1
2
  import { DynamicFlowWiseProps } from './DynamicFlowWiseProps';
2
- import { DynamicFlowProps } from '@wise/dynamic-flow-client';
3
3
  export declare const useWiseToCoreProps: (props: DynamicFlowWiseProps) => DynamicFlowProps;
4
4
  //# sourceMappingURL=useWiseToCoreProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useWiseToCoreProps.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/useWiseToCoreProps.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAK9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,eAAO,MAAM,kBAAkB,GAAI,OAAO,oBAAoB,KAAG,gBA6BhE,CAAC"}
1
+ {"version":3,"file":"useWiseToCoreProps.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/useWiseToCoreProps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAO9D,eAAO,MAAM,kBAAkB,GAAI,OAAO,oBAAoB,KAAG,gBAiChE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client-internal",
3
- "version": "5.17.0",
3
+ "version": "5.18.1",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -31,46 +31,46 @@
31
31
  "url": "git+https://github.com/transferwise/dynamic-flow.git"
32
32
  },
33
33
  "devDependencies": {
34
- "@chromatic-com/storybook": "^5.1.2",
35
- "@formatjs/cli": "^6.14.4",
36
- "@storybook/addon-a11y": "^10.3.6",
37
- "@storybook/addon-docs": "^10.3.6",
38
- "@storybook/addon-links": "^10.3.6",
39
- "@storybook/react-vite": "^10.3.6",
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",
40
40
  "@testing-library/dom": "^10.4.1",
41
- "@vitejs/plugin-react": "^5.2.0",
42
41
  "@testing-library/jest-dom": "^6.9.1",
43
42
  "@testing-library/react": "^16.3.2",
44
43
  "@testing-library/user-event": "^14.6.1",
45
- "@transferwise/components": "^46.137.0",
44
+ "@transferwise/components": "^46.144.0",
46
45
  "@transferwise/formatting": "^2.14.1",
47
46
  "@transferwise/icons": "4.4.3",
48
- "@types/react": "^19.2.14",
47
+ "@types/react": "^19.2.15",
49
48
  "@types/react-dom": "^19.2.3",
50
- "@wise/art": "^2.30.1",
51
- "@wise/components-theming": "^1.10.1",
49
+ "@vitejs/plugin-react": "^5.2.0",
50
+ "@wise/art": "^2.30.3",
51
+ "@wise/components-theming": "^1.10.2",
52
52
  "esbuild": "^0.28.0",
53
- "eslint-plugin-storybook": "^10.3.6",
54
- "framer-motion": "^12.38.0",
53
+ "eslint-plugin-storybook": "^10.4.1",
54
+ "framer-motion": "^12.40.0",
55
55
  "npm-run-all2": "^8.0.4",
56
- "postcss": "^8.5.13",
56
+ "postcss": "^8.5.15",
57
57
  "postcss-cli": "^11.0.1",
58
58
  "postcss-import": "^16.1.1",
59
- "react": "19.2.5",
60
- "react-dom": "19.2.5",
61
- "react-intl": "6.8.9",
62
- "storybook": "^10.3.6",
59
+ "react": "19.2.6",
60
+ "react-dom": "19.2.6",
61
+ "react-intl": "7.1.14",
62
+ "storybook": "^10.4.1",
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.21.0",
67
+ "tsx": "^4.22.3",
68
68
  "typescript": "^5.9.3",
69
- "vite": "^8.0.10",
70
- "vitest": "^4.1.5",
71
- "@wise/dynamic-flow-fixtures": "0.0.1",
69
+ "vite": "^8.0.14",
70
+ "vitest": "^4.1.7",
71
+ "@wise/dynamic-flow-types": "4.15.1",
72
72
  "@wise/dynamic-flow-renderers": "0.0.0",
73
- "@wise/dynamic-flow-types": "4.14.0"
73
+ "@wise/dynamic-flow-fixtures": "0.0.1"
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.15.1",
87
- "@wise/dynamic-flow-types": "4.14.0"
86
+ "@wise/dynamic-flow-client": "5.16.1",
87
+ "@wise/dynamic-flow-types": "4.15.1"
88
88
  },
89
89
  "scripts": {
90
90
  "dev": "pnpm build:visual-tests && storybook dev -p 3005",