@graphcommerce/magento-category 9.1.0-canary.17 → 9.1.0-canary.19
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,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.1.0-canary.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`37c00d8`](https://github.com/graphcommerce-org/graphcommerce/commit/37c00d80419b209850457559d7b7eca4101f5705) - Forward productListRenderer for all locations that can be rendered by pagebuilder ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
9
|
+
- [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`1e38811`](https://github.com/graphcommerce-org/graphcommerce/commit/1e3881177065548165b7141a29cff8ab27692b25) - Added support for meta_keyword for products and categories ([@paales](https://github.com/paales))
|
|
10
|
+
|
|
11
|
+
## 9.1.0-canary.18
|
|
12
|
+
|
|
3
13
|
## 9.1.0-canary.17
|
|
4
14
|
|
|
5
15
|
## 9.1.0-canary.16
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ProductListItemRenderer } from '@graphcommerce/magento-product'
|
|
1
2
|
import { extendableComponent } from '@graphcommerce/next-ui'
|
|
2
3
|
import type { SxProps, Theme } from '@mui/material'
|
|
3
4
|
import { Box } from '@mui/material'
|
|
@@ -17,6 +18,7 @@ const { withState } = extendableComponent<StateProps, typeof componentName, type
|
|
|
17
18
|
export type CategoryDescriptionProps = StateProps & {
|
|
18
19
|
sx?: SxProps<Theme>
|
|
19
20
|
category: Omit<CategoryDescriptionFragment, 'uid'>
|
|
21
|
+
productListRenderer: ProductListItemRenderer
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
export function CategoryDescription(props: CategoryDescriptionProps) {
|
|
@@ -12,7 +12,8 @@ export type CategoryMetaProps = CategoryMetaFragment &
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export function CategoryMeta(props: CategoryMetaProps) {
|
|
15
|
-
const { meta_title, meta_description, name, params, image, ogImageUseFallback } =
|
|
15
|
+
const { meta_title, meta_description, meta_keywords, name, params, image, ogImageUseFallback } =
|
|
16
|
+
props
|
|
16
17
|
let { title, metaDescription, metaRobots, canonical, ogImage } = props
|
|
17
18
|
if (!title) title = ''
|
|
18
19
|
if (!metaDescription) metaDescription = ''
|
|
@@ -52,6 +53,7 @@ export function CategoryMeta(props: CategoryMetaProps) {
|
|
|
52
53
|
title={titleTrans}
|
|
53
54
|
metaDescription={metaDescriptionTrans}
|
|
54
55
|
metaRobots={noIndex ? ['noindex'] : metaRobots}
|
|
56
|
+
metaKeywords={meta_keywords}
|
|
55
57
|
canonical={isPaginated ? `${canonical}/page/${currentPage}` : canonical}
|
|
56
58
|
ogImage={ogImage}
|
|
57
59
|
ogImageUseFallback={ogImageUseFallback}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-category",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.1.0-canary.
|
|
5
|
+
"version": "9.1.0-canary.19",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^9.1.0-canary.
|
|
16
|
-
"@graphcommerce/framer-scroller": "^9.1.0-canary.
|
|
17
|
-
"@graphcommerce/graphql": "^9.1.0-canary.
|
|
18
|
-
"@graphcommerce/image": "^9.1.0-canary.
|
|
19
|
-
"@graphcommerce/magento-store": "^9.1.0-canary.
|
|
20
|
-
"@graphcommerce/next-ui": "^9.1.0-canary.
|
|
21
|
-
"@graphcommerce/prettier-config-pwa": "^9.1.0-canary.
|
|
22
|
-
"@graphcommerce/typescript-config-pwa": "^9.1.0-canary.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^9.1.0-canary.19",
|
|
16
|
+
"@graphcommerce/framer-scroller": "^9.1.0-canary.19",
|
|
17
|
+
"@graphcommerce/graphql": "^9.1.0-canary.19",
|
|
18
|
+
"@graphcommerce/image": "^9.1.0-canary.19",
|
|
19
|
+
"@graphcommerce/magento-store": "^9.1.0-canary.19",
|
|
20
|
+
"@graphcommerce/next-ui": "^9.1.0-canary.19",
|
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^9.1.0-canary.19",
|
|
22
|
+
"@graphcommerce/typescript-config-pwa": "^9.1.0-canary.19",
|
|
23
23
|
"@lingui/core": "^4.2.1",
|
|
24
24
|
"@lingui/macro": "^4.2.1",
|
|
25
25
|
"@lingui/react": "^4.2.1",
|