@wise/dynamic-flow-client 4.18.5 → 4.19.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.
Files changed (78) hide show
  1. package/build/main.css +1 -1
  2. package/build/main.js +352 -112
  3. package/build/main.mjs +352 -112
  4. package/build/types/revamp/domain/components/AlertComponent.d.ts +1 -1
  5. package/build/types/revamp/domain/components/AllOfComponent.d.ts +1 -1
  6. package/build/types/revamp/domain/components/BooleanInputComponent.d.ts +1 -1
  7. package/build/types/revamp/domain/components/BoxComponent.d.ts +1 -1
  8. package/build/types/revamp/domain/components/ButtonComponent.d.ts +1 -1
  9. package/build/types/revamp/domain/components/ColumnsComponent.d.ts +1 -1
  10. package/build/types/revamp/domain/components/ConstComponent.d.ts +1 -1
  11. package/build/types/revamp/domain/components/DateInputComponent.d.ts +1 -1
  12. package/build/types/revamp/domain/components/DecisionComponent.d.ts +2 -2
  13. package/build/types/revamp/domain/components/DividerComponent.d.ts +1 -1
  14. package/build/types/revamp/domain/components/FormComponent.d.ts +1 -1
  15. package/build/types/revamp/domain/components/HeadingComponent.d.ts +1 -1
  16. package/build/types/revamp/domain/components/ImageComponent.d.ts +1 -1
  17. package/build/types/revamp/domain/components/InstructionsComponent.d.ts +2 -2
  18. package/build/types/revamp/domain/components/IntegerInputComponent.d.ts +1 -1
  19. package/build/types/revamp/domain/components/ListComponent.d.ts +3 -2
  20. package/build/types/revamp/domain/components/LoadingIndicatorComponent.d.ts +1 -1
  21. package/build/types/revamp/domain/components/MarkdownComponent.d.ts +1 -1
  22. package/build/types/revamp/domain/components/ModalComponent.d.ts +2 -1
  23. package/build/types/revamp/domain/components/ModalLayoutComponent.d.ts +1 -1
  24. package/build/types/revamp/domain/components/MultiSelectInputComponent.d.ts +1 -1
  25. package/build/types/revamp/domain/components/MultiUploadInputComponent.d.ts +1 -1
  26. package/build/types/revamp/domain/components/NumberInputComponent.d.ts +1 -1
  27. package/build/types/revamp/domain/components/ObjectComponent.d.ts +1 -1
  28. package/build/types/revamp/domain/components/ParagraphComponent.d.ts +1 -1
  29. package/build/types/revamp/domain/components/PersistAsyncComponent.d.ts +1 -1
  30. package/build/types/revamp/domain/components/ProgressComponent.d.ts +1 -1
  31. package/build/types/revamp/domain/components/RepeatableComponent.d.ts +1 -1
  32. package/build/types/revamp/domain/components/ReviewComponent.d.ts +2 -2
  33. package/build/types/revamp/domain/components/SectionComponent.d.ts +1 -1
  34. package/build/types/revamp/domain/components/SelectInputComponent.d.ts +2 -1
  35. package/build/types/revamp/domain/components/StatusListComponent.d.ts +2 -2
  36. package/build/types/revamp/domain/components/TabsComponent.d.ts +2 -2
  37. package/build/types/revamp/domain/components/TextInputComponent.d.ts +1 -1
  38. package/build/types/revamp/domain/components/TupleComponent.d.ts +1 -1
  39. package/build/types/revamp/domain/components/UploadInputComponent.d.ts +1 -1
  40. package/build/types/revamp/domain/components/searchComponent/SearchComponent.d.ts +1 -1
  41. package/build/types/revamp/domain/components/step/StepDomainComponent.d.ts +2 -1
  42. package/build/types/revamp/domain/components/step/ToolbarComponent.d.ts +3 -1
  43. package/build/types/revamp/domain/mappers/layout/alertLayoutToComponent.d.ts +1 -1
  44. package/build/types/revamp/domain/mappers/layout/boxLayoutToComponents.d.ts +1 -1
  45. package/build/types/revamp/domain/mappers/layout/columnsLayoutToComponent.d.ts +1 -1
  46. package/build/types/revamp/domain/mappers/layout/decisionLayoutToComponent.d.ts +1 -1
  47. package/build/types/revamp/domain/mappers/layout/deprecatedListLayoutToComponent.d.ts +1 -1
  48. package/build/types/revamp/domain/mappers/layout/dividerLayoutToComponent.d.ts +1 -1
  49. package/build/types/revamp/domain/mappers/layout/formLayoutToComponent.d.ts +1 -1
  50. package/build/types/revamp/domain/mappers/layout/headingLayoutToComponent.d.ts +1 -1
  51. package/build/types/revamp/domain/mappers/layout/imageLayoutToComponent.d.ts +1 -1
  52. package/build/types/revamp/domain/mappers/layout/infoLayoutToComponent.d.ts +1 -1
  53. package/build/types/revamp/domain/mappers/layout/instructionsLayoutToComponent.d.ts +1 -1
  54. package/build/types/revamp/domain/mappers/layout/listLayoutToComponent.d.ts +1 -1
  55. package/build/types/revamp/domain/mappers/layout/loadingIndicatorLayoutToComponent.d.ts +1 -1
  56. package/build/types/revamp/domain/mappers/layout/markdownLayoutToComponent.d.ts +1 -1
  57. package/build/types/revamp/domain/mappers/layout/modalLayoutToComponent.d.ts +1 -1
  58. package/build/types/revamp/domain/mappers/layout/paragraphLayoutToComponent.d.ts +1 -1
  59. package/build/types/revamp/domain/mappers/layout/progressLayoutToComponent.d.ts +1 -1
  60. package/build/types/revamp/domain/mappers/layout/reviewLayoutToComponent.d.ts +1 -1
  61. package/build/types/revamp/domain/mappers/layout/searchLayoutToComponent.d.ts +1 -1
  62. package/build/types/revamp/domain/mappers/layout/sectionLayoutToComponent.d.ts +1 -1
  63. package/build/types/revamp/domain/mappers/layout/statusListLayoutToComponent.d.ts +1 -1
  64. package/build/types/revamp/domain/mappers/layout/tabsLayoutToComponent.d.ts +1 -1
  65. package/build/types/revamp/domain/mappers/schema/oneOfSchemaToComponent/oneOfSchemaToComponent.d.ts +14 -0
  66. package/build/types/revamp/domain/mappers/schema/persistAsyncSchemaToComponent.d.ts +14 -0
  67. package/build/types/revamp/domain/mappers/schema/utils/mapCommonSchemaProps.d.ts +1 -0
  68. package/build/types/revamp/domain/mappers/utils/suggestions-utils.d.ts +1 -0
  69. package/build/types/revamp/domain/mappers/utils/tags-utils.d.ts +4 -0
  70. package/build/types/revamp/domain/types.d.ts +4 -2
  71. package/build/types/revamp/renderers/mappers/columnsComponentToProps.d.ts +1 -1
  72. package/build/types/revamp/renderers/mappers/dateInputComponentToProps.d.ts +1 -1
  73. package/build/types/revamp/renderers/mappers/textInputComponentToProps.d.ts +1 -1
  74. package/build/types/revamp/renderers/mappers/utils/inputComponentToProps.d.ts +1 -0
  75. package/build/types/revamp/renderers/mappers/utils/mapSuggestions.d.ts +12 -0
  76. package/build/types/revamp/renderers/mappers/utils/mapTags.d.ts +8 -0
  77. package/build/types/revamp/tests/renderers/StepRenderer.test.d.ts +1 -0
  78. package/package.json +19 -19
