@graphcommerce/framer-next-pages 9.0.4-canary.8 → 9.0.4
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 +7 -11
- package/components/Pages.tsx +1 -1
- package/package.json +5 -5
- package/types.ts +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 9.0.4
|
|
3
|
+
## 9.0.4
|
|
4
4
|
|
|
5
|
-
## 9.0.
|
|
5
|
+
## 9.0.3
|
|
6
6
|
|
|
7
|
-
## 9.0.
|
|
7
|
+
## 9.0.3-canary.0
|
|
8
8
|
|
|
9
|
-
## 9.0.
|
|
9
|
+
## 9.0.2
|
|
10
10
|
|
|
11
|
-
## 9.0.
|
|
11
|
+
## 9.0.2-canary.0
|
|
12
12
|
|
|
13
|
-
## 9.0.
|
|
13
|
+
## 9.0.1
|
|
14
14
|
|
|
15
|
-
## 9.0.
|
|
16
|
-
|
|
17
|
-
## 9.0.4-canary.1
|
|
18
|
-
|
|
19
|
-
## 9.0.4-canary.0
|
|
15
|
+
## 9.0.1-canary.1
|
|
20
16
|
|
|
21
17
|
## 9.0.0
|
|
22
18
|
|
package/components/Pages.tsx
CHANGED
|
@@ -104,7 +104,7 @@ export function FramerNextPages(props: PagesProps) {
|
|
|
104
104
|
|
|
105
105
|
let renderItems = [...items.current]
|
|
106
106
|
|
|
107
|
-
/**
|
|
107
|
+
/** Removes the page if the up path equls the path of a overlay and there is no history present **/
|
|
108
108
|
const upPath = (renderItems.at(0)?.pageProps?.up as { href: string; title: string })?.href
|
|
109
109
|
const overlayPath = renderItems.at(-1)?.routerContext.pageInfo.asPath
|
|
110
110
|
if (
|
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": "9.0.4
|
|
5
|
+
"version": "9.0.4",
|
|
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": "^9.0.4
|
|
16
|
-
"@graphcommerce/framer-utils": "^9.0.4
|
|
17
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.4
|
|
18
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.4
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.4",
|
|
16
|
+
"@graphcommerce/framer-utils": "^9.0.4",
|
|
17
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.4",
|
|
18
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.4",
|
|
19
19
|
"framer-motion": "^11.0.0",
|
|
20
20
|
"next": "*",
|
|
21
21
|
"react": "^18.2.0",
|
package/types.ts
CHANGED
|
@@ -131,10 +131,7 @@ export type PageComponent<T = Record<string, unknown>> = NextComponentType<NextP
|
|
|
131
131
|
pageOptions?: PageOptions<Record<string, unknown>>
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
/**
|
|
135
|
-
* Provide the href and title of the page that is above the current page. To navigate 'up' instead
|
|
136
|
-
* of 'back'
|
|
137
|
-
*/
|
|
134
|
+
/** Provide the href and title of the page that is above the current page. To navigate 'up' instead of 'back' */
|
|
138
135
|
export type UpPage = { href: string; title: string }
|
|
139
136
|
|
|
140
137
|
/**
|