@designcrowd/library.brand-page 5.12.14 → 5.12.15

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.
Files changed (101) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-CLvcrjGD.js → CreatedOnBrandCrowd-de-de-CZd7RKCS.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-IAccZs5I.js → CreatedOnBrandCrowd-en-us-DgUw_Gmk.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-DiT9Jb5Q.js → CreatedOnBrandCrowd-es-es-qmEj0qtS.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-C-ZE-8xH.js → CreatedOnBrandCrowd-fr-fr-WSAFNEbH.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-pt-pt-BmzMx788.js → CreatedOnBrandCrowd-pt-pt-QQsa4zfN.js} +1 -1
  6. package/lib/src/{CreatedOnDcom-de-de-CknEXPtF.js → CreatedOnDcom-de-de-Dgmk8ib6.js} +1 -1
  7. package/lib/src/{CreatedOnDcom-en-us-CNuaCmwO.js → CreatedOnDcom-en-us-u6DK8Fzd.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-es-es-xQmDcCxZ.js → CreatedOnDcom-es-es-CyOJpVzh.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-fr-fr-Ig9ufuyT.js → CreatedOnDcom-fr-fr-CWzC5FlL.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-pt-pt-BcpCcEx4.js → CreatedOnDcom-pt-pt-DVigHaTn.js} +1 -1
  11. package/lib/src/brand-page/components/icon/Icon.mixin.d.ts +1 -1
  12. package/lib/src/brand-page/components/icon/Icon.mixin.js +2 -2
  13. package/lib/src/brand-page/models/content.model.d.ts +1 -1
  14. package/lib/src/brand-page/models/content.model.js +1 -1
  15. package/lib/src/brand-page/models/index.d.ts +7 -13
  16. package/lib/src/brand-page/models/index.js +2 -2
  17. package/lib/src/brand-page/utils/button.util.d.ts +7 -0
  18. package/lib/src/brand-page/utils/button.util.js +29 -0
  19. package/lib/src/brand-page/utils/content-callback-util.js +1 -1
  20. package/lib/src/brand-page/utils/model.util.js +1 -1
  21. package/lib/src/brand-page/utils/style.util.js +7 -1
  22. package/lib/src/brand-page/utils/view-model.util.js +18 -21
  23. package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +2 -2
  24. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +18 -18
  25. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.js +2 -0
  26. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.d.ts +2 -2
  27. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.js +4 -4
  28. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +20 -20
  29. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +2 -0
  30. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +1 -1
  31. package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +4 -2
  32. package/lib/src/brand-page-maker/constants/config-settings-constant.js +24 -5
  33. package/lib/src/brand-page-maker/constants/personalisation.constant.js +1 -1
  34. package/lib/src/brand-page-maker/models/content-settings.js +20 -2
  35. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +0 -1
  36. package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +80 -0
  37. package/lib/src/{bundled-translations-5b693qBQ.js → bundled-translations-DEYhoqLM.js} +10 -10
  38. package/lib/src/{bundled-translations.de-DE-Baq37kiT.js → bundled-translations.de-DE-B3NNo7JX.js} +22 -22
  39. package/lib/src/{bundled-translations.es-ES-BZB7Rc2f.js → bundled-translations.es-ES-_4IspVbp.js} +7 -7
  40. package/lib/src/{bundled-translations.fr-FR-QQJaBYEl.js → bundled-translations.fr-FR-9CdErV_a.js} +5 -5
  41. package/lib/src/{bundled-translations.pt-PT-DXFlBwc9.js → bundled-translations.pt-PT-BSmtPIMr.js} +12 -12
  42. package/lib/src/bundles/bundled-translations.de-DE.json +9 -8
  43. package/lib/src/bundles/bundled-translations.es-ES.json +10 -9
  44. package/lib/src/bundles/bundled-translations.fr-FR.json +3 -2
  45. package/lib/src/bundles/bundled-translations.json +2 -1
  46. package/lib/src/bundles/bundled-translations.pt-PT.json +14 -13
  47. package/lib/src/css/library.brand-page-brandCrowd.min.css +17 -17
  48. package/lib/src/css/library.brand-page-brandPage.min.css +17 -17
  49. package/lib/src/css/library.brand-page-designCom.min.css +17 -17
  50. package/lib/src/css/library.brand-page-preview.min.css +17 -17
  51. package/lib/src/index.mjs +67 -65
  52. package/lib/src/{lib-BxhpFccU.js → lib--oa9Rosp.js} +17834 -17682
  53. package/lib/src/plugins/bundle-translations-plugin/bundle-translations-plugin.js +2 -4
  54. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +20 -20
  55. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +2 -0
  56. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +21 -21
  57. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +20 -20
  58. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +18 -18
  59. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +7 -1
  60. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +18 -18
  61. package/lib/src/shared/content-settings/store/content-settings-store.d.ts +18 -18
  62. package/lib/src/shared/page-settings/components/delete-page-modal/DeletePageModal.mixin.d.ts +1 -1
  63. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +22 -22
  64. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +20 -20
  65. package/package.json +1 -1
  66. package/src/brand-page/components/icon/Icon.mixin.ts +2 -2
  67. package/src/brand-page/components/icon/Icon.vue +1 -1
  68. package/src/brand-page/components/text-media-section/TextMediaSection.vue +14 -0
  69. package/src/brand-page/models/content.model.ts +1 -1
  70. package/src/brand-page/models/index.ts +9 -15
  71. package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +12 -12
  72. package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +4 -4
  73. package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +8 -8
  74. package/src/brand-page/utils/button.util.ts +39 -0
  75. package/src/brand-page/utils/content-callback-util.ts +1 -1
  76. package/src/brand-page/utils/model.util.ts +1 -1
  77. package/src/brand-page/utils/style.util.ts +7 -1
  78. package/src/brand-page/utils/view-model.util.ts +21 -30
  79. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +2 -0
  80. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.ts +6 -6
  81. package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +2 -0
  82. package/src/brand-page-maker/constants/config-settings-constant.ts +38 -7
  83. package/src/brand-page-maker/constants/personalisation.constant.ts +1 -1
  84. package/src/brand-page-maker/models/content-settings.ts +20 -2
  85. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +0 -2
  86. package/src/brand-page-maker/stores/brandpage-maker/__snapshots__/brandpage-maker-store.test.ts.snap +1 -1
  87. package/src/brand-page-maker/utils/rich-text-editor.util.ts +156 -0
  88. package/src/bundles/bundled-translations.de-DE.json +9 -8
  89. package/src/bundles/bundled-translations.es-ES.json +10 -9
  90. package/src/bundles/bundled-translations.fr-FR.json +3 -2
  91. package/src/bundles/bundled-translations.json +2 -1
  92. package/src/bundles/bundled-translations.pt-PT.json +14 -13
  93. package/src/plugins/bundle-translations-plugin/bundle-translations-plugin.ts +3 -6
  94. package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +2 -0
  95. package/src/shared/content-settings/components/content-settings/i18n/content-settings.de-DE.json +9 -8
  96. package/src/shared/content-settings/components/content-settings/i18n/content-settings.es-ES.json +10 -9
  97. package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-FR.json +3 -2
  98. package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +2 -1
  99. package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-PT.json +14 -13
  100. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +7 -1
  101. /package/src/brand-page/components/icon/icons/{Twitter.vue → X.vue} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BxhpFccU.js";
