survey-react 1.9.125 → 1.9.127

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.125
2
+ * surveyjs - Survey JavaScript library v1.9.127
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
  */
@@ -1028,65 +1028,87 @@ sv-popup {
1028
1028
 
1029
1029
  .sv_window {
1030
1030
  position: fixed;
1031
- bottom: 3px;
1032
- right: 10px;
1033
- background-color: cadetblue;
1034
- padding: 1px;
1035
- font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
1036
- font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
1037
- font-style: normal;
1038
- font-weight: 400;
1039
- line-height: 1.42857143;
1040
- text-align: left;
1041
- text-align: start;
1042
- text-decoration: none;
1043
- text-shadow: none;
1044
- text-transform: none;
1045
- letter-spacing: normal;
1046
- word-break: normal;
1047
- word-spacing: normal;
1048
- word-wrap: normal;
1049
- white-space: normal;
1050
- background-color: #fff;
1051
- -webkit-background-clip: padding-box;
1031
+ bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1032
+ right: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1033
+ border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
1034
+ border: 1px solid var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
1035
+ box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1));
1052
1036
  background-clip: padding-box;
1053
- border: 1px solid #ccc;
1054
- border: 1px solid rgba(0, 0, 0, 0.2);
1055
- border-radius: calc(1.5 * (var(--sjs-corner-radius, 4px)));
1056
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
1057
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
1058
- line-break: auto;
1059
1037
  z-index: 100;
1038
+ max-height: 90vh;
1039
+ overflow: auto;
1040
+ box-sizing: border-box;
1060
1041
  }
1061
1042
 
