@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,55 @@
|
|
|
1
|
+
import { Component, ComponentPassthrough } from '../../types';
|
|
2
|
+
import { CTA } from '../CTA/CTA';
|
|
3
|
+
import { Image } from '../Image/Image';
|
|
4
|
+
import { TileLabel, TileLabelType } from '../TileLabel/TileLabel';
|
|
5
|
+
import { Video } from '../Video/Video';
|
|
6
|
+
export interface TileContentPassthrough extends ComponentPassthrough {
|
|
7
|
+
media?: string;
|
|
8
|
+
mediaContainer?: string;
|
|
9
|
+
ctas?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
numericLabel?: string;
|
|
12
|
+
cta?: string;
|
|
13
|
+
body?: string;
|
|
14
|
+
text?: string;
|
|
15
|
+
list?: string;
|
|
16
|
+
listItem?: string;
|
|
17
|
+
footer?: string;
|
|
18
|
+
footerContent?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface TileContent extends Component {
|
|
21
|
+
__typename?: 'TileContent';
|
|
22
|
+
index?: number;
|
|
23
|
+
image?: Image;
|
|
24
|
+
video?: Video;
|
|
25
|
+
headline?: string;
|
|
26
|
+
subheadline?: string;
|
|
27
|
+
bodyCopy?: string;
|
|
28
|
+
ctas?: CTA[];
|
|
29
|
+
textColor?: string;
|
|
30
|
+
backgroundColor?: string;
|
|
31
|
+
parentBackgroundColor?: string;
|
|
32
|
+
tileLabel?: TileLabel;
|
|
33
|
+
tileLabelType?: TileLabelType;
|
|
34
|
+
alignment?: 'left' | 'center' | 'right';
|
|
35
|
+
pt?: TileContentPassthrough;
|
|
36
|
+
listItems?: string[];
|
|
37
|
+
footer?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface TileContentTextTile extends Omit<TileContent, '__typename'> {
|
|
40
|
+
__typename?: 'TileContentTextTile';
|
|
41
|
+
}
|
|
42
|
+
export interface TileContentIconTile extends Omit<TileContent, '__typename'> {
|
|
43
|
+
__typename?: 'TileContentIconTile';
|
|
44
|
+
}
|
|
45
|
+
export interface TileContentImageTile extends Omit<TileContent, '__typename'> {
|
|
46
|
+
__typename?: 'TileContentImageTile';
|
|
47
|
+
}
|
|
48
|
+
export interface TileContentVideoTile extends Omit<TileContent, '__typename'> {
|
|
49
|
+
__typename?: 'TileContentVideoTile';
|
|
50
|
+
}
|
|
51
|
+
export interface TileContentImageStackedAnimatedTile extends Omit<TileContent, '__typename'> {
|
|
52
|
+
__typename?: 'TileContentImageStackedAnimatedTile';
|
|
53
|
+
}
|
|
54
|
+
export declare const getCtaBackgroundColor: (ctaDef: CTA, tileBg: string) => string | null | undefined;
|
|
55
|
+
export declare const getCtaTextColor: (ctaDef: CTA, tileBg: string) => string | undefined;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TileContentIconTile } from './TileContent';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<TileContentIconTile, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TileContentIconTile> & Readonly<{}>, {
|
|
3
|
+
alignment: "left" | "center" | "right";
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TileContentImageStackedAnimatedTile } from './TileContent';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<TileContentImageStackedAnimatedTile, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TileContentImageStackedAnimatedTile> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TileContentImageTile } from './TileContent';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<TileContentImageTile, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TileContentImageTile> & Readonly<{}>, {
|
|
3
|
+
alignment: "left" | "center" | "right";
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TileContentTextTile } from './TileContent';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<TileContentTextTile, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TileContentTextTile> & Readonly<{}>, {
|
|
3
|
+
alignment: "left" | "center" | "right";
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TileContentVideoTile } from './TileContent';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<TileContentVideoTile, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TileContentVideoTile> & Readonly<{}>, {
|
|
3
|
+
alignment: "left" | "center" | "right";
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface TileLabelPassthrough {
|
|
2
|
+
root?: string;
|
|
3
|
+
}
|
|
4
|
+
export type TileLabelType = 'Text' | 'Numeric';
|
|
5
|
+
export interface TileLabel {
|
|
6
|
+
__typename?: 'TileLabel';
|
|
7
|
+
copy?: string;
|
|
8
|
+
type?: TileLabelType;
|
|
9
|
+
backgroundColor?: string;
|
|
10
|
+
textColor?: string;
|
|
11
|
+
alignment?: 'left' | 'right';
|
|
12
|
+
pt?: TileLabelPassthrough;
|
|
13
|
+
index?: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TileLabel } from './TileLabel';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<TileLabel, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TileLabel> & Readonly<{}>, {
|
|
3
|
+
type: import("./TileLabel").TileLabelType;
|
|
4
|
+
alignment: "left" | "right";
|
|
5
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Video } from './Video';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<Video, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Video> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { default as Accordion } from './Accordion/Accordion.vue';
|
|
2
|
+
export { default as AccordionItem } from './Accordion/AccordionItem.vue';
|
|
3
|
+
export { default as AccordionListItem } from './Accordion/AccordionListItem.vue';
|
|
4
|
+
export { default as AccordionTileItem } from './Accordion/AccordionTileItem.vue';
|
|
5
|
+
export { default as CarouselModule } from './CarouselModule/CarouselModule.vue';
|
|
6
|
+
export { default as ContainerModule } from './ContainerModule/ContainerModule.vue';
|
|
7
|
+
export { default as ContentModule } from './ContentModule/ContentModule.vue';
|
|
8
|
+
export { default as ContainerCollectionModule } from './ContainerCollectionModule/ContainerCollectionModule.vue';
|
|
9
|
+
export { default as CTA } from './CTA/CTA.vue';
|
|
10
|
+
export { default as FooterNavigation } from './Footer/FooterNavigation/FooterNavigation.vue';
|
|
11
|
+
export { default as FooterCopyright } from './Footer/FooterCopyright/FooterCopyright.vue';
|
|
12
|
+
export { default as SocialMediaRef } from './Footer/SocialMediaRef/SocialMediaRef.vue';
|
|
13
|
+
export { default as Image } from './Image/Image.vue';
|
|
14
|
+
export { default as LogoCollectionModule } from './LogoCollectionModule/LogoCollectionModule.vue';
|
|
15
|
+
export { default as NavigationElement } from './NavigationElement/NavigationElement.vue';
|
|
16
|
+
export { default as PrimaryNavigation } from './PrimaryNavigation/PrimaryNavigation.vue';
|
|
17
|
+
export { default as SplitModule } from './SplitModule/SplitModule.vue';
|
|
18
|
+
export { default as TestimonialModule } from './TestimonialModule/TestimonialModule.vue';
|
|
19
|
+
export { default as TileCollectionModule } from './TileCollectionModule/TileCollectionModule.vue';
|
|
20
|
+
export { default as TileContentIconTile } from './TileContent/TileContentIconTile.vue';
|
|
21
|
+
export { default as TileContentImageTile } from './TileContent/TileContentImageTile.vue';
|
|
22
|
+
export { default as TileContentTextTile } from './TileContent/TileContentTextTile.vue';
|
|
23
|
+
export { default as TileContentVideoTile } from './TileContent/TileContentVideoTile.vue';
|
|
24
|
+
export { default as TileContentImageStackedAnimatedTile } from './TileContent/TileContentImageStackedAnimatedTile.vue';
|
|
25
|
+
export { default as Video } from './Video/Video.vue';
|
|
26
|
+
export { default as AnimationWrapper } from './AnimationWrapper/AnimationWrapper.vue';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type { Accordion as AccordionType } from './Accordion/Accordion';
|
|
2
|
+
export type { AccordionItem as AccordionItemType } from './Accordion/AccordionItem';
|
|
3
|
+
export type { Carousel as CarouselModuleType } from './CarouselModule/CarouselModule';
|
|
4
|
+
export type { ContainerModule as ContainerModuleType } from './ContainerModule/ContainerModule';
|
|
5
|
+
export type { ContentModule as ContentModuleType } from './ContentModule/ContentModule';
|
|
6
|
+
export type { ContainerCollectionModule as ContainerCollectionModuleType } from './ContainerCollectionModule/ContainerCollectionModule';
|
|
7
|
+
export type { CTA as CTAType } from './CTA/CTA';
|
|
8
|
+
export type { FooterNavigation as FooterNavigationType } from './Footer/FooterNavigation/FooterNavigation';
|
|
9
|
+
export type { FooterCopyright as FooterCopyrightType } from './Footer/FooterCopyright/FooterCopyright';
|
|
10
|
+
export type { SocialMediaRef as SocialMediaRefType } from './Footer/SocialMediaRef/SocialMediaRef';
|
|
11
|
+
export type { Image as ImageType } from './Image/Image';
|
|
12
|
+
export type { LogoCollectionModule as LogoCollectionModuleType } from './LogoCollectionModule/LogoCollectionModule';
|
|
13
|
+
export type { NavigationElement as NavigationElementType } from './NavigationElement/NavigationElement';
|
|
14
|
+
export type { PrimaryNavigation as PrimaryNavigationType } from './PrimaryNavigation/PrimaryNavigation';
|
|
15
|
+
export type { SplitModule as SplitModuleType } from './SplitModule/SplitModule';
|
|
16
|
+
export type { TestimonialModule as TestimonialModuleType } from './TestimonialModule/TestimonialModule';
|
|
17
|
+
export type { TileCollection as TileCollectionModuleType } from './TileCollectionModule/TileCollectionModule';
|
|
18
|
+
export type { TileContent as TileContentType } from './TileContent/TileContent';
|
|
19
|
+
export type { Video as VideoType } from './Video/Video';
|
|
20
|
+
export type { AnimationWrapper as AnimationWrapperType } from './AnimationWrapper/AnimationWrapper';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare let DEFAULT_COLOR: string;
|
|
2
|
+
interface PaletteElements {
|
|
3
|
+
bg?: string;
|
|
4
|
+
copy?: string;
|
|
5
|
+
border?: string;
|
|
6
|
+
}
|
|
7
|
+
interface TileLabel {
|
|
8
|
+
Numeric: PaletteElements;
|
|
9
|
+
Text: PaletteElements;
|
|
10
|
+
}
|
|
11
|
+
interface Tile {
|
|
12
|
+
headline: string;
|
|
13
|
+
copy: string;
|
|
14
|
+
bg: string;
|
|
15
|
+
label: TileLabel;
|
|
16
|
+
}
|
|
17
|
+
interface CtaPalette {
|
|
18
|
+
fill: PaletteElements;
|
|
19
|
+
outline: PaletteElements;
|
|
20
|
+
logo: PaletteElements;
|
|
21
|
+
link: PaletteElements;
|
|
22
|
+
}
|
|
23
|
+
export interface ColorPalette {
|
|
24
|
+
headline: string;
|
|
25
|
+
subheadline: string;
|
|
26
|
+
copy: string;
|
|
27
|
+
copyAccent: string;
|
|
28
|
+
bullet: string;
|
|
29
|
+
cta: CtaPalette;
|
|
30
|
+
uiElement: PaletteElements;
|
|
31
|
+
interactive?: PaletteElements;
|
|
32
|
+
tile: Tile;
|
|
33
|
+
label: TileLabel;
|
|
34
|
+
}
|
|
35
|
+
export declare const DEFAULT_PALETTES: {
|
|
36
|
+
[key: string]: ColorPalette;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* This function will either provide its background color or
|
|
40
|
+
* will consume (inject) a parent's background color to determine the color palette
|
|
41
|
+
* that should be used.
|
|
42
|
+
*
|
|
43
|
+
* The `backgroundColor` in the `props` object will be used over the parent's backgroundColor.
|
|
44
|
+
* That means you can give a child its own palette, separate from the parent.
|
|
45
|
+
*
|
|
46
|
+
* @param props Props from the component
|
|
47
|
+
* @returns
|
|
48
|
+
*/
|
|
49
|
+
export declare let COLOR_PALETTES: {
|
|
50
|
+
[key: string]: ColorPalette;
|
|
51
|
+
};
|
|
52
|
+
export declare const withColorPalette: (props: any) => {
|
|
53
|
+
backgroundColor: string;
|
|
54
|
+
palette: ColorPalette;
|
|
55
|
+
};
|
|
56
|
+
export declare const overridePalette: (newPalette: {
|
|
57
|
+
[key: string]: ColorPalette;
|
|
58
|
+
}, defaultColor: string) => void;
|
|
59
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AccordionPtVariants, ContainerModulePtVariants, CTAPtVariants, GenericComponentPassthrough, Pt_Overrides } from './types';
|
|
2
|
+
export declare const PT_OVERRIDES: Pt_Overrides;
|
|
3
|
+
export declare const overridePassthrough: (identifier: keyof Pt_Overrides, override: GenericComponentPassthrough | AccordionPtVariants | CTAPtVariants | ContainerModulePtVariants) => void;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { AccordionPtVariants, ContainerModulePtVariants, CTAPtVariants, GenericComponentPassthrough } from './types';
|
|
2
|
+
import { ComponentPassthrough } from '../../types';
|
|
3
|
+
export declare const DEFAULT_PASSTHROUGH: ComponentPassthrough;
|
|
4
|
+
/**
|
|
5
|
+
* TODO: Need to define the types for the passthroughs.
|
|
6
|
+
* REMOVE eslint-disable once types are defined
|
|
7
|
+
*/
|
|
8
|
+
export declare const combinePassthroughs: <PtType extends GenericComponentPassthrough, OverrideType extends GenericComponentPassthrough>(passthrough: PtType, overrides: OverrideType) => GenericComponentPassthrough;
|
|
9
|
+
export declare const AccordionPt: AccordionPtVariants;
|
|
10
|
+
export declare const AccordionItemPt: {
|
|
11
|
+
headline: string;
|
|
12
|
+
image: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const AccordionListItemPt: GenericComponentPassthrough;
|
|
15
|
+
export declare const AccordionTileItemPt: GenericComponentPassthrough;
|
|
16
|
+
export declare const CarouselModulePt: {
|
|
17
|
+
headline: string | undefined;
|
|
18
|
+
root: string;
|
|
19
|
+
bodyCopy: string;
|
|
20
|
+
container: string;
|
|
21
|
+
previousbutton: string;
|
|
22
|
+
nextbutton: string;
|
|
23
|
+
itemscontent: string;
|
|
24
|
+
itemscontainer: string;
|
|
25
|
+
item: string;
|
|
26
|
+
indicators: string;
|
|
27
|
+
indicator: string;
|
|
28
|
+
indicatorbutton: string;
|
|
29
|
+
};
|
|
30
|
+
export declare const CarouselModuleAltPt: GenericComponentPassthrough;
|
|
31
|
+
export declare const ContainerCollectionModulePt: GenericComponentPassthrough;
|
|
32
|
+
export declare const ContainerModulePt: ContainerModulePtVariants;
|
|
33
|
+
export declare const ContentModulePt: GenericComponentPassthrough;
|
|
34
|
+
export declare const CTAPt: CTAPtVariants;
|
|
35
|
+
export declare const FooterNavigationPt: GenericComponentPassthrough;
|
|
36
|
+
export declare const ImagePt: GenericComponentPassthrough;
|
|
37
|
+
export declare const LogoCollectionModulePt: GenericComponentPassthrough;
|
|
38
|
+
export declare const NavigationElementPt: GenericComponentPassthrough;
|
|
39
|
+
export declare const PrimaryNavigationPt: GenericComponentPassthrough;
|
|
40
|
+
export declare const SplitModulePt: GenericComponentPassthrough;
|
|
41
|
+
export declare const TestimonialModulePt: GenericComponentPassthrough;
|
|
42
|
+
export declare const TileCollectionModulePt: GenericComponentPassthrough;
|
|
43
|
+
export declare const TileContentPt: {
|
|
44
|
+
root: string;
|
|
45
|
+
headline: string;
|
|
46
|
+
cta: string;
|
|
47
|
+
ctas: string;
|
|
48
|
+
container: string;
|
|
49
|
+
bodyCopy: string;
|
|
50
|
+
body: string;
|
|
51
|
+
footer: string;
|
|
52
|
+
footerContent: string;
|
|
53
|
+
};
|
|
54
|
+
export declare const TileContentIconTilePt: GenericComponentPassthrough;
|
|
55
|
+
export declare const TileContentImageStackedAnimatedTilePt: GenericComponentPassthrough;
|
|
56
|
+
export declare const TileContentImageTilePt: GenericComponentPassthrough;
|
|
57
|
+
export declare const TileContentTextTilePt: GenericComponentPassthrough;
|
|
58
|
+
export declare const TileContentVideoTilePt: GenericComponentPassthrough;
|
|
59
|
+
export declare const TileLabelPt: {
|
|
60
|
+
Numeric: {
|
|
61
|
+
root: string;
|
|
62
|
+
};
|
|
63
|
+
Text: {
|
|
64
|
+
root: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export declare const VideoPt: GenericComponentPassthrough;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ComponentPassthrough } from '../../types';
|
|
2
|
+
import { ContainerModulePassthrough } from '../../components/ContainerModule/ContainerModule';
|
|
3
|
+
import { AccordionItemPassthrough } from '../../components/Accordion/AccordionItem';
|
|
4
|
+
import { AccordionPassthrough } from '../../components/Accordion/Accordion';
|
|
5
|
+
import { CarouselPassthrough } from '../../components/CarouselModule/CarouselModule';
|
|
6
|
+
import { ContentModulePassthrough } from '../../components/ContentModule/ContentModule';
|
|
7
|
+
import { TestimonialModulePassthrough } from '../../components/TestimonialModule/TestimonialModule';
|
|
8
|
+
import { TileContentPassthrough } from '../../components/TileContent/TileContent';
|
|
9
|
+
import { CTAPassthrough } from '../../components/CTA/CTA';
|
|
10
|
+
import { TileLabelPassthrough } from '../../components/TileLabel/TileLabel';
|
|
11
|
+
export interface GenericComponentPassthrough extends ComponentPassthrough, TileLabelPassthrough, AccordionPassthrough, AccordionItemPassthrough, CarouselPassthrough, ContainerModulePassthrough, ContentModulePassthrough, CTAPassthrough, TestimonialModulePassthrough, TileContentPassthrough {
|
|
12
|
+
}
|
|
13
|
+
export interface AccordionPtVariants {
|
|
14
|
+
List: AccordionPassthrough;
|
|
15
|
+
Tile: AccordionPassthrough;
|
|
16
|
+
}
|
|
17
|
+
export interface ContainerModulePtVariants {
|
|
18
|
+
Hero: ContainerModulePassthrough;
|
|
19
|
+
Centered: ContainerModulePassthrough;
|
|
20
|
+
}
|
|
21
|
+
export interface CTAPtVariants {
|
|
22
|
+
fill: CTAPassthrough;
|
|
23
|
+
logo: CTAPassthrough;
|
|
24
|
+
link: CTAPassthrough;
|
|
25
|
+
outline: CTAPassthrough;
|
|
26
|
+
}
|
|
27
|
+
export interface Pt_Overrides {
|
|
28
|
+
Accordion?: AccordionPtVariants;
|
|
29
|
+
AccordionListItem?: GenericComponentPassthrough;
|
|
30
|
+
AccordionTileItem?: GenericComponentPassthrough;
|
|
31
|
+
CarouselModule?: GenericComponentPassthrough;
|
|
32
|
+
ContainerModule?: ContainerModulePtVariants;
|
|
33
|
+
ContentModule?: GenericComponentPassthrough;
|
|
34
|
+
CTA?: CTAPtVariants;
|
|
35
|
+
FooterNavigation?: GenericComponentPassthrough;
|
|
36
|
+
Image?: GenericComponentPassthrough;
|
|
37
|
+
LogoCollectionModule?: GenericComponentPassthrough;
|
|
38
|
+
NavigationElement?: GenericComponentPassthrough;
|
|
39
|
+
PrimaryNavigation?: GenericComponentPassthrough;
|
|
40
|
+
SplitModule?: GenericComponentPassthrough;
|
|
41
|
+
TestimonialModule?: GenericComponentPassthrough;
|
|
42
|
+
TileCollectionModule?: GenericComponentPassthrough;
|
|
43
|
+
TileContent?: GenericComponentPassthrough;
|
|
44
|
+
TileContentIconTile?: GenericComponentPassthrough;
|
|
45
|
+
TileContentImageStackedAnimatedTile?: GenericComponentPassthrough;
|
|
46
|
+
TileContentImageTile?: GenericComponentPassthrough;
|
|
47
|
+
TileContentTextTile?: GenericComponentPassthrough;
|
|
48
|
+
TileContentVideoTile?: GenericComponentPassthrough;
|
|
49
|
+
TileLabel?: GenericComponentPassthrough;
|
|
50
|
+
Video?: GenericComponentPassthrough;
|
|
51
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './config/defaultPassthrough';
|
|
2
|
+
export * from './config/colorPalettes';
|
|
3
|
+
import 'primeicons/primeicons.css';
|
|
4
|
+
import './assets/css/main.css';
|
|
5
|
+
import './assets/css/theme.css';
|
|
6
|
+
export * from './components/components';
|
|
7
|
+
export * from './components/types';
|
|
8
|
+
import initGlobalComponents from './init';
|
|
9
|
+
import { overridePalette } from './config/colorPalettes';
|
|
10
|
+
import { overridePassthrough } from './config/defaultPassthrough/config';
|
|
11
|
+
import { withColorPalette } from './config/colorPalettes';
|
|
12
|
+
import { getTarget } from './utils/getTarget';
|
|
13
|
+
export { initGlobalComponents, overridePalette, overridePassthrough, withColorPalette, getTarget, };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const routes: {
|
|
2
|
+
path: string;
|
|
3
|
+
component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const router: import("vue-router").Router;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Image } from './components/Image/Image';
|
|
2
|
+
export interface linkRef {
|
|
3
|
+
externalUrl?: string;
|
|
4
|
+
page?: {
|
|
5
|
+
slug: string;
|
|
6
|
+
};
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
ariaDescription: string;
|
|
9
|
+
anchor?: string;
|
|
10
|
+
target: string;
|
|
11
|
+
thirdPartyId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ctaActionRef {
|
|
14
|
+
title: string;
|
|
15
|
+
ariaDescription: string;
|
|
16
|
+
triggerMappingValue: string;
|
|
17
|
+
}
|
|
18
|
+
export declare enum VariantOptions {
|
|
19
|
+
'IconTile' = 0,
|
|
20
|
+
'ImageTile' = 1,
|
|
21
|
+
'VideoTile' = 2,
|
|
22
|
+
'ImageStackedAnimatedTile' = 3,
|
|
23
|
+
'VideoLeft' = 4,
|
|
24
|
+
'Hero' = 5,
|
|
25
|
+
'Centered' = 6
|
|
26
|
+
}
|
|
27
|
+
export declare enum MediaOptions {
|
|
28
|
+
'Image' = "img",
|
|
29
|
+
'Video' = "iframe"
|
|
30
|
+
}
|
|
31
|
+
export declare enum CTAOptions {
|
|
32
|
+
'fill' = 0,
|
|
33
|
+
'outline' = 1,
|
|
34
|
+
'link' = 2,
|
|
35
|
+
'logo' = 3
|
|
36
|
+
}
|
|
37
|
+
export interface tileLabel {
|
|
38
|
+
content: string;
|
|
39
|
+
type: 'Label' | 'Numeric';
|
|
40
|
+
textColor?: string;
|
|
41
|
+
backgroundColor?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface socialMedia {
|
|
44
|
+
icon: Image;
|
|
45
|
+
link: linkRef;
|
|
46
|
+
}
|
|
47
|
+
export interface Component {
|
|
48
|
+
class?: string;
|
|
49
|
+
}
|
|
50
|
+
export interface ComponentPassthrough {
|
|
51
|
+
headline?: string;
|
|
52
|
+
subheadline?: string;
|
|
53
|
+
description?: string;
|
|
54
|
+
bodyCopy?: string;
|
|
55
|
+
start?: string;
|
|
56
|
+
center?: string;
|
|
57
|
+
end?: string;
|
|
58
|
+
container?: string;
|
|
59
|
+
root?: string;
|
|
60
|
+
item?: string;
|
|
61
|
+
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cooperco/cooper-component-library",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.61",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
9
|
"main": "./dist/lib/component-lib.umd.cjs",
|
|
10
10
|
"module": "./dist/lib/component-lib.js",
|
|
11
|
-
"types": "./dist/types/index.d.ts",
|
|
11
|
+
"types": "./dist/types/src/index.d.ts",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
14
|
"import": "./dist/lib/component-lib.js",
|
|
15
|
-
"require": "./dist/lib/component-lib.umd.cjs"
|
|
15
|
+
"require": "./dist/lib/component-lib.umd.cjs",
|
|
16
|
+
"types": "./dist/types/src/index.d.ts"
|
|
16
17
|
},
|
|
17
18
|
"./css/main.css": {
|
|
18
19
|
"import": "./dist/lib/css/main.css",
|
|
@@ -21,6 +22,10 @@
|
|
|
21
22
|
"./css/theme.css": {
|
|
22
23
|
"import": "./dist/lib/css/theme.css",
|
|
23
24
|
"require": "./dist/lib/css/theme.css"
|
|
25
|
+
},
|
|
26
|
+
"./cms/contentful/graphql": {
|
|
27
|
+
"import": "./dist/cms/contentful/queries/index.js",
|
|
28
|
+
"types": "./dist/cms/contentful/queries/index.d.ts"
|
|
24
29
|
}
|
|
25
30
|
},
|
|
26
31
|
"dependencies": {
|
|
@@ -80,7 +85,8 @@
|
|
|
80
85
|
"vue-tsc": "^2.0.29"
|
|
81
86
|
},
|
|
82
87
|
"peerDependencies": {
|
|
83
|
-
"vue": "^3.0.0"
|
|
88
|
+
"vue": "^3.0.0",
|
|
89
|
+
"graphql-tag": "^2.12.6"
|
|
84
90
|
},
|
|
85
91
|
"lint-staged": {
|
|
86
92
|
"*.{json,js,ts,jsx,tsx,html,vue}": [
|
|
@@ -91,7 +97,8 @@
|
|
|
91
97
|
"dev": "vite",
|
|
92
98
|
"check-types": "vue-tsc",
|
|
93
99
|
"build:types": "vue-tsc --emitDeclarationOnly --outDir dist/types",
|
|
94
|
-
"build": "
|
|
100
|
+
"build:cms": "tsc -p tsconfig.cms.json",
|
|
101
|
+
"build": "pnpm run build:types && pnpm run build:cms && vite build",
|
|
95
102
|
"preview": "vite preview",
|
|
96
103
|
"tail": "tailwind-config-viewer -o",
|
|
97
104
|
"storybook": "storybook dev -p 6006",
|