@wise/dynamic-flow-client 3.21.0 → 3.21.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 +6 -5
- package/build/main.min.js +1 -1
- package/build/main.mjs +6 -5
- package/package.json +23 -23
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.15.0_@transferwise+neptune-css@14.18.0_@types+react@18.3.
|
|
141
|
+
// ../../node_modules/.pnpm/@wise+art@2.15.0_@transferwise+neptune-css@14.18.0_@types+react@18.3.11_react-dom@18.3.1_react@18.3.1__react@18.3.1/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.15.0_@transferwise+neptune-css@14.18.0_@types+react@18.3.
|
|
146
|
+
"../../node_modules/.pnpm/@wise+art@2.15.0_@transferwise+neptune-css@14.18.0_@types+react@18.3.11_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index-a91e5689.esm.js"() {
|
|
147
147
|
"use strict";
|
|
148
148
|
init_clsx();
|
|
149
149
|
unknownFlagName = "wise";
|
|
@@ -11404,7 +11404,7 @@ var DateInputRenderer_default = DateInputRenderer;
|
|
|
11404
11404
|
// ../renderers/src/DecisionRenderer.tsx
|
|
11405
11405
|
import { NavigationOptionsList, NavigationOption, Header } from "@transferwise/components";
|
|
11406
11406
|
|
|
11407
|
-
// ../../node_modules/.pnpm/@wise+art@2.15.0_@transferwise+neptune-css@14.18.0_@types+react@18.3.
|
|
11407
|
+
// ../../node_modules/.pnpm/@wise+art@2.15.0_@transferwise+neptune-css@14.18.0_@types+react@18.3.11_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index.esm.js
|
|
11408
11408
|
init_index_a91e5689_esm();
|
|
11409
11409
|
init_clsx();
|
|
11410
11410
|
import "react";
|
|
@@ -16913,9 +16913,10 @@ function OneOfSchema(props) {
|
|
|
16913
16913
|
"form-group": true,
|
|
16914
16914
|
"has-error": !changed && props.errors && !isEmpty(props.errors) || (props.submitted || changed && blurred) && validations.length
|
|
16915
16915
|
};
|
|
16916
|
+
const isHidden = props.schema.hidden;
|
|
16916
16917
|
const feedbackId = `${id}-feedback`;
|
|
16917
16918
|
const labelId = `${id}-label`;
|
|
16918
|
-
return /* @__PURE__ */ jsxs32(Fragment15, { children: [
|
|
16919
|
+
return !isHidden ? /* @__PURE__ */ jsxs32(Fragment15, { children: [
|
|
16919
16920
|
(props.schema.oneOf.length > 1 || isConstSchema2(props.schema.oneOf[0])) && /* @__PURE__ */ jsxs32(Fragment15, { children: [
|
|
16920
16921
|
props.schema.alert && /* @__PURE__ */ jsx91(DynamicAlert_default, { component: props.schema.alert }),
|
|
16921
16922
|
/* @__PURE__ */ jsxs32("div", { className: (0, import_classnames11.default)(formGroupClasses), children: [
|
|
@@ -16966,7 +16967,7 @@ function OneOfSchema(props) {
|
|
|
16966
16967
|
onPersistAsync: props.onPersistAsync
|
|
16967
16968
|
}
|
|
16968
16969
|
)
|
|
16969
|
-
] });
|
|
16970
|
+
] }) : null;
|
|
16970
16971
|
}
|
|
16971
16972
|
function getTitleAndHelp(schema, forId, labelId) {
|
|
16972
16973
|
var _a;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client",
|
|
3
|
-
"version": "3.21.
|
|
3
|
+
"version": "3.21.2",
|
|
4
4
|
"description": "Dynamic Flow web client",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.min.js",
|
|
@@ -27,26 +27,26 @@
|
|
|
27
27
|
"url": "git+https://github.com/transferwise/dynamic-flow.git"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@babel/core": "7.25.
|
|
31
|
-
"@babel/plugin-syntax-flow": "7.
|
|
32
|
-
"@babel/plugin-transform-react-jsx": "7.25.
|
|
33
|
-
"@babel/preset-env": "7.25.
|
|
34
|
-
"@babel/preset-react": "7.
|
|
35
|
-
"@babel/preset-typescript": "7.
|
|
30
|
+
"@babel/core": "7.25.7",
|
|
31
|
+
"@babel/plugin-syntax-flow": "7.25.7",
|
|
32
|
+
"@babel/plugin-transform-react-jsx": "7.25.7",
|
|
33
|
+
"@babel/preset-env": "7.25.7",
|
|
34
|
+
"@babel/preset-react": "7.25.7",
|
|
35
|
+
"@babel/preset-typescript": "7.25.7",
|
|
36
36
|
"@cfaester/enzyme-adapter-react-18": "0.8.0",
|
|
37
|
-
"@chromatic-com/storybook": "
|
|
37
|
+
"@chromatic-com/storybook": "2.0.2",
|
|
38
38
|
"@formatjs/cli": "^6.2.12",
|
|
39
|
-
"@storybook/addon-a11y": "^8.3.
|
|
40
|
-
"@storybook/addon-actions": "^8.3.
|
|
41
|
-
"@storybook/addon-essentials": "^8.3.
|
|
42
|
-
"@storybook/addon-interactions": "^8.3.
|
|
43
|
-
"@storybook/addon-links": "^8.3.
|
|
39
|
+
"@storybook/addon-a11y": "^8.3.5",
|
|
40
|
+
"@storybook/addon-actions": "^8.3.5",
|
|
41
|
+
"@storybook/addon-essentials": "^8.3.5",
|
|
42
|
+
"@storybook/addon-interactions": "^8.3.5",
|
|
43
|
+
"@storybook/addon-links": "^8.3.5",
|
|
44
44
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
|
|
45
|
-
"@storybook/manager-api": "^8.3.
|
|
46
|
-
"@storybook/react": "^8.3.
|
|
47
|
-
"@storybook/react-webpack5": "^8.3.
|
|
48
|
-
"@storybook/test": "^8.3.
|
|
49
|
-
"@storybook/types": "^8.3.
|
|
45
|
+
"@storybook/manager-api": "^8.3.5",
|
|
46
|
+
"@storybook/react": "^8.3.5",
|
|
47
|
+
"@storybook/react-webpack5": "^8.3.5",
|
|
48
|
+
"@storybook/test": "^8.3.5",
|
|
49
|
+
"@storybook/types": "^8.3.5",
|
|
50
50
|
"@testing-library/dom": "10.4.0",
|
|
51
51
|
"@testing-library/jest-dom": "6.5.0",
|
|
52
52
|
"@testing-library/react": "16.0.1",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"@transferwise/neptune-css": "14.18.0",
|
|
58
58
|
"@types/enzyme": "^3.10.18",
|
|
59
59
|
"@types/jest": "29.5.13",
|
|
60
|
-
"@types/react": "18.3.
|
|
60
|
+
"@types/react": "18.3.11",
|
|
61
61
|
"@types/react-dom": "18.3.0",
|
|
62
62
|
"@types/react-intl": "3.0.0",
|
|
63
63
|
"@wise/art": "2.15.0",
|
|
64
64
|
"@wise/components-theming": "^1.6.0",
|
|
65
65
|
"babel-jest": "29.7.0",
|
|
66
66
|
"enzyme": "^3.11.0",
|
|
67
|
-
"esbuild": "0.
|
|
67
|
+
"esbuild": "0.24.0",
|
|
68
68
|
"jest": "29.7.0",
|
|
69
69
|
"jest-environment-jsdom": "29.7.0",
|
|
70
70
|
"jest-fetch-mock": "^3.0.3",
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"react": "18.3.1",
|
|
78
78
|
"react-dom": "18.3.1",
|
|
79
79
|
"react-intl": "6.7.0",
|
|
80
|
-
"storybook": "^8.3.
|
|
80
|
+
"storybook": "^8.3.5",
|
|
81
81
|
"stylelint": "16.9.0",
|
|
82
82
|
"stylelint-config-standard": "36.0.1",
|
|
83
83
|
"stylelint-no-unsupported-browser-features": "8.0.1",
|
|
84
84
|
"stylelint-value-no-unknown-custom-properties": "6.0.1",
|
|
85
85
|
"tsx": "4.19.1",
|
|
86
86
|
"typescript": "5.6.2",
|
|
87
|
-
"webpack": "5.
|
|
87
|
+
"webpack": "5.95.0",
|
|
88
88
|
"@wise/dynamic-flow-fixtures": "0.0.1",
|
|
89
89
|
"@wise/dynamic-flow-renderers": "0.0.0"
|
|
90
90
|
},
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"nanoid": "5.0.7",
|
|
104
104
|
"react-webcam": "^7.2.0",
|
|
105
105
|
"screenfull": "^5.2.0",
|
|
106
|
-
"@wise/dynamic-flow-types": "2.23.
|
|
106
|
+
"@wise/dynamic-flow-types": "2.23.2"
|
|
107
107
|
},
|
|
108
108
|
"scripts": {
|
|
109
109
|
"dev": "pnpm build:visual-tests && storybook dev -p 3003",
|