@designcrowd/library.brand-page 6.2.11 → 6.2.12
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/src/{CreatedOnBrandCrowd-de-de-DDcraD5S.js → CreatedOnBrandCrowd-de-de-BtVKllNQ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-DtOeaisf.js → CreatedOnBrandCrowd-en-us-CX5V0v8u.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-BZpmJPew.js → CreatedOnBrandCrowd-es-es-CbA02PCL.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-CqRwC4e7.js → CreatedOnBrandCrowd-fr-ca-BQAKruBF.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-CqRwC4e7.js → CreatedOnBrandCrowd-fr-fr-BQAKruBF.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DId9Dfjh.js → CreatedOnBrandCrowd-pt-br-Yk_yzB3s.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-DId9Dfjh.js → CreatedOnBrandCrowd-pt-pt-Yk_yzB3s.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-BTDfmOcm.js → CreatedOnDcom-de-de-DJZQbPSD.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-CeAu9Ayx.js → CreatedOnDcom-en-us-BJvNAa4l.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-WCv0K41H.js → CreatedOnDcom-es-es-CUwB1FRY.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-BlfevQDY.js → CreatedOnDcom-fr-ca-CK54U4oh.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-Cvt7MHPZ.js → CreatedOnDcom-fr-fr-DuUNBGrM.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-DipZuylv.js → CreatedOnDcom-pt-br-BfODpFNV.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-BCw4lcKN.js → CreatedOnDcom-pt-pt-Cf6u2GCg.js} +1 -1
- package/lib/src/brand-page/__fixtures__/production-text-style-resolver.fixture.d.ts +16 -0
- package/lib/src/brand-page/__fixtures__/production-text-style-resolver.fixture.js +35 -0
- package/lib/src/brand-page/components/contact-form/ContactForm.mixin.d.ts +3 -0
- package/lib/src/brand-page/components/contact-form/ContactForm.mixin.js +19 -13
- package/lib/src/brand-page/components/mailing-list/MailingList.mixin.d.ts +3 -1
- package/lib/src/brand-page/components/mailing-list/MailingList.mixin.js +17 -2
- package/lib/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.mixin.d.ts +11 -3
- package/lib/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.mixin.js +35 -1
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.d.ts +8 -2
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.js +27 -3
- package/lib/src/brand-page/components/page/Page.mixin.d.ts +5 -2
- package/lib/src/brand-page/components/page/Page.mixin.js +33 -27
- package/lib/src/brand-page/components/page-footer/PageFooter.mixin.d.ts +7 -2
- package/lib/src/brand-page/components/page-footer/PageFooter.mixin.js +21 -1
- package/lib/src/brand-page/components/payment/Payment.mixin.d.ts +5 -2
- package/lib/src/brand-page/components/payment/Payment.mixin.js +22 -2
- package/lib/src/brand-page/components/payment/support-me/SupportMe.mixin.d.ts +6 -2
- package/lib/src/brand-page/components/payment/support-me/SupportMe.mixin.js +32 -1
- package/lib/src/brand-page/components/social-links/SocialLinks.stories.js +0 -3
- package/lib/src/brand-page/components/testimonial-section/__fixtures__/data.js +0 -3
- package/lib/src/brand-page/components/text/Text.stories.js +0 -17
- package/lib/src/brand-page/constants/font.constants.d.ts +62 -0
- package/lib/src/brand-page/constants/font.constants.js +35 -0
- package/lib/src/brand-page/models/index.d.ts +23 -24
- package/lib/src/brand-page/models/index.js +20 -7
- package/lib/src/brand-page/models/navigation-styles.model.d.ts +1 -1
- package/lib/src/brand-page/models/navigation-styles.model.js +17 -8
- package/lib/src/brand-page/models/payment.model.d.ts +11 -6
- package/lib/src/brand-page/models/styles.model.d.ts +53 -7
- package/lib/src/brand-page/models/styles.model.js +115 -27
- package/lib/src/brand-page/utils/color-palette.util.d.ts +43 -23
- package/lib/src/brand-page/utils/color-palette.util.js +65 -27
- package/lib/src/brand-page/utils/color.util.d.ts +13 -9
- package/lib/src/brand-page/utils/color.util.js +56 -15
- package/lib/src/brand-page/utils/container-text-color.util.d.ts +46 -13
- package/lib/src/brand-page/utils/container-text-color.util.js +321 -41
- package/lib/src/brand-page/utils/index.d.ts +1 -0
- package/lib/src/brand-page/utils/index.js +1 -0
- package/lib/src/brand-page/utils/migration/migration-20.js +6 -2
- package/lib/src/brand-page/utils/migration/migration-21.js +34 -6
- package/lib/src/brand-page/utils/migration/migration-22.d.ts +99 -0
- package/lib/src/brand-page/utils/migration/migration-22.js +909 -0
- package/lib/src/brand-page/utils/migration.util.js +17 -0
- package/lib/src/brand-page/utils/model.util.d.ts +4 -0
- package/lib/src/brand-page/utils/model.util.js +4 -0
- package/lib/src/brand-page/utils/personalisation.util.js +9 -1
- package/lib/src/brand-page/utils/rte-role-lift.util.d.ts +72 -0
- package/lib/src/brand-page/utils/rte-role-lift.util.js +275 -0
- package/lib/src/brand-page/utils/style.util.d.ts +5 -1
- package/lib/src/brand-page/utils/style.util.js +34 -11
- package/lib/src/brand-page/utils/text-role-css.util.d.ts +19 -0
- package/lib/src/brand-page/utils/text-role-css.util.js +186 -0
- package/lib/src/brand-page/utils/text-role-reconnect.util.d.ts +90 -0
- package/lib/src/brand-page/utils/text-role-reconnect.util.js +434 -0
- package/lib/src/brand-page/utils/text-style.util.d.ts +53 -23
- package/lib/src/brand-page/utils/text-style.util.js +122 -22
- package/lib/src/brand-page/utils/view-model.util.d.ts +9 -1
- package/lib/src/brand-page/utils/view-model.util.js +124 -111
- package/lib/src/brand-page/view-models.d.ts +1 -0
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +4 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +13 -2
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +4 -4
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +4 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.js +0 -10
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.js +0 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +23 -138
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +0 -28
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +4 -1
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +5 -2
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +4 -1
- package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +4 -1
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +4 -1
- package/lib/src/brand-page-maker/composables/ai-chat/useAiMetadataBuilder.d.ts +1 -0
- package/lib/src/brand-page-maker/composables/ai-chat/useAiMetadataBuilder.js +1 -0
- package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +1 -0
- package/lib/src/brand-page-maker/composables/rich-text-editor/extensions/RoleTypographyFill.d.ts +16 -0
- package/lib/src/brand-page-maker/composables/rich-text-editor/extensions/RoleTypographyFill.js +61 -0
- package/lib/src/brand-page-maker/composables/rich-text-editor/extensions/RteClipboard.d.ts +11 -0
- package/lib/src/brand-page-maker/composables/rich-text-editor/extensions/RteClipboard.js +236 -0
- package/lib/src/brand-page-maker/composables/rich-text-editor/font.d.ts +2 -1
- package/lib/src/brand-page-maker/composables/rich-text-editor/font.js +25 -6
- package/lib/src/brand-page-maker/composables/rich-text-editor/formatting.d.ts +17 -4
- package/lib/src/brand-page-maker/composables/rich-text-editor/formatting.js +204 -17
- package/lib/src/brand-page-maker/composables/rich-text-editor/hyperlink.d.ts +1 -1
- package/lib/src/brand-page-maker/composables/rich-text-editor/hyperlink.js +29 -31
- package/lib/src/brand-page-maker/composables/rich-text-editor/keepMarksOnEmpty.d.ts +20 -0
- package/lib/src/brand-page-maker/composables/rich-text-editor/keepMarksOnEmpty.js +60 -0
- package/lib/src/brand-page-maker/composables/rich-text-editor/spacing.d.ts +2 -1
- package/lib/src/brand-page-maker/composables/rich-text-editor/spacing.js +22 -6
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.d.ts +10 -4
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +319 -275
- package/lib/src/brand-page-maker/constants/config-settings-constant.js +1 -5
- package/lib/src/brand-page-maker/convertors/text-css-style-options.convertor.js +6 -2
- package/lib/src/brand-page-maker/convertors/text-size-value.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/text-size-value.convertor.js +3 -1
- package/lib/src/brand-page-maker/default-getters/payment-text-and-border-color.default-getter.js +7 -14
- package/lib/src/brand-page-maker/default-getters/text-color.default-getter.js +6 -13
- package/lib/src/brand-page-maker/models/content-settings.d.ts +8 -0
- package/lib/src/brand-page-maker/models/content-settings.js +112 -81
- package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.d.ts +2 -2
- package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.js +5 -2
- package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.js +4 -3
- package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +1257 -117
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +6 -1
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +17 -9
- package/lib/src/brand-page-maker/stores/history/history-store.d.ts +59 -5
- package/lib/src/brand-page-maker/stores/history/history-store.js +22 -2
- package/lib/src/brand-page-maker/utils/apply-color-strategy.js +26 -8
- package/lib/src/brand-page-maker/utils/index.d.ts +2 -1
- package/lib/src/brand-page-maker/utils/index.js +2 -1
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.d.ts +117 -15
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +435 -281
- package/lib/src/brand-page-maker/utils/rte-authoring.util.d.ts +4 -0
- package/lib/src/brand-page-maker/utils/rte-authoring.util.js +101 -0
- package/lib/src/brand-page-maker/utils/rte-clipboard.util.d.ts +126 -0
- package/lib/src/brand-page-maker/utils/rte-clipboard.util.js +307 -0
- package/lib/src/brand-page-maker/utils/rte-sanitize.util.js +13 -3
- package/lib/src/{bundled-translations-zfiA5Tsw.js → bundled-translations-yGrvPE5i.js} +17 -17
- package/lib/src/{bundled-translations.de-DE-ChsdSyAP.js → bundled-translations.de-DE-L4Znf8Hs.js} +17 -17
- package/lib/src/{bundled-translations.es-ES-DflsWQK0.js → bundled-translations.es-ES-D6iticrK.js} +15 -15
- package/lib/src/{bundled-translations.fr-CA-fpDRuZ52.js → bundled-translations.fr-CA-BgAVE-9k.js} +25 -25
- package/lib/src/{bundled-translations.fr-FR-Bub73Zt-.js → bundled-translations.fr-FR-B8GbyqxQ.js} +17 -17
- package/lib/src/{bundled-translations.pt-BR-BlnWE9TB.js → bundled-translations.pt-BR-DjPU3Db7.js} +25 -25
- package/lib/src/{bundled-translations.pt-PT-DmzXlnaS.js → bundled-translations.pt-PT-BaepaDpr.js} +23 -23
- package/lib/src/bundles/bundled-translations.de-DE.json +21 -2
- package/lib/src/bundles/bundled-translations.es-ES.json +21 -2
- package/lib/src/bundles/bundled-translations.fr-CA.json +21 -2
- package/lib/src/bundles/bundled-translations.fr-FR.json +21 -2
- package/lib/src/bundles/bundled-translations.json +21 -2
- package/lib/src/bundles/bundled-translations.pt-BR.json +21 -2
- package/lib/src/bundles/bundled-translations.pt-PT.json +21 -2
- package/lib/src/clients/ai-assistant-client.d.ts +1 -0
- package/lib/src/composables/useTranslate.d.ts +1 -1
- package/lib/src/composables/useTranslate.js +1 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +303 -207
- package/lib/src/css/library.brand-page-brandPage.min.css +303 -207
- package/lib/src/css/library.brand-page-designCom.min.css +303 -207
- package/lib/src/css/library.brand-page-preview.min.css +303 -207
- package/lib/src/index.d.ts +2 -1
- package/lib/src/index.mjs +195 -191
- package/lib/src/{lib-1AqtEmvQ.js → lib-kGRlD3_P.js} +36855 -33893
- package/lib/src/lib.js +2 -1
- package/lib/src/metadata-builder/builders/footer-builder.js +4 -5
- package/lib/src/metadata-builder/builders/global-role-propagation.d.ts +58 -0
- package/lib/src/metadata-builder/builders/global-role-propagation.js +246 -0
- package/lib/src/metadata-builder/builders/global-styles-builder.d.ts +1 -0
- package/lib/src/metadata-builder/builders/global-styles-builder.js +116 -45
- package/lib/src/metadata-builder/builders/header-builder.js +13 -4
- package/lib/src/metadata-builder/builders/section-builders/about-section-builder.js +3 -3
- package/lib/src/metadata-builder/builders/section-builders/banner-section-builder.js +3 -3
- package/lib/src/metadata-builder/builders/section-builders/booking-section-builder.js +3 -3
- package/lib/src/metadata-builder/builders/section-builders/contact-form-builder.js +4 -4
- package/lib/src/metadata-builder/builders/section-builders/images-section-builder.js +3 -3
- package/lib/src/metadata-builder/builders/section-builders/mailing-list-builder.js +2 -2
- package/lib/src/metadata-builder/builders/section-builders/mailing-list-section-builder.js +2 -2
- package/lib/src/metadata-builder/builders/section-builders/profile-section-builder.js +4 -4
- package/lib/src/metadata-builder/builders/section-builders/shapes-section-builder.js +3 -3
- package/lib/src/metadata-builder/builders/section-builders/social-links-builder.js +8 -2
- package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.js +2 -2
- package/lib/src/metadata-builder/builders/section-builders/text-section-builder.js +60 -29
- package/lib/src/metadata-builder/builders/section-field-maps.js +1 -0
- package/lib/src/metadata-builder/builders/section-field-utils.d.ts +48 -19
- package/lib/src/metadata-builder/builders/section-field-utils.js +128 -52
- package/lib/src/metadata-builder/builders/section-rules/global-styles.rules.d.ts +4 -2
- package/lib/src/metadata-builder/builders/section-rules/global-styles.rules.js +28 -12
- package/lib/src/metadata-builder/builders/section-rules/social-links.rules.js +5 -1
- package/lib/src/metadata-builder/helpers/rte.helpers.d.ts +1 -1
- package/lib/src/metadata-builder/helpers/rte.helpers.js +97 -40
- package/lib/src/metadata-builder/metadata-executor.js +23 -1
- package/lib/src/metadata-builder/models.d.ts +2 -0
- package/lib/src/metadata-builder/parsers/ai-toolcall-parser.d.ts +18 -19
- package/lib/src/metadata-builder/parsers/section-tool-arguments.d.ts +18 -1
- package/lib/src/metadata-builder/sanitizers/rte-schema-check.js +1 -1
- package/lib/src/metadata-builder/sanitizers/sanitizer-rules.d.ts +0 -1
- package/lib/src/metadata-builder/sanitizers/sanitizer-rules.js +5 -8
- package/lib/src/metadata-builder/sanitizers/section-args-validator.d.ts +7 -16
- package/lib/src/metadata-builder/sanitizers/section-args-validator.js +95 -22
- package/lib/src/shared/color-palette/section-color-matches.js +9 -25
- package/lib/src/shared/color-strategies/color-strategies.d.ts +15 -0
- package/lib/src/shared/color-strategies/color-strategies.js +31 -0
- package/lib/src/shared/color-strategies/rte-color.d.ts +8 -0
- package/lib/src/shared/color-strategies/rte-color.js +16 -0
- package/lib/src/shared/color-strategies/rte-field-pairs.d.ts +23 -0
- package/lib/src/shared/color-strategies/rte-field-pairs.js +28 -0
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +9 -135
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +1 -27
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +12 -2
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +7 -0
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +75 -6
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +18 -7
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +6 -1
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +0 -7
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +8 -4
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +1255 -26
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.js +203 -59
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +6 -0
- package/lib/src/shared/content-settings/store/content-settings-store.js +105 -8
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +5 -1
- package/lib/src/shared/navigation-style-settings/store/index.d.ts +7 -3
- package/lib/src/shared/navigation-style-settings/store/index.js +40 -15
- package/lib/src/shared/page-settings/components/delete-page-modal/DeletePageModal.mixin.d.ts +1 -1
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +1 -0
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +17 -5
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +70 -13
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +10 -2
- package/lib/src/shared/page-settings/store/page-settings-store.d.ts +2 -1
- package/lib/src/shared/page-settings/store/page-settings-store.js +17 -0
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +4 -1
- package/lib/src/shared/rte-extensions/AutoLink.d.ts +17 -0
- package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/AutoLink.js +67 -51
- package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/MaxLength.js +4 -1
- package/lib/src/shared/rte-extensions/TextEffects.d.ts +28 -0
- package/lib/src/shared/rte-extensions/TextEffects.js +96 -0
- package/lib/src/shared/rte-extensions/ViewDomParser.d.ts +2 -0
- package/lib/src/shared/rte-extensions/ViewDomParser.js +21 -0
- package/lib/src/shared/rte-extensions.util.d.ts +25 -0
- package/lib/src/{brand-page-maker/composables/rich-text-editor/getRteExtensions.js → shared/rte-extensions.util.js} +62 -7
- package/lib/src/shared/rte-link.util.d.ts +1 -0
- package/lib/src/shared/rte-link.util.js +1 -0
- package/lib/src/shared/rte-render.util.d.ts +112 -0
- package/lib/src/shared/rte-render.util.js +255 -0
- package/lib/src/shared/rte-shape.util.d.ts +6 -0
- package/lib/src/shared/rte-shape.util.js +18 -0
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +2 -1
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +1 -0
- package/lib/src/shared/side-bar/store/side-bar-store.d.ts +2 -0
- package/lib/src/shared/side-bar/store/side-bar-store.js +9 -0
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +155 -15
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.js +7 -1
- package/lib/src/shared/style-settings/store/style-settings-store.d.ts +1 -9
- package/lib/src/shared/style-settings/store/style-settings-store.js +3 -33
- package/lib/src/shared/style-settings/text-style-size-order.d.ts +2 -0
- package/lib/src/shared/style-settings/text-style-size-order.js +13 -0
- package/lib/src/shared/text-role-typography.util.d.ts +64 -0
- package/lib/src/shared/text-role-typography.util.js +183 -0
- package/lib/src/utils/minify-brand-page-metadata.d.ts +16 -1
- package/lib/src/utils/minify-brand-page-metadata.js +31 -9
- package/package.json +1 -1
- package/src/brand-page/__fixtures__/migration-22-v21/edited-brandsite-sections.v21.json +982 -0
- package/src/brand-page/__fixtures__/migration-22-v21/new-brandcontact-every-section.v21.json +1231 -0
- package/src/brand-page/__fixtures__/migration-22-v21/new-brandpage-every-section.v21.json +1231 -0
- package/src/brand-page/__fixtures__/migration-22-v21/new-brandsite-every-section.v21.json +1243 -0
- package/src/brand-page/__fixtures__/migration-22-v21/real-brandcontact.v21.json +755 -0
- package/src/brand-page/__fixtures__/migration-22-v21/real-brandpage-general-link.v21.json +527 -0
- package/src/brand-page/__fixtures__/migration-22-v21/real-brandpage-links.v21.json +755 -0
- package/src/brand-page/__fixtures__/migration-22-v21/real-brandpage-social-links.v21.json +514 -0
- package/src/brand-page/__fixtures__/migration-22-v21/real-brandsite-about.v21.json +459 -0
- package/src/brand-page/__fixtures__/migration-22-v21/real-brandsite-footer.v21.json +469 -0
- package/src/brand-page/__fixtures__/migration-22-v21/real-brandsite-header-banner.v21.json +481 -0
- package/src/brand-page/__fixtures__/migration-22-v21/real-brandsite-sections.v21.json +800 -0
- package/src/brand-page/__fixtures__/production-text-style-resolver.fixture.ts +52 -0
- package/src/brand-page/components/about-section/AboutSection.vue.test.ts +0 -10
- package/src/brand-page/components/contact-form/ContactForm.mixin.test.ts +127 -0
- package/src/brand-page/components/contact-form/ContactForm.mixin.ts +31 -14
- package/src/brand-page/components/contact-form/ContactForm.vue +26 -12
- package/src/brand-page/components/contact-form/ContactForm.vue.test.ts +60 -0
- package/src/brand-page/components/mailing-list/MailingList.mixin.test.ts +92 -0
- package/src/brand-page/components/mailing-list/MailingList.mixin.ts +28 -3
- package/src/brand-page/components/mailing-list/MailingList.vue +9 -4
- package/src/brand-page/components/mailing-list/MailingList.vue.test.ts +63 -0
- package/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.mixin.ts +51 -1
- package/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.test.ts +114 -0
- package/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.vue +8 -2
- package/src/brand-page/components/navigation/navigation-carousel/NavigationCarousel.test.ts +182 -0
- package/src/brand-page/components/navigation/navigation-carousel/NavigationCarousel.vue +59 -12
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.ts +40 -3
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.vue +15 -7
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.vue.test.ts +133 -3
- package/src/brand-page/components/page/Page.mixin.ts +41 -34
- package/src/brand-page/components/page/Page.vue +17 -6
- package/src/brand-page/components/page/Page.vue.test.ts +91 -1
- package/src/brand-page/components/page-footer/PageFooter.mixin.ts +32 -2
- package/src/brand-page/components/page-footer/PageFooter.test.ts +79 -0
- package/src/brand-page/components/page-footer/PageFooter.vue +12 -4
- package/src/brand-page/components/payment/Payment.mixin.ts +34 -2
- package/src/brand-page/components/payment/Payment.test.ts +188 -0
- package/src/brand-page/components/payment/Payment.vue +12 -5
- package/src/brand-page/components/payment/RequestPaymentStripe.vue +1 -0
- package/src/brand-page/components/payment/support-me/SupportMe.mixin.ts +49 -2
- package/src/brand-page/components/payment/support-me/SupportMe.test.ts +100 -0
- package/src/brand-page/components/payment/support-me/SupportMe.vue +7 -1
- package/src/brand-page/components/payment/support-me/SupportMe.vue.test.ts +66 -0
- package/src/brand-page/components/save-contact/SaveContactWidget.test.ts +100 -0
- package/src/brand-page/components/save-contact/SaveContactWidget.vue +6 -3
- package/src/brand-page/components/shop/PaymentModal.vue +2 -6
- package/src/brand-page/components/shop/PaymentShippingAddress.vue +6 -0
- package/src/brand-page/components/shop/Shop.vue +15 -2
- package/src/brand-page/components/shop/Shop.vue.test.ts +74 -2
- package/src/brand-page/components/social-links/SocialLinks.stories.ts +0 -3
- package/src/brand-page/components/social-links/SocialLinks.vue.test.ts +0 -3
- package/src/brand-page/components/testimonial-section/__fixtures__/data.ts +0 -3
- package/src/brand-page/components/text/Text.stories.ts +0 -17
- package/src/brand-page/components/text-wrapper/TextWrapper.parity.test.ts +136 -0
- package/src/brand-page/components/text-wrapper/TextWrapper.test.ts +358 -0
- package/src/brand-page/components/text-wrapper/TextWrapper.vue +82 -22
- package/src/brand-page/constants/font.constants.ts +37 -0
- package/src/brand-page/models/footer-icon-color.test.ts +22 -0
- package/src/brand-page/models/index.ts +50 -28
- package/src/brand-page/models/navigation-styles.model.test.ts +77 -1
- package/src/brand-page/models/navigation-styles.model.ts +26 -9
- package/src/brand-page/models/payment.model.ts +15 -6
- package/src/brand-page/models/styles.model.test.ts +104 -0
- package/src/brand-page/models/styles.model.ts +181 -47
- package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +619 -115
- package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +150 -9
- package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +300 -18
- package/src/brand-page/utils/color-palette.util.test.ts +126 -1
- package/src/brand-page/utils/color-palette.util.ts +92 -26
- package/src/brand-page/utils/color.util.test.ts +62 -29
- package/src/brand-page/utils/color.util.ts +77 -14
- package/src/brand-page/utils/container-text-color.util.test.ts +672 -26
- package/src/brand-page/utils/container-text-color.util.ts +472 -46
- package/src/brand-page/utils/index.ts +1 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/edited-brandsite-sections.v22.json +1191 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/new-brandcontact-every-section.v22.json +2026 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/new-brandpage-every-section.v22.json +2017 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/new-brandsite-every-section.v22.json +2031 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandcontact.v22.json +1145 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandpage-general-link.v22.json +645 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandpage-links.v22.json +1136 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandpage-social-links.v22.json +662 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandsite-about.v22.json +638 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandsite-footer.v22.json +610 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandsite-header-banner.v22.json +660 -0
- package/src/brand-page/utils/migration/__snapshots__/migration-22-output/real-brandsite-sections.v22.json +1132 -0
- package/src/brand-page/utils/migration/migration-01.ts +293 -237
- package/src/brand-page/utils/migration/migration-02.ts +8 -1
- package/src/brand-page/utils/migration/migration-20.ts +6 -3
- package/src/brand-page/utils/migration/migration-20_5.test.ts +5 -2
- package/src/brand-page/utils/migration/migration-21.test.ts +34 -0
- package/src/brand-page/utils/migration/migration-21.ts +46 -10
- package/src/brand-page/utils/migration/migration-22.fixed-input.test.ts +43 -0
- package/src/brand-page/utils/migration/migration-22.test.ts +4103 -0
- package/src/brand-page/utils/migration/migration-22.text-font-family.test.ts +72 -0
- package/src/brand-page/utils/migration/migration-22.ts +1336 -0
- package/src/brand-page/utils/migration.util.test.ts +146 -32
- package/src/brand-page/utils/migration.util.ts +18 -0
- package/src/brand-page/utils/model.util.ts +4 -0
- package/src/brand-page/utils/personalisation.util.test.ts +148 -3
- package/src/brand-page/utils/personalisation.util.ts +9 -1
- package/src/brand-page/utils/rte-role-lift.util.ts +409 -0
- package/src/brand-page/utils/style.util.test.ts +35 -2
- package/src/brand-page/utils/style.util.ts +45 -11
- package/src/brand-page/utils/text-role-css.util.test.ts +525 -0
- package/src/brand-page/utils/text-role-css.util.ts +321 -0
- package/src/brand-page/utils/text-role-reconnect.util.test.ts +604 -0
- package/src/brand-page/utils/text-role-reconnect.util.ts +727 -0
- package/src/brand-page/utils/text-style.util.test.ts +305 -0
- package/src/brand-page/utils/text-style.util.ts +198 -24
- package/src/brand-page/utils/view-model.page-data.test.ts +232 -0
- package/src/brand-page/utils/view-model.util.test.ts +954 -133
- package/src/brand-page/utils/view-model.util.ts +187 -139
- package/src/brand-page/view-models.ts +4 -0
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.blank-site.test.ts +57 -0
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +9 -5
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +0 -10
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.ts +0 -1
- package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +0 -44
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +253 -200
- package/src/brand-page-maker/components/shop/AddOrEditProductContainer.vue +1 -0
- package/src/brand-page-maker/components/template-preview/TemplatePreview.vue +1 -0
- package/src/brand-page-maker/composables/ai-chat/useAiMetadataBuilder.ts +2 -0
- package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +1 -0
- package/src/brand-page-maker/composables/rich-text-editor/block-typography.test.ts +519 -0
- package/src/brand-page-maker/composables/rich-text-editor/extensions/FontFamily.test.ts +1 -1
- package/src/brand-page-maker/composables/rich-text-editor/extensions/MaxLength.test.ts +26 -1
- package/src/brand-page-maker/composables/rich-text-editor/extensions/RoleTypographyFill.test.ts +110 -0
- package/src/brand-page-maker/composables/rich-text-editor/extensions/RoleTypographyFill.ts +99 -0
- package/src/brand-page-maker/composables/rich-text-editor/extensions/RteClipboard.ts +397 -0
- package/src/brand-page-maker/composables/rich-text-editor/extensions/ViewDomParser.test.ts +139 -0
- package/src/brand-page-maker/composables/rich-text-editor/font.ts +36 -5
- package/src/brand-page-maker/composables/rich-text-editor/formatting.test.ts +375 -1
- package/src/brand-page-maker/composables/rich-text-editor/formatting.ts +301 -17
- package/src/brand-page-maker/composables/rich-text-editor/hyperlink.test.ts +82 -1
- package/src/brand-page-maker/composables/rich-text-editor/hyperlink.ts +28 -34
- package/src/brand-page-maker/composables/rich-text-editor/keepMarksOnEmpty.test.ts +80 -0
- package/src/brand-page-maker/composables/rich-text-editor/keepMarksOnEmpty.ts +75 -0
- package/src/brand-page-maker/composables/rich-text-editor/spacing.ts +31 -6
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.test.ts +2485 -0
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +435 -337
- package/src/brand-page-maker/constants/config-settings-constant.ts +0 -6
- package/src/brand-page-maker/convertors/text-css-style-options.convertor.test.ts +43 -0
- package/src/brand-page-maker/convertors/text-css-style-options.convertor.ts +6 -2
- package/src/brand-page-maker/convertors/text-size-value.convertor.test.ts +24 -0
- package/src/brand-page-maker/convertors/text-size-value.convertor.ts +17 -13
- package/src/brand-page-maker/default-getters/payment-text-and-border-color.default-getter.ts +7 -22
- package/src/brand-page-maker/default-getters/text-color.default-getter.ts +5 -21
- package/src/brand-page-maker/models/content-settings.test.ts +708 -0
- package/src/brand-page-maker/models/content-settings.ts +133 -82
- package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.test.ts +63 -1
- package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.ts +16 -3
- package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.test.ts +34 -0
- package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.ts +4 -2
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +185 -1
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +22 -34
- package/src/brand-page-maker/stores/history/history-store.ts +35 -2
- package/src/brand-page-maker/utils/__snapshots__/apply-color-strategy.golden.test.ts.snap +528 -0
- package/src/brand-page-maker/utils/__snapshots__/rte-render-parity.test.ts.snap +12 -0
- package/src/brand-page-maker/utils/apply-color-strategy.golden.test.ts +2 -0
- package/src/brand-page-maker/utils/apply-color-strategy.test.ts +181 -3
- package/src/brand-page-maker/utils/apply-color-strategy.ts +36 -4
- package/src/brand-page-maker/utils/index.ts +2 -1
- package/src/brand-page-maker/utils/rich-text-editor.util.test.ts +447 -410
- package/src/brand-page-maker/utils/rich-text-editor.util.ts +610 -506
- package/src/brand-page-maker/utils/rte-authoring.util.test.ts +244 -0
- package/src/brand-page-maker/utils/rte-authoring.util.ts +175 -0
- package/src/brand-page-maker/utils/rte-clipboard.util.test.ts +558 -0
- package/src/brand-page-maker/utils/rte-clipboard.util.ts +473 -0
- package/src/brand-page-maker/utils/rte-features.test.ts +99 -3
- package/src/brand-page-maker/utils/rte-render-parity.test.ts +1 -1
- package/src/brand-page-maker/utils/rte-render.util.test.ts +230 -0
- package/src/brand-page-maker/utils/rte-sanitize-json.test.ts +1 -1
- package/src/brand-page-maker/utils/rte-sanitize.util.ts +14 -3
- package/src/brand-page-maker/utils/rte-schema-version.test.ts +102 -0
- package/src/bundles/bundled-translations.de-DE.json +21 -2
- package/src/bundles/bundled-translations.es-ES.json +21 -2
- package/src/bundles/bundled-translations.fr-CA.json +21 -2
- package/src/bundles/bundled-translations.fr-FR.json +21 -2
- package/src/bundles/bundled-translations.json +21 -2
- package/src/bundles/bundled-translations.pt-BR.json +21 -2
- package/src/bundles/bundled-translations.pt-PT.json +21 -2
- package/src/clients/ai-assistant-client.ts +1 -0
- package/src/composables/useTranslate.ts +2 -1
- package/src/lib.ts +2 -2
- package/src/metadata-builder/builders/footer-builder.test.ts +70 -45
- package/src/metadata-builder/builders/footer-builder.ts +4 -8
- package/src/metadata-builder/builders/global-role-propagation.test.ts +907 -0
- package/src/metadata-builder/builders/global-role-propagation.ts +430 -0
- package/src/metadata-builder/builders/global-styles-builder.test.ts +1020 -0
- package/src/metadata-builder/builders/global-styles-builder.ts +194 -48
- package/src/metadata-builder/builders/header-builder.test.ts +112 -40
- package/src/metadata-builder/builders/header-builder.ts +18 -8
- package/src/metadata-builder/builders/section-builders/about-section-builder.ts +5 -3
- package/src/metadata-builder/builders/section-builders/banner-section-builder.ts +5 -3
- package/src/metadata-builder/builders/section-builders/booking-section-builder.ts +5 -3
- package/src/metadata-builder/builders/section-builders/contact-form-builder.ts +7 -4
- package/src/metadata-builder/builders/section-builders/images-section-builder.ts +5 -3
- package/src/metadata-builder/builders/section-builders/mailing-list-builder.ts +3 -2
- package/src/metadata-builder/builders/section-builders/mailing-list-section-builder.ts +3 -2
- package/src/metadata-builder/builders/section-builders/profile-section-builder.ts +7 -7
- package/src/metadata-builder/builders/section-builders/shapes-section-builder.ts +5 -3
- package/src/metadata-builder/builders/section-builders/social-links-builder.test.ts +2 -2
- package/src/metadata-builder/builders/section-builders/social-links-builder.ts +21 -10
- package/src/metadata-builder/builders/section-builders/support-me-builder.test.ts +10 -0
- package/src/metadata-builder/builders/section-builders/testimonial-section-builder.ts +3 -2
- package/src/metadata-builder/builders/section-builders/text-section-builder.ts +111 -61
- package/src/metadata-builder/builders/section-field-maps.ts +1 -0
- package/src/metadata-builder/builders/section-field-utils.test.ts +545 -2
- package/src/metadata-builder/builders/section-field-utils.ts +202 -69
- package/src/metadata-builder/builders/section-rules/global-styles.rules.ts +38 -13
- package/src/metadata-builder/builders/section-rules/social-links.rules.ts +5 -0
- package/src/metadata-builder/helpers/rte.helpers.test.ts +101 -0
- package/src/metadata-builder/helpers/rte.helpers.ts +129 -43
- package/src/metadata-builder/metadata-executor.test.ts +167 -0
- package/src/metadata-builder/metadata-executor.ts +34 -1
- package/src/metadata-builder/models.ts +2 -0
- package/src/metadata-builder/parsers/ai-toolcall-parser.ts +23 -7
- package/src/metadata-builder/parsers/section-tool-arguments.ts +21 -1
- package/src/metadata-builder/sanitizers/__tests__/section-args-validator.test.ts +215 -0
- package/src/metadata-builder/sanitizers/rte-schema-check.ts +1 -1
- package/src/metadata-builder/sanitizers/sanitizer-rules.ts +4 -8
- package/src/metadata-builder/sanitizers/section-args-validator.ts +136 -53
- package/src/shared/color-palette/section-color-matches.test.ts +15 -11
- package/src/shared/color-palette/section-color-matches.ts +9 -28
- package/src/shared/color-strategies/color-strategies.ts +35 -0
- package/src/shared/color-strategies/rte-color.test.ts +1 -1
- package/src/shared/color-strategies/rte-color.ts +19 -0
- package/src/shared/color-strategies/rte-field-pairs.test.ts +26 -5
- package/src/shared/color-strategies/rte-field-pairs.ts +33 -0
- package/src/shared/content-settings/components/color-matches-panel/ColorMatchesPanel.test.ts +43 -66
- package/src/shared/content-settings/components/color-matches-panel/ColorMatchesPanel.vue +7 -1
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -48
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +33 -7
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.test.ts +128 -1
- package/src/shared/content-settings/components/draggable-item-list/DraggableItemList.vue +1 -0
- package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +0 -6
- package/src/shared/content-settings/components/logo-selection-field/LogoSelection.vue +3 -0
- package/src/shared/content-settings/components/logo-size-field/LogoSizeSlider.vue +3 -0
- package/src/shared/content-settings/components/logo-size-field/LogoSizeSliderField.vue +1 -0
- package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.vue +1 -0
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.test.ts +56 -3
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +11 -4
- package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.test.ts +335 -25
- package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.ts +248 -70
- package/src/shared/content-settings/components/text-style-field/TextStyleField.vue +113 -25
- package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.de-DE.json +17 -10
- package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.es-ES.json +17 -10
- package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.fr-CA.json +17 -10
- package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.fr-FR.json +17 -10
- package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.json +8 -1
- package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.pt-BR.json +17 -10
- package/src/shared/content-settings/components/text-style-field/i18n/text-style-field.pt-PT.json +17 -10
- package/src/shared/content-settings/components/text-style-role-dropdown/TextStyleRoleDropdown.test.ts +141 -0
- package/src/shared/content-settings/components/text-style-role-dropdown/TextStyleRoleDropdown.vue +136 -0
- package/src/shared/content-settings/store/content-settings-store.test.ts +491 -6
- package/src/shared/content-settings/store/content-settings-store.ts +159 -17
- package/src/shared/logo-settings/components/EditLogoSettings.vue +1 -0
- package/src/shared/logo-settings/components/LogoVariations.vue +1 -0
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +1 -0
- package/src/shared/navigation-style-settings/store/index.test.ts +295 -0
- package/src/shared/navigation-style-settings/store/index.ts +65 -15
- package/src/shared/page-settings/components/header-settings-panel/HeaderSettingsPanel.vue +2 -0
- package/src/shared/page-settings/components/page-settings/PageElement.vue +1 -0
- package/src/shared/page-settings/components/page-settings-section-styles/HeaderButtonSettings.test.ts +44 -4
- package/src/shared/page-settings/components/page-settings-section-styles/HeaderButtonSettings.vue +13 -4
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.navigation.test.ts +89 -0
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.text-style.test.ts +91 -0
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +14 -2
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.vue +2 -0
- package/src/shared/page-settings/store/page-settings-store.text-style.test.ts +84 -0
- package/src/shared/page-settings/store/page-settings-store.ts +30 -1
- package/src/shared/rte-extensions/AutoLink.test.ts +98 -0
- package/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/AutoLink.ts +87 -58
- package/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/MaxLength.ts +4 -1
- package/src/shared/rte-extensions/TextEffects.ts +151 -0
- package/src/shared/rte-extensions/ViewDomParser.ts +27 -0
- package/src/{brand-page-maker/composables/rich-text-editor/getRteExtensions.ts → shared/rte-extensions.util.ts} +66 -9
- package/src/shared/rte-link.util.ts +2 -0
- package/src/shared/rte-render.util.ts +385 -0
- package/src/shared/rte-shape.util.ts +29 -0
- package/src/shared/side-bar/store/side-bar-store.test.ts +27 -1
- package/src/shared/side-bar/store/side-bar-store.ts +11 -0
- package/src/shared/style-settings/components/StyleSettings.mixin.ts +7 -3
- package/src/shared/style-settings/components/StyleSettings.test.ts +116 -0
- package/src/shared/style-settings/components/StyleSettings.vue +75 -25
- package/src/shared/style-settings/components/i18n/style-settings.de-DE.json +32 -20
- package/src/shared/style-settings/components/i18n/style-settings.es-ES.json +32 -20
- package/src/shared/style-settings/components/i18n/style-settings.fr-CA.json +32 -20
- package/src/shared/style-settings/components/i18n/style-settings.fr-FR.json +32 -20
- package/src/shared/style-settings/components/i18n/style-settings.json +13 -3
- package/src/shared/style-settings/components/i18n/style-settings.pt-BR.json +32 -20
- package/src/shared/style-settings/components/i18n/style-settings.pt-PT.json +32 -20
- package/src/shared/style-settings/components/text-style-options-settings-with-state/TextStyleOptionsSettingsWithState.vue +14 -34
- package/src/shared/style-settings/store/style-settings-store.ts +3 -49
- package/src/shared/style-settings/text-style-size-order.test.ts +76 -0
- package/src/shared/style-settings/text-style-size-order.ts +28 -0
- package/src/shared/template-settings/components/TemplatesSettings.vue +4 -0
- package/src/shared/text-role-typography.util.ts +277 -0
- package/src/utils/minify-brand-page-metadata.test.ts +102 -7
- package/src/utils/minify-brand-page-metadata.ts +62 -8
- package/lib/src/brand-page-maker/composables/rich-text-editor/extensions/AutoLink.d.ts +0 -2
- package/lib/src/brand-page-maker/composables/rich-text-editor/getRteExtensions.d.ts +0 -28
- package/lib/src/brand-page-maker/utils/rte-render.util.d.ts +0 -63
- package/lib/src/brand-page-maker/utils/rte-render.util.js +0 -106
- package/lib/src/brand-page-maker/utils/rte-shape.d.ts +0 -18
- package/lib/src/brand-page-maker/utils/rte-shape.js +0 -21
- package/lib/src/metadata-builder/builders/global-font-propagation.d.ts +0 -41
- package/lib/src/metadata-builder/builders/global-font-propagation.js +0 -146
- package/src/brand-page-maker/utils/rte-render.util.ts +0 -179
- package/src/brand-page-maker/utils/rte-shape.ts +0 -29
- package/src/metadata-builder/builders/global-font-propagation.test.ts +0 -401
- package/src/metadata-builder/builders/global-font-propagation.ts +0 -238
- package/src/shared/style-settings/components/StyleSettingsSection.vue +0 -8
- /package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/FontFamily.d.ts +0 -0
- /package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/FontFamily.js +0 -0
- /package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/LetterSpacing.d.ts +0 -0
- /package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/LetterSpacing.js +0 -0
- /package/lib/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/MaxLength.d.ts +0 -0
- /package/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/FontFamily.ts +0 -0
- /package/src/{brand-page-maker/composables/rich-text-editor/extensions → shared/rte-extensions}/LetterSpacing.ts +0 -0
|
@@ -34,9 +34,11 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
34
34
|
"pageFooterDesktop": PageFooterDesktop {
|
|
35
35
|
"backgroundStyle": {},
|
|
36
36
|
"copyrightStyle": {
|
|
37
|
-
"
|
|
37
|
+
"color": "var(--palette-0)",
|
|
38
|
+
"fontSize": "1em",
|
|
39
|
+
"letterSpacing": "0",
|
|
38
40
|
"textAlign": "center",
|
|
39
|
-
"textStyleType": "
|
|
41
|
+
"textStyleType": "paragraph1",
|
|
40
42
|
},
|
|
41
43
|
"copyrightText": "© 2026 by [Company Name]. All Rights Reserved.",
|
|
42
44
|
"displayStyle": "centered-menu",
|
|
@@ -88,15 +90,16 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
88
90
|
"width": 0,
|
|
89
91
|
},
|
|
90
92
|
],
|
|
91
|
-
"textFontFamily": undefined,
|
|
92
93
|
"viewport": "desktop",
|
|
93
94
|
},
|
|
94
95
|
"pageFooterMobile": PageFooterMobile {
|
|
95
96
|
"backgroundStyle": {},
|
|
96
97
|
"copyrightStyle": {
|
|
97
|
-
"
|
|
98
|
+
"color": "var(--palette-0)",
|
|
99
|
+
"fontSize": "1em",
|
|
100
|
+
"letterSpacing": "0",
|
|
98
101
|
"textAlign": "center",
|
|
99
|
-
"textStyleType": "
|
|
102
|
+
"textStyleType": "paragraph1",
|
|
100
103
|
},
|
|
101
104
|
"copyrightText": "© 2026 by [Company Name]. All Rights Reserved.",
|
|
102
105
|
"displayStyle": "centered-menu",
|
|
@@ -148,7 +151,6 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
148
151
|
"width": 0,
|
|
149
152
|
},
|
|
150
153
|
],
|
|
151
|
-
"textFontFamily": undefined,
|
|
152
154
|
"viewport": "mobile",
|
|
153
155
|
},
|
|
154
156
|
"pageHeaderDesktop": PageHeaderDesktop {
|
|
@@ -175,23 +177,20 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
175
177
|
"borderLeftWidth": "0px",
|
|
176
178
|
"borderRightWidth": "0px",
|
|
177
179
|
"borderTopWidth": "0px",
|
|
178
|
-
"color":
|
|
179
|
-
"fontFamily": "Lato",
|
|
180
|
+
"color": "var(--palette-0)",
|
|
180
181
|
"fontSize": "1em",
|
|
181
|
-
"fontStyle": undefined,
|
|
182
|
-
"fontWeight": "normal",
|
|
183
182
|
"lineHeight": "1.3",
|
|
184
183
|
"textAlign": "center",
|
|
185
|
-
"
|
|
184
|
+
"textStyleType": "paragraph1",
|
|
186
185
|
},
|
|
187
186
|
"displayType": "nav-tab-tabs",
|
|
188
187
|
"hamburgerMenuStyle": NavigationMenuStyles {
|
|
189
188
|
"defaultButtonStyle": {
|
|
190
189
|
"backgroundColor": undefined,
|
|
191
|
-
"color":
|
|
192
|
-
"
|
|
190
|
+
"color": "var(--palette-0)",
|
|
191
|
+
"lineHeight": "normal",
|
|
193
192
|
"textAlign": "left",
|
|
194
|
-
"textStyleType":
|
|
193
|
+
"textStyleType": "button",
|
|
195
194
|
},
|
|
196
195
|
"iconStyle": {
|
|
197
196
|
"backgroundColor": undefined,
|
|
@@ -250,23 +249,20 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
250
249
|
"borderLeftWidth": "0px",
|
|
251
250
|
"borderRightWidth": "0px",
|
|
252
251
|
"borderTopWidth": "0px",
|
|
253
|
-
"color":
|
|
254
|
-
"fontFamily": "Lato",
|
|
252
|
+
"color": "var(--palette-0)",
|
|
255
253
|
"fontSize": "1em",
|
|
256
|
-
"fontStyle": undefined,
|
|
257
|
-
"fontWeight": "normal",
|
|
258
254
|
"lineHeight": "1.3",
|
|
259
255
|
"textAlign": "center",
|
|
260
|
-
"
|
|
256
|
+
"textStyleType": "paragraph1",
|
|
261
257
|
},
|
|
262
258
|
"displayType": "nav-tab-tabs",
|
|
263
259
|
"hamburgerMenuStyle": NavigationMenuStyles {
|
|
264
260
|
"defaultButtonStyle": {
|
|
265
261
|
"backgroundColor": undefined,
|
|
266
|
-
"color":
|
|
267
|
-
"
|
|
262
|
+
"color": "var(--palette-0)",
|
|
263
|
+
"lineHeight": "normal",
|
|
268
264
|
"textAlign": "left",
|
|
269
|
-
"textStyleType":
|
|
265
|
+
"textStyleType": "button",
|
|
270
266
|
},
|
|
271
267
|
"iconStyle": {
|
|
272
268
|
"backgroundColor": undefined,
|
|
@@ -312,22 +308,21 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
312
308
|
"buttonText": "Get Started",
|
|
313
309
|
"buttonTextStyle": {
|
|
314
310
|
"applyAutoScale": true,
|
|
315
|
-
"fontFamily": "Lato",
|
|
316
|
-
"fontSize": "1em",
|
|
317
311
|
"lineHeight": "1.5",
|
|
318
312
|
"overflowWrap": "anywhere",
|
|
319
313
|
"textAlign": "center",
|
|
314
|
+
"textStyleType": "button",
|
|
320
315
|
"wordBreak": "normal",
|
|
321
316
|
},
|
|
322
317
|
"colorReplacements": [],
|
|
323
318
|
"description": "",
|
|
324
319
|
"descriptionStyle": {
|
|
325
320
|
"applyAutoScale": true,
|
|
326
|
-
"
|
|
321
|
+
"color": "var(--palette-0)",
|
|
327
322
|
"fontSize": "1em",
|
|
328
|
-
"lineHeight": "1.5",
|
|
329
323
|
"overflowWrap": "anywhere",
|
|
330
324
|
"textAlign": "center",
|
|
325
|
+
"textStyleType": "paragraph2",
|
|
331
326
|
"wordBreak": "normal",
|
|
332
327
|
},
|
|
333
328
|
"displayStyle": "big-image",
|
|
@@ -335,14 +330,45 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
335
330
|
"imageUrl": "https://images.unsplash.com/photo-1657664072470-99b02c2143f2?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMjQzOTV8MHwxfHNlYXJjaHwxfHxnYW1pbmd8ZW58MHx8fHwxNzIwOTY3NDU1fDA&ixlib=rb-4.0.3",
|
|
336
331
|
"isFullWidth": true,
|
|
337
332
|
"role": "banner-section",
|
|
338
|
-
"title":
|
|
333
|
+
"title": {
|
|
334
|
+
"content": [
|
|
335
|
+
{
|
|
336
|
+
"attrs": {
|
|
337
|
+
"textAlign": "center",
|
|
338
|
+
},
|
|
339
|
+
"content": [
|
|
340
|
+
{
|
|
341
|
+
"marks": [
|
|
342
|
+
{
|
|
343
|
+
"attrs": {
|
|
344
|
+
"color": "var(--palette-0)",
|
|
345
|
+
"fontFamily": "var(--role-font-family)",
|
|
346
|
+
"fontSize": "2.25em",
|
|
347
|
+
"fontStyle": "var(--role-font-style)",
|
|
348
|
+
"fontWeight": "normal",
|
|
349
|
+
"letterSpacing": "var(--role-letter-spacing)",
|
|
350
|
+
"lineHeight": "var(--role-line-height)",
|
|
351
|
+
"textDecoration": "var(--role-text-decoration)",
|
|
352
|
+
},
|
|
353
|
+
"type": "textStyle",
|
|
354
|
+
},
|
|
355
|
+
],
|
|
356
|
+
"text": "This is a banner",
|
|
357
|
+
"type": "text",
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
"type": "paragraph",
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
"type": "doc",
|
|
364
|
+
},
|
|
339
365
|
"titleStyle": {
|
|
340
366
|
"applyAutoScale": true,
|
|
341
|
-
"fontFamily": "Lato",
|
|
342
367
|
"fontSize": "2.25em",
|
|
343
|
-
"
|
|
368
|
+
"fontWeight": "normal",
|
|
344
369
|
"overflowWrap": "anywhere",
|
|
345
370
|
"textAlign": "center",
|
|
371
|
+
"textStyleType": "heading4",
|
|
346
372
|
"wordBreak": "normal",
|
|
347
373
|
},
|
|
348
374
|
"topPadding": 32,
|
|
@@ -422,12 +448,25 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
422
448
|
},
|
|
423
449
|
},
|
|
424
450
|
"textStyles": TextStyles {
|
|
425
|
-
"textFontFamily": "lato",
|
|
426
451
|
"textStyleOptions": {
|
|
452
|
+
"button": TextStyleOption {
|
|
453
|
+
"isModified": false,
|
|
454
|
+
"style": {
|
|
455
|
+
"fontFamily": "Lato",
|
|
456
|
+
"fontSize": "1em",
|
|
457
|
+
"fontStyle": undefined,
|
|
458
|
+
"fontWeight": "normal",
|
|
459
|
+
"letterSpacing": undefined,
|
|
460
|
+
"lineHeight": "1.2",
|
|
461
|
+
"textDecoration": undefined,
|
|
462
|
+
"textStyleType": undefined,
|
|
463
|
+
},
|
|
464
|
+
"title": "Button",
|
|
465
|
+
"type": "button",
|
|
466
|
+
},
|
|
427
467
|
"buttons": TextStyleOption {
|
|
428
468
|
"isModified": false,
|
|
429
469
|
"style": {
|
|
430
|
-
"color": "var(--palette-1)",
|
|
431
470
|
"fontFamily": "Lato",
|
|
432
471
|
"fontSize": "1em",
|
|
433
472
|
"fontStyle": undefined,
|
|
@@ -440,10 +479,99 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
440
479
|
"title": "Button Texts",
|
|
441
480
|
"type": "buttons",
|
|
442
481
|
},
|
|
482
|
+
"heading1": TextStyleOption {
|
|
483
|
+
"isModified": false,
|
|
484
|
+
"style": {
|
|
485
|
+
"fontFamily": "Lato",
|
|
486
|
+
"fontSize": "6.875em",
|
|
487
|
+
"fontStyle": undefined,
|
|
488
|
+
"fontWeight": "bold",
|
|
489
|
+
"letterSpacing": undefined,
|
|
490
|
+
"lineHeight": "1.2",
|
|
491
|
+
"textDecoration": undefined,
|
|
492
|
+
"textStyleType": undefined,
|
|
493
|
+
},
|
|
494
|
+
"title": "Heading 1",
|
|
495
|
+
"type": "heading1",
|
|
496
|
+
},
|
|
497
|
+
"heading2": TextStyleOption {
|
|
498
|
+
"isModified": false,
|
|
499
|
+
"style": {
|
|
500
|
+
"fontFamily": "Lato",
|
|
501
|
+
"fontSize": "5.25em",
|
|
502
|
+
"fontStyle": undefined,
|
|
503
|
+
"fontWeight": "bold",
|
|
504
|
+
"letterSpacing": undefined,
|
|
505
|
+
"lineHeight": "1.2",
|
|
506
|
+
"textDecoration": undefined,
|
|
507
|
+
"textStyleType": undefined,
|
|
508
|
+
},
|
|
509
|
+
"title": "Heading 2",
|
|
510
|
+
"type": "heading2",
|
|
511
|
+
},
|
|
512
|
+
"heading3": TextStyleOption {
|
|
513
|
+
"isModified": false,
|
|
514
|
+
"style": {
|
|
515
|
+
"fontFamily": "Lato",
|
|
516
|
+
"fontSize": "3.1875em",
|
|
517
|
+
"fontStyle": undefined,
|
|
518
|
+
"fontWeight": "bold",
|
|
519
|
+
"letterSpacing": undefined,
|
|
520
|
+
"lineHeight": "1.25",
|
|
521
|
+
"textDecoration": undefined,
|
|
522
|
+
"textStyleType": undefined,
|
|
523
|
+
},
|
|
524
|
+
"title": "Heading 3",
|
|
525
|
+
"type": "heading3",
|
|
526
|
+
},
|
|
527
|
+
"heading4": TextStyleOption {
|
|
528
|
+
"isModified": false,
|
|
529
|
+
"style": {
|
|
530
|
+
"fontFamily": "Lato",
|
|
531
|
+
"fontSize": "2.1875em",
|
|
532
|
+
"fontStyle": undefined,
|
|
533
|
+
"fontWeight": "bold",
|
|
534
|
+
"letterSpacing": undefined,
|
|
535
|
+
"lineHeight": "1.3",
|
|
536
|
+
"textDecoration": undefined,
|
|
537
|
+
"textStyleType": undefined,
|
|
538
|
+
},
|
|
539
|
+
"title": "Heading 4",
|
|
540
|
+
"type": "heading4",
|
|
541
|
+
},
|
|
542
|
+
"heading5": TextStyleOption {
|
|
543
|
+
"isModified": false,
|
|
544
|
+
"style": {
|
|
545
|
+
"fontFamily": "Lato",
|
|
546
|
+
"fontSize": "1.4375em",
|
|
547
|
+
"fontStyle": undefined,
|
|
548
|
+
"fontWeight": "bold",
|
|
549
|
+
"letterSpacing": undefined,
|
|
550
|
+
"lineHeight": "1.35",
|
|
551
|
+
"textDecoration": undefined,
|
|
552
|
+
"textStyleType": undefined,
|
|
553
|
+
},
|
|
554
|
+
"title": "Heading 5",
|
|
555
|
+
"type": "heading5",
|
|
556
|
+
},
|
|
557
|
+
"heading6": TextStyleOption {
|
|
558
|
+
"isModified": false,
|
|
559
|
+
"style": {
|
|
560
|
+
"fontFamily": "Lato",
|
|
561
|
+
"fontSize": "1em",
|
|
562
|
+
"fontStyle": undefined,
|
|
563
|
+
"fontWeight": "bold",
|
|
564
|
+
"letterSpacing": undefined,
|
|
565
|
+
"lineHeight": "1.4",
|
|
566
|
+
"textDecoration": undefined,
|
|
567
|
+
"textStyleType": undefined,
|
|
568
|
+
},
|
|
569
|
+
"title": "Heading 6",
|
|
570
|
+
"type": "heading6",
|
|
571
|
+
},
|
|
443
572
|
"headings": TextStyleOption {
|
|
444
573
|
"isModified": false,
|
|
445
574
|
"style": {
|
|
446
|
-
"color": "var(--palette-0)",
|
|
447
575
|
"fontFamily": "Lato",
|
|
448
576
|
"fontSize": "1.5em",
|
|
449
577
|
"fontStyle": undefined,
|
|
@@ -456,10 +584,54 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
456
584
|
"title": "Headings",
|
|
457
585
|
"type": "headings",
|
|
458
586
|
},
|
|
587
|
+
"paragraph1": TextStyleOption {
|
|
588
|
+
"isModified": false,
|
|
589
|
+
"style": {
|
|
590
|
+
"fontFamily": "Lato",
|
|
591
|
+
"fontSize": "1.375em",
|
|
592
|
+
"fontStyle": undefined,
|
|
593
|
+
"fontWeight": "normal",
|
|
594
|
+
"letterSpacing": undefined,
|
|
595
|
+
"lineHeight": "1.5",
|
|
596
|
+
"textDecoration": undefined,
|
|
597
|
+
"textStyleType": undefined,
|
|
598
|
+
},
|
|
599
|
+
"title": "Paragraph 1",
|
|
600
|
+
"type": "paragraph1",
|
|
601
|
+
},
|
|
602
|
+
"paragraph2": TextStyleOption {
|
|
603
|
+
"isModified": false,
|
|
604
|
+
"style": {
|
|
605
|
+
"fontFamily": "Lato",
|
|
606
|
+
"fontSize": "1.125em",
|
|
607
|
+
"fontStyle": undefined,
|
|
608
|
+
"fontWeight": "normal",
|
|
609
|
+
"letterSpacing": undefined,
|
|
610
|
+
"lineHeight": "1.5",
|
|
611
|
+
"textDecoration": undefined,
|
|
612
|
+
"textStyleType": undefined,
|
|
613
|
+
},
|
|
614
|
+
"title": "Paragraph 2",
|
|
615
|
+
"type": "paragraph2",
|
|
616
|
+
},
|
|
617
|
+
"paragraph3": TextStyleOption {
|
|
618
|
+
"isModified": false,
|
|
619
|
+
"style": {
|
|
620
|
+
"fontFamily": "Lato",
|
|
621
|
+
"fontSize": "0.875em",
|
|
622
|
+
"fontStyle": undefined,
|
|
623
|
+
"fontWeight": "normal",
|
|
624
|
+
"letterSpacing": undefined,
|
|
625
|
+
"lineHeight": "1.6",
|
|
626
|
+
"textDecoration": undefined,
|
|
627
|
+
"textStyleType": undefined,
|
|
628
|
+
},
|
|
629
|
+
"title": "Paragraph 3",
|
|
630
|
+
"type": "paragraph3",
|
|
631
|
+
},
|
|
459
632
|
"paragraphs": TextStyleOption {
|
|
460
633
|
"isModified": false,
|
|
461
634
|
"style": {
|
|
462
|
-
"color": "var(--palette-0)",
|
|
463
635
|
"fontFamily": "Lato",
|
|
464
636
|
"fontSize": "1em",
|
|
465
637
|
"fontStyle": undefined,
|
|
@@ -475,7 +647,6 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
475
647
|
"titles": TextStyleOption {
|
|
476
648
|
"isModified": false,
|
|
477
649
|
"style": {
|
|
478
|
-
"color": "var(--palette-0)",
|
|
479
650
|
"fontFamily": "Lato",
|
|
480
651
|
"fontSize": "2.25em",
|
|
481
652
|
"fontStyle": undefined,
|
|
@@ -491,7 +662,7 @@ exports[`migration.util > Banner Contents - text Align and Font Family should no
|
|
|
491
662
|
},
|
|
492
663
|
},
|
|
493
664
|
},
|
|
494
|
-
"v":
|
|
665
|
+
"v": 22,
|
|
495
666
|
},
|
|
496
667
|
"useOldLogoRenderSize": true,
|
|
497
668
|
}
|
|
@@ -531,9 +702,11 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
531
702
|
"pageFooterDesktop": PageFooterDesktop {
|
|
532
703
|
"backgroundStyle": {},
|
|
533
704
|
"copyrightStyle": {
|
|
534
|
-
"
|
|
705
|
+
"color": "var(--palette-0)",
|
|
706
|
+
"fontSize": "1em",
|
|
707
|
+
"letterSpacing": "0",
|
|
535
708
|
"textAlign": "center",
|
|
536
|
-
"textStyleType": "
|
|
709
|
+
"textStyleType": "paragraph1",
|
|
537
710
|
},
|
|
538
711
|
"copyrightText": "© 2026 by [Company Name]. All Rights Reserved.",
|
|
539
712
|
"displayStyle": "centered-menu",
|
|
@@ -585,15 +758,16 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
585
758
|
"width": 0,
|
|
586
759
|
},
|
|
587
760
|
],
|
|
588
|
-
"textFontFamily": undefined,
|
|
589
761
|
"viewport": "desktop",
|
|
590
762
|
},
|
|
591
763
|
"pageFooterMobile": PageFooterMobile {
|
|
592
764
|
"backgroundStyle": {},
|
|
593
765
|
"copyrightStyle": {
|
|
594
|
-
"
|
|
766
|
+
"color": "var(--palette-0)",
|
|
767
|
+
"fontSize": "1em",
|
|
768
|
+
"letterSpacing": "0",
|
|
595
769
|
"textAlign": "center",
|
|
596
|
-
"textStyleType": "
|
|
770
|
+
"textStyleType": "paragraph1",
|
|
597
771
|
},
|
|
598
772
|
"copyrightText": "© 2026 by [Company Name]. All Rights Reserved.",
|
|
599
773
|
"displayStyle": "centered-menu",
|
|
@@ -645,7 +819,6 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
645
819
|
"width": 0,
|
|
646
820
|
},
|
|
647
821
|
],
|
|
648
|
-
"textFontFamily": undefined,
|
|
649
822
|
"viewport": "mobile",
|
|
650
823
|
},
|
|
651
824
|
"pageHeaderDesktop": PageHeaderDesktop {
|
|
@@ -672,23 +845,20 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
672
845
|
"borderLeftWidth": "0px",
|
|
673
846
|
"borderRightWidth": "0px",
|
|
674
847
|
"borderTopWidth": "0px",
|
|
675
|
-
"color":
|
|
676
|
-
"fontFamily": "Lato",
|
|
848
|
+
"color": "var(--palette-0)",
|
|
677
849
|
"fontSize": "1em",
|
|
678
|
-
"fontStyle": undefined,
|
|
679
|
-
"fontWeight": "normal",
|
|
680
850
|
"lineHeight": "1.3",
|
|
681
851
|
"textAlign": "center",
|
|
682
|
-
"
|
|
852
|
+
"textStyleType": "paragraph1",
|
|
683
853
|
},
|
|
684
854
|
"displayType": "nav-tab-tabs",
|
|
685
855
|
"hamburgerMenuStyle": NavigationMenuStyles {
|
|
686
856
|
"defaultButtonStyle": {
|
|
687
857
|
"backgroundColor": undefined,
|
|
688
|
-
"color":
|
|
689
|
-
"
|
|
858
|
+
"color": "var(--palette-0)",
|
|
859
|
+
"lineHeight": "normal",
|
|
690
860
|
"textAlign": "left",
|
|
691
|
-
"textStyleType":
|
|
861
|
+
"textStyleType": "button",
|
|
692
862
|
},
|
|
693
863
|
"iconStyle": {
|
|
694
864
|
"backgroundColor": undefined,
|
|
@@ -747,23 +917,20 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
747
917
|
"borderLeftWidth": "0px",
|
|
748
918
|
"borderRightWidth": "0px",
|
|
749
919
|
"borderTopWidth": "0px",
|
|
750
|
-
"color":
|
|
751
|
-
"fontFamily": "Lato",
|
|
920
|
+
"color": "var(--palette-0)",
|
|
752
921
|
"fontSize": "1em",
|
|
753
|
-
"fontStyle": undefined,
|
|
754
|
-
"fontWeight": "normal",
|
|
755
922
|
"lineHeight": "1.3",
|
|
756
923
|
"textAlign": "center",
|
|
757
|
-
"
|
|
924
|
+
"textStyleType": "paragraph1",
|
|
758
925
|
},
|
|
759
926
|
"displayType": "nav-tab-tabs",
|
|
760
927
|
"hamburgerMenuStyle": NavigationMenuStyles {
|
|
761
928
|
"defaultButtonStyle": {
|
|
762
929
|
"backgroundColor": undefined,
|
|
763
|
-
"color":
|
|
764
|
-
"
|
|
930
|
+
"color": "var(--palette-0)",
|
|
931
|
+
"lineHeight": "normal",
|
|
765
932
|
"textAlign": "left",
|
|
766
|
-
"textStyleType":
|
|
933
|
+
"textStyleType": "button",
|
|
767
934
|
},
|
|
768
935
|
"iconStyle": {
|
|
769
936
|
"backgroundColor": undefined,
|
|
@@ -805,27 +972,56 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
805
972
|
"bottomPadding": 12,
|
|
806
973
|
"id": "bec5aca6-e3c5-4d4c-93fa-2894816a8040",
|
|
807
974
|
"text": "",
|
|
808
|
-
"textColor": {},
|
|
809
975
|
"textItems": [
|
|
810
976
|
{
|
|
811
977
|
"id": "00000000-0000-4000-8000-000000000007",
|
|
812
|
-
"text":
|
|
978
|
+
"text": {
|
|
979
|
+
"content": [
|
|
980
|
+
{
|
|
981
|
+
"attrs": {
|
|
982
|
+
"textAlign": "left",
|
|
983
|
+
},
|
|
984
|
+
"content": [
|
|
985
|
+
{
|
|
986
|
+
"marks": [
|
|
987
|
+
{
|
|
988
|
+
"attrs": {
|
|
989
|
+
"color": "var(--palette-0)",
|
|
990
|
+
"fontFamily": "var(--role-font-family)",
|
|
991
|
+
"fontSize": "1em",
|
|
992
|
+
"fontStyle": "var(--role-font-style)",
|
|
993
|
+
"fontWeight": "var(--role-font-weight)",
|
|
994
|
+
"letterSpacing": "var(--role-letter-spacing)",
|
|
995
|
+
"lineHeight": "var(--role-line-height)",
|
|
996
|
+
"textDecoration": "var(--role-text-decoration)",
|
|
997
|
+
},
|
|
998
|
+
"type": "textStyle",
|
|
999
|
+
},
|
|
1000
|
+
],
|
|
1001
|
+
"text": "Christmas",
|
|
1002
|
+
"type": "text",
|
|
1003
|
+
},
|
|
1004
|
+
],
|
|
1005
|
+
"type": "paragraph",
|
|
1006
|
+
},
|
|
1007
|
+
],
|
|
1008
|
+
"type": "doc",
|
|
1009
|
+
},
|
|
813
1010
|
"textStyle": {
|
|
814
1011
|
"applyAutoScale": true,
|
|
815
|
-
"
|
|
816
|
-
"lineHeight": "1.5",
|
|
1012
|
+
"fontSize": "1em",
|
|
817
1013
|
"textAlign": "left",
|
|
1014
|
+
"textStyleType": "paragraph1",
|
|
818
1015
|
},
|
|
819
1016
|
},
|
|
820
1017
|
],
|
|
821
|
-
"textSize": {
|
|
822
|
-
"fontSize": "1em",
|
|
823
|
-
"lineHeight": "1.2",
|
|
824
|
-
},
|
|
825
1018
|
"textStyle": {
|
|
826
1019
|
"applyAutoScale": true,
|
|
1020
|
+
"color": "var(--palette-0)",
|
|
1021
|
+
"fontSize": "1em",
|
|
1022
|
+
"letterSpacing": "0",
|
|
827
1023
|
"textAlign": "center",
|
|
828
|
-
"textStyleType": "
|
|
1024
|
+
"textStyleType": "paragraph1",
|
|
829
1025
|
},
|
|
830
1026
|
"topPadding": 12,
|
|
831
1027
|
"type": "text",
|
|
@@ -903,12 +1099,25 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
903
1099
|
},
|
|
904
1100
|
},
|
|
905
1101
|
"textStyles": TextStyles {
|
|
906
|
-
"textFontFamily": "lato",
|
|
907
1102
|
"textStyleOptions": {
|
|
1103
|
+
"button": TextStyleOption {
|
|
1104
|
+
"isModified": false,
|
|
1105
|
+
"style": {
|
|
1106
|
+
"fontFamily": "Lato",
|
|
1107
|
+
"fontSize": "1em",
|
|
1108
|
+
"fontStyle": undefined,
|
|
1109
|
+
"fontWeight": "normal",
|
|
1110
|
+
"letterSpacing": undefined,
|
|
1111
|
+
"lineHeight": "1.2",
|
|
1112
|
+
"textDecoration": undefined,
|
|
1113
|
+
"textStyleType": undefined,
|
|
1114
|
+
},
|
|
1115
|
+
"title": "Button",
|
|
1116
|
+
"type": "button",
|
|
1117
|
+
},
|
|
908
1118
|
"buttons": TextStyleOption {
|
|
909
1119
|
"isModified": false,
|
|
910
1120
|
"style": {
|
|
911
|
-
"color": "var(--palette-1)",
|
|
912
1121
|
"fontFamily": "Lato",
|
|
913
1122
|
"fontSize": "1em",
|
|
914
1123
|
"fontStyle": undefined,
|
|
@@ -921,10 +1130,99 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
921
1130
|
"title": "Button Texts",
|
|
922
1131
|
"type": "buttons",
|
|
923
1132
|
},
|
|
1133
|
+
"heading1": TextStyleOption {
|
|
1134
|
+
"isModified": false,
|
|
1135
|
+
"style": {
|
|
1136
|
+
"fontFamily": "Lato",
|
|
1137
|
+
"fontSize": "6.875em",
|
|
1138
|
+
"fontStyle": undefined,
|
|
1139
|
+
"fontWeight": "bold",
|
|
1140
|
+
"letterSpacing": undefined,
|
|
1141
|
+
"lineHeight": "1.2",
|
|
1142
|
+
"textDecoration": undefined,
|
|
1143
|
+
"textStyleType": undefined,
|
|
1144
|
+
},
|
|
1145
|
+
"title": "Heading 1",
|
|
1146
|
+
"type": "heading1",
|
|
1147
|
+
},
|
|
1148
|
+
"heading2": TextStyleOption {
|
|
1149
|
+
"isModified": false,
|
|
1150
|
+
"style": {
|
|
1151
|
+
"fontFamily": "Lato",
|
|
1152
|
+
"fontSize": "5.25em",
|
|
1153
|
+
"fontStyle": undefined,
|
|
1154
|
+
"fontWeight": "bold",
|
|
1155
|
+
"letterSpacing": undefined,
|
|
1156
|
+
"lineHeight": "1.2",
|
|
1157
|
+
"textDecoration": undefined,
|
|
1158
|
+
"textStyleType": undefined,
|
|
1159
|
+
},
|
|
1160
|
+
"title": "Heading 2",
|
|
1161
|
+
"type": "heading2",
|
|
1162
|
+
},
|
|
1163
|
+
"heading3": TextStyleOption {
|
|
1164
|
+
"isModified": false,
|
|
1165
|
+
"style": {
|
|
1166
|
+
"fontFamily": "Lato",
|
|
1167
|
+
"fontSize": "3.1875em",
|
|
1168
|
+
"fontStyle": undefined,
|
|
1169
|
+
"fontWeight": "bold",
|
|
1170
|
+
"letterSpacing": undefined,
|
|
1171
|
+
"lineHeight": "1.25",
|
|
1172
|
+
"textDecoration": undefined,
|
|
1173
|
+
"textStyleType": undefined,
|
|
1174
|
+
},
|
|
1175
|
+
"title": "Heading 3",
|
|
1176
|
+
"type": "heading3",
|
|
1177
|
+
},
|
|
1178
|
+
"heading4": TextStyleOption {
|
|
1179
|
+
"isModified": false,
|
|
1180
|
+
"style": {
|
|
1181
|
+
"fontFamily": "Lato",
|
|
1182
|
+
"fontSize": "2.1875em",
|
|
1183
|
+
"fontStyle": undefined,
|
|
1184
|
+
"fontWeight": "bold",
|
|
1185
|
+
"letterSpacing": undefined,
|
|
1186
|
+
"lineHeight": "1.3",
|
|
1187
|
+
"textDecoration": undefined,
|
|
1188
|
+
"textStyleType": undefined,
|
|
1189
|
+
},
|
|
1190
|
+
"title": "Heading 4",
|
|
1191
|
+
"type": "heading4",
|
|
1192
|
+
},
|
|
1193
|
+
"heading5": TextStyleOption {
|
|
1194
|
+
"isModified": false,
|
|
1195
|
+
"style": {
|
|
1196
|
+
"fontFamily": "Lato",
|
|
1197
|
+
"fontSize": "1.4375em",
|
|
1198
|
+
"fontStyle": undefined,
|
|
1199
|
+
"fontWeight": "bold",
|
|
1200
|
+
"letterSpacing": undefined,
|
|
1201
|
+
"lineHeight": "1.35",
|
|
1202
|
+
"textDecoration": undefined,
|
|
1203
|
+
"textStyleType": undefined,
|
|
1204
|
+
},
|
|
1205
|
+
"title": "Heading 5",
|
|
1206
|
+
"type": "heading5",
|
|
1207
|
+
},
|
|
1208
|
+
"heading6": TextStyleOption {
|
|
1209
|
+
"isModified": false,
|
|
1210
|
+
"style": {
|
|
1211
|
+
"fontFamily": "Lato",
|
|
1212
|
+
"fontSize": "1em",
|
|
1213
|
+
"fontStyle": undefined,
|
|
1214
|
+
"fontWeight": "bold",
|
|
1215
|
+
"letterSpacing": undefined,
|
|
1216
|
+
"lineHeight": "1.4",
|
|
1217
|
+
"textDecoration": undefined,
|
|
1218
|
+
"textStyleType": undefined,
|
|
1219
|
+
},
|
|
1220
|
+
"title": "Heading 6",
|
|
1221
|
+
"type": "heading6",
|
|
1222
|
+
},
|
|
924
1223
|
"headings": TextStyleOption {
|
|
925
1224
|
"isModified": false,
|
|
926
1225
|
"style": {
|
|
927
|
-
"color": "var(--palette-0)",
|
|
928
1226
|
"fontFamily": "Lato",
|
|
929
1227
|
"fontSize": "1.5em",
|
|
930
1228
|
"fontStyle": undefined,
|
|
@@ -937,10 +1235,54 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
937
1235
|
"title": "Headings",
|
|
938
1236
|
"type": "headings",
|
|
939
1237
|
},
|
|
1238
|
+
"paragraph1": TextStyleOption {
|
|
1239
|
+
"isModified": false,
|
|
1240
|
+
"style": {
|
|
1241
|
+
"fontFamily": "Lato",
|
|
1242
|
+
"fontSize": "1.375em",
|
|
1243
|
+
"fontStyle": undefined,
|
|
1244
|
+
"fontWeight": "normal",
|
|
1245
|
+
"letterSpacing": undefined,
|
|
1246
|
+
"lineHeight": "1.5",
|
|
1247
|
+
"textDecoration": undefined,
|
|
1248
|
+
"textStyleType": undefined,
|
|
1249
|
+
},
|
|
1250
|
+
"title": "Paragraph 1",
|
|
1251
|
+
"type": "paragraph1",
|
|
1252
|
+
},
|
|
1253
|
+
"paragraph2": TextStyleOption {
|
|
1254
|
+
"isModified": false,
|
|
1255
|
+
"style": {
|
|
1256
|
+
"fontFamily": "Lato",
|
|
1257
|
+
"fontSize": "1.125em",
|
|
1258
|
+
"fontStyle": undefined,
|
|
1259
|
+
"fontWeight": "normal",
|
|
1260
|
+
"letterSpacing": undefined,
|
|
1261
|
+
"lineHeight": "1.5",
|
|
1262
|
+
"textDecoration": undefined,
|
|
1263
|
+
"textStyleType": undefined,
|
|
1264
|
+
},
|
|
1265
|
+
"title": "Paragraph 2",
|
|
1266
|
+
"type": "paragraph2",
|
|
1267
|
+
},
|
|
1268
|
+
"paragraph3": TextStyleOption {
|
|
1269
|
+
"isModified": false,
|
|
1270
|
+
"style": {
|
|
1271
|
+
"fontFamily": "Lato",
|
|
1272
|
+
"fontSize": "0.875em",
|
|
1273
|
+
"fontStyle": undefined,
|
|
1274
|
+
"fontWeight": "normal",
|
|
1275
|
+
"letterSpacing": undefined,
|
|
1276
|
+
"lineHeight": "1.6",
|
|
1277
|
+
"textDecoration": undefined,
|
|
1278
|
+
"textStyleType": undefined,
|
|
1279
|
+
},
|
|
1280
|
+
"title": "Paragraph 3",
|
|
1281
|
+
"type": "paragraph3",
|
|
1282
|
+
},
|
|
940
1283
|
"paragraphs": TextStyleOption {
|
|
941
1284
|
"isModified": false,
|
|
942
1285
|
"style": {
|
|
943
|
-
"color": "var(--palette-0)",
|
|
944
1286
|
"fontFamily": "Lato",
|
|
945
1287
|
"fontSize": "1em",
|
|
946
1288
|
"fontStyle": undefined,
|
|
@@ -956,7 +1298,6 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
956
1298
|
"titles": TextStyleOption {
|
|
957
1299
|
"isModified": false,
|
|
958
1300
|
"style": {
|
|
959
|
-
"color": "var(--palette-0)",
|
|
960
1301
|
"fontFamily": "Lato",
|
|
961
1302
|
"fontSize": "2.25em",
|
|
962
1303
|
"fontStyle": undefined,
|
|
@@ -972,7 +1313,7 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
972
1313
|
},
|
|
973
1314
|
},
|
|
974
1315
|
},
|
|
975
|
-
"v":
|
|
1316
|
+
"v": 22,
|
|
976
1317
|
},
|
|
977
1318
|
"useOldLogoRenderSize": true,
|
|
978
1319
|
}
|
|
@@ -1012,9 +1353,11 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
1012
1353
|
"pageFooterDesktop": PageFooterDesktop {
|
|
1013
1354
|
"backgroundStyle": {},
|
|
1014
1355
|
"copyrightStyle": {
|
|
1015
|
-
"
|
|
1356
|
+
"color": "var(--palette-0)",
|
|
1357
|
+
"fontSize": "1em",
|
|
1358
|
+
"letterSpacing": "0",
|
|
1016
1359
|
"textAlign": "center",
|
|
1017
|
-
"textStyleType": "
|
|
1360
|
+
"textStyleType": "paragraph1",
|
|
1018
1361
|
},
|
|
1019
1362
|
"copyrightText": "© 2026 by [Company Name]. All Rights Reserved.",
|
|
1020
1363
|
"displayStyle": "centered-menu",
|
|
@@ -1066,15 +1409,16 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
1066
1409
|
"width": 0,
|
|
1067
1410
|
},
|
|
1068
1411
|
],
|
|
1069
|
-
"textFontFamily": undefined,
|
|
1070
1412
|
"viewport": "desktop",
|
|
1071
1413
|
},
|
|
1072
1414
|
"pageFooterMobile": PageFooterMobile {
|
|
1073
1415
|
"backgroundStyle": {},
|
|
1074
1416
|
"copyrightStyle": {
|
|
1075
|
-
"
|
|
1417
|
+
"color": "var(--palette-0)",
|
|
1418
|
+
"fontSize": "1em",
|
|
1419
|
+
"letterSpacing": "0",
|
|
1076
1420
|
"textAlign": "center",
|
|
1077
|
-
"textStyleType": "
|
|
1421
|
+
"textStyleType": "paragraph1",
|
|
1078
1422
|
},
|
|
1079
1423
|
"copyrightText": "© 2026 by [Company Name]. All Rights Reserved.",
|
|
1080
1424
|
"displayStyle": "centered-menu",
|
|
@@ -1126,7 +1470,6 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
1126
1470
|
"width": 0,
|
|
1127
1471
|
},
|
|
1128
1472
|
],
|
|
1129
|
-
"textFontFamily": undefined,
|
|
1130
1473
|
"viewport": "mobile",
|
|
1131
1474
|
},
|
|
1132
1475
|
"pageHeaderDesktop": PageHeaderDesktop {
|
|
@@ -1153,23 +1496,20 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
1153
1496
|
"borderLeftWidth": "0px",
|
|
1154
1497
|
"borderRightWidth": "0px",
|
|
1155
1498
|
"borderTopWidth": "0px",
|
|
1156
|
-
"color":
|
|
1157
|
-
"fontFamily": "Lato",
|
|
1499
|
+
"color": "var(--palette-0)",
|
|
1158
1500
|
"fontSize": "1em",
|
|
1159
|
-
"fontStyle": undefined,
|
|
1160
|
-
"fontWeight": "normal",
|
|
1161
1501
|
"lineHeight": "1.3",
|
|
1162
1502
|
"textAlign": "center",
|
|
1163
|
-
"
|
|
1503
|
+
"textStyleType": "paragraph1",
|
|
1164
1504
|
},
|
|
1165
1505
|
"displayType": "nav-tab-tabs",
|
|
1166
1506
|
"hamburgerMenuStyle": NavigationMenuStyles {
|
|
1167
1507
|
"defaultButtonStyle": {
|
|
1168
1508
|
"backgroundColor": undefined,
|
|
1169
|
-
"color":
|
|
1170
|
-
"
|
|
1509
|
+
"color": "var(--palette-0)",
|
|
1510
|
+
"lineHeight": "normal",
|
|
1171
1511
|
"textAlign": "left",
|
|
1172
|
-
"textStyleType":
|
|
1512
|
+
"textStyleType": "button",
|
|
1173
1513
|
},
|
|
1174
1514
|
"iconStyle": {
|
|
1175
1515
|
"backgroundColor": undefined,
|
|
@@ -1228,23 +1568,20 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
1228
1568
|
"borderLeftWidth": "0px",
|
|
1229
1569
|
"borderRightWidth": "0px",
|
|
1230
1570
|
"borderTopWidth": "0px",
|
|
1231
|
-
"color":
|
|
1232
|
-
"fontFamily": "Lato",
|
|
1571
|
+
"color": "var(--palette-0)",
|
|
1233
1572
|
"fontSize": "1em",
|
|
1234
|
-
"fontStyle": undefined,
|
|
1235
|
-
"fontWeight": "normal",
|
|
1236
1573
|
"lineHeight": "1.3",
|
|
1237
1574
|
"textAlign": "center",
|
|
1238
|
-
"
|
|
1575
|
+
"textStyleType": "paragraph1",
|
|
1239
1576
|
},
|
|
1240
1577
|
"displayType": "nav-tab-tabs",
|
|
1241
1578
|
"hamburgerMenuStyle": NavigationMenuStyles {
|
|
1242
1579
|
"defaultButtonStyle": {
|
|
1243
1580
|
"backgroundColor": undefined,
|
|
1244
|
-
"color":
|
|
1245
|
-
"
|
|
1581
|
+
"color": "var(--palette-0)",
|
|
1582
|
+
"lineHeight": "normal",
|
|
1246
1583
|
"textAlign": "left",
|
|
1247
|
-
"textStyleType":
|
|
1584
|
+
"textStyleType": "button",
|
|
1248
1585
|
},
|
|
1249
1586
|
"iconStyle": {
|
|
1250
1587
|
"backgroundColor": undefined,
|
|
@@ -1286,34 +1623,56 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
1286
1623
|
"bottomPadding": 12,
|
|
1287
1624
|
"id": "bec5aca6-e3c5-4d4c-93fa-2894816a8040",
|
|
1288
1625
|
"text": "",
|
|
1289
|
-
"textColor": {},
|
|
1290
1626
|
"textItems": [
|
|
1291
1627
|
{
|
|
1292
1628
|
"id": "00000000-0000-4000-8000-000000000007",
|
|
1293
|
-
"text":
|
|
1629
|
+
"text": {
|
|
1630
|
+
"content": [
|
|
1631
|
+
{
|
|
1632
|
+
"attrs": {
|
|
1633
|
+
"textAlign": "center",
|
|
1634
|
+
},
|
|
1635
|
+
"content": [
|
|
1636
|
+
{
|
|
1637
|
+
"marks": [
|
|
1638
|
+
{
|
|
1639
|
+
"attrs": {
|
|
1640
|
+
"color": "var(--palette-0)",
|
|
1641
|
+
"fontFamily": "var(--role-font-family)",
|
|
1642
|
+
"fontSize": "1em",
|
|
1643
|
+
"fontStyle": "var(--role-font-style)",
|
|
1644
|
+
"fontWeight": "var(--role-font-weight)",
|
|
1645
|
+
"letterSpacing": "var(--role-letter-spacing)",
|
|
1646
|
+
"lineHeight": "var(--role-line-height)",
|
|
1647
|
+
"textDecoration": "var(--role-text-decoration)",
|
|
1648
|
+
},
|
|
1649
|
+
"type": "textStyle",
|
|
1650
|
+
},
|
|
1651
|
+
],
|
|
1652
|
+
"text": "Christmas",
|
|
1653
|
+
"type": "text",
|
|
1654
|
+
},
|
|
1655
|
+
],
|
|
1656
|
+
"type": "paragraph",
|
|
1657
|
+
},
|
|
1658
|
+
],
|
|
1659
|
+
"type": "doc",
|
|
1660
|
+
},
|
|
1294
1661
|
"textStyle": {
|
|
1295
1662
|
"applyAutoScale": true,
|
|
1296
|
-
"color": undefined,
|
|
1297
|
-
"fontFamily": "Lato",
|
|
1298
1663
|
"fontSize": "1em",
|
|
1299
|
-
"fontStyle": undefined,
|
|
1300
|
-
"fontWeight": undefined,
|
|
1301
|
-
"letterSpacing": undefined,
|
|
1302
|
-
"lineHeight": "1.5",
|
|
1303
1664
|
"textAlign": "center",
|
|
1304
|
-
"
|
|
1305
|
-
"textStyleType": undefined,
|
|
1665
|
+
"textStyleType": "paragraph2",
|
|
1306
1666
|
},
|
|
1307
1667
|
},
|
|
1308
1668
|
],
|
|
1309
|
-
"textSize": {
|
|
1310
|
-
"fontSize": "1em",
|
|
1311
|
-
"lineHeight": "1.2",
|
|
1312
|
-
},
|
|
1313
1669
|
"textStyle": {
|
|
1314
1670
|
"applyAutoScale": true,
|
|
1671
|
+
"color": "var(--palette-0)",
|
|
1672
|
+
"fontSize": "1em",
|
|
1673
|
+
"letterSpacing": "0",
|
|
1315
1674
|
"textAlign": "center",
|
|
1316
|
-
"textStyleType": "
|
|
1675
|
+
"textStyleType": "paragraph1",
|
|
1317
1676
|
},
|
|
1318
1677
|
"topPadding": 12,
|
|
1319
1678
|
"type": "text",
|
|
@@ -1391,12 +1750,25 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
1391
1750
|
},
|
|
1392
1751
|
},
|
|
1393
1752
|
"textStyles": TextStyles {
|
|
1394
|
-
"textFontFamily": "lato",
|
|
1395
1753
|
"textStyleOptions": {
|
|
1754
|
+
"button": TextStyleOption {
|
|
1755
|
+
"isModified": false,
|
|
1756
|
+
"style": {
|
|
1757
|
+
"fontFamily": "Lato",
|
|
1758
|
+
"fontSize": "1em",
|
|
1759
|
+
"fontStyle": undefined,
|
|
1760
|
+
"fontWeight": "normal",
|
|
1761
|
+
"letterSpacing": undefined,
|
|
1762
|
+
"lineHeight": "1.2",
|
|
1763
|
+
"textDecoration": undefined,
|
|
1764
|
+
"textStyleType": undefined,
|
|
1765
|
+
},
|
|
1766
|
+
"title": "Button",
|
|
1767
|
+
"type": "button",
|
|
1768
|
+
},
|
|
1396
1769
|
"buttons": TextStyleOption {
|
|
1397
1770
|
"isModified": false,
|
|
1398
1771
|
"style": {
|
|
1399
|
-
"color": "var(--palette-1)",
|
|
1400
1772
|
"fontFamily": "Lato",
|
|
1401
1773
|
"fontSize": "1em",
|
|
1402
1774
|
"fontStyle": undefined,
|
|
@@ -1409,10 +1781,99 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
1409
1781
|
"title": "Button Texts",
|
|
1410
1782
|
"type": "buttons",
|
|
1411
1783
|
},
|
|
1784
|
+
"heading1": TextStyleOption {
|
|
1785
|
+
"isModified": false,
|
|
1786
|
+
"style": {
|
|
1787
|
+
"fontFamily": "Lato",
|
|
1788
|
+
"fontSize": "6.875em",
|
|
1789
|
+
"fontStyle": undefined,
|
|
1790
|
+
"fontWeight": "bold",
|
|
1791
|
+
"letterSpacing": undefined,
|
|
1792
|
+
"lineHeight": "1.2",
|
|
1793
|
+
"textDecoration": undefined,
|
|
1794
|
+
"textStyleType": undefined,
|
|
1795
|
+
},
|
|
1796
|
+
"title": "Heading 1",
|
|
1797
|
+
"type": "heading1",
|
|
1798
|
+
},
|
|
1799
|
+
"heading2": TextStyleOption {
|
|
1800
|
+
"isModified": false,
|
|
1801
|
+
"style": {
|
|
1802
|
+
"fontFamily": "Lato",
|
|
1803
|
+
"fontSize": "5.25em",
|
|
1804
|
+
"fontStyle": undefined,
|
|
1805
|
+
"fontWeight": "bold",
|
|
1806
|
+
"letterSpacing": undefined,
|
|
1807
|
+
"lineHeight": "1.2",
|
|
1808
|
+
"textDecoration": undefined,
|
|
1809
|
+
"textStyleType": undefined,
|
|
1810
|
+
},
|
|
1811
|
+
"title": "Heading 2",
|
|
1812
|
+
"type": "heading2",
|
|
1813
|
+
},
|
|
1814
|
+
"heading3": TextStyleOption {
|
|
1815
|
+
"isModified": false,
|
|
1816
|
+
"style": {
|
|
1817
|
+
"fontFamily": "Lato",
|
|
1818
|
+
"fontSize": "3.1875em",
|
|
1819
|
+
"fontStyle": undefined,
|
|
1820
|
+
"fontWeight": "bold",
|
|
1821
|
+
"letterSpacing": undefined,
|
|
1822
|
+
"lineHeight": "1.25",
|
|
1823
|
+
"textDecoration": undefined,
|
|
1824
|
+
"textStyleType": undefined,
|
|
1825
|
+
},
|
|
1826
|
+
"title": "Heading 3",
|
|
1827
|
+
"type": "heading3",
|
|
1828
|
+
},
|
|
1829
|
+
"heading4": TextStyleOption {
|
|
1830
|
+
"isModified": false,
|
|
1831
|
+
"style": {
|
|
1832
|
+
"fontFamily": "Lato",
|
|
1833
|
+
"fontSize": "2.1875em",
|
|
1834
|
+
"fontStyle": undefined,
|
|
1835
|
+
"fontWeight": "bold",
|
|
1836
|
+
"letterSpacing": undefined,
|
|
1837
|
+
"lineHeight": "1.3",
|
|
1838
|
+
"textDecoration": undefined,
|
|
1839
|
+
"textStyleType": undefined,
|
|
1840
|
+
},
|
|
1841
|
+
"title": "Heading 4",
|
|
1842
|
+
"type": "heading4",
|
|
1843
|
+
},
|
|
1844
|
+
"heading5": TextStyleOption {
|
|
1845
|
+
"isModified": false,
|
|
1846
|
+
"style": {
|
|
1847
|
+
"fontFamily": "Lato",
|
|
1848
|
+
"fontSize": "1.4375em",
|
|
1849
|
+
"fontStyle": undefined,
|
|
1850
|
+
"fontWeight": "bold",
|
|
1851
|
+
"letterSpacing": undefined,
|
|
1852
|
+
"lineHeight": "1.35",
|
|
1853
|
+
"textDecoration": undefined,
|
|
1854
|
+
"textStyleType": undefined,
|
|
1855
|
+
},
|
|
1856
|
+
"title": "Heading 5",
|
|
1857
|
+
"type": "heading5",
|
|
1858
|
+
},
|
|
1859
|
+
"heading6": TextStyleOption {
|
|
1860
|
+
"isModified": false,
|
|
1861
|
+
"style": {
|
|
1862
|
+
"fontFamily": "Lato",
|
|
1863
|
+
"fontSize": "1em",
|
|
1864
|
+
"fontStyle": undefined,
|
|
1865
|
+
"fontWeight": "bold",
|
|
1866
|
+
"letterSpacing": undefined,
|
|
1867
|
+
"lineHeight": "1.4",
|
|
1868
|
+
"textDecoration": undefined,
|
|
1869
|
+
"textStyleType": undefined,
|
|
1870
|
+
},
|
|
1871
|
+
"title": "Heading 6",
|
|
1872
|
+
"type": "heading6",
|
|
1873
|
+
},
|
|
1412
1874
|
"headings": TextStyleOption {
|
|
1413
1875
|
"isModified": false,
|
|
1414
1876
|
"style": {
|
|
1415
|
-
"color": "var(--palette-0)",
|
|
1416
1877
|
"fontFamily": "Lato",
|
|
1417
1878
|
"fontSize": "1.5em",
|
|
1418
1879
|
"fontStyle": undefined,
|
|
@@ -1425,10 +1886,54 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
1425
1886
|
"title": "Headings",
|
|
1426
1887
|
"type": "headings",
|
|
1427
1888
|
},
|
|
1889
|
+
"paragraph1": TextStyleOption {
|
|
1890
|
+
"isModified": false,
|
|
1891
|
+
"style": {
|
|
1892
|
+
"fontFamily": "Lato",
|
|
1893
|
+
"fontSize": "1.375em",
|
|
1894
|
+
"fontStyle": undefined,
|
|
1895
|
+
"fontWeight": "normal",
|
|
1896
|
+
"letterSpacing": undefined,
|
|
1897
|
+
"lineHeight": "1.5",
|
|
1898
|
+
"textDecoration": undefined,
|
|
1899
|
+
"textStyleType": undefined,
|
|
1900
|
+
},
|
|
1901
|
+
"title": "Paragraph 1",
|
|
1902
|
+
"type": "paragraph1",
|
|
1903
|
+
},
|
|
1904
|
+
"paragraph2": TextStyleOption {
|
|
1905
|
+
"isModified": false,
|
|
1906
|
+
"style": {
|
|
1907
|
+
"fontFamily": "Lato",
|
|
1908
|
+
"fontSize": "1.125em",
|
|
1909
|
+
"fontStyle": undefined,
|
|
1910
|
+
"fontWeight": "normal",
|
|
1911
|
+
"letterSpacing": undefined,
|
|
1912
|
+
"lineHeight": "1.5",
|
|
1913
|
+
"textDecoration": undefined,
|
|
1914
|
+
"textStyleType": undefined,
|
|
1915
|
+
},
|
|
1916
|
+
"title": "Paragraph 2",
|
|
1917
|
+
"type": "paragraph2",
|
|
1918
|
+
},
|
|
1919
|
+
"paragraph3": TextStyleOption {
|
|
1920
|
+
"isModified": false,
|
|
1921
|
+
"style": {
|
|
1922
|
+
"fontFamily": "Lato",
|
|
1923
|
+
"fontSize": "0.875em",
|
|
1924
|
+
"fontStyle": undefined,
|
|
1925
|
+
"fontWeight": "normal",
|
|
1926
|
+
"letterSpacing": undefined,
|
|
1927
|
+
"lineHeight": "1.6",
|
|
1928
|
+
"textDecoration": undefined,
|
|
1929
|
+
"textStyleType": undefined,
|
|
1930
|
+
},
|
|
1931
|
+
"title": "Paragraph 3",
|
|
1932
|
+
"type": "paragraph3",
|
|
1933
|
+
},
|
|
1428
1934
|
"paragraphs": TextStyleOption {
|
|
1429
1935
|
"isModified": false,
|
|
1430
1936
|
"style": {
|
|
1431
|
-
"color": "var(--palette-0)",
|
|
1432
1937
|
"fontFamily": "Lato",
|
|
1433
1938
|
"fontSize": "1em",
|
|
1434
1939
|
"fontStyle": undefined,
|
|
@@ -1444,7 +1949,6 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
1444
1949
|
"titles": TextStyleOption {
|
|
1445
1950
|
"isModified": false,
|
|
1446
1951
|
"style": {
|
|
1447
|
-
"color": "var(--palette-0)",
|
|
1448
1952
|
"fontFamily": "Lato",
|
|
1449
1953
|
"fontSize": "2.25em",
|
|
1450
1954
|
"fontStyle": undefined,
|
|
@@ -1460,7 +1964,7 @@ exports[`migration.util > migrateBrandPageModel should return brand page model w
|
|
|
1460
1964
|
},
|
|
1461
1965
|
},
|
|
1462
1966
|
},
|
|
1463
|
-
"v":
|
|
1967
|
+
"v": 22,
|
|
1464
1968
|
},
|
|
1465
1969
|
"useOldLogoRenderSize": true,
|
|
1466
1970
|
}
|