survey-js-ui 1.12.16-patch.1 → 1.12.17

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": "1.12.16-patch.1",
3
+ "version": "1.12.17",
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",
@@ -23,7 +23,7 @@
23
23
  "typings": "./typings/src/entries/js-ui.d.ts",
24
24
  "dependencies": {},
25
25
  "peerDependencies": {
26
- "survey-core": "1.12.16-patch.1",
26
+ "survey-core": "1.12.17",
27
27
  "@types/react-dom": "*",
28
28
  "@types/react": "*"
29
29
  }
package/survey-js-ui.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.16-patch.1
2
+ * surveyjs - Survey JavaScript library v1.12.17
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -110,7 +110,7 @@ return /******/ (function(modules) { // webpackBootstrap
110
110
  /***/ (function(module, exports, __webpack_require__) {
111
111
 
112
112
  /*!
113
- * surveyjs - Survey JavaScript library v1.12.16-patch.1
113
+ * surveyjs - Survey JavaScript library v1.12.17
114
114
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
115
115
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
116
116
  */
@@ -1043,7 +1043,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
1043
1043
  /***/ (function(module, exports, __webpack_require__) {
1044
1044
 
1045
1045
  /*!
1046
- * surveyjs - Survey JavaScript library v1.12.16-patch.1
1046
+ * surveyjs - Survey JavaScript library v1.12.17
1047
1047
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
1048
1048
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1049
1049
  */
@@ -10633,21 +10633,15 @@ var list_item_content_ListItemContent = /** @class */ (function (_super) {
10633
10633
  ListItemContent.prototype.render = function () {
10634
10634
  if (!this.item)
10635
10635
  return null;
10636
- var content = [];
10637
10636
  var text = this.renderLocString(this.item.locTitle, undefined, "locString");
10638
- if (this.item.iconName) {
10639
- var icon = Rn.createElement(svg_icon_SvgIcon, { key: "icon", className: this.model.cssClasses.itemIcon, iconName: this.item.iconName, size: this.item.iconSize, "aria-label": this.item.title });
10640
- content.push(icon);
10641
- content.push(Rn.createElement("span", { key: "text" }, text));
10642
- }
10643
- else {
10644
- content.push(text);
10645
- }
10646
- if (this.item.markerIconName) {
10647
- var icon = Rn.createElement(svg_icon_SvgIcon, { key: "marker", className: this.item.cssClasses.itemMarkerIcon, iconName: this.item.markerIconName, size: "auto" });
10648
- content.push(icon);
10649
- }
10650
- return Rn.createElement(Rn.Fragment, null, content);
10637
+ var icon = (this.item.iconName) ?
10638
+ Rn.createElement(svg_icon_SvgIcon, { className: this.model.cssClasses.itemIcon, iconName: this.item.iconName, size: this.item.iconSize, "aria-label": this.item.title }) : null;
10639
+ var markerIcon = (this.item.markerIconName) ?
10640
+ Rn.createElement(svg_icon_SvgIcon, { className: this.item.cssClasses.itemMarkerIcon, iconName: this.item.markerIconName, size: "auto" }) : null;
10641
+ return Rn.createElement(Rn.Fragment, null,
10642
+ icon,
10643
+ text,
10644
+ markerIcon);
10651
10645
  };
10652
10646
  return ListItemContent;
10653
10647
  }(reactquestion_element_SurveyElementBase));
@@ -11490,7 +11484,7 @@ var preact = compat_module_namespaceObject;
11490
11484
 
11491
11485
 
11492
11486
 
11493
- Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.16-patch.1", "survey-js-ui");
11487
+ Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.17", "survey-js-ui");
11494
11488
 
11495
11489
 
11496
11490
  /***/ }),