@sonic-equipment/ui 0.0.51 → 0.0.53
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/.storybook/RenderHook.d.ts +1 -0
- package/dist/index.d.ts +32 -54
- package/dist/index.js +789 -435
- package/dist/src/algolia/algolia-product-overview.d.ts +1 -0
- package/dist/{algolia → src/algolia}/algolia-provider.d.ts +3 -2
- package/dist/{algolia → src/algolia}/algolia-query-string-routing.d.ts +1 -1
- package/dist/{buttons → src/buttons}/button/button.d.ts +1 -1
- package/dist/{buttons → src/buttons}/button/button.stories.d.ts +1 -1
- package/dist/src/buttons/favorite/favorite-button.d.ts +6 -0
- package/dist/{forms → src/forms}/select/select.d.ts +3 -1
- package/dist/{forms → src/forms}/text-field/text-field.d.ts +2 -1
- package/dist/{global-search → src/global-search}/plugins/quick-access-plugin.d.ts +6 -4
- package/dist/src/index.d.ts +68 -0
- package/dist/src/intl/translation-id.d.ts +1 -0
- package/dist/src/intl/use-formatted-message.stories.d.ts +15 -0
- package/dist/src/modals/dialog/dialog.d.ts +18 -0
- package/dist/src/modals/dialog/dialog.stories.d.ts +44 -0
- package/dist/src/modals/favorite/add-to-favorite-dialog.d.ts +7 -0
- package/dist/src/modals/favorite/add-to-favorite-dialog.stories.d.ts +12 -0
- package/dist/src/modals/modal/modal.d.ts +10 -0
- package/dist/src/modals/modal/modal.stories.d.ts +34 -0
- package/dist/src/modals/signin/sign-in-dialog.d.ts +6 -0
- package/dist/src/modals/signin/sign-in-dialog.stories.d.ts +19 -0
- package/dist/{overlay-background → src/overlay-background}/overlay-background.d.ts +1 -1
- package/dist/src/pages/search-result-page/search-results-page.d.ts +13 -0
- package/dist/src/pages/search-result-page/search-results-page.stories.d.ts +22 -0
- package/dist/{shared → src/shared}/api/bff/hooks/use-fetch-product-listing-page-data.d.ts +0 -4
- package/dist/src/shared/api/shop/hooks/authentication/authentication.stories.d.ts +13 -0
- package/dist/src/shared/api/shop/hooks/authentication/use-is-authenticated.d.ts +1 -0
- package/dist/src/shared/api/shop/hooks/authentication/use-session.d.ts +2 -0
- package/dist/src/shared/api/shop/hooks/authentication/use-sign-in.d.ts +11 -0
- package/dist/src/shared/api/shop/hooks/authentication/use-sign-out.d.ts +1 -0
- package/dist/{shared → src/shared}/api/shop/hooks/cart/cart.stories.d.ts +1 -3
- package/dist/{shared → src/shared}/api/shop/hooks/cart/use-add-product-to-current-cart.d.ts +0 -4
- package/dist/src/shared/api/shop/hooks/cart/use-delete-cart-line-by-id.d.ts +1 -0
- package/dist/src/shared/api/shop/hooks/cart/use-fetch-current-cart-lines.d.ts +2 -0
- package/dist/{shared → src/shared}/api/shop/hooks/cart/use-update-cart-line-by-id.d.ts +0 -4
- package/dist/src/shared/api/shop/hooks/wishlist/use-add-wishlist-item-to-wishlist.d.ts +6 -0
- package/dist/src/shared/api/shop/hooks/wishlist/use-add-wishlist.d.ts +8 -0
- package/dist/src/shared/api/shop/hooks/wishlist/use-delete-wishlist-item.d.ts +6 -0
- package/dist/src/shared/api/shop/hooks/wishlist/use-fetch-all-wishlists-items.d.ts +2 -0
- package/dist/src/shared/api/shop/hooks/wishlist/use-fetch-wishlists.d.ts +2 -0
- package/dist/src/shared/api/shop/hooks/wishlist/wishlist.stories.d.ts +10 -0
- package/dist/src/shared/fetch/request.d.ts +91 -0
- package/dist/src/shared/providers/favorite-provider.d.ts +15 -0
- package/dist/styles.css +175 -8
- package/package.json +3 -3
- package/dist/buttons/favorite/favorite-button.d.ts +0 -5
- package/dist/intl/translation-id.d.ts +0 -1
- package/dist/shared/api/shop/hooks/cart/use-delete-cart-line-by-id.d.ts +0 -5
- package/dist/shared/api/shop/hooks/cart/use-fetch-current-cart-lines.d.ts +0 -6
- package/dist/shared/fetch/ResponseError.d.ts +0 -9
- package/dist/shared/providers/favorite-provider.d.ts +0 -10
- /package/dist/{algolia → src/algolia}/algolia-active-categories.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-active-filters.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-categories-filters.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-filter-panel.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-filter-section.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-index-config.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-insights-provider.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-intialization.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-multi-select-filter-section.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-pagination.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-product-hit-type.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-results-count.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-search-provider.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-searchclient-offline.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-sonic-searchclient.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/algolia-sort-by.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/filter-section.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/use-algolia-insights-provider-global-state.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/use-algolia-insights.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/use-algolia-product-hits.d.ts +0 -0
- /package/dist/{algolia → src/algolia}/use-algolia-search.d.ts +0 -0
- /package/dist/{badges → src/badges}/tag/tag.d.ts +0 -0
- /package/dist/{badges → src/badges}/tag/tag.stories.d.ts +0 -0
- /package/dist/{breadcrumbs → src/breadcrumbs}/breadcrumb.d.ts +0 -0
- /package/dist/{breadcrumbs → src/breadcrumbs}/breadcrumb.stories.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/add-to-cart-button/add-to-cart-button.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/add-to-cart-button/add-to-cart-button.stories.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/add-to-cart-button/connected-add-to-cart-button.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/favorite/connected-favorite-button.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/favorite/favorite-button.stories.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/icon-button/icon-button.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/icon-button/icon-button.stories.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/link-button/link-button.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/link-button/link-button.stories.d.ts +0 -0
- /package/dist/{cards → src/cards}/category-card/category-card.d.ts +0 -0
- /package/dist/{cards → src/cards}/category-card/category-card.stories.d.ts +0 -0
- /package/dist/{cards → src/cards}/product-card/connected-product-cart.d.ts +0 -0
- /package/dist/{cards → src/cards}/product-card/product-card.d.ts +0 -0
- /package/dist/{cards → src/cards}/product-card/product-card.stories.d.ts +0 -0
- /package/dist/{carousel → src/carousel}/carousel-navigation-button.d.ts +0 -0
- /package/dist/{carousel → src/carousel}/carousel.d.ts +0 -0
- /package/dist/{carousel → src/carousel}/category-carousel/category-carousel.d.ts +0 -0
- /package/dist/{carousel → src/carousel}/category-carousel/category-carousel.stories.d.ts +0 -0
- /package/dist/{carousel → src/carousel}/category-carousel/connected-category-carousel.d.ts +0 -0
- /package/dist/{carousel → src/carousel}/product-carousel/product-carousel.d.ts +0 -0
- /package/dist/{collapsables → src/collapsables}/accordion/accordion-item.d.ts +0 -0
- /package/dist/{collapsables → src/collapsables}/accordion/accordion.d.ts +0 -0
- /package/dist/{collapsables → src/collapsables}/accordion/accordion.stories.d.ts +0 -0
- /package/dist/{collapsables → src/collapsables}/show-all/show-all.d.ts +0 -0
- /package/dist/{collapsables → src/collapsables}/show-all/show-all.stories.d.ts +0 -0
- /package/dist/{config.d.ts → src/config.d.ts} +0 -0
- /package/dist/{display → src/display}/product-price/product-price.d.ts +0 -0
- /package/dist/{display → src/display}/product-price/product-price.stories.d.ts +0 -0
- /package/dist/{display → src/display}/product-sku/product-sku.d.ts +0 -0
- /package/dist/{display → src/display}/product-sku/product-sku.stories.d.ts +0 -0
- /package/dist/{filters → src/filters}/active-filters/active-filters.d.ts +0 -0
- /package/dist/{filters → src/filters}/active-filters/active-filters.stories.d.ts +0 -0
- /package/dist/{filters → src/filters}/multi-select/multi-select.d.ts +0 -0
- /package/dist/{filters → src/filters}/multi-select/multi-select.stories.d.ts +0 -0
- /package/dist/{filters → src/filters}/pagination/pagination.d.ts +0 -0
- /package/dist/{filters → src/filters}/pagination/pagination.stories.d.ts +0 -0
- /package/dist/{forms → src/forms}/checkbox/checkbox.d.ts +0 -0
- /package/dist/{forms → src/forms}/checkbox/checkbox.stories.d.ts +0 -0
- /package/dist/{forms → src/forms}/color-checkbox/color-checkbox.d.ts +0 -0
- /package/dist/{forms → src/forms}/color-checkbox/color-checkbox.stories.d.ts +0 -0
- /package/dist/{forms → src/forms}/field-error/field-error.d.ts +0 -0
- /package/dist/{forms → src/forms}/field-error/field-error.stories.d.ts +0 -0
- /package/dist/{forms → src/forms}/input/input.d.ts +0 -0
- /package/dist/{forms → src/forms}/input/input.stories.d.ts +0 -0
- /package/dist/{forms → src/forms}/label/label.d.ts +0 -0
- /package/dist/{forms → src/forms}/label/label.stories.d.ts +0 -0
- /package/dist/{forms → src/forms}/number-field/number-field.d.ts +0 -0
- /package/dist/{forms → src/forms}/number-field/number-field.stories.d.ts +0 -0
- /package/dist/{forms → src/forms}/select/select.stories.d.ts +0 -0
- /package/dist/{forms → src/forms}/text-field/text-field.stories.d.ts +0 -0
- /package/dist/{forms → src/forms}/textarea/textarea.d.ts +0 -0
- /package/dist/{forms → src/forms}/textarea/textarea.stories.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/categories-grid/categories-grid.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/global-search-provider/global-search-container.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/global-search-provider/use-search-disclosure.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/global-search.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/global-search.stories.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/plugins/categories-plugin.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/plugins/popular-categories-plugin.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/plugins/popular-searches-plugin.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/plugins/products-plugin.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/plugins/query-suggestions-plugin.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/plugins/recent-searches-plugin.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-highlight/highlight.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-input/connected-search-input.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-input/search-input.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-input/search-input.stories.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-result-panel/panel-content.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-result-panel/search-result-panel.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-result-panel/sections/no-results.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-result-panel/sections/no-search.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-result-panel/sections/section-container.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-result-panel/sections/with-results.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-root/search-root.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-section/search-list-item.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-section/search-list.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/search-section/search-section.d.ts +0 -0
- /package/dist/{global-search → src/global-search}/types.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-black-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-black-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-blackcaps-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-blackcaps-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-bold-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-bold-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-boldcaps-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-boldcaps-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-regular-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-regular-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-regularcaps-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-regularcaps-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-semibold-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-semibold-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-semiboldcaps-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-semiboldcaps-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-thin-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-thin-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-thincaps-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-arrow-thincaps-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-chevrons-bold-down-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-chevrons-bold-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-chevrons-bold-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-chevrons-bold-up-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-chevrons-slim-down-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-chevrons-slim-left-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-chevrons-slim-right-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/glyph/glyphs-chevrons-slim-up-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/career-innovate-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/career-proactive-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/career-teamplayer-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/fallback-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/some-facebook-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/some-instagram-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/some-linkedin-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/some-mail-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/some-youtube-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/usp-efficiency-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/usp-style-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/usp-support-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/warranty-10y-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/warranty-1y-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/warranty-3y-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/warranty-5y-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/warranty-consumable-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/other/warranty-lifetime-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-attention-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-business-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-cart-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-clock-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-close-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-download-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-favorite-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-home-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-information-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-login-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-notice-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-okay-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-rating-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-tag-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-trash-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-updateuser-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-vote-thumbsdown-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/solid/solid-vote-thumbsup-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-attention-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-business-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-cart-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-categories-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-checkmark-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-clock-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-close-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-closebox-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-closemenu-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-collapse-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-dehashed-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-download-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-expand-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-favorite-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-filter-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-hashed-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-home-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-information-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-login-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-menu-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-notice-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-okay-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-rating-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-recent-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-search-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-tag-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-trash-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-updateuser-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-vote-thumbsdown-icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/stroke/stroke-vote-thumbsup-icon.d.ts +0 -0
- /package/dist/{intl → src/intl}/formatted-message.d.ts +0 -0
- /package/dist/{intl → src/intl}/formatted-message.stories.d.ts +0 -0
- /package/dist/{intl → src/intl}/intl-context.d.ts +0 -0
- /package/dist/{intl → src/intl}/intl-provider.d.ts +0 -0
- /package/dist/{intl → src/intl}/types.d.ts +0 -0
- /package/dist/{intl → src/intl}/use-format-message.d.ts +0 -0
- /package/dist/{intl → src/intl}/use-language-code.d.ts +0 -0
- /package/dist/{lists → src/lists}/product-overview-grid/product-overview-grid.d.ts +0 -0
- /package/dist/{lists → src/lists}/product-overview-grid/product-overview-grid.stories.d.ts +0 -0
- /package/dist/{loading → src/loading}/loading-overlay.d.ts +0 -0
- /package/dist/{loading → src/loading}/progress-circle.d.ts +0 -0
- /package/dist/{loading → src/loading}/progress-circle.stories.d.ts +0 -0
- /package/dist/{media → src/media}/image/image.d.ts +0 -0
- /package/dist/{media → src/media}/image/image.stories.d.ts +0 -0
- /package/dist/{pages → src/pages}/page/page.d.ts +0 -0
- /package/dist/{pages → src/pages}/page/page.stories.d.ts +0 -0
- /package/dist/{pages → src/pages}/page-container/page-container.d.ts +0 -0
- /package/dist/{pages → src/pages}/page-container/page-container.stories.d.ts +0 -0
- /package/dist/{pages → src/pages}/product-listing-page/product-listing-page-data-types.d.ts +0 -0
- /package/dist/{pages → src/pages}/product-listing-page/product-listing-page-provider/product-listing-page-context.d.ts +0 -0
- /package/dist/{pages → src/pages}/product-listing-page/product-listing-page-provider/product-listing-page-provider.d.ts +0 -0
- /package/dist/{pages → src/pages}/product-listing-page/product-listing-page-provider/use-subcategories.d.ts +0 -0
- /package/dist/{pages → src/pages}/product-listing-page/product-listing-page.d.ts +0 -0
- /package/dist/{pages → src/pages}/product-listing-page/product-listing-page.stories.d.ts +0 -0
- /package/dist/{promos → src/promos}/promo-card/promo-card.d.ts +0 -0
- /package/dist/{promos → src/promos}/promo-card/promo-card.stories.d.ts +0 -0
- /package/dist/{promos → src/promos}/promo-cards/promo-cards.d.ts +0 -0
- /package/dist/{promos → src/promos}/promo-cards/promo-cards.stories.d.ts +0 -0
- /package/dist/{shared → src/shared}/api/bff/hooks/use-fetch-product-listing-page-data.stories.d.ts +0 -0
- /package/dist/{shared → src/shared}/api/bff/model/bff.model.d.ts +0 -0
- /package/dist/{shared → src/shared}/api/shop/model/shop.model.d.ts +0 -0
- /package/dist/{shared → src/shared}/hooks/use-breakpoint.d.ts +0 -0
- /package/dist/{shared → src/shared}/hooks/use-debounced-callback.d.ts +0 -0
- /package/dist/{shared → src/shared}/hooks/use-disclosure.d.ts +0 -0
- /package/dist/{shared → src/shared}/hooks/use-is-breakpoint.d.ts +0 -0
- /package/dist/{shared → src/shared}/hooks/use-scroll-lock.d.ts +0 -0
- /package/dist/{shared → src/shared}/hooks/use-scroll-to.d.ts +0 -0
- /package/dist/{shared → src/shared}/model/cart.d.ts +0 -0
- /package/dist/{shared → src/shared}/model/category.d.ts +0 -0
- /package/dist/{shared → src/shared}/model/image.d.ts +0 -0
- /package/dist/{shared → src/shared}/model/price.d.ts +0 -0
- /package/dist/{shared → src/shared}/model/product-hit.d.ts +0 -0
- /package/dist/{shared → src/shared}/providers/cart-provider.d.ts +0 -0
- /package/dist/{shared → src/shared}/providers/global-state-provider.d.ts +0 -0
- /package/dist/{shared → src/shared}/routing/route-button.d.ts +0 -0
- /package/dist/{shared → src/shared}/routing/route-link.d.ts +0 -0
- /package/dist/{shared → src/shared}/routing/route-provider.d.ts +0 -0
- /package/dist/{shared → src/shared}/routing/route-provider.stories.d.ts +0 -0
- /package/dist/{shared → src/shared}/utils/breakpoints.d.ts +0 -0
- /package/dist/{shared → src/shared}/utils/cookies.d.ts +0 -0
- /package/dist/{shared → src/shared}/utils/environment.d.ts +0 -0
- /package/dist/{shared → src/shared}/utils/event-emitter.d.ts +0 -0
- /package/dist/{shared → src/shared}/utils/wait.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/sidebar-provider.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/sidebar.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/sidebar.stories.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/toggle-sidebar-button.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/types.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/use-sidebar.d.ts +0 -0
- /package/dist/{tokens → src/tokens}/tokens.d.ts +0 -0
- /package/dist/{typography → src/typography}/heading/heading.d.ts +0 -0
- /package/dist/{typography → src/typography}/heading/heading.stories.d.ts +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
onFavoriteAdded: () => void;
|
|
3
|
+
onFavoriteListAdded: () => void;
|
|
4
|
+
onFavoriteRemoved: () => void;
|
|
5
|
+
signInUrl: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function FavoriteProvider(props: Props): null;
|
|
8
|
+
export declare function useFavorite(): {
|
|
9
|
+
signInUrl: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function useFavoriteProduct(productId: string): {
|
|
12
|
+
isFavorite: boolean;
|
|
13
|
+
isFetching: boolean;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
package/dist/styles.css
CHANGED
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
--carousel-layer: 10;
|
|
214
214
|
--sidebar-layer: 100;
|
|
215
215
|
--search-layer: 200;
|
|
216
|
+
--modal-layer: 300;
|
|
216
217
|
--header-layer: 15;
|
|
217
218
|
}
|
|
218
219
|
|
|
@@ -356,7 +357,7 @@
|
|
|
356
357
|
color: var(--color-brand-white);
|
|
357
358
|
}
|
|
358
359
|
|
|
359
|
-
.button-module-tmyk8:where(.button-module-vq9GI, .button-module-AjvlY):where([data-hovered], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module-tmyk8:where(.button-module-vq9GI, .button-module-AjvlY):where([data-pressed]) {
|
|
360
|
+
.button-module-tmyk8:where(.button-module-vq9GI, .button-module-AjvlY):where([data-focused], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module-tmyk8:where(.button-module-vq9GI, .button-module-AjvlY):where([data-hovered], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module-tmyk8:where(.button-module-vq9GI, .button-module-AjvlY):where([data-pressed]) {
|
|
360
361
|
background-color: var(--color-brand-dark-red);
|
|
361
362
|
}
|
|
362
363
|
|
|
@@ -364,7 +365,7 @@
|
|
|
364
365
|
color: var(--color-brand-black);
|
|
365
366
|
}
|
|
366
367
|
|
|
367
|
-
.button-module-tmyk8:where(.button-module-f4UVe):where([data-hovered], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module-tmyk8:where(.button-module-f4UVe):where([data-pressed]) {
|
|
368
|
+
.button-module-tmyk8:where(.button-module-f4UVe):where([data-focused], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module-tmyk8:where(.button-module-f4UVe):where([data-hovered], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module-tmyk8:where(.button-module-f4UVe):where([data-pressed]) {
|
|
368
369
|
color: var(--color-brand-red);
|
|
369
370
|
}
|
|
370
371
|
|
|
@@ -388,7 +389,7 @@
|
|
|
388
389
|
color: var(--color-brand-black);
|
|
389
390
|
}
|
|
390
391
|
|
|
391
|
-
.button-module--1bCH:where(.button-module-vq9GI, .button-module-AjvlY):where([data-hovered], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module--1bCH:where(.button-module-vq9GI, .button-module-AjvlY):where([data-pressed]) {
|
|
392
|
+
.button-module--1bCH:where(.button-module-vq9GI, .button-module-AjvlY):where([data-focused], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module--1bCH:where(.button-module-vq9GI, .button-module-AjvlY):where([data-hovered], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module--1bCH:where(.button-module-vq9GI, .button-module-AjvlY):where([data-pressed]) {
|
|
392
393
|
background-color: var(--color-brand-light-gray);
|
|
393
394
|
}
|
|
394
395
|
|
|
@@ -396,7 +397,7 @@
|
|
|
396
397
|
color: var(--color-brand-black);
|
|
397
398
|
}
|
|
398
399
|
|
|
399
|
-
.button-module--1bCH:where(.button-module-f4UVe):where([data-hovered], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module--1bCH:where(.button-module-f4UVe):where([data-pressed]) {
|
|
400
|
+
.button-module--1bCH:where(.button-module-f4UVe):where([data-focused], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module--1bCH:where(.button-module-f4UVe):where([data-hovered], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module--1bCH:where(.button-module-f4UVe):where([data-pressed]) {
|
|
400
401
|
color: var(--color-brand-red);
|
|
401
402
|
}
|
|
402
403
|
|
|
@@ -404,7 +405,7 @@
|
|
|
404
405
|
border: 1px solid var(--color-brand-medium-gray);
|
|
405
406
|
}
|
|
406
407
|
|
|
407
|
-
.button-module--1bCH:where(.button-module-vq9GI):where([data-hovered], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module--1bCH:where(.button-module-vq9GI):where([data-pressed]) {
|
|
408
|
+
.button-module--1bCH:where(.button-module-vq9GI):where([data-focused], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module--1bCH:where(.button-module-vq9GI):where([data-hovered], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module--1bCH:where(.button-module-vq9GI):where([data-pressed]) {
|
|
408
409
|
border-color: var(--color-brand-light-gray);
|
|
409
410
|
}
|
|
410
411
|
|
|
@@ -517,7 +518,6 @@
|
|
|
517
518
|
color: var(--color-brand-red);
|
|
518
519
|
cursor: pointer;
|
|
519
520
|
font: inherit;
|
|
520
|
-
font-size: var(--font-size-14);
|
|
521
521
|
gap: var(--space-4);
|
|
522
522
|
}
|
|
523
523
|
|
|
@@ -1518,6 +1518,7 @@
|
|
|
1518
1518
|
|
|
1519
1519
|
.show-all-module-BDp21 .show-all-module-58e7Q {
|
|
1520
1520
|
margin-top: var(--space-8);
|
|
1521
|
+
font-size: var(--font-size-14);
|
|
1521
1522
|
}
|
|
1522
1523
|
|
|
1523
1524
|
.show-all-module-BDp21 .show-all-module-58e7Q .show-all-module-fqncI {
|
|
@@ -1687,6 +1688,10 @@
|
|
|
1687
1688
|
--height: var(--space-44);
|
|
1688
1689
|
}
|
|
1689
1690
|
|
|
1691
|
+
.select-module-ui-Wc.select-module-IRd4F button {
|
|
1692
|
+
background-color: var(--color-brand-light-gray);
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1690
1695
|
.select-module-aMQIQ {
|
|
1691
1696
|
all: unset;
|
|
1692
1697
|
position: relative;
|
|
@@ -1739,6 +1744,10 @@
|
|
|
1739
1744
|
padding-block: var(--space-8);
|
|
1740
1745
|
}
|
|
1741
1746
|
|
|
1747
|
+
.select-module-z8cWq.select-module-IRd4F {
|
|
1748
|
+
background-color: var(--color-brand-light-gray);
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1742
1751
|
.select-module-S21ba {
|
|
1743
1752
|
outline: none;
|
|
1744
1753
|
}
|
|
@@ -1834,7 +1843,7 @@
|
|
|
1834
1843
|
all: unset;
|
|
1835
1844
|
display: inline-flex;
|
|
1836
1845
|
flex-direction: column;
|
|
1837
|
-
align-items:
|
|
1846
|
+
align-items: normal;
|
|
1838
1847
|
gap: var(--space-4);
|
|
1839
1848
|
}
|
|
1840
1849
|
|
|
@@ -2063,6 +2072,10 @@
|
|
|
2063
2072
|
justify-content: space-between;
|
|
2064
2073
|
}
|
|
2065
2074
|
|
|
2075
|
+
.filter-section-module-q1Ob8 .filter-section-module-zi2ZE button {
|
|
2076
|
+
font-size: var(--font-size-14);
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2066
2079
|
.filter-section-module-q1Ob8 .filter-section-module-hWVv- {
|
|
2067
2080
|
font-size: var(--font-size-16);
|
|
2068
2081
|
font-weight: var(--font-weight-bold);
|
|
@@ -2169,6 +2182,122 @@
|
|
|
2169
2182
|
height: 12px;
|
|
2170
2183
|
}
|
|
2171
2184
|
|
|
2185
|
+
.modal-module-rVFJc {
|
|
2186
|
+
position: fixed;
|
|
2187
|
+
z-index: calc(var(--modal-layer) - 1);
|
|
2188
|
+
top: 0;
|
|
2189
|
+
left: 0;
|
|
2190
|
+
display: flex;
|
|
2191
|
+
width: 100vw;
|
|
2192
|
+
height: var(--visual-viewport-height);
|
|
2193
|
+
align-items: center;
|
|
2194
|
+
justify-content: center;
|
|
2195
|
+
-webkit-backdrop-filter: blur(4px);
|
|
2196
|
+
backdrop-filter: blur(4px);
|
|
2197
|
+
background-color: rgb(0 0 0 / 52%);
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
.modal-module-rVFJc[data-entering] {
|
|
2201
|
+
animation: modal-module-63Uyl 200ms;
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
.modal-module-rVFJc[data-exiting] {
|
|
2205
|
+
animation: modal-module-63Uyl 150ms reverse ease-in;
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2208
|
+
.modal-module-6vlFt {
|
|
2209
|
+
position: relative;
|
|
2210
|
+
z-index: calc(var(--modal-layer) - 1);
|
|
2211
|
+
min-width: 300px;
|
|
2212
|
+
max-width: 90%;
|
|
2213
|
+
border: 1px solid var(--gray-400);
|
|
2214
|
+
border-radius: 6px;
|
|
2215
|
+
background: var(--color-white);
|
|
2216
|
+
box-shadow: 0 8px 20px rgba(0 0 0 / 10%);
|
|
2217
|
+
color: var(--text-color);
|
|
2218
|
+
outline: none;
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
.modal-module-6vlFt section:focus-visible,
|
|
2222
|
+
.modal-module-6vlFt section:focus {
|
|
2223
|
+
outline: none;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
.modal-module-6vlFt[data-entering] {
|
|
2227
|
+
animation: modal-module-aPJ7X 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
@keyframes modal-module-63Uyl {
|
|
2231
|
+
from {
|
|
2232
|
+
opacity: 0;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
to {
|
|
2236
|
+
opacity: 1;
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2240
|
+
@keyframes modal-module-aPJ7X {
|
|
2241
|
+
from {
|
|
2242
|
+
transform: scale(0.8);
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
to {
|
|
2246
|
+
transform: scale(1);
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
.dialog-module-ZnsAe {
|
|
2251
|
+
display: flex;
|
|
2252
|
+
align-items: center;
|
|
2253
|
+
justify-content: space-between;
|
|
2254
|
+
border-bottom: 1px solid #e0e0e0;
|
|
2255
|
+
gap: 8px;
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
.dialog-module-ZnsAe .dialog-module-SwpuZ {
|
|
2259
|
+
padding: 1rem;
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
.dialog-module-ZnsAe .dialog-module-Y7Tqg {
|
|
2263
|
+
align-self: flex-start;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
.dialog-module-Koqia {
|
|
2267
|
+
padding: 1rem;
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
.dialog-module-y7Axm {
|
|
2271
|
+
display: flex;
|
|
2272
|
+
align-items: center;
|
|
2273
|
+
justify-content: end;
|
|
2274
|
+
padding: 1rem;
|
|
2275
|
+
border-top: 1px solid #e0e0e0;
|
|
2276
|
+
gap: 8px;
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
.add-to-favorite-dialog-module-WJYMb {
|
|
2280
|
+
display: flex;
|
|
2281
|
+
flex-direction: column;
|
|
2282
|
+
gap: 1rem;
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
.add-to-favorite-dialog-module--0-Ln {
|
|
2286
|
+
display: flex;
|
|
2287
|
+
flex-direction: row-reverse;
|
|
2288
|
+
justify-content: flex-end;
|
|
2289
|
+
gap: 1rem;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
.add-to-favorite-dialog-module-ZAuzE {
|
|
2293
|
+
display: flex;
|
|
2294
|
+
min-height: 66px;
|
|
2295
|
+
align-items: center;
|
|
2296
|
+
justify-content: center;
|
|
2297
|
+
font-weight: bold;
|
|
2298
|
+
gap: 1rem;
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2172
2301
|
.category-card-module-4NUjH {
|
|
2173
2302
|
all: unset;
|
|
2174
2303
|
display: grid;
|
|
@@ -2637,6 +2766,9 @@
|
|
|
2637
2766
|
}
|
|
2638
2767
|
|
|
2639
2768
|
.search-section-module-qaTiw {
|
|
2769
|
+
--padding-inline: var(--space-16);
|
|
2770
|
+
--padding-block: var(--space-20);
|
|
2771
|
+
|
|
2640
2772
|
display: grid;
|
|
2641
2773
|
padding-block: var(--padding-block);
|
|
2642
2774
|
padding-inline: var(--padding-inline);
|
|
@@ -2667,7 +2799,6 @@
|
|
|
2667
2799
|
--padding-block: var(--space-20);
|
|
2668
2800
|
|
|
2669
2801
|
display: grid;
|
|
2670
|
-
gap: var(--space-24);
|
|
2671
2802
|
grid-template-columns: 1fr;
|
|
2672
2803
|
}
|
|
2673
2804
|
|
|
@@ -2770,6 +2901,42 @@
|
|
|
2770
2901
|
font-weight: var(--font-weight-bold);
|
|
2771
2902
|
}
|
|
2772
2903
|
|
|
2904
|
+
.no-search-module-87NKV {
|
|
2905
|
+
position: relative;
|
|
2906
|
+
left: -16px;
|
|
2907
|
+
display: inline-block;
|
|
2908
|
+
overflow: hidden;
|
|
2909
|
+
width: calc(100% + var(--space-32));
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
.no-search-module-87NKV .no-search-module-beCXI {
|
|
2913
|
+
padding-inline: var(--space-16);
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2916
|
+
.no-search-module-87NKV .no-search-module-dtT5J {
|
|
2917
|
+
display: block;
|
|
2918
|
+
width: 153px;
|
|
2919
|
+
height: 272px;
|
|
2920
|
+
cursor: pointer;
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
@media (width >= 768px) {
|
|
2924
|
+
.no-search-module-87NKV {
|
|
2925
|
+
position: static;
|
|
2926
|
+
left: unset;
|
|
2927
|
+
width: 100%;
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
.no-search-module-87NKV .no-search-module-beCXI {
|
|
2931
|
+
padding-inline: 0;
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
.no-search-module-87NKV .no-search-module-dtT5J {
|
|
2935
|
+
width: 192px;
|
|
2936
|
+
height: 343px;
|
|
2937
|
+
}
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2773
2940
|
.product-carousel-module-XVTB1 {
|
|
2774
2941
|
--slide-width: 154px;
|
|
2775
2942
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonic-equipment/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.53",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -46,8 +46,7 @@
|
|
|
46
46
|
"react": "^18",
|
|
47
47
|
"react-dom": "^18",
|
|
48
48
|
"react-instantsearch": "^7",
|
|
49
|
-
"react-instantsearch-core": "^7"
|
|
50
|
-
"search-insights": "^2"
|
|
49
|
+
"react-instantsearch-core": "^7"
|
|
51
50
|
},
|
|
52
51
|
"devDependencies": {
|
|
53
52
|
"@chromatic-com/storybook": "^1.6.1",
|
|
@@ -126,6 +125,7 @@
|
|
|
126
125
|
"algoliasearch": "^4.24.0",
|
|
127
126
|
"clsx": "^2.1.1",
|
|
128
127
|
"instantsearch.js": "^4.73.1",
|
|
128
|
+
"query-string": "^9.1.0",
|
|
129
129
|
"react-aria-components": "^1.2.1",
|
|
130
130
|
"react-instantsearch": "^7.12.1",
|
|
131
131
|
"react-transition-group": "^4.4.5",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TranslationId = 'Chosen filters' | 'Clear' | 'Clear filters' | 'Excl. VAT' | 'Explore by categories' | 'Hide filters' | 'Incl. VAT' | 'Popular searches' | 'Products' | 'Recent searches' | 'Show' | 'Show all' | 'Show filters' | 'Show less' | 'Sort by' | 'Sorry, we could not find matches for' | 'Submit' | 'Suggestions' | 'articles' | 'article' | 'of' | 'sort.relevance' | 'sort.newest' | 'sort.price_asc' | 'sort.price_desc' | 'tag.new' | 'facet.categories' | 'facet.weight' | 'facet.height' | 'You could try' | 'Searching again using more general terms' | 'Double check your spelling' | 'Use fewer keywords' | 'Exploring our products by category';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ResponseError } from 'shared/fetch/ResponseError';
|
|
2
|
-
export declare class DeleteCartLineByIdError extends ResponseError {
|
|
3
|
-
constructor(response: Response, message: string);
|
|
4
|
-
}
|
|
5
|
-
export declare function useDeleteCartLineById(): import("@tanstack/react-query").UseMutationResult<void, Error, string, unknown>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ResponseError } from 'shared/fetch/ResponseError';
|
|
2
|
-
import { CartLineModel } from 'shared/model/cart';
|
|
3
|
-
export declare class FetchCurrentCartLinesError extends ResponseError {
|
|
4
|
-
constructor(response: Response, message?: string);
|
|
5
|
-
}
|
|
6
|
-
export declare function useFetchCurrentCartLines(): import("@tanstack/react-query").UseQueryResult<CartLineModel[] | null, Error>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare class ResponseError extends Error {
|
|
2
|
-
response: Response;
|
|
3
|
-
status: number;
|
|
4
|
-
statusText: string;
|
|
5
|
-
type: ResponseType;
|
|
6
|
-
url: string;
|
|
7
|
-
constructor(response: Response, message?: string);
|
|
8
|
-
}
|
|
9
|
-
export declare function isResponseError(error: unknown): error is ResponseError;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
isFavorite: (productId: string) => boolean;
|
|
3
|
-
toggleFavorite: (productId: string) => void;
|
|
4
|
-
}
|
|
5
|
-
export declare function FavoriteProvider(props: Props): null;
|
|
6
|
-
export declare function useFavorite(productId: string): {
|
|
7
|
-
isFavorite: boolean;
|
|
8
|
-
toggle: () => void;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{global-search → src/global-search}/global-search-provider/use-search-disclosure.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{global-search → src/global-search}/search-result-panel/search-result-panel.d.ts
RENAMED
|
File without changes
|
/package/dist/{global-search → src/global-search}/search-result-panel/sections/no-results.d.ts
RENAMED
|
File without changes
|
/package/dist/{global-search → src/global-search}/search-result-panel/sections/no-search.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{global-search → src/global-search}/search-result-panel/sections/with-results.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|