@wise/dynamic-flow-client 3.16.0 → 3.16.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.mjs CHANGED
@@ -12871,7 +12871,7 @@ function BackButton({ title, onClick }) {
12871
12871
  var BackButton_default = BackButton;
12872
12872
 
12873
12873
  // ../renderers/src/step/StepRenderer.tsx
12874
- import { Alert as Alert3 } from "@transferwise/components";
12874
+ import { Alert as Alert3, Title } from "@transferwise/components";
12875
12875
  import { jsx as jsx57, jsxs as jsxs22 } from "react/jsx-runtime";
12876
12876
  var StepRenderer = {
12877
12877
  canRenderType: "step",
@@ -12886,7 +12886,7 @@ function StepRendererComponent(props) {
12886
12886
  }
12887
12887
  return /* @__PURE__ */ jsxs22(StepRendererContextProvider, { value, children: [
12888
12888
  back ? /* @__PURE__ */ jsx57(BackButton_default, __spreadValues({}, back)) : null,
12889
- title ? /* @__PURE__ */ jsx57("h2", { className: "text-xs-center m-b-2", children: title }) : void 0,
12889
+ title ? /* @__PURE__ */ jsx57(Title, { as: "h1", type: "title-section", className: "text-xs-center m-b-2", children: title }) : void 0,
12890
12890
  description ? /* @__PURE__ */ jsx57("p", { className: "text-xs-center m-b-2", children: description }) : void 0,
12891
12891
  error ? /* @__PURE__ */ jsx57(Alert3, { type: "negative", className: "m-b-2", message: error }) : void 0,
12892
12892
  children
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.min.js",
@@ -86,8 +86,8 @@
86
86
  "tsx": "4.15.6",
87
87
  "typescript": "5.4.5",
88
88
  "webpack": "5.92.0",
89
- "@wise/dynamic-flow-renderers": "0.0.0",
90
- "@wise/dynamic-flow-fixtures": "0.0.1"
89
+ "@wise/dynamic-flow-fixtures": "0.0.1",
90
+ "@wise/dynamic-flow-renderers": "0.0.0"
91
91
  },
92
92
  "peerDependencies": {
93
93
  "@transferwise/components": "^46.31",
@@ -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.0"
107
+ "@wise/dynamic-flow-types": "2.18.1"
108
108
  },
109
109
  "scripts": {
110
110
  "dev": "pnpm build:visual-tests && storybook dev -p 3003",