survey-react 1.9.131 → 1.9.133
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 +41 -12
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +13 -1
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +13 -1
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +34 -5
- package/survey.react.js +162 -47
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/defaultV2.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.133
|
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
|
*/
|
@@ -3359,6 +3359,13 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3359
3359
|
white-space: normal;
|
3360
3360
|
width: 100%;
|
3361
3361
|
text-align: left;
|
3362
|
+
min-width: 0;
|
3363
|
+
}
|
3364
|
+
.sd-item__control-label .sv-string-viewer {
|
3365
|
+
max-width: 100%;
|
3366
|
+
overflow: hidden;
|
3367
|
+
text-overflow: ellipsis;
|
3368
|
+
display: block;
|
3362
3369
|
}
|
3363
3370
|
|
3364
3371
|
.sd-item--disabled .sd-item__control-label {
|
@@ -3401,6 +3408,7 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3401
3408
|
position: relative;
|
3402
3409
|
gap: var(--sjs-base-unit, var(--base-unit, 8px));
|
3403
3410
|
vertical-align: top;
|
3411
|
+
max-width: 100%;
|
3404
3412
|
}
|
3405
3413
|
|
3406
3414
|
.sd-selectbase__column {
|
@@ -3411,6 +3419,7 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3411
3419
|
display: block;
|
3412
3420
|
box-sizing: border-box;
|
3413
3421
|
flex: 1 1 0px;
|
3422
|
+
min-width: 0;
|
3414
3423
|
}
|
3415
3424
|
|
3416
3425
|
.sd-selectbase__column:not(:last-child) {
|
@@ -6223,27 +6232,28 @@ svg.sd-action--icon {
|
|
6223
6232
|
flex-wrap: nowrap;
|
6224
6233
|
text-align: center;
|
6225
6234
|
flex-direction: column;
|
6235
|
+
cursor: pointer;
|
6226
6236
|
}
|
6227
6237
|
.sd-progress-buttons__list li:not(:first-child) > .sd-progress-buttons__connector {
|
6228
6238
|
display: block;
|
6229
6239
|
content: "";
|
6230
|
-
width: 100%;
|
6231
6240
|
height: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6232
6241
|
background-color: var(--sjs-navigation-default, #bcbcbc);
|
6233
6242
|
position: absolute;
|
6234
|
-
bottom: calc(
|
6235
|
-
right: 50
|
6243
|
+
bottom: calc(1.125 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6244
|
+
right: calc(50% + 4px);
|
6245
|
+
width: calc(100% - 4px);
|
6246
|
+
pointer-events: none;
|
6236
6247
|
}
|
6237
6248
|
.sd-progress-buttons__list li:after {
|
6238
6249
|
display: flex;
|
6239
6250
|
content: attr(data-page-number);
|
6240
6251
|
width: calc(0 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6241
6252
|
height: calc(0 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6242
|
-
margin: calc(0.
|
6253
|
+
margin: calc(0.75 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6243
6254
|
border: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) solid transparent;
|
6244
6255
|
background-color: var(--sjs-navigation-default, #bcbcbc);
|
6245
6256
|
border-radius: 50%;
|
6246
|
-
cursor: pointer;
|
6247
6257
|
align-self: center;
|
6248
6258
|
z-index: 1;
|
6249
6259
|
font-size: calc(0.75 * (var(--sjs-font-size, 16px)));
|
@@ -6252,6 +6262,13 @@ svg.sd-action--icon {
|
|
6252
6262
|
justify-content: center;
|
6253
6263
|
color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
|
6254
6264
|
}
|
6265
|
+
.sd-progress-buttons__list li:hover:after {
|
6266
|
+
color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6267
|
+
padding: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6268
|
+
margin: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6269
|
+
border: calc(0.75 * (var(--sjs-base-unit, var(--base-unit, 8px)))) solid var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6270
|
+
background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
|
6271
|
+
}
|
6255
6272
|
.sd-progress-buttons__list .sd-progress-buttons__list-element--passed:not(:first-child) > .sd-progress-buttons__connector {
|
6256
6273
|
background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6257
6274
|
}
|
@@ -6262,11 +6279,11 @@ svg.sd-action--icon {
|
|
6262
6279
|
background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6263
6280
|
}
|
6264
6281
|
.sd-progress-buttons__list .sd-progress-buttons__list-element--current:after {
|
6265
|
-
border
|
6282
|
+
border: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) solid var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6266
6283
|
background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
|
6267
6284
|
color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6268
|
-
padding: calc(0.
|
6269
|
-
margin: 0;
|
6285
|
+
padding: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6286
|
+
margin: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6270
6287
|
}
|
6271
6288
|
|
6272
6289
|
.sd-progress-buttons__page-title {
|
@@ -6302,7 +6319,7 @@ svg.sd-action--icon {
|
|
6302
6319
|
flex-direction: column-reverse;
|
6303
6320
|
}
|
6304
6321
|
.sd-progress-buttons--bottom .sd-progress-buttons__list li:not(:first-child) > .sd-progress-buttons__connector {
|
6305
|
-
top: calc(
|
6322
|
+
top: calc(1.125 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6306
6323
|
}
|
6307
6324
|
.sd-progress-buttons--bottom .sd-progress-buttons__page-title {
|
6308
6325
|
margin-top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
@@ -6318,12 +6335,17 @@ svg.sd-action--icon {
|
|
6318
6335
|
}
|
6319
6336
|
|
6320
6337
|
.sd-progress-buttons--numbered .sd-progress-buttons__list li:not(:first-child) > .sd-progress-buttons__connector {
|
6321
|
-
bottom: calc(
|
6338
|
+
bottom: calc(2.175 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6339
|
+
right: calc(50% + 8px);
|
6340
|
+
width: calc(100% - 8px);
|
6322
6341
|
}
|
6323
6342
|
.sd-progress-buttons--numbered .sd-progress-buttons__list li:after {
|
6324
6343
|
width: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6325
6344
|
height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6326
6345
|
}
|
6346
|
+
.sd-progress-buttons--numbered .sd-progress-buttons__list li:hover:after {
|
6347
|
+
padding: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6348
|
+
}
|
6327
6349
|
|
6328
6350
|
.sd-root-modern--mobile .sd-progress-buttons__list,
|
6329
6351
|
.sd-progress-buttons--no-titles .sd-progress-buttons__list {
|
@@ -6336,13 +6358,20 @@ svg.sd-action--icon {
|
|
6336
6358
|
}
|
6337
6359
|
|
6338
6360
|
.sd-progress-buttons--bottom.sd-progress-buttons--numbered .sd-progress-buttons__list li:not(:first-child) > .sd-progress-buttons__connector {
|
6339
|
-
top: calc(
|
6361
|
+
top: calc(2.175 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6340
6362
|
}
|
6341
6363
|
|
6342
6364
|
.sd-root-modern--mobile .sd-progress-buttons {
|
6343
6365
|
padding: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6344
6366
|
}
|
6345
6367
|
|
6368
|
+
.sd-progress-buttons--fit-survey-width {
|
6369
|
+
max-width: calc(90 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6370
|
+
box-sizing: border-box;
|
6371
|
+
width: 100%;
|
6372
|
+
margin: auto;
|
6373
|
+
}
|
6374
|
+
|
6346
6375
|
.sv_progress-toc {
|
6347
6376
|
padding: var(--sjs-base-unit, var(--base-unit, 8px));
|
6348
6377
|
max-width: calc(42 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|