@salesforce/retail-react-app 6.0.0-preview.1 → 6.0.0-preview.2
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/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
- Implemented opt-in Social & Passwordless Login features and fixed the Reset Password flow which now leverages SLAS APIs [#2079] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2079)
|
|
5
5
|
- Allow store to be selectable in StoreLocator [#2187](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2187)
|
|
6
6
|
- Replace transfer basket call with merge basket on checkout [#2138](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2138)
|
|
7
|
-
- PDP / PLP: Add page meta data tags that have been defined in BM [#2232](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2232)
|
|
8
7
|
|
|
9
8
|
### Bug Fixes
|
|
10
9
|
- [BUG] Fixed GET /shopper-context API calls being made without the usid [#2206](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2206)
|
|
@@ -16,6 +15,7 @@
|
|
|
16
15
|
### Accessibility Improvements
|
|
17
16
|
- [a11y] Fix LinkList component to follow a11y practise [#2098])(https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2098)
|
|
18
17
|
|
|
18
|
+
|
|
19
19
|
## v5.0.0 (Oct 28, 2024)
|
|
20
20
|
|
|
21
21
|
### New Features
|
|
@@ -99,8 +99,7 @@ const ProductDetail = () => {
|
|
|
99
99
|
'prices',
|
|
100
100
|
'variations',
|
|
101
101
|
'set_products',
|
|
102
|
-
'bundled_products'
|
|
103
|
-
'page_meta_tags'
|
|
102
|
+
'bundled_products'
|
|
104
103
|
],
|
|
105
104
|
allImages: true
|
|
106
105
|
}
|
|
@@ -456,15 +455,7 @@ const ProductDetail = () => {
|
|
|
456
455
|
>
|
|
457
456
|
<Helmet>
|
|
458
457
|
<title>{product?.pageTitle}</title>
|
|
459
|
-
{product?.
|
|
460
|
-
product.pageMetaTags.map(({id, value}) => (
|
|
461
|
-
<meta name={id} content={value} key={id} />
|
|
462
|
-
))}
|
|
463
|
-
{/* Fallback for description if not included in pageMetaTags */}
|
|
464
|
-
{!product?.pageMetaTags?.some((tag) => tag.id === 'description') &&
|
|
465
|
-
product?.pageDescription && (
|
|
466
|
-
<meta name="description" content={product.pageDescription} />
|
|
467
|
-
)}
|
|
458
|
+
<meta name="description" content={product?.pageDescription} />
|
|
468
459
|
</Helmet>
|
|
469
460
|
|
|
470
461
|
<Stack spacing={16}>
|
|
@@ -159,14 +159,7 @@ const ProductList = (props) => {
|
|
|
159
159
|
perPricebook: true,
|
|
160
160
|
allVariationProperties: true,
|
|
161
161
|
allImages: true,
|
|
162
|
-
expand: [
|
|
163
|
-
'promotions',
|
|
164
|
-
'variations',
|
|
165
|
-
'prices',
|
|
166
|
-
'images',
|
|
167
|
-
'page_meta_tags',
|
|
168
|
-
'custom_properties'
|
|
169
|
-
],
|
|
162
|
+
expand: ['promotions', 'variations', 'prices', 'images', 'custom_properties'],
|
|
170
163
|
refine: _refine
|
|
171
164
|
}
|
|
172
165
|
},
|
|
@@ -418,9 +411,6 @@ const ProductList = (props) => {
|
|
|
418
411
|
<title>{category?.pageTitle ?? searchQuery}</title>
|
|
419
412
|
<meta name="description" content={category?.pageDescription ?? searchQuery} />
|
|
420
413
|
<meta name="keywords" content={category?.pageKeywords} />
|
|
421
|
-
{productSearchResult?.pageMetaTags?.map(({id, value}) => {
|
|
422
|
-
return <meta name={id} content={value} key={id} />
|
|
423
|
-
})}
|
|
424
414
|
</Helmet>
|
|
425
415
|
{showNoResults ? (
|
|
426
416
|
<EmptySearchResults searchQuery={searchQuery} category={category} />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/retail-react-app",
|
|
3
|
-
"version": "6.0.0-preview.
|
|
3
|
+
"version": "6.0.0-preview.2",
|
|
4
4
|
"license": "See license in LICENSE",
|
|
5
5
|
"author": "cc-pwa-kit@salesforce.com",
|
|
6
6
|
"ccExtensibility": {
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@lhci/cli": "^0.11.0",
|
|
46
46
|
"@loadable/component": "^5.15.3",
|
|
47
47
|
"@peculiar/webcrypto": "^1.4.2",
|
|
48
|
-
"@salesforce/commerce-sdk-react": "3.2.0-preview.
|
|
49
|
-
"@salesforce/pwa-kit-dev": "3.9.0-preview.
|
|
50
|
-
"@salesforce/pwa-kit-react-sdk": "3.9.0-preview.
|
|
51
|
-
"@salesforce/pwa-kit-runtime": "3.9.0-preview.
|
|
48
|
+
"@salesforce/commerce-sdk-react": "3.2.0-preview.2",
|
|
49
|
+
"@salesforce/pwa-kit-dev": "3.9.0-preview.2",
|
|
50
|
+
"@salesforce/pwa-kit-react-sdk": "3.9.0-preview.2",
|
|
51
|
+
"@salesforce/pwa-kit-runtime": "3.9.0-preview.2",
|
|
52
52
|
"@tanstack/react-query": "^4.28.0",
|
|
53
53
|
"@tanstack/react-query-devtools": "^4.29.1",
|
|
54
54
|
"@testing-library/dom": "^9.0.1",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"maxSize": "325 kB"
|
|
102
102
|
}
|
|
103
103
|
],
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "6965aa2fc067c784660c4bb816e699789ea386c5"
|
|
105
105
|
}
|