survey-creator-react 3.0.0-beta.7 → 3.0.0-beta.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": "3.0.0-beta.7",
3
+ "version": "3.0.0-beta.8",
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/",
@@ -60,9 +60,9 @@
60
60
  "ace-builds": "^1.4.12",
61
61
  "react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
62
62
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
63
- "survey-core": "3.0.0-beta.7",
64
- "survey-react-ui": "3.0.0-beta.7",
65
- "survey-creator-core": "3.0.0-beta.7"
63
+ "survey-core": "3.0.0-beta.8",
64
+ "survey-react-ui": "3.0.0-beta.8",
65
+ "survey-creator-core": "3.0.0-beta.8"
66
66
  },
67
67
  "peerDependenciesMeta": {
68
68
  "ace-builds": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v3.0.0-beta.7
2
+ * SurveyJS Creator v3.0.0-beta.8
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
@@ -3763,33 +3763,9 @@
3763
3763
  return React__namespace.createElement(SurveyQuestionFileEditorButton, props);
3764
3764
  });
3765
3765
 
3766
- var SurveyQuestionBooleanSwitch = /** @class */ (function (_super) {
3767
- __extends(SurveyQuestionBooleanSwitch, _super);
3768
- function SurveyQuestionBooleanSwitch() {
3769
- return _super !== null && _super.apply(this, arguments) || this;
3770
- }
3771
- SurveyQuestionBooleanSwitch.prototype.renderElement = function () {
3772
- var _this = this;
3773
- var button = surveyReactUi.attachKey2click(React__namespace.createElement("div", { className: "spg-boolean-switch__button" + (this.questionBase.booleanValue ? " spg-boolean-switch__button--checked" : ""), tabIndex: 0, role: "checkbox", "aria-checked": this.questionBase.booleanValue || false, "aria-required": this.questionBase.a11y_input_ariaRequired, "aria-label": this.questionBase.a11y_input_ariaLabel, "aria-labelledby": this.questionBase.a11y_input_ariaLabelledBy, "aria-invalid": this.questionBase.a11y_input_ariaInvalid, "aria-errormessage": this.questionBase.a11y_input_ariaErrormessage },
3774
- React__namespace.createElement("div", { className: "spg-boolean-switch__thumb" },
3775
- React__namespace.createElement("div", { className: "spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--left" })),
3776
- React__namespace.createElement("div", { className: "spg-boolean-switch__thumb" },
3777
- React__namespace.createElement("div", { className: "spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--right" }))), this.questionBase, { processEsc: false });
3778
- return (React__namespace.createElement("div", { className: "spg-boolean-switch", onClick: function () { return _this.questionBase.booleanValue = !_this.questionBase.booleanValue; } },
3779
- button,
3780
- React__namespace.createElement("div", { className: "spg-boolean-switch__caption" },
3781
- React__namespace.createElement("div", { className: "spg-boolean-switch__title", id: this.questionBase.labelRenderedAriaID }, surveyReactUi.SurveyElementBase.renderLocString(this.questionBase.locTitle)))));
3782
- };
3783
- return SurveyQuestionBooleanSwitch;
3784
- }(surveyReactUi.SurveyQuestionElementBase));
3785
- surveyReactUi.ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", function (props) {
3786
- return React__namespace.createElement(SurveyQuestionBooleanSwitch, props);
3787
- });
3788
- surveyCore.RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
3789
-
3790
3766
  exports.Version = void 0;
3791
- exports.Version = "".concat("3.0.0-beta.7");
3792
- surveyCore.checkLibraryVersion("".concat("3.0.0-beta.7"), "survey-creator-react");
3767
+ exports.Version = "".concat("3.0.0-beta.8");
3768
+ surveyCore.checkLibraryVersion("".concat("3.0.0-beta.8"), "survey-creator-react");
3793
3769
 
3794
3770
  Object.defineProperty(exports, "PropertyGridEditorCollection", {
3795
3771
  enumerable: true,
@@ -3869,7 +3845,6 @@
3869
3845
  exports.SurveyLocStringEditor = SurveyLocStringEditor;
3870
3846
  exports.SurveyLogicOpertor = SurveyLogicOpertor;
3871
3847
  exports.SurveyNavigation = SurveyNavigation;
3872
- exports.SurveyQuestionBooleanSwitch = SurveyQuestionBooleanSwitch;
3873
3848
  exports.SurveyQuestionColor = SurveyQuestionColor;
3874
3849
  exports.SurveyQuestionFileEditor = SurveyQuestionFileEditor;
3875
3850
  exports.SurveyQuestionFileEditorButton = SurveyQuestionFileEditorButton;