survey-creator-react 1.12.7 → 1.12.8

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-creator-react",
3
- "version": "1.12.7",
3
+ "version": "1.12.8",
4
4
  "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -29,9 +29,9 @@
29
29
  "ace-builds": "^1.4.12",
30
30
  "react": "^16.5.0 || ^17.0.1 || ^18.1.0",
31
31
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0",
32
- "survey-core": "1.12.7",
33
- "survey-react-ui": "1.12.7",
34
- "survey-creator-core": "1.12.7"
32
+ "survey-core": "1.12.8",
33
+ "survey-react-ui": "1.12.8",
34
+ "survey-creator-core": "1.12.8"
35
35
  },
36
36
  "peerDependenciesMeta": {
37
37
  "ace-builds": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator React v1.12.7
2
+ * SurveyJS Creator React v1.12.8
3
3
  * (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -118,7 +118,7 @@ var AddQuestionButtonComponent = /** @class */ (function (_super) {
118
118
  _this.model.addNewQuestion(_this.model, new _events__WEBPACK_IMPORTED_MODULE_3__.ReactMouseEvent(e));
119
119
  }, onMouseOver: function (e) { return _this.model.hoverStopper && _this.model.hoverStopper(e.nativeEvent, e.currentTarget); } },
120
120
  react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-panel__add-new-question-icon", iconName: "icon-add_24x24", size: 24 }),
121
- react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-text svc-text--normal svc-text--bold" }, this.model.addNewQuestionText),
121
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-add-new-item-button__text" }, this.model.addNewQuestionText),
122
122
  this.props.renderPopup !== false ? this.renderTypeSelector() : null)),
123
123
  this.props.renderPopup === false ? this.renderTypeSelector() : null);
124
124
  };
@@ -783,7 +783,7 @@ var SurveyPageNavigatorItem = /** @class */ (function (_super) {
783
783
  } },
784
784
  react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { className: "svc-page-navigator-item__dot", title: item.title }),
785
785
  react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { className: "svc-page-navigator-item__banner" },
786
- react__WEBPACK_IMPORTED_MODULE_4__.createElement("span", { className: "svc-text svc-text--small svc-text--bold" }, item.title),
786
+ react__WEBPACK_IMPORTED_MODULE_4__.createElement("span", { className: "svc-page-navigator-item__text" }, item.title),
787
787
  react__WEBPACK_IMPORTED_MODULE_4__.createElement("span", { className: "svc-page-navigator-item__dot" }))))));
788
788
  };
789
789
  return SurveyPageNavigatorItem;
@@ -1425,6 +1425,7 @@ var SurveyCreatorComponent = /** @class */ (function (_super) {
1425
1425
  //AM: width unrecognized by react
1426
1426
  return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: this.creator.getRootCss(), ref: this.rootNode, style: creatorStyles },
1427
1427
  react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgBundleComponent, null),
1428
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.PopupModal, null),
1428
1429
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: areaClassName },
1429
1430
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: fullContainerClassName },
1430
1431
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-flex-column svc-flex-row__element svc-flex-row__element--growing" },
@@ -1967,7 +1968,7 @@ var PanelAdornerComponent = /** @class */ (function (_super) {
1967
1968
  _this.model.addNewQuestion();
1968
1969
  } },
1969
1970
  react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-panel__add-new-question-icon", iconName: "icon-add_24x24", size: 24 }),
1970
- react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-text svc-text--normal svc-text--bold" }, this.model.addNewQuestionText))) : null)));
1971
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-add-new-item-button__text" }, this.model.addNewQuestionText))) : null)));
1971
1972
  };
1972
1973
  PanelAdornerComponent.prototype.disableTabStop = function () {
1973
1974
  return true;
@@ -4130,7 +4131,7 @@ var TabLogicAddButtonComponent = /** @class */ (function (_super) {
4130
4131
  e.stopPropagation();
4131
4132
  _this.model.action();
4132
4133
  }, className: buttonClassName, title: this.model.title },
4133
- react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-text svc-text--normal svc-text--bold" }, this.model.title)));
4134
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-add-new-item-button__text" }, this.model.title)));
4134
4135
  };
4135
4136
  return TabLogicAddButtonComponent;
4136
4137
  }(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
@@ -4226,7 +4227,7 @@ var TabPreviewTestSurveyAgainComponent = /** @class */ (function (_super) {
4226
4227
  e.stopPropagation();
4227
4228
  _this.model.action();
4228
4229
  }, className: buttonClassName, title: this.model.title },
4229
- react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-text svc-text--normal svc-text--bold" }, this.model.title)));
4230
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-preview-test-again__text" }, this.model.title)));
4230
4231
  };