@@ -11,6 +11,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
11
11
  hidden: boolean;
12
12
  media?: import("../../../types").Media;
13
13
  title?: string;
14
+ tags?: string[];
14
15
  getLocalValue: () => import("../../../types").LocalValue;
15
16
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
16
17
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -37,6 +38,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
37
38
  hidden: boolean;
38
39
  media?: import("../../../types").Media;
39
40
  title?: string;
41
+ tags?: string[];
40
42
  getLocalValue: () => import("../../../types").LocalValue;
41
43
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
42
44
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -59,6 +61,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
59
61
  hidden: boolean;
60
62
  media?: import("../../../types").Media;
61
63
  title?: string;
64
+ tags?: string[];
62
65
  getLocalValue: () => boolean;
63
66
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
64
67
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -92,6 +95,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
92
95
  hidden: boolean;
93
96
  media?: import("../../../types").Media;
94
97
  title?: string;
98
+ tags?: string[];
95
99
  getLocalValue: () => import("../../../types").LocalValue;
96
100
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
97
101
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -112,6 +116,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
112
116
  hidden: boolean;
113
117
  media?: import("../../../types").Media;
114
118
  title?: string;
119
+ tags?: string[];
115
120
  getLocalValue: () => string | null;
116
121
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
117
122
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -148,6 +153,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
148
153
  hidden: boolean;
