@graphcommerce/magento-product 10.0.0-canary.66 → 10.0.0-canary.67
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
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 10.0.0-canary.67
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2506](https://github.com/graphcommerce-org/graphcommerce/pull/2506) [`cfb5ed6`](https://github.com/graphcommerce-org/graphcommerce/commit/cfb5ed6c457314ac7bc3379c5947e88e5d87dfa5) - feat(GCOM-1577): show product name and link on PDP breadcrumbs ([@FrankHarland](https://github.com/FrankHarland))
|
|
8
|
+
|
|
3
9
|
## 10.0.0-canary.66
|
|
4
10
|
|
|
5
11
|
## 10.0.0-canary.65
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { usePrevPageRouter } from '@graphcommerce/framer-next-pages'
|
|
2
|
-
|
|
2
|
+
// The magento-product MAY NOT depend on magento-category else plugin loading order breaks.
|
|
3
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
4
|
+
import { categoryToBreadcrumbs } from '@graphcommerce/magento-category/components/CategoryBreadcrumb/categoryToBreadcrumbs'
|
|
3
5
|
import { Breadcrumbs } from '@graphcommerce/next-ui'
|
|
4
6
|
import { BreadcrumbsJsonLd } from '@graphcommerce/next-ui/Breadcrumbs/BreadcrumbsJsonLd'
|
|
5
7
|
import { jsonLdBreadcrumb } from '@graphcommerce/next-ui/Breadcrumbs/jsonLdBreadcrumb'
|
|
@@ -34,7 +36,11 @@ export function ProductPageBreadcrumbs(props: ProductPageBreadcrumbsProps) {
|
|
|
34
36
|
breadcrumbs={[...breadcrumbs, { name: product.name, href: productLink(product) }]}
|
|
35
37
|
render={(bc) => ({ '@context': 'https://schema.org', ...jsonLdBreadcrumb(bc, router) })}
|
|
36
38
|
/>
|
|
37
|
-
<Breadcrumbs
|
|
39
|
+
<Breadcrumbs
|
|
40
|
+
breadcrumbs={[...breadcrumbs, { name: product.name, href: productLink(product) }]}
|
|
41
|
+
hideLastOnMobile
|
|
42
|
+
{...breadcrumbsProps}
|
|
43
|
+
/>
|
|
38
44
|
</>
|
|
39
45
|
)
|
|
40
46
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-product",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "10.0.0-canary.
|
|
5
|
+
"version": "10.0.0-canary.67",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"typescript": "5.9.3"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@graphcommerce/ecommerce-ui": "^10.0.0-canary.
|
|
22
|
-
"@graphcommerce/eslint-config-pwa": "^10.0.0-canary.
|
|
23
|
-
"@graphcommerce/framer-next-pages": "^10.0.0-canary.
|
|
24
|
-
"@graphcommerce/framer-scroller": "^10.0.0-canary.
|
|
25
|
-
"@graphcommerce/graphql": "^10.0.0-canary.
|
|
26
|
-
"@graphcommerce/graphql-mesh": "^10.0.0-canary.
|
|
27
|
-
"@graphcommerce/image": "^10.0.0-canary.
|
|
28
|
-
"@graphcommerce/magento-cart": "^10.0.0-canary.
|
|
29
|
-
"@graphcommerce/magento-store": "^10.0.0-canary.
|
|
30
|
-
"@graphcommerce/next-ui": "^10.0.0-canary.
|
|
31
|
-
"@graphcommerce/prettier-config-pwa": "^10.0.0-canary.
|
|
32
|
-
"@graphcommerce/typescript-config-pwa": "^10.0.0-canary.
|
|
21
|
+
"@graphcommerce/ecommerce-ui": "^10.0.0-canary.67",
|
|
22
|
+
"@graphcommerce/eslint-config-pwa": "^10.0.0-canary.67",
|
|
23
|
+
"@graphcommerce/framer-next-pages": "^10.0.0-canary.67",
|
|
24
|
+
"@graphcommerce/framer-scroller": "^10.0.0-canary.67",
|
|
25
|
+
"@graphcommerce/graphql": "^10.0.0-canary.67",
|
|
26
|
+
"@graphcommerce/graphql-mesh": "^10.0.0-canary.67",
|
|
27
|
+
"@graphcommerce/image": "^10.0.0-canary.67",
|
|
28
|
+
"@graphcommerce/magento-cart": "^10.0.0-canary.67",
|
|
29
|
+
"@graphcommerce/magento-store": "^10.0.0-canary.67",
|
|
30
|
+
"@graphcommerce/next-ui": "^10.0.0-canary.67",
|
|
31
|
+
"@graphcommerce/prettier-config-pwa": "^10.0.0-canary.67",
|
|
32
|
+
"@graphcommerce/typescript-config-pwa": "^10.0.0-canary.67",
|
|
33
33
|
"@lingui/core": "^5",
|
|
34
34
|
"@lingui/macro": "^5",
|
|
35
35
|
"@lingui/react": "^5",
|