survey-creator-react 2.5.44 → 2.5.45

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 Creator v2.5.44
2
+ * SurveyJS Creator v2.5.45
3
3
  * (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -11,7 +11,7 @@ import { ReactElementFactory, SurveyElementBase, attachKey2click, SvgIcon, Surve
11
11
  import { SurveyCreatorModel, assign, RowViewModel, QuestionAdornerViewModel, QuestionDropdownAdornerViewModel, QuestionImageAdornerViewModel, QuestionRatingAdornerViewModel, PageAdorner, LogoImageViewModel, editorLocalization, ItemValueWrapperViewModel, ImageItemValueWrapperViewModel, MatrixCellWrapperViewModel, SurveyResultsModel, ToolboxToolViewModel, editableStringRendererName, StringEditorViewModelBase, initLogicOperator, PageNavigatorViewModel } from 'survey-creator-core';
12
12
  export { PropertyGridEditorCollection, SurveyLogic, SurveyLogicUI, SurveyQuestionEditorDefinition, ToolboxToolViewModel, editorLocalization, localization, settings, svgBundle } from 'survey-creator-core';
13
13
  import * as ReactDOM from 'react-dom';
14
- import { CssClassBuilder, settings, RendererFactory, unwrap, checkLibraryVersion } from 'survey-core';
14
+ import { toCssClasses, settings, RendererFactory, unwrap, checkLibraryVersion } from 'survey-core';
15
15
 
16
16
  class TabbedMenuComponent extends SurveyElementBase {
17
17
  get model() {
@@ -516,12 +516,7 @@ ReactElementFactory.Instance.registerElement("svc-question-footer", (props) => {
516
516
 
517
517
  class ActionButton extends SurveyElementBase {
518
518
  renderElement() {
519
- const classes = new CssClassBuilder()
520
- .append(this.props.classes)
521
- .append("svc-action-button")
522
- .append("svc-action-button--selected", !!this.props.selected)
523
- .append("svc-action-button--disabled", !!this.props.disabled)
524
- .toString();
519
+ const classes = toCssClasses(this.props.classes, "svc-action-button", !!this.props.selected && "svc-action-button--selected", !!this.props.disabled && "svc-action-button--disabled");
525
520
  if (this.props.iconName) {
526
521
  return this.renderIcon(classes);
527
522
  }
@@ -2976,8 +2971,8 @@ ReactQuestionFactory.Instance.registerQuestion("sv-boolean-switch", (props) => {
2976
2971
  RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
2977
2972
 
2978
2973
  let Version;
2979
- Version = `${"2.5.44"}`;
2980
- checkLibraryVersion(`${"2.5.44"}`, "survey-creator-react");
2974
+ Version = `${"2.5.45"}`;
2975
+ checkLibraryVersion(`${"2.5.45"}`, "survey-creator-react");
2981
2976
 
2982
2977
  export { ActionButton, AdaptiveToolbox, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, ComponentContainer, CreatorSurveyPageComponent, ImageItemValueAdornerComponent, ItemValueAdornerComponent, LogoImageComponent, MatrixCellAdornerComponent, PanelAdornerComponent, PropertyGridComponent, PropertyGridPlaceholderComponent, QuestionAdornerComponent, QuestionBanner, QuestionDropdownAdornerComponent, QuestionEditorContentComponent, QuestionErrorComponent, QuestionImageAdornerComponent, QuestionRatingAdornerComponent, QuestionWidgetAdornerComponent, QuestionWrapperFooter, QuestionWrapperHeader, ReactDragEvent, ReactMouseEvent, RowWrapper, SearchComponent, SideBarDefaultHeader, SidebarComponent, SurveyCreator, SurveyCreatorComponent, SurveyCreatorToolboxCategory, SurveyCreatorToolboxItem, SurveyCreatorToolboxItemGroup, SurveyCreatorToolboxTool, SurveyElementEmbeddedSurvey, SurveyLocStringEditor, SurveyLogicOpertor, SurveyNavigation, SurveyQuestionBooleanSwitch, SurveyQuestionColor, SurveyQuestionFileEditor, SurveyQuestionLinkValue, SurveyQuestionSpinEditor, SurveyQuestionTextWithReset, SurveyResults, SurveyResultsByRow, SurveySimulator, SwitcherComponent, TabButtonComponent, TabDesignerComponent, TabJsonEditorAceComponent, TabJsonEditorErrorsComponent, TabJsonEditorTextareaComponent, TabLogicAddButtonComponent, TabLogicComponent, TabPreviewSurveyComponent, TabPreviewTestSurveyAgainComponent, TabThemeSurveyComponent, TabTranslationComponent, TabbedMenuComponent, TabbedMenuItemComponent, ToolboxList, TranslateFromAction, TranslationLineSkeleton, Version };
2983
2978
  //# sourceMappingURL=survey-creator-react.mjs.map