@wise/dynamic-flow-types 2.26.1 → 2.28.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.
@@ -11,8 +11,11 @@ export type ReviewField = {
11
11
  help?: string;
12
12
  label: string;
13
13
  value: string;
14
+ rawValue?: string;
14
15
  };
15
16
  export type ReviewCallToAction = {
17
+ accessibilityDescription?: string;
18
+ href?: string;
16
19
  title: string;
17
20
  onClick: () => void;
18
21
  };
@@ -200,6 +200,7 @@ export type ReviewLayout = {
200
200
  callToAction?: {
201
201
  title: string;
202
202
  action: Action;
203
+ behavior?: Behavior;
203
204
  };
204
205
  };
205
206
  export type SearchLayout = SearchConfig & {
@@ -33,6 +33,12 @@ export type Help = {
33
33
  markdown: string;
34
34
  };
35
35
  export type Behavior = {
36
+ type: 'action';
37
+ action: Action;
38
+ } | {
39
+ type: 'link';
40
+ url: string;
41
+ } | {
36
42
  action?: Action;
37
43
  link?: Link;
38
44
  };