@graphcommerce/next-ui 3.1.1 → 3.1.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.
@@ -38,7 +38,7 @@ const useStyles = makeStyles(
38
38
  borderBottom: `1px solid ${theme.palette.divider}`,
39
39
  },
40
40
  dividerSpacer: {
41
- minHeight: 2,
41
+ minHeight: 1,
42
42
  },
43
43
  dividerSheetShell: {
44
44
  marginTop: `calc((${theme.page.headerInnerHeight.md} * 0.15))`,
@@ -130,8 +130,8 @@ const useStyles = makeStyles(
130
130
  sheetHeaderFillMobileOnly: {
131
131
  [theme.breakpoints.up('md')]: {
132
132
  pointerEvents: 'none',
133
- background: 'transparent',
134
- marginBottom: `calc((${theme.page.headerInnerHeight.md} * -1) + ${theme.spacings.xxs} * 2)`,
133
+ background: 'green',
134
+ position: 'fixed',
135
135
  },
136
136
  },
137
137
  innerContainer: {
@@ -20,6 +20,7 @@ const useStyles = makeStyles(
20
20
  justifyContent: 'center',
21
21
  [theme.breakpoints.up('md')]: {
22
22
  padding: `${theme.spacings.xxs} ${theme.page.horizontal} 0`,
23
+ marginBottom: theme.spacings.xxs,
23
24
  top: 0,
24
25
  display: 'flex',
25
26
  pointerEvents: 'none',
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.1.2](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.1.1...@graphcommerce/next-ui@3.1.2) (2021-10-04)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **hero-banner:** too large top spacing ([0ad8499](https://github.com/ho-nl/m2-pwa/commit/0ad8499a1702caf8e121f38e1ccb70fba4f418db))
12
+ * **sheet-shell:** mobile border bottom gap ([70104d8](https://github.com/ho-nl/m2-pwa/commit/70104d88994c2324f415eec1efeeba21de7872b9))
13
+
14
+
15
+
16
+
17
+
6
18
  ## [3.1.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.1.0...@graphcommerce/next-ui@3.1.1) (2021-10-04)
7
19
 
8
20
 
@@ -44,7 +44,7 @@ const useStyles = makeStyles(
44
44
  zIndex: theme.zIndex.modal,
45
45
  marginTop: 0,
46
46
  [theme.breakpoints.up('md')]: {
47
- marginTop: `calc(${theme.page.headerInnerHeight.md} * -1 - ${theme.spacings.sm} * 2)`,
47
+ marginTop: `calc(${theme.page.headerInnerHeight.md} * -1 - ${theme.spacings.sm})`,
48
48
  },
49
49
  paddingRight: 0,
50
50
  },
@@ -55,6 +55,7 @@ const useStyles = makeStyles(
55
55
 
56
56
  const maxHeight = `calc(100vh - ${headerHeight} - ${galleryMargin} - ${extraSpacing})`
57
57
  const ratio = `calc(${height} / ${width} * 100%)`
58
+
58
59
  return {
59
60
  height: 0, // https://stackoverflow.com/questions/44770074/css-grid-row-height-safari-bug
60
61
  position: 'relative',
@@ -9,9 +9,6 @@ import responsiveVal from '../../Styles/responsiveVal'
9
9
  const useStyles = makeStyles(
10
10
  (theme: Theme) => ({
11
11
  container: {
12
- [theme.breakpoints.up('md')]: {
13
- paddingTop: theme.spacings.xxs,
14
- },
15
12
  paddingLeft: 0,
16
13
  paddingRight: 0,
17
14
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/next-ui",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "author": "",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -56,5 +56,5 @@
56
56
  "project": "./tsconfig.json"
57
57
  }
58
58
  },
59
- "gitHead": "d543ebfabe185d01354c9aed619ab83ec816944f"
59
+ "gitHead": "e39e67558e99e266d7a5944da44762c7ad444a6a"
60
60
  }