@graphcommerce/next-ui 6.2.0-canary.37 → 6.2.0-canary.38

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,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.2.0-canary.38
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1958](https://github.com/graphcommerce-org/graphcommerce/pull/1958) [`0a311b6eb`](https://github.com/graphcommerce-org/graphcommerce/commit/0a311b6ebb5a52e2a7f1d2e6a0fe113904fa2d34) - Left overlays wouldn't properly snap when the overlay gets wider than the viewport ([@paales](https://github.com/paales))
8
+
3
9
  ## 6.2.0-canary.37
4
10
 
5
11
  ## 6.2.0-canary.36
@@ -469,9 +469,14 @@ export function OverlayBase(incomingProps: LayoutOverlayBaseProps) {
469
469
  sx={(theme) => ({
470
470
  display: 'grid',
471
471
  gridArea: 'overlay',
472
- scrollSnapAlign: 'end',
473
472
  scrollSnapStop: 'always',
474
473
  pointerEvents: 'none',
474
+ '&.variantMdBottom, &.variantMdRight': {
475
+ scrollSnapAlign: 'end',
476
+ },
477
+ '&.variantMdLeft': {
478
+ scrollSnapAlign: 'start',
479
+ },
475
480
  [theme.breakpoints.down('md')]: {
476
481
  justifyContent: justifySm,
477
482
  alignItems: justifySm,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/next-ui",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "6.2.0-canary.37",
5
+ "version": "6.2.0-canary.38",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "sideEffects": false,
@@ -18,18 +18,18 @@
18
18
  "@emotion/react": "^11.10.6",
19
19
  "@emotion/server": "^11.4.0",
20
20
  "@emotion/styled": "^11.10.6",
21
- "@graphcommerce/framer-next-pages": "6.2.0-canary.37",
22
- "@graphcommerce/framer-scroller": "6.2.0-canary.37",
23
- "@graphcommerce/framer-utils": "6.2.0-canary.37",
24
- "@graphcommerce/image": "6.2.0-canary.37",
21
+ "@graphcommerce/framer-next-pages": "6.2.0-canary.38",
22
+ "@graphcommerce/framer-scroller": "6.2.0-canary.38",
23
+ "@graphcommerce/framer-utils": "6.2.0-canary.38",
24
+ "@graphcommerce/image": "6.2.0-canary.38",
25
25
  "cookie": "^0.5.0",
26
26
  "react-is": "^18.2.0",
27
27
  "schema-dts": "^1.1.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@graphcommerce/eslint-config-pwa": "6.2.0-canary.37",
31
- "@graphcommerce/prettier-config-pwa": "6.2.0-canary.37",
32
- "@graphcommerce/typescript-config-pwa": "6.2.0-canary.37",
30
+ "@graphcommerce/eslint-config-pwa": "6.2.0-canary.38",
31
+ "@graphcommerce/prettier-config-pwa": "6.2.0-canary.38",
32
+ "@graphcommerce/typescript-config-pwa": "6.2.0-canary.38",
33
33
  "@types/cookie": "^0.5.1",
34
34
  "@types/react-is": "^17.0.3",
35
35
  "typescript": "4.9.5"