survey-react-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.
@@ -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
  */
@@ -664,7 +664,7 @@ class SvgIcon extends React.Component {
664
664
  className += " " + this.props.className;
665
665
  }
666
666
  return (this.props.iconName ?
667
- React.createElement("svg", { className: className, style: this.props.style, onClick: this.props.onClick, ref: this.svgIconRef, role: "img" },
667
+ React.createElement("svg", { className: className, style: this.props.style, onClick: this.props.onClick, ref: this.svgIconRef, role: "presentation" },
668
668
  React.createElement("use", null))
669
669
  : null);
670
670
  }
@@ -1842,7 +1842,7 @@ class PopupModal extends SurveyElementBase {
1842
1842
  PopupModal.modalDescriptors = [];
1843
1843
 
1844
1844
  /*!
1845
- * surveyjs - Survey JavaScript library v2.0.1
1845
+ * surveyjs - Survey JavaScript library v2.0.2
1846
1846
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
1847
1847
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1848
1848
  */
@@ -1910,7 +1910,7 @@ var iconsV1 = {
1910
1910
  };
1911
1911
 
1912
1912
  /*!
1913
- * surveyjs - Survey JavaScript library v2.0.1
1913
+ * surveyjs - Survey JavaScript library v2.0.2
1914
1914
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
1915
1915
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1916
1916
  */
@@ -5543,7 +5543,7 @@ class SurveyButtonGroupItem extends SurveyElementBase {
5543
5543
  const icon = this.renderIcon();
5544
5544
  const input = this.renderInput();
5545
5545
  const caption = this.renderCaption();
5546
- return (React.createElement("label", { role: "radio", className: this.model.css.label, title: this.model.caption.renderedHtml },
5546
+ return (React.createElement("label", { className: this.model.css.label, title: this.model.caption.renderedHtml },
5547
5547
  input,
5548
5548
  React.createElement("div", { className: this.model.css.decorator },
5549
5549
  icon,
@@ -5558,7 +5558,7 @@ class SurveyButtonGroupItem extends SurveyElementBase {
5558
5558
  renderInput() {
5559
5559
  return (React.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: () => {
5560
5560
  this.model.onChange();
5561
- }, "aria-required": this.model.isRequired, "aria-label": this.model.caption.renderedHtml, "aria-invalid": this.model.hasErrors, "aria-errormessage": this.model.describedBy, role: "radio" }));
5561
+ }, "aria-required": this.model.isRequired, "aria-label": this.model.caption.renderedHtml, "aria-invalid": this.model.hasErrors, "aria-errormessage": this.model.describedBy }));
5562
5562
  }
5563
5563
  renderCaption() {
5564
5564
  if (!this.model.showCaption)
@@ -5966,7 +5966,7 @@ ReactElementFactory.Instance.registerElement(LocalizableString.editableRenderer,
5966
5966
  return React.createElement(SurveyLocStringEditor, props);
5967
5967
  });
5968
5968
 
5969
- checkLibraryVersion(`${"2.0.1"}`, "survey-react-ui");
5969
+ checkLibraryVersion(`${"2.0.2"}`, "survey-react-ui");
5970
5970
 
5971
5971
  export { CharacterCounterComponent, ComponentsContainer, Header, HeaderCell, HeaderMobile, List, ListItemContent, ListItemGroup, LoadingIndicatorComponent, LogoImage, MatrixRow, NotifierComponent, Popup, PopupModal, PopupSurvey, QuestionErrorComponent, RatingDropdownItem, RatingItem, RatingItemSmiley, RatingItemStar, ReactElementFactory, ReactQuestionFactory, ReactSurveyElement, ReactSurveyElementsWrapper, Skeleton, Survey, SurveyActionBar, SurveyElementBase, SurveyElementErrors, SurveyFileChooseButton, SurveyFilePreview, SurveyFlowPanel, SurveyHeader, SurveyLocStringEditor, SurveyLocStringViewer, SurveyNavigationBase, SurveyNavigationButton, SurveyPage, SurveyPanel, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestion, SurveyQuestionAndErrorsCell, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionButtonGroup, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionComment, SurveyQuestionCommentItem, SurveyQuestionComposite, SurveyQuestionCustom, SurveyQuestionDropdown, SurveyQuestionDropdownBase, SurveyQuestionDropdownSelect, SurveyQuestionElementBase, SurveyQuestionEmpty, SurveyQuestionExpression, SurveyQuestionFile, SurveyQuestionHtml, SurveyQuestionImage, SurveyQuestionImagePicker, SurveyQuestionMatrix, SurveyQuestionMatrixCell, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixRow, SurveyQuestionMultipleText, SurveyQuestionOptionItem, SurveyQuestionPanelDynamic, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicProgressText, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionRadioItem, SurveyQuestionRadiogroup, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionSignaturePad, SurveyQuestionTagbox, SurveyQuestionTagboxItem, SurveyQuestionText, SurveyRow, SurveyTimerPanel, SurveyWindow, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click };
5972
5972
  //# sourceMappingURL=survey-react-ui.js.map