survey-react 1.9.113 → 1.9.115

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.113
2
+ * surveyjs - Survey JavaScript library v1.9.115
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
  */
@@ -47,6 +47,10 @@
47
47
  font-weight: 700;
48
48
  src: local("Raleway Bold"), local("Raleway-Bold"), url(https://fonts.gstatic.com/s/raleway/v14/1Ptrg8zYS_SKggPNwJYtWqZPBg.woff) format("woff");
49
49
  }
50
+ :root {
51
+ --sjs-default-font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
52
+ }
53
+
50
54
  .sv-dragdrop-movedown {
51
55
  transform: translate(0, 0);
52
56
  animation: svdragdropmovedown 0.1s;
@@ -95,6 +99,7 @@ sv-popup {
95
99
  }
96
100
 
97
101
  .sv-popup__container {
102
+ background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
98
103
  box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1));
99
104
  border-radius: var(--sjs-corner-radius, 4px);
100
105
  position: absolute;
@@ -127,10 +132,20 @@ sv-popup {
127
132
  padding: calc(11 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(15 * (var(--sjs-base-unit, var(--base-unit, 8px))));
128
133
  box-sizing: border-box;
129
134
  }
130
- .sv-popup--modal .sv-popup__body-content {
135
+
136
+ .sv-popup--modal > .sv-popup__container {
137
+ position: static;
138
+ }
139
+
140
+ .sv-popup--modal > .sv-popup__container > .sv-popup__shadow > .sv-popup__body-content {
141
+ box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1));
142
+ background-color: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
131
143
  padding: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
132
144
  height: auto;
133
145
  }
146
+ .sv-popup--modal > .sv-popup__container > .sv-popup__shadow > .sv-popup__body-content .sv-popup__body-footer {
147
+ padding-bottom: 2px;
148
+ }
134
149
 
