freemium-survey-components 2.0.185 → 2.0.186

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.
@@ -271,19 +271,25 @@ export type ActionButtonType = {
271
271
  next?: string | null;
272
272
  clear_selection?: string | null;
273
273
  };
274
+ export type HeaderAlignmentType = Extract<AlignmentType, 'left' | 'center' | 'right'>;
275
+ export type HeaderAlignmentVerticalType = Extract<AlignmentType, 'top' | 'center' | 'bottom'>;
276
+ export type FooterAlignmentType = Extract<AlignmentType, 'left' | 'center' | 'right'>;
277
+ export type MobileContentLayoutType = Extract<AlignmentType, 'left' | 'center' | 'right'>;
278
+ export type DesktopContentLayoutType = Extract<ContentLayoutType, 'FULL' | 'TOP' | 'LEFT' | 'RIGHT'>;
279
+ export type ContentAlignmentType = Extract<AlignmentType, 'left' | 'center' | 'right'>;
274
280
  export type SurveyMetaType = {
275
281
  branch_separate_page?: boolean | null;
276
282
  survey_layout?: SurveyLayoutType | null;
277
283
  progress_bar?: boolean | null;
278
284
  show_survey_logo?: boolean | null;
279
- header_alignment?: Extract<AlignmentType, 'left' | 'center' | 'right'> | null;
280
- header_alignment_vertical?: Extract<AlignmentType, 'top' | 'center' | 'bottom'> | null;
281
- footer_alignment?: Extract<AlignmentType, 'left' | 'center' | 'right'> | null;
285
+ header_alignment?: HeaderAlignmentType | null;
286
+ header_alignment_vertical?: HeaderAlignmentVerticalType | null;
287
+ footer_alignment?: FooterAlignmentType | null;
282
288
  show_custom_footer?: boolean | null;
283
289
  show_freshworks_branding?: boolean | null;
284
- mobile_content_layout?: Extract<ContentLayoutType, 'FULL' | 'TOP' | 'NO'> | null;
285
- desktop_content_layout?: Extract<ContentLayoutType, 'FULL' | 'TOP' | 'LEFT' | 'RIGHT'> | null;
286
- content_alignment?: Extract<AlignmentType, 'left' | 'center' | 'right'> | null;
290
+ mobile_content_layout?: MobileContentLayoutType | null;
291
+ desktop_content_layout?: DesktopContentLayoutType | null;
292
+ content_alignment?: ContentAlignmentType | null;
287
293
  show_info_only_on_first?: boolean;
288
294
  is_modified?: boolean;
289
295
  action_button?: ActionButtonType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "2.0.185",
3
+ "version": "2.0.186",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",