2
+ import { _ as t } from "./lib--oa9Rosp.js";
3
3
  const i = {}, h = {
4
4
  width: "275",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BxhpFccU.js";
2
+ import { _ as t } from "./lib--oa9Rosp.js";
3
3
  const i = {}, h = {
4
4
  width: "251",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BxhpFccU.js";
2
+ import { _ as t } from "./lib--oa9Rosp.js";
3
3
  const i = {}, h = {
4
4
  width: "250",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BxhpFccU.js";
2
+ import { _ as t } from "./lib--oa9Rosp.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BxhpFccU.js";
2
+ import { _ as t } from "./lib--oa9Rosp.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BxhpFccU.js";
2
+ import { _ as e } from "./lib--oa9Rosp.js";
3
3
  const M = {}, Z = {
4
4
  width: "242",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BxhpFccU.js";
2
+ import { _ as e } from "./lib--oa9Rosp.js";
3
3
  const i = {}, M = {
4
4
  width: "231",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BxhpFccU.js";
2
+ import { _ as e } from "./lib--oa9Rosp.js";
3
3
  const M = {}, Z = {
4
4
  width: "230",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BxhpFccU.js";
2
+ import { _ as e } from "./lib--oa9Rosp.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-BxhpFccU.js";
2
+ import { _ as M } from "./lib--oa9Rosp.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -113,7 +113,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
113
113
  IconTikTok: import("vue").DefineComponent<{}, {}, any>;
114
114
  IconTumblr: import("vue").DefineComponent<{}, {}, any>;
115
115
  IconTwitch: import("vue").DefineComponent<{}, {}, any>;
116
- IconTwitter: import("vue").DefineComponent<{}, {}, any>;
116
+ IconX: import("vue").DefineComponent<{}, {}, any>;
117
117
  IconUser: import("vue").DefineComponent<{}, {}, any>;
118
118
  IconUtensils: import("vue").DefineComponent<{}, {}, any>;
119
119
  IconVideo: import("vue").DefineComponent<{}, {}, any>;
@@ -62,7 +62,7 @@ import IconThumbsUp from './icons/ThumbsUp.vue';
62
62
  import IconTikTok from './icons/TikTok.vue';
63
63
  import IconTumblr from './icons/Tumblr.vue';
64
64
  import IconTwitch from './icons/Twitch.vue';
65
- import IconTwitter from './icons/Twitter.vue';
65
+ import IconX from './icons/X.vue';
66
66
  import IconUser from './icons/User.vue';
67
67
  import IconUtensils from './icons/Utensils.vue';
68
68
  import IconVideo from './icons/Video.vue';
@@ -128,7 +128,7 @@ export default defineComponent({
128
128
  IconTikTok,
129
129
  IconTumblr,
130
130
  IconTwitch,
131
- IconTwitter,
131
+ IconX,
132
132
  IconUser,
133
133
  IconUtensils,
134
134
  IconVideo,
@@ -9,7 +9,7 @@ export declare const CONTENT_TYPES: {
9
9
  readonly phone: "phone";
10
10
  readonly text: "text";
11
11
  readonly facebook: "facebook";
12
- readonly twitter: "twitter";
12
+ readonly x: "x";
13
13
  readonly instagram: "instagram";
14
14
  readonly youtube: "youtube";
15
15
  readonly linkedin: "linkedin";
@@ -9,7 +9,7 @@ export const CONTENT_TYPES = {
9
9
  phone: 'phone',
10
10
  text: 'text',
11
11
  facebook: 'facebook',
12
- twitter: 'twitter',
12
+ x: 'x',
13
13
  instagram: 'instagram',
14
14
  youtube: 'youtube',
15
15
  linkedin: 'linkedin',
@@ -79,7 +79,7 @@ export type WebsiteContent = ButtonContent;
79
79
  export type EmailContent = ButtonContent;
80
80
  export type PhoneContent = ButtonContent;
81
81
  export type FacebookContent = ButtonContent;
82
- export type TwitterContent = ButtonContent;
82
+ export type XContent = ButtonContent;
83
83
  export type InstagramContent = ButtonContent;
84
84
  export type YoutubeContent = ButtonContent;
85
85
  export type LinkedInContent = ButtonContent;
@@ -287,12 +287,11 @@ export interface TextMediaItem extends ImageItem {
287
287
  }
288
288
  export interface TextShapeItem extends TextMediaItem {
289
289
  colorReplacements: ColorReplacement[];
290
- mediaType: 'shape';
291
290
  aspectRatio?: number | null;
292
291
  }
293
292
  export interface ShapeItem extends ImageItem {
294
293
  colorReplacements: ColorReplacement[];
295
- mediaType: 'shape';
294
+ mediaType: MediaType;
296
295
  title?: string;
297
296
  paragraph?: string;
298
297
  titleOverride?: string;
@@ -322,24 +321,19 @@ export interface ShapesSectionContent extends Content, MediaSection {
322
321
  size: string;
323
322
  cardStyle: BrandPageCssStyle;
324
323
  }
325
- export interface ImagesSectionContent extends Content {
324
+ export interface ImagesSectionContent extends Content, MediaSection {
326
325
  type: 'images-section';
327
- title: string;
328
- displayStyle: ImagesSectionContentDisplayStyle;
329
326
  aspectRatio: AspectRatio;
330
327
  areImagesFullWidth: boolean;
331
- items: TextMediaItem[];
332
- backgroundStyle: BrandPageCssStyle;
333
- titleStyle: TextStyleDeclaration;
334
- headingStyle: TextStyleDeclaration;
335
- paragraphStyle: TextStyleDeclaration;
336
328
  cardStyle: BrandPageCssStyle;
337
329
  }
338
330
  export interface MediaSection extends Content {
339
331
  title: string;
340
- displayStyle: string;
341
- items: TextShapeItem[];
332
+ description: string;
333
+ displayStyle: ImagesSectionContentDisplayStyle;
334
+ items: TextShapeItem[] | TextMediaItem[];
342
335
  titleStyle: TextStyleDeclaration;
336
+ descriptionStyle: TextStyleDeclaration;
343
337
  headingStyle: TextStyleDeclaration;
344
338
  paragraphStyle: TextStyleDeclaration;
345
339
  backgroundStyle: BrandPageCssStyle;
@@ -338,9 +338,9 @@ export class AbstractPageFooterStyles {
338
338
  {
339
339
  width: 0,
340
340
  height: 0,
341
- imageUrl: 'twitter',
341
+ imageUrl: 'x',
342
342
  imageTitle: '',
343
- url: 'https://www.twitter.com',
343
+ url: 'https://www.x.com',
344
344
  mediaType: 'image',
345
345
  imageLink: '',
346
346
  },
@@ -0,0 +1,7 @@
1
+ import type { ButtonStyles } from '../models';
2
+ /**
3
+ * Calculates the box shadow value for button styles based on the button style configuration
4
+ * @param buttonStyles - The button styles configuration
5
+ * @returns The calculated box shadow CSS value
6
+ */
7
+ export declare const getBoxShadowValue: (buttonStyles: ButtonStyles) => string;
@@ -0,0 +1,29 @@
1
+ import { isHexColor } from '../../utils/helpers';
2
+ import { setRgbAlpha } from './color.util';
3
+ import { ButtonSoftBoxShadowSize, ButtonBoxShadowSize, BoxShadowSpread, } from '../constants';
4
+ /**
5
+ * Calculates the box shadow value for button styles based on the button style configuration
6
+ * @param buttonStyles - The button styles configuration
7
+ * @returns The calculated box shadow CSS value
8
+ */
9
+ export const getBoxShadowValue = (buttonStyles) => {
10
+ let boxShadowValue = '';
11
+ if (buttonStyles.style.boxShadow) {
12
+ if (isHexColor(buttonStyles.style.boxShadow)) {
13
+ if (buttonStyles.selectedButtonStyleId === 'BUTTON_STYLE_16' ||
14
+ buttonStyles.selectedButtonStyleId === 'BUTTON_STYLE_17' ||
15
+ buttonStyles.selectedButtonStyleId === 'BUTTON_STYLE_18') {
16
+ const rgba = setRgbAlpha(buttonStyles.style.boxShadow, BoxShadowSpread);
17
+ boxShadowValue = `${ButtonSoftBoxShadowSize} ${rgba}`;
18
+ }
19
+ else {
20
+ const rgba = setRgbAlpha(buttonStyles.style.boxShadow, BoxShadowSpread);
21
+ boxShadowValue = `${ButtonBoxShadowSize} ${rgba}`;
22
+ }
23
+ }
24
+ else {
25
+ boxShadowValue = buttonStyles.style.boxShadow;
26
+ }
27
+ }
28
+ return boxShadowValue;
29
+ };
@@ -58,7 +58,7 @@ export const forEachPageCallContentCallback = (page, callbacks) => {
58
58
  case 'linkedin':
59
59
  case 'tiktok':
60
60
  case 'twitch':
61
- case 'twitter':
61
+ case 'x':
62
62
  case 'pinterest':
63
63
  case 'youtube':
64
64
  callbacks.buttonContentCallback(content);
@@ -28,7 +28,7 @@ export const isButtonContent = (content) => {
28
28
  content?.type === 'website' ||
29
29
  content?.type === 'email' ||
30
30
  content?.type === 'phone' ||
31
- content?.type === 'twitter' ||
31
+ content?.type === 'x' ||
32
32
  content?.type === 'instagram' ||
33
33
  content?.type === 'youtube' ||
34
34
  content?.type === 'linkedin' ||
@@ -199,7 +199,13 @@ const CONTENT_STYLE_PROP_NAME_SUFFIX = [
199
199
  'Color',
200
200
  'Replacements',
201
201
  ];
202
- const RTE_ALLOWED_SECTION_TYPES = ['text', 'banner-section', 'booking-section'];
202
+ const RTE_ALLOWED_SECTION_TYPES = [
203
+ 'text',
204
+ 'banner-section',
205
+ 'booking-section',
206
+ 'images-section',
207
+ 'shapes-section',
208
+ ];
203
209
  const RTE_ALLOWED_FIELDS = ['title', 'description', 'text', 'textItems'];
204
210
  export const applyLogoThemeToContents = (logoTheme, pages) => {
205
211
  let isModified = false;
@@ -9,6 +9,7 @@ import uniq from 'lodash/uniq';
9
9
  import { generateGoogleFontUrl } from './font-loader.util';
10
10
  import { isValidSvgUrl } from './image.util';
11
11
  import { isLogoContent } from './model.util';
12
+ import { getBoxShadowValue } from './button.util';
12
13
  const BUTTON_BORDER_RADIUS = '9999px';
13
14
  const CONTENT_BORDER_RADIUS = '48px';
14
15
  const PROFILE_PADDING_TOP = '1rem';
@@ -191,24 +192,7 @@ const isBigImageType = (displayStyle) => {
191
192
  return false;
192
193
  };
193
194
  const mapToButtonViewModel = (content, styles, options) => {
194
- let boxShadowValue = '';
195
- if (styles.buttonStyles.style.boxShadow) {
196
- if (isHexColor(styles.buttonStyles.style.boxShadow)) {
197
- if (styles.buttonStyles.selectedButtonStyleId === 'BUTTON_STYLE_16' ||
198
- styles.buttonStyles.selectedButtonStyleId === 'BUTTON_STYLE_17' ||
199
- styles.buttonStyles.selectedButtonStyleId === 'BUTTON_STYLE_18') {
200
- const rgba = setRgbAlpha(styles.buttonStyles.style.boxShadow, BoxShadowSpread);
201
- boxShadowValue = `${ButtonSoftBoxShadowSize} ${rgba}`;
202
- }
203
- else {
204
- const rgba = setRgbAlpha(styles.buttonStyles.style.boxShadow, BoxShadowSpread);
205
- boxShadowValue = `${ButtonBoxShadowSize} ${rgba}`;
206
- }
207
- }
208
- else {
209
- boxShadowValue = styles.buttonStyles.style.boxShadow;
210
- }
211
- }
195
+ const boxShadowValue = getBoxShadowValue(styles.buttonStyles);
212
196
  const buttonStyles = {
213
197
  iconStyle: styles.buttonStyles.iconStyle,
214
198
  style: {
@@ -309,9 +293,13 @@ const mapToMapViewModel = (content) => {
309
293
  return { ...content, role: content.type, type: 'map' };
310
294
  };
311
295
  const mapToMailingListViewModel = (content, styles) => {
296
+ const boxShadowValue = getBoxShadowValue(styles.buttonStyles);
312
297
  const buttonStyles = {
313
298
  iconStyle: styles.buttonStyles.iconStyle,
314
- style: styles.buttonStyles.style,
299
+ style: {
300
+ ...styles.buttonStyles.style,
301
+ boxShadow: boxShadowValue,
302
+ },
315
303
  selectedButtonStyleId: styles.buttonStyles.selectedButtonStyleId,
316
304
  };
317
305
  const titleStyle = {
@@ -368,11 +356,20 @@ const mapToRequestPaymentViewModel = (content, styles) => {
368
356
  }, styles);
369
357
  };
370
358
  const mapToContactFormViewModel = (content, styles, brandPageType) => {
359
+ const boxShadowValue = getBoxShadowValue(styles.buttonStyles);
360
+ const buttonStyles = {
361
+ iconStyle: styles.buttonStyles.iconStyle,
362
+ style: {
363
+ ...styles.buttonStyles.style,
364
+ boxShadow: boxShadowValue,
365
+ },
366
+ selectedButtonStyleId: styles.buttonStyles.selectedButtonStyleId,
367
+ };
371
368
  return applyViewModelTextStyles({
372
369
  ...content,
373
370
  role: content.type,
374
371
  type: 'contact-form',
375
- buttonStyles: styles.buttonStyles,
372
+ buttonStyles: buttonStyles,
376
373
  buttonTextStyle: {
377
374
  ...content.buttonTextStyle,
378
375
  },
@@ -659,7 +656,7 @@ export const mapToViewModel = (styles, brandPageType) => (content) => {
659
656
  case 'website':
660
657
  case 'phone':
661
658
  case 'facebook':
662
- case 'twitter':
659
+ case 'x':
663
660
  case 'instagram':
664
661
  case 'youtube':
665
662
  case 'linkedin':
@@ -2,11 +2,11 @@ declare const _default: import("vue").DefineComponent<{}, {
2
2
  templates: import("vue").ComputedRef<import("../../stores/admin-logo-settings").AdminPreviewLogoTemplateTemplate[]>;
3
3
  items: import("vue").ComputedRef<{
4
4
  id: string;
5
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
5
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
6
6
  settings: {
7
7
  content: {
8
8
  id: string;
9
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
9
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
10
10
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
11
11
  imageUrlOverride?: string | undefined;
12
12
  imageUrlsOverride?: string | undefined;
@@ -408,7 +408,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
408
408
  contentErrorCount(): number;
409
409
  getContent(state: {
410
410
  addContentOptions: {
411
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
411
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
412
412
  category: string;
413
413
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
414
414
  displayName: string;
@@ -419,11 +419,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
419
419
  }[];
420
420
  items: {
421
421
  id: string;
422
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
422
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
423
423
  settings: {
424
424
  content: {
425
425
  id: string;
426
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
426
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
427
427
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
428
428
  imageUrlOverride?: string | undefined;
429
429
  imageUrlsOverride?: string | undefined;
@@ -457,7 +457,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
457
457
  } & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../brand-page").Content | undefined;
458
458
  getFieldSettings(state: {
459
459
  addContentOptions: {
460
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
460
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
461
461
  category: string;
462
462
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
463
463
  displayName: string;
@@ -468,11 +468,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
468
468
  }[];
469
469
  items: {
470
470
  id: string;
471
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
471
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
472
472
  settings: {
473
473
  content: {
474
474
  id: string;
475
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
475
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
476
476
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
477
477
  imageUrlOverride?: string | undefined;
478
478
  imageUrlsOverride?: string | undefined;
@@ -506,7 +506,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
506
506
  } & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("../../../shared/content-settings/models").ContentItemFieldSettings | undefined;
507
507
  getItem(state: {
508
508
  addContentOptions: {
509
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
509
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
510
510
  category: string;
511
511
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
512
512
  displayName: string;
@@ -517,11 +517,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
517
517
  }[];
518
518
  items: {
519
519
  id: string;
520
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
520
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
521
521
  settings: {
522
522
  content: {
523
523
  id: string;
524
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
524
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
525
525
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
526
526
  imageUrlOverride?: string | undefined;
527
527
  imageUrlsOverride?: string | undefined;
@@ -555,7 +555,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
555
555
  } & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentItem<any> | undefined;
556
556
  getValue(state: {
557
557
  addContentOptions: {
558
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
558
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
559
559
  category: string;
560
560
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
561
561
  displayName: string;
@@ -566,11 +566,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
566
566
  }[];
567
567
  items: {
568
568
  id: string;
569
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
569
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
570
570
  settings: {
571
571
  content: {
572
572
  id: string;
573
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
573
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
574
574
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
575
575
  imageUrlOverride?: string | undefined;
576
576
  imageUrlsOverride?: string | undefined;
@@ -604,7 +604,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
604
604
  } & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => string | import("../../../brand-page").Content | undefined;
605
605
  getItemState(state: {
606
606
  addContentOptions: {
607
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
607
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
608
608
  category: string;
609
609
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
610
610
  displayName: string;
@@ -615,11 +615,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
615
615
  }[];
616
616
  items: {
617
617
  id: string;
618
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
618
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
619
619
  settings: {
620
620
  content: {
621
621
  id: string;
622
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
622
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
623
623
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
624
624
  imageUrlOverride?: string | undefined;
625
625
  imageUrlsOverride?: string | undefined;
@@ -653,7 +653,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
653
653
  } & import("pinia").PiniaCustomStateProperties<import("../../../shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentSettingsItemState;
654
654
  getItemGroupState(state: {
655
655
  addContentOptions: {
656
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
656
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
657
657
  category: string;
658
658
  createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("../../../brand-page").Content;
659
659
  displayName: string;
@@ -664,11 +664,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
664
664
  }[];
665
665
  items: {
666
666
  id: string;
667
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
667
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
668
668
  settings: {
669
669
  content: {
670
670
  id: string;
671
- type: "website" | "image" | "facebook" | "twitter" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
671
+ type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
672
672
  personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
673
673
  imageUrlOverride?: string | undefined;
674
674
  imageUrlsOverride?: string | undefined;
@@ -1142,6 +1142,7 @@ export const BRAND_PAGE_PERSONALISED = {
1142
1142
  {
1143
1143
  id: uuid(),
1144
1144
  title: 'Shapes',
1145
+ description: '',
1145
1146
  type: 'shapes-section',
1146
1147
  displayStyle: 'centered',
1147
1148
  items: [
@@ -1163,6 +1164,7 @@ export const BRAND_PAGE_PERSONALISED = {
1163
1164
  cardStyle: {},
1164
1165
  size: '4rem',
1165
1166
  titleStyle: {},
1167
+ descriptionStyle: {},
1166
1168
  paragraphStyle: {},
1167
1169
  headingStyle: {},
1168
1170
  personalisationRole: 'media',
@@ -1,4 +1,4 @@
1
- import type { LogoContent, ProfileContent, GeneralLinkContent, WebsiteContent, EmailContent, PhoneContent, FacebookContent, TwitterContent, InstagramContent, YoutubeContent, LinkedInContent, PinterestContent, TwitchContent, TiktokContent, TextContent } from '../../../../brand-page';
1
+ import type { LogoContent, ProfileContent, GeneralLinkContent, WebsiteContent, EmailContent, PhoneContent, FacebookContent, XContent, InstagramContent, YoutubeContent, LinkedInContent, PinterestContent, TwitchContent, TiktokContent, TextContent } from '../../../../brand-page';
2
2
  export declare const logoContent: LogoContent;
3
3
  export declare const profileContent: ProfileContent;
4
4
  export declare const textContent: TextContent;
@@ -7,7 +7,7 @@ export declare const websiteLink: WebsiteContent;
7
7
  export declare const emailLink: EmailContent;
8
8
  export declare const phoneLink: PhoneContent;
9
9
  export declare const facebookLink: FacebookContent;
10
- export declare const twitterLink: TwitterContent;
10
+ export declare const twitterLink: XContent;
11
11
  export declare const instagramLink: InstagramContent;
12
12
  export declare const youtubeLink: YoutubeContent;
13
13
  export declare const linkedinLink: LinkedInContent;
@@ -110,10 +110,10 @@ export const facebookLink = {
110
110
  };
111
111
  export const twitterLink = {
112
112
  id: faker.string.uuid(),
113
- iconUrl: 'twitter',
114
- title: 'Twitter',
115
- url: 'https://www.twitter.com',
116
- type: 'twitter',
113
+ iconUrl: 'x',
114
+ title: 'X',
115
+ url: 'https://www.x.com',
116
+ type: 'x',
117
117
  colorReplacements: [],
118
118
  titleStyle: {
119
119
  textAlign: DEFAULT_TEXT_ALIGN,