@sonic-equipment/ui 178.0.0 → 180.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/algolia/algolia-active-filters.js +4 -0
- package/dist/config.js +4 -7
- package/dist/country-select/country-select.d.ts +1 -0
- package/dist/exports.d.ts +19 -9
- package/dist/forms/input/input.d.ts +1 -0
- package/dist/forms/input/input.js +4 -4
- package/dist/forms/input/input.module.css.js +1 -1
- package/dist/forms/password-field/password-field.d.ts +2 -0
- package/dist/forms/password-field/password-field.js +15 -0
- package/dist/forms/search-field/search-field.d.ts +5 -0
- package/dist/forms/search-field/search-field.js +19 -0
- package/dist/forms/text-field/text-field.d.ts +25 -24
- package/dist/forms/text-field/text-field.js +7 -14
- package/dist/forms/textarea/textarea.d.ts +1 -0
- package/dist/forms/textarea/textarea.js +2 -2
- package/dist/forms/textarea/textarea.module.css.js +1 -1
- package/dist/global-search/search-highlight/highlight.d.ts +1 -0
- package/dist/header/buttons/account/connected-account-button.js +1 -1
- package/dist/icons/solid/solid-rating-icon.js +7 -0
- package/dist/index.js +20 -10
- package/dist/intl/translation-id.d.ts +1 -1
- package/dist/modals/dialog/dialog.d.ts +5 -1
- package/dist/modals/dialog/dialog.js +10 -4
- package/dist/navigation/mobile-navigation/mobile-navigation.js +1 -1
- package/dist/observers/intersection-observer.d.ts +9 -1
- package/dist/observers/intersection-observer.js +6 -3
- package/dist/pages/account/components/create-account-form/create-account-form.js +3 -2
- package/dist/pages/account/components/sign-in-form/sign-in-form.js +2 -1
- package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.d.ts +15 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.js +23 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer-dialog.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer.d.ts +13 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer.js +66 -0
- package/dist/pages/my-sonic/actions/change-customer/change-customer.module.css.js +3 -0
- package/dist/pages/my-sonic/actions/change-customer/connected-change-customer-dialog.d.ts +2 -0
- package/dist/pages/my-sonic/actions/change-customer/connected-change-customer-dialog.js +39 -0
- package/dist/pages/my-sonic/navigation/connected-my-sonic-navigation.d.ts +1 -0
- package/dist/pages/{my-account/navigation/connected-my-account-navigation.js → my-sonic/navigation/connected-my-sonic-navigation.js} +5 -5
- package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.d.ts +6 -0
- package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.js +19 -0
- package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.module.css.js +3 -0
- package/dist/pages/{my-account/navigation/my-account-mobile-navigation.d.ts → my-sonic/navigation/my-sonic-mobile-navigation.d.ts} +1 -1
- package/dist/pages/my-sonic/navigation/my-sonic-mobile-navigation.js +22 -0
- package/dist/pages/my-sonic/navigation/my-sonic-navigation-items.d.ts +18 -0
- package/dist/pages/my-sonic/navigation/my-sonic-navigation-items.js +29 -0
- package/dist/pages/my-sonic/widgets/connected-customer-information-widget.d.ts +1 -0
- package/dist/pages/my-sonic/widgets/connected-customer-information-widget.js +56 -0
- package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.d.ts +2 -2
- package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.js +3 -2
- package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.module.css.js +1 -1
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.d.ts +1 -0
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.js +24 -0
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed-section/product-details-recently-viewed-section.module.css.js +3 -0
- package/dist/pages/product/product-details-page/product-details.d.ts +1 -2
- package/dist/pages/product/product-details-page/product-details.js +4 -5
- package/dist/shared/api/bff/hooks/use-fetch-product-details-page-data.js +6 -2
- package/dist/shared/api/bff/hooks/use-fetch-recently-viewed-products.d.ts +4 -0
- package/dist/shared/api/bff/hooks/use-fetch-recently-viewed-products.js +15 -0
- package/dist/shared/api/bff/model/bff.model.d.ts +0 -1
- package/dist/shared/api/bff/services/bff-service.d.ts +4 -1
- package/dist/shared/api/bff/services/bff-service.js +11 -1
- package/dist/shared/api/storefront/hooks/authentication/use-patch-session.d.ts +12 -1
- package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-addresses.d.ts +4 -1
- package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-addresses.js +5 -6
- package/dist/shared/api/storefront/hooks/product/use-mark-product-as-viewed.d.ts +2 -0
- package/dist/shared/api/storefront/hooks/product/use-mark-product-as-viewed.js +17 -0
- package/dist/shared/api/storefront/model/storefront.model.d.ts +4 -1
- package/dist/shared/api/storefront/services/customer-service.d.ts +5 -1
- package/dist/shared/api/storefront/services/customer-service.js +3 -3
- package/dist/shared/api/storefront/services/product-service.d.ts +4 -0
- package/dist/shared/api/storefront/services/product-service.js +10 -0
- package/dist/shared/feature-flags/use-feature-flags.d.ts +0 -3
- package/dist/shared/feature-flags/use-feature-flags.js +0 -3
- package/dist/shared/fetch/request.d.ts +1 -1
- package/dist/shared/ga/google-analytics-provider.d.ts +1 -1
- package/dist/shared/hooks/use-intersection-observer.d.ts +2 -1
- package/dist/shared/hooks/use-intersection-observer.js +3 -2
- package/dist/styles.css +228 -101
- package/dist/text/highlight-text/highlight-text.d.ts +10 -0
- package/dist/text/highlight-text/highlight-text.js +19 -0
- package/dist/text/highlight-text/highlight-text.module.css.js +3 -0
- package/dist/typography/heading/heading.d.ts +3 -1
- package/dist/typography/heading/heading.js +2 -1
- package/package.json +2 -1
- package/dist/icons/solid/solid-dashboard-icon.js +0 -7
- package/dist/pages/my-account/navigation/connected-my-account-navigation.d.ts +0 -1
- package/dist/pages/my-account/navigation/my-account-desktop-navigation.d.ts +0 -6
- package/dist/pages/my-account/navigation/my-account-desktop-navigation.js +0 -17
- package/dist/pages/my-account/navigation/my-account-desktop-navigation.module.css.js +0 -3
- package/dist/pages/my-account/navigation/my-account-mobile-navigation.js +0 -25
- package/dist/pages/my-account/widgets/connected-company-information-widget.d.ts +0 -1
- package/dist/pages/my-account/widgets/connected-company-information-widget.js +0 -43
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed/product-details-recently-viewed.d.ts +0 -4
- package/dist/pages/product/product-details-page/components/product-details-recently-viewed/product-details-recently-viewed.js +0 -15
- /package/dist/pages/{my-account → my-sonic}/widgets/components/address-data-card.d.ts +0 -0
- /package/dist/pages/{my-account → my-sonic}/widgets/components/address-data-card.js +0 -0
- /package/dist/pages/{my-account → my-sonic}/widgets/connected-bill-to-address-widget.d.ts +0 -0
- /package/dist/pages/{my-account → my-sonic}/widgets/connected-bill-to-address-widget.js +0 -0
- /package/dist/pages/{my-account → my-sonic}/widgets/connected-ship-to-address-widget.d.ts +0 -0
- /package/dist/pages/{my-account → my-sonic}/widgets/connected-ship-to-address-widget.js +0 -0
- /package/dist/pages/{my-account → my-sonic}/widgets/connected-user-account-widget.d.ts +0 -0
- /package/dist/pages/{my-account → my-sonic}/widgets/connected-user-account-widget.js +0 -0
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { ConnectedProductCard } from '../../../../../cards/product-card/connected-product-card.js';
|
|
3
|
-
import { CardCarousel } from '../../../../../carousel/card-carousel/card-carousel.js';
|
|
4
|
-
import { FormattedMessage } from '../../../../../intl/formatted-message.js';
|
|
5
|
-
import { Heading } from '../../../../../typography/heading/heading.js';
|
|
6
|
-
|
|
7
|
-
function ProductDetailsRecentlyViewed({ recentlyViewed, }) {
|
|
8
|
-
return (jsxs(Fragment, { children: [jsx(Heading, { size: "s", tag: "h2", children: jsx(FormattedMessage, { id: "Recently viewed" }) }), jsx(CardCarousel, { hasOverflow: true, cards: recentlyViewed.map(product => (jsx(ConnectedProductCard, { href: product.href, id: product.productId, image: {
|
|
9
|
-
fit: 'contain',
|
|
10
|
-
image: product.image,
|
|
11
|
-
title: product.image?.altText || product.title,
|
|
12
|
-
}, price: product.price, sku: product.sku, tags: product.tags, title: product.title }, product.storefrontId))) })] }));
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { ProductDetailsRecentlyViewed };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|