freemium-survey-components 1.0.267 → 1.0.268

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.
@@ -0,0 +1,8 @@
1
+ import { PointScaleRatingType, QuestionTypeVariantType } from '../../types';
2
+ declare const Emoji: ({ highlight, index, type, scale, }: {
3
+ highlight: boolean;
4
+ index?: number | undefined;
5
+ scale: PointScaleRatingType;
6
+ type: Extract<QuestionTypeVariantType, 'STAR' | 'EMOJI'>;
7
+ }) => JSX.Element;
8
+ export default Emoji;
File without changes
@@ -0,0 +1,3 @@
1
+ import { SurveyQuestionTypeInfo } from '../../types';
2
+ export declare const getClassNames: (value: any, activeStarRating: any, type_variant: any, isDescending: any, range: any, propsValue: any) => string;
3
+ export declare const isBinaryQuestion: (type_info: SurveyQuestionTypeInfo) => boolean;
@@ -0,0 +1,2 @@
1
+ import { QuestionTypeVariantType } from '../types';
2
+ export declare const getIconName: (id: number, variant?: QuestionTypeVariantType | undefined) => string;
@@ -1,7 +1,7 @@
1
1
  import { SurveyType } from './types';
2
2
  export declare const CSAT_SURVEY: SurveyType;
3
- export declare const CSAT_SURVEY_MESSAGE_CONSENT_QUESTIONS: any;
4
- export declare const CSAT_SURVEY_DROPDOWN_DATETIME_QUESTION: any;
3
+ export declare const CSAT_SURVEY_MESSAGE_CONSENT_QUESTIONS: SurveyType;
4
+ export declare const CSAT_SURVEY_DROPDOWN_DATETIME_QUESTION: SurveyType;
5
5
  export declare const FORM_FIELDS_SURVEY: SurveyType;
6
6
  export declare const CES_YES_NO_SURVEY: SurveyType;
7
7
  export declare const NPS_SURVEY: SurveyType;
@@ -72,7 +72,6 @@ export declare const MOCK_TRANSLATIONS_VARIABLES: {
72
72
  skip: string;
73
73
  submit_survey: string;
74
74
  submitting: string;
75
- enter_comment: string;
76
75
  };
77
76
  export declare const EMOJI_ALL_SCALES: SurveyType;
78
77
  export declare const STAR_ALL_SCALES: SurveyType;
File without changes
@@ -19,9 +19,7 @@ export declare const useCardSurvey: (props: AugmentedSurveyProps) => {
19
19
  } | null;
20
20
  answers: AnswersType;
21
21
  isInitialTransition: boolean;
22
- translationVariables: {
23
- [key: string]: string | null;
24
- };
22
+ translationVariables: import("../../types").TranslationVariablesType;
25
23
  formQuestionErrors: null;
26
24
  textboxQuestionErrors: null;
27
25
  navigateToNextBlock: () => void;
@@ -16,9 +16,7 @@ export declare const useStandardSurvey: (props: AugmentedSurveyProps) => {
16
16
  answer?: string | number | undefined;
17
17
  } | null;
18
18
  answers: AnswersType;
19
- translationVariables: {
20
- [key: string]: string | null;
21
- };
19
+ translationVariables: import("../../types").TranslationVariablesType;
22
20
  formQuestionErrors: null;
23
21
  textboxQuestionErrors: null;
24
22
  saveFormValues: (block: BlockWithQuestionType, value: QuestionAnswerType, commitDirtyValue?: boolean, blockIndex?: number) => void;
@@ -349,6 +349,7 @@ export declare type EmailEmbedChannelInfoType = {
349
349
  show_footer?: boolean | null;
350
350
  language?: string | null;
351
351
  align_center?: boolean | null;
352
+ display?: DisplayButtonType | null;
352
353
  contact_fields: Array<{
353
354
  name: string;
354
355
  value: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "1.0.267",
3
+ "version": "1.0.268",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",
@@ -1,2 +0,0 @@
1
- import './style.scss';
2
- export declare const Tooltip: () => JSX.Element;