survey-react-ui 1.9.79 → 1.9.81

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.79",
3
+ "version": "1.9.81",
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",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "typings": "survey-react-ui.d.ts",
23
23
  "dependencies": {
24
- "survey-core": "1.9.79",
24
+ "survey-core": "1.9.81",
25
25
  "react": "^16.5.0 || ^17.0.1 || ^18.1.0",
26
26
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0"
27
27
  }
@@ -677,6 +677,18 @@ declare module "react/components/rating/rating-item-star" {
677
677
  render(): JSX.Element | null;
678
678
  }
679
679
  }
680
+ declare module "react/components/rating/rating-item-smiley" {
681
+ import { QuestionRatingModel, RenderedRatingItem } from "survey-core";
682
+ import { SurveyElementBase } from "react/reactquestion_element";
683
+ import { IRatingItemProps } from "react/components/rating/rating-item";
684
+ export class RatingItemSmiley extends SurveyElementBase<IRatingItemProps, any> {
685
+ get question(): QuestionRatingModel;
686
+ get item(): RenderedRatingItem;
687
+ get index(): any;
688
+ getStateElement(): RenderedRatingItem;
689
+ render(): JSX.Element | null;
690
+ }
691
+ }
680
692
  declare module "react/tagbox-filter" {
681
693
  import { DropdownMultiSelectListModel, QuestionTagboxModel } from "survey-core";
682
694
  import { SurveyElementBase } from "react/reactquestion_element";
@@ -971,8 +983,8 @@ declare module "react/reactquestion_matrixdropdownbase" {
971
983
  renderHeader(): JSX.Element | null;
972
984
  renderFooter(): JSX.Element | null;
973
985
  renderRows(): JSX.Element;
974
- renderRow(keyValue: any, row: QuestionMatrixDropdownRenderedRow, cssClasses: any): JSX.Element;
975
- renderCell(cell: QuestionMatrixDropdownRenderedCell, index: number, cssClasses: any): JSX.Element;
986
+ renderRow(keyValue: any, row: QuestionMatrixDropdownRenderedRow, cssClasses: any, reason?: string): JSX.Element;
987
+ renderCell(cell: QuestionMatrixDropdownRenderedCell, index: number, cssClasses: any, reason?: string): JSX.Element;
976
988
  private renderCellContent;
977
989
  }
978
990
  export class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
@@ -1371,6 +1383,7 @@ declare module "entries/react-ui-model" {
1371
1383
  export { SurveyQuestionRanking, SurveyQuestionRankingItem, } from "react/reactquestion_ranking";
1372
1384
  export { RatingItem } from "react/components/rating/rating-item";
1373
1385
  export { RatingItemStar } from "react/components/rating/rating-item-star";
1386
+ export { RatingItemSmiley } from "react/components/rating/rating-item-smiley";
1374
1387
  export { TagboxFilterString } from "react/tagbox-filter";
1375
1388
  export { SurveyQuestionOptionItem } from "react/dropdown-item";
1376
1389
  export { SurveyQuestionDropdownBase } from "react/dropdown-base";