@graphcommerce/magento-category 9.1.0-canary.18 → 9.1.0-canary.20

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.20
4
+
5
+ ## 9.1.0-canary.19
6
+
7
+ ### Patch Changes
8
+
9
+ - [#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))
10
+
11
+ - [#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))
12
+
3
13
  ## 9.1.0-canary.18
4
14
 
5
15
  ## 9.1.0-canary.17
@@ -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) {
@@ -2,5 +2,6 @@ fragment CategoryMeta on CategoryTree {
2
2
  name
3
3
  meta_title
4
4
  meta_description
5
+ meta_keywords
5
6
  image
6
7
  }
@@ -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 } = props
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.18",
5
+ "version": "9.1.0-canary.20",
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.18",
16
- "@graphcommerce/framer-scroller": "^9.1.0-canary.18",
17
- "@graphcommerce/graphql": "^9.1.0-canary.18",
18
- "@graphcommerce/image": "^9.1.0-canary.18",
19
- "@graphcommerce/magento-store": "^9.1.0-canary.18",
20
- "@graphcommerce/next-ui": "^9.1.0-canary.18",
21
- "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.18",
22
- "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.18",
15
+ "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.20",
16
+ "@graphcommerce/framer-scroller": "^9.1.0-canary.20",
17
+ "@graphcommerce/graphql": "^9.1.0-canary.20",
18
+ "@graphcommerce/image": "^9.1.0-canary.20",
19
+ "@graphcommerce/magento-store": "^9.1.0-canary.20",
20
+ "@graphcommerce/next-ui": "^9.1.0-canary.20",
21
+ "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.20",
22
+ "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.20",
23
23
  "@lingui/core": "^4.2.1",
24
24
  "@lingui/macro": "^4.2.1",
25
25
  "@lingui/react": "^4.2.1",