@graphcommerce/magento-cart-payment-method 3.3.0 → 3.3.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,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1519](https://github.com/graphcommerce-org/graphcommerce/pull/1519) [`64c7b6b45`](https://github.com/graphcommerce-org/graphcommerce/commit/64c7b6b4595a13110453f98680ffd69f27f2c656) Thanks [@paales](https://github.com/paales)! - mollie_meta should not be in general package
|
|
8
|
+
|
|
3
9
|
## 3.3.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -27,12 +27,11 @@ function PaymentMethodActionCard(
|
|
|
27
27
|
sx?: SxProps<Theme>
|
|
28
28
|
},
|
|
29
29
|
) {
|
|
30
|
-
const { onReset, code, step, Container,
|
|
30
|
+
const { onReset, code, step, Container, sx = [] } = props
|
|
31
31
|
const { selectedMethod, selectedModule, modules } = usePaymentMethodContext()
|
|
32
32
|
|
|
33
33
|
const selectedAndOptions = selectedMethod?.code === code && selectedModule?.PaymentOptions
|
|
34
34
|
const Card = modules[code]?.PaymentActionCard ?? DefaultPaymentActionCard
|
|
35
|
-
const iconSize = useIconSvgSize('large')
|
|
36
35
|
|
|
37
36
|
return (
|
|
38
37
|
<Card
|
|
@@ -43,18 +42,6 @@ function PaymentMethodActionCard(
|
|
|
43
42
|
},
|
|
44
43
|
...(Array.isArray(sx) ? sx : [sx]),
|
|
45
44
|
]}
|
|
46
|
-
image={
|
|
47
|
-
mollie_meta?.image && (
|
|
48
|
-
<Image
|
|
49
|
-
layout='fixed'
|
|
50
|
-
sx={{ width: iconSize, height: iconSize }}
|
|
51
|
-
width={0}
|
|
52
|
-
height={0}
|
|
53
|
-
unoptimized
|
|
54
|
-
src={mollie_meta?.image}
|
|
55
|
-
/>
|
|
56
|
-
)
|
|
57
|
-
}
|
|
58
45
|
action={
|
|
59
46
|
<Button disableRipple variant='inline' color='secondary'>
|
|
60
47
|
<Trans id='Select' />
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-cart-payment-method",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "3.3.
|
|
5
|
+
"version": "3.3.1",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|