@sonic-equipment/ui 1.1.8 → 2.0.1
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 +25 -11
- package/dist/buttons/button/button.js +41 -17
- package/dist/buttons/icon-button/icon-button.d.ts +8 -1
- package/dist/buttons/icon-button/icon-button.js +4 -5
- 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 +65 -20
- 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 +76 -32
- 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 +135 -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 +367 -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 -63
- 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.js +3 -2
- 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 +0 -3
- package/dist/pages/my-sonic/pages/order-details/order-details-page.js +17 -28
- 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 +10823 -3361
- 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/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
package/dist/exports.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './algolia/algolia-query-string-routing';
|
|
|
18
18
|
export * from './algolia/algolia-results-count';
|
|
19
19
|
export * from './algolia/algolia-search-provider';
|
|
20
20
|
export * from './algolia/algolia-searchclient-offline';
|
|
21
|
+
export * from './algolia/algolia-searchclient-reserved-slots';
|
|
21
22
|
export * from './algolia/algolia-sonic-searchclient';
|
|
22
23
|
export * from './algolia/algolia-sort-by';
|
|
23
24
|
export * from './algolia/filter-section';
|
|
@@ -64,6 +65,7 @@ export * from './carousel/usp-carousel/product-usp-carousel-slide';
|
|
|
64
65
|
export * from './carousel/usp-carousel/usp-carousel';
|
|
65
66
|
export * from './cart-totals/cart-totals';
|
|
66
67
|
export * from './cart-totals/cart-totals-summary';
|
|
68
|
+
export * from './client-case-banner/client-case-banner';
|
|
67
69
|
export * from './collapsables/accordion/accordion';
|
|
68
70
|
export * from './collapsables/accordion/accordion-item';
|
|
69
71
|
export * from './collapsables/cascading-component/cascading-component';
|
|
@@ -74,6 +76,7 @@ export * from './collapsables/cascading-component/types';
|
|
|
74
76
|
export * from './collapsables/cascading-component/use-cascading-component';
|
|
75
77
|
export * from './collapsables/cascading-component/use-cascading-component-container';
|
|
76
78
|
export * from './collapsables/cascading-component/use-has-cascading-component-container';
|
|
79
|
+
export * from './collapsables/collapsable/collapsable';
|
|
77
80
|
export * from './collapsables/show-all/show-all';
|
|
78
81
|
export * from './collapsables/unmounter/unmounter';
|
|
79
82
|
export * from './collapsables/unmounter/utils';
|
|
@@ -168,13 +171,13 @@ export * from './flags/flag-us';
|
|
|
168
171
|
export * from './flags/flag-vn';
|
|
169
172
|
export * from './flags/flag-xk';
|
|
170
173
|
export * from './flags/flag-za';
|
|
171
|
-
export * from './footer/connected-footer';
|
|
172
174
|
export * from './footer/footer';
|
|
173
175
|
export * from './forms/elements/checkbox/checkbox';
|
|
174
176
|
export * from './forms/elements/color-checkbox/color-checkbox';
|
|
175
177
|
export * from './forms/elements/field-error/field-error';
|
|
176
178
|
export * from './forms/elements/input/input';
|
|
177
179
|
export * from './forms/elements/label/label';
|
|
180
|
+
export * from './forms/elements/range-slider/range-slider';
|
|
178
181
|
export * from './forms/elements/select/select';
|
|
179
182
|
export * from './forms/elements/switch/switch';
|
|
180
183
|
export * from './forms/elements/textarea/textarea';
|
|
@@ -221,7 +224,6 @@ export * from './header/buttons/cart/connected-cart-button';
|
|
|
221
224
|
export * from './header/buttons/favorites/connected-favorites-button';
|
|
222
225
|
export * from './header/buttons/hamburger/hamburger-button';
|
|
223
226
|
export * from './header/buttons/search/search-button';
|
|
224
|
-
export * from './header/connected-header';
|
|
225
227
|
export * from './header/drawers/desktop-navigation-drawer';
|
|
226
228
|
export * from './header/drawers/mobile-navigation-drawer';
|
|
227
229
|
export * from './header/drawers/search-drawer';
|
|
@@ -229,7 +231,9 @@ export * from './header/header';
|
|
|
229
231
|
export * from './header/header-layout/header-layout';
|
|
230
232
|
export * from './header/link-list/navigation-link-list';
|
|
231
233
|
export * from './header/sonic-logo/sonic-logo';
|
|
234
|
+
export * from './hubspot-form/hubspot-form';
|
|
232
235
|
export * from './icon/icon';
|
|
236
|
+
export * from './image-banner/image-banner';
|
|
233
237
|
export * from './info-icon-tooltip/info-icon-tooltip';
|
|
234
238
|
export * from './intl/formatted-date';
|
|
235
239
|
export * from './intl/formatted-message';
|
|
@@ -267,9 +271,23 @@ export * from './loading/loading-overlay';
|
|
|
267
271
|
export * from './loading/progress-circle';
|
|
268
272
|
export * from './logging/logger';
|
|
269
273
|
export * from './logging/use-log-error';
|
|
274
|
+
export * from './media/image-cdn/image-cdn-profile';
|
|
275
|
+
export * from './media/image-cdn/image-cdn-provider';
|
|
276
|
+
export * from './media/image-cdn/storyblok-profile';
|
|
270
277
|
export * from './media/image-grid/images-grid';
|
|
271
278
|
export * from './media/image-lightbox/image-lightbox';
|
|
272
279
|
export * from './media/image/image';
|
|
280
|
+
export * from './media/media-controls/media-chapters-control/media-chapters-control';
|
|
281
|
+
export * from './media/media-controls/media-control/media-control';
|
|
282
|
+
export * from './media/media-controls/media-controls';
|
|
283
|
+
export * from './media/media-controls/media-popover/media-popover';
|
|
284
|
+
export * from './media/media-controls/media-progress-circle/media-progress-circle';
|
|
285
|
+
export * from './media/media-controls/media-seek-control/media-seek-control';
|
|
286
|
+
export * from './media/media-controls/media-subs-control/media-subs-control';
|
|
287
|
+
export * from './media/media-controls/media-volume-control/media-volume-control';
|
|
288
|
+
export * from './media/media-utils';
|
|
289
|
+
export * from './media/responsive-image/responsive-image';
|
|
290
|
+
export * from './media/responsive-video/responsive-video';
|
|
273
291
|
export * from './media/zoom-image/zoom-image';
|
|
274
292
|
export * from './message/message';
|
|
275
293
|
export * from './modals/confirmation/confirmation-dialog';
|
|
@@ -283,25 +301,21 @@ export * from './navigation/panel-navigation/panel-navigation';
|
|
|
283
301
|
export * from './navigation/quick-access-menu/quick-access-menu';
|
|
284
302
|
export * from './notifications/announcements/announcement';
|
|
285
303
|
export * from './notifications/announcements/announcement-list';
|
|
286
|
-
export * from './notifications/announcements/connected-announcement-list';
|
|
287
|
-
export * from './notifications/announcements/use-filter-announcements';
|
|
288
304
|
export * from './observers/intersection-observer';
|
|
305
|
+
export * from './page-layout/page-layout';
|
|
306
|
+
export * from './page-layout/types';
|
|
289
307
|
export * from './pages/account/change-password-page/change-password-page';
|
|
290
308
|
export * from './pages/account/components/change-password-form/change-password-form';
|
|
291
309
|
export * from './pages/account/components/create-account-form/create-account-form';
|
|
292
310
|
export * from './pages/account/components/sign-in-form/sign-in-form';
|
|
293
311
|
export * from './pages/account/create-account-page/create-account-page';
|
|
294
|
-
export * from './pages/account/layouts/sign-in-page-layout/sign-in-page-background-image';
|
|
295
|
-
export * from './pages/account/layouts/sign-in-page-layout/sign-in-page-layout';
|
|
296
312
|
export * from './pages/account/sign-in-page/sign-in-page';
|
|
297
313
|
export * from './pages/checkout/cart-page/cart-page';
|
|
298
|
-
export * from './pages/checkout/cart-page/components/empty-cart-page';
|
|
299
314
|
export * from './pages/checkout/components/billing-and-invoice-information';
|
|
300
|
-
export * from './pages/checkout/
|
|
301
|
-
export * from './pages/checkout/
|
|
302
|
-
export * from './pages/checkout/
|
|
303
|
-
export * from './pages/checkout/
|
|
304
|
-
export * from './pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-link';
|
|
315
|
+
export * from './pages/checkout/components/checkout-page-section';
|
|
316
|
+
export * from './pages/checkout/components/checkout-page-section-content';
|
|
317
|
+
export * from './pages/checkout/components/checkout-page-section-header';
|
|
318
|
+
export * from './pages/checkout/components/checkout-page-section-link';
|
|
305
319
|
export * from './pages/checkout/order-confirmation-page/order-confirmation-page';
|
|
306
320
|
export * from './pages/checkout/order-confirmation-page/order-confirmation-page-content';
|
|
307
321
|
export * from './pages/checkout/payment-page/components/adyen-payment';
|
|
@@ -344,13 +358,6 @@ export * from './pages/my-sonic/actions/edit-vat/edit-vat-dialog';
|
|
|
344
358
|
export * from './pages/my-sonic/actions/upload-order/upload-order';
|
|
345
359
|
export * from './pages/my-sonic/actions/upload-order/upload-order-form';
|
|
346
360
|
export * from './pages/my-sonic/actions/upload-order/upload-order-instructions';
|
|
347
|
-
export * from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout';
|
|
348
|
-
export * from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside';
|
|
349
|
-
export * from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb';
|
|
350
|
-
export * from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main';
|
|
351
|
-
export * from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page';
|
|
352
|
-
export * from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside';
|
|
353
|
-
export * from './pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title';
|
|
354
361
|
export * from './pages/my-sonic/navigation/connected-my-sonic-navigation';
|
|
355
362
|
export * from './pages/my-sonic/navigation/my-sonic-desktop-navigation';
|
|
356
363
|
export * from './pages/my-sonic/navigation/my-sonic-mobile-navigation';
|
|
@@ -371,7 +378,6 @@ export * from './pages/my-sonic/widgets/connected-customer-information-widget';
|
|
|
371
378
|
export * from './pages/my-sonic/widgets/connected-ship-to-address-widget';
|
|
372
379
|
export * from './pages/my-sonic/widgets/connected-user-account-widget';
|
|
373
380
|
export * from './pages/product/components/product-overview';
|
|
374
|
-
export * from './pages/product/layouts/product-details-page-layout/product-details-page-layout';
|
|
375
381
|
export * from './pages/product/product-details-page/components/product-details-images/product-detail-images';
|
|
376
382
|
export * from './pages/product/product-details-page/components/product-details-panel/product-details-panel';
|
|
377
383
|
export * from './pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section';
|
|
@@ -391,6 +397,43 @@ export * from './pages/product/search-result-page/search-results-page-category-c
|
|
|
391
397
|
export * from './promos/promo-banner/promo-banner';
|
|
392
398
|
export * from './promos/promo-banners/promo-banners';
|
|
393
399
|
export * from './promos/promo-card/promo-card';
|
|
400
|
+
export * from './responsive-banner/responsive-banner';
|
|
401
|
+
export * from './responsive-carousel/responsive-carousel';
|
|
402
|
+
export * from './rich-text/rich-text';
|
|
403
|
+
export * from './rte-asset/rte-asset';
|
|
404
|
+
export * from './rte-blockquote/rte-blockquote';
|
|
405
|
+
export * from './rte-details/rte-details';
|
|
406
|
+
export * from './rte-ordered-list/rte-ordered-list';
|
|
407
|
+
export * from './sections/about-section/about-section';
|
|
408
|
+
export * from './sections/about-section/media-contact';
|
|
409
|
+
export * from './sections/banner-section/banner-section';
|
|
410
|
+
export * from './sections/case-studies-listing-section/case-studies-listing-section';
|
|
411
|
+
export * from './sections/case-studies-listing-section/case-studies-listing-section.constants';
|
|
412
|
+
export * from './sections/client-cases-carousel-section/client-cases-carousel-section';
|
|
413
|
+
export * from './sections/downloadable-documents-section/downloadable-documents-section';
|
|
414
|
+
export * from './sections/event-info-section/event-info-section';
|
|
415
|
+
export * from './sections/faq-section/faq-section';
|
|
416
|
+
export * from './sections/hero-section/hero-section';
|
|
417
|
+
export * from './sections/hubspot-form-section/hubspot-form-section';
|
|
418
|
+
export * from './sections/image-banner-carousel-section/image-banner-carousel-section';
|
|
419
|
+
export * from './sections/image-banner-section/image-banner-section';
|
|
420
|
+
export * from './sections/image-hubspot-section/image-hubspot-form-section';
|
|
421
|
+
export * from './sections/image-section/image-section';
|
|
422
|
+
export * from './sections/image-text-section/image-text-block';
|
|
423
|
+
export * from './sections/image-text-section/image-text-section';
|
|
424
|
+
export * from './sections/legal-section/legal-section';
|
|
425
|
+
export * from './sections/multi-column-section/multi-column-section';
|
|
426
|
+
export * from './sections/news-list-section/news-listing-section';
|
|
427
|
+
export * from './sections/numbers-section/numbers-section';
|
|
428
|
+
export * from './sections/page-meta-section/page-meta-section';
|
|
429
|
+
export * from './sections/page-section/page-section';
|
|
430
|
+
export * from './sections/percentages-section/percentages-section';
|
|
431
|
+
export * from './sections/product-comparison-section/product-comparison-section';
|
|
432
|
+
export * from './sections/rich-text-section/rich-text-section';
|
|
433
|
+
export * from './sections/social-media-section/social-media-section';
|
|
434
|
+
export * from './sections/subheadline-section/subheadline-section';
|
|
435
|
+
export * from './sections/usp-section/usp-section';
|
|
436
|
+
export * from './sections/video-section/video-section';
|
|
394
437
|
export * from './shared/api/bff/hooks/cart/use-patch-cart';
|
|
395
438
|
export * from './shared/api/bff/hooks/cart/use-place-order';
|
|
396
439
|
export * from './shared/api/bff/hooks/cart/use-save-cart-for-later';
|
|
@@ -494,6 +537,7 @@ export * from './shared/hooks/use-cookiebot';
|
|
|
494
537
|
export * from './shared/hooks/use-css-link';
|
|
495
538
|
export * from './shared/hooks/use-debounced-callback';
|
|
496
539
|
export * from './shared/hooks/use-disclosure';
|
|
540
|
+
export * from './shared/hooks/use-drag-scroll';
|
|
497
541
|
export * from './shared/hooks/use-enable-mobile-zoom';
|
|
498
542
|
export * from './shared/hooks/use-global-disclosure';
|
|
499
543
|
export * from './shared/hooks/use-inert';
|
|
@@ -564,6 +608,7 @@ export * from './sidebar/sidebar-provider';
|
|
|
564
608
|
export * from './sidebar/toggle-sidebar-button';
|
|
565
609
|
export * from './sidebar/types';
|
|
566
610
|
export * from './sidebar/use-sidebar';
|
|
611
|
+
export * from './site-layout/site-layout';
|
|
567
612
|
export * from './table/data-table';
|
|
568
613
|
export * from './table/elements/col';
|
|
569
614
|
export * from './table/elements/switch-sort-direction';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface PaginationProps {
|
|
2
|
+
className?: string;
|
|
2
3
|
currentPage: number;
|
|
3
4
|
onChange: (pageNumber: number) => void;
|
|
4
5
|
totalPages: number;
|
|
5
6
|
}
|
|
6
|
-
export declare function Pagination({ currentPage, onChange, totalPages, }: PaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function Pagination({ className, currentPage, onChange, totalPages, }: PaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { clsx } from 'clsx';
|
|
3
4
|
import { IconButton } from '../../buttons/icon-button/icon-button.js';
|
|
4
5
|
import { NumberField } from '../../forms/fields/number-field/number-field.js';
|
|
5
6
|
import { FormattedMessage } from '../../intl/formatted-message.js';
|
|
6
7
|
import { useFormattedMessage } from '../../intl/use-formatted-message.js';
|
|
7
8
|
import styles from './pagination.module.css.js';
|
|
8
9
|
|
|
9
|
-
function Pagination({ currentPage, onChange, totalPages, }) {
|
|
10
|
+
function Pagination({ className, currentPage, onChange, totalPages, }) {
|
|
10
11
|
const t = useFormattedMessage();
|
|
11
|
-
return (jsxs("div", { className: styles.pagination, children: [jsx(IconButton, { className: styles['previous'], icon: "Backward", isDisabled: currentPage === 1, label: t('Previous'), onClick: () => onChange(currentPage - 1) }), jsxs("div", { className: styles['page-number-container'], children: [jsx(NumberField, { autoGrow: true, label: t('Current page'), maxValue: totalPages, minValue: 1, onChange: onChange, size: "md", value: currentPage }), jsx(FormattedMessage, { id: "of" }), jsx("div", { children: totalPages })] }), jsx(IconButton, { className: styles['next'], icon: "Forward", isDisabled: currentPage >= totalPages, label: t('Next'), onClick: () => onChange(currentPage + 1) })] }));
|
|
12
|
+
return (jsxs("div", { className: clsx(styles.pagination, className), children: [jsx(IconButton, { className: styles['previous'], icon: "Backward", isDisabled: currentPage === 1, label: t('Previous'), onClick: () => onChange(currentPage - 1) }), jsxs("div", { className: styles['page-number-container'], children: [jsx(NumberField, { autoGrow: true, label: t('Current page'), maxValue: totalPages, minValue: 1, onChange: onChange, size: "md", value: currentPage }), jsx(FormattedMessage, { id: "of" }), jsx("div", { children: totalPages })] }), jsx(IconButton, { className: styles['next'], icon: "Forward", isDisabled: currentPage >= totalPages, label: t('Next'), onClick: () => onChange(currentPage + 1) })] }));
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
export { Pagination };
|
package/dist/fonts.css
CHANGED
|
@@ -1,181 +1,180 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
* Pancetta
|
|
4
|
-
*
|
|
5
|
-
*********************************************************/
|
|
6
|
-
|
|
1
|
+
/* Pancetta Pro - regular */
|
|
7
2
|
@font-face {
|
|
8
3
|
font-display: swap;
|
|
9
4
|
font-family: 'Pancetta';
|
|
10
|
-
font-style: normal;
|
|
11
|
-
font-weight: 100;
|
|
12
5
|
src:
|
|
13
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
6
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100013/fonts/pancetta/pancettapro-regular-webfont.woff2')
|
|
14
7
|
format('woff2'),
|
|
15
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
8
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100005/fonts/pancetta/pancettapro-regular-webfont.woff')
|
|
16
9
|
format('woff');
|
|
17
10
|
}
|
|
18
11
|
|
|
12
|
+
/* Pancetta Pro - regular italic */
|
|
19
13
|
@font-face {
|
|
20
14
|
font-display: swap;
|
|
21
15
|
font-family: 'Pancetta';
|
|
22
16
|
font-style: italic;
|
|
23
|
-
font-weight: 100;
|
|
24
17
|
src:
|
|
25
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
18
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099973/fonts/pancetta/pancettapro-italic-webfont.woff2')
|
|
26
19
|
format('woff2'),
|
|
27
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
20
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099969/fonts/pancetta/pancettapro-italic-webfont.woff')
|
|
28
21
|
format('woff');
|
|
29
22
|
}
|
|
30
23
|
|
|
24
|
+
/* Pancetta Pro - bold */
|
|
31
25
|
@font-face {
|
|
32
26
|
font-display: swap;
|
|
33
27
|
font-family: 'Pancetta';
|
|
34
|
-
font-
|
|
35
|
-
font-weight: 200;
|
|
28
|
+
font-weight: bold;
|
|
36
29
|
src:
|
|
37
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
30
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099948/fonts/pancetta/pancettapro-bold-webfont.woff2')
|
|
38
31
|
format('woff2'),
|
|
39
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
32
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099932/fonts/pancetta/pancettapro-bold-webfont.woff')
|
|
40
33
|
format('woff');
|
|
41
34
|
}
|
|
42
35
|
|
|
36
|
+
/* Pancetta Pro - bold italic */
|
|
43
37
|
@font-face {
|
|
44
38
|
font-display: swap;
|
|
45
39
|
font-family: 'Pancetta';
|
|
46
40
|
font-style: italic;
|
|
47
|
-
font-weight:
|
|
41
|
+
font-weight: bold;
|
|
48
42
|
src:
|
|
49
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
43
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099952/fonts/pancetta/pancettapro-bolditalic-webfont.woff2')
|
|
50
44
|
format('woff2'),
|
|
51
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
45
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099936/fonts/pancetta/pancettapro-bolditalic-webfont.woff')
|
|
52
46
|
format('woff');
|
|
53
47
|
}
|
|
54
48
|
|
|
49
|
+
/* Pancetta Pro - thin */
|
|
55
50
|
@font-face {
|
|
56
51
|
font-display: swap;
|
|
57
52
|
font-family: 'Pancetta';
|
|
58
|
-
font-
|
|
59
|
-
font-weight: 300;
|
|
53
|
+
font-weight: 100;
|
|
60
54
|
src:
|
|
61
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
55
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100022/fonts/pancetta/pancettapro-thin-webfont.woff2')
|
|
62
56
|
format('woff2'),
|
|
63
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
57
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100018/fonts/pancetta/pancettapro-thin-webfont.woff')
|
|
64
58
|
format('woff');
|
|
65
59
|
}
|
|
66
60
|
|
|
61
|
+
/* Pancetta Pro - thin italic */
|
|
67
62
|
@font-face {
|
|
68
63
|
font-display: swap;
|
|
69
64
|
font-family: 'Pancetta';
|
|
70
65
|
font-style: italic;
|
|
71
|
-
font-weight:
|
|
66
|
+
font-weight: 100;
|
|
72
67
|
src:
|
|
73
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
68
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100030/fonts/pancetta/pancettapro-thinitalic-webfont.woff2')
|
|
74
69
|
format('woff2'),
|
|
75
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
70
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100042/fonts/pancetta/pancettapro-thinitalic-webfont.woff')
|
|
76
71
|
format('woff');
|
|
77
72
|
}
|
|
78
73
|
|
|
74
|
+
/* Pancetta Pro - extra light */
|
|
79
75
|
@font-face {
|
|
80
76
|
font-display: swap;
|
|
81
77
|
font-family: 'Pancetta';
|
|
82
|
-
font-
|
|
83
|
-
font-weight: normal;
|
|
78
|
+
font-weight: 200;
|
|
84
79
|
src:
|
|
85
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
80
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099957/fonts/pancetta/pancettapro-extralight-webfont.woff2')
|
|
86
81
|
format('woff2'),
|
|
87
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
82
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099944/fonts/pancetta/pancettapro-extralight-webfont.woff')
|
|
88
83
|
format('woff');
|
|
89
84
|
}
|
|
90
85
|
|
|
86
|
+
/* Pancetta Pro - extra light italic */
|
|
91
87
|
@font-face {
|
|
92
88
|
font-display: swap;
|
|
93
89
|
font-family: 'Pancetta';
|
|
94
90
|
font-style: italic;
|
|
95
|
-
font-weight:
|
|
91
|
+
font-weight: 200;
|
|
96
92
|
src:
|
|
97
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
93
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099964/fonts/pancetta/pancettapro-extralightitalic-webfont.woff2')
|
|
98
94
|
format('woff2'),
|
|
99
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
95
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099960/fonts/pancetta/pancettapro-extralightitalic-webfont.woff')
|
|
100
96
|
format('woff');
|
|
101
97
|
}
|
|
102
98
|
|
|
99
|
+
/* Pancetta Pro - light */
|
|
103
100
|
@font-face {
|
|
104
101
|
font-display: swap;
|
|
105
102
|
font-family: 'Pancetta';
|
|
106
|
-
font-
|
|
107
|
-
font-weight: 500;
|
|
103
|
+
font-weight: 300;
|
|
108
104
|
src:
|
|
109
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
105
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099985/fonts/pancetta/pancettapro-light-webfont.woff2')
|
|
110
106
|
format('woff2'),
|
|
111
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
107
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099977/fonts/pancetta/pancettapro-light-webfont.woff')
|
|
112
108
|
format('woff');
|
|
113
109
|
}
|
|
114
110
|
|
|
111
|
+
/* Pancetta Pro - light italic */
|
|
115
112
|
@font-face {
|
|
116
113
|
font-display: swap;
|
|
117
114
|
font-family: 'Pancetta';
|
|
118
115
|
font-style: italic;
|
|
119
|
-
font-weight:
|
|
116
|
+
font-weight: 300;
|
|
120
117
|
src:
|
|
121
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
118
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100009/fonts/pancetta/pancettapro-lightitalic-webfont.woff2')
|
|
122
119
|
format('woff2'),
|
|
123
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
120
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099989/fonts/pancetta/pancettapro-lightitalic-webfont.woff')
|
|
124
121
|
format('woff');
|
|
125
122
|
}
|
|
126
123
|
|
|
124
|
+
/* Pancetta Pro - medium */
|
|
127
125
|
@font-face {
|
|
128
126
|
font-display: swap;
|
|
129
127
|
font-family: 'Pancetta';
|
|
130
|
-
font-
|
|
131
|
-
font-weight: 600;
|
|
128
|
+
font-weight: 500;
|
|
132
129
|
src:
|
|
133
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
130
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099997/fonts/pancetta/pancettapro-medium-webfont.woff2')
|
|
134
131
|
format('woff2'),
|
|
135
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
132
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099981/fonts/pancetta/pancettapro-medium-webfont.woff')
|
|
136
133
|
format('woff');
|
|
137
134
|
}
|
|
138
135
|
|
|
136
|
+
/* Pancetta Pro - medium italic */
|
|
139
137
|
@font-face {
|
|
140
138
|
font-display: swap;
|
|
141
139
|
font-family: 'Pancetta';
|
|
142
140
|
font-style: italic;
|
|
143
|
-
font-weight:
|
|
141
|
+
font-weight: 500;
|
|
144
142
|
src:
|
|
145
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
143
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100001/fonts/pancetta/pancettapro-mediumitalic-webfont.woff2')
|
|
146
144
|
format('woff2'),
|
|
147
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
145
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099993/fonts/pancetta/pancettapro-mediumitalic-webfont.woff')
|
|
148
146
|
format('woff');
|
|
149
147
|
}
|
|
150
148
|
|
|
149
|
+
/* Pancetta Pro - semi bold */
|
|
151
150
|
@font-face {
|
|
152
151
|
font-display: swap;
|
|
153
152
|
font-family: 'Pancetta';
|
|
154
|
-
font-
|
|
155
|
-
font-weight: bold;
|
|
153
|
+
font-weight: 600;
|
|
156
154
|
src:
|
|
157
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
155
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100038/fonts/pancetta/pancettapro-semibold-webfont.woff2')
|
|
158
156
|
format('woff2'),
|
|
159
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
157
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100034/fonts/pancetta/pancettapro-semibold-webfont.woff')
|
|
160
158
|
format('woff');
|
|
161
159
|
}
|
|
162
160
|
|
|
161
|
+
/* Pancetta Pro - semi bold italic */
|
|
163
162
|
@font-face {
|
|
164
163
|
font-display: swap;
|
|
165
164
|
font-family: 'Pancetta';
|
|
166
165
|
font-style: italic;
|
|
167
|
-
font-weight:
|
|
166
|
+
font-weight: 600;
|
|
168
167
|
src:
|
|
169
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
168
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100026/fonts/pancetta/pancettapro-semibolditalic-webfont.woff2')
|
|
170
169
|
format('woff2'),
|
|
171
|
-
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/
|
|
170
|
+
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100047/fonts/pancetta/pancettapro-semibolditalic-webfont.woff')
|
|
172
171
|
format('woff');
|
|
173
172
|
}
|
|
174
173
|
|
|
174
|
+
/* Pancetta Pro - black */
|
|
175
175
|
@font-face {
|
|
176
176
|
font-display: swap;
|
|
177
177
|
font-family: 'Pancetta';
|
|
178
|
-
font-style: normal;
|
|
179
178
|
font-weight: 900;
|
|
180
179
|
src:
|
|
181
180
|
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099929/fonts/pancetta/pancettapro-black-webfont.woff2')
|
|
@@ -184,6 +183,7 @@
|
|
|
184
183
|
format('woff');
|
|
185
184
|
}
|
|
186
185
|
|
|
186
|
+
/* Pancetta Pro - black italic */
|
|
187
187
|
@font-face {
|
|
188
188
|
font-display: swap;
|
|
189
189
|
font-family: 'Pancetta';
|
|
@@ -195,3 +195,5 @@
|
|
|
195
195
|
url('https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099924/fonts/pancetta/pancettapro-blackitalic-webfont.woff')
|
|
196
196
|
format('woff');
|
|
197
197
|
}
|
|
198
|
+
|
|
199
|
+
/* https://github.com/capptions/font-roboto/blob/master/fonts/Roboto-RegularItalic.woff2 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const countrySelector: import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const copyright: import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const footerNavigationSection: import("../../shared/api/bff/model/bff.model").NavigationSection | undefined;
|
package/dist/footer/footer.js
CHANGED
|
@@ -4,6 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { Link } from '../buttons/link/link.js';
|
|
5
5
|
import { Accordion } from '../collapsables/accordion/accordion.js';
|
|
6
6
|
import { AccordionItem } from '../collapsables/accordion/accordion-item.js';
|
|
7
|
+
import { PageSection } from '../sections/page-section/page-section.js';
|
|
7
8
|
import { isNavigationSection, isNavigationLinkItem, isNavigationLink } from '../shared/api/bff/model/bff.model.js';
|
|
8
9
|
import styles from './footer.module.css.js';
|
|
9
10
|
|
|
@@ -11,7 +12,7 @@ function BottomSection({ copyright, countrySelector, footerBottomSection, }) {
|
|
|
11
12
|
if (!footerBottomSection)
|
|
12
13
|
return null;
|
|
13
14
|
const links = footerBottomSection.items.filter(isNavigationLink);
|
|
14
|
-
return (jsxs("section",
|
|
15
|
+
return (jsxs(PageSection, { as: "section", className: styles['bottom-section'], layout: "wide", children: [copyright && jsx("p", { className: styles.copyright, children: copyright }), footerBottomSection.items.length > 0 && (jsx("ul", { className: styles['links'], children: links.map(link => (jsx("li", { children: jsx(Link, { className: styles['bottom-link'], href: link.href || undefined, target: link.openInNewTab ? '_blank' : undefined, children: link.label }) }, link.key))) })), countrySelector && (jsx("div", { className: styles['country-selector'], children: countrySelector }))] }));
|
|
15
16
|
}
|
|
16
17
|
function LinkSection({ linkGroup }) {
|
|
17
18
|
return (jsxs("section", { className: styles['link-block'], children: [jsx(Accordion, { className: styles['accordion-small'], color: "white", hasLineSeparator: false, size: "lg", children: jsx(AccordionItem, { allowCollapse: true, id: `link-block-${linkGroup.key}`, initialIsOpen: false, title: linkGroup.header || linkGroup.label, children: jsx("ul", { className: styles['list'], children: linkGroup.items.filter(isNavigationLink).map(link => (jsx("li", { children: jsx(FooterLink, { link: link }) }, link.key))) }) }) }), jsx(Accordion, { className: styles['accordion-large'], color: "white", hasLineSeparator: false, size: "lg", children: jsx(AccordionItem, { allowCollapse: false, id: `link-block-${linkGroup.key}`, initialIsOpen: true, title: linkGroup.header || linkGroup.label, children: jsx("ul", { className: styles['list'], children: linkGroup.items.filter(isNavigationLink).map(link => (jsx("li", { children: jsx(FooterLink, { link: link }) }, link.key))) }) }) })] }, linkGroup.key));
|
|
@@ -22,7 +23,7 @@ function FooterLink({ link }) {
|
|
|
22
23
|
function FooterLinkBlock({ footerLinkBlockSection }) {
|
|
23
24
|
if (!footerLinkBlockSection)
|
|
24
25
|
return null;
|
|
25
|
-
return (jsx("nav",
|
|
26
|
+
return (jsx(PageSection, { as: "nav", className: styles['main-links'], layout: "canvas", children: footerLinkBlockSection.items
|
|
26
27
|
.filter(isNavigationLinkItem)
|
|
27
28
|
.map(linkItem => isNavigationLink(linkItem) ? (jsx(FooterLink, { link: linkItem }, linkItem.key)) : (jsx(LinkSection, { linkGroup: linkItem }, linkItem.key))) }));
|
|
28
29
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var styles = {"footer":"footer-module-YzJ68","main-links":"footer-module-rFBXC","link-block":"footer-module-P5FXP","list":"footer-module-FM4hU","accordion-small":"footer-module-FfTbn","accordion-large":"footer-module-1wP8R","bottom-section":"footer-module-TZq-4","copyright":"footer-module-qlHSS","
|
|
1
|
+
var styles = {"footer":"footer-module-YzJ68","main-links":"footer-module-rFBXC","link-block":"footer-module-P5FXP","list":"footer-module-FM4hU","accordion-small":"footer-module-FfTbn","accordion-large":"footer-module-1wP8R","bottom-section":"footer-module-TZq-4","copyright":"footer-module-qlHSS","links":"footer-module-YgRoZ","country-selector":"footer-module-rc0bC"};
|
|
2
2
|
|
|
3
3
|
export { styles as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { useState } from 'react';
|
|
4
4
|
import { useContextProps, InputContext, Input as Input$1 } from 'react-aria-components';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import styles from './input.module.css.js';
|
|
@@ -9,15 +9,13 @@ import styles from './input.module.css.js';
|
|
|
9
9
|
* This component is used to create an input that grows as the user types.
|
|
10
10
|
* It uses a shadow input to calculate the width of the input.
|
|
11
11
|
*/
|
|
12
|
-
const Input =
|
|
12
|
+
const Input = ({ _pseudo = 'none', autoComplete, autoGrow, className, inlineElement, label, ref: inputRef, size = 'lg', variant = 'solid', ...inputProps }) => {
|
|
13
13
|
const [props, ref] = useContextProps(inputProps, inputRef, InputContext);
|
|
14
14
|
const { defaultValue, onChange, value: controlledValue } = props;
|
|
15
15
|
const [uncontrolledValue, setUncontrolledValue] = useState(defaultValue);
|
|
16
16
|
const isControlled = controlledValue !== undefined;
|
|
17
17
|
const value = isControlled ? controlledValue : uncontrolledValue;
|
|
18
|
-
const handleChange = (event) => isControlled
|
|
19
|
-
? onChange?.(event)
|
|
20
|
-
: setUncontrolledValue(event.target.value);
|
|
18
|
+
const handleChange = (event) => isControlled ? onChange?.(event) : setUncontrolledValue(event.target.value);
|
|
21
19
|
return (jsx("div", { className: clsx(className, styles['input-container'], styles[size], styles[_pseudo], styles[variant]), children: jsxs("div", { className: clsx(styles.input, {
|
|
22
20
|
[styles['growing-input']]: autoGrow,
|
|
23
21
|
}), children: [jsx(Input$1, { ...props, ref: ref, "aria-label": label, "auto-complete": autoComplete, onChange: handleChange, onClick: e => {
|
|
@@ -25,7 +23,7 @@ const Input = forwardRef(({ _pseudo = 'none', autoComplete, autoGrow, className,
|
|
|
25
23
|
e.stopPropagation();
|
|
26
24
|
e.target.focus();
|
|
27
25
|
}, size: autoGrow ? 1 : undefined }), inlineElement && (jsx("div", { className: styles['inline-element'], children: inlineElement })), autoGrow && jsx("span", { className: styles['shadow-input'], children: value })] }) }));
|
|
28
|
-
}
|
|
26
|
+
};
|
|
29
27
|
Input.displayName = 'Input';
|
|
30
28
|
|
|
31
29
|
export { Input };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface RangeSliderProps {
|
|
2
|
+
'aria-label'?: string;
|
|
3
|
+
className?: string;
|
|
4
|
+
'data-test-selector'?: string;
|
|
5
|
+
defaultValue?: number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
id?: string;
|
|
8
|
+
max?: number;
|
|
9
|
+
min?: number;
|
|
10
|
+
name?: string;
|
|
11
|
+
onChange?: (value: number) => void;
|
|
12
|
+
readOnly?: boolean;
|
|
13
|
+
showFill?: boolean;
|
|
14
|
+
step?: number;
|
|
15
|
+
title?: string;
|
|
16
|
+
value?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function RangeSlider({ 'aria-label': ariaLabel, className, 'data-test-selector': dataTestSelector, defaultValue, disabled, id, max, min, name, onChange, readOnly, showFill, step, title, value: _value, }: RangeSliderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useRef, useState, useEffect } from 'react';
|
|
4
|
+
import { clsx } from 'clsx';
|
|
5
|
+
import styles from './range-slider.module.css.js';
|
|
6
|
+
|
|
7
|
+
/* eslint-disable @eslint-react/hooks-extra/no-direct-set-state-in-use-effect */
|
|
8
|
+
/* eslint-disable no-warning-comments */
|
|
9
|
+
function RangeSlider({ 'aria-label': ariaLabel, className, 'data-test-selector': dataTestSelector, defaultValue = 0, disabled, id, max = 100, min = 0, name, onChange, readOnly, showFill, step, title, value: _value, }) {
|
|
10
|
+
const sliderRef = useRef(null);
|
|
11
|
+
const [value, setValue] = useState(defaultValue);
|
|
12
|
+
const handleChange = (event) => {
|
|
13
|
+
const newValue = Number.parseFloat(event.target.value);
|
|
14
|
+
setValue(newValue);
|
|
15
|
+
onChange?.(newValue);
|
|
16
|
+
};
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
if (!sliderRef.current)
|
|
19
|
+
return;
|
|
20
|
+
const fill = value / (max - min);
|
|
21
|
+
sliderRef.current.style.setProperty('--fill', String(fill));
|
|
22
|
+
}, [value, min, max]);
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
if (_value === undefined)
|
|
25
|
+
return;
|
|
26
|
+
setValue(_value);
|
|
27
|
+
}, [_value]);
|
|
28
|
+
return (jsx("div", { ref: sliderRef, className: clsx(styles['range-slider'], showFill && styles['show-fill'], className), children: jsx("input", { "aria-label": ariaLabel, className: styles['input'], "data-test-selector": dataTestSelector, disabled: disabled, id: id, max: max, min: min, name: name, onChange: handleChange, readOnly: readOnly, step: step, title: title, type: "range", value: value }) }));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { RangeSlider };
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface searchSectionProps {
|
|
2
|
+
noSearch: React.ReactNode;
|
|
3
|
+
}
|
|
4
|
+
export declare function SearchRoot({ searchSection, }: {
|
|
5
|
+
searchSection?: searchSectionProps;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
2
7
|
/**
|
|
3
8
|
* Global search using algolia autocomplete with a custom renderer
|
|
4
9
|
* https://www.algolia.com/doc/ui-libraries/autocomplete/guides/creating-a-renderer/
|