survey-js-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
  */
@@ -717,7 +717,7 @@ class SvgIcon extends x$2 {
717
717
  className += " " + this.props.className;
718
718
  }
719
719
  return (this.props.iconName ?
720
- _$1("svg", { className: className, style: this.props.style, onClick: this.props.onClick, ref: this.svgIconRef, role: "img" },
720
+ _$1("svg", { className: className, style: this.props.style, onClick: this.props.onClick, ref: this.svgIconRef, role: "presentation" },
721
721
  _$1("use", null))
722
722
  : null);
723
723
  }
@@ -1895,7 +1895,7 @@ class PopupModal extends SurveyElementBase {
1895
1895
  PopupModal.modalDescriptors = [];
1896
1896
 
1897
1897
  /*!
1898
- * surveyjs - Survey JavaScript library v2.0.1
1898
+ * surveyjs - Survey JavaScript library v2.0.2
1899
1899
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
1900
1900
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1901
1901
  */
@@ -1963,7 +1963,7 @@ var iconsV1 = {
1963
1963
  };
1964
1964
 
1965
1965
  /*!
1966
- * surveyjs - Survey JavaScript library v2.0.1
1966
+ * surveyjs - Survey JavaScript library v2.0.2
1967
1967
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
1968
1968
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1969
1969
  */
@@ -5596,7 +5596,7 @@ class SurveyButtonGroupItem extends SurveyElementBase {
5596
5596
  const icon = this.renderIcon();
5597
5597
  const input = this.renderInput();
5598
5598
  const caption = this.renderCaption();
5599
- return (_$1("label", { role: "radio", className: this.model.css.label, title: this.model.caption.renderedHtml },
5599
+ return (_$1("label", { className: this.model.css.label, title: this.model.caption.renderedHtml },
5600
5600
  input,
5601
5601
  _$1("div", { className: this.model.css.decorator },
5602
5602
  icon,
@@ -5611,7 +5611,7 @@ class SurveyButtonGroupItem extends SurveyElementBase {
5611
5611
  renderInput() {
5612
5612
  return (_$1("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: () => {
5613
5613
  this.model.onChange();
5614
- }, "aria-required": this.model.isRequired, "aria-label": this.model.caption.renderedHtml, "aria-invalid": this.model.hasErrors, "aria-errormessage": this.model.describedBy, role: "radio" }));
5614
+ }, "aria-required": this.model.isRequired, "aria-label": this.model.caption.renderedHtml, "aria-invalid": this.model.hasErrors, "aria-errormessage": this.model.describedBy }));
5615
5615
  }
5616
5616
  renderCaption() {
5617
5617
  if (!this.model.showCaption)
@@ -6068,7 +6068,7 @@ SurveyModel.prototype["render"] = function (element = null) {
6068
6068
  }
6069
6069
  };
6070
6070
  const preact = React;
6071
- checkLibraryVersion(`${"2.0.1"}`, "survey-js-ui");
6071
+ checkLibraryVersion(`${"2.0.2"}`, "survey-js-ui");
6072
6072
 
6073
6073
  export { CharacterCounterComponent, O as Children, x$2 as Component, ComponentsContainer, k$2 as Fragment, Header, HeaderCell, HeaderMobile, List, ListItemContent, ListItemGroup, LoadingIndicatorComponent, LogoImage, MatrixRow, NotifierComponent, Popup, PopupModal, PopupSurvey, N as PureComponent, QuestionErrorComponent, RatingDropdownItem, RatingItem, RatingItemSmiley, RatingItemStar, ReactElementFactory, ReactQuestionFactory, ReactSurveyElement, ReactSurveyElementsWrapper, Skeleton, Cn as StrictMode, 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, P as Suspense, B as SuspenseList, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click, _n as cloneElement, K$1 as createContext, _$1 as createElement, dn as createFactory, $ as createPortal, b$1 as createRef, Sn as findDOMNode, En as flushSync, D as forwardRef, tn as hydrate, mn as isFragment, yn as isMemo, pn as isValidElement, z as lazy, M as memo, preact, nn as render, renderPopupSurvey, renderSurvey, R as startTransition, bn as unmountComponentAtNode, gn as unstable_batchedUpdates, q$1 as useCallback, x$1 as useContext, P$1 as useDebugValue, w as useDeferredValue, y as useEffect, g$1 as useId, F$1 as useImperativeHandle, I as useInsertionEffect, _ as useLayoutEffect, T$1 as useMemo, h as useReducer, A$1 as useRef, d as useState, C as useSyncExternalStore, k as useTransition, vn as version };
6074
6074
  //# sourceMappingURL=survey-js-ui.js.map