survey-react 1.9.81 → 1.9.83

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.81
2
+ * surveyjs - Survey JavaScript library v1.9.83
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
  */
@@ -86,11 +86,15 @@ sv-popup {
86
86
  left: 0;
87
87
  top: 0;
88
88
  width: 100vw;
89
- height: 100vh;
90
89
  outline: none;
90
+ height: 100vh;
91
91
  z-index: 1500;
92
92
  }
93
93
 
94
+ .sv-dropdown-popup {
95
+ height: 0;
96
+ }
97
+
94
98
  .sv-popup__container {
95
99
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
96
100
  position: absolute;
@@ -170,7 +174,7 @@ sv-popup {
170
174
  .sv-popup--overlay.sv-popup--overlay .sv-popup__button {
171
175
  background-color: var(--primary, #19b394);
172
176
  border: 2px solid var(--primary, #19b394);
173
- color: var(--primary-foreground, #fff);
177
+ color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
174
178
  }
175
179
 
176
180
  .sv-popup--modal .sv-popup__scrolling-content {
@@ -247,7 +251,7 @@ sv-popup {
247
251
  font-style: normal;
248
252
  font-weight: 700;
249
253
  margin-bottom: calc(2 * var(--base-unit, 8px));
250
- color: var(--foreground, #161616);
254
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
251
255
  }
252
256
 
253
257
  .sv-popup__body-footer {
@@ -266,7 +270,7 @@ sv-popup {
266
270
  border-radius: 4px;
267
271
  margin: 2px;
268
272
  cursor: pointer;
269
- font-family: var(--font-family, var(--font-family, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif));
273
+ font-family: var(--font-family, var(--font-family));
270
274
  font-style: normal;
271
275
  font-weight: 600;
272
276
  font-size: calc(2 * var(--base-unit, 8px));
@@ -282,7 +286,8 @@ sv-popup {
282
286
  }
283
287
 
284
288
  .sv-popup__button:disabled {
285
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
289
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
290
+ opacity: 0.25;
286
291
  cursor: default;
287
292
  }
288
293
 
@@ -292,7 +297,7 @@ sv-popup {
292
297
 
293
298
  .sv-popup__button--apply {
294
299
  background-color: var(--primary, #19b394);
295
- color: var(--primary-foreground, #fff);
300
+ color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
296
301
  }
297
302
 
298
303
  .sv-popup__button--apply:disabled {
@@ -377,7 +382,7 @@ sv-popup {
377
382
  }
378
383
  .sv-dropdown-popup.sv-popup--overlay .sv-popup__button:disabled {
379
384
  pointer-events: none;
380
- color: var(--foreground, #161616);
385
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
381
386
  opacity: 0.25;
382
387
  }
383
388
  .sv-dropdown-popup.sv-popup--overlay .sv-list__filter-clear-button {
@@ -394,13 +399,13 @@ sv-popup {
394
399
  width: calc(2 * var(--base-unit, 8px));
395
400
  }
396
401
  .sv-dropdown-popup.sv-popup--overlay .sv-list__filter-clear-button svg use {
397
- fill: var(--foreground-light, #909090);
402
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
398
403
  }
399
404
  .sv-dropdown-popup.sv-popup--overlay .sv-list__input {
400
- color: var(--foreground-light, #909090);
405
+ color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
401
406
  font-size: calc(2 * var(--base-unit, 8px));
402
407
  line-height: calc(3 * var(--base-unit, 8px));
403
- font-family: var(--font-family, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
408
+ font-family: var(--font-family);
404
409
  padding: calc(0.5 * var(--base-unit, 8px)) 0 calc(0.5 * var(--base-unit, 8px)) calc(1 * var(--base-unit, 8px));
405
410
  }
406
411
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:hover .sv-list__item-body,
@@ -412,14 +417,14 @@ sv-popup {
412
417
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:focus.sv-list__item--selected .sv-list__item-body,
413
418
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item--focused.sv-list__item--selected .sv-list__item-body {
414
419
  background: var(--primary, #19b394);
415
- color: var(--primary-foreground, #fff);
420
+ color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
416
421
  font-weight: 600;
417
422
  }
418
423
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:hover.sv-list__item--selected .sd-list__item-body,
419
424
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:focus.sv-list__item--selected .sd-list__item-body,
420
425
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item--focused.sv-list__item--selected .sd-list__item-body {
421
426
  background: var(--primary-light, rgba(25, 179, 148, 0.1));
422
- color: var(--foreground, #161616);
427
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
423
428
  }
424
429
 
425
430
  .sv-dropdown-popup.sv-popup--overlay.sv-popup--tablet .sv-popup__body-content {
@@ -2459,7 +2464,7 @@ select.sv-dropdown {
2459
2464
  }
2460
2465
 
2461
2466
  .sjs_sp_placeholder {
2462
- color: var(--foreground-light, var(--foreground-light, #909090));
2467
+ color: var(--foreground-light, var(--sjs-general-forecolor-light, var(--foreground-light, #909090)));
2463
2468
  }
2464
2469
 
2465
2470
  .sv-action-bar {
@@ -2499,7 +2504,7 @@ select.sv-dropdown {
2499
2504
  border: none;
2500
2505
  border-radius: 2px;
2501
2506
  background-color: transparent;
2502
- color: var(--foreground, #161616);
2507
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
2503
2508
  cursor: pointer;
2504
2509
  font-family: var(--font-family, var(--font-family));
2505
2510
  overflow-x: hidden;
@@ -2544,7 +2549,7 @@ button.sv-action-bar-item {
2544
2549
  display: block;
2545
2550
  }
2546
2551
  .sv-action-bar-item__icon use {
2547
- fill: var(--foreground-light, #909090);
2552
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
2548
2553
  }
2549
2554
 
2550
2555
  .sv-action-bar-item:not(.sv-action-bar-item--pressed):hover:enabled,
@@ -2699,11 +2704,15 @@ sv-popup {
2699
2704
  left: 0;
2700
2705
  top: 0;
2701
2706
  width: 100vw;
2702
- height: 100vh;
2703
2707
  outline: none;
2708
+ height: 100vh;
2704
2709
  z-index: 1500;
2705
2710
  }
2706
2711
 
2712
+ .sv-dropdown-popup {
2713
+ height: 0;
2714
+ }
2715
+
2707
2716
  .sv-popup__container {
2708
2717
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
2709
2718
  position: absolute;
@@ -2783,7 +2792,7 @@ sv-popup {
2783
2792
  .sv-popup--overlay.sv-popup--overlay .sv-popup__button {
2784
2793
  background-color: var(--primary, #19b394);
2785
2794
  border: 2px solid var(--primary, #19b394);
2786
- color: var(--primary-foreground, #fff);
2795
+ color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
2787
2796
  }
2788
2797
 
2789
2798
  .sv-popup--modal .sv-popup__scrolling-content {
@@ -2860,7 +2869,7 @@ sv-popup {
2860
2869
  font-style: normal;
2861
2870
  font-weight: 700;
2862
2871
  margin-bottom: calc(2 * var(--base-unit, 8px));
2863
- color: var(--foreground, #161616);
2872
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
2864
2873
  }
2865
2874
 
2866
2875
  .sv-popup__body-footer {
@@ -2879,7 +2888,7 @@ sv-popup {
2879
2888
  border-radius: 4px;
2880
2889
  margin: 2px;
2881
2890
  cursor: pointer;
2882
- font-family: var(--font-family, var(--font-family, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif));
2891
+ font-family: var(--font-family, var(--font-family));
2883
2892
  font-style: normal;
2884
2893
  font-weight: 600;
2885
2894
  font-size: calc(2 * var(--base-unit, 8px));
@@ -2895,7 +2904,8 @@ sv-popup {
2895
2904
  }
2896
2905
 
2897
2906
  .sv-popup__button:disabled {
2898
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
2907
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
2908
+ opacity: 0.25;
2899
2909
  cursor: default;
2900
2910
  }
2901
2911
 
@@ -2905,7 +2915,7 @@ sv-popup {
2905
2915
 
2906
2916
  .sv-popup__button--apply {
2907
2917
  background-color: var(--primary, #19b394);
2908
- color: var(--primary-foreground, #fff);
2918
+ color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
2909
2919
  }
2910
2920
 
2911
2921
  .sv-popup__button--apply:disabled {
@@ -2990,7 +3000,7 @@ sv-popup {
2990
3000
  }
2991
3001
  .sv-dropdown-popup.sv-popup--overlay .sv-popup__button:disabled {
2992
3002
  pointer-events: none;
2993
- color: var(--foreground, #161616);
3003
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
2994
3004
  opacity: 0.25;
2995
3005
  }
2996
3006
  .sv-dropdown-popup.sv-popup--overlay .sv-list__filter-clear-button {
@@ -3007,13 +3017,13 @@ sv-popup {
3007
3017
  width: calc(2 * var(--base-unit, 8px));
3008
3018
  }
3009
3019
  .sv-dropdown-popup.sv-popup--overlay .sv-list__filter-clear-button svg use {
3010
- fill: var(--foreground-light, #909090);
3020
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3011
3021
  }
3012
3022
  .sv-dropdown-popup.sv-popup--overlay .sv-list__input {
3013
- color: var(--foreground-light, #909090);
3023
+ color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3014
3024
  font-size: calc(2 * var(--base-unit, 8px));
3015
3025
  line-height: calc(3 * var(--base-unit, 8px));
3016
- font-family: var(--font-family, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
3026
+ font-family: var(--font-family);
3017
3027
  padding: calc(0.5 * var(--base-unit, 8px)) 0 calc(0.5 * var(--base-unit, 8px)) calc(1 * var(--base-unit, 8px));
3018
3028
  }
3019
3029
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:hover .sv-list__item-body,
@@ -3025,14 +3035,14 @@ sv-popup {
3025
3035
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:focus.sv-list__item--selected .sv-list__item-body,
3026
3036
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item--focused.sv-list__item--selected .sv-list__item-body {
3027
3037
  background: var(--primary, #19b394);
3028
- color: var(--primary-foreground, #fff);
3038
+ color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
3029
3039
  font-weight: 600;
3030
3040
  }
3031
3041
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:hover.sv-list__item--selected .sd-list__item-body,
3032
3042
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:focus.sv-list__item--selected .sd-list__item-body,
3033
3043
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item--focused.sv-list__item--selected .sd-list__item-body {
3034
3044
  background: var(--primary-light, rgba(25, 179, 148, 0.1));
3035
- color: var(--foreground, #161616);
3045
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3036
3046
  }
3037
3047
 
3038
3048
  .sv-dropdown-popup.sv-popup--overlay.sv-popup--tablet .sv-popup__body-content {
@@ -3089,7 +3099,7 @@ sv-popup {
3089
3099
  background: var(--background, #fff);
3090
3100
  cursor: pointer;
3091
3101
  overflow: hidden;
3092
- color: var(--foreground, #161616);
3102
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3093
3103
  position: relative;
3094
3104
  }
3095
3105
  .sv-button-group__item:not(:last-of-type) {
@@ -3105,7 +3115,7 @@ sv-popup {
3105
3115
  height: calc(3 * var(--base-unit, 8px));
3106
3116
  }
3107
3117
  .sv-button-group__item-icon use {
3108
- fill: var(--foreground-light, #909090);
3118
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3109
3119
  }
3110
3120
 
3111
3121
  .sv-button-group__item--selected {
@@ -3137,11 +3147,12 @@ sv-popup {
3137
3147
  }
3138
3148
 
3139
3149
  .sv-button-group__item--disabled {
3140
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
3150
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3151
+ opacity: 0.25;
3141
3152
  cursor: default;
3142
3153
  }
3143
3154
  .sv-button-group__item--disabled .sv-button-group__item-icon use {
3144
- fill: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
3155
+ fill: var(--sjs-general-forecolor, var(--foreground, #161616));
3145
3156
  }
3146
3157
  .sv-button-group__item--disabled:hover {
3147
3158
  background-color: var(--background, #fff);
@@ -3199,7 +3210,7 @@ sv-popup {
3199
3210
  right: 10px;
3200
3211
  background-color: cadetblue;
3201
3212
  padding: 1px;
3202
- font-family: var(--font-family, var(--font-family, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif));
3213
+ font-family: var(--font-family, var(--font-family));
3203
3214
  font-size: 14px;
3204
3215
  font-style: normal;
3205
3216
  font-weight: 400;
@@ -3253,7 +3264,7 @@ sv-popup {
3253
3264
 
3254
3265
  .sv-brand-info {
3255
3266
  width: 100%;
3256
- font-family: var(--font-family, var(--font-family, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif));
3267
+ font-family: var(--font-family, var(--font-family));
3257
3268
  text-align: center;
3258
3269
  color: #161616;
3259
3270
  background: white;
@@ -3359,7 +3370,7 @@ sv-popup {
3359
3370
  align-items: center;
3360
3371
  justify-content: center;
3361
3372
  background-color: var(--primary-light, rgba(25, 179, 148, 0.1));
3362
- color: var(--foreground, #161616);
3373
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3363
3374
  font-size: calc(2 * var(--base-unit, 8px));
3364
3375
  border-radius: 100%;
3365
3376
  border: calc(0.25 * var(--base-unit, 8px)) solid transparent;
@@ -3381,14 +3392,15 @@ sv-popup {
3381
3392
  overflow: hidden;
3382
3393
  text-overflow: ellipsis;
3383
3394
  white-space: nowrap;
3384
- color: var(--foreground, #161616);
3395
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3385
3396
  font-size: calc(2 * var(--base-unit, 8px));
3386
3397
  line-height: calc(3 * var(--base-unit, 8px));
3387
3398
  margin: 0 calc(2 * var(--base-unit, 8px));
3388
3399
  }
3389
3400
 
3390
3401
  .sd-ranking--disabled .sv-ranking-item__text {
3391
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
3402
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3403
+ opacity: 0.25;
3392
3404
  }
3393
3405
 
3394
3406
  .sv-ranking-item__ghost.sv-ranking-item__ghost {
@@ -3431,7 +3443,7 @@ sv-popup {
3431
3443
 
3432
3444
  .sv-ranking--mobile .sv-ranking-item__icon--hover {
3433
3445
  visibility: visible;
3434
- fill: var(--foreground-light, #909090);
3446
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3435
3447
  }
3436
3448
 
3437
3449
  .sv-ranking--mobile.sv-ranking--drag .sv-ranking-item--ghost .sv-ranking-item__icon.sv-ranking-item__icon--hover {
@@ -3507,14 +3519,14 @@ sv-popup {
3507
3519
  font-size: calc(2 * var(--base-unit, 8px));
3508
3520
  font-weight: 400;
3509
3521
  text-align: center;
3510
- color: var(--foreground-light, #909090);
3522
+ color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3511
3523
  }
3512
3524
 
3513
3525
  .sv-list__item {
3514
3526
  width: 100%;
3515
3527
  align-items: center;
3516
3528
  box-sizing: border-box;
3517
- color: var(--foreground, #161616);
3529
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3518
3530
  cursor: pointer;
3519
3531
  overflow: hidden;
3520
3532
  text-overflow: ellipsis;
@@ -3528,7 +3540,7 @@ sv-popup {
3528
3540
  padding-block: calc(1 * var(--base-unit, 8px));
3529
3541
  padding-inline-end: calc(8 * var(--base-unit, 8px));
3530
3542
  padding-inline-start: calc(2 * var(--base-unit, 8px));
3531
- color: var(--foreground, #161616);
3543
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3532
3544
  font-size: calc(2 * var(--base-unit, 8px));
3533
3545
  line-height: calc(3 * var(--base-unit, 8px));
3534
3546
  cursor: pointer;
@@ -3567,7 +3579,7 @@ sv-popup {
3567
3579
  display: block;
3568
3580
  }
3569
3581
  .sv-list__item-icon use {
3570
- fill: var(--foreground-light, #909090);
3582
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3571
3583
  }
3572
3584
 
3573
3585
  [dir=rtl] .sv-list__item-icon,
@@ -3588,7 +3600,7 @@ sv-popup {
3588
3600
  .sv-multi-select-list .sv-list__item.sv-list__item--selected.sv-list__item--focused .sv-list__item-body,
3589
3601
  li:focus .sv-list__item.sv-list__item--selected .sv-list__item-body {
3590
3602
  background-color: var(--primary, #19b394);
3591
- color: var(--primary-foreground, #fff);
3603
+ color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
3592
3604
  font-weight: 600;
3593
3605
  }
3594
3606
  .sv-list__item.sv-list__item--selected .sv-list__item-icon use,
@@ -3602,13 +3614,13 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3602
3614
  .sv-multi-select-list .sv-list__item.sv-list__item--selected .sv-list__item-body,
3603
3615
  .sv-multi-select-list .sv-list__item.sv-list__item--selected:hover .sv-list__item-body {
3604
3616
  background-color: var(--primary-light, rgba(25, 179, 148, 0.1));
3605
- color: var(--foreground, #161616);
3617
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3606
3618
  font-weight: 400;
3607
3619
  }
3608
3620
 
3609
3621
  .sv-list__item.sv-list__item--disabled .sv-list__item-body {
3610
3622
  cursor: default;
3611
- color: var(--foreground-light, #909090);
3623
+ color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3612
3624
  }
3613
3625
 
3614
3626
  .sv-list__item span {
@@ -3641,7 +3653,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3641
3653
  height: calc(3 * var(--base-unit, 8px));
3642
3654
  }
3643
3655
  .sv-list__filter-icon .sv-svg-icon use {
3644
- fill: var(--foreground-light, #909090);
3656
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3645
3657
  }
3646
3658
 
3647
3659
  .sv-list__input {
@@ -3654,7 +3666,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3654
3666
  width: 100%;
3655
3667
  outline: none;
3656
3668
  font-size: 1em;
3657
- color: var(--foreground, #161616);
3669
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3658
3670
  padding: calc(1.5 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));
3659
3671
  padding-inline-start: calc(7 * var(--base-unit, 8px));
3660
3672
  line-height: calc(3 * var(--base-unit, 8px));
@@ -3662,12 +3674,12 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3662
3674
  }
3663
3675
 
3664
3676
  .sv-list__input::placeholder {
3665
- color: var(--foreground-light, #909090);
3677
+ color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3666
3678
  }
3667
3679
 
3668
3680
  .sv-list__input:disabled,
3669
3681
  .sv-list__input:disabled::placeholder {
3670
- color: var(--foreground-light, #909090);
3682
+ color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3671
3683
  }
3672
3684
 
3673
3685
  .sv-list__loading-indicator {
@@ -3687,11 +3699,11 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3687
3699
  padding: calc(3 * var(--base-unit, 8px)) calc(6 * var(--base-unit, 8px));
3688
3700
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
3689
3701
  border-radius: calc(1 * var(--base-unit, 8px));
3690
- color: var(--foreground, #161616);
3702
+ color: var(--sjs-general-forecolor, var(--foreground, #161616));
3691
3703
  min-width: calc(30 * var(--base-unit, 8px));
3692
3704
  text-align: center;
3693
3705
  z-index: 1600;
3694
- font-family: var(--font-family, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
3706
+ font-family: var(--font-family, var(--font-family));
3695
3707
  font-size: calc(2 * var(--base-unit, 8px));
3696
3708
  line-height: calc(3 * var(--base-unit, 8px));
3697
3709
  display: flex;