@sonic-equipment/ui 0.0.112 → 0.0.114
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/{src/algolia → algolia}/algolia-active-filters.d.ts +1 -1
- package/dist/{src/algolia → algolia}/algolia-hit-type.d.ts +2 -2
- package/dist/{src/algolia → algolia}/algolia-index-config.d.ts +2 -3
- package/dist/{src/algolia → algolia}/algolia-provider.d.ts +3 -2
- package/dist/{src/algolia → algolia}/algolia-search-provider.d.ts +1 -1
- package/dist/{src/algolia → algolia}/use-algolia-hits.d.ts +3 -3
- package/dist/{src/algolia → algolia}/use-algolia-insights-provider-global-state.d.ts +1 -1
- package/dist/algolia/use-algolia-instant-search-state.d.ts +21 -0
- package/dist/{src/algolia → algolia}/use-algolia-search.d.ts +10 -10
- package/dist/{src/cards → cards}/category-card/category-card.d.ts +2 -2
- package/dist/cards/orderline-card/connected-orderline-card.d.ts +6 -0
- package/dist/cards/orderline-card/connected-remove-button.d.ts +5 -0
- package/dist/cards/orderline-card/orderline-card.d.ts +25 -0
- package/dist/{src/cards → cards}/product-card/product-card.d.ts +3 -3
- package/dist/{src/carousel → carousel}/card-carousel/card-carousel.d.ts +1 -1
- package/dist/{src/carousel → carousel}/carousel.d.ts +1 -1
- package/dist/{src/carousel → carousel}/pagination/pagination.d.ts +1 -1
- package/dist/{src/carousel → carousel}/usp-carousel/product-usp-carousel-slide.d.ts +1 -1
- package/dist/{src/carousel → carousel}/usp-carousel/product-usp-carousel.d.ts +3 -3
- package/dist/country-selector/connected-country-selector.d.ts +13 -0
- package/dist/{src/country-selector → country-selector}/country-selector-dialog/country-selector-dialog.d.ts +1 -1
- package/dist/{src/country-selector → country-selector}/country-selector-trigger/country-selector-trigger.d.ts +1 -1
- package/dist/{src/country-selector → country-selector}/use-countries-languages.d.ts +4 -3
- package/dist/delivery-time/delivery-time.d.ts +5 -0
- package/dist/{src/display → display}/product-price/product-price.d.ts +2 -1
- package/dist/display/product-price/product-total-price.d.ts +7 -0
- package/dist/{src/forms → forms}/color-checkbox/color-checkbox.d.ts +1 -1
- package/dist/{src/global-search → global-search}/categories-grid/categories-grid.d.ts +1 -1
- package/dist/{src/global-search → global-search}/plugins/popular-categories-plugin.d.ts +2 -2
- package/dist/{src/global-search → global-search}/plugins/quick-access-plugin.d.ts +2 -2
- package/dist/{src/global-search → global-search}/search-input/search-input.d.ts +1 -1
- package/dist/global-search/search-result-panel/sections/no-search-results.d.ts +1 -0
- package/dist/{src/global-search → global-search}/types.d.ts +1 -1
- package/dist/index.d.ts +244 -5092
- package/dist/index.js +10752 -8868
- package/dist/intl/formatted-message.d.ts +3 -0
- package/dist/intl/intl-context.d.ts +8 -0
- package/dist/intl/intl-provider.d.ts +8 -0
- package/dist/intl/translation-id.d.ts +1 -0
- package/dist/intl/types.d.ts +19 -0
- package/dist/intl/use-culture-code.d.ts +3 -0
- package/dist/intl/use-format-message.d.ts +13 -0
- package/dist/intl/use-language-code.d.ts +2 -0
- package/dist/intl/utils.d.ts +3 -0
- package/dist/lists/orderline-list/orderline-list.d.ts +7 -0
- package/dist/{src/media → media}/image/image.d.ts +2 -2
- package/dist/{src/media → media}/image-grid/images-grid.d.ts +1 -1
- package/dist/{src/media → media}/image-lightbox/image-lightbox.d.ts +1 -1
- package/dist/modals/confirmation/confirmation-dialog.d.ts +10 -0
- package/dist/modals/dialog/dialog.d.ts +24 -0
- package/dist/{src/notifications → notifications}/announcements/announcement.d.ts +2 -2
- package/dist/{src/pages → pages}/page/page.d.ts +1 -1
- package/dist/{src/pages → pages}/product-details-page/components/product-details-images/product-detail-images.d.ts +1 -1
- package/dist/{src/pages → pages}/product-details-page/components/product-details-panel/product-details-panel.d.ts +1 -1
- package/dist/pages/product-listing-page/product-listing-page-data-types.d.ts +24 -0
- package/dist/{src/pages → pages}/product-listing-page/product-listing-page-provider/product-listing-page-context.d.ts +1 -1
- package/dist/{src/pages → pages}/product-listing-page/product-listing-page-provider/use-subcategories.d.ts +1 -1
- package/dist/{src/promos → promos}/promo-banner/promo-banner.d.ts +2 -2
- package/dist/{src/promos → promos}/promo-banners/promo-banners.d.ts +2 -2
- package/dist/{src/promos → promos}/promo-card/promo-card.d.ts +1 -1
- package/dist/shared/api/bff/hooks/use-fetch-announcements.d.ts +2 -0
- package/dist/shared/api/bff/hooks/use-fetch-product-details-page-data.d.ts +2 -0
- package/dist/shared/api/bff/hooks/use-fetch-product-listing-page-data.d.ts +7 -0
- package/dist/shared/api/bff/services/bff-service.d.ts +14 -0
- package/dist/shared/api/storefront/hooks/authentication/use-fetch-session.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/authentication/use-invalidate-session.d.ts +1 -0
- package/dist/{src/shared → shared}/api/storefront/hooks/authentication/use-sign-in.d.ts +1 -1
- package/dist/{src/shared → shared}/api/storefront/hooks/cart/use-add-product-to-current-cart.d.ts +2 -2
- package/dist/shared/api/storefront/hooks/cart/use-delete-current-cart.d.ts +2 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-checkout-atp.d.ts +2 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines.d.ts +1 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-product-atp.d.ts +2 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-promotions.d.ts +1 -0
- package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/cart/use-invalidate-current-cart.d.ts +1 -0
- package/dist/shared/api/storefront/hooks/cart/use-patch-cart.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/cart/use-place-order.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/cart/use-save-cart-for-later.d.ts +4 -0
- package/dist/{src/shared → shared}/api/storefront/hooks/cart/use-update-cart-line-by-id.d.ts +1 -1
- package/dist/shared/api/storefront/hooks/translation/use-fetch-translations.d.ts +4 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries-languages.d.ts +6 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-countries-with-languages.d.ts +3 -0
- package/dist/shared/api/storefront/hooks/website/use-fetch-settings.d.ts +4 -0
- package/dist/{src/shared → shared}/api/storefront/hooks/website/use-update-locale.d.ts +1 -1
- package/dist/{src/shared → shared}/api/storefront/hooks/wishlist/use-fetch-all-wishlists-items.d.ts +1 -1
- package/dist/{src/shared → shared}/api/storefront/hooks/wishlist/use-fetch-wishlists.d.ts +1 -1
- package/dist/{src/shared → shared}/api/storefront/model/shop.model.d.ts +64 -0
- package/dist/{src/shared → shared}/api/storefront/services/authentication-service.d.ts +9 -3
- package/dist/shared/api/storefront/services/cart-service.d.ts +30 -0
- package/dist/shared/api/storefront/services/translation-service.d.ts +2 -0
- package/dist/{src/shared → shared}/api/storefront/services/website-service.d.ts +4 -1
- package/dist/{src/shared → shared}/api/storefront/services/wishlist-service.d.ts +1 -1
- package/dist/{src/shared → shared}/feature-flags/use-feature-flags.d.ts +1 -1
- package/dist/shared/hooks/use-breakpoint.d.ts +2 -0
- package/dist/{src/shared → shared}/hooks/use-is-breakpoint.d.ts +1 -1
- package/dist/{src/shared → shared}/model/announcement.d.ts +1 -1
- package/dist/{src/shared → shared}/model/category.d.ts +3 -3
- package/dist/{src/shared → shared}/model/countries-languages.d.ts +4 -3
- package/dist/{src/shared → shared}/model/hit.d.ts +4 -4
- package/dist/{src/shared → shared}/model/image.d.ts +5 -5
- package/dist/shared/model/price.d.ts +10 -0
- package/dist/{src/shared → shared}/providers/cart-provider.d.ts +1 -1
- package/dist/{src/shared → shared}/providers/favorite-provider.d.ts +4 -4
- package/dist/{src/shared → shared}/providers/global-state-provider.d.ts +1 -1
- package/dist/shared/routing/route-button.d.ts +1 -0
- package/dist/shared/routing/route-icon-button.d.ts +1 -0
- package/dist/shared/routing/route-link.d.ts +1 -0
- package/dist/shared/utils/date.d.ts +11 -0
- package/dist/shared/utils/date.test.d.ts +1 -0
- package/dist/shared/utils/environment.d.ts +3 -0
- package/dist/styles.css +4192 -3961
- package/package.json +11 -13
- package/dist/.storybook/RenderHook.d.ts +0 -1
- package/dist/node_modules/fast-equals/src/internalTypes.d.ts +0 -134
- package/dist/src/algolia/use-algolia-instant-search-state.d.ts +0 -21
- package/dist/src/badges/badge/badge.stories.d.ts +0 -17
- package/dist/src/badges/badge/icon-with-badge/icon-with-badge.stories.d.ts +0 -14
- package/dist/src/badges/tag/tag.stories.d.ts +0 -18
- package/dist/src/breadcrumbs/breadcrumb.stories.d.ts +0 -16
- package/dist/src/buttons/add-to-cart-button/add-to-cart-button.stories.d.ts +0 -11
- package/dist/src/buttons/button/button.stories.d.ts +0 -16
- package/dist/src/buttons/favorite/favorite-button.stories.d.ts +0 -7
- package/dist/src/buttons/icon-button/icon-button.stories.d.ts +0 -7
- package/dist/src/buttons/link/link.stories.d.ts +0 -13
- package/dist/src/buttons/print-button/print-button.stories.d.ts +0 -13
- package/dist/src/cards/category-card/category-card.stories.d.ts +0 -16
- package/dist/src/cards/product-card/product-card.stories.d.ts +0 -43
- package/dist/src/carousel/card-carousel/product-card-carousel.stories.d.ts +0 -20
- package/dist/src/carousel/card-carousel/promo-card-carousel.stories.d.ts +0 -20
- package/dist/src/carousel/category-carousel/category-carousel.stories.d.ts +0 -19
- package/dist/src/carousel/pagination/pagination.stories.d.ts +0 -14
- package/dist/src/carousel/usp-carousel/product-usp-carousel.stories.d.ts +0 -27
- package/dist/src/cart-totals/cart-totals.stories.d.ts +0 -16
- package/dist/src/collapsables/accordion/accordion.stories.d.ts +0 -20
- package/dist/src/collapsables/show-all/show-all.stories.d.ts +0 -9
- package/dist/src/country-selector/country-selector-dialog/country-selector-dialog.stories.d.ts +0 -20
- package/dist/src/country-selector/country-selector-trigger/country-selector-trigger.stories.d.ts +0 -16
- package/dist/src/country-selector/country-selector.d.ts +0 -12
- package/dist/src/country-selector/country-selector.stories.d.ts +0 -19
- package/dist/src/country-selector/use-countries-languages.stories.d.ts +0 -9
- package/dist/src/display/product-price/product-price.stories.d.ts +0 -15
- package/dist/src/display/product-sku/product-sku.stories.d.ts +0 -13
- package/dist/src/filters/active-filters/active-filters.stories.d.ts +0 -6
- package/dist/src/filters/multi-select/multi-select.stories.d.ts +0 -10
- package/dist/src/filters/pagination/pagination.stories.d.ts +0 -8
- package/dist/src/forms/checkbox/checkbox.stories.d.ts +0 -9
- package/dist/src/forms/color-checkbox/color-checkbox.stories.d.ts +0 -9
- package/dist/src/forms/field-error/field-error.stories.d.ts +0 -15
- package/dist/src/forms/input/input.stories.d.ts +0 -26
- package/dist/src/forms/label/label.stories.d.ts +0 -15
- package/dist/src/forms/number-field/number-field.stories.d.ts +0 -31
- package/dist/src/forms/select/select.stories.d.ts +0 -16
- package/dist/src/forms/text-field/text-field.stories.d.ts +0 -24
- package/dist/src/forms/textarea/textarea.stories.d.ts +0 -18
- package/dist/src/global-search/categories-grid/categories-grid.stories.d.ts +0 -14
- package/dist/src/global-search/global-search.stories.d.ts +0 -21
- package/dist/src/global-search/search-input/search-input.stories.d.ts +0 -6
- package/dist/src/global-search/search-result-panel/sections/no-results.d.ts +0 -1
- package/dist/src/header/cart-icon/connected-cart-icon.stories.d.ts +0 -12
- package/dist/src/index.d.ts +0 -98
- package/dist/src/intl/formatted-message.d.ts +0 -9
- package/dist/src/intl/formatted-message.stories.d.ts +0 -16
- package/dist/src/intl/intl-context.d.ts +0 -8
- package/dist/src/intl/intl-provider.d.ts +0 -8
- package/dist/src/intl/translation-id.d.ts +0 -1
- package/dist/src/intl/types.d.ts +0 -3
- package/dist/src/intl/use-format-message.d.ts +0 -7
- package/dist/src/intl/use-formatted-message.stories.d.ts +0 -15
- package/dist/src/intl/use-language-code.d.ts +0 -2
- package/dist/src/lists/download-document-list/document-download-list.stories.d.ts +0 -13
- package/dist/src/lists/feature-list/feature-list.stories.d.ts +0 -16
- package/dist/src/lists/product-overview-grid/product-overview-grid.stories.d.ts +0 -15
- package/dist/src/lists/ul/list-item.stories.d.ts +0 -14
- package/dist/src/lists/ul/list.stories.d.ts +0 -13
- package/dist/src/loading/progress-circle.stories.d.ts +0 -12
- package/dist/src/media/image/image.stories.d.ts +0 -17
- package/dist/src/media/image-grid/images-grid.stories.d.ts +0 -11
- package/dist/src/media/image-lightbox/image-lightbox.stories.d.ts +0 -13
- package/dist/src/modals/dialog/dialog.d.ts +0 -19
- package/dist/src/modals/dialog/dialog.stories.d.ts +0 -45
- package/dist/src/modals/favorite/add-to-favorite-dialog.stories.d.ts +0 -12
- package/dist/src/modals/modal/modal.stories.d.ts +0 -44
- package/dist/src/modals/signin/sign-in-dialog.stories.d.ts +0 -19
- package/dist/src/notifications/announcements/announcement.stories.d.ts +0 -22
- package/dist/src/pages/page/page.stories.d.ts +0 -24
- package/dist/src/pages/page-container/page-container.stories.d.ts +0 -22
- package/dist/src/pages/product-details-page/product-details-page.stories.d.ts +0 -20
- package/dist/src/pages/product-listing-page/product-listing-page-data-types.d.ts +0 -24
- package/dist/src/pages/product-listing-page/product-listing-page.stories.d.ts +0 -23
- package/dist/src/pages/search-result-page/search-results-page.stories.d.ts +0 -22
- package/dist/src/promos/promo-banner/promo-banner.stories.d.ts +0 -19
- package/dist/src/promos/promo-banners/promo-banners.stories.d.ts +0 -16
- package/dist/src/promos/promo-card/promo-card.stories.d.ts +0 -12
- package/dist/src/shared/api/bff/hooks/use-fetch-announcements.d.ts +0 -3
- package/dist/src/shared/api/bff/hooks/use-fetch-product-details-page-data.d.ts +0 -7
- package/dist/src/shared/api/bff/hooks/use-fetch-product-details-page-data.stories.d.ts +0 -20
- package/dist/src/shared/api/bff/hooks/use-fetch-product-listing-page-data.d.ts +0 -6
- package/dist/src/shared/api/bff/hooks/use-fetch-product-listing-page-data.stories.d.ts +0 -20
- package/dist/src/shared/api/bff/services/bff-service.d.ts +0 -10
- package/dist/src/shared/api/storefront/hooks/authentication/authentication.stories.d.ts +0 -13
- package/dist/src/shared/api/storefront/hooks/authentication/use-session.d.ts +0 -4
- package/dist/src/shared/api/storefront/hooks/cart/cart.stories.d.ts +0 -12
- package/dist/src/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines.d.ts +0 -2
- package/dist/src/shared/api/storefront/hooks/translation/translations.stories.d.ts +0 -9
- package/dist/src/shared/api/storefront/hooks/translation/use-fetch-translations.d.ts +0 -1
- package/dist/src/shared/api/storefront/hooks/website/use-fetch-countries-languages.d.ts +0 -4
- package/dist/src/shared/api/storefront/hooks/website/website.stories.d.ts +0 -10
- package/dist/src/shared/api/storefront/hooks/wishlist/wishlist.stories.d.ts +0 -10
- package/dist/src/shared/api/storefront/services/cart-service.d.ts +0 -16
- package/dist/src/shared/api/storefront/services/translation-service.d.ts +0 -2
- package/dist/src/shared/feature-flags/feature-flags.stories.d.ts +0 -9
- package/dist/src/shared/hooks/use-breakpoint.d.ts +0 -2
- package/dist/src/shared/model/cart.d.ts +0 -156
- package/dist/src/shared/model/price.d.ts +0 -5
- package/dist/src/shared/routing/route-button.d.ts +0 -1
- package/dist/src/shared/routing/route-button.stories.d.ts +0 -15
- package/dist/src/shared/routing/route-icon-button.d.ts +0 -1
- package/dist/src/shared/routing/route-link.d.ts +0 -1
- package/dist/src/shared/routing/route-link.stories.d.ts +0 -15
- package/dist/src/shared/utils/environment.d.ts +0 -3
- package/dist/src/sidebar/sidebar.stories.d.ts +0 -8
- package/dist/src/toast/toast-provider.stories.d.ts +0 -10
- package/dist/src/toast/toast.stories.d.ts +0 -16
- package/dist/src/typography/heading/heading.stories.d.ts +0 -37
- /package/dist/{src/algolia → algolia}/algolia-active-categories.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-categories-filters.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-dummy-refinement-list-consumer.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-filter-panel.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-hits-provider.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-insight-instant-search-provider.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-insights-provider.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-instant-search-state-provider.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-intialization.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-multi-select-filter-section.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-pagination.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-query-string-routing.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-results-count.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-searchclient-offline.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-sonic-searchclient.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/algolia-sort-by.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/filter-section.d.ts +0 -0
- /package/dist/{src/algolia → algolia}/use-algolia-insights.d.ts +0 -0
- /package/dist/{src/background-overlay → background-overlay}/background-overlay.d.ts +0 -0
- /package/dist/{src/badges → badges}/badge/badge.d.ts +0 -0
- /package/dist/{src/badges → badges}/badge/icon-with-badge/icon-with-badge.d.ts +0 -0
- /package/dist/{src/badges → badges}/tag/tag.d.ts +0 -0
- /package/dist/{src/breadcrumbs → breadcrumbs}/breadcrumb.d.ts +0 -0
- /package/dist/{src/buttons → buttons}/add-to-cart-button/add-to-cart-button.d.ts +0 -0
- /package/dist/{src/buttons → buttons}/add-to-cart-button/connected-add-to-cart-button.d.ts +0 -0
- /package/dist/{src/buttons → buttons}/button/button.d.ts +0 -0
- /package/dist/{src/buttons → buttons}/favorite/connected-favorite-button.d.ts +0 -0
- /package/dist/{src/buttons → buttons}/favorite/favorite-button.d.ts +0 -0
- /package/dist/{src/buttons → buttons}/icon-button/icon-button.d.ts +0 -0
- /package/dist/{src/buttons → buttons}/link/link.d.ts +0 -0
- /package/dist/{src/buttons → buttons}/print-button/print-button.d.ts +0 -0
- /package/dist/{src/cards → cards}/product-card/connected-product-card.d.ts +0 -0
- /package/dist/{src/carousel → carousel}/carousel-navigation-button.d.ts +0 -0
- /package/dist/{src/carousel → carousel}/category-carousel/category-carousel.d.ts +0 -0
- /package/dist/{src/carousel → carousel}/pagination/transitions.d.ts +0 -0
- /package/dist/{src/carousel → carousel}/usp-carousel/usp-carousel.d.ts +0 -0
- /package/dist/{src/cart-totals → cart-totals}/cart-totals.d.ts +0 -0
- /package/dist/{src/collapsables → collapsables}/accordion/accordion-item.d.ts +0 -0
- /package/dist/{src/collapsables → collapsables}/accordion/accordion.d.ts +0 -0
- /package/dist/{src/collapsables → collapsables}/show-all/show-all.d.ts +0 -0
- /package/dist/{src/config.d.ts → config.d.ts} +0 -0
- /package/dist/{src/display → display}/product-sku/product-sku.d.ts +0 -0
- /package/dist/{src/filters → filters}/active-filters/active-filters.d.ts +0 -0
- /package/dist/{src/filters → filters}/multi-select/multi-select.d.ts +0 -0
- /package/dist/{src/filters → filters}/pagination/pagination.d.ts +0 -0
- /package/dist/{src/forms → forms}/checkbox/checkbox.d.ts +0 -0
- /package/dist/{src/forms → forms}/field-error/field-error.d.ts +0 -0
- /package/dist/{src/forms → forms}/input/input.d.ts +0 -0
- /package/dist/{src/forms → forms}/label/label.d.ts +0 -0
- /package/dist/{src/forms → forms}/number-field/number-field.d.ts +0 -0
- /package/dist/{src/forms → forms}/select/select.d.ts +0 -0
- /package/dist/{src/forms → forms}/text-field/text-field.d.ts +0 -0
- /package/dist/{src/forms → forms}/textarea/textarea.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/global-search-provider/global-search-provider.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/global-search-provider/use-search-disclosure.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/global-search.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/plugins/categories-plugin.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/plugins/popular-searches-plugin.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/plugins/query-suggestions-plugin.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/plugins/recent-searches-plugin.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/search-highlight/highlight.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/search-input/connected-search-input.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/search-result-panel/panel-content.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/search-result-panel/search-result-panel.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/search-result-panel/sections/no-search.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/search-result-panel/sections/section-container.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/search-result-panel/sections/with-results.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/search-section/search-list-item.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/search-section/search-list.d.ts +0 -0
- /package/dist/{src/global-search → global-search}/search-section/search-section.d.ts +0 -0
- /package/dist/{src/header → header}/cart-icon/connected-cart-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-black-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-black-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-blackcaps-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-blackcaps-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-bold-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-bold-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-boldcaps-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-boldcaps-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-regular-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-regular-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-regularcaps-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-regularcaps-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-semibold-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-semibold-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-semiboldcaps-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-semiboldcaps-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-thin-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-thin-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-thincaps-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-arrow-thincaps-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-chevrons-bold-down-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-chevrons-bold-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-chevrons-bold-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-chevrons-bold-up-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-chevrons-slim-down-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-chevrons-slim-left-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-chevrons-slim-right-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/glyph/glyphs-chevrons-slim-up-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/career-innovate-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/career-proactive-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/career-teamplayer-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/fallback-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/some-facebook-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/some-instagram-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/some-linkedin-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/some-mail-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/some-youtube-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/usp-efficiency-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/usp-style-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/usp-support-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/warranty-10y-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/warranty-1y-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/warranty-3y-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/warranty-5y-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/warranty-consumable-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/other/warranty-lifetime-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-attention-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-business-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-cart-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-clock-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-close-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-download-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-event-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-favorite-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-home-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-information-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-login-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-news-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-notice-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-okay-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-rating-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-sale-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-tag-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-trash-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-updateuser-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-vote-thumbsdown-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/solid/solid-vote-thumbsup-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-attention-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-business-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-cart-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-categories-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-checkmark-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-clock-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-close-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-closebox-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-closemenu-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-collapse-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-dehashed-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-download-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-expand-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-favorite-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-filter-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-hashed-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-home-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-information-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-login-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-menu-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-notice-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-okay-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-rating-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-recent-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-search-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-tag-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-trash-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-updateuser-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-vote-thumbsdown-icon.d.ts +0 -0
- /package/dist/{src/icons → icons}/stroke/stroke-vote-thumbsup-icon.d.ts +0 -0
- /package/dist/{src/lists → lists}/download-document-list/download-document-list.d.ts +0 -0
- /package/dist/{src/lists → lists}/feature-list/feature-list.d.ts +0 -0
- /package/dist/{src/lists → lists}/product-overview-grid/product-overview-grid.d.ts +0 -0
- /package/dist/{src/lists → lists}/ul/list.d.ts +0 -0
- /package/dist/{src/loading → loading}/blank-page-spacer.d.ts +0 -0
- /package/dist/{src/loading → loading}/loading-overlay.d.ts +0 -0
- /package/dist/{src/loading → loading}/progress-circle.d.ts +0 -0
- /package/dist/{src/modals → modals}/favorite/add-to-favorite-dialog.d.ts +0 -0
- /package/dist/{src/modals → modals}/modal/modal.d.ts +0 -0
- /package/dist/{src/modals → modals}/signin/sign-in-dialog.d.ts +0 -0
- /package/dist/{src/notifications → notifications}/announcements/announcement-provider.d.ts +0 -0
- /package/dist/{src/notifications → notifications}/announcements/connected-announcement.d.ts +0 -0
- /package/dist/{src/pages → pages}/error-page/error-page.d.ts +0 -0
- /package/dist/{src/pages → pages}/layouts/product-details-page-layout.d.ts +0 -0
- /package/dist/{src/pages → pages}/loading-page/loading-page.d.ts +0 -0
- /package/dist/{src/pages → pages}/page-container/page-container.d.ts +0 -0
- /package/dist/{src/pages → pages}/product-details-page/product-details-page.d.ts +0 -0
- /package/dist/{src/pages → pages}/product-listing-page/no-results/no-results.d.ts +0 -0
- /package/dist/{src/pages → pages}/product-listing-page/product-listing-page-category-carousel/product-listing-page-category-carousel.d.ts +0 -0
- /package/dist/{src/pages → pages}/product-listing-page/product-listing-page-provider/product-listing-page-provider.d.ts +0 -0
- /package/dist/{src/pages → pages}/product-listing-page/product-listing-page.d.ts +0 -0
- /package/dist/{src/pages → pages}/product-listing-page/product-listing-product-overview/product-listing-product-overview.d.ts +0 -0
- /package/dist/{src/pages → pages}/search-result-page/search-result-product-overview/search-result-product-overview.d.ts +0 -0
- /package/dist/{src/pages → pages}/search-result-page/search-results-page-category-carousel/search-results-page-category-carousel.d.ts +0 -0
- /package/dist/{src/pages → pages}/search-result-page/search-results-page.d.ts +0 -0
- /package/dist/{src/shared → shared}/api/bff/model/announcement.model.d.ts +0 -0
- /package/dist/{src/shared → shared}/api/bff/model/bff.model.d.ts +0 -0
- /package/dist/{src/shared → shared}/api/storefront/hooks/authentication/use-is-authenticated.d.ts +0 -0
- /package/dist/{src/shared → shared}/api/storefront/hooks/authentication/use-sign-out.d.ts +0 -0
- /package/dist/{src/shared → shared}/api/storefront/hooks/cart/use-delete-cart-line-by-id.d.ts +0 -0
- /package/dist/{src/shared → shared}/api/storefront/hooks/cart/use-fetch-current-cart-count.d.ts +0 -0
- /package/dist/{src/shared → shared}/api/storefront/hooks/website/use-fetch-countries.d.ts +0 -0
- /package/dist/{src/shared → shared}/api/storefront/hooks/wishlist/use-add-wishlist-item-to-current-wishlist.d.ts +0 -0
- /package/dist/{src/shared → shared}/api/storefront/hooks/wishlist/use-add-wishlist-item-to-wishlist.d.ts +0 -0
- /package/dist/{src/shared → shared}/api/storefront/hooks/wishlist/use-create-wishlist.d.ts +0 -0
- /package/dist/{src/shared → shared}/api/storefront/hooks/wishlist/use-delete-wishlist-item-from-wishlist.d.ts +0 -0
- /package/dist/{src/shared → shared}/fetch/request.d.ts +0 -0
- /package/dist/{src/shared → shared}/hooks/use-cookie.d.ts +0 -0
- /package/dist/{src/shared → shared}/hooks/use-debounced-callback.d.ts +0 -0
- /package/dist/{src/shared → shared}/hooks/use-disclosure.d.ts +0 -0
- /package/dist/{src/shared → shared}/hooks/use-local-storage.d.ts +0 -0
- /package/dist/{src/shared → shared}/hooks/use-resize-observer.d.ts +0 -0
- /package/dist/{src/shared → shared}/hooks/use-scroll-lock.d.ts +0 -0
- /package/dist/{src/shared → shared}/hooks/use-scroll-to.d.ts +0 -0
- /package/dist/{src/shared → shared}/hooks/use-session-storage.d.ts +0 -0
- /package/dist/{src/shared → shared}/providers/react-query-container.d.ts +0 -0
- /package/dist/{src/shared → shared}/routing/route-provider.d.ts +0 -0
- /package/dist/{src/shared → shared}/routing/with-routing.d.ts +0 -0
- /package/dist/{src/shared → shared}/utils/breakpoints.d.ts +0 -0
- /package/dist/{src/shared → shared}/utils/event-emitter.d.ts +0 -0
- /package/dist/{src/shared → shared}/utils/local-storage.d.ts +0 -0
- /package/dist/{src/shared → shared}/utils/merge.d.ts +0 -0
- /package/dist/{src/shared → shared}/utils/price.d.ts +0 -0
- /package/dist/{src/shared/fetch/constants.d.ts → shared/utils/time.d.ts} +0 -0
- /package/dist/{src/shared → shared}/utils/uuid.d.ts +0 -0
- /package/dist/{src/shared → shared}/utils/wait.d.ts +0 -0
- /package/dist/{src/sidebar → sidebar}/sidebar-provider.d.ts +0 -0
- /package/dist/{src/sidebar → sidebar}/sidebar.d.ts +0 -0
- /package/dist/{src/sidebar → sidebar}/toggle-sidebar-button.d.ts +0 -0
- /package/dist/{src/sidebar → sidebar}/types.d.ts +0 -0
- /package/dist/{src/sidebar → sidebar}/use-sidebar.d.ts +0 -0
- /package/dist/{src/toast → toast}/toast-provider.d.ts +0 -0
- /package/dist/{src/toast → toast}/toast.d.ts +0 -0
- /package/dist/{src/toast → toast}/types.d.ts +0 -0
- /package/dist/{src/toast → toast}/use-toast.d.ts +0 -0
- /package/dist/{src/tokens → tokens}/tokens.d.ts +0 -0
- /package/dist/{src/typography → typography}/heading/heading.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonic-equipment/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.114",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -20,11 +20,13 @@
|
|
|
20
20
|
"types": "./dist/index.d.ts",
|
|
21
21
|
"scripts": {
|
|
22
22
|
"build": "rollup --config",
|
|
23
|
+
"rebuild": "rm -rf dist && pnpm run build",
|
|
23
24
|
"build-storybook": "storybook build",
|
|
24
25
|
"check-updates": "npx npm-check-updates",
|
|
25
26
|
"clean": "rimraf node_modules dist",
|
|
26
|
-
"generate
|
|
27
|
-
"generate
|
|
27
|
+
"generate:icons": "node src/utils/icons/import-icons.js",
|
|
28
|
+
"generate:icons:watch": "nodemon src/utils/icons/import-icons.js",
|
|
29
|
+
"generate:exports": "find ./src -type f | grep -e 'ts[x]*$' | grep -vE \"stories|icons|src|test/index|\\.d\\.ts$\" | sed -e \"s/\\.ts[x]*//\" | sed -e \"s/.\\/src/./\" | awk '{ print \"export * from \\\"\" $1 \"\\\"\" }' | sort ",
|
|
28
30
|
"reinstall": "pnpm clean; pnpm install && pnpm build",
|
|
29
31
|
"dev": "storybook dev -p 6006",
|
|
30
32
|
"proxy": "node src/proxy/proxy.js",
|
|
@@ -36,18 +38,14 @@
|
|
|
36
38
|
"start": "http-server ./storybook-static",
|
|
37
39
|
"stylelint": "stylelint --config .stylelintrc.cjs \"src/**/*.css\"",
|
|
38
40
|
"stylelint:fix": "stylelint --config .stylelintrc.cjs \"src/**/*.css\" --formatter verbose --fix",
|
|
39
|
-
"test:all": "npx concurrently -g --names \"TSC,ESLINT,STYLELINT\" -c auto --kill-others-on-fail \"npm run test:types\" \"npm run lint\" \"npm run stylelint\"",
|
|
41
|
+
"test:all": "npx concurrently -g --names \"TSC,VITEST,ESLINT,STYLELINT\" -c auto --kill-others-on-fail \"npm run test:types\" \"npm run test:unit\" \"npm run lint\" \"npm run stylelint\"",
|
|
42
|
+
"test:unit": "vitest run",
|
|
40
43
|
"test:types": "tsc --noEmit --pretty false",
|
|
41
44
|
"update-packages": "npx npm-check-updates -u"
|
|
42
45
|
},
|
|
43
46
|
"peerDependencies": {
|
|
44
|
-
"algoliasearch": "^4",
|
|
45
|
-
"instantsearch.js": "^4",
|
|
46
|
-
"qs": "^6",
|
|
47
47
|
"react": "^18",
|
|
48
|
-
"react-dom": "^18"
|
|
49
|
-
"react-instantsearch": "^7",
|
|
50
|
-
"react-instantsearch-core": "^7"
|
|
48
|
+
"react-dom": "^18"
|
|
51
49
|
},
|
|
52
50
|
"devDependencies": {
|
|
53
51
|
"@chromatic-com/storybook": "3.2.2",
|
|
@@ -69,6 +67,7 @@
|
|
|
69
67
|
"@storybook/test": "8.4.2",
|
|
70
68
|
"@types/js-cookie": "3.0.6",
|
|
71
69
|
"@types/node": "22.9.0",
|
|
70
|
+
"@types/postcss-import": "14.0.3",
|
|
72
71
|
"@types/react": "18.3.12",
|
|
73
72
|
"@types/react-dom": "18.3.1",
|
|
74
73
|
"@typescript-eslint/eslint-plugin": "8.13.0",
|
|
@@ -81,7 +80,6 @@
|
|
|
81
80
|
"eslint-import-resolver-typescript": "3.6.3",
|
|
82
81
|
"eslint-plugin-import": "2.31.0",
|
|
83
82
|
"eslint-plugin-mdx": "3.1.5",
|
|
84
|
-
"eslint-plugin-no-relative-import-paths": "1.5.5",
|
|
85
83
|
"eslint-plugin-prettier": "5.2.1",
|
|
86
84
|
"eslint-plugin-react": "7.37.2",
|
|
87
85
|
"eslint-plugin-react-hooks": "5.0.0",
|
|
@@ -103,7 +101,6 @@
|
|
|
103
101
|
"react-dom": "18.3.1",
|
|
104
102
|
"rimraf": "6.0.1",
|
|
105
103
|
"rollup": "4.24.4",
|
|
106
|
-
"rollup-plugin-dts": "6.1.1",
|
|
107
104
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
108
105
|
"rollup-plugin-postcss": "4.0.2",
|
|
109
106
|
"storybook": "8.4.2",
|
|
@@ -113,7 +110,8 @@
|
|
|
113
110
|
"stylelint-config-standard": "36.0.1",
|
|
114
111
|
"typescript": "5.6.3",
|
|
115
112
|
"vite": "5.4.10",
|
|
116
|
-
"vite-tsconfig-paths": "5.1.0"
|
|
113
|
+
"vite-tsconfig-paths": "5.1.0",
|
|
114
|
+
"vitest": "2.1.5"
|
|
117
115
|
},
|
|
118
116
|
"dependencies": {
|
|
119
117
|
"@algolia/autocomplete-core": "1.17.7",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function RenderHook<T extends (...args: any) => any>(hook: T, ...args: Parameters<T>): () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Cache used to store references to objects, used for circular
|
|
3
|
-
* reference checks.
|
|
4
|
-
*/
|
|
5
|
-
export interface Cache<Key extends object, Value> {
|
|
6
|
-
delete(key: Key): boolean;
|
|
7
|
-
get(key: Key): Value | undefined;
|
|
8
|
-
set(key: Key, value: any): any;
|
|
9
|
-
}
|
|
10
|
-
export interface State<Meta> {
|
|
11
|
-
/**
|
|
12
|
-
* Cache used to identify circular references
|
|
13
|
-
*/
|
|
14
|
-
readonly cache: Cache<any, any> | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Method used to determine equality of nested value.
|
|
17
|
-
*/
|
|
18
|
-
readonly equals: InternalEqualityComparator<Meta>;
|
|
19
|
-
/**
|
|
20
|
-
* Additional value that can be used for comparisons.
|
|
21
|
-
*/
|
|
22
|
-
meta: Meta;
|
|
23
|
-
/**
|
|
24
|
-
* Whether the equality comparison is strict, meaning it matches
|
|
25
|
-
* all properties (including symbols and non-enumerable properties)
|
|
26
|
-
* with equal shape of descriptors.
|
|
27
|
-
*/
|
|
28
|
-
readonly strict: boolean;
|
|
29
|
-
}
|
|
30
|
-
export interface CircularState<Meta> extends State<Meta> {
|
|
31
|
-
readonly cache: Cache<any, any>;
|
|
32
|
-
}
|
|
33
|
-
export interface DefaultState<Meta> extends State<Meta> {
|
|
34
|
-
readonly cache: undefined;
|
|
35
|
-
}
|
|
36
|
-
export interface Dictionary<Value = any> {
|
|
37
|
-
[key: string | symbol]: Value;
|
|
38
|
-
$$typeof?: any;
|
|
39
|
-
}
|
|
40
|
-
export interface ComparatorConfig<Meta> {
|
|
41
|
-
/**
|
|
42
|
-
* Whether the arrays passed are equal in value. In strict mode, this includes
|
|
43
|
-
* additional properties added to the array.
|
|
44
|
-
*/
|
|
45
|
-
areArraysEqual: TypeEqualityComparator<any, Meta>;
|
|
46
|
-
/**
|
|
47
|
-
* Whether the dates passed are equal in value.
|
|
48
|
-
*/
|
|
49
|
-
areDatesEqual: TypeEqualityComparator<any, Meta>;
|
|
50
|
-
/**
|
|
51
|
-
* Whether the maps passed are equal in value. In strict mode, this includes
|
|
52
|
-
* additional properties added to the map.
|
|
53
|
-
*/
|
|
54
|
-
areMapsEqual: TypeEqualityComparator<any, Meta>;
|
|
55
|
-
/**
|
|
56
|
-
* Whether the objects passed are equal in value. In strict mode, this includes
|
|
57
|
-
* non-enumerable properties added to the map, as well as symbol properties.
|
|
58
|
-
*/
|
|
59
|
-
areObjectsEqual: TypeEqualityComparator<any, Meta>;
|
|
60
|
-
/**
|
|
61
|
-
* Whether the primitive wrappers passed are equal in value.
|
|
62
|
-
*/
|
|
63
|
-
arePrimitiveWrappersEqual: TypeEqualityComparator<any, Meta>;
|
|
64
|
-
/**
|
|
65
|
-
* Whether the regexps passed are equal in value.
|
|
66
|
-
*/
|
|
67
|
-
areRegExpsEqual: TypeEqualityComparator<any, Meta>;
|
|
68
|
-
/**
|
|
69
|
-
* Whether the sets passed are equal in value. In strict mode, this includes
|
|
70
|
-
* additional properties added to the set.
|
|
71
|
-
*/
|
|
72
|
-
areSetsEqual: TypeEqualityComparator<any, Meta>;
|
|
73
|
-
/**
|
|
74
|
-
* Whether the typed arrays passed are equal in value. In strict mode, this includes
|
|
75
|
-
* additional properties added to the typed array.
|
|
76
|
-
*/
|
|
77
|
-
areTypedArraysEqual: TypeEqualityComparator<any, Meta>;
|
|
78
|
-
}
|
|
79
|
-
export type CreateCustomComparatorConfig<Meta> = (config: ComparatorConfig<Meta>) => Partial<ComparatorConfig<Meta>>;
|
|
80
|
-
export type CreateState<Meta> = () => {
|
|
81
|
-
cache?: Cache<any, any> | undefined;
|
|
82
|
-
meta?: Meta;
|
|
83
|
-
};
|
|
84
|
-
export type EqualityComparator<Meta> = <A, B>(a: A, b: B, state: State<Meta>) => boolean;
|
|
85
|
-
export type AnyEqualityComparator<Meta> = (a: any, b: any, state: State<Meta>) => boolean;
|
|
86
|
-
export type EqualityComparatorCreator<Meta> = (fn: EqualityComparator<Meta>) => InternalEqualityComparator<Meta>;
|
|
87
|
-
export type InternalEqualityComparator<Meta> = (a: any, b: any, indexOrKeyA: any, indexOrKeyB: any, parentA: any, parentB: any, state: State<Meta>) => boolean;
|
|
88
|
-
export type PrimitiveWrapper = Boolean | Number | String;
|
|
89
|
-
/**
|
|
90
|
-
* Type which encompasses possible instances of TypedArray
|
|
91
|
-
* classes.
|
|
92
|
-
*
|
|
93
|
-
* **NOTE**: This does not include `BigInt64Array` and
|
|
94
|
-
* `BitUint64Array` because those are part of ES2020 and
|
|
95
|
-
* not supported by certain TS configurations. If using
|
|
96
|
-
* either in `areTypedArraysEqual`, you can cast the
|
|
97
|
-
* instance as `TypedArray` and it will work as expected,
|
|
98
|
-
* because runtime checks will still work for those classes.
|
|
99
|
-
*/
|
|
100
|
-
export type TypedArray = Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | Uint16Array | Uint32Array | Uint8Array | Uint8ClampedArray;
|
|
101
|
-
export type TypeEqualityComparator<Type, Meta = undefined> = (a: Type, b: Type, state: State<Meta>) => boolean;
|
|
102
|
-
export interface CustomEqualCreatorOptions<Meta> {
|
|
103
|
-
/**
|
|
104
|
-
* Whether circular references should be supported. It causes the
|
|
105
|
-
* comparison to be slower, but for objects that have circular references
|
|
106
|
-
* it is required to avoid stack overflows.
|
|
107
|
-
*/
|
|
108
|
-
circular?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Create a custom configuration of type-specific equality comparators.
|
|
111
|
-
* This receives the default configuration, which allows either replacement
|
|
112
|
-
* or supersetting of the default methods.
|
|
113
|
-
*/
|
|
114
|
-
createCustomConfig?: CreateCustomComparatorConfig<Meta>;
|
|
115
|
-
/**
|
|
116
|
-
* Create a custom internal comparator, which is used as an override to the
|
|
117
|
-
* default entry point for nested value equality comparisons. This is often
|
|
118
|
-
* used for doing custom logic for specific types (such as handling a specific
|
|
119
|
-
* class instance differently than other objects) or to incorporate `meta` in
|
|
120
|
-
* the comparison. See the recipes for examples.
|
|
121
|
-
*/
|
|
122
|
-
createInternalComparator?: (compare: EqualityComparator<Meta>) => InternalEqualityComparator<Meta>;
|
|
123
|
-
/**
|
|
124
|
-
* Create a custom `state` object passed between the methods. This allows for
|
|
125
|
-
* custom `cache` and/or `meta` values to be used.
|
|
126
|
-
*/
|
|
127
|
-
createState?: CreateState<Meta>;
|
|
128
|
-
/**
|
|
129
|
-
* Whether the equality comparison is strict, meaning it matches
|
|
130
|
-
* all properties (including symbols and non-enumerable properties)
|
|
131
|
-
* with equal shape of descriptors.
|
|
132
|
-
*/
|
|
133
|
-
strict?: boolean;
|
|
134
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type AlgoliaInstantSearchStatus = 'idle' | 'loading' | 'stalled' | 'error';
|
|
2
|
-
export declare const useAlgoliaInstantSearchStateIndex: () => [string | undefined, import("shared/providers/global-state-provider").UpdateGlobalState<string | undefined>];
|
|
3
|
-
export declare const useAlgoliaInstantSearchStateQueryId: () => [string | undefined, import("shared/providers/global-state-provider").UpdateGlobalState<string | undefined>];
|
|
4
|
-
export declare const useAlgoliaInstantSearchStateOnline: (initialState?: boolean) => [boolean, import("shared/providers/global-state-provider").UpdateGlobalState<boolean>];
|
|
5
|
-
export declare const useAlgoliaInstantSearchStateStatus: (initialState?: AlgoliaInstantSearchStatus) => [AlgoliaInstantSearchStatus, import("shared/providers/global-state-provider").UpdateGlobalState<AlgoliaInstantSearchStatus>];
|
|
6
|
-
export interface AlgoliaInstantSearchState {
|
|
7
|
-
index?: string;
|
|
8
|
-
online: boolean;
|
|
9
|
-
queryId?: string;
|
|
10
|
-
status: AlgoliaInstantSearchStatus;
|
|
11
|
-
}
|
|
12
|
-
export declare function useAlgoliaInstantSearchState(initialState?: Partial<AlgoliaInstantSearchState>): {
|
|
13
|
-
index: string | undefined;
|
|
14
|
-
online: boolean;
|
|
15
|
-
queryId: string | undefined;
|
|
16
|
-
setIndex: import("shared/providers/global-state-provider").UpdateGlobalState<string | undefined>;
|
|
17
|
-
setOnline: import("shared/providers/global-state-provider").UpdateGlobalState<boolean>;
|
|
18
|
-
setQueryId: import("shared/providers/global-state-provider").UpdateGlobalState<string | undefined>;
|
|
19
|
-
setStatus: import("shared/providers/global-state-provider").UpdateGlobalState<AlgoliaInstantSearchStatus>;
|
|
20
|
-
status: AlgoliaInstantSearchStatus;
|
|
21
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Badge } from './badge';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof Badge;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
title: string;
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const Red: Story;
|
|
14
|
-
export declare const Orange: Story;
|
|
15
|
-
export declare const Green: Story;
|
|
16
|
-
export declare const WithNumber: Story;
|
|
17
|
-
export declare const WithLongNumber: Story;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { IconWithBadge } from './icon-with-badge';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof IconWithBadge;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
title: string;
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const WithIcon: Story;
|
|
14
|
-
export declare const InIconButton: Story;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Tag } from './tag';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
args: {
|
|
5
|
-
children: string;
|
|
6
|
-
};
|
|
7
|
-
component: typeof Tag;
|
|
8
|
-
parameters: {
|
|
9
|
-
layout: string;
|
|
10
|
-
};
|
|
11
|
-
tags: string[];
|
|
12
|
-
title: string;
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof meta>;
|
|
16
|
-
export declare const Default: Story;
|
|
17
|
-
export declare const LongText: Story;
|
|
18
|
-
export declare const NoText: Story;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Breadcrumb } from './breadcrumb';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof Breadcrumb;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
title: string;
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const FourLevels: Story;
|
|
14
|
-
export declare const FourLevelsMobile: Story;
|
|
15
|
-
export declare const TwoLevels: Story;
|
|
16
|
-
export declare const TwoLevelsMobile: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { AddToCartButton } from './add-to-cart-button';
|
|
3
|
-
declare const meta: Meta<typeof AddToCartButton>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const InitialState: Story;
|
|
7
|
-
export declare const SpinnerState: Story;
|
|
8
|
-
export declare const ManualInputState: Story;
|
|
9
|
-
export declare const RightAligned: Story;
|
|
10
|
-
export declare const Slow: Story;
|
|
11
|
-
export declare const Connected: Story;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Button } from './button';
|
|
3
|
-
declare const meta: Meta<typeof Button>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Solid: Story;
|
|
7
|
-
export declare const PrimaryActive: Story;
|
|
8
|
-
export declare const PrimaryDisabled: Story;
|
|
9
|
-
export declare const IconOnly: Story;
|
|
10
|
-
export declare const WithArrow: Story;
|
|
11
|
-
export declare const Outlined: Story;
|
|
12
|
-
export declare const SecondaryActive: Story;
|
|
13
|
-
export declare const Ghost: Story;
|
|
14
|
-
export declare const SizeMD: Story;
|
|
15
|
-
export declare const SizeMDCondensed: Story;
|
|
16
|
-
export declare const SizeSM: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { FavoriteButton } from './favorite-button';
|
|
3
|
-
declare const meta: Meta<typeof FavoriteButton>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const InFavorites: Story;
|
|
7
|
-
export declare const NotInFavorites: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { IconButton } from './icon-button';
|
|
3
|
-
declare const meta: Meta<typeof IconButton>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Secondary: Story;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Link } from './link';
|
|
3
|
-
declare const meta: Meta<typeof Link>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithIcon: Story;
|
|
8
|
-
export declare const Underline: Story;
|
|
9
|
-
export declare const SecondaryStyle: Story;
|
|
10
|
-
export declare const SecondaryUnderlineStyle: Story;
|
|
11
|
-
export declare const SecondaryWithIcon: Story;
|
|
12
|
-
export declare const Disabled: Story;
|
|
13
|
-
export declare const SecondaryDisabledStyle: Story;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { PrintButton } from './print-button';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof PrintButton;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
title: string;
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const Default: Story;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { CategoryCard } from './category-card';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof CategoryCard;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
title: string;
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const Small: Story;
|
|
14
|
-
export declare const Medium: Story;
|
|
15
|
-
export declare const Large: Story;
|
|
16
|
-
export declare const Selected: Story;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
import { ProductCard } from './product-card';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
args: {
|
|
5
|
-
addToCartButton: import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
favoriteButton: import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
href: string;
|
|
8
|
-
image: {
|
|
9
|
-
fit: "contain";
|
|
10
|
-
image: {
|
|
11
|
-
1: string;
|
|
12
|
-
2: string;
|
|
13
|
-
3: string;
|
|
14
|
-
altText: string;
|
|
15
|
-
};
|
|
16
|
-
title: string;
|
|
17
|
-
};
|
|
18
|
-
sku: string;
|
|
19
|
-
tags: string[];
|
|
20
|
-
};
|
|
21
|
-
component: typeof ProductCard;
|
|
22
|
-
parameters: {
|
|
23
|
-
backgrounds: {
|
|
24
|
-
default: string;
|
|
25
|
-
values: {
|
|
26
|
-
name: string;
|
|
27
|
-
value: string;
|
|
28
|
-
}[];
|
|
29
|
-
};
|
|
30
|
-
layout: string;
|
|
31
|
-
};
|
|
32
|
-
tags: string[];
|
|
33
|
-
title: string;
|
|
34
|
-
};
|
|
35
|
-
export default meta;
|
|
36
|
-
type Story = StoryObj<typeof meta>;
|
|
37
|
-
export declare const Large: Story;
|
|
38
|
-
export declare const Medium: Story;
|
|
39
|
-
export declare const Small: Story;
|
|
40
|
-
export declare const LargeLongText: Story;
|
|
41
|
-
export declare const MediumLongText: Story;
|
|
42
|
-
export declare const SmallLongText: Story;
|
|
43
|
-
export declare const Connected: Story;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { CardCarousel } from './card-carousel';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
args: {
|
|
5
|
-
cards: import("react/jsx-runtime").JSX.Element[];
|
|
6
|
-
};
|
|
7
|
-
component: typeof CardCarousel;
|
|
8
|
-
parameters: {
|
|
9
|
-
layout: string;
|
|
10
|
-
tags: string[];
|
|
11
|
-
};
|
|
12
|
-
title: string;
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof meta>;
|
|
16
|
-
export declare const Small: Story;
|
|
17
|
-
export declare const Medium: Story;
|
|
18
|
-
export declare const Large: Story;
|
|
19
|
-
export declare const Narrow: Story;
|
|
20
|
-
export declare const Hover: Story;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { CardCarousel } from './card-carousel';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
args: {
|
|
5
|
-
cards: import("react/jsx-runtime").JSX.Element[];
|
|
6
|
-
};
|
|
7
|
-
component: typeof CardCarousel;
|
|
8
|
-
parameters: {
|
|
9
|
-
layout: string;
|
|
10
|
-
tags: string[];
|
|
11
|
-
};
|
|
12
|
-
title: string;
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof meta>;
|
|
16
|
-
export declare const Small: Story;
|
|
17
|
-
export declare const Medium: Story;
|
|
18
|
-
export declare const Large: Story;
|
|
19
|
-
export declare const Narrow: Story;
|
|
20
|
-
export declare const Hover: Story;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { CategoryCarousel } from './category-carousel';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
args: {
|
|
5
|
-
categoryCards: import("react/jsx-runtime").JSX.Element[];
|
|
6
|
-
};
|
|
7
|
-
component: typeof CategoryCarousel;
|
|
8
|
-
parameters: {
|
|
9
|
-
layout: string;
|
|
10
|
-
tags: string[];
|
|
11
|
-
};
|
|
12
|
-
title: string;
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof meta>;
|
|
16
|
-
export declare const Small: Story;
|
|
17
|
-
export declare const Medium: Story;
|
|
18
|
-
export declare const Large: Story;
|
|
19
|
-
export declare const Hover: Story;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Pagination } from './pagination';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof Pagination;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
title: string;
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const Default: Story;
|
|
14
|
-
export declare const Contained: Story;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
import { ProductUSPCarousel } from 'carousel/usp-carousel/product-usp-carousel';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
args: {
|
|
5
|
-
usps: {
|
|
6
|
-
heading: string;
|
|
7
|
-
icon: {
|
|
8
|
-
1: string;
|
|
9
|
-
2: string;
|
|
10
|
-
3: string;
|
|
11
|
-
altText: string;
|
|
12
|
-
};
|
|
13
|
-
image: {
|
|
14
|
-
1: string;
|
|
15
|
-
2: string;
|
|
16
|
-
3: string;
|
|
17
|
-
altText: string;
|
|
18
|
-
};
|
|
19
|
-
text: string;
|
|
20
|
-
}[];
|
|
21
|
-
};
|
|
22
|
-
component: typeof ProductUSPCarousel;
|
|
23
|
-
title: string;
|
|
24
|
-
};
|
|
25
|
-
export default meta;
|
|
26
|
-
type Story = StoryObj<typeof meta>;
|
|
27
|
-
export declare const Default: Story;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { CartTotals } from './cart-totals';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof CartTotals;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
title: string;
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const Cart: Story;
|
|
14
|
-
export declare const Shipping: Story;
|
|
15
|
-
export declare const ReviewAndPayment: Story;
|
|
16
|
-
export declare const OrderConfirmation: Story;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Accordion } from './accordion';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof Accordion;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
title: string;
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const Default: Story;
|
|
14
|
-
export declare const Indented: Story;
|
|
15
|
-
export declare const Disabled: Story;
|
|
16
|
-
export declare const Focus: Story;
|
|
17
|
-
export declare const Large: Story;
|
|
18
|
-
export declare const BorderLineTop: Story;
|
|
19
|
-
export declare const BorderLineMiddle: Story;
|
|
20
|
-
export declare const BorderLineBottom: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { ShowAllPropsControlled, ShowAllPropsUncontrolled } from './show-all';
|
|
3
|
-
declare const meta: Meta<ShowAllPropsControlled>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<Meta<ShowAllPropsControlled>>;
|
|
6
|
-
export declare const Text: Story;
|
|
7
|
-
export declare const Checkboxes: Story;
|
|
8
|
-
export declare const Uncontrolled: StoryObj<Meta<ShowAllPropsUncontrolled>>;
|
|
9
|
-
export declare const ShortText: StoryObj<Meta<ShowAllPropsUncontrolled>>;
|
package/dist/src/country-selector/country-selector-dialog/country-selector-dialog.stories.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { CountrySelectorDialog } from './country-selector-dialog';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
argTypes: {
|
|
5
|
-
isOpen: {
|
|
6
|
-
control: {
|
|
7
|
-
type: "boolean";
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
component: typeof CountrySelectorDialog;
|
|
12
|
-
parameters: {
|
|
13
|
-
layout: string;
|
|
14
|
-
};
|
|
15
|
-
tags: string[];
|
|
16
|
-
title: string;
|
|
17
|
-
};
|
|
18
|
-
export default meta;
|
|
19
|
-
type Story = StoryObj<typeof meta>;
|
|
20
|
-
export declare const Default: Story;
|
package/dist/src/country-selector/country-selector-trigger/country-selector-trigger.stories.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import { CountrySelectorTrigger } from './country-selector-trigger';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
component: typeof CountrySelectorTrigger;
|
|
5
|
-
parameters: {
|
|
6
|
-
backgrounds: {
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
layout: string;
|
|
10
|
-
};
|
|
11
|
-
tags: string[];
|
|
12
|
-
title: string;
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof meta>;
|
|
16
|
-
export declare const Default: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Country, Language } from 'shared/model/countries-languages';
|
|
2
|
-
interface CountrySelectorProps {
|
|
3
|
-
defaultCountryCode: string;
|
|
4
|
-
defaultLanguageCode: string;
|
|
5
|
-
onChange?: (args: {
|
|
6
|
-
country: Country;
|
|
7
|
-
language: Language;
|
|
8
|
-
}) => void;
|
|
9
|
-
showCountry?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare function CountrySelector({ defaultCountryCode, defaultLanguageCode, onChange, showCountry, }: CountrySelectorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
-
export {};
|