@graphcommerce/framer-next-pages 3.1.6 → 3.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1477](https://github.com/graphcommerce-org/graphcommerce/pull/1477) [`597e2f413`](https://github.com/graphcommerce-org/graphcommerce/commit/597e2f413bdb5b76793b40ab631ce61390e26e81) Thanks [@paales](https://github.com/paales)! - fixes Received `true` for a non-boolean attribute `inert`.
8
+
9
+ - Updated dependencies [[`f167f9963`](https://github.com/graphcommerce-org/graphcommerce/commit/f167f99630966a7de43717937d43669e66132494)]:
10
+ - @graphcommerce/framer-utils@3.1.3
11
+
12
+ ## 3.2.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#1432](https://github.com/graphcommerce-org/graphcommerce/pull/1432) [`99600dd09`](https://github.com/graphcommerce-org/graphcommerce/commit/99600dd091980dd9ef335c04d2efac0835c20b2f) Thanks [@paales](https://github.com/paales)! - make sure the background isn’t visible to screen readers
17
+
18
+ ## 3.2.0
19
+
20
+ ### Minor Changes
21
+
22
+ - [#1416](https://github.com/graphcommerce-org/graphcommerce/pull/1416) [`f3d06dd83`](https://github.com/graphcommerce-org/graphcommerce/commit/f3d06dd836c9a76412b419d4d2c79bbd0ee92e04) Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - SEO audit
23
+
3
24
  ## 3.1.6
4
25
 
5
26
  ### Patch Changes
@@ -34,7 +34,13 @@ export function Page(props: PageProps) {
34
34
  const zIndex = active ? 1 : undefined
35
35
 
36
36
  return (
37
- <m.div style={{ position, top, zIndex, minHeight: clientSizeCssVar.y, left: 0, right: 0 }}>
37
+ <m.div
38
+ style={{ position, top, zIndex, minHeight: clientSizeCssVar.y, left: 0, right: 0 }}
39
+ // @ts-expect-error inert is not in the type definition yet
40
+ inert={!active ? 'true' : undefined}
41
+ data-nosnippet={!active ? true : undefined}
42
+ aria-hidden={!active ? true : undefined}
43
+ >
38
44
  {children}
39
45
  </m.div>
40
46
  )
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/framer-next-pages",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.1.6",
5
+ "version": "3.2.2",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,7 +12,7 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@graphcommerce/framer-utils": "3.1.2"
15
+ "@graphcommerce/framer-utils": "3.1.3"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@graphcommerce/eslint-config-pwa": "^4.1.5",