4231
4232
  return TabPreviewTestSurveyAgainComponent;
4232
4233
  }(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
@@ -4675,12 +4676,12 @@ var AdaptiveToolbox = /** @class */ (function (_super) {
4675
4676
  AdaptiveToolbox.prototype.renderSearch = function () {
4676
4677
  var searchButton = this.toolbox.isCompactRendered ?
4677
4678
  react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null,
4678
- react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ToolboxItem__WEBPACK_IMPORTED_MODULE_5__.SurveyCreatorToolboxTool, { item: this.toolbox.searchItem, creator: this.creator, parentModel: this.toolbox, isCompact: this.toolbox.isCompactRendered, key: "searchitem" }),
4679
- react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-toolbox__category-separator svc-toolbox__category-separator--search" })) :
4679
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ToolboxItem__WEBPACK_IMPORTED_MODULE_5__.SurveyCreatorToolboxTool, { item: this.toolbox.searchItem, creator: this.creator, parentModel: this.toolbox, isCompact: this.toolbox.isCompactRendered, key: "searchitem" })) :
4680
4680
  null;
4681
4681
  return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-toolbox__search-container" },
4682
4682
  searchButton,
4683
- react__WEBPACK_IMPORTED_MODULE_1__.createElement(_side_bar_Search__WEBPACK_IMPORTED_MODULE_6__.SearchComponent, { model: this.toolbox.searchManager })));
4683
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement(_side_bar_Search__WEBPACK_IMPORTED_MODULE_6__.SearchComponent, { model: this.toolbox.searchManager }),
4684
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-toolbox__category-separator svc-toolbox__category-separator--search" })));
4684
4685
  };
4685
4686
  AdaptiveToolbox.prototype.render = function () {
4686
4687
  var _this = this;
@@ -4960,10 +4961,6 @@ var SurveyCreatorToolboxTool = /** @class */ (function (_super) {
4960
4961
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-toolbox__tool-content sv-action__content", onPointerDown: function (event) {
4961
4962
  event.persist();
4962
4963
  _this.model.onPointerDown(event);
4963
- }, onMouseOver: function (event) {
4964
- _this.model.onMouseOverTool(item, event);
4965
- }, onMouseLeave: function (event) {
4966
- _this.model.onMouseLeave(item, event);
4967
4964
  } }, itemComponent)));
4968
4965
  };
4969
4966
  return SurveyCreatorToolboxTool;
@@ -5108,8 +5105,8 @@ var SurveyCreatorToolboxItemGroup = /** @class */ (function (_super) {
5108
5105
  return react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null,
5109
5106
  react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ToolboxItem__WEBPACK_IMPORTED_MODULE_4__.SurveyCreatorToolboxItem, { item: this.item, creator: this.creator, model: this.model, parentModel: this.parentModel, isCompact: this.isCompact }),
5110
5107
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-toolbox__item-submenu-button", onMouseOver: function (event) { return _this.model.onMouseOver(_this.item, event); }, onMouseLeave: function (event) { return _this.model.onMouseLeave(_this.item, event); } },
5111
- react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { size: 24, iconName: this.item.subitemsButtonIcon })),
5112
- react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: this.item.popupModel, getArea: this.item.getArea }));
5108
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { size: 24, iconName: this.item.subitemsButtonIcon }),
5109
+ react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: this.item.popupModel, getArea: this.item.getArea })));
5113
5110
  };
5114
5111
  return SurveyCreatorToolboxItemGroup;
5115
5112
  }(_ModelElement__WEBPACK_IMPORTED_MODULE_3__.CreatorModelElement));
@@ -5457,7 +5454,7 @@ __webpack_require__.r(__webpack_exports__);
5457
5454
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! survey-core */ "survey-core");
5458
5455
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_64___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_64__);
5459
5456
  var Version;
5460
- Version = "".concat("1.12.7");
5457
+ Version = "".concat("1.12.8");
5461
5458
  // import "@survey/creator/survey-creator-core.css";
5462
5459
 
5463
5460
 
@@ -5531,7 +5528,7 @@ Version = "".concat("1.12.7");
5531
5528
 
5532
5529
 
5533
5530
 
5534
- (0,survey_core__WEBPACK_IMPORTED_MODULE_64__.checkLibraryVersion)("".concat("1.12.7"), "survey-creator-react");
5531
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_64__.checkLibraryVersion)("".concat("1.12.8"), "survey-creator-react");
5535
5532
 
5536
5533
  })();
5537
5534