@graphcommerce/mollie-magento-payment 3.3.0 → 3.3.3
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 +30 -0
- package/components/MollieActionCard/MollieIdealActionCard.tsx +5 -9
- package/components/MollieOptionsIssuer/MollieIssuerOptions.tsx +2 -2
- package/{components/MollieActionCard/ideal-logo.svg → icons/ideal.svg} +0 -0
- package/methods/{mollie_methods_creditcard.ts → mollie_methods_creditcard.tsx} +0 -0
- package/methods/{mollie_methods_ideal.ts → mollie_methods_ideal.tsx} +2 -1
- package/methods/{mollie_methods_klarnapaylater.ts → mollie_methods_klarnapaylater.tsx} +0 -0
- package/methods/{mollie_methods_paypal.ts → mollie_methods_paypal.tsx} +0 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1524](https://github.com/graphcommerce-org/graphcommerce/pull/1524) [`66559536f`](https://github.com/graphcommerce-org/graphcommerce/commit/66559536f8bb4faf597ae9f2efe4946d7add43c4) Thanks [@paales](https://github.com/paales)! - fix: remove container from mollie issuer, causes double spacing
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`d140fca34`](https://github.com/graphcommerce-org/graphcommerce/commit/d140fca3463b73e761e23fd1d9216305727f0c1a), [`9ec0338df`](https://github.com/graphcommerce-org/graphcommerce/commit/9ec0338dfe34d37b0f2c24e36ffa6ed13ea1145e), [`dae4551b7`](https://github.com/graphcommerce-org/graphcommerce/commit/dae4551b7b8181adc3405fb1ce88eae56495a8a9), [`735b78672`](https://github.com/graphcommerce-org/graphcommerce/commit/735b786724d5401cbe6e88f2515e121a1a0945b2)]:
|
|
10
|
+
- @graphcommerce/magento-cart@4.4.6
|
|
11
|
+
- @graphcommerce/next-ui@4.11.0
|
|
12
|
+
- @graphcommerce/magento-store@4.2.12
|
|
13
|
+
- @graphcommerce/magento-cart-payment-method@3.3.3
|
|
14
|
+
- @graphcommerce/graphql@3.3.0
|
|
15
|
+
|
|
16
|
+
## 3.3.2
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies []:
|
|
21
|
+
- @graphcommerce/magento-cart@4.4.5
|
|
22
|
+
- @graphcommerce/magento-cart-payment-method@3.3.2
|
|
23
|
+
|
|
24
|
+
## 3.3.1
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- [#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
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [[`64c7b6b45`](https://github.com/graphcommerce-org/graphcommerce/commit/64c7b6b4595a13110453f98680ffd69f27f2c656)]:
|
|
31
|
+
- @graphcommerce/magento-cart-payment-method@3.3.1
|
|
32
|
+
|
|
3
33
|
## 3.3.0
|
|
4
34
|
|
|
5
35
|
### Minor Changes
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Image } from '@graphcommerce/image'
|
|
2
2
|
import { PaymentMethodActionCardProps } from '@graphcommerce/magento-cart-payment-method'
|
|
3
3
|
import { ActionCard, useIconSvgSize } from '@graphcommerce/next-ui'
|
|
4
|
-
import idealIcon from './ideal-logo.svg'
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
type MollieActionCardProps = PaymentMethodActionCardProps & { icon: any }
|
|
6
|
+
|
|
7
|
+
export function MollieActionCard(props: MollieActionCardProps) {
|
|
8
|
+
const { mollie_meta, icon } = props
|
|
8
9
|
const iconSize = useIconSvgSize('large')
|
|
9
10
|
|
|
10
11
|
return (
|
|
@@ -12,12 +13,7 @@ export function MollieActionCard(props: PaymentMethodActionCardProps) {
|
|
|
12
13
|
{...props}
|
|
13
14
|
image={
|
|
14
15
|
mollie_meta?.image && (
|
|
15
|
-
<Image
|
|
16
|
-
layout='fixed'
|
|
17
|
-
sx={{ width: iconSize, height: iconSize }}
|
|
18
|
-
unoptimized
|
|
19
|
-
src={idealIcon}
|
|
20
|
-
/>
|
|
16
|
+
<Image layout='fixed' sx={{ width: iconSize, height: iconSize }} unoptimized src={icon} />
|
|
21
17
|
)
|
|
22
18
|
}
|
|
23
19
|
/>
|
|
@@ -30,7 +30,7 @@ export function MollieIssuerOptions(props: MollieIssuerOptionsProps) {
|
|
|
30
30
|
useFormCompose({ form, step, submit, key: `PaymentMethodOptions_${code}` })
|
|
31
31
|
|
|
32
32
|
return (
|
|
33
|
-
|
|
33
|
+
<>
|
|
34
34
|
<form onSubmit={submit} noValidate>
|
|
35
35
|
<FormRow>
|
|
36
36
|
<TextField
|
|
@@ -64,6 +64,6 @@ export function MollieIssuerOptions(props: MollieIssuerOptionsProps) {
|
|
|
64
64
|
</FormRow>
|
|
65
65
|
</form>
|
|
66
66
|
{children}
|
|
67
|
-
|
|
67
|
+
</>
|
|
68
68
|
)
|
|
69
69
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -3,10 +3,11 @@ import { MollieActionCard } from '../components/MollieActionCard/MollieIdealActi
|
|
|
3
3
|
import { MollieIdealOptions } from '../components/MollieOptionsIssuer/MollieIdealOptions'
|
|
4
4
|
import { MolliePaymentHandler } from '../components/MolliePaymentHandler/MolliePaymentHandler'
|
|
5
5
|
import { MolliePlaceOrder } from '../components/MolliePlaceOrder/MolliePlaceOrder'
|
|
6
|
+
import idealIcon from '../icons/ideal.svg'
|
|
6
7
|
|
|
7
8
|
export const mollie_methods_ideal: PaymentModule = {
|
|
8
9
|
PaymentOptions: MollieIdealOptions,
|
|
9
10
|
PaymentPlaceOrder: MolliePlaceOrder,
|
|
10
11
|
PaymentHandler: MolliePaymentHandler,
|
|
11
|
-
PaymentActionCard: MollieActionCard
|
|
12
|
+
PaymentActionCard: (props) => <MollieActionCard {...props} icon={idealIcon} />,
|
|
12
13
|
}
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/mollie-magento-payment",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "3.3.
|
|
5
|
+
"version": "3.3.3",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -13,22 +13,22 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@graphcommerce/eslint-config-pwa": "^4.1.8",
|
|
16
|
-
"@graphcommerce/magento-cart-shipping-address": "3.2.
|
|
17
|
-
"@graphcommerce/magento-product": "4.4.
|
|
18
|
-
"@graphcommerce/magento-product-configurable": "4.1.
|
|
16
|
+
"@graphcommerce/magento-cart-shipping-address": "3.2.2",
|
|
17
|
+
"@graphcommerce/magento-product": "4.4.10",
|
|
18
|
+
"@graphcommerce/magento-product-configurable": "4.1.17",
|
|
19
19
|
"@graphcommerce/prettier-config-pwa": "^4.0.6",
|
|
20
20
|
"@graphcommerce/typescript-config-pwa": "^4.0.3",
|
|
21
21
|
"@playwright/test": "^1.21.1",
|
|
22
22
|
"type-fest": "^2.12.2"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@graphcommerce/graphql": "3.
|
|
25
|
+
"@graphcommerce/graphql": "3.3.0",
|
|
26
26
|
"@graphcommerce/graphql-mesh": "4.1.4",
|
|
27
27
|
"@graphcommerce/image": "3.1.7",
|
|
28
|
-
"@graphcommerce/magento-cart": "4.4.
|
|
29
|
-
"@graphcommerce/magento-cart-payment-method": "3.3.
|
|
30
|
-
"@graphcommerce/magento-store": "4.2.
|
|
31
|
-
"@graphcommerce/next-ui": "4.
|
|
28
|
+
"@graphcommerce/magento-cart": "4.4.6",
|
|
29
|
+
"@graphcommerce/magento-cart-payment-method": "3.3.3",
|
|
30
|
+
"@graphcommerce/magento-store": "4.2.12",
|
|
31
|
+
"@graphcommerce/next-ui": "4.11.0",
|
|
32
32
|
"@graphcommerce/react-hook-form": "3.2.2"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|