@wise/dynamic-flow-client 5.1.0 → 5.1.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.
package/build/main.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /* We should move to CSS modules when we move this to the Wise layer */
2
2
  .df-box-renderer-border {
3
3
  border: 1px solid var(--color-border-neutral);
4
- border-radius: var(--radius-small);
4
+ border-radius: var(--radius-medium);
5
5
  padding: var(--size-16);
6
6
  }
7
7
  .df-box-renderer-fixed-width {
package/build/main.js CHANGED
@@ -1313,8 +1313,8 @@ var mapLegacyActionTypeToControl = (type) => type && type in legacyActionTypeToC
1313
1313
  var alertLayoutToComponent = (uid, {
1314
1314
  control,
1315
1315
  markdown,
1316
- margin = "md",
1317
- context = "neutral",
1316
+ margin,
1317
+ context,
1318
1318
  callToAction,
1319
1319
  analyticsId,
1320
1320
  tags
@@ -1325,9 +1325,9 @@ var alertLayoutToComponent = (uid, {
1325
1325
  analyticsId,
1326
1326
  control,
1327
1327
  markdown,
1328
- margin,
1328
+ margin: margin != null ? margin : "md",
1329
1329
  callToAction: cta,
1330
- context: mapLegacyContext(context),
1330
+ context: mapLegacyContext(context != null ? context : "neutral"),
1331
1331
  tags
1332
1332
  });
1333
1333
  };
@@ -1353,8 +1353,8 @@ var boxLayoutToComponent = (uid, {
1353
1353
  border = false,
1354
1354
  components,
1355
1355
  control,
1356
- margin = "md",
1357
- width = "xl",
1356
+ margin,
1357
+ width,
1358
1358
  analyticsId,
1359
1359
  tags
1360
1360
  }, mapperProps, schemaComponents) => createBoxComponent({
@@ -1362,8 +1362,8 @@ var boxLayoutToComponent = (uid, {
1362
1362
  analyticsId,
1363
1363
  border,
1364
1364
  control,
1365
- margin,
1366
- width,
1365
+ margin: margin != null ? margin : "md",
1366
+ width: width != null ? width : "xl",
1367
1367
  tags,
1368
1368
  components: components.map((component, index) => {
1369
1369
  const shouldRemoveMargin = index === components.length - 1 && component.margin === void 0;
@@ -1401,7 +1401,7 @@ var buttonLayoutToComponentWithBehavior = (uid, button, mapperProps) => {
1401
1401
  context,
1402
1402
  control,
1403
1403
  disabled,
1404
- margin = "md",
1404
+ margin,
1405
1405
  pinOrder,
1406
1406
  size,
1407
1407
  title,
@@ -1422,7 +1422,7 @@ var buttonLayoutToComponentWithBehavior = (uid, button, mapperProps) => {
1422
1422
  context: mapLegacyContext(context != null ? context : "neutral"),
1423
1423
  control,
1424
1424
  disabled: disabled != null ? disabled : false,
1425
- margin,
1425
+ margin: margin != null ? margin : "md",
1426
1426
  pinOrder,
1427
1427
  size,
1428
1428
  title: title != null ? title : "",
@@ -1496,12 +1496,12 @@ var createColumnsComponent = (columnsProps) => __spreadProps(__spreadValues({},
1496
1496
  });
1497
1497
 
1498
1498
  // src/domain/mappers/layout/columnsLayoutToComponent.ts
1499
- var columnsLayoutToComponent = (uid, { control, left, right, bias = "none", margin = "md", analyticsId, tags }, mapperProps, schemaComponents) => createColumnsComponent({
1499
+ var columnsLayoutToComponent = (uid, { control, left, right, bias, margin, analyticsId, tags }, mapperProps, schemaComponents) => createColumnsComponent({
1500
1500
  uid,
1501
1501
  analyticsId,
1502
1502
  control,
1503
- margin,
1504
- bias: mapLegacyBias(bias),
1503
+ margin: margin != null ? margin : "md",
1504
+ bias: mapLegacyBias(bias != null ? bias : "none"),
1505
1505
  tags,
1506
1506
  startComponents: left.map(
1507
1507
  (component, index) => mapLayoutToComponent(
@@ -1582,7 +1582,7 @@ var mapSchemaAlert = (alert) => {
1582
1582
  var decisionLayoutToComponent = (uid, {
1583
1583
  analyticsId,
1584
1584
  control,
1585
- margin = "md",
1585
+ margin,
1586
1586
  options,
1587
1587
  tags,
1588
1588
  title
@@ -1590,7 +1590,7 @@ var decisionLayoutToComponent = (uid, {
1590
1590
  uid,
1591
1591
  analyticsId,
1592
1592
  control,
1593
- margin,
1593
+ margin: margin != null ? margin : "md",
1594
1594
  options: options.map((option) => mapOption(option, mapperProps)),
1595
1595
  tags,
1596
1596
  title
@@ -1621,7 +1621,7 @@ var createStatusListComponent = (statusListProps) => __spreadValues({
1621
1621
  var isDeprecatedListLayout = (layout) => {
1622
1622
  return layout.items.some((item) => item.status);
1623
1623
  };
1624
- var deprecatedListLayoutToComponent = (uid, { analyticsId, control, items, margin = "md", title, tags }) => createStatusListComponent({
1624
+ var deprecatedListLayoutToComponent = (uid, { analyticsId, control, items, margin, title, tags }) => createStatusListComponent({
1625
1625
  uid,
1626
1626
  analyticsId,
1627
1627
  control,
@@ -1632,7 +1632,7 @@ var deprecatedListLayoutToComponent = (uid, { analyticsId, control, items, margi
1632
1632
  status: status ? mapLegacyStatus(status) : void 0,
1633
1633
  tags: itemTags
1634
1634
  })),
1635
- margin,
1635
+ margin: margin != null ? margin : "md",
1636
1636
  title,
1637
1637
  tags
1638
1638
  });
@@ -1655,7 +1655,7 @@ var createDividerComponent = (props) => __spreadValues({
1655
1655
  }, props);
1656
1656
 
1657
1657
  // src/domain/mappers/layout/dividerLayoutToComponent.ts
1658
- var dividerLayoutToComponent = (uid, { control, margin = "md", analyticsId, tags }) => createDividerComponent({ uid, analyticsId, control, margin, tags });
1658
+ var dividerLayoutToComponent = (uid, { control, margin, analyticsId, tags }) => createDividerComponent({ uid, analyticsId, control, margin: margin != null ? margin : "md", tags });
1659
1659
 
1660
1660
  // src/domain/components/FormComponent.ts
1661
1661
  var createFormComponent = (formProps) => __spreadProps(__spreadValues({}, formProps), {
@@ -1667,7 +1667,7 @@ var createFormComponent = (formProps) => __spreadProps(__spreadValues({}, formPr
1667
1667
  });
1668
1668
 
1669
1669
  // src/domain/mappers/layout/formLayoutToComponent.ts
1670
- var formLayoutToComponent = (uid, { analyticsId, schemaId, schema: schemaRef, control, margin = "md", tags }, schemaComponents) => {
1670
+ var formLayoutToComponent = (uid, { analyticsId, schemaId, schema: schemaRef, control, margin, tags }, schemaComponents) => {
1671
1671
  const id = schemaId != null ? schemaId : schemaRef == null ? void 0 : schemaRef.$ref;
1672
1672
  if (id == null) {
1673
1673
  throw new Error(
@@ -1685,7 +1685,7 @@ var formLayoutToComponent = (uid, { analyticsId, schemaId, schema: schemaRef, co
1685
1685
  analyticsId,
1686
1686
  schemaComponent,
1687
1687
  control,
1688
- margin,
1688
+ margin: margin != null ? margin : "md",
1689
1689
  tags
1690
1690
  });
1691
1691
  };
@@ -1697,13 +1697,13 @@ var createHeadingComponent = (headingProps) => __spreadValues({
1697
1697
  }, headingProps);
1698
1698
 
1699
1699
  // src/domain/mappers/layout/headingLayoutToComponent.ts
1700
- var headingLayoutToComponent = (uid, { analyticsId, align = "left", margin = "md", size = "md", control, tags, text }) => createHeadingComponent({
1700
+ var headingLayoutToComponent = (uid, { analyticsId, align, margin, size, control, tags, text }) => createHeadingComponent({
1701
1701
  uid,
1702
1702
  analyticsId,
1703
- align: mapLegacyAlign(align),
1703
+ align: mapLegacyAlign(align != null ? align : "left"),
1704
1704
  control,
1705
- margin,
1706
- size,
1705
+ margin: margin != null ? margin : "md",
1706
+ size: size != null ? size : "md",
1707
1707
  tags,
1708
1708
  text
1709
1709
  });
@@ -1718,11 +1718,11 @@ var createImageComponent = (imageProps) => __spreadValues({
1718
1718
  var imageLayoutToComponent = (uid, {
1719
1719
  analyticsId,
1720
1720
  accessibilityDescription,
1721
- align = "center",
1721
+ align,
1722
1722
  content,
1723
1723
  control,
1724
- margin = "md",
1725
- size = "md",
1724
+ margin,
1725
+ size,
1726
1726
  tags,
1727
1727
  text,
1728
1728
  url
@@ -1731,14 +1731,14 @@ var imageLayoutToComponent = (uid, {
1731
1731
  return createImageComponent({
1732
1732
  uid,
1733
1733
  analyticsId,
1734
- align: mapLegacyAlign(align),
1734
+ align: mapLegacyAlign(align != null ? align : "center"),
1735
1735
  content: content ? {
1736
1736
  uri: (_b = (_a = content.uri) != null ? _a : content.url) != null ? _b : "",
1737
1737
  accessibilityDescription: (_c = content.accessibilityDescription) != null ? _c : content.text
1738
1738
  } : { accessibilityDescription: accessibilityDescription != null ? accessibilityDescription : text, uri: url != null ? url : "" },
1739
1739
  control,
1740
- margin,
1741
- size,
1740
+ margin: margin != null ? margin : "md",
1741
+ size: size != null ? size : "md",
1742
1742
  tags
1743
1743
  });
1744
1744
  };
@@ -1750,13 +1750,13 @@ var createMarkdownComponent = (markdownProps) => __spreadValues({
1750
1750
  }, markdownProps);
1751
1751
 
1752
1752
  // src/domain/mappers/layout/infoLayoutToComponent.ts
1753
- var infoLayoutToComponent = (uid, { analyticsId, align = "left", control, margin = "md", markdown: content, tags }) => createMarkdownComponent({
1753
+ var infoLayoutToComponent = (uid, { analyticsId, align, control, margin, markdown: content, tags }) => createMarkdownComponent({
1754
1754
  uid,
1755
1755
  analyticsId,
1756
- align: mapLegacyAlign(align),
1756
+ align: mapLegacyAlign(align != null ? align : "left"),
1757
1757
  content,
1758
1758
  control,
1759
- margin,
1759
+ margin: margin != null ? margin : "md",
1760
1760
  tags,
1761
1761
  size: "md"
1762
1762
  });
@@ -1768,7 +1768,7 @@ var createInstructionsComponent = (instructionsProps) => __spreadValues({
1768
1768
  }, instructionsProps);
1769
1769
 
1770
1770
  // src/domain/mappers/layout/instructionsLayoutToComponent.ts
1771
- var instructionsLayoutToComponent = (uid, { analyticsId, control, items, margin = "md", tags, title }) => createInstructionsComponent({
1771
+ var instructionsLayoutToComponent = (uid, { analyticsId, control, items, margin, tags, title }) => createInstructionsComponent({
1772
1772
  uid,
1773
1773
  analyticsId,
1774
1774
  control,
@@ -1776,7 +1776,7 @@ var instructionsLayoutToComponent = (uid, { analyticsId, control, items, margin
1776
1776
  context: mapLegacyContext(item.context),
1777
1777
  tags: mapTags(item)
1778
1778
  })),
1779
- margin,
1779
+ margin: margin != null ? margin : "md",
1780
1780
  tags,
1781
1781
  title
1782
1782
  });
@@ -1788,14 +1788,14 @@ var createListComponent = (listProps) => __spreadValues({
1788
1788
  }, listProps);
1789
1789
 
1790
1790
  // src/domain/mappers/layout/listLayoutToComponent.ts
1791
- var listLayoutToComponent = (uid, { analyticsId, callToAction, control, items, margin = "md", tags, title }, mapperProps) => {
1791
+ var listLayoutToComponent = (uid, { analyticsId, callToAction, control, items, margin, tags, title }, mapperProps) => {
1792
1792
  return createListComponent({
1793
1793
  uid,
1794
1794
  analyticsId,
1795
1795
  control,
1796
1796
  items: items.map((item) => mapItem(item, mapperProps)),
1797
1797
  callToAction: getDomainLayerCallToAction(callToAction, mapperProps),
1798
- margin,
1798
+ margin: margin != null ? margin : "md",
1799
1799
  tags,
1800
1800
  title
1801
1801
  });
@@ -1849,33 +1849,33 @@ var createLoadingIndicatorComponent = (loadingIndicatorProps) => __spreadValues(
1849
1849
  }, loadingIndicatorProps);
1850
1850
 
1851
1851
  // src/domain/mappers/layout/loadingIndicatorLayoutToComponent.ts
1852
- var loadingIndicatorLayoutToComponent = (uid, { analyticsId, control, margin = "md", size = "md", tags }) => createLoadingIndicatorComponent({
1852
+ var loadingIndicatorLayoutToComponent = (uid, { analyticsId, control, margin, size, tags }) => createLoadingIndicatorComponent({
1853
1853
  uid,
1854
1854
  analyticsId,
1855
1855
  control,
1856
- margin,
1857
- size,
1856
+ margin: margin != null ? margin : "md",
1857
+ size: size != null ? size : "md",
1858
1858
  tags
1859
1859
  });
1860
1860
 
1861
1861
  // src/domain/mappers/layout/markdownLayoutToComponent.ts
1862
1862
  var markdownLayoutToComponent = (uid, {
1863
1863
  analyticsId,
1864
- align = "left",
1865
- margin = "md",
1864
+ align,
1865
+ margin,
1866
1866
  control,
1867
1867
  content,
1868
- size = "md",
1868
+ size,
1869
1869
  tags
1870
1870
  }) => createMarkdownComponent({
1871
1871
  uid,
1872
1872
  analyticsId,
1873
- align: mapLegacyAlign(align),
1873
+ align: mapLegacyAlign(align != null ? align : "left"),
1874
1874
  control,
1875
1875
  content,
1876
- margin,
1876
+ margin: margin != null ? margin : "md",
1877
1877
  tags,
1878
- size
1878
+ size: size != null ? size : "md"
1879
1879
  });
1880
1880
 
1881
1881
  // src/domain/components/ModalLayoutComponent.ts
@@ -1889,7 +1889,7 @@ var createModalComponent = (modalProps) => __spreadProps(__spreadValues({
1889
1889
  });
1890
1890
 
1891
1891
  // src/domain/mappers/layout/modalLayoutToComponent.ts
1892
- var modalLayoutToComponent = (uid, { analyticsId, content, control, margin = "md", tags, trigger }, mapperProps, schemaComponents) => {
1892
+ var modalLayoutToComponent = (uid, { analyticsId, content, control, margin, tags, trigger }, mapperProps, schemaComponents) => {
1893
1893
  const { components, title } = content;
1894
1894
  return createModalComponent({
1895
1895
  uid,
@@ -1901,7 +1901,7 @@ var modalLayoutToComponent = (uid, { analyticsId, content, control, margin = "md
1901
1901
  title
1902
1902
  },
1903
1903
  control,
1904
- margin,
1904
+ margin: margin != null ? margin : "md",
1905
1905
  tags,
1906
1906
  trigger
1907
1907
  });
@@ -1914,15 +1914,15 @@ var createParagraphComponent = (paragraphProps) => __spreadValues({
1914
1914
  }, paragraphProps);
1915
1915
 
1916
1916
  // src/domain/mappers/layout/paragraphLayoutToComponent.ts
1917
- var paragraphLayoutToComponent = (uid, { analyticsId, align = "left", control, margin = "md", size = "md", tags, text }) => createParagraphComponent({
1917
+ var paragraphLayoutToComponent = (uid, { analyticsId, align, control, margin, size, tags, text }) => createParagraphComponent({
1918
1918
  uid,
1919
1919
  analyticsId,
1920
1920
  text,
1921
1921
  control,
1922
- align: mapLegacyAlign(align),
1923
- margin,
1922
+ align: mapLegacyAlign(align != null ? align : "left"),
1923
+ margin: margin != null ? margin : "md",
1924
1924
  tags,
1925
- size
1925
+ size: size != null ? size : "md"
1926
1926
  });
1927
1927
 
1928
1928
  // src/domain/components/ReviewComponent.ts
@@ -1938,7 +1938,7 @@ var reviewLayoutToComponent = (uid, {
1938
1938
  title,
1939
1939
  callToAction,
1940
1940
  control,
1941
- margin = "md",
1941
+ margin,
1942
1942
  tags,
1943
1943
  orientation,
1944
1944
  action
@@ -1948,7 +1948,7 @@ var reviewLayoutToComponent = (uid, {
1948
1948
  callToAction: getCallToAction2({ mapperProps, callToAction, action }),
1949
1949
  control: getOrientationControl({ control, orientation }),
1950
1950
  fields: fields.map((field) => mapReviewField(field, mapperProps)),
1951
- margin,
1951
+ margin: margin != null ? margin : "md",
1952
1952
  tags,
1953
1953
  title
1954
1954
  });
@@ -2159,17 +2159,7 @@ var isValidResponseBody = (body) => isObject(body) && "results" in body && isArr
2159
2159
  var hashRequest = (query, config) => JSON.stringify({ query, config });
2160
2160
 
2161
2161
  // src/domain/mappers/layout/searchLayoutToComponent.ts
2162
- var searchLayoutToComponent = (uid, {
2163
- analyticsId,
2164
- control,
2165
- emptyMessage = "",
2166
- method,
2167
- param,
2168
- title,
2169
- url,
2170
- margin = "md",
2171
- tags
2172
- }, mapperProps) => {
2162
+ var searchLayoutToComponent = (uid, { analyticsId, control, emptyMessage, method, param, title, url, margin, tags }, mapperProps) => {
2173
2163
  const { httpClient, onBehavior, updateComponent } = mapperProps;
2174
2164
  const search = getPerformSearchFunction(httpClient, { method, param, url });
2175
2165
  return createSearchComponent(
@@ -2177,8 +2167,8 @@ var searchLayoutToComponent = (uid, {
2177
2167
  uid,
2178
2168
  analyticsId,
2179
2169
  control,
2180
- emptyMessage,
2181
- margin,
2170
+ emptyMessage: emptyMessage != null ? emptyMessage : "",
2171
+ margin: margin != null ? margin : "md",
2182
2172
  tags,
2183
2173
  title
2184
2174
  },
@@ -2189,7 +2179,7 @@ var searchLayoutToComponent = (uid, {
2189
2179
  };
2190
2180
 
2191
2181
  // src/domain/mappers/layout/statusListLayoutToComponent.ts
2192
- var statusListLayoutToComponent = (uid, { analyticsId, control, items, margin = "md", tags, title }, mapperProps) => createStatusListComponent({
2182
+ var statusListLayoutToComponent = (uid, { analyticsId, control, items, margin, tags, title }, mapperProps) => createStatusListComponent({
2193
2183
  uid,
2194
2184
  analyticsId,
2195
2185
  control,
@@ -2197,7 +2187,7 @@ var statusListLayoutToComponent = (uid, { analyticsId, control, items, margin =
2197
2187
  const callToAction = getDomainLayerCallToAction(item.callToAction, mapperProps);
2198
2188
  return __spreadProps(__spreadValues({}, item), { callToAction, tags: mapTags(item) });
2199
2189
  }),
2200
- margin,
2190
+ margin: margin != null ? margin : "md",
2201
2191
  tags,
2202
2192
  title
2203
2193
  });
@@ -2214,7 +2204,7 @@ var createSectionComponent = (props) => {
2214
2204
  };
2215
2205
 
2216
2206
  // src/domain/mappers/layout/sectionLayoutToComponent.ts
2217
- var sectionLayoutToComponent = (uid, { analyticsId, control, title, components, callToAction, margin = "md", tags }, mapperProps, schemaComponents) => {
2207
+ var sectionLayoutToComponent = (uid, { analyticsId, control, title, components, callToAction, margin, tags }, mapperProps, schemaComponents) => {
2218
2208
  return createSectionComponent({
2219
2209
  uid,
2220
2210
  analyticsId,
@@ -2223,7 +2213,7 @@ var sectionLayoutToComponent = (uid, { analyticsId, control, title, components,
2223
2213
  components: components.map(
2224
2214
  (component, index) => mapLayoutToComponent(`${uid}.section-${index}`, component, mapperProps, schemaComponents)
2225
2215
  ),
2226
- margin,
2216
+ margin: margin != null ? margin : "md",
2227
2217
  callToAction: getDomainLayerCallToAction(callToAction, mapperProps),
2228
2218
  tags
2229
2219
  });
@@ -2236,11 +2226,11 @@ var createTabsComponent = (tabsProps) => __spreadProps(__spreadValues({}, tabsPr
2236
2226
  });
2237
2227
 
2238
2228
  // src/domain/mappers/layout/tabsLayoutToComponent.ts
2239
- var tabsLayoutToComponent = (uid, { analyticsId, control, margin = "md", tags, tabs }, mapperProps, schemaComponents) => createTabsComponent({
2229
+ var tabsLayoutToComponent = (uid, { analyticsId, control, margin, tags, tabs }, mapperProps, schemaComponents) => createTabsComponent({
2240
2230
  uid,
2241
2231
  analyticsId,
2242
2232
  control,
2243
- margin,
2233
+ margin: margin != null ? margin : "md",
2244
2234
  tags,
2245
2235
  tabs: mapTabs(tabs, uid, mapperProps, schemaComponents)
2246
2236
  });
@@ -2266,11 +2256,11 @@ var createProgressComponent = (progressProps) => __spreadValues({
2266
2256
  // src/domain/mappers/layout/progressLayoutToComponent.ts
2267
2257
  var progressLayoutToComponent = (uid, {
2268
2258
  analyticsId,
2269
- context = "neutral",
2259
+ context,
2270
2260
  control,
2271
2261
  description,
2272
2262
  help,
2273
- margin = "md",
2263
+ margin,
2274
2264
  progress,
2275
2265
  progressText,
2276
2266
  tags,
@@ -2278,11 +2268,11 @@ var progressLayoutToComponent = (uid, {
2278
2268
  }) => createProgressComponent({
2279
2269
  uid,
2280
2270
  analyticsId,
2281
- context: mapLegacyContext(context),
2271
+ context: mapLegacyContext(context != null ? context : "neutral"),
2282
2272
  control,
2283
2273
  description,
2284
2274
  help: help == null ? void 0 : help.markdown,
2285
- margin,
2275
+ margin: margin != null ? margin : "md",
2286
2276
  progress,
2287
2277
  progressText,
2288
2278
  tags,
package/build/main.mjs CHANGED
@@ -1286,8 +1286,8 @@ var mapLegacyActionTypeToControl = (type) => type && type in legacyActionTypeToC
1286
1286
  var alertLayoutToComponent = (uid, {
1287
1287
  control,
1288
1288
  markdown,
1289
- margin = "md",
1290
- context = "neutral",
1289
+ margin,
1290
+ context,
1291
1291
  callToAction,
1292
1292
  analyticsId,
1293
1293
  tags
@@ -1298,9 +1298,9 @@ var alertLayoutToComponent = (uid, {
1298
1298
  analyticsId,
1299
1299
  control,
1300
1300
  markdown,
1301
- margin,
1301
+ margin: margin != null ? margin : "md",
1302
1302
  callToAction: cta,
1303
- context: mapLegacyContext(context),
1303
+ context: mapLegacyContext(context != null ? context : "neutral"),
1304
1304
  tags
1305
1305
  });
1306
1306
  };
@@ -1326,8 +1326,8 @@ var boxLayoutToComponent = (uid, {
1326
1326
  border = false,
1327
1327
  components,
1328
1328
  control,
1329
- margin = "md",
1330
- width = "xl",
1329
+ margin,
1330
+ width,
1331
1331
  analyticsId,
1332
1332
  tags
1333
1333
  }, mapperProps, schemaComponents) => createBoxComponent({
@@ -1335,8 +1335,8 @@ var boxLayoutToComponent = (uid, {
1335
1335
  analyticsId,
1336
1336
  border,
1337
1337
  control,
1338
- margin,
1339
- width,
1338
+ margin: margin != null ? margin : "md",
1339
+ width: width != null ? width : "xl",
1340
1340
  tags,
1341
1341
  components: components.map((component, index) => {
1342
1342
  const shouldRemoveMargin = index === components.length - 1 && component.margin === void 0;
@@ -1374,7 +1374,7 @@ var buttonLayoutToComponentWithBehavior = (uid, button, mapperProps) => {
1374
1374
  context,
1375
1375
  control,
1376
1376
  disabled,
1377
- margin = "md",
1377
+ margin,
1378
1378
  pinOrder,
1379
1379
  size,
1380
1380
  title,
@@ -1395,7 +1395,7 @@ var buttonLayoutToComponentWithBehavior = (uid, button, mapperProps) => {
1395
1395
  context: mapLegacyContext(context != null ? context : "neutral"),
1396
1396
  control,
1397
1397
  disabled: disabled != null ? disabled : false,
1398
- margin,
1398
+ margin: margin != null ? margin : "md",
1399
1399
  pinOrder,
1400
1400
  size,
1401
1401
  title: title != null ? title : "",
@@ -1469,12 +1469,12 @@ var createColumnsComponent = (columnsProps) => __spreadProps(__spreadValues({},
1469
1469
  });
1470
1470
 
1471
1471
  // src/domain/mappers/layout/columnsLayoutToComponent.ts
1472
- var columnsLayoutToComponent = (uid, { control, left, right, bias = "none", margin = "md", analyticsId, tags }, mapperProps, schemaComponents) => createColumnsComponent({
1472
+ var columnsLayoutToComponent = (uid, { control, left, right, bias, margin, analyticsId, tags }, mapperProps, schemaComponents) => createColumnsComponent({
1473
1473
  uid,
1474
1474
  analyticsId,
1475
1475
  control,
1476
- margin,
1477
- bias: mapLegacyBias(bias),
1476
+ margin: margin != null ? margin : "md",
1477
+ bias: mapLegacyBias(bias != null ? bias : "none"),
1478
1478
  tags,
1479
1479
  startComponents: left.map(
1480
1480
  (component, index) => mapLayoutToComponent(
@@ -1555,7 +1555,7 @@ var mapSchemaAlert = (alert) => {
1555
1555
  var decisionLayoutToComponent = (uid, {
1556
1556
  analyticsId,
1557
1557
  control,
1558
- margin = "md",
1558
+ margin,
1559
1559
  options,
1560
1560
  tags,
1561
1561
  title
@@ -1563,7 +1563,7 @@ var decisionLayoutToComponent = (uid, {
1563
1563
  uid,
1564
1564
  analyticsId,
1565
1565
  control,
1566
- margin,
1566
+ margin: margin != null ? margin : "md",
1567
1567
  options: options.map((option) => mapOption(option, mapperProps)),
1568
1568
  tags,
1569
1569
  title
@@ -1594,7 +1594,7 @@ var createStatusListComponent = (statusListProps) => __spreadValues({
1594
1594
  var isDeprecatedListLayout = (layout) => {
1595
1595
  return layout.items.some((item) => item.status);
1596
1596
  };
1597
- var deprecatedListLayoutToComponent = (uid, { analyticsId, control, items, margin = "md", title, tags }) => createStatusListComponent({
1597
+ var deprecatedListLayoutToComponent = (uid, { analyticsId, control, items, margin, title, tags }) => createStatusListComponent({
1598
1598
  uid,
1599
1599
  analyticsId,
1600
1600
  control,
@@ -1605,7 +1605,7 @@ var deprecatedListLayoutToComponent = (uid, { analyticsId, control, items, margi
1605
1605
  status: status ? mapLegacyStatus(status) : void 0,
1606
1606
  tags: itemTags
1607
1607
  })),
1608
- margin,
1608
+ margin: margin != null ? margin : "md",
1609
1609
  title,
1610
1610
  tags
1611
1611
  });
@@ -1628,7 +1628,7 @@ var createDividerComponent = (props) => __spreadValues({
1628
1628
  }, props);
1629
1629
 
1630
1630
  // src/domain/mappers/layout/dividerLayoutToComponent.ts
1631
- var dividerLayoutToComponent = (uid, { control, margin = "md", analyticsId, tags }) => createDividerComponent({ uid, analyticsId, control, margin, tags });
1631
+ var dividerLayoutToComponent = (uid, { control, margin, analyticsId, tags }) => createDividerComponent({ uid, analyticsId, control, margin: margin != null ? margin : "md", tags });
1632
1632
 
1633
1633
  // src/domain/components/FormComponent.ts
1634
1634
  var createFormComponent = (formProps) => __spreadProps(__spreadValues({}, formProps), {
@@ -1640,7 +1640,7 @@ var createFormComponent = (formProps) => __spreadProps(__spreadValues({}, formPr
1640
1640
  });
1641
1641
 
1642
1642
  // src/domain/mappers/layout/formLayoutToComponent.ts
1643
- var formLayoutToComponent = (uid, { analyticsId, schemaId, schema: schemaRef, control, margin = "md", tags }, schemaComponents) => {
1643
+ var formLayoutToComponent = (uid, { analyticsId, schemaId, schema: schemaRef, control, margin, tags }, schemaComponents) => {
1644
1644
  const id = schemaId != null ? schemaId : schemaRef == null ? void 0 : schemaRef.$ref;
1645
1645
  if (id == null) {
1646
1646
  throw new Error(
@@ -1658,7 +1658,7 @@ var formLayoutToComponent = (uid, { analyticsId, schemaId, schema: schemaRef, co
1658
1658
  analyticsId,
1659
1659
  schemaComponent,
1660
1660
  control,
1661
- margin,
1661
+ margin: margin != null ? margin : "md",
1662
1662
  tags
1663
1663
  });
1664
1664
  };
@@ -1670,13 +1670,13 @@ var createHeadingComponent = (headingProps) => __spreadValues({
1670
1670
  }, headingProps);
1671
1671
 
1672
1672
  // src/domain/mappers/layout/headingLayoutToComponent.ts
1673
- var headingLayoutToComponent = (uid, { analyticsId, align = "left", margin = "md", size = "md", control, tags, text }) => createHeadingComponent({
1673
+ var headingLayoutToComponent = (uid, { analyticsId, align, margin, size, control, tags, text }) => createHeadingComponent({
1674
1674
  uid,
1675
1675
  analyticsId,
1676
- align: mapLegacyAlign(align),
1676
+ align: mapLegacyAlign(align != null ? align : "left"),
1677
1677
  control,
1678
- margin,
1679
- size,
1678
+ margin: margin != null ? margin : "md",
1679
+ size: size != null ? size : "md",
1680
1680
  tags,
1681
1681
  text
1682
1682
  });
@@ -1691,11 +1691,11 @@ var createImageComponent = (imageProps) => __spreadValues({
1691
1691
  var imageLayoutToComponent = (uid, {
1692
1692
  analyticsId,
1693
1693
  accessibilityDescription,
1694
- align = "center",
1694
+ align,
1695
1695
  content,
1696
1696
  control,
1697
- margin = "md",
1698
- size = "md",
1697
+ margin,
1698
+ size,
1699
1699
  tags,
1700
1700
  text,
1701
1701
  url
@@ -1704,14 +1704,14 @@ var imageLayoutToComponent = (uid, {
1704
1704
  return createImageComponent({
1705
1705
  uid,
1706
1706
  analyticsId,
1707
- align: mapLegacyAlign(align),
1707
+ align: mapLegacyAlign(align != null ? align : "center"),
1708
1708
  content: content ? {
1709
1709
  uri: (_b = (_a = content.uri) != null ? _a : content.url) != null ? _b : "",
1710
1710
  accessibilityDescription: (_c = content.accessibilityDescription) != null ? _c : content.text
1711
1711
  } : { accessibilityDescription: accessibilityDescription != null ? accessibilityDescription : text, uri: url != null ? url : "" },
1712
1712
  control,
1713
- margin,
1714
- size,
1713
+ margin: margin != null ? margin : "md",
1714
+ size: size != null ? size : "md",
1715
1715
  tags
1716
1716
  });
1717
1717
  };
@@ -1723,13 +1723,13 @@ var createMarkdownComponent = (markdownProps) => __spreadValues({
1723
1723
  }, markdownProps);
1724
1724
 
1725
1725
  // src/domain/mappers/layout/infoLayoutToComponent.ts
1726
- var infoLayoutToComponent = (uid, { analyticsId, align = "left", control, margin = "md", markdown: content, tags }) => createMarkdownComponent({
1726
+ var infoLayoutToComponent = (uid, { analyticsId, align, control, margin, markdown: content, tags }) => createMarkdownComponent({
1727
1727
  uid,
1728
1728
  analyticsId,
1729
- align: mapLegacyAlign(align),
1729
+ align: mapLegacyAlign(align != null ? align : "left"),
1730
1730
  content,
1731
1731
  control,
1732
- margin,
1732
+ margin: margin != null ? margin : "md",
1733
1733
  tags,
1734
1734
  size: "md"
1735
1735
  });
@@ -1741,7 +1741,7 @@ var createInstructionsComponent = (instructionsProps) => __spreadValues({
1741
1741
  }, instructionsProps);
1742
1742
 
1743
1743
  // src/domain/mappers/layout/instructionsLayoutToComponent.ts
1744
- var instructionsLayoutToComponent = (uid, { analyticsId, control, items, margin = "md", tags, title }) => createInstructionsComponent({
1744
+ var instructionsLayoutToComponent = (uid, { analyticsId, control, items, margin, tags, title }) => createInstructionsComponent({
1745
1745
  uid,
1746
1746
  analyticsId,
1747
1747
  control,
@@ -1749,7 +1749,7 @@ var instructionsLayoutToComponent = (uid, { analyticsId, control, items, margin
1749
1749
  context: mapLegacyContext(item.context),
1750
1750
  tags: mapTags(item)
1751
1751
  })),
1752
- margin,
1752
+ margin: margin != null ? margin : "md",
1753
1753
  tags,
1754
1754
  title
1755
1755
  });
@@ -1761,14 +1761,14 @@ var createListComponent = (listProps) => __spreadValues({
1761
1761
  }, listProps);
1762
1762
 
1763
1763
  // src/domain/mappers/layout/listLayoutToComponent.ts
1764
- var listLayoutToComponent = (uid, { analyticsId, callToAction, control, items, margin = "md", tags, title }, mapperProps) => {
1764
+ var listLayoutToComponent = (uid, { analyticsId, callToAction, control, items, margin, tags, title }, mapperProps) => {
1765
1765
  return createListComponent({
1766
1766
  uid,
1767
1767
  analyticsId,
1768
1768
  control,
1769
1769
  items: items.map((item) => mapItem(item, mapperProps)),
1770
1770
  callToAction: getDomainLayerCallToAction(callToAction, mapperProps),
1771
- margin,
1771
+ margin: margin != null ? margin : "md",
1772
1772
  tags,
1773
1773
  title
1774
1774
  });
@@ -1822,33 +1822,33 @@ var createLoadingIndicatorComponent = (loadingIndicatorProps) => __spreadValues(
1822
1822
  }, loadingIndicatorProps);
1823
1823
 
1824
1824
  // src/domain/mappers/layout/loadingIndicatorLayoutToComponent.ts
1825
- var loadingIndicatorLayoutToComponent = (uid, { analyticsId, control, margin = "md", size = "md", tags }) => createLoadingIndicatorComponent({
1825
+ var loadingIndicatorLayoutToComponent = (uid, { analyticsId, control, margin, size, tags }) => createLoadingIndicatorComponent({
1826
1826
  uid,
1827
1827
  analyticsId,
1828
1828
  control,
1829
- margin,
1830
- size,
1829
+ margin: margin != null ? margin : "md",
1830
+ size: size != null ? size : "md",
1831
1831
  tags
1832
1832
  });
1833
1833
 
1834
1834
  // src/domain/mappers/layout/markdownLayoutToComponent.ts
1835
1835
  var markdownLayoutToComponent = (uid, {
1836
1836
  analyticsId,
1837
- align = "left",
1838
- margin = "md",
1837
+ align,
1838
+ margin,
1839
1839
  control,
1840
1840
  content,
1841
- size = "md",
1841
+ size,
1842
1842
  tags
1843
1843
  }) => createMarkdownComponent({
1844
1844
  uid,
1845
1845
  analyticsId,
1846
- align: mapLegacyAlign(align),
1846
+ align: mapLegacyAlign(align != null ? align : "left"),
1847
1847
  control,
1848
1848
  content,
1849
- margin,
1849
+ margin: margin != null ? margin : "md",
1850
1850
  tags,
1851
- size
1851
+ size: size != null ? size : "md"
1852
1852
  });
1853
1853
 
1854
1854
  // src/domain/components/ModalLayoutComponent.ts
@@ -1862,7 +1862,7 @@ var createModalComponent = (modalProps) => __spreadProps(__spreadValues({
1862
1862
  });
1863
1863
 
1864
1864
  // src/domain/mappers/layout/modalLayoutToComponent.ts
1865
- var modalLayoutToComponent = (uid, { analyticsId, content, control, margin = "md", tags, trigger }, mapperProps, schemaComponents) => {
1865
+ var modalLayoutToComponent = (uid, { analyticsId, content, control, margin, tags, trigger }, mapperProps, schemaComponents) => {
1866
1866
  const { components, title } = content;
1867
1867
  return createModalComponent({
1868
1868
  uid,
@@ -1874,7 +1874,7 @@ var modalLayoutToComponent = (uid, { analyticsId, content, control, margin = "md
1874
1874
  title
1875
1875
  },
1876
1876
  control,
1877
- margin,
1877
+ margin: margin != null ? margin : "md",
1878
1878
  tags,
1879
1879
  trigger
1880
1880
  });
@@ -1887,15 +1887,15 @@ var createParagraphComponent = (paragraphProps) => __spreadValues({
1887
1887
  }, paragraphProps);
1888
1888
 
1889
1889
  // src/domain/mappers/layout/paragraphLayoutToComponent.ts
1890
- var paragraphLayoutToComponent = (uid, { analyticsId, align = "left", control, margin = "md", size = "md", tags, text }) => createParagraphComponent({
1890
+ var paragraphLayoutToComponent = (uid, { analyticsId, align, control, margin, size, tags, text }) => createParagraphComponent({
1891
1891
  uid,
1892
1892
  analyticsId,
1893
1893
  text,
1894
1894
  control,
1895
- align: mapLegacyAlign(align),
1896
- margin,
1895
+ align: mapLegacyAlign(align != null ? align : "left"),
1896
+ margin: margin != null ? margin : "md",
1897
1897
  tags,
1898
- size
1898
+ size: size != null ? size : "md"
1899
1899
  });
1900
1900
 
1901
1901
  // src/domain/components/ReviewComponent.ts
@@ -1911,7 +1911,7 @@ var reviewLayoutToComponent = (uid, {
1911
1911
  title,
1912
1912
  callToAction,
1913
1913
  control,
1914
- margin = "md",
1914
+ margin,
1915
1915
  tags,
1916
1916
  orientation,
1917
1917
  action
@@ -1921,7 +1921,7 @@ var reviewLayoutToComponent = (uid, {
1921
1921
  callToAction: getCallToAction2({ mapperProps, callToAction, action }),
1922
1922
  control: getOrientationControl({ control, orientation }),
1923
1923
  fields: fields.map((field) => mapReviewField(field, mapperProps)),
1924
- margin,
1924
+ margin: margin != null ? margin : "md",
1925
1925
  tags,
1926
1926
  title
1927
1927
  });
@@ -2132,17 +2132,7 @@ var isValidResponseBody = (body) => isObject(body) && "results" in body && isArr
2132
2132
  var hashRequest = (query, config) => JSON.stringify({ query, config });
2133
2133
 
2134
2134
  // src/domain/mappers/layout/searchLayoutToComponent.ts
2135
- var searchLayoutToComponent = (uid, {
2136
- analyticsId,
2137
- control,
2138
- emptyMessage = "",
2139
- method,
2140
- param,
2141
- title,
2142
- url,
2143
- margin = "md",
2144
- tags
2145
- }, mapperProps) => {
2135
+ var searchLayoutToComponent = (uid, { analyticsId, control, emptyMessage, method, param, title, url, margin, tags }, mapperProps) => {
2146
2136
  const { httpClient, onBehavior, updateComponent } = mapperProps;
2147
2137
  const search = getPerformSearchFunction(httpClient, { method, param, url });
2148
2138
  return createSearchComponent(
@@ -2150,8 +2140,8 @@ var searchLayoutToComponent = (uid, {
2150
2140
  uid,
2151
2141
  analyticsId,
2152
2142
  control,
2153
- emptyMessage,
2154
- margin,
2143
+ emptyMessage: emptyMessage != null ? emptyMessage : "",
2144
+ margin: margin != null ? margin : "md",
2155
2145
  tags,
2156
2146
  title
2157
2147
  },
@@ -2162,7 +2152,7 @@ var searchLayoutToComponent = (uid, {
2162
2152
  };
2163
2153
 
2164
2154
  // src/domain/mappers/layout/statusListLayoutToComponent.ts
2165
- var statusListLayoutToComponent = (uid, { analyticsId, control, items, margin = "md", tags, title }, mapperProps) => createStatusListComponent({
2155
+ var statusListLayoutToComponent = (uid, { analyticsId, control, items, margin, tags, title }, mapperProps) => createStatusListComponent({
2166
2156
  uid,
2167
2157
  analyticsId,
2168
2158
  control,
@@ -2170,7 +2160,7 @@ var statusListLayoutToComponent = (uid, { analyticsId, control, items, margin =
2170
2160
  const callToAction = getDomainLayerCallToAction(item.callToAction, mapperProps);
2171
2161
  return __spreadProps(__spreadValues({}, item), { callToAction, tags: mapTags(item) });
2172
2162
  }),
2173
- margin,
2163
+ margin: margin != null ? margin : "md",
2174
2164
  tags,
2175
2165
  title
2176
2166
  });
@@ -2187,7 +2177,7 @@ var createSectionComponent = (props) => {
2187
2177
  };
2188
2178
 
2189
2179
  // src/domain/mappers/layout/sectionLayoutToComponent.ts
2190
- var sectionLayoutToComponent = (uid, { analyticsId, control, title, components, callToAction, margin = "md", tags }, mapperProps, schemaComponents) => {
2180
+ var sectionLayoutToComponent = (uid, { analyticsId, control, title, components, callToAction, margin, tags }, mapperProps, schemaComponents) => {
2191
2181
  return createSectionComponent({
2192
2182
  uid,
2193
2183
  analyticsId,
@@ -2196,7 +2186,7 @@ var sectionLayoutToComponent = (uid, { analyticsId, control, title, components,
2196
2186
  components: components.map(
2197
2187
  (component, index) => mapLayoutToComponent(`${uid}.section-${index}`, component, mapperProps, schemaComponents)
2198
2188
  ),
2199
- margin,
2189
+ margin: margin != null ? margin : "md",
2200
2190
  callToAction: getDomainLayerCallToAction(callToAction, mapperProps),
2201
2191
  tags
2202
2192
  });
@@ -2209,11 +2199,11 @@ var createTabsComponent = (tabsProps) => __spreadProps(__spreadValues({}, tabsPr
2209
2199
  });
2210
2200
 
2211
2201
  // src/domain/mappers/layout/tabsLayoutToComponent.ts
2212
- var tabsLayoutToComponent = (uid, { analyticsId, control, margin = "md", tags, tabs }, mapperProps, schemaComponents) => createTabsComponent({
2202
+ var tabsLayoutToComponent = (uid, { analyticsId, control, margin, tags, tabs }, mapperProps, schemaComponents) => createTabsComponent({
2213
2203
  uid,
2214
2204
  analyticsId,
2215
2205
  control,
2216
- margin,
2206
+ margin: margin != null ? margin : "md",
2217
2207
  tags,
2218
2208
  tabs: mapTabs(tabs, uid, mapperProps, schemaComponents)
2219
2209
  });
@@ -2239,11 +2229,11 @@ var createProgressComponent = (progressProps) => __spreadValues({
2239
2229
  // src/domain/mappers/layout/progressLayoutToComponent.ts
2240
2230
  var progressLayoutToComponent = (uid, {
2241
2231
  analyticsId,
2242
- context = "neutral",
2232
+ context,
2243
2233
  control,
2244
2234
  description,
2245
2235
  help,
2246
- margin = "md",
2236
+ margin,
2247
2237
  progress,
2248
2238
  progressText,
2249
2239
  tags,
@@ -2251,11 +2241,11 @@ var progressLayoutToComponent = (uid, {
2251
2241
  }) => createProgressComponent({
2252
2242
  uid,
2253
2243
  analyticsId,
2254
- context: mapLegacyContext(context),
2244
+ context: mapLegacyContext(context != null ? context : "neutral"),
2255
2245
  control,
2256
2246
  description,
2257
2247
  help: help == null ? void 0 : help.markdown,
2258
- margin,
2248
+ margin: margin != null ? margin : "md",
2259
2249
  progress,
2260
2250
  progressText,
2261
2251
  tags,
@@ -1,3 +1,3 @@
1
1
  import type { SearchLayout } from '@wise/dynamic-flow-types/spec';
2
2
  import type { MapperProps } from '../schema/types';
3
- export declare const searchLayoutToComponent: (uid: string, { analyticsId, control, emptyMessage, method, param, title, url, margin, tags, }: SearchLayout, mapperProps: MapperProps) => import("../../components/searchComponent/SearchComponent").SearchComponent;
3
+ export declare const searchLayoutToComponent: (uid: string, { analyticsId, control, emptyMessage, method, param, title, url, margin, tags }: SearchLayout, mapperProps: MapperProps) => import("../../components/searchComponent/SearchComponent").SearchComponent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -33,29 +33,29 @@
33
33
  "devDependencies": {
34
34
  "@chromatic-com/storybook": "4.1.3",
35
35
  "@formatjs/cli": "^6.7.4",
36
- "@storybook/addon-a11y": "^10.1.4",
37
- "@storybook/addon-docs": "^10.1.4",
38
- "@storybook/addon-links": "^10.1.4",
39
- "@storybook/react-vite": "10.1.4",
36
+ "@storybook/addon-a11y": "^10.1.8",
37
+ "@storybook/addon-docs": "^10.1.8",
38
+ "@storybook/addon-links": "^10.1.8",
39
+ "@storybook/react-vite": "10.1.8",
40
40
  "@testing-library/dom": "10.4.1",
41
41
  "@testing-library/jest-dom": "6.9.1",
42
42
  "@testing-library/react": "16.3.0",
43
43
  "@testing-library/user-event": "14.6.1",
44
- "@transferwise/components": "^46.115.1",
44
+ "@transferwise/components": "^46.116.1",
45
45
  "@transferwise/formatting": "^2.13.4",
46
46
  "@transferwise/icons": "4.0.0",
47
47
  "@transferwise/navigation-ui": "4.41.0",
48
48
  "@transferwise/neptune-css": "14.25.2",
49
- "@types/node": "22.19.1",
49
+ "@types/node": "22.19.2",
50
50
  "@types/react": "18.3.27",
51
51
  "@types/react-dom": "18.3.7",
52
52
  "@types/react-intl": "3.0.0",
53
- "@vitejs/plugin-react": "5.1.1",
53
+ "@vitejs/plugin-react": "5.1.2",
54
54
  "@wise/art": "2.24.7",
55
- "@wise/components-theming": "^1.9.0",
55
+ "@wise/components-theming": "^1.9.1",
56
56
  "esbuild": "0.27.0",
57
- "eslint-plugin-storybook": "10.1.4",
58
- "framer-motion": "^12.23.25",
57
+ "eslint-plugin-storybook": "10.1.8",
58
+ "framer-motion": "^12.23.26",
59
59
  "npm-run-all2": "8.0.4",
60
60
  "postcss": "^8.5.6",
61
61
  "postcss-cli": "^11.0.1",
@@ -63,7 +63,7 @@
63
63
  "react": "18.3.1",
64
64
  "react-dom": "18.3.1",
65
65
  "react-intl": "6.8.9",
66
- "storybook": "^10.1.4",
66
+ "storybook": "^10.1.8",
67
67
  "stylelint": "16.26.1",
68
68
  "stylelint-config-standard": "36.0.1",
69
69
  "stylelint-no-unsupported-browser-features": "8.0.5",
@@ -72,8 +72,8 @@
72
72
  "typescript": "5.9.3",
73
73
  "vitest": "4.0.15",
74
74
  "vitest-fetch-mock": "0.4.5",
75
- "@wise/dynamic-flow-fixtures": "0.0.1",
76
- "@wise/dynamic-flow-renderers": "0.0.0"
75
+ "@wise/dynamic-flow-renderers": "0.0.0",
76
+ "@wise/dynamic-flow-fixtures": "0.0.1"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@transferwise/components": "^46.104.0",
@@ -86,7 +86,7 @@
86
86
  "react-intl": "^6"
87
87
  },
88
88
  "dependencies": {
89
- "@wise/dynamic-flow-types": "4.1.0"
89
+ "@wise/dynamic-flow-types": "4.1.1"
90
90
  },
91
91
  "scripts": {
92
92
  "dev": "EXCLUDE_VISUAL_TESTS=true pnpm storybook dev -p 3003",