@graphcommerce/magento-product 8.1.0-canary.9 → 9.0.0-canary.100
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/Api/ProductListItem.graphql +1 -2
- package/Api/ProductPageItem.graphql +1 -1
- package/CHANGELOG.md +276 -84
- package/Config.graphqls +13 -0
- package/components/AddProductsToCart/AddProductsToCartButton.tsx +17 -4
- package/components/AddProductsToCart/AddProductsToCartFab.tsx +7 -2
- package/components/AddProductsToCart/AddProductsToCartForm.tsx +31 -29
- package/components/AddProductsToCart/AddProductsToCartSnackbar.tsx +14 -63
- package/components/AddProductsToCart/AddProductsToCartSnackbarMessage.tsx +84 -0
- package/components/AddProductsToCart/UseAddProductsToCartAction.graphql +1 -1
- package/components/AddProductsToCart/findAddedItems.ts +1 -4
- package/components/AddProductsToCart/index.ts +1 -0
- package/components/AddProductsToCart/useAddProductsToCartAction.ts +2 -1
- package/components/AddProductsToCart/useFormAddProductsToCart.ts +1 -2
- package/components/JsonLdProduct/JsonLdProduct.graphql +1 -1
- package/components/JsonLdProduct/ProductPageJsonLd.tsx +1 -1
- package/components/ProductAddToCart/ProductAddToCart.tsx +6 -8
- package/components/ProductCustomizable/CustomizableCheckboxOption.tsx +3 -4
- package/components/ProductCustomizable/CustomizableMultipleOption.tsx +2 -2
- package/components/ProductCustomizable/CustomizableRadioOption.tsx +2 -2
- package/components/ProductCustomizable/ProductCustomizable.graphql +1 -1
- package/components/ProductCustomizable/index.ts +1 -0
- package/components/ProductCustomizable/productCustomizableSelectors.ts +59 -0
- package/components/ProductFiltersPro/PriceSlider.tsx +1 -2
- package/components/ProductFiltersPro/ProductFilterEqualChip.tsx +4 -5
- package/components/ProductFiltersPro/ProductFilterEqualSection.tsx +6 -7
- package/components/ProductFiltersPro/ProductFilterRangeChip.tsx +1 -1
- package/components/ProductFiltersPro/ProductFilterRangeSection.tsx +1 -1
- package/components/ProductFiltersPro/ProductFiltersPro.tsx +103 -19
- package/components/ProductFiltersPro/ProductFiltersProAggregations.tsx +41 -20
- package/components/ProductFiltersPro/ProductFiltersProAllFiltersChip.tsx +6 -10
- package/components/ProductFiltersPro/ProductFiltersProAllFiltersSidebar.tsx +18 -8
- package/components/ProductFiltersPro/ProductFiltersProCategorySection.tsx +130 -0
- package/components/ProductFiltersPro/ProductFiltersProChips.tsx +10 -8
- package/components/ProductFiltersPro/ProductFiltersProClearAll.tsx +4 -16
- package/components/ProductFiltersPro/ProductFiltersProLayoutSidebar.tsx +15 -7
- package/components/ProductFiltersPro/ProductFiltersProLimitChip.tsx +2 -8
- package/components/ProductFiltersPro/ProductFiltersProLimitSection.tsx +7 -10
- package/components/ProductFiltersPro/ProductFiltersProNoResults.tsx +79 -0
- package/components/ProductFiltersPro/ProductFiltersProSortChip.tsx +5 -7
- package/components/ProductFiltersPro/ProductFiltersProSortDirectionArrow.tsx +2 -4
- package/components/ProductFiltersPro/ProductFiltersProSortSection.tsx +11 -3
- package/components/ProductFiltersPro/activeAggregations.ts +5 -9
- package/components/ProductFiltersPro/applyAggregationCount.ts +14 -8
- package/components/ProductFiltersPro/index.ts +9 -0
- package/components/ProductFiltersPro/{useClearAllFiltersHandler.ts → useProductFiltersProClearAllAction.ts} +1 -1
- package/components/ProductFiltersPro/useProductFiltersProHasFiltersApplied.ts +21 -0
- package/components/ProductFiltersPro/useProductFiltersProSort.tsx +7 -3
- package/components/ProductList/ProductList.graphql +8 -5
- package/components/ProductListCount/ProductListCount.tsx +3 -1
- package/components/ProductListFilters/ProductFilters.graphql +11 -2
- package/components/ProductListFilters/ProductListFilters.graphql +1 -1
- package/components/ProductListFilters/ProductListFilters.tsx +13 -19
- package/components/ProductListFiltersContainer/ProductListFiltersContainer.tsx +2 -4
- package/components/ProductListItem/ProductDiscountLabel.tsx +2 -3
- package/components/ProductListItem/ProductListItem.tsx +3 -3
- package/components/ProductListItem/ProductListItemTitleAndPrice.tsx +18 -15
- package/components/ProductListItems/ProductFilterTypes.graphql +8 -0
- package/components/ProductListItems/ProductListItemsBase.tsx +71 -30
- package/components/ProductListItems/filterTypes.tsx +14 -7
- package/components/ProductListItems/filteredProductList.tsx +44 -17
- package/components/ProductListItems/getFilterTypes.ts +33 -4
- package/components/ProductListItems/productListApplyCategoryDefaults.ts +50 -4
- package/components/ProductListItems/renderer.tsx +8 -2
- package/components/ProductListPagination/ProductListPagination.tsx +39 -20
- package/components/ProductListPrice/ProductListPrice.tsx +9 -4
- package/components/ProductListSuggestions/ProductListSuggestions.graphql +5 -0
- package/components/ProductListSuggestions/ProductListSuggestions.tsx +42 -0
- package/components/ProductPageBreadcrumb/ProductPageBreadcrumb.graphql +3 -0
- package/components/ProductPageBreadcrumb/ProductPageBreadcrumb.tsx +3 -0
- package/components/ProductPageBreadcrumb/ProductPageBreadcrumbs.tsx +40 -0
- package/components/ProductPageBreadcrumb/index.ts +1 -0
- package/components/ProductPageDescription/ComplexTextValue.graphql +1 -1
- package/components/ProductPageDescription/ProductPageDescription.tsx +1 -1
- package/components/ProductPageGallery/ProductImage.graphql +1 -0
- package/components/ProductPageGallery/ProductPageGallery.tsx +14 -8
- package/components/ProductPagePrice/ProductPagePrice.graphql +0 -6
- package/components/ProductPagePrice/ProductPagePrice.tsx +19 -12
- package/components/ProductPagePrice/ProductPagePriceTiers.tsx +4 -3
- package/components/ProductPagePrice/useCustomizableOptionPrice.ts +11 -53
- package/components/ProductShortDescription/ProductShortDescription.tsx +2 -0
- package/components/ProductSpecs/ProductSpecs.graphql +21 -1
- package/components/ProductSpecs/ProductSpecs.tsx +5 -11
- package/components/ProductSpecs/ProductSpecsAggregations.tsx +34 -0
- package/components/ProductSpecs/ProductSpecsCustomAttributes.tsx +45 -0
- package/components/ProductSpecs/ProductSpecsTypes.graphql +8 -0
- package/components/ProductStaticPaths/getProductStaticPaths.ts +1 -1
- package/components/ProductWeight/ProductWeight.tsx +12 -9
- package/components/index.ts +2 -0
- package/hooks/useProductList.ts +148 -0
- package/hooks/useProductListLink.ts +6 -3
- package/index.ts +1 -0
- package/package.json +14 -14
@@ -1,4 +1,4 @@
|
|
1
|
-
fragment ProductListItem on ProductInterface
|
1
|
+
fragment ProductListItem on ProductInterface {
|
2
2
|
uid
|
3
3
|
...ProductLink
|
4
4
|
sku
|
@@ -11,5 +11,4 @@ fragment ProductListItem on ProductInterface @injectable {
|
|
11
11
|
...ProductListPrice
|
12
12
|
}
|
13
13
|
}
|
14
|
-
...ConfigurableOptions
|
15
14
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,235 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 9.0.0-canary.100
|
4
|
+
|
5
|
+
## 9.0.0-canary.99
|
6
|
+
|
7
|
+
## 9.0.0-canary.98
|
8
|
+
|
9
|
+
## 9.0.0-canary.97
|
10
|
+
|
11
|
+
## 9.0.0-canary.96
|
12
|
+
|
13
|
+
## 9.0.0-canary.95
|
14
|
+
|
15
|
+
## 9.0.0-canary.94
|
16
|
+
|
17
|
+
## 9.0.0-canary.93
|
18
|
+
|
19
|
+
## 9.0.0-canary.92
|
20
|
+
|
21
|
+
## 9.0.0-canary.91
|
22
|
+
|
23
|
+
### Patch Changes
|
24
|
+
|
25
|
+
- [#2367](https://github.com/graphcommerce-org/graphcommerce/pull/2367) [`71d412d`](https://github.com/graphcommerce-org/graphcommerce/commit/71d412d202bc94a0e676745547de5d809a7a850b) - When a user access a category page which is beyond the available total_pages, the user will be redirected to the last available page. ([@paales](https://github.com/paales))
|
26
|
+
|
27
|
+
## 9.0.0-canary.90
|
28
|
+
|
29
|
+
## 9.0.0-canary.89
|
30
|
+
|
31
|
+
## 9.0.0-canary.88
|
32
|
+
|
33
|
+
## 9.0.0-canary.87
|
34
|
+
|
35
|
+
## 9.0.0-canary.86
|
36
|
+
|
37
|
+
### Patch Changes
|
38
|
+
|
39
|
+
- [#2379](https://github.com/graphcommerce-org/graphcommerce/pull/2379) [`959e0dd`](https://github.com/graphcommerce-org/graphcommerce/commit/959e0dd81a7943648250be6a2bf8f1bc27be8a3b) - Render multiple items in the RowSpecs table as a list ([@paales](https://github.com/paales))
|
40
|
+
|
41
|
+
## 9.0.0-canary.85
|
42
|
+
|
43
|
+
### Patch Changes
|
44
|
+
|
45
|
+
- [#2378](https://github.com/graphcommerce-org/graphcommerce/pull/2378) [`c8237dc`](https://github.com/graphcommerce-org/graphcommerce/commit/c8237dc8f496a0ffddcf8fd4fc697941e257ed00) - Fixed the products sitemap not containing more than 100 products when limit SSG is enabled ([@rustmaestro](https://github.com/rustmaestro))
|
46
|
+
|
47
|
+
## 9.0.0-canary.84
|
48
|
+
|
49
|
+
## 9.0.0-canary.83
|
50
|
+
|
51
|
+
## 9.0.0-canary.82
|
52
|
+
|
53
|
+
## 9.0.0-canary.81
|
54
|
+
|
55
|
+
## 9.0.0-canary.80
|
56
|
+
|
57
|
+
### Minor Changes
|
58
|
+
|
59
|
+
- [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`1d6512d`](https://github.com/graphcommerce-org/graphcommerce/commit/1d6512d4118cfb46602aa1f2432c3566fdb3261d) - Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
60
|
+
|
61
|
+
## 9.0.0-canary.79
|
62
|
+
|
63
|
+
## 9.0.0-canary.78
|
64
|
+
|
65
|
+
## 9.0.0-canary.77
|
66
|
+
|
67
|
+
## 9.0.0-canary.76
|
68
|
+
|
69
|
+
## 9.0.0-canary.75
|
70
|
+
|
71
|
+
## 9.0.0-canary.74
|
72
|
+
|
73
|
+
## 9.0.0-canary.73
|
74
|
+
|
75
|
+
## 9.0.0-canary.72
|
76
|
+
|
77
|
+
### Minor Changes
|
78
|
+
|
79
|
+
- [#2332](https://github.com/graphcommerce-org/graphcommerce/pull/2332) [`73e897a`](https://github.com/graphcommerce-org/graphcommerce/commit/73e897a5a5f266d9ec274807720c71eb1a639074) - Use custom_attributesV2 for product specs when running on magento 247 or higher ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
80
|
+
|
81
|
+
## 9.0.0-canary.71
|
82
|
+
|
83
|
+
## 9.0.0-canary.70
|
84
|
+
|
85
|
+
## 9.0.0-canary.69
|
86
|
+
|
87
|
+
## 9.0.0-canary.68
|
88
|
+
|
89
|
+
## 9.0.0-canary.67
|
90
|
+
|
91
|
+
## 9.0.0-canary.66
|
92
|
+
|
93
|
+
## 9.0.0-canary.65
|
94
|
+
|
95
|
+
## 9.0.0-canary.64
|
96
|
+
|
97
|
+
## 9.0.0-canary.63
|
98
|
+
|
99
|
+
## 9.0.0-canary.62
|
100
|
+
|
101
|
+
## 9.0.0-canary.61
|
102
|
+
|
103
|
+
### Minor Changes
|
104
|
+
|
105
|
+
- [#2327](https://github.com/graphcommerce-org/graphcommerce/pull/2327) [`0935c33`](https://github.com/graphcommerce-org/graphcommerce/commit/0935c33ad08c963b2a406c92739590ac6acce7d2) - Move render logic from AddProductsToCartSnackbar to AddProductsToCartSnackbarMessage so this can be reused outside of AddProductsToCartForm ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
106
|
+
|
107
|
+
## 9.0.0-canary.60
|
108
|
+
|
109
|
+
## 9.0.0-canary.59
|
110
|
+
|
111
|
+
### Patch Changes
|
112
|
+
|
113
|
+
- [#2309](https://github.com/graphcommerce-org/graphcommerce/pull/2309) [`1fe4090`](https://github.com/graphcommerce-org/graphcommerce/commit/1fe409029671b841e582406251e45a9555fc78f9) - Hide SortChip or SortSection when there is only a single filter option. ([@Renzovh](https://github.com/Renzovh))
|
114
|
+
|
115
|
+
## 9.0.0-canary.58
|
116
|
+
|
117
|
+
### Patch Changes
|
118
|
+
|
119
|
+
- [#2328](https://github.com/graphcommerce-org/graphcommerce/pull/2328) [`ee04368`](https://github.com/graphcommerce-org/graphcommerce/commit/ee04368444f732e5541a595db6e2ef66d15add68) - Move to attributesList to get a list of filterable attributes instead of using an introspection query. `productFiltersProSectionRenderer` and `productFiltersProChipRenderer` keys now now one of `AttributeFrontendInputEnum`. ([@paales](https://github.com/paales))
|
120
|
+
|
121
|
+
## 9.0.0-canary.57
|
122
|
+
|
123
|
+
## 9.0.0-canary.56
|
124
|
+
|
125
|
+
## 9.0.0-canary.55
|
126
|
+
|
127
|
+
## 9.0.0-canary.54
|
128
|
+
|
129
|
+
## 8.1.0-canary.53
|
130
|
+
|
131
|
+
## 8.1.0-canary.52
|
132
|
+
|
133
|
+
## 8.1.0-canary.51
|
134
|
+
|
135
|
+
### Minor Changes
|
136
|
+
|
137
|
+
- [#2322](https://github.com/graphcommerce-org/graphcommerce/pull/2322) [`4d08a2b`](https://github.com/graphcommerce-org/graphcommerce/commit/4d08a2bd8c1919bd85b18e8e856775d18fb67e00) - Rename configurable_customizable back to customizable_options ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
138
|
+
|
139
|
+
## 8.1.0-canary.50
|
140
|
+
|
141
|
+
## 8.1.0-canary.49
|
142
|
+
|
143
|
+
## 8.1.0-canary.48
|
144
|
+
|
145
|
+
## 8.1.0-canary.47
|
146
|
+
|
147
|
+
## 8.1.0-canary.46
|
148
|
+
|
149
|
+
## 8.1.0-canary.45
|
150
|
+
|
151
|
+
## 8.1.0-canary.44
|
152
|
+
|
153
|
+
## 8.1.0-canary.43
|
154
|
+
|
155
|
+
## 8.1.0-canary.42
|
156
|
+
|
157
|
+
## 8.1.0-canary.41
|
158
|
+
|
159
|
+
### Patch Changes
|
160
|
+
|
161
|
+
- [#2242](https://github.com/graphcommerce-org/graphcommerce/pull/2242) [`a4cce76`](https://github.com/graphcommerce-org/graphcommerce/commit/a4cce76ca37af2bec604e953ada4bb11bd91f55d) - Add option to show an extended version of the pagination component. Configurable via the "productListPaginationVariant" key in your graphcommerce.config.js COMPACT means: "< Page X of Y >" EXTENDED means: "< 1 2 ... [5] ... 10 11 >" ([@FrankHarland](https://github.com/FrankHarland))
|
162
|
+
|
163
|
+
## 8.1.0-canary.40
|
164
|
+
|
165
|
+
## 8.1.0-canary.39
|
166
|
+
|
167
|
+
## 8.1.0-canary.38
|
168
|
+
|
169
|
+
## 8.1.0-canary.37
|
170
|
+
|
171
|
+
## 8.1.0-canary.36
|
172
|
+
|
173
|
+
## 8.1.0-canary.35
|
174
|
+
|
175
|
+
## 8.1.0-canary.34
|
176
|
+
|
177
|
+
## 8.1.0-canary.33
|
178
|
+
|
179
|
+
## 8.1.0-canary.32
|
180
|
+
|
181
|
+
## 8.1.0-canary.31
|
182
|
+
|
183
|
+
## 8.1.0-canary.30
|
184
|
+
|
185
|
+
## 8.1.0-canary.29
|
186
|
+
|
187
|
+
## 8.1.0-canary.28
|
188
|
+
|
189
|
+
## 8.1.0-canary.27
|
190
|
+
|
191
|
+
### Minor Changes
|
192
|
+
|
193
|
+
- [#2273](https://github.com/graphcommerce-org/graphcommerce/pull/2273) [`77955c5`](https://github.com/graphcommerce-org/graphcommerce/commit/77955c56ac8633ab1c5e0f3ddb25e3a87236e2bb) - Improve Breadcrumbs on Category and Product pages ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
194
|
+
|
195
|
+
## 8.1.0-canary.26
|
196
|
+
|
197
|
+
## 8.1.0-canary.25
|
198
|
+
|
199
|
+
## 8.1.0-canary.24
|
200
|
+
|
201
|
+
## 8.1.0-canary.23
|
202
|
+
|
203
|
+
## 8.1.0-canary.22
|
204
|
+
|
205
|
+
## 8.1.0-canary.21
|
206
|
+
|
207
|
+
## 8.1.0-canary.20
|
208
|
+
|
209
|
+
## 8.1.0-canary.19
|
210
|
+
|
211
|
+
## 8.1.0-canary.18
|
212
|
+
|
213
|
+
## 8.1.0-canary.17
|
214
|
+
|
215
|
+
## 8.1.0-canary.16
|
216
|
+
|
217
|
+
## 8.1.0-canary.15
|
218
|
+
|
219
|
+
## 8.1.0-canary.14
|
220
|
+
|
221
|
+
## 8.1.0-canary.13
|
222
|
+
|
223
|
+
## 8.1.0-canary.12
|
224
|
+
|
225
|
+
## 8.1.0-canary.11
|
226
|
+
|
227
|
+
### Patch Changes
|
228
|
+
|
229
|
+
- [#2255](https://github.com/graphcommerce-org/graphcommerce/pull/2255) [`679d07d`](https://github.com/graphcommerce-org/graphcommerce/commit/679d07dad5b5e2dab3c0f3d537716b6115af8ef7) - make the ProductPageMeta fragment injectable ([@carlocarels90](https://github.com/carlocarels90))
|
230
|
+
|
231
|
+
## 8.1.0-canary.10
|
232
|
+
|
3
233
|
## 8.1.0-canary.9
|
4
234
|
|
5
235
|
## 8.1.0-canary.8
|
@@ -12,15 +242,13 @@
|
|
12
242
|
|
13
243
|
### Patch Changes
|
14
244
|
|
15
|
-
- [#2224](https://github.com/graphcommerce-org/graphcommerce/pull/2224) [`4dd2d01`](https://github.com/graphcommerce-org/graphcommerce/commit/4dd2d01b3e14e3107ee3e337bef2a8528d654e75) - When applying a filter it would not always scroll to the #products.
|
16
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
245
|
+
- [#2224](https://github.com/graphcommerce-org/graphcommerce/pull/2224) [`4dd2d01`](https://github.com/graphcommerce-org/graphcommerce/commit/4dd2d01b3e14e3107ee3e337bef2a8528d654e75) - When applying a filter it would not always scroll to the #products. ([@FrankHarland](https://github.com/FrankHarland))
|
17
246
|
|
18
247
|
## 8.0.6-canary.4
|
19
248
|
|
20
249
|
### Patch Changes
|
21
250
|
|
22
|
-
- [#2227](https://github.com/graphcommerce-org/graphcommerce/pull/2227) [`d597719`](https://github.com/graphcommerce-org/graphcommerce/commit/d597719baaabbe079660ac063fd021d871831511) - Added option to change sort order (ASC / DESC) for sort options (Name, price, position etc) on catalog and search pages.
|
23
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
251
|
+
- [#2227](https://github.com/graphcommerce-org/graphcommerce/pull/2227) [`d597719`](https://github.com/graphcommerce-org/graphcommerce/commit/d597719baaabbe079660ac063fd021d871831511) - Added option to change sort order (ASC / DESC) for sort options (Name, price, position etc) on catalog and search pages. ([@FrankHarland](https://github.com/FrankHarland))
|
24
252
|
|
25
253
|
## 8.0.6-canary.3
|
26
254
|
|
@@ -28,11 +256,9 @@
|
|
28
256
|
|
29
257
|
### Patch Changes
|
30
258
|
|
31
|
-
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`0767bc4`](https://github.com/graphcommerce-org/graphcommerce/commit/0767bc40f7b596209f24ca4e745ff0441f3275c9) - Upgrade input components to no longer use muiRegister, which improves INP scores
|
32
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
259
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`0767bc4`](https://github.com/graphcommerce-org/graphcommerce/commit/0767bc40f7b596209f24ca4e745ff0441f3275c9) - Upgrade input components to no longer use muiRegister, which improves INP scores ([@FrankHarland](https://github.com/FrankHarland))
|
33
260
|
|
34
|
-
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Prevent BillingPage query from rerunning on each mutation
|
35
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
261
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Prevent BillingPage query from rerunning on each mutation ([@FrankHarland](https://github.com/FrankHarland))
|
36
262
|
|
37
263
|
## 8.0.6-canary.1
|
38
264
|
|
@@ -40,15 +266,13 @@
|
|
40
266
|
|
41
267
|
### Patch Changes
|
42
268
|
|
43
|
-
- [#2196](https://github.com/graphcommerce-org/graphcommerce/pull/2196) [`84c50e4`](https://github.com/graphcommerce-org/graphcommerce/commit/84c50e49a1a7f154d4a8f4045c37e773e20283ad) - Allow Lingui to use linguiLocale with country identifiers like `en-us`, it would always load `en` in this case. Introced a new `useLocale` hook to use the correct locale string to use in Intl methods.
|
44
|
-
([@paales](https://github.com/paales))
|
269
|
+
- [#2196](https://github.com/graphcommerce-org/graphcommerce/pull/2196) [`84c50e4`](https://github.com/graphcommerce-org/graphcommerce/commit/84c50e49a1a7f154d4a8f4045c37e773e20283ad) - Allow Lingui to use linguiLocale with country identifiers like `en-us`, it would always load `en` in this case. Introced a new `useLocale` hook to use the correct locale string to use in Intl methods. ([@paales](https://github.com/paales))
|
45
270
|
|
46
271
|
## 8.0.5
|
47
272
|
|
48
273
|
### Patch Changes
|
49
274
|
|
50
|
-
- [#2239](https://github.com/graphcommerce-org/graphcommerce/pull/2239) [`a2a6e78`](https://github.com/graphcommerce-org/graphcommerce/commit/a2a6e78291ab978f4ef1236a4476b4d54555af7f) - Prices of products are now updated when customizable options are selected
|
51
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
275
|
+
- [#2239](https://github.com/graphcommerce-org/graphcommerce/pull/2239) [`a2a6e78`](https://github.com/graphcommerce-org/graphcommerce/commit/a2a6e78291ab978f4ef1236a4476b4d54555af7f) - Prices of products are now updated when customizable options are selected ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
52
276
|
|
53
277
|
## 8.0.5-canary.10
|
54
278
|
|
@@ -58,8 +282,7 @@
|
|
58
282
|
|
59
283
|
### Patch Changes
|
60
284
|
|
61
|
-
- [#2239](https://github.com/graphcommerce-org/graphcommerce/pull/2239) [`a2a6e78`](https://github.com/graphcommerce-org/graphcommerce/commit/a2a6e78291ab978f4ef1236a4476b4d54555af7f) - Prices of products are now updated when customizable options are selected
|
62
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
285
|
+
- [#2239](https://github.com/graphcommerce-org/graphcommerce/pull/2239) [`a2a6e78`](https://github.com/graphcommerce-org/graphcommerce/commit/a2a6e78291ab978f4ef1236a4476b4d54555af7f) - Prices of products are now updated when customizable options are selected ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
63
286
|
|
64
287
|
## 8.0.5-canary.7
|
65
288
|
|
@@ -87,15 +310,13 @@
|
|
87
310
|
|
88
311
|
### Patch Changes
|
89
312
|
|
90
|
-
- [#2217](https://github.com/graphcommerce-org/graphcommerce/pull/2217) [`2b750da`](https://github.com/graphcommerce-org/graphcommerce/commit/2b750da77723d37485da01df05f52d19b80cc90c) - fix for breadcrumbs on pdp when no category attached to product
|
91
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
313
|
+
- [#2217](https://github.com/graphcommerce-org/graphcommerce/pull/2217) [`2b750da`](https://github.com/graphcommerce-org/graphcommerce/commit/2b750da77723d37485da01df05f52d19b80cc90c) - fix for breadcrumbs on pdp when no category attached to product ([@JoshuaS98](https://github.com/JoshuaS98))
|
92
314
|
|
93
315
|
## 8.0.3-canary.6
|
94
316
|
|
95
317
|
### Patch Changes
|
96
318
|
|
97
|
-
- [#2217](https://github.com/graphcommerce-org/graphcommerce/pull/2217) [`2b750da`](https://github.com/graphcommerce-org/graphcommerce/commit/2b750da77723d37485da01df05f52d19b80cc90c) - fix for breadcrumbs on pdp when no category attached to product
|
98
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
319
|
+
- [#2217](https://github.com/graphcommerce-org/graphcommerce/pull/2217) [`2b750da`](https://github.com/graphcommerce-org/graphcommerce/commit/2b750da77723d37485da01df05f52d19b80cc90c) - fix for breadcrumbs on pdp when no category attached to product ([@JoshuaS98](https://github.com/JoshuaS98))
|
99
320
|
|
100
321
|
## 8.0.3-canary.5
|
101
322
|
|
@@ -113,15 +334,13 @@
|
|
113
334
|
|
114
335
|
### Patch Changes
|
115
336
|
|
116
|
-
- [#2201](https://github.com/graphcommerce-org/graphcommerce/pull/2201) [`e16fea4`](https://github.com/graphcommerce-org/graphcommerce/commit/e16fea4b0ff9661fd15a32089fbfc0c6a1c903fe) - Fix issue where patches would not be applied correctly on the AddProductsAddToCartForm
|
117
|
-
([@paales](https://github.com/paales))
|
337
|
+
- [#2201](https://github.com/graphcommerce-org/graphcommerce/pull/2201) [`e16fea4`](https://github.com/graphcommerce-org/graphcommerce/commit/e16fea4b0ff9661fd15a32089fbfc0c6a1c903fe) - Fix issue where patches would not be applied correctly on the AddProductsAddToCartForm ([@paales](https://github.com/paales))
|
118
338
|
|
119
339
|
## 8.0.2-canary.3
|
120
340
|
|
121
341
|
### Patch Changes
|
122
342
|
|
123
|
-
- [#2201](https://github.com/graphcommerce-org/graphcommerce/pull/2201) [`e16fea4`](https://github.com/graphcommerce-org/graphcommerce/commit/e16fea4b0ff9661fd15a32089fbfc0c6a1c903fe) - Fix issue where patches would not be applied correctly on the AddProductsAddToCartForm
|
124
|
-
([@paales](https://github.com/paales))
|
343
|
+
- [#2201](https://github.com/graphcommerce-org/graphcommerce/pull/2201) [`e16fea4`](https://github.com/graphcommerce-org/graphcommerce/commit/e16fea4b0ff9661fd15a32089fbfc0c6a1c903fe) - Fix issue where patches would not be applied correctly on the AddProductsAddToCartForm ([@paales](https://github.com/paales))
|
125
344
|
|
126
345
|
## 8.0.2-canary.2
|
127
346
|
|
@@ -145,60 +364,43 @@
|
|
145
364
|
|
146
365
|
### Major Changes
|
147
366
|
|
148
|
-
- [#2041](https://github.com/graphcommerce-org/graphcommerce/pull/2041) [`bc3a833`](https://github.com/graphcommerce-org/graphcommerce/commit/bc3a8339b0b0f15b4d5cb014d4f95e6ea28c2cfe) - Removed the `legacyProductRoute` configuration option from GraphCommerce
|
149
|
-
([@paales](https://github.com/paales))
|
367
|
+
- [#2041](https://github.com/graphcommerce-org/graphcommerce/pull/2041) [`bc3a833`](https://github.com/graphcommerce-org/graphcommerce/commit/bc3a8339b0b0f15b4d5cb014d4f95e6ea28c2cfe) - Removed the `legacyProductRoute` configuration option from GraphCommerce ([@paales](https://github.com/paales))
|
150
368
|
|
151
369
|
### Minor Changes
|
152
370
|
|
153
|
-
- [#2133](https://github.com/graphcommerce-org/graphcommerce/pull/2133) [`133f908`](https://github.com/graphcommerce-org/graphcommerce/commit/133f908200a79589036420f2925835724522cab8) - Added new `<LazyHydrate/>` component to improve the Total Blocking Time and implemented them in, `<RowRenderer/>`, `<ProductListItemBase/>`, `<Footer/>` and for the `<NavigationProvider/>`. Reduced the TBT by 50% on the homepage and other pages.
|
154
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
371
|
+
- [#2133](https://github.com/graphcommerce-org/graphcommerce/pull/2133) [`133f908`](https://github.com/graphcommerce-org/graphcommerce/commit/133f908200a79589036420f2925835724522cab8) - Added new `<LazyHydrate/>` component to improve the Total Blocking Time and implemented them in, `<RowRenderer/>`, `<ProductListItemBase/>`, `<Footer/>` and for the `<NavigationProvider/>`. Reduced the TBT by 50% on the homepage and other pages. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
155
372
|
|
156
|
-
- [#2099](https://github.com/graphcommerce-org/graphcommerce/pull/2099) [`ff796b8`](https://github.com/graphcommerce-org/graphcommerce/commit/ff796b838fae6cb5e35b101500133b0235a8677d) - Support for all customizable product options (except file upload) on the product pages and in the cart.
|
157
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
373
|
+
- [#2099](https://github.com/graphcommerce-org/graphcommerce/pull/2099) [`ff796b8`](https://github.com/graphcommerce-org/graphcommerce/commit/ff796b838fae6cb5e35b101500133b0235a8677d) - Support for all customizable product options (except file upload) on the product pages and in the cart. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
158
374
|
|
159
|
-
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`13e23e4`](https://github.com/graphcommerce-org/graphcommerce/commit/13e23e4265bac70fb4d0830e4661019e71ce299f) - Wishlist will now support configurable products and uses the `<ActionCardLayout/>`
|
160
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
375
|
+
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`13e23e4`](https://github.com/graphcommerce-org/graphcommerce/commit/13e23e4265bac70fb4d0830e4661019e71ce299f) - Wishlist will now support configurable products and uses the `<ActionCardLayout/>` ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
161
376
|
|
162
377
|
### Patch Changes
|
163
378
|
|
164
|
-
- [#2083](https://github.com/graphcommerce-org/graphcommerce/pull/2083) [`ca493c7`](https://github.com/graphcommerce-org/graphcommerce/commit/ca493c7b208b8526c1109695d54bad7b2956a8bd) - Filters which are not yet applied and all options have 0 results, will not be shown anymore.
|
165
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
379
|
+
- [#2083](https://github.com/graphcommerce-org/graphcommerce/pull/2083) [`ca493c7`](https://github.com/graphcommerce-org/graphcommerce/commit/ca493c7b208b8526c1109695d54bad7b2956a8bd) - Filters which are not yet applied and all options have 0 results, will not be shown anymore. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
166
380
|
|
167
|
-
- [#2160](https://github.com/graphcommerce-org/graphcommerce/pull/2160) [`89b58be`](https://github.com/graphcommerce-org/graphcommerce/commit/89b58be9812e1e515b6996b2f5ce67ab8a596980) - The ProductFilters and ProductList queries would only run after the hygraphPageContent query would be resolved, although they don't depend on each other, now they run in parallel.
|
168
|
-
([@paales](https://github.com/paales))
|
381
|
+
- [#2160](https://github.com/graphcommerce-org/graphcommerce/pull/2160) [`89b58be`](https://github.com/graphcommerce-org/graphcommerce/commit/89b58be9812e1e515b6996b2f5ce67ab8a596980) - The ProductFilters and ProductList queries would only run after the hygraphPageContent query would be resolved, although they don't depend on each other, now they run in parallel. ([@paales](https://github.com/paales))
|
169
382
|
|
170
|
-
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`8d4f1ef`](https://github.com/graphcommerce-org/graphcommerce/commit/8d4f1ef00bd7a8b8ca3be46302ce3959eae33a23) - When a product has a discount price, render that on the product page
|
171
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
383
|
+
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`8d4f1ef`](https://github.com/graphcommerce-org/graphcommerce/commit/8d4f1ef00bd7a8b8ca3be46302ce3959eae33a23) - When a product has a discount price, render that on the product page ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
172
384
|
|
173
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - Accessibility improvements for the frontend: Added skip content link. Removed empty buttons from tab flow. Gave focus to elements (such as the menu) that appear when after clicking a button. Improved aria labels where needed
|
174
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
385
|
+
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - Accessibility improvements for the frontend: Added skip content link. Removed empty buttons from tab flow. Gave focus to elements (such as the menu) that appear when after clicking a button. Improved aria labels where needed ([@FrankHarland](https://github.com/FrankHarland))
|
175
386
|
|
176
|
-
- [#2058](https://github.com/graphcommerce-org/graphcommerce/pull/2058) [`16dc488`](https://github.com/graphcommerce-org/graphcommerce/commit/16dc4889543106238b1a87694e75586e4c1a787c) - Provide instant feedback on availble attribute options when making a selection on a configurable product
|
177
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
387
|
+
- [#2058](https://github.com/graphcommerce-org/graphcommerce/pull/2058) [`16dc488`](https://github.com/graphcommerce-org/graphcommerce/commit/16dc4889543106238b1a87694e75586e4c1a787c) - Provide instant feedback on availble attribute options when making a selection on a configurable product ([@FrankHarland](https://github.com/FrankHarland))
|
178
388
|
|
179
|
-
- [#2164](https://github.com/graphcommerce-org/graphcommerce/pull/2164) [`5224755`](https://github.com/graphcommerce-org/graphcommerce/commit/522475503fd40e4718fd4d7d33f8164c01588c0c) - The filter bar would completely disappear when there were no items returned.
|
180
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
389
|
+
- [#2164](https://github.com/graphcommerce-org/graphcommerce/pull/2164) [`5224755`](https://github.com/graphcommerce-org/graphcommerce/commit/522475503fd40e4718fd4d7d33f8164c01588c0c) - The filter bar would completely disappear when there were no items returned. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
181
390
|
|
182
|
-
- [#2150](https://github.com/graphcommerce-org/graphcommerce/pull/2150) [`59844cd`](https://github.com/graphcommerce-org/graphcommerce/commit/59844cdd8adfaf03d22b04b9082552e22f386fb6) - Solved an issue where the same product could not be added multiple times to the cart without reloading the page.
|
183
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
391
|
+
- [#2150](https://github.com/graphcommerce-org/graphcommerce/pull/2150) [`59844cd`](https://github.com/graphcommerce-org/graphcommerce/commit/59844cdd8adfaf03d22b04b9082552e22f386fb6) - Solved an issue where the same product could not be added multiple times to the cart without reloading the page. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
184
392
|
|
185
|
-
- [#2077](https://github.com/graphcommerce-org/graphcommerce/pull/2077) [`0d2cb22`](https://github.com/graphcommerce-org/graphcommerce/commit/0d2cb22a58451d40102981263209aacb93016c76) - Removed unwanted space below <ProductListItem/> images caused by line-height. Images are now perfectly square as expected.
|
186
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
393
|
+
- [#2077](https://github.com/graphcommerce-org/graphcommerce/pull/2077) [`0d2cb22`](https://github.com/graphcommerce-org/graphcommerce/commit/0d2cb22a58451d40102981263209aacb93016c76) - Removed unwanted space below <ProductListItem/> images caused by line-height. Images are now perfectly square as expected. ([@bramvanderholst](https://github.com/bramvanderholst))
|
187
394
|
|
188
|
-
- [#2160](https://github.com/graphcommerce-org/graphcommerce/pull/2160) [`154cd12`](https://github.com/graphcommerce-org/graphcommerce/commit/154cd12438f6cb30638e37b9a76a0649992b90f4) - The name of the product in the `<ProductListItem/>` would break words in the middle of a word instead of using a normal word break.
|
189
|
-
([@paales](https://github.com/paales))
|
395
|
+
- [#2160](https://github.com/graphcommerce-org/graphcommerce/pull/2160) [`154cd12`](https://github.com/graphcommerce-org/graphcommerce/commit/154cd12438f6cb30638e37b9a76a0649992b90f4) - The name of the product in the `<ProductListItem/>` would break words in the middle of a word instead of using a normal word break. ([@paales](https://github.com/paales))
|
190
396
|
|
191
|
-
- [#2007](https://github.com/graphcommerce-org/graphcommerce/pull/2007) [`f59c276`](https://github.com/graphcommerce-org/graphcommerce/commit/f59c276605f9ed649d1197a9ba0e3f12d7c6d026) - Crosssell behavior now properly shows for the latest added product. Added latest submitted variables to be retrieved when using the useFormGql hook.
|
192
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
397
|
+
- [#2007](https://github.com/graphcommerce-org/graphcommerce/pull/2007) [`f59c276`](https://github.com/graphcommerce-org/graphcommerce/commit/f59c276605f9ed649d1197a9ba0e3f12d7c6d026) - Crosssell behavior now properly shows for the latest added product. Added latest submitted variables to be retrieved when using the useFormGql hook. ([@JoshuaS98](https://github.com/JoshuaS98))
|
193
398
|
|
194
|
-
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`0335dd9`](https://github.com/graphcommerce-org/graphcommerce/commit/0335dd9417b8fe1c4f1009dad354b9edab892b9f) - The product page will now also load all information that a ProductListItem will load
|
195
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
399
|
+
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`0335dd9`](https://github.com/graphcommerce-org/graphcommerce/commit/0335dd9417b8fe1c4f1009dad354b9edab892b9f) - The product page will now also load all information that a ProductListItem will load ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
196
400
|
|
197
|
-
- [#2076](https://github.com/graphcommerce-org/graphcommerce/pull/2076) [`f860e68`](https://github.com/graphcommerce-org/graphcommerce/commit/f860e68603526a15dcf2567f4ca57230423ef5c3) - Forward the maxWidth prop to the `<ColumnTwoWithTop />` component from the `<ProductPageDescription maxWidth='lg'/>` component.
|
198
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
401
|
+
- [#2076](https://github.com/graphcommerce-org/graphcommerce/pull/2076) [`f860e68`](https://github.com/graphcommerce-org/graphcommerce/commit/f860e68603526a15dcf2567f4ca57230423ef5c3) - Forward the maxWidth prop to the `<ColumnTwoWithTop />` component from the `<ProductPageDescription maxWidth='lg'/>` component. ([@StefanAngenent](https://github.com/StefanAngenent))
|
199
402
|
|
200
|
-
- [#2077](https://github.com/graphcommerce-org/graphcommerce/pull/2077) [`5f4455b`](https://github.com/graphcommerce-org/graphcommerce/commit/5f4455b1cccddf1501f0279e5ca2d9277a07ff07) - New `<ProductListItemSkeleton />` component and added support to the productListRenderer. Used for the new Recently Viewed Products feature.
|
201
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
403
|
+
- [#2077](https://github.com/graphcommerce-org/graphcommerce/pull/2077) [`5f4455b`](https://github.com/graphcommerce-org/graphcommerce/commit/5f4455b1cccddf1501f0279e5ca2d9277a07ff07) - New `<ProductListItemSkeleton />` component and added support to the productListRenderer. Used for the new Recently Viewed Products feature. ([@bramvanderholst](https://github.com/bramvanderholst))
|
202
404
|
|
203
405
|
## 8.0.0-canary.100
|
204
406
|
|
@@ -230,8 +432,7 @@
|
|
230
432
|
|
231
433
|
### Patch Changes
|
232
434
|
|
233
|
-
- [#2168](https://github.com/graphcommerce-org/graphcommerce/pull/2168) [`986dc96`](https://github.com/graphcommerce-org/graphcommerce/commit/986dc96e6e88b58471dfcccf952d99bbb8a81884) - Added schema-dts as a dependency, so it isn't required in the example
|
234
|
-
([@paales](https://github.com/paales))
|
435
|
+
- [#2168](https://github.com/graphcommerce-org/graphcommerce/pull/2168) [`986dc96`](https://github.com/graphcommerce-org/graphcommerce/commit/986dc96e6e88b58471dfcccf952d99bbb8a81884) - Added schema-dts as a dependency, so it isn't required in the example ([@paales](https://github.com/paales))
|
235
436
|
|
236
437
|
## 8.0.0-canary.86
|
237
438
|
|
@@ -243,15 +444,13 @@
|
|
243
444
|
|
244
445
|
### Patch Changes
|
245
446
|
|
246
|
-
- [#2164](https://github.com/graphcommerce-org/graphcommerce/pull/2164) [`5224755`](https://github.com/graphcommerce-org/graphcommerce/commit/522475503fd40e4718fd4d7d33f8164c01588c0c) - Fixed filters dissapearing when no items are found with applied filters
|
247
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
447
|
+
- [#2164](https://github.com/graphcommerce-org/graphcommerce/pull/2164) [`5224755`](https://github.com/graphcommerce-org/graphcommerce/commit/522475503fd40e4718fd4d7d33f8164c01588c0c) - Fixed filters dissapearing when no items are found with applied filters ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
248
448
|
|
249
449
|
## 8.0.0-canary.82
|
250
450
|
|
251
451
|
### Patch Changes
|
252
452
|
|
253
|
-
- [#2150](https://github.com/graphcommerce-org/graphcommerce/pull/2150) [`59844cd`](https://github.com/graphcommerce-org/graphcommerce/commit/59844cdd8adfaf03d22b04b9082552e22f386fb6) - Fixed a bug which caused the default values of the productAddToCartForm to be overwritten if the selected configurable option of a product contained a visible simple product. Before the fix you could not add the same product twice without reloading the page.
|
254
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
453
|
+
- [#2150](https://github.com/graphcommerce-org/graphcommerce/pull/2150) [`59844cd`](https://github.com/graphcommerce-org/graphcommerce/commit/59844cdd8adfaf03d22b04b9082552e22f386fb6) - Fixed a bug which caused the default values of the productAddToCartForm to be overwritten if the selected configurable option of a product contained a visible simple product. Before the fix you could not add the same product twice without reloading the page. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
255
454
|
|
256
455
|
## 8.0.0-canary.81
|
257
456
|
|
@@ -265,8 +464,7 @@
|
|
265
464
|
|
266
465
|
### Patch Changes
|
267
466
|
|
268
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info)
|
269
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
467
|
+
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info) ([@FrankHarland](https://github.com/FrankHarland))
|
270
468
|
|
271
469
|
## 8.0.0-canary.76
|
272
470
|
|
@@ -274,18 +472,15 @@
|
|
274
472
|
|
275
473
|
### Patch Changes
|
276
474
|
|
277
|
-
- [#2160](https://github.com/graphcommerce-org/graphcommerce/pull/2160) [`89b58be`](https://github.com/graphcommerce-org/graphcommerce/commit/89b58be9812e1e515b6996b2f5ce67ab8a596980) - The ProductFilters and ProductList queries would only run after the hygraphPageContent query would be resolved, although they don't depend on each other, now they run in parallel.
|
278
|
-
([@paales](https://github.com/paales))
|
475
|
+
- [#2160](https://github.com/graphcommerce-org/graphcommerce/pull/2160) [`89b58be`](https://github.com/graphcommerce-org/graphcommerce/commit/89b58be9812e1e515b6996b2f5ce67ab8a596980) - The ProductFilters and ProductList queries would only run after the hygraphPageContent query would be resolved, although they don't depend on each other, now they run in parallel. ([@paales](https://github.com/paales))
|
279
476
|
|
280
|
-
- [#2160](https://github.com/graphcommerce-org/graphcommerce/pull/2160) [`154cd12`](https://github.com/graphcommerce-org/graphcommerce/commit/154cd12438f6cb30638e37b9a76a0649992b90f4) - Do not break words when wrapping
|
281
|
-
([@paales](https://github.com/paales))
|
477
|
+
- [#2160](https://github.com/graphcommerce-org/graphcommerce/pull/2160) [`154cd12`](https://github.com/graphcommerce-org/graphcommerce/commit/154cd12438f6cb30638e37b9a76a0649992b90f4) - Do not break words when wrapping ([@paales](https://github.com/paales))
|
282
478
|
|
283
479
|
## 8.0.0-canary.74
|
284
480
|
|
285
481
|
### Minor Changes
|
286
482
|
|
287
|
-
- [#2133](https://github.com/graphcommerce-org/graphcommerce/pull/2133) [`133f908`](https://github.com/graphcommerce-org/graphcommerce/commit/133f908200a79589036420f2925835724522cab8) - Added lazy hydration to improve total blocking time. Added LazyHydrate component which can be wrapped around other components you want to lazy hydrate.
|
288
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
483
|
+
- [#2133](https://github.com/graphcommerce-org/graphcommerce/pull/2133) [`133f908`](https://github.com/graphcommerce-org/graphcommerce/commit/133f908200a79589036420f2925835724522cab8) - Added lazy hydration to improve total blocking time. Added LazyHydrate component which can be wrapped around other components you want to lazy hydrate. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
289
484
|
|
290
485
|
## 8.0.0-canary.73
|
291
486
|
|
@@ -295,8 +490,7 @@
|
|
295
490
|
|
296
491
|
### Minor Changes
|
297
492
|
|
298
|
-
- [#2099](https://github.com/graphcommerce-org/graphcommerce/pull/2099) [`ff796b8`](https://github.com/graphcommerce-org/graphcommerce/commit/ff796b838fae6cb5e35b101500133b0235a8677d) - Created UI for all customizable options except for the file upload customizable option
|
299
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
493
|
+
- [#2099](https://github.com/graphcommerce-org/graphcommerce/pull/2099) [`ff796b8`](https://github.com/graphcommerce-org/graphcommerce/commit/ff796b838fae6cb5e35b101500133b0235a8677d) - Created UI for all customizable options except for the file upload customizable option ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
300
494
|
|
301
495
|
## 8.0.0-canary.70
|
302
496
|
|
@@ -304,8 +498,7 @@
|
|
304
498
|
|
305
499
|
### Major Changes
|
306
500
|
|
307
|
-
- [#2041](https://github.com/graphcommerce-org/graphcommerce/pull/2041) [`bc3a833`](https://github.com/graphcommerce-org/graphcommerce/commit/bc3a8339b0b0f15b4d5cb014d4f95e6ea28c2cfe) - Removed legacyProductRoute from GraphCommerce
|
308
|
-
([@paales](https://github.com/paales))
|
501
|
+
- [#2041](https://github.com/graphcommerce-org/graphcommerce/pull/2041) [`bc3a833`](https://github.com/graphcommerce-org/graphcommerce/commit/bc3a8339b0b0f15b4d5cb014d4f95e6ea28c2cfe) - Removed legacyProductRoute from GraphCommerce ([@paales](https://github.com/paales))
|
309
502
|
|
310
503
|
## 7.1.0-canary.68
|
311
504
|
|
@@ -313,8 +506,7 @@
|
|
313
506
|
|
314
507
|
### Patch Changes
|
315
508
|
|
316
|
-
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`6f214fb`](https://github.com/graphcommerce-org/graphcommerce/commit/6f214fbfd8ef24cc6dcba72f403bdcb1d8a5ed8a) - Remove marginBottom from ProductScroller by default and let implementor set the margin
|
317
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
509
|
+
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`6f214fb`](https://github.com/graphcommerce-org/graphcommerce/commit/6f214fbfd8ef24cc6dcba72f403bdcb1d8a5ed8a) - Remove marginBottom from ProductScroller by default and let implementor set the margin ([@StefanAngenent](https://github.com/StefanAngenent))
|
318
510
|
|
319
511
|
## 7.1.0-canary.66
|
320
512
|
|
@@ -1884,31 +2076,31 @@
|
|
1884
2076
|
All occurences of `<Trans>` and `t` need to be replaced:
|
1885
2077
|
|
1886
2078
|
```tsx
|
1887
|
-
import { Trans, t } from
|
2079
|
+
import { Trans, t } from '@lingui/macro'
|
1888
2080
|
|
1889
2081
|
function MyComponent() {
|
1890
|
-
const foo =
|
2082
|
+
const foo = 'bar'
|
1891
2083
|
return (
|
1892
2084
|
<div aria-label={t`Account ${foo}`}>
|
1893
2085
|
<Trans>My Translation {foo}</Trans>
|
1894
2086
|
</div>
|
1895
|
-
)
|
2087
|
+
)
|
1896
2088
|
}
|
1897
2089
|
```
|
1898
2090
|
|
1899
2091
|
Needs to be replaced with:
|
1900
2092
|
|
1901
2093
|
```tsx
|
1902
|
-
import { Trans } from
|
1903
|
-
import { i18n } from
|
2094
|
+
import { Trans } from '@lingui/react'
|
2095
|
+
import { i18n } from '@lingui/core'
|
1904
2096
|
|
1905
2097
|
function MyComponent() {
|
1906
|
-
const foo =
|
2098
|
+
const foo = 'bar'
|
1907
2099
|
return (
|
1908
2100
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
1909
|
-
<Trans key=
|
2101
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
1910
2102
|
</div>
|
1911
|
-
)
|
2103
|
+
)
|
1912
2104
|
}
|
1913
2105
|
```
|
1914
2106
|
|
package/Config.graphqls
CHANGED
@@ -3,6 +3,11 @@ enum ProductFiltersLayout {
|
|
3
3
|
SIDEBAR
|
4
4
|
}
|
5
5
|
|
6
|
+
enum PaginationVariant {
|
7
|
+
COMPACT
|
8
|
+
EXTENDED
|
9
|
+
}
|
10
|
+
|
6
11
|
extend input GraphCommerceConfig {
|
7
12
|
"""
|
8
13
|
Product filters with better UI for mobile and desktop.
|
@@ -37,4 +42,12 @@ extend input GraphCommerceConfig {
|
|
37
42
|
Default: 'false'
|
38
43
|
"""
|
39
44
|
crossSellsHideCartItems: Boolean = false
|
45
|
+
|
46
|
+
"""
|
47
|
+
Pagination variant for the product listings.
|
48
|
+
|
49
|
+
COMPACT means: "< Page X of Y >"
|
50
|
+
EXTENDED means: "< 1 2 ... 4 [5] 6 ... 10 11 >"
|
51
|
+
"""
|
52
|
+
productListPaginationVariant: PaginationVariant = COMPACT
|
40
53
|
}
|
@@ -1,5 +1,6 @@
|
|
1
|
+
import { useCartEnabled } from '@graphcommerce/magento-cart'
|
1
2
|
import { Button, ButtonProps } from '@graphcommerce/next-ui'
|
2
|
-
import { Trans } from '@lingui/
|
3
|
+
import { Trans } from '@lingui/macro'
|
3
4
|
import {
|
4
5
|
useAddProductsToCartAction,
|
5
6
|
UseAddProductsToCartActionProps,
|
@@ -17,15 +18,27 @@ export type AddProductsToCartButtonProps = UseAddProductsToCartActionProps &
|
|
17
18
|
| 'onClick'
|
18
19
|
| 'sx'
|
19
20
|
| 'children'
|
21
|
+
| 'type'
|
20
22
|
>
|
21
23
|
|
22
24
|
export function AddProductsToCartButton(props: AddProductsToCartButtonProps) {
|
23
|
-
const { children, product, ...rest } = props
|
25
|
+
const { children, product, disabled, ...rest } = props
|
24
26
|
const { showSuccess, ...action } = useAddProductsToCartAction(props)
|
27
|
+
const cartEnabled = useCartEnabled()
|
28
|
+
|
29
|
+
if (!cartEnabled) return null
|
25
30
|
|
26
31
|
return (
|
27
|
-
<Button
|
28
|
-
|
32
|
+
<Button
|
33
|
+
type='submit'
|
34
|
+
color='primary'
|
35
|
+
variant='pill'
|
36
|
+
size='large'
|
37
|
+
{...rest}
|
38
|
+
{...action}
|
39
|
+
disabled={disabled}
|
40
|
+
>
|
41
|
+
{children || <Trans>Add to Cart</Trans>}
|
29
42
|
</Button>
|
30
43
|
)
|
31
44
|
}
|