survey-react 1.9.96 → 1.9.97

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.96
2
+ * surveyjs - Survey JavaScript library v1.9.97
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
  */
@@ -217,17 +217,17 @@ sv-popup {
217
217
  transform: translate(calc(-1 * var(--sjs-base-unit, var(--base-unit, 8px))), calc(-1 * var(--sjs-base-unit, var(--base-unit, 8px))));
218
218
  }
219
219
 
220
- .sv-popup--show-pointer.sv-popup--right {
220
+ .sv-popup--show-pointer.sv-popup--right .sv-popup__container {
221
221
  transform: translate(calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))));
222
222
  }
223
- .sv-popup--show-pointer.sv-popup--right .sv-popup__pointer {
223
+ .sv-popup--show-pointer.sv-popup--right .sv-popup__container .sv-popup__pointer {
224
224
  transform: translate(-12px, -4px) rotate(-90deg);
225
225
  }
226
226
 
227
- .sv-popup--show-pointer.sv-popup--left {
227
+ .sv-popup--show-pointer.sv-popup--left .sv-popup__container {
228
228
  transform: translate(calc(-1 * var(--sjs-base-unit, var(--base-unit, 8px))));
229
229
  }
230
- .sv-popup--show-pointer.sv-popup--left .sv-popup__pointer {
230
+ .sv-popup--show-pointer.sv-popup--left .sv-popup__container .sv-popup__pointer {
231
231
  transform: translate(-4px, -4px) rotate(90deg);
232
232
  }
233
233
 
@@ -2824,17 +2824,17 @@ sv-popup {
2824
2824
  transform: translate(calc(-1 * var(--sjs-base-unit, var(--base-unit, 8px))), calc(-1 * var(--sjs-base-unit, var(--base-unit, 8px))));
2825
2825
  }
2826
2826
 
2827
- .sv-popup--show-pointer.sv-popup--right {
2827
+ .sv-popup--show-pointer.sv-popup--right .sv-popup__container {
2828
2828
  transform: translate(calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))));
2829
2829
  }
2830
- .sv-popup--show-pointer.sv-popup--right .sv-popup__pointer {
2830
+ .sv-popup--show-pointer.sv-popup--right .sv-popup__container .sv-popup__pointer {
2831
2831
  transform: translate(-12px, -4px) rotate(-90deg);
2832
2832
  }
2833
2833
 
2834
- .sv-popup--show-pointer.sv-popup--left {
2834
+ .sv-popup--show-pointer.sv-popup--left .sv-popup__container {
2835
2835
  transform: translate(calc(-1 * var(--sjs-base-unit, var(--base-unit, 8px))));
2836
2836
  }
2837
- .sv-popup--show-pointer.sv-popup--left .sv-popup__pointer {
2837
+ .sv-popup--show-pointer.sv-popup--left .sv-popup__container .sv-popup__pointer {
2838
2838
  transform: translate(-4px, -4px) rotate(90deg);
2839
2839
  }
2840
2840
 
@@ -3358,16 +3358,21 @@ sv-popup {
3358
3358
  opacity: 0.25;
3359
3359
  }
3360
3360
 
3361
+ .sv-ranking-item--disabled .sv-ranking-item__text {
3362
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3363
+ opacity: 0.25;
3364
+ }
3365
+
3361
3366
  .sv-ranking-item__ghost.sv-ranking-item__ghost {
3362
3367
  display: none;
3363
3368
  background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
3364
3369
  border-radius: calc(12.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3365
- padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px))) 0px;
3366
- width: calc(25 * var(--sjs-base-unit, var(--base-unit, 8px)));
3370
+ width: calc(31 * var(--sjs-base-unit, var(--base-unit, 8px)));
3367
3371
  height: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3368
3372
  z-index: 1;
3369
3373
  position: absolute;
3370
- left: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3374
+ left: 0;
3375
+ top: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3371
3376
  }
3372
3377
 
3373
3378
  [dir=rtl] .sv-ranking-item__ghost {
@@ -3446,6 +3451,9 @@ sv-popup {
3446
3451
  top: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3447
3452
  }
3448
3453
 
3454
+ .sv-ranking-shortcut .sv-ranking-item__content {
3455
+ padding-left: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3456
+ }
3449
3457
  .sv-ranking-shortcut .sv-ranking-item__icon-container {
3450
3458
  margin-left: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3451
3459
  }
@@ -3455,19 +3463,32 @@ sv-popup {
3455
3463
  }
3456
3464
 
3457
3465
  .sv-ranking--select-to-rank-vertical {
3458
- flex-direction: column;
3466
+ flex-direction: column-reverse;
3459
3467
  }
3460
3468
  .sv-ranking--select-to-rank-vertical .sv-ranking__containers-divider {
3461
- margin: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px))) 0;
3469
+ margin: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px))) 0;
3462
3470
  height: 1px;
3463
3471
  }
3472
+ .sv-ranking--select-to-rank-vertical .sv-ranking__container--empty {
3473
+ padding-top: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3474
+ padding-bottom: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3475
+ }
3464
3476
 
3465
3477
  .sv-ranking--select-to-rank-horizontal .sv-ranking__containers-divider {
3466
3478
  width: 1px;
3467
3479
  }
3468
3480
  .sv-ranking--select-to-rank-horizontal .sv-ranking__container--to .sv-ranking-item {
3481
+ left: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
3482
+ }
3483
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to {
3484
+ padding-right: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
3485
+ }
3486
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking-item {
3469
3487
  left: initial;
3470
3488
  }
3489
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--from {
3490
+ padding-left: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
3491
+ }
3471
3492
 
3472
3493
  .sv-ranking__container-placeholder {
3473
3494
  color: var(--sjs-general-dim-forecolor-light, rgba(0, 0, 0, 0.45));
@@ -3498,6 +3519,10 @@ sv-popup {
3498
3519
  background: var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
3499
3520
  }
3500
3521
 
3522
+ .sv-ranking__container--from .sv-ranking-item__icon--focus {
3523
+ display: none;
3524
+ }
3525
+
3501
3526
  .sv-list {
3502
3527
  padding: 0;
3503
3528
  margin: 0;
@@ -3549,6 +3574,7 @@ sv-popup {
3549
3574
  line-height: calc(1.5 * var(--sjs-font-size, 16px));
3550
3575
  cursor: pointer;
3551
3576
  overflow: hidden;
3577
+ text-align: left;
3552
3578
  text-overflow: ellipsis;
3553
3579
  white-space: nowrap;
3554
3580
  }
@@ -3711,7 +3737,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3711
3737
  }
3712
3738
 
3713
3739
  .sv-save-data_root {
3714
- position: absolute;
3740
+ position: fixed;
3715
3741
  left: 50%;
3716
3742
  bottom: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
3717
3743
  background: var(--sjs-general-backcolor, var(--background, #fff));