survey-react 1.9.125 → 1.9.127
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 +144 -58
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +70 -48
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +70 -48
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +140 -45
- package/survey.react.js +689 -309
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/modern.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.127
|
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
|
*/
|
@@ -3358,65 +3358,87 @@ sv-popup {
|
|
3358
3358
|
|
3359
3359
|
.sv_window {
|
3360
3360
|
position: fixed;
|
3361
|
-
bottom:
|
3362
|
-
right:
|
3363
|
-
|
3364
|
-
|
3365
|
-
|
3366
|
-
font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
|
3367
|
-
font-style: normal;
|
3368
|
-
font-weight: 400;
|
3369
|
-
line-height: 1.42857143;
|
3370
|
-
text-align: left;
|
3371
|
-
text-align: start;
|
3372
|
-
text-decoration: none;
|
3373
|
-
text-shadow: none;
|
3374
|
-
text-transform: none;
|
3375
|
-
letter-spacing: normal;
|
3376
|
-
word-break: normal;
|
3377
|
-
word-spacing: normal;
|
3378
|
-
word-wrap: normal;
|
3379
|
-
white-space: normal;
|
3380
|
-
background-color: #fff;
|
3381
|
-
-webkit-background-clip: padding-box;
|
3361
|
+
bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
3362
|
+
right: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
3363
|
+
border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
|
3364
|
+
border: 1px solid var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
|
3365
|
+
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));
|
3382
3366
|
background-clip: padding-box;
|
3383
|
-
border: 1px solid #ccc;
|
3384
|
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
3385
|
-
border-radius: calc(1.5 * (var(--sjs-corner-radius, 4px)));
|
3386
|
-
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
3387
|
-
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
3388
|
-
line-break: auto;
|
3389
3367
|
z-index: 100;
|
3368
|
+
max-height: 90vh;
|
3369
|
+
overflow: auto;
|
3370
|
+
box-sizing: border-box;
|
3390
3371
|
}
|
3391
3372
|
|
3392
|
-
.
|
3393
|
-
|
3394
|
-
|
3395
|
-
|
3396
|
-
|
3397
|
-
|
3398
|
-
|
3373
|
+
.sv_window_content {
|
3374
|
+
border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
|
3375
|
+
overflow: hidden;
|
3376
|
+
}
|
3377
|
+
|
3378
|
+
.sv_window--collapsed .sv_window_header {
|
3379
|
+
height: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
3380
|
+
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))));
|
3381
|
+
border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
|
3399
3382
|
display: flex;
|
3383
|
+
background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
|
3384
|
+
}
|
3385
|
+
.sv_window--collapsed .sv_window_content {
|
3386
|
+
display: none;
|
3400
3387
|
}
|
3401
3388
|
|
3402
|
-
.
|
3403
|
-
|
3404
|
-
|
3405
|
-
|
3406
|
-
|
3389
|
+
.sv_window_header_title_collapsed {
|
3390
|
+
color: var(--sjs-general-dim-forecolor, rgba(0, 0, 0, 0.91));
|
3391
|
+
font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
|
3392
|
+
font-style: normal;
|
3393
|
+
font-weight: 600;
|
3394
|
+
font-size: var(--sjs-font-size, 16px);
|
3395
|
+
line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
|
3396
|
+
flex: 1;
|
3397
|
+
display: flex;
|
3398
|
+
justify-content: start;
|
3399
|
+
align-items: center;
|
3407
3400
|
}
|
3408
3401
|
|
3409
|
-
.
|
3410
|
-
|
3411
|
-
|
3412
|
-
|
3413
|
-
font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
|
3402
|
+
.sv_window_header_description {
|
3403
|
+
color: var(--sjs-font-questiondescription-color, var(--sjs-general-forecolor-light, rgba(0, 0, 0, 0.45)));
|
3404
|
+
font-feature-settings: "salt" on;
|
3405
|
+
font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
|
3414
3406
|
font-style: normal;
|
3415
|
-
|
3407
|
+
font-size: var(--sjs-font-size, 16px);
|
3408
|
+
line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
|
3409
|
+
white-space: nowrap;
|
3410
|
+
text-overflow: ellipsis;
|
3411
|
+
overflow: hidden;
|
3412
|
+
}
|
3413
|
+
|
3414
|
+
.sv_window_buttons_container {
|
3415
|
+
position: absolute;
|
3416
|
+
top: var(--sjs-base-unit, var(--base-unit, 8px));
|
3417
|
+
right: var(--sjs-base-unit, var(--base-unit, 8px));
|
3418
|
+
display: flex;
|
3419
|
+
gap: var(--sjs-base-unit, var(--base-unit, 8px));
|
3420
|
+
z-index: 1;
|
3416
3421
|
}
|
3417
3422
|
|
3418
|
-
.sv_window_button
|
3419
|
-
|
3423
|
+
.sv_window_button {
|
3424
|
+
display: flex;
|
3425
|
+
padding: var(--sjs-base-unit, var(--base-unit, 8px));
|
3426
|
+
justify-content: center;
|
3427
|
+
align-items: center;
|
3428
|
+
border-radius: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
3429
|
+
cursor: pointer;
|
3430
|
+
}
|
3431
|
+
.sv_window_button:hover, .sv_window_button:active {
|
3432
|
+
background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
|
3433
|
+
}
|
3434
|
+
.sv_window_button:hover svg use, .sv_window_button:hover svg path, .sv_window_button:active svg use, .sv_window_button:active svg path {
|
3435
|
+
fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
3436
|
+
}
|
3437
|
+
.sv_window_button:active {
|
3438
|
+
opacity: 0.5;
|
3439
|
+
}
|
3440
|
+
.sv_window_button svg use, .sv_window_button svg path {
|
3441
|
+
fill: var(--sjs-general-dim-forecolor-light, rgba(0, 0, 0, 0.45));
|
3420
3442
|
}
|
3421
3443
|
|
3422
3444
|
sv-brand-info, .sv-brand-info {
|