survey-react-ui 1.9.85 → 1.9.86

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react-ui",
3
- "version": "1.9.85",
3
+ "version": "1.9.86",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "typings": "survey-react-ui.d.ts",
23
23
  "dependencies": {
24
- "survey-core": "1.9.85",
24
+ "survey-core": "1.9.86",
25
25
  "react": "^16.5.0 || ^17.0.1 || ^18.1.0",
26
26
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0"
27
27
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.85
2
+ * surveyjs - Survey JavaScript library v1.9.86
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
  */
@@ -1189,7 +1189,7 @@ __webpack_require__.r(__webpack_exports__);
1189
1189
 
1190
1190
 
1191
1191
 
1192
- Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.85", "survey-react-ui");
1192
+ Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.86", "survey-react-ui");
1193
1193
 
1194
1194
 
1195
1195
  /***/ }),
@@ -5192,8 +5192,9 @@ var SurveyPanel = /** @class */ (function (_super) {
5192
5192
  _this.panelBase.focusIn();
5193
5193
  };
5194
5194
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { ref: this.rootRef, className: this.panelBase.getContainerCss(), onFocus: focusIn, id: this.panelBase.id },
5195
+ this.panel.showErrorsAbovePanel ? errors : null,
5195
5196
  header,
5196
- errors,
5197
+ this.panel.showErrorsAbovePanel ? null : errors,
5197
5198
  content));
5198
5199
  };
5199
5200
  SurveyPanel.prototype.renderHeader = function () {
@@ -5558,7 +5559,8 @@ var Survey = /** @class */ (function (_super) {
5558
5559
  var rootCss = this.survey.getRootCss();
5559
5560
  var cssClasses = this.rootNodeClassName ? this.rootNodeClassName + " " + rootCss : rootCss;
5560
5561
  var rootStyle = {
5561
- backgroundImage: this.survey.renderBackgroundImage
5562
+ backgroundImage: this.survey.renderBackgroundImage,
5563
+ backgroundSize: this.survey.backgroundImageFit
5562
5564
  };
5563
5565
  var formStyle = {
5564
5566
  backgroundColor: this.survey.renderBackgroundOpacity