survey-js-ui 3.0.0-beta.9 → 3.0.0
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/fesm/survey-js-ui.mjs +7 -7
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +7 -7
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-js-ui",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A free MIT-licensed UI component that renders dynamic, interactive JSON-based forms and surveys in apps built with HTML, CSS, and JavaScript. You can use it to collect responses from users and send them to your own database.",
|
|
6
6
|
"homepage": "https://surveyjs.io/",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"survey-core": "3.0.0
|
|
56
|
+
"survey-core": "3.0.0",
|
|
57
57
|
"@types/react-dom": "*",
|
|
58
58
|
"@types/react": "*"
|
|
59
59
|
}
|
package/survey-js-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v3.0.0
|
|
2
|
+
* surveyjs - Survey JavaScript library v3.0.0
|
|
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
|
*/
|
|
@@ -934,10 +934,10 @@
|
|
|
934
934
|
return this.props.element;
|
|
935
935
|
}
|
|
936
936
|
renderTitleExpandableSvg() {
|
|
937
|
-
if (!this.element.
|
|
937
|
+
if (!this.element.showTitleExpandableSvg)
|
|
938
938
|
return null;
|
|
939
|
-
|
|
940
|
-
|
|
939
|
+
return _$1("span", { className: this.element.getCssTitleExpandableSvgContainer() },
|
|
940
|
+
_$1(SvgIcon, { className: this.element.getCssTitleExpandableSvg(), iconName: this.element.titleExpandableSvgIconName, size: "auto" }));
|
|
941
941
|
}
|
|
942
942
|
render() {
|
|
943
943
|
const element = this.element;
|
|
@@ -2392,7 +2392,7 @@
|
|
|
2392
2392
|
const singleInput = singleSummary || (question.singleInputQuestion ? this.renderSingleInputQuestion(question, cssClasses) : undefined);
|
|
2393
2393
|
const questionContent = singleInput || this.wrapQuestionContent(this.renderQuestionContent());
|
|
2394
2394
|
return (_$1(k$2, null,
|
|
2395
|
-
_$1("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 },
|
|
2395
|
+
_$1("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) },
|
|
2396
2396
|
singleBreadcrumbs,
|
|
2397
2397
|
_$1("div", { className: question.getQuestionContainerCss() },
|
|
2398
2398
|
errorsAboveQuestion,
|
|
@@ -2684,7 +2684,7 @@
|
|
|
2684
2684
|
if (this.panelBase)
|
|
2685
2685
|
this.panelBase.focusIn();
|
|
2686
2686
|
};
|
|
2687
|
-
return (_$1("div", { ref: this.rootRef, className: this.panelBase.getContainerCss(), onFocus: focusIn, id: this.panelBase.id },
|
|
2687
|
+
return (_$1("div", { ref: this.rootRef, className: this.panelBase.getContainerCss(), onFocus: focusIn, id: this.panelBase.id, onClick: (e) => this.panelBase.clickRootFunction && this.panelBase.clickRootFunction(e.nativeEvent) },
|
|
2688
2688
|
this.panel.showErrorsAbovePanel ? errors : null,
|
|
2689
2689
|
header,
|
|
2690
2690
|
this.panel.showErrorsAbovePanel ? null : errors,
|
|
@@ -6264,7 +6264,7 @@
|
|
|
6264
6264
|
}
|
|
6265
6265
|
};
|
|
6266
6266
|
const preact = React;
|
|
6267
|
-
surveyCore.checkLibraryVersion(`${"3.0.0
|
|
6267
|
+
surveyCore.checkLibraryVersion(`${"3.0.0"}`, "survey-js-ui");
|
|
6268
6268
|
|
|
6269
6269
|
Object.defineProperty(exports, 'Model', {
|
|
6270
6270
|
enumerable: true,
|