@graphcommerce/framer-next-pages 9.0.0-canary.98 → 9.0.0
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 +22 -935
- package/components/Page.tsx +1 -1
- package/components/PageRenderer.tsx +7 -4
- package/components/Pages.tsx +7 -6
- package/context/pageRouterContext.ts +1 -1
- package/hooks/usePageContext.ts +2 -1
- package/index.ts +0 -1
- package/package.json +6 -6
- package/types.ts +3 -3
- package/hooks/usePageRouter.ts +0 -9
- package/utils/createRouterProxy.ts +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,132 +1,52 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 9.0.0
|
|
3
|
+
## 9.0.0
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## 9.0.0-canary.96
|
|
8
|
-
|
|
9
|
-
## 9.0.0-canary.95
|
|
10
|
-
|
|
11
|
-
## 9.0.0-canary.94
|
|
12
|
-
|
|
13
|
-
## 9.0.0-canary.93
|
|
14
|
-
|
|
15
|
-
## 9.0.0-canary.92
|
|
16
|
-
|
|
17
|
-
## 9.0.0-canary.91
|
|
18
|
-
|
|
19
|
-
## 9.0.0-canary.90
|
|
20
|
-
|
|
21
|
-
## 9.0.0-canary.89
|
|
22
|
-
|
|
23
|
-
## 9.0.0-canary.88
|
|
24
|
-
|
|
25
|
-
## 9.0.0-canary.87
|
|
26
|
-
|
|
27
|
-
## 9.0.0-canary.86
|
|
28
|
-
|
|
29
|
-
## 9.0.0-canary.85
|
|
30
|
-
|
|
31
|
-
## 9.0.0-canary.84
|
|
32
|
-
|
|
33
|
-
## 9.0.0-canary.83
|
|
34
|
-
|
|
35
|
-
## 9.0.0-canary.82
|
|
36
|
-
|
|
37
|
-
## 9.0.0-canary.81
|
|
38
|
-
|
|
39
|
-
## 9.0.0-canary.80
|
|
5
|
+
### Minor Changes
|
|
40
6
|
|
|
41
|
-
|
|
7
|
+
- [#2284](https://github.com/graphcommerce-org/graphcommerce/pull/2284) [`5ee712c`](https://github.com/graphcommerce-org/graphcommerce/commit/5ee712c962c6b0dda903172660d70cf433321b7e) - Prevent checkout from looping back and forth with the cart overlay when navigating directly to the checkout. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
42
8
|
|
|
43
9
|
### Patch Changes
|
|
44
10
|
|
|
45
11
|
- [#2356](https://github.com/graphcommerce-org/graphcommerce/pull/2356) [`d283901`](https://github.com/graphcommerce-org/graphcommerce/commit/d283901cb537c3e7bf6f5500e9f52f47f452cf10) - Loading an overlay page directly would animate in the overlay instead of directly showing it. ([@paales](https://github.com/paales))
|
|
46
12
|
|
|
47
|
-
## 9.0.0-canary.
|
|
48
|
-
|
|
49
|
-
## 9.0.0-canary.77
|
|
50
|
-
|
|
51
|
-
## 9.0.0-canary.76
|
|
52
|
-
|
|
53
|
-
## 9.0.0-canary.75
|
|
54
|
-
|
|
55
|
-
## 9.0.0-canary.74
|
|
56
|
-
|
|
57
|
-
## 9.0.0-canary.73
|
|
58
|
-
|
|
59
|
-
## 9.0.0-canary.72
|
|
60
|
-
|
|
61
|
-
## 9.0.0-canary.71
|
|
62
|
-
|
|
63
|
-
## 9.0.0-canary.70
|
|
64
|
-
|
|
65
|
-
## 9.0.0-canary.69
|
|
66
|
-
|
|
67
|
-
## 9.0.0-canary.68
|
|
68
|
-
|
|
69
|
-
## 9.0.0-canary.67
|
|
13
|
+
## 9.0.0-canary.118
|
|
70
14
|
|
|
71
|
-
## 9.0.0-canary.
|
|
15
|
+
## 9.0.0-canary.117
|
|
72
16
|
|
|
73
|
-
## 9.0.0-canary.
|
|
17
|
+
## 9.0.0-canary.116
|
|
74
18
|
|
|
75
|
-
## 9.0.0-canary.
|
|
19
|
+
## 9.0.0-canary.115
|
|
76
20
|
|
|
77
|
-
## 9.0.0-canary.
|
|
21
|
+
## 9.0.0-canary.114
|
|
78
22
|
|
|
79
|
-
## 9.0.0-canary.
|
|
23
|
+
## 9.0.0-canary.113
|
|
80
24
|
|
|
81
|
-
## 9.0.0-canary.
|
|
25
|
+
## 9.0.0-canary.112
|
|
82
26
|
|
|
83
|
-
## 9.0.0-canary.
|
|
27
|
+
## 9.0.0-canary.111
|
|
84
28
|
|
|
85
|
-
## 9.0.0-canary.
|
|
29
|
+
## 9.0.0-canary.110
|
|
86
30
|
|
|
87
|
-
## 9.0.0-canary.
|
|
31
|
+
## 9.0.0-canary.109
|
|
88
32
|
|
|
89
|
-
## 9.0.0-canary.
|
|
33
|
+
## 9.0.0-canary.108
|
|
90
34
|
|
|
91
|
-
## 9.0.0-canary.
|
|
35
|
+
## 9.0.0-canary.107
|
|
92
36
|
|
|
93
|
-
## 9.0.0-canary.
|
|
37
|
+
## 9.0.0-canary.106
|
|
94
38
|
|
|
95
|
-
## 9.0.0-canary.
|
|
39
|
+
## 9.0.0-canary.105
|
|
96
40
|
|
|
97
|
-
##
|
|
41
|
+
## 9.0.0-canary.104
|
|
98
42
|
|
|
99
|
-
##
|
|
43
|
+
## 9.0.0-canary.103
|
|
100
44
|
|
|
101
|
-
##
|
|
102
|
-
|
|
103
|
-
## 8.1.0-canary.50
|
|
104
|
-
|
|
105
|
-
## 8.1.0-canary.49
|
|
106
|
-
|
|
107
|
-
## 8.1.0-canary.48
|
|
108
|
-
|
|
109
|
-
## 8.1.0-canary.47
|
|
110
|
-
|
|
111
|
-
## 8.1.0-canary.46
|
|
112
|
-
|
|
113
|
-
## 8.1.0-canary.45
|
|
114
|
-
|
|
115
|
-
## 8.1.0-canary.44
|
|
116
|
-
|
|
117
|
-
## 8.1.0-canary.43
|
|
118
|
-
|
|
119
|
-
## 8.1.0-canary.42
|
|
120
|
-
|
|
121
|
-
## 8.1.0-canary.41
|
|
122
|
-
|
|
123
|
-
## 8.1.0-canary.40
|
|
124
|
-
|
|
125
|
-
## 8.1.0-canary.39
|
|
45
|
+
## 9.0.0-canary.79
|
|
126
46
|
|
|
127
|
-
|
|
47
|
+
### Patch Changes
|
|
128
48
|
|
|
129
|
-
|
|
49
|
+
- [#2356](https://github.com/graphcommerce-org/graphcommerce/pull/2356) [`d283901`](https://github.com/graphcommerce-org/graphcommerce/commit/d283901cb537c3e7bf6f5500e9f52f47f452cf10) - Loading an overlay page directly would animate in the overlay instead of directly showing it. ([@paales](https://github.com/paales))
|
|
130
50
|
|
|
131
51
|
## 8.1.0-canary.36
|
|
132
52
|
|
|
@@ -134,782 +54,30 @@
|
|
|
134
54
|
|
|
135
55
|
- [#2284](https://github.com/graphcommerce-org/graphcommerce/pull/2284) [`5ee712c`](https://github.com/graphcommerce-org/graphcommerce/commit/5ee712c962c6b0dda903172660d70cf433321b7e) - Prevent checkout on looping back and forth with the cart overlay when navigating directly to the checkout. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
136
56
|
|
|
137
|
-
## 8.1.0-canary.35
|
|
138
|
-
|
|
139
|
-
## 8.1.0-canary.34
|
|
140
|
-
|
|
141
|
-
## 8.1.0-canary.33
|
|
142
|
-
|
|
143
|
-
## 8.1.0-canary.32
|
|
144
|
-
|
|
145
|
-
## 8.1.0-canary.31
|
|
146
|
-
|
|
147
|
-
## 8.1.0-canary.30
|
|
148
|
-
|
|
149
|
-
## 8.1.0-canary.29
|
|
150
|
-
|
|
151
|
-
## 8.1.0-canary.28
|
|
152
|
-
|
|
153
|
-
## 8.1.0-canary.27
|
|
154
|
-
|
|
155
|
-
## 8.1.0-canary.26
|
|
156
|
-
|
|
157
|
-
## 8.1.0-canary.25
|
|
158
|
-
|
|
159
|
-
## 8.1.0-canary.24
|
|
160
|
-
|
|
161
|
-
## 8.1.0-canary.23
|
|
162
|
-
|
|
163
|
-
## 8.1.0-canary.22
|
|
164
|
-
|
|
165
|
-
## 8.1.0-canary.21
|
|
166
|
-
|
|
167
|
-
## 8.1.0-canary.20
|
|
168
|
-
|
|
169
|
-
## 8.1.0-canary.19
|
|
170
|
-
|
|
171
|
-
## 8.1.0-canary.18
|
|
172
|
-
|
|
173
|
-
## 8.1.0-canary.17
|
|
174
|
-
|
|
175
|
-
## 8.1.0-canary.16
|
|
176
|
-
|
|
177
|
-
## 8.1.0-canary.15
|
|
178
|
-
|
|
179
|
-
## 8.1.0-canary.14
|
|
180
|
-
|
|
181
|
-
## 8.1.0-canary.13
|
|
182
|
-
|
|
183
|
-
## 8.1.0-canary.12
|
|
184
|
-
|
|
185
|
-
## 8.1.0-canary.11
|
|
186
|
-
|
|
187
|
-
## 8.1.0-canary.10
|
|
188
|
-
|
|
189
|
-
## 8.1.0-canary.9
|
|
190
|
-
|
|
191
|
-
## 8.1.0-canary.8
|
|
192
|
-
|
|
193
|
-
## 8.1.0-canary.7
|
|
194
|
-
|
|
195
|
-
## 8.1.0-canary.6
|
|
196
|
-
|
|
197
|
-
## 8.1.0-canary.5
|
|
198
|
-
|
|
199
|
-
## 8.0.6-canary.4
|
|
200
|
-
|
|
201
|
-
## 8.0.6-canary.3
|
|
202
|
-
|
|
203
|
-
## 8.0.6-canary.2
|
|
204
|
-
|
|
205
|
-
## 8.0.6-canary.1
|
|
206
|
-
|
|
207
|
-
## 8.0.6-canary.0
|
|
208
|
-
|
|
209
57
|
## 8.0.5
|
|
210
58
|
|
|
211
59
|
### Patch Changes
|
|
212
60
|
|
|
213
61
|
- [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`85fb916`](https://github.com/graphcommerce-org/graphcommerce/commit/85fb916e5ec2a1456a93a59bf92a5f414fee8595) - Solve issue where the inert prop wouldnt be properly forwarded ([@paales](https://github.com/paales))
|
|
214
62
|
|
|
215
|
-
## 8.0.5-canary.10
|
|
216
|
-
|
|
217
|
-
## 8.0.5-canary.9
|
|
218
|
-
|
|
219
|
-
## 8.0.5-canary.8
|
|
220
|
-
|
|
221
|
-
## 8.0.5-canary.7
|
|
222
|
-
|
|
223
|
-
## 8.0.5-canary.6
|
|
224
|
-
|
|
225
|
-
## 8.0.5-canary.5
|
|
226
|
-
|
|
227
|
-
## 8.0.5-canary.4
|
|
228
|
-
|
|
229
|
-
## 8.0.5-canary.3
|
|
230
|
-
|
|
231
|
-
### Patch Changes
|
|
232
|
-
|
|
233
|
-
- [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`85fb916`](https://github.com/graphcommerce-org/graphcommerce/commit/85fb916e5ec2a1456a93a59bf92a5f414fee8595) - Solve issue where the inert prop wouldnt be properly forwarded ([@paales](https://github.com/paales))
|
|
234
|
-
|
|
235
|
-
## 8.0.5-canary.2
|
|
236
|
-
|
|
237
|
-
## 8.0.5-canary.1
|
|
238
|
-
|
|
239
|
-
## 8.0.5-canary.0
|
|
240
|
-
|
|
241
63
|
## 8.0.4
|
|
242
64
|
|
|
243
65
|
### Patch Changes
|
|
244
66
|
|
|
245
67
|
- [#2228](https://github.com/graphcommerce-org/graphcommerce/pull/2228) [`0c0cacb`](https://github.com/graphcommerce-org/graphcommerce/commit/0c0cacb8725f0a626ea5d3acf154d83c433c3eb7) - apply correct type for the inert property ([@carlocarels90](https://github.com/carlocarels90))
|
|
246
68
|
|
|
247
|
-
## 8.0.4-canary.1
|
|
248
|
-
|
|
249
|
-
## 8.0.4-canary.0
|
|
250
|
-
|
|
251
|
-
### Patch Changes
|
|
252
|
-
|
|
253
|
-
- [#2228](https://github.com/graphcommerce-org/graphcommerce/pull/2228) [`0c0cacb`](https://github.com/graphcommerce-org/graphcommerce/commit/0c0cacb8725f0a626ea5d3acf154d83c433c3eb7) - apply correct type for the inert property ([@carlocarels90](https://github.com/carlocarels90))
|
|
254
|
-
|
|
255
|
-
## 8.0.3
|
|
256
|
-
|
|
257
|
-
## 8.0.3-canary.6
|
|
258
|
-
|
|
259
|
-
## 8.0.3-canary.5
|
|
260
|
-
|
|
261
|
-
## 8.0.3-canary.4
|
|
262
|
-
|
|
263
|
-
## 8.0.3-canary.3
|
|
264
|
-
|
|
265
|
-
## 8.0.3-canary.2
|
|
266
|
-
|
|
267
|
-
## 8.0.3-canary.1
|
|
268
|
-
|
|
269
|
-
## 8.0.3-canary.0
|
|
270
|
-
|
|
271
|
-
## 8.0.2
|
|
272
|
-
|
|
273
|
-
## 8.0.2-canary.3
|
|
274
|
-
|
|
275
|
-
## 8.0.2-canary.2
|
|
276
|
-
|
|
277
|
-
## 8.0.2-canary.1
|
|
278
|
-
|
|
279
|
-
## 8.0.2-canary.0
|
|
280
|
-
|
|
281
|
-
## 8.0.1
|
|
282
|
-
|
|
283
|
-
## 8.0.1-canary.4
|
|
284
|
-
|
|
285
|
-
## 8.0.1-canary.3
|
|
286
|
-
|
|
287
|
-
## 8.0.1-canary.2
|
|
288
|
-
|
|
289
|
-
## 8.0.1-canary.1
|
|
290
|
-
|
|
291
|
-
## 8.0.1-canary.0
|
|
292
|
-
|
|
293
|
-
## 8.0.0
|
|
294
|
-
|
|
295
|
-
## 8.0.0-canary.100
|
|
296
|
-
|
|
297
|
-
## 8.0.0-canary.99
|
|
298
|
-
|
|
299
|
-
## 8.0.0-canary.98
|
|
300
|
-
|
|
301
|
-
## 8.0.0-canary.97
|
|
302
|
-
|
|
303
|
-
## 8.0.0-canary.96
|
|
304
|
-
|
|
305
|
-
## 8.0.0-canary.95
|
|
306
|
-
|
|
307
|
-
## 8.0.0-canary.94
|
|
308
|
-
|
|
309
|
-
## 8.0.0-canary.93
|
|
310
|
-
|
|
311
|
-
## 8.0.0-canary.92
|
|
312
|
-
|
|
313
|
-
## 8.0.0-canary.91
|
|
314
|
-
|
|
315
|
-
## 8.0.0-canary.90
|
|
316
|
-
|
|
317
|
-
## 8.0.0-canary.89
|
|
318
|
-
|
|
319
|
-
## 8.0.0-canary.88
|
|
320
|
-
|
|
321
|
-
## 8.0.0-canary.87
|
|
322
|
-
|
|
323
|
-
## 8.0.0-canary.86
|
|
324
|
-
|
|
325
|
-
## 8.0.0-canary.85
|
|
326
|
-
|
|
327
|
-
## 8.0.0-canary.84
|
|
328
|
-
|
|
329
|
-
## 8.0.0-canary.83
|
|
330
|
-
|
|
331
|
-
## 8.0.0-canary.82
|
|
332
|
-
|
|
333
|
-
## 8.0.0-canary.81
|
|
334
|
-
|
|
335
|
-
## 8.0.0-canary.80
|
|
336
|
-
|
|
337
|
-
## 8.0.0-canary.79
|
|
338
|
-
|
|
339
|
-
## 8.0.0-canary.78
|
|
340
|
-
|
|
341
|
-
## 8.0.0-canary.77
|
|
342
|
-
|
|
343
|
-
## 8.0.0-canary.76
|
|
344
|
-
|
|
345
|
-
## 8.0.0-canary.75
|
|
346
|
-
|
|
347
|
-
## 8.0.0-canary.74
|
|
348
|
-
|
|
349
|
-
## 8.0.0-canary.73
|
|
350
|
-
|
|
351
|
-
## 8.0.0-canary.72
|
|
352
|
-
|
|
353
|
-
## 8.0.0-canary.71
|
|
354
|
-
|
|
355
|
-
## 8.0.0-canary.70
|
|
356
|
-
|
|
357
|
-
## 8.0.0-canary.69
|
|
358
|
-
|
|
359
|
-
## 7.1.0-canary.68
|
|
360
|
-
|
|
361
|
-
## 7.1.0-canary.67
|
|
362
|
-
|
|
363
|
-
## 7.1.0-canary.66
|
|
364
|
-
|
|
365
|
-
## 7.1.0-canary.65
|
|
366
|
-
|
|
367
|
-
## 7.1.0-canary.64
|
|
368
|
-
|
|
369
|
-
## 7.1.0-canary.63
|
|
370
|
-
|
|
371
|
-
## 7.1.0-canary.62
|
|
372
|
-
|
|
373
|
-
## 7.1.0-canary.61
|
|
374
|
-
|
|
375
|
-
## 7.1.0-canary.60
|
|
376
|
-
|
|
377
|
-
## 7.1.0-canary.59
|
|
378
|
-
|
|
379
|
-
## 7.1.0-canary.58
|
|
380
|
-
|
|
381
|
-
## 7.1.0-canary.57
|
|
382
|
-
|
|
383
|
-
## 7.1.0-canary.56
|
|
384
|
-
|
|
385
|
-
## 7.1.0-canary.55
|
|
386
|
-
|
|
387
|
-
## 7.1.0-canary.54
|
|
388
|
-
|
|
389
|
-
## 7.1.0-canary.53
|
|
390
|
-
|
|
391
|
-
## 7.1.0-canary.52
|
|
392
|
-
|
|
393
|
-
## 7.1.0-canary.51
|
|
394
|
-
|
|
395
|
-
## 7.1.0-canary.50
|
|
396
|
-
|
|
397
|
-
## 7.1.0-canary.49
|
|
398
|
-
|
|
399
|
-
## 7.1.0-canary.48
|
|
400
|
-
|
|
401
|
-
## 7.1.0-canary.47
|
|
402
|
-
|
|
403
|
-
## 7.1.0-canary.46
|
|
404
|
-
|
|
405
|
-
## 7.1.0-canary.45
|
|
406
|
-
|
|
407
|
-
## 7.1.0-canary.38
|
|
408
|
-
|
|
409
|
-
## 7.1.0-canary.37
|
|
410
|
-
|
|
411
|
-
## 7.1.0-canary.36
|
|
412
|
-
|
|
413
|
-
## 7.1.0-canary.35
|
|
414
|
-
|
|
415
|
-
## 7.1.0-canary.34
|
|
416
|
-
|
|
417
|
-
## 7.1.0-canary.33
|
|
418
|
-
|
|
419
|
-
## 7.1.0-canary.32
|
|
420
|
-
|
|
421
|
-
## 7.1.0-canary.31
|
|
422
|
-
|
|
423
|
-
## 7.1.0-canary.30
|
|
424
|
-
|
|
425
|
-
## 7.1.0-canary.29
|
|
426
|
-
|
|
427
|
-
## 7.1.0-canary.28
|
|
428
|
-
|
|
429
|
-
## 7.1.0-canary.27
|
|
430
|
-
|
|
431
|
-
## 7.1.0-canary.26
|
|
432
|
-
|
|
433
|
-
## 7.1.0-canary.25
|
|
434
|
-
|
|
435
|
-
## 7.1.0-canary.24
|
|
436
|
-
|
|
437
|
-
## 7.1.0-canary.23
|
|
438
|
-
|
|
439
|
-
## 7.1.0-canary.22
|
|
440
|
-
|
|
441
|
-
## 7.1.0-canary.21
|
|
442
|
-
|
|
443
|
-
## 7.1.0-canary.20
|
|
444
|
-
|
|
445
|
-
## 7.1.0-canary.19
|
|
446
|
-
|
|
447
|
-
## 7.1.0-canary.18
|
|
448
|
-
|
|
449
|
-
## 7.1.0-canary.17
|
|
450
|
-
|
|
451
|
-
## 7.1.0-canary.16
|
|
452
|
-
|
|
453
|
-
## 7.1.0-canary.15
|
|
454
|
-
|
|
455
|
-
## 7.1.0-canary.14
|
|
456
|
-
|
|
457
|
-
## 7.1.0-canary.13
|
|
458
|
-
|
|
459
|
-
## 7.1.0-canary.12
|
|
460
|
-
|
|
461
|
-
## 7.1.0-canary.11
|
|
462
|
-
|
|
463
|
-
## 7.1.0-canary.10
|
|
464
|
-
|
|
465
|
-
## 7.1.0-canary.9
|
|
466
|
-
|
|
467
|
-
## 7.1.0-canary.8
|
|
468
|
-
|
|
469
|
-
## 7.0.2-canary.7
|
|
470
|
-
|
|
471
|
-
## 7.0.2-canary.6
|
|
472
|
-
|
|
473
|
-
## 7.0.2-canary.5
|
|
474
|
-
|
|
475
|
-
## 7.0.1
|
|
476
|
-
|
|
477
|
-
## 7.0.1-canary.15
|
|
478
|
-
|
|
479
|
-
## 7.0.1-canary.14
|
|
480
|
-
|
|
481
|
-
## 7.0.1-canary.13
|
|
482
|
-
|
|
483
|
-
## 7.0.1-canary.12
|
|
484
|
-
|
|
485
|
-
## 7.0.1-canary.11
|
|
486
|
-
|
|
487
|
-
## 7.0.1-canary.10
|
|
488
|
-
|
|
489
|
-
## 7.0.1-canary.9
|
|
490
|
-
|
|
491
|
-
## 7.0.1-canary.8
|
|
492
|
-
|
|
493
|
-
## 7.0.1-canary.7
|
|
494
|
-
|
|
495
|
-
## 7.0.1-canary.6
|
|
496
|
-
|
|
497
|
-
## 7.0.1-canary.5
|
|
498
|
-
|
|
499
|
-
## 7.0.1-canary.4
|
|
500
|
-
|
|
501
|
-
## 7.0.1-canary.3
|
|
502
|
-
|
|
503
|
-
## 7.0.1-canary.2
|
|
504
|
-
|
|
505
|
-
## 7.0.1-canary.1
|
|
506
|
-
|
|
507
|
-
## 7.0.1-canary.0
|
|
508
|
-
|
|
509
|
-
## 7.0.0
|
|
510
|
-
|
|
511
|
-
## 6.2.0-canary.98
|
|
512
|
-
|
|
513
|
-
## 6.2.0-canary.97
|
|
514
|
-
|
|
515
|
-
## 6.2.0-canary.96
|
|
516
|
-
|
|
517
|
-
## 6.2.0-canary.95
|
|
518
|
-
|
|
519
|
-
## 6.2.0-canary.94
|
|
520
|
-
|
|
521
|
-
## 6.2.0-canary.93
|
|
522
|
-
|
|
523
|
-
## 6.2.0-canary.92
|
|
524
|
-
|
|
525
|
-
## 6.2.0-canary.91
|
|
526
|
-
|
|
527
|
-
## 6.2.0-canary.90
|
|
528
|
-
|
|
529
|
-
## 6.2.0-canary.89
|
|
530
|
-
|
|
531
|
-
## 6.2.0-canary.88
|
|
532
|
-
|
|
533
|
-
## 6.2.0-canary.87
|
|
534
|
-
|
|
535
|
-
## 6.2.0-canary.86
|
|
536
|
-
|
|
537
|
-
## 6.2.0-canary.85
|
|
538
|
-
|
|
539
|
-
## 6.2.0-canary.84
|
|
540
|
-
|
|
541
|
-
## 6.2.0-canary.83
|
|
542
|
-
|
|
543
|
-
## 6.2.0-canary.82
|
|
544
|
-
|
|
545
|
-
## 6.2.0-canary.81
|
|
546
|
-
|
|
547
|
-
## 6.2.0-canary.80
|
|
548
|
-
|
|
549
|
-
## 6.2.0-canary.79
|
|
550
|
-
|
|
551
|
-
### Patch Changes
|
|
552
|
-
|
|
553
|
-
- [#2013](https://github.com/graphcommerce-org/graphcommerce/pull/2013) [`c57bdf8a4`](https://github.com/graphcommerce-org/graphcommerce/commit/c57bdf8a4ce936c3eedc4dfada3a464a113ac68a) - Updated @mui and framer-motion packages to latest versions ([@paales](https://github.com/paales))
|
|
554
|
-
|
|
555
|
-
## 6.2.0-canary.78
|
|
556
|
-
|
|
557
|
-
## 6.2.0-canary.77
|
|
558
|
-
|
|
559
|
-
## 6.2.0-canary.76
|
|
560
|
-
|
|
561
|
-
## 6.2.0-canary.75
|
|
562
|
-
|
|
563
|
-
## 6.2.0-canary.74
|
|
564
|
-
|
|
565
|
-
## 6.2.0-canary.73
|
|
566
|
-
|
|
567
|
-
## 6.2.0-canary.72
|
|
568
|
-
|
|
569
|
-
## 6.2.0-canary.71
|
|
570
|
-
|
|
571
|
-
## 6.2.0-canary.70
|
|
572
|
-
|
|
573
|
-
## 6.2.0-canary.69
|
|
574
|
-
|
|
575
|
-
## 6.2.0-canary.68
|
|
576
|
-
|
|
577
|
-
## 6.2.0-canary.67
|
|
578
|
-
|
|
579
|
-
## 6.2.0-canary.66
|
|
580
|
-
|
|
581
|
-
## 6.2.0-canary.65
|
|
582
|
-
|
|
583
|
-
## 6.2.0-canary.64
|
|
584
|
-
|
|
585
|
-
## 6.2.0-canary.63
|
|
586
|
-
|
|
587
|
-
## 6.2.0-canary.62
|
|
588
|
-
|
|
589
|
-
## 6.2.0-canary.61
|
|
590
|
-
|
|
591
|
-
## 6.2.0-canary.60
|
|
592
|
-
|
|
593
|
-
## 6.2.0-canary.59
|
|
594
|
-
|
|
595
|
-
## 6.2.0-canary.58
|
|
596
|
-
|
|
597
|
-
## 6.2.0-canary.57
|
|
598
|
-
|
|
599
|
-
## 6.2.0-canary.56
|
|
600
|
-
|
|
601
|
-
## 6.2.0-canary.55
|
|
602
|
-
|
|
603
|
-
## 6.2.0-canary.54
|
|
604
|
-
|
|
605
|
-
## 6.2.0-canary.53
|
|
606
|
-
|
|
607
|
-
## 6.2.0-canary.52
|
|
608
|
-
|
|
609
|
-
## 6.2.0-canary.51
|
|
610
|
-
|
|
611
|
-
## 6.2.0-canary.50
|
|
612
|
-
|
|
613
|
-
## 6.2.0-canary.49
|
|
614
|
-
|
|
615
|
-
## 6.2.0-canary.48
|
|
616
|
-
|
|
617
|
-
## 6.2.0-canary.47
|
|
618
|
-
|
|
619
|
-
## 6.2.0-canary.46
|
|
620
|
-
|
|
621
|
-
## 6.2.0-canary.45
|
|
622
|
-
|
|
623
|
-
## 6.2.0-canary.44
|
|
624
|
-
|
|
625
|
-
## 6.2.0-canary.43
|
|
626
|
-
|
|
627
|
-
## 6.2.0-canary.42
|
|
628
|
-
|
|
629
|
-
## 6.2.0-canary.41
|
|
630
|
-
|
|
631
|
-
## 6.2.0-canary.40
|
|
632
|
-
|
|
633
|
-
## 6.2.0-canary.39
|
|
634
|
-
|
|
635
|
-
## 6.2.0-canary.38
|
|
636
|
-
|
|
637
|
-
## 6.2.0-canary.37
|
|
638
|
-
|
|
639
|
-
## 6.2.0-canary.36
|
|
640
|
-
|
|
641
|
-
## 6.2.0-canary.35
|
|
642
|
-
|
|
643
|
-
## 6.2.0-canary.34
|
|
644
|
-
|
|
645
|
-
## 6.2.0-canary.33
|
|
646
|
-
|
|
647
|
-
## 6.2.0-canary.32
|
|
648
|
-
|
|
649
|
-
## 6.2.0-canary.31
|
|
650
|
-
|
|
651
|
-
## 6.2.0-canary.30
|
|
652
|
-
|
|
653
|
-
## 6.2.0-canary.29
|
|
654
|
-
|
|
655
|
-
## 6.2.0-canary.28
|
|
656
|
-
|
|
657
|
-
## 6.2.0-canary.27
|
|
658
|
-
|
|
659
|
-
## 6.2.0-canary.26
|
|
660
|
-
|
|
661
|
-
## 6.2.0-canary.25
|
|
662
|
-
|
|
663
|
-
## 6.2.0-canary.24
|
|
664
|
-
|
|
665
|
-
## 6.2.0-canary.23
|
|
666
|
-
|
|
667
|
-
## 6.2.0-canary.22
|
|
668
|
-
|
|
669
|
-
## 6.2.0-canary.21
|
|
670
|
-
|
|
671
|
-
## 6.2.0-canary.20
|
|
672
|
-
|
|
673
|
-
## 6.2.0-canary.19
|
|
674
|
-
|
|
675
|
-
## 6.2.0-canary.18
|
|
676
|
-
|
|
677
|
-
## 6.2.0-canary.17
|
|
678
|
-
|
|
679
|
-
## 6.2.0-canary.16
|
|
680
|
-
|
|
681
|
-
## 6.2.0-canary.15
|
|
682
|
-
|
|
683
|
-
## 6.2.0-canary.14
|
|
684
|
-
|
|
685
|
-
## 6.2.0-canary.13
|
|
686
|
-
|
|
687
|
-
## 6.2.0-canary.12
|
|
688
|
-
|
|
689
|
-
## 6.2.0-canary.11
|
|
690
|
-
|
|
691
|
-
## 6.2.0-canary.10
|
|
692
|
-
|
|
693
|
-
## 6.2.0-canary.9
|
|
694
|
-
|
|
695
|
-
## 6.2.0-canary.8
|
|
696
|
-
|
|
697
|
-
## 6.2.0-canary.7
|
|
698
|
-
|
|
699
|
-
## 6.2.0-canary.6
|
|
700
|
-
|
|
701
|
-
## 6.1.1-canary.5
|
|
702
|
-
|
|
703
|
-
## 6.1.1-canary.4
|
|
704
|
-
|
|
705
|
-
## 6.1.1-canary.3
|
|
706
|
-
|
|
707
|
-
## 6.1.1-canary.2
|
|
708
|
-
|
|
709
|
-
## 6.1.1-canary.1
|
|
710
|
-
|
|
711
|
-
## 6.1.1-canary.0
|
|
712
|
-
|
|
713
69
|
## 6.1.0
|
|
714
70
|
|
|
715
71
|
### Patch Changes
|
|
716
72
|
|
|
717
73
|
- [#1894](https://github.com/graphcommerce-org/graphcommerce/pull/1894) [`053d632ab`](https://github.com/graphcommerce-org/graphcommerce/commit/053d632abc7a7b63b96307a423e212de903cb8ba) - Switching from a heavy page would rerender the old page causing the new page to be slow. We now assume that there does't need to be any transition (as with overlays). This effectively disables any possible page transitions in regular pages, but we never used that anyways. ([@paales](https://github.com/paales))
|
|
718
74
|
|
|
719
|
-
## 6.0.2-canary.22
|
|
720
|
-
|
|
721
|
-
## 6.0.2-canary.21
|
|
722
|
-
|
|
723
|
-
## 6.0.2-canary.20
|
|
724
|
-
|
|
725
|
-
## 6.0.2-canary.19
|
|
726
|
-
|
|
727
|
-
## 6.0.2-canary.18
|
|
728
|
-
|
|
729
|
-
## 6.0.2-canary.17
|
|
730
|
-
|
|
731
|
-
## 6.0.2-canary.16
|
|
732
|
-
|
|
733
|
-
## 6.0.2-canary.15
|
|
734
|
-
|
|
735
|
-
## 6.0.2-canary.14
|
|
736
|
-
|
|
737
|
-
### Patch Changes
|
|
738
|
-
|
|
739
|
-
- [#1894](https://github.com/graphcommerce-org/graphcommerce/pull/1894) [`053d632ab`](https://github.com/graphcommerce-org/graphcommerce/commit/053d632abc7a7b63b96307a423e212de903cb8ba) - Switching from a heavy page would rerender the old page causing the new page to be slow. We now assume that there does't need to be any transition (as with overlays). This effectively disables any possible page transitions in regular pages, but we never used that anyways. ([@paales](https://github.com/paales))
|
|
740
|
-
|
|
741
|
-
## 6.0.2-canary.13
|
|
742
|
-
|
|
743
|
-
## 6.0.2-canary.12
|
|
744
|
-
|
|
745
|
-
## 6.0.2-canary.11
|
|
746
|
-
|
|
747
|
-
## 6.0.2-canary.10
|
|
748
|
-
|
|
749
|
-
## 6.0.2-canary.9
|
|
750
|
-
|
|
751
|
-
## 6.0.2-canary.8
|
|
752
|
-
|
|
753
|
-
## 6.0.2-canary.7
|
|
754
|
-
|
|
755
|
-
## 6.0.2-canary.6
|
|
756
|
-
|
|
757
|
-
## 6.0.2-canary.5
|
|
758
|
-
|
|
759
|
-
## 6.0.2-canary.4
|
|
760
|
-
|
|
761
|
-
## 6.0.2-canary.3
|
|
762
|
-
|
|
763
|
-
## 6.0.2-canary.2
|
|
764
|
-
|
|
765
|
-
## 6.0.2-canary.1
|
|
766
|
-
|
|
767
|
-
## 6.0.2-canary.0
|
|
768
|
-
|
|
769
|
-
## 6.0.1
|
|
770
|
-
|
|
771
|
-
## 6.0.1-canary.7
|
|
772
|
-
|
|
773
|
-
## 6.0.1-canary.6
|
|
774
|
-
|
|
775
|
-
## 6.0.1-canary.5
|
|
776
|
-
|
|
777
|
-
## 6.0.1-canary.4
|
|
778
|
-
|
|
779
|
-
## 6.0.1-canary.3
|
|
780
|
-
|
|
781
|
-
## 6.0.1-canary.2
|
|
782
|
-
|
|
783
|
-
## 6.0.1-canary.1
|
|
784
|
-
|
|
785
|
-
## 6.0.1-canary.0
|
|
786
|
-
|
|
787
75
|
## 6.0.0
|
|
788
76
|
|
|
789
77
|
### Patch Changes
|
|
790
78
|
|
|
791
79
|
- [#1821](https://github.com/graphcommerce-org/graphcommerce/pull/1821) [`1abc50a21`](https://github.com/graphcommerce-org/graphcommerce/commit/1abc50a21103270fad04e4a9ea892ee1e75233e9) - Upgrade packages to latest version ([@paales](https://github.com/paales))
|
|
792
80
|
|
|
793
|
-
## 6.0.0-canary.54
|
|
794
|
-
|
|
795
|
-
## 6.0.0-canary.53
|
|
796
|
-
|
|
797
|
-
## 6.0.0-canary.52
|
|
798
|
-
|
|
799
|
-
## 6.0.0-canary.51
|
|
800
|
-
|
|
801
|
-
## 6.0.0-canary.50
|
|
802
|
-
|
|
803
|
-
## 6.0.0-canary.49
|
|
804
|
-
|
|
805
|
-
## 6.0.0-canary.48
|
|
806
|
-
|
|
807
|
-
## 6.0.0-canary.47
|
|
808
|
-
|
|
809
|
-
## 6.0.0-canary.46
|
|
810
|
-
|
|
811
|
-
## 6.0.0-canary.45
|
|
812
|
-
|
|
813
|
-
## 6.0.0-canary.44
|
|
814
|
-
|
|
815
|
-
## 6.0.0-canary.43
|
|
816
|
-
|
|
817
|
-
## 6.0.0-canary.42
|
|
818
|
-
|
|
819
|
-
## 6.0.0-canary.41
|
|
820
|
-
|
|
821
|
-
## 6.0.0-canary.40
|
|
822
|
-
|
|
823
|
-
## 6.0.0-canary.39
|
|
824
|
-
|
|
825
|
-
## 6.0.0-canary.38
|
|
826
|
-
|
|
827
|
-
## 6.0.0-canary.37
|
|
828
|
-
|
|
829
|
-
## 6.0.0-canary.36
|
|
830
|
-
|
|
831
|
-
## 6.0.0-canary.35
|
|
832
|
-
|
|
833
|
-
## 6.0.0-canary.34
|
|
834
|
-
|
|
835
|
-
## 6.0.0-canary.33
|
|
836
|
-
|
|
837
|
-
## 6.0.0-canary.32
|
|
838
|
-
|
|
839
|
-
## 6.0.0-canary.31
|
|
840
|
-
|
|
841
|
-
## 6.0.0-canary.30
|
|
842
|
-
|
|
843
|
-
## 6.0.0-canary.29
|
|
844
|
-
|
|
845
|
-
## 6.0.0-canary.28
|
|
846
|
-
|
|
847
|
-
## 6.0.0-canary.27
|
|
848
|
-
|
|
849
|
-
### Patch Changes
|
|
850
|
-
|
|
851
|
-
- [#1821](https://github.com/graphcommerce-org/graphcommerce/pull/1821) [`1abc50a21`](https://github.com/graphcommerce-org/graphcommerce/commit/1abc50a21103270fad04e4a9ea892ee1e75233e9) - Fix regression bugs and upgrade packages to latest versions ([@paales](https://github.com/paales))
|
|
852
|
-
|
|
853
|
-
## 6.0.0-canary.26
|
|
854
|
-
|
|
855
|
-
## 6.0.0-canary.25
|
|
856
|
-
|
|
857
|
-
## 6.0.0-canary.24
|
|
858
|
-
|
|
859
|
-
## 6.0.0-canary.23
|
|
860
|
-
|
|
861
|
-
## 6.0.0-canary.22
|
|
862
|
-
|
|
863
|
-
## 6.0.0-canary.21
|
|
864
|
-
|
|
865
|
-
## 6.0.0-canary.20
|
|
866
|
-
|
|
867
|
-
## 5.2.0-canary.19
|
|
868
|
-
|
|
869
|
-
## 5.2.0-canary.18
|
|
870
|
-
|
|
871
|
-
## 5.2.0-canary.17
|
|
872
|
-
|
|
873
|
-
## 5.2.0-canary.16
|
|
874
|
-
|
|
875
|
-
## 5.2.0-canary.15
|
|
876
|
-
|
|
877
|
-
## 5.2.0-canary.14
|
|
878
|
-
|
|
879
|
-
## 5.2.0-canary.13
|
|
880
|
-
|
|
881
|
-
## 5.2.0-canary.12
|
|
882
|
-
|
|
883
|
-
## 5.2.0-canary.11
|
|
884
|
-
|
|
885
|
-
## 5.2.0-canary.10
|
|
886
|
-
|
|
887
|
-
## 5.2.0-canary.9
|
|
888
|
-
|
|
889
|
-
## 5.2.0-canary.8
|
|
890
|
-
|
|
891
|
-
## 5.2.0-canary.7
|
|
892
|
-
|
|
893
|
-
## 5.2.0-canary.6
|
|
894
|
-
|
|
895
|
-
## 5.2.0-canary.5
|
|
896
|
-
|
|
897
|
-
## 5.2.0-canary.4
|
|
898
|
-
|
|
899
|
-
## 5.2.0-canary.3
|
|
900
|
-
|
|
901
|
-
## 5.2.0-canary.2
|
|
902
|
-
|
|
903
|
-
## 5.2.0-canary.1
|
|
904
|
-
|
|
905
|
-
## 5.2.0-canary.0
|
|
906
|
-
|
|
907
|
-
## 5.1.1
|
|
908
|
-
|
|
909
|
-
## 5.1.1-canary.1
|
|
910
|
-
|
|
911
|
-
## 5.1.1-canary.0
|
|
912
|
-
|
|
913
81
|
## 5.1.0
|
|
914
82
|
|
|
915
83
|
### Patch Changes
|
|
@@ -925,45 +93,6 @@
|
|
|
925
93
|
|
|
926
94
|
- [#1755](https://github.com/graphcommerce-org/graphcommerce/pull/1755) [`b34c7b43a`](https://github.com/graphcommerce-org/graphcommerce/commit/b34c7b43a6e1338152e77f6f8427c3fe559021c5) - Disabled @typescript-eslint/no-unbound-method and fixed various eslint errors ([@paales](https://github.com/paales))
|
|
927
95
|
|
|
928
|
-
## 5.1.0-canary.11
|
|
929
|
-
|
|
930
|
-
## 5.1.0-canary.10
|
|
931
|
-
|
|
932
|
-
## 5.1.0-canary.9
|
|
933
|
-
|
|
934
|
-
## 5.1.0-canary.8
|
|
935
|
-
|
|
936
|
-
## 5.1.0-canary.7
|
|
937
|
-
|
|
938
|
-
## 5.1.0-canary.6
|
|
939
|
-
|
|
940
|
-
## 5.1.0-canary.5
|
|
941
|
-
|
|
942
|
-
## 5.1.0-canary.4
|
|
943
|
-
|
|
944
|
-
### Patch Changes
|
|
945
|
-
|
|
946
|
-
- [#1755](https://github.com/graphcommerce-org/graphcommerce/pull/1755) [`0025ad80f`](https://github.com/graphcommerce-org/graphcommerce/commit/0025ad80fb82d5d1e6c786bb8b5f39b2456c0932) - Renamed clientSizeCssVar.y/x to dvh(100) and dvw(100) ([@paales](https://github.com/paales))
|
|
947
|
-
|
|
948
|
-
- [#1755](https://github.com/graphcommerce-org/graphcommerce/pull/1755) [`b34c7b43a`](https://github.com/graphcommerce-org/graphcommerce/commit/b34c7b43a6e1338152e77f6f8427c3fe559021c5) - Disabled @typescript-eslint/no-unbound-method and fixed various eslint errors ([@paales](https://github.com/paales))
|
|
949
|
-
|
|
950
|
-
## 5.1.0-canary.3
|
|
951
|
-
|
|
952
|
-
### Patch Changes
|
|
953
|
-
|
|
954
|
-
- [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`2a6a4d9ec`](https://github.com/graphcommerce-org/graphcommerce/commit/2a6a4d9ecfa1b58a66ba9b9d00016d6feda9aa95) - Updated dependencies to latest versions, except for nextjs; Solve tons of peer dependency issues.
|
|
955
|
-
|
|
956
|
-
- Updated the @mui/material package
|
|
957
|
-
- Removed dependencies on react-hook-form-mui and @playwright/test
|
|
958
|
-
- Upgraded dependencies including type-fest and graphql-mesh
|
|
959
|
-
- Solved peer dependency issues ([@paales](https://github.com/paales))
|
|
960
|
-
|
|
961
|
-
## 5.1.0-canary.2
|
|
962
|
-
|
|
963
|
-
## 5.1.0-canary.1
|
|
964
|
-
|
|
965
|
-
## 5.1.0-canary.0
|
|
966
|
-
|
|
967
96
|
## 5.0.0
|
|
968
97
|
|
|
969
98
|
### Major Changes
|
|
@@ -974,54 +103,12 @@
|
|
|
974
103
|
|
|
975
104
|
- [#1734](https://github.com/graphcommerce-org/graphcommerce/pull/1734) [`f44dae2c5`](https://github.com/graphcommerce-org/graphcommerce/commit/f44dae2c5a82e62dc8b3f08ad672278faa1c9f54) - When rendering the page it should run the initial animations if a page doesn't want to do that it should disable initial it's self ([@github-actions](https://github.com/apps/github-actions))
|
|
976
105
|
|
|
977
|
-
## 5.0.0-canary.14
|
|
978
|
-
|
|
979
|
-
## 5.0.0-canary.9
|
|
980
|
-
|
|
981
|
-
### Major Changes
|
|
982
|
-
|
|
983
|
-
- [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
|
|
984
|
-
|
|
985
|
-
## 4.31.0-canary.8
|
|
986
|
-
|
|
987
|
-
### Patch Changes
|
|
988
|
-
|
|
989
|
-
- [`f44dae2c5`](https://github.com/graphcommerce-org/graphcommerce/commit/f44dae2c5a82e62dc8b3f08ad672278faa1c9f54) - When rendering the page it should run the initial animations if a page doesn't want to do that it should disable initial it's self ([@paales](https://github.com/paales))
|
|
990
|
-
|
|
991
|
-
## 4.31.0-canary.7
|
|
992
|
-
|
|
993
|
-
## 4.31.0-canary.6
|
|
994
|
-
|
|
995
|
-
## 4.31.0-canary.5
|
|
996
|
-
|
|
997
|
-
## 4.31.0-canary.4
|
|
998
|
-
|
|
999
|
-
## 4.31.0-canary.3
|
|
1000
|
-
|
|
1001
|
-
## 4.31.0-canary.2
|
|
1002
|
-
|
|
1003
|
-
## 4.31.0-canary.1
|
|
1004
|
-
|
|
1005
|
-
## 4.31.0-canary.0
|
|
1006
|
-
|
|
1007
|
-
## 4.30.2
|
|
1008
|
-
|
|
1009
|
-
## 4.30.1
|
|
1010
|
-
|
|
1011
106
|
## 4.30.0
|
|
1012
107
|
|
|
1013
108
|
### Patch Changes
|
|
1014
109
|
|
|
1015
110
|
- [#1702](https://github.com/graphcommerce-org/graphcommerce/pull/1702) [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
|
|
1016
111
|
|
|
1017
|
-
## 4.30.0-canary.1
|
|
1018
|
-
|
|
1019
|
-
### Patch Changes
|
|
1020
|
-
|
|
1021
|
-
- [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
|
|
1022
|
-
|
|
1023
|
-
## 4.30.0-canary.0
|
|
1024
|
-
|
|
1025
112
|
## 3.3.2
|
|
1026
113
|
|
|
1027
114
|
### Patch Changes
|
package/components/Page.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dvh } from '@graphcommerce/framer-utils'
|
|
2
2
|
import { m, useIsPresent } from 'framer-motion'
|
|
3
|
-
import React
|
|
3
|
+
import React from 'react'
|
|
4
4
|
import type { PageItem } from '../types'
|
|
5
5
|
|
|
6
6
|
export type PageProps = Pick<PageItem, 'routerKey'> & {
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { RouterContext } from 'next/dist/shared/lib/router-context.shared-runtime'
|
|
2
|
-
import { AppPropsType } from 'next/dist/shared/lib/utils'
|
|
3
|
-
import { NextRouter
|
|
2
|
+
import type { AppPropsType } from 'next/dist/shared/lib/utils'
|
|
3
|
+
import type { NextRouter } from 'next/router'
|
|
4
|
+
import { useRouter } from 'next/router'
|
|
4
5
|
import React, { useMemo } from 'react'
|
|
5
6
|
import { pageRouterContext } from '../context/pageRouterContext'
|
|
6
|
-
import { PageItem } from '../types'
|
|
7
|
+
import type { PageItem } from '../types'
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
function NoLayout({ children }: { children?: React.ReactNode }) {
|
|
10
|
+
return <>{children}</>
|
|
11
|
+
}
|
|
9
12
|
|
|
10
13
|
export type PageRendererProps = Omit<AppPropsType, 'router'> & {
|
|
11
14
|
Layout: React.ComponentType<AppPropsType>
|
package/components/Pages.tsx
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { dvh, useMeasureDynamicViewportSize } from '@graphcommerce/framer-utils'
|
|
2
2
|
import { AnimatePresence, m } from 'framer-motion'
|
|
3
|
-
import {
|
|
4
|
-
import { PrivateRouteInfo } from 'next/dist/shared/lib/router/router'
|
|
5
|
-
import { AppPropsType } from 'next/dist/shared/lib/utils'
|
|
6
|
-
import { NextRouter, Router } from 'next/router'
|
|
3
|
+
import { cancelIdleCallback, requestIdleCallback } from 'next/dist/client/request-idle-callback'
|
|
4
|
+
import type { PrivateRouteInfo } from 'next/dist/shared/lib/router/router'
|
|
5
|
+
import type { AppPropsType } from 'next/dist/shared/lib/utils'
|
|
6
|
+
import type { NextRouter, Router } from 'next/router'
|
|
7
7
|
import { useEffect, useRef, useState } from 'react'
|
|
8
|
-
import { Direction
|
|
8
|
+
import type { Direction } from '../context/pageContext'
|
|
9
|
+
import { pageContext } from '../context/pageContext'
|
|
9
10
|
import type { PageComponent, PageItem, UpPage } from '../types'
|
|
10
11
|
import { Page } from './Page'
|
|
11
12
|
import { PageRenderer } from './PageRenderer'
|
|
@@ -172,7 +173,7 @@ export function FramerNextPages(props: PagesProps) {
|
|
|
172
173
|
if (process.env.NODE_ENV !== 'production') {
|
|
173
174
|
// eslint-disable-next-line no-console
|
|
174
175
|
console.log(
|
|
175
|
-
|
|
176
|
+
'%cTurn on "Preseve log on navigation" to see the error',
|
|
176
177
|
'color: blue; font-family:sans-serif; font-size: 20px',
|
|
177
178
|
)
|
|
178
179
|
|
package/hooks/usePageContext.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useContext } from 'react'
|
|
2
|
-
import { PageContext
|
|
2
|
+
import type { PageContext } from '../context/pageContext'
|
|
3
|
+
import { pageContext } from '../context/pageContext'
|
|
3
4
|
|
|
4
5
|
export function usePageContext(): PageContext {
|
|
5
6
|
return useContext(pageContext)
|
package/index.ts
CHANGED
|
@@ -5,7 +5,6 @@ export type { PageOptions, PageComponent } from './types'
|
|
|
5
5
|
|
|
6
6
|
export * from './hooks/useGo'
|
|
7
7
|
export * from './hooks/usePageContext'
|
|
8
|
-
export * from './hooks/usePageRouter'
|
|
9
8
|
export * from './hooks/useHistoryLink'
|
|
10
9
|
export * from './hooks/usePrevUp'
|
|
11
10
|
export * from './hooks/useScrollOffsetY'
|
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.0
|
|
5
|
+
"version": "9.0.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0
|
|
16
|
-
"@graphcommerce/framer-utils": "^9.0.0
|
|
17
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0
|
|
18
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0
|
|
19
|
-
"framer-motion": "^
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0",
|
|
16
|
+
"@graphcommerce/framer-utils": "^9.0.0",
|
|
17
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0",
|
|
18
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0",
|
|
19
|
+
"framer-motion": "^11.0.0",
|
|
20
20
|
"next": "*",
|
|
21
21
|
"react": "^18.2.0",
|
|
22
22
|
"react-dom": "^18.2.0"
|
package/types.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NextComponentType, NextPageContext } from 'next'
|
|
2
|
-
import { NextRouter } from 'next/router'
|
|
3
|
-
import React from 'react'
|
|
1
|
+
import type { NextComponentType, NextPageContext } from 'next'
|
|
2
|
+
import type { NextRouter } from 'next/router'
|
|
3
|
+
import type React from 'react'
|
|
4
4
|
|
|
5
5
|
type PageInfo = Pick<NextRouter, 'asPath' | 'query' | 'locale' | 'pathname'>
|
|
6
6
|
|
package/hooks/usePageRouter.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { NextRouter } from 'next/router'
|
|
2
|
-
|
|
3
|
-
export type OverrideProps = Partial<Pick<NextRouter, 'asPath' | 'pathname' | 'query' | 'locale'>>
|
|
4
|
-
|
|
5
|
-
export function createRouterProxy(router: NextRouter, override?: OverrideProps): NextRouter {
|
|
6
|
-
// We create an object with the current stale properties
|
|
7
|
-
const { asPath, pathname, query, locale } = router
|
|
8
|
-
|
|
9
|
-
const overrideProps: OverrideProps = { asPath, pathname, query, locale, ...override }
|
|
10
|
-
|
|
11
|
-
return new Proxy<NextRouter>(router, {
|
|
12
|
-
get: (target, prop: string, receiver) =>
|
|
13
|
-
overrideProps[prop] ?? Reflect.get(target, prop, receiver),
|
|
14
|
-
})
|
|
15
|
-
}
|