survey-react 1.9.126 → 1.9.128

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.126
2
+ * surveyjs - Survey JavaScript library v1.9.128
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
  */
@@ -79,6 +79,10 @@
79
79
  transform: translate(0, 0);
80
80
  }
81
81
  }
82
+ :root {
83
+ --sjs-transition-duration: 150ms;
84
+ }
85
+
82
86
  sv-popup {
83
87
  display: block;
84
88
  position: absolute;
@@ -515,6 +519,10 @@ sv-popup {
515
519
  flex-grow: 1;
516
520
  }
517
521
 
522
+ :root {
523
+ --sjs-transition-duration: 150ms;
524
+ }
525
+
518
526
  .sv_progress-buttons__container-center {
519
527
  text-align: center;
520
528
  }
@@ -624,6 +632,10 @@ sv-popup {
624
632
  cursor: not-allowed;
625
633
  }
626
634
 
635
+ :root {
636
+ --sjs-transition-duration: 150ms;
637
+ }
638
+
627
639
  .sv_progress-toc {
628
640
  padding: var(--sjs-base-unit, var(--base-unit, 8px));
629
641
  max-width: 336px;
@@ -2553,6 +2565,10 @@ select.sv-dropdown {
2553
2565
  color: var(--foreground-light, var(--sjs-general-forecolor-light, var(--foreground-light, #909090)));
2554
2566
  }
2555
2567
 
2568
+ :root {
2569
+ --sjs-transition-duration: 150ms;
2570
+ }
2571
+
2556
2572
  .sv-action-bar {
2557
2573
  display: flex;
2558
2574
  box-sizing: content-box;
@@ -2742,6 +2758,10 @@ button.sv-action-bar-item {
2742
2758
  opacity: 50%;
2743
2759
  }
2744
2760
 
2761
+ :root {
2762
+ --sjs-transition-duration: 150ms;
2763
+ }
2764
+
2745
2765
  .sv-dragged-element-shortcut {
2746
2766
  height: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2747
2767
  min-width: calc(12.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
@@ -2782,6 +2802,10 @@ button.sv-action-bar-item {
2782
2802
  visibility: hidden;
2783
2803
  }
2784
2804
 
2805
+ :root {
2806
+ --sjs-transition-duration: 150ms;
2807
+ }
2808
+
2785
2809
  sv-popup {
2786
2810
  display: block;
2787
2811
  position: absolute;
@@ -3218,6 +3242,10 @@ sv-popup {
3218
3242
  flex-grow: 1;
3219
3243
  }
3220
3244
 
3245
+ :root {
3246
+ --sjs-transition-duration: 150ms;
3247
+ }
3248
+
3221
3249
  .sv-button-group {
3222
3250
  display: flex;
3223
3251
  align-items: center;
@@ -3356,6 +3384,14 @@ sv-popup {
3356
3384
  min-width: unset;
3357
3385
  }
3358
3386
 
3387
+ :root {
3388
+ --sjs-transition-duration: 150ms;
3389
+ }
3390
+
3391
+ :root {
3392
+ --sjs-transition-duration: 150ms;
3393
+ }
3394
+
3359
3395
  .sv_window {
3360
3396
  position: fixed;
3361
3397
  bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
@@ -3395,7 +3431,7 @@ sv-popup {
3395
3431
  line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
3396
3432
  flex: 1;
3397
3433
  display: flex;
3398
- justify-content: start;
3434
+ justify-content: flex-start;
3399
3435
  align-items: center;
3400
3436
  }
3401
3437
 
@@ -3431,13 +3467,16 @@ sv-popup {
3431
3467
  .sv_window_button:hover, .sv_window_button:active {
3432
3468
  background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
3433
3469
  }
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 {
3470
+ .sv_window_button:hover svg use,
3471
+ .sv_window_button:hover svg path, .sv_window_button:active svg use,
3472
+ .sv_window_button:active svg path {
3435
3473
  fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
3436
3474
  }
3437
3475
  .sv_window_button:active {
3438
3476
  opacity: 0.5;
3439
3477
  }
3440
- .sv_window_button svg use, .sv_window_button svg path {
3478
+ .sv_window_button svg use,
3479
+ .sv_window_button svg path {
3441
3480
  fill: var(--sjs-general-dim-forecolor-light, rgba(0, 0, 0, 0.45));
3442
3481
  }
3443
3482
 
@@ -3484,6 +3523,14 @@ sv-brand-info, .sv-brand-info {
3484
3523
  color: #909090;
3485
3524
  }
3486
3525
 
3526
+ :root {
3527
+ --sjs-transition-duration: 150ms;
3528
+ }
3529
+
3530
+ :root {
3531
+ --sjs-transition-duration: 150ms;
3532
+ }
3533
+
3487
3534
  .sv-ranking {
3488
3535
  outline: none;
3489
3536
  user-select: none;
@@ -3573,6 +3620,8 @@ sv-brand-info, .sv-brand-info {
3573
3620
  box-sizing: border-box;
3574
3621
  font-weight: 600;
3575
3622
  margin-left: calc(0 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3623
+ transition: outline var(--sjs-transition-duration, 150ms), background var(--sjs-transition-duration, 150ms);
3624
+ outline: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px)))) solid transparent;
3576
3625
  }
3577
3626
  .sv-ranking-item__index.sv-ranking-item__index svg {
3578
3627
  fill: var(--sjs-font-questiontitle-color, var(--sjs-general-forecolor, var(--foreground, #161616)));
@@ -3767,6 +3816,10 @@ sv-brand-info, .sv-brand-info {
3767
3816
  display: none;
3768
3817
  }
3769
3818
 
3819
+ :root {
3820
+ --sjs-transition-duration: 150ms;
3821
+ }
3822
+
3770
3823
  .sv-list {
3771
3824
  padding: 0;
3772
3825
  margin: 0;
@@ -3821,6 +3874,7 @@ sv-brand-info, .sv-brand-info {
3821
3874
  text-align: left;
3822
3875
  text-overflow: ellipsis;
3823
3876
  white-space: nowrap;
3877
+ transition: background-color var(--sjs-transition-duration, 150ms), color var(--sjs-transition-duration, 150ms);
3824
3878
  }
3825
3879
 
3826
3880
  .sv-list__item.sv-list__item--focused:not(.sv-list__item--selected) {
@@ -3981,6 +4035,10 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3981
4035
  background-color: transparent;
3982
4036
  }
3983
4037
 
4038
+ :root {
4039
+ --sjs-transition-duration: 150ms;
4040
+ }
4041
+
3984
4042
  .sv-save-data_root {
3985
4043
  position: fixed;
3986
4044
  left: 50%;