@graphcommerce/magento-category 3.4.4 → 3.5.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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.5.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.4.4...@graphcommerce/magento-category@3.5.0) (2021-12-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * borderRadius based on theme.shape.borderRadius ([7c34937](https://github.com/ho-nl/m2-pwa/commit/7c349376cd41a131c628324c299106fdb7e60484))
12
+ * introduce borderRadius ([183afbc](https://github.com/ho-nl/m2-pwa/commit/183afbc8ee269f6694c372b06afdf41302f86c09))
13
+
14
+
15
+
16
+
17
+
6
18
  # [3.4.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.3.29...@graphcommerce/magento-category@3.4.0) (2021-11-12)
7
19
 
8
20
 
@@ -1,4 +1,5 @@
1
1
  import { ProductListLink } from '@graphcommerce/magento-product'
2
+ import { responsiveVal, Row } from '@graphcommerce/next-ui'
2
3
  import { makeStyles, Theme, Typography } from '@material-ui/core'
3
4
  import React from 'react'
4
5
  import { CategoryHeroNavFragment } from './CategoryHeroNav.gql'
@@ -16,7 +17,6 @@ const useStyles = makeStyles(
16
17
  gridTemplateRows: 'auto auto 1fr',
17
18
  borderBottom: `1px solid ${theme.palette.divider}`,
18
19
  marginBottom: theme.spacings.xl,
19
- paddingRight: 0,
20
20
  paddingBottom: theme.page.vertical,
21
21
  [theme.breakpoints.up('md')]: {
22
22
  rowGap: theme.spacings.md,
@@ -62,6 +62,7 @@ const useStyles = makeStyles(
62
62
  '& video': {
63
63
  objectFit: 'cover',
64
64
  width: '100%',
65
+ borderRadius: responsiveVal(theme.shape.borderRadius * 2, theme.shape.borderRadius * 3),
65
66
  },
66
67
  },
67
68
  [theme.breakpoints.up('md')]: {
@@ -96,7 +97,7 @@ export default function CategoryHeroNav({ children, title, asset }: CategoryHero
96
97
 
97
98
  return (
98
99
  <>
99
- <div className={classes.wrapper}>
100
+ <Row className={classes.wrapper} maxWidth={false}>
100
101
  <div className={classes.title}>{title}</div>
101
102
  <div className={classes.categories}>
102
103
  {children?.map((category) => {
@@ -120,7 +121,7 @@ export default function CategoryHeroNav({ children, title, asset }: CategoryHero
120
121
  <div className={classes.placeholder}>
121
122
  <div>{asset}</div>
122
123
  </div>
123
- </div>
124
+ </Row>
124
125
  </>
125
126
  )
126
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-category",
3
- "version": "3.4.4",
3
+ "version": "3.5.0",
4
4
  "sideEffects": false,
5
5
  "prettier": "@graphcommerce/prettier-config-pwa",
6
6
  "browserslist": [
@@ -24,9 +24,9 @@
24
24
  "@graphcommerce/framer-scroller": "^1.0.4",
25
25
  "@graphcommerce/graphql": "^2.105.5",
26
26
  "@graphcommerce/image": "^2.105.4",
27
- "@graphcommerce/magento-product": "^3.6.4",
28
- "@graphcommerce/magento-store": "^3.3.4",
29
- "@graphcommerce/next-ui": "^3.18.2",
27
+ "@graphcommerce/magento-product": "^3.7.0",
28
+ "@graphcommerce/magento-store": "^3.3.5",
29
+ "@graphcommerce/next-ui": "^3.19.0",
30
30
  "@lingui/macro": "^3.12.1",
31
31
  "@material-ui/core": "^4.12.3",
32
32
  "next": "^12.0.3",
@@ -34,5 +34,5 @@
34
34
  "react-dom": "^17.0.2",
35
35
  "type-fest": "^2.5.1"
36
36
  },
37
- "gitHead": "4d36627aeb43cba320c249b9a876384627064f18"
37
+ "gitHead": "f079c0b5b96dd1a048ca4d3c1d07916353c6bc33"
38
38
  }