@graphcommerce/magento-cart-items 9.0.0-canary.55 → 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 +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.57
|
|
4
|
+
|
|
5
|
+
## 9.0.0-canary.56
|
|
6
|
+
|
|
3
7
|
## 9.0.0-canary.55
|
|
4
8
|
|
|
5
9
|
## 9.0.0-canary.54
|
|
@@ -12,8 +16,7 @@
|
|
|
12
16
|
|
|
13
17
|
### Minor Changes
|
|
14
18
|
|
|
15
|
-
- [#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
|
|
16
|
-
([@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))
|
|
17
20
|
|
|
18
21
|
## 8.1.0-canary.50
|
|
19
22
|
|
|
@@ -29,8 +32,7 @@
|
|
|
29
32
|
|
|
30
33
|
### Patch Changes
|
|
31
34
|
|
|
32
|
-
- [#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
|
|
33
|
-
([@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))
|
|
34
36
|
|
|
35
37
|
## 8.1.0-canary.44
|
|
36
38
|
|
|
@@ -84,13 +86,11 @@
|
|
|
84
86
|
|
|
85
87
|
### Minor Changes
|
|
86
88
|
|
|
87
|
-
- [#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
|
|
88
|
-
([@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))
|
|
89
90
|
|
|
90
91
|
### Patch Changes
|
|
91
92
|
|
|
92
|
-
- [#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.
|
|
93
|
-
([@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))
|
|
94
94
|
|
|
95
95
|
## 8.1.0-canary.19
|
|
96
96
|
|
|
@@ -100,8 +100,7 @@
|
|
|
100
100
|
|
|
101
101
|
### Minor Changes
|
|
102
102
|
|
|
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.
|
|
104
|
-
([@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))
|
|
105
104
|
|
|
106
105
|
## 8.1.0-canary.16
|
|
107
106
|
|
|
@@ -197,8 +196,7 @@
|
|
|
197
196
|
|
|
198
197
|
### Patch Changes
|
|
199
198
|
|
|
200
|
-
- [#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.
|
|
201
|
-
([@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))
|
|
202
200
|
|
|
203
201
|
## 8.0.1-canary.4
|
|
204
202
|
|
|
@@ -206,8 +204,7 @@
|
|
|
206
204
|
|
|
207
205
|
### Patch Changes
|
|
208
206
|
|
|
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.
|
|
210
|
-
([@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))
|
|
211
208
|
|
|
212
209
|
## 8.0.1-canary.2
|
|
213
210
|
|
|
@@ -219,25 +216,19 @@
|
|
|
219
216
|
|
|
220
217
|
### Minor Changes
|
|
221
218
|
|
|
222
|
-
- [#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.
|
|
223
|
-
([@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))
|
|
224
220
|
|
|
225
|
-
- [#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.
|
|
226
|
-
([@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))
|
|
227
222
|
|
|
228
|
-
- [#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.
|
|
229
|
-
([@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))
|
|
230
224
|
|
|
231
225
|
### Patch Changes
|
|
232
226
|
|
|
233
|
-
- [#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/>`.
|
|
234
|
-
([@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))
|
|
235
228
|
|
|
236
|
-
- [#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.
|
|
237
|
-
([@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))
|
|
238
230
|
|
|
239
|
-
- [#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
|
|
240
|
-
([@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))
|
|
241
232
|
|
|
242
233
|
## 8.0.0-canary.100
|
|
243
234
|
|
|
@@ -245,8 +236,7 @@
|
|
|
245
236
|
|
|
246
237
|
### Patch Changes
|
|
247
238
|
|
|
248
|
-
- [#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.
|
|
249
|
-
([@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))
|
|
250
240
|
|
|
251
241
|
## 8.0.0-canary.98
|
|
252
242
|
|
|
@@ -256,8 +246,7 @@
|
|
|
256
246
|
|
|
257
247
|
### Patch Changes
|
|
258
248
|
|
|
259
|
-
- [#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/>`.
|
|
260
|
-
([@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))
|
|
261
250
|
|
|
262
251
|
## 8.0.0-canary.95
|
|
263
252
|
|
|
@@ -311,8 +300,7 @@
|
|
|
311
300
|
|
|
312
301
|
### Minor Changes
|
|
313
302
|
|
|
314
|
-
- [#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
|
|
315
|
-
([@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))
|
|
316
304
|
|
|
317
305
|
## 8.0.0-canary.70
|
|
318
306
|
|
|
@@ -324,8 +312,7 @@
|
|
|
324
312
|
|
|
325
313
|
### Minor Changes
|
|
326
314
|
|
|
327
|
-
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`b9ab035`](https://github.com/graphcommerce-org/graphcommerce/commit/b9ab035893fd0fbbe747333973d0bb1948e5d846) - Add crosssells to cart
|
|
328
|
-
([@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))
|
|
329
316
|
|
|
330
317
|
## 7.1.0-canary.66
|
|
331
318
|
|
|
@@ -1604,31 +1591,31 @@
|
|
|
1604
1591
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1605
1592
|
|
|
1606
1593
|
```tsx
|
|
1607
|
-
import { Trans, t } from
|
|
1594
|
+
import { Trans, t } from '@lingui/macro'
|
|
1608
1595
|
|
|
1609
1596
|
function MyComponent() {
|
|
1610
|
-
const foo =
|
|
1597
|
+
const foo = 'bar'
|
|
1611
1598
|
return (
|
|
1612
1599
|
<div aria-label={t`Account ${foo}`}>
|
|
1613
1600
|
<Trans>My Translation {foo}</Trans>
|
|
1614
1601
|
</div>
|
|
1615
|
-
)
|
|
1602
|
+
)
|
|
1616
1603
|
}
|
|
1617
1604
|
```
|
|
1618
1605
|
|
|
1619
1606
|
Needs to be replaced with:
|
|
1620
1607
|
|
|
1621
1608
|
```tsx
|
|
1622
|
-
import { Trans } from
|
|
1623
|
-
import { i18n } from
|
|
1609
|
+
import { Trans } from '@lingui/react'
|
|
1610
|
+
import { i18n } from '@lingui/core'
|
|
1624
1611
|
|
|
1625
1612
|
function MyComponent() {
|
|
1626
|
-
const foo =
|
|
1613
|
+
const foo = 'bar'
|
|
1627
1614
|
return (
|
|
1628
1615
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1629
|
-
<Trans key=
|
|
1616
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1630
1617
|
</div>
|
|
1631
|
-
)
|
|
1618
|
+
)
|
|
1632
1619
|
}
|
|
1633
1620
|
```
|
|
1634
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
|
}
|