survey-react-ui 3.0.0-beta.9 → 3.0.1
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/README.md +170 -43
- package/fesm/survey-react-ui.mjs +7 -7
- package/fesm/survey-react-ui.mjs.map +1 -1
- package/package.json +17 -8
- package/survey-react-ui.js +7 -7
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-react-ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "DevSoft Baltic OU <info@devsoftbaltic.com>",
|
|
6
6
|
"homepage": "https://surveyjs.io/",
|
|
7
|
-
"description": "
|
|
7
|
+
"description": "React form library for rendering dynamic, JSON-based forms and surveys. Collect user responses and store them in your own database.",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"react",
|
|
10
10
|
"survey",
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"dynamic-form",
|
|
18
18
|
"interactive-form",
|
|
19
19
|
"form-library",
|
|
20
|
-
"form-management",
|
|
21
20
|
"questionnaire",
|
|
22
21
|
"data-collection",
|
|
23
22
|
"data-validation",
|
|
@@ -27,11 +26,21 @@
|
|
|
27
26
|
"json",
|
|
28
27
|
"json-schema",
|
|
29
28
|
"react-schema-form",
|
|
30
|
-
"survey-renderer",
|
|
31
|
-
"client-side",
|
|
32
|
-
"frontend",
|
|
33
29
|
"javascript",
|
|
34
|
-
"typescript"
|
|
30
|
+
"typescript",
|
|
31
|
+
"schema-form",
|
|
32
|
+
"conditional-logic",
|
|
33
|
+
"quiz",
|
|
34
|
+
"poll",
|
|
35
|
+
"localization",
|
|
36
|
+
"css",
|
|
37
|
+
"shadcn",
|
|
38
|
+
"mui",
|
|
39
|
+
"material-ui",
|
|
40
|
+
"bootstrap",
|
|
41
|
+
"bootswatch",
|
|
42
|
+
"ssr",
|
|
43
|
+
"nextjs"
|
|
35
44
|
],
|
|
36
45
|
"files": [
|
|
37
46
|
"**/*"
|
|
@@ -51,7 +60,7 @@
|
|
|
51
60
|
}
|
|
52
61
|
},
|
|
53
62
|
"peerDependencies": {
|
|
54
|
-
"survey-core": "3.0.
|
|
63
|
+
"survey-core": "3.0.1",
|
|
55
64
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
|
|
56
65
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0"
|
|
57
66
|
}
|
package/survey-react-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v3.0.
|
|
2
|
+
* surveyjs - Survey JavaScript library v3.0.1
|
|
3
3
|
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -898,10 +898,10 @@
|
|
|
898
898
|
return this.props.element;
|
|
899
899
|
}
|
|
900
900
|
renderTitleExpandableSvg() {
|
|
901
|
-
if (!this.element.
|
|
901
|
+
if (!this.element.showTitleExpandableSvg)
|
|
902
902
|
return null;
|
|
903
|
-
|
|
904
|
-
|
|
903
|
+
return React__namespace.createElement("span", { className: this.element.getCssTitleExpandableSvgContainer() },
|
|
904
|
+
React__namespace.createElement(SvgIcon, { className: this.element.getCssTitleExpandableSvg(), iconName: this.element.titleExpandableSvgIconName, size: "auto" }));
|
|
905
905
|
}
|
|
906
906
|
render() {
|
|
907
907
|
const element = this.element;
|
|
@@ -2334,7 +2334,7 @@
|
|
|
2334
2334
|
const singleInput = singleSummary || (question.singleInputQuestion ? this.renderSingleInputQuestion(question, cssClasses) : undefined);
|
|
2335
2335
|
const questionContent = singleInput || this.wrapQuestionContent(this.renderQuestionContent());
|
|
2336
2336
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
2337
|
-
React__namespace.createElement("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, "data-name": question.name, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-label": this.question.ariaLabel, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded },
|
|
2337
|
+
React__namespace.createElement("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, "data-name": question.name, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-label": this.question.ariaLabel, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded, onClick: (event) => question.clickRootFunction && question.clickRootFunction(event.nativeEvent) },
|
|
2338
2338
|
singleBreadcrumbs,
|
|
2339
2339
|
React__namespace.createElement("div", { className: question.getQuestionContainerCss() },
|
|
2340
2340
|
errorsAboveQuestion,
|
|
@@ -2626,7 +2626,7 @@
|
|
|
2626
2626
|
if (this.panelBase)
|
|
2627
2627
|
this.panelBase.focusIn();
|
|
2628
2628
|
};
|
|
2629
|
-
return (React__namespace.createElement("div", { ref: this.rootRef, className: this.panelBase.getContainerCss(), onFocus: focusIn, id: this.panelBase.id },
|
|
2629
|
+
return (React__namespace.createElement("div", { ref: this.rootRef, className: this.panelBase.getContainerCss(), onFocus: focusIn, id: this.panelBase.id, onClick: (e) => this.panelBase.clickRootFunction && this.panelBase.clickRootFunction(e.nativeEvent) },
|
|
2630
2630
|
this.panel.showErrorsAbovePanel ? errors : null,
|
|
2631
2631
|
header,
|
|
2632
2632
|
this.panel.showErrorsAbovePanel ? null : errors,
|
|
@@ -6157,7 +6157,7 @@
|
|
|
6157
6157
|
return React__namespace.createElement(SurveyLocStringEditor, props);
|
|
6158
6158
|
});
|
|
6159
6159
|
|
|
6160
|
-
surveyCore.checkLibraryVersion(`${"3.0.
|
|
6160
|
+
surveyCore.checkLibraryVersion(`${"3.0.1"}`, "survey-react-ui");
|
|
6161
6161
|
|
|
6162
6162
|
Object.defineProperty(exports, "Model", {
|
|
6163
6163
|
enumerable: true,
|