freemium-survey-components 2.0.183 → 2.0.185

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.
@@ -263,9 +263,8 @@ export type SurveyUiThemeType = {
263
263
  intro_text_color?: string | null;
264
264
  };
265
265
  export type SurveyLayoutType = 'card' | 'standard';
266
- export type AlignmentType = 'center' | 'left' | 'right' | 'top' | 'bottom';
267
- export type QuestionAlignmentMobileType = 'full' | 'top' | 'none';
268
- export type QuestionAlignmentDesktopType = 'top-scrap-left' | 'top-scrap-right' | 'top-scrap-center' | 'full-scrap-left' | 'full-scrap-right' | 'full-scrap-center' | 'right-scrap' | 'left-scrap';
266
+ export type ContentLayoutType = 'FULL' | 'TOP' | 'LEFT' | 'RIGHT' | 'NO';
267
+ export type AlignmentType = 'left' | 'center' | 'right' | 'top' | 'bottom';
269
268
  export type ActionButtonType = {
270
269
  submit?: string | null;
271
270
  skip?: string | null;
@@ -277,14 +276,14 @@ export type SurveyMetaType = {
277
276
  survey_layout?: SurveyLayoutType | null;
278
277
  progress_bar?: boolean | null;
279
278
  show_survey_logo?: boolean | null;
280
- header_alignment?: AlignmentType | null;
281
- header_alignment_vertical?: AlignmentType | null;
282
- footer_alignment?: AlignmentType | null;
283
- footer_alignment_vertical?: AlignmentType | 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;
284
282
  show_custom_footer?: boolean | null;
285
283
  show_freshworks_branding?: boolean | null;
286
- question_alignment_mobile?: QuestionAlignmentMobileType | null;
287
- question_alignment_desktop?: QuestionAlignmentDesktopType | 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;
288
287
  show_info_only_on_first?: boolean;
289
288
  is_modified?: boolean;
290
289
  action_button?: ActionButtonType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "2.0.183",
3
+ "version": "2.0.185",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",