freemium-survey-components 2.0.181 → 2.0.182
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 +12 -2
- package/package.json +1 -1
package/lib/types/types.d.ts
CHANGED
|
@@ -239,6 +239,7 @@ export type SurveyQuestionDetailsType = {
|
|
|
239
239
|
};
|
|
240
240
|
export type SurveyUiBrandingType = {
|
|
241
241
|
favicon_url?: string | null;
|
|
242
|
+
bg_url?: string | null;
|
|
242
243
|
logo_url?: string | null;
|
|
243
244
|
name?: string | null;
|
|
244
245
|
};
|
|
@@ -261,7 +262,9 @@ export type SurveyUiThemeType = {
|
|
|
261
262
|
intro_text_color?: string | null;
|
|
262
263
|
};
|
|
263
264
|
export type SurveyLayoutType = 'card' | 'standard';
|
|
264
|
-
export type
|
|
265
|
+
export type AlignmentType = 'center' | 'left' | 'right' | 'top' | 'bottom';
|
|
266
|
+
export type QuestionAlignmentMobileType = 'full' | 'top' | 'none';
|
|
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';
|
|
265
268
|
export type ActionButtonType = {
|
|
266
269
|
submit?: string | null;
|
|
267
270
|
skip?: string | null;
|
|
@@ -273,7 +276,14 @@ export type SurveyMetaType = {
|
|
|
273
276
|
survey_layout?: SurveyLayoutType | null;
|
|
274
277
|
progress_bar?: boolean | null;
|
|
275
278
|
show_survey_logo?: boolean | null;
|
|
276
|
-
header_alignment?:
|
|
279
|
+
header_alignment?: AlignmentType | null;
|
|
280
|
+
header_alignment_vertical?: AlignmentType | null;
|
|
281
|
+
footer_alignment?: AlignmentType | null;
|
|
282
|
+
footer_alignment_vertical?: AlignmentType | null;
|
|
283
|
+
show_custom_footer?: boolean | null;
|
|
284
|
+
show_freshworks_branding?: boolean | null;
|
|
285
|
+
question_alignment_mobile?: QuestionAlignmentMobileType | null;
|
|
286
|
+
question_alignment_desktop?: QuestionAlignmentDesktopType | null;
|
|
277
287
|
show_info_only_on_first?: boolean;
|
|
278
288
|
is_modified?: boolean;
|
|
279
289
|
action_button?: ActionButtonType;
|