survey-react 1.9.127 → 1.9.129
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/defaultV2.css +457 -122
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +122 -17
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +91 -17
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +445 -61
- package/survey.react.js +1570 -541
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/survey.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.129
|
3
3
|
* Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
5
5
|
*/
|
@@ -7,6 +7,10 @@
|
|
7
7
|
--sjs-default-font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
8
8
|
}
|
9
9
|
|
10
|
+
:root {
|
11
|
+
--sjs-transition-duration: 150ms;
|
12
|
+
}
|
13
|
+
|
10
14
|
.sv_progress-buttons__container-center {
|
11
15
|
text-align: center;
|
12
16
|
}
|
@@ -116,6 +120,10 @@
|
|
116
120
|
cursor: not-allowed;
|
117
121
|
}
|
118
122
|
|
123
|
+
:root {
|
124
|
+
--sjs-transition-duration: 150ms;
|
125
|
+
}
|
126
|
+
|
119
127
|
.sv_progress-toc {
|
120
128
|
padding: var(--sjs-base-unit, var(--base-unit, 8px));
|
121
129
|
max-width: 336px;
|
@@ -167,6 +175,14 @@
|
|
167
175
|
background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
|
168
176
|
}
|
169
177
|
|
178
|
+
:root {
|
179
|
+
--sjs-transition-duration: 150ms;
|
180
|
+
}
|
181
|
+
|
182
|
+
:root {
|
183
|
+
--sjs-transition-duration: 150ms;
|
184
|
+
}
|
185
|
+
|
170
186
|
.sv_window {
|
171
187
|
position: fixed;
|
172
188
|
bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
@@ -176,16 +192,67 @@
|
|
176
192
|
box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1));
|
177
193
|
background-clip: padding-box;
|
178
194
|
z-index: 100;
|
179
|
-
max-height:
|
195
|
+
max-height: 50vh;
|
180
196
|
overflow: auto;
|
181
197
|
box-sizing: border-box;
|
198
|
+
background: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
|
199
|
+
}
|
200
|
+
@-moz-document url-prefix() {
|
201
|
+
.sv_window,
|
202
|
+
.sv_window * {
|
203
|
+
scrollbar-width: thin;
|
204
|
+
scrollbar-color: var(--sjs-border-default, var(--border, #d6d6d6)) transparent;
|
205
|
+
}
|
206
|
+
}
|
207
|
+
.sv_window::-webkit-scrollbar,
|
208
|
+
.sv_window *::-webkit-scrollbar {
|
209
|
+
width: 12px;
|
210
|
+
height: 12px;
|
211
|
+
background-color: transparent;
|
212
|
+
}
|
213
|
+
.sv_window::-webkit-scrollbar-thumb,
|
214
|
+
.sv_window *::-webkit-scrollbar-thumb {
|
215
|
+
border: 4px solid rgba(0, 0, 0, 0);
|
216
|
+
background-clip: padding-box;
|
217
|
+
border-radius: 32px;
|
218
|
+
background-color: var(--sjs-border-default, var(--border, #d6d6d6));
|
219
|
+
}
|
220
|
+
.sv_window::-webkit-scrollbar-track,
|
221
|
+
.sv_window *::-webkit-scrollbar-track {
|
222
|
+
background: transparent;
|
223
|
+
}
|
224
|
+
.sv_window::-webkit-scrollbar-thumb:hover,
|
225
|
+
.sv_window *::-webkit-scrollbar-thumb:hover {
|
226
|
+
border: 2px solid rgba(0, 0, 0, 0);
|
227
|
+
background-color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
|
228
|
+
}
|
229
|
+
|
230
|
+
.sv_window_root-content {
|
231
|
+
height: 100%;
|
232
|
+
}
|
233
|
+
|
234
|
+
.sv_window--full-screen {
|
235
|
+
top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
236
|
+
left: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
237
|
+
right: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
238
|
+
bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
239
|
+
max-height: 100%;
|
240
|
+
width: initial !important;
|
241
|
+
max-width: initial !important;
|
242
|
+
}
|
243
|
+
|
244
|
+
.sv_window_header {
|
245
|
+
display: flex;
|
246
|
+
justify-content: flex-end;
|
182
247
|
}
|
183
248
|
|
184
249
|
.sv_window_content {
|
185
|
-
border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
|
186
250
|
overflow: hidden;
|
187
251
|
}
|
188
252
|
|
253
|
+
.sv_window--collapsed {
|
254
|
+
height: initial;
|
255
|
+
}
|
189
256
|
.sv_window--collapsed .sv_window_header {
|
190
257
|
height: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
191
258
|
padding: var(--sjs-base-unit, var(--base-unit, 8px)) var(--sjs-base-unit, var(--base-unit, 8px)) var(--sjs-base-unit, var(--base-unit, 8px)) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
@@ -196,6 +263,10 @@
|
|
196
263
|
.sv_window--collapsed .sv_window_content {
|
197
264
|
display: none;
|
198
265
|
}
|
266
|
+
.sv_window--collapsed .sv_window_buttons_container {
|
267
|
+
margin-top: 0;
|
268
|
+
margin-right: 0;
|
269
|
+
}
|
199
270
|
|
200
271
|
.sv_window_header_title_collapsed {
|
201
272
|
color: var(--sjs-general-dim-forecolor, rgba(0, 0, 0, 0.91));
|
@@ -206,7 +277,7 @@
|
|
206
277
|
line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
|
207
278
|
flex: 1;
|
208
279
|
display: flex;
|
209
|
-
justify-content: start;
|
280
|
+
justify-content: flex-start;
|
210
281
|
align-items: center;
|
211
282
|
}
|
212
283
|
|
@@ -223,9 +294,9 @@
|
|
223
294
|
}
|
224
295
|
|
225
296
|
.sv_window_buttons_container {
|
226
|
-
position:
|
227
|
-
top: var(--sjs-base-unit, var(--base-unit, 8px));
|
228
|
-
right: var(--sjs-base-unit, var(--base-unit, 8px));
|
297
|
+
position: fixed;
|
298
|
+
margin-top: var(--sjs-base-unit, var(--base-unit, 8px));
|
299
|
+
margin-right: var(--sjs-base-unit, var(--base-unit, 8px));
|
229
300
|
display: flex;
|
230
301
|
gap: var(--sjs-base-unit, var(--base-unit, 8px));
|
231
302
|
z-index: 1;
|
@@ -242,13 +313,16 @@
|
|
242
313
|
.sv_window_button:hover, .sv_window_button:active {
|
243
314
|
background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
|
244
315
|
}
|
245
|
-
.sv_window_button:hover svg use,
|
316
|
+
.sv_window_button:hover svg use,
|
317
|
+
.sv_window_button:hover svg path, .sv_window_button:active svg use,
|
318
|
+
.sv_window_button:active svg path {
|
246
319
|
fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
247
320
|
}
|
248
321
|
.sv_window_button:active {
|
249
322
|
opacity: 0.5;
|
250
323
|
}
|
251
|
-
.sv_window_button svg use,
|
324
|
+
.sv_window_button svg use,
|
325
|
+
.sv_window_button svg path {
|
252
326
|
fill: var(--sjs-general-dim-forecolor-light, rgba(0, 0, 0, 0.45));
|
253
327
|
}
|
254
328
|
|
@@ -295,6 +369,10 @@ sv-brand-info, .sv-brand-info {
|
|
295
369
|
color: #909090;
|
296
370
|
}
|
297
371
|
|
372
|
+
:root {
|
373
|
+
--sjs-transition-duration: 150ms;
|
374
|
+
}
|
375
|
+
|
298
376
|
.sv-dragged-element-shortcut {
|
299
377
|
height: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
300
378
|
min-width: calc(12.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
@@ -335,6 +413,10 @@ sv-brand-info, .sv-brand-info {
|
|
335
413
|
visibility: hidden;
|
336
414
|
}
|
337
415
|
|
416
|
+
:root {
|
417
|
+
--sjs-transition-duration: 150ms;
|
418
|
+
}
|
419
|
+
|
338
420
|
.sv-save-data_root {
|
339
421
|
position: fixed;
|
340
422
|
left: 50%;
|
@@ -1177,10 +1259,6 @@ body {
|
|
1177
1259
|
.sv_m600 .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix td label.sv_q_m_label {
|
1178
1260
|
display: inline;
|
1179
1261
|
}
|
1180
|
-
.sv_m600 .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_q table.sv_q_matrix td:after,
|
1181
|
-
.sv_m600 .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix td:after {
|
1182
|
-
content: attr(data-responsive-title);
|
1183
|
-
}
|
1184
1262
|
.sv_m600 .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_q table.sv_q_matrix .sv_q_m_cell,
|
1185
1263
|
.sv_m600 .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix .sv_q_m_cell {
|
1186
1264
|
text-align: initial;
|
@@ -1258,10 +1336,6 @@ body {
|
|
1258
1336
|
.sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix td label.sv_q_m_label {
|
1259
1337
|
display: inline;
|
1260
1338
|
}
|
1261
|
-
.sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_q table.sv_q_matrix td:after,
|
1262
|
-
.sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix td:after {
|
1263
|
-
content: attr(data-responsive-title);
|
1264
|
-
}
|
1265
1339
|
.sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_q table.sv_q_matrix .sv_q_m_cell,
|
1266
1340
|
.sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix .sv_q_m_cell {
|
1267
1341
|
text-align: initial;
|