@graphcommerce/framer-next-pages 9.0.0-canary.99 → 9.0.1-canary.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 +23 -936
- 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,134 +1,54 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 9.0.
|
|
3
|
+
## 9.0.1-canary.0
|
|
4
4
|
|
|
5
|
-
## 9.0.0
|
|
5
|
+
## 9.0.0
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## 9.0.0-canary.96
|
|
10
|
-
|
|
11
|
-
## 9.0.0-canary.95
|
|
12
|
-
|
|
13
|
-
## 9.0.0-canary.94
|
|
14
|
-
|
|
15
|
-
## 9.0.0-canary.93
|
|
16
|
-
|
|
17
|
-
## 9.0.0-canary.92
|
|
18
|
-
|
|
19
|
-
## 9.0.0-canary.91
|
|
20
|
-
|
|
21
|
-
## 9.0.0-canary.90
|
|
22
|
-
|
|
23
|
-
## 9.0.0-canary.89
|
|
24
|
-
|
|
25
|
-
## 9.0.0-canary.88
|
|
26
|
-
|
|
27
|
-
## 9.0.0-canary.87
|
|
28
|
-
|
|
29
|
-
## 9.0.0-canary.86
|
|
30
|
-
|
|
31
|
-
## 9.0.0-canary.85
|
|
32
|
-
|
|
33
|
-
## 9.0.0-canary.84
|
|
34
|
-
|
|
35
|
-
## 9.0.0-canary.83
|
|
36
|
-
|
|
37
|
-
## 9.0.0-canary.82
|
|
38
|
-
|
|
39
|
-
## 9.0.0-canary.81
|
|
40
|
-
|
|
41
|
-
## 9.0.0-canary.80
|
|
7
|
+
### Minor Changes
|
|
42
8
|
|
|
43
|
-
|
|
9
|
+
- [#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))
|
|
44
10
|
|
|
45
11
|
### Patch Changes
|
|
46
12
|
|
|
47
13
|
- [#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))
|
|
48
14
|
|
|
49
|
-
## 9.0.0-canary.
|
|
50
|
-
|
|
51
|
-
## 9.0.0-canary.77
|
|
52
|
-
|
|
53
|
-
## 9.0.0-canary.76
|
|
54
|
-
|
|
55
|
-
## 9.0.0-canary.75
|
|
56
|
-
|
|
57
|
-
## 9.0.0-canary.74
|
|
58
|
-
|
|
59
|
-
## 9.0.0-canary.73
|
|
60
|
-
|
|
61
|
-
## 9.0.0-canary.72
|
|
62
|
-
|
|
63
|
-
## 9.0.0-canary.71
|
|
64
|
-
|
|
65
|
-
## 9.0.0-canary.70
|
|
66
|
-
|
|
67
|
-
## 9.0.0-canary.69
|
|
68
|
-
|
|
69
|
-
## 9.0.0-canary.68
|
|
70
|
-
|
|
71
|
-
## 9.0.0-canary.67
|
|
15
|
+
## 9.0.0-canary.118
|
|
72
16
|
|
|
73
|
-
## 9.0.0-canary.
|
|
17
|
+
## 9.0.0-canary.117
|
|
74
18
|
|
|
75
|
-
## 9.0.0-canary.
|
|
19
|
+
## 9.0.0-canary.116
|
|
76
20
|
|
|
77
|
-
## 9.0.0-canary.
|
|
21
|
+
## 9.0.0-canary.115
|
|
78
22
|
|
|
79
|
-
## 9.0.0-canary.
|
|
23
|
+
## 9.0.0-canary.114
|
|
80
24
|
|
|
81
|
-
## 9.0.0-canary.
|
|
25
|
+
## 9.0.0-canary.113
|
|
82
26
|
|
|
83
|
-
## 9.0.0-canary.
|
|
27
|
+
## 9.0.0-canary.112
|
|
84
28
|
|
|
85
|
-
## 9.0.0-canary.
|
|
29
|
+
## 9.0.0-canary.111
|
|
86
30
|
|
|
87
|
-
## 9.0.0-canary.
|
|
31
|
+
## 9.0.0-canary.110
|
|
88
32
|
|
|
89
|
-
## 9.0.0-canary.
|
|
33
|
+
## 9.0.0-canary.109
|
|
90
34
|
|
|
91
|
-
## 9.0.0-canary.
|
|
35
|
+
## 9.0.0-canary.108
|
|
92
36
|
|
|
93
|
-
## 9.0.0-canary.
|
|
37
|
+
## 9.0.0-canary.107
|
|
94
38
|
|
|
95
|
-
## 9.0.0-canary.
|
|
39
|
+
## 9.0.0-canary.106
|
|
96
40
|
|
|
97
|
-
## 9.0.0-canary.
|
|
41
|
+
## 9.0.0-canary.105
|
|
98
42
|
|
|
99
|
-
##
|
|
43
|
+
## 9.0.0-canary.104
|
|
100
44
|
|
|
101
|
-
##
|
|
45
|
+
## 9.0.0-canary.103
|
|
102
46
|
|
|
103
|
-
##
|
|
104
|
-
|
|
105
|
-
## 8.1.0-canary.50
|
|
106
|
-
|
|
107
|
-
## 8.1.0-canary.49
|
|
108
|
-
|
|
109
|
-
## 8.1.0-canary.48
|
|
110
|
-
|
|
111
|
-
## 8.1.0-canary.47
|
|
112
|
-
|
|
113
|
-
## 8.1.0-canary.46
|
|
114
|
-
|
|
115
|
-
## 8.1.0-canary.45
|
|
116
|
-
|
|
117
|
-
## 8.1.0-canary.44
|
|
118
|
-
|
|
119
|
-
## 8.1.0-canary.43
|
|
120
|
-
|
|
121
|
-
## 8.1.0-canary.42
|
|
122
|
-
|
|
123
|
-
## 8.1.0-canary.41
|
|
124
|
-
|
|
125
|
-
## 8.1.0-canary.40
|
|
126
|
-
|
|
127
|
-
## 8.1.0-canary.39
|
|
47
|
+
## 9.0.0-canary.79
|
|
128
48
|
|
|
129
|
-
|
|
49
|
+
### Patch Changes
|
|
130
50
|
|
|
131
|
-
|
|
51
|
+
- [#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))
|
|
132
52
|
|
|
133
53
|
## 8.1.0-canary.36
|
|
134
54
|
|
|
@@ -136,782 +56,30 @@
|
|
|
136
56
|
|
|
137
57
|
- [#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))
|
|
138
58
|
|
|
139
|
-
## 8.1.0-canary.35
|
|
140
|
-
|
|
141
|
-
## 8.1.0-canary.34
|
|
142
|
-
|
|
143
|
-
## 8.1.0-canary.33
|
|
144
|
-
|
|
145
|
-
## 8.1.0-canary.32
|
|
146
|
-
|
|
147
|
-
## 8.1.0-canary.31
|
|
148
|
-
|
|
149
|
-
## 8.1.0-canary.30
|
|
150
|
-
|
|
151
|
-
## 8.1.0-canary.29
|
|
152
|
-
|
|
153
|
-
## 8.1.0-canary.28
|
|
154
|
-
|
|
155
|
-
## 8.1.0-canary.27
|
|
156
|
-
|
|
157
|
-
## 8.1.0-canary.26
|
|
158
|
-
|
|
159
|
-
## 8.1.0-canary.25
|
|
160
|
-
|
|
161
|
-
## 8.1.0-canary.24
|
|
162
|
-
|
|
163
|
-
## 8.1.0-canary.23
|
|
164
|
-
|
|
165
|
-
## 8.1.0-canary.22
|
|
166
|
-
|
|
167
|
-
## 8.1.0-canary.21
|
|
168
|
-
|
|
169
|
-
## 8.1.0-canary.20
|
|
170
|
-
|
|
171
|
-
## 8.1.0-canary.19
|
|
172
|
-
|
|
173
|
-
## 8.1.0-canary.18
|
|
174
|
-
|
|
175
|
-
## 8.1.0-canary.17
|
|
176
|
-
|
|
177
|
-
## 8.1.0-canary.16
|
|
178
|
-
|
|
179
|
-
## 8.1.0-canary.15
|
|
180
|
-
|
|
181
|
-
## 8.1.0-canary.14
|
|
182
|
-
|
|
183
|
-
## 8.1.0-canary.13
|
|
184
|
-
|
|
185
|
-
## 8.1.0-canary.12
|
|
186
|
-
|
|
187
|
-
## 8.1.0-canary.11
|
|
188
|
-
|
|
189
|
-
## 8.1.0-canary.10
|
|
190
|
-
|
|
191
|
-
## 8.1.0-canary.9
|
|
192
|
-
|
|
193
|
-
## 8.1.0-canary.8
|
|
194
|
-
|
|
195
|
-
## 8.1.0-canary.7
|
|
196
|
-
|
|
197
|
-
## 8.1.0-canary.6
|
|
198
|
-
|
|
199
|
-
## 8.1.0-canary.5
|
|
200
|
-
|
|
201
|
-
## 8.0.6-canary.4
|
|
202
|
-
|
|
203
|
-
## 8.0.6-canary.3
|
|
204
|
-
|
|
205
|
-
## 8.0.6-canary.2
|
|
206
|
-
|
|
207
|
-
## 8.0.6-canary.1
|
|
208
|
-
|
|
209
|
-
## 8.0.6-canary.0
|
|
210
|
-
|
|
211
59
|
## 8.0.5
|
|
212
60
|
|
|
213
61
|
### Patch Changes
|
|
214
62
|
|
|
215
63
|
- [#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))
|
|
216
64
|
|
|
217
|
-
## 8.0.5-canary.10
|
|
218
|
-
|
|
219
|
-
## 8.0.5-canary.9
|
|
220
|
-
|
|
221
|
-
## 8.0.5-canary.8
|
|
222
|
-
|
|
223
|
-
## 8.0.5-canary.7
|
|
224
|
-
|
|
225
|
-
## 8.0.5-canary.6
|
|
226
|
-
|
|
227
|
-
## 8.0.5-canary.5
|
|
228
|
-
|
|
229
|
-
## 8.0.5-canary.4
|
|
230
|
-
|
|
231
|
-
## 8.0.5-canary.3
|
|
232
|
-
|
|
233
|
-
### Patch Changes
|
|
234
|
-
|
|
235
|
-
- [#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))
|
|
236
|
-
|
|
237
|
-
## 8.0.5-canary.2
|
|
238
|
-
|
|
239
|
-
## 8.0.5-canary.1
|
|
240
|
-
|
|
241
|
-
## 8.0.5-canary.0
|
|
242
|
-
|
|
243
65
|
## 8.0.4
|
|
244
66
|
|
|
245
67
|
### Patch Changes
|
|
246
68
|
|
|
247
69
|
- [#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))
|
|
248
70
|
|
|
249
|
-
## 8.0.4-canary.1
|
|
250
|
-
|
|
251
|
-
## 8.0.4-canary.0
|
|
252
|
-
|
|
253
|
-
### Patch Changes
|
|
254
|
-
|
|
255
|
-
- [#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))
|
|
256
|
-
|
|
257
|
-
## 8.0.3
|
|
258
|
-
|
|
259
|
-
## 8.0.3-canary.6
|
|
260
|
-
|
|
261
|
-
## 8.0.3-canary.5
|
|
262
|
-
|
|
263
|
-
## 8.0.3-canary.4
|
|
264
|
-
|
|
265
|
-
## 8.0.3-canary.3
|
|
266
|
-
|
|
267
|
-
## 8.0.3-canary.2
|
|
268
|
-
|
|
269
|
-
## 8.0.3-canary.1
|
|
270
|
-
|
|
271
|
-
## 8.0.3-canary.0
|
|
272
|
-
|
|
273
|
-
## 8.0.2
|
|
274
|
-
|
|
275
|
-
## 8.0.2-canary.3
|
|
276
|
-
|
|
277
|
-
## 8.0.2-canary.2
|
|
278
|
-
|
|
279
|
-
## 8.0.2-canary.1
|
|
280
|
-
|
|
281
|
-
## 8.0.2-canary.0
|
|
282
|
-
|
|
283
|
-
## 8.0.1
|
|
284
|
-
|
|
285
|
-
## 8.0.1-canary.4
|
|
286
|
-
|
|
287
|
-
## 8.0.1-canary.3
|
|
288
|
-
|
|
289
|
-
## 8.0.1-canary.2
|
|
290
|
-
|
|
291
|
-
## 8.0.1-canary.1
|
|
292
|
-
|
|
293
|
-
## 8.0.1-canary.0
|
|
294
|
-
|
|
295
|
-
## 8.0.0
|
|
296
|
-
|
|
297
|
-
## 8.0.0-canary.100
|
|
298
|
-
|
|
299
|
-
## 8.0.0-canary.99
|
|
300
|
-
|
|
301
|
-
## 8.0.0-canary.98
|
|
302
|
-
|
|
303
|
-
## 8.0.0-canary.97
|
|
304
|
-
|
|
305
|
-
## 8.0.0-canary.96
|
|
306
|
-
|
|
307
|
-
## 8.0.0-canary.95
|
|
308
|
-
|
|
309
|
-
## 8.0.0-canary.94
|
|
310
|
-
|
|
311
|
-
## 8.0.0-canary.93
|
|
312
|
-
|
|
313
|
-
## 8.0.0-canary.92
|
|
314
|
-
|
|
315
|
-
## 8.0.0-canary.91
|
|
316
|
-
|
|
317
|
-
## 8.0.0-canary.90
|
|
318
|
-
|
|
319
|
-
## 8.0.0-canary.89
|
|
320
|
-
|
|
321
|
-
## 8.0.0-canary.88
|
|
322
|
-
|
|
323
|
-
## 8.0.0-canary.87
|
|
324
|
-
|
|
325
|
-
## 8.0.0-canary.86
|
|
326
|
-
|
|
327
|
-
## 8.0.0-canary.85
|
|
328
|
-
|
|
329
|
-
## 8.0.0-canary.84
|
|
330
|
-
|
|
331
|
-
## 8.0.0-canary.83
|
|
332
|
-
|
|
333
|
-
## 8.0.0-canary.82
|
|
334
|
-
|
|
335
|
-
## 8.0.0-canary.81
|
|
336
|
-
|
|
337
|
-
## 8.0.0-canary.80
|
|
338
|
-
|
|
339
|
-
## 8.0.0-canary.79
|
|
340
|
-
|
|
341
|
-
## 8.0.0-canary.78
|
|
342
|
-
|
|
343
|
-
## 8.0.0-canary.77
|
|
344
|
-
|
|
345
|
-
## 8.0.0-canary.76
|
|
346
|
-
|
|
347
|
-
## 8.0.0-canary.75
|
|
348
|
-
|
|
349
|
-
## 8.0.0-canary.74
|
|
350
|
-
|
|
351
|
-
## 8.0.0-canary.73
|
|
352
|
-
|
|
353
|
-
## 8.0.0-canary.72
|
|
354
|
-
|
|
355
|
-
## 8.0.0-canary.71
|
|
356
|
-
|
|
357
|
-
## 8.0.0-canary.70
|
|
358
|
-
|
|
359
|
-
## 8.0.0-canary.69
|
|
360
|
-
|
|
361
|
-
## 7.1.0-canary.68
|
|
362
|
-
|
|
363
|
-
## 7.1.0-canary.67
|
|
364
|
-
|
|
365
|
-
## 7.1.0-canary.66
|
|
366
|
-
|
|
367
|
-
## 7.1.0-canary.65
|
|
368
|
-
|
|
369
|
-
## 7.1.0-canary.64
|
|
370
|
-
|
|
371
|
-
## 7.1.0-canary.63
|
|
372
|
-
|
|
373
|
-
## 7.1.0-canary.62
|
|
374
|
-
|
|
375
|
-
## 7.1.0-canary.61
|
|
376
|
-
|
|
377
|
-
## 7.1.0-canary.60
|
|
378
|
-
|
|
379
|
-
## 7.1.0-canary.59
|
|
380
|
-
|
|
381
|
-
## 7.1.0-canary.58
|
|
382
|
-
|
|
383
|
-
## 7.1.0-canary.57
|
|
384
|
-
|
|
385
|
-
## 7.1.0-canary.56
|
|
386
|
-
|
|
387
|
-
## 7.1.0-canary.55
|
|
388
|
-
|
|
389
|
-
## 7.1.0-canary.54
|
|
390
|
-
|
|
391
|
-
## 7.1.0-canary.53
|
|
392
|
-
|
|
393
|
-
## 7.1.0-canary.52
|
|
394
|
-
|
|
395
|
-
## 7.1.0-canary.51
|
|
396
|
-
|
|
397
|
-
## 7.1.0-canary.50
|
|
398
|
-
|
|
399
|
-
## 7.1.0-canary.49
|
|
400
|
-
|
|
401
|
-
## 7.1.0-canary.48
|
|
402
|
-
|
|
403
|
-
## 7.1.0-canary.47
|
|
404
|
-
|
|
405
|
-
## 7.1.0-canary.46
|
|
406
|
-
|
|
407
|
-
## 7.1.0-canary.45
|
|
408
|
-
|
|
409
|
-
## 7.1.0-canary.38
|
|
410
|
-
|
|
411
|
-
## 7.1.0-canary.37
|
|
412
|
-
|
|
413
|
-
## 7.1.0-canary.36
|
|
414
|
-
|
|
415
|
-
## 7.1.0-canary.35
|
|
416
|
-
|
|
417
|
-
## 7.1.0-canary.34
|
|
418
|
-
|
|
419
|
-
## 7.1.0-canary.33
|
|
420
|
-
|
|
421
|
-
## 7.1.0-canary.32
|
|
422
|
-
|
|
423
|
-
## 7.1.0-canary.31
|
|
424
|
-
|
|
425
|
-
## 7.1.0-canary.30
|
|
426
|
-
|
|
427
|
-
## 7.1.0-canary.29
|
|
428
|
-
|
|
429
|
-
## 7.1.0-canary.28
|
|
430
|
-
|
|
431
|
-
## 7.1.0-canary.27
|
|
432
|
-
|
|
433
|
-
## 7.1.0-canary.26
|
|
434
|
-
|
|
435
|
-
## 7.1.0-canary.25
|
|
436
|
-
|
|
437
|
-
## 7.1.0-canary.24
|
|
438
|
-
|
|
439
|
-
## 7.1.0-canary.23
|
|
440
|
-
|
|
441
|
-
## 7.1.0-canary.22
|
|
442
|
-
|
|
443
|
-
## 7.1.0-canary.21
|
|
444
|
-
|
|
445
|
-
## 7.1.0-canary.20
|
|
446
|
-
|
|
447
|
-
## 7.1.0-canary.19
|
|
448
|
-
|
|
449
|
-
## 7.1.0-canary.18
|
|
450
|
-
|
|
451
|
-
## 7.1.0-canary.17
|
|
452
|
-
|
|
453
|
-
## 7.1.0-canary.16
|
|
454
|
-
|
|
455
|
-
## 7.1.0-canary.15
|
|
456
|
-
|
|
457
|
-
## 7.1.0-canary.14
|
|
458
|
-
|
|
459
|
-
## 7.1.0-canary.13
|
|
460
|
-
|
|
461
|
-
## 7.1.0-canary.12
|
|
462
|
-
|
|
463
|
-
## 7.1.0-canary.11
|
|
464
|
-
|
|
465
|
-
## 7.1.0-canary.10
|
|
466
|
-
|
|
467
|
-
## 7.1.0-canary.9
|
|
468
|
-
|
|
469
|
-
## 7.1.0-canary.8
|
|
470
|
-
|
|
471
|
-
## 7.0.2-canary.7
|
|
472
|
-
|
|
473
|
-
## 7.0.2-canary.6
|
|
474
|
-
|
|
475
|
-
## 7.0.2-canary.5
|
|
476
|
-
|
|
477
|
-
## 7.0.1
|
|
478
|
-
|
|
479
|
-
## 7.0.1-canary.15
|
|
480
|
-
|
|
481
|
-
## 7.0.1-canary.14
|
|
482
|
-
|
|
483
|
-
## 7.0.1-canary.13
|
|
484
|
-
|
|
485
|
-
## 7.0.1-canary.12
|
|
486
|
-
|
|
487
|
-
## 7.0.1-canary.11
|
|
488
|
-
|
|
489
|
-
## 7.0.1-canary.10
|
|
490
|
-
|
|
491
|
-
## 7.0.1-canary.9
|
|
492
|
-
|
|
493
|
-
## 7.0.1-canary.8
|
|
494
|
-
|
|
495
|
-
## 7.0.1-canary.7
|
|
496
|
-
|
|
497
|
-
## 7.0.1-canary.6
|
|
498
|
-
|
|
499
|
-
## 7.0.1-canary.5
|
|
500
|
-
|
|
501
|
-
## 7.0.1-canary.4
|
|
502
|
-
|
|
503
|
-
## 7.0.1-canary.3
|
|
504
|
-
|
|
505
|
-
## 7.0.1-canary.2
|
|
506
|
-
|
|
507
|
-
## 7.0.1-canary.1
|
|
508
|
-
|
|
509
|
-
## 7.0.1-canary.0
|
|
510
|
-
|
|
511
|
-
## 7.0.0
|
|
512
|
-
|
|
513
|
-
## 6.2.0-canary.98
|
|
514
|
-
|
|
515
|
-
## 6.2.0-canary.97
|
|
516
|
-
|
|
517
|
-
## 6.2.0-canary.96
|
|
518
|
-
|
|
519
|
-
## 6.2.0-canary.95
|
|
520
|
-
|
|
521
|
-
## 6.2.0-canary.94
|
|
522
|
-
|
|
523
|
-
## 6.2.0-canary.93
|
|
524
|
-
|
|
525
|
-
## 6.2.0-canary.92
|
|
526
|
-
|
|
527
|
-
## 6.2.0-canary.91
|
|
528
|
-
|
|
529
|
-
## 6.2.0-canary.90
|
|
530
|
-
|
|
531
|
-
## 6.2.0-canary.89
|
|
532
|
-
|
|
533
|
-
## 6.2.0-canary.88
|
|
534
|
-
|
|
535
|
-
## 6.2.0-canary.87
|
|
536
|
-
|
|
537
|
-
## 6.2.0-canary.86
|
|
538
|
-
|
|
539
|
-
## 6.2.0-canary.85
|
|
540
|
-
|
|
541
|
-
## 6.2.0-canary.84
|
|
542
|
-
|
|
543
|
-
## 6.2.0-canary.83
|
|
544
|
-
|
|
545
|
-
## 6.2.0-canary.82
|
|
546
|
-
|
|
547
|
-
## 6.2.0-canary.81
|
|
548
|
-
|
|
549
|
-
## 6.2.0-canary.80
|
|
550
|
-
|
|
551
|
-
## 6.2.0-canary.79
|
|
552
|
-
|
|
553
|
-
### Patch Changes
|
|
554
|
-
|
|
555
|
-
- [#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))
|
|
556
|
-
|
|
557
|
-
## 6.2.0-canary.78
|
|
558
|
-
|
|
559
|
-
## 6.2.0-canary.77
|
|
560
|
-
|
|
561
|
-
## 6.2.0-canary.76
|
|
562
|
-
|
|
563
|
-
## 6.2.0-canary.75
|
|
564
|
-
|
|
565
|
-
## 6.2.0-canary.74
|
|
566
|
-
|
|
567
|
-
## 6.2.0-canary.73
|
|
568
|
-
|
|
569
|
-
## 6.2.0-canary.72
|
|
570
|
-
|
|
571
|
-
## 6.2.0-canary.71
|
|
572
|
-
|
|
573
|
-
## 6.2.0-canary.70
|
|
574
|
-
|
|
575
|
-
## 6.2.0-canary.69
|
|
576
|
-
|
|
577
|
-
## 6.2.0-canary.68
|
|
578
|
-
|
|
579
|
-
## 6.2.0-canary.67
|
|
580
|
-
|
|
581
|
-
## 6.2.0-canary.66
|
|
582
|
-
|
|
583
|
-
## 6.2.0-canary.65
|
|
584
|
-
|
|
585
|
-
## 6.2.0-canary.64
|
|
586
|
-
|
|
587
|
-
## 6.2.0-canary.63
|
|
588
|
-
|
|
589
|
-
## 6.2.0-canary.62
|
|
590
|
-
|
|
591
|
-
## 6.2.0-canary.61
|
|
592
|
-
|
|
593
|
-
## 6.2.0-canary.60
|
|
594
|
-
|
|
595
|
-
## 6.2.0-canary.59
|
|
596
|
-
|
|
597
|
-
## 6.2.0-canary.58
|
|
598
|
-
|
|
599
|
-
## 6.2.0-canary.57
|
|
600
|
-
|
|
601
|
-
## 6.2.0-canary.56
|
|
602
|
-
|
|
603
|
-
## 6.2.0-canary.55
|
|
604
|
-
|
|
605
|
-
## 6.2.0-canary.54
|
|
606
|
-
|
|
607
|
-
## 6.2.0-canary.53
|
|
608
|
-
|
|
609
|
-
## 6.2.0-canary.52
|
|
610
|
-
|
|
611
|
-
## 6.2.0-canary.51
|
|
612
|
-
|
|
613
|
-
## 6.2.0-canary.50
|
|
614
|
-
|
|
615
|
-
## 6.2.0-canary.49
|
|
616
|
-
|
|
617
|
-
## 6.2.0-canary.48
|
|
618
|
-
|
|
619
|
-
## 6.2.0-canary.47
|
|
620
|
-
|
|
621
|
-
## 6.2.0-canary.46
|
|
622
|
-
|
|
623
|
-
## 6.2.0-canary.45
|
|
624
|
-
|
|
625
|
-
## 6.2.0-canary.44
|
|
626
|
-
|
|
627
|
-
## 6.2.0-canary.43
|
|
628
|
-
|
|
629
|
-
## 6.2.0-canary.42
|
|
630
|
-
|
|
631
|
-
## 6.2.0-canary.41
|
|
632
|
-
|
|
633
|
-
## 6.2.0-canary.40
|
|
634
|
-
|
|
635
|
-
## 6.2.0-canary.39
|
|
636
|
-
|
|
637
|
-
## 6.2.0-canary.38
|
|
638
|
-
|
|
639
|
-
## 6.2.0-canary.37
|
|
640
|
-
|
|
641
|
-
## 6.2.0-canary.36
|
|
642
|
-
|
|
643
|
-
## 6.2.0-canary.35
|
|
644
|
-
|
|
645
|
-
## 6.2.0-canary.34
|
|
646
|
-
|
|
647
|
-
## 6.2.0-canary.33
|
|
648
|
-
|
|
649
|
-
## 6.2.0-canary.32
|
|
650
|
-
|
|
651
|
-
## 6.2.0-canary.31
|
|
652
|
-
|
|
653
|
-
## 6.2.0-canary.30
|
|
654
|
-
|
|
655
|
-
## 6.2.0-canary.29
|
|
656
|
-
|
|
657
|
-
## 6.2.0-canary.28
|
|
658
|
-
|
|
659
|
-
## 6.2.0-canary.27
|
|
660
|
-
|
|
661
|
-
## 6.2.0-canary.26
|
|
662
|
-
|
|
663
|
-
## 6.2.0-canary.25
|
|
664
|
-
|
|
665
|
-
## 6.2.0-canary.24
|
|
666
|
-
|
|
667
|
-
## 6.2.0-canary.23
|
|
668
|
-
|
|
669
|
-
## 6.2.0-canary.22
|
|
670
|
-
|
|
671
|
-
## 6.2.0-canary.21
|
|
672
|
-
|
|
673
|
-
## 6.2.0-canary.20
|
|
674
|
-
|
|
675
|
-
## 6.2.0-canary.19
|
|
676
|
-
|
|
677
|
-
## 6.2.0-canary.18
|
|
678
|
-
|
|
679
|
-
## 6.2.0-canary.17
|
|
680
|
-
|
|
681
|
-
## 6.2.0-canary.16
|
|
682
|
-
|
|
683
|
-
## 6.2.0-canary.15
|
|
684
|
-
|
|
685
|
-
## 6.2.0-canary.14
|
|
686
|
-
|
|
687
|
-
## 6.2.0-canary.13
|
|
688
|
-
|
|
689
|
-
## 6.2.0-canary.12
|
|
690
|
-
|
|
691
|
-
## 6.2.0-canary.11
|
|
692
|
-
|
|
693
|
-
## 6.2.0-canary.10
|
|
694
|
-
|
|
695
|
-
## 6.2.0-canary.9
|
|
696
|
-
|
|
697
|
-
## 6.2.0-canary.8
|
|
698
|
-
|
|
699
|
-
## 6.2.0-canary.7
|
|
700
|
-
|
|
701
|
-
## 6.2.0-canary.6
|
|
702
|
-
|
|
703
|
-
## 6.1.1-canary.5
|
|
704
|
-
|
|
705
|
-
## 6.1.1-canary.4
|
|
706
|
-
|
|
707
|
-
## 6.1.1-canary.3
|
|
708
|
-
|
|
709
|
-
## 6.1.1-canary.2
|
|
710
|
-
|
|
711
|
-
## 6.1.1-canary.1
|
|
712
|
-
|
|
713
|
-
## 6.1.1-canary.0
|
|
714
|
-
|
|
715
71
|
## 6.1.0
|
|
716
72
|
|
|
717
73
|
### Patch Changes
|
|
718
74
|
|
|
719
75
|
- [#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))
|
|
720
76
|
|
|
721
|
-
## 6.0.2-canary.22
|
|
722
|
-
|
|
723
|
-
## 6.0.2-canary.21
|
|
724
|
-
|
|
725
|
-
## 6.0.2-canary.20
|
|
726
|
-
|
|
727
|
-
## 6.0.2-canary.19
|
|
728
|
-
|
|
729
|
-
## 6.0.2-canary.18
|
|
730
|
-
|
|
731
|
-
## 6.0.2-canary.17
|
|
732
|
-
|
|
733
|
-
## 6.0.2-canary.16
|
|
734
|
-
|
|
735
|
-
## 6.0.2-canary.15
|
|
736
|
-
|
|
737
|
-
## 6.0.2-canary.14
|
|
738
|
-
|
|
739
|
-
### Patch Changes
|
|
740
|
-
|
|
741
|
-
- [#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))
|
|
742
|
-
|
|
743
|
-
## 6.0.2-canary.13
|
|
744
|
-
|
|
745
|
-
## 6.0.2-canary.12
|
|
746
|
-
|
|
747
|
-
## 6.0.2-canary.11
|
|
748
|
-
|
|
749
|
-
## 6.0.2-canary.10
|
|
750
|
-
|
|
751
|
-
## 6.0.2-canary.9
|
|
752
|
-
|
|
753
|
-
## 6.0.2-canary.8
|
|
754
|
-
|
|
755
|
-
## 6.0.2-canary.7
|
|
756
|
-
|
|
757
|
-
## 6.0.2-canary.6
|
|
758
|
-
|
|
759
|
-
## 6.0.2-canary.5
|
|
760
|
-
|
|
761
|
-
## 6.0.2-canary.4
|
|
762
|
-
|
|
763
|
-
## 6.0.2-canary.3
|
|
764
|
-
|
|
765
|
-
## 6.0.2-canary.2
|
|
766
|
-
|
|
767
|
-
## 6.0.2-canary.1
|
|
768
|
-
|
|
769
|
-
## 6.0.2-canary.0
|
|
770
|
-
|
|
771
|
-
## 6.0.1
|
|
772
|
-
|
|
773
|
-
## 6.0.1-canary.7
|
|
774
|
-
|
|
775
|
-
## 6.0.1-canary.6
|
|
776
|
-
|
|
777
|
-
## 6.0.1-canary.5
|
|
778
|
-
|
|
779
|
-
## 6.0.1-canary.4
|
|
780
|
-
|
|
781
|
-
## 6.0.1-canary.3
|
|
782
|
-
|
|
783
|
-
## 6.0.1-canary.2
|
|
784
|
-
|
|
785
|
-
## 6.0.1-canary.1
|
|
786
|
-
|
|
787
|
-
## 6.0.1-canary.0
|
|
788
|
-
|
|
789
77
|
## 6.0.0
|
|
790
78
|
|
|
791
79
|
### Patch Changes
|
|
792
80
|
|
|
793
81
|
- [#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))
|
|
794
82
|
|
|
795
|
-
## 6.0.0-canary.54
|
|
796
|
-
|
|
797
|
-
## 6.0.0-canary.53
|
|
798
|
-
|
|
799
|
-
## 6.0.0-canary.52
|
|
800
|
-
|
|
801
|
-
## 6.0.0-canary.51
|
|
802
|
-
|
|
803
|
-
## 6.0.0-canary.50
|
|
804
|
-
|
|
805
|
-
## 6.0.0-canary.49
|
|
806
|
-
|
|
807
|
-
## 6.0.0-canary.48
|
|
808
|
-
|
|
809
|
-
## 6.0.0-canary.47
|
|
810
|
-
|
|
811
|
-
## 6.0.0-canary.46
|
|
812
|
-
|
|
813
|
-
## 6.0.0-canary.45
|
|
814
|
-
|
|
815
|
-
## 6.0.0-canary.44
|
|
816
|
-
|
|
817
|
-
## 6.0.0-canary.43
|
|
818
|
-
|
|
819
|
-
## 6.0.0-canary.42
|
|
820
|
-
|
|
821
|
-
## 6.0.0-canary.41
|
|
822
|
-
|
|
823
|
-
## 6.0.0-canary.40
|
|
824
|
-
|
|
825
|
-
## 6.0.0-canary.39
|
|
826
|
-
|
|
827
|
-
## 6.0.0-canary.38
|
|
828
|
-
|
|
829
|
-
## 6.0.0-canary.37
|
|
830
|
-
|
|
831
|
-
## 6.0.0-canary.36
|
|
832
|
-
|
|
833
|
-
## 6.0.0-canary.35
|
|
834
|
-
|
|
835
|
-
## 6.0.0-canary.34
|
|
836
|
-
|
|
837
|
-
## 6.0.0-canary.33
|
|
838
|
-
|
|
839
|
-
## 6.0.0-canary.32
|
|
840
|
-
|
|
841
|
-
## 6.0.0-canary.31
|
|
842
|
-
|
|
843
|
-
## 6.0.0-canary.30
|
|
844
|
-
|
|
845
|
-
## 6.0.0-canary.29
|
|
846
|
-
|
|
847
|
-
## 6.0.0-canary.28
|
|
848
|
-
|
|
849
|
-
## 6.0.0-canary.27
|
|
850
|
-
|
|
851
|
-
### Patch Changes
|
|
852
|
-
|
|
853
|
-
- [#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))
|
|
854
|
-
|
|
855
|
-
## 6.0.0-canary.26
|
|
856
|
-
|
|
857
|
-
## 6.0.0-canary.25
|
|
858
|
-
|
|
859
|
-
## 6.0.0-canary.24
|
|
860
|
-
|
|
861
|
-
## 6.0.0-canary.23
|
|
862
|
-
|
|
863
|
-
## 6.0.0-canary.22
|
|
864
|
-
|
|
865
|
-
## 6.0.0-canary.21
|
|
866
|
-
|
|
867
|
-
## 6.0.0-canary.20
|
|
868
|
-
|
|
869
|
-
## 5.2.0-canary.19
|
|
870
|
-
|
|
871
|
-
## 5.2.0-canary.18
|
|
872
|
-
|
|
873
|
-
## 5.2.0-canary.17
|
|
874
|
-
|
|
875
|
-
## 5.2.0-canary.16
|
|
876
|
-
|
|
877
|
-
## 5.2.0-canary.15
|
|
878
|
-
|
|
879
|
-
## 5.2.0-canary.14
|
|
880
|
-
|
|
881
|
-
## 5.2.0-canary.13
|
|
882
|
-
|
|
883
|
-
## 5.2.0-canary.12
|
|
884
|
-
|
|
885
|
-
## 5.2.0-canary.11
|
|
886
|
-
|
|
887
|
-
## 5.2.0-canary.10
|
|
888
|
-
|
|
889
|
-
## 5.2.0-canary.9
|
|
890
|
-
|
|
891
|
-
## 5.2.0-canary.8
|
|
892
|
-
|
|
893
|
-
## 5.2.0-canary.7
|
|
894
|
-
|
|
895
|
-
## 5.2.0-canary.6
|
|
896
|
-
|
|
897
|
-
## 5.2.0-canary.5
|
|
898
|
-
|
|
899
|
-
## 5.2.0-canary.4
|
|
900
|
-
|
|
901
|
-
## 5.2.0-canary.3
|
|
902
|
-
|
|
903
|
-
## 5.2.0-canary.2
|
|
904
|
-
|
|
905
|
-
## 5.2.0-canary.1
|
|
906
|
-
|
|
907
|
-
## 5.2.0-canary.0
|
|
908
|
-
|
|
909
|
-
## 5.1.1
|
|
910
|
-
|
|
911
|
-
## 5.1.1-canary.1
|
|
912
|
-
|
|
913
|
-
## 5.1.1-canary.0
|
|
914
|
-
|
|
915
83
|
## 5.1.0
|
|
916
84
|
|
|
917
85
|
### Patch Changes
|
|
@@ -927,45 +95,6 @@
|
|
|
927
95
|
|
|
928
96
|
- [#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))
|
|
929
97
|
|
|
930
|
-
## 5.1.0-canary.11
|
|
931
|
-
|
|
932
|
-
## 5.1.0-canary.10
|
|
933
|
-
|
|
934
|
-
## 5.1.0-canary.9
|
|
935
|
-
|
|
936
|
-
## 5.1.0-canary.8
|
|
937
|
-
|
|
938
|
-
## 5.1.0-canary.7
|
|
939
|
-
|
|
940
|
-
## 5.1.0-canary.6
|
|
941
|
-
|
|
942
|
-
## 5.1.0-canary.5
|
|
943
|
-
|
|
944
|
-
## 5.1.0-canary.4
|
|
945
|
-
|
|
946
|
-
### Patch Changes
|
|
947
|
-
|
|
948
|
-
- [#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))
|
|
949
|
-
|
|
950
|
-
- [#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))
|
|
951
|
-
|
|
952
|
-
## 5.1.0-canary.3
|
|
953
|
-
|
|
954
|
-
### Patch Changes
|
|
955
|
-
|
|
956
|
-
- [#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.
|
|
957
|
-
|
|
958
|
-
- Updated the @mui/material package
|
|
959
|
-
- Removed dependencies on react-hook-form-mui and @playwright/test
|
|
960
|
-
- Upgraded dependencies including type-fest and graphql-mesh
|
|
961
|
-
- Solved peer dependency issues ([@paales](https://github.com/paales))
|
|
962
|
-
|
|
963
|
-
## 5.1.0-canary.2
|
|
964
|
-
|
|
965
|
-
## 5.1.0-canary.1
|
|
966
|
-
|
|
967
|
-
## 5.1.0-canary.0
|
|
968
|
-
|
|
969
98
|
## 5.0.0
|
|
970
99
|
|
|
971
100
|
### Major Changes
|
|
@@ -976,54 +105,12 @@
|
|
|
976
105
|
|
|
977
106
|
- [#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))
|
|
978
107
|
|
|
979
|
-
## 5.0.0-canary.14
|
|
980
|
-
|
|
981
|
-
## 5.0.0-canary.9
|
|
982
|
-
|
|
983
|
-
### Major Changes
|
|
984
|
-
|
|
985
|
-
- [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
|
|
986
|
-
|
|
987
|
-
## 4.31.0-canary.8
|
|
988
|
-
|
|
989
|
-
### Patch Changes
|
|
990
|
-
|
|
991
|
-
- [`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))
|
|
992
|
-
|
|
993
|
-
## 4.31.0-canary.7
|
|
994
|
-
|
|
995
|
-
## 4.31.0-canary.6
|
|
996
|
-
|
|
997
|
-
## 4.31.0-canary.5
|
|
998
|
-
|
|
999
|
-
## 4.31.0-canary.4
|
|
1000
|
-
|
|
1001
|
-
## 4.31.0-canary.3
|
|
1002
|
-
|
|
1003
|
-
## 4.31.0-canary.2
|
|
1004
|
-
|
|
1005
|
-
## 4.31.0-canary.1
|
|
1006
|
-
|
|
1007
|
-
## 4.31.0-canary.0
|
|
1008
|
-
|
|
1009
|
-
## 4.30.2
|
|
1010
|
-
|
|
1011
|
-
## 4.30.1
|
|
1012
|
-
|
|
1013
108
|
## 4.30.0
|
|
1014
109
|
|
|
1015
110
|
### Patch Changes
|
|
1016
111
|
|
|
1017
112
|
- [#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
|
|
1018
113
|
|
|
1019
|
-
## 4.30.0-canary.1
|
|
1020
|
-
|
|
1021
|
-
### Patch Changes
|
|
1022
|
-
|
|
1023
|
-
- [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
|
|
1024
|
-
|
|
1025
|
-
## 4.30.0-canary.0
|
|
1026
|
-
|
|
1027
114
|
## 3.3.2
|
|
1028
115
|
|
|
1029
116
|
### 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.
|
|
5
|
+
"version": "9.0.1-canary.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.
|
|
16
|
-
"@graphcommerce/framer-utils": "^9.0.
|
|
17
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.
|
|
18
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.
|
|
19
|
-
"framer-motion": "^
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.1-canary.0",
|
|
16
|
+
"@graphcommerce/framer-utils": "^9.0.1-canary.0",
|
|
17
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.1-canary.0",
|
|
18
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.1-canary.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
|
-
}
|