survey-react 1.9.103 → 1.9.105

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.103
2
+ * surveyjs - Survey JavaScript library v1.9.105
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -3350,6 +3350,7 @@ sv-popup {
3350
3350
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAArSURBVHgB7cuhEQAwDMNAtUN4//m8RMtygcE5PxMQxAKnh6Q3mWzXd4mAD4cJBAQCqfbUAAAAAElFTkSuQmCC");
3351
3351
  background-position: center;
3352
3352
  background-repeat: no-repeat;
3353
+ background-size: calc(1 * var(--sjs-font-editorfont-size, calc(1 * var(--sjs-font-size, var(--sjs-font-size, 16px)))));
3353
3354
  }
3354
3355
 
3355
3356
  .sv-ranking-item__text {
@@ -3482,6 +3483,9 @@ sv-popup {
3482
3483
  .sv-ranking--select-to-rank-vertical .sv-ranking__container--empty {
3483
3484
  padding-top: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3484
3485
  padding-bottom: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3486
+ display: flex;
3487
+ justify-content: center;
3488
+ align-items: center;
3485
3489
  }
3486
3490
 
3487
3491
  .sv-ranking--select-to-rank-horizontal .sv-ranking__containers-divider {
@@ -3490,14 +3494,14 @@ sv-popup {
3490
3494
  .sv-ranking--select-to-rank-horizontal .sv-ranking__container--to .sv-ranking-item {
3491
3495
  left: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3492
3496
  }
3493
- .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to {
3494
- padding-right: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
3495
- }
3496
3497
  .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking-item {
3497
3498
  left: initial;
3498
3499
  }
3499
- .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--from {
3500
- padding-left: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
3500
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking__container-placeholder {
3501
+ padding-left: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3502
+ }
3503
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--from .sv-ranking__container-placeholder {
3504
+ padding-right: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3501
3505
  }
3502
3506
 
3503
3507
  .sv-ranking__container-placeholder {
@@ -3510,17 +3514,14 @@ sv-popup {
3510
3514
  display: flex;
3511
3515
  justify-content: center;
3512
3516
  align-items: center;
3513
- width: 100%;
3514
3517
  height: 100%;
3515
3518
  }
3516
3519
 
3517
3520
  .sv-ranking__container {
3518
3521
  flex: 1;
3519
- max-width: 100%;
3520
3522
  }
3521
3523
 
3522
3524
  .sv-ranking__container--empty {
3523
- padding: calc(8 * var(--sjs-base-unit, var(--base-unit, 8px)));
3524
3525
  box-sizing: border-box;
3525
3526
  text-align: center;
3526
3527
  }
@@ -3854,13 +3855,21 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3854
3855
  align-items: center;
3855
3856
  justify-content: center;
3856
3857
  position: absolute;
3857
- z-index: 0;
3858
+ z-index: 1;
3858
3859
  user-select: none;
3859
3860
  pointer-events: none;
3860
3861
  width: 100%;
3861
3862
  height: 100%;
3862
3863
  }
3863
3864
 
3865
+ .sjs_sp_canvas,
3866
+ .sjs_sp__background-image {
3867
+ position: absolute;
3868
+ top: 0;
3869
+ left: 0;
3870
+ object-fit: cover;
3871
+ }
3872
+
3864
3873
  .sv-boolean__decorator {
3865
3874
  border-radius: 2px;
3866
3875
  }