@wise/dynamic-flow-client-internal 5.24.0 → 5.25.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.
@@ -1,4 +1,4 @@
1
- import type { CallToAction, Media as MediaType } from '@wise/dynamic-flow-types/renderers';
1
+ import type { CallToAction, CreateCollectionRenderer, Media as MediaType } from '@wise/dynamic-flow-types/renderers';
2
2
  import type { Margin } from '@wise/dynamic-flow-types/spec';
3
3
  /**
4
4
  * We need to redefine these because @wise/dynamic-flow-renderers is a private package that
@@ -8,6 +8,7 @@ import type { Margin } from '@wise/dynamic-flow-types/spec';
8
8
  export declare const Header: HeaderComponentType;
9
9
  export declare const Media: MediaComponentType;
10
10
  export declare const getMargin: GetMarginType;
11
+ export declare const createCollectionRenderer: CreateCollectionRenderer;
11
12
  type GetMarginType = (size: Margin) => string;
12
13
  type HeaderComponentType = (props: {
13
14
  title?: string;
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/renderers.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,YAAY,EACZ,wBAAwB,EACxB,KAAK,IAAI,SAAS,EACnB,MAAM,oCAAoC,CAAC;AAC5C,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;AAC1D,eAAO,MAAM,wBAAwB,EAAE,wBAA2D,CAAC;AAEnG,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.24.0",
3
+ "version": "5.25.0",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -69,9 +69,9 @@
69
69
  "typescript": "npm:@typescript/typescript6@^6.0.2",
70
70
  "vite": "^8.1.5",
71
71
  "vitest": "^4.1.10",
72
- "@wise/dynamic-flow-fixtures": "0.0.1",
72
+ "@wise/dynamic-flow-types": "4.19.0",
73
73
  "@wise/dynamic-flow-renderers": "0.0.0",
74
- "@wise/dynamic-flow-types": "4.18.0"
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-client": "5.21.0",
88
- "@wise/dynamic-flow-types": "4.18.0"
87
+ "@wise/dynamic-flow-types": "4.19.0",
88
+ "@wise/dynamic-flow-client": "5.22.0"
89
89
  },
90
90
  "wise": {
91
91
  "platform": "wise-library",