@graphcommerce/magento-product-configurable 4.2.2 → 4.2.5
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,5 +1,39 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`9b84a68a1`](https://github.com/graphcommerce-org/graphcommerce/commit/9b84a68a1e7311a79eb687c7dcee905d3000facf)]:
|
|
8
|
+
- @graphcommerce/next-ui@4.23.1
|
|
9
|
+
- @graphcommerce/magento-cart@4.7.4
|
|
10
|
+
- @graphcommerce/magento-cart-items@3.1.4
|
|
11
|
+
- @graphcommerce/magento-category@4.5.4
|
|
12
|
+
- @graphcommerce/magento-customer@4.10.4
|
|
13
|
+
- @graphcommerce/magento-product@4.5.4
|
|
14
|
+
- @graphcommerce/magento-store@4.2.32
|
|
15
|
+
- @graphcommerce/magento-product-simple@4.0.52
|
|
16
|
+
|
|
17
|
+
## 4.2.4
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`396b5de5d`](https://github.com/graphcommerce-org/graphcommerce/commit/396b5de5d50c7b8f59bf636807e7a4b50f14e0b2)]:
|
|
22
|
+
- @graphcommerce/graphql@3.4.8
|
|
23
|
+
- @graphcommerce/magento-cart@4.7.3
|
|
24
|
+
- @graphcommerce/magento-cart-items@3.1.3
|
|
25
|
+
- @graphcommerce/magento-category@4.5.3
|
|
26
|
+
- @graphcommerce/magento-customer@4.10.3
|
|
27
|
+
- @graphcommerce/magento-product@4.5.3
|
|
28
|
+
- @graphcommerce/magento-product-simple@4.0.51
|
|
29
|
+
- @graphcommerce/magento-store@4.2.31
|
|
30
|
+
|
|
31
|
+
## 4.2.3
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- [#1617](https://github.com/graphcommerce-org/graphcommerce/pull/1617) [`b6427e375`](https://github.com/graphcommerce-org/graphcommerce/commit/b6427e37597b2d0970cc0a14556d8517f2754b73) Thanks [@paales](https://github.com/paales)! - Solve issue where the ProductListItemConfigurable would result in a wrong URL
|
|
36
|
+
|
|
3
37
|
## 4.2.2
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
TextInputNumber,
|
|
10
10
|
} from '@graphcommerce/next-ui'
|
|
11
11
|
import { Trans } from '@lingui/react'
|
|
12
|
-
import { Divider, Typography, Alert, Box, SxProps, Theme
|
|
12
|
+
import { Divider, Typography, Alert, Box, SxProps, Theme } from '@mui/material'
|
|
13
13
|
import PageLink from 'next/link'
|
|
14
14
|
import React from 'react'
|
|
15
15
|
import { Selected, useConfigurableContext } from '../ConfigurableContext/ConfigurableContext'
|
|
@@ -62,13 +62,10 @@ export function ProductListItemConfigurable(props: ProdustListItemConfigurablePr
|
|
|
62
62
|
).length,
|
|
63
63
|
)
|
|
64
64
|
|
|
65
|
-
const productProps = matchingVariants?.[0]?.product
|
|
66
|
-
? { ...configurableProduct, ...matchingVariants?.[0]?.product }
|
|
67
|
-
: configurableProduct
|
|
68
|
-
|
|
69
65
|
return (
|
|
70
66
|
<ProductListItem
|
|
71
|
-
{...
|
|
67
|
+
{...configurableProduct}
|
|
68
|
+
small_image={matchingVariants?.[0]?.product?.small_image ?? configurableProduct.small_image}
|
|
72
69
|
topLeft={
|
|
73
70
|
<>
|
|
74
71
|
{topLeft}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-product-configurable",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "4.2.
|
|
5
|
+
"version": "4.2.5",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
"type-fest": "^2.12.2"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@graphcommerce/graphql": "3.4.
|
|
22
|
+
"@graphcommerce/graphql": "3.4.8",
|
|
23
23
|
"@graphcommerce/graphql-mesh": "4.1.9",
|
|
24
24
|
"@graphcommerce/image": "3.1.9",
|
|
25
|
-
"@graphcommerce/magento-cart": "4.7.
|
|
26
|
-
"@graphcommerce/magento-cart-items": "3.1.
|
|
27
|
-
"@graphcommerce/magento-category": "4.5.
|
|
28
|
-
"@graphcommerce/magento-customer": "4.10.
|
|
29
|
-
"@graphcommerce/magento-product": "4.5.
|
|
30
|
-
"@graphcommerce/magento-product-simple": "4.0.
|
|
31
|
-
"@graphcommerce/magento-store": "4.2.
|
|
32
|
-
"@graphcommerce/next-ui": "4.23.
|
|
25
|
+
"@graphcommerce/magento-cart": "4.7.4",
|
|
26
|
+
"@graphcommerce/magento-cart-items": "3.1.4",
|
|
27
|
+
"@graphcommerce/magento-category": "4.5.4",
|
|
28
|
+
"@graphcommerce/magento-customer": "4.10.4",
|
|
29
|
+
"@graphcommerce/magento-product": "4.5.4",
|
|
30
|
+
"@graphcommerce/magento-product-simple": "4.0.52",
|
|
31
|
+
"@graphcommerce/magento-store": "4.2.32",
|
|
32
|
+
"@graphcommerce/next-ui": "4.23.1",
|
|
33
33
|
"@graphcommerce/react-hook-form": "3.3.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|