@sonic-equipment/ui 0.0.118 → 1.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/_virtual/_commonjsHelpers.js +5 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/address-info-display/address-info-display.d.ts +6 -0
- package/dist/address-info-display/address-info-display.js +10 -0
- package/dist/address-info-display/address-info-display.module.css.js +3 -0
- package/dist/algolia/algolia-active-categories.js +39 -0
- package/dist/algolia/algolia-active-filters.js +38 -0
- package/dist/algolia/algolia-categories-filters.js +27 -0
- package/dist/algolia/algolia-dummy-refinement-list-consumer.js +20 -0
- package/dist/algolia/algolia-filter-panel.js +39 -0
- package/dist/algolia/algolia-filter-panel.module.css.js +3 -0
- package/dist/algolia/algolia-hit-type.d.ts +2 -0
- package/dist/algolia/algolia-hit-type.js +6 -0
- package/dist/algolia/algolia-hits-provider.js +17 -0
- package/dist/algolia/algolia-index-config.d.ts +3 -1
- package/dist/algolia/algolia-index-config.js +77 -0
- package/dist/algolia/algolia-initialization.js +34 -0
- package/dist/algolia/algolia-insight-instant-search-provider.js +14 -0
- package/dist/algolia/algolia-insights-provider.js +25 -0
- package/dist/algolia/algolia-instant-search-state-provider.js +16 -0
- package/dist/algolia/algolia-multi-select-filter-section.js +27 -0
- package/dist/algolia/algolia-pagination.js +18 -0
- package/dist/algolia/algolia-provider.js +34 -0
- package/dist/algolia/algolia-query-string-routing.js +108 -0
- package/dist/algolia/algolia-results-count.js +22 -0
- package/dist/algolia/algolia-search-provider.js +176 -0
- package/dist/algolia/algolia-searchclient-offline.js +26 -0
- package/dist/algolia/algolia-sonic-searchclient.d.ts +2 -1
- package/dist/algolia/algolia-sonic-searchclient.js +26 -0
- package/dist/algolia/algolia-sort-by.js +29 -0
- package/dist/algolia/constants/index.d.ts +1 -0
- package/dist/algolia/constants/index.js +3 -0
- package/dist/algolia/filter-section.js +34 -0
- package/dist/algolia/filter-section.module.css.js +3 -0
- package/dist/algolia/use-algolia-hits.js +19 -0
- package/dist/algolia/use-algolia-insights-provider-global-state.js +9 -0
- package/dist/algolia/use-algolia-insights.d.ts +20 -6
- package/dist/algolia/use-algolia-insights.js +303 -0
- package/dist/algolia/use-algolia-instant-search-state.js +25 -0
- package/dist/algolia/use-algolia-search.d.ts +2 -1
- package/dist/algolia/use-algolia-search.js +41 -0
- package/dist/authentication/authenticated-container.d.ts +9 -0
- package/dist/authentication/authenticated-container.js +21 -0
- package/dist/background-overlay/background-overlay-manager.d.ts +178 -0
- package/dist/background-overlay/background-overlay-manager.js +297 -0
- package/dist/background-overlay/background-overlay.d.ts +12 -2
- package/dist/background-overlay/background-overlay.js +40 -0
- package/dist/badges/badge/badge.d.ts +5 -2
- package/dist/badges/badge/badge.js +18 -0
- package/dist/badges/badge/badge.module.css.js +3 -0
- package/dist/badges/badge/icon-with-badge/icon-with-badge.d.ts +11 -4
- package/dist/badges/badge/icon-with-badge/icon-with-badge.js +12 -0
- package/dist/badges/badge/icon-with-badge/icon-with-badge.module.css.js +3 -0
- package/dist/badges/tag/tag.js +11 -0
- package/dist/badges/tag/tag.module.css.js +3 -0
- package/dist/base.css +49 -0
- package/dist/breadcrumbs/breadcrumb.js +26 -0
- package/dist/breadcrumbs/breadcrumb.module.css.js +3 -0
- package/dist/buttons/add-to-cart-button/add-to-cart-button.d.ts +1 -3
- package/dist/buttons/add-to-cart-button/add-to-cart-button.js +118 -0
- package/dist/buttons/add-to-cart-button/add-to-cart-button.module.css.js +3 -0
- package/dist/buttons/add-to-cart-button/connected-add-to-cart-button.d.ts +1 -1
- package/dist/buttons/add-to-cart-button/connected-add-to-cart-button.js +126 -0
- package/dist/buttons/button/button.d.ts +14 -2
- package/dist/buttons/button/button.js +36 -0
- package/dist/buttons/button/button.module.css.js +3 -0
- package/dist/buttons/close-button/close-button.d.ts +12 -0
- package/dist/buttons/close-button/close-button.js +11 -0
- package/dist/buttons/close-button/close-button.module.css.js +3 -0
- package/dist/buttons/favorite/connected-favorite-button.d.ts +1 -1
- package/dist/buttons/favorite/connected-favorite-button.js +56 -0
- package/dist/buttons/favorite/favorite-button.d.ts +1 -1
- package/dist/buttons/favorite/favorite-button.js +15 -0
- package/dist/buttons/favorite/favorite-button.module.css.js +3 -0
- package/dist/buttons/icon-button/icon-button.d.ts +20 -6
- package/dist/buttons/icon-button/icon-button.js +24 -0
- package/dist/buttons/icon-button/icon-button.module.css.js +3 -0
- package/dist/buttons/link/link.d.ts +19 -5
- package/dist/buttons/link/link.js +18 -0
- package/dist/buttons/link/link.module.css.js +3 -0
- package/dist/buttons/print-button/print-button.d.ts +2 -1
- package/dist/buttons/print-button/print-button.js +10 -0
- package/dist/buttons/reorder-button/connected-reorder-button.d.ts +4 -0
- package/dist/buttons/reorder-button/connected-reorder-button.js +38 -0
- package/dist/buttons/reorder-button/reorder-button.d.ts +9 -0
- package/dist/buttons/reorder-button/reorder-button.js +12 -0
- package/dist/cards/category-card/category-card.d.ts +3 -2
- package/dist/cards/category-card/category-card.js +14 -0
- package/dist/cards/category-card/category-card.module.css.js +3 -0
- package/dist/cards/data-card/data-card.d.ts +39 -0
- package/dist/cards/data-card/data-card.js +68 -0
- package/dist/cards/data-card/data-card.module.css.js +3 -0
- package/dist/cards/orderline-card/connected-orderline-card.d.ts +2 -2
- package/dist/cards/orderline-card/connected-orderline-card.js +13 -0
- package/dist/cards/orderline-card/connected-remove-button.d.ts +2 -2
- package/dist/cards/orderline-card/connected-remove-button.js +18 -0
- package/dist/cards/orderline-card/orderline-card.d.ts +5 -5
- package/dist/cards/orderline-card/orderline-card.js +22 -0
- package/dist/cards/orderline-card/orderline-card.module.css.js +3 -0
- package/dist/cards/product-card/connected-product-card.d.ts +6 -2
- package/dist/cards/product-card/connected-product-card.js +11 -0
- package/dist/cards/product-card/product-card.d.ts +4 -2
- package/dist/cards/product-card/product-card.js +22 -0
- package/dist/cards/product-card/product-card.module.css.js +3 -0
- package/dist/cards/table-card/table-card.d.ts +15 -0
- package/dist/cards/table-card/table-card.js +15 -0
- package/dist/cards/table-card/table-card.module.css.js +3 -0
- package/dist/carousel/card-carousel/card-carousel.js +24 -0
- package/dist/carousel/card-carousel/card-carousel.module.css.js +3 -0
- package/dist/carousel/carousel-navigation-button.js +12 -0
- package/dist/carousel/carousel-navigation-button.module.css.js +3 -0
- package/dist/carousel/carousel.js +69 -0
- package/dist/carousel/carousel.module.css.js +3 -0
- package/dist/carousel/category-carousel/category-carousel.js +10 -0
- package/dist/carousel/category-carousel/category-carousel.module.css.js +3 -0
- package/dist/carousel/pagination/pagination.d.ts +1 -1
- package/dist/carousel/pagination/pagination.js +36 -0
- package/dist/carousel/pagination/pagination.module.css.js +3 -0
- package/dist/carousel/pagination/transitions.js +144 -0
- package/dist/carousel/usp-carousel/product-usp-carousel-slide.js +13 -0
- package/dist/carousel/usp-carousel/product-usp-carousel.js +10 -0
- package/dist/carousel/usp-carousel/usp-carousel.js +49 -0
- package/dist/carousel/usp-carousel/usp-carousel.module.css.js +3 -0
- package/dist/cart-totals/cart-totals-summary.d.ts +7 -0
- package/dist/cart-totals/cart-totals-summary.js +13 -0
- package/dist/cart-totals/cart-totals-summary.module.css.js +3 -0
- package/dist/cart-totals/cart-totals.d.ts +11 -8
- package/dist/cart-totals/cart-totals.js +15 -0
- package/dist/cart-totals/cart-totals.module.css.js +3 -0
- package/dist/collapsables/accordion/accordion-item.d.ts +4 -1
- package/dist/collapsables/accordion/accordion-item.js +36 -0
- package/dist/collapsables/accordion/accordion.d.ts +11 -2
- package/dist/collapsables/accordion/accordion.js +35 -0
- package/dist/collapsables/accordion/accordion.module.css.js +3 -0
- package/dist/collapsables/cascading-component/cascading-component-container-context.d.ts +2 -0
- package/dist/collapsables/cascading-component/cascading-component-container-context.js +6 -0
- package/dist/collapsables/cascading-component/cascading-component-container-provider.d.ts +7 -0
- package/dist/collapsables/cascading-component/cascading-component-container-provider.js +29 -0
- package/dist/collapsables/cascading-component/cascading-component-container.d.ts +8 -0
- package/dist/collapsables/cascading-component/cascading-component-container.js +9 -0
- package/dist/collapsables/cascading-component/cascading-component.d.ts +17 -0
- package/dist/collapsables/cascading-component/cascading-component.js +45 -0
- package/dist/collapsables/cascading-component/types.d.ts +11 -0
- package/dist/collapsables/cascading-component/use-cascading-component-container.d.ts +2 -0
- package/dist/collapsables/cascading-component/use-cascading-component-container.js +9 -0
- package/dist/collapsables/cascading-component/use-cascading-component.d.ts +2 -0
- package/dist/collapsables/cascading-component/use-cascading-component.js +15 -0
- package/dist/collapsables/cascading-component/use-has-cascading-component-container.d.ts +1 -0
- package/dist/collapsables/cascading-component/use-has-cascading-component-container.js +8 -0
- package/dist/collapsables/show-all/show-all.js +35 -0
- package/dist/collapsables/show-all/show-all.module.css.js +3 -0
- package/dist/collapsables/unmounter/unmounter.d.ts +14 -0
- package/dist/collapsables/unmounter/unmounter.js +44 -0
- package/dist/collapsables/unmounter/utils.d.ts +2 -0
- package/dist/collapsables/unmounter/utils.js +21 -0
- package/dist/config.d.ts +4 -2
- package/dist/config.js +116 -0
- package/dist/cookies/client-cookie-context.d.ts +3 -0
- package/dist/cookies/client-cookie-context.js +30 -0
- package/dist/cookies/cookie-context.d.ts +2 -0
- package/dist/cookies/cookie-context.js +6 -0
- package/dist/cookies/cookie-provider.d.ts +6 -0
- package/dist/cookies/cookie-provider.js +10 -0
- package/dist/cookies/readonly-cookie-reader.d.ts +2 -0
- package/dist/cookies/readonly-cookie-reader.js +18 -0
- package/dist/cookies/types.d.ts +14 -0
- package/dist/cookies/types.js +7 -0
- package/dist/{shared/hooks → cookies}/use-cookie.d.ts +1 -1
- package/dist/cookies/use-cookie.js +33 -0
- package/dist/country-language-selection-list/connected-country-language-selection-list.d.ts +1 -0
- package/dist/country-language-selection-list/connected-country-language-selection-list.js +267 -0
- package/dist/country-language-selection-list/country-language-selection-list.d.ts +18 -0
- package/dist/country-language-selection-list/country-language-selection-list.js +54 -0
- package/dist/country-language-selection-list/country-language-selection-list.module.css.js +3 -0
- package/dist/country-language-selector/connected-country-language-selector.d.ts +11 -0
- package/dist/country-language-selector/connected-country-language-selector.js +155 -0
- package/dist/country-language-selector/country-language-selector.d.ts +18 -0
- package/dist/country-language-selector/country-language-selector.js +52 -0
- package/dist/country-language-selector/country-language-selector.module.css.js +3 -0
- package/dist/country-language-selector-button/connected-country-language-selector-button.d.ts +1 -0
- package/dist/country-language-selector-button/connected-country-language-selector-button.js +22 -0
- package/dist/country-language-selector-button/country-language-selector-button.d.ts +7 -0
- package/dist/country-language-selector-button/country-language-selector-button.js +18 -0
- package/dist/country-language-selector-button/country-language-selector-button.module.css.js +3 -0
- package/dist/country-select/country-select.d.ts +29 -0
- package/dist/country-select/country-select.js +29 -0
- package/dist/country-select/hooks/use-countries.d.ts +12 -0
- package/dist/country-select/hooks/use-countries.js +55 -0
- package/dist/country-selector/connected-country-selector.d.ts +8 -8
- package/dist/country-selector/connected-country-selector.js +58 -0
- package/dist/country-selector/country-selector-dialog/country-selector-dialog.d.ts +2 -2
- package/dist/country-selector/country-selector-dialog/country-selector-dialog.js +34 -0
- package/dist/country-selector/country-selector-dialog/country-selector-dialog.module.css.js +3 -0
- package/dist/country-selector/country-selector-trigger/country-selector-trigger.d.ts +2 -3
- package/dist/country-selector/country-selector-trigger/country-selector-trigger.js +24 -0
- package/dist/country-selector/country-selector-trigger/country-selector-trigger.module.css.js +3 -0
- package/dist/country-selector/use-countries-languages.d.ts +23 -6
- package/dist/country-selector/use-countries-languages.js +95 -0
- package/dist/delivery-time/delivery-time.d.ts +2 -2
- package/dist/delivery-time/delivery-time.js +32 -0
- package/dist/delivery-time/delivery-time.module.css.js +3 -0
- package/dist/display/details/details.d.ts +7 -0
- package/dist/display/details/details.js +11 -0
- package/dist/display/details/details.module.css.js +3 -0
- package/dist/display/info-display/info-display.d.ts +7 -0
- package/dist/display/info-display/info-display.js +9 -0
- package/dist/display/info-display/info-display.module.css.js +3 -0
- package/dist/display/price/price.d.ts +18 -0
- package/dist/display/price/price.js +41 -0
- package/dist/display/price/price.module.css.js +3 -0
- package/dist/display/product-sku/product-sku.d.ts +2 -1
- package/dist/display/product-sku/product-sku.js +10 -0
- package/dist/display/product-sku/product-sku.module.css.js +3 -0
- package/dist/drawer/drawer.d.ts +28 -0
- package/dist/drawer/drawer.js +49 -0
- package/dist/drawer/drawer.module.css.js +3 -0
- package/dist/drawer/use-drawer.d.ts +17 -0
- package/dist/drawer/use-drawer.js +67 -0
- package/dist/exports.d.ts +589 -0
- package/dist/filters/active-filters/active-filters.d.ts +1 -1
- package/dist/filters/active-filters/active-filters.js +19 -0
- package/dist/filters/active-filters/active-filters.module.css.js +3 -0
- package/dist/filters/multi-select/multi-select.js +21 -0
- package/dist/filters/multi-select/multi-select.module.css.js +3 -0
- package/dist/filters/pagination/pagination.js +14 -0
- package/dist/filters/pagination/pagination.module.css.js +3 -0
- package/dist/flag/flag.d.ts +8 -0
- package/dist/flag/flag.js +11 -0
- package/dist/flag/flag.module.css.js +3 -0
- package/dist/flags/flag-ad.d.ts +1 -0
- package/dist/flags/flag-ad.js +7 -0
- package/dist/flags/flag-ae.d.ts +1 -0
- package/dist/flags/flag-ae.js +7 -0
- package/dist/flags/flag-al.d.ts +1 -0
- package/dist/flags/flag-al.js +7 -0
- package/dist/flags/flag-at.d.ts +1 -0
- package/dist/flags/flag-at.js +7 -0
- package/dist/flags/flag-ba.d.ts +1 -0
- package/dist/flags/flag-ba.js +7 -0
- package/dist/flags/flag-be.d.ts +1 -0
- package/dist/flags/flag-be.js +7 -0
- package/dist/flags/flag-bg.d.ts +1 -0
- package/dist/flags/flag-bg.js +7 -0
- package/dist/flags/flag-br.d.ts +1 -0
- package/dist/flags/flag-br.js +7 -0
- package/dist/flags/flag-ca.d.ts +1 -0
- package/dist/flags/flag-ca.js +7 -0
- package/dist/flags/flag-ch.d.ts +1 -0
- package/dist/flags/flag-ch.js +7 -0
- package/dist/flags/flag-cy.d.ts +1 -0
- package/dist/flags/flag-cy.js +7 -0
- package/dist/flags/flag-cz.d.ts +1 -0
- package/dist/flags/flag-cz.js +7 -0
- package/dist/flags/flag-de.d.ts +1 -0
- package/dist/flags/flag-de.js +7 -0
- package/dist/flags/flag-dj.d.ts +1 -0
- package/dist/flags/flag-dj.js +7 -0
- package/dist/flags/flag-dk.d.ts +1 -0
- package/dist/flags/flag-dk.js +7 -0
- package/dist/flags/flag-ec.d.ts +1 -0
- package/dist/flags/flag-ec.js +7 -0
- package/dist/flags/flag-ee.d.ts +1 -0
- package/dist/flags/flag-ee.js +7 -0
- package/dist/flags/flag-es.d.ts +1 -0
- package/dist/flags/flag-es.js +7 -0
- package/dist/flags/flag-eu.d.ts +1 -0
- package/dist/flags/flag-eu.js +7 -0
- package/dist/flags/flag-fi.d.ts +1 -0
- package/dist/flags/flag-fi.js +7 -0
- package/dist/flags/flag-fr.d.ts +1 -0
- package/dist/flags/flag-fr.js +7 -0
- package/dist/flags/flag-gb.d.ts +1 -0
- package/dist/flags/flag-gb.js +7 -0
- package/dist/flags/flag-gr.d.ts +1 -0
- package/dist/flags/flag-gr.js +7 -0
- package/dist/flags/flag-hr.d.ts +1 -0
- package/dist/flags/flag-hr.js +7 -0
- package/dist/flags/flag-hu.d.ts +1 -0
- package/dist/flags/flag-hu.js +7 -0
- package/dist/flags/flag-ie.d.ts +1 -0
- package/dist/flags/flag-ie.js +7 -0
- package/dist/flags/flag-iq.d.ts +1 -0
- package/dist/flags/flag-iq.js +7 -0
- package/dist/flags/flag-is.d.ts +1 -0
- package/dist/flags/flag-is.js +7 -0
- package/dist/flags/flag-it.d.ts +1 -0
- package/dist/flags/flag-it.js +7 -0
- package/dist/flags/flag-kw.d.ts +1 -0
- package/dist/flags/flag-kw.js +7 -0
- package/dist/flags/flag-kz.d.ts +1 -0
- package/dist/flags/flag-kz.js +7 -0
- package/dist/flags/flag-lb.d.ts +1 -0
- package/dist/flags/flag-lb.js +7 -0
- package/dist/flags/flag-lt.d.ts +1 -0
- package/dist/flags/flag-lt.js +7 -0
- package/dist/flags/flag-lu.d.ts +1 -0
- package/dist/flags/flag-lu.js +7 -0
- package/dist/flags/flag-lv.d.ts +1 -0
- package/dist/flags/flag-lv.js +7 -0
- package/dist/flags/flag-ma.d.ts +1 -0
- package/dist/flags/flag-ma.js +7 -0
- package/dist/flags/flag-mc.d.ts +1 -0
- package/dist/flags/flag-mc.js +7 -0
- package/dist/flags/flag-md.d.ts +1 -0
- package/dist/flags/flag-md.js +7 -0
- package/dist/flags/flag-me.d.ts +1 -0
- package/dist/flags/flag-me.js +7 -0
- package/dist/flags/flag-mk.d.ts +1 -0
- package/dist/flags/flag-mk.js +7 -0
- package/dist/flags/flag-mt.d.ts +1 -0
- package/dist/flags/flag-mt.js +7 -0
- package/dist/flags/flag-mx.d.ts +1 -0
- package/dist/flags/flag-mx.js +7 -0
- package/dist/flags/flag-my.d.ts +1 -0
- package/dist/flags/flag-my.js +7 -0
- package/dist/flags/flag-nl.d.ts +1 -0
- package/dist/flags/flag-nl.js +7 -0
- package/dist/flags/flag-no.d.ts +1 -0
- package/dist/flags/flag-no.js +7 -0
- package/dist/flags/flag-pl.d.ts +1 -0
- package/dist/flags/flag-pl.js +7 -0
- package/dist/flags/flag-pt.d.ts +1 -0
- package/dist/flags/flag-pt.js +7 -0
- package/dist/flags/flag-ro.d.ts +1 -0
- package/dist/flags/flag-ro.js +7 -0
- package/dist/flags/flag-rs.d.ts +1 -0
- package/dist/flags/flag-rs.js +7 -0
- package/dist/flags/flag-sa.d.ts +1 -0
- package/dist/flags/flag-sa.js +7 -0
- package/dist/flags/flag-se.d.ts +1 -0
- package/dist/flags/flag-se.js +7 -0
- package/dist/flags/flag-sg.d.ts +1 -0
- package/dist/flags/flag-sg.js +7 -0
- package/dist/flags/flag-si.d.ts +1 -0
- package/dist/flags/flag-si.js +7 -0
- package/dist/flags/flag-sk.d.ts +1 -0
- package/dist/flags/flag-sk.js +7 -0
- package/dist/flags/flag-tr.d.ts +1 -0
- package/dist/flags/flag-tr.js +7 -0
- package/dist/flags/flag-tw.d.ts +1 -0
- package/dist/flags/flag-tw.js +7 -0
- package/dist/flags/flag-ua.d.ts +1 -0
- package/dist/flags/flag-ua.js +7 -0
- package/dist/flags/flag-us.d.ts +1 -0
- package/dist/flags/flag-us.js +7 -0
- package/dist/flags/flag-vn.d.ts +1 -0
- package/dist/flags/flag-vn.js +7 -0
- package/dist/flags/flag-xk.d.ts +1 -0
- package/dist/flags/flag-xk.js +7 -0
- package/dist/flags/flag-za.d.ts +1 -0
- package/dist/flags/flag-za.js +7 -0
- package/dist/flags/index.d.ts +1 -0
- package/dist/flags/index.js +88 -0
- package/dist/footer/connected-footer.d.ts +3 -0
- package/dist/footer/connected-footer.js +21 -0
- package/dist/footer/footer.d.ts +9 -0
- package/dist/footer/footer.js +39 -0
- package/dist/footer/footer.model.d.ts +6 -0
- package/dist/footer/footer.module.css.js +3 -0
- package/dist/forms/elements/checkbox/checkbox.d.ts +23 -0
- package/dist/forms/elements/checkbox/checkbox.js +15 -0
- package/dist/forms/elements/checkbox/checkbox.module.css.js +3 -0
- package/dist/forms/elements/color-checkbox/color-checkbox.d.ts +7 -0
- package/dist/forms/elements/color-checkbox/color-checkbox.js +17 -0
- package/dist/forms/elements/field-error/field-error.d.ts +19 -0
- package/dist/forms/elements/field-error/field-error.js +27 -0
- package/dist/forms/elements/field-error/field-error.module.css.js +3 -0
- package/dist/forms/{input → elements/input}/input.d.ts +6 -0
- package/dist/forms/elements/input/input.js +31 -0
- package/dist/forms/elements/input/input.module.css.js +3 -0
- package/dist/forms/elements/label/label.d.ts +8 -0
- package/dist/forms/elements/label/label.js +13 -0
- package/dist/forms/elements/label/label.module.css.js +3 -0
- package/dist/forms/elements/select/select.d.ts +20 -0
- package/dist/forms/elements/select/select.js +37 -0
- package/dist/forms/elements/select/select.module.css.js +3 -0
- package/dist/forms/elements/switch/switch.d.ts +22 -0
- package/dist/forms/elements/switch/switch.js +15 -0
- package/dist/forms/elements/switch/switch.module.css.js +3 -0
- package/dist/forms/{textarea → elements/textarea}/textarea.d.ts +4 -0
- package/dist/forms/elements/textarea/textarea.js +55 -0
- package/dist/forms/elements/textarea/textarea.module.css.js +3 -0
- package/dist/forms/fields/checkbox-field/checkbox-field.d.ts +10 -0
- package/dist/forms/fields/checkbox-field/checkbox-field.js +16 -0
- package/dist/forms/fields/checkbox-field/checkbox-field.module.css.js +3 -0
- package/dist/forms/fields/number-field/number-field.d.ts +34 -0
- package/dist/forms/fields/number-field/number-field.js +55 -0
- package/dist/forms/fields/number-field/number-field.module.css.js +3 -0
- package/dist/forms/fields/password-field/password-field.d.ts +2 -0
- package/dist/forms/fields/password-field/password-field.js +16 -0
- package/dist/forms/fields/search-field/search-field.d.ts +5 -0
- package/dist/forms/fields/search-field/search-field.js +20 -0
- package/dist/forms/fields/select-field/select-field.d.ts +34 -0
- package/dist/forms/fields/select-field/select-field.js +51 -0
- package/dist/forms/fields/select-field/select-field.module.css.js +3 -0
- package/dist/forms/fields/switch-field/switch-field.d.ts +10 -0
- package/dist/forms/fields/switch-field/switch-field.js +18 -0
- package/dist/forms/fields/switch-field/switch-field.module.css.js +3 -0
- package/dist/forms/fields/text-field/password-reveal-toggle/password-reveal-toggle.d.ts +10 -0
- package/dist/forms/fields/text-field/password-reveal-toggle/password-reveal-toggle.js +18 -0
- package/dist/forms/fields/text-field/password-reveal-toggle/password-reveal-toggle.module.css.js +3 -0
- package/dist/forms/fields/text-field/text-field.d.ts +50 -0
- package/dist/forms/fields/text-field/text-field.js +26 -0
- package/dist/forms/fields/text-field/text-field.module.css.js +3 -0
- package/dist/forms/layout/form/form-field-layout.d.ts +10 -0
- package/dist/forms/layout/form/form-field-layout.js +10 -0
- package/dist/forms/layout/form/form-field-layout.module.css.js +3 -0
- package/dist/forms/layout/form/form-segment-group.d.ts +6 -0
- package/dist/forms/layout/form/form-segment-group.js +14 -0
- package/dist/forms/layout/form/form-segment-group.module.css.js +3 -0
- package/dist/forms/layout/form/form-segment.d.ts +6 -0
- package/dist/forms/layout/form/form-segment.js +10 -0
- package/dist/forms/layout/form/form-segment.module.css.js +3 -0
- package/dist/forms/layout/form/form.d.ts +20 -0
- package/dist/forms/layout/form/form.js +28 -0
- package/dist/forms/layout/form/form.module.css.js +3 -0
- package/dist/forms/partials/address-form/address-form.d.ts +11 -0
- package/dist/forms/partials/address-form/address-form.js +40 -0
- package/dist/forms/partials/address-form/address-form.module.css.js +3 -0
- package/dist/forms/partials/password-validation/password-validation.d.ts +4 -0
- package/dist/forms/partials/password-validation/password-validation.js +33 -0
- package/dist/global-search/categories-grid/categories-grid.js +14 -0
- package/dist/global-search/categories-grid/categories-grid.module.css.js +3 -0
- package/dist/global-search/global-search-provider/global-search-provider.d.ts +0 -6
- package/dist/global-search/global-search-provider/global-search-provider.js +9 -0
- package/dist/global-search/global-search-provider/use-search-disclosure.d.ts +1 -6
- package/dist/global-search/global-search-provider/use-search-disclosure.js +9 -0
- package/dist/global-search/global-search.d.ts +3 -1
- package/dist/global-search/global-search.js +44 -0
- package/dist/global-search/global-search.module.css.js +3 -0
- package/dist/global-search/plugins/categories-plugin.d.ts +1 -1
- package/dist/global-search/plugins/categories-plugin.js +37 -0
- package/dist/global-search/plugins/popular-categories-plugin.d.ts +1 -1
- package/dist/global-search/plugins/popular-categories-plugin.js +35 -0
- package/dist/global-search/plugins/popular-searches-plugin.d.ts +1 -1
- package/dist/global-search/plugins/popular-searches-plugin.js +24 -0
- package/dist/global-search/plugins/query-suggestions-plugin.d.ts +1 -1
- package/dist/global-search/plugins/query-suggestions-plugin.js +23 -0
- package/dist/global-search/plugins/quick-access-plugin.d.ts +1 -1
- package/dist/global-search/plugins/quick-access-plugin.js +35 -0
- package/dist/global-search/plugins/recent-searches-plugin.d.ts +1 -1
- package/dist/global-search/plugins/recent-searches-plugin.js +18 -0
- package/dist/global-search/search-highlight/highlight.d.ts +2 -1
- package/dist/global-search/search-highlight/highlight.js +15 -0
- package/dist/global-search/search-input/connected-search-input.js +22 -0
- package/dist/global-search/search-input/search-input.js +30 -0
- package/dist/global-search/search-input/search-input.module.css.js +3 -0
- package/dist/global-search/search-result-panel/panel-content.js +16 -0
- package/dist/global-search/search-result-panel/search-result-panel.js +17 -0
- package/dist/global-search/search-result-panel/search-result-panel.module.css.js +3 -0
- package/dist/global-search/search-result-panel/sections/no-search-results.d.ts +3 -1
- package/dist/global-search/search-result-panel/sections/no-search-results.js +32 -0
- package/dist/global-search/search-result-panel/sections/no-search.d.ts +5 -1
- package/dist/global-search/search-result-panel/sections/no-search.js +59 -0
- package/dist/global-search/search-result-panel/sections/search-content.module.css.js +3 -0
- package/dist/global-search/search-result-panel/sections/searching.d.ts +1 -0
- package/dist/global-search/search-result-panel/sections/searching.js +11 -0
- package/dist/global-search/search-result-panel/sections/section-container.js +9 -0
- package/dist/global-search/search-result-panel/sections/with-results.d.ts +3 -1
- package/dist/global-search/search-result-panel/sections/with-results.js +104 -0
- package/dist/global-search/search-section/search-list-item.d.ts +3 -2
- package/dist/global-search/search-section/search-list-item.js +14 -0
- package/dist/global-search/search-section/search-list-item.module.css.js +3 -0
- package/dist/global-search/search-section/search-list.js +10 -0
- package/dist/global-search/search-section/search-list.module.css.js +3 -0
- package/dist/global-search/search-section/search-section.js +10 -0
- package/dist/global-search/search-section/search-section.module.css.js +3 -0
- package/dist/global-search/types.d.ts +3 -1
- package/dist/header/buttons/account/connected-account-button.d.ts +5 -0
- package/dist/header/buttons/account/connected-account-button.js +30 -0
- package/dist/header/buttons/account/connected-account-button.module.css.js +3 -0
- package/dist/header/buttons/cart/connected-cart-button.d.ts +7 -0
- package/dist/header/buttons/cart/connected-cart-button.js +13 -0
- package/dist/header/buttons/favorites/connected-favorites-button.d.ts +7 -0
- package/dist/header/buttons/favorites/connected-favorites-button.js +11 -0
- package/dist/header/buttons/hamburger/hamburger-button.d.ts +7 -0
- package/dist/header/buttons/hamburger/hamburger-button.js +13 -0
- package/dist/header/buttons/hamburger/hamburger-button.module.css.js +3 -0
- package/dist/header/buttons/search/search-button.d.ts +7 -0
- package/dist/header/buttons/search/search-button.js +11 -0
- package/dist/header/connected-header.d.ts +3 -0
- package/dist/header/connected-header.js +21 -0
- package/dist/header/drawers/desktop-navigation-drawer.d.ts +8 -0
- package/dist/header/drawers/desktop-navigation-drawer.js +11 -0
- package/dist/header/drawers/desktop-navigation-drawer.module.css.js +3 -0
- package/dist/header/drawers/mobile-navigation-drawer.d.ts +7 -0
- package/dist/header/drawers/mobile-navigation-drawer.js +11 -0
- package/dist/header/drawers/mobile-navigation-drawer.module.css.js +3 -0
- package/dist/header/drawers/search-drawer.d.ts +5 -0
- package/dist/header/drawers/search-drawer.js +10 -0
- package/dist/header/header-layout/header-layout.d.ts +10 -0
- package/dist/header/header-layout/header-layout.js +10 -0
- package/dist/header/header-layout/header-layout.module.css.js +3 -0
- package/dist/header/header.d.ts +7 -0
- package/dist/header/header.js +76 -0
- package/dist/header/header.module.css.js +3 -0
- package/dist/header/link-list/navigation-link-list.d.ts +8 -0
- package/dist/header/link-list/navigation-link-list.js +31 -0
- package/dist/header/link-list/navigation-link-list.module.css.js +3 -0
- package/dist/header/sonic-logo/sonic-logo.d.ts +7 -0
- package/dist/header/sonic-logo/sonic-logo.js +18 -0
- package/dist/header/sonic-logo/sonic-logo.module.css.js +3 -0
- package/dist/icon/icon.d.ts +10 -0
- package/dist/icon/icon.js +11 -0
- package/dist/icon/icon.module.css.js +3 -0
- package/dist/icons/glyph/glyphs-arrow-boldcaps-left-icon.js +7 -0
- package/dist/icons/glyph/glyphs-arrow-boldcaps-right-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-bold-down-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-bold-left-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-bold-right-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-bold-up-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-slim-down-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-slim-left-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-slim-right-icon.js +7 -0
- package/dist/icons/glyph/glyphs-chevrons-slim-up-icon.js +7 -0
- package/dist/icons/index.d.ts +87 -0
- package/dist/icons/index.js +90 -0
- package/dist/icons/solid/solid-add-icon.d.ts +1 -0
- package/dist/icons/solid/solid-attention-icon.js +7 -0
- package/dist/icons/solid/solid-cart-icon.js +7 -0
- package/dist/icons/solid/solid-close-icon.js +7 -0
- package/dist/icons/solid/solid-dashboard-icon.d.ts +1 -0
- package/dist/icons/solid/solid-edit-icon.d.ts +1 -0
- package/dist/icons/solid/solid-edit-icon.js +7 -0
- package/dist/icons/solid/solid-facebook-icon.d.ts +1 -0
- package/dist/icons/solid/solid-favorite-icon.js +7 -0
- package/dist/icons/solid/solid-folder-icon.d.ts +1 -0
- package/dist/icons/solid/solid-home-icon.js +7 -0
- package/dist/icons/solid/solid-information-icon.js +7 -0
- package/dist/icons/solid/solid-instagram-icon.d.ts +1 -0
- package/dist/icons/solid/solid-link-icon.d.ts +1 -0
- package/dist/icons/solid/solid-linkedin-icon.d.ts +1 -0
- package/dist/icons/solid/solid-login-icon.js +7 -0
- package/dist/icons/solid/solid-logout-icon.d.ts +1 -0
- package/dist/icons/solid/solid-logout-icon.js +7 -0
- package/dist/icons/solid/solid-mail-icon.d.ts +1 -0
- package/dist/icons/solid/solid-news-icon.js +7 -0
- package/dist/icons/solid/solid-notice-icon.js +7 -0
- package/dist/icons/solid/solid-okay-icon.js +7 -0
- package/dist/icons/solid/solid-package-icon.d.ts +1 -0
- package/dist/icons/solid/solid-payment-icon.d.ts +1 -0
- package/dist/icons/solid/solid-rating-icon.js +7 -0
- package/dist/icons/solid/solid-remove-icon.d.ts +1 -0
- package/dist/icons/solid/solid-salecategory-icon.d.ts +1 -0
- package/dist/icons/solid/solid-salecategory-icon.js +7 -0
- package/dist/icons/solid/solid-stories-icon.d.ts +1 -0
- package/dist/icons/solid/solid-tag-icon.js +7 -0
- package/dist/icons/solid/solid-thumbsdown-icon.d.ts +1 -0
- package/dist/icons/solid/solid-thumbsup-icon.d.ts +1 -0
- package/dist/icons/solid/solid-tiktok-icon.d.ts +1 -0
- package/dist/icons/solid/solid-youtube-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-3d-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-3dview-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-add-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-arkit-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-arrowdown-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-arrowleft-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-arrowleft-icon.js +7 -0
- package/dist/icons/stroke/stroke-arrowright-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-arrowright-icon.js +7 -0
- package/dist/icons/stroke/stroke-arrowup-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-categories-icon.js +7 -0
- package/dist/icons/stroke/stroke-checkmark-icon.js +7 -0
- package/dist/icons/stroke/stroke-closebox-icon.js +7 -0
- package/dist/icons/stroke/stroke-dashboard-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-dehashed-icon.js +7 -0
- package/dist/icons/stroke/stroke-download-icon.js +7 -0
- package/dist/icons/stroke/stroke-edit-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-efficiency-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-event-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-event-icon.js +7 -0
- package/dist/icons/stroke/stroke-facebook-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-fallback-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-favorite-icon.js +7 -0
- package/dist/icons/stroke/stroke-filter-icon.js +7 -0
- package/dist/icons/stroke/stroke-folder-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-happy-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-hashed-icon.js +7 -0
- package/dist/icons/stroke/stroke-information-icon.js +7 -0
- package/dist/icons/stroke/stroke-innovate-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-instagram-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-link-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-linkedin-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-logout-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-mail-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-minus-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-minus-icon.js +7 -0
- package/dist/icons/stroke/stroke-modular-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-neutral-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-news-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-notice-icon.js +7 -0
- package/dist/icons/stroke/stroke-package-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-payment-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-plus-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-plus-icon.js +7 -0
- package/dist/icons/stroke/stroke-proactive-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-productivity-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-recent-icon.js +7 -0
- package/dist/icons/stroke/stroke-remove-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-sad-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-sale-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-salecategory-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-search-icon.js +7 -0
- package/dist/icons/stroke/stroke-stories-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-style-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-support-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-teamplayer-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-thumbsdown-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-thumbsup-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-tiktok-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-trash-icon.js +7 -0
- package/dist/icons/stroke/stroke-warranty10y-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-warranty1y-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-warranty3y-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-warranty5y-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-warrantyconsumable-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-warrantylifetime-icon.d.ts +1 -0
- package/dist/icons/stroke/stroke-youtube-icon.d.ts +1 -0
- package/dist/index.d.ts +3 -245
- package/dist/index.js +584 -12627
- package/dist/info-icon-tooltip/info-icon-tooltip.d.ts +11 -0
- package/dist/info-icon-tooltip/info-icon-tooltip.js +18 -0
- package/dist/info-icon-tooltip/info-icon-tooltip.module.css.js +3 -0
- package/dist/intl/formatted-date.d.ts +4 -0
- package/dist/intl/formatted-date.js +8 -0
- package/dist/intl/formatted-message.d.ts +3 -3
- package/dist/intl/formatted-message.js +30 -0
- package/dist/intl/intl-context.d.ts +13 -5
- package/dist/intl/intl-context.js +6 -0
- package/dist/intl/intl-provider.d.ts +4 -2
- package/dist/intl/intl-provider.js +35 -0
- package/dist/intl/missing-translation-provider.d.ts +6 -0
- package/dist/intl/missing-translation-provider.js +45 -0
- package/dist/intl/translation-id.d.ts +1 -1
- package/dist/intl/types.d.ts +34 -12
- package/dist/intl/types.js +33 -0
- package/dist/intl/use-country-code.d.ts +3 -0
- package/dist/intl/use-country-code.js +15 -0
- package/dist/intl/use-culture-code.d.ts +2 -1
- package/dist/intl/use-culture-code.js +15 -0
- package/dist/intl/use-currency-code.d.ts +4 -0
- package/dist/intl/use-currency-code.js +15 -0
- package/dist/intl/use-formatted-date.d.ts +6 -0
- package/dist/intl/use-formatted-date.js +20 -0
- package/dist/intl/use-formatted-message.d.ts +2 -2
- package/dist/intl/use-formatted-message.js +17 -0
- package/dist/intl/use-intl.d.ts +1 -0
- package/dist/intl/use-intl.js +12 -0
- package/dist/intl/use-language-code.js +10 -0
- package/dist/intl/utils.js +30 -0
- package/dist/{pages/page-container/page-container.d.ts → layout/center.d.ts} +1 -1
- package/dist/layout/center.js +10 -0
- package/dist/layout/center.module.css.js +3 -0
- package/dist/lists/download-document-list/download-document-list.js +14 -0
- package/dist/lists/download-document-list/download-document-list.module.css.js +3 -0
- package/dist/lists/feature-list/feature-list.js +26 -0
- package/dist/lists/feature-list/feature-list.module.css.js +3 -0
- package/dist/lists/icon-list/icon-list.d.ts +11 -0
- package/dist/lists/icon-list/icon-list.js +13 -0
- package/dist/lists/icon-list/icon-list.module.css.js +3 -0
- package/dist/lists/menu-list/menu-list-back-button.d.ts +8 -0
- package/dist/lists/menu-list/menu-list-back-button.js +10 -0
- package/dist/lists/menu-list/menu-list-header.d.ts +8 -0
- package/dist/lists/menu-list/menu-list-header.js +11 -0
- package/dist/lists/menu-list/menu-list-item.d.ts +16 -0
- package/dist/lists/menu-list/menu-list-item.js +17 -0
- package/dist/lists/menu-list/menu-list-provider.d.ts +11 -0
- package/dist/lists/menu-list/menu-list-provider.js +30 -0
- package/dist/lists/menu-list/menu-list.d.ts +20 -0
- package/dist/lists/menu-list/menu-list.js +15 -0
- package/dist/lists/menu-list/menu-list.module.css.js +3 -0
- package/dist/lists/menu-list/use-menu-list-item.d.ts +5 -0
- package/dist/lists/menu-list/use-menu-list-item.js +13 -0
- package/dist/lists/menu-list/use-menu-list.d.ts +1 -0
- package/dist/lists/menu-list/use-menu-list.js +12 -0
- package/dist/lists/orderline-list/orderline-list.d.ts +1 -1
- package/dist/lists/orderline-list/orderline-list.js +32 -0
- package/dist/lists/orderline-list/orderline-list.module.css.js +3 -0
- package/dist/lists/product-overview-grid/product-overview-grid.js +15 -0
- package/dist/lists/product-overview-grid/product-overview-grid.module.css.js +3 -0
- package/dist/lists/widget-grid/widget-grid.d.ts +5 -0
- package/dist/lists/widget-grid/widget-grid.js +9 -0
- package/dist/lists/widget-grid/widget-grid.module.css.js +3 -0
- package/dist/lists/widget-grid/widget.d.ts +6 -0
- package/dist/lists/widget-grid/widget.js +10 -0
- package/dist/loading/blank-page-spacer.js +9 -0
- package/dist/loading/blank-page-spacer.module.css.js +3 -0
- package/dist/loading/dynamic-loading-overlay.d.ts +5 -0
- package/dist/loading/dynamic-loading-overlay.js +33 -0
- package/dist/loading/dynamic-loading-overlay.module.css.js +3 -0
- package/dist/loading/loading-overlay.js +10 -0
- package/dist/loading/loading-overlay.module.css.js +3 -0
- package/dist/loading/progress-circle.d.ts +3 -1
- package/dist/loading/progress-circle.js +10 -0
- package/dist/loading/progress-circle.module.css.js +3 -0
- package/dist/logging/logger.d.ts +11 -0
- package/dist/logging/logger.js +22 -0
- package/dist/logging/use-log-error.d.ts +1 -0
- package/dist/logging/use-log-error.js +13 -0
- package/dist/media/image/image.d.ts +3 -2
- package/dist/media/image/image.js +63 -0
- package/dist/media/image/image.module.css.js +3 -0
- package/dist/media/image-grid/images-grid.d.ts +2 -1
- package/dist/media/image-grid/images-grid.js +32 -0
- package/dist/media/image-grid/images-grid.module.css.js +3 -0
- package/dist/media/image-lightbox/image-lightbox.d.ts +2 -7
- package/dist/media/image-lightbox/image-lightbox.js +49 -0
- package/dist/media/image-lightbox/image-lightbox.module.css.js +3 -0
- package/dist/media/zoom-image/zoom-image.d.ts +8 -0
- package/dist/media/zoom-image/zoom-image.js +39 -0
- package/dist/media/zoom-image/zoom-image.module.css.js +3 -0
- package/dist/message/message.d.ts +7 -0
- package/dist/message/message.js +17 -0
- package/dist/message/message.module.css.js +3 -0
- package/dist/modals/confirmation/confirmation-dialog.d.ts +5 -3
- package/dist/modals/confirmation/confirmation-dialog.js +12 -0
- package/dist/modals/confirmation/confirmation-dialog.module.css.js +3 -0
- package/dist/modals/dialog/dialog.d.ts +12 -6
- package/dist/modals/dialog/dialog.js +36 -0
- package/dist/modals/dialog/dialog.module.css.js +3 -0
- package/dist/modals/favorite/add-to-favorite-dialog.d.ts +1 -1
- package/dist/modals/favorite/add-to-favorite-dialog.js +60 -0
- package/dist/modals/favorite/add-to-favorite-dialog.module.css.js +3 -0
- package/dist/modals/modal/modal.js +17 -0
- package/dist/modals/modal/modal.module.css.js +3 -0
- package/dist/modals/recover-password/recover-password-dialog.d.ts +6 -0
- package/dist/modals/recover-password/recover-password-dialog.js +35 -0
- package/dist/modals/signin/sign-in-dialog.d.ts +1 -1
- package/dist/modals/signin/sign-in-dialog.js +21 -0
- package/dist/navigation/mobile-navigation/mobile-navigation.d.ts +8 -0
- package/dist/navigation/mobile-navigation/mobile-navigation.js +24 -0
- package/dist/navigation/mobile-navigation/mobile-navigation.module.css.js +3 -0
- package/dist/navigation/panel-navigation/panel-navigation.d.ts +15 -0
- package/dist/navigation/panel-navigation/panel-navigation.js +66 -0
- package/dist/navigation/panel-navigation/panel-navigation.module.css.js +3 -0
- package/dist/navigation/quick-access-menu/quick-access-menu.d.ts +9 -0
- package/dist/navigation/quick-access-menu/quick-access-menu.js +24 -0
- package/dist/navigation/quick-access-menu/quick-access-menu.module.css.js +3 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/checkOptions.js +7 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/createAutocomplete.js +109 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/createStore.js +31 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getAutocompleteSetters.js +51 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getCompletion.js +12 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getDefaultProps.js +135 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/getPropGetters.js +355 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/metadata.js +44 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/onInput.js +148 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/onKeyDown.js +202 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/reshape.js +48 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/resolve.js +119 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/stateReducer.js +149 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/createCancelablePromise.js +50 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/createCancelablePromiseList.js +42 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/createConcurrentSafePromise.js +38 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getActiveItem.js +79 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getAutocompleteElementId.js +12 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getNativeEvent.js +5 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getNextActiveItemId.js +31 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getNormalizedSources.js +53 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/getPluginSubmitPromise.js +39 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/isOrContainsNode.js +5 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/isSamsung.js +6 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-core@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-core/dist/esm/utils/mapToAlgoliaResponse.js +25 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-js@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-js/dist/esm/requesters/createAlgoliaRequester.js +16 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-js@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-js/dist/esm/requesters/getAlgoliaResults.js +12 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-js@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0_search-insights@2.17.3/node_modules/@algolia/autocomplete-js/dist/esm/userAgents.js +8 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createAlgoliaInsightsPlugin.js +252 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createClickedEvent.js +16 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createSearchInsightsApi.js +209 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/createViewedEvents.js +18 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/isAlgoliaInsightsHit.js +5 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-algolia-insights@1.19.2_@algolia_client-search@4.24.0_algo_a07b7691870c05b2461c74a9a00d6a70/node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/isModernInsightsClient.js +25 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-query-suggestions@1.19.2_@algolia_client-search@4.24.0_alg_bf126b808dc57984d528cd690af7915e/node_modules/@algolia/autocomplete-plugin-query-suggestions/dist/esm/constants.js +7 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-query-suggestions@1.19.2_@algolia_client-search@4.24.0_alg_bf126b808dc57984d528cd690af7915e/node_modules/@algolia/autocomplete-plugin-query-suggestions/dist/esm/createQuerySuggestionsPlugin.js +118 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-query-suggestions@1.19.2_@algolia_client-search@4.24.0_alg_bf126b808dc57984d528cd690af7915e/node_modules/@algolia/autocomplete-plugin-query-suggestions/dist/esm/getTemplates.js +64 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/addHighlightedAttribute.js +21 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/constants.js +10 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createLocalStorage.js +36 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createLocalStorageRecentSearchesPlugin.js +49 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createRecentSearchesPlugin.js +137 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/createStorageApi.js +16 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/getLocalStorage.js +33 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/getTemplates.js +72 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-plugin-recent-searches@1.19.2_@algolia_client-search@4.24.0_algol_ca60faa7de036e25f1f4aff1b32494ae/node_modules/@algolia/autocomplete-plugin-recent-searches/dist/esm/search.js +25 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/constants/index.js +4 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/highlight/parseAlgoliaHitHighlight.js +25 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/highlight/parseAttribute.js +51 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/requester/createAlgoliaRequester.js +6 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/requester/createRequester.js +37 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/requester/getAlgoliaResults.js +19 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/search/fetchAlgoliaResults.js +69 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-preset-algolia@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-preset-algolia/dist/esm/utils/getAppIdAndApiKey.js +16 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/createRef.js +7 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/debounce.js +16 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/decycle.js +34 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/flatten.js +7 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/generateAutocompleteId.js +6 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/getAttributeValueByPath.js +7 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/getItemsCount.js +10 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/invariant.js +15 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/isEqual.js +26 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/noop.js +3 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/safelyRunOnBrowser.js +13 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/userAgents.js +8 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/version.js +3 -0
- package/dist/node_modules/.pnpm/@algolia_autocomplete-shared@1.19.2_@algolia_client-search@4.24.0_algoliasearch@4.24.0/node_modules/@algolia/autocomplete-shared/dist/esm/warn.js +26 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/routers/history.js +341 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/stateMappings/simple.js +36 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/documentation.js +8 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/logger.js +32 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/noop.js +3 -0
- package/dist/node_modules/.pnpm/instantsearch.js@4.79.2_algoliasearch@4.24.0/node_modules/instantsearch.js/es/lib/utils/safelyRunOnBrowser.js +24 -0
- package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/formats.js +33 -0
- package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/index.js +25 -0
- package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/parse.js +269 -0
- package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/stringify.js +300 -0
- package/dist/node_modules/.pnpm/qs@6.9.7/node_modules/qs/lib/utils.js +264 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/free-mode.js +237 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.js +200 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/thumbs.js +197 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/create-element-if-not-defined.js +21 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/ssr-window.esm.js +146 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/swiper-core.js +3951 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/update-on-virtual-data.js +131 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/update-swiper.js +232 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/shared/utils.js +315 -0
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper-react.js +389 -0
- package/dist/notifications/announcements/announcement-list.d.ts +7 -0
- package/dist/notifications/announcements/announcement-list.js +30 -0
- package/dist/notifications/announcements/announcement-list.module.css.js +3 -0
- package/dist/notifications/announcements/announcement.d.ts +2 -1
- package/dist/notifications/announcements/announcement.js +28 -0
- package/dist/notifications/announcements/announcement.module.css.js +3 -0
- package/dist/notifications/announcements/connected-announcement-list.d.ts +3 -0
- package/dist/notifications/announcements/connected-announcement-list.js +22 -0
- package/dist/notifications/announcements/use-filter-announcements.d.ts +2 -0
- package/dist/notifications/announcements/use-filter-announcements.js +35 -0
- package/dist/observers/intersection-observer.d.ts +16 -0
- package/dist/observers/intersection-observer.js +22 -0
- package/dist/pages/account/change-password-page/change-password-page.d.ts +6 -0
- package/dist/pages/account/change-password-page/change-password-page.js +57 -0
- package/dist/pages/account/components/change-password-form/change-password-form.d.ts +16 -0
- package/dist/pages/account/components/change-password-form/change-password-form.js +49 -0
- package/dist/pages/account/components/create-account-form/create-account-form.d.ts +11 -0
- package/dist/pages/account/components/create-account-form/create-account-form.js +75 -0
- package/dist/pages/account/components/create-account-form/create-account-form.module.css.js +3 -0
- package/dist/pages/account/components/sign-in-form/sign-in-form.d.ts +28 -0
- package/dist/pages/account/components/sign-in-form/sign-in-form.js +77 -0
- package/dist/pages/account/components/sign-in-form/sign-in-form.module.css.js +3 -0
- package/dist/pages/account/create-account-page/create-account-page.d.ts +3 -0
- package/dist/pages/account/create-account-page/create-account-page.js +51 -0
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-background-image.d.ts +6 -0
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-background-image.js +9 -0
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.d.ts +9 -0
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.js +12 -0
- package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.module.css.js +3 -0
- package/dist/pages/account/sign-in-page/sign-in-page.d.ts +3 -0
- package/dist/pages/account/sign-in-page/sign-in-page.js +103 -0
- package/dist/pages/checkout/cart-page/cart-page.d.ts +1 -0
- package/dist/pages/checkout/cart-page/cart-page.js +133 -0
- package/dist/pages/checkout/cart-page/components/empty-cart-page.d.ts +1 -0
- package/dist/pages/checkout/cart-page/components/empty-cart-page.js +12 -0
- package/dist/pages/checkout/components/billing-and-invoice-information.d.ts +7 -0
- package/dist/pages/checkout/components/billing-and-invoice-information.js +13 -0
- package/dist/pages/checkout/components/billing-and-invoice-information.module.css.js +3 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.d.ts +11 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.js +34 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.module.css.js +3 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-content.d.ts +7 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-content.js +10 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-header.d.ts +8 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-header.js +10 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-link.d.ts +4 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-link.js +9 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.d.ts +7 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.js +11 -0
- package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.module.css.js +3 -0
- package/dist/pages/checkout/order-confirmation-page/order-confirmation-page-content.d.ts +5 -0
- package/dist/pages/checkout/order-confirmation-page/order-confirmation-page-content.js +110 -0
- package/dist/pages/checkout/order-confirmation-page/order-confirmation-page.d.ts +4 -0
- package/dist/pages/checkout/order-confirmation-page/order-confirmation-page.js +30 -0
- package/dist/pages/checkout/order-confirmation-page/order-confirmation-page.module.css.js +3 -0
- package/dist/pages/checkout/payment-page/components/adyen-payment.d.ts +31 -0
- package/dist/pages/checkout/payment-page/components/adyen-payment.js +217 -0
- package/dist/pages/checkout/payment-page/components/adyen-payment.module.css.js +3 -0
- package/dist/pages/checkout/payment-page/components/payment.d.ts +14 -0
- package/dist/pages/checkout/payment-page/components/payment.js +280 -0
- package/dist/pages/checkout/payment-page/components/payment.module.css.js +3 -0
- package/dist/pages/checkout/payment-page/hooks/use-get-adyen-redirect-result.d.ts +1 -0
- package/dist/pages/checkout/payment-page/hooks/use-get-adyen-redirect-result.js +14 -0
- package/dist/pages/checkout/payment-page/hooks/use-has-returned-from-adyen.d.ts +1 -0
- package/dist/pages/checkout/payment-page/hooks/use-has-returned-from-adyen.js +9 -0
- package/dist/pages/checkout/payment-page/payment-page-content.d.ts +13 -0
- package/dist/pages/checkout/payment-page/payment-page-content.js +51 -0
- package/dist/pages/checkout/payment-page/payment-page.d.ts +3 -0
- package/dist/pages/checkout/payment-page/payment-page.js +64 -0
- package/dist/pages/checkout/payment-page/utils/parse-amount.d.ts +3 -0
- package/dist/pages/checkout/payment-page/utils/parse-amount.js +10 -0
- package/dist/pages/checkout/shipping-page/components/address-book-selector.d.ts +6 -0
- package/dist/pages/checkout/shipping-page/components/address-book-selector.js +81 -0
- package/dist/pages/checkout/shipping-page/components/address-book-selector.module.css.js +3 -0
- package/dist/pages/checkout/shipping-page/components/currency-change-dialog.d.ts +6 -0
- package/dist/pages/checkout/shipping-page/components/currency-change-dialog.js +15 -0
- package/dist/pages/checkout/shipping-page/components/edit-checkout-bill-to-address-form.d.ts +16 -0
- package/dist/pages/checkout/shipping-page/components/edit-checkout-bill-to-address-form.js +49 -0
- package/dist/pages/checkout/shipping-page/components/edit-checkout-bill-to-address-form.module.css.js +3 -0
- package/dist/pages/checkout/shipping-page/components/readonly-address.d.ts +17 -0
- package/dist/pages/checkout/shipping-page/components/readonly-address.js +130 -0
- package/dist/pages/checkout/shipping-page/components/readonly-address.module.css.js +3 -0
- package/dist/pages/checkout/shipping-page/components/ship-to-mode-selector.d.ts +8 -0
- package/dist/pages/checkout/shipping-page/components/ship-to-mode-selector.js +25 -0
- package/dist/pages/checkout/shipping-page/components/sonic-address.d.ts +1 -0
- package/dist/pages/checkout/shipping-page/components/sonic-address.js +15 -0
- package/dist/pages/checkout/shipping-page/components/sonic-address.module.css.js +3 -0
- package/dist/pages/checkout/shipping-page/hooks/use-patch-shipping-details.d.ts +22 -0
- package/dist/pages/checkout/shipping-page/hooks/use-patch-shipping-details.js +60 -0
- package/dist/pages/checkout/shipping-page/shipping-page-content.d.ts +15 -0
- package/dist/pages/checkout/shipping-page/shipping-page-content.js +43 -0
- package/dist/pages/checkout/shipping-page/shipping-page.d.ts +1 -0
- package/dist/pages/checkout/shipping-page/shipping-page.js +190 -0
- package/dist/pages/checkout/shipping-page/shipping-page.module.css.js +3 -0
- package/dist/pages/components/page/page.d.ts +13 -0
- package/dist/pages/components/page/page.js +15 -0
- package/dist/pages/components/page-container/page-container.d.ts +10 -0
- package/dist/pages/components/page-container/page-container.js +11 -0
- package/dist/pages/components/page-container/page-container.module.css.js +3 -0
- package/dist/pages/components/page-meta-data/page-meta-data.d.ts +15 -0
- package/dist/pages/components/page-meta-data/page-meta-data.js +100 -0
- package/dist/pages/countries-page/countries-page.d.ts +1 -0
- package/dist/pages/countries-page/countries-page.js +18 -0
- package/dist/pages/error-page/error-page.d.ts +2 -1
- package/dist/pages/error-page/error-page.js +20 -0
- package/dist/pages/loading-page/loading-page.js +10 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.d.ts +16 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.js +30 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer.d.ts +16 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer.js +76 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/change-customer/connected-change-customer-dialog.d.ts +7 -0
- package/dist/pages/my-sonic/actions/change-customer/connected-change-customer-dialog.js +50 -0
- package/dist/pages/my-sonic/actions/change-password/change-password-dialog.d.ts +12 -0
- package/dist/pages/my-sonic/actions/change-password/change-password-dialog.js +25 -0
- package/dist/pages/my-sonic/actions/change-password/change-password-dialog.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/change-password/change-password.d.ts +8 -0
- package/dist/pages/my-sonic/actions/change-password/change-password.js +28 -0
- package/dist/pages/my-sonic/actions/change-password/change-password.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/change-password/connected-change-password-dialog.d.ts +5 -0
- package/dist/pages/my-sonic/actions/change-password/connected-change-password-dialog.js +39 -0
- package/dist/pages/my-sonic/actions/create-ship-to-address/connected-create-ship-to-address-form.d.ts +5 -0
- package/dist/pages/my-sonic/actions/create-ship-to-address/connected-create-ship-to-address-form.js +89 -0
- package/dist/pages/my-sonic/actions/create-ship-to-address/create-ship-to-address.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/edit-bill-to-address/connected-edit-bill-to-address-form.d.ts +4 -0
- package/dist/pages/my-sonic/actions/edit-bill-to-address/connected-edit-bill-to-address-form.js +94 -0
- package/dist/pages/my-sonic/actions/edit-bill-to-address/edit-bill-to-address.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/edit-ship-to-address/connected-edit-ship-to-address-form.d.ts +5 -0
- package/dist/pages/my-sonic/actions/edit-ship-to-address/connected-edit-ship-to-address-form.js +126 -0
- package/dist/pages/my-sonic/actions/edit-ship-to-address/edit-ship-to-address.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/edit-user-info/connected-edit-user-info-dialog.d.ts +5 -0
- package/dist/pages/my-sonic/actions/edit-user-info/connected-edit-user-info-dialog.js +56 -0
- package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info-dialog.d.ts +10 -0
- package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info-dialog.js +15 -0
- package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info.d.ts +11 -0
- package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info.js +29 -0
- package/dist/pages/my-sonic/actions/edit-user-info/edit-user-info.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order-form.d.ts +1 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order-form.js +19 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order-instructions.d.ts +3 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order-instructions.js +13 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order.d.ts +3 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order.js +12 -0
- package/dist/pages/my-sonic/actions/upload-order/upload-order.module.css.js +3 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside.d.ts +4 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-aside.js +9 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb.d.ts +4 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-breadcrumb.js +9 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main.d.ts +4 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-main.js +9 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page.d.ts +5 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-page.js +10 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside.d.ts +4 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-pre-aside.js +9 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title.d.ts +4 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout-title.js +10 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.d.ts +5 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.js +10 -0
- package/dist/pages/my-sonic/layouts/my-sonic-layout/my-sonic-layout.module.css.js +3 -0
- package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.d.ts +1 -0
- package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.js +15 -0
- package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.module.css.js +3 -0
- package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.d.ts +7 -0
- package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.js +24 -0
- package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.module.css.js +3 -0
- package/dist/pages/my-sonic/navigation/my-sonic-mobile-navigation.d.ts +5 -0
- package/dist/pages/my-sonic/navigation/my-sonic-mobile-navigation.js +26 -0
- package/dist/pages/my-sonic/navigation/my-sonic-navigation-items.d.ts +21 -0
- package/dist/pages/my-sonic/navigation/my-sonic-navigation-items.js +45 -0
- package/dist/pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.d.ts +8 -0
- package/dist/pages/my-sonic/pages/create-ship-to-address-details-page/create-ship-to-address-details-page.js +29 -0
- package/dist/pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.d.ts +7 -0
- package/dist/pages/my-sonic/pages/edit-bill-to-address-details-page/edit-bill-to-address-details-page.js +29 -0
- package/dist/pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.d.ts +9 -0
- package/dist/pages/my-sonic/pages/edit-ship-to-address-details-page/edit-ship-to-address-details-page.js +29 -0
- package/dist/pages/my-sonic/pages/favorites/favorites-page.d.ts +2 -0
- package/dist/pages/my-sonic/pages/favorites/favorites-page.js +48 -0
- package/dist/pages/my-sonic/pages/my-account/my-account-page.d.ts +2 -0
- package/dist/pages/my-sonic/pages/my-account/my-account-page.js +30 -0
- package/dist/pages/my-sonic/pages/order-details/order-details-content.d.ts +10 -0
- package/dist/pages/my-sonic/pages/order-details/order-details-content.js +70 -0
- package/dist/pages/my-sonic/pages/order-details/order-details-content.module.css.js +3 -0
- package/dist/pages/my-sonic/pages/order-details/order-details-page.d.ts +8 -0
- package/dist/pages/my-sonic/pages/order-details/order-details-page.js +42 -0
- package/dist/pages/my-sonic/pages/order-history/order-history-page.d.ts +2 -0
- package/dist/pages/my-sonic/pages/order-history/order-history-page.js +193 -0
- package/dist/pages/my-sonic/pages/order-history/order-history-page.module.css.js +3 -0
- package/dist/pages/my-sonic/pages/upload-order-page/upload-order-page.d.ts +4 -0
- package/dist/pages/my-sonic/pages/upload-order-page/upload-order-page.js +24 -0
- package/dist/pages/my-sonic/widgets/components/address-data-card.d.ts +23 -0
- package/dist/pages/my-sonic/widgets/components/address-data-card.js +43 -0
- package/dist/pages/my-sonic/widgets/connected-address-book-widget.d.ts +1 -0
- package/dist/pages/my-sonic/widgets/connected-address-book-widget.js +174 -0
- package/dist/pages/my-sonic/widgets/connected-address-book-widget.module.css.js +3 -0
- package/dist/pages/my-sonic/widgets/connected-bill-to-address-widget.d.ts +3 -0
- package/dist/pages/my-sonic/widgets/connected-bill-to-address-widget.js +34 -0
- package/dist/pages/my-sonic/widgets/connected-customer-information-widget.d.ts +1 -0
- package/dist/pages/my-sonic/widgets/connected-customer-information-widget.js +57 -0
- package/dist/pages/my-sonic/widgets/connected-ship-to-address-widget.d.ts +4 -0
- package/dist/pages/my-sonic/widgets/connected-ship-to-address-widget.js +39 -0
- package/dist/pages/my-sonic/widgets/connected-user-account-widget.d.ts +1 -0
- package/dist/pages/my-sonic/widgets/connected-user-account-widget.js +44 -0
- package/dist/pages/product/components/product-overview.d.ts +10 -0
- package/dist/pages/product/components/product-overview.js +20 -0
- package/dist/pages/{layouts → product/layouts/product-details-page-layout}/product-details-page-layout.d.ts +2 -2
- package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.js +10 -0
- package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.module.css.js +3 -0
- package/dist/pages/{product-details-page → product/product-details-page}/components/product-details-images/product-detail-images.d.ts +1 -1
- package/dist/pages/product/product-details-page/components/product-details-images/product-detail-images.js +33 -0
- package/dist/pages/product/product-details-page/components/product-details-images/product-detail-images.module.css.js +3 -0
- package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.d.ts +5 -0
- package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.js +48 -0
- package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.module.css.js +3 -0
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.d.ts +1 -0
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.js +25 -0
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.module.css.js +3 -0
- package/dist/pages/product/product-details-page/product-details-page.js +22 -0
- package/dist/pages/product/product-details-page/product-details.d.ts +5 -0
- package/dist/pages/product/product-details-page/product-details.js +47 -0
- package/dist/pages/product/product-listing-page/no-results/no-results.js +16 -0
- package/dist/pages/product/product-listing-page/no-results/no-results.module.css.js +3 -0
- package/dist/pages/product/product-listing-page/product-listing-page-category-carousel/product-listing-page-category-carousel.js +22 -0
- package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-data-types.d.ts +3 -1
- package/dist/pages/product/product-listing-page/product-listing-page-provider/product-listing-page-context.js +8 -0
- package/dist/pages/product/product-listing-page/product-listing-page-provider/product-listing-page-provider.js +14 -0
- package/dist/pages/product/product-listing-page/product-listing-page.js +29 -0
- package/dist/pages/product/product-listing-page/product-listing-page.module.css.js +3 -0
- package/dist/pages/product/product-listing-page/product-listing-product-overview/product-listing-product-overview.js +32 -0
- package/dist/pages/product/product-listing-page/product-listing.d.ts +6 -0
- package/dist/pages/product/product-listing-page/product-listing.js +49 -0
- package/dist/pages/product/search-result-page/search-result-product-overview/search-result-product-overview.js +34 -0
- package/dist/pages/product/search-result-page/search-results-page-category-carousel/search-results-page-category-carousel.js +22 -0
- package/dist/pages/product/search-result-page/search-results-page.js +53 -0
- package/dist/pages/product/search-result-page/search-results-page.module.css.js +3 -0
- package/dist/promos/promo-banner/promo-banner.js +12 -0
- package/dist/promos/promo-banner/promo-banner.module.css.js +3 -0
- package/dist/promos/promo-banners/promo-banners.d.ts +6 -5
- package/dist/promos/promo-banners/promo-banners.js +17 -0
- package/dist/promos/promo-banners/promo-banners.module.css.js +3 -0
- package/dist/promos/promo-card/promo-card.d.ts +1 -1
- package/dist/promos/promo-card/promo-card.js +11 -0
- package/dist/promos/promo-card/promo-card.module.css.js +3 -0
- package/dist/shared/api/bff/hooks/cart/use-patch-cart.d.ts +11 -0
- package/dist/shared/api/bff/hooks/cart/use-patch-cart.js +20 -0
- package/dist/shared/api/bff/hooks/cart/use-place-order.d.ts +11 -0
- package/dist/shared/api/bff/hooks/cart/use-place-order.js +21 -0
- package/dist/shared/api/bff/hooks/cart/use-save-cart-for-later.d.ts +9 -0
- package/dist/shared/api/bff/hooks/cart/use-save-cart-for-later.js +18 -0
- package/dist/shared/api/bff/hooks/use-fetch-announcements.js +16 -0
- package/dist/shared/api/bff/hooks/use-fetch-favorites.d.ts +2 -0
- package/dist/shared/api/bff/hooks/use-fetch-favorites.js +30 -0
- package/dist/shared/api/bff/hooks/use-fetch-navigation-links.d.ts +2 -0
- package/dist/shared/api/bff/hooks/use-fetch-navigation-links.js +16 -0
- package/dist/shared/api/bff/hooks/use-fetch-product-details-page-data.js +15 -0
- package/dist/shared/api/bff/hooks/use-fetch-product-listing-page-data.js +15 -0
- package/dist/shared/api/bff/hooks/use-fetch-products-prices.d.ts +2 -0
- package/dist/shared/api/bff/hooks/use-fetch-products-prices.js +14 -0
- package/dist/shared/api/bff/hooks/use-fetch-recently-viewed-products.d.ts +4 -0
- package/dist/shared/api/bff/hooks/use-fetch-recently-viewed-products.js +16 -0
- package/dist/shared/api/bff/model/bff.model.d.ts +88 -3
- package/dist/shared/api/bff/model/bff.model.js +12 -0
- package/dist/shared/api/bff/services/bff-service.d.ts +30 -5
- package/dist/shared/api/bff/services/bff-service.js +179 -0
- package/dist/shared/api/shared/hooks/use-awaitable-mutation.d.ts +31 -0
- package/dist/shared/api/shared/hooks/use-awaitable-mutation.js +47 -0
- package/dist/shared/api/shared/types.d.ts +6 -0
- package/dist/shared/api/storefront/hooks/account/use-create-account.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/account/use-create-account.js +30 -0
- package/dist/shared/api/storefront/hooks/account/use-create-guest-account.d.ts +2 -0
- package/dist/shared/api/storefront/hooks/account/use-create-guest-account.js +38 -0
- package/dist/shared/api/storefront/hooks/account/use-fetch-current-account.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/account/use-fetch-current-account.js +13 -0
- package/dist/shared/api/storefront/hooks/account/use-patch-current-account.d.ts +11 -0
- package/dist/shared/api/storefront/hooks/account/use-patch-current-account.js +20 -0
- package/dist/shared/api/storefront/hooks/authentication/use-fetch-session.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/authentication/use-fetch-session.js +20 -0
- package/dist/shared/api/storefront/hooks/authentication/use-invalidate-session.js +10 -0
- package/dist/shared/api/storefront/hooks/authentication/use-is-authenticated.js +9 -0
- package/dist/shared/api/storefront/hooks/authentication/use-patch-session.d.ts +22 -0
- package/dist/shared/api/storefront/hooks/authentication/use-patch-session.js +17 -0
- package/dist/shared/api/storefront/hooks/authentication/use-recover-password.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/authentication/use-recover-password.js +16 -0
- package/dist/shared/api/storefront/hooks/authentication/use-sign-in.d.ts +1 -0
- package/dist/shared/api/storefront/hooks/authentication/use-sign-in.js +33 -0
- package/dist/shared/api/storefront/hooks/authentication/use-sign-out-mutation.d.ts +9 -0
- package/dist/shared/api/storefront/hooks/authentication/use-sign-out-mutation.js +26 -0
- package/dist/shared/api/storefront/hooks/authentication/use-sign-out.d.ts +5 -1
- package/dist/shared/api/storefront/hooks/authentication/use-sign-out.js +30 -0
- package/dist/shared/api/storefront/hooks/cart/use-add-bulk-products-to-current-cart.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/cart/use-add-bulk-products-to-current-cart.js +21 -0
- package/dist/shared/api/storefront/hooks/cart/use-add-product-to-current-cart.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-add-product-to-current-cart.js +26 -0
- package/dist/shared/api/storefront/hooks/cart/use-delete-cart-line-by-id.d.ts +6 -1
- package/dist/shared/api/storefront/hooks/cart/use-delete-cart-line-by-id.js +21 -0
- package/dist/shared/api/storefront/hooks/cart/use-delete-current-cart.d.ts +7 -2
- package/dist/shared/api/storefront/hooks/cart/use-delete-current-cart.js +19 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-cart-by-id.d.ts +8 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-cart-by-id.js +21 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-checkout-atp.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-checkout-atp.js +16 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-count.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-count.js +9 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines-with-atp.d.ts +163 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines-with-atp.js +12 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines.js +12 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-product-atp.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-product-atp.js +16 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-promotions.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-promotions.js +16 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-with-atp.d.ts +167 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-with-atp.js +31 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart.d.ts +3 -4
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart.js +8 -0
- package/dist/shared/api/storefront/hooks/cart/use-invalidate-current-cart.js +10 -0
- package/dist/shared/api/storefront/hooks/cart/use-patch-cart-line-by-id.d.ts +6 -0
- package/dist/shared/api/storefront/hooks/cart/use-patch-cart-line-by-id.js +23 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-address.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-address.js +12 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-addresses.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-addresses.js +14 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-current-bill-to-address.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-current-bill-to-address.js +8 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-current-ship-to-address.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-current-ship-to-address.js +12 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-by-customer-id.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-by-customer-id.js +13 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-for-current-cart.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-for-current-cart.js +13 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-paged-ship-to-addresses.d.ts +8 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-paged-ship-to-addresses.js +14 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-address.d.ts +5 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-address.js +19 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-addresses.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-addresses.js +16 -0
- package/dist/shared/api/storefront/hooks/customer/use-patch-bill-to-address.d.ts +12 -0
- package/dist/shared/api/storefront/hooks/customer/use-patch-bill-to-address.js +18 -0
- package/dist/shared/api/storefront/hooks/customer/use-patch-ship-to-address.d.ts +13 -0
- package/dist/shared/api/storefront/hooks/customer/use-patch-ship-to-address.js +18 -0
- package/dist/shared/api/storefront/hooks/customer/use-post-ship-to-address.d.ts +17 -0
- package/dist/shared/api/storefront/hooks/customer/use-post-ship-to-address.js +18 -0
- package/dist/shared/api/storefront/hooks/orders/use-fetch-order-by-id.d.ts +1 -0
- package/dist/shared/api/storefront/hooks/orders/use-fetch-order-by-id.js +14 -0
- package/dist/shared/api/storefront/hooks/orders/use-fetch-orders.d.ts +9 -0
- package/dist/shared/api/storefront/hooks/orders/use-fetch-orders.js +14 -0
- package/dist/shared/api/storefront/hooks/payment/use-create-adyen-session.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/payment/use-create-adyen-session.js +11 -0
- package/dist/shared/api/storefront/hooks/payment/use-fetch-adyen-config.d.ts +1 -0
- package/dist/shared/api/storefront/hooks/payment/use-fetch-adyen-config.js +15 -0
- package/dist/shared/api/storefront/hooks/payment/use-invalidate-adyen.d.ts +1 -0
- package/dist/shared/api/storefront/hooks/payment/use-invalidate-adyen.js +10 -0
- package/dist/shared/api/storefront/hooks/product/use-mark-product-as-viewed.d.ts +5 -0
- package/dist/shared/api/storefront/hooks/product/use-mark-product-as-viewed.js +17 -0
- package/dist/shared/api/storefront/hooks/translation/use-fetch-translations.js +16 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries-languages.d.ts +2 -2
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries-languages.js +16 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries-with-languages.d.ts +4 -2
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries-with-languages.js +17 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-country-models.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-country-models.js +17 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-settings.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/website/use-fetch-settings.js +19 -0
- package/dist/shared/api/storefront/hooks/website/use-update-locale.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/website/use-update-locale.js +12 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-add-wishlist-item-to-current-wishlist.js +28 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-add-wishlist-item-to-wishlist.js +30 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-create-wishlist.js +18 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-delete-wishlist-item-from-wishlist.js +19 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-fetch-all-wishlists-items.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/wishlist/use-fetch-all-wishlists-items.js +26 -0
- package/dist/shared/api/storefront/hooks/wishlist/use-fetch-wishlists.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/wishlist/use-fetch-wishlists.js +15 -0
- package/dist/shared/api/storefront/model/{shop.model.d.ts → storefront.model.d.ts} +110 -7
- package/dist/shared/api/storefront/model/storefront.model.js +74 -0
- package/dist/shared/api/storefront/services/account-service.d.ts +31 -0
- package/dist/shared/api/storefront/services/account-service.js +87 -0
- package/dist/shared/api/storefront/services/authentication-service.d.ts +37 -13
- package/dist/shared/api/storefront/services/authentication-service.js +176 -0
- package/dist/shared/api/storefront/services/cart-service.d.ts +26 -14
- package/dist/shared/api/storefront/services/cart-service.js +168 -0
- package/dist/shared/api/storefront/services/category-service.d.ts +6 -0
- package/dist/shared/api/storefront/services/category-service.js +19 -0
- package/dist/shared/api/storefront/services/customer-service.d.ts +49 -0
- package/dist/shared/api/storefront/services/customer-service.js +112 -0
- package/dist/shared/api/storefront/services/finance-service.d.ts +13 -0
- package/dist/shared/api/storefront/services/finance-service.js +17 -0
- package/dist/shared/api/storefront/services/order-service.d.ts +10 -0
- package/dist/shared/api/storefront/services/order-service.js +40 -0
- package/dist/shared/api/storefront/services/payment-service.d.ts +8 -0
- package/dist/shared/api/storefront/services/payment-service.js +29 -0
- package/dist/shared/api/storefront/services/product-service.d.ts +4 -0
- package/dist/shared/api/storefront/services/product-service.js +10 -0
- package/dist/shared/api/storefront/services/translation-service.js +21 -0
- package/dist/shared/api/storefront/services/website-service.d.ts +1 -3
- package/dist/shared/api/storefront/services/website-service.js +51 -0
- package/dist/shared/api/storefront/services/wishlist-service.d.ts +4 -1
- package/dist/shared/api/storefront/services/wishlist-service.js +87 -0
- package/dist/shared/data/cart.data.d.ts +2 -0
- package/dist/shared/data/cart.data.js +650 -0
- package/dist/shared/data/countries-languages.data.d.ts +12 -0
- package/dist/shared/data/countries-languages.data.js +74 -0
- package/dist/shared/data/navigation.d.ts +2 -0
- package/dist/shared/data/navigation.js +2605 -0
- package/dist/shared/data/order.d.ts +2 -0
- package/dist/shared/data/order.js +41 -0
- package/dist/shared/error/basic-error-view.d.ts +1 -0
- package/dist/shared/error/basic-error-view.js +10 -0
- package/dist/shared/error/basic-error-view.module.css.js +3 -0
- package/dist/shared/error/default-error-view.d.ts +2 -0
- package/dist/shared/error/default-error-view.js +17 -0
- package/dist/shared/error/default-error-view.module.css.js +3 -0
- package/dist/shared/error/error-boundary.d.ts +16 -0
- package/dist/shared/error/error-boundary.js +94 -0
- package/dist/shared/error/errors.d.ts +17 -0
- package/dist/shared/error/errors.js +62 -0
- package/dist/shared/error/global-unhandled-error-handler.d.ts +13 -0
- package/dist/shared/error/global-unhandled-error-handler.js +71 -0
- package/dist/shared/error/types.d.ts +16 -0
- package/dist/shared/feature-flags/use-feature-flags.d.ts +5 -3
- package/dist/shared/feature-flags/use-feature-flags.js +49 -0
- package/dist/shared/fetch/request.d.ts +42 -29
- package/dist/shared/fetch/request.js +290 -0
- package/dist/shared/ga/data-layer.d.ts +2 -0
- package/dist/shared/ga/data-layer.js +12 -0
- package/dist/shared/ga/google-analytics-provider.d.ts +9 -0
- package/dist/shared/ga/google-analytics-provider.js +17 -0
- package/dist/shared/ga/types.d.ts +38 -0
- package/dist/shared/ga/types.js +8 -0
- package/dist/shared/ga/use-data-layer.d.ts +54 -0
- package/dist/shared/ga/use-data-layer.js +95 -0
- package/dist/shared/hooks/use-breakpoint.js +25 -0
- package/dist/shared/hooks/use-cookiebot.d.ts +16 -0
- package/dist/shared/hooks/use-cookiebot.js +35 -0
- package/dist/shared/hooks/use-css-link.d.ts +3 -0
- package/dist/shared/hooks/use-css-link.js +21 -0
- package/dist/shared/hooks/use-debounced-callback.d.ts +5 -1
- package/dist/shared/hooks/use-debounced-callback.js +19 -0
- package/dist/shared/hooks/use-disclosure.d.ts +3 -3
- package/dist/shared/hooks/use-disclosure.js +25 -0
- package/dist/shared/hooks/use-enable-mobile-zoom.d.ts +3 -0
- package/dist/shared/hooks/use-enable-mobile-zoom.js +37 -0
- package/dist/shared/hooks/use-global-disclosure.d.ts +10 -0
- package/dist/shared/hooks/use-global-disclosure.js +26 -0
- package/dist/shared/hooks/use-inert.d.ts +3 -0
- package/dist/shared/hooks/use-inert.js +16 -0
- package/dist/shared/hooks/use-intersection-observer.d.ts +16 -0
- package/dist/shared/hooks/use-intersection-observer.js +69 -0
- package/dist/shared/hooks/use-is-breakpoint.js +20 -0
- package/dist/shared/hooks/use-is-scrolled-beyond-element.d.ts +1 -0
- package/dist/shared/hooks/use-is-scrolled-beyond-element.js +27 -0
- package/dist/shared/hooks/use-mutation-observer.d.ts +3 -0
- package/dist/shared/hooks/use-mutation-observer.js +28 -0
- package/dist/shared/hooks/use-resize-observer.d.ts +2 -2
- package/dist/shared/hooks/use-resize-observer.js +38 -0
- package/dist/shared/hooks/use-script.d.ts +15 -0
- package/dist/shared/hooks/use-script.js +34 -0
- package/dist/shared/hooks/use-scroll-lock.js +12 -0
- package/dist/shared/hooks/use-watch-css-property.d.ts +1 -0
- package/dist/shared/hooks/use-watch-css-property.js +37 -0
- package/dist/shared/local-storage/local-storage-context.d.ts +2 -0
- package/dist/shared/local-storage/local-storage-context.js +6 -0
- package/dist/shared/local-storage/local-storage-provider.d.ts +5 -0
- package/dist/shared/local-storage/local-storage-provider.js +14 -0
- package/dist/shared/local-storage/storage-mock.d.ts +10 -0
- package/dist/shared/local-storage/storage-mock.js +34 -0
- package/dist/shared/local-storage/types.d.ts +4 -0
- package/dist/shared/local-storage/use-local-storage.js +24 -0
- package/dist/shared/local-storage/use-session-storage.js +24 -0
- package/dist/shared/model/account.d.ts +19 -0
- package/dist/shared/model/account.js +4 -0
- package/dist/shared/model/address.d.ts +30 -0
- package/dist/shared/model/address.js +7 -0
- package/dist/shared/model/announcement.js +18 -0
- package/dist/shared/model/category.d.ts +5 -0
- package/dist/shared/model/category.js +31 -0
- package/dist/shared/model/countries-languages.d.ts +4 -1
- package/dist/shared/model/countries-languages.js +32 -0
- package/dist/shared/model/currency.d.ts +7 -26
- package/dist/shared/model/currency.js +29 -0
- package/dist/shared/model/defaults.d.ts +1 -0
- package/dist/shared/model/defaults.js +3 -0
- package/dist/shared/model/hit.d.ts +2 -0
- package/dist/shared/model/hit.js +46 -0
- package/dist/shared/model/image.d.ts +6 -7
- package/dist/shared/model/image.js +7 -0
- package/dist/shared/model/price.d.ts +5 -2
- package/dist/shared/providers/cart-provider.d.ts +1 -1
- package/dist/shared/providers/cart-provider.js +13 -0
- package/dist/shared/providers/favorite-provider.d.ts +4 -4
- package/dist/shared/providers/favorite-provider.js +33 -0
- package/dist/shared/providers/global-state-provider.js +82 -0
- package/dist/shared/providers/react-query-container.d.ts +9 -3
- package/dist/shared/providers/react-query-container.js +15 -0
- package/dist/shared/reset.module.css.js +3 -0
- package/dist/shared/routing/route-context.d.ts +2 -0
- package/dist/shared/routing/route-context.js +6 -0
- package/dist/shared/routing/route-provider.d.ts +13 -10
- package/dist/shared/routing/route-provider.js +16 -0
- package/dist/shared/routing/route-utils.d.ts +5 -0
- package/dist/shared/routing/route-utils.js +17 -0
- package/dist/shared/routing/types.d.ts +46 -0
- package/dist/shared/routing/use-location.d.ts +9 -0
- package/dist/shared/routing/use-location.js +18 -0
- package/dist/shared/routing/use-navigate.d.ts +6 -0
- package/dist/shared/routing/use-navigate.js +20 -0
- package/dist/shared/routing/use-on-navigate.d.ts +2 -0
- package/dist/shared/routing/use-on-navigate.js +19 -0
- package/dist/shared/routing/use-paths.d.ts +2 -0
- package/dist/shared/routing/use-paths.js +9 -0
- package/dist/shared/routing/use-route-link-element.d.ts +1 -0
- package/dist/shared/routing/use-route-link-element.js +10 -0
- package/dist/shared/routing/use-route-link.d.ts +9 -0
- package/dist/shared/routing/use-route-link.js +26 -0
- package/dist/shared/routing/use-router.d.ts +1 -0
- package/dist/shared/routing/use-router.js +13 -0
- package/dist/shared/routing/with-routing.d.ts +4 -6
- package/dist/shared/routing/with-routing.js +34 -0
- package/dist/shared/utils/array.d.ts +1 -0
- package/dist/shared/utils/array.js +5 -0
- package/dist/shared/utils/breakpoints.js +33 -0
- package/dist/shared/utils/children-to-text.d.ts +2 -0
- package/dist/shared/utils/children-to-text.js +18 -0
- package/dist/shared/utils/css.d.ts +1 -0
- package/dist/shared/utils/css.js +24 -0
- package/dist/shared/utils/date.d.ts +5 -11
- package/dist/shared/utils/date.js +13 -0
- package/dist/shared/utils/debug.d.ts +2 -0
- package/dist/shared/utils/debug.js +21 -0
- package/dist/shared/utils/environment.d.ts +3 -2
- package/dist/shared/utils/environment.js +69 -0
- package/dist/shared/utils/event-emitter.js +34 -0
- package/dist/shared/utils/greeting.d.ts +1 -0
- package/dist/shared/utils/greeting.js +15 -0
- package/dist/shared/utils/merge.js +70 -0
- package/dist/shared/utils/number.d.ts +2 -0
- package/dist/shared/utils/number.js +10 -0
- package/dist/shared/utils/price.d.ts +22 -1
- package/dist/shared/utils/price.js +79 -0
- package/dist/shared/utils/promise.d.ts +2 -0
- package/dist/shared/utils/promise.js +9 -0
- package/dist/shared/utils/query-client.d.ts +4 -0
- package/dist/shared/utils/query-client.js +33 -0
- package/dist/shared/utils/random.d.ts +10 -0
- package/dist/shared/utils/random.js +16 -0
- package/dist/shared/utils/refs.d.ts +2 -0
- package/dist/shared/utils/refs.js +14 -0
- package/dist/shared/{hooks/use-scroll-to.d.ts → utils/scrolling.d.ts} +1 -1
- package/dist/shared/utils/scrolling.js +16 -0
- package/dist/shared/utils/string.d.ts +1 -0
- package/dist/shared/utils/string.js +7 -0
- package/dist/shared/utils/time.js +9 -0
- package/dist/shared/utils/types.d.ts +4 -0
- package/dist/shared/utils/types.js +11 -0
- package/dist/shared/utils/url.d.ts +5 -0
- package/dist/shared/utils/url.js +20 -0
- package/dist/shared/utils/url.test.d.ts +1 -0
- package/dist/shared/utils/uuid.d.ts +3 -1
- package/dist/shared/utils/uuid.js +18 -0
- package/dist/sidebar/sidebar-provider.js +47 -0
- package/dist/sidebar/sidebar-provider.module.css.js +3 -0
- package/dist/sidebar/sidebar.d.ts +2 -1
- package/dist/sidebar/sidebar.js +23 -0
- package/dist/sidebar/sidebar.module.css.js +3 -0
- package/dist/sidebar/toggle-sidebar-button.js +13 -0
- package/dist/sidebar/use-sidebar.js +39 -0
- package/dist/styles.css +8515 -3470
- package/dist/table/data-table.d.ts +55 -0
- package/dist/table/data-table.js +103 -0
- package/dist/table/data-table.module.css.js +3 -0
- package/dist/table/elements/col.d.ts +7 -0
- package/dist/table/elements/col.js +10 -0
- package/dist/table/elements/switch-sort-direction.d.ts +2 -0
- package/dist/table/elements/switch-sort-direction.js +11 -0
- package/dist/table/elements/table-context.d.ts +19 -0
- package/dist/table/elements/table-context.js +6 -0
- package/dist/table/elements/table-provider.d.ts +26 -0
- package/dist/table/elements/table-provider.js +75 -0
- package/dist/table/elements/table-row-context.d.ts +14 -0
- package/dist/table/elements/table-row-context.js +17 -0
- package/dist/table/elements/table-row-provider.d.ts +4 -0
- package/dist/table/elements/table-row-provider.js +26 -0
- package/dist/table/elements/table-sort-button.d.ts +12 -0
- package/dist/table/elements/table-sort-button.js +19 -0
- package/dist/table/elements/table.d.ts +14 -0
- package/dist/table/elements/table.js +24 -0
- package/dist/table/elements/table.module.css.js +3 -0
- package/dist/table/elements/td.d.ts +7 -0
- package/dist/table/elements/td.js +13 -0
- package/dist/table/elements/th.d.ts +2 -0
- package/dist/table/elements/th.js +12 -0
- package/dist/table/elements/tr.d.ts +2 -0
- package/dist/table/elements/tr.js +11 -0
- package/dist/table/elements/types.d.ts +39 -0
- package/dist/table/elements/use-table-row.d.ts +1 -0
- package/dist/table/elements/use-table-row.js +9 -0
- package/dist/table/elements/use-table.d.ts +2 -0
- package/dist/table/elements/use-table.js +12 -0
- package/dist/table/elements/use-td.d.ts +2 -0
- package/dist/table/elements/use-td.js +28 -0
- package/dist/table/elements/use-th.d.ts +2 -0
- package/dist/table/elements/use-th.js +21 -0
- package/dist/text/highlight-text/highlight-text.d.ts +10 -0
- package/dist/text/highlight-text/highlight-text.js +20 -0
- package/dist/text/highlight-text/highlight-text.module.css.js +3 -0
- package/dist/text/status-text/status-text.d.ts +6 -0
- package/dist/text/status-text/status-text.js +9 -0
- package/dist/text/status-text/status-text.module.css.js +3 -0
- package/dist/text/truncated/truncated.d.ts +7 -0
- package/dist/text/truncated/truncated.js +12 -0
- package/dist/text/truncated/truncated.module.css.js +3 -0
- package/dist/toast/toast-provider.js +10 -0
- package/dist/toast/toast-provider.module.css.js +3 -0
- package/dist/toast/toast.js +22 -0
- package/dist/toast/toast.module.css.js +3 -0
- package/dist/toast/use-toast.js +21 -0
- package/dist/tokens/tokens.js +8 -0
- package/dist/tooltip/tooltip.d.ts +10 -0
- package/dist/tooltip/tooltip.js +32 -0
- package/dist/tooltip/tooltip.module.css.js +3 -0
- package/dist/typography/heading/heading.d.ts +8 -2
- package/dist/typography/heading/heading.js +31 -0
- package/dist/typography/heading/heading.module.css.js +3 -0
- package/package.json +82 -67
- package/dist/display/product-price/product-price.d.ts +0 -8
- package/dist/display/product-price/product-total-price.d.ts +0 -7
- package/dist/forms/checkbox/checkbox.d.ts +0 -11
- package/dist/forms/color-checkbox/color-checkbox.d.ts +0 -5
- package/dist/forms/field-error/field-error.d.ts +0 -5
- package/dist/forms/label/label.d.ts +0 -6
- package/dist/forms/number-field/number-field.d.ts +0 -31
- package/dist/forms/select/select.d.ts +0 -13
- package/dist/forms/text-field/text-field.d.ts +0 -29
- package/dist/header/cart-icon/connected-cart-icon.d.ts +0 -3
- package/dist/icons/other/career-innovate-icon.d.ts +0 -1
- package/dist/icons/other/career-proactive-icon.d.ts +0 -1
- package/dist/icons/other/career-teamplayer-icon.d.ts +0 -1
- package/dist/icons/other/fallback-icon.d.ts +0 -1
- package/dist/icons/other/some-facebook-icon.d.ts +0 -1
- package/dist/icons/other/some-instagram-icon.d.ts +0 -1
- package/dist/icons/other/some-linkedin-icon.d.ts +0 -1
- package/dist/icons/other/some-mail-icon.d.ts +0 -1
- package/dist/icons/other/some-youtube-icon.d.ts +0 -1
- package/dist/icons/other/usp-efficiency-icon.d.ts +0 -1
- package/dist/icons/other/usp-style-icon.d.ts +0 -1
- package/dist/icons/other/usp-support-icon.d.ts +0 -1
- package/dist/icons/other/warranty-10y-icon.d.ts +0 -1
- package/dist/icons/other/warranty-1y-icon.d.ts +0 -1
- package/dist/icons/other/warranty-3y-icon.d.ts +0 -1
- package/dist/icons/other/warranty-5y-icon.d.ts +0 -1
- package/dist/icons/other/warranty-consumable-icon.d.ts +0 -1
- package/dist/icons/other/warranty-lifetime-icon.d.ts +0 -1
- package/dist/icons/solid/solid-event-icon.d.ts +0 -1
- package/dist/icons/solid/solid-sale-icon.d.ts +0 -1
- package/dist/icons/solid/solid-vote-thumbsdown-icon.d.ts +0 -1
- package/dist/icons/solid/solid-vote-thumbsup-icon.d.ts +0 -1
- package/dist/icons/stroke/stroke-collapse-icon.d.ts +0 -1
- package/dist/icons/stroke/stroke-expand-icon.d.ts +0 -1
- package/dist/icons/stroke/stroke-vote-thumbsdown-icon.d.ts +0 -1
- package/dist/icons/stroke/stroke-vote-thumbsup-icon.d.ts +0 -1
- package/dist/lists/ul/list.d.ts +0 -10
- package/dist/notifications/announcements/announcement-provider.d.ts +0 -1
- package/dist/notifications/announcements/connected-announcement.d.ts +0 -5
- package/dist/pages/page/page.d.ts +0 -9
- package/dist/pages/product-details-page/components/product-details-panel/product-details-panel.d.ts +0 -4
- package/dist/pages/product-listing-page/product-listing-page-provider/use-subcategories.d.ts +0 -4
- package/dist/shared/api/bff/model/announcement.model.d.ts +0 -12
- package/dist/shared/api/storefront/hooks/cart/use-patch-cart.d.ts +0 -4
- package/dist/shared/api/storefront/hooks/cart/use-place-order.d.ts +0 -4
- package/dist/shared/api/storefront/hooks/cart/use-save-cart-for-later.d.ts +0 -4
- package/dist/shared/api/storefront/hooks/cart/use-update-cart-line-by-id.d.ts +0 -6
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries.d.ts +0 -1
- package/dist/shared/routing/route-button.d.ts +0 -1
- package/dist/shared/routing/route-icon-button.d.ts +0 -1
- package/dist/shared/routing/route-link.d.ts +0 -1
- package/dist/shared/utils/local-storage.d.ts +0 -6
- package/dist/shared/utils/wait.d.ts +0 -1
- /package/dist/algolia/{algolia-intialization.d.ts → algolia-initialization.d.ts} +0 -0
- /package/dist/pages/{product-details-page → product/product-details-page}/product-details-page.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/no-results/no-results.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-category-carousel/product-listing-page-category-carousel.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-provider/product-listing-page-context.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page-provider/product-listing-page-provider.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-page.d.ts +0 -0
- /package/dist/pages/{product-listing-page → product/product-listing-page}/product-listing-product-overview/product-listing-product-overview.d.ts +0 -0
- /package/dist/pages/{search-result-page → product/search-result-page}/search-result-product-overview/search-result-product-overview.d.ts +0 -0
- /package/dist/pages/{search-result-page → product/search-result-page}/search-results-page-category-carousel/search-results-page-category-carousel.d.ts +0 -0
- /package/dist/pages/{search-result-page → product/search-result-page}/search-results-page.d.ts +0 -0
- /package/dist/shared/{hooks → local-storage}/use-local-storage.d.ts +0 -0
- /package/dist/shared/{hooks → local-storage}/use-session-storage.d.ts +0 -0
- /package/dist/shared/utils/{date.test.d.ts → string.test.d.ts} +0 -0
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { getCssPropertyValue } from '../shared/utils/css.js';
|
|
2
|
+
import { createUUID } from '../shared/utils/uuid.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* BackgroundOverlayManager is a singleton class that manages the background overlay elements.
|
|
6
|
+
* It creates, updates, and removes the background overlay elements as needed.
|
|
7
|
+
*/
|
|
8
|
+
class BackgroundOverlayManager {
|
|
9
|
+
/**
|
|
10
|
+
* Gets the z-index from a css variable using a given overlay name.
|
|
11
|
+
* @private
|
|
12
|
+
* @param overlayName - The name of the overlay.
|
|
13
|
+
* @returns The z-index of the overlay.
|
|
14
|
+
*/
|
|
15
|
+
static _getZIndexByOverlayName(overlayName) {
|
|
16
|
+
if (BackgroundOverlayManager._overlayZIndexes[overlayName])
|
|
17
|
+
return BackgroundOverlayManager._overlayZIndexes[overlayName];
|
|
18
|
+
const zIndex = Number.parseFloat(String(getCssPropertyValue(`--background-overlay-${overlayName}`)));
|
|
19
|
+
if (Number.isNaN(zIndex))
|
|
20
|
+
throw new Error(`Unable to determine z-index for CSS property: --background-overlay-${overlayName}`);
|
|
21
|
+
return (BackgroundOverlayManager._overlayZIndexes[overlayName] = zIndex);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Gets, or creates, the background DOM element to use as the dim layer.
|
|
25
|
+
* When the element is created, it is appended to the document body.
|
|
26
|
+
* The element is also given an ID and a class name.
|
|
27
|
+
* @private
|
|
28
|
+
* @returns The background DOM element.
|
|
29
|
+
*/
|
|
30
|
+
static _getElement() {
|
|
31
|
+
if (BackgroundOverlayManager._element)
|
|
32
|
+
return BackgroundOverlayManager._element;
|
|
33
|
+
if (!document)
|
|
34
|
+
throw new Error('Not running in browser? document is not defined.');
|
|
35
|
+
const element = (BackgroundOverlayManager._element =
|
|
36
|
+
document.createElement('div'));
|
|
37
|
+
element.id = 'background-overlay';
|
|
38
|
+
element.classList.add('background-overlay');
|
|
39
|
+
element.addEventListener('click', BackgroundOverlayManager._onClick);
|
|
40
|
+
document.body.append(element);
|
|
41
|
+
return element;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Removes the background DOM element visually by removing the 'visible' class.
|
|
45
|
+
* @private
|
|
46
|
+
*/
|
|
47
|
+
static _removeElement() {
|
|
48
|
+
if (document) {
|
|
49
|
+
document.documentElement.style.overflow = 'unset';
|
|
50
|
+
}
|
|
51
|
+
BackgroundOverlayManager._element?.classList.remove('visible');
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Gets the current, visual, most in front, overlay entry from the overlay queue.
|
|
55
|
+
* @private
|
|
56
|
+
* @returns The current overlay entry.
|
|
57
|
+
*/
|
|
58
|
+
static get _currentOverlayEntry() {
|
|
59
|
+
return BackgroundOverlayManager._overlayQueue
|
|
60
|
+
.sort((a, b) => b.zIndex - a.zIndex || b.timestamp - a.timestamp)
|
|
61
|
+
.find(entry => entry.isVisible);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Get the overlay entry by instance ID.
|
|
65
|
+
* @private
|
|
66
|
+
* @param instanceId - The instance ID of the overlay entry.
|
|
67
|
+
* @returns The overlay entry.
|
|
68
|
+
*/
|
|
69
|
+
static _getOverlayEntryByInstanceId(instanceId) {
|
|
70
|
+
return BackgroundOverlayManager._overlayQueue.find(entry => entry.instanceId === instanceId);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Removes the overlay entry by instance ID from the overlay queue.
|
|
74
|
+
* This method also calls the onClose function of the entry if it exists.
|
|
75
|
+
* @private
|
|
76
|
+
* @param instanceId - The instance ID of the overlay entry.
|
|
77
|
+
* @returns Void
|
|
78
|
+
*/
|
|
79
|
+
static _removeOverlayEntry(instanceId) {
|
|
80
|
+
const entry = BackgroundOverlayManager._getOverlayEntryByInstanceId(instanceId);
|
|
81
|
+
entry?.onClose?.();
|
|
82
|
+
BackgroundOverlayManager._overlayQueue =
|
|
83
|
+
BackgroundOverlayManager._overlayQueue.filter(entry => entry.instanceId !== instanceId);
|
|
84
|
+
BackgroundOverlayManager._rerender();
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Rerenders the background overlay element.
|
|
88
|
+
* This method updates the z-index of the element and adds the 'visible' class.
|
|
89
|
+
* If there is no current overlay entry, it removes the element.
|
|
90
|
+
* @private
|
|
91
|
+
* @returns Void
|
|
92
|
+
*/
|
|
93
|
+
static _rerender() {
|
|
94
|
+
const currentOverlayZindex = BackgroundOverlayManager._currentOverlayEntry?.zIndex;
|
|
95
|
+
if (currentOverlayZindex === undefined)
|
|
96
|
+
return this._removeElement();
|
|
97
|
+
BackgroundOverlayManager._getElement().style.zIndex =
|
|
98
|
+
String(currentOverlayZindex);
|
|
99
|
+
if (document) {
|
|
100
|
+
document.documentElement.style.overflow = 'hidden';
|
|
101
|
+
}
|
|
102
|
+
BackgroundOverlayManager._getElement().classList.add('visible');
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Mounts an overlay instance.
|
|
106
|
+
* This method creates a new overlay entry in the overlay queue.
|
|
107
|
+
* It also sets the z-index and timestamp of the entry.
|
|
108
|
+
* @public
|
|
109
|
+
* @param instanceId - The instance ID of the overlay entry.
|
|
110
|
+
* @param isVisible - A boolean indicating whether the overlay is visible or not.
|
|
111
|
+
* @param onClick - A function to call when the overlay is clicked.
|
|
112
|
+
* @param onClose - A function to call when the overlay is closed.
|
|
113
|
+
* @param overlayName - The name of the overlay.
|
|
114
|
+
* @returns Void
|
|
115
|
+
*/
|
|
116
|
+
static mountInstance({ instanceId, isVisible, onClick, onClose, overlayName, }) {
|
|
117
|
+
const zIndex = BackgroundOverlayManager._getZIndexByOverlayName(overlayName);
|
|
118
|
+
const timestamp = Date.now();
|
|
119
|
+
BackgroundOverlayManager._overlayQueue.push({
|
|
120
|
+
instanceId,
|
|
121
|
+
isVisible,
|
|
122
|
+
onClick,
|
|
123
|
+
onClose,
|
|
124
|
+
timestamp,
|
|
125
|
+
zIndex,
|
|
126
|
+
});
|
|
127
|
+
BackgroundOverlayManager._rerender();
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Unmounts an overlay instance.
|
|
131
|
+
* This method removes the overlay entry from the overlay queue.
|
|
132
|
+
* @public
|
|
133
|
+
* @param instanceId - The instance ID of the overlay entry.
|
|
134
|
+
* @returns Void
|
|
135
|
+
*/
|
|
136
|
+
static unmountInstance(instanceId) {
|
|
137
|
+
BackgroundOverlayManager._removeOverlayEntry(instanceId);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Updates an overlay instance.
|
|
141
|
+
* This method updates the properties of the overlay entry in the overlay queue.
|
|
142
|
+
* It also sets the z-index of the entry.
|
|
143
|
+
* @public
|
|
144
|
+
* @param instanceId - The instance ID of the overlay entry.
|
|
145
|
+
* @param isVisible - A boolean indicating whether the overlay is visible or not.
|
|
146
|
+
* @param onClick - A function to call when the overlay is clicked.
|
|
147
|
+
* @param onClose - A function to call when the overlay is closed.
|
|
148
|
+
* @param overlayName - The name of the overlay.
|
|
149
|
+
* @returns Void
|
|
150
|
+
*/
|
|
151
|
+
static updateInstance({ instanceId, isVisible, onClick, onClose, overlayName, }) {
|
|
152
|
+
const zIndex = BackgroundOverlayManager._getZIndexByOverlayName(overlayName);
|
|
153
|
+
const instance = BackgroundOverlayManager._getOverlayEntryByInstanceId(instanceId);
|
|
154
|
+
if (!instance)
|
|
155
|
+
return;
|
|
156
|
+
instance.isVisible = isVisible;
|
|
157
|
+
instance.onClick = onClick;
|
|
158
|
+
instance.onClose = onClose;
|
|
159
|
+
instance.zIndex = zIndex;
|
|
160
|
+
BackgroundOverlayManager._rerender();
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Shows or hides the overlay.
|
|
164
|
+
* This method updates the visibility of the overlay entry in the overlay queue.
|
|
165
|
+
* @public
|
|
166
|
+
* @param instanceId - The instance ID of the overlay entry.
|
|
167
|
+
* @param isOpen - A boolean indicating whether to show or hide the overlay.
|
|
168
|
+
* @returns Void
|
|
169
|
+
*/
|
|
170
|
+
static showOverlay({ instanceId, isOpen, }) {
|
|
171
|
+
const entry = BackgroundOverlayManager._getOverlayEntryByInstanceId(instanceId);
|
|
172
|
+
if (!entry)
|
|
173
|
+
return;
|
|
174
|
+
entry.isVisible = isOpen;
|
|
175
|
+
BackgroundOverlayManager._rerender();
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Creates a new background overlay instance.
|
|
179
|
+
* This method returns a new instance of the BackgroundOverlay class.
|
|
180
|
+
* @public
|
|
181
|
+
* @returns A new instance of the BackgroundOverlay class.
|
|
182
|
+
*/
|
|
183
|
+
static createBackgroundOverlay() {
|
|
184
|
+
return new BackgroundOverlay();
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
Object.defineProperty(BackgroundOverlayManager, "_element", {
|
|
188
|
+
enumerable: true,
|
|
189
|
+
configurable: true,
|
|
190
|
+
writable: true,
|
|
191
|
+
value: null
|
|
192
|
+
});
|
|
193
|
+
Object.defineProperty(BackgroundOverlayManager, "_overlayZIndexes", {
|
|
194
|
+
enumerable: true,
|
|
195
|
+
configurable: true,
|
|
196
|
+
writable: true,
|
|
197
|
+
value: {}
|
|
198
|
+
});
|
|
199
|
+
Object.defineProperty(BackgroundOverlayManager, "_overlayQueue", {
|
|
200
|
+
enumerable: true,
|
|
201
|
+
configurable: true,
|
|
202
|
+
writable: true,
|
|
203
|
+
value: []
|
|
204
|
+
});
|
|
205
|
+
/**
|
|
206
|
+
* Handles the click event on the background overlay element.
|
|
207
|
+
* This method stops the event from propagating and prevents the default action.
|
|
208
|
+
* It also calls the onClick function of the current overlay entry if it exists.
|
|
209
|
+
* @private
|
|
210
|
+
* @param e - The mouse event.
|
|
211
|
+
* @returns Void
|
|
212
|
+
*/
|
|
213
|
+
Object.defineProperty(BackgroundOverlayManager, "_onClick", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
configurable: true,
|
|
216
|
+
writable: true,
|
|
217
|
+
value: (e) => {
|
|
218
|
+
e.stopPropagation();
|
|
219
|
+
e.preventDefault();
|
|
220
|
+
const currentOverlayEntry = BackgroundOverlayManager._currentOverlayEntry;
|
|
221
|
+
if (!currentOverlayEntry)
|
|
222
|
+
return;
|
|
223
|
+
return currentOverlayEntry.onClick?.();
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
/**
|
|
227
|
+
* BackgroundOverlay is a class that represents a single background overlay.
|
|
228
|
+
* It is used to create and manage the background overlay elements.
|
|
229
|
+
* It is a wrapper around the BackgroundOverlayManager class.
|
|
230
|
+
*/
|
|
231
|
+
class BackgroundOverlay {
|
|
232
|
+
constructor() {
|
|
233
|
+
/**
|
|
234
|
+
* The ID of the overlay instance.
|
|
235
|
+
* This is a unique identifier for the overlay instance.
|
|
236
|
+
* @private
|
|
237
|
+
* @default A unique UUID string.
|
|
238
|
+
*/
|
|
239
|
+
Object.defineProperty(this, "_instanceId", {
|
|
240
|
+
enumerable: true,
|
|
241
|
+
configurable: true,
|
|
242
|
+
writable: true,
|
|
243
|
+
value: createUUID()
|
|
244
|
+
});
|
|
245
|
+
/**
|
|
246
|
+
* A boolean indicating whether the overlay instance is mounted.
|
|
247
|
+
* This is used to determine whether to create or update the overlay instance.
|
|
248
|
+
* @private
|
|
249
|
+
* @default false
|
|
250
|
+
*/
|
|
251
|
+
Object.defineProperty(this, "_isMounted", {
|
|
252
|
+
enumerable: true,
|
|
253
|
+
configurable: true,
|
|
254
|
+
writable: true,
|
|
255
|
+
value: false
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Mounts or updates the overlay instance.
|
|
260
|
+
* This method creates or updates the overlay instance with the given properties.
|
|
261
|
+
* @returns Void
|
|
262
|
+
*/
|
|
263
|
+
mountOrUpdate({ isVisible = false, onClick, onClose, overlayName, }) {
|
|
264
|
+
(this._isMounted
|
|
265
|
+
? BackgroundOverlayManager.updateInstance
|
|
266
|
+
: BackgroundOverlayManager.mountInstance)({
|
|
267
|
+
instanceId: this._instanceId,
|
|
268
|
+
isVisible,
|
|
269
|
+
onClick,
|
|
270
|
+
onClose,
|
|
271
|
+
overlayName,
|
|
272
|
+
});
|
|
273
|
+
this._isMounted = true;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Unmounts the overlay instance.
|
|
277
|
+
* This method removes the overlay instance visually and from the overlay queue
|
|
278
|
+
* @returns Void
|
|
279
|
+
*/
|
|
280
|
+
unmount() {
|
|
281
|
+
BackgroundOverlayManager.unmountInstance(this._instanceId);
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Shows or hides the overlay.
|
|
285
|
+
* This method updates the visibility of the overlay instance.
|
|
286
|
+
* @param isOpen - A boolean indicating whether to show or hide the overlay.
|
|
287
|
+
* @returns Void
|
|
288
|
+
*/
|
|
289
|
+
show(isOpen) {
|
|
290
|
+
BackgroundOverlayManager.showOverlay({
|
|
291
|
+
instanceId: this._instanceId,
|
|
292
|
+
isOpen,
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export { BackgroundOverlayManager };
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
+
import './background-overlay.module.css';
|
|
2
|
+
type Position = 'in-front' | 'behind-header' | 'behind-announcement';
|
|
1
3
|
interface BackgroundOverlayProps {
|
|
2
|
-
|
|
4
|
+
/** Whether the overlay is open or not. */
|
|
3
5
|
isOpen: boolean;
|
|
6
|
+
/** Function to call when the overlay is clicked. */
|
|
4
7
|
onClick?: VoidFunction;
|
|
8
|
+
/** Function to call when the overlay is closed. */
|
|
9
|
+
onClose?: VoidFunction;
|
|
10
|
+
/** Position of the overlay. Can be 'in-front' or 'behind-header' */
|
|
11
|
+
position?: Position;
|
|
5
12
|
}
|
|
6
|
-
|
|
13
|
+
/**
|
|
14
|
+
* BackgroundOverlay is a component that renders a "virtual" background overlay.
|
|
15
|
+
*/
|
|
16
|
+
export declare function BackgroundOverlay({ isOpen, onClick, onClose, position, }: BackgroundOverlayProps): null;
|
|
7
17
|
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useState, useEffect } from 'react';
|
|
3
|
+
import { BackgroundOverlayManager } from './background-overlay-manager.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* BackgroundOverlay is a component that renders a "virtual" background overlay.
|
|
7
|
+
*/
|
|
8
|
+
function BackgroundOverlay({ isOpen, onClick, onClose, position = 'in-front', }) {
|
|
9
|
+
/**
|
|
10
|
+
* An instance of the BackgroundOverlay class is
|
|
11
|
+
* created using the BackgroundOverlayManager.
|
|
12
|
+
*/
|
|
13
|
+
const [backgroundOverlay, setBackgroundOverlay] = useState();
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
// eslint-disable-next-line @eslint-react/hooks-extra/no-direct-set-state-in-use-effect
|
|
16
|
+
setBackgroundOverlay(backgroundOverlay => {
|
|
17
|
+
if (backgroundOverlay)
|
|
18
|
+
return backgroundOverlay;
|
|
19
|
+
return BackgroundOverlayManager.createBackgroundOverlay();
|
|
20
|
+
});
|
|
21
|
+
/* Mount or update the background overlay instance */
|
|
22
|
+
backgroundOverlay?.mountOrUpdate({
|
|
23
|
+
isVisible: isOpen,
|
|
24
|
+
onClick,
|
|
25
|
+
onClose,
|
|
26
|
+
overlayName: position,
|
|
27
|
+
});
|
|
28
|
+
}, [backgroundOverlay, isOpen, onClick, onClose, position]);
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
/* Show or hide the background overlay */
|
|
31
|
+
backgroundOverlay?.show(isOpen);
|
|
32
|
+
}, [backgroundOverlay, isOpen]);
|
|
33
|
+
useEffect(() => {
|
|
34
|
+
/* Unmount the background overlay instance */
|
|
35
|
+
return () => backgroundOverlay?.unmount();
|
|
36
|
+
}, [backgroundOverlay]);
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { BackgroundOverlay };
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
export type BadgeStatus = 'off' | 'on' | 'indeterminate' | 'disabled';
|
|
1
2
|
export interface BadgeProps {
|
|
3
|
+
className?: string;
|
|
2
4
|
count?: number;
|
|
3
|
-
|
|
5
|
+
label?: string;
|
|
6
|
+
status?: BadgeStatus;
|
|
4
7
|
}
|
|
5
|
-
export declare function Badge({ count,
|
|
8
|
+
export declare function Badge({ className, count, label, status }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useRef, useEffect } from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import styles from './badge.module.css.js';
|
|
6
|
+
|
|
7
|
+
// TODO: why is it animating on mount? and when I set lastCount to count by default it never animates
|
|
8
|
+
function Badge({ className, count, label, status }) {
|
|
9
|
+
const lastCount = useRef(null);
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
lastCount.current = count;
|
|
12
|
+
}, [count]);
|
|
13
|
+
return (jsx("span", { "aria-label": label, className: clsx(styles.badge, status && styles[status], {
|
|
14
|
+
[styles['is-animating']]: count !== undefined && count !== lastCount.current,
|
|
15
|
+
}, className), children: count }, count));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { Badge };
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IconSize } from '../../../icon/icon';
|
|
2
|
+
import { IconName } from '../../../icons';
|
|
3
|
+
import { BadgeStatus } from '../badge';
|
|
2
4
|
export interface IconWithBadgeProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
+
badgeCount?: number;
|
|
6
|
+
badgeLabel?: string;
|
|
7
|
+
badgeStatus?: BadgeStatus;
|
|
8
|
+
className?: string;
|
|
9
|
+
icon: IconName;
|
|
10
|
+
label?: string;
|
|
11
|
+
size?: IconSize;
|
|
5
12
|
}
|
|
6
|
-
export declare function IconWithBadge({
|
|
13
|
+
export declare function IconWithBadge({ badgeCount, badgeLabel, badgeStatus, className, icon, label, size, }: IconWithBadgeProps): 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 { Icon } from '../../../icon/icon.js';
|
|
5
|
+
import { Badge } from '../badge.js';
|
|
6
|
+
import styles from './icon-with-badge.module.css.js';
|
|
7
|
+
|
|
8
|
+
function IconWithBadge({ badgeCount, badgeLabel, badgeStatus, className, icon, label, size, }) {
|
|
9
|
+
return (jsxs("div", { "aria-label": label, className: clsx(styles['icon-with-badge'], className), children: [jsx(Icon, { className: styles['icon'], name: icon, size: size }), (badgeCount || badgeStatus) && (jsx(Badge, { className: styles['badge'], count: badgeCount, label: badgeLabel, status: badgeStatus }))] }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { IconWithBadge };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import styles from './tag.module.css.js';
|
|
4
|
+
|
|
5
|
+
function Tag({ children }) {
|
|
6
|
+
if (!children)
|
|
7
|
+
return null;
|
|
8
|
+
return (jsxs("div", { className: styles.tag, children: [jsx("div", { className: styles.body, "data-test-selector": "tag", children: children }), jsx("svg", { className: styles.shape, height: "16", viewBox: "0 0 9 16", width: "9", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { d: "M1.92461763,0 L0,0 L0,16 L1.92461763,16 L6.4117887,16 L8.87489381,7.57121588 C9.23711515,6.3325062 8.79482383,4.99454094 7.78060408,4.2560794 L1.92461763,0 Z", fill: "currentColor" }) })] }));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { Tag };
|
package/dist/base.css
CHANGED
|
@@ -1,3 +1,52 @@
|
|
|
1
|
+
/* Spire default CSS below that needs to be countered in components for the timebeing
|
|
2
|
+
This CSS can be removed when Spire is dropped. This CSS is not included within Spire context
|
|
3
|
+
and only serves as a simulation of Spire styling in Storybook.
|
|
4
|
+
shared/reset.module.css contains reset styles that overwrite this Spire CSS */
|
|
5
|
+
|
|
6
|
+
html {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
block-size: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
body {
|
|
12
|
+
margin: 0;
|
|
13
|
+
background: #fff;
|
|
14
|
+
block-size: 100%;
|
|
15
|
+
color: #000;
|
|
16
|
+
font-size: 16px;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
hyphens: auto;
|
|
19
|
+
line-height: 1.5;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
* {
|
|
23
|
+
font-weight: normal;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
span,
|
|
27
|
+
p,
|
|
28
|
+
h1,
|
|
29
|
+
h2,
|
|
30
|
+
h3,
|
|
31
|
+
h4,
|
|
32
|
+
h5,
|
|
33
|
+
h6 {
|
|
34
|
+
padding: 0;
|
|
35
|
+
margin: 0;
|
|
36
|
+
font-size: inherit;
|
|
37
|
+
font-weight: inherit;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
input[type='number']::-webkit-outer-spin-button,
|
|
41
|
+
input[type='number']::-webkit-inner-spin-button {
|
|
42
|
+
opacity: 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
input[type='password'] {
|
|
46
|
+
font-family: 'Verdana', sans-serif !important;
|
|
47
|
+
font-size: 20px !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
1
50
|
/*********************************************************
|
|
2
51
|
*
|
|
3
52
|
* Base styling for the entire application
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { Breadcrumbs, Breadcrumb as Breadcrumb$1 } from 'react-aria-components';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { Link } from '../buttons/link/link.js';
|
|
6
|
+
import { Icon } from '../icon/icon.js';
|
|
7
|
+
import styles from './breadcrumb.module.css.js';
|
|
8
|
+
|
|
9
|
+
function Breadcrumb({ links }) {
|
|
10
|
+
if (links.length <= 1)
|
|
11
|
+
return null;
|
|
12
|
+
const linksWithoutFirst = links.slice(1);
|
|
13
|
+
const homeLink = links[0];
|
|
14
|
+
const previousLink = links.at(-2);
|
|
15
|
+
const isHomeLink = previousLink === undefined || previousLink === homeLink;
|
|
16
|
+
const href = previousLink?.href || homeLink?.href;
|
|
17
|
+
const label = previousLink?.label || homeLink?.label;
|
|
18
|
+
if (!homeLink)
|
|
19
|
+
return null;
|
|
20
|
+
return (jsxs(Breadcrumbs, { className: styles.breadcrumbs, children: [jsx(Breadcrumb$1, { className: clsx(styles.breadcrumb, styles.short), children: jsxs(Link, { className: styles.link, href: href, isDisabled: false, title: label, children: [jsx(Icon, { className: styles.icon, name: "ArrowLeft", size: "xxs" }), isHomeLink ? (jsx(Icon, { className: styles.icon, name: "HomeSolid", size: "xxs" })) : (jsx("span", { children: previousLink.label }))] }) }), jsx(Breadcrumb$1, { className: clsx(styles.breadcrumb, styles.long), children: jsx(Link, { className: styles.link, href: homeLink.href, title: homeLink.label, children: jsx(Icon, { className: clsx(styles['home-icon'], styles.icon), name: "HomeSolid", size: "xxs" }) }) }), linksWithoutFirst.map((link, index) => (jsx(BreadcrumbLongItem, { index: index, isDisabled: linksWithoutFirst.length - 1 === index, link: link }, link.href + link.label || index)))] }));
|
|
21
|
+
}
|
|
22
|
+
function BreadcrumbLongItem({ index, isDisabled, link, }) {
|
|
23
|
+
return (jsx(Breadcrumb$1, { className: clsx(styles.breadcrumb, styles.long), children: jsxs(Link, { className: styles.link, color: "secondary", href: link.href, isDisabled: isDisabled, title: link.label, children: [jsx(Icon, { className: clsx(styles.icon, styles['previous-icon']), name: "ArrowLeft" }), link.label] }) }, index));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { Breadcrumb };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"breadcrumbs":"breadcrumb-module-CQGse","breadcrumb":"breadcrumb-module-hxhDY","link":"breadcrumb-module-fp2Q6","icon":"breadcrumb-module-uIn3w","previous-icon":"breadcrumb-module-K-wMJ","short":"breadcrumb-module-ToeDB","long":"breadcrumb-module-np5GK"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
type AddToCartState = 'initial' | 'spinner' | 'manual-input';
|
|
2
1
|
interface AddToCartButtonProps {
|
|
3
|
-
initialState?: AddToCartState;
|
|
4
2
|
isDisabled?: boolean;
|
|
5
3
|
onChange: (quantity: number) => void;
|
|
6
4
|
quantity: number;
|
|
7
5
|
}
|
|
8
|
-
export declare function AddToCartButton({
|
|
6
|
+
export declare function AddToCartButton({ isDisabled, onChange: _onChange, quantity: _quantity, }: AddToCartButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
7
|
export {};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { NumberField } from '../../forms/fields/number-field/number-field.js';
|
|
6
|
+
import { Icon } from '../../icon/icon.js';
|
|
7
|
+
import { useFormattedMessage } from '../../intl/use-formatted-message.js';
|
|
8
|
+
import { useDebouncedCallback } from '../../shared/hooks/use-debounced-callback.js';
|
|
9
|
+
import { ensureNumber } from '../../shared/utils/number.js';
|
|
10
|
+
import { Button } from '../button/button.js';
|
|
11
|
+
import styles from './add-to-cart-button.module.css.js';
|
|
12
|
+
|
|
13
|
+
function AddToCartButton({ isDisabled = false, onChange: _onChange, quantity: _quantity, }) {
|
|
14
|
+
const [quantity, setQuantity] = useState(_quantity);
|
|
15
|
+
const [currentState, setState] = useState(quantity > 0 ? 'input' : 'initial');
|
|
16
|
+
const [hasFocus, setHasFocus] = useState(false);
|
|
17
|
+
const buttonRef = useRef(null);
|
|
18
|
+
const inputRef = useRef(null);
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
if (quantity > 0 && currentState === 'initial') {
|
|
21
|
+
// eslint-disable-next-line @eslint-react/hooks-extra/no-direct-set-state-in-use-effect
|
|
22
|
+
if (document?.activeElement === buttonRef.current)
|
|
23
|
+
setHasFocus(true);
|
|
24
|
+
// eslint-disable-next-line @eslint-react/hooks-extra/no-direct-set-state-in-use-effect
|
|
25
|
+
setState('input');
|
|
26
|
+
}
|
|
27
|
+
if (quantity === 0 && currentState === 'input') {
|
|
28
|
+
// eslint-disable-next-line @eslint-react/hooks-extra/no-direct-set-state-in-use-effect
|
|
29
|
+
if (document?.activeElement === inputRef.current)
|
|
30
|
+
setHasFocus(true);
|
|
31
|
+
// eslint-disable-next-line @eslint-react/hooks-extra/no-direct-set-state-in-use-effect
|
|
32
|
+
setState('initial');
|
|
33
|
+
}
|
|
34
|
+
}, [quantity, currentState]);
|
|
35
|
+
const onChange = useCallback((quantity) => {
|
|
36
|
+
_onChange(quantity);
|
|
37
|
+
setQuantity(quantity);
|
|
38
|
+
}, [_onChange]);
|
|
39
|
+
return (jsxs("div", { className: styles['add-to-cart-button'], "data-test-selector": "addToCartButton", children: [currentState === 'initial' && (jsx(InitialState, { buttonRef: buttonRef, hasFocus: hasFocus, isDisabled: isDisabled, onAddToCart: () => {
|
|
40
|
+
onChange(1);
|
|
41
|
+
}, onHasFocussed: () => {
|
|
42
|
+
setHasFocus(false);
|
|
43
|
+
} })), currentState === 'input' && (jsx(InputState, { hasFocus: hasFocus, inputRef: inputRef, isDisabled: isDisabled, onChange: onChange, onHasFocussed: () => {
|
|
44
|
+
setHasFocus(false);
|
|
45
|
+
}, quantity: quantity }))] }));
|
|
46
|
+
}
|
|
47
|
+
/* initial state: button */
|
|
48
|
+
function InitialState({ buttonRef, hasFocus, isDisabled, onAddToCart, onHasFocussed, }) {
|
|
49
|
+
const t = useFormattedMessage();
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
if (hasFocus) {
|
|
52
|
+
buttonRef?.current?.focus();
|
|
53
|
+
onHasFocussed?.();
|
|
54
|
+
}
|
|
55
|
+
}, [hasFocus, buttonRef, onHasFocussed]);
|
|
56
|
+
return (jsx(Button, { ref: buttonRef, condensed: true, "aria-label": t('Add to cart'), className: clsx(styles['initial'], isDisabled && styles['disabled']), icon: jsx(Icon, { name: "CartSolid" }), onClick: () => {
|
|
57
|
+
if (!isDisabled)
|
|
58
|
+
onAddToCart();
|
|
59
|
+
}, size: "md" }));
|
|
60
|
+
}
|
|
61
|
+
/* input state: spinner buttons and manual input */
|
|
62
|
+
function InputState({ hasFocus, inputRef, isDisabled, onChange: _onChange, onHasFocussed, quantity, }) {
|
|
63
|
+
const t = useFormattedMessage();
|
|
64
|
+
const [internalQuantity, setInternalQuantity] = useState(quantity);
|
|
65
|
+
const [manualQuantity, setManualQuantity] = useState(null);
|
|
66
|
+
const isManualInput = useMemo(() => manualQuantity !== null, [manualQuantity]);
|
|
67
|
+
const isSpinnerInput = useMemo(() => manualQuantity === null, [manualQuantity]);
|
|
68
|
+
const onChangeDebounced = useDebouncedCallback((quantity) => _onChange(quantity), 1500);
|
|
69
|
+
useEffect(() => {
|
|
70
|
+
if (hasFocus) {
|
|
71
|
+
inputRef?.current?.focus();
|
|
72
|
+
onHasFocussed?.();
|
|
73
|
+
}
|
|
74
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
75
|
+
}, [hasFocus]);
|
|
76
|
+
useEffect(() => {
|
|
77
|
+
// clear debounced when switching to manual input or when quantity is 0 (returning to initial state)
|
|
78
|
+
if (isManualInput)
|
|
79
|
+
onChangeDebounced.cancel();
|
|
80
|
+
}, [isManualInput, onChangeDebounced]);
|
|
81
|
+
const onKeyUp = (e) => {
|
|
82
|
+
if (isSpinnerInput)
|
|
83
|
+
return;
|
|
84
|
+
if (e.key === 'Enter')
|
|
85
|
+
confirmManualQuantity();
|
|
86
|
+
if (e.key === 'Escape') {
|
|
87
|
+
/* returns to spinner input and restarts a debounce timer for the internalQuantity on the field */
|
|
88
|
+
setManualQuantity(null);
|
|
89
|
+
onChangeDebounced(internalQuantity);
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
const onSpinnerChange = (quantity) => {
|
|
93
|
+
if (Number.isNaN(quantity))
|
|
94
|
+
return;
|
|
95
|
+
setInternalQuantity(quantity);
|
|
96
|
+
if (quantity === 0) {
|
|
97
|
+
onChangeDebounced.cancel();
|
|
98
|
+
_onChange(0);
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
onChangeDebounced(quantity);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
const onManualInput = (e) => {
|
|
105
|
+
const value = ensureNumber(e.currentTarget.value, 0);
|
|
106
|
+
setManualQuantity(value);
|
|
107
|
+
};
|
|
108
|
+
const confirmManualQuantity = () => {
|
|
109
|
+
const value = ensureNumber(manualQuantity, 0);
|
|
110
|
+
setInternalQuantity(value);
|
|
111
|
+
setManualQuantity(null);
|
|
112
|
+
_onChange(value);
|
|
113
|
+
inputRef?.current?.focus();
|
|
114
|
+
};
|
|
115
|
+
return (jsxs("div", { className: clsx(styles['input-container'], isManualInput && styles['has-button'], isSpinnerInput && styles['has-spinner']), children: [jsx(NumberField, { ref: inputRef, autoGrow: true, className: styles['input'], "data-test-selector": "quantity", isReadOnly: isDisabled, label: t('Quantity'), maxLength: 4, maxValue: 9999, minValue: 0, name: "quantity", onChange: onSpinnerChange, onInput: onManualInput, onKeyUp: onKeyUp, size: "md", value: isSpinnerInput ? internalQuantity : manualQuantity || 0, withButtons: isSpinnerInput }), isManualInput && (jsx(Button, { condensed: true, "data-test-selector": "confirm", onClick: confirmManualQuantity, size: "md", children: t('OK') }))] }));
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export { AddToCartButton };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"add-to-cart-button":"add-to-cart-button-module-GdrDp","initial":"add-to-cart-button-module-D5UBe","disabled":"add-to-cart-button-module-ySzuS","input-container":"add-to-cart-button-module-bRV8v","has-button":"add-to-cart-button-module-Jw4Wr","input":"add-to-cart-button-module-UFRIT"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|