@graphcommerce/magento-cart-items 9.0.0-canary.56 → 9.0.0-canary.58
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 +29 -42
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.58
|
|
4
|
+
|
|
5
|
+
## 9.0.0-canary.57
|
|
6
|
+
|
|
3
7
|
## 9.0.0-canary.56
|
|
4
8
|
|
|
5
9
|
## 9.0.0-canary.55
|
|
@@ -14,8 +18,7 @@
|
|
|
14
18
|
|
|
15
19
|
### Minor Changes
|
|
16
20
|
|
|
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))
|
|
21
|
+
- [#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
22
|
|
|
20
23
|
## 8.1.0-canary.50
|
|
21
24
|
|
|
@@ -31,8 +34,7 @@
|
|
|
31
34
|
|
|
32
35
|
### Patch Changes
|
|
33
36
|
|
|
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))
|
|
37
|
+
- [#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
38
|
|
|
37
39
|
## 8.1.0-canary.44
|
|
38
40
|
|
|
@@ -86,13 +88,11 @@
|
|
|
86
88
|
|
|
87
89
|
### Minor Changes
|
|
88
90
|
|
|
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))
|
|
91
|
+
- [#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
92
|
|
|
92
93
|
### Patch Changes
|
|
93
94
|
|
|
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))
|
|
95
|
+
- [#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
96
|
|
|
97
97
|
## 8.1.0-canary.19
|
|
98
98
|
|
|
@@ -102,8 +102,7 @@
|
|
|
102
102
|
|
|
103
103
|
### Minor Changes
|
|
104
104
|
|
|
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))
|
|
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. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
107
106
|
|
|
108
107
|
## 8.1.0-canary.16
|
|
109
108
|
|
|
@@ -199,8 +198,7 @@
|
|
|
199
198
|
|
|
200
199
|
### Patch Changes
|
|
201
200
|
|
|
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))
|
|
201
|
+
- [#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
202
|
|
|
205
203
|
## 8.0.1-canary.4
|
|
206
204
|
|
|
@@ -208,8 +206,7 @@
|
|
|
208
206
|
|
|
209
207
|
### Patch Changes
|
|
210
208
|
|
|
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))
|
|
209
|
+
- [#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
210
|
|
|
214
211
|
## 8.0.1-canary.2
|
|
215
212
|
|
|
@@ -221,25 +218,19 @@
|
|
|
221
218
|
|
|
222
219
|
### Minor Changes
|
|
223
220
|
|
|
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))
|
|
221
|
+
- [#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
222
|
|
|
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))
|
|
223
|
+
- [#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
224
|
|
|
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))
|
|
225
|
+
- [#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
226
|
|
|
233
227
|
### Patch Changes
|
|
234
228
|
|
|
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))
|
|
229
|
+
- [#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
230
|
|
|
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))
|
|
231
|
+
- [#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
232
|
|
|
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))
|
|
233
|
+
- [#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
234
|
|
|
244
235
|
## 8.0.0-canary.100
|
|
245
236
|
|
|
@@ -247,8 +238,7 @@
|
|
|
247
238
|
|
|
248
239
|
### Patch Changes
|
|
249
240
|
|
|
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))
|
|
241
|
+
- [#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
242
|
|
|
253
243
|
## 8.0.0-canary.98
|
|
254
244
|
|
|
@@ -258,8 +248,7 @@
|
|
|
258
248
|
|
|
259
249
|
### Patch Changes
|
|
260
250
|
|
|
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))
|
|
251
|
+
- [#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
252
|
|
|
264
253
|
## 8.0.0-canary.95
|
|
265
254
|
|
|
@@ -313,8 +302,7 @@
|
|
|
313
302
|
|
|
314
303
|
### Minor Changes
|
|
315
304
|
|
|
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))
|
|
305
|
+
- [#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
306
|
|
|
319
307
|
## 8.0.0-canary.70
|
|
320
308
|
|
|
@@ -326,8 +314,7 @@
|
|
|
326
314
|
|
|
327
315
|
### Minor Changes
|
|
328
316
|
|
|
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))
|
|
317
|
+
- [#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
318
|
|
|
332
319
|
## 7.1.0-canary.66
|
|
333
320
|
|
|
@@ -1606,31 +1593,31 @@
|
|
|
1606
1593
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1607
1594
|
|
|
1608
1595
|
```tsx
|
|
1609
|
-
import { Trans, t } from
|
|
1596
|
+
import { Trans, t } from '@lingui/macro'
|
|
1610
1597
|
|
|
1611
1598
|
function MyComponent() {
|
|
1612
|
-
const foo =
|
|
1599
|
+
const foo = 'bar'
|
|
1613
1600
|
return (
|
|
1614
1601
|
<div aria-label={t`Account ${foo}`}>
|
|
1615
1602
|
<Trans>My Translation {foo}</Trans>
|
|
1616
1603
|
</div>
|
|
1617
|
-
)
|
|
1604
|
+
)
|
|
1618
1605
|
}
|
|
1619
1606
|
```
|
|
1620
1607
|
|
|
1621
1608
|
Needs to be replaced with:
|
|
1622
1609
|
|
|
1623
1610
|
```tsx
|
|
1624
|
-
import { Trans } from
|
|
1625
|
-
import { i18n } from
|
|
1611
|
+
import { Trans } from '@lingui/react'
|
|
1612
|
+
import { i18n } from '@lingui/core'
|
|
1626
1613
|
|
|
1627
1614
|
function MyComponent() {
|
|
1628
|
-
const foo =
|
|
1615
|
+
const foo = 'bar'
|
|
1629
1616
|
return (
|
|
1630
1617
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1631
|
-
<Trans key=
|
|
1618
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1632
1619
|
</div>
|
|
1633
|
-
)
|
|
1620
|
+
)
|
|
1634
1621
|
}
|
|
1635
1622
|
```
|
|
1636
1623
|
|
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.58",
|
|
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.58",
|
|
16
|
+
"@graphcommerce/framer-next-pages": "^9.0.0-canary.58",
|
|
17
|
+
"@graphcommerce/graphql": "^9.0.0-canary.58",
|
|
18
|
+
"@graphcommerce/image": "^9.0.0-canary.58",
|
|
19
|
+
"@graphcommerce/magento-cart": "^9.0.0-canary.58",
|
|
20
|
+
"@graphcommerce/magento-customer": "^9.0.0-canary.58",
|
|
21
|
+
"@graphcommerce/magento-product": "^9.0.0-canary.58",
|
|
22
|
+
"@graphcommerce/magento-store": "^9.0.0-canary.58",
|
|
23
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.58",
|
|
24
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.58",
|
|
25
|
+
"@graphcommerce/react-hook-form": "^9.0.0-canary.58",
|
|
26
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.58",
|
|
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
|
}
|