@graphcommerce/magento-product 9.0.1-canary.0 → 9.0.1
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
CHANGED
@@ -1,28 +1,43 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## 9.0.1
|
3
|
+
## 9.0.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`c83aad6`](https://github.com/graphcommerce-org/graphcommerce/commit/c83aad64869ee4192aa4216cc41f8106642c38f9) - Prevent forwarding the isBack prop to the DOM element ([@paales](https://github.com/paales))
|
8
|
+
|
9
|
+
## 9.0.1-canary.1
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`c83aad6`](https://github.com/graphcommerce-org/graphcommerce/commit/c83aad64869ee4192aa4216cc41f8106642c38f9) - Prevent forwarding the isBack prop to the DOM element ([@paales](https://github.com/paales))
|
4
14
|
|
5
15
|
## 9.0.0
|
6
16
|
|
7
|
-
###
|
17
|
+
### Major Changes
|
8
18
|
|
9
|
-
- [#2273](https://github.com/graphcommerce-org/graphcommerce/pull/2273) [`77955c5`](https://github.com/graphcommerce-org/graphcommerce/commit/77955c56ac8633ab1c5e0f3ddb25e3a87236e2bb) -
|
19
|
+
- [#2273](https://github.com/graphcommerce-org/graphcommerce/pull/2273) [`77955c5`](https://github.com/graphcommerce-org/graphcommerce/commit/77955c56ac8633ab1c5e0f3ddb25e3a87236e2bb) - Added support for real `<Breadcrumbs/>` on the frontend. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
10
20
|
|
11
|
-
- [#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`.
|
21
|
+
- [#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 >` and `EXTENDED` means: `< 1 2 ... [5] ... 10 11 >` ([@FrankHarland](https://github.com/FrankHarland))
|
12
22
|
|
13
|
-
|
14
|
-
- `EXTENDED` means: `< 1 2 ... [5] ... 10 11 >` ([@FrankHarland](https://github.com/FrankHarland))
|
23
|
+
- [#2332](https://github.com/graphcommerce-org/graphcommerce/pull/2332) [`73e897a`](https://github.com/graphcommerce-org/graphcommerce/commit/73e897a5a5f266d9ec274807720c71eb1a639074) - Magento 2.4.7: Use `custom_attributesV2` for product specs. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
15
24
|
|
16
|
-
- [#
|
25
|
+
- [#2407](https://github.com/graphcommerce-org/graphcommerce/pull/2407) [`61f2af1`](https://github.com/graphcommerce-org/graphcommerce/commit/61f2af1158f2ef6908f7edd18f3f8cb2be196a9b) - Added functionality to constrain the container sizing of the frontend. Added a new configuration `containerSizingShell` and `containerSizingContent` configuration options. Actual sizing can be configured in the `theme.ts`. ([@StefanAngenent](https://github.com/StefanAngenent))
|
17
26
|
|
18
|
-
- [#
|
27
|
+
- [#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))
|
19
28
|
|
20
|
-
|
29
|
+
### Minor Changes
|
21
30
|
|
22
|
-
- [#
|
31
|
+
- [#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. Introduced a new `useLocale` hook to use the correct locale string to use in Intl methods. ([@paales](https://github.com/paales))
|
23
32
|
|
24
33
|
### Patch Changes
|
25
34
|
|
35
|
+
- [#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))
|
36
|
+
|
37
|
+
- [#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))
|
38
|
+
|
39
|
+
- [#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))
|
40
|
+
|
26
41
|
- [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`ebdf2c8`](https://github.com/graphcommerce-org/graphcommerce/commit/ebdf2c8ea5ba69fa11d33daa75ad12b7c1501460) - Hide ProductScroller components when no items are available ([@bramvanderholst](https://github.com/bramvanderholst))
|
27
42
|
|
28
43
|
- [#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))
|
@@ -31,176 +46,24 @@
|
|
31
46
|
|
32
47
|
- [#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))
|
33
48
|
|
34
|
-
- [#2407](https://github.com/graphcommerce-org/graphcommerce/pull/2407) [`61f2af1`](https://github.com/graphcommerce-org/graphcommerce/commit/61f2af1158f2ef6908f7edd18f3f8cb2be196a9b) - Add maxWidth to ProductListLayouts ([@StefanAngenent](https://github.com/StefanAngenent))
|
35
|
-
|
36
49
|
- [#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 use `AttributeFrontendInputEnum`. ([@paales](https://github.com/paales))
|
37
50
|
|
38
51
|
- [#2452](https://github.com/graphcommerce-org/graphcommerce/pull/2452) [`5dfd3b2`](https://github.com/graphcommerce-org/graphcommerce/commit/5dfd3b201255ef35263485d04153d37bb7e4fe67) - Renamed useInContextQuery to usePrivateQuery ([@paales](https://github.com/paales))
|
39
52
|
|
40
|
-
- [#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. Introduced a new `useLocale` hook to use the correct locale string to use in Intl methods. ([@paales](https://github.com/paales))
|
41
|
-
|
42
53
|
- [#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))
|
43
54
|
|
44
55
|
- [#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))
|
45
56
|
|
46
|
-
- [#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))
|
47
|
-
|
48
57
|
- [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`673bf7c`](https://github.com/graphcommerce-org/graphcommerce/commit/673bf7c25b521c215b36db8f6c6ccfd70c4a7468) - Allow adding elements after/between product list items (e.g. banners) ([@bramvanderholst](https://github.com/bramvanderholst))
|
49
58
|
|
50
59
|
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Prevent the `<BillingPage />` query from rerunning on each mutation. ([@FrankHarland](https://github.com/FrankHarland))
|
51
60
|
|
52
61
|
- [#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))
|
53
62
|
|
54
|
-
- [#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))
|
55
|
-
|
56
63
|
- [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`49937fd`](https://github.com/graphcommerce-org/graphcommerce/commit/49937fd765338e25899d427ee4d799fa7978faeb) - Allow changing various props for internal components ([@bramvanderholst](https://github.com/bramvanderholst))
|
57
64
|
|
58
65
|
- [#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))
|
59
66
|
|
60
|
-
## 9.0.0-canary.118
|
61
|
-
|
62
|
-
## 9.0.0-canary.117
|
63
|
-
|
64
|
-
## 9.0.0-canary.116
|
65
|
-
|
66
|
-
### Patch Changes
|
67
|
-
|
68
|
-
- [#2452](https://github.com/graphcommerce-org/graphcommerce/pull/2452) [`5dfd3b2`](https://github.com/graphcommerce-org/graphcommerce/commit/5dfd3b201255ef35263485d04153d37bb7e4fe67) - Renamed useInContextQuery to usePrivateQuery ([@paales](https://github.com/paales))
|
69
|
-
|
70
|
-
## 9.0.0-canary.115
|
71
|
-
|
72
|
-
## 9.0.0-canary.114
|
73
|
-
|
74
|
-
## 9.0.0-canary.113
|
75
|
-
|
76
|
-
## 9.0.0-canary.112
|
77
|
-
|
78
|
-
## 9.0.0-canary.111
|
79
|
-
|
80
|
-
## 9.0.0-canary.110
|
81
|
-
|
82
|
-
## 9.0.0-canary.109
|
83
|
-
|
84
|
-
## 9.0.0-canary.108
|
85
|
-
|
86
|
-
### Patch Changes
|
87
|
-
|
88
|
-
- [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`ebdf2c8`](https://github.com/graphcommerce-org/graphcommerce/commit/ebdf2c8ea5ba69fa11d33daa75ad12b7c1501460) - Hide ProductScroller components when no items are available ([@bramvanderholst](https://github.com/bramvanderholst))
|
89
|
-
|
90
|
-
- [#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))
|
91
|
-
|
92
|
-
- [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`673bf7c`](https://github.com/graphcommerce-org/graphcommerce/commit/673bf7c25b521c215b36db8f6c6ccfd70c4a7468) - Allow adding elements after/between product list items (e.g. banners) ([@bramvanderholst](https://github.com/bramvanderholst))
|
93
|
-
|
94
|
-
- [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`49937fd`](https://github.com/graphcommerce-org/graphcommerce/commit/49937fd765338e25899d427ee4d799fa7978faeb) - Allow changing various props for internal components ([@bramvanderholst](https://github.com/bramvanderholst))
|
95
|
-
|
96
|
-
## 9.0.0-canary.107
|
97
|
-
|
98
|
-
## 9.0.0-canary.106
|
99
|
-
|
100
|
-
## 9.0.0-canary.105
|
101
|
-
|
102
|
-
## 9.0.0-canary.104
|
103
|
-
|
104
|
-
## 9.0.0-canary.103
|
105
|
-
|
106
|
-
## 9.0.0-canary.91
|
107
|
-
|
108
|
-
### Patch Changes
|
109
|
-
|
110
|
-
- [#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))
|
111
|
-
|
112
|
-
## 9.0.0-canary.86
|
113
|
-
|
114
|
-
### Patch Changes
|
115
|
-
|
116
|
-
- [#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))
|
117
|
-
|
118
|
-
## 9.0.0-canary.85
|
119
|
-
|
120
|
-
### Patch Changes
|
121
|
-
|
122
|
-
- [#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))
|
123
|
-
|
124
|
-
## 9.0.0-canary.80
|
125
|
-
|
126
|
-
### Minor Changes
|
127
|
-
|
128
|
-
- [#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))
|
129
|
-
|
130
|
-
## 9.0.0-canary.72
|
131
|
-
|
132
|
-
### Minor Changes
|
133
|
-
|
134
|
-
- [#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))
|
135
|
-
|
136
|
-
## 9.0.0-canary.61
|
137
|
-
|
138
|
-
### Minor Changes
|
139
|
-
|
140
|
-
- [#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))
|
141
|
-
|
142
|
-
## 9.0.0-canary.59
|
143
|
-
|
144
|
-
### Patch Changes
|
145
|
-
|
146
|
-
- [#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))
|
147
|
-
|
148
|
-
## 9.0.0-canary.58
|
149
|
-
|
150
|
-
### Patch Changes
|
151
|
-
|
152
|
-
- [#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))
|
153
|
-
|
154
|
-
## 8.1.0-canary.51
|
155
|
-
|
156
|
-
### Minor Changes
|
157
|
-
|
158
|
-
- [#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))
|
159
|
-
|
160
|
-
## 8.1.0-canary.41
|
161
|
-
|
162
|
-
### Patch Changes
|
163
|
-
|
164
|
-
- [#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))
|
165
|
-
|
166
|
-
## 8.1.0-canary.27
|
167
|
-
|
168
|
-
### Minor Changes
|
169
|
-
|
170
|
-
- [#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))
|
171
|
-
|
172
|
-
## 8.1.0-canary.11
|
173
|
-
|
174
|
-
### Patch Changes
|
175
|
-
|
176
|
-
- [#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))
|
177
|
-
|
178
|
-
## 8.1.0-canary.5
|
179
|
-
|
180
|
-
### Patch Changes
|
181
|
-
|
182
|
-
- [#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))
|
183
|
-
|
184
|
-
## 8.0.6-canary.4
|
185
|
-
|
186
|
-
### Patch Changes
|
187
|
-
|
188
|
-
- [#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))
|
189
|
-
|
190
|
-
## 8.0.6-canary.2
|
191
|
-
|
192
|
-
### Patch Changes
|
193
|
-
|
194
|
-
- [#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))
|
195
|
-
|
196
|
-
- [#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))
|
197
|
-
|
198
|
-
## 8.0.6-canary.0
|
199
|
-
|
200
|
-
### Patch Changes
|
201
|
-
|
202
|
-
- [#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))
|
203
|
-
|
204
67
|
## 8.0.5
|
205
68
|
|
206
69
|
### Patch Changes
|
@@ -7,8 +7,8 @@ import {
|
|
7
7
|
ActionCardAccordion,
|
8
8
|
ActionCardList,
|
9
9
|
Button,
|
10
|
-
IconSvg,
|
11
10
|
iconChevronLeft,
|
11
|
+
IconSvg,
|
12
12
|
responsiveVal,
|
13
13
|
} from '@graphcommerce/next-ui'
|
14
14
|
import { Trans } from '@lingui/react'
|
@@ -64,8 +64,8 @@ export function ProductFiltersProCategoryAccordion(props: ProductFiltersProCateg
|
|
64
64
|
await onChange(item)
|
65
65
|
}}
|
66
66
|
>
|
67
|
-
{categoryTree.map((item) => {
|
68
|
-
const
|
67
|
+
{categoryTree.map(({ isBack, indent, ...item }) => {
|
68
|
+
const indentVal = isBack ? 0 : indent + 1
|
69
69
|
return (
|
70
70
|
<ActionCard
|
71
71
|
key={item.value}
|
@@ -74,7 +74,7 @@ export function ProductFiltersProCategoryAccordion(props: ProductFiltersProCateg
|
|
74
74
|
title={
|
75
75
|
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1 }}>
|
76
76
|
<Box sx={{ marginRight: 1 }}>
|
77
|
-
{
|
77
|
+
{isBack ? (
|
78
78
|
<Box sx={{ display: 'flex', alignItems: 'center' }}>
|
79
79
|
<IconSvg src={iconChevronLeft} size='medium' />
|
80
80
|
{item.title}
|
@@ -91,10 +91,10 @@ export function ProductFiltersProCategoryAccordion(props: ProductFiltersProCateg
|
|
91
91
|
</Box>
|
92
92
|
}
|
93
93
|
sx={{
|
94
|
-
'&.sizeSmall': { pl: responsiveVal(8 *
|
95
|
-
'&.sizeMedium': { pl: responsiveVal(10 *
|
96
|
-
'&.sizeLarge': { pl: responsiveVal(12 *
|
97
|
-
'&.sizeResponsive': { pl: responsiveVal(8 *
|
94
|
+
'&.sizeSmall': { pl: responsiveVal(8 * indentVal, 12 * indentVal) },
|
95
|
+
'&.sizeMedium': { pl: responsiveVal(10 * indentVal, 14 * indentVal) },
|
96
|
+
'&.sizeLarge': { pl: responsiveVal(12 * indentVal, 16 * indentVal) },
|
97
|
+
'&.sizeResponsive': { pl: responsiveVal(8 * indentVal, 16 * indentVal) },
|
98
98
|
'& .ActionCard-title.selected': { fontWeight: 'bold' },
|
99
99
|
}}
|
100
100
|
/>
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@graphcommerce/magento-product",
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
5
|
-
"version": "9.0.1
|
5
|
+
"version": "9.0.1",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -18,18 +18,18 @@
|
|
18
18
|
"typescript": "5.7.2"
|
19
19
|
},
|
20
20
|
"peerDependencies": {
|
21
|
-
"@graphcommerce/ecommerce-ui": "^9.0.1
|
22
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.1
|
23
|
-
"@graphcommerce/framer-next-pages": "^9.0.1
|
24
|
-
"@graphcommerce/framer-scroller": "^9.0.1
|
25
|
-
"@graphcommerce/graphql": "^9.0.1
|
26
|
-
"@graphcommerce/graphql-mesh": "^9.0.1
|
27
|
-
"@graphcommerce/image": "^9.0.1
|
28
|
-
"@graphcommerce/magento-cart": "^9.0.1
|
29
|
-
"@graphcommerce/magento-store": "^9.0.1
|
30
|
-
"@graphcommerce/next-ui": "^9.0.1
|
31
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.1
|
32
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.1
|
21
|
+
"@graphcommerce/ecommerce-ui": "^9.0.1",
|
22
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.1",
|
23
|
+
"@graphcommerce/framer-next-pages": "^9.0.1",
|
24
|
+
"@graphcommerce/framer-scroller": "^9.0.1",
|
25
|
+
"@graphcommerce/graphql": "^9.0.1",
|
26
|
+
"@graphcommerce/graphql-mesh": "^9.0.1",
|
27
|
+
"@graphcommerce/image": "^9.0.1",
|
28
|
+
"@graphcommerce/magento-cart": "^9.0.1",
|
29
|
+
"@graphcommerce/magento-store": "^9.0.1",
|
30
|
+
"@graphcommerce/next-ui": "^9.0.1",
|
31
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.1",
|
32
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.1",
|
33
33
|
"@lingui/core": "^4.2.1",
|
34
34
|
"@lingui/macro": "^4.2.1",
|
35
35
|
"@lingui/react": "^4.2.1",
|