survey-js-ui 2.1.0 → 2.2.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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.1.0
2
+ * surveyjs - Survey JavaScript library v2.2.0
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
  */
@@ -75,6 +75,7 @@ export { SurveyQuestionPanelDynamicNextButton } from "../src/components/paneldyn
75
75
  export { SurveyQuestionPanelDynamicProgressText } from "../src/components/paneldynamic-actions/paneldynamic-progress-text";
76
76
  export { SurveyNavigationButton } from "../src/components/survey-actions/survey-nav-button";
77
77
  export { QuestionErrorComponent } from "../src/components/question-error";
78
+ export { SliderLabelItem } from "../src/components/slider/slider-label-item";
78
79
  export { MatrixRow } from "../src/components/matrix/row";
79
80
  export { Skeleton } from "../src/components/skeleton";
80
81
  export { Scroll } from "../src/components/scroll";
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ import { Base, ItemValue, QuestionSliderModel } from "survey-core";
3
+ import { SurveyElementBase } from "../../reactquestion_element";
4
+ export declare class SliderLabelItem extends SurveyElementBase<any, any> {
5
+ protected getStateElement(): Base;
6
+ protected get item(): ItemValue;
7
+ protected get question(): QuestionSliderModel;
8
+ componentDidUpdate(prevProps: any, prevState: any): void;
9
+ protected renderElement(): React.JSX.Element;
10
+ }
@@ -9,16 +9,16 @@ export declare class SurveyQuestionDropdownBase<T extends Question> extends Surv
9
9
  keyhandler: (event: any) => void;
10
10
  blur: (event: any) => void;
11
11
  focus: (event: any) => void;
12
+ protected get dropdownListModel(): DropdownListModel;
12
13
  protected getStateElement(): any;
13
14
  protected setValueCore(newValue: any): void;
14
15
  protected getValueCore(): any;
15
16
  protected renderReadOnlyElement(): React.JSX.Element | null;
16
17
  protected renderSelect(cssClasses: any): React.JSX.Element;
17
- renderValueElement(dropdownListModel: DropdownListModel): React.JSX.Element | null;
18
- protected renderInput(dropdownListModel: DropdownListModel): React.JSX.Element;
19
- createClearButton(): React.JSX.Element | null;
20
- createChevronButton(): React.JSX.Element | null;
18
+ renderValueElement(): React.JSX.Element | null;
19
+ protected renderInput(): React.JSX.Element;
21
20
  protected renderOther(cssClasses: any): React.JSX.Element;
21
+ protected renderEditorButtons(): React.JSX.Element | null;
22
22
  componentDidUpdate(prevProps: any, prevState: any): void;
23
23
  componentDidMount(): void;
24
24
  componentWillUnmount(): void;
@@ -3,4 +3,5 @@ import { SurveyQuestionDropdown } from "./reactquestion_dropdown";
3
3
  export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
4
4
  constructor(props: any);
5
5
  protected renderSelect(cssClasses: any): React.JSX.Element;
6
+ createChevronButton(): React.JSX.Element | null;
6
7
  }
@@ -1,10 +1,9 @@
1
1
  import * as React from "react";
2
- import { QuestionTagboxModel, DropdownListModel } from "survey-core";
2
+ import { QuestionTagboxModel } from "survey-core";
3
3
  import { SurveyQuestionDropdownBase } from "./dropdown-base";
4
4
  export declare class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTagboxModel> {
5
5
  constructor(props: any);
6
6
  protected renderItem(key: string, item: any): React.JSX.Element;
7
- protected renderInput(dropdownListModel: DropdownListModel): React.JSX.Element;
7
+ protected renderInput(): React.JSX.Element;
8
8
  protected renderElement(): React.JSX.Element;
9
- protected renderReadOnlyElement(): React.JSX.Element | null;
10
9
  }