@graphcommerce/next-ui 3.22.0 → 3.22.1

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,17 @@
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.22.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.22.0...@graphcommerce/next-ui@3.22.1) (2022-01-04)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * overlay would have a height instead of minHeight ([07dba4b](https://github.com/ho-nl/m2-pwa/commit/07dba4b875a37beac2ab6a8afe50e6b7a7ba1bf9))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.22.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.21.15...@graphcommerce/next-ui@3.22.0) (2022-01-03)
7
18
 
8
19
 
@@ -353,17 +353,12 @@ export function LayoutOverlayBase(props: LayoutOverlayBaseProps) {
353
353
  // scrollSnapAlign: 'end',
354
354
  [theme.breakpoints.down('sm')]: {
355
355
  minWidth: '80vw',
356
- ...((sizeSm === 'full' || sizeSm === 'minimal') && {
357
- paddingBottom: 56,
358
- }),
359
- ...(variantSm === 'bottom' && sizeSm === 'full' && { height: 'calc(100vh - 56px)' }),
356
+ ...((sizeSm === 'full' || sizeSm === 'minimal') && { paddingBottom: 56 }),
357
+ ...(variantSm === 'bottom' && sizeSm === 'full' && { minHeight: 'calc(100vh - 56px)' }),
360
358
  },
361
359
  [theme.breakpoints.up('md')]: {
362
- ...(variantMd === 'bottom' && sizeMd === 'full' && { height: '100vh' }),
363
-
364
- ...(sizeMd === 'full' && {
365
- minWidth: 'max(600px, 50vw)',
366
- }),
360
+ ...(variantMd === 'bottom' && sizeMd === 'full' && { minHeight: '100vh' }),
361
+ ...(sizeMd === 'full' && { minWidth: 'max(600px, 50vw)' }),
367
362
  },
368
363
  }),
369
364
  { name: 'OverlayPane' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/next-ui",
3
- "version": "3.22.0",
3
+ "version": "3.22.1",
4
4
  "author": "",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -10,11 +10,11 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@apollo/client": "^3.5.6",
13
- "@graphcommerce/framer-next-pages": "^2.109.0",
14
- "@graphcommerce/framer-scroller": "^1.2.0",
13
+ "@graphcommerce/framer-next-pages": "^2.109.1",
14
+ "@graphcommerce/framer-scroller": "^1.2.1",
15
15
  "@graphcommerce/framer-utils": "^2.103.21",
16
16
  "@graphcommerce/graphql": "^2.105.13",
17
- "@graphcommerce/image": "^2.105.12",
17
+ "@graphcommerce/image": "^2.105.13",
18
18
  "@lingui/macro": "^3.13.0",
19
19
  "@material-ui/core": "^4.12.3",
20
20
  "@material-ui/lab": "^4.0.0-alpha.60",
@@ -25,7 +25,6 @@
25
25
  "next": "^12.0.7",
26
26
  "react": "^17.0.2",
27
27
  "react-dom": "^17.0.2",
28
- "react-focus-lock": "^2.7.1",
29
28
  "react-is": "^17.0.2",
30
29
  "react-schemaorg": "^2.0.0",
31
30
  "schema-dts": "^1.0.0",
@@ -52,5 +51,5 @@
52
51
  "project": "./tsconfig.json"
53
52
  }
54
53
  },
55
- "gitHead": "bc5423d7547f8685db4cd8fc6d8f7a2a51ebed05"
54
+ "gitHead": "ddea6bd034cb06864b33fc4d8af9a3b5dad1c914"
56
55
  }