freemium-survey-components 1.0.282 → 1.0.283

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.
@@ -17,7 +17,7 @@ export declare type PromptSettingsType = {
17
17
  type_variant?: PromptSettingsTypeVariants | null;
18
18
  reverse_order?: boolean | null;
19
19
  };
20
- export declare type QuestionType = 'TEXT' | 'NUMBER' | 'PARAGRAPH' | 'BOOLEAN' | 'DATE' | 'RANGE' | 'DROPDOWN' | 'CHECKBOX' | 'RADIO' | 'THANK_YOU' | 'MULTI_SELECT' | 'MULTI_SELECT_LOOKUP' | 'MATRIX_RATING_SCALE' | 'MESSAGE' | 'CONSENT' | 'RANK_ORDER' | 'SLIDER' | 'FORM_FIELD' | 'DATE_TIME' | 'FILE';
20
+ export declare type QuestionType = 'TEXT' | 'NUMBER' | 'PARAGRAPH' | 'BOOLEAN' | 'DATE' | 'RANGE' | 'DROPDOWN' | 'CHECKBOX' | 'RADIO' | 'THANK_YOU' | 'MULTI_SELECT' | 'MULTI_SELECT_LOOKUP' | 'MATRIX_RATING_SCALE' | 'MESSAGE' | 'CONSENT' | 'RANK_ORDER' | 'SLIDER' | 'FORM_FIELD' | 'DATE_TIME' | 'FILE' | 'CONTACT_FORM';
21
21
  export declare type QuestionThemeType = SurveyTypes;
22
22
  export declare type QuestionTypeVariantType = 'EMOJI' | 'STAR' | 'TEXT' | 'NUMBER' | 'THUMBS' | 'TICK' | 'DECIMAL' | 'EMAIL' | 'PHONE' | 'URL';
23
23
  export declare type ScalePropertiesOrderType = 'ascending' | 'descending';
@@ -138,6 +138,18 @@ export declare type SurveyQuestionTypeInfo = {
138
138
  number_field?: NumberFieldType | null;
139
139
  file_field?: FileFieldTypes | null;
140
140
  text_field?: TextFieldType | null;
141
+ contact_form?: ContactFormQuestionType | null;
142
+ };
143
+ export declare type ContactFormQuestionType = {
144
+ layout?: 'VERTICAL' | 'HORIZONTAL';
145
+ fields?: ContactFormFieldsType[] | null;
146
+ };
147
+ export declare type ContactFormFieldsType = {
148
+ id?: string | null;
149
+ label?: string | null;
150
+ display_label?: string | null;
151
+ order?: number | null;
152
+ required?: boolean | null;
141
153
  };
142
154
  export declare type FILE_UPLOAD_OPTIONS = 'IMAGE' | 'VIDEO' | 'AUDIO' | 'DOCUMENT';
143
155
  export declare type FileFieldTypes = {
@@ -264,6 +276,7 @@ export declare type DisplayLogicType = {
264
276
  matrix_rating_scale_statement_id?: string | null;
265
277
  rank_order_choice_id?: string | null;
266
278
  form_field_value?: string | null;
279
+ contact_field_type?: string | null;
267
280
  };
268
281
  export declare type SurveyBlockType = {
269
282
  is_deleted?: boolean | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "1.0.282",
3
+ "version": "1.0.283",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",