survey-react 1.9.128 → 1.9.130

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/modern.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.128
2
+ * surveyjs - Survey JavaScript library v1.9.130
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
  */
@@ -3401,16 +3401,68 @@ sv-popup {
3401
3401
  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));
3402
3402
  background-clip: padding-box;
3403
3403
  z-index: 100;
3404
- max-height: 90vh;
3404
+ max-height: 50vh;
3405
3405
  overflow: auto;
3406
3406
  box-sizing: border-box;
3407
+ background: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
3408
+ width: calc(100% - 4 * (var(--sjs-base-unit, var(--base-unit, 8px)))) !important;
3409
+ }
3410
+ @-moz-document url-prefix() {
3411
+ .sv_window,
3412
+ .sv_window * {
3413
+ scrollbar-width: thin;
3414
+ scrollbar-color: var(--sjs-border-default, var(--border, #d6d6d6)) transparent;
3415
+ }
3416
+ }
3417
+ .sv_window::-webkit-scrollbar,
3418
+ .sv_window *::-webkit-scrollbar {
3419
+ width: 12px;
3420
+ height: 12px;
3421
+ background-color: transparent;
3422
+ }
3423
+ .sv_window::-webkit-scrollbar-thumb,
3424
+ .sv_window *::-webkit-scrollbar-thumb {
3425
+ border: 4px solid rgba(0, 0, 0, 0);
3426
+ background-clip: padding-box;
3427
+ border-radius: 32px;
3428
+ background-color: var(--sjs-border-default, var(--border, #d6d6d6));
3429
+ }
3430
+ .sv_window::-webkit-scrollbar-track,
3431
+ .sv_window *::-webkit-scrollbar-track {
3432
+ background: transparent;
3433
+ }
3434
+ .sv_window::-webkit-scrollbar-thumb:hover,
3435
+ .sv_window *::-webkit-scrollbar-thumb:hover {
3436
+ border: 2px solid rgba(0, 0, 0, 0);
3437
+ background-color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3438
+ }
3439
+
3440
+ .sv_window_root-content {
3441
+ height: 100%;
3442
+ }
3443
+
3444
+ .sv_window--full-screen {
3445
+ top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3446
+ left: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3447
+ right: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3448
+ bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3449
+ max-height: 100%;
3450
+ width: initial !important;
3451
+ max-width: initial !important;
3452
+ }
3453
+
3454
+ .sv_window_header {
3455
+ display: flex;
3456
+ justify-content: flex-end;
3407
3457
  }
3408
3458
 
3409
3459
  .sv_window_content {
3410
- border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
3411
3460
  overflow: hidden;
3412
3461
  }
3413
3462
 
3463
+ .sv_window--collapsed {
3464
+ height: initial;
3465
+ }
3414
3466
  .sv_window--collapsed .sv_window_header {
3415
3467
  height: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3416
3468
  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))));
@@ -3421,6 +3473,10 @@ sv-popup {
3421
3473
  .sv_window--collapsed .sv_window_content {
3422
3474
  display: none;
3423
3475
  }
3476
+ .sv_window--collapsed .sv_window_buttons_container {
3477
+ margin-top: 0;
3478
+ margin-right: 0;
3479
+ }
3424
3480
 
3425
3481
  .sv_window_header_title_collapsed {
3426
3482
  color: var(--sjs-general-dim-forecolor, rgba(0, 0, 0, 0.91));
@@ -3448,12 +3504,12 @@ sv-popup {
3448
3504
  }
3449
3505
 
3450
3506
  .sv_window_buttons_container {
3451
- position: absolute;
3452
- top: var(--sjs-base-unit, var(--base-unit, 8px));
3453
- right: var(--sjs-base-unit, var(--base-unit, 8px));
3507
+ position: fixed;
3508
+ margin-top: var(--sjs-base-unit, var(--base-unit, 8px));
3509
+ margin-right: var(--sjs-base-unit, var(--base-unit, 8px));
3454
3510
  display: flex;
3455
3511
  gap: var(--sjs-base-unit, var(--base-unit, 8px));
3456
- z-index: 1;
3512
+ z-index: 10000;
3457
3513
  }
3458
3514
 
3459
3515
  .sv_window_button {
@@ -3790,13 +3846,14 @@ sv-brand-info, .sv-brand-info {
3790
3846
  font-style: normal;
3791
3847
  font-size: var(--sjs-font-size, 16px);
3792
3848
  line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
3793
- white-space: break-spaces;
3849
+ white-space: normal;
3794
3850
  display: flex;
3795
3851
  justify-content: center;
3796
3852
  align-items: center;
3797
3853
  height: 100%;
3798
3854
  padding-top: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3799
3855
  padding-bottom: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3856
+ box-sizing: border-box;
3800
3857
  }
3801
3858
 
3802
3859
  .sv-ranking__container {
@@ -4317,10 +4374,6 @@ sv-components-container,
4317
4374
  .sv_m600 .sv-root-modern .sv-container-modern .sv-body .sv-page .sv-row .sv-row__question table.sv-matrix-root td label.sv-matrix__label {
4318
4375
  display: inline;
4319
4376
  }
4320
- .sv_m600 .sv-root-modern .sv-container-modern .sv-body .sv-page .sv-row .sv-question table.sv-matrix-root td:after,
4321
- .sv_m600 .sv-root-modern .sv-container-modern .sv-body .sv-page .sv-row .sv-row__question table.sv-matrix-root td:after {
4322
- content: attr(data-responsive-title);
4323
- }
4324
4377
  .sv_m600 .sv-root-modern .sv-container-modern .sv-body .sv-page .sv-row .sv-question table.sv-matrix-root .sv-matrix__cell,
4325
4378
  .sv_m600 .sv-root-modern .sv-container-modern .sv-body .sv-page .sv-row .sv-row__question table.sv-matrix-root .sv-matrix__cell {
4326
4379
  text-align: initial;
@@ -4372,10 +4425,6 @@ sv-components-container,
4372
4425
  .sv-root-modern .sv-container-modern .sv-body .sv-page .sv-row .sv-row__question table.sv-matrix-root td label.sv-matrix__label {
4373
4426
  display: inline;
4374
4427
  }
4375
- .sv-root-modern .sv-container-modern .sv-body .sv-page .sv-row .sv-question table.sv-matrix-root td:after,
4376
- .sv-root-modern .sv-container-modern .sv-body .sv-page .sv-row .sv-row__question table.sv-matrix-root td:after {
4377
- content: attr(data-responsive-title);
4378
- }
4379
4428
  .sv-root-modern .sv-container-modern .sv-body .sv-page .sv-row .sv-question table.sv-matrix-root .sv-matrix__cell,
4380
4429
  .sv-root-modern .sv-container-modern .sv-body .sv-page .sv-row .sv-row__question table.sv-matrix-root .sv-matrix__cell {
4381
4430
  text-align: initial;