@wise/dynamic-flow-client 3.16.4 → 3.16.6

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.mjs CHANGED
@@ -138,12 +138,12 @@ var init_clsx = __esm({
138
138
  }
139
139
  });
140
140
 
141
- // ../../node_modules/.pnpm/@wise+art@2.14.0_@transferwise+neptune-css@14.14.0_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index-93a0c34e.esm.js
141
+ // ../../node_modules/.pnpm/@wise+art@2.14.0_@transferwise+neptune-css@14.15.0_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index-93a0c34e.esm.js
142
142
  import { useState as useState2, useEffect as useEffect2, forwardRef, Suspense, lazy } from "react";
143
143
  import { jsx as jsx17, jsxs as jsxs4, Fragment as Fragment3 } from "react/jsx-runtime";
144
144
  var unknownFlagName, Flag, Sizes, ImageSizes, imageSizes, Assets, RenderMode;
145
145
  var init_index_93a0c34e_esm = __esm({
146
- "../../node_modules/.pnpm/@wise+art@2.14.0_@transferwise+neptune-css@14.14.0_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index-93a0c34e.esm.js"() {
146
+ "../../node_modules/.pnpm/@wise+art@2.14.0_@transferwise+neptune-css@14.15.0_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index-93a0c34e.esm.js"() {
147
147
  "use strict";
148
148
  init_clsx();
149
149
  unknownFlagName = "wise";
@@ -11241,7 +11241,7 @@ var DateInputRenderer_default = DateInputRenderer;
11241
11241
  // ../renderers/src/DecisionRenderer.tsx
11242
11242
  import { NavigationOptionsList, NavigationOption, Header } from "@transferwise/components";
11243
11243
 
11244
- // ../../node_modules/.pnpm/@wise+art@2.14.0_@transferwise+neptune-css@14.14.0_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index.esm.js
11244
+ // ../../node_modules/.pnpm/@wise+art@2.14.0_@transferwise+neptune-css@14.15.0_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index.esm.js
11245
11245
  init_index_93a0c34e_esm();
11246
11246
  init_clsx();
11247
11247
  import "react";
@@ -11884,7 +11884,7 @@ function Paragraph({ align, control, margin, text }) {
11884
11884
  return control === "copyable" ? /* @__PURE__ */ jsx38(CopyableParagraph, { className, align, text }) : /* @__PURE__ */ jsx38(StandardParagraph, { className, text });
11885
11885
  }
11886
11886
  function StandardParagraph({ text, className }) {
11887
- return /* @__PURE__ */ jsx38("p", { className, children: text });
11887
+ return /* @__PURE__ */ jsx38("p", { className: `np-text-body-large ${className}`, children: text });
11888
11888
  }
11889
11889
  function CopyableParagraph({
11890
11890
  text,
@@ -12879,7 +12879,7 @@ function StepRendererComponent(props) {
12879
12879
  back ? /* @__PURE__ */ jsx57(BackButton_default, __spreadValues({}, back)) : null,
12880
12880
  title || description ? /* @__PURE__ */ jsxs22("div", { className: "m-b-4", children: [
12881
12881
  title ? /* @__PURE__ */ jsx57(Title, { as: "h1", type: "title-section", className: "text-xs-center m-b-2", children: title }) : void 0,
12882
- description ? /* @__PURE__ */ jsx57("p", { className: "text-xs-center", children: description }) : void 0
12882
+ description ? /* @__PURE__ */ jsx57("p", { className: "text-xs-center np-text-body-large", children: description }) : void 0
12883
12883
  ] }) : void 0,
12884
12884
  error ? /* @__PURE__ */ jsx57(Alert3, { type: "negative", className: "m-b-2", message: error }) : void 0,
12885
12885
  children
@@ -17685,11 +17685,7 @@ function DynamicParagraph({ component }) {
17685
17685
  return component.control === "copyable" ? /* @__PURE__ */ jsx110(CopyableDynamicParagraph, { component }) : /* @__PURE__ */ jsx110(BasicDynamicParagraph, { component });
17686
17686
  }
17687
17687
  function BasicDynamicParagraph({ component }) {
17688
- return /* @__PURE__ */ jsxs39("p", { className: getTextAlignmentAndMargin2(component), children: [
17689
- " ",
17690
- component.text,
17691
- " "
17692
- ] });
17688
+ return /* @__PURE__ */ jsx110("p", { className: `np-text-body-large ${getTextAlignmentAndMargin2(component)}`, children: component.text });
17693
17689
  }
17694
17690
  function CopyableDynamicParagraph({ component }) {
17695
17691
  const { formatMessage } = useIntl20();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "3.16.4",
3
+ "version": "3.16.6",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.min.js",
@@ -36,26 +36,26 @@
36
36
  "@cfaester/enzyme-adapter-react-18": "0.8.0",
37
37
  "@chromatic-com/storybook": "1.6.1",
38
38
  "@formatjs/cli": "^6.2.12",
39
- "@storybook/addon-a11y": "^8.2.8",
40
- "@storybook/addon-actions": "^8.2.8",
41
- "@storybook/addon-essentials": "^8.2.8",
42
- "@storybook/addon-interactions": "^8.2.8",
43
- "@storybook/addon-links": "^8.2.8",
39
+ "@storybook/addon-a11y": "^8.2.9",
40
+ "@storybook/addon-actions": "^8.2.9",
41
+ "@storybook/addon-essentials": "^8.2.9",
42
+ "@storybook/addon-interactions": "^8.2.9",
43
+ "@storybook/addon-links": "^8.2.9",
44
44
  "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
45
- "@storybook/manager-api": "^8.2.8",
46
- "@storybook/react": "^8.2.8",
47
- "@storybook/react-webpack5": "^8.2.8",
48
- "@storybook/test": "^8.2.8",
49
- "@storybook/types": "^8.2.8",
45
+ "@storybook/manager-api": "^8.2.9",
46
+ "@storybook/react": "^8.2.9",
47
+ "@storybook/react-webpack5": "^8.2.9",
48
+ "@storybook/test": "^8.2.9",
49
+ "@storybook/types": "^8.2.9",
50
50
  "@testing-library/dom": "10.4.0",
51
51
  "@testing-library/jest-dom": "6.4.8",
52
52
  "@testing-library/react": "16.0.0",
53
53
  "@testing-library/react-hooks": "8.0.1",
54
54
  "@testing-library/user-event": "14.5.2",
55
- "@transferwise/components": "46.62.1",
55
+ "@transferwise/components": "46.65.0",
56
56
  "@transferwise/formatting": "^2.13.0",
57
57
  "@transferwise/icons": "3.13.0",
58
- "@transferwise/neptune-css": "14.14.0",
58
+ "@transferwise/neptune-css": "14.15.0",
59
59
  "@types/enzyme": "^3.10.18",
60
60
  "@types/jest": "29.5.12",
61
61
  "@types/react": "18.3.3",
@@ -78,8 +78,8 @@
78
78
  "react": "18.3.1",
79
79
  "react-dom": "18.3.1",
80
80
  "react-intl": "6.6.8",
81
- "storybook": "8.2.8",
82
- "stylelint": "16.8.1",
81
+ "storybook": "8.2.9",
82
+ "stylelint": "16.8.2",
83
83
  "stylelint-config-standard": "36.0.1",
84
84
  "stylelint-no-unsupported-browser-features": "8.0.1",
85
85
  "stylelint-value-no-unknown-custom-properties": "6.0.1",
@@ -104,7 +104,7 @@
104
104
  "nanoid": "5.0.7",
105
105
  "react-webcam": "^7.2.0",
106
106
  "screenfull": "^5.2.0",
107
- "@wise/dynamic-flow-types": "2.18.4"
107
+ "@wise/dynamic-flow-types": "2.19.0"
108
108
  },
109
109
  "scripts": {
110
110
  "dev": "pnpm build:visual-tests && storybook dev -p 3003",