@wise/dynamic-flow-client 3.16.5 → 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.js +6 -10
- package/build/main.min.js +1 -1
- package/build/main.mjs +6 -10
- package/package.json +17 -17
package/build/main.js
CHANGED
|
@@ -144,10 +144,10 @@ var init_clsx = __esm({
|
|
|
144
144
|
}
|
|
145
145
|
});
|
|
146
146
|
|
|
147
|
-
// ../../node_modules/.pnpm/@wise+art@2.14.0_@transferwise+neptune-css@14.
|
|
147
|
+
// ../../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
|
|
148
148
|
var import_react7, import_jsx_runtime17, unknownFlagName, Flag, Sizes, ImageSizes, imageSizes, Assets, RenderMode;
|
|
149
149
|
var init_index_93a0c34e_esm = __esm({
|
|
150
|
-
"../../node_modules/.pnpm/@wise+art@2.14.0_@transferwise+neptune-css@14.
|
|
150
|
+
"../../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"() {
|
|
151
151
|
"use strict";
|
|
152
152
|
init_clsx();
|
|
153
153
|
import_react7 = require("react");
|
|
@@ -11265,7 +11265,7 @@ var DateInputRenderer_default = DateInputRenderer;
|
|
|
11265
11265
|
// ../renderers/src/DecisionRenderer.tsx
|
|
11266
11266
|
var import_components9 = require("@transferwise/components");
|
|
11267
11267
|
|
|
11268
|
-
// ../../node_modules/.pnpm/@wise+art@2.14.0_@transferwise+neptune-css@14.
|
|
11268
|
+
// ../../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
|
|
11269
11269
|
init_index_93a0c34e_esm();
|
|
11270
11270
|
init_clsx();
|
|
11271
11271
|
var import_react8 = require("react");
|
|
@@ -11908,7 +11908,7 @@ function Paragraph({ align, control, margin, text }) {
|
|
|
11908
11908
|
return control === "copyable" ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(CopyableParagraph, { className, align, text }) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(StandardParagraph, { className, text });
|
|
11909
11909
|
}
|
|
11910
11910
|
function StandardParagraph({ text, className }) {
|
|
11911
|
-
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className
|
|
11911
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: `np-text-body-large ${className}`, children: text });
|
|
11912
11912
|
}
|
|
11913
11913
|
function CopyableParagraph({
|
|
11914
11914
|
text,
|
|
@@ -12897,7 +12897,7 @@ function StepRendererComponent(props) {
|
|
|
12897
12897
|
back ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(BackButton_default, __spreadValues({}, back)) : null,
|
|
12898
12898
|
title || description ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "m-b-4", children: [
|
|
12899
12899
|
title ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_components39.Title, { as: "h1", type: "title-section", className: "text-xs-center m-b-2", children: title }) : void 0,
|
|
12900
|
-
description ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "text-xs-center", children: description }) : void 0
|
|
12900
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "text-xs-center np-text-body-large", children: description }) : void 0
|
|
12901
12901
|
] }) : void 0,
|
|
12902
12902
|
error ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_components39.Alert, { type: "negative", className: "m-b-2", message: error }) : void 0,
|
|
12903
12903
|
children
|
|
@@ -17688,11 +17688,7 @@ function DynamicParagraph({ component }) {
|
|
|
17688
17688
|
return component.control === "copyable" ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CopyableDynamicParagraph, { component }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(BasicDynamicParagraph, { component });
|
|
17689
17689
|
}
|
|
17690
17690
|
function BasicDynamicParagraph({ component }) {
|
|
17691
|
-
return /* @__PURE__ */ (0, import_jsx_runtime111.
|
|
17692
|
-
" ",
|
|
17693
|
-
component.text,
|
|
17694
|
-
" "
|
|
17695
|
-
] });
|
|
17691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("p", { className: `np-text-body-large ${getTextAlignmentAndMargin2(component)}`, children: component.text });
|
|
17696
17692
|
}
|
|
17697
17693
|
function CopyableDynamicParagraph({ component }) {
|
|
17698
17694
|
const { formatMessage } = (0, import_react_intl37.useIntl)();
|