149
154
  media?: import("../../../types").Media;
150
155
  title?: string;
156
+ tags?: string[];
151
157
  getLocalValue: () => number | null;
152
158
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
153
159
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -183,6 +189,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
183
189
  hidden: boolean;
184
190
  media?: import("../../../types").Media;
185
191
  title?: string;
192
+ tags?: string[];
186
193
  getLocalValue: () => import("../../../types").LocalValueArray | null;
187
194
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
188
195
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -223,6 +230,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
223
230
  hidden: boolean;
224
231
  media?: import("../../../types").Media;
225
232
  title?: string;
233
+ tags?: string[];
226
234
  getLocalValue: () => File[];
227
235
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
228
236
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -272,6 +280,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
272
280
  hidden: boolean;
273
281
  media?: import("../../../types").Media;
274
282
  title?: string;
283
+ tags?: string[];
275
284
  getLocalValue: () => number | null;
276
285
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
277
286
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -307,6 +316,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
307
316
  hidden: boolean;
308
317
  media?: import("../../../types").Media;
309
318
  title?: string;
319
+ tags?: string[];
310
320
  getLocalValue: () => import("../../../types").LocalValueObject;
311
321
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
312
322
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -329,6 +339,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
329
339
  hidden: boolean;
330
340
  media?: import("../../../types").Media;
331
341
  title?: string;
342
+ tags?: string[];
332
343
  getLocalValue: () => import("../../../types").LocalValueArray;
333
344
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
334
345
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -364,6 +375,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
364
375
  hidden: boolean;
365
376
  media?: import("../../../types").Media;
366
377
  title?: string;
378
+ tags?: string[];
367
379
  getLocalValue: () => string | null;
368
380
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
369
381
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -402,6 +414,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
402
414
  hidden: boolean;
403
415
  media?: import("../../../types").Media;
404
416
  title?: string;
417
+ tags?: string[];
405
418
  getLocalValue: () => import("../../../types").LocalValueArray;
