@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
|
@@ -74,7 +74,6 @@ exports[`migration02.ts > migration02 should return converted letterspacing 1`]
|
|
|
74
74
|
"width": 0,
|
|
75
75
|
},
|
|
76
76
|
],
|
|
77
|
-
"textFontFamily": undefined,
|
|
78
77
|
"viewport": "desktop",
|
|
79
78
|
},
|
|
80
79
|
"pageFooterMobile": PageFooterMobile {
|
|
@@ -133,7 +132,6 @@ exports[`migration02.ts > migration02 should return converted letterspacing 1`]
|
|
|
133
132
|
"width": 0,
|
|
134
133
|
},
|
|
135
134
|
],
|
|
136
|
-
"textFontFamily": undefined,
|
|
137
135
|
"viewport": "mobile",
|
|
138
136
|
},
|
|
139
137
|
"pageHeaderDesktop": PageHeaderDesktop {
|
|
@@ -177,7 +175,6 @@ exports[`migration02.ts > migration02 should return converted letterspacing 1`]
|
|
|
177
175
|
"color": undefined,
|
|
178
176
|
"fontFamily": "Lato",
|
|
179
177
|
"textAlign": "left",
|
|
180
|
-
"textStyleType": undefined,
|
|
181
178
|
},
|
|
182
179
|
"iconStyle": {
|
|
183
180
|
"backgroundColor": undefined,
|
|
@@ -253,7 +250,6 @@ exports[`migration02.ts > migration02 should return converted letterspacing 1`]
|
|
|
253
250
|
"color": undefined,
|
|
254
251
|
"fontFamily": "Lato",
|
|
255
252
|
"textAlign": "left",
|
|
256
|
-
"textStyleType": undefined,
|
|
257
253
|
},
|
|
258
254
|
"iconStyle": {
|
|
259
255
|
"backgroundColor": undefined,
|
|
@@ -414,12 +410,25 @@ exports[`migration02.ts > migration02 should return converted letterspacing 1`]
|
|
|
414
410
|
"style": {
|
|
415
411
|
"color": "logo-text-color",
|
|
416
412
|
},
|
|
417
|
-
"textFontFamily": "lato",
|
|
418
413
|
"textStyleOptions": {
|
|
414
|
+
"button": TextStyleOption {
|
|
415
|
+
"isModified": false,
|
|
416
|
+
"style": {
|
|
417
|
+
"fontFamily": "Lato",
|
|
418
|
+
"fontSize": "1em",
|
|
419
|
+
"fontStyle": undefined,
|
|
420
|
+
"fontWeight": "normal",
|
|
421
|
+
"letterSpacing": undefined,
|
|
422
|
+
"lineHeight": "1.2",
|
|
423
|
+
"textDecoration": undefined,
|
|
424
|
+
"textStyleType": undefined,
|
|
425
|
+
},
|
|
426
|
+
"title": "Button",
|
|
427
|
+
"type": "button",
|
|
428
|
+
},
|
|
419
429
|
"buttons": TextStyleOption {
|
|
420
430
|
"isModified": false,
|
|
421
431
|
"style": {
|
|
422
|
-
"color": undefined,
|
|
423
432
|
"fontFamily": "Lato",
|
|
424
433
|
"fontSize": "1em",
|
|
425
434
|
"fontStyle": undefined,
|
|
@@ -432,10 +441,99 @@ exports[`migration02.ts > migration02 should return converted letterspacing 1`]
|
|
|
432
441
|
"title": "Button Texts",
|
|
433
442
|
"type": "buttons",
|
|
434
443
|
},
|
|
444
|
+
"heading1": TextStyleOption {
|
|
445
|
+
"isModified": false,
|
|
446
|
+
"style": {
|
|
447
|
+
"fontFamily": "Lato",
|
|
448
|
+
"fontSize": "6.875em",
|
|
449
|
+
"fontStyle": undefined,
|
|
450
|
+
"fontWeight": "bold",
|
|
451
|
+
"letterSpacing": undefined,
|
|
452
|
+
"lineHeight": "1.2",
|
|
453
|
+
"textDecoration": undefined,
|
|
454
|
+
"textStyleType": undefined,
|
|
455
|
+
},
|
|
456
|
+
"title": "Heading 1",
|
|
457
|
+
"type": "heading1",
|
|
458
|
+
},
|
|
459
|
+
"heading2": TextStyleOption {
|
|
460
|
+
"isModified": false,
|
|
461
|
+
"style": {
|
|
462
|
+
"fontFamily": "Lato",
|
|
463
|
+
"fontSize": "5.25em",
|
|
464
|
+
"fontStyle": undefined,
|
|
465
|
+
"fontWeight": "bold",
|
|
466
|
+
"letterSpacing": undefined,
|
|
467
|
+
"lineHeight": "1.2",
|
|
468
|
+
"textDecoration": undefined,
|
|
469
|
+
"textStyleType": undefined,
|
|
470
|
+
},
|
|
471
|
+
"title": "Heading 2",
|
|
472
|
+
"type": "heading2",
|
|
473
|
+
},
|
|
474
|
+
"heading3": TextStyleOption {
|
|
475
|
+
"isModified": false,
|
|
476
|
+
"style": {
|
|
477
|
+
"fontFamily": "Lato",
|
|
478
|
+
"fontSize": "3.1875em",
|
|
479
|
+
"fontStyle": undefined,
|
|
480
|
+
"fontWeight": "bold",
|
|
481
|
+
"letterSpacing": undefined,
|
|
482
|
+
"lineHeight": "1.25",
|
|
483
|
+
"textDecoration": undefined,
|
|
484
|
+
"textStyleType": undefined,
|
|
485
|
+
},
|
|
486
|
+
"title": "Heading 3",
|
|
487
|
+
"type": "heading3",
|
|
488
|
+
},
|
|
489
|
+
"heading4": TextStyleOption {
|
|
490
|
+
"isModified": false,
|
|
491
|
+
"style": {
|
|
492
|
+
"fontFamily": "Lato",
|
|
493
|
+
"fontSize": "2.1875em",
|
|
494
|
+
"fontStyle": undefined,
|
|
495
|
+
"fontWeight": "bold",
|
|
496
|
+
"letterSpacing": undefined,
|
|
497
|
+
"lineHeight": "1.3",
|
|
498
|
+
"textDecoration": undefined,
|
|
499
|
+
"textStyleType": undefined,
|
|
500
|
+
},
|
|
501
|
+
"title": "Heading 4",
|
|
502
|
+
"type": "heading4",
|
|
503
|
+
},
|
|
504
|
+
"heading5": TextStyleOption {
|
|
505
|
+
"isModified": false,
|
|
506
|
+
"style": {
|
|
507
|
+
"fontFamily": "Lato",
|
|
508
|
+
"fontSize": "1.4375em",
|
|
509
|
+
"fontStyle": undefined,
|
|
510
|
+
"fontWeight": "bold",
|
|
511
|
+
"letterSpacing": undefined,
|
|
512
|
+
"lineHeight": "1.35",
|
|
513
|
+
"textDecoration": undefined,
|
|
514
|
+
"textStyleType": undefined,
|
|
515
|
+
},
|
|
516
|
+
"title": "Heading 5",
|
|
517
|
+
"type": "heading5",
|
|
518
|
+
},
|
|
519
|
+
"heading6": TextStyleOption {
|
|
520
|
+
"isModified": false,
|
|
521
|
+
"style": {
|
|
522
|
+
"fontFamily": "Lato",
|
|
523
|
+
"fontSize": "1em",
|
|
524
|
+
"fontStyle": undefined,
|
|
525
|
+
"fontWeight": "bold",
|
|
526
|
+
"letterSpacing": undefined,
|
|
527
|
+
"lineHeight": "1.4",
|
|
528
|
+
"textDecoration": undefined,
|
|
529
|
+
"textStyleType": undefined,
|
|
530
|
+
},
|
|
531
|
+
"title": "Heading 6",
|
|
532
|
+
"type": "heading6",
|
|
533
|
+
},
|
|
435
534
|
"headings": TextStyleOption {
|
|
436
535
|
"isModified": false,
|
|
437
536
|
"style": {
|
|
438
|
-
"color": undefined,
|
|
439
537
|
"fontFamily": "Lato",
|
|
440
538
|
"fontSize": "1.5em",
|
|
441
539
|
"fontStyle": undefined,
|
|
@@ -448,10 +546,54 @@ exports[`migration02.ts > migration02 should return converted letterspacing 1`]
|
|
|
448
546
|
"title": "Headings",
|
|
449
547
|
"type": "headings",
|
|
450
548
|
},
|
|
549
|
+
"paragraph1": TextStyleOption {
|
|
550
|
+
"isModified": false,
|
|
551
|
+
"style": {
|
|
552
|
+
"fontFamily": "Lato",
|
|
553
|
+
"fontSize": "1.375em",
|
|
554
|
+
"fontStyle": undefined,
|
|
555
|
+
"fontWeight": "normal",
|
|
556
|
+
"letterSpacing": undefined,
|
|
557
|
+
"lineHeight": "1.5",
|
|
558
|
+
"textDecoration": undefined,
|
|
559
|
+
"textStyleType": undefined,
|
|
560
|
+
},
|
|
561
|
+
"title": "Paragraph 1",
|
|
562
|
+
"type": "paragraph1",
|
|
563
|
+
},
|
|
564
|
+
"paragraph2": TextStyleOption {
|
|
565
|
+
"isModified": false,
|
|
566
|
+
"style": {
|
|
567
|
+
"fontFamily": "Lato",
|
|
568
|
+
"fontSize": "1.125em",
|
|
569
|
+
"fontStyle": undefined,
|
|
570
|
+
"fontWeight": "normal",
|
|
571
|
+
"letterSpacing": undefined,
|
|
572
|
+
"lineHeight": "1.5",
|
|
573
|
+
"textDecoration": undefined,
|
|
574
|
+
"textStyleType": undefined,
|
|
575
|
+
},
|
|
576
|
+
"title": "Paragraph 2",
|
|
577
|
+
"type": "paragraph2",
|
|
578
|
+
},
|
|
579
|
+
"paragraph3": TextStyleOption {
|
|
580
|
+
"isModified": false,
|
|
581
|
+
"style": {
|
|
582
|
+
"fontFamily": "Lato",
|
|
583
|
+
"fontSize": "0.875em",
|
|
584
|
+
"fontStyle": undefined,
|
|
585
|
+
"fontWeight": "normal",
|
|
586
|
+
"letterSpacing": undefined,
|
|
587
|
+
"lineHeight": "1.6",
|
|
588
|
+
"textDecoration": undefined,
|
|
589
|
+
"textStyleType": undefined,
|
|
590
|
+
},
|
|
591
|
+
"title": "Paragraph 3",
|
|
592
|
+
"type": "paragraph3",
|
|
593
|
+
},
|
|
451
594
|
"paragraphs": TextStyleOption {
|
|
452
595
|
"isModified": false,
|
|
453
596
|
"style": {
|
|
454
|
-
"color": undefined,
|
|
455
597
|
"fontFamily": "Lato",
|
|
456
598
|
"fontSize": "1em",
|
|
457
599
|
"fontStyle": undefined,
|
|
@@ -467,7 +609,6 @@ exports[`migration02.ts > migration02 should return converted letterspacing 1`]
|
|
|
467
609
|
"titles": TextStyleOption {
|
|
468
610
|
"isModified": false,
|
|
469
611
|
"style": {
|
|
470
|
-
"color": undefined,
|
|
471
612
|
"fontFamily": "Lato",
|
|
472
613
|
"fontSize": "2.25em",
|
|
473
614
|
"fontStyle": undefined,
|
|
@@ -73,7 +73,6 @@ BrandPageModel {
|
|
|
73
73
|
"width": 0,
|
|
74
74
|
},
|
|
75
75
|
],
|
|
76
|
-
"textFontFamily": undefined,
|
|
77
76
|
"viewport": "desktop",
|
|
78
77
|
},
|
|
79
78
|
"pageFooterMobile": PageFooterMobile {
|
|
@@ -132,7 +131,6 @@ BrandPageModel {
|
|
|
132
131
|
"width": 0,
|
|
133
132
|
},
|
|
134
133
|
],
|
|
135
|
-
"textFontFamily": undefined,
|
|
136
134
|
"viewport": "mobile",
|
|
137
135
|
},
|
|
138
136
|
"pageHeaderDesktop": PageHeaderDesktop {
|
|
@@ -176,7 +174,6 @@ BrandPageModel {
|
|
|
176
174
|
"color": undefined,
|
|
177
175
|
"fontFamily": "Lato",
|
|
178
176
|
"textAlign": "left",
|
|
179
|
-
"textStyleType": undefined,
|
|
180
177
|
},
|
|
181
178
|
"iconStyle": {
|
|
182
179
|
"backgroundColor": undefined,
|
|
@@ -252,7 +249,6 @@ BrandPageModel {
|
|
|
252
249
|
"color": undefined,
|
|
253
250
|
"fontFamily": "Lato",
|
|
254
251
|
"textAlign": "left",
|
|
255
|
-
"textStyleType": undefined,
|
|
256
252
|
},
|
|
257
253
|
"iconStyle": {
|
|
258
254
|
"backgroundColor": undefined,
|
|
@@ -388,12 +384,25 @@ BrandPageModel {
|
|
|
388
384
|
"style": {
|
|
389
385
|
"color": "logo-text-color",
|
|
390
386
|
},
|
|
391
|
-
"textFontFamily": "lato",
|
|
392
387
|
"textStyleOptions": {
|
|
388
|
+
"button": TextStyleOption {
|
|
389
|
+
"isModified": false,
|
|
390
|
+
"style": {
|
|
391
|
+
"fontFamily": "Lato",
|
|
392
|
+
"fontSize": "1em",
|
|
393
|
+
"fontStyle": undefined,
|
|
394
|
+
"fontWeight": "normal",
|
|
395
|
+
"letterSpacing": undefined,
|
|
396
|
+
"lineHeight": "1.2",
|
|
397
|
+
"textDecoration": undefined,
|
|
398
|
+
"textStyleType": undefined,
|
|
399
|
+
},
|
|
400
|
+
"title": "Button",
|
|
401
|
+
"type": "button",
|
|
402
|
+
},
|
|
393
403
|
"buttons": TextStyleOption {
|
|
394
404
|
"isModified": false,
|
|
395
405
|
"style": {
|
|
396
|
-
"color": undefined,
|
|
397
406
|
"fontFamily": "Lato",
|
|
398
407
|
"fontSize": "1em",
|
|
399
408
|
"fontStyle": undefined,
|
|
@@ -406,10 +415,99 @@ BrandPageModel {
|
|
|
406
415
|
"title": "Button Texts",
|
|
407
416
|
"type": "buttons",
|
|
408
417
|
},
|
|
418
|
+
"heading1": TextStyleOption {
|
|
419
|
+
"isModified": false,
|
|
420
|
+
"style": {
|
|
421
|
+
"fontFamily": "Lato",
|
|
422
|
+
"fontSize": "6.875em",
|
|
423
|
+
"fontStyle": undefined,
|
|
424
|
+
"fontWeight": "bold",
|
|
425
|
+
"letterSpacing": undefined,
|
|
426
|
+
"lineHeight": "1.2",
|
|
427
|
+
"textDecoration": undefined,
|
|
428
|
+
"textStyleType": undefined,
|
|
429
|
+
},
|
|
430
|
+
"title": "Heading 1",
|
|
431
|
+
"type": "heading1",
|
|
432
|
+
},
|
|
433
|
+
"heading2": TextStyleOption {
|
|
434
|
+
"isModified": false,
|
|
435
|
+
"style": {
|
|
436
|
+
"fontFamily": "Lato",
|
|
437
|
+
"fontSize": "5.25em",
|
|
438
|
+
"fontStyle": undefined,
|
|
439
|
+
"fontWeight": "bold",
|
|
440
|
+
"letterSpacing": undefined,
|
|
441
|
+
"lineHeight": "1.2",
|
|
442
|
+
"textDecoration": undefined,
|
|
443
|
+
"textStyleType": undefined,
|
|
444
|
+
},
|
|
445
|
+
"title": "Heading 2",
|
|
446
|
+
"type": "heading2",
|
|
447
|
+
},
|
|
448
|
+
"heading3": TextStyleOption {
|
|
449
|
+
"isModified": false,
|
|
450
|
+
"style": {
|
|
451
|
+
"fontFamily": "Lato",
|
|
452
|
+
"fontSize": "3.1875em",
|
|
453
|
+
"fontStyle": undefined,
|
|
454
|
+
"fontWeight": "bold",
|
|
455
|
+
"letterSpacing": undefined,
|
|
456
|
+
"lineHeight": "1.25",
|
|
457
|
+
"textDecoration": undefined,
|
|
458
|
+
"textStyleType": undefined,
|
|
459
|
+
},
|
|
460
|
+
"title": "Heading 3",
|
|
461
|
+
"type": "heading3",
|
|
462
|
+
},
|
|
463
|
+
"heading4": TextStyleOption {
|
|
464
|
+
"isModified": false,
|
|
465
|
+
"style": {
|
|
466
|
+
"fontFamily": "Lato",
|
|
467
|
+
"fontSize": "2.1875em",
|
|
468
|
+
"fontStyle": undefined,
|
|
469
|
+
"fontWeight": "bold",
|
|
470
|
+
"letterSpacing": undefined,
|
|
471
|
+
"lineHeight": "1.3",
|
|
472
|
+
"textDecoration": undefined,
|
|
473
|
+
"textStyleType": undefined,
|
|
474
|
+
},
|
|
475
|
+
"title": "Heading 4",
|
|
476
|
+
"type": "heading4",
|
|
477
|
+
},
|
|
478
|
+
"heading5": TextStyleOption {
|
|
479
|
+
"isModified": false,
|
|
480
|
+
"style": {
|
|
481
|
+
"fontFamily": "Lato",
|
|
482
|
+
"fontSize": "1.4375em",
|
|
483
|
+
"fontStyle": undefined,
|
|
484
|
+
"fontWeight": "bold",
|
|
485
|
+
"letterSpacing": undefined,
|
|
486
|
+
"lineHeight": "1.35",
|
|
487
|
+
"textDecoration": undefined,
|
|
488
|
+
"textStyleType": undefined,
|
|
489
|
+
},
|
|
490
|
+
"title": "Heading 5",
|
|
491
|
+
"type": "heading5",
|
|
492
|
+
},
|
|
493
|
+
"heading6": TextStyleOption {
|
|
494
|
+
"isModified": false,
|
|
495
|
+
"style": {
|
|
496
|
+
"fontFamily": "Lato",
|
|
497
|
+
"fontSize": "1em",
|
|
498
|
+
"fontStyle": undefined,
|
|
499
|
+
"fontWeight": "bold",
|
|
500
|
+
"letterSpacing": undefined,
|
|
501
|
+
"lineHeight": "1.4",
|
|
502
|
+
"textDecoration": undefined,
|
|
503
|
+
"textStyleType": undefined,
|
|
504
|
+
},
|
|
505
|
+
"title": "Heading 6",
|
|
506
|
+
"type": "heading6",
|
|
507
|
+
},
|
|
409
508
|
"headings": TextStyleOption {
|
|
410
509
|
"isModified": false,
|
|
411
510
|
"style": {
|
|
412
|
-
"color": undefined,
|
|
413
511
|
"fontFamily": "Lato",
|
|
414
512
|
"fontSize": "1.5em",
|
|
415
513
|
"fontStyle": undefined,
|
|
@@ -422,10 +520,54 @@ BrandPageModel {
|
|
|
422
520
|
"title": "Headings",
|
|
423
521
|
"type": "headings",
|
|
424
522
|
},
|
|
523
|
+
"paragraph1": TextStyleOption {
|
|
524
|
+
"isModified": false,
|
|
525
|
+
"style": {
|
|
526
|
+
"fontFamily": "Lato",
|
|
527
|
+
"fontSize": "1.375em",
|
|
528
|
+
"fontStyle": undefined,
|
|
529
|
+
"fontWeight": "normal",
|
|
530
|
+
"letterSpacing": undefined,
|
|
531
|
+
"lineHeight": "1.5",
|
|
532
|
+
"textDecoration": undefined,
|
|
533
|
+
"textStyleType": undefined,
|
|
534
|
+
},
|
|
535
|
+
"title": "Paragraph 1",
|
|
536
|
+
"type": "paragraph1",
|
|
537
|
+
},
|
|
538
|
+
"paragraph2": TextStyleOption {
|
|
539
|
+
"isModified": false,
|
|
540
|
+
"style": {
|
|
541
|
+
"fontFamily": "Lato",
|
|
542
|
+
"fontSize": "1.125em",
|
|
543
|
+
"fontStyle": undefined,
|
|
544
|
+
"fontWeight": "normal",
|
|
545
|
+
"letterSpacing": undefined,
|
|
546
|
+
"lineHeight": "1.5",
|
|
547
|
+
"textDecoration": undefined,
|
|
548
|
+
"textStyleType": undefined,
|
|
549
|
+
},
|
|
550
|
+
"title": "Paragraph 2",
|
|
551
|
+
"type": "paragraph2",
|
|
552
|
+
},
|
|
553
|
+
"paragraph3": TextStyleOption {
|
|
554
|
+
"isModified": false,
|
|
555
|
+
"style": {
|
|
556
|
+
"fontFamily": "Lato",
|
|
557
|
+
"fontSize": "0.875em",
|
|
558
|
+
"fontStyle": undefined,
|
|
559
|
+
"fontWeight": "normal",
|
|
560
|
+
"letterSpacing": undefined,
|
|
561
|
+
"lineHeight": "1.6",
|
|
562
|
+
"textDecoration": undefined,
|
|
563
|
+
"textStyleType": undefined,
|
|
564
|
+
},
|
|
565
|
+
"title": "Paragraph 3",
|
|
566
|
+
"type": "paragraph3",
|
|
567
|
+
},
|
|
425
568
|
"paragraphs": TextStyleOption {
|
|
426
569
|
"isModified": false,
|
|
427
570
|
"style": {
|
|
428
|
-
"color": undefined,
|
|
429
571
|
"fontFamily": "Lato",
|
|
430
572
|
"fontSize": "1em",
|
|
431
573
|
"fontStyle": undefined,
|
|
@@ -441,7 +583,6 @@ BrandPageModel {
|
|
|
441
583
|
"titles": TextStyleOption {
|
|
442
584
|
"isModified": false,
|
|
443
585
|
"style": {
|
|
444
|
-
"color": undefined,
|
|
445
586
|
"fontFamily": "Lato",
|
|
446
587
|
"fontSize": "2.25em",
|
|
447
588
|
"fontStyle": undefined,
|
|
@@ -534,7 +675,6 @@ BrandPageModel {
|
|
|
534
675
|
"width": 0,
|
|
535
676
|
},
|
|
536
677
|
],
|
|
537
|
-
"textFontFamily": undefined,
|
|
538
678
|
"viewport": "desktop",
|
|
539
679
|
},
|
|
540
680
|
"pageFooterMobile": PageFooterMobile {
|
|
@@ -593,7 +733,6 @@ BrandPageModel {
|
|
|
593
733
|
"width": 0,
|
|
594
734
|
},
|
|
595
735
|
],
|
|
596
|
-
"textFontFamily": undefined,
|
|
597
736
|
"viewport": "mobile",
|
|
598
737
|
},
|
|
599
738
|
"pageHeaderDesktop": PageHeaderDesktop {
|
|
@@ -637,7 +776,6 @@ BrandPageModel {
|
|
|
637
776
|
"color": undefined,
|
|
638
777
|
"fontFamily": "Lato",
|
|
639
778
|
"textAlign": "left",
|
|
640
|
-
"textStyleType": undefined,
|
|
641
779
|
},
|
|
642
780
|
"iconStyle": {
|
|
643
781
|
"backgroundColor": undefined,
|
|
@@ -713,7 +851,6 @@ BrandPageModel {
|
|
|
713
851
|
"color": undefined,
|
|
714
852
|
"fontFamily": "Lato",
|
|
715
853
|
"textAlign": "left",
|
|
716
|
-
"textStyleType": undefined,
|
|
717
854
|
},
|
|
718
855
|
"iconStyle": {
|
|
719
856
|
"backgroundColor": undefined,
|
|
@@ -864,12 +1001,25 @@ BrandPageModel {
|
|
|
864
1001
|
"style": {
|
|
865
1002
|
"color": "logo-text-color",
|
|
866
1003
|
},
|
|
867
|
-
"textFontFamily": "lato",
|
|
868
1004
|
"textStyleOptions": {
|
|
1005
|
+
"button": TextStyleOption {
|
|
1006
|
+
"isModified": false,
|
|
1007
|
+
"style": {
|
|
1008
|
+
"fontFamily": "Lato",
|
|
1009
|
+
"fontSize": "1em",
|
|
1010
|
+
"fontStyle": undefined,
|
|
1011
|
+
"fontWeight": "normal",
|
|
1012
|
+
"letterSpacing": undefined,
|
|
1013
|
+
"lineHeight": "1.2",
|
|
1014
|
+
"textDecoration": undefined,
|
|
1015
|
+
"textStyleType": undefined,
|
|
1016
|
+
},
|
|
1017
|
+
"title": "Button",
|
|
1018
|
+
"type": "button",
|
|
1019
|
+
},
|
|
869
1020
|
"buttons": TextStyleOption {
|
|
870
1021
|
"isModified": false,
|
|
871
1022
|
"style": {
|
|
872
|
-
"color": undefined,
|
|
873
1023
|
"fontFamily": "Lato",
|
|
874
1024
|
"fontSize": "1em",
|
|
875
1025
|
"fontStyle": undefined,
|
|
@@ -882,10 +1032,99 @@ BrandPageModel {
|
|
|
882
1032
|
"title": "Button Texts",
|
|
883
1033
|
"type": "buttons",
|
|
884
1034
|
},
|
|
1035
|
+
"heading1": TextStyleOption {
|
|
1036
|
+
"isModified": false,
|
|
1037
|
+
"style": {
|
|
1038
|
+
"fontFamily": "Lato",
|
|
1039
|
+
"fontSize": "6.875em",
|
|
1040
|
+
"fontStyle": undefined,
|
|
1041
|
+
"fontWeight": "bold",
|
|
1042
|
+
"letterSpacing": undefined,
|
|
1043
|
+
"lineHeight": "1.2",
|
|
1044
|
+
"textDecoration": undefined,
|
|
1045
|
+
"textStyleType": undefined,
|
|
1046
|
+
},
|
|
1047
|
+
"title": "Heading 1",
|
|
1048
|
+
"type": "heading1",
|
|
1049
|
+
},
|
|
1050
|
+
"heading2": TextStyleOption {
|
|
1051
|
+
"isModified": false,
|
|
1052
|
+
"style": {
|
|
1053
|
+
"fontFamily": "Lato",
|
|
1054
|
+
"fontSize": "5.25em",
|
|
1055
|
+
"fontStyle": undefined,
|
|
1056
|
+
"fontWeight": "bold",
|
|
1057
|
+
"letterSpacing": undefined,
|
|
1058
|
+
"lineHeight": "1.2",
|
|
1059
|
+
"textDecoration": undefined,
|
|
1060
|
+
"textStyleType": undefined,
|
|
1061
|
+
},
|
|
1062
|
+
"title": "Heading 2",
|
|
1063
|
+
"type": "heading2",
|
|
1064
|
+
},
|
|
1065
|
+
"heading3": TextStyleOption {
|
|
1066
|
+
"isModified": false,
|
|
1067
|
+
"style": {
|
|
1068
|
+
"fontFamily": "Lato",
|
|
1069
|
+
"fontSize": "3.1875em",
|
|
1070
|
+
"fontStyle": undefined,
|
|
1071
|
+
"fontWeight": "bold",
|
|
1072
|
+
"letterSpacing": undefined,
|
|
1073
|
+
"lineHeight": "1.25",
|
|
1074
|
+
"textDecoration": undefined,
|
|
1075
|
+
"textStyleType": undefined,
|
|
1076
|
+
},
|
|
1077
|
+
"title": "Heading 3",
|
|
1078
|
+
"type": "heading3",
|
|
1079
|
+
},
|
|
1080
|
+
"heading4": TextStyleOption {
|
|
1081
|
+
"isModified": false,
|
|
1082
|
+
"style": {
|
|
1083
|
+
"fontFamily": "Lato",
|
|
1084
|
+
"fontSize": "2.1875em",
|
|
1085
|
+
"fontStyle": undefined,
|
|
1086
|
+
"fontWeight": "bold",
|
|
1087
|
+
"letterSpacing": undefined,
|
|
1088
|
+
"lineHeight": "1.3",
|
|
1089
|
+
"textDecoration": undefined,
|
|
1090
|
+
"textStyleType": undefined,
|
|
1091
|
+
},
|
|
1092
|
+
"title": "Heading 4",
|
|
1093
|
+
"type": "heading4",
|
|
1094
|
+
},
|
|
1095
|
+
"heading5": TextStyleOption {
|
|
1096
|
+
"isModified": false,
|
|
1097
|
+
"style": {
|
|
1098
|
+
"fontFamily": "Lato",
|
|
1099
|
+
"fontSize": "1.4375em",
|
|
1100
|
+
"fontStyle": undefined,
|
|
1101
|
+
"fontWeight": "bold",
|
|
1102
|
+
"letterSpacing": undefined,
|
|
1103
|
+
"lineHeight": "1.35",
|
|
1104
|
+
"textDecoration": undefined,
|
|
1105
|
+
"textStyleType": undefined,
|
|
1106
|
+
},
|
|
1107
|
+
"title": "Heading 5",
|
|
1108
|
+
"type": "heading5",
|
|
1109
|
+
},
|
|
1110
|
+
"heading6": TextStyleOption {
|
|
1111
|
+
"isModified": false,
|
|
1112
|
+
"style": {
|
|
1113
|
+
"fontFamily": "Lato",
|
|
1114
|
+
"fontSize": "1em",
|
|
1115
|
+
"fontStyle": undefined,
|
|
1116
|
+
"fontWeight": "bold",
|
|
1117
|
+
"letterSpacing": undefined,
|
|
1118
|
+
"lineHeight": "1.4",
|
|
1119
|
+
"textDecoration": undefined,
|
|
1120
|
+
"textStyleType": undefined,
|
|
1121
|
+
},
|
|
1122
|
+
"title": "Heading 6",
|
|
1123
|
+
"type": "heading6",
|
|
1124
|
+
},
|
|
885
1125
|
"headings": TextStyleOption {
|
|
886
1126
|
"isModified": false,
|
|
887
1127
|
"style": {
|
|
888
|
-
"color": undefined,
|
|
889
1128
|
"fontFamily": "Lato",
|
|
890
1129
|
"fontSize": "1.5em",
|
|
891
1130
|
"fontStyle": undefined,
|
|
@@ -898,10 +1137,54 @@ BrandPageModel {
|
|
|
898
1137
|
"title": "Headings",
|
|
899
1138
|
"type": "headings",
|
|
900
1139
|
},
|
|
1140
|
+
"paragraph1": TextStyleOption {
|
|
1141
|
+
"isModified": false,
|
|
1142
|
+
"style": {
|
|
1143
|
+
"fontFamily": "Lato",
|
|
1144
|
+
"fontSize": "1.375em",
|
|
1145
|
+
"fontStyle": undefined,
|
|
1146
|
+
"fontWeight": "normal",
|
|
1147
|
+
"letterSpacing": undefined,
|
|
1148
|
+
"lineHeight": "1.5",
|
|
1149
|
+
"textDecoration": undefined,
|
|
1150
|
+
"textStyleType": undefined,
|
|
1151
|
+
},
|
|
1152
|
+
"title": "Paragraph 1",
|
|
1153
|
+
"type": "paragraph1",
|
|
1154
|
+
},
|
|
1155
|
+
"paragraph2": TextStyleOption {
|
|
1156
|
+
"isModified": false,
|
|
1157
|
+
"style": {
|
|
1158
|
+
"fontFamily": "Lato",
|
|
1159
|
+
"fontSize": "1.125em",
|
|
1160
|
+
"fontStyle": undefined,
|
|
1161
|
+
"fontWeight": "normal",
|
|
1162
|
+
"letterSpacing": undefined,
|
|
1163
|
+
"lineHeight": "1.5",
|
|
1164
|
+
"textDecoration": undefined,
|
|
1165
|
+
"textStyleType": undefined,
|
|
1166
|
+
},
|
|
1167
|
+
"title": "Paragraph 2",
|
|
1168
|
+
"type": "paragraph2",
|
|
1169
|
+
},
|
|
1170
|
+
"paragraph3": TextStyleOption {
|
|
1171
|
+
"isModified": false,
|
|
1172
|
+
"style": {
|
|
1173
|
+
"fontFamily": "Lato",
|
|
1174
|
+
"fontSize": "0.875em",
|
|
1175
|
+
"fontStyle": undefined,
|
|
1176
|
+
"fontWeight": "normal",
|
|
1177
|
+
"letterSpacing": undefined,
|
|
1178
|
+
"lineHeight": "1.6",
|
|
1179
|
+
"textDecoration": undefined,
|
|
1180
|
+
"textStyleType": undefined,
|
|
1181
|
+
},
|
|
1182
|
+
"title": "Paragraph 3",
|
|
1183
|
+
"type": "paragraph3",
|
|
1184
|
+
},
|
|
901
1185
|
"paragraphs": TextStyleOption {
|
|
902
1186
|
"isModified": false,
|
|
903
1187
|
"style": {
|
|
904
|
-
"color": undefined,
|
|
905
1188
|
"fontFamily": "Lato",
|
|
906
1189
|
"fontSize": "1em",
|
|
907
1190
|
"fontStyle": undefined,
|
|
@@ -917,7 +1200,6 @@ BrandPageModel {
|
|
|
917
1200
|
"titles": TextStyleOption {
|
|
918
1201
|
"isModified": false,
|
|
919
1202
|
"style": {
|
|
920
|
-
"color": undefined,
|
|
921
1203
|
"fontFamily": "Lato",
|
|
922
1204
|
"fontSize": "2.25em",
|
|
923
1205
|
"fontStyle": undefined,
|