survey-react 1.9.104 → 1.9.106

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.104
2
+ * surveyjs - Survey JavaScript library v1.9.106
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
  */
@@ -3320,6 +3320,13 @@ sv-popup {
3320
3320
  height: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px)));
3321
3321
  }
3322
3322
 
3323
+ .sv-ranking-item--disabled.sv-ranking-item--disabled {
3324
+ cursor: initial;
3325
+ }
3326
+ .sv-ranking-item--disabled.sv-ranking-item--disabled .sv-ranking-item__icon-container.sv-ranking-item__icon-container .sv-ranking-item__icon.sv-ranking-item__icon {
3327
+ visibility: hidden;
3328
+ }
3329
+
3323
3330
  .sv-ranking-item__icon.sv-ranking-item__icon {
3324
3331
  visibility: hidden;
3325
3332
  fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
@@ -3350,6 +3357,7 @@ sv-popup {
3350
3357
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAArSURBVHgB7cuhEQAwDMNAtUN4//m8RMtygcE5PxMQxAKnh6Q3mWzXd4mAD4cJBAQCqfbUAAAAAElFTkSuQmCC");
3351
3358
  background-position: center;
3352
3359
  background-repeat: no-repeat;
3360
+ background-size: calc(1 * var(--sjs-font-editorfont-size, calc(1 * var(--sjs-font-size, var(--sjs-font-size, 16px)))));
3353
3361
  }
3354
3362
 
3355
3363
  .sv-ranking-item__text {
@@ -3482,6 +3490,9 @@ sv-popup {
3482
3490
  .sv-ranking--select-to-rank-vertical .sv-ranking__container--empty {
3483
3491
  padding-top: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3484
3492
  padding-bottom: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3493
+ display: flex;
3494
+ justify-content: center;
3495
+ align-items: center;
3485
3496
  }
3486
3497
 
3487
3498
  .sv-ranking--select-to-rank-horizontal .sv-ranking__containers-divider {
@@ -3490,14 +3501,14 @@ sv-popup {
3490
3501
  .sv-ranking--select-to-rank-horizontal .sv-ranking__container--to .sv-ranking-item {
3491
3502
  left: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3492
3503
  }
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
3504
  .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking-item {
3497
3505
  left: initial;
3498
3506
  }
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)));
3507
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking__container-placeholder {
3508
+ padding-left: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3509
+ }
3510
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--from .sv-ranking__container-placeholder {
3511
+ padding-right: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3501
3512
  }
3502
3513
 
3503
3514
  .sv-ranking__container-placeholder {
@@ -3510,17 +3521,14 @@ sv-popup {
3510
3521
  display: flex;
3511
3522
  justify-content: center;
3512
3523
  align-items: center;
3513
- width: 100%;
3514
3524
  height: 100%;
3515
3525
  }
3516
3526
 
3517
3527
  .sv-ranking__container {
3518
3528
  flex: 1;
3519
- max-width: 100%;
3520
3529
  }
3521
3530
 
3522
3531
  .sv-ranking__container--empty {
3523
- padding: calc(8 * var(--sjs-base-unit, var(--base-unit, 8px)));
3524
3532
  box-sizing: border-box;
3525
3533
  text-align: center;
3526
3534
  }
@@ -3854,13 +3862,21 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3854
3862
  align-items: center;
3855
3863
  justify-content: center;
3856
3864
  position: absolute;
3857
- z-index: 0;
3865
+ z-index: 1;
3858
3866
  user-select: none;
3859
3867
  pointer-events: none;
3860
3868
  width: 100%;
3861
3869
  height: 100%;
3862
3870
  }
3863
3871
 
3872
+ .sjs_sp_canvas,
3873
+ .sjs_sp__background-image {
3874
+ position: absolute;
3875
+ top: 0;
3876
+ left: 0;
3877
+ object-fit: cover;
3878
+ }
3879
+
3864
3880
  .sv-boolean__decorator {
3865
3881
  border-radius: 2px;
3866
3882
  }