survey-react 1.9.125 → 1.9.126

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.126
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;
1086
1082
  }
1087
1083
 
1088
- .sv_window_button .sv-svg-icon {
1089
- margin: 4px;
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;
1091
+ }
1092
+
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 {
@@ -1866,6 +1888,10 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1866
1888
  margin-top: var(--sjs-base-unit, var(--base-unit, 8px));
1867
1889
  }
1868
1890
 
1891
+ .sd-question__content--support-container-queries {
1892
+ container-type: inline-size;
1893
+ }
1894
+
1869
1895
  .sd-question--title-top > .sd-question__erbox--above-question {
1870
1896
  margin-bottom: calc(0.5 * var(--sd-base-vertical-padding));
1871
1897
  }
@@ -2587,27 +2613,35 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
2587
2613
  .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__cell:last-of-type {
2588
2614
  padding-right: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2589
2615
  }
2590
- .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td,
2616
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:first-of-type > .sd-table__cell {
2617
+ border-top: var(--sjs-base-unit, var(--base-unit, 8px)) solid transparent;
2618
+ }
2619
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:last-of-type > .sd-table__cell {
2620
+ border-bottom: var(--sjs-base-unit, var(--base-unit, 8px)) solid transparent;
2621
+ }
2622
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell,
2591
2623
  .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type {
2624
+ border-top-color: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
2625
+ border-bottom-color: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
2592
2626
  background-color: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
2593
2627
  }
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,
2628
+ .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
2629
  .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
2630
  background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
2597
2631
  }
2598
- .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-input,
2632
+ .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
2633
  .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
2634
  background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
2601
2635
  }
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,
2636
+ .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
2637
  .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
2638
  background-color: var(--sjs-general-backcolor, var(--background, #fff));
2605
2639
  }
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,
2640
+ .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
2641
  .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
2642
  background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
2609
2643
  }
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,
2644
+ .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
2645
  .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
2646
  background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
2613
2647
  }
@@ -2863,6 +2897,10 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
2863
2897
  overflow-x: scroll;
2864
2898
  }
2865
2899
 
2900
+ .sd-table__row-disabled > .sd-table__cell {
2901
+ opacity: 0.25;
2902
+ }
2903
+
2866
2904
  .sd-table__cell--detail-panel .sd-panel__content {
2867
2905
  padding-top: var(--sjs-base-unit, var(--base-unit, 8px));
2868
2906
  }
@@ -3752,6 +3790,45 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
3752
3790
  left: calc(-3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3753
3791
  }
3754
3792
 
3793
+ @container (max-width: 496px) {
3794
+ .sv-ranking--select-to-rank-horizontal {
3795
+ flex-direction: column-reverse;
3796
+ }
3797
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__containers-divider {
3798
+ margin: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0;
3799
+ height: 1px;
3800
+ width: initial;
3801
+ }
3802
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty {
3803
+ padding-top: var(--sjs-base-unit, var(--base-unit, 8px));
3804
+ padding-bottom: var(--sjs-base-unit, var(--base-unit, 8px));
3805
+ display: flex;
3806
+ justify-content: center;
3807
+ align-items: center;
3808
+ }
3809
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container {
3810
+ max-width: initial;
3811
+ }
3812
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--to .sv-ranking-item {
3813
+ left: initial;
3814
+ }
3815
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking-item {
3816
+ left: initial;
3817
+ }
3818
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking__container-placeholder {
3819
+ padding-left: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3820
+ padding-right: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3821
+ }
3822
+ .sv-ranking--select-to-rank-horizontal .sv-ranking__container--empty.sv-ranking__container--from .sv-ranking__container-placeholder {
3823
+ padding-right: initial;
3824
+ }
3825
+ }
3826
+ @container (max-width: 176px) {
3827
+ .sv-ranking__container--empty.sv-ranking__container--to .sv-ranking__container-placeholder {
3828
+ margin-left: calc(-5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3829
+ margin-right: calc(-5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3830
+ }
3831
+ }
3755
3832
  .sd-element--with-frame .sv-ranking--mobile .sv-ranking-item__icon-container {
3756
3833
  margin-left: 0;
3757
3834
  margin-right: var(--sjs-base-unit, var(--base-unit, 8px));
@@ -3967,6 +4044,10 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
3967
4044
  padding-inline-start: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3968
4045
  }
3969
4046
 
4047
+ .sd-tagbox.sd-input--disabled {
4048
+ white-space: normal;
4049
+ }
4050
+
3970
4051
  .sd-tagbox_clean-button {
3971
4052
  --sjs-internal-font-editorfont-size: var(--sjs-mobile-font-editorfont-size, var(--sjs-font-editorfont-size, var(--sjs-font-size, 16px)));
3972
4053
  height: calc(1.5 * (var(--sjs-internal-font-editorfont-size)));