survey-js-ui 2.0.1 → 2.0.2

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-js-ui",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
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",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {},
33
33
  "peerDependencies": {
34
- "survey-core": "2.0.1",
34
+ "survey-core": "2.0.2",
35
35
  "@types/react-dom": "*",
36
36
  "@types/react": "*"
37
37
  }
package/survey-js-ui.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.1
2
+ * surveyjs - Survey JavaScript library v2.0.2
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
  */
@@ -23,7 +23,7 @@ return /******/ (() => { // webpackBootstrap
23
23
  /***/ (function(module) {
24
24
 
25
25
  /*!
26
- * surveyjs - Survey JavaScript library v2.0.1
26
+ * surveyjs - Survey JavaScript library v2.0.2
27
27
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
28
28
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
29
29
  */
@@ -808,7 +808,7 @@ path.keys().forEach(function (key) {
808
808
  /***/ (function(module) {
809
809
 
810
810
  /*!
811
- * surveyjs - Survey JavaScript library v2.0.1
811
+ * surveyjs - Survey JavaScript library v2.0.2
812
812
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
813
813
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
814
814
  */
@@ -5227,7 +5227,7 @@ var SvgIcon = /** @class */ (function (_super) {
5227
5227
  className += " " + this.props.className;
5228
5228
  }
5229
5229
  return (this.props.iconName ?
5230
- react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", { className: className, style: this.props.style, onClick: this.props.onClick, ref: this.svgIconRef, role: "img" },
5230
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", { className: className, style: this.props.style, onClick: this.props.onClick, ref: this.svgIconRef, role: "presentation" },
5231
5231
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("use", null))
5232
5232
  : null);
5233
5233
  };
@@ -8520,7 +8520,7 @@ var SurveyButtonGroupItem = /** @class */ (function (_super) {
8520
8520
  var icon = this.renderIcon();
8521
8521
  var input = this.renderInput();
8522
8522
  var caption = this.renderCaption();
8523
- return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("label", { role: "radio", className: this.model.css.label, title: this.model.caption.renderedHtml },
8523
+ return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("label", { className: this.model.css.label, title: this.model.caption.renderedHtml },
8524
8524
  input,
8525
8525
  react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: this.model.css.decorator },
8526
8526
  icon,
@@ -8536,7 +8536,7 @@ var SurveyButtonGroupItem = /** @class */ (function (_super) {
8536
8536
  var _this = this;
8537
8537
  return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("input", { className: this.model.css.control, id: this.model.id, type: "radio", name: this.model.name, checked: this.model.selected, value: this.model.value, disabled: this.model.readOnly, onChange: function () {
8538
8538
  _this.model.onChange();
8539
- }, "aria-required": this.model.isRequired, "aria-label": this.model.caption.renderedHtml, "aria-invalid": this.model.hasErrors, "aria-errormessage": this.model.describedBy, role: "radio" }));
8539
+ }, "aria-required": this.model.isRequired, "aria-label": this.model.caption.renderedHtml, "aria-invalid": this.model.hasErrors, "aria-errormessage": this.model.describedBy }));
8540
8540
  };
8541
8541
  SurveyButtonGroupItem.prototype.renderCaption = function () {
8542
8542
  if (!this.model.showCaption)
@@ -13206,7 +13206,7 @@ var preact = react__WEBPACK_IMPORTED_MODULE_0__;
13206
13206
 
13207
13207
 
13208
13208
 
13209
- (0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.0.1"), "survey-js-ui");
13209
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.0.2"), "survey-js-ui");
13210
13210
 
13211
13211
  })();
13212
13212