survey-creator-js 2.2.4 → 2.2.6

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 Creator UI v2.2.4
2
+ * SurveyJS Creator UI v2.2.6
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1608,7 +1608,11 @@ class AdaptiveToolbox extends SurveyElementBase {
1608
1608
  }
1609
1609
  renderCategories() {
1610
1610
  return this.toolbox.categories.map((category, index) => {
1611
- return React.createElement(SurveyCreatorToolboxCategory, { category: category, toolbox: this.toolbox, key: "category" + index });
1611
+ return ReactElementFactory.Instance.createElement("svc-toolbox-category", {
1612
+ category,
1613
+ toolbox: this.toolbox,
1614
+ key: "category" + index
1615
+ });
1612
1616
  });
1613
1617
  }
1614
1618
  renderSearch() {
@@ -2845,8 +2849,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
2845
2849
  RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
2846
2850
 
2847
2851
  let Version;
2848
- Version = `${"2.2.4"}`;
2849
- checkLibraryVersion(`${"2.2.4"}`, "survey-creator-react");
2852
+ Version = `${"2.2.6"}`;
2853
+ checkLibraryVersion(`${"2.2.6"}`, "survey-creator-react");
2850
2854
 
2851
2855
  function renderSurveyCreator(creator, element, props = {}) {
2852
2856
  let node = element;