survey-creator-react 2.5.44 → 2.5.45

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": "2.5.44",
3
+ "version": "2.5.45",
4
4
  "description": "A white-label drag-and-drop form builder for React that lets you design complex, interactive forms and surveys without writing code. It generates JSON schemas used by the SurveyJS Form Library to render dynamic forms in your React app.",
5
5
  "author": "DevSoft Baltic OU <info@devsoftbaltic.com>",
6
6
  "homepage": "https://surveyjs.io/",
@@ -55,9 +55,9 @@
55
55
  "ace-builds": "^1.4.12",
56
56
  "react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
57
57
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
58
- "survey-core": "2.5.44",
59
- "survey-react-ui": "2.5.44",
60
- "survey-creator-core": "2.5.44"
58
+ "survey-core": "2.5.45",
59
+ "survey-react-ui": "2.5.45",
60
+ "survey-creator-core": "2.5.45"
61
61
  },
62
62
  "peerDependenciesMeta": {
63
63
  "ace-builds": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.5.44
2
+ * SurveyJS Creator v2.5.45
3
3
  * (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -694,12 +694,7 @@
694
694
  return _super !== null && _super.apply(this, arguments) || this;
695
695
  }
696
696
  ActionButton.prototype.renderElement = function () {
697
- var classes = new surveyCore.CssClassBuilder()
698
- .append(this.props.classes)
699
- .append("svc-action-button")
700
- .append("svc-action-button--selected", !!this.props.selected)
701
- .append("svc-action-button--disabled", !!this.props.disabled)
702
- .toString();
697
+ var classes = surveyCore.toCssClasses(this.props.classes, "svc-action-button", !!this.props.selected && "svc-action-button--selected", !!this.props.disabled && "svc-action-button--disabled");
703
698
  if (this.props.iconName) {
704
699
  return this.renderIcon(classes);
705
700
  }
@@ -3750,8 +3745,8 @@
3750
3745
  surveyCore.RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
3751
3746
 
3752
3747
  exports.Version = void 0;
3753
- exports.Version = "".concat("2.5.44");
3754
- surveyCore.checkLibraryVersion("".concat("2.5.44"), "survey-creator-react");
3748
+ exports.Version = "".concat("2.5.45");
3749
+ surveyCore.checkLibraryVersion("".concat("2.5.45"), "survey-creator-react");
3755
3750
 
3756
3751
  Object.defineProperty(exports, "PropertyGridEditorCollection", {
3757
3752
  enumerable: true,