1062
- .sv_window_title {
1063
- padding: 8px 14px;
1064
- margin: 0;
1065
- font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
1066
- background-color: #f7f7f7;
1067
- border-bottom: 1px solid #ebebeb;
1068
- border-radius: var(--sjs-corner-radius, 4px) var(--sjs-corner-radius, 4px) 0 0;
1043
+ .sv_window_content {
1044
+ border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
1045
+ overflow: hidden;
1046
+ }
1047
+
1048
+ .sv_window--collapsed .sv_window_header {
1049
+ height: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1050
+ padding: var(--sjs-base-unit, var(--base-unit, 8px)) var(--sjs-base-unit, var(--base-unit, 8px)) var(--sjs-base-unit, var(--base-unit, 8px)) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1051
+ border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
1069
1052
  display: flex;
1053
+ background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
1054
+ }
1055
+ .sv_window--collapsed .sv_window_content {
1056
+ display: none;
1070
1057
  }
1071
1058
 
1072
- .sv_window_content {
1073
- padding: 0;
1074
- margin: 0;
1075
- max-height: 80vh;
1076
- overflow-y: auto;
1059
+ .sv_window_header_title_collapsed {
1060
+ color: var(--sjs-general-dim-forecolor, rgba(0, 0, 0, 0.91));
1061
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
1062
+ font-style: normal;
1063
+ font-weight: 600;
1064
+ font-size: var(--sjs-font-size, 16px);
1065
+ line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
1066
+ flex: 1;
1067
+ display: flex;
1068
+ justify-content: start;
1069
+ align-items: center;
1077
1070
  }
1078
1071
 
1079
- .sv_window_title a,
1080
- .sv_window_title a:link,
1081
- .sv_window_title a:visited {
1082
- text-decoration: none;
1083
- font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
1072
+ .sv_window_header_description {
1073
+ color: var(--sjs-font-questiondescription-color, var(--sjs-general-forecolor-light, rgba(0, 0, 0, 0.45)));
1074
+ font-feature-settings: "salt" on;
1075
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
1084
1076
  font-style: normal;
1085
- color: black;
1077
+ font-size: var(--sjs-font-size, 16px);
1078
+ line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
1079
+ white-space: nowrap;
1080
+ text-overflow: ellipsis;
1081
+ overflow: hidden;
1082
+ }
1083
+
1084
+ .sv_window_buttons_container {
1085
+ position: absolute;
1086
+ top: var(--sjs-base-unit, var(--base-unit, 8px));
1087
+ right: var(--sjs-base-unit, var(--base-unit, 8px));
1088
+ display: flex;
1089
+ gap: var(--sjs-base-unit, var(--base-unit, 8px));
1090
+ z-index: 1;
1086
1091
  }
1087
1092
 
1088
- .sv_window_button .sv-svg-icon {
1089
- margin: 4px;
1093
+ .sv_window_button {
1094
+ display: flex;
1095
+ padding: var(--sjs-base-unit, var(--base-unit, 8px));
1096
+ justify-content: center;
1097
+ align-items: center;
1098
+ border-radius: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1099
+ cursor: pointer;
1100
+ }
1101
+ .sv_window_button:hover, .sv_window_button:active {
1102
+ background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
1103
+ }
1104
+ .sv_window_button:hover svg use, .sv_window_button:hover svg path, .sv_window_button:active svg use, .sv_window_button:active svg path {
1105
+ fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
1106
+ }
1107
+ .sv_window_button:active {
1108
+ opacity: 0.5;
1109
+ }
1110
+ .sv_window_button svg use, .sv_window_button svg path {
1111
+ fill: var(--sjs-general-dim-forecolor-light, rgba(0, 0, 0, 0.45));
1090
1112
  }
1091
1113
 
1092
1114
  sv-brand-info, .sv-brand-info {
@@ -1743,6 +1765,11 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1743
1765
  color: var(--sjs-font-questiontitle-color, var(--sjs-general-forecolor, var(--foreground, #161616)));
1744
1766
  }
1745
1767
 
1768
+ .sd-element__header .sv-string-editor {
1769
+ max-width: 100%;
1770
+ white-space: normal;
1771
+ }
1772
+
1746
1773
  .sd-element__title {
1747
1774
  font-size: 0;
1748
1775
  line-height: 0;
@@ -1762,10 +1789,6 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1762
1789
  font-size: 0;
1763
1790
  line-height: 0;
1764
1791
  }
1765
- .sd-element__title .sv-string-editor {
1766
- max-width: 100%;
1767
- white-space: normal;
1768
- }
1769
1792
  .sd-element__title .sv-title-actions__title {
1770
1793
  white-space: nowrap;
1771
1794
  }
@@ -1866,6 +1889,10 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1866
1889
  margin-top: var(--sjs-base-unit, var(--base-unit, 8px));
1867
1890
  }
1868
1891
 
1892
+ .sd-question__content--support-container-queries {
1893
+ container-type: inline-size;
1894
+ }
1895
+
1869
1896
  .sd-question--title-top > .sd-question__erbox--above-question {
1870
1897
  margin-bottom: calc(0.5 * var(--sd-base-vertical-padding));
1871
1898
  }
@@ -2209,6 +2236,10 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
2209
2236
  padding-inline-end: calc(8 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2210
2237
  }
2211
2238
 
2239
+ .sd-text__character-counter.sd-text__character-counter--big:focus-within {
2240
+ padding-inline-end: calc(11 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2241
+ }
2242
+
2212
2243
  .sd-remaining-character-counter {
2213
2244
  display: none;
2214
2245
  flex-direction: row;
@@ -2587,27 +2618,35 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
2587
2618
  .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__cell:last-of-type {
2588
2619
  padding-right: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2589
2620
  }
2590
- .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td,
2621
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:first-of-type > .sd-table__cell {
2622
+ border-top: var(--sjs-base-unit, var(--base-unit, 8px)) solid transparent;
2623
+ }
2624
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:last-of-type > .sd-table__cell {
2625
+ border-bottom: var(--sjs-base-unit, var(--base-unit, 8px)) solid transparent;
2626
+ }
2627
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell,
2591
2628
  .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type {
2629
+ border-top-color: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
2630
+ border-bottom-color: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
2592
2631
  background-color: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
2593
2632
  }
2594
- .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-matrix__text--checked,
2633
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell.sd-matrix__text--checked,
2595
2634
  .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type.sd-matrix__text--checked {
2596
2635
  background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
2597
2636
  }
2598
- .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-input,
2637
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell .sd-input,
2599
2638
  .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-input {
2600
2639
  background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
2601
2640
  }
2602
- .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-item:not(.sd-item--error) .sd-item__decorator,
2641
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell .sd-item:not(.sd-item--error) .sd-item__decorator,
2603
2642
  .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error) .sd-item__decorator {
2604
2643
  background-color: var(--sjs-general-backcolor, var(--background, #fff));
2605
2644
  }
2606
- .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-item:not(.sd-item--error).sd-item--checked .sd-item__decorator,
2645
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell .sd-item:not(.sd-item--error).sd-item--checked .sd-item__decorator,
2607
2646
  .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error).sd-item--checked .sd-item__decorator {
2608
2647
  background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
2609
2648
  }
2610
- .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-item:not(.sd-item--error).sd-radio--checked .sd-radio__control:focus + .sd-radio__decorator:after,
2649
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell .sd-item:not(.sd-item--error).sd-radio--checked .sd-radio__control:focus + .sd-radio__decorator:after,
2611
2650
  .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error).sd-radio--checked .sd-radio__control:focus + .sd-radio__decorator:after {
2612
2651
  background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
2613
2652
  }
@@ -2863,6 +2902,10 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
2863
2902
  overflow-x: scroll;
2864
2903
  }
2865
2904
 
2905
+ .sd-table__row-disabled > .sd-table__cell {
2906
+ opacity: 0.25;
2907
+ }
2908
+
2866
2909
  .sd-table__cell--detail-panel .sd-panel__content {
2867
2910
  padding-top: var(--sjs-base-unit, var(--base-unit, 8px));
2868
2911
  }
@@ -3752,6 +3795,45 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
3752
3795
  left: calc(-3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3753
3796
  }
3754
3797
 
3798
+ @container (max-width: 496px) {
3799
+ .sv-ranking--select-to-rank-horizontal {
3800
+ flex-direction: column-reverse;
3801
+ }
3802
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__containers-divider {
3803
+ margin: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0;
3804
+ height: 1px;
3805
+ width: initial;
3806
+ }
3807
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty {
3808
+ padding-top: var(--sjs-base-unit, var(--base-unit, 8px));
3809
+ padding-bottom: var(--sjs-base-unit, var(--base-unit, 8px));
3810
+ display: flex;
3811
+ justify-content: center;
3812
+ align-items: center;
3813
+ }
3814
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container {
3815
+ max-width: initial;
3816
+ }
3817
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--to .sv-ranking-item {
3818
+ left: initial;
3819
+ }
3820
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking-item {
3821
+ left: initial;
3822
+ }
3823
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking__container-placeholder {
3824
+ padding-left: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3825
+ padding-right: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3826
+ }
3827
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--from .sv-ranking__container-placeholder {
3828
+ padding-right: initial;
3829
+ }
3830
+ }
3831
+ @container (max-width: 176px) {
3832
+ .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking__container-placeholder {
3833
+ margin-left: calc(-5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3834
+ margin-right: calc(-5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3835
+ }
3836
+ }
3755
3837
  .sd-element--with-frame .sv-ranking--mobile .sv-ranking-item__icon-container {
3756
3838
  margin-left: 0;
3757
3839
  margin-right: var(--sjs-base-unit, var(--base-unit, 8px));
@@ -3967,6 +4049,10 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
3967
4049
  padding-inline-start: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3968
4050
  }
3969
4051
 
4052
+ .sd-tagbox.sd-input--disabled {
4053
+ white-space: normal;
4054
+ }
4055
+
3970
4056
  .sd-tagbox_clean-button {
3971
4057
  --sjs-internal-font-editorfont-size: var(--sjs-mobile-font-editorfont-size, var(--sjs-font-editorfont-size, var(--sjs-font-size, 16px)));
3972
4058
  height: calc(1.5 * (var(--sjs-internal-font-editorfont-size)));