freemium-survey-components 2.0.182 → 2.0.184
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 -9
- package/package.json +1 -1
package/lib/types/types.d.ts
CHANGED
|
@@ -240,6 +240,7 @@ export type SurveyQuestionDetailsType = {
|
|
|
240
240
|
export type SurveyUiBrandingType = {
|
|
241
241
|
favicon_url?: string | null;
|
|
242
242
|
bg_url?: string | null;
|
|
243
|
+
bg_url_opacity?: string | null;
|
|
243
244
|
logo_url?: string | null;
|
|
244
245
|
name?: string | null;
|
|
245
246
|
};
|
|
@@ -262,9 +263,8 @@ export type SurveyUiThemeType = {
|
|
|
262
263
|
intro_text_color?: string | null;
|
|
263
264
|
};
|
|
264
265
|
export type SurveyLayoutType = 'card' | 'standard';
|
|
265
|
-
export type
|
|
266
|
-
export type
|
|
267
|
-
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' | 'LEFT' | 'RIGHT' | 'TOP' | 'NO';
|
|
267
|
+
export type ContentAlignmentType = 'left' | 'center' | 'right' | 'top' | 'bottom';
|
|
268
268
|
export type ActionButtonType = {
|
|
269
269
|
submit?: string | null;
|
|
270
270
|
skip?: string | null;
|
|
@@ -276,14 +276,13 @@ 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?:
|
|
282
|
-
footer_alignment_vertical?: AlignmentType | null;
|
|
279
|
+
header_alignment?: ContentAlignmentType | null;
|
|
280
|
+
content_alignment?: Omit<ContentAlignmentType, 'top' | 'bottom'> | null;
|
|
281
|
+
footer_alignment?: Omit<ContentAlignmentType, 'top' | 'bottom'> | null;
|
|
283
282
|
show_custom_footer?: boolean | null;
|
|
284
283
|
show_freshworks_branding?: boolean | null;
|
|
285
|
-
|
|
286
|
-
|
|
284
|
+
mobile_content_layout?: Omit<ContentLayoutType, 'LEFT' | 'RIGHT'> | null;
|
|
285
|
+
desktop_content_layout?: Omit<ContentLayoutType, 'NO'> | null;
|
|
287
286
|
show_info_only_on_first?: boolean;
|
|
288
287
|
is_modified?: boolean;
|
|
289
288
|
action_button?: ActionButtonType;
|