@cooperco/cooper-component-library 0.1.60 → 0.1.61
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/dist/cms/0001-init.cjs +41 -0
- package/dist/cms/0002-create-image.cjs +34 -0
- package/dist/cms/0003-create-video.cjs +52 -0
- package/dist/cms/0004-create-testimonial.cjs +56 -0
- package/dist/cms/0005-create-tile-label.cjs +41 -0
- package/dist/cms/0006-create-accordion-item.cjs +83 -0
- package/dist/cms/0007-create-accordion.cjs +45 -0
- package/dist/cms/0008-create-page-metadata.cjs +69 -0
- package/dist/cms/0009-create-page.cjs +57 -0
- package/dist/cms/0010-create-link.cjs +86 -0
- package/dist/cms/0011-create-navigation-element.cjs +54 -0
- package/dist/cms/0012-create-primary-navigation.cjs +46 -0
- package/dist/cms/0013-create-tile-content.cjs +99 -0
- package/dist/cms/0014-create-tile-collection.cjs +96 -0
- package/dist/cms/0015-create-highlighted-text.cjs +24 -0
- package/dist/cms/0016-create-content-module.cjs +105 -0
- package/dist/cms/0017-create-cta.cjs +97 -0
- package/dist/cms/0018-create-container-module.cjs +134 -0
- package/dist/cms/0019-social-media.cjs +45 -0
- package/dist/cms/0020-create-footer.cjs +93 -0
- package/dist/cms/0021-create-carousel.cjs +68 -0
- package/dist/cms/0022-create-logo-collection.cjs +58 -0
- package/dist/cms/0023-create-split-module.cjs +66 -0
- package/dist/cms/0024-create-container-collection.cjs +58 -0
- package/dist/cms/0025-edit-container-module.cjs +15 -0
- package/dist/cms/0026-add-localization.cjs +181 -0
- package/dist/cms/0027-add-field-to-content-module.cjs +24 -0
- package/dist/cms/0028-add-load-more-accordion.cjs +22 -0
- package/dist/cms/0029-add-start-open-to-accordion.cjs +22 -0
- package/dist/cms/0030-add-mobile-image.cjs +37 -0
- package/dist/cms/0031-update-tile-content-helptext.cjs +19 -0
- package/dist/cms/0032-add-include-decorations.cjs +33 -0
- package/dist/cms/0033-add-centered-option-content-module.cjs +27 -0
- package/dist/cms/0034-update-tile-content.cjs +19 -0
- package/dist/cms/0035-update-tile-content-subheadline.cjs +19 -0
- package/dist/cms/0036-multiple-cta-option.cjs +160 -0
- package/dist/cms/0037-edit-content-module.cjs +15 -0
- package/dist/cms/0038-add-mobile-image-bottom-option-container-module.cjs +31 -0
- package/dist/cms/0039-limit-ctas-collections-size.cjs +39 -0
- package/dist/cms/0040-edit-content-tile.cjs +15 -0
- package/dist/cms/0041-edit-cta-add-btn-size.cjs +28 -0
- package/dist/cms/0042-edit-cta-update-button-type.cjs +23 -0
- package/dist/cms/0043-edit-link-add-third-party-id.cjs +24 -0
- package/dist/cms/0044-edit-footer-update-copyright-links-validation-type.cjs +144 -0
- package/dist/cms/0045-edit-carousel-add-heading-field.cjs +21 -0
- package/dist/cms/0046-update-tile-content.cjs +48 -0
- package/dist/cms/0047-create-body-copy.cjs +51 -0
- package/dist/cms/0048-create-tab-module.cjs +51 -0
- package/dist/cms/0049-create-product-module.cjs +68 -0
- package/dist/cms/0050-update-container.cjs +29 -0
- package/dist/cms/0051-update-accordion.cjs +22 -0
- package/dist/cms/0052-update-tile-content.cjs +41 -0
- package/dist/cms/0053-add-fields-to-tab-module.cjs +44 -0
- package/dist/cms/0054-update-product-module-logo-collection.cjs +70 -0
- package/dist/cms/0055-create-cta-action.cjs +50 -0
- package/dist/cms/0056-update-cta.cjs +25 -0
- package/dist/cms/0057-add-show-cart-to-page.cjs +26 -0
- package/dist/cms/README.md +42 -0
- package/dist/cms/accordion.query.ts +21 -0
- package/dist/cms/addEntryNameField.cjs +9 -0
- package/dist/cms/carousel.query.ts +34 -0
- package/dist/cms/containerModule.query.ts +142 -0
- package/dist/cms/contentModule.query.ts +51 -0
- package/dist/cms/contentful/graphql/queries/accordion.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/accordion.query.js +19 -0
- package/dist/cms/contentful/graphql/queries/carousel.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/carousel.query.js +32 -0
- package/dist/cms/contentful/graphql/queries/containerModule.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/containerModule.query.js +140 -0
- package/dist/cms/contentful/graphql/queries/contentModule.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/contentModule.query.js +49 -0
- package/dist/cms/contentful/graphql/queries/cta.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/cta.query.js +10 -0
- package/dist/cms/contentful/graphql/queries/footer.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/footer.query.js +44 -0
- package/dist/cms/contentful/graphql/queries/fragments.d.ts +11 -0
- package/dist/cms/contentful/graphql/queries/fragments.js +172 -0
- package/dist/cms/contentful/graphql/queries/header.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/header.query.js +39 -0
- package/dist/cms/contentful/graphql/queries/image.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/image.query.js +10 -0
- package/dist/cms/contentful/graphql/queries/index.d.ts +18 -0
- package/dist/cms/contentful/graphql/queries/index.js +18 -0
- package/dist/cms/contentful/graphql/queries/link.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/link.query.js +10 -0
- package/dist/cms/contentful/graphql/queries/logoCollection.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/logoCollection.query.js +16 -0
- package/dist/cms/contentful/graphql/queries/navigation.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/navigation.query.js +10 -0
- package/dist/cms/contentful/graphql/queries/page.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/page.query.js +23 -0
- package/dist/cms/contentful/graphql/queries/pageMetadata.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/pageMetadata.query.js +16 -0
- package/dist/cms/contentful/graphql/queries/productModule.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/productModule.query.js +59 -0
- package/dist/cms/contentful/graphql/queries/testimonial.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/testimonial.query.js +23 -0
- package/dist/cms/contentful/graphql/queries/tileCollection.query.d.ts +4 -0
- package/dist/cms/contentful/graphql/queries/tileCollection.query.js +35 -0
- package/dist/cms/contentful/graphql/queries/video.query.d.ts +2 -0
- package/dist/cms/contentful/graphql/queries/video.query.js +11 -0
- package/dist/cms/contentful/migrations/README.md +42 -0
- package/dist/cms/contentful/migrations/helpers/addEntryNameField.cjs +9 -0
- package/dist/cms/contentful/migrations/scripts/0001-init.cjs +41 -0
- package/dist/cms/contentful/migrations/scripts/0002-create-image.cjs +34 -0
- package/dist/cms/contentful/migrations/scripts/0003-create-video.cjs +52 -0
- package/dist/cms/contentful/migrations/scripts/0004-create-testimonial.cjs +56 -0
- package/dist/cms/contentful/migrations/scripts/0005-create-tile-label.cjs +41 -0
- package/dist/cms/contentful/migrations/scripts/0006-create-accordion-item.cjs +83 -0
- package/dist/cms/contentful/migrations/scripts/0007-create-accordion.cjs +45 -0
- package/dist/cms/contentful/migrations/scripts/0008-create-page-metadata.cjs +69 -0
- package/dist/cms/contentful/migrations/scripts/0009-create-page.cjs +57 -0
- package/dist/cms/contentful/migrations/scripts/0010-create-link.cjs +86 -0
- package/dist/cms/contentful/migrations/scripts/0011-create-navigation-element.cjs +54 -0
- package/dist/cms/contentful/migrations/scripts/0012-create-primary-navigation.cjs +46 -0
- package/dist/cms/contentful/migrations/scripts/0013-create-tile-content.cjs +99 -0
- package/dist/cms/contentful/migrations/scripts/0014-create-tile-collection.cjs +96 -0
- package/dist/cms/contentful/migrations/scripts/0015-create-highlighted-text.cjs +24 -0
- package/dist/cms/contentful/migrations/scripts/0016-create-content-module.cjs +105 -0
- package/dist/cms/contentful/migrations/scripts/0017-create-cta.cjs +97 -0
- package/dist/cms/contentful/migrations/scripts/0018-create-container-module.cjs +134 -0
- package/dist/cms/contentful/migrations/scripts/0019-social-media.cjs +45 -0
- package/dist/cms/contentful/migrations/scripts/0020-create-footer.cjs +93 -0
- package/dist/cms/contentful/migrations/scripts/0021-create-carousel.cjs +68 -0
- package/dist/cms/contentful/migrations/scripts/0022-create-logo-collection.cjs +58 -0
- package/dist/cms/contentful/migrations/scripts/0023-create-split-module.cjs +66 -0
- package/dist/cms/contentful/migrations/scripts/0024-create-container-collection.cjs +58 -0
- package/dist/cms/contentful/migrations/scripts/0025-edit-container-module.cjs +15 -0
- package/dist/cms/contentful/migrations/scripts/0026-add-localization.cjs +181 -0
- package/dist/cms/contentful/migrations/scripts/0027-add-field-to-content-module.cjs +24 -0
- package/dist/cms/contentful/migrations/scripts/0028-add-load-more-accordion.cjs +22 -0
- package/dist/cms/contentful/migrations/scripts/0029-add-start-open-to-accordion.cjs +22 -0
- package/dist/cms/contentful/migrations/scripts/0030-add-mobile-image.cjs +37 -0
- package/dist/cms/contentful/migrations/scripts/0031-update-tile-content-helptext.cjs +19 -0
- package/dist/cms/contentful/migrations/scripts/0032-add-include-decorations.cjs +33 -0
- package/dist/cms/contentful/migrations/scripts/0033-add-centered-option-content-module.cjs +27 -0
- package/dist/cms/contentful/migrations/scripts/0034-update-tile-content.cjs +19 -0
- package/dist/cms/contentful/migrations/scripts/0035-update-tile-content-subheadline.cjs +19 -0
- package/dist/cms/contentful/migrations/scripts/0036-multiple-cta-option.cjs +160 -0
- package/dist/cms/contentful/migrations/scripts/0037-edit-content-module.cjs +15 -0
- package/dist/cms/contentful/migrations/scripts/0038-add-mobile-image-bottom-option-container-module.cjs +31 -0
- package/dist/cms/contentful/migrations/scripts/0039-limit-ctas-collections-size.cjs +39 -0
- package/dist/cms/contentful/migrations/scripts/0040-edit-content-tile.cjs +15 -0
- package/dist/cms/contentful/migrations/scripts/0041-edit-cta-add-btn-size.cjs +28 -0
- package/dist/cms/contentful/migrations/scripts/0042-edit-cta-update-button-type.cjs +23 -0
- package/dist/cms/contentful/migrations/scripts/0043-edit-link-add-third-party-id.cjs +24 -0
- package/dist/cms/contentful/migrations/scripts/0044-edit-footer-update-copyright-links-validation-type.cjs +144 -0
- package/dist/cms/contentful/migrations/scripts/0045-edit-carousel-add-heading-field.cjs +21 -0
- package/dist/cms/contentful/migrations/scripts/0046-update-tile-content.cjs +48 -0
- package/dist/cms/contentful/migrations/scripts/0047-create-body-copy.cjs +51 -0
- package/dist/cms/contentful/migrations/scripts/0048-create-tab-module.cjs +51 -0
- package/dist/cms/contentful/migrations/scripts/0049-create-product-module.cjs +68 -0
- package/dist/cms/contentful/migrations/scripts/0050-update-container.cjs +29 -0
- package/dist/cms/contentful/migrations/scripts/0051-update-accordion.cjs +22 -0
- package/dist/cms/contentful/migrations/scripts/0052-update-tile-content.cjs +41 -0
- package/dist/cms/contentful/migrations/scripts/0053-add-fields-to-tab-module.cjs +44 -0
- package/dist/cms/contentful/migrations/scripts/0054-update-product-module-logo-collection.cjs +70 -0
- package/dist/cms/contentful/migrations/scripts/0055-create-cta-action.cjs +50 -0
- package/dist/cms/contentful/migrations/scripts/0056-update-cta.cjs +25 -0
- package/dist/cms/contentful/migrations/scripts/0057-add-show-cart-to-page.cjs +26 -0
- package/dist/cms/contentful/queries/accordion.query.d.ts +2 -0
- package/dist/cms/contentful/queries/accordion.query.js +19 -0
- package/dist/cms/contentful/queries/accordion.query.ts +21 -0
- package/dist/cms/contentful/queries/carousel.query.d.ts +2 -0
- package/dist/cms/contentful/queries/carousel.query.js +32 -0
- package/dist/cms/contentful/queries/carousel.query.ts +34 -0
- package/dist/cms/contentful/queries/containerModule.query.d.ts +2 -0
- package/dist/cms/contentful/queries/containerModule.query.js +140 -0
- package/dist/cms/contentful/queries/containerModule.query.ts +142 -0
- package/dist/cms/contentful/queries/contentModule.query.d.ts +2 -0
- package/dist/cms/contentful/queries/contentModule.query.js +49 -0
- package/dist/cms/contentful/queries/contentModule.query.ts +51 -0
- package/dist/cms/contentful/queries/cta.query.d.ts +2 -0
- package/dist/cms/contentful/queries/cta.query.js +10 -0
- package/dist/cms/contentful/queries/cta.query.ts +12 -0
- package/dist/cms/contentful/queries/footer.query.d.ts +2 -0
- package/dist/cms/contentful/queries/footer.query.js +44 -0
- package/dist/cms/contentful/queries/footer.query.ts +50 -0
- package/dist/cms/contentful/queries/fragments.d.ts +11 -0
- package/dist/cms/contentful/queries/fragments.js +172 -0
- package/dist/cms/contentful/queries/fragments.ts +183 -0
- package/dist/cms/contentful/queries/header.query.d.ts +2 -0
- package/dist/cms/contentful/queries/header.query.js +39 -0
- package/dist/cms/contentful/queries/header.query.ts +41 -0
- package/dist/cms/contentful/queries/image.query.d.ts +2 -0
- package/dist/cms/contentful/queries/image.query.js +10 -0
- package/dist/cms/contentful/queries/image.query.ts +12 -0
- package/dist/cms/contentful/queries/index.d.ts +18 -0
- package/dist/cms/contentful/queries/index.js +18 -0
- package/dist/cms/contentful/queries/index.ts +18 -0
- package/dist/cms/contentful/queries/link.query.d.ts +2 -0
- package/dist/cms/contentful/queries/link.query.js +10 -0
- package/dist/cms/contentful/queries/link.query.ts +12 -0
- package/dist/cms/contentful/queries/logoCollection.query.d.ts +2 -0
- package/dist/cms/contentful/queries/logoCollection.query.js +16 -0
- package/dist/cms/contentful/queries/logoCollection.query.ts +18 -0
- package/dist/cms/contentful/queries/navigation.query.d.ts +2 -0
- package/dist/cms/contentful/queries/navigation.query.js +10 -0
- package/dist/cms/contentful/queries/navigation.query.ts +12 -0
- package/dist/cms/contentful/queries/page.query.d.ts +2 -0
- package/dist/cms/contentful/queries/page.query.js +23 -0
- package/dist/cms/contentful/queries/page.query.ts +25 -0
- package/dist/cms/contentful/queries/pageMetadata.query.d.ts +2 -0
- package/dist/cms/contentful/queries/pageMetadata.query.js +16 -0
- package/dist/cms/contentful/queries/pageMetadata.query.ts +18 -0
- package/dist/cms/contentful/queries/productModule.query.d.ts +2 -0
- package/dist/cms/contentful/queries/productModule.query.js +59 -0
- package/dist/cms/contentful/queries/productModule.query.ts +61 -0
- package/dist/cms/contentful/queries/testimonial.query.d.ts +2 -0
- package/dist/cms/contentful/queries/testimonial.query.js +23 -0
- package/dist/cms/contentful/queries/testimonial.query.ts +25 -0
- package/dist/cms/contentful/queries/tileCollection.query.d.ts +4 -0
- package/dist/cms/contentful/queries/tileCollection.query.js +35 -0
- package/dist/cms/contentful/queries/tileCollection.query.ts +39 -0
- package/dist/cms/contentful/queries/video.query.d.ts +2 -0
- package/dist/cms/contentful/queries/video.query.js +11 -0
- package/dist/cms/contentful/queries/video.query.ts +13 -0
- package/dist/cms/cta.query.ts +12 -0
- package/dist/cms/footer.query.ts +50 -0
- package/dist/cms/fragments.ts +183 -0
- package/dist/cms/header.query.ts +41 -0
- package/dist/cms/helpers/addEntryNameField.cjs +9 -0
- package/dist/cms/image.query.ts +12 -0
- package/dist/cms/index.ts +18 -0
- package/dist/cms/link.query.ts +12 -0
- package/dist/cms/logoCollection.query.ts +18 -0
- package/dist/cms/migrations/README.md +42 -0
- package/dist/cms/migrations/helpers/addEntryNameField.cjs +9 -0
- package/dist/cms/migrations/scripts/0001-init.cjs +41 -0
- package/dist/cms/migrations/scripts/0002-create-image.cjs +34 -0
- package/dist/cms/migrations/scripts/0003-create-video.cjs +52 -0
- package/dist/cms/migrations/scripts/0004-create-testimonial.cjs +56 -0
- package/dist/cms/migrations/scripts/0005-create-tile-label.cjs +41 -0
- package/dist/cms/migrations/scripts/0006-create-accordion-item.cjs +83 -0
- package/dist/cms/migrations/scripts/0007-create-accordion.cjs +45 -0
- package/dist/cms/migrations/scripts/0008-create-page-metadata.cjs +69 -0
- package/dist/cms/migrations/scripts/0009-create-page.cjs +57 -0
- package/dist/cms/migrations/scripts/0010-create-link.cjs +86 -0
- package/dist/cms/migrations/scripts/0011-create-navigation-element.cjs +54 -0
- package/dist/cms/migrations/scripts/0012-create-primary-navigation.cjs +46 -0
- package/dist/cms/migrations/scripts/0013-create-tile-content.cjs +99 -0
- package/dist/cms/migrations/scripts/0014-create-tile-collection.cjs +96 -0
- package/dist/cms/migrations/scripts/0015-create-highlighted-text.cjs +24 -0
- package/dist/cms/migrations/scripts/0016-create-content-module.cjs +105 -0
- package/dist/cms/migrations/scripts/0017-create-cta.cjs +97 -0
- package/dist/cms/migrations/scripts/0018-create-container-module.cjs +134 -0
- package/dist/cms/migrations/scripts/0019-social-media.cjs +45 -0
- package/dist/cms/migrations/scripts/0020-create-footer.cjs +93 -0
- package/dist/cms/migrations/scripts/0021-create-carousel.cjs +68 -0
- package/dist/cms/migrations/scripts/0022-create-logo-collection.cjs +58 -0
- package/dist/cms/migrations/scripts/0023-create-split-module.cjs +66 -0
- package/dist/cms/migrations/scripts/0024-create-container-collection.cjs +58 -0
- package/dist/cms/migrations/scripts/0025-edit-container-module.cjs +15 -0
- package/dist/cms/migrations/scripts/0026-add-localization.cjs +181 -0
- package/dist/cms/migrations/scripts/0027-add-field-to-content-module.cjs +24 -0
- package/dist/cms/migrations/scripts/0028-add-load-more-accordion.cjs +22 -0
- package/dist/cms/migrations/scripts/0029-add-start-open-to-accordion.cjs +22 -0
- package/dist/cms/migrations/scripts/0030-add-mobile-image.cjs +37 -0
- package/dist/cms/migrations/scripts/0031-update-tile-content-helptext.cjs +19 -0
- package/dist/cms/migrations/scripts/0032-add-include-decorations.cjs +33 -0
- package/dist/cms/migrations/scripts/0033-add-centered-option-content-module.cjs +27 -0
- package/dist/cms/migrations/scripts/0034-update-tile-content.cjs +19 -0
- package/dist/cms/migrations/scripts/0035-update-tile-content-subheadline.cjs +19 -0
- package/dist/cms/migrations/scripts/0036-multiple-cta-option.cjs +160 -0
- package/dist/cms/migrations/scripts/0037-edit-content-module.cjs +15 -0
- package/dist/cms/migrations/scripts/0038-add-mobile-image-bottom-option-container-module.cjs +31 -0
- package/dist/cms/migrations/scripts/0039-limit-ctas-collections-size.cjs +39 -0
- package/dist/cms/migrations/scripts/0040-edit-content-tile.cjs +15 -0
- package/dist/cms/migrations/scripts/0041-edit-cta-add-btn-size.cjs +28 -0
- package/dist/cms/migrations/scripts/0042-edit-cta-update-button-type.cjs +23 -0
- package/dist/cms/migrations/scripts/0043-edit-link-add-third-party-id.cjs +24 -0
- package/dist/cms/migrations/scripts/0044-edit-footer-update-copyright-links-validation-type.cjs +144 -0
- package/dist/cms/migrations/scripts/0045-edit-carousel-add-heading-field.cjs +21 -0
- package/dist/cms/migrations/scripts/0046-update-tile-content.cjs +48 -0
- package/dist/cms/migrations/scripts/0047-create-body-copy.cjs +51 -0
- package/dist/cms/migrations/scripts/0048-create-tab-module.cjs +51 -0
- package/dist/cms/migrations/scripts/0049-create-product-module.cjs +68 -0
- package/dist/cms/migrations/scripts/0050-update-container.cjs +29 -0
- package/dist/cms/migrations/scripts/0051-update-accordion.cjs +22 -0
- package/dist/cms/migrations/scripts/0052-update-tile-content.cjs +41 -0
- package/dist/cms/migrations/scripts/0053-add-fields-to-tab-module.cjs +44 -0
- package/dist/cms/migrations/scripts/0054-update-product-module-logo-collection.cjs +70 -0
- package/dist/cms/migrations/scripts/0055-create-cta-action.cjs +50 -0
- package/dist/cms/migrations/scripts/0056-update-cta.cjs +25 -0
- package/dist/cms/migrations/scripts/0057-add-show-cart-to-page.cjs +26 -0
- package/dist/cms/navigation.query.ts +12 -0
- package/dist/cms/page.query.ts +25 -0
- package/dist/cms/pageMetadata.query.ts +18 -0
- package/dist/cms/productModule.query.ts +61 -0
- package/dist/cms/queries/accordion.query.ts +21 -0
- package/dist/cms/queries/carousel.query.ts +34 -0
- package/dist/cms/queries/containerModule.query.ts +142 -0
- package/dist/cms/queries/contentModule.query.ts +51 -0
- package/dist/cms/queries/cta.query.ts +12 -0
- package/dist/cms/queries/footer.query.ts +50 -0
- package/dist/cms/queries/fragments.ts +183 -0
- package/dist/cms/queries/header.query.ts +41 -0
- package/dist/cms/queries/image.query.ts +12 -0
- package/dist/cms/queries/index.ts +18 -0
- package/dist/cms/queries/link.query.ts +12 -0
- package/dist/cms/queries/logoCollection.query.ts +18 -0
- package/dist/cms/queries/navigation.query.ts +12 -0
- package/dist/cms/queries/page.query.ts +25 -0
- package/dist/cms/queries/pageMetadata.query.ts +18 -0
- package/dist/cms/queries/productModule.query.ts +61 -0
- package/dist/cms/queries/testimonial.query.ts +25 -0
- package/dist/cms/queries/tileCollection.query.ts +39 -0
- package/dist/cms/queries/video.query.ts +13 -0
- package/dist/cms/scripts/0001-init.cjs +41 -0
- package/dist/cms/scripts/0002-create-image.cjs +34 -0
- package/dist/cms/scripts/0003-create-video.cjs +52 -0
- package/dist/cms/scripts/0004-create-testimonial.cjs +56 -0
- package/dist/cms/scripts/0005-create-tile-label.cjs +41 -0
- package/dist/cms/scripts/0006-create-accordion-item.cjs +83 -0
- package/dist/cms/scripts/0007-create-accordion.cjs +45 -0
- package/dist/cms/scripts/0008-create-page-metadata.cjs +69 -0
- package/dist/cms/scripts/0009-create-page.cjs +57 -0
- package/dist/cms/scripts/0010-create-link.cjs +86 -0
- package/dist/cms/scripts/0011-create-navigation-element.cjs +54 -0
- package/dist/cms/scripts/0012-create-primary-navigation.cjs +46 -0
- package/dist/cms/scripts/0013-create-tile-content.cjs +99 -0
- package/dist/cms/scripts/0014-create-tile-collection.cjs +96 -0
- package/dist/cms/scripts/0015-create-highlighted-text.cjs +24 -0
- package/dist/cms/scripts/0016-create-content-module.cjs +105 -0
- package/dist/cms/scripts/0017-create-cta.cjs +97 -0
- package/dist/cms/scripts/0018-create-container-module.cjs +134 -0
- package/dist/cms/scripts/0019-social-media.cjs +45 -0
- package/dist/cms/scripts/0020-create-footer.cjs +93 -0
- package/dist/cms/scripts/0021-create-carousel.cjs +68 -0
- package/dist/cms/scripts/0022-create-logo-collection.cjs +58 -0
- package/dist/cms/scripts/0023-create-split-module.cjs +66 -0
- package/dist/cms/scripts/0024-create-container-collection.cjs +58 -0
- package/dist/cms/scripts/0025-edit-container-module.cjs +15 -0
- package/dist/cms/scripts/0026-add-localization.cjs +181 -0
- package/dist/cms/scripts/0027-add-field-to-content-module.cjs +24 -0
- package/dist/cms/scripts/0028-add-load-more-accordion.cjs +22 -0
- package/dist/cms/scripts/0029-add-start-open-to-accordion.cjs +22 -0
- package/dist/cms/scripts/0030-add-mobile-image.cjs +37 -0
- package/dist/cms/scripts/0031-update-tile-content-helptext.cjs +19 -0
- package/dist/cms/scripts/0032-add-include-decorations.cjs +33 -0
- package/dist/cms/scripts/0033-add-centered-option-content-module.cjs +27 -0
- package/dist/cms/scripts/0034-update-tile-content.cjs +19 -0
- package/dist/cms/scripts/0035-update-tile-content-subheadline.cjs +19 -0
- package/dist/cms/scripts/0036-multiple-cta-option.cjs +160 -0
- package/dist/cms/scripts/0037-edit-content-module.cjs +15 -0
- package/dist/cms/scripts/0038-add-mobile-image-bottom-option-container-module.cjs +31 -0
- package/dist/cms/scripts/0039-limit-ctas-collections-size.cjs +39 -0
- package/dist/cms/scripts/0040-edit-content-tile.cjs +15 -0
- package/dist/cms/scripts/0041-edit-cta-add-btn-size.cjs +28 -0
- package/dist/cms/scripts/0042-edit-cta-update-button-type.cjs +23 -0
- package/dist/cms/scripts/0043-edit-link-add-third-party-id.cjs +24 -0
- package/dist/cms/scripts/0044-edit-footer-update-copyright-links-validation-type.cjs +144 -0
- package/dist/cms/scripts/0045-edit-carousel-add-heading-field.cjs +21 -0
- package/dist/cms/scripts/0046-update-tile-content.cjs +48 -0
- package/dist/cms/scripts/0047-create-body-copy.cjs +51 -0
- package/dist/cms/scripts/0048-create-tab-module.cjs +51 -0
- package/dist/cms/scripts/0049-create-product-module.cjs +68 -0
- package/dist/cms/scripts/0050-update-container.cjs +29 -0
- package/dist/cms/scripts/0051-update-accordion.cjs +22 -0
- package/dist/cms/scripts/0052-update-tile-content.cjs +41 -0
- package/dist/cms/scripts/0053-add-fields-to-tab-module.cjs +44 -0
- package/dist/cms/scripts/0054-update-product-module-logo-collection.cjs +70 -0
- package/dist/cms/scripts/0055-create-cta-action.cjs +50 -0
- package/dist/cms/scripts/0056-update-cta.cjs +25 -0
- package/dist/cms/scripts/0057-add-show-cart-to-page.cjs +26 -0
- package/dist/cms/testimonial.query.ts +25 -0
- package/dist/cms/tileCollection.query.ts +39 -0
- package/dist/cms/video.query.ts +13 -0
- package/dist/types/cms/contentful/graphql/queries/accordion.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/carousel.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/containerModule.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/contentModule.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/cta.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/footer.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/fragments.d.ts +11 -0
- package/dist/types/cms/contentful/graphql/queries/header.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/image.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/index.d.ts +18 -0
- package/dist/types/cms/contentful/graphql/queries/link.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/logoCollection.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/navigation.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/page.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/pageMetadata.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/productModule.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/testimonial.query.d.ts +2 -0
- package/dist/types/cms/contentful/graphql/queries/tileCollection.query.d.ts +4 -0
- package/dist/types/cms/contentful/graphql/queries/video.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/accordion.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/carousel.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/containerModule.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/contentModule.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/cta.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/footer.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/fragments.d.ts +11 -0
- package/dist/types/cms/contentful/queries/header.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/image.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/index.d.ts +18 -0
- package/dist/types/cms/contentful/queries/link.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/logoCollection.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/navigation.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/page.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/pageMetadata.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/productModule.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/testimonial.query.d.ts +2 -0
- package/dist/types/cms/contentful/queries/tileCollection.query.d.ts +4 -0
- package/dist/types/cms/contentful/queries/video.query.d.ts +2 -0
- package/dist/types/components/Accordion/Accordion.d.ts +1 -0
- package/dist/types/components/ContentModule/ContentModule.d.ts +1 -0
- package/dist/types/src/App.vue.d.ts +2 -0
- package/dist/types/src/components/Accordion/Accordion.d.ts +18 -0
- package/dist/types/src/components/Accordion/Accordion.vue.d.ts +5 -0
- package/dist/types/src/components/Accordion/AccordionItem.d.ts +24 -0
- package/dist/types/src/components/Accordion/AccordionItem.vue.d.ts +9 -0
- package/dist/types/src/components/Accordion/AccordionListItem.vue.d.ts +3 -0
- package/dist/types/src/components/Accordion/AccordionTileItem.vue.d.ts +7 -0
- package/dist/types/src/components/AnimationWrapper/AnimationWrapper.d.ts +7 -0
- package/dist/types/src/components/AnimationWrapper/AnimationWrapper.vue.d.ts +10 -0
- package/dist/types/src/components/CTA/CTA.d.ts +25 -0
- package/dist/types/src/components/CTA/CTA.vue.d.ts +7 -0
- package/dist/types/src/components/CarouselModule/CarouselModule.d.ts +22 -0
- package/dist/types/src/components/CarouselModule/CarouselModule.vue.d.ts +5 -0
- package/dist/types/src/components/ContainerCollectionModule/ContainerCollectionModule.d.ts +10 -0
- package/dist/types/src/components/ContainerCollectionModule/ContainerCollectionModule.vue.d.ts +3 -0
- package/dist/types/src/components/ContainerModule/ContainerModule.d.ts +29 -0
- package/dist/types/src/components/ContainerModule/ContainerModule.vue.d.ts +14 -0
- package/dist/types/src/components/ContentModule/ContentModule.d.ts +30 -0
- package/dist/types/src/components/ContentModule/ContentModule.vue.d.ts +7 -0
- package/dist/types/src/components/Footer/FooterCopyright/FooterCopyright.d.ts +10 -0
- package/dist/types/src/components/Footer/FooterCopyright/FooterCopyright.vue.d.ts +3 -0
- package/dist/types/src/components/Footer/FooterNavigation/FooterNavigation.d.ts +14 -0
- package/dist/types/src/components/Footer/FooterNavigation/FooterNavigation.vue.d.ts +3 -0
- package/dist/types/src/components/Footer/SocialMediaRef/SocialMediaRef.d.ts +4 -0
- package/dist/types/src/components/Footer/SocialMediaRef/SocialMediaRef.vue.d.ts +3 -0
- package/dist/types/src/components/Image/Image.d.ts +15 -0
- package/dist/types/src/components/Image/Image.vue.d.ts +6 -0
- package/dist/types/src/components/LogoCollectionModule/LogoCollectionModule.d.ts +9 -0
- package/dist/types/src/components/LogoCollectionModule/LogoCollectionModule.vue.d.ts +3 -0
- package/dist/types/src/components/NavigationElement/NavigationElement.d.ts +20 -0
- package/dist/types/src/components/NavigationElement/NavigationElement.vue.d.ts +3 -0
- package/dist/types/src/components/PrimaryNavigation/PrimaryNavigation.d.ts +10 -0
- package/dist/types/src/components/PrimaryNavigation/PrimaryNavigation.vue.d.ts +9 -0
- package/dist/types/src/components/SplitModule/SplitModule.d.ts +16 -0
- package/dist/types/src/components/SplitModule/SplitModule.vue.d.ts +3 -0
- package/dist/types/src/components/TestimonialModule/TestimonialModule.d.ts +21 -0
- package/dist/types/src/components/TestimonialModule/TestimonialModule.vue.d.ts +3 -0
- package/dist/types/src/components/TileCollectionModule/TileCollectionModule.d.ts +18 -0
- package/dist/types/src/components/TileCollectionModule/TileCollectionModule.vue.d.ts +6 -0
- package/dist/types/src/components/TileContent/TileContent.d.ts +55 -0
- package/dist/types/src/components/TileContent/TileContentIconTile.vue.d.ts +5 -0
- package/dist/types/src/components/TileContent/TileContentImageStackedAnimatedTile.vue.d.ts +3 -0
- package/dist/types/src/components/TileContent/TileContentImageTile.vue.d.ts +5 -0
- package/dist/types/src/components/TileContent/TileContentTextTile.vue.d.ts +5 -0
- package/dist/types/src/components/TileContent/TileContentVideoTile.vue.d.ts +5 -0
- package/dist/types/src/components/TileLabel/TileLabel.d.ts +14 -0
- package/dist/types/src/components/TileLabel/TileLabel.vue.d.ts +6 -0
- package/dist/types/src/components/Video/Video.d.ts +7 -0
- package/dist/types/src/components/Video/Video.vue.d.ts +3 -0
- package/dist/types/src/components/components.d.ts +26 -0
- package/dist/types/src/components/types.d.ts +20 -0
- package/dist/types/src/config/colorPalettes.d.ts +59 -0
- package/dist/types/src/config/defaultPassthrough/config.d.ts +3 -0
- package/dist/types/src/config/defaultPassthrough/index.d.ts +67 -0
- package/dist/types/src/config/defaultPassthrough/types.d.ts +51 -0
- package/dist/types/src/index.d.ts +13 -0
- package/dist/types/src/init.d.ts +3 -0
- package/dist/types/src/pages/index.vue.d.ts +2 -0
- package/dist/types/src/router.d.ts +5 -0
- package/dist/types/src/types.d.ts +61 -0
- package/dist/types/src/utils/getTarget.d.ts +2 -0
- package/package.json +12 -5
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
const addEntryNameField = require('../helpers/addEntryNameField.cjs')
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
// @ts-check
|
|
5
|
+
/** @type { import('contentful-migration').MigrationFunction } */
|
|
6
|
+
up: function (migration) {
|
|
7
|
+
const ctaAction = migration.createContentType('ctaAction', {
|
|
8
|
+
name: 'CTA Action',
|
|
9
|
+
description: 'Used to control CTA actions other than navigation.',
|
|
10
|
+
displayField: 'entryName',
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
addEntryNameField(ctaAction)
|
|
14
|
+
|
|
15
|
+
// Title
|
|
16
|
+
ctaAction.createField('title', {
|
|
17
|
+
name: 'Title',
|
|
18
|
+
type: 'Symbol',
|
|
19
|
+
required: true,
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
// Aria Description
|
|
23
|
+
ctaAction.createField('ariaDescription', {
|
|
24
|
+
name: 'Aria Description',
|
|
25
|
+
type: 'Symbol',
|
|
26
|
+
required: true,
|
|
27
|
+
})
|
|
28
|
+
ctaAction.changeFieldControl('ariaDescription', 'builtin', 'singleLine', {
|
|
29
|
+
helpText: 'Aria description for CTA Action',
|
|
30
|
+
})
|
|
31
|
+
|
|
32
|
+
// Cta Type
|
|
33
|
+
ctaAction.createField('triggerMappingValue', {
|
|
34
|
+
name: 'Trigger Mapping Value',
|
|
35
|
+
type: 'Symbol',
|
|
36
|
+
required: true,
|
|
37
|
+
validations: [
|
|
38
|
+
{
|
|
39
|
+
in: ['Sign-in modal'],
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
})
|
|
43
|
+
ctaAction.changeFieldControl('triggerMappingValue', 'builtin', 'dropdown', {
|
|
44
|
+
helpText: 'A trigger that will determine the action of the CTA',
|
|
45
|
+
})
|
|
46
|
+
},
|
|
47
|
+
down: function (migration) {
|
|
48
|
+
migration.deleteContentType('ctaAction')
|
|
49
|
+
},
|
|
50
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
/** @type { import('contentful-migration').MigrationFunction } */
|
|
3
|
+
up: function (migration) {
|
|
4
|
+
const cta = migration.editContentType('cta')
|
|
5
|
+
|
|
6
|
+
cta.createField('ctaAction', {
|
|
7
|
+
name: 'CTA Action',
|
|
8
|
+
type: 'Link',
|
|
9
|
+
linkType: 'Entry',
|
|
10
|
+
validations: [
|
|
11
|
+
{
|
|
12
|
+
linkContentType: ['ctaAction'],
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
})
|
|
16
|
+
cta.moveField('ctaAction').beforeField('link')
|
|
17
|
+
cta.changeFieldControl('ctaAction', 'builtin', 'entry-link-list', {
|
|
18
|
+
helpText: 'If CTA Action is used, the Link will be ignored.',
|
|
19
|
+
})
|
|
20
|
+
},
|
|
21
|
+
down: function (migration) {
|
|
22
|
+
const cta = migration.editContentType('cta')
|
|
23
|
+
cta.deleteField('ctaAction')
|
|
24
|
+
},
|
|
25
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
// @ts-check
|
|
3
|
+
/** @type { import('contentful-migration').MigrationFunction } */
|
|
4
|
+
up: function (migration) {
|
|
5
|
+
const page = migration.editContentType('page')
|
|
6
|
+
|
|
7
|
+
// Add showCart field
|
|
8
|
+
const showCartField = page.createField("showCart");
|
|
9
|
+
showCartField
|
|
10
|
+
.name("Show Cart")
|
|
11
|
+
.type("Boolean")
|
|
12
|
+
.localized(false)
|
|
13
|
+
.required(false)
|
|
14
|
+
.disabled(false)
|
|
15
|
+
.omitted(false)
|
|
16
|
+
page.changeFieldControl("showCart", "builtin", "boolean", {
|
|
17
|
+
"helpText": "Toggle to show/hide the cart functionality on this page"
|
|
18
|
+
})
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
/** @type { import('contentful-migration').MigrationFunction } */
|
|
22
|
+
down: async function (migration) {
|
|
23
|
+
const page = migration.editContentType('page')
|
|
24
|
+
page.deleteField('showCart')
|
|
25
|
+
},
|
|
26
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { gql } from 'graphql-tag';
|
|
2
|
+
import { accordionItemFragment } from './fragments.js';
|
|
3
|
+
export const getAccordion = gql `
|
|
4
|
+
${accordionItemFragment}
|
|
5
|
+
query accordionQuery($id: String!, $preview: Boolean = false) {
|
|
6
|
+
accordion(id: $id, preview: $preview) {
|
|
7
|
+
__typename
|
|
8
|
+
headline
|
|
9
|
+
accordionType
|
|
10
|
+
loadMoreButtonTitle
|
|
11
|
+
startOpen
|
|
12
|
+
accordionItemCollection {
|
|
13
|
+
items {
|
|
14
|
+
...accordionItemFragment
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { gql } from 'graphql-tag'
|
|
2
|
+
import type { DocumentNode } from 'graphql'
|
|
3
|
+
import { accordionItemFragment } from './fragments.js'
|
|
4
|
+
|
|
5
|
+
export const getAccordion: DocumentNode = gql`
|
|
6
|
+
${accordionItemFragment}
|
|
7
|
+
query accordionQuery($id: String!, $preview: Boolean = false) {
|
|
8
|
+
accordion(id: $id, preview: $preview) {
|
|
9
|
+
__typename
|
|
10
|
+
headline
|
|
11
|
+
accordionType
|
|
12
|
+
loadMoreButtonTitle
|
|
13
|
+
startOpen
|
|
14
|
+
accordionItemCollection {
|
|
15
|
+
items {
|
|
16
|
+
...accordionItemFragment
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
`
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { gql } from 'graphql-tag';
|
|
2
|
+
export const getCarousel = gql `
|
|
3
|
+
query carouselQuery($id: String!, $preview: Boolean = false) {
|
|
4
|
+
carouselModule(id: $id, preview: $preview) {
|
|
5
|
+
headline
|
|
6
|
+
backgroundColor
|
|
7
|
+
variant
|
|
8
|
+
carouselItemsCollection {
|
|
9
|
+
items {
|
|
10
|
+
... on TestimonialModule {
|
|
11
|
+
sys {
|
|
12
|
+
id
|
|
13
|
+
}
|
|
14
|
+
__typename
|
|
15
|
+
}
|
|
16
|
+
... on TileContent {
|
|
17
|
+
sys {
|
|
18
|
+
id
|
|
19
|
+
}
|
|
20
|
+
__typename
|
|
21
|
+
}
|
|
22
|
+
... on ContainerModule {
|
|
23
|
+
sys {
|
|
24
|
+
id
|
|
25
|
+
}
|
|
26
|
+
__typename
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { gql } from 'graphql-tag'
|
|
2
|
+
import type { DocumentNode } from 'graphql'
|
|
3
|
+
|
|
4
|
+
export const getCarousel: DocumentNode = gql`
|
|
5
|
+
query carouselQuery($id: String!, $preview: Boolean = false) {
|
|
6
|
+
carouselModule(id: $id, preview: $preview) {
|
|
7
|
+
headline
|
|
8
|
+
backgroundColor
|
|
9
|
+
variant
|
|
10
|
+
carouselItemsCollection {
|
|
11
|
+
items {
|
|
12
|
+
... on TestimonialModule {
|
|
13
|
+
sys {
|
|
14
|
+
id
|
|
15
|
+
}
|
|
16
|
+
__typename
|
|
17
|
+
}
|
|
18
|
+
... on TileContent {
|
|
19
|
+
sys {
|
|
20
|
+
id
|
|
21
|
+
}
|
|
22
|
+
__typename
|
|
23
|
+
}
|
|
24
|
+
... on ContainerModule {
|
|
25
|
+
sys {
|
|
26
|
+
id
|
|
27
|
+
}
|
|
28
|
+
__typename
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
`
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { gql } from 'graphql-tag';
|
|
2
|
+
import { imageFragment, videoFragment } from './fragments.js';
|
|
3
|
+
export const getContainerModule = gql `
|
|
4
|
+
${imageFragment}
|
|
5
|
+
${videoFragment}
|
|
6
|
+
query containerModuleQuery($id: String!, $preview: Boolean = false) {
|
|
7
|
+
containerModule(id: $id, preview: $preview) {
|
|
8
|
+
headline {
|
|
9
|
+
json
|
|
10
|
+
links {
|
|
11
|
+
entries {
|
|
12
|
+
inline {
|
|
13
|
+
sys {
|
|
14
|
+
id
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
fullWidthContent {
|
|
21
|
+
... on Accordion {
|
|
22
|
+
sys {
|
|
23
|
+
id
|
|
24
|
+
}
|
|
25
|
+
__typename
|
|
26
|
+
}
|
|
27
|
+
... on TileContent {
|
|
28
|
+
sys {
|
|
29
|
+
id
|
|
30
|
+
}
|
|
31
|
+
__typename
|
|
32
|
+
}
|
|
33
|
+
... on ContentModule {
|
|
34
|
+
sys {
|
|
35
|
+
id
|
|
36
|
+
}
|
|
37
|
+
__typename
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
leftContent {
|
|
41
|
+
... on Accordion {
|
|
42
|
+
sys {
|
|
43
|
+
id
|
|
44
|
+
}
|
|
45
|
+
__typename
|
|
46
|
+
}
|
|
47
|
+
... on TileContent {
|
|
48
|
+
sys {
|
|
49
|
+
id
|
|
50
|
+
}
|
|
51
|
+
__typename
|
|
52
|
+
}
|
|
53
|
+
... on ContentModule {
|
|
54
|
+
sys {
|
|
55
|
+
id
|
|
56
|
+
}
|
|
57
|
+
__typename
|
|
58
|
+
bodyCopy {
|
|
59
|
+
json
|
|
60
|
+
links {
|
|
61
|
+
entries {
|
|
62
|
+
inline {
|
|
63
|
+
sys {
|
|
64
|
+
id
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
backgroundColor
|
|
71
|
+
}
|
|
72
|
+
... on Image {
|
|
73
|
+
sys {
|
|
74
|
+
id
|
|
75
|
+
}
|
|
76
|
+
__typename
|
|
77
|
+
}
|
|
78
|
+
... on Video {
|
|
79
|
+
sys {
|
|
80
|
+
id
|
|
81
|
+
}
|
|
82
|
+
__typename
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
rightContent {
|
|
86
|
+
... on Accordion {
|
|
87
|
+
sys {
|
|
88
|
+
id
|
|
89
|
+
}
|
|
90
|
+
__typename
|
|
91
|
+
}
|
|
92
|
+
... on TileContent {
|
|
93
|
+
sys {
|
|
94
|
+
id
|
|
95
|
+
}
|
|
96
|
+
__typename
|
|
97
|
+
}
|
|
98
|
+
... on ContentModule {
|
|
99
|
+
sys {
|
|
100
|
+
id
|
|
101
|
+
}
|
|
102
|
+
__typename
|
|
103
|
+
}
|
|
104
|
+
... on Image {
|
|
105
|
+
sys {
|
|
106
|
+
id
|
|
107
|
+
}
|
|
108
|
+
__typename
|
|
109
|
+
}
|
|
110
|
+
... on Video {
|
|
111
|
+
sys {
|
|
112
|
+
id
|
|
113
|
+
}
|
|
114
|
+
__typename
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
backgroundImage {
|
|
118
|
+
...imageFragment
|
|
119
|
+
}
|
|
120
|
+
backgroundColor
|
|
121
|
+
variant
|
|
122
|
+
mobileImagePosition
|
|
123
|
+
testimonialTile {
|
|
124
|
+
entryName
|
|
125
|
+
headline
|
|
126
|
+
quote
|
|
127
|
+
author
|
|
128
|
+
details
|
|
129
|
+
media {
|
|
130
|
+
... on Image {
|
|
131
|
+
...imageFragment
|
|
132
|
+
}
|
|
133
|
+
... on Video {
|
|
134
|
+
...videoFragment
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
`;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { gql } from 'graphql-tag'
|
|
2
|
+
import type { DocumentNode } from 'graphql'
|
|
3
|
+
import { imageFragment, videoFragment } from './fragments.js'
|
|
4
|
+
|
|
5
|
+
export const getContainerModule: DocumentNode = gql`
|
|
6
|
+
${imageFragment}
|
|
7
|
+
${videoFragment}
|
|
8
|
+
query containerModuleQuery($id: String!, $preview: Boolean = false) {
|
|
9
|
+
containerModule(id: $id, preview: $preview) {
|
|
10
|
+
headline {
|
|
11
|
+
json
|
|
12
|
+
links {
|
|
13
|
+
entries {
|
|
14
|
+
inline {
|
|
15
|
+
sys {
|
|
16
|
+
id
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
fullWidthContent {
|
|
23
|
+
... on Accordion {
|
|
24
|
+
sys {
|
|
25
|
+
id
|
|
26
|
+
}
|
|
27
|
+
__typename
|
|
28
|
+
}
|
|
29
|
+
... on TileContent {
|
|
30
|
+
sys {
|
|
31
|
+
id
|
|
32
|
+
}
|
|
33
|
+
__typename
|
|
34
|
+
}
|
|
35
|
+
... on ContentModule {
|
|
36
|
+
sys {
|
|
37
|
+
id
|
|
38
|
+
}
|
|
39
|
+
__typename
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
leftContent {
|
|
43
|
+
... on Accordion {
|
|
44
|
+
sys {
|
|
45
|
+
id
|
|
46
|
+
}
|
|
47
|
+
__typename
|
|
48
|
+
}
|
|
49
|
+
... on TileContent {
|
|
50
|
+
sys {
|
|
51
|
+
id
|
|
52
|
+
}
|
|
53
|
+
__typename
|
|
54
|
+
}
|
|
55
|
+
... on ContentModule {
|
|
56
|
+
sys {
|
|
57
|
+
id
|
|
58
|
+
}
|
|
59
|
+
__typename
|
|
60
|
+
bodyCopy {
|
|
61
|
+
json
|
|
62
|
+
links {
|
|
63
|
+
entries {
|
|
64
|
+
inline {
|
|
65
|
+
sys {
|
|
66
|
+
id
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
backgroundColor
|
|
73
|
+
}
|
|
74
|
+
... on Image {
|
|
75
|
+
sys {
|
|
76
|
+
id
|
|
77
|
+
}
|
|
78
|
+
__typename
|
|
79
|
+
}
|
|
80
|
+
... on Video {
|
|
81
|
+
sys {
|
|
82
|
+
id
|
|
83
|
+
}
|
|
84
|
+
__typename
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
rightContent {
|
|
88
|
+
... on Accordion {
|
|
89
|
+
sys {
|
|
90
|
+
id
|
|
91
|
+
}
|
|
92
|
+
__typename
|
|
93
|
+
}
|
|
94
|
+
... on TileContent {
|
|
95
|
+
sys {
|
|
96
|
+
id
|
|
97
|
+
}
|
|
98
|
+
__typename
|
|
99
|
+
}
|
|
100
|
+
... on ContentModule {
|
|
101
|
+
sys {
|
|
102
|
+
id
|
|
103
|
+
}
|
|
104
|
+
__typename
|
|
105
|
+
}
|
|
106
|
+
... on Image {
|
|
107
|
+
sys {
|
|
108
|
+
id
|
|
109
|
+
}
|
|
110
|
+
__typename
|
|
111
|
+
}
|
|
112
|
+
... on Video {
|
|
113
|
+
sys {
|
|
114
|
+
id
|
|
115
|
+
}
|
|
116
|
+
__typename
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
backgroundImage {
|
|
120
|
+
...imageFragment
|
|
121
|
+
}
|
|
122
|
+
backgroundColor
|
|
123
|
+
variant
|
|
124
|
+
mobileImagePosition
|
|
125
|
+
testimonialTile {
|
|
126
|
+
entryName
|
|
127
|
+
headline
|
|
128
|
+
quote
|
|
129
|
+
author
|
|
130
|
+
details
|
|
131
|
+
media {
|
|
132
|
+
... on Image {
|
|
133
|
+
...imageFragment
|
|
134
|
+
}
|
|
135
|
+
... on Video {
|
|
136
|
+
...videoFragment
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
`
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { gql } from 'graphql-tag';
|
|
2
|
+
import { imageFragment, ctaFragment } from './fragments.js';
|
|
3
|
+
export const getContentModule = gql `
|
|
4
|
+
${imageFragment}
|
|
5
|
+
${ctaFragment}
|
|
6
|
+
query contentModuleQuery($id: String!, $preview: Boolean = false) {
|
|
7
|
+
contentModule(id: $id, preview: $preview) {
|
|
8
|
+
alignment
|
|
9
|
+
logo {
|
|
10
|
+
...imageFragment
|
|
11
|
+
}
|
|
12
|
+
subHeadline
|
|
13
|
+
headline {
|
|
14
|
+
json
|
|
15
|
+
links {
|
|
16
|
+
entries {
|
|
17
|
+
inline {
|
|
18
|
+
sys {
|
|
19
|
+
id
|
|
20
|
+
}
|
|
21
|
+
... on HighlightedText {
|
|
22
|
+
text
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
bodyCopy {
|
|
29
|
+
json
|
|
30
|
+
links {
|
|
31
|
+
entries {
|
|
32
|
+
inline {
|
|
33
|
+
sys {
|
|
34
|
+
id
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
ctasCollection(limit: 6) {
|
|
41
|
+
items {
|
|
42
|
+
...ctaFragment
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
backgroundColor
|
|
46
|
+
alignment
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
`;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { gql } from 'graphql-tag'
|
|
2
|
+
import type { DocumentNode } from 'graphql'
|
|
3
|
+
import { imageFragment, ctaFragment } from './fragments.js'
|
|
4
|
+
|
|
5
|
+
export const getContentModule: DocumentNode = gql`
|
|
6
|
+
${imageFragment}
|
|
7
|
+
${ctaFragment}
|
|
8
|
+
query contentModuleQuery($id: String!, $preview: Boolean = false) {
|
|
9
|
+
contentModule(id: $id, preview: $preview) {
|
|
10
|
+
alignment
|
|
11
|
+
logo {
|
|
12
|
+
...imageFragment
|
|
13
|
+
}
|
|
14
|
+
subHeadline
|
|
15
|
+
headline {
|
|
16
|
+
json
|
|
17
|
+
links {
|
|
18
|
+
entries {
|
|
19
|
+
inline {
|
|
20
|
+
sys {
|
|
21
|
+
id
|
|
22
|
+
}
|
|
23
|
+
... on HighlightedText {
|
|
24
|
+
text
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
bodyCopy {
|
|
31
|
+
json
|
|
32
|
+
links {
|
|
33
|
+
entries {
|
|
34
|
+
inline {
|
|
35
|
+
sys {
|
|
36
|
+
id
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
ctasCollection(limit: 6) {
|
|
43
|
+
items {
|
|
44
|
+
...ctaFragment
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
backgroundColor
|
|
48
|
+
alignment
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
`
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { gql } from 'graphql-tag'
|
|
2
|
+
import type { DocumentNode } from 'graphql'
|
|
3
|
+
import { ctaFragment } from './fragments.js'
|
|
4
|
+
|
|
5
|
+
export const getCTA: DocumentNode = gql`
|
|
6
|
+
${ctaFragment}
|
|
7
|
+
query ctaQuery($id: String!, $preview: Boolean = false) {
|
|
8
|
+
cta(id: $id, preview: $preview) {
|
|
9
|
+
...ctaFragment
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
`
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { gql } from 'graphql-tag';
|
|
2
|
+
import { socialMediaFragment, imageFragment, linkFragment, } from './fragments.js';
|
|
3
|
+
export const getFooter = gql `
|
|
4
|
+
${socialMediaFragment}
|
|
5
|
+
${imageFragment}
|
|
6
|
+
${linkFragment}
|
|
7
|
+
query footerQuery($id: String!, $preview: Boolean = false) {
|
|
8
|
+
footer(id: $id, preview: $preview) {
|
|
9
|
+
backgroundColor
|
|
10
|
+
logo {
|
|
11
|
+
...imageFragment
|
|
12
|
+
}
|
|
13
|
+
socialMediaCollection(limit: 10) {
|
|
14
|
+
items {
|
|
15
|
+
...socialMediaFragment
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
navigationElementsCollection(limit: 10) {
|
|
19
|
+
items {
|
|
20
|
+
sys {
|
|
21
|
+
id
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
copyright
|
|
26
|
+
copyrightLinksCollection {
|
|
27
|
+
items {
|
|
28
|
+
sys {
|
|
29
|
+
id
|
|
30
|
+
}
|
|
31
|
+
link {
|
|
32
|
+
...linkFragment
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
copyrightLogosCollection {
|
|
37
|
+
items {
|
|
38
|
+
...imageFragment
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
legalText
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
`;
|