survey-react-ui 1.9.31 → 1.9.34

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-react-ui",
3
- "version": "1.9.31",
3
+ "version": "1.9.34",
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",
@@ -26,7 +26,7 @@
26
26
  "typings": "survey-react-ui.d.ts",
27
27
  "dependencies": {
28
28
  "survey-core": "*",
29
- "react": "^16.5.0 || ^17.0.1",
30
- "react-dom": "^16.5.0 || ^17.0.1"
29
+ "react": "^16.5.0 || ^17.0.1 || ^18.1.0",
30
+ "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0"
31
31
  }
32
32
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Type definition for Survey JavaScript library for React (without core) v1.9.31
2
+ * Type definition for Survey JavaScript library for React (without core) v1.9.34
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -146,7 +146,9 @@ export declare class SurveyLocStringViewer extends React.Component<any, any> {
146
146
  componentDidMount(): void;
147
147
  componentWillUnmount(): void;
148
148
  componentDidUpdate(prevProps: any, prevState: any): void;
149
+ isRendering: boolean;
149
150
  render(): JSX.Element;
151
+ protected renderString(): JSX.Element;
150
152
  }
151
153
  export declare class SurveyNavigationBase extends React.Component<any, any> {
152
154
  constructor(props: any);
@@ -212,6 +214,7 @@ export declare class Popup extends SurveyElementBase<IPopupProps, any> {
212
214
  get model(): any;
213
215
  protected getStateElement(): PopupModel;
214
216
  componentDidMount(): void;
217
+ componentDidUpdate(prevProps: any, prevState: any): void;
215
218
  componentWillUnmount(): void;
216
219
  shouldComponentUpdate(nextProps: IPopupProps, nextState: any): boolean;
217
220
  render(): JSX.Element;
@@ -803,6 +806,7 @@ export declare class SurveyQuestionCustom extends SurveyQuestionUncontrolledElem
803
806
  }
804
807
  export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontrolledElement<T> {
805
808
  constructor(props: any);
809
+ onClick: (event: any) => void;
806
810
  protected setValueCore(newValue: any): void;
807
811
  protected getValueCore(): any;
808
812
  protected renderSelect(cssClasses: any): JSX.Element;
@@ -874,6 +878,7 @@ export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdown
874
878
  export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
875
879
  constructor(props: any);
876
880
  protected renderSelect(cssClasses: any): JSX.Element;
881
+ createClearButton(): JSX.Element;
877
882
  }
878
883
  export declare function property(options?: any): (target: any, key: string) => void;
879
884
  export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): (target: any, key: string) => void;