135
150
  .sv-popup--confirm-delete .sv-popup__shadow {
136
151
  height: initial;
@@ -145,7 +160,7 @@ sv-popup {
145
160
  color: var(--sjs-font-editorfont-color, var(--sjs-general-forecolor, rgba(0, 0, 0, 0.91)));
146
161
  margin-bottom: 0;
147
162
  /* UI/Default */
148
- font-family: var(--font-family);
163
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
149
164
  font-size: var(--sjs-font-size, 16px);
150
165
  font-style: normal;
151
166
  font-weight: 400;
@@ -162,10 +177,6 @@ sv-popup {
162
177
  gap: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
163
178
  }
164
179
 
165
- .sv-popup--modal > .sv-popup__container {
166
- position: static;
167
- }
168
-
169
180
  .sv-popup--overlay {
170
181
  width: 100%;
171
182
  height: var(--sv-popup-overlay-height, 100vh);
@@ -321,6 +332,10 @@ sv-popup {
321
332
  height: 100%;
322
333
  }
323
334
 
335
+ .sv-popup--dropdown > .sv-popup__container > .sv-popup__shadow > .sv-popup__body-content .sv-list {
336
+ background-color: transparent;
337
+ }
338
+
324
339
  .sv-dropdown-popup .sv-popup__body-content {
325
340
  padding: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0;
326
341
  }
@@ -328,14 +343,6 @@ sv-popup {
328
343
  margin-bottom: 0;
329
344
  }
330
345
 
331
- .sv-popup--modal .sv-popup__body-content {
332
- box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1));
333
- background-color: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
334
- }
335
- .sv-popup--modal .sv-popup__body-footer {
336
- padding-bottom: 2px;
337
- }
338
-
339
346
  .sv-popup--overlay .sv-popup__body-content {
340
347
  background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
341
348
  }
@@ -432,7 +439,7 @@ sv-popup {
432
439
  color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
433
440
  font-size: var(--sjs-font-size, 16px);
434
441
  line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
435
- font-family: var(--font-family);
442
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
436
443
  padding: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0 calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
437
444
  }
438
445
  .sv-popup--dropdown-overlay .sv-list__item:hover .sv-list__item-body,
@@ -564,7 +571,7 @@ sv-popup {
564
571
  .sv_progress-buttons__list li {
565
572
  width: 138px;
566
573
  font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
567
- font-family: var(--font-family, var(--font-family));
574
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
568
575
  position: relative;
569
576
  text-align: center;
570
577
  vertical-align: top;
@@ -670,7 +677,7 @@ sv-popup {
670
677
  .sv-container-modern {
671
678
  color: var(--text-color, #404040);
672
679
  font-size: var(--font-size, var(--sjs-font-size, 16px));
673
- font-family: var(--font-family, var(--font-family));
680
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
674
681
  }
675
682
 
676
683
  .sv-container-modern__title {
@@ -1252,7 +1259,7 @@ sv-popup {
1252
1259
  }
1253
1260
 
1254
1261
  .sv-title {
1255
- font-family: var(--font-family, var(--font-family));
1262
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
1256
1263
  font-weight: 700;
1257
1264
  font-style: normal;
1258
1265
  font-stretch: normal;
@@ -1515,7 +1522,7 @@ sv-popup {
1515
1522
  }
1516
1523
 
1517
1524
  .sv-table__cell--header {
1518
- font-family: var(--font-family, var(--font-family));
1525
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
1519
1526
  font-weight: bold;
1520
1527
  text-align: left;
1521
1528
  }
@@ -1970,7 +1977,7 @@ sv-popup {
1970
1977
  text-overflow: ellipsis;
1971
1978
  white-space: nowrap;
1972
1979
  width: 100%;
1973
- font-family: var(--font-family, var(--font-family));
1980
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
1974
1981
  font-size: inherit;
1975
1982
  color: var(--text-color, #404040);
1976
1983
  position: relative;
@@ -2018,7 +2025,7 @@ sv-popup {
2018
2025
  border: none;
2019
2026
  outline: none;
2020
2027
  padding: 0;
2021
- font-family: var(--font-family, var(--font-family));
2028
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
2022
2029
  font-size: inherit;
2023
2030
  background-color: transparent;
2024
2031
  width: 100%;
@@ -2035,7 +2042,7 @@ sv-popup {
2035
2042
  }
2036
2043
 
2037
2044
  .sv-dropdown--empty:not(.sv-input--disabled) .sv-dropdown__filter-string-input::placeholder {
2038
- font-family: var(--font-family, var(--font-family));
2045
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
2039
2046
  color: var(--text-color, #404040);
2040
2047
  }
2041
2048
 
@@ -2475,7 +2482,7 @@ select.sv-dropdown {
2475
2482
  }
2476
2483
 
2477
2484
  .sv-completedpage {
2478
- font-family: var(--font-family, var(--font-family));
2485
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
2479
2486
  font-size: 1.875em;
2480
2487
  font-weight: bold;
2481
2488
  box-sizing: border-box;
@@ -2590,7 +2597,7 @@ select.sv-dropdown {
2590
2597
  background-color: transparent;
2591
2598
  color: var(--sjs-general-forecolor, var(--foreground, #161616));
2592
2599
  cursor: pointer;
2593
- font-family: var(--font-family, var(--font-family));
2600
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
2594
2601
  overflow-x: hidden;
2595
2602
  white-space: nowrap;
2596
2603
  }
@@ -2683,7 +2690,7 @@ button.sv-action-bar-item {
2683
2690
  cursor: pointer;
2684
2691
  line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
2685
2692
  font-size: var(--sjs-font-size, 16px);
2686
- font-family: var(--font-family, var(--font-family));
2693
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
2687
2694
  }
2688
2695
 
2689
2696
  .sv-expand-action:before {
@@ -2750,7 +2757,7 @@ button.sv-action-bar-item {
2750
2757
  position: absolute;
2751
2758
  z-index: 10000;
2752
2759
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
2753
- font-family: var(--font-family, var(--font-family));
2760
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
2754
2761
  font-size: var(--sjs-font-size, 16px);
2755
2762
  padding-left: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2756
2763
  line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
@@ -2800,6 +2807,7 @@ sv-popup {
2800
2807
  }
2801
2808
 
2802
2809
  .sv-popup__container {
2810
+ background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
2803
2811
  box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1));
2804
2812
  border-radius: var(--sjs-corner-radius, 4px);
2805
2813
  position: absolute;
@@ -2832,10 +2840,20 @@ sv-popup {
2832
2840
  padding: calc(11 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(15 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2833
2841
  box-sizing: border-box;
2834
2842
  }
2835
- .sv-popup--modal .sv-popup__body-content {
2843
+
2844
+ .sv-popup--modal > .sv-popup__container {
2845
+ position: static;
2846
+ }
2847
+
2848
+ .sv-popup--modal > .sv-popup__container > .sv-popup__shadow > .sv-popup__body-content {
2849
+ box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1));
2850
+ background-color: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
2836
2851
  padding: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2837
2852
  height: auto;
2838
2853
  }
2854
+ .sv-popup--modal > .sv-popup__container > .sv-popup__shadow > .sv-popup__body-content .sv-popup__body-footer {
2855
+ padding-bottom: 2px;
2856
+ }
2839
2857
 
2840
2858
  .sv-popup--confirm-delete .sv-popup__shadow {
2841
2859
  height: initial;
@@ -2850,7 +2868,7 @@ sv-popup {
2850
2868
  color: var(--sjs-font-editorfont-color, var(--sjs-general-forecolor, rgba(0, 0, 0, 0.91)));
2851
2869
  margin-bottom: 0;
2852
2870
  /* UI/Default */
2853
- font-family: var(--font-family);
2871
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
2854
2872
  font-size: var(--sjs-font-size, 16px);
2855
2873
  font-style: normal;
2856
2874
  font-weight: 400;
@@ -2867,10 +2885,6 @@ sv-popup {
2867
2885
  gap: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2868
2886
  }
2869
2887
 
2870
- .sv-popup--modal > .sv-popup__container {
2871
- position: static;
2872
- }
2873
-
2874
2888
  .sv-popup--overlay {
2875
2889
  width: 100%;
2876
2890
  height: var(--sv-popup-overlay-height, 100vh);
@@ -3026,6 +3040,10 @@ sv-popup {
3026
3040
  height: 100%;
3027
3041
  }
3028
3042
 
3043
+ .sv-popup--dropdown > .sv-popup__container > .sv-popup__shadow > .sv-popup__body-content .sv-list {
3044
+ background-color: transparent;
3045
+ }
3046
+
3029
3047
  .sv-dropdown-popup .sv-popup__body-content {
3030
3048
  padding: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0;
3031
3049
  }
@@ -3033,14 +3051,6 @@ sv-popup {
3033
3051
  margin-bottom: 0;
3034
3052
  }
3035
3053
 
3036
- .sv-popup--modal .sv-popup__body-content {
3037
- box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1));
3038
- background-color: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
3039
- }
3040
- .sv-popup--modal .sv-popup__body-footer {
3041
- padding-bottom: 2px;
3042
- }
3043
-
3044
3054
  .sv-popup--overlay .sv-popup__body-content {
3045
3055
  background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
3046
3056
  }
@@ -3137,7 +3147,7 @@ sv-popup {
3137
3147
  color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3138
3148
  font-size: var(--sjs-font-size, 16px);
3139
3149
  line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
3140
- font-family: var(--font-family);
3150
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
3141
3151
  padding: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0 calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3142
3152
  }
3143
3153
  .sv-popup--dropdown-overlay .sv-list__item:hover .sv-list__item-body,
@@ -3356,7 +3366,7 @@ sv-popup {
3356
3366
  right: 10px;
3357
3367
  background-color: cadetblue;
3358
3368
  padding: 1px;
3359
- font-family: var(--font-family, var(--font-family));
3369
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
3360
3370
  font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
3361
3371
  font-style: normal;
3362
3372
  font-weight: 400;
@@ -3413,9 +3423,15 @@ sv-popup {
3413
3423
  margin: 4px;
3414
3424
  }
3415
3425
 
3426
+ sv-brand-info, .sv-brand-info {
3427
+ z-index: 1;
3428
+ position: relative;
3429
+ margin-top: 1px;
3430
+ }
3431
+
3416
3432
  .sv-brand-info {
3417
3433
  width: 100%;
3418
- font-family: var(--font-family, var(--font-family));
3434
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
3419
3435
  text-align: center;
3420
3436
  color: #161616;
3421
3437
  background: white;
@@ -3529,7 +3545,7 @@ sv-popup {
3529
3545
  justify-content: center;
3530
3546
  background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
3531
3547
  color: var(--sjs-font-questiontitle-color, var(--sjs-general-forecolor, var(--foreground, #161616)));
3532
- font-size: var(--sjs-font-size, 16px);
3548
+ font-size: var(--sjs-font-editorfont-size, var(--sjs-font-size, 16px));
3533
3549
  border-radius: 100%;
3534
3550
  border: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px)))) solid transparent;
3535
3551
  width: calc(5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
@@ -3539,11 +3555,10 @@ sv-popup {
3539
3555
  font-weight: 600;
3540
3556
  margin-left: calc(0 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3541
3557
  }
3542
- .sv-ranking-item__index.sv-ranking-item__index:empty {
3543
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAArSURBVHgB7cuhEQAwDMNAtUN4//m8RMtygcE5PxMQxAKnh6Q3mWzXd4mAD4cJBAQCqfbUAAAAAElFTkSuQmCC");
3544
- background-position: center;
3545
- background-repeat: no-repeat;
3546
- background-size: var(--sjs-font-editorfont-size, var(--sjs-font-size, 16px));
3558
+ .sv-ranking-item__index.sv-ranking-item__index svg {
3559
+ fill: var(--sjs-font-questiontitle-color, var(--sjs-general-forecolor, var(--foreground, #161616)));
3560
+ width: var(--sjs-font-editorfont-size, var(--sjs-font-size, 16px));
3561
+ height: var(--sjs-font-editorfont-size, var(--sjs-font-size, 16px));
3547
3562
  }
3548
3563
 
3549
3564
  .sv-ranking-item__text {
@@ -3688,7 +3703,7 @@ sv-popup {
3688
3703
  width: 1px;
3689
3704
  }
3690
3705
  .sv-ranking--select-to-rank-horizontal .sv-ranking__container--to .sv-ranking-item {
3691
- left: var(--sjs-base-unit, var(--base-unit, 8px));
3706
+ left: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3692
3707
  }
3693
3708
  .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking-item {
3694
3709
  left: initial;
@@ -3702,7 +3717,7 @@ sv-popup {
3702
3717
 
3703
3718
  .sv-ranking__container-placeholder {
3704
3719
  color: var(--sjs-font-questiondescription-color, var(--sjs-general-dim-forecolor-light, rgba(0, 0, 0, 0.45)));
3705
- font-family: var(--font-family, var(--font-family));
3720
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
3706
3721
  font-style: normal;
3707
3722
  font-size: var(--sjs-font-size, 16px);
3708
3723
  line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
@@ -3711,6 +3726,8 @@ sv-popup {
3711
3726
  justify-content: center;
3712
3727
  align-items: center;
3713
3728
  height: 100%;
3729
+ padding-top: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3730
+ padding-bottom: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3714
3731
  }
3715
3732
 
3716
3733
  .sv-ranking__container {
@@ -3735,18 +3752,15 @@ sv-popup {
3735
3752
  margin: 0;
3736
3753
  overflow-y: auto;
3737
3754
  background: var(--sjs-general-backcolor, var(--background, #fff));
3738
- font-family: var(--font-family, var(--font-family));
3755
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
3739
3756
  list-style-type: none;
3740
3757
  }
3741
3758
 
3742
3759
  .sv-list__empty-container {
3743
3760
  width: 100%;
3744
- font-family: var(--font-family, var(--font-family));
3761
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
3745
3762
  box-sizing: border-box;
3746
- padding: calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(8 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3747
- overflow: hidden;
3748
- text-overflow: ellipsis;
3749
- white-space: nowrap;
3763
+ padding: calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3750
3764
  }
3751
3765
 
3752
3766
  .sv-list__empty-text {
@@ -3754,6 +3768,9 @@ sv-popup {
3754
3768
  font-size: var(--sjs-font-size, 16px);
3755
3769
  font-weight: 400;
3756
3770
  text-align: center;
3771
+ overflow: hidden;
3772
+ text-overflow: ellipsis;
3773
+ white-space: nowrap;
3757
3774
  color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3758
3775
  }
3759
3776
 
@@ -3957,7 +3974,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3957
3974
  min-width: calc(30 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3958
3975
  text-align: center;
3959
3976
  z-index: 1600;
3960
- font-family: var(--font-family, var(--font-family));
3977
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
3961
3978
  font-size: var(--sjs-font-size, 16px);
3962
3979
  line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
3963
3980
  display: flex;
@@ -4066,6 +4083,10 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
4066
4083
  object-fit: cover;
4067
4084
  }
4068
4085
 
4086
+ :root {
4087
+ --sjs-default-font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
4088
+ }
4089
+
4069
4090
  .sv-boolean__decorator {
4070
4091
  border-radius: 2px;
4071
4092
  }