survey-react-ui 2.0.0-rc.3 → 2.0.0-rc.4

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1400,11 +1400,14 @@ class SurveyCustomWidget extends SurveyQuestionElementBase {
1400
1400
 
1401
1401
 
1402
1402
 
1403
- class SurveyElementHeader extends external_react_namespaceObject["default"].Component {
1403
+ class SurveyElementHeader extends SurveyElementBase {
1404
1404
  get element() {
1405
1405
  return this.props.element;
1406
1406
  }
1407
- render() {
1407
+ getRenderedElements() {
1408
+ return [this.element];
1409
+ }
1410
+ renderElement() {
1408
1411
  const element = this.element;
1409
1412
  const title = element.hasTitle ? (external_react_namespaceObject["default"].createElement(TitleElement, { element: element })) : null;
1410
1413
  const description = element.hasDescriptionUnderTitle
@@ -2012,7 +2015,7 @@ PopupModal.modalDescriptors = [];
2012
2015
 
2013
2016
  ;// ../survey-core/build/fesm/icons/iconsV1.js
2014
2017
  /*!
2015
- * surveyjs - Survey JavaScript library v2.0.0-rc.3
2018
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
2016
2019
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
2017
2020
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
2018
2021
  */
@@ -2582,7 +2585,7 @@ var __webpack_exports__icons = __nested_webpack_exports__.P;
2582
2585
  //# sourceMappingURL=iconsV1.js.map
2583
2586
  ;// ../survey-core/build/fesm/icons/iconsV2.js
2584
2587
  /*!
2585
- * surveyjs - Survey JavaScript library v2.0.0-rc.3
2588
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
2586
2589
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
2587
2590
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
2588
2591
  */
@@ -7606,6 +7609,6 @@ ReactElementFactory.Instance.registerElement(external_survey_core_namespaceObjec
7606
7609
 
7607
7610
 
7608
7611
 
7609
- (0,external_survey_core_namespaceObject.checkLibraryVersion)(`${"2.0.0-rc.3"}`, "survey-react-ui");
7612
+ (0,external_survey_core_namespaceObject.checkLibraryVersion)(`${"2.0.0-rc.4"}`, "survey-react-ui");
7610
7613
 
7611
7614
  export { CharacterCounterComponent, ComponentsContainer, Header, HeaderCell, HeaderMobile, List, ListItemContent, ListItemGroup, LoadingIndicatorComponent, LogoImage, MatrixRow, NotifierComponent, Popup, PopupModal, PopupSurvey, QuestionErrorComponent, RatingDropdownItem, RatingItem, RatingItemSmiley, RatingItemStar, ReactElementFactory, ReactQuestionFactory, ReactSurveyElement, ReactSurveyElementsWrapper, Skeleton, Survey, SurveyActionBar, SurveyElementBase, SurveyElementErrors, SurveyFileChooseButton, SurveyFilePreview, SurveyFlowPanel, SurveyHeader, SurveyLocStringEditor, SurveyLocStringViewer, SurveyNavigationBase, SurveyNavigationButton, SurveyPage, SurveyPanel, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestion, SurveyQuestionAndErrorsCell, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionButtonGroup, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionComment, SurveyQuestionCommentItem, SurveyQuestionComposite, SurveyQuestionCustom, SurveyQuestionDropdown, SurveyQuestionDropdownBase, SurveyQuestionDropdownSelect, SurveyQuestionElementBase, SurveyQuestionEmpty, SurveyQuestionExpression, SurveyQuestionFile, SurveyQuestionHtml, SurveyQuestionImage, SurveyQuestionImagePicker, SurveyQuestionMatrix, SurveyQuestionMatrixCell, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixRow, SurveyQuestionMultipleText, SurveyQuestionOptionItem, SurveyQuestionPanelDynamic, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicProgressText, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionRadioItem, SurveyQuestionRadiogroup, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionSignaturePad, SurveyQuestionTagbox, SurveyQuestionTagboxItem, SurveyQuestionText, SurveyRow, SurveyTimerPanel, SurveyWindow, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react-ui",
3
- "version": "2.0.0-rc.3",
3
+ "version": "2.0.0-rc.4",
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",
@@ -18,8 +18,8 @@
18
18
  "module": "fesm/survey-react-ui.js",
19
19
  "typings": "./typings/entries/index.d.ts",
20
20
  "peerDependencies": {
21
- "survey-core": "2.0.0-rc.3",
22
- "react": "^16.5.0 || ^17.0.1 || ^18.2.0",
23
- "react-dom": "^16.5.0 || ^17.0.1 || ^18.2.0"
21
+ "survey-core": "2.0.0-rc.4",
22
+ "react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
23
+ "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0"
24
24
  }
25
25
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -28,7 +28,7 @@ __webpack_require__.r(__webpack_exports__);
28
28
  /* harmony export */ icons: () => (/* binding */ __webpack_exports__icons)
29
29
  /* harmony export */ });
30
30
  /*!
31
- * surveyjs - Survey JavaScript library v2.0.0-rc.3
31
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
32
32
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
33
33
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
34
34
  */
@@ -610,7 +610,7 @@ __webpack_require__.r(__webpack_exports__);
610
610
  /* harmony export */ icons: () => (/* binding */ __webpack_exports__icons)
611
611
  /* harmony export */ });
612
612
  /*!
613
- * surveyjs - Survey JavaScript library v2.0.0-rc.3
613
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
614
614
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
615
615
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
616
616
  */
@@ -5688,7 +5688,10 @@ var SurveyElementHeader = /** @class */ (function (_super) {
5688
5688
  enumerable: false,
5689
5689
  configurable: true
5690
5690
  });
5691
- SurveyElementHeader.prototype.render = function () {
5691
+ SurveyElementHeader.prototype.getRenderedElements = function () {
5692
+ return [this.element];
5693
+ };
5694
+ SurveyElementHeader.prototype.renderElement = function () {
5692
5695
  var element = this.element;
5693
5696
  var title = element.hasTitle ? (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_components_title_title_element__WEBPACK_IMPORTED_MODULE_3__.TitleElement, { element: element })) : null;
5694
5697
  var description = element.hasDescriptionUnderTitle
@@ -5705,7 +5708,7 @@ var SurveyElementHeader = /** @class */ (function (_super) {
5705
5708
  additionalTitleToolbarElement));
5706
5709
  };
5707
5710
  return SurveyElementHeader;
5708
- }((react__WEBPACK_IMPORTED_MODULE_0___default().Component)));
5711
+ }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_4__.SurveyElementBase));
5709
5712
 
5710
5713
 
5711
5714
 
@@ -12563,7 +12566,7 @@ __webpack_require__.r(__webpack_exports__);
12563
12566
 
12564
12567
 
12565
12568
 
12566
- (0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.0.0-rc.3"), "survey-react-ui");
12569
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.0.0-rc.4"), "survey-react-ui");
12567
12570
 
12568
12571
  })();
12569
12572