@sonic-equipment/ui 1.1.7 → 2.0.0
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/algolia/algolia-hits-provider.js +4 -1
- package/dist/algolia/algolia-insights-provider.js +3 -3
- package/dist/algolia/algolia-provider.d.ts +4 -1
- package/dist/algolia/algolia-provider.js +6 -3
- package/dist/algolia/algolia-search-provider.js +1 -1
- package/dist/algolia/algolia-searchclient-reserved-slots.d.ts +25 -0
- package/dist/algolia/algolia-searchclient-reserved-slots.js +67 -0
- package/dist/algolia/use-algolia-hits.d.ts +5 -2
- package/dist/algolia/use-algolia-hits.js +9 -5
- package/dist/algolia/use-algolia-insights.js +2 -2
- package/dist/algolia/use-algolia-search.js +2 -2
- package/dist/badges/tag/tag.d.ts +2 -1
- package/dist/badges/tag/tag.js +3 -2
- package/dist/base.css +28 -1
- package/dist/breadcrumbs/breadcrumb.d.ts +1 -1
- package/dist/breadcrumbs/breadcrumb.js +2 -2
- package/dist/buttons/button/button.d.ts +2 -1
- package/dist/buttons/button/button.js +10 -2
- package/dist/buttons/icon-button/icon-button.d.ts +8 -1
- package/dist/buttons/icon-button/icon-button.js +4 -5
- package/dist/buttons/invoice-download-buttons/invoice-download-buttons.d.ts +8 -0
- package/dist/buttons/invoice-download-buttons/invoice-download-buttons.js +29 -0
- package/dist/buttons/invoice-download-buttons/invoice-download-buttons.module.css.js +3 -0
- package/dist/buttons/invoice-download-buttons/invoice-download-url.d.ts +5 -0
- package/dist/buttons/invoice-download-buttons/invoice-download-url.js +9 -0
- package/dist/buttons/invoice-download-buttons/invoice-download-url.test.d.ts +1 -0
- package/dist/cards/data-card/data-card.js +1 -1
- package/dist/cards/product-card/product-card.js +2 -1
- package/dist/cards/product-card/product-card.module.css.js +1 -1
- package/dist/cards/table-card/table-card.d.ts +6 -1
- package/dist/cards/table-card/table-card.js +3 -4
- package/dist/carousel/card-carousel/card-carousel.d.ts +3 -1
- package/dist/carousel/card-carousel/card-carousel.js +5 -3
- package/dist/carousel/card-carousel/card-carousel.module.css.js +1 -1
- package/dist/carousel/carousel-navigation-button.d.ts +3 -1
- package/dist/carousel/carousel-navigation-button.js +2 -3
- package/dist/carousel/carousel.js +1 -1
- package/dist/carousel/usp-carousel/product-usp-carousel-slide.js +1 -1
- package/dist/carousel/usp-carousel/usp-carousel.d.ts +0 -1
- package/dist/cart-totals/cart-totals-summary.js +1 -1
- package/dist/cart-totals/cart-totals.d.ts +3 -1
- package/dist/cart-totals/cart-totals.js +9 -3
- package/dist/cart-totals/cart-totals.module.css.js +1 -1
- package/dist/client-case-banner/client-case-banner.d.ts +16 -0
- package/dist/client-case-banner/client-case-banner.js +13 -0
- package/dist/client-case-banner/client-case-banner.module.css.js +3 -0
- package/dist/collapsables/accordion/accordion-item.js +1 -1
- package/dist/collapsables/cascading-component/cascading-component-container-provider.js +1 -1
- package/dist/collapsables/cascading-component/use-cascading-component-container.js +2 -2
- package/dist/collapsables/collapsable/collapsable.d.ts +12 -0
- package/dist/collapsables/collapsable/collapsable.js +31 -0
- package/dist/collapsables/collapsable/collapsable.module.css.js +3 -0
- package/dist/collapsables/unmounter/unmounter.js +3 -3
- package/dist/cookies/cookie-provider.js +1 -1
- package/dist/cookies/use-cookie.js +2 -2
- package/dist/country-language-selection-list/country-language-selection-list.js +1 -1
- package/dist/country-language-selection-list/country-language-selection-list.module.css.js +1 -1
- package/dist/country-language-selector/connected-country-language-selector.d.ts +1 -2
- package/dist/country-language-selector/connected-country-language-selector.js +2 -2
- package/dist/country-language-selector/country-language-selector.d.ts +1 -2
- package/dist/country-language-selector/country-language-selector.js +12 -19
- package/dist/country-language-selector/country-language-selector.module.css.js +1 -1
- package/dist/country-language-selector/fixtures/fixtures.d.ts +13 -0
- package/dist/country-language-selector-button/country-language-selector-button.stories.d.ts +13 -0
- package/dist/display/details/details.d.ts +2 -1
- package/dist/display/details/details.js +2 -2
- package/dist/display/product-sku/product-sku.js +3 -1
- package/dist/exports.d.ts +67 -21
- package/dist/filters/pagination/pagination.d.ts +2 -1
- package/dist/filters/pagination/pagination.js +3 -2
- package/dist/fonts.css +58 -56
- package/dist/footer/fixtures/fixtures.d.ts +3 -0
- package/dist/footer/footer.js +3 -2
- package/dist/footer/footer.module.css.js +1 -1
- package/dist/forms/elements/input/input.js +4 -6
- package/dist/forms/elements/range-slider/range-slider.d.ts +18 -0
- package/dist/forms/elements/range-slider/range-slider.js +31 -0
- package/dist/forms/elements/range-slider/range-slider.module.css.js +3 -0
- package/dist/global-search/global-search.d.ts +6 -1
- package/dist/global-search/global-search.js +3 -2
- package/dist/global-search/search-highlight/highlight.d.ts +7 -7
- package/dist/global-search/search-highlight/highlight.js +9 -9
- package/dist/global-search/search-input/connected-search-input.js +4 -1
- package/dist/global-search/search-result-panel/panel-content.d.ts +3 -1
- package/dist/global-search/search-result-panel/panel-content.js +2 -2
- package/dist/global-search/search-result-panel/search-result-panel.d.ts +3 -1
- package/dist/global-search/search-result-panel/search-result-panel.js +2 -2
- package/dist/global-search/search-result-panel/sections/no-search-results.js +1 -3
- package/dist/global-search/search-result-panel/sections/no-search.d.ts +2 -1
- package/dist/global-search/search-result-panel/sections/no-search.js +7 -14
- package/dist/global-search/search-result-panel/sections/search-content.module.css.js +1 -1
- package/dist/global-search/search-result-panel/sections/section-container.js +2 -2
- package/dist/global-search/search-result-panel/sections/with-results.js +6 -6
- package/dist/header/drawers/desktop-navigation-drawer.js +2 -1
- package/dist/header/drawers/mobile-navigation-drawer.js +2 -1
- package/dist/header/drawers/search-drawer.d.ts +3 -1
- package/dist/header/drawers/search-drawer.js +3 -2
- package/dist/header/drawers/search-drawer.module.css.js +3 -0
- package/dist/header/fixtures/fixtures.d.ts +4 -0
- package/dist/header/header-layout/header-layout.d.ts +1 -1
- package/dist/header/header-layout/header-layout.js +2 -3
- package/dist/header/header-layout/header-layout.module.css.js +1 -1
- package/dist/header/header.d.ts +3 -2
- package/dist/header/header.js +3 -2
- package/dist/header/header.module.css.js +1 -1
- package/dist/hubspot-form/hubspot-form.d.ts +41 -0
- package/dist/hubspot-form/hubspot-form.js +125 -0
- package/dist/hubspot-form/hubspot-form.module.css.js +3 -0
- package/dist/icons/index.d.ts +86 -0
- package/dist/icons/index.js +86 -0
- package/dist/icons/other/media-captionsoff-icon.d.ts +1 -0
- package/dist/icons/other/media-captionsoff-icon.js +7 -0
- package/dist/icons/other/media-captionson-icon.d.ts +1 -0
- package/dist/icons/other/media-captionson-icon.js +7 -0
- package/dist/icons/other/media-chapters-icon.d.ts +1 -0
- package/dist/icons/other/media-chapters-icon.js +7 -0
- package/dist/icons/other/media-enterfullscreen-icon.d.ts +1 -0
- package/dist/icons/other/media-enterfullscreen-icon.js +7 -0
- package/dist/icons/other/media-exitfullscreen-icon.d.ts +1 -0
- package/dist/icons/other/media-exitfullscreen-icon.js +7 -0
- package/dist/icons/other/media-pause-icon.d.ts +1 -0
- package/dist/icons/other/media-pause-icon.js +7 -0
- package/dist/icons/other/media-play-icon.d.ts +1 -0
- package/dist/icons/other/media-play-icon.js +7 -0
- package/dist/icons/other/media-seekbackwards-icon.d.ts +1 -0
- package/dist/icons/other/media-seekbackwards-icon.js +7 -0
- package/dist/icons/other/media-seekforwards-icon.d.ts +1 -0
- package/dist/icons/other/media-seekforwards-icon.js +7 -0
- package/dist/icons/other/media-subsoff-icon.d.ts +1 -0
- package/dist/icons/other/media-subsoff-icon.js +7 -0
- package/dist/icons/other/media-subson-icon.d.ts +1 -0
- package/dist/icons/other/media-subson-icon.js +7 -0
- package/dist/icons/other/media-volumefull-icon.d.ts +1 -0
- package/dist/icons/other/media-volumefull-icon.js +7 -0
- package/dist/icons/other/media-volumelow-icon.d.ts +1 -0
- package/dist/icons/other/media-volumelow-icon.js +7 -0
- package/dist/icons/other/media-volumemedium-icon.d.ts +1 -0
- package/dist/icons/other/media-volumemedium-icon.js +7 -0
- package/dist/icons/other/media-volumemuted-icon.d.ts +1 -0
- package/dist/icons/other/media-volumemuted-icon.js +7 -0
- package/dist/icons/solid/solid-enterfullscreen-icon.d.ts +1 -0
- package/dist/icons/solid/solid-exitfullscreen-icon.d.ts +1 -0
- package/dist/icons/solid/solid-facebook-icon.js +7 -0
- package/dist/icons/solid/solid-instagram-icon.js +7 -0
- package/dist/icons/solid/solid-link-icon.js +7 -0
- package/dist/icons/solid/solid-linkedin-icon.js +7 -0
- package/dist/icons/solid/solid-tiktok-icon.js +7 -0
- package/dist/icons/solid/solid-youtube-icon.js +7 -0
- package/dist/icons/stroke/stroke-business-icon.js +7 -0
- package/dist/icons/stroke/stroke-captions-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-captions-icon.js +7 -0
- package/dist/icons/stroke/stroke-efficiency-icon.js +7 -0
- package/dist/icons/stroke/stroke-fallback-icon.js +7 -0
- package/dist/icons/stroke/stroke-happy-icon.js +7 -0
- package/dist/icons/stroke/stroke-innovate-icon.js +7 -0
- package/dist/icons/stroke/stroke-list-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-list-icon.js +7 -0
- package/dist/icons/stroke/stroke-modular-icon.js +7 -0
- package/dist/icons/stroke/stroke-okay-icon.js +7 -0
- package/dist/icons/stroke/stroke-package-icon.js +7 -0
- package/dist/icons/stroke/stroke-proactive-icon.js +7 -0
- package/dist/icons/stroke/stroke-productivity-icon.js +7 -0
- package/dist/icons/stroke/stroke-rating-icon.js +7 -0
- package/dist/icons/stroke/stroke-salecategory-icon.js +7 -0
- package/dist/icons/stroke/stroke-style-icon.js +7 -0
- package/dist/icons/stroke/stroke-support-icon.js +7 -0
- package/dist/icons/stroke/stroke-thumbsup-icon.js +7 -0
- package/dist/icons/stroke/stroke-warranty10y-icon.js +7 -0
- package/dist/icons/stroke/stroke-warranty1y-icon.js +7 -0
- package/dist/icons/stroke/stroke-warranty3y-icon.js +7 -0
- package/dist/icons/stroke/stroke-warranty5y-icon.js +7 -0
- package/dist/icons/stroke/stroke-warrantyconsumable-icon.js +7 -0
- package/dist/icons/stroke/stroke-warrantylifetime-icon.js +7 -0
- package/dist/image-banner/image-banner.d.ts +20 -0
- package/dist/image-banner/image-banner.js +15 -0
- package/dist/image-banner/image-banner.module.css.js +3 -0
- package/dist/index.js +78 -33
- package/dist/intl/intl-provider.js +1 -1
- package/dist/intl/missing-translation-provider.js +1 -1
- package/dist/intl/translation-id.d.ts +1 -1
- package/dist/intl/use-intl.js +2 -2
- package/dist/lists/download-document-list/download-document-list.js +2 -1
- package/dist/lists/menu-list/menu-list-provider.js +1 -1
- package/dist/lists/menu-list/use-menu-list.js +2 -2
- package/dist/lists/product-overview-grid/product-overview-grid.d.ts +17 -2
- package/dist/lists/product-overview-grid/product-overview-grid.js +20 -8
- package/dist/lists/product-overview-grid/product-overview-grid.module.css.js +1 -1
- package/dist/loading/dynamic-loading-overlay.js +1 -23
- package/dist/loading/dynamic-loading-overlay.module.css.js +1 -1
- package/dist/media/image-cdn/image-cdn-profile.d.ts +45 -0
- package/dist/media/image-cdn/image-cdn-profile.js +63 -0
- package/dist/media/image-cdn/image-cdn-profile.test.d.ts +1 -0
- package/dist/media/image-cdn/image-cdn-provider.d.ts +10 -0
- package/dist/media/image-cdn/image-cdn-provider.js +15 -0
- package/dist/media/image-cdn/storyblok-profile.d.ts +3 -0
- package/dist/media/image-cdn/storyblok-profile.js +37 -0
- package/dist/media/image-cdn/storyblok-profile.test.d.ts +1 -0
- package/dist/media/image-lightbox/image-lightbox.module.css.js +1 -1
- package/dist/media/media-controls/media-chapters-control/media-chapters-control.d.ts +8 -0
- package/dist/media/media-controls/media-chapters-control/media-chapters-control.js +63 -0
- package/dist/media/media-controls/media-control/media-control.d.ts +19 -0
- package/dist/media/media-controls/media-control/media-control.js +15 -0
- package/dist/media/media-controls/media-controls.d.ts +12 -0
- package/dist/media/media-controls/media-controls.js +17 -0
- package/dist/media/media-controls/media-controls.module.css.js +3 -0
- package/dist/media/media-controls/media-popover/media-popover.d.ts +12 -0
- package/dist/media/media-controls/media-popover/media-popover.js +67 -0
- package/dist/media/media-controls/media-progress-circle/media-progress-circle.d.ts +20 -0
- package/dist/media/media-controls/media-progress-circle/media-progress-circle.js +31 -0
- package/dist/media/media-controls/media-seek-control/media-seek-control.d.ts +6 -0
- package/dist/media/media-controls/media-seek-control/media-seek-control.js +30 -0
- package/dist/media/media-controls/media-subs-control/media-subs-control.d.ts +8 -0
- package/dist/media/media-controls/media-subs-control/media-subs-control.js +65 -0
- package/dist/media/media-controls/media-volume-control/media-volume-control.d.ts +7 -0
- package/dist/media/media-controls/media-volume-control/media-volume-control.js +103 -0
- package/dist/media/media-utils.d.ts +19 -0
- package/dist/media/media-utils.js +28 -0
- package/dist/media/responsive-image/responsive-image.d.ts +37 -0
- package/dist/media/responsive-image/responsive-image.js +119 -0
- package/dist/media/responsive-image/responsive-image.module.css.js +3 -0
- package/dist/media/responsive-video/responsive-video.d.ts +36 -0
- package/dist/media/responsive-video/responsive-video.js +365 -0
- package/dist/media/responsive-video/responsive-video.module.css.js +3 -0
- package/dist/modals/dialog/dialog.js +1 -1
- package/dist/navigation/panel-navigation/panel-navigation.js +1 -1
- package/dist/notifications/announcements/announcement-list.d.ts +10 -1
- package/dist/notifications/announcements/announcement-list.js +1 -13
- package/dist/notifications/announcements/announcement-list.module.css.js +1 -1
- package/dist/notifications/announcements/announcement.d.ts +13 -2
- package/dist/notifications/announcements/announcement.js +14 -6
- package/dist/notifications/announcements/fixtures/fixtures.d.ts +22 -0
- package/dist/page-layout/fixtures/fixtures.d.ts +15 -0
- package/dist/page-layout/page-layout.d.ts +2 -0
- package/dist/page-layout/page-layout.js +33 -0
- package/dist/page-layout/page-layout.module.css.js +3 -0
- package/dist/page-layout/types.d.ts +52 -0
- package/dist/pages/account/change-password-page/change-password-page.js +6 -2
- package/dist/pages/account/components/change-password-form/change-password-form.js +1 -5
- package/dist/pages/account/components/create-account-form/create-account-form.js +1 -4
- package/dist/pages/account/components/sign-in-form/sign-in-form.js +2 -6
- package/dist/pages/account/create-account-page/create-account-page.d.ts +1 -1
- package/dist/pages/account/create-account-page/create-account-page.js +8 -4
- package/dist/pages/account/sign-in-page/sign-in-page.d.ts +1 -1
- package/dist/pages/account/sign-in-page/sign-in-page.js +6 -4
- package/dist/pages/checkout/cart-page/cart-page.d.ts +1 -1
- package/dist/pages/checkout/cart-page/cart-page.js +35 -68
- package/dist/pages/checkout/components/billing-and-invoice-information.js +1 -1
- package/dist/pages/checkout/components/billing-and-invoice-information.module.css.js +1 -1
- package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-header.d.ts +1 -1
- package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-header.js +2 -2
- package/dist/pages/checkout/components/checkout-page-section.js +12 -0
- package/dist/pages/checkout/components/checkout-page-section.module.css.js +3 -0
- package/dist/pages/checkout/order-confirmation-page/order-confirmation-page-content.js +50 -64
- package/dist/pages/checkout/payment-page/payment-page-content.js +25 -25
- package/dist/pages/checkout/shipping-page/components/edit-checkout-bill-to-address-form.js +2 -2
- package/dist/pages/checkout/shipping-page/components/readonly-address.js +3 -3
- package/dist/pages/checkout/shipping-page/components/readonly-address.module.css.js +1 -1
- package/dist/pages/checkout/shipping-page/shipping-page-content.js +12 -12
- package/dist/pages/components/page/page.js +1 -1
- package/dist/pages/countries-page/countries-page.js +7 -4
- package/dist/pages/error-page/error-page.js +2 -7
- package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.js +2 -1
- package/dist/pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.d.ts +0 -3
- package/dist/pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.js +16 -17
- package/dist/pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.d.ts +0 -3
- package/dist/pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.js +16 -17
- package/dist/pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.d.ts +0 -4
- package/dist/pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.js +16 -17
- package/dist/pages/my-sonic/pages/favorites/favorites-page.d.ts +0 -1
- package/dist/pages/my-sonic/pages/favorites/favorites-page.js +31 -33
- package/dist/pages/my-sonic/pages/favorites/favorites-page.module.css.js +3 -0
- package/dist/pages/my-sonic/pages/my-account/my-account-page.d.ts +0 -1
- package/dist/pages/my-sonic/pages/my-account/my-account-page.js +12 -12
- package/dist/pages/my-sonic/pages/order-details/order-details-content.d.ts +2 -1
- package/dist/pages/my-sonic/pages/order-details/order-details-content.js +4 -4
- package/dist/pages/my-sonic/pages/order-details/order-details-content.module.css.js +1 -1
- package/dist/pages/my-sonic/pages/order-details/order-details-page.d.ts +2 -4
- package/dist/pages/my-sonic/pages/order-details/order-details-page.js +19 -29
- package/dist/pages/my-sonic/pages/order-history/order-history-page.d.ts +0 -1
- package/dist/pages/my-sonic/pages/order-history/order-history-page.js +112 -116
- package/dist/pages/my-sonic/pages/upload-order-page/upload-order-page.d.ts +0 -1
- package/dist/pages/my-sonic/pages/upload-order-page/upload-order-page.js +12 -12
- package/dist/pages/product/components/product-overview.d.ts +11 -3
- package/dist/pages/product/components/product-overview.js +11 -7
- package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.js +5 -7
- package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.module.css.js +1 -1
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.d.ts +3 -1
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.js +9 -10
- package/dist/pages/product/product-details-page/product-details.js +18 -18
- package/dist/pages/product/product-details-page/product-details.module.css.js +3 -0
- package/dist/pages/product/product-listing-page/no-results/no-results.d.ts +3 -5
- package/dist/pages/product/product-listing-page/no-results/no-results.js +2 -4
- package/dist/pages/product/product-listing-page/no-results/no-results.module.css.js +1 -1
- package/dist/pages/product/product-listing-page/product-listing-page-category-carousel/product-listing-page-category-carousel.js +6 -4
- package/dist/pages/product/product-listing-page/product-listing-page-category-carousel/product-listing-page-category-carousel.module.css.js +3 -0
- package/dist/pages/product/product-listing-page/product-listing-page-provider/product-listing-page-provider.js +3 -3
- package/dist/pages/product/product-listing-page/product-listing-page.js +1 -1
- package/dist/pages/product/product-listing-page/product-listing-page.module.css.js +1 -1
- package/dist/pages/product/product-listing-page/product-listing-product-overview/product-listing-product-overview.d.ts +2 -1
- package/dist/pages/product/product-listing-page/product-listing-product-overview/product-listing-product-overview.js +2 -2
- package/dist/pages/product/product-listing-page/product-listing.d.ts +8 -1
- package/dist/pages/product/product-listing-page/product-listing.js +23 -23
- package/dist/pages/product/search-result-page/search-result-product-overview/search-result-product-overview.d.ts +2 -1
- package/dist/pages/product/search-result-page/search-result-product-overview/search-result-product-overview.js +2 -2
- package/dist/pages/product/search-result-page/search-results-page.js +20 -19
- package/dist/promos/promo-banners/promo-banners.js +2 -1
- package/dist/responsive-banner/responsive-banner.d.ts +30 -0
- package/dist/responsive-banner/responsive-banner.js +23 -0
- package/dist/responsive-banner/responsive-banner.module.css.js +3 -0
- package/dist/responsive-carousel/responsive-carousel.d.ts +18 -0
- package/dist/responsive-carousel/responsive-carousel.js +209 -0
- package/dist/responsive-carousel/responsive-carousel.module.css.js +3 -0
- package/dist/rich-text/rich-text.d.ts +7 -0
- package/dist/rich-text/rich-text.js +10 -0
- package/dist/rich-text/rich-text.module.css.js +3 -0
- package/dist/rte-asset/rte-asset.d.ts +8 -0
- package/dist/rte-asset/rte-asset.js +10 -0
- package/dist/rte-asset/rte-asset.module.css.js +3 -0
- package/dist/rte-blockquote/rte-blockquote.d.ts +8 -0
- package/dist/rte-blockquote/rte-blockquote.js +10 -0
- package/dist/rte-blockquote/rte-blockquote.module.css.js +3 -0
- package/dist/rte-details/rte-details.d.ts +7 -0
- package/dist/rte-details/rte-details.js +10 -0
- package/dist/rte-details/rte-details.module.css.js +3 -0
- package/dist/rte-ordered-list/rte-ordered-list.d.ts +14 -0
- package/dist/rte-ordered-list/rte-ordered-list.js +34 -0
- package/dist/rte-ordered-list/rte-ordered-list.module.css.js +3 -0
- package/dist/sections/about-section/about-section.d.ts +13 -0
- package/dist/sections/about-section/about-section.js +13 -0
- package/dist/sections/about-section/about-section.module.css.js +3 -0
- package/dist/sections/about-section/media-contact.d.ts +7 -0
- package/dist/sections/about-section/media-contact.js +12 -0
- package/dist/sections/banner-section/banner-section.d.ts +13 -0
- package/dist/sections/banner-section/banner-section.js +12 -0
- package/dist/sections/banner-section/banner-section.module.css.js +3 -0
- package/dist/sections/banner-section/fixtures/fixtures.d.ts +5 -0
- package/dist/sections/case-studies-listing-section/case-studies-listing-section.constants.d.ts +10 -0
- package/dist/sections/case-studies-listing-section/case-studies-listing-section.constants.js +12 -0
- package/dist/sections/case-studies-listing-section/case-studies-listing-section.d.ts +26 -0
- package/dist/sections/case-studies-listing-section/case-studies-listing-section.js +30 -0
- package/dist/sections/case-studies-listing-section/case-studies-listing-section.module.css.js +3 -0
- package/dist/sections/client-cases-carousel-section/client-cases-carousel-section.d.ts +13 -0
- package/dist/sections/client-cases-carousel-section/client-cases-carousel-section.js +13 -0
- package/dist/sections/client-cases-carousel-section/client-cases-carousel-section.module.css.js +3 -0
- package/dist/sections/downloadable-documents-section/downloadable-documents-section.d.ts +21 -0
- package/dist/sections/downloadable-documents-section/downloadable-documents-section.js +16 -0
- package/dist/sections/downloadable-documents-section/downloadable-documents-section.module.css.js +3 -0
- package/dist/sections/event-info-section/event-info-section.d.ts +9 -0
- package/dist/sections/event-info-section/event-info-section.js +23 -0
- package/dist/sections/event-info-section/event-info-section.module.css.js +3 -0
- package/dist/sections/faq-section/faq-section.d.ts +24 -0
- package/dist/sections/faq-section/faq-section.js +20 -0
- package/dist/sections/faq-section/faq-section.module.css.js +3 -0
- package/dist/sections/hero-section/hero-section.d.ts +22 -0
- package/dist/sections/hero-section/hero-section.js +16 -0
- package/dist/sections/hero-section/hero-section.module.css.js +3 -0
- package/dist/sections/hubspot-form-section/hubspot-form-section.d.ts +18 -0
- package/dist/sections/hubspot-form-section/hubspot-form-section.js +18 -0
- package/dist/sections/hubspot-form-section/hubspot-form-section.module.css.js +3 -0
- package/dist/sections/image-banner-carousel-section/image-banner-carousel-section.d.ts +12 -0
- package/dist/sections/image-banner-carousel-section/image-banner-carousel-section.js +13 -0
- package/dist/sections/image-banner-carousel-section/image-banner-carousel-section.module.css.js +3 -0
- package/dist/sections/image-banner-section/image-banner-section.d.ts +12 -0
- package/dist/sections/image-banner-section/image-banner-section.js +12 -0
- package/dist/sections/image-banner-section/image-banner-section.module.css.js +3 -0
- package/dist/sections/image-hubspot-section/image-hubspot-form-section.d.ts +21 -0
- package/dist/sections/image-hubspot-section/image-hubspot-form-section.js +19 -0
- package/dist/sections/image-hubspot-section/image-hubspot-form-section.module.css.js +3 -0
- package/dist/sections/image-section/image-section.d.ts +25 -0
- package/dist/sections/image-section/image-section.js +14 -0
- package/dist/sections/image-section/image-section.module.css.js +3 -0
- package/dist/sections/image-text-section/image-text-block.d.ts +13 -0
- package/dist/sections/image-text-section/image-text-block.js +13 -0
- package/dist/sections/image-text-section/image-text-section.d.ts +15 -0
- package/dist/sections/image-text-section/image-text-section.js +12 -0
- package/dist/sections/image-text-section/image-text-section.module.css.js +3 -0
- package/dist/sections/legal-section/legal-section.d.ts +10 -0
- package/dist/sections/legal-section/legal-section.js +13 -0
- package/dist/sections/legal-section/legal-section.module.css.js +3 -0
- package/dist/sections/multi-column-section/multi-column-section.d.ts +24 -0
- package/dist/sections/multi-column-section/multi-column-section.js +24 -0
- package/dist/sections/multi-column-section/multi-column-section.module.css.js +3 -0
- package/dist/sections/news-list-section/news-listing-section.d.ts +17 -0
- package/dist/sections/news-list-section/news-listing-section.js +27 -0
- package/dist/sections/news-list-section/news-listing-section.module.css.js +3 -0
- package/dist/sections/numbers-section/numbers-section.d.ts +18 -0
- package/dist/sections/numbers-section/numbers-section.js +15 -0
- package/dist/sections/numbers-section/numbers-section.module.css.js +3 -0
- package/dist/sections/page-meta-section/page-meta-section.d.ts +8 -0
- package/dist/sections/page-meta-section/page-meta-section.js +23 -0
- package/dist/sections/page-meta-section/page-meta-section.module.css.js +3 -0
- package/dist/sections/page-section/page-section.d.ts +297 -0
- package/dist/sections/page-section/page-section.js +23 -0
- package/dist/sections/page-section/page-section.module.css.js +3 -0
- package/dist/sections/percentages-section/percentages-section.d.ts +21 -0
- package/dist/sections/percentages-section/percentages-section.js +18 -0
- package/dist/sections/percentages-section/percentages-section.module.css.js +3 -0
- package/dist/sections/product-comparison-section/product-comparison-section.d.ts +17 -0
- package/dist/sections/product-comparison-section/product-comparison-section.js +19 -0
- package/dist/sections/product-comparison-section/product-comparison-section.module.css.js +3 -0
- package/dist/sections/rich-text-section/rich-text-section.d.ts +11 -0
- package/dist/sections/rich-text-section/rich-text-section.js +12 -0
- package/dist/sections/rich-text-section/rich-text-section.module.css.js +3 -0
- package/dist/sections/social-media-section/social-media-section.d.ts +20 -0
- package/dist/sections/social-media-section/social-media-section.js +27 -0
- package/dist/sections/social-media-section/social-media-section.module.css.js +3 -0
- package/dist/sections/subheadline-section/subheadline-section.d.ts +7 -0
- package/dist/sections/subheadline-section/subheadline-section.js +12 -0
- package/dist/sections/subheadline-section/subheadline-section.module.css.js +3 -0
- package/dist/sections/usp-section/usp-section.d.ts +19 -0
- package/dist/sections/usp-section/usp-section.js +17 -0
- package/dist/sections/usp-section/usp-section.module.css.js +3 -0
- package/dist/sections/video-section/video-section.d.ts +30 -0
- package/dist/sections/video-section/video-section.js +13 -0
- package/dist/sections/video-section/video-section.module.css.js +3 -0
- package/dist/shared/error/default-error-view.d.ts +1 -1
- package/dist/shared/error/default-error-view.js +4 -2
- package/dist/shared/error/default-error-view.module.css.js +1 -1
- package/dist/shared/error/global-unhandled-error-handler.js +3 -3
- package/dist/shared/feature-flags/use-feature-flags.d.ts +1 -0
- package/dist/shared/feature-flags/use-feature-flags.js +3 -2
- package/dist/shared/hooks/use-drag-scroll.d.ts +20 -0
- package/dist/shared/hooks/use-drag-scroll.js +107 -0
- package/dist/shared/local-storage/local-storage-provider.js +1 -1
- package/dist/shared/local-storage/use-local-storage.js +2 -2
- package/dist/shared/local-storage/use-session-storage.js +2 -2
- package/dist/shared/model/announcement.d.ts +1 -0
- package/dist/shared/model/image.d.ts +5 -0
- package/dist/shared/providers/global-state-provider.js +3 -3
- package/dist/shared/routing/route-provider.js +1 -1
- package/dist/shared/routing/use-router.js +2 -2
- package/dist/shared/utils/array.d.ts +1 -0
- package/dist/shared/utils/array.js +9 -1
- package/dist/shared/utils/array.test.d.ts +1 -0
- package/dist/sidebar/sidebar.js +2 -2
- package/dist/site-layout/site-layout.d.ts +15 -0
- package/dist/site-layout/site-layout.js +39 -0
- package/dist/site-layout/site-layout.module.css.js +3 -0
- package/dist/styles.css +10859 -3344
- package/dist/table/elements/table-provider.js +1 -1
- package/dist/table/elements/table-row-provider.js +1 -1
- package/dist/table/elements/table.js +2 -2
- package/dist/table/elements/use-table-row.js +2 -2
- package/dist/table/elements/use-table.js +2 -2
- package/dist/toast/toast.d.ts +6 -1
- package/dist/toast/toast.js +2 -3
- package/dist/typography/heading/heading.d.ts +18 -10
- package/dist/typography/heading/heading.js +28 -14
- package/dist/typography/heading/heading.module.css.js +1 -1
- package/package.json +6 -5
- package/dist/buttons/print-button/print-button.d.ts +0 -2
- package/dist/buttons/print-button/print-button.js +0 -10
- package/dist/footer/connected-footer.d.ts +0 -3
- package/dist/footer/connected-footer.js +0 -21
- package/dist/header/connected-header.d.ts +0 -3
- package/dist/header/connected-header.js +0 -21
- package/dist/notifications/announcements/connected-announcement-list.d.ts +0 -3
- package/dist/notifications/announcements/connected-announcement-list.js +0 -22
- package/dist/notifications/announcements/use-filter-announcements.d.ts +0 -2
- package/dist/notifications/announcements/use-filter-announcements.js +0 -35
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-background-image.d.ts +0 -6
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-background-image.js +0 -9
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.d.ts +0 -9
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.js +0 -12
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.module.css.js +0 -3
- package/dist/pages/checkout/cart-page/components/empty-cart-page.d.ts +0 -1
- package/dist/pages/checkout/cart-page/components/empty-cart-page.js +0 -12
- package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.d.ts +0 -11
- package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.js +0 -34
- package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.module.css.js +0 -3
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.js +0 -11
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.module.css.js +0 -3
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside.d.ts +0 -4
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside.js +0 -9
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb.d.ts +0 -4
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb.js +0 -9
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main.d.ts +0 -4
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main.js +0 -9
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page.d.ts +0 -5
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page.js +0 -10
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside.d.ts +0 -4
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside.js +0 -9
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title.d.ts +0 -4
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title.js +0 -10
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.d.ts +0 -5
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.js +0 -10
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.module.css.js +0 -3
- package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.d.ts +0 -9
- package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.js +0 -10
- package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.module.css.js +0 -3
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.module.css.js +0 -3
- package/dist/pages/product/search-result-page/search-results-page.module.css.js +0 -3
- /package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-content.d.ts +0 -0
- /package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-content.js +0 -0
- /package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-link.d.ts +0 -0
- /package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section-link.js +0 -0
- /package/dist/pages/checkout/{layouts/checkout-page-layout/components → components}/checkout-page-section.d.ts +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PageSectionTheme } from '../page-section/page-section';
|
|
2
|
+
export interface DownloadableDocumentsItemProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
'data-country-gate'?: string;
|
|
5
|
+
href: string;
|
|
6
|
+
imageSrc: string;
|
|
7
|
+
title: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function DownloadableDocumentsItem({ className, 'data-country-gate': dataCountryGate, href, imageSrc, title, }: DownloadableDocumentsItemProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export interface DownloadableDocumentsSectionProps {
|
|
11
|
+
align?: 'start' | 'center';
|
|
12
|
+
anchorId?: string;
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
'data-country-gate'?: string;
|
|
16
|
+
'data-test-selector'?: string;
|
|
17
|
+
imageProportions?: 'landscape' | 'square';
|
|
18
|
+
theme?: PageSectionTheme;
|
|
19
|
+
title?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function DownloadableDocumentsSection({ align, anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, imageProportions, theme, title, }: DownloadableDocumentsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { ResponsiveImage } from '../../media/responsive-image/responsive-image.js';
|
|
5
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
6
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
7
|
+
import styles from './downloadable-documents-section.module.css.js';
|
|
8
|
+
|
|
9
|
+
function DownloadableDocumentsItem({ className, 'data-country-gate': dataCountryGate, href, imageSrc, title, }) {
|
|
10
|
+
return (jsxs("section", { className: clsx(styles['item'], className), "data-country-gate": dataCountryGate, role: "listitem", children: [jsx(Heading, { italic: true, uppercase: true, className: styles['item-title'], size: "s", tag: "h3", children: jsx("a", { className: styles['item-link'], href: href, rel: "noreferrer", target: "_blank", children: title }) }), jsx("div", { className: styles['item-image'], role: "presentation", children: jsx(ResponsiveImage, { className: styles['responsive-image'], sizes: "(min-width: 64rem) 25vw, (min-width: 36rem) 33vw, 50vw", src: imageSrc }) })] }));
|
|
11
|
+
}
|
|
12
|
+
function DownloadableDocumentsSection({ align = 'center', anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, imageProportions = 'square', theme, title, }) {
|
|
13
|
+
return (jsxs(PageSection, { anchorId: anchorId, as: "article", className: clsx(styles['downloadable-documents-section'], styles[`align-${align}`], styles[`image-proportions-${imageProportions}`], className), "data-country-gate": dataCountryGate, "data-test-selector": dataTestSelector, theme: theme, children: [title && (jsx(Heading, { italic: true, className: styles['title'], size: "xl", tag: "h2", children: title })), jsx("div", { className: styles['items'], role: "list", children: children })] }));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { DownloadableDocumentsItem, DownloadableDocumentsSection };
|
package/dist/sections/downloadable-documents-section/downloadable-documents-section.module.css.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"downloadable-documents-section":"downloadable-documents-section-module-Gv5QT","title":"downloadable-documents-section-module-WS8Bm","items":"downloadable-documents-section-module--ujRr","item":"downloadable-documents-section-module-APn6x","item-title":"downloadable-documents-section-module-i4mA7","item-link":"downloadable-documents-section-module-QioOR","item-image":"downloadable-documents-section-module-Gy7hi","responsive-image":"downloadable-documents-section-module-5yi7G","align-left":"downloadable-documents-section-module-ksidn","align-center":"downloadable-documents-section-module-4eGtW","image-proportions-landscape":"downloadable-documents-section-module-YNUy7","image-proportions-square":"downloadable-documents-section-module-VG2aa"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface EventInfoSectionProps {
|
|
2
|
+
endDate?: Date | null;
|
|
3
|
+
format?: 'long' | 'short';
|
|
4
|
+
place?: string;
|
|
5
|
+
showTime?: boolean;
|
|
6
|
+
startDate?: Date | null;
|
|
7
|
+
venue?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function EventInfoSection({ endDate, format, place, startDate, venue, }: EventInfoSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import { clsx } from 'clsx';
|
|
4
|
+
import { FormattedDate } from '../../intl/formatted-date.js';
|
|
5
|
+
import { useFormattedMessage } from '../../intl/use-formatted-message.js';
|
|
6
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
7
|
+
import styles from './event-info-section.module.css.js';
|
|
8
|
+
|
|
9
|
+
/* eslint-disable no-warning-comments */
|
|
10
|
+
/*
|
|
11
|
+
TODO:
|
|
12
|
+
- Date formatting and locale
|
|
13
|
+
*/
|
|
14
|
+
function EventInfoSection({ endDate, format = 'short', place, startDate, venue, }) {
|
|
15
|
+
const t = useFormattedMessage();
|
|
16
|
+
return (jsx(PageSection, { className: clsx(styles['event-info-section'], styles[`format-${format}`]), layout: "auto", children: jsxs("dl", { "data-date-separator": t('eventDateSeparator'), children: [startDate && (jsxs("div", { className: styles['start-date'], children: [jsx("dt", { children: t('Start Date') }), jsx("dd", { children: jsx("time", { dateTime: startDate.toISOString(), children: jsx(FormattedDate, { date: startDate, options: {
|
|
17
|
+
dateStyle: 'long',
|
|
18
|
+
} }) }) })] })), endDate && (jsxs("div", { className: styles['end-date'], children: [jsx("dt", { children: t('End Date') }), jsx("dd", { children: jsx("time", { dateTime: endDate.toISOString(), children: jsx(FormattedDate, { date: endDate, options: {
|
|
19
|
+
dateStyle: 'long',
|
|
20
|
+
} }) }) })] })), venue && (jsxs("div", { className: styles['venue'], children: [jsx("dt", { children: t('Venue') }), jsx("dd", { children: venue })] })), place && (jsxs("div", { className: styles['place'], children: [jsx("dt", { children: t('Place') }), jsx("dd", { children: place })] }))] }) }));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { EventInfoSection };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"event-info-section":"event-info-section-module-jNL-l","format-long":"event-info-section-module-Wt5z4","format-short":"event-info-section-module-YOiA-","start-date":"event-info-section-module-wN1NS","end-date":"event-info-section-module-fpaHw"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface FAQItemProps {
|
|
2
|
+
anchorId?: string;
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
'data-country-gate'?: string;
|
|
5
|
+
question: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function FAQItem({ anchorId, children, 'data-country-gate': dataCountryGate, question, }: FAQItemProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export interface FAQGroupProps {
|
|
9
|
+
anchorId?: string;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
'data-country-gate'?: string;
|
|
13
|
+
title: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function FAQGroup({ anchorId, children, className, 'data-country-gate': dataCountryGate, title, }: FAQGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export interface FAQSectionProps {
|
|
17
|
+
anchorId?: string;
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
className?: string;
|
|
20
|
+
'data-country-gate'?: string;
|
|
21
|
+
'data-test-selector'?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare function FAQSection({ anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, title, }: FAQSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { Collapsable } from '../../collapsables/collapsable/collapsable.js';
|
|
5
|
+
import { RichText } from '../../rich-text/rich-text.js';
|
|
6
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
7
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
8
|
+
import styles from './faq-section.module.css.js';
|
|
9
|
+
|
|
10
|
+
function FAQItem({ anchorId, children, 'data-country-gate': dataCountryGate, question, }) {
|
|
11
|
+
return (jsx(Collapsable, { anchorId: anchorId, "data-country-gate": dataCountryGate, title: question, children: jsx(RichText, { className: styles['answer'], children: children }) }));
|
|
12
|
+
}
|
|
13
|
+
function FAQGroup({ anchorId, children, className, 'data-country-gate': dataCountryGate, title, }) {
|
|
14
|
+
return (jsxs("section", { className: clsx(styles['faq-group'], className), "data-country-gate": dataCountryGate, id: anchorId, children: [jsx(Heading, { className: styles['group-title'], size: "s", tag: "h3", children: title }), jsx("div", { className: styles['items'], children: children })] }));
|
|
15
|
+
}
|
|
16
|
+
function FAQSection({ anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, title, }) {
|
|
17
|
+
return (jsxs(PageSection, { anchorId: anchorId, as: "article", className: clsx(styles['faq-section'], className), "data-country-gate": dataCountryGate, "data-test-selector": dataTestSelector, layout: "auto", children: [title && (jsx(Heading, { italic: true, className: styles['title'], size: "xl", tag: "h2", children: title })), children] }));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { FAQGroup, FAQItem, FAQSection };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"faq-section":"faq-section-module-Pngvd","title":"faq-section-module-aSAzn","faq-group":"faq-section-module-qQjoL","group-title":"faq-section-module-8Opci","items":"faq-section-module-a7VJa","answer":"faq-section-module-tpMfl"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FocusPoint } from '../../shared/model/image';
|
|
2
|
+
import { PageSectionLayout, PageSectionTheme } from '../page-section/page-section';
|
|
3
|
+
export interface HeroSectionProps {
|
|
4
|
+
anchorId?: string;
|
|
5
|
+
bgGradient?: boolean;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
cta?: React.ReactNode;
|
|
9
|
+
'data-country-gate'?: string;
|
|
10
|
+
'data-test-selector'?: string;
|
|
11
|
+
hAlign?: 'start' | 'center';
|
|
12
|
+
imageFocusPointLandscape?: FocusPoint;
|
|
13
|
+
imageFocusPointPortrait?: FocusPoint;
|
|
14
|
+
imageSrcLandscape?: string;
|
|
15
|
+
imageSrcPortrait?: string;
|
|
16
|
+
layout?: PageSectionLayout;
|
|
17
|
+
size?: 'small' | 'medium' | 'large';
|
|
18
|
+
theme?: PageSectionTheme;
|
|
19
|
+
title?: React.ReactNode;
|
|
20
|
+
vAlign?: 'start' | 'center' | 'end';
|
|
21
|
+
}
|
|
22
|
+
export declare function HeroSection({ anchorId, bgGradient, children, className, cta, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, hAlign, imageFocusPointLandscape, imageFocusPointPortrait, imageSrcLandscape, imageSrcPortrait, layout, size, theme, title, vAlign, }: HeroSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { ResponsiveImage } from '../../media/responsive-image/responsive-image.js';
|
|
5
|
+
import { RichText } from '../../rich-text/rich-text.js';
|
|
6
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
7
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
8
|
+
import styles from './hero-section.module.css.js';
|
|
9
|
+
|
|
10
|
+
function HeroSection({ anchorId, bgGradient = false, children, className, cta, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, hAlign = 'start', imageFocusPointLandscape, imageFocusPointPortrait, imageSrcLandscape, imageSrcPortrait, layout = 'auto', size = 'large', theme = 'dark', title, vAlign = 'start', }) {
|
|
11
|
+
return (jsx(PageSection, { anchorId: anchorId, className: clsx(styles['hero-section'], styles[`size-${size}`], styles[`h-align-${hAlign}`], styles[`v-align-${vAlign}`], bgGradient && styles['bg-gradient'], className), "data-country-gate": dataCountryGate, "data-test-selector": dataTestSelector, layout: layout, role: title || children || cta ? undefined : 'presentation', theme: theme, children: jsxs("div", { className: styles['content'], children: [title && (jsx(Heading, { italic: true, neutral: true, uppercase: true, className: styles['title'], size: "xxxl", tag: "h2", children: title })), children && (jsx(RichText, { className: styles['body'], hAlign: hAlign, children: children })), cta && jsx("div", { className: styles['cta'], children: cta }), (imageSrcLandscape || imageSrcPortrait) && (jsxs("div", { className: styles['image'], role: "presentation", style: {
|
|
12
|
+
'--image-url': `url(${imageSrcLandscape || imageSrcPortrait})`,
|
|
13
|
+
}, children: [imageSrcPortrait && (jsx(ResponsiveImage, { className: clsx(styles['responsive-image'], styles['portrait']), fetchPriority: "high", fit: "cover", focusPoint: imageFocusPointPortrait, loadingStrategy: "eager", sizes: "100vw", src: imageSrcPortrait })), imageSrcLandscape && (jsx(ResponsiveImage, { className: clsx(styles['responsive-image'], styles['landscape']), fetchPriority: "high", fit: "cover", focusPoint: imageFocusPointLandscape, loadingStrategy: "eager", sizes: "100vw", src: imageSrcLandscape }))] }))] }) }));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { HeroSection };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"hero-section":"hero-section-module-JP3h9","content":"hero-section-module-Z8vvz","bg-gradient":"hero-section-module-PsBGB","image":"hero-section-module--Vvsi","title":"hero-section-module-1kyjf","body":"hero-section-module-HOv5d","v-align-start":"hero-section-module-w6UX5","v-align-end":"hero-section-module-rL-I9","cta":"hero-section-module-Qnrk1","responsive-image":"hero-section-module-R2K-H","portrait":"hero-section-module-Xdd77","landscape":"hero-section-module-415dJ","h-align-start":"hero-section-module-p8z6P","h-align-center":"hero-section-module-yI7U4","v-align-center":"hero-section-module-sgyuT","size-small":"hero-section-module-PM62s","size-medium":"hero-section-module-EeVsL","size-large":"hero-section-module-rLQxp"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HubspotFormType } from '../../hubspot-form/hubspot-form';
|
|
2
|
+
import { PageSectionLayout, PageSectionTheme } from '../page-section/page-section';
|
|
3
|
+
export interface HubspotFormSectionProps {
|
|
4
|
+
anchorId?: string;
|
|
5
|
+
ariaDetails?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
'data-country-gate'?: string;
|
|
8
|
+
'data-test-selector'?: string;
|
|
9
|
+
formId: string;
|
|
10
|
+
hAlign?: 'start' | 'center';
|
|
11
|
+
layout?: PageSectionLayout;
|
|
12
|
+
portalId: string;
|
|
13
|
+
theme?: PageSectionTheme;
|
|
14
|
+
title?: string;
|
|
15
|
+
type?: HubspotFormType;
|
|
16
|
+
uid: string;
|
|
17
|
+
}
|
|
18
|
+
export declare function HubspotFormSection({ anchorId, ariaDetails, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, formId, hAlign, layout, portalId, theme, title, type, uid, }: HubspotFormSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { HubspotForm } from '../../hubspot-form/hubspot-form.js';
|
|
6
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
7
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
8
|
+
import styles from './hubspot-form-section.module.css.js';
|
|
9
|
+
|
|
10
|
+
function HubspotFormSection({ anchorId, ariaDetails, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, formId, hAlign = 'start', layout = 'auto', portalId, theme, title, type, uid, }) {
|
|
11
|
+
const [formLoaded, setFormLoaded] = useState(false);
|
|
12
|
+
const handleOnLoad = () => {
|
|
13
|
+
setFormLoaded(true);
|
|
14
|
+
};
|
|
15
|
+
return (jsxs(PageSection, { anchorId: anchorId, className: clsx(styles['hubspot-form-section'], styles[`align-${hAlign}`], formLoaded && styles['form-loaded'], className), "data-country-gate": dataCountryGate, "data-test-selector": dataTestSelector, layout: layout, theme: theme, children: [title && (jsx(Heading, { italic: true, className: styles['title'], size: "xl", tag: "h2", children: title })), jsx(HubspotForm, { ariaDetails: ariaDetails, className: styles['hubspot-form'], formId: formId, onLoad: handleOnLoad, portalId: portalId, type: type, uid: uid })] }));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { HubspotFormSection };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"hubspot-form-section":"hubspot-form-section-module-cCsHQ","title":"hubspot-form-section-module-MNrm1","align-start":"hubspot-form-section-module-zw-zr","align-center":"hubspot-form-section-module-aGGpA","form-loaded":"hubspot-form-section-module-CioZt"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PageSectionLayout, PageSectionTheme } from '../page-section/page-section';
|
|
2
|
+
export interface ImageBannerCarouselSectionProps {
|
|
3
|
+
anchorId?: string;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
'data-country-gate'?: string;
|
|
7
|
+
'data-test-selector'?: string;
|
|
8
|
+
layout?: PageSectionLayout;
|
|
9
|
+
theme?: PageSectionTheme;
|
|
10
|
+
title?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function ImageBannerCarouselSection({ anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, layout, theme, title, }: ImageBannerCarouselSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { ResponsiveCarousel } from '../../responsive-carousel/responsive-carousel.js';
|
|
5
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
6
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
7
|
+
import styles from './image-banner-carousel-section.module.css.js';
|
|
8
|
+
|
|
9
|
+
function ImageBannerCarouselSection({ anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, layout = 'auto', theme, title, }) {
|
|
10
|
+
return (jsxs(PageSection, { anchorId: anchorId, className: clsx(styles['image-banner-carousel-section'], className), "data-country-gate": dataCountryGate, "data-test-selector": dataTestSelector, layout: layout, theme: theme, children: [title && (jsx(Heading, { italic: true, className: styles['title'], size: "xl", tag: "h2", children: title })), jsx(ResponsiveCarousel, { overflow: true, revealOverflow: true, className: styles['items'], children: children })] }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { ImageBannerCarouselSection };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PageSectionLayout, PageSectionTheme } from '../page-section/page-section';
|
|
2
|
+
export interface ImageBannerSectionProps {
|
|
3
|
+
anchorId?: string;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
'data-country-gate'?: string;
|
|
7
|
+
'data-test-selector'?: string;
|
|
8
|
+
layout?: PageSectionLayout;
|
|
9
|
+
theme?: PageSectionTheme;
|
|
10
|
+
title?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function ImageBannerSection({ anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, layout, theme, title, }: ImageBannerSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
5
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
6
|
+
import styles from './image-banner-section.module.css.js';
|
|
7
|
+
|
|
8
|
+
function ImageBannerSection({ anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, layout = 'auto', theme, title, }) {
|
|
9
|
+
return (jsxs(PageSection, { anchorId: anchorId, className: clsx(styles['image-banner-section'], className), "data-country-gate": dataCountryGate, "data-test-selector": dataTestSelector, layout: layout, theme: theme, children: [title && (jsx(Heading, { italic: true, className: styles['title'], size: "xl", tag: "h2", children: title })), jsx("div", { className: styles['items'], children: children })] }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { ImageBannerSection };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HubspotFormType } from '../../hubspot-form/hubspot-form';
|
|
2
|
+
import { FocusPoint } from '../../shared/model/image';
|
|
3
|
+
import { PageSectionTheme } from '../page-section/page-section';
|
|
4
|
+
export interface ImageHubspotFormSectionProps {
|
|
5
|
+
anchorId?: string;
|
|
6
|
+
ariaDetails?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
'data-country-gate'?: string;
|
|
9
|
+
'data-test-selector'?: string;
|
|
10
|
+
formId: string;
|
|
11
|
+
imageFit?: 'cover' | 'contain';
|
|
12
|
+
imageFocusPoint?: FocusPoint;
|
|
13
|
+
imageSrc: string;
|
|
14
|
+
mirror?: boolean;
|
|
15
|
+
portalId: string;
|
|
16
|
+
theme?: PageSectionTheme;
|
|
17
|
+
title?: string;
|
|
18
|
+
type?: HubspotFormType;
|
|
19
|
+
uid: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function ImageHubspotFormSection({ anchorId, ariaDetails, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, formId, imageFit, imageFocusPoint, imageSrc, mirror, portalId, theme, title, type, uid, }: ImageHubspotFormSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { HubspotForm } from '../../hubspot-form/hubspot-form.js';
|
|
6
|
+
import { ResponsiveImage } from '../../media/responsive-image/responsive-image.js';
|
|
7
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
8
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
9
|
+
import styles from './image-hubspot-form-section.module.css.js';
|
|
10
|
+
|
|
11
|
+
function ImageHubspotFormSection({ anchorId, ariaDetails, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, formId, imageFit = 'cover', imageFocusPoint, imageSrc, mirror, portalId, theme, title, type, uid, }) {
|
|
12
|
+
const [formLoaded, setFormLoaded] = useState(false);
|
|
13
|
+
const handleOnLoad = () => {
|
|
14
|
+
setFormLoaded(true);
|
|
15
|
+
};
|
|
16
|
+
return (jsx(PageSection, { anchorId: anchorId, as: "article", className: clsx(styles['image-hubspot-form-section'], styles[`fit-${imageFit}`], mirror && styles['mirror'], formLoaded && styles['form-loaded'], className), "data-country-gate": dataCountryGate, "data-test-selector": dataTestSelector, theme: theme, children: jsxs("div", { className: styles['container'], children: [title && (jsx(Heading, { italic: true, className: styles['title'], size: "xxxl", tag: "h2", children: title })), jsx(HubspotForm, { ariaDetails: ariaDetails, className: styles['hubspot-form'], formId: formId, onLoad: handleOnLoad, portalId: portalId, type: type, uid: uid }), jsx("div", { className: styles['image'], role: "presentation", children: jsx(ResponsiveImage, { className: styles['responsive-image'], fit: imageFit, focusPoint: imageFocusPoint, sizes: "(min-width: 48rem) 50vw, 100vw", src: imageSrc }) })] }) }));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { ImageHubspotFormSection };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"image-hubspot-form-section":"image-hubspot-form-section-module-pj-jv","container":"image-hubspot-form-section-module-x-TOS","title":"image-hubspot-form-section-module-eiueU","hubspot-form":"image-hubspot-form-section-module-MjljM","image":"image-hubspot-form-section-module-r-n9v","responsive-image":"image-hubspot-form-section-module-5M1Zf","fit-cover":"image-hubspot-form-section-module-jAmc-","fit-contain":"image-hubspot-form-section-module-RwfeD","mirror":"image-hubspot-form-section-module-7ItwX","form-loaded":"image-hubspot-form-section-module-2f7IH"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FocusPoint } from '../../shared/model/image';
|
|
2
|
+
import { PageSectionLayout, PageSectionTheme } from '../page-section/page-section';
|
|
3
|
+
export interface ImageSectionProps {
|
|
4
|
+
altText?: string;
|
|
5
|
+
anchorId?: string;
|
|
6
|
+
ariaDetails?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
'data-country-gate'?: string;
|
|
9
|
+
'data-test-selector'?: string;
|
|
10
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
11
|
+
fit?: 'cover' | 'contain';
|
|
12
|
+
focusPoint?: FocusPoint;
|
|
13
|
+
layout?: PageSectionLayout;
|
|
14
|
+
loadingStrategy?: 'eager' | 'lazy';
|
|
15
|
+
maxHeight?: number;
|
|
16
|
+
maxWidth?: number;
|
|
17
|
+
size?: 'small' | 'medium' | 'large';
|
|
18
|
+
/** Fallback `sizes` for the image; full-bleed by default. */
|
|
19
|
+
sizes?: string;
|
|
20
|
+
sourceHeight?: number;
|
|
21
|
+
sourceWidth?: number;
|
|
22
|
+
src?: string;
|
|
23
|
+
theme?: PageSectionTheme;
|
|
24
|
+
}
|
|
25
|
+
export declare function ImageSection({ altText, anchorId, ariaDetails, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, fetchPriority, fit, focusPoint, layout, loadingStrategy, maxHeight, maxWidth, size, sizes, sourceHeight, sourceWidth, src, theme, }: ImageSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { ResponsiveImage } from '../../media/responsive-image/responsive-image.js';
|
|
5
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
6
|
+
import styles from './image-section.module.css.js';
|
|
7
|
+
|
|
8
|
+
function ImageSection({ altText, anchorId, ariaDetails, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, fetchPriority, fit = 'cover', focusPoint, layout = 'auto', loadingStrategy, maxHeight, maxWidth, size = 'medium', sizes = '100vw', sourceHeight, sourceWidth, src, theme, }) {
|
|
9
|
+
return (jsx(PageSection, { anchorId: anchorId, className: clsx(styles['image-section'], styles[`size-${size}`], styles[`fit-${fit}`], className), "data-country-gate": dataCountryGate, "data-test-selector": dataTestSelector, layout: layout, role: (altText && altText !== '') || ariaDetails ? undefined : 'presentation', style: {
|
|
10
|
+
'--image-url': `url(${src})`,
|
|
11
|
+
}, theme: theme, children: src && (jsx(ResponsiveImage, { altText: altText, ariaDetails: ariaDetails, className: clsx(styles['image'], styles['landscape']), fetchPriority: fetchPriority, fit: fit, focusPoint: focusPoint, loadingStrategy: loadingStrategy, maxHeight: maxHeight, maxWidth: maxWidth, sizes: sizes, sourceHeight: sourceHeight, sourceWidth: sourceWidth, src: src })) }));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { ImageSection };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"image-section":"image-section-module-oaWDP","fit-cover":"image-section-module-g6gMX","size-small":"image-section-module-YPiT7","size-medium":"image-section-module-VpREu","size-large":"image-section-module-Bl-0l","image":"image-section-module--7Mn0","fit-contain":"image-section-module-7ElCX"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FocusPoint } from '../../shared/model/image';
|
|
2
|
+
export interface ImageTextBlockProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
cta?: React.ReactNode;
|
|
6
|
+
'data-test-selector'?: string;
|
|
7
|
+
imageFit?: 'cover' | 'contain';
|
|
8
|
+
imageFocusPoint?: FocusPoint;
|
|
9
|
+
imageSrc: string;
|
|
10
|
+
mirror?: boolean;
|
|
11
|
+
title?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function ImageTextBlock({ children, className, cta, 'data-test-selector': dataTestSelector, imageFit, imageFocusPoint, imageSrc, mirror, title, ...rest }: ImageTextBlockProps & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { ResponsiveImage } from '../../media/responsive-image/responsive-image.js';
|
|
5
|
+
import { RichText } from '../../rich-text/rich-text.js';
|
|
6
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
7
|
+
import styles from './image-text-section.module.css.js';
|
|
8
|
+
|
|
9
|
+
function ImageTextBlock({ children, className, cta, 'data-test-selector': dataTestSelector, imageFit = 'cover', imageFocusPoint, imageSrc, mirror, title, ...rest }) {
|
|
10
|
+
return (jsxs("div", { className: clsx(styles['image-text-block'], styles[`fit-${imageFit}`], mirror && styles['mirror'], className), "data-test-selector": dataTestSelector, ...rest, children: [title && (jsx(Heading, { italic: true, className: styles['title'], size: "xxxl", tag: "h2", children: title })), jsx(RichText, { className: styles['body'], children: children }), cta && jsx("div", { className: styles['cta'], children: cta }), jsx("div", { className: styles['image'], role: "presentation", children: jsx(ResponsiveImage, { className: styles['responsive-image'], fit: imageFit, focusPoint: imageFocusPoint, sizes: "(min-width: 48rem) 50vw, 100vw", src: imageSrc }) })] }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { ImageTextBlock };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FocusPoint } from '../../shared/model/image';
|
|
2
|
+
export interface ImageTextSectionProps {
|
|
3
|
+
anchorId?: string;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
cta?: React.ReactNode;
|
|
7
|
+
'data-country-gate'?: string;
|
|
8
|
+
'data-test-selector'?: string;
|
|
9
|
+
imageFit?: 'cover' | 'contain';
|
|
10
|
+
imageFocusPoint?: FocusPoint;
|
|
11
|
+
imageSrc: string;
|
|
12
|
+
mirror?: boolean;
|
|
13
|
+
title?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function ImageTextSection({ anchorId, children, className, cta, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, imageFit, imageFocusPoint, imageSrc, mirror, title, }: ImageTextSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
5
|
+
import { ImageTextBlock } from './image-text-block.js';
|
|
6
|
+
import styles from './image-text-section.module.css.js';
|
|
7
|
+
|
|
8
|
+
function ImageTextSection({ anchorId, children, className, cta, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, imageFit = 'cover', imageFocusPoint, imageSrc, mirror, title, }) {
|
|
9
|
+
return (jsx(PageSection, { anchorId: anchorId, as: "article", className: clsx(styles['image-text-section'], 'image-content-section', className), "data-country-gate": dataCountryGate, "data-test-selector": dataTestSelector, children: jsx(ImageTextBlock, { cta: cta, imageFit: imageFit, imageFocusPoint: imageFocusPoint, imageSrc: imageSrc, mirror: mirror, title: title, children: children }) }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { ImageTextSection };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"image-text-block":"image-text-section-module-wkRno","title":"image-text-section-module-A3CdR","body":"image-text-section-module-PJ5Nc","cta":"image-text-section-module-7TarH","image":"image-text-section-module-ZH0LN","responsive-image":"image-text-section-module-W8GQk","fit-cover":"image-text-section-module-CicS5","fit-contain":"image-text-section-module-0XSzY","mirror":"image-text-section-module-23lwY"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface LegalSectionProps {
|
|
2
|
+
anchorId?: string;
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
'data-country-gate'?: string;
|
|
6
|
+
'data-test-selector'?: string;
|
|
7
|
+
section?: number;
|
|
8
|
+
title: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function LegalSection({ anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, section, title, }: LegalSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { RichText } from '../../rich-text/rich-text.js';
|
|
5
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
6
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
7
|
+
import styles from './legal-section.module.css.js';
|
|
8
|
+
|
|
9
|
+
function LegalSection({ anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, section, title, }) {
|
|
10
|
+
return (jsxs(PageSection, { anchorId: anchorId, as: "article", className: clsx(styles['legal-section'], className), "data-country-gate": dataCountryGate, "data-test-selector": dataTestSelector, layout: "auto", style: section ? { counterReset: `count ${section}` } : undefined, children: [jsxs(Heading, { italic: true, className: styles['title'], size: "xl", tag: "h2", children: [section ? `${section}. ` : '', title] }), jsx(RichText, { children: children })] }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { LegalSection };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FocusPoint } from '../../shared/model/image';
|
|
2
|
+
import { PageSectionTheme } from '../page-section/page-section';
|
|
3
|
+
export interface MultiColumnItemProps {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
cta?: React.ReactNode;
|
|
7
|
+
'data-country-gate'?: string;
|
|
8
|
+
hAlign?: 'start' | 'center';
|
|
9
|
+
imageFocusPoint?: FocusPoint;
|
|
10
|
+
imageSrc?: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function MultiColumnItem({ children, className, cta, 'data-country-gate': dataCountryGate, hAlign, imageFocusPoint, imageSrc, title, }: MultiColumnItemProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export interface MultiColumnSectionProps {
|
|
15
|
+
anchorId?: string;
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
className?: string;
|
|
18
|
+
'data-country-gate'?: string;
|
|
19
|
+
'data-test-selector'?: string;
|
|
20
|
+
imageProportions?: 'landscape' | 'square';
|
|
21
|
+
theme?: PageSectionTheme;
|
|
22
|
+
title?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare function MultiColumnSection({ anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, imageProportions, theme, title, }: MultiColumnSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { createContext, use, useMemo, Children } from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { ResponsiveImage } from '../../media/responsive-image/responsive-image.js';
|
|
6
|
+
import { RichText } from '../../rich-text/rich-text.js';
|
|
7
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
8
|
+
import { PageSection } from '../page-section/page-section.js';
|
|
9
|
+
import styles from './multi-column-section.module.css.js';
|
|
10
|
+
|
|
11
|
+
/** Matches `--items-image-ratio` in the stylesheet. */
|
|
12
|
+
const IMAGE_RATIOS = { landscape: 4 / 2.25, square: 1 };
|
|
13
|
+
const ImageRatioContext = createContext(undefined);
|
|
14
|
+
function MultiColumnItem({ children, className, cta, 'data-country-gate': dataCountryGate, hAlign = 'start', imageFocusPoint, imageSrc, title, }) {
|
|
15
|
+
const imageRatio = use(ImageRatioContext);
|
|
16
|
+
return (jsxs("article", { className: clsx(styles['item'], styles[`h-align-${hAlign}`], className), "data-country-gate": dataCountryGate, children: [jsx(Heading, { italic: true, className: styles['item-title'], size: "xl", tag: "h3", children: title }), jsx("div", { className: styles['item-image'], role: "presentation", children: imageSrc && (jsx(ResponsiveImage, { className: styles['responsive-image'], fit: "cover", focusPoint: imageFocusPoint, minAspectRatio: imageRatio, sizes: "(min-width: 48rem) 50vw, 100vw", src: imageSrc })) }), children && (jsx(RichText, { className: styles['item-body'], children: children })), cta && jsx("div", { className: styles['item-cta'], children: cta })] }));
|
|
17
|
+
}
|
|
18
|
+
function MultiColumnSection({ anchorId, children, className, 'data-country-gate': dataCountryGate, 'data-test-selector': dataTestSelector, imageProportions = 'landscape', theme, title, }) {
|
|
19
|
+
// eslint-disable-next-line @eslint-react/no-children-count
|
|
20
|
+
const count = useMemo(() => Children.count(children), [children]);
|
|
21
|
+
return (jsxs(PageSection, { anchorId: anchorId, as: "section", className: clsx(styles['multi-column-section'], styles[`image-proportions-${imageProportions}`], className), "data-country-gate": dataCountryGate, "data-test-selector": dataTestSelector, style: { '--nr-of-items': count }, theme: theme, children: [title && (jsx(Heading, { className: styles['title'], size: "xl", tag: "h2", children: title })), jsx(ImageRatioContext, { value: IMAGE_RATIOS[imageProportions], children: jsx("div", { className: styles['items'], children: children }) })] }));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { MultiColumnItem, MultiColumnSection };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"multi-column-section":"multi-column-section-module-tbbQL","title":"multi-column-section-module-BLAzs","items":"multi-column-section-module-jxJcx","item":"multi-column-section-module-aRVsX","h-align-start":"multi-column-section-module-dTyXj","h-align-center":"multi-column-section-module-C1ZpQ","item-title":"multi-column-section-module-KS91K","item-image":"multi-column-section-module-8OrAG","item-body":"multi-column-section-module-cnvFF","item-cta":"multi-column-section-module-zgNf6","image-proportions-landscape":"multi-column-section-module-5EAos","image-proportions-square":"multi-column-section-module-NUmxq"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PageSectionTheme } from '../page-section/page-section';
|
|
2
|
+
export interface NewsListingSectionItemProps {
|
|
3
|
+
endDate?: Date;
|
|
4
|
+
href: string;
|
|
5
|
+
publishedDate: Date;
|
|
6
|
+
startDate?: Date;
|
|
7
|
+
summary?: string;
|
|
8
|
+
title: string;
|
|
9
|
+
uid: string;
|
|
10
|
+
}
|
|
11
|
+
export interface NewsListingSectionProps {
|
|
12
|
+
items?: NewsListingSectionItemProps[];
|
|
13
|
+
theme?: PageSectionTheme;
|
|
14
|
+
title?: string;
|
|
15
|
+
today?: Date;
|
|
16
|
+
}
|
|
17
|
+
export declare function NewsListingSection({ items, theme, title, today, }: NewsListingSectionProps): import("react/jsx-runtime").JSX.Element | null;
|