@wise/dynamic-flow-client 5.20.0-experimental-2dcb025 → 5.20.0-experimental-9265cac
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.css
CHANGED
|
@@ -4,16 +4,19 @@
|
|
|
4
4
|
border-radius: var(--radius-medium);
|
|
5
5
|
padding: var(--size-16);
|
|
6
6
|
}
|
|
7
|
+
|
|
7
8
|
.df-box-renderer-fixed-width {
|
|
8
9
|
display: flex;
|
|
9
10
|
justify-content: center;
|
|
10
11
|
}
|
|
12
|
+
|
|
11
13
|
.df-box-renderer-width-xs,
|
|
12
14
|
.df-box-renderer-width-sm,
|
|
13
15
|
.df-box-renderer-width-md,
|
|
14
16
|
.df-box-renderer-width-lg {
|
|
15
17
|
width: 100%;
|
|
16
18
|
}
|
|
19
|
+
|
|
17
20
|
@media screen and (width >=768px) {
|
|
18
21
|
.df-box-renderer-border {
|
|
19
22
|
padding: var(--size-24);
|
|
@@ -35,6 +38,7 @@
|
|
|
35
38
|
width: 83.33%;
|
|
36
39
|
}
|
|
37
40
|
}
|
|
41
|
+
|
|
38
42
|
@media screen and (width >=990px) {
|
|
39
43
|
.df-box-renderer-width-xs {
|
|
40
44
|
width: 25%;
|
|
@@ -52,16 +56,20 @@
|
|
|
52
56
|
width: 66.66%;
|
|
53
57
|
}
|
|
54
58
|
}
|
|
59
|
+
|
|
55
60
|
/* container queries (when .df-prefer-container-queries is set on a parent) */
|
|
61
|
+
|
|
56
62
|
.df-prefer-container-queries .df-box-renderer.df-box-renderer-border {
|
|
57
63
|
padding: var(--size-16);
|
|
58
64
|
}
|
|
65
|
+
|
|
59
66
|
.df-prefer-container-queries .df-box-renderer.df-box-renderer-width-xs,
|
|
60
67
|
.df-prefer-container-queries .df-box-renderer.df-box-renderer-width-sm,
|
|
61
68
|
.df-prefer-container-queries .df-box-renderer.df-box-renderer-width-md,
|
|
62
69
|
.df-prefer-container-queries .df-box-renderer.df-box-renderer-width-lg {
|
|
63
70
|
width: 100%;
|
|
64
71
|
}
|
|
72
|
+
|
|
65
73
|
@container (min-width: 480px) {
|
|
66
74
|
.df-prefer-container-queries .df-box-renderer.df-box-renderer-border {
|
|
67
75
|
padding: var(--size-24);
|
|
@@ -88,15 +96,18 @@
|
|
|
88
96
|
gap: var(--size-4);
|
|
89
97
|
flex-direction: column;
|
|
90
98
|
}
|
|
99
|
+
|
|
91
100
|
.df-columns-renderer-column,
|
|
92
101
|
.df-columns-renderer-bias-start .df-columns-renderer-column:nth-child(2),
|
|
93
102
|
.df-columns-renderer-bias-end .df-columns-renderer-column:nth-child(1) {
|
|
94
103
|
flex: 1;
|
|
95
104
|
}
|
|
105
|
+
|
|
96
106
|
.df-columns-renderer-bias-start .df-columns-renderer-column:nth-child(1),
|
|
97
107
|
.df-columns-renderer-bias-end .df-columns-renderer-column:nth-child(2) {
|
|
98
108
|
flex: 2;
|
|
99
109
|
}
|
|
110
|
+
|
|
100
111
|
@media (width >=768px) {
|
|
101
112
|
.df-columns-renderer-container {
|
|
102
113
|
flex-direction: row;
|
|
@@ -106,21 +117,26 @@
|
|
|
106
117
|
.df-image .df-illustration {
|
|
107
118
|
padding: 0;
|
|
108
119
|
}
|
|
120
|
+
|
|
109
121
|
.df-image {
|
|
110
122
|
display: flex;
|
|
111
123
|
}
|
|
124
|
+
|
|
112
125
|
.df-image.start {
|
|
113
126
|
justify-content: start;
|
|
114
127
|
align-items: start;
|
|
115
128
|
}
|
|
129
|
+
|
|
116
130
|
.df-image.center {
|
|
117
131
|
justify-content: center;
|
|
118
132
|
align-items: center;
|
|
119
133
|
}
|
|
134
|
+
|
|
120
135
|
.df-image.end {
|
|
121
136
|
justify-content: end;
|
|
122
137
|
align-items: end;
|
|
123
138
|
}
|
|
139
|
+
|
|
124
140
|
.df-image img.df-reserve-space {
|
|
125
141
|
width: 100%;
|
|
126
142
|
/*
|
|
@@ -131,25 +147,32 @@
|
|
|
131
147
|
aspect-ratio: auto 1 / 1;
|
|
132
148
|
height: auto;
|
|
133
149
|
}
|
|
150
|
+
|
|
134
151
|
.df-image img:not([src]) {
|
|
135
152
|
visibility: hidden;
|
|
136
153
|
}
|
|
154
|
+
|
|
137
155
|
/* wide screens (or default) */
|
|
138
156
|
.df-image.xs img.df-reserve-space {
|
|
139
157
|
width: 100px;
|
|
140
158
|
}
|
|
159
|
+
|
|
141
160
|
.df-image.sm img.df-reserve-space {
|
|
142
161
|
width: 200px;
|
|
143
162
|
}
|
|
163
|
+
|
|
144
164
|
.df-image.md img.df-reserve-space {
|
|
145
165
|
width: 300px;
|
|
146
166
|
}
|
|
167
|
+
|
|
147
168
|
.df-image.lg img.df-reserve-space {
|
|
148
169
|
width: 500px;
|
|
149
170
|
}
|
|
171
|
+
|
|
150
172
|
.df-image.xl img.df-reserve-space {
|
|
151
173
|
max-width: 600px;
|
|
152
174
|
}
|
|
175
|
+
|
|
153
176
|
/* narrow screens */
|
|
154
177
|
@media (width <576px) {
|
|
155
178
|
.df-image.xs img.df-reserve-space {
|
|
@@ -168,6 +191,7 @@
|
|
|
168
191
|
width: 300px;
|
|
169
192
|
}
|
|
170
193
|
}
|
|
194
|
+
|
|
171
195
|
/* narrow container */
|
|
172
196
|
@container (max-width: 576px) {
|
|
173
197
|
.df-image.xs img.df-reserve-space {
|
|
@@ -192,14 +216,17 @@
|
|
|
192
216
|
.df-media-layout-avatar {
|
|
193
217
|
display: flex;
|
|
194
218
|
}
|
|
219
|
+
|
|
195
220
|
.df-media-layout-avatar.start {
|
|
196
221
|
justify-content: start;
|
|
197
222
|
align-items: start;
|
|
198
223
|
}
|
|
224
|
+
|
|
199
225
|
.df-media-layout-avatar.center {
|
|
200
226
|
justify-content: center;
|
|
201
227
|
align-items: center;
|
|
202
228
|
}
|
|
229
|
+
|
|
203
230
|
.df-media-layout-avatar.end {
|
|
204
231
|
justify-content: end;
|
|
205
232
|
align-items: end;
|
|
@@ -224,13 +251,16 @@
|
|
|
224
251
|
padding: var(--size-16) 0;
|
|
225
252
|
background-color: var(--color-background-screen);
|
|
226
253
|
}
|
|
254
|
+
|
|
227
255
|
/* If we're in a drawer, we need to account for the bottom padding on the drawer content */
|
|
228
256
|
.np-drawer-content .df-step-fixed__footer {
|
|
229
257
|
bottom: -16px;
|
|
230
258
|
}
|
|
259
|
+
|
|
231
260
|
.tw-modal-body--scrollable .df-step-fixed__footer {
|
|
232
261
|
bottom: -24px;
|
|
233
262
|
}
|
|
263
|
+
|
|
234
264
|
.df-modal .df-back-button {
|
|
235
265
|
position: fixed;
|
|
236
266
|
top: 24px;
|
|
@@ -248,15 +278,18 @@
|
|
|
248
278
|
display: block !important;
|
|
249
279
|
/* left-aligned by default */
|
|
250
280
|
}
|
|
281
|
+
|
|
251
282
|
.df-button.circular {
|
|
252
283
|
display: flex;
|
|
253
284
|
justify-content: center;
|
|
254
285
|
}
|
|
286
|
+
|
|
255
287
|
.df-button.small.align-center {
|
|
256
288
|
display: block !important;
|
|
257
289
|
margin-left: auto;
|
|
258
290
|
margin-right: auto;
|
|
259
291
|
}
|
|
292
|
+
|
|
260
293
|
/**
|
|
261
294
|
* This specifies the container for container queries about width.
|
|
262
295
|
* We don't use it by default, but integrations can specify it using the className prop in the DF component.
|
package/build/main.js
CHANGED
|
@@ -1720,7 +1720,10 @@ var getPerformCollectionQueryFunction = (httpClient, url, method, mapState) => {
|
|
|
1720
1720
|
const filterValues = filters.map(
|
|
1721
1721
|
(f) => {
|
|
1722
1722
|
var _a;
|
|
1723
|
-
return [
|
|
1723
|
+
return [
|
|
1724
|
+
f.param,
|
|
1725
|
+
f.multiSelect ? f.options.filter((option) => option.selected).map((option) => option.value) : (_a = f.options.find((option) => option.selected)) == null ? void 0 : _a.value
|
|
1726
|
+
];
|
|
1724
1727
|
}
|
|
1725
1728
|
);
|
|
1726
1729
|
const response = await (method === "GET" ? httpClient(
|
|
@@ -1762,7 +1765,13 @@ var addQueryParameters = (url, params) => {
|
|
|
1762
1765
|
var addQueryParameter = (url, key, value) => {
|
|
1763
1766
|
const [urlBase, urlQuery] = url.split("?");
|
|
1764
1767
|
const urlQueryParams = new URLSearchParams(urlQuery);
|
|
1765
|
-
|
|
1768
|
+
if (isArray(value)) {
|
|
1769
|
+
value.forEach((v) => {
|
|
1770
|
+
urlQueryParams.append(key, v);
|
|
1771
|
+
});
|
|
1772
|
+
} else {
|
|
1773
|
+
urlQueryParams.append(key, value);
|
|
1774
|
+
}
|
|
1766
1775
|
return `${urlBase}?${urlQueryParams.toString()}`;
|
|
1767
1776
|
};
|
|
1768
1777
|
|
package/build/main.mjs
CHANGED
|
@@ -1689,7 +1689,10 @@ var getPerformCollectionQueryFunction = (httpClient, url, method, mapState) => {
|
|
|
1689
1689
|
const filterValues = filters.map(
|
|
1690
1690
|
(f) => {
|
|
1691
1691
|
var _a;
|
|
1692
|
-
return [
|
|
1692
|
+
return [
|
|
1693
|
+
f.param,
|
|
1694
|
+
f.multiSelect ? f.options.filter((option) => option.selected).map((option) => option.value) : (_a = f.options.find((option) => option.selected)) == null ? void 0 : _a.value
|
|
1695
|
+
];
|
|
1693
1696
|
}
|
|
1694
1697
|
);
|
|
1695
1698
|
const response = await (method === "GET" ? httpClient(
|
|
@@ -1731,7 +1734,13 @@ var addQueryParameters = (url, params) => {
|
|
|
1731
1734
|
var addQueryParameter = (url, key, value) => {
|
|
1732
1735
|
const [urlBase, urlQuery] = url.split("?");
|
|
1733
1736
|
const urlQueryParams = new URLSearchParams(urlQuery);
|
|
1734
|
-
|
|
1737
|
+
if (isArray(value)) {
|
|
1738
|
+
value.forEach((v) => {
|
|
1739
|
+
urlQueryParams.append(key, v);
|
|
1740
|
+
});
|
|
1741
|
+
} else {
|
|
1742
|
+
urlQueryParams.append(key, value);
|
|
1743
|
+
}
|
|
1735
1744
|
return `${urlBase}?${urlQueryParams.toString()}`;
|
|
1736
1745
|
};
|
|
1737
1746
|
|