survey-react 1.9.80 → 1.9.81

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/defaultV2.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.80
2
+ * surveyjs - Survey JavaScript library v1.9.81
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
  */
@@ -932,11 +932,13 @@ sv-popup {
932
932
 
933
933
  .sv-ranking-item:focus .sv-ranking-item__icon--focus {
934
934
  visibility: visible;
935
+ top: calc(0.6 * var(--base-unit, 8px));
936
+ height: calc(3 * var(--base-unit, 8px));
935
937
  }
936
938
 
937
939
  .sv-ranking-item:focus .sv-ranking-item__index {
938
940
  background: var(--background, #fff);
939
- border: calc(0.25 * var(--base-unit, 8px)) solid var(--primary, #19b394);
941
+ outline: calc(0.25 * var(--base-unit, 8px)) solid var(--primary, #19b394);
940
942
  }
941
943
 
942
944
  .sv-ranking-item__content.sv-ranking-item__content {
@@ -955,8 +957,6 @@ sv-popup {
955
957
  flex-shrink: 0;
956
958
  width: calc(3 * var(--base-unit, 8px));
957
959
  height: calc(4 * var(--base-unit, 8px));
958
- margin-right: calc(1 * var(--base-unit, 8px));
959
- margin-left: calc(1 * var(--base-unit, 8px));
960
960
  }
961
961
 
962
962
  .sv-ranking-item__icon.sv-ranking-item__icon {
@@ -964,7 +964,6 @@ sv-popup {
964
964
  fill: var(--primary, #19b394);
965
965
  position: absolute;
966
966
  top: calc(1 * var(--base-unit, 8px));
967
- margin-right: calc(1 * var(--base-unit, 8px));
968
967
  width: calc(1.75 * var(--base-unit, 8px));
969
968
  height: calc(2 * var(--base-unit, 8px));
970
969
  }
@@ -984,7 +983,7 @@ sv-popup {
984
983
  line-height: calc(3 * var(--base-unit, 8px));
985
984
  box-sizing: border-box;
986
985
  font-weight: 600;
987
- margin-left: calc(1 * var(--base-unit, 8px));
986
+ margin-left: calc(0 * var(--base-unit, 8px));
988
987
  }
989
988
  .sv-ranking-item__index.sv-ranking-item__index.sv-ranking-item__index--empty:empty {
990
989
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAArSURBVHgB7cuhEQAwDMNAtUN4//m8RMtygcE5PxMQxAKnh6Q3mWzXd4mAD4cJBAQCqfbUAAAAAElFTkSuQmCC");
@@ -1090,12 +1089,15 @@ sv-popup {
1090
1089
  }
1091
1090
 
1092
1091
  .sv-ranking-shortcut .sv-ranking-item__icon {
1093
- margin-left: calc(1 * var(--base-unit, 8px));
1094
1092
  width: calc(1.75 * var(--base-unit, 8px));
1095
1093
  height: calc(2 * var(--base-unit, 8px));
1096
1094
  top: calc(1 * var(--base-unit, 8px));
1097
1095
  }
1098
1096
 
1097
+ .sv-ranking-shortcut .sv-ranking-item__icon-container {
1098
+ margin-left: calc(1 * var(--base-unit, 8px));
1099
+ }
1100
+
1099
1101
  .sv-list {
1100
1102
  padding: 0;
1101
1103
  margin: 0;
@@ -1387,7 +1389,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1387
1389
  padding-left: calc(var(--sd-base-padding) + var(--sv-element-add-padding-left, 0px));
1388
1390
  padding-right: calc(var(--sd-base-padding) + var(--sv-element-add-padding-right, 0px));
1389
1391
  padding-bottom: var(--sd-base-padding);
1390
- background: var(--background, #fff);
1392
+ background: var(--sjs-question-background, #fff);
1391
1393
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
1392
1394
  }
1393
1395
  .svc-logic-question-value > .sd-question__erbox--outside-question,
@@ -1801,7 +1803,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1801
1803
  font-family: var(--font-family, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
1802
1804
  font-size: calc(2 * var(--base-unit, 8px));
1803
1805
  color: var(--foreground, #161616);
1804
- background-color: var(--background-dim-light, #f9f9f9);
1806
+ background-color: var(--sjs-editor-background, #f9f9f9);
1805
1807
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.15);
1806
1808
  border: none;
1807
1809
  border-radius: 3px;
@@ -1813,7 +1815,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1813
1815
  }
1814
1816
 
1815
1817
  .sd-input--disabled {
1816
- background-color: var(--background-dim-light, #f9f9f9);
1818
+ background-color: var(--sjs-editor-background, #f9f9f9);
1817
1819
  -webkit-user-select: none;
1818
1820
  -moz-user-select: none;
1819
1821
  -ms-user-select: none;
@@ -2077,7 +2079,6 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
2077
2079
 
2078
2080
  .sd-table {
2079
2081
  width: 100%;
2080
- background-color: var(--background, #fff);
2081
2082
  border-collapse: collapse;
2082
2083
  white-space: normal;
2083
2084
  }
@@ -2236,7 +2237,6 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
2236
2237
  .sd-matrix__cell:first-of-type,
2237
2238
  .sd-matrix tr > td:first-of-type {
2238
2239
  position: sticky;
2239
- background: var(--background, #fff);
2240
2240
  z-index: 12;
2241
2241
  }
2242
2242
  .sd-table__cell--actions:not(.sd-table__cell--vertical):first-of-type,
@@ -2257,7 +2257,6 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
2257
2257
  .sd-table__cell--actions:not(.sd-table__cell--vertical):last-child .sd-action-bar {
2258
2258
  margin-right: calc(-3 * var(--base-unit, 8px));
2259
2259
  justify-content: flex-end;
2260
- background: var(--background, #fff);
2261
2260
  }
2262
2261
 
2263
2262
  .sd-question.sd-question--table {
@@ -2278,7 +2277,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
2278
2277
  min-height: 100%;
2279
2278
  width: calc(var(--sd-base-padding) - var(--base-unit, 8px));
2280
2279
  flex-shrink: 0;
2281
- background: var(--background, #fff);
2280
+ background: var(--sjs-question-background, #fff);
2282
2281
  z-index: 11;
2283
2282
  }
2284
2283
  .sd-table-wrapper::before {
@@ -2367,7 +2366,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
2367
2366
 
2368
2367
  .sd-page__row.sd-row--multiple,
2369
2368
  .svc-row > .sd-row--multiple {
2370
- background: var(--background, #fff);
2369
+ background: var(--sjs-question-background, #fff);
2371
2370
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
2372
2371
  border-radius: calc(0.5 * var(--base-unit, 8px));
2373
2372
  }
@@ -2522,7 +2521,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
2522
2521
  width: calc(3 * var(--base-unit, 8px));
2523
2522
  height: calc(3 * var(--base-unit, 8px));
2524
2523
  box-sizing: border-box;
2525
- background: var(--sd-item-default-background, var(--background-dim-light, #f9f9f9));
2524
+ background: var(--sd-item-default-background, var(--sjs-editor-background, #f9f9f9));
2526
2525
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.15);
2527
2526
  border: none;
2528
2527
  flex-shrink: 0;
@@ -2942,21 +2941,6 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
2942
2941
  left: calc(-3 * var(--base-unit, 8px));
2943
2942
  }
2944
2943
 
2945
- .sd-element--with-frame .sv-ranking-item__icon {
2946
- margin-left: calc(1 * var(--base-unit, 8px));
2947
- width: calc(1.75 * var(--base-unit, 8px));
2948
- height: calc(2 * var(--base-unit, 8px));
2949
- top: calc(1 * var(--base-unit, 8px));
2950
- }
2951
-
2952
- .sd-element--with-frame .sv-ranking-item__icon-container {
2953
- position: relative;
2954
- width: calc(3 * var(--base-unit, 8px));
2955
- height: calc(4 * var(--base-unit, 8px));
2956
- margin-right: calc(1 * var(--base-unit, 8px));
2957
- margin-left: calc(1 * var(--base-unit, 8px));
2958
- }
2959
-
2960
2944
  .sd-element--with-frame .sv-ranking--mobile .sv-ranking-item__icon-container {
2961
2945
  margin-left: 0;
2962
2946
  margin-right: calc(1 * var(--base-unit, 8px));
@@ -3078,11 +3062,17 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
3078
3062
  .sd-dropdown__hint-prefix {
3079
3063
  color: var(--foreground-light, #909090);
3080
3064
  }
3065
+ .sd-dropdown__hint-prefix span {
3066
+ white-space: pre;
3067
+ }
3081
3068
 
3082
3069
  .sd-dropdown__hint-suffix {
3083
3070
  display: flex;
3084
3071
  color: var(--foreground-light, #909090);
3085
3072
  }
3073
+ .sd-dropdown__hint-suffix span {
3074
+ white-space: pre;
3075
+ }
3086
3076
 
3087
3077
  [dir=rtl] .sd-dropdown,
3088
3078
  [style*="direction:rtl"] .sd-dropdown,
@@ -3393,7 +3383,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
3393
3383
  width: max-content;
3394
3384
  position: relative;
3395
3385
  padding: calc(0.5 * var(--base-unit, 8px));
3396
- background: var(--background-dim-light, #f9f9f9);
3386
+ background: var(--sjs-editor-background, #f9f9f9);
3397
3387
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.15);
3398
3388
  border-radius: calc(12.5 * var(--base-unit, 8px));
3399
3389
  }
@@ -3612,6 +3602,65 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
3612
3602
  margin-bottom: calc(-1 * var(--base-unit, 8px));
3613
3603
  }
3614
3604
 
3605
+ .sv-tabs-toolbar.sv-action-bar {
3606
+ gap: calc(4 * var(--base-unit, 8px));
3607
+ }
3608
+
3609
+ .sv-tabs-toolbar.sv-tabs-toolbar--left {
3610
+ justify-content: flex-start;
3611
+ }
3612
+
3613
+ .sv-tabs-toolbar.sv-tabs-toolbar--right {
3614
+ justify-content: flex-end;
3615
+ }
3616
+
3617
+ .sv-tabs-toolbar.sv-tabs-toolbar--center {
3618
+ justify-content: center;
3619
+ }
3620
+
3621
+ .sv-tab-item__root {
3622
+ display: flex;
3623
+ }
3624
+
3625
+ .sv-tab-item {
3626
+ padding: calc(1 * var(--base-unit, 8px)) 0 calc(2 * var(--base-unit, 8px)) 0;
3627
+ display: flex;
3628
+ -webkit-appearance: none;
3629
+ -moz-appearance: none;
3630
+ appearance: none;
3631
+ display: flex;
3632
+ padding: calc(1 * var(--base-unit, 8px));
3633
+ box-sizing: border-box;
3634
+ border: none;
3635
+ background-color: transparent;
3636
+ cursor: pointer;
3637
+ font-family: var(--font-family, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
3638
+ font-size: calc(2 * var(--base-unit, 8px));
3639
+ color: var(--foreground-light, #909090);
3640
+ overflow-x: hidden;
3641
+ white-space: nowrap;
3642
+ }
3643
+
3644
+ .sv-tab-item.sv-tab-item--pressed {
3645
+ color: var(--foreground, #161616);
3646
+ box-shadow: inset 0px -2px 0px var(--primary, #19b394);
3647
+ }
3648
+
3649
+ .sv-tab-item__title {
3650
+ line-height: calc(3 * var(--base-unit, 8px));
3651
+ height: calc(3 * var(--base-unit, 8px));
3652
+ display: flex;
3653
+ align-items: center;
3654
+ }
3655
+
3656
+ .sd-paneldynamic__header.sd-element__header.sd-paneldynamic__header-tab {
3657
+ padding-bottom: 0;
3658
+ }
3659
+
3660
+ .sd-paneldynamic__header.sd-element__header.sd-paneldynamic__header-tab::after {
3661
+ bottom: 0;
3662
+ }
3663
+
3615
3664
  .sd-file {
3616
3665
  min-height: calc(36 * var(--base-unit, 8px));
3617
3666
  position: relative;
@@ -4254,7 +4303,6 @@ svg.sd-action--icon {
4254
4303
  max-width: calc(42 * var(--base-unit, 8px));
4255
4304
  height: 100%;
4256
4305
  background: var(--background, #fff);
4257
- border-right: 1px solid var(--border, #d6d6d6);
4258
4306
  box-sizing: border-box;
4259
4307
  min-width: calc(32 * var(--base-unit, 8px));
4260
4308
  }
@@ -4274,6 +4322,14 @@ svg.sd-action--icon {
4274
4322
  padding-bottom: calc(1.5 * var(--base-unit, 8px));
4275
4323
  }
4276
4324
 
4325
+ .sv_progress-toc--left {
4326
+ border-right: 1px solid var(--border, #d6d6d6);
4327
+ }
4328
+
4329
+ .sv_progress-toc--right {
4330
+ border-left: 1px solid var(--border, #d6d6d6);
4331
+ }
4332
+
4277
4333
  .sd-list {
4278
4334
  padding-right: calc(0.5 * var(--base-unit, 8px));
4279
4335
  padding-left: calc(0.5 * var(--base-unit, 8px));