@wise/dynamic-flow-client-internal 4.12.2 → 4.12.4
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 +3 -6
- package/build/main.mjs +3 -6
- package/package.json +6 -6
package/build/main.js
CHANGED
|
@@ -1163,8 +1163,7 @@ var getImageNode = (image, size) => {
|
|
|
1163
1163
|
|
|
1164
1164
|
// ../renderers/src/components/OptionMedia.tsx
|
|
1165
1165
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1166
|
-
var mediaSize =
|
|
1167
|
-
var badgeMediaSize = 48;
|
|
1166
|
+
var mediaSize = 48;
|
|
1168
1167
|
function OptionMedia({
|
|
1169
1168
|
icon,
|
|
1170
1169
|
image,
|
|
@@ -1172,7 +1171,7 @@ function OptionMedia({
|
|
|
1172
1171
|
}) {
|
|
1173
1172
|
const imageNode = getImageNode(image, mediaSize);
|
|
1174
1173
|
const iconNode = getIconNode(icon);
|
|
1175
|
-
const badge = getBadgedMedia(iconNode, imageNode,
|
|
1174
|
+
const badge = getBadgedMedia(iconNode, imageNode, mediaSize);
|
|
1176
1175
|
if (badge) {
|
|
1177
1176
|
return badge;
|
|
1178
1177
|
}
|
|
@@ -2770,7 +2769,6 @@ var LargeUploadRenderer = {
|
|
|
2770
2769
|
description,
|
|
2771
2770
|
disabled,
|
|
2772
2771
|
help,
|
|
2773
|
-
maxSize,
|
|
2774
2772
|
type,
|
|
2775
2773
|
validationState,
|
|
2776
2774
|
onUpload
|
|
@@ -2782,7 +2780,6 @@ var LargeUploadRenderer = {
|
|
|
2782
2780
|
"description",
|
|
2783
2781
|
"disabled",
|
|
2784
2782
|
"help",
|
|
2785
|
-
"maxSize",
|
|
2786
2783
|
"type",
|
|
2787
2784
|
"validationState",
|
|
2788
2785
|
"onUpload"
|
|
@@ -3193,7 +3190,7 @@ var ModalContentRenderer = {
|
|
|
3193
3190
|
};
|
|
3194
3191
|
|
|
3195
3192
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
3196
|
-
var appVersion = "4.12.
|
|
3193
|
+
var appVersion = "4.12.4";
|
|
3197
3194
|
|
|
3198
3195
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
3199
3196
|
var getLogEvent = (onLog) => (level, message, extra) => {
|
package/build/main.mjs
CHANGED
|
@@ -1129,8 +1129,7 @@ var getImageNode = (image, size) => {
|
|
|
1129
1129
|
|
|
1130
1130
|
// ../renderers/src/components/OptionMedia.tsx
|
|
1131
1131
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
1132
|
-
var mediaSize =
|
|
1133
|
-
var badgeMediaSize = 48;
|
|
1132
|
+
var mediaSize = 48;
|
|
1134
1133
|
function OptionMedia({
|
|
1135
1134
|
icon,
|
|
1136
1135
|
image,
|
|
@@ -1138,7 +1137,7 @@ function OptionMedia({
|
|
|
1138
1137
|
}) {
|
|
1139
1138
|
const imageNode = getImageNode(image, mediaSize);
|
|
1140
1139
|
const iconNode = getIconNode(icon);
|
|
1141
|
-
const badge = getBadgedMedia(iconNode, imageNode,
|
|
1140
|
+
const badge = getBadgedMedia(iconNode, imageNode, mediaSize);
|
|
1142
1141
|
if (badge) {
|
|
1143
1142
|
return badge;
|
|
1144
1143
|
}
|
|
@@ -2746,7 +2745,6 @@ var LargeUploadRenderer = {
|
|
|
2746
2745
|
description,
|
|
2747
2746
|
disabled,
|
|
2748
2747
|
help,
|
|
2749
|
-
maxSize,
|
|
2750
2748
|
type,
|
|
2751
2749
|
validationState,
|
|
2752
2750
|
onUpload
|
|
@@ -2758,7 +2756,6 @@ var LargeUploadRenderer = {
|
|
|
2758
2756
|
"description",
|
|
2759
2757
|
"disabled",
|
|
2760
2758
|
"help",
|
|
2761
|
-
"maxSize",
|
|
2762
2759
|
"type",
|
|
2763
2760
|
"validationState",
|
|
2764
2761
|
"onUpload"
|
|
@@ -3169,7 +3166,7 @@ var ModalContentRenderer = {
|
|
|
3169
3166
|
};
|
|
3170
3167
|
|
|
3171
3168
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
3172
|
-
var appVersion = "4.12.
|
|
3169
|
+
var appVersion = "4.12.4";
|
|
3173
3170
|
|
|
3174
3171
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
3175
3172
|
var getLogEvent = (onLog) => (level, message, extra) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.4",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
"tsx": "4.19.4",
|
|
83
83
|
"typescript": "5.8.3",
|
|
84
84
|
"webpack": "5.99.8",
|
|
85
|
-
"@wise/dynamic-flow-
|
|
86
|
-
"@wise/dynamic-flow-types": "3.3.
|
|
87
|
-
"@wise/dynamic-flow-
|
|
85
|
+
"@wise/dynamic-flow-fixtures": "0.0.1",
|
|
86
|
+
"@wise/dynamic-flow-types": "3.3.4",
|
|
87
|
+
"@wise/dynamic-flow-renderers": "0.0.0"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"@transferwise/components": "^46.92.0",
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
101
|
"classnames": "2.5.1",
|
|
102
|
-
"@wise/dynamic-flow-client": "4.5.
|
|
103
|
-
"@wise/dynamic-flow-types": "3.3.
|
|
102
|
+
"@wise/dynamic-flow-client": "4.5.6",
|
|
103
|
+
"@wise/dynamic-flow-types": "3.3.4"
|
|
104
104
|
},
|
|
105
105
|
"scripts": {
|
|
106
106
|
"dev": "pnpm build:visual-tests && storybook dev -p 3005",
|