@wise/dynamic-flow-client 3.28.0 → 3.28.2
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 +10 -7
- package/build/main.min.js +1 -1
- package/build/main.mjs +10 -7
- package/package.json +19 -19
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.16.3_@transferwise+neptune-css@14.
|
|
141
|
+
// ../../node_modules/.pnpm/@wise+art@2.16.3_@transferwise+neptune-css@14.20.0_@types+react@18.3.12_react-dom@18.3.1_reac_ybxnuulsvhsfhz3tk3mxo6vlti/node_modules/@wise/art/dist/index-a91e5689.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_a91e5689_esm = __esm({
|
|
146
|
-
"../../node_modules/.pnpm/@wise+art@2.16.3_@transferwise+neptune-css@14.
|
|
146
|
+
"../../node_modules/.pnpm/@wise+art@2.16.3_@transferwise+neptune-css@14.20.0_@types+react@18.3.12_react-dom@18.3.1_reac_ybxnuulsvhsfhz3tk3mxo6vlti/node_modules/@wise/art/dist/index-a91e5689.esm.js"() {
|
|
147
147
|
"use strict";
|
|
148
148
|
init_clsx();
|
|
149
149
|
unknownFlagName = "wise";
|
|
@@ -11600,13 +11600,14 @@ var import_classnames = __toESM(require_classnames());
|
|
|
11600
11600
|
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
11601
11601
|
var BoxRenderer = {
|
|
11602
11602
|
canRenderType: "box",
|
|
11603
|
-
render: ({ border, children, margin, width }) => {
|
|
11603
|
+
render: ({ border, children, control, margin, width }) => {
|
|
11604
11604
|
const hasFixedWidth = width !== "xl";
|
|
11605
|
+
const hasBorder = control === "bordered" || control === "bordered-web" || border;
|
|
11605
11606
|
const contents = /* @__PURE__ */ jsx12(
|
|
11606
11607
|
"div",
|
|
11607
11608
|
{
|
|
11608
11609
|
className: (0, import_classnames.default)({
|
|
11609
|
-
"df-box-renderer-border":
|
|
11610
|
+
"df-box-renderer-border": hasBorder,
|
|
11610
11611
|
[`df-box-renderer-width-${width}`]: hasFixedWidth,
|
|
11611
11612
|
[getMargin(margin)]: !hasFixedWidth
|
|
11612
11613
|
}),
|
|
@@ -11849,7 +11850,7 @@ var DateInputRenderer_default = DateInputRenderer;
|
|
|
11849
11850
|
// ../renderers/src/DecisionRenderer.tsx
|
|
11850
11851
|
import { NavigationOptionsList, NavigationOption, Header } from "@transferwise/components";
|
|
11851
11852
|
|
|
11852
|
-
// ../../node_modules/.pnpm/@wise+art@2.16.3_@transferwise+neptune-css@14.
|
|
11853
|
+
// ../../node_modules/.pnpm/@wise+art@2.16.3_@transferwise+neptune-css@14.20.0_@types+react@18.3.12_react-dom@18.3.1_reac_ybxnuulsvhsfhz3tk3mxo6vlti/node_modules/@wise/art/dist/index.esm.js
|
|
11853
11854
|
init_index_a91e5689_esm();
|
|
11854
11855
|
init_clsx();
|
|
11855
11856
|
import "react";
|
|
@@ -16142,10 +16143,12 @@ function MultiSelectSchema({
|
|
|
16142
16143
|
const shouldShowInitialError = Boolean(errors) && !changed;
|
|
16143
16144
|
const shouldShowValidationError = Boolean(validations.length) && submitted;
|
|
16144
16145
|
const formGroupClasses = {
|
|
16145
|
-
"
|
|
16146
|
+
"form-group": true,
|
|
16147
|
+
"has-error": shouldShowInitialError || shouldShowValidationError,
|
|
16148
|
+
"has-info": !!schema.description
|
|
16146
16149
|
};
|
|
16147
16150
|
return /* @__PURE__ */ jsxs29("div", { className: (0, import_classnames8.default)("d-flex flex-column", formGroupClasses), children: [
|
|
16148
|
-
schema.title ? /* @__PURE__ */ jsx81("label", { htmlFor: id, children: schema.title }) : void 0,
|
|
16151
|
+
schema.title ? /* @__PURE__ */ jsx81("label", { className: "control-label d-inline m-b-1", htmlFor: id, children: schema.title }) : void 0,
|
|
16149
16152
|
/* @__PURE__ */ jsx81(
|
|
16150
16153
|
SelectInput3,
|
|
16151
16154
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client",
|
|
3
|
-
"version": "3.28.
|
|
3
|
+
"version": "3.28.2",
|
|
4
4
|
"description": "Dynamic Flow web client",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.min.js",
|
|
@@ -34,27 +34,27 @@
|
|
|
34
34
|
"@babel/preset-react": "7.25.9",
|
|
35
35
|
"@babel/preset-typescript": "7.26.0",
|
|
36
36
|
"@chromatic-com/storybook": "3.2.2",
|
|
37
|
-
"@formatjs/cli": "^6.3.
|
|
38
|
-
"@storybook/addon-a11y": "^8.4.
|
|
39
|
-
"@storybook/addon-actions": "^8.4.
|
|
40
|
-
"@storybook/addon-essentials": "^8.4.
|
|
41
|
-
"@storybook/addon-interactions": "^8.4.
|
|
42
|
-
"@storybook/addon-links": "^8.4.
|
|
37
|
+
"@formatjs/cli": "^6.3.11",
|
|
38
|
+
"@storybook/addon-a11y": "^8.4.5",
|
|
39
|
+
"@storybook/addon-actions": "^8.4.5",
|
|
40
|
+
"@storybook/addon-essentials": "^8.4.5",
|
|
41
|
+
"@storybook/addon-interactions": "^8.4.5",
|
|
42
|
+
"@storybook/addon-links": "^8.4.5",
|
|
43
43
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
|
|
44
|
-
"@storybook/manager-api": "^8.4.
|
|
45
|
-
"@storybook/react": "^8.4.
|
|
46
|
-
"@storybook/react-webpack5": "^8.4.
|
|
47
|
-
"@storybook/test": "^8.4.
|
|
48
|
-
"@storybook/types": "^8.4.
|
|
44
|
+
"@storybook/manager-api": "^8.4.5",
|
|
45
|
+
"@storybook/react": "^8.4.5",
|
|
46
|
+
"@storybook/react-webpack5": "^8.4.5",
|
|
47
|
+
"@storybook/test": "^8.4.5",
|
|
48
|
+
"@storybook/types": "^8.4.5",
|
|
49
49
|
"@testing-library/dom": "10.4.0",
|
|
50
50
|
"@testing-library/jest-dom": "6.6.3",
|
|
51
51
|
"@testing-library/react": "16.0.1",
|
|
52
52
|
"@testing-library/user-event": "14.5.2",
|
|
53
|
-
"@transferwise/components": "46.
|
|
53
|
+
"@transferwise/components": "46.80.0",
|
|
54
54
|
"@transferwise/formatting": "^2.13.0",
|
|
55
55
|
"@transferwise/icons": "3.15.0",
|
|
56
|
-
"@transferwise/neptune-css": "14.
|
|
57
|
-
"@types/node": "22.9.
|
|
56
|
+
"@transferwise/neptune-css": "14.20.0",
|
|
57
|
+
"@types/node": "22.9.3",
|
|
58
58
|
"@types/jest": "29.5.14",
|
|
59
59
|
"@types/react": "18.3.12",
|
|
60
60
|
"@types/react-dom": "18.3.1",
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
"postcss-import": "^15.1.0",
|
|
75
75
|
"react": "18.3.1",
|
|
76
76
|
"react-dom": "18.3.1",
|
|
77
|
-
"react-intl": "6.8.
|
|
78
|
-
"storybook": "^8.4.
|
|
77
|
+
"react-intl": "6.8.9",
|
|
78
|
+
"storybook": "^8.4.5",
|
|
79
79
|
"stylelint": "16.10.0",
|
|
80
80
|
"stylelint-config-standard": "36.0.1",
|
|
81
81
|
"stylelint-no-unsupported-browser-features": "8.0.2",
|
|
82
82
|
"stylelint-value-no-unknown-custom-properties": "6.0.1",
|
|
83
83
|
"tsx": "4.19.2",
|
|
84
|
-
"typescript": "5.
|
|
84
|
+
"typescript": "5.7.2",
|
|
85
85
|
"webpack": "5.96.1",
|
|
86
86
|
"@wise/dynamic-flow-fixtures": "0.0.1",
|
|
87
87
|
"@wise/dynamic-flow-renderers": "0.0.0"
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"nanoid": "5.0.8",
|
|
102
102
|
"react-webcam": "^7.2.0",
|
|
103
103
|
"screenfull": "^5.2.0",
|
|
104
|
-
"@wise/dynamic-flow-types": "2.28.
|
|
104
|
+
"@wise/dynamic-flow-types": "2.28.1"
|
|
105
105
|
},
|
|
106
106
|
"scripts": {
|
|
107
107
|
"dev": "pnpm build:visual-tests && storybook dev -p 3003",
|