freemium-survey-components 2.0.184 → 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.
- package/lib/types/types.d.ts +8 -7
- package/package.json +1 -1
package/lib/types/types.d.ts
CHANGED
|
@@ -263,8 +263,8 @@ export type SurveyUiThemeType = {
|
|
|
263
263
|
intro_text_color?: string | null;
|
|
264
264
|
};
|
|
265
265
|
export type SurveyLayoutType = 'card' | 'standard';
|
|
266
|
-
export type ContentLayoutType = 'FULL' | '
|
|
267
|
-
export type
|
|
266
|
+
export type ContentLayoutType = 'FULL' | 'TOP' | 'LEFT' | 'RIGHT' | 'NO';
|
|
267
|
+
export type AlignmentType = 'left' | 'center' | 'right' | 'top' | 'bottom';
|
|
268
268
|
export type ActionButtonType = {
|
|
269
269
|
submit?: string | null;
|
|
270
270
|
skip?: string | null;
|
|
@@ -276,13 +276,14 @@ export type SurveyMetaType = {
|
|
|
276
276
|
survey_layout?: SurveyLayoutType | null;
|
|
277
277
|
progress_bar?: boolean | null;
|
|
278
278
|
show_survey_logo?: boolean | null;
|
|
279
|
-
header_alignment?:
|
|
280
|
-
|
|
281
|
-
footer_alignment?:
|
|
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;
|
|
282
282
|
show_custom_footer?: boolean | null;
|
|
283
283
|
show_freshworks_branding?: boolean | null;
|
|
284
|
-
mobile_content_layout?:
|
|
285
|
-
desktop_content_layout?:
|
|
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;
|
|
286
287
|
show_info_only_on_first?: boolean;
|
|
287
288
|
is_modified?: boolean;
|
|
288
289
|
action_button?: ActionButtonType;
|