@graphcommerce/framer-next-pages 8.0.6-canary.4 → 8.1.0-canary.10
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 +12 -0
- package/components/Pages.tsx +1 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/components/Pages.tsx
CHANGED
|
@@ -45,9 +45,8 @@ function getPageInfo(router: NextRouter) {
|
|
|
45
45
|
export function FramerNextPages(props: PagesProps) {
|
|
46
46
|
const { router, Component, pageProps: incomingProps, fallback = '/', fallbackRoute = '/' } = props
|
|
47
47
|
|
|
48
|
-
// @ts-expect-error Key of the route is still private, should be fixed in https://github.com/vercel/next.js/pull/37192
|
|
49
48
|
// eslint-disable-next-line no-underscore-dangle
|
|
50
|
-
const key = router
|
|
49
|
+
const key = (router as NextRouter & { _key: string })._key
|
|
51
50
|
|
|
52
51
|
useMeasureDynamicViewportSize()
|
|
53
52
|
const items = useRef<PageItem[]>([])
|
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": "8.0
|
|
5
|
+
"version": "8.1.0-canary.10",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^8.0
|
|
16
|
-
"@graphcommerce/framer-utils": "^8.0
|
|
17
|
-
"@graphcommerce/prettier-config-pwa": "^8.0
|
|
18
|
-
"@graphcommerce/typescript-config-pwa": "^8.0
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^8.1.0-canary.10",
|
|
16
|
+
"@graphcommerce/framer-utils": "^8.1.0-canary.10",
|
|
17
|
+
"@graphcommerce/prettier-config-pwa": "^8.1.0-canary.10",
|
|
18
|
+
"@graphcommerce/typescript-config-pwa": "^8.1.0-canary.10",
|
|
19
19
|
"framer-motion": "^10.0.0",
|
|
20
20
|
"next": "*",
|
|
21
21
|
"react": "^18.2.0",
|