@graphcommerce/magento-cart-items 9.0.0-canary.56 → 9.0.0-canary.57
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 +27 -42
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.57
|
|
4
|
+
|
|
3
5
|
## 9.0.0-canary.56
|
|
4
6
|
|
|
5
7
|
## 9.0.0-canary.55
|
|
@@ -14,8 +16,7 @@
|
|
|
14
16
|
|
|
15
17
|
### Minor Changes
|
|
16
18
|
|
|
17
|
-
- [#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
|
|
18
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
19
|
+
- [#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))
|
|
19
20
|
|
|
20
21
|
## 8.1.0-canary.50
|
|
21
22
|
|
|
@@ -31,8 +32,7 @@
|
|
|
31
32
|
|
|
32
33
|
### Patch Changes
|
|
33
34
|
|
|
34
|
-
- [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`c30ac07`](https://github.com/graphcommerce-org/graphcommerce/commit/c30ac07d1e9aee5fb3df483404d8a8ca853c93ce) - Make sure the edit cart item isn't shown for an order
|
|
35
|
-
([@paales](https://github.com/paales))
|
|
35
|
+
- [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`c30ac07`](https://github.com/graphcommerce-org/graphcommerce/commit/c30ac07d1e9aee5fb3df483404d8a8ca853c93ce) - Make sure the edit cart item isn't shown for an order ([@paales](https://github.com/paales))
|
|
36
36
|
|
|
37
37
|
## 8.1.0-canary.44
|
|
38
38
|
|
|
@@ -86,13 +86,11 @@
|
|
|
86
86
|
|
|
87
87
|
### Minor Changes
|
|
88
88
|
|
|
89
|
-
- [#2246](https://github.com/graphcommerce-org/graphcommerce/pull/2246) [`13524f9`](https://github.com/graphcommerce-org/graphcommerce/commit/13524f991a810c1679db49b3b8b4f04f90d0d6c1) - Added the ability to edit cart items with full support for all product types and custom options
|
|
90
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
89
|
+
- [#2246](https://github.com/graphcommerce-org/graphcommerce/pull/2246) [`13524f9`](https://github.com/graphcommerce-org/graphcommerce/commit/13524f991a810c1679db49b3b8b4f04f90d0d6c1) - Added the ability to edit cart items with full support for all product types and custom options ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
91
90
|
|
|
92
91
|
### Patch Changes
|
|
93
92
|
|
|
94
|
-
- [#2246](https://github.com/graphcommerce-org/graphcommerce/pull/2246) [`fc5c04d`](https://github.com/graphcommerce-org/graphcommerce/commit/fc5c04d4a2c0301be7d3cc983d9b31f6fcaf6fe6) - Create useRemoveItemFromCart hook to allow for reuse while keeping compatibility with plugins.
|
|
95
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
93
|
+
- [#2246](https://github.com/graphcommerce-org/graphcommerce/pull/2246) [`fc5c04d`](https://github.com/graphcommerce-org/graphcommerce/commit/fc5c04d4a2c0301be7d3cc983d9b31f6fcaf6fe6) - Create useRemoveItemFromCart hook to allow for reuse while keeping compatibility with plugins. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
96
94
|
|
|
97
95
|
## 8.1.0-canary.19
|
|
98
96
|
|
|
@@ -102,8 +100,7 @@
|
|
|
102
100
|
|
|
103
101
|
### Minor Changes
|
|
104
102
|
|
|
105
|
-
- [#2209](https://github.com/graphcommerce-org/graphcommerce/pull/2209) [`2872cab`](https://github.com/graphcommerce-org/graphcommerce/commit/2872cabdca9ee4f0378fd411c6a633f71bb92f1f) - Removed useMediaQuery from the wishlist and cart ItemActionCard and replaced it with a new responsive size prop.
|
|
106
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
103
|
+
- [#2209](https://github.com/graphcommerce-org/graphcommerce/pull/2209) [`2872cab`](https://github.com/graphcommerce-org/graphcommerce/commit/2872cabdca9ee4f0378fd411c6a633f71bb92f1f) - Removed useMediaQuery from the wishlist and cart ItemActionCard and replaced it with a new responsive size prop. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
107
104
|
|
|
108
105
|
## 8.1.0-canary.16
|
|
109
106
|
|
|
@@ -199,8 +196,7 @@
|
|
|
199
196
|
|
|
200
197
|
### Patch Changes
|
|
201
198
|
|
|
202
|
-
- [#2190](https://github.com/graphcommerce-org/graphcommerce/pull/2190) [`770a309`](https://github.com/graphcommerce-org/graphcommerce/commit/770a309cdf0586aaaed5defd345e451dee8d89c8) - Fixed a bug concerning customizable options. Customizable options of configurable products are shown again in the cart.
|
|
203
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
199
|
+
- [#2190](https://github.com/graphcommerce-org/graphcommerce/pull/2190) [`770a309`](https://github.com/graphcommerce-org/graphcommerce/commit/770a309cdf0586aaaed5defd345e451dee8d89c8) - Fixed a bug concerning customizable options. Customizable options of configurable products are shown again in the cart. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
204
200
|
|
|
205
201
|
## 8.0.1-canary.4
|
|
206
202
|
|
|
@@ -208,8 +204,7 @@
|
|
|
208
204
|
|
|
209
205
|
### Patch Changes
|
|
210
206
|
|
|
211
|
-
- [#2190](https://github.com/graphcommerce-org/graphcommerce/pull/2190) [`770a309`](https://github.com/graphcommerce-org/graphcommerce/commit/770a309cdf0586aaaed5defd345e451dee8d89c8) - Fixed a bug concerning customizable options. Customizable options of configurable products are shown again in the cart.
|
|
212
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
207
|
+
- [#2190](https://github.com/graphcommerce-org/graphcommerce/pull/2190) [`770a309`](https://github.com/graphcommerce-org/graphcommerce/commit/770a309cdf0586aaaed5defd345e451dee8d89c8) - Fixed a bug concerning customizable options. Customizable options of configurable products are shown again in the cart. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
213
208
|
|
|
214
209
|
## 8.0.1-canary.2
|
|
215
210
|
|
|
@@ -221,25 +216,19 @@
|
|
|
221
216
|
|
|
222
217
|
### Minor Changes
|
|
223
218
|
|
|
224
|
-
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`b9ab035`](https://github.com/graphcommerce-org/graphcommerce/commit/b9ab035893fd0fbbe747333973d0bb1948e5d846) - Added a new `<CartCrosssellsScroller />` component to render crosssells in a horizontal scroller in the cart.
|
|
225
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
219
|
+
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`b9ab035`](https://github.com/graphcommerce-org/graphcommerce/commit/b9ab035893fd0fbbe747333973d0bb1948e5d846) - Added a new `<CartCrosssellsScroller />` component to render crosssells in a horizontal scroller in the cart. ([@StefanAngenent](https://github.com/StefanAngenent))
|
|
226
220
|
|
|
227
|
-
- [#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.
|
|
228
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
221
|
+
- [#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))
|
|
229
222
|
|
|
230
|
-
- [#2018](https://github.com/graphcommerce-org/graphcommerce/pull/2018) [`750aa6a`](https://github.com/graphcommerce-org/graphcommerce/commit/750aa6a72710869d54244467253212e551d335e0) - Changed the layout of the succes page. We are using ActionCards right now to match the design of the cart.
|
|
231
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
223
|
+
- [#2018](https://github.com/graphcommerce-org/graphcommerce/pull/2018) [`750aa6a`](https://github.com/graphcommerce-org/graphcommerce/commit/750aa6a72710869d54244467253212e551d335e0) - Changed the layout of the succes page. We are using ActionCards right now to match the design of the cart. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
232
224
|
|
|
233
225
|
### Patch Changes
|
|
234
226
|
|
|
235
|
-
- [#2179](https://github.com/graphcommerce-org/graphcommerce/pull/2179) [`2e6afd9`](https://github.com/graphcommerce-org/graphcommerce/commit/2e6afd945a41f94facfc0379ca6416de8552341f) - The `<UpdateItemQuantity />` component now accepts `textInputProps` to be passed to the `<TextInputNumber/>`.
|
|
236
|
-
([@paales](https://github.com/paales))
|
|
227
|
+
- [#2179](https://github.com/graphcommerce-org/graphcommerce/pull/2179) [`2e6afd9`](https://github.com/graphcommerce-org/graphcommerce/commit/2e6afd945a41f94facfc0379ca6416de8552341f) - The `<UpdateItemQuantity />` component now accepts `textInputProps` to be passed to the `<TextInputNumber/>`. ([@paales](https://github.com/paales))
|
|
237
228
|
|
|
238
|
-
- [#2183](https://github.com/graphcommerce-org/graphcommerce/pull/2183) [`afc8810`](https://github.com/graphcommerce-org/graphcommerce/commit/afc8810d89f409f1ea2f6e82a01b3120ded208f9) - When updating the quantity of the product in the cart it could happen that the form would become out of sync with the actual data.
|
|
239
|
-
([@paales](https://github.com/paales))
|
|
229
|
+
- [#2183](https://github.com/graphcommerce-org/graphcommerce/pull/2183) [`afc8810`](https://github.com/graphcommerce-org/graphcommerce/commit/afc8810d89f409f1ea2f6e82a01b3120ded208f9) - When updating the quantity of the product in the cart it could happen that the form would become out of sync with the actual data. ([@paales](https://github.com/paales))
|
|
240
230
|
|
|
241
|
-
- [#2079](https://github.com/graphcommerce-org/graphcommerce/pull/2079) [`98799e0`](https://github.com/graphcommerce-org/graphcommerce/commit/98799e0892d430f32b7599a351cf49a37cfc072c) - Updated styling `<SelectedCustomizableOptions />`, so items get more spacing and elements accessable via sx prop
|
|
242
|
-
([@mikekeehnen](https://github.com/mikekeehnen))
|
|
231
|
+
- [#2079](https://github.com/graphcommerce-org/graphcommerce/pull/2079) [`98799e0`](https://github.com/graphcommerce-org/graphcommerce/commit/98799e0892d430f32b7599a351cf49a37cfc072c) - Updated styling `<SelectedCustomizableOptions />`, so items get more spacing and elements accessable via sx prop ([@mikekeehnen](https://github.com/mikekeehnen))
|
|
243
232
|
|
|
244
233
|
## 8.0.0-canary.100
|
|
245
234
|
|
|
@@ -247,8 +236,7 @@
|
|
|
247
236
|
|
|
248
237
|
### Patch Changes
|
|
249
238
|
|
|
250
|
-
- [#2183](https://github.com/graphcommerce-org/graphcommerce/pull/2183) [`afc8810`](https://github.com/graphcommerce-org/graphcommerce/commit/afc8810d89f409f1ea2f6e82a01b3120ded208f9) - When updating the quantity of the product in the cart it could happen that the form would become out of sync with the actual data.
|
|
251
|
-
([@paales](https://github.com/paales))
|
|
239
|
+
- [#2183](https://github.com/graphcommerce-org/graphcommerce/pull/2183) [`afc8810`](https://github.com/graphcommerce-org/graphcommerce/commit/afc8810d89f409f1ea2f6e82a01b3120ded208f9) - When updating the quantity of the product in the cart it could happen that the form would become out of sync with the actual data. ([@paales](https://github.com/paales))
|
|
252
240
|
|
|
253
241
|
## 8.0.0-canary.98
|
|
254
242
|
|
|
@@ -258,8 +246,7 @@
|
|
|
258
246
|
|
|
259
247
|
### Patch Changes
|
|
260
248
|
|
|
261
|
-
- [#2179](https://github.com/graphcommerce-org/graphcommerce/pull/2179) [`2e6afd9`](https://github.com/graphcommerce-org/graphcommerce/commit/2e6afd945a41f94facfc0379ca6416de8552341f) - The `<UpdateItemQuantity />` component now accepts `textInputProps` to be passed to the `<TextInputNumber/>`.
|
|
262
|
-
([@paales](https://github.com/paales))
|
|
249
|
+
- [#2179](https://github.com/graphcommerce-org/graphcommerce/pull/2179) [`2e6afd9`](https://github.com/graphcommerce-org/graphcommerce/commit/2e6afd945a41f94facfc0379ca6416de8552341f) - The `<UpdateItemQuantity />` component now accepts `textInputProps` to be passed to the `<TextInputNumber/>`. ([@paales](https://github.com/paales))
|
|
263
250
|
|
|
264
251
|
## 8.0.0-canary.95
|
|
265
252
|
|
|
@@ -313,8 +300,7 @@
|
|
|
313
300
|
|
|
314
301
|
### Minor Changes
|
|
315
302
|
|
|
316
|
-
- [#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
|
|
317
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
303
|
+
- [#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))
|
|
318
304
|
|
|
319
305
|
## 8.0.0-canary.70
|
|
320
306
|
|
|
@@ -326,8 +312,7 @@
|
|
|
326
312
|
|
|
327
313
|
### Minor Changes
|
|
328
314
|
|
|
329
|
-
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`b9ab035`](https://github.com/graphcommerce-org/graphcommerce/commit/b9ab035893fd0fbbe747333973d0bb1948e5d846) - Add crosssells to cart
|
|
330
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
315
|
+
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`b9ab035`](https://github.com/graphcommerce-org/graphcommerce/commit/b9ab035893fd0fbbe747333973d0bb1948e5d846) - Add crosssells to cart ([@StefanAngenent](https://github.com/StefanAngenent))
|
|
331
316
|
|
|
332
317
|
## 7.1.0-canary.66
|
|
333
318
|
|
|
@@ -1606,31 +1591,31 @@
|
|
|
1606
1591
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1607
1592
|
|
|
1608
1593
|
```tsx
|
|
1609
|
-
import { Trans, t } from
|
|
1594
|
+
import { Trans, t } from '@lingui/macro'
|
|
1610
1595
|
|
|
1611
1596
|
function MyComponent() {
|
|
1612
|
-
const foo =
|
|
1597
|
+
const foo = 'bar'
|
|
1613
1598
|
return (
|
|
1614
1599
|
<div aria-label={t`Account ${foo}`}>
|
|
1615
1600
|
<Trans>My Translation {foo}</Trans>
|
|
1616
1601
|
</div>
|
|
1617
|
-
)
|
|
1602
|
+
)
|
|
1618
1603
|
}
|
|
1619
1604
|
```
|
|
1620
1605
|
|
|
1621
1606
|
Needs to be replaced with:
|
|
1622
1607
|
|
|
1623
1608
|
```tsx
|
|
1624
|
-
import { Trans } from
|
|
1625
|
-
import { i18n } from
|
|
1609
|
+
import { Trans } from '@lingui/react'
|
|
1610
|
+
import { i18n } from '@lingui/core'
|
|
1626
1611
|
|
|
1627
1612
|
function MyComponent() {
|
|
1628
|
-
const foo =
|
|
1613
|
+
const foo = 'bar'
|
|
1629
1614
|
return (
|
|
1630
1615
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1631
|
-
<Trans key=
|
|
1616
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1632
1617
|
</div>
|
|
1633
|
-
)
|
|
1618
|
+
)
|
|
1634
1619
|
}
|
|
1635
1620
|
```
|
|
1636
1621
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-cart-items",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.0-canary.
|
|
5
|
+
"version": "9.0.0-canary.57",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,18 +12,18 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
|
16
|
-
"@graphcommerce/framer-next-pages": "^9.0.0-canary.
|
|
17
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
|
18
|
-
"@graphcommerce/image": "^9.0.0-canary.
|
|
19
|
-
"@graphcommerce/magento-cart": "^9.0.0-canary.
|
|
20
|
-
"@graphcommerce/magento-customer": "^9.0.0-canary.
|
|
21
|
-
"@graphcommerce/magento-product": "^9.0.0-canary.
|
|
22
|
-
"@graphcommerce/magento-store": "^9.0.0-canary.
|
|
23
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
|
24
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
25
|
-
"@graphcommerce/react-hook-form": "^9.0.0-canary.
|
|
26
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.57",
|
|
16
|
+
"@graphcommerce/framer-next-pages": "^9.0.0-canary.57",
|
|
17
|
+
"@graphcommerce/graphql": "^9.0.0-canary.57",
|
|
18
|
+
"@graphcommerce/image": "^9.0.0-canary.57",
|
|
19
|
+
"@graphcommerce/magento-cart": "^9.0.0-canary.57",
|
|
20
|
+
"@graphcommerce/magento-customer": "^9.0.0-canary.57",
|
|
21
|
+
"@graphcommerce/magento-product": "^9.0.0-canary.57",
|
|
22
|
+
"@graphcommerce/magento-store": "^9.0.0-canary.57",
|
|
23
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.57",
|
|
24
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.57",
|
|
25
|
+
"@graphcommerce/react-hook-form": "^9.0.0-canary.57",
|
|
26
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.57",
|
|
27
27
|
"@lingui/core": "^4.2.1",
|
|
28
28
|
"@lingui/macro": "^4.2.1",
|
|
29
29
|
"@lingui/react": "^4.2.1",
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
"react-dom": "^18.2.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"type-fest": "^4.
|
|
37
|
+
"type-fest": "^4.22.0"
|
|
38
38
|
}
|
|
39
39
|
}
|