survey-react 1.9.88 → 1.9.89

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.88
2
+ * surveyjs - Survey JavaScript library v1.9.89
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
  */
@@ -173,8 +173,8 @@ sv-popup {
173
173
  width: 100%;
174
174
  }
175
175
  .sv-popup--overlay.sv-popup--overlay .sv-popup__button {
176
- background-color: var(--primary, #19b394);
177
- border: 2px solid var(--primary, #19b394);
176
+ background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
177
+ border: 2px solid var(--sjs-primary-backcolor, var(--primary, #19b394));
178
178
  color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
179
179
  }
180
180
 
@@ -197,7 +197,7 @@ sv-popup {
197
197
  }
198
198
  .sv-popup__scrolling-content::-webkit-scrollbar-thumb,
199
199
  .sv-popup__scrolling-content *::-webkit-scrollbar-thumb {
200
- background: var(--primary-light, rgba(25, 179, 148, 0.1));
200
+ background: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
201
201
  }
202
202
 
203
203
  .sv-popup__content {
@@ -277,13 +277,13 @@ sv-popup {
277
277
  font-size: calc(1 * var(--sjs-font-size, calc(2 * var(--base-unit, 8px))));
278
278
  line-height: calc(3 * var(--base-unit, 8px));
279
279
  text-align: center;
280
- color: var(--primary, #19b394);
280
+ color: var(--sjs-primary-backcolor, var(--primary, #19b394));
281
281
  border: none;
282
282
  outline: none;
283
283
  }
284
284
 
285
285
  .sv-popup__button:hover {
286
- box-shadow: 0 0 0 2px var(--primary, #19b394);
286
+ box-shadow: 0 0 0 2px var(--sjs-primary-backcolor, var(--primary, #19b394));
287
287
  }
288
288
 
289
289
  .sv-popup__button:disabled {
@@ -297,7 +297,7 @@ sv-popup {
297
297
  }
298
298
 
299
299
  .sv-popup__button--apply {
300
- background-color: var(--primary, #19b394);
300
+ background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
301
301
  color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
302
302
  }
303
303
 
@@ -327,7 +327,7 @@ sv-popup {
327
327
  }
328
328
  .sv-dropdown-popup.sv-popup--overlay .sv-popup__button {
329
329
  background-color: transparent;
330
- color: var(--primary, #19b394);
330
+ color: var(--sjs-primary-backcolor, var(--primary, #19b394));
331
331
  border: none;
332
332
  box-shadow: none;
333
333
  padding: calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px));
@@ -417,14 +417,14 @@ sv-popup {
417
417
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:hover.sv-list__item--selected .sv-list__item-body,
418
418
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:focus.sv-list__item--selected .sv-list__item-body,
419
419
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item--focused.sv-list__item--selected .sv-list__item-body {
420
- background: var(--primary, #19b394);
420
+ background: var(--sjs-primary-backcolor, var(--primary, #19b394));
421
421
  color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
422
422
  font-weight: 600;
423
423
  }
424
424
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:hover.sv-list__item--selected .sd-list__item-body,
425
425
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:focus.sv-list__item--selected .sd-list__item-body,
426
426
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item--focused.sv-list__item--selected .sd-list__item-body {
427
- background: var(--primary-light, rgba(25, 179, 148, 0.1));
427
+ background: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
428
428
  color: var(--sjs-general-forecolor, var(--foreground, #161616));
429
429
  }
430
430
 
@@ -2582,7 +2582,7 @@ button.sv-action-bar-item {
2582
2582
  }
2583
2583
 
2584
2584
  .sv-action-bar-item--active .sv-action-bar-item__icon use {
2585
- fill: var(--primary, #19b394);
2585
+ fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
2586
2586
  }
2587
2587
 
2588
2588
  .sv-action-bar-item-dropdown {
@@ -2791,8 +2791,8 @@ sv-popup {
2791
2791
  width: 100%;
2792
2792
  }
2793
2793
  .sv-popup--overlay.sv-popup--overlay .sv-popup__button {
2794
- background-color: var(--primary, #19b394);
2795
- border: 2px solid var(--primary, #19b394);
2794
+ background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
2795
+ border: 2px solid var(--sjs-primary-backcolor, var(--primary, #19b394));
2796
2796
  color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
2797
2797
  }
2798
2798
 
@@ -2815,7 +2815,7 @@ sv-popup {
2815
2815
  }
2816
2816
  .sv-popup__scrolling-content::-webkit-scrollbar-thumb,
2817
2817
  .sv-popup__scrolling-content *::-webkit-scrollbar-thumb {
2818
- background: var(--primary-light, rgba(25, 179, 148, 0.1));
2818
+ background: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
2819
2819
  }
2820
2820
 
2821
2821
  .sv-popup__content {
@@ -2895,13 +2895,13 @@ sv-popup {
2895
2895
  font-size: calc(1 * var(--sjs-font-size, calc(2 * var(--base-unit, 8px))));
2896
2896
  line-height: calc(3 * var(--base-unit, 8px));
2897
2897
  text-align: center;
2898
- color: var(--primary, #19b394);
2898
+ color: var(--sjs-primary-backcolor, var(--primary, #19b394));
2899
2899
  border: none;
2900
2900
  outline: none;
2901
2901
  }
2902
2902
 
2903
2903
  .sv-popup__button:hover {
2904
- box-shadow: 0 0 0 2px var(--primary, #19b394);
2904
+ box-shadow: 0 0 0 2px var(--sjs-primary-backcolor, var(--primary, #19b394));
2905
2905
  }
2906
2906
 
2907
2907
  .sv-popup__button:disabled {
@@ -2915,7 +2915,7 @@ sv-popup {
2915
2915
  }
2916
2916
 
2917
2917
  .sv-popup__button--apply {
2918
- background-color: var(--primary, #19b394);
2918
+ background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
2919
2919
  color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
2920
2920
  }
2921
2921
 
@@ -2945,7 +2945,7 @@ sv-popup {
2945
2945
  }
2946
2946
  .sv-dropdown-popup.sv-popup--overlay .sv-popup__button {
2947
2947
  background-color: transparent;
2948
- color: var(--primary, #19b394);
2948
+ color: var(--sjs-primary-backcolor, var(--primary, #19b394));
2949
2949
  border: none;
2950
2950
  box-shadow: none;
2951
2951
  padding: calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px));
@@ -3035,14 +3035,14 @@ sv-popup {
3035
3035
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:hover.sv-list__item--selected .sv-list__item-body,
3036
3036
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:focus.sv-list__item--selected .sv-list__item-body,
3037
3037
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item--focused.sv-list__item--selected .sv-list__item-body {
3038
- background: var(--primary, #19b394);
3038
+ background: var(--sjs-primary-backcolor, var(--primary, #19b394));
3039
3039
  color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
3040
3040
  font-weight: 600;
3041
3041
  }
3042
3042
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:hover.sv-list__item--selected .sd-list__item-body,
3043
3043
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item:focus.sv-list__item--selected .sd-list__item-body,
3044
3044
  .sv-dropdown-popup.sv-popup--overlay .sv-list__item--focused.sv-list__item--selected .sd-list__item-body {
3045
- background: var(--primary-light, rgba(25, 179, 148, 0.1));
3045
+ background: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
3046
3046
  color: var(--sjs-general-forecolor, var(--foreground, #161616));
3047
3047
  }
3048
3048
 
@@ -3079,8 +3079,8 @@ sv-popup {
3079
3079
  }
3080
3080
 
3081
3081
  .sv-button-group:focus-within {
3082
- box-shadow: 0 0 0 1px var(--primary, #19b394);
3083
- border-color: var(--primary, #19b394);
3082
+ box-shadow: 0 0 0 1px var(--sjs-primary-backcolor, var(--primary, #19b394));
3083
+ border-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
3084
3084
  }
3085
3085
 
3086
3086
  .sv-button-group__item {
@@ -3120,10 +3120,10 @@ sv-popup {
3120
3120
 
3121
3121
  .sv-button-group__item--selected {
3122
3122
  font-weight: 600;
3123
- color: var(--primary, #19b394);
3123
+ color: var(--sjs-primary-backcolor, var(--primary, #19b394));
3124
3124
  }
3125
3125
  .sv-button-group__item--selected .sv-button-group__item-icon use {
3126
- fill: var(--primary, #19b394);
3126
+ fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
3127
3127
  }
3128
3128
  .sv-button-group__item--selected:hover {
3129
3129
  background-color: var(--background, #fff);
@@ -3159,8 +3159,8 @@ sv-popup {
3159
3159
  }
3160
3160
 
3161
3161
  .sv-button-group:focus-within {
3162
- box-shadow: 0 0 0 1px var(--primary, #19b394);
3163
- border-color: var(--primary, #19b394);
3162
+ box-shadow: 0 0 0 1px var(--sjs-primary-backcolor, var(--primary, #19b394));
3163
+ border-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
3164
3164
  }
3165
3165
 
3166
3166
  .sv-visuallyhidden {
@@ -3334,7 +3334,7 @@ sv-popup {
3334
3334
 
3335
3335
  .sv-ranking-item:focus .sv-ranking-item__index {
3336
3336
  background: var(--background, #fff);
3337
- outline: calc(0.25 * var(--base-unit, 8px)) solid var(--primary, #19b394);
3337
+ outline: calc(0.25 * var(--base-unit, 8px)) solid var(--sjs-primary-backcolor, var(--primary, #19b394));
3338
3338
  }
3339
3339
 
3340
3340
  .sv-ranking-item__content.sv-ranking-item__content {
@@ -3357,7 +3357,7 @@ sv-popup {
3357
3357
 
3358
3358
  .sv-ranking-item__icon.sv-ranking-item__icon {
3359
3359
  visibility: hidden;
3360
- fill: var(--primary, #19b394);
3360
+ fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
3361
3361
  position: absolute;
3362
3362
  top: calc(1 * var(--base-unit, 8px));
3363
3363
  width: calc(1.75 * var(--base-unit, 8px));
@@ -3369,7 +3369,7 @@ sv-popup {
3369
3369
  flex-shrink: 0;
3370
3370
  align-items: center;
3371
3371
  justify-content: center;
3372
- background-color: var(--primary-light, rgba(25, 179, 148, 0.1));
3372
+ background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
3373
3373
  color: var(--sjs-general-forecolor, var(--foreground, #161616));
3374
3374
  font-size: calc(1 * var(--sjs-font-size, calc(2 * var(--base-unit, 8px))));
3375
3375
  border-radius: 100%;
@@ -3474,7 +3474,7 @@ sv-popup {
3474
3474
  }
3475
3475
 
3476
3476
  .sv-ranking-shortcut .sv-ranking-item__icon {
3477
- fill: var(--primary, #19b394);
3477
+ fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
3478
3478
  }
3479
3479
 
3480
3480
  .sv-ranking-shortcut .sv-ranking-item__text {
@@ -3569,7 +3569,7 @@ sv-popup {
3569
3569
  }
3570
3570
  .sv-list__item:hover .sv-list__item-body,
3571
3571
  .sv-list__item:focus .sv-list__item-body {
3572
- background-color: var(--sjs-general-backcolor-dark, rgb(248, 248, 248));
3572
+ background-color: var(--sjs-questionpanel-hovercolor, var(--sjs-general-backcolor-dark, rgb(248, 248, 248)));
3573
3573
  }
3574
3574
 
3575
3575
  .sv-list__item--with-icon.sv-list__item--with-icon {
@@ -3611,7 +3611,7 @@ sv-popup {
3611
3611
  .sv-list__item.sv-list__item--selected.sv-list__item--focused .sv-list__item-body,
3612
3612
  .sv-multi-select-list .sv-list__item.sv-list__item--selected.sv-list__item--focused .sv-list__item-body,
3613
3613
  li:focus .sv-list__item.sv-list__item--selected .sv-list__item-body {
3614
- background-color: var(--primary, #19b394);
3614
+ background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
3615
3615
  color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
3616
3616
  font-weight: 600;
3617
3617
  }
@@ -3625,7 +3625,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3625
3625
 
3626
3626
  .sv-multi-select-list .sv-list__item.sv-list__item--selected .sv-list__item-body,
3627
3627
  .sv-multi-select-list .sv-list__item.sv-list__item--selected:hover .sv-list__item-body {
3628
- background-color: var(--primary-light, rgba(25, 179, 148, 0.1));
3628
+ background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
3629
3629
  color: var(--sjs-general-forecolor, var(--foreground, #161616));
3630
3630
  font-weight: 400;
3631
3631
  }
@@ -3781,7 +3781,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
3781
3781
  }
3782
3782
 
3783
3783
  .sv-save-data_root.sv-save-data_success {
3784
- background-color: var(--primary, #19b394);
3784
+ background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
3785
3785
  color: #ffffff;
3786
3786
  font-weight: 600;
3787
3787
  }