@graphcommerce/magento-compare 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 +24 -646
- package/components/CompareFab.tsx +6 -5
- package/components/CompareListAttributes.tsx +2 -1
- package/components/CompareListForm.tsx +5 -4
- package/components/CompareListIntroText.tsx +1 -1
- package/components/CompareListItems.tsx +2 -5
- package/components/CompareListRow.tsx +1 -1
- package/components/CompareListRowMoreInformation.tsx +2 -2
- package/components/CompareListSelect.tsx +2 -1
- package/components/CompareMessageSnackbar.tsx +3 -3
- package/components/CompareProductButton.tsx +8 -9
- package/components/CompareProductToggle.tsx +8 -6
- package/components/EmptyCompareListButton.tsx +4 -3
- package/graphql/CompareProductIdInternal.graphql +1 -1
- package/hooks/useAssignCurrentCompareListUid.ts +2 -1
- package/hooks/useCompareListStyles.ts +2 -2
- package/hooks/useCompareSummary.ts +1 -1
- package/package.json +12 -12
- package/plugins/AddCompareFabNextToCart.tsx +1 -1
- package/plugins/AddCompareToProductPage.tsx +1 -1
- package/plugins/AddCompareTypePolicies.tsx +1 -1
- package/plugins/CompareAbleProductListItem.tsx +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,80 +1,52 @@
|
|
|
1
1
|
# @graphcommerce/magento-compare
|
|
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
|
|
5
|
+
### Patch Changes
|
|
34
6
|
|
|
35
|
-
|
|
7
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`530076e`](https://github.com/graphcommerce-org/graphcommerce/commit/530076e3664703cb8b577b7fcf1998a420819f60) - Moved all usages of `useFormPersist` to the `<FormPersist/>` component to prevent rerenders. ([@FrankHarland](https://github.com/FrankHarland))
|
|
36
8
|
|
|
37
|
-
|
|
9
|
+
- [#2331](https://github.com/graphcommerce-org/graphcommerce/pull/2331) [`702bfc9`](https://github.com/graphcommerce-org/graphcommerce/commit/702bfc93566c9745546988e57988431d5d4d8cb0) - Moved plugins to new format ([@paales](https://github.com/paales))
|
|
38
10
|
|
|
39
|
-
|
|
11
|
+
- [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Fix bug with persist not applying saved changes by moving `<FromPersist/>` below the form components. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
40
12
|
|
|
41
|
-
|
|
13
|
+
- [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`cb8d2f0`](https://github.com/graphcommerce-org/graphcommerce/commit/cb8d2f0059d64242260e30ce34655868f204ef4c) - Made all component prop types exported ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
42
14
|
|
|
43
|
-
## 9.0.0-canary.
|
|
15
|
+
## 9.0.0-canary.118
|
|
44
16
|
|
|
45
|
-
## 9.0.0-canary.
|
|
17
|
+
## 9.0.0-canary.117
|
|
46
18
|
|
|
47
|
-
## 9.0.0-canary.
|
|
19
|
+
## 9.0.0-canary.116
|
|
48
20
|
|
|
49
|
-
## 9.0.0-canary.
|
|
21
|
+
## 9.0.0-canary.115
|
|
50
22
|
|
|
51
|
-
## 9.0.0-canary.
|
|
23
|
+
## 9.0.0-canary.114
|
|
52
24
|
|
|
53
|
-
## 9.0.0-canary.
|
|
25
|
+
## 9.0.0-canary.113
|
|
54
26
|
|
|
55
|
-
## 9.0.0-canary.
|
|
27
|
+
## 9.0.0-canary.112
|
|
56
28
|
|
|
57
|
-
## 9.0.0-canary.
|
|
29
|
+
## 9.0.0-canary.111
|
|
58
30
|
|
|
59
|
-
## 9.0.0-canary.
|
|
31
|
+
## 9.0.0-canary.110
|
|
60
32
|
|
|
61
|
-
## 9.0.0-canary.
|
|
33
|
+
## 9.0.0-canary.109
|
|
62
34
|
|
|
63
|
-
## 9.0.0-canary.
|
|
35
|
+
## 9.0.0-canary.108
|
|
64
36
|
|
|
65
|
-
|
|
37
|
+
### Patch Changes
|
|
66
38
|
|
|
67
|
-
|
|
39
|
+
- [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`cb8d2f0`](https://github.com/graphcommerce-org/graphcommerce/commit/cb8d2f0059d64242260e30ce34655868f204ef4c) - Made all component prop types exported ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
68
40
|
|
|
69
|
-
## 9.0.0-canary.
|
|
41
|
+
## 9.0.0-canary.107
|
|
70
42
|
|
|
71
|
-
## 9.0.0-canary.
|
|
43
|
+
## 9.0.0-canary.106
|
|
72
44
|
|
|
73
|
-
## 9.0.0-canary.
|
|
45
|
+
## 9.0.0-canary.105
|
|
74
46
|
|
|
75
|
-
## 9.0.0-canary.
|
|
47
|
+
## 9.0.0-canary.104
|
|
76
48
|
|
|
77
|
-
## 9.0.0-canary.
|
|
49
|
+
## 9.0.0-canary.103
|
|
78
50
|
|
|
79
51
|
## 9.0.0-canary.60
|
|
80
52
|
|
|
@@ -82,426 +54,24 @@
|
|
|
82
54
|
|
|
83
55
|
- [#2331](https://github.com/graphcommerce-org/graphcommerce/pull/2331) [`702bfc9`](https://github.com/graphcommerce-org/graphcommerce/commit/702bfc93566c9745546988e57988431d5d4d8cb0) - Moved plugins to new format ([@paales](https://github.com/paales))
|
|
84
56
|
|
|
85
|
-
## 9.0.0-canary.59
|
|
86
|
-
|
|
87
|
-
## 9.0.0-canary.58
|
|
88
|
-
|
|
89
|
-
## 9.0.0-canary.57
|
|
90
|
-
|
|
91
|
-
## 9.0.0-canary.56
|
|
92
|
-
|
|
93
|
-
## 9.0.0-canary.55
|
|
94
|
-
|
|
95
|
-
## 9.0.0-canary.54
|
|
96
|
-
|
|
97
|
-
## 8.1.0-canary.53
|
|
98
|
-
|
|
99
|
-
## 8.1.0-canary.52
|
|
100
|
-
|
|
101
|
-
## 8.1.0-canary.51
|
|
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
|
|
126
|
-
|
|
127
57
|
## 8.1.0-canary.38
|
|
128
58
|
|
|
129
59
|
### Patch Changes
|
|
130
60
|
|
|
131
61
|
- [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Fix bug with persist not applying saved changes by moving <FromPersist/> below the form components ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
132
62
|
|
|
133
|
-
## 8.1.0-canary.37
|
|
134
|
-
|
|
135
|
-
## 8.1.0-canary.36
|
|
136
|
-
|
|
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
63
|
## 8.0.6-canary.2
|
|
204
64
|
|
|
205
65
|
### Patch Changes
|
|
206
66
|
|
|
207
67
|
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`530076e`](https://github.com/graphcommerce-org/graphcommerce/commit/530076e3664703cb8b577b7fcf1998a420819f60) - Moved all usages of useFormPersist to the <FormPersist/> component to prevent rerenders. ([@FrankHarland](https://github.com/FrankHarland))
|
|
208
68
|
|
|
209
|
-
## 8.0.6-canary.1
|
|
210
|
-
|
|
211
|
-
## 8.0.6-canary.0
|
|
212
|
-
|
|
213
|
-
## 8.0.5
|
|
214
|
-
|
|
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
|
-
## 8.0.5-canary.2
|
|
232
|
-
|
|
233
|
-
## 8.0.5-canary.1
|
|
234
|
-
|
|
235
|
-
## 8.0.5-canary.0
|
|
236
|
-
|
|
237
|
-
## 8.0.4
|
|
238
|
-
|
|
239
|
-
## 8.0.4-canary.1
|
|
240
|
-
|
|
241
|
-
## 8.0.4-canary.0
|
|
242
|
-
|
|
243
|
-
## 8.0.3
|
|
244
|
-
|
|
245
|
-
## 8.0.3-canary.6
|
|
246
|
-
|
|
247
|
-
## 8.0.3-canary.5
|
|
248
|
-
|
|
249
|
-
## 8.0.3-canary.4
|
|
250
|
-
|
|
251
|
-
## 8.0.3-canary.3
|
|
252
|
-
|
|
253
|
-
## 8.0.3-canary.2
|
|
254
|
-
|
|
255
|
-
## 8.0.3-canary.1
|
|
256
|
-
|
|
257
|
-
## 8.0.3-canary.0
|
|
258
|
-
|
|
259
|
-
## 8.0.2
|
|
260
|
-
|
|
261
|
-
## 8.0.2-canary.3
|
|
262
|
-
|
|
263
|
-
## 8.0.2-canary.2
|
|
264
|
-
|
|
265
|
-
## 8.0.2-canary.1
|
|
266
|
-
|
|
267
|
-
## 8.0.2-canary.0
|
|
268
|
-
|
|
269
|
-
## 8.0.1
|
|
270
|
-
|
|
271
|
-
## 8.0.1-canary.4
|
|
272
|
-
|
|
273
|
-
## 8.0.1-canary.3
|
|
274
|
-
|
|
275
|
-
## 8.0.1-canary.2
|
|
276
|
-
|
|
277
|
-
## 8.0.1-canary.1
|
|
278
|
-
|
|
279
|
-
## 8.0.1-canary.0
|
|
280
|
-
|
|
281
69
|
## 8.0.0
|
|
282
70
|
|
|
283
71
|
### Patch Changes
|
|
284
72
|
|
|
285
73
|
- [#2132](https://github.com/graphcommerce-org/graphcommerce/pull/2132) [`993f655`](https://github.com/graphcommerce-org/graphcommerce/commit/993f6559226f0ce2b63f372ccfc1409805b06a8d) - Compare button didn't have a proper hover state on the product page. ([@action-simon](https://github.com/action-simon))
|
|
286
74
|
|
|
287
|
-
## 8.0.0-canary.100
|
|
288
|
-
|
|
289
|
-
## 8.0.0-canary.99
|
|
290
|
-
|
|
291
|
-
## 8.0.0-canary.98
|
|
292
|
-
|
|
293
|
-
## 8.0.0-canary.97
|
|
294
|
-
|
|
295
|
-
## 8.0.0-canary.96
|
|
296
|
-
|
|
297
|
-
## 8.0.0-canary.95
|
|
298
|
-
|
|
299
|
-
## 8.0.0-canary.94
|
|
300
|
-
|
|
301
|
-
## 8.0.0-canary.93
|
|
302
|
-
|
|
303
|
-
## 8.0.0-canary.92
|
|
304
|
-
|
|
305
|
-
## 8.0.0-canary.91
|
|
306
|
-
|
|
307
|
-
## 8.0.0-canary.90
|
|
308
|
-
|
|
309
|
-
## 8.0.0-canary.89
|
|
310
|
-
|
|
311
|
-
## 8.0.0-canary.88
|
|
312
|
-
|
|
313
|
-
## 8.0.0-canary.87
|
|
314
|
-
|
|
315
|
-
## 8.0.0-canary.86
|
|
316
|
-
|
|
317
|
-
## 8.0.0-canary.85
|
|
318
|
-
|
|
319
|
-
## 8.0.0-canary.84
|
|
320
|
-
|
|
321
|
-
## 8.0.0-canary.83
|
|
322
|
-
|
|
323
|
-
## 8.0.0-canary.82
|
|
324
|
-
|
|
325
|
-
## 8.0.0-canary.81
|
|
326
|
-
|
|
327
|
-
## 8.0.0-canary.80
|
|
328
|
-
|
|
329
|
-
## 8.0.0-canary.79
|
|
330
|
-
|
|
331
|
-
## 8.0.0-canary.78
|
|
332
|
-
|
|
333
|
-
## 8.0.0-canary.77
|
|
334
|
-
|
|
335
|
-
## 8.0.0-canary.76
|
|
336
|
-
|
|
337
|
-
## 8.0.0-canary.75
|
|
338
|
-
|
|
339
|
-
## 8.0.0-canary.74
|
|
340
|
-
|
|
341
|
-
## 8.0.0-canary.73
|
|
342
|
-
|
|
343
|
-
### Patch Changes
|
|
344
|
-
|
|
345
|
-
- [#2132](https://github.com/graphcommerce-org/graphcommerce/pull/2132) [`993f655`](https://github.com/graphcommerce-org/graphcommerce/commit/993f6559226f0ce2b63f372ccfc1409805b06a8d) - Fix compare button hover state on product page ([@action-simon](https://github.com/action-simon))
|
|
346
|
-
|
|
347
|
-
## 8.0.0-canary.72
|
|
348
|
-
|
|
349
|
-
## 8.0.0-canary.71
|
|
350
|
-
|
|
351
|
-
## 8.0.0-canary.70
|
|
352
|
-
|
|
353
|
-
## 8.0.0-canary.69
|
|
354
|
-
|
|
355
|
-
## 7.1.0-canary.68
|
|
356
|
-
|
|
357
|
-
## 7.1.0-canary.67
|
|
358
|
-
|
|
359
|
-
## 7.1.0-canary.66
|
|
360
|
-
|
|
361
|
-
## 7.1.0-canary.65
|
|
362
|
-
|
|
363
|
-
## 7.1.0-canary.64
|
|
364
|
-
|
|
365
|
-
## 7.1.0-canary.63
|
|
366
|
-
|
|
367
|
-
## 7.1.0-canary.62
|
|
368
|
-
|
|
369
|
-
## 7.1.0-canary.61
|
|
370
|
-
|
|
371
|
-
## 7.1.0-canary.60
|
|
372
|
-
|
|
373
|
-
## 7.1.0-canary.59
|
|
374
|
-
|
|
375
|
-
## 7.1.0-canary.58
|
|
376
|
-
|
|
377
|
-
## 7.1.0-canary.57
|
|
378
|
-
|
|
379
|
-
## 7.1.0-canary.56
|
|
380
|
-
|
|
381
|
-
## 7.1.0-canary.55
|
|
382
|
-
|
|
383
|
-
## 7.1.0-canary.54
|
|
384
|
-
|
|
385
|
-
## 7.1.0-canary.53
|
|
386
|
-
|
|
387
|
-
## 7.1.0-canary.52
|
|
388
|
-
|
|
389
|
-
## 7.1.0-canary.51
|
|
390
|
-
|
|
391
|
-
## 7.1.0-canary.50
|
|
392
|
-
|
|
393
|
-
## 7.1.0-canary.49
|
|
394
|
-
|
|
395
|
-
## 7.1.0-canary.48
|
|
396
|
-
|
|
397
|
-
## 7.1.0-canary.47
|
|
398
|
-
|
|
399
|
-
## 7.1.0-canary.46
|
|
400
|
-
|
|
401
|
-
## 7.1.0-canary.45
|
|
402
|
-
|
|
403
|
-
## 7.1.0-canary.38
|
|
404
|
-
|
|
405
|
-
## 7.1.0-canary.37
|
|
406
|
-
|
|
407
|
-
## 7.1.0-canary.36
|
|
408
|
-
|
|
409
|
-
## 7.1.0-canary.35
|
|
410
|
-
|
|
411
|
-
## 7.1.0-canary.34
|
|
412
|
-
|
|
413
|
-
## 7.1.0-canary.33
|
|
414
|
-
|
|
415
|
-
## 7.1.0-canary.32
|
|
416
|
-
|
|
417
|
-
## 7.1.0-canary.31
|
|
418
|
-
|
|
419
|
-
## 7.1.0-canary.30
|
|
420
|
-
|
|
421
|
-
## 7.1.0-canary.29
|
|
422
|
-
|
|
423
|
-
## 7.1.0-canary.28
|
|
424
|
-
|
|
425
|
-
## 7.1.0-canary.27
|
|
426
|
-
|
|
427
|
-
## 7.1.0-canary.26
|
|
428
|
-
|
|
429
|
-
## 7.1.0-canary.25
|
|
430
|
-
|
|
431
|
-
## 7.1.0-canary.24
|
|
432
|
-
|
|
433
|
-
## 7.1.0-canary.23
|
|
434
|
-
|
|
435
|
-
## 7.1.0-canary.22
|
|
436
|
-
|
|
437
|
-
## 7.1.0-canary.21
|
|
438
|
-
|
|
439
|
-
## 7.1.0-canary.20
|
|
440
|
-
|
|
441
|
-
## 7.1.0-canary.19
|
|
442
|
-
|
|
443
|
-
## 7.1.0-canary.18
|
|
444
|
-
|
|
445
|
-
## 7.1.0-canary.17
|
|
446
|
-
|
|
447
|
-
## 7.1.0-canary.16
|
|
448
|
-
|
|
449
|
-
## 7.1.0-canary.15
|
|
450
|
-
|
|
451
|
-
## 7.1.0-canary.14
|
|
452
|
-
|
|
453
|
-
## 7.1.0-canary.13
|
|
454
|
-
|
|
455
|
-
## 7.1.0-canary.12
|
|
456
|
-
|
|
457
|
-
## 7.1.0-canary.11
|
|
458
|
-
|
|
459
|
-
## 7.1.0-canary.10
|
|
460
|
-
|
|
461
|
-
## 7.1.0-canary.9
|
|
462
|
-
|
|
463
|
-
## 7.1.0-canary.8
|
|
464
|
-
|
|
465
|
-
## 7.0.2-canary.7
|
|
466
|
-
|
|
467
|
-
## 7.0.2-canary.6
|
|
468
|
-
|
|
469
|
-
## 7.0.2-canary.5
|
|
470
|
-
|
|
471
|
-
## 7.0.1
|
|
472
|
-
|
|
473
|
-
## 7.0.1-canary.15
|
|
474
|
-
|
|
475
|
-
## 7.0.1-canary.14
|
|
476
|
-
|
|
477
|
-
## 7.0.1-canary.13
|
|
478
|
-
|
|
479
|
-
## 7.0.1-canary.12
|
|
480
|
-
|
|
481
|
-
## 7.0.1-canary.11
|
|
482
|
-
|
|
483
|
-
## 7.0.1-canary.10
|
|
484
|
-
|
|
485
|
-
## 7.0.1-canary.9
|
|
486
|
-
|
|
487
|
-
## 7.0.1-canary.8
|
|
488
|
-
|
|
489
|
-
## 7.0.1-canary.7
|
|
490
|
-
|
|
491
|
-
## 7.0.1-canary.6
|
|
492
|
-
|
|
493
|
-
## 7.0.1-canary.5
|
|
494
|
-
|
|
495
|
-
## 7.0.1-canary.4
|
|
496
|
-
|
|
497
|
-
## 7.0.1-canary.3
|
|
498
|
-
|
|
499
|
-
## 7.0.1-canary.2
|
|
500
|
-
|
|
501
|
-
## 7.0.1-canary.1
|
|
502
|
-
|
|
503
|
-
## 7.0.1-canary.0
|
|
504
|
-
|
|
505
75
|
## 7.0.0
|
|
506
76
|
|
|
507
77
|
### Major Changes
|
|
@@ -513,195 +83,3 @@
|
|
|
513
83
|
### Patch Changes
|
|
514
84
|
|
|
515
85
|
- [#1959](https://github.com/graphcommerce-org/graphcommerce/pull/1959) [`d0809b132`](https://github.com/graphcommerce-org/graphcommerce/commit/d0809b132a0e4cbdfeb86164f6c16a89ebecd987) - Added support for default values in the Config.graphqls files for the documentation ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
516
|
-
|
|
517
|
-
## 6.2.0-canary.98
|
|
518
|
-
|
|
519
|
-
## 6.2.0-canary.97
|
|
520
|
-
|
|
521
|
-
## 6.2.0-canary.96
|
|
522
|
-
|
|
523
|
-
## 6.2.0-canary.95
|
|
524
|
-
|
|
525
|
-
## 6.2.0-canary.94
|
|
526
|
-
|
|
527
|
-
## 6.2.0-canary.93
|
|
528
|
-
|
|
529
|
-
## 6.2.0-canary.92
|
|
530
|
-
|
|
531
|
-
## 6.2.0-canary.91
|
|
532
|
-
|
|
533
|
-
## 6.2.0-canary.90
|
|
534
|
-
|
|
535
|
-
## 6.2.0-canary.89
|
|
536
|
-
|
|
537
|
-
## 6.2.0-canary.88
|
|
538
|
-
|
|
539
|
-
## 6.2.0-canary.87
|
|
540
|
-
|
|
541
|
-
## 6.2.0-canary.86
|
|
542
|
-
|
|
543
|
-
## 6.2.0-canary.85
|
|
544
|
-
|
|
545
|
-
## 6.2.0-canary.84
|
|
546
|
-
|
|
547
|
-
## 6.2.0-canary.83
|
|
548
|
-
|
|
549
|
-
## 6.2.0-canary.82
|
|
550
|
-
|
|
551
|
-
## 6.2.0-canary.81
|
|
552
|
-
|
|
553
|
-
## 6.2.0-canary.80
|
|
554
|
-
|
|
555
|
-
## 6.2.0-canary.79
|
|
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
|
-
### Minor Changes
|
|
616
|
-
|
|
617
|
-
- [`e55d8c390`](https://github.com/graphcommerce-org/graphcommerce/commit/e55d8c390d90b4bb7bab11c6a99027ac72bd7e3e) - Created a new sidebar layout system, can be configured with productFiltersLayout in the graphcommerce.config.js ([@paales](https://github.com/paales))
|
|
618
|
-
|
|
619
|
-
## 6.2.0-canary.49
|
|
620
|
-
|
|
621
|
-
### Patch Changes
|
|
622
|
-
|
|
623
|
-
- [#1959](https://github.com/graphcommerce-org/graphcommerce/pull/1959) [`d0809b132`](https://github.com/graphcommerce-org/graphcommerce/commit/d0809b132a0e4cbdfeb86164f6c16a89ebecd987) - Added support for default values in the Config.graphqls files for the documentation ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
624
|
-
|
|
625
|
-
## 6.2.0-canary.48
|
|
626
|
-
|
|
627
|
-
## 6.2.0-canary.47
|
|
628
|
-
|
|
629
|
-
## 6.2.0-canary.46
|
|
630
|
-
|
|
631
|
-
## 6.2.0-canary.45
|
|
632
|
-
|
|
633
|
-
## 6.2.0-canary.44
|
|
634
|
-
|
|
635
|
-
## 6.2.0-canary.43
|
|
636
|
-
|
|
637
|
-
## 6.2.0-canary.42
|
|
638
|
-
|
|
639
|
-
## 6.2.0-canary.41
|
|
640
|
-
|
|
641
|
-
## 6.2.0-canary.40
|
|
642
|
-
|
|
643
|
-
## 6.2.0-canary.39
|
|
644
|
-
|
|
645
|
-
## 6.2.0-canary.38
|
|
646
|
-
|
|
647
|
-
## 6.2.0-canary.37
|
|
648
|
-
|
|
649
|
-
## 6.2.0-canary.36
|
|
650
|
-
|
|
651
|
-
## 6.2.0-canary.35
|
|
652
|
-
|
|
653
|
-
## 6.2.0-canary.34
|
|
654
|
-
|
|
655
|
-
## 6.2.0-canary.33
|
|
656
|
-
|
|
657
|
-
## 6.2.0-canary.32
|
|
658
|
-
|
|
659
|
-
## 6.2.0-canary.31
|
|
660
|
-
|
|
661
|
-
## 6.2.0-canary.30
|
|
662
|
-
|
|
663
|
-
## 6.2.0-canary.29
|
|
664
|
-
|
|
665
|
-
## 6.2.0-canary.28
|
|
666
|
-
|
|
667
|
-
## 6.2.0-canary.27
|
|
668
|
-
|
|
669
|
-
## 6.2.0-canary.26
|
|
670
|
-
|
|
671
|
-
## 6.2.0-canary.25
|
|
672
|
-
|
|
673
|
-
## 6.2.0-canary.24
|
|
674
|
-
|
|
675
|
-
## 6.2.0-canary.23
|
|
676
|
-
|
|
677
|
-
## 6.2.0-canary.22
|
|
678
|
-
|
|
679
|
-
## 6.2.0-canary.21
|
|
680
|
-
|
|
681
|
-
## 6.2.0-canary.20
|
|
682
|
-
|
|
683
|
-
## 6.2.0-canary.19
|
|
684
|
-
|
|
685
|
-
## 6.2.0-canary.18
|
|
686
|
-
|
|
687
|
-
## 6.2.0-canary.17
|
|
688
|
-
|
|
689
|
-
## 6.2.0-canary.16
|
|
690
|
-
|
|
691
|
-
## 6.2.0-canary.15
|
|
692
|
-
|
|
693
|
-
## 6.2.0-canary.14
|
|
694
|
-
|
|
695
|
-
## 6.2.0-canary.13
|
|
696
|
-
|
|
697
|
-
## 6.2.0-canary.12
|
|
698
|
-
|
|
699
|
-
## 6.2.0-canary.11
|
|
700
|
-
|
|
701
|
-
## 6.2.0-canary.10
|
|
702
|
-
|
|
703
|
-
### Minor Changes
|
|
704
|
-
|
|
705
|
-
- [#1918](https://github.com/graphcommerce-org/graphcommerce/pull/1918) [`7dcf350c6`](https://github.com/graphcommerce-org/graphcommerce/commit/7dcf350c674dfe6dbf192ecfb5af3ee8180eb2f9) - Magento product compare functionality added ([@paales](https://github.com/paales))
|
|
706
|
-
|
|
707
|
-
## 6.2.0-canary.9
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
extendableComponent,
|
|
3
2
|
IconSvg,
|
|
4
|
-
|
|
3
|
+
extendableComponent,
|
|
5
4
|
iconCompare,
|
|
5
|
+
useFabSize,
|
|
6
6
|
useScrollY,
|
|
7
7
|
} from '@graphcommerce/next-ui'
|
|
8
8
|
import { i18n } from '@lingui/core'
|
|
9
9
|
import { Trans } from '@lingui/react'
|
|
10
|
-
import {
|
|
10
|
+
import type { ButtonProps, SxProps, Theme } from '@mui/material'
|
|
11
|
+
import { Badge, Box, Button, NoSsr, styled } from '@mui/material'
|
|
11
12
|
import { m, useTransform } from 'framer-motion'
|
|
12
13
|
import React from 'react'
|
|
13
14
|
import { useCompareSummary } from '../hooks'
|
|
@@ -17,11 +18,11 @@ export type CompareFabProps = {
|
|
|
17
18
|
sx?: SxProps<Theme>
|
|
18
19
|
} & Pick<ButtonProps, 'color' | 'size' | 'variant'>
|
|
19
20
|
|
|
20
|
-
type CompareFabContentProps = CompareFabProps & { total_quantity: number }
|
|
21
|
+
export type CompareFabContentProps = CompareFabProps & { total_quantity: number }
|
|
21
22
|
|
|
22
23
|
const MotionDiv = styled(m.div)({})
|
|
23
24
|
|
|
24
|
-
const MotionFab = m(
|
|
25
|
+
const MotionFab = m.create(
|
|
25
26
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
26
27
|
React.forwardRef<any, Omit<ButtonProps, 'style' | 'onDrag'>>((props, ref) => (
|
|
27
28
|
<Button variant='pill' {...props} ref={ref} />
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { filterNonNullableKeys } from '@graphcommerce/next-ui'
|
|
2
|
-
import {
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material'
|
|
3
|
+
import { Box } from '@mui/material'
|
|
3
4
|
import { useCompareList } from '../hooks/useCompareList'
|
|
4
5
|
import { useCompareVisibleItems } from './CompareListForm'
|
|
5
6
|
import { CompareListRow } from './CompareListRow'
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { UseFormReturn } from '@graphcommerce/ecommerce-ui'
|
|
2
|
+
import { FormPersist, useForm, useWatch } from '@graphcommerce/ecommerce-ui'
|
|
2
3
|
import { filterNonNullableKeys, nonNullable } from '@graphcommerce/next-ui'
|
|
3
4
|
import React, { createContext, useContext, useEffect, useMemo, useRef } from 'react'
|
|
4
5
|
import { useCompareList } from '../hooks'
|
|
5
6
|
|
|
6
|
-
type CompareListFormProps = { children?: React.ReactNode }
|
|
7
|
+
export type CompareListFormProps = { children?: React.ReactNode }
|
|
7
8
|
|
|
8
9
|
type FormFields = { selected: number[] }
|
|
9
10
|
|
|
@@ -48,12 +49,12 @@ export function CompareListForm(props: CompareListFormProps) {
|
|
|
48
49
|
|
|
49
50
|
// if there are less items in the compare list than in our selectedState
|
|
50
51
|
if (compareListCount < selectedState.length) {
|
|
51
|
-
form.setValue(
|
|
52
|
+
form.setValue('selected', [...Array(compareListCount).keys()])
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
// if there are less items in our selectedState than we have columns
|
|
55
56
|
if (selectedState.length < gridColumns) {
|
|
56
|
-
form.setValue(
|
|
57
|
+
form.setValue('selected', [...Array(gridColumns).keys()])
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
}, [compareAbleItems?.length, compareListCount, form, gridColumns, selectedState])
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
ProductItemsGridProps,
|
|
4
|
-
ProductListItemsBase,
|
|
5
|
-
} from '@graphcommerce/magento-product'
|
|
1
|
+
import type { ProductItemsGridProps } from '@graphcommerce/magento-product'
|
|
2
|
+
import { AddProductsToCartForm, ProductListItemsBase } from '@graphcommerce/magento-product'
|
|
6
3
|
import { useCompareListStyles } from '../hooks/useCompareListStyles'
|
|
7
4
|
import { useCompareVisibleItems } from './CompareListForm'
|
|
8
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SectionContainer } from '@graphcommerce/next-ui'
|
|
2
2
|
import { Box } from '@mui/material'
|
|
3
|
-
import { ComparableItemFragment } from '../graphql'
|
|
3
|
+
import type { ComparableItemFragment } from '../graphql'
|
|
4
4
|
import { useCompareListStyles } from '../hooks/useCompareListStyles'
|
|
5
5
|
|
|
6
6
|
export type CompareRowProps = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { productLink } from '@graphcommerce/magento-product'
|
|
2
|
-
import { Button,
|
|
2
|
+
import { Button, IconSvg, SectionContainer, iconChevronRight } from '@graphcommerce/next-ui'
|
|
3
3
|
import { Trans } from '@lingui/react'
|
|
4
4
|
import { Box } from '@mui/material'
|
|
5
5
|
import { useCompareListStyles } from '../hooks/useCompareListStyles'
|
|
6
|
-
import { CompareRowProps } from './CompareListRow'
|
|
6
|
+
import type { CompareRowProps } from './CompareListRow'
|
|
7
7
|
|
|
8
8
|
export type CompareListRowMoreInformationProps = Pick<CompareRowProps, 'compareAbleItems'>
|
|
9
9
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SelectElement } from '@graphcommerce/ecommerce-ui'
|
|
2
2
|
import { useMotionValueValue } from '@graphcommerce/framer-utils'
|
|
3
3
|
import { useScrollY } from '@graphcommerce/next-ui'
|
|
4
|
-
import {
|
|
4
|
+
import type { SxProps, Theme } from '@mui/material'
|
|
5
|
+
import { Box, Container, FormControl, useTheme } from '@mui/material'
|
|
5
6
|
import { useCompareList, useCompareListStyles } from '../hooks'
|
|
6
7
|
import { useCompareForm } from './CompareListForm'
|
|
7
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Button,
|
|
1
|
+
import { Button, IconSvg, MessageSnackbar, iconChevronRight } from '@graphcommerce/next-ui'
|
|
2
2
|
import { Trans } from '@lingui/react'
|
|
3
|
-
import { SetStateAction } from 'react'
|
|
3
|
+
import type { SetStateAction } from 'react'
|
|
4
4
|
|
|
5
|
-
type CompareMessageSnackbarProps = {
|
|
5
|
+
export type CompareMessageSnackbarProps = {
|
|
6
6
|
count: number | undefined
|
|
7
7
|
name: string | null | undefined
|
|
8
8
|
displayMessageBar: boolean
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { useMutation } from '@graphcommerce/graphql'
|
|
2
2
|
import { Trans } from '@lingui/react'
|
|
3
3
|
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
|
4
|
-
import {
|
|
4
|
+
import type { SxProps, Theme } from '@mui/material'
|
|
5
|
+
import { Badge, Box, Button, Checkbox } from '@mui/material'
|
|
5
6
|
import { useState } from 'react'
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
CompareProductIdInternalFragment,
|
|
9
|
-
RemoveProductsFromCompareListDocument,
|
|
10
|
-
} from '../graphql'
|
|
7
|
+
import type { CompareProductIdInternalFragment } from '../graphql'
|
|
8
|
+
import { AddProductsToCompareListDocument, RemoveProductsFromCompareListDocument } from '../graphql'
|
|
11
9
|
import { useCompareSummary } from '../hooks'
|
|
12
10
|
import { useCompareListUidCreate } from '../hooks/useCompareListUidCreate'
|
|
13
11
|
import { CompareMessageSnackbar } from './CompareMessageSnackbar'
|
|
14
12
|
|
|
15
|
-
type CompareProductButtonProps = CompareProductIdInternalFragment & { sx?: SxProps<Theme> }
|
|
13
|
+
export type CompareProductButtonProps = CompareProductIdInternalFragment & { sx?: SxProps<Theme> }
|
|
16
14
|
|
|
15
|
+
/** @public */
|
|
17
16
|
export function CompareProductButton(props: CompareProductButtonProps) {
|
|
18
|
-
const {
|
|
19
|
-
const idString = String(
|
|
17
|
+
const { id, name, sx } = props
|
|
18
|
+
const idString = String(id)
|
|
20
19
|
const create = useCompareListUidCreate()
|
|
21
20
|
const compareList = useCompareSummary()
|
|
22
21
|
const inCompareList =
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { useMutation } from '@graphcommerce/graphql'
|
|
2
|
-
import {
|
|
2
|
+
import type { FabProps } from '@graphcommerce/next-ui'
|
|
3
|
+
import { Button, Fab, iconCompare } from '@graphcommerce/next-ui'
|
|
3
4
|
import { i18n } from '@lingui/core'
|
|
4
5
|
import { Trans } from '@lingui/react'
|
|
5
6
|
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
|
6
|
-
import {
|
|
7
|
+
import type { SxProps, Theme } from '@mui/material'
|
|
8
|
+
import { alpha, Checkbox, NoSsr, useTheme } from '@mui/material'
|
|
7
9
|
import { useState } from 'react'
|
|
8
|
-
import { CompareProductIdInternalFragment } from '../graphql'
|
|
10
|
+
import type { CompareProductIdInternalFragment } from '../graphql'
|
|
9
11
|
import { AddProductsToCompareListDocument } from '../graphql/AddProductsToCompareList.gql'
|
|
10
12
|
import { RemoveProductsFromCompareListDocument } from '../graphql/RemoveProductsFromCompareList.gql'
|
|
11
13
|
import { useCompareSummary } from '../hooks'
|
|
12
14
|
import { useCompareListUidCreate } from '../hooks/useCompareListUidCreate'
|
|
13
15
|
import { CompareMessageSnackbar } from './CompareMessageSnackbar'
|
|
14
16
|
|
|
15
|
-
type CompareProductToggleProps = {
|
|
17
|
+
export type CompareProductToggleProps = {
|
|
16
18
|
sx?: SxProps<Theme>
|
|
17
19
|
product: CompareProductIdInternalFragment
|
|
18
20
|
} & Pick<FabProps, 'color'>
|
|
@@ -108,7 +110,7 @@ function CompareProductToggleBase(
|
|
|
108
110
|
(theme) => ({
|
|
109
111
|
backgroundColor:
|
|
110
112
|
theme.palette.mode === 'light' ? theme.palette.background.paper : 'transparent',
|
|
111
|
-
flex:
|
|
113
|
+
flex: '0 0 auto',
|
|
112
114
|
'& svg': {
|
|
113
115
|
stroke: strokeColorPlp,
|
|
114
116
|
},
|
|
@@ -146,7 +148,7 @@ function CompareProductToggleBase(
|
|
|
146
148
|
export function CompareProductToggle(props: CompareProductToggleProps) {
|
|
147
149
|
const { product } = props
|
|
148
150
|
const compareList = useCompareSummary()
|
|
149
|
-
const idString = String(product.
|
|
151
|
+
const idString = String(product.id)
|
|
150
152
|
const inCompareList =
|
|
151
153
|
compareList.data?.compareList?.items?.some((i) => i?.uid === idString) ?? false
|
|
152
154
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useGo, usePageContext } from '@graphcommerce/framer-next-pages'
|
|
2
2
|
import { useMutation } from '@graphcommerce/graphql'
|
|
3
|
-
import {
|
|
3
|
+
import type { LinkOrButtonProps } from '@graphcommerce/next-ui'
|
|
4
|
+
import { LinkOrButton } from '@graphcommerce/next-ui'
|
|
4
5
|
import { Trans } from '@lingui/react'
|
|
5
6
|
import { DeleteCompareListDocument } from '../graphql/DeleteCompareList.gql'
|
|
6
7
|
import { useCompareList } from '../hooks'
|
|
7
8
|
import { useClearCurrentCompareListUid } from '../hooks/useClearCurrentCompareListUid'
|
|
8
9
|
|
|
9
|
-
type EmptyCompareListButtonProps = Omit<LinkOrButtonProps, 'onClick' | 'children'>
|
|
10
|
+
export type EmptyCompareListButtonProps = Omit<LinkOrButtonProps, 'onClick' | 'children'>
|
|
10
11
|
|
|
11
12
|
export function EmptyCompareListButton(props: EmptyCompareListButtonProps) {
|
|
12
13
|
const { button = {}, link = {} } = props
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ApolloCache
|
|
1
|
+
import type { ApolloCache } from '@graphcommerce/graphql'
|
|
2
|
+
import { useApolloClient } from '@graphcommerce/graphql'
|
|
2
3
|
import { useCallback } from 'react'
|
|
3
4
|
import { CurrentCompareUidDocument } from '../graphql'
|
|
4
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useQuery } from '@graphcommerce/graphql'
|
|
2
|
-
import {
|
|
2
|
+
import { CompareSummaryDocument, CurrentCompareUidDocument } from '../graphql'
|
|
3
3
|
|
|
4
4
|
export function useCompareSummary() {
|
|
5
5
|
const currentCompareUid = useQuery(CurrentCompareUidDocument)
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-compare",
|
|
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,21 +12,21 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/ecommerce-ui": "^9.0.0
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0
|
|
17
|
-
"@graphcommerce/framer-next-pages": "^9.0.0
|
|
18
|
-
"@graphcommerce/framer-utils": "^9.0.0
|
|
19
|
-
"@graphcommerce/graphql": "^9.0.0
|
|
20
|
-
"@graphcommerce/magento-cart": "^9.0.0
|
|
21
|
-
"@graphcommerce/magento-product": "^9.0.0
|
|
22
|
-
"@graphcommerce/next-ui": "^9.0.0
|
|
23
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0
|
|
24
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.0",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0",
|
|
17
|
+
"@graphcommerce/framer-next-pages": "^9.0.0",
|
|
18
|
+
"@graphcommerce/framer-utils": "^9.0.0",
|
|
19
|
+
"@graphcommerce/graphql": "^9.0.0",
|
|
20
|
+
"@graphcommerce/magento-cart": "^9.0.0",
|
|
21
|
+
"@graphcommerce/magento-product": "^9.0.0",
|
|
22
|
+
"@graphcommerce/next-ui": "^9.0.0",
|
|
23
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0",
|
|
24
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0",
|
|
25
25
|
"@lingui/core": "^4.2.1",
|
|
26
26
|
"@lingui/macro": "^4.2.1",
|
|
27
27
|
"@lingui/react": "^4.2.1",
|
|
28
28
|
"@mui/material": "^5.10.16",
|
|
29
|
-
"framer-motion": "^
|
|
29
|
+
"framer-motion": "^11.0.0",
|
|
30
30
|
"graphql": "^16.0.0",
|
|
31
31
|
"next": "*",
|
|
32
32
|
"react": "^18.2.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProductPageAddToCartRowProps } from '@graphcommerce/magento-product'
|
|
1
|
+
import type { ProductPageAddToCartRowProps } from '@graphcommerce/magento-product'
|
|
2
2
|
import type { PluginConfig, PluginProps } from '@graphcommerce/next-config'
|
|
3
3
|
import { CompareProductToggle } from '../components'
|
|
4
4
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ProductListItemProps } from '@graphcommerce/magento-product'
|
|
1
|
+
import type { ProductListItemProps } from '@graphcommerce/magento-product'
|
|
2
2
|
import type { PluginConfig, PluginProps } from '@graphcommerce/next-config'
|
|
3
3
|
import { Box } from '@mui/material'
|
|
4
4
|
import { CompareProductToggle } from '../components'
|
|
5
|
-
import { CompareProductIdInternalFragment } from '../graphql'
|
|
5
|
+
import type { CompareProductIdInternalFragment } from '../graphql'
|
|
6
6
|
|
|
7
7
|
export const config: PluginConfig = {
|
|
8
8
|
type: 'component',
|