@graphcommerce/magento-product 9.0.0 → 9.0.1-canary.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,26 +1,37 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.1-canary.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
+
3
9
  ## 9.0.0
4
10
 
5
- ### Minor Changes
11
+ ### Major Changes
6
12
 
7
- - [#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))
13
+ - [#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))
8
14
 
9
- - [#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`.
15
+ - [#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))
10
16
 
11
- - `COMPACT` means: `< Page X of Y >`
12
- - `EXTENDED` means: `< 1 2 ... [5] ... 10 11 >` ([@FrankHarland](https://github.com/FrankHarland))
17
+ - [#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))
13
18
 
14
- - [#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))
19
+ - [#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))
15
20
 
16
- - [#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))
21
+ - [#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))
17
22
 
18
- - [#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 2.4.7 or higher. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
23
+ ### Minor Changes
19
24
 
20
- - [#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))
25
+ - [#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))
21
26
 
22
27
  ### Patch Changes
23
28
 
29
+ - [#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))
30
+
31
+ - [#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))
32
+
33
+ - [#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))
34
+
24
35
  - [#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))
25
36
 
26
37
  - [#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))
@@ -29,176 +40,24 @@
29
40
 
30
41
  - [#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))
31
42
 
32
- - [#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))
33
-
34
43
  - [#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))
35
44
 
36
45
  - [#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))
37
46
 
38
- - [#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))
39
-
40
47
  - [#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))
41
48
 
42
49
  - [#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))
43
50
 
44
- - [#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))
45
-
46
51
  - [#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))
47
52
 
48
53
  - [#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))
49
54
 
50
55
  - [#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))
51
56
 
52
- - [#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))
53
-
54
57
  - [#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))
55
58
 
56
59
  - [#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))
57
60
 
58
- ## 9.0.0-canary.118
59
-
60
- ## 9.0.0-canary.117
61
-
62
- ## 9.0.0-canary.116
63
-
64
- ### Patch Changes
65
-
66
- - [#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))
67
-
68
- ## 9.0.0-canary.115
69
-
70
- ## 9.0.0-canary.114
71
-
72
- ## 9.0.0-canary.113
73
-
74
- ## 9.0.0-canary.112
75
-
76
- ## 9.0.0-canary.111
77
-
78
- ## 9.0.0-canary.110
79
-
80
- ## 9.0.0-canary.109
81
-
82
- ## 9.0.0-canary.108
83
-
84
- ### Patch Changes
85
-
86
- - [#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))
87
-
88
- - [#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))
89
-
90
- - [#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))
91
-
92
- - [#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))
93
-
94
- ## 9.0.0-canary.107
95
-
96
- ## 9.0.0-canary.106
97
-
98
- ## 9.0.0-canary.105
99
-
100
- ## 9.0.0-canary.104
101
-
102
- ## 9.0.0-canary.103
103
-
104
- ## 9.0.0-canary.91
105
-
106
- ### Patch Changes
107
-
108
- - [#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))
109
-
110
- ## 9.0.0-canary.86
111
-
112
- ### Patch Changes
113
-
114
- - [#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))
115
-
116
- ## 9.0.0-canary.85
117
-
118
- ### Patch Changes
119
-
120
- - [#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))
121
-
122
- ## 9.0.0-canary.80
123
-
124
- ### Minor Changes
125
-
126
- - [#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))
127
-
128
- ## 9.0.0-canary.72
129
-
130
- ### Minor Changes
131
-
132
- - [#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))
133
-
134
- ## 9.0.0-canary.61
135
-
136
- ### Minor Changes
137
-
138
- - [#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))
139
-
140
- ## 9.0.0-canary.59
141
-
142
- ### Patch Changes
143
-
144
- - [#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))
145
-
146
- ## 9.0.0-canary.58
147
-
148
- ### Patch Changes
149
-
150
- - [#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))
151
-
152
- ## 8.1.0-canary.51
153
-
154
- ### Minor Changes
155
-
156
- - [#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))
157
-
158
- ## 8.1.0-canary.41
159
-
160
- ### Patch Changes
161
-
162
- - [#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))
163
-
164
- ## 8.1.0-canary.27
165
-
166
- ### Minor Changes
167
-
168
- - [#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))
169
-
170
- ## 8.1.0-canary.11
171
-
172
- ### Patch Changes
173
-
174
- - [#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))
175
-
176
- ## 8.1.0-canary.5
177
-
178
- ### Patch Changes
179
-
180
- - [#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))
181
-
182
- ## 8.0.6-canary.4
183
-
184
- ### Patch Changes
185
-
186
- - [#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))
187
-
188
- ## 8.0.6-canary.2
189
-
190
- ### Patch Changes
191
-
192
- - [#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))
193
-
194
- - [#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))
195
-
196
- ## 8.0.6-canary.0
197
-
198
- ### Patch Changes
199
-
200
- - [#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))
201
-
202
61
  ## 8.0.5
203
62
 
204
63
  ### 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 indent = item.isBack ? 0 : item.indent + 1
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
- {item.isBack ? (
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 * indent, 12 * indent) },
95
- '&.sizeMedium': { pl: responsiveVal(10 * indent, 14 * indent) },
96
- '&.sizeLarge': { pl: responsiveVal(12 * indent, 16 * indent) },
97
- '&.sizeResponsive': { pl: responsiveVal(8 * indent, 16 * indent) },
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.0",
5
+ "version": "9.0.1-canary.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.0",
22
- "@graphcommerce/eslint-config-pwa": "^9.0.0",
23
- "@graphcommerce/framer-next-pages": "^9.0.0",
24
- "@graphcommerce/framer-scroller": "^9.0.0",
25
- "@graphcommerce/graphql": "^9.0.0",
26
- "@graphcommerce/graphql-mesh": "^9.0.0",
27
- "@graphcommerce/image": "^9.0.0",
28
- "@graphcommerce/magento-cart": "^9.0.0",
29
- "@graphcommerce/magento-store": "^9.0.0",
30
- "@graphcommerce/next-ui": "^9.0.0",
31
- "@graphcommerce/prettier-config-pwa": "^9.0.0",
32
- "@graphcommerce/typescript-config-pwa": "^9.0.0",
21
+ "@graphcommerce/ecommerce-ui": "^9.0.1-canary.1",
22
+ "@graphcommerce/eslint-config-pwa": "^9.0.1-canary.1",
23
+ "@graphcommerce/framer-next-pages": "^9.0.1-canary.1",
24
+ "@graphcommerce/framer-scroller": "^9.0.1-canary.1",
25
+ "@graphcommerce/graphql": "^9.0.1-canary.1",
26
+ "@graphcommerce/graphql-mesh": "^9.0.1-canary.1",
27
+ "@graphcommerce/image": "^9.0.1-canary.1",
28
+ "@graphcommerce/magento-cart": "^9.0.1-canary.1",
29
+ "@graphcommerce/magento-store": "^9.0.1-canary.1",
30
+ "@graphcommerce/next-ui": "^9.0.1-canary.1",
31
+ "@graphcommerce/prettier-config-pwa": "^9.0.1-canary.1",
32
+ "@graphcommerce/typescript-config-pwa": "^9.0.1-canary.1",
33
33
  "@lingui/core": "^4.2.1",
34
34
  "@lingui/macro": "^4.2.1",
35
35
  "@lingui/react": "^4.2.1",