survey-react 1.9.116 → 1.9.118

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/README.md CHANGED
@@ -11,6 +11,10 @@ SurveyJS Form Library is a free and open-source MIT-licensed JavaScript form bui
11
11
  - [Live Examples](https://surveyjs.io/form-library/examples/nps-question/reactjs)
12
12
  - [What's New](https://surveyjs.io/WhatsNew)
13
13
 
14
+ ## Build SurveyJS Form Library for React from Sources
15
+
16
+ Refer to instructions in the root README file: [Build the SurveyJS Form Library from Sources](https://github.com/surveyjs/survey-library#build-the-surveyjs-form-library-from-sources).
17
+
14
18
  ## Licensing
15
19
 
16
20
  SurveyJS Form Library is distributed under the [MIT license](https://github.com/surveyjs/survey-library/blob/master/LICENSE).
package/defaultV2.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.116
2
+ * surveyjs - Survey JavaScript library v1.9.118
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
  */
@@ -1676,11 +1676,14 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1676
1676
  opacity: 1;
1677
1677
  }
1678
1678
 
1679
+ .sv-save-data_root.sv-save-data_root--with-buttons {
1680
+ padding: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1681
+ }
1682
+
1679
1683
  .sv-save-data_root.sv-save-data_error {
1680
1684
  background-color: var(--sjs-special-red, var(--red, #e60a3e));
1681
1685
  color: var(--sjs-general-backcolor, var(--background, #fff));
1682
1686
  font-weight: 600;
1683
- padding: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1684
1687
  gap: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1685
1688
  }
1686
1689
 
@@ -1837,6 +1840,8 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1837
1840
  padding-bottom: var(--sd-base-padding);
1838
1841
  background: var(--sjs-questionpanel-backcolor, var(--sjs-question-background, var(--sjs-general-backcolor, var(--background, #fff))));
1839
1842
  box-shadow: var(--sjs-shadow-small, 0px 1px 2px 0px rgba(0, 0, 0, 0.15));
1843
+ display: flex;
1844
+ flex-direction: column;
1840
1845
  }
1841
1846
 
1842
1847
  .sd-element--with-frame.sd-element--compact {
@@ -1892,7 +1897,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1892
1897
  }
1893
1898
 
1894
1899
  .sd-element--with-frame > .sd-question__erbox--below-question {
1895
- margin-top: var(--sd-base-padding);
1900
+ margin-top: auto;
1896
1901
  border-radius: 0 0 var(--sjs-corner-radius, 4px) var(--sjs-corner-radius, 4px);
1897
1902
  }
1898
1903
 
@@ -1926,6 +1931,9 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1926
1931
  .sd-element--with-frame.sd-question--error-bottom {
1927
1932
  padding-bottom: 0;
1928
1933
  }
1934
+ .sd-element--with-frame.sd-question--error-bottom > .sd-question__content {
1935
+ margin-bottom: var(--sd-base-padding);
1936
+ }
1929
1937
  .sd-element--with-frame > .sd-question__erbox--outside-question {
1930
1938
  margin-left: calc(-1 * var(--sd-base-padding));
1931
1939
  margin-right: calc(-1 * var(--sd-base-padding));
@@ -1948,6 +1956,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
1948
1956
  .sd-question--left {
1949
1957
  display: flex;
1950
1958
  flex-wrap: wrap;
1959
+ flex-direction: row;
1951
1960
  }
1952
1961
 
1953
1962
  .sd-question__content--left {
@@ -2901,10 +2910,10 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
2901
2910
  align-items: stretch;
2902
2911
  }
2903
2912
 
2904
- .sd-panel .sd-row--multiple {
2913
+ .sd-panel:not(.sd-panel--as-page) .sd-row--multiple {
2905
2914
  row-gap: var(--sd-base-vertical-padding);
2906
2915
  }
2907
- .sd-panel .sd-row--multiple > div {
2916
+ .sd-panel:not(.sd-panel--as-page) .sd-row--multiple > div {
2908
2917
  padding-left: var(--sd-base-padding);
2909
2918
  }
2910
2919
 
@@ -3633,6 +3642,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
3633
3642
  opacity: 1;
3634
3643
  display: flex;
3635
3644
  justify-content: space-between;
3645
+ word-spacing: normal;
3636
3646
  }
3637
3647
 
3638
3648
  .sd-dropdown[disabled] {
@@ -3710,6 +3720,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
3710
3720
  position: absolute;
3711
3721
  left: 0;
3712
3722
  top: 0;
3723
+ bottom: 0;
3713
3724
  width: 100%;
3714
3725
  max-width: 100%;
3715
3726
  border: none;
@@ -3726,7 +3737,6 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
3726
3737
  white-space: nowrap;
3727
3738
  display: inline-block;
3728
3739
  appearance: none;
3729
- height: 100%;
3730
3740
  }
3731
3741
 
3732
3742
  .sd-dropdown--empty:not(.sd-input--disabled) .sd-dropdown__filter-string-input::placeholder {