406
419
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
407
420
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -424,6 +437,7 @@ export declare const oneOfSchemaToComponent: (schemaMapperProps: SchemaMapperPro
424
437
  hidden: boolean;
425
438
  media?: import("../../../types").Media;
426
439
  title?: string;
440
+ tags?: string[];
427
441
  getLocalValue: () => File | null;
428
442
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
429
443
  getSummary: () => import("../../../types").RepeatableSummary;
@@ -12,6 +12,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
12
12
  hidden: boolean;
13
13
  media?: import("../../types").Media;
14
14
  title?: string;
15
+ tags?: string[];
15
16
  getLocalValue: () => import("../../types").LocalValue;
16
17
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
17
18
  getSummary: () => import("../../types").RepeatableSummary;
@@ -34,6 +35,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
34
35
  hidden: boolean;
35
36
  media?: import("../../types").Media;
36
37
  title?: string;
38
+ tags?: string[];
37
39
  getLocalValue: () => boolean;
38
40
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
39
41
  getSummary: () => import("../../types").RepeatableSummary;
@@ -67,6 +69,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
67
69
  hidden: boolean;
68
70
  media?: import("../../types").Media;
69
71
  title?: string;
72
+ tags?: string[];
70
73
  getLocalValue: () => import("../../types").LocalValue;
71
74
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
72
75
  getSummary: () => import("../../types").RepeatableSummary;
@@ -87,6 +90,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
87
90
  hidden: boolean;
88
91
  media?: import("../../types").Media;
89
92
  title?: string;
93
+ tags?: string[];
90
94
  getLocalValue: () => string | null;
91
95
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
92
96
  getSummary: () => import("../../types").RepeatableSummary;
@@ -123,6 +127,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
123
127
  hidden: boolean;
124
128
  media?: import("../../types").Media;
125
129
  title?: string;
130
+ tags?: string[];
126
131
  getLocalValue: () => number | null;
127
132
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
128
133
  getSummary: () => import("../../types").RepeatableSummary;
@@ -158,6 +163,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
158
163
  hidden: boolean;
159
164
  media?: import("../../types").Media;
160
165
  title?: string;
166
+ tags?: string[];
161
167
  getLocalValue: () => import("../../types").LocalValueArray | null;
162
168
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
163
169
  getSummary: () => import("../../types").RepeatableSummary;
@@ -198,6 +204,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
198
204
  hidden: boolean;
199
205
  media?: import("../../types").Media;
200
206
  title?: string;
207
+ tags?: string[];
201
208
  getLocalValue: () => File[];
202
209
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
203
210
  getSummary: () => import("../../types").RepeatableSummary;
@@ -247,6 +254,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
247
254
  hidden: boolean;
248
255
  media?: import("../../types").Media;
249
256
  title?: string;
257
+ tags?: string[];
250
258
  getLocalValue: () => number | null;
251
259
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
252
260
  getSummary: () => import("../../types").RepeatableSummary;
@@ -282,6 +290,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
282
290
  hidden: boolean;
283
291
  media?: import("../../types").Media;
284
292
  title?: string;
293
+ tags?: string[];
285
294
  getLocalValue: () => import("../../types").LocalValueObject;
286
295
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
287
296
  getSummary: () => import("../../types").RepeatableSummary;
@@ -304,6 +313,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
304
313
  hidden: boolean;
305
314
  media?: import("../../types").Media;
306
315
  title?: string;
316
+ tags?: string[];
307
317
  getLocalValue: () => import("../../types").LocalValueArray;
308
318
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
309
319
  getSummary: () => import("../../types").RepeatableSummary;
@@ -339,6 +349,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
339
349
  hidden: boolean;
340
350
  media?: import("../../types").Media;
341
351
  title?: string;
352
+ tags?: string[];
342
353
  getLocalValue: () => import("../../types").LocalValue;
343
354
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
344
355
  getSummary: () => import("../../types").RepeatableSummary;
@@ -377,6 +388,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
377
388
  hidden: boolean;
378
389
  media?: import("../../types").Media;
379
390
  title?: string;
391
+ tags?: string[];
380
392
  getLocalValue: () => string | null;
381
393
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
382
394
  getSummary: () => import("../../types").RepeatableSummary;
@@ -415,6 +427,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
415
427
  hidden: boolean;
416
428
  media?: import("../../types").Media;
417
429
  title?: string;
430
+ tags?: string[];
418
431
  getLocalValue: () => import("../../types").LocalValueArray;
419
432
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
420
433
  getSummary: () => import("../../types").RepeatableSummary;
@@ -437,6 +450,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
437
450
  hidden: boolean;
438
451
  media?: import("../../types").Media;
439
452
  title?: string;
453
+ tags?: string[];
440
454
  getLocalValue: () => File | null;
441
455
  getSubmittableValueSync: () => import("@wise/dynamic-flow-types/build/next").Model;
442
456
  getSummary: () => import("../../types").RepeatableSummary;
@@ -15,6 +15,7 @@ export declare const mapCommonSchemaProps: (schemaMapperProps: SchemaMapperProps
15
15
  keywords: string[] | undefined;
16
16
  media: import("../../../types").Media | undefined;
17
17
  required: boolean;
18
+ tags: string[] | undefined;
18
19
  title: string | undefined;
19
20
  onPersistAsync: import("../../../types").OnPersistAsync | undefined;
20
21
  summariser: (value: import("../../../types").LocalValue | null) => import("../../../types").RepeatableSummary;
@@ -4,6 +4,7 @@ export declare const mapStringSchemaSuggestions: (suggestions: StringSchema["sug
4
4
  values: {
5
5
  media: import("../../types").Media | undefined;
6
6
  value: import("@wise/dynamic-flow-types/build/next").JsonElement;
7
+ tags: string[] | undefined;
7
8
  label: string;
8
9
  tag?: string;
9
10
  analyticsId?: string;
@@ -0,0 +1,4 @@
1
+ export declare const mapTags: ({ tag, tags }: {
2
+ tag?: string;
3
+ tags?: string[];
4
+ }) => string[] | undefined;
@@ -25,7 +25,7 @@ import type { MultiUploadInputComponent } from './components/MultiUploadInputCom
25
25
  import type { NumberInputComponent } from './components/NumberInputComponent';
26
26
  import type { ObjectComponent } from './components/ObjectComponent';
27
27
  import type { ParagraphComponent } from './components/ParagraphComponent';
28
- import { PersistAsyncComponent } from './components/PersistAsyncComponent';
28
+ import type { PersistAsyncComponent } from './components/PersistAsyncComponent';
29
29
  import type { ProgressComponent } from './components/ProgressComponent';
30
30
  import type { RepeatableComponent } from './components/RepeatableComponent';
31
31
  import type { ReviewComponent } from './components/ReviewComponent';
@@ -87,6 +87,7 @@ export type BaseComponent = {
87
87
  export type BaseLayoutComponent = BaseComponent & {
88
88
  control?: string;
89
89
  margin: Margin;
90
+ tags?: string[];
90
91
  };
91
92
  export type Image = {
92
93
  uri: string;
@@ -131,6 +132,7 @@ export type BaseSchemaComponent<LV extends LocalValue> = BaseComponent & {
131
132
  hidden: boolean;
132
133
  media?: Media;
133
134
  title?: string;
135
+ tags?: string[];
134
136
  getLocalValue: () => LV;
135
137
  /** Gets the (potentially incomplete) form model, synchronously. It will NOT wait for in-flight requests and will not include base64 encoded values. It can be used in places where accuracy is not required (such as matching algorithms) but on submission, you should always prefer getSubmittableValue */
136
138
  getSubmittableValueSync: () => Model;
@@ -173,7 +175,7 @@ export type SuggestionsValue = {
173
175
  label: string;
174
176
  value?: JsonElement;
175
177
  media?: Media;
176
- tag?: string;
178
+ tags?: string[];
177
179
  };
178
180
  export type RepeatableSummary = {
179
181
  title?: string;
@@ -1,4 +1,4 @@
1
1
  import type { ColumnsRendererProps } from '@wise/dynamic-flow-types/build/renderers';
2
2
  import type { ColumnsComponent } from '../../domain/components/ColumnsComponent';
3
3
  import { RendererMapperProps } from './componentToRendererProps';
4
- export declare const columnsComponentToProps: ({ uid, analyticsId, bias, control, margin, startComponents, endComponents }: ColumnsComponent, rendererMapperProps: RendererMapperProps) => ColumnsRendererProps;
4
+ export declare const columnsComponentToProps: ({ uid, analyticsId, bias, control, margin, tags, startComponents, endComponents, }: ColumnsComponent, rendererMapperProps: RendererMapperProps) => ColumnsRendererProps;
@@ -1,4 +1,4 @@
1
- import type { DateInputComponent } from '../../domain/components/DateInputComponent';
2
1
  import type { DateInputRendererProps } from '@wise/dynamic-flow-types/build/renderers';
2
+ import type { DateInputComponent } from '../../domain/components/DateInputComponent';
3
3
  import { RendererMapperProps } from './componentToRendererProps';
4
4
  export declare const dateInputComponentToProps: (component: DateInputComponent, rendererMapperProps: RendererMapperProps) => DateInputRendererProps;
@@ -1,4 +1,4 @@
1
- import type { TextInputComponent } from '../../domain/components/TextInputComponent';
2
1
  import type { TextInputRendererProps } from '@wise/dynamic-flow-types/build/renderers';
2
+ import type { TextInputComponent } from '../../domain/components/TextInputComponent';
3
3
  import { RendererMapperProps } from './componentToRendererProps';
4
4
  export declare const textInputComponentToProps: (component: TextInputComponent, rendererMapperProps: RendererMapperProps) => TextInputRendererProps;
@@ -16,6 +16,7 @@ export declare const inputComponentToProps: <T extends string, V extends LocalVa
16
16
  placeholder: string | undefined;
17
17
  required: boolean;
18
18
  title: string | undefined;
19
+ tags: string[] | undefined;
19
20
  validationState: ValidationResult | undefined;
20
21
  value: V;
21
22
  onBlur: () => void;
@@ -0,0 +1,12 @@
1
+ import { Suggestions } from '../../../domain/types';
2
+ export declare const mapSuggestions: (suggestions: Suggestions | undefined) => {
3
+ values: {
4
+ media?: import("@wise/dynamic-flow-types/build/renderers").MediaAvatar | import("@wise/dynamic-flow-types/build/renderers").MediaImage | import("@wise/dynamic-flow-types/build/renderers").LegacyMedia | undefined;
5
+ icon?: import("@wise/dynamic-flow-types/build/next").Icon;
6
+ image?: import("@wise/dynamic-flow-types/build/renderers").Image;
7
+ tags?: string[];
8
+ tag?: string;
9
+ label: string;
10
+ value?: import("@wise/dynamic-flow-types/build/next").JsonElement;
11
+ }[];
12
+ } | undefined;
@@ -0,0 +1,8 @@
1
+ type HasTags = {
2
+ tags?: string[];
3
+ tag?: string;
4
+ };
5
+ export declare const mapTagsToLegacyProps: ({ tags }: {
6
+ tags?: string[];
7
+ }) => HasTags;
8
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "4.18.5",
3
+ "version": "4.19.0",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -30,7 +30,7 @@
30
30
  "url": "git+https://github.com/transferwise/dynamic-flow.git"
31
31
  },
32
32
  "devDependencies": {
33
- "@babel/core": "7.28.3",
33
+ "@babel/core": "7.28.4",
34
34
  "@babel/plugin-syntax-flow": "7.27.1",
35
35
  "@babel/plugin-transform-react-jsx": "7.27.1",
36
36
  "@babel/preset-env": "7.28.3",
@@ -38,29 +38,29 @@
38
38
  "@babel/preset-typescript": "7.27.1",
39
39
  "@chromatic-com/storybook": "4.1.1",
40
40
  "@formatjs/cli": "^6.7.2",
41
- "@storybook/addon-a11y": "^9.1.3",
42
- "@storybook/addon-docs": "^9.1.3",
43
- "@storybook/addon-links": "^9.1.3",
44
- "@storybook/react-vite": "9.1.3",
41
+ "@storybook/addon-a11y": "^9.1.8",
42
+ "@storybook/addon-docs": "^9.1.8",
43
+ "@storybook/addon-links": "^9.1.8",
44
+ "@storybook/react-vite": "9.1.8",
45
45
  "@testing-library/dom": "10.4.1",
46
46
  "@testing-library/jest-dom": "6.8.0",
47
47
  "@testing-library/react": "16.3.0",
48
48
  "@testing-library/user-event": "14.6.1",
49
- "@transferwise/components": "46.106.0",
49
+ "@transferwise/components": "46.111.0",
50
50
  "@transferwise/formatting": "^2.13.4",
51
51
  "@transferwise/icons": "3.22.4",
52
- "@transferwise/neptune-css": "14.24.5",
52
+ "@transferwise/neptune-css": "14.25.0",
53
53
  "@types/jest": "30.0.0",
54
- "@types/node": "22.18.0",
54
+ "@types/node": "22.18.6",
55
55
  "@types/react": "18.3.24",
56
56
  "@types/react-dom": "18.3.7",
57
57
  "@types/react-intl": "3.0.0",
58
- "@wise/art": "2.24.5",
59
- "@wise/components-theming": "^1.6.4",
58
+ "@wise/art": "2.24.6",
59
+ "@wise/components-theming": "^1.7.0",
60
60
  "babel-jest": "30.1.2",
61
61
  "esbuild": "0.25.9",
62
- "eslint-plugin-storybook": "9.1.3",
63
- "jest": "30.1.2",
62
+ "eslint-plugin-storybook": "9.1.8",
63
+ "jest": "30.1.3",
64
64
  "jest-environment-jsdom": "30.1.2",
65
65
  "jest-fetch-mock": "^3.0.3",
66
66
  "jest-watch-typeahead": "^3.0.1",
@@ -71,15 +71,15 @@
71
71
  "react": "18.3.1",
72
72
  "react-dom": "18.3.1",
73
73
  "react-intl": "6.8.9",
74
- "storybook": "^9.1.3",
75
- "stylelint": "16.23.1",
74
+ "storybook": "^9.1.8",
75
+ "stylelint": "16.24.0",
76
76
  "stylelint-config-standard": "36.0.1",
77
77
  "stylelint-no-unsupported-browser-features": "8.0.4",
78
78
  "stylelint-value-no-unknown-custom-properties": "6.0.1",
79
- "tsx": "4.20.5",
79
+ "tsx": "4.20.6",
80
80
  "typescript": "5.9.2",
81
- "@wise/dynamic-flow-fixtures": "0.0.1",
82
- "@wise/dynamic-flow-renderers": "0.0.0"
81
+ "@wise/dynamic-flow-renderers": "0.0.0",
82
+ "@wise/dynamic-flow-fixtures": "0.0.1"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "@transferwise/components": "^46.104.0",
@@ -95,7 +95,7 @@
95
95
  "classnames": "2.5.1",
96
96
  "react-webcam": "^7.2.0",
97
97
  "screenfull": "^5.2.0",
98
- "@wise/dynamic-flow-types": "3.15.1"
98
+ "@wise/dynamic-flow-types": "3.16.0"
99
99
  },
100
100
  "scripts": {
101
101
  "dev": "EXCLUDE_VISUAL_TESTS=true pnpm storybook dev -p 3003",