survey-react-ui 2.0.0 → 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-react-ui",
|
|
3
|
-
"version": "2.0.
|
|
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",
|
|
@@ -17,8 +17,15 @@
|
|
|
17
17
|
"main": "survey-react-ui.js",
|
|
18
18
|
"module": "fesm/survey-react-ui.js",
|
|
19
19
|
"typings": "./typings/entries/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./typings/entries/index.d.ts",
|
|
23
|
+
"import": "./fesm/survey-react-ui.js",
|
|
24
|
+
"require": "./survey-react-ui.js"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
20
27
|
"peerDependencies": {
|
|
21
|
-
"survey-core": "2.0.
|
|
28
|
+
"survey-core": "2.0.2",
|
|
22
29
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
23
30
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0"
|
|
24
31
|
}
|
package/survey-react-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.0.
|
|
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
|
*/
|
|
@@ -28,7 +28,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28
28
|
/* harmony export */ icons: () => (/* binding */ iconsV1)
|
|
29
29
|
/* harmony export */ });
|
|
30
30
|
/*!
|
|
31
|
-
* surveyjs - Survey JavaScript library v2.0.
|
|
31
|
+
* surveyjs - Survey JavaScript library v2.0.2
|
|
32
32
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
33
33
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
34
34
|
*/
|
|
@@ -112,7 +112,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
112
112
|
/* harmony export */ icons: () => (/* binding */ iconsV2)
|
|
113
113
|
/* harmony export */ });
|
|
114
114
|
/*!
|
|
115
|
-
* surveyjs - Survey JavaScript library v2.0.
|
|
115
|
+
* surveyjs - Survey JavaScript library v2.0.2
|
|
116
116
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
117
117
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
118
118
|
*/
|
|
@@ -3829,7 +3829,7 @@ var SvgIcon = /** @class */ (function (_super) {
|
|
|
3829
3829
|
className += " " + this.props.className;
|
|
3830
3830
|
}
|
|
3831
3831
|
return (this.props.iconName ?
|
|
3832
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", { className: className, style: this.props.style, onClick: this.props.onClick, ref: this.svgIconRef, role: "
|
|
3832
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", { className: className, style: this.props.style, onClick: this.props.onClick, ref: this.svgIconRef, role: "presentation" },
|
|
3833
3833
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("use", null))
|
|
3834
3834
|
: null);
|
|
3835
3835
|
};
|
|
@@ -7119,7 +7119,7 @@ var SurveyButtonGroupItem = /** @class */ (function (_super) {
|
|
|
7119
7119
|
var icon = this.renderIcon();
|
|
7120
7120
|
var input = this.renderInput();
|
|
7121
7121
|
var caption = this.renderCaption();
|
|
7122
|
-
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("label", {
|
|
7122
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("label", { className: this.model.css.label, title: this.model.caption.renderedHtml },
|
|
7123
7123
|
input,
|
|
7124
7124
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: this.model.css.decorator },
|
|
7125
7125
|
icon,
|
|
@@ -7135,7 +7135,7 @@ var SurveyButtonGroupItem = /** @class */ (function (_super) {
|
|
|
7135
7135
|
var _this = this;
|
|
7136
7136
|
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 () {
|
|
7137
7137
|
_this.model.onChange();
|
|
7138
|
-
}, "aria-required": this.model.isRequired, "aria-label": this.model.caption.renderedHtml, "aria-invalid": this.model.hasErrors, "aria-errormessage": this.model.describedBy
|
|
7138
|
+
}, "aria-required": this.model.isRequired, "aria-label": this.model.caption.renderedHtml, "aria-invalid": this.model.hasErrors, "aria-errormessage": this.model.describedBy }));
|
|
7139
7139
|
};
|
|
7140
7140
|
SurveyButtonGroupItem.prototype.renderCaption = function () {
|
|
7141
7141
|
if (!this.model.showCaption)
|
|
@@ -11572,7 +11572,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11572
11572
|
|
|
11573
11573
|
|
|
11574
11574
|
|
|
11575
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.0.
|
|
11575
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.0.2"), "survey-react-ui");
|
|
11576
11576
|
|
|
11577
11577
|
})();
|
|
11578
11578
|
|