@sonic-equipment/ui 0.0.119 → 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.js +13 -0
- package/dist/cards/orderline-card/connected-remove-button.js +18 -0
- package/dist/cards/orderline-card/orderline-card.d.ts +4 -4
- 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 +4 -2
- 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 -6
- 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 +385 -50
- 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 +2 -1
- package/dist/index.js +584 -12972
- 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 -1
- 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 +1 -1
- 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.d.ts +1 -1
- 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.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 +9 -1
- 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.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/{layouts → checkout/layouts}/checkout-page-layout/checkout-page-layout.d.ts +1 -1
- 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/{storefront → bff}/hooks/cart/use-save-cart-for-later.d.ts +3 -3
- 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 +2 -2
- 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 +3 -3
- 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 +52 -20
- 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 +40 -7
- 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} +100 -6
- 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 -4
- package/dist/shared/feature-flags/use-feature-flags.js +49 -0
- package/dist/shared/fetch/request.d.ts +41 -28
- 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.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 +4 -1
- 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.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 +8497 -3468
- 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 +73 -69
- 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-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 -7
- 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/{cart-page → checkout/cart-page}/cart-page.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,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { Image } from '../../media/image/image.js';
|
|
4
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
5
|
+
import styles from './usp-carousel.module.css.js';
|
|
6
|
+
|
|
7
|
+
function ProductUsp({ usp }) {
|
|
8
|
+
return (jsxs("div", { className: styles['product-usp'], children: [jsx("div", { className: styles.left, children: jsx(Image, { className: styles.image, fit: "cover", image: usp.image, title: usp.image.altText }) }), jsx("div", { className: styles.right, children: jsxs("div", { "data-content": true, className: styles.content, children: [jsx(Image, { className: styles.icon, image: usp.icon, title: usp.icon.altText }), jsx(Heading, { italic: true, uppercase: true, className: styles.title, size: "xs", children: usp.heading }), jsx("div", { className: styles.text,
|
|
9
|
+
// eslint-disable-next-line @eslint-react/dom/no-dangerously-set-innerhtml
|
|
10
|
+
dangerouslySetInnerHTML: { __html: usp.text } })] }) })] }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { ProductUsp };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { ProductUsp } from './product-usp-carousel-slide.js';
|
|
4
|
+
import { USPCarousel } from './usp-carousel.js';
|
|
5
|
+
|
|
6
|
+
function ProductUSPCarousel({ usps }) {
|
|
7
|
+
return (jsx(USPCarousel, { slides: usps.map((usp, index) => (jsx(ProductUsp, { usp: usp }, usp.heading + usp.text || index))) }));
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { ProductUSPCarousel };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useRef, useState } from 'react';
|
|
4
|
+
import { Swiper, SwiperSlide } from '../../node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper-react.js';
|
|
5
|
+
import { CarouselPagination } from '../pagination/pagination.js';
|
|
6
|
+
import styles from './usp-carousel.module.css.js';
|
|
7
|
+
|
|
8
|
+
const DURATION_IN_MS = 800;
|
|
9
|
+
const CONTENT_TRANSLATE_PX = 40;
|
|
10
|
+
const USPCarousel = ({ slides }) => {
|
|
11
|
+
const swiperRef = useRef(null);
|
|
12
|
+
const [currentIndex, setCurrentIndex] = useState(0);
|
|
13
|
+
const swiperElementRef = useRef(null);
|
|
14
|
+
let currentTransitionSpeed = 0;
|
|
15
|
+
function getTransitionSpeed() {
|
|
16
|
+
const transitionSpeed = currentTransitionSpeed;
|
|
17
|
+
currentTransitionSpeed = 0;
|
|
18
|
+
return transitionSpeed;
|
|
19
|
+
}
|
|
20
|
+
function setTranslate(_swiper, _wrapperTranslate) {
|
|
21
|
+
const slides = Object.values(_swiper.slides);
|
|
22
|
+
const durationInSeconds = getTransitionSpeed() / 1000;
|
|
23
|
+
slides.map((slide, _index) => {
|
|
24
|
+
const offset = slide.swiperSlideOffset;
|
|
25
|
+
const translateX = -offset;
|
|
26
|
+
const content = slide.querySelector('[data-content]');
|
|
27
|
+
const opacity = Math.max(1 - Math.abs(slide.progress), 0);
|
|
28
|
+
const translate = Math.min(Math.abs(slide.progress), 1) * CONTENT_TRANSLATE_PX;
|
|
29
|
+
content.style.transform = `translateX(${-translate}px)`;
|
|
30
|
+
content.style.transition = `transform ${durationInSeconds}s ease`;
|
|
31
|
+
slide.style.transform = `translateX(${translateX}px)`;
|
|
32
|
+
slide.style.opacity = `${opacity}`;
|
|
33
|
+
slide.style.transition = `opacity ${durationInSeconds}s ease`;
|
|
34
|
+
if (slide !== _swiper.slides[_swiper.realIndex]) {
|
|
35
|
+
slide.style.transitionDelay = `${durationInSeconds / 4}s`;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
return (jsxs(Swiper, { ref: swiperElementRef, className: styles['usp-carousel'], longSwipes: false, onActiveIndexChange: swiper => setCurrentIndex(swiper.activeIndex), onSetTransition: (_swiper, transitions) => {
|
|
40
|
+
currentTransitionSpeed = transitions;
|
|
41
|
+
}, onSetTranslate: setTranslate, onSwiper: swiper => {
|
|
42
|
+
swiper.update();
|
|
43
|
+
swiperRef.current = swiper;
|
|
44
|
+
}, speed: DURATION_IN_MS, virtualTranslate: true, watchSlidesProgress: true, children: [slides.map((slide, index) => (
|
|
45
|
+
// eslint-disable-next-line @eslint-react/no-array-index-key
|
|
46
|
+
jsx(SwiperSlide, { children: slide }, index))), jsx("div", { className: styles.pagination, id: "pagination" }), jsx("div", { className: styles.pagination, children: jsx(CarouselPagination, { currentPage: currentIndex + 1, numberOfPages: slides.length, onChange: pageNumber => swiperRef.current?.slideTo(pageNumber - 1) }) })] }));
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export { USPCarousel };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"usp-carousel":"usp-carousel-module-UCbpX","pagination":"usp-carousel-module-msaeJ","product-usp":"usp-carousel-module-rtIrb","left":"usp-carousel-module--Vdc3","image":"usp-carousel-module-F-WAS","right":"usp-carousel-module-2fygw","content":"usp-carousel-module-AOJJg","icon":"usp-carousel-module-Diy2d","title":"usp-carousel-module--xcF2","text":"usp-carousel-module-tq8R8"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { CurrencyCode } from '../intl/types';
|
|
1
2
|
export interface StickyTotalCostsProps {
|
|
2
3
|
className?: string;
|
|
3
|
-
|
|
4
|
+
currencyCode: CurrencyCode;
|
|
5
|
+
totalAmount: number;
|
|
4
6
|
}
|
|
5
|
-
export declare function CartTotalsSummary({ className, totalAmount, }: StickyTotalCostsProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function CartTotalsSummary({ className, currencyCode, totalAmount, }: StickyTotalCostsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { Price } from '../display/price/price.js';
|
|
5
|
+
import { FormattedMessage } from '../intl/formatted-message.js';
|
|
6
|
+
import { Heading } from '../typography/heading/heading.js';
|
|
7
|
+
import styles from './cart-totals-summary.module.css.js';
|
|
8
|
+
|
|
9
|
+
function CartTotalsSummary({ className, currencyCode, totalAmount, }) {
|
|
10
|
+
return (jsx("div", { className: clsx(styles['cart-totals-summary'], className), children: jsxs(Heading, { bold: true, size: "xxxs", children: [jsx(FormattedMessage, { id: "Total amount is" }), jsx("br", {}), jsx(Price, { currencyCode: currencyCode, price: totalAmount })] }) }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { CartTotalsSummary };
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
import { CurrencyCode } from '../intl/types';
|
|
1
2
|
export interface CartTotalsProps {
|
|
3
|
+
currencyCode: CurrencyCode;
|
|
4
|
+
deliveryDate?: string;
|
|
2
5
|
fulfillmentMethod?: string;
|
|
6
|
+
isPayByInvoice?: boolean;
|
|
3
7
|
orderNumber?: string;
|
|
4
|
-
shippingCost:
|
|
5
|
-
subtotal:
|
|
6
|
-
tax:
|
|
7
|
-
total:
|
|
8
|
-
vatPercentage: number;
|
|
8
|
+
shippingCost: number;
|
|
9
|
+
subtotal: number;
|
|
10
|
+
tax: number;
|
|
11
|
+
total: number;
|
|
12
|
+
vatPercentage: number | undefined;
|
|
9
13
|
}
|
|
10
|
-
export declare
|
|
14
|
+
export declare const formatDisplayPriceToSymbolSpaceValue: (displayPrice: string) => string;
|
|
15
|
+
export declare function CartTotals({ currencyCode, deliveryDate, fulfillmentMethod, isPayByInvoice, orderNumber, shippingCost, subtotal, tax, total, vatPercentage, }: CartTotalsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { Price } from '../display/price/price.js';
|
|
4
|
+
import { FormattedMessage } from '../intl/formatted-message.js';
|
|
5
|
+
import { useFormattedMessage } from '../intl/use-formatted-message.js';
|
|
6
|
+
import { Heading } from '../typography/heading/heading.js';
|
|
7
|
+
import styles from './cart-totals.module.css.js';
|
|
8
|
+
|
|
9
|
+
const formatDisplayPriceToSymbolSpaceValue = (displayPrice) => displayPrice.replace(/^(\D)([\d,.]*$)/, (_, symbol, value) => `${symbol} ${value}`);
|
|
10
|
+
function CartTotals({ currencyCode, deliveryDate, fulfillmentMethod, isPayByInvoice, orderNumber, shippingCost, subtotal, tax, total, vatPercentage, }) {
|
|
11
|
+
const t = useFormattedMessage();
|
|
12
|
+
return (jsxs("div", { className: styles['cart-totals'], children: [orderNumber && (jsxs("section", { className: styles.section, children: [jsx(Heading, { className: styles['section-header'], size: "xxxs", tag: "h3", children: jsx(FormattedMessage, { id: "Order number" }) }), jsx("div", { children: jsx("div", { className: styles.line, children: jsx("p", { className: styles.label, "data-test-selector": "orderConfirmation_orderNumber", children: orderNumber }) }) })] })), deliveryDate !== undefined && (jsxs("section", { className: styles.section, children: [jsx(Heading, { className: styles['section-header'], size: "xxxs", tag: "h3", children: jsx(FormattedMessage, { id: "Delivery date" }) }), jsx("div", { children: jsx("div", { className: styles.line, children: jsx("p", { className: styles.label, "data-test-selector": "deliveryDate", children: deliveryDate || t('As soon as possible') }) }) })] })), fulfillmentMethod && (jsxs("section", { className: styles.section, children: [jsx(Heading, { className: styles['section-header'], size: "xxxs", tag: "h3", children: jsx(FormattedMessage, { id: "Fulfillment method" }) }), jsx("div", { children: jsx("div", { className: styles.line, children: jsx("p", { className: styles.label, "data-test-selector": "fulfillmentMethod", children: jsx(FormattedMessage, { noTranslationId: true, id: `fulfillmentmethod.${fulfillmentMethod}` }) }) }) })] })), isPayByInvoice && (jsxs("section", { className: styles.section, children: [jsx(Heading, { className: styles['section-header'], size: "xxxs", tag: "h3", children: jsx(FormattedMessage, { id: "Payment method" }) }), jsx("div", { children: jsx("div", { className: styles.line, children: jsx("p", { className: styles.label, "data-test-selector": "paymentMethod", children: jsx(FormattedMessage, { id: "Pay by invoice" }) }) }) })] })), jsxs("section", { className: styles.section, children: [jsx(Heading, { className: styles['section-header'], size: "xxxs", tag: "h3", children: jsx(FormattedMessage, { id: "Cost overview" }) }), jsxs("div", { children: [jsxs("div", { className: styles.line, children: [jsxs("p", { className: styles.label, children: [jsx(FormattedMessage, { id: "Subtotal" }), " (", jsx(FormattedMessage, { id: "Excl. VAT" }), ")"] }), jsx(Price, { className: styles.value, currencyCode: currencyCode, "data-test-selector": "cartTotal_subTotal", price: subtotal })] }), jsxs("div", { className: styles.line, children: [jsx("p", { className: styles.label, children: jsx(FormattedMessage, { id: "Shipping and handling" }) }), jsx(Price, { className: styles.value, currencyCode: currencyCode, "data-test-selector": "shippingCost", price: shippingCost })] }), jsxs("div", { className: styles.line, children: [jsxs("p", { className: styles.label, children: [jsx(FormattedMessage, { id: "VAT" }), ' ', vatPercentage ? `${vatPercentage}%` : ''] }), jsx(Price, { className: styles.value, currencyCode: currencyCode, "data-test-selector": "vatAmount", price: tax })] })] })] }), jsx("section", { className: styles.totals, children: jsxs("div", { className: styles.line, children: [jsx("p", { className: styles.label, children: jsx(FormattedMessage, { id: "Total" }) }), jsx(Price, { className: styles.value, currencyCode: currencyCode, "data-test-selector": "cartTotal_orderGrandTotalDisplay", price: total })] }) })] }));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { CartTotals, formatDisplayPriceToSymbolSpaceValue };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"cart-totals":"cart-totals-module-Bk9zi","line":"cart-totals-module-VJ51p","label":"cart-totals-module-ciNsz","value":"cart-totals-module-KaxpH","section":"cart-totals-module-vhhxp","section-header":"cart-totals-module-AeSnX","totals":"cart-totals-module-2RLLQ"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -2,13 +2,16 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
export type BorderType = 'top' | 'middle' | 'middle-accentuated' | 'bottom';
|
|
3
3
|
export interface AccordionItemProps {
|
|
4
4
|
_pseudo?: 'none' | 'focus' | 'hover' | 'active';
|
|
5
|
+
allowCollapse?: boolean;
|
|
6
|
+
allowToggle?: boolean;
|
|
5
7
|
borderType?: BorderType | BorderType[];
|
|
6
8
|
children: ReactNode;
|
|
7
9
|
className?: string;
|
|
10
|
+
'data-test-selector'?: string;
|
|
8
11
|
id: string;
|
|
9
12
|
initialIsOpen?: boolean;
|
|
10
13
|
isDisabled?: boolean;
|
|
11
14
|
size?: 'md' | 'lg';
|
|
12
15
|
title: ReactNode;
|
|
13
16
|
}
|
|
14
|
-
export declare function AccordionItem({ _pseudo, borderType, children, className, id, initialIsOpen, isDisabled, size, title, }: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare function AccordionItem({ _pseudo, allowCollapse, allowToggle, borderType, children, className, 'data-test-selector': dataTestSelector, id, initialIsOpen, isDisabled, size, title, }: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useEffect } from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { Icon } from '../../icon/icon.js';
|
|
6
|
+
import { useDisclosure } from '../../shared/hooks/use-disclosure.js';
|
|
7
|
+
import { useInert } from '../../shared/hooks/use-inert.js';
|
|
8
|
+
import { ensureArray } from '../../shared/utils/array.js';
|
|
9
|
+
import { Heading } from '../../typography/heading/heading.js';
|
|
10
|
+
import styles from './accordion.module.css.js';
|
|
11
|
+
|
|
12
|
+
function AccordionItem({ _pseudo = 'none', allowCollapse = true, allowToggle = true, borderType = 'bottom', children, className, 'data-test-selector': dataTestSelector, id, initialIsOpen = false, isDisabled = false, size, title, }) {
|
|
13
|
+
const { close, isOpen, open, toggle } = useDisclosure(initialIsOpen);
|
|
14
|
+
const { ref: panelRef } = useInert(isOpen);
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
if (initialIsOpen) {
|
|
17
|
+
open();
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
close();
|
|
21
|
+
}
|
|
22
|
+
}, [close, initialIsOpen, open]);
|
|
23
|
+
const panelId = `panel-${id}`;
|
|
24
|
+
return (jsxs("div", { suppressHydrationWarning: true, className: clsx(className, ...ensureArray(borderType).map(type => styles[`border-type-${type}`]), styles['accordion-item'], isDisabled && styles.disabled, {
|
|
25
|
+
[styles['is-open']]: isOpen,
|
|
26
|
+
[styles['is-closed']]: !isOpen,
|
|
27
|
+
[styles['allow-toggle']]: allowCollapse && allowToggle,
|
|
28
|
+
}), "data-test-selector": dataTestSelector, children: [jsx(Heading, { className: styles.heading, tag: "h3", children: jsxs("button", { suppressHydrationWarning: true, "aria-controls": panelId, "aria-expanded": isOpen, className: clsx(styles.button, styles[_pseudo], {
|
|
29
|
+
[styles['disable-collapse']]: !allowCollapse,
|
|
30
|
+
}), disabled: isDisabled, id: id, onClick: () => {
|
|
31
|
+
if (allowToggle && allowCollapse)
|
|
32
|
+
toggle();
|
|
33
|
+
}, tabIndex: allowToggle ? 0 : -1, type: "button", children: [title, size === 'lg' ? (jsx(Icon, { className: styles.icon, name: "ArrowDownBold", size: "xs" })) : (jsx(Icon, { className: styles.icon, name: "ArrowDown", size: "xs" }))] }) }), jsx("div", { ref: panelRef, "aria-hidden": !isOpen.toString(), "aria-labelledby": id, className: styles.panel, id: panelId, role: "region", children: children })] }));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { AccordionItem };
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { AccordionItemProps, BorderType } from './accordion-item';
|
|
3
3
|
interface AccordionProps {
|
|
4
|
-
borderType?: BorderType | BorderType[];
|
|
5
4
|
children?: ReactElement<AccordionItemProps> | ReactElement<AccordionItemProps>[] | false | undefined | null | (false | undefined | null | ReactElement<AccordionItemProps>)[];
|
|
5
|
+
variant?: 'standard' | 'select';
|
|
6
|
+
}
|
|
7
|
+
interface AccordionStandardProps extends AccordionProps {
|
|
8
|
+
borderType?: BorderType | BorderType[];
|
|
9
|
+
className?: string;
|
|
6
10
|
color?: 'white' | 'black';
|
|
7
11
|
hasLineSeparator?: boolean;
|
|
8
12
|
indented?: boolean;
|
|
9
13
|
size?: 'md' | 'lg';
|
|
14
|
+
variant?: 'standard';
|
|
15
|
+
}
|
|
16
|
+
interface AccordionDropDownProps extends AccordionProps {
|
|
17
|
+
variant: 'select';
|
|
10
18
|
}
|
|
11
|
-
|
|
19
|
+
type Props = AccordionStandardProps | AccordionDropDownProps;
|
|
20
|
+
export declare function Accordion({ variant, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
21
|
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { Children, cloneElement } from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import styles from './accordion.module.css.js';
|
|
6
|
+
|
|
7
|
+
function Accordion({ variant = 'standard', ...rest }) {
|
|
8
|
+
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
9
|
+
if (variant === 'standard') {
|
|
10
|
+
return jsx(StandardAccordion, { variant: variant, ...rest });
|
|
11
|
+
}
|
|
12
|
+
if (variant === 'select') {
|
|
13
|
+
return jsx(DropDownAccordion, { variant: variant, ...rest });
|
|
14
|
+
}
|
|
15
|
+
throw new Error(`Invalid variant ${variant}`);
|
|
16
|
+
/* eslint-enable @typescript-eslint/no-unnecessary-condition */
|
|
17
|
+
}
|
|
18
|
+
function StandardAccordion({ borderType = 'bottom', children, className, color = 'black', hasLineSeparator = true, indented, size = 'md', }) {
|
|
19
|
+
return (jsx("div", { className: clsx({ [styles.indented]: indented }, styles.accordion, styles[color], styles[size], hasLineSeparator && styles['with-seperators'], className), children: Boolean(children) &&
|
|
20
|
+
Children.map(children, child => {
|
|
21
|
+
if (!child)
|
|
22
|
+
return null;
|
|
23
|
+
return cloneElement(child, { borderType, size });
|
|
24
|
+
}) }));
|
|
25
|
+
}
|
|
26
|
+
function DropDownAccordion({ children, variant }) {
|
|
27
|
+
return (jsx("div", { className: clsx(styles.accordion, styles[variant]), children: Boolean(children) &&
|
|
28
|
+
Children.map(children, child => {
|
|
29
|
+
if (!child)
|
|
30
|
+
return null;
|
|
31
|
+
return cloneElement(child);
|
|
32
|
+
}) }));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { Accordion };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"accordion":"accordion-module-9WvAH","indented":"accordion-module-6CcEH","white":"accordion-module-CaVdG","accordion-item":"accordion-module-lf9d-","lg":"accordion-module-0qnae","with-seperators":"accordion-module-yOLrW","heading":"accordion-module-d-B4T","button":"accordion-module--Rwpb","icon":"accordion-module-Y50uq","focus":"accordion-module-M4BZs","allow-toggle":"accordion-module-QEO2d","panel":"accordion-module-KZjMo","border-type-bottom":"accordion-module-oTdZK","border-type-top":"accordion-module-0mrLq","border-type-middle":"accordion-module-aAr-R","is-open":"accordion-module-W0F1z","border-type-middle-accentuated":"accordion-module-OB98a","is-closed":"accordion-module-kYmoe","disable-collapse":"accordion-module-RnNRT","select":"accordion-module-SAbiG","disabled":"accordion-module-ogvYX"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface CascadingComponentContainerProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
onClose?: VoidFunction;
|
|
5
|
+
timeout?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function CascadingComponentContainerProvider({ children, onClose, timeout, }: CascadingComponentContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useState, useMemo, useEffect } from 'react';
|
|
4
|
+
import { voidFunction } from '../../shared/model/defaults.js';
|
|
5
|
+
import { CascadingComponentContainerContext } from './cascading-component-container-context.js';
|
|
6
|
+
import { useCascadingComponentContainer } from './use-cascading-component-container.js';
|
|
7
|
+
|
|
8
|
+
function CascadingComponentContainerProvider({ children, onClose, timeout, }) {
|
|
9
|
+
const parentContext = useCascadingComponentContainer();
|
|
10
|
+
const [closeChildrenFns, updateCloseChildrenFns] = useState([]);
|
|
11
|
+
const value = useMemo(() => ({
|
|
12
|
+
close: onClose || voidFunction,
|
|
13
|
+
closeChildCascadingComponents: () => closeChildrenFns.forEach(fn => fn()),
|
|
14
|
+
registerChild: onClose => updateCloseChildrenFns(fns => [...fns, onClose]),
|
|
15
|
+
timeout,
|
|
16
|
+
unregisterChild: onClose => updateCloseChildrenFns(fns => fns.filter(fn => fn !== onClose)),
|
|
17
|
+
}),
|
|
18
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
19
|
+
[onClose, timeout]);
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
if (!parentContext || !onClose)
|
|
22
|
+
return;
|
|
23
|
+
parentContext.registerChild(onClose);
|
|
24
|
+
return () => parentContext.unregisterChild(onClose);
|
|
25
|
+
}, [onClose, parentContext]);
|
|
26
|
+
return (jsx(CascadingComponentContainerContext.Provider, { value: value, children: children }));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { CascadingComponentContainerProvider };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CascadingComponentProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
onClose?: VoidFunction;
|
|
5
|
+
timeout?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function CascadingComponentContainer({ children, onClose, timeout, }: CascadingComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { CascadingComponentContainerProvider } from './cascading-component-container-provider.js';
|
|
4
|
+
|
|
5
|
+
function CascadingComponentContainer({ children, onClose, timeout, }) {
|
|
6
|
+
return (jsx(CascadingComponentContainerProvider, { onClose: onClose, timeout: timeout, children: children }));
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { CascadingComponentContainer };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RefHTMLElement } from '../unmounter/utils';
|
|
3
|
+
import { CascadingComponentContainerProps } from './cascading-component-container-provider';
|
|
4
|
+
interface CascadingComponentProps<TElement extends HTMLElement = HTMLElement, RefElement extends RefHTMLElement<TElement> = undefined> {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
isVisible?: boolean;
|
|
7
|
+
nodeRef: React.Ref<RefElement>;
|
|
8
|
+
onEnter?: VoidFunction;
|
|
9
|
+
onEntered?: VoidFunction;
|
|
10
|
+
onExit?: VoidFunction;
|
|
11
|
+
onExited?: VoidFunction;
|
|
12
|
+
onUnmounted?: () => void;
|
|
13
|
+
timeout?: number;
|
|
14
|
+
}
|
|
15
|
+
export declare function CascadingComponent<TElement extends HTMLElement = HTMLElement, RefElement extends RefHTMLElement<TElement> = undefined>({ children, isVisible, nodeRef, onClose, onEnter, onEntered, onExit, onExited, onUnmounted, timeout, }: CascadingComponentProps<TElement, RefElement> & CascadingComponentContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare function InternalCascadingComponent<TElement extends HTMLElement = HTMLElement, RefElement extends RefHTMLElement<TElement> = undefined>({ children, isVisible: _isVisible, nodeRef, onEnter, onEntered, onExit, onExited, onUnmounted, timeout: timeout, }: CascadingComponentProps<TElement, RefElement>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
3
|
+
import { useState, useEffect, useCallback } from 'react';
|
|
4
|
+
import { CSSTransition } from 'react-transition-group';
|
|
5
|
+
import { Unmounter } from '../unmounter/unmounter.js';
|
|
6
|
+
import { createAddEndListener } from '../unmounter/utils.js';
|
|
7
|
+
import { CascadingComponentContainerProvider } from './cascading-component-container-provider.js';
|
|
8
|
+
import { useCascadingComponentContainer } from './use-cascading-component-container.js';
|
|
9
|
+
|
|
10
|
+
function CascadingComponent({ children, isVisible = false, nodeRef, onClose, onEnter, onEntered, onExit, onExited, onUnmounted, timeout, }) {
|
|
11
|
+
const context = useCascadingComponentContainer();
|
|
12
|
+
if (!context) {
|
|
13
|
+
return (jsx(Fragment, { children: jsx(CascadingComponentContainerProvider, { onClose: onClose, timeout: timeout, children: jsx(InternalCascadingComponent, { isVisible: isVisible, nodeRef: nodeRef, onEnter: onEnter, onEntered: onEntered, onExit: onExit, onExited: onExited, onUnmounted: onUnmounted, timeout: timeout, children: children }) }) }));
|
|
14
|
+
}
|
|
15
|
+
return (jsx(InternalCascadingComponent, { isVisible: isVisible, nodeRef: nodeRef, onEnter: onEnter, onEntered: onEntered, onExit: onExit, onExited: onExited, onUnmounted: onUnmounted, timeout: timeout || context.timeout, children: children }));
|
|
16
|
+
}
|
|
17
|
+
function InternalCascadingComponent({ children, isVisible: _isVisible = false, nodeRef, onEnter, onEntered, onExit, onExited, onUnmounted, timeout: timeout, }) {
|
|
18
|
+
const [isVisible, setIsVisible] = useState(_isVisible);
|
|
19
|
+
const [unmount, setUnmount] = useState(false);
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
if (_isVisible) {
|
|
22
|
+
setIsVisible(_isVisible);
|
|
23
|
+
setUnmount(false);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
setUnmount(true);
|
|
27
|
+
}
|
|
28
|
+
}, [_isVisible]);
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
if (isVisible) {
|
|
31
|
+
setUnmount(false);
|
|
32
|
+
}
|
|
33
|
+
}, [isVisible]);
|
|
34
|
+
const onUnmountReady = useCallback(() => {
|
|
35
|
+
setIsVisible(false);
|
|
36
|
+
}, []);
|
|
37
|
+
const onClose = useCallback(() => {
|
|
38
|
+
setUnmount(true);
|
|
39
|
+
}, []);
|
|
40
|
+
return (jsx(CSSTransition, { mountOnEnter: true, unmountOnExit: true, onEnter: onEnter, onEntered: onEntered, onExit: onExit, onExited: onExited, ...(timeout === undefined
|
|
41
|
+
? { addEndListener: createAddEndListener(nodeRef) }
|
|
42
|
+
: { timeout }), in: isVisible, nodeRef: nodeRef, children: jsx(Unmounter, { onUnmounted: onUnmounted, onUnmountReady: onUnmountReady, unmount: unmount, children: jsx(CascadingComponentContainerProvider, { onClose: onClose, timeout: timeout, children: children }) }) }));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { CascadingComponent, InternalCascadingComponent };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface CascadingComponentContainerContextType {
|
|
2
|
+
close: VoidFunction;
|
|
3
|
+
closeChildCascadingComponents: VoidFunction;
|
|
4
|
+
registerChild: (closeFn: VoidFunction) => void;
|
|
5
|
+
timeout?: number;
|
|
6
|
+
unregisterChild: (closeFn: VoidFunction) => void;
|
|
7
|
+
}
|
|
8
|
+
export interface CascadingComponentContextType {
|
|
9
|
+
close: VoidFunction;
|
|
10
|
+
closeChildCascadingComponents: VoidFunction;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useContext } from 'react';
|
|
3
|
+
import { CascadingComponentContainerContext } from './cascading-component-container-context.js';
|
|
4
|
+
|
|
5
|
+
function useCascadingComponentContainer() {
|
|
6
|
+
return useContext(CascadingComponentContainerContext);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { useCascadingComponentContainer };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useCascadingComponentContainer } from './use-cascading-component-container.js';
|
|
3
|
+
|
|
4
|
+
function useCascadingComponent() {
|
|
5
|
+
const context = useCascadingComponentContainer();
|
|
6
|
+
if (!context) {
|
|
7
|
+
throw new Error('useCascadingComponent must be used within a CascadingComponentProvider');
|
|
8
|
+
}
|
|
9
|
+
return {
|
|
10
|
+
close: context.close,
|
|
11
|
+
closeChildCascadingComponents: context.closeChildCascadingComponents,
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { useCascadingComponent };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useHasCascadingComponentContainer(): boolean;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useRef, useState } from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { Link } from '../../buttons/link/link.js';
|
|
6
|
+
import { Icon } from '../../icon/icon.js';
|
|
7
|
+
import { FormattedMessage } from '../../intl/formatted-message.js';
|
|
8
|
+
import { useDisclosure } from '../../shared/hooks/use-disclosure.js';
|
|
9
|
+
import { useInert } from '../../shared/hooks/use-inert.js';
|
|
10
|
+
import { useResizeObserver } from '../../shared/hooks/use-resize-observer.js';
|
|
11
|
+
import styles from './show-all.module.css.js';
|
|
12
|
+
|
|
13
|
+
function ShowAll({ children, hasTransparency = true, initialHeight = 0, initialIsOpen = false, isOpen: isControlledOpen, onToggle, }) {
|
|
14
|
+
const isControlled = isControlledOpen !== undefined && onToggle !== undefined;
|
|
15
|
+
const { isOpen, toggle } = useDisclosure(initialIsOpen);
|
|
16
|
+
const showAllRef = useRef(null);
|
|
17
|
+
const isReallyOpen = isControlled ? isControlledOpen : isOpen;
|
|
18
|
+
const { ref: panelRef } = useInert(isReallyOpen);
|
|
19
|
+
const [contentFits, setContentFits] = useState(false);
|
|
20
|
+
const { ref } = useResizeObserver((_target, size) => {
|
|
21
|
+
setContentFits((size.height || 0) <= initialHeight);
|
|
22
|
+
});
|
|
23
|
+
return (jsxs("div", { ref: showAllRef, className: clsx(styles['show-all'], {
|
|
24
|
+
[styles['content-fits']]: contentFits,
|
|
25
|
+
[styles['is-open']]: isReallyOpen,
|
|
26
|
+
}), style: contentFits ? undefined : { '--initial-height': `${initialHeight}px` }, children: [jsx("div", { className: styles.panel, children: jsx("div", { ref: panelRef, className: clsx(styles.content, {
|
|
27
|
+
[styles['has-transparency']]: !contentFits && hasTransparency,
|
|
28
|
+
}), children: jsx("div", { ref: ref, "aria-hidden": !isReallyOpen.toString(), children: children }) }) }), !contentFits && (jsxs(Link, { className: styles.button, color: "secondary", onClick: () => {
|
|
29
|
+
if (isControlled)
|
|
30
|
+
return onToggle(!isControlled);
|
|
31
|
+
toggle();
|
|
32
|
+
}, children: [jsx(Icon, { className: styles.icon, name: "ArrowDown", size: "xxs" }), isReallyOpen ? (jsx(FormattedMessage, { id: "Show less" })) : (jsx(FormattedMessage, { id: "Show all" }))] }))] }));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { ShowAll };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"show-all":"show-all-module-BDp21","panel":"show-all-module-bEdda","content":"show-all-module-RF--F","has-transparency":"show-all-module-30y7l","button":"show-all-module-58e7Q","icon":"show-all-module-fqncI","is-open":"show-all-module-hQeGI","content-fits":"show-all-module-OhPfm"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface UnmounterContextType {
|
|
3
|
+
registerChild: () => void;
|
|
4
|
+
unmount: boolean;
|
|
5
|
+
unregisterChild: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const UnmounterContext: React.Context<UnmounterContextType | null>;
|
|
8
|
+
export declare function useUnmount(): UnmounterContextType | null;
|
|
9
|
+
export declare function Unmounter({ children: children, onUnmounted, onUnmountReady, unmount: _unmount, }: {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
onUnmountReady?: () => void;
|
|
12
|
+
onUnmounted?: () => void;
|
|
13
|
+
unmount?: boolean;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { createContext, useState, useEffect, useMemo, useContext } from 'react';
|
|
4
|
+
|
|
5
|
+
const UnmounterContext = createContext(null);
|
|
6
|
+
function useUnmount() {
|
|
7
|
+
const context = useContext(UnmounterContext);
|
|
8
|
+
return context;
|
|
9
|
+
}
|
|
10
|
+
function Unmounter({ children: children, onUnmounted, onUnmountReady, unmount: _unmount = false, }) {
|
|
11
|
+
const parentContext = useUnmount();
|
|
12
|
+
const [hadChildren, setHadChildren] = useState(false);
|
|
13
|
+
const [childCount, updateChildCount] = useState(0);
|
|
14
|
+
const unmount = Boolean(_unmount || parentContext?.unmount);
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
return onUnmounted;
|
|
17
|
+
}, [onUnmounted]);
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
if (!parentContext)
|
|
20
|
+
return;
|
|
21
|
+
parentContext.registerChild();
|
|
22
|
+
return () => {
|
|
23
|
+
parentContext.unregisterChild();
|
|
24
|
+
};
|
|
25
|
+
}, [parentContext]);
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
if (!unmount || (hadChildren && childCount > 0))
|
|
28
|
+
return;
|
|
29
|
+
onUnmountReady?.();
|
|
30
|
+
}, [unmount, childCount, hadChildren, onUnmountReady]);
|
|
31
|
+
const value = useMemo(() => {
|
|
32
|
+
return {
|
|
33
|
+
registerChild: () => {
|
|
34
|
+
setHadChildren(true);
|
|
35
|
+
updateChildCount(count => count + 1);
|
|
36
|
+
},
|
|
37
|
+
unmount,
|
|
38
|
+
unregisterChild: () => updateChildCount(count => count - 1),
|
|
39
|
+
};
|
|
40
|
+
}, [unmount]);
|
|
41
|
+
return (jsx(UnmounterContext.Provider, { value: value, children: children }));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { Unmounter, UnmounterContext, useUnmount };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type RefHTMLElement<TElement extends HTMLElement> = TElement | undefined;
|
|
2
|
+
export declare function createAddEndListener<TElement extends HTMLElement, RefElement extends RefHTMLElement<TElement> = undefined>(nodeRef: React.Ref<RefElement>): (doneOrNode: VoidFunction | HTMLElement, done?: VoidFunction) => void;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
function createAddEndListener(nodeRef) {
|
|
2
|
+
return function addEndListener(doneOrNode, done) {
|
|
3
|
+
if (done === undefined) {
|
|
4
|
+
if (typeof doneOrNode === 'function') {
|
|
5
|
+
if (nodeRef && 'current' in nodeRef && nodeRef.current) {
|
|
6
|
+
return nodeRef.current.addEventListener('transitionend', event => {
|
|
7
|
+
if (event.target === nodeRef.current)
|
|
8
|
+
doneOrNode();
|
|
9
|
+
}, false);
|
|
10
|
+
}
|
|
11
|
+
throw new Error('Unsupported CSSTransition addEndListener function call');
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
else if (typeof doneOrNode !== 'function') {
|
|
15
|
+
return doneOrNode.addEventListener('transitionend', done, false);
|
|
16
|
+
}
|
|
17
|
+
throw new Error('Unsupported CSSTransition addEndListener function call');
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { createAddEndListener };
|