@graphcommerce/magento-payment-included 3.0.26 → 3.1.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 +36 -0
- package/PurchaseOrder/PurchaseOrderOptions.tsx +3 -7
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`64c7b6b45`](https://github.com/graphcommerce-org/graphcommerce/commit/64c7b6b4595a13110453f98680ffd69f27f2c656)]:
|
|
8
|
+
- @graphcommerce/magento-cart-payment-method@3.3.1
|
|
9
|
+
|
|
10
|
+
## 3.1.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [#1518](https://github.com/graphcommerce-org/graphcommerce/pull/1518) [`4143483f3`](https://github.com/graphcommerce-org/graphcommerce/commit/4143483f37c038d2bbf218be2685e27a31a35745) Thanks [@mikekeehnen](https://github.com/mikekeehnen)! - New ActionCardListForm implementation for Payment Methods
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`371e6cf52`](https://github.com/graphcommerce-org/graphcommerce/commit/371e6cf52916a3b6c44192bd40cc8271bd608832), [`4143483f3`](https://github.com/graphcommerce-org/graphcommerce/commit/4143483f37c038d2bbf218be2685e27a31a35745)]:
|
|
19
|
+
- @graphcommerce/next-ui@4.10.0
|
|
20
|
+
- @graphcommerce/magento-cart-payment-method@3.3.0
|
|
21
|
+
- @graphcommerce/magento-cart@4.4.4
|
|
22
|
+
- @graphcommerce/magento-store@4.2.11
|
|
23
|
+
|
|
24
|
+
## 3.0.27
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- [#1490](https://github.com/graphcommerce-org/graphcommerce/pull/1490) [`d311ef48b`](https://github.com/graphcommerce-org/graphcommerce/commit/d311ef48bb3e97806d992af5516d6b7f183ec9cb) Thanks [@paales](https://github.com/paales)! - upgraded packages
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [[`a2b4d7804`](https://github.com/graphcommerce-org/graphcommerce/commit/a2b4d78046a55d70194bd8bcd1efa499d5a73b74), [`a9213f1f5`](https://github.com/graphcommerce-org/graphcommerce/commit/a9213f1f5a410d217768386ccb6d9b5ce7bd5782), [`d311ef48b`](https://github.com/graphcommerce-org/graphcommerce/commit/d311ef48bb3e97806d992af5516d6b7f183ec9cb)]:
|
|
31
|
+
- @graphcommerce/magento-cart-payment-method@3.2.0
|
|
32
|
+
- @graphcommerce/next-ui@4.9.0
|
|
33
|
+
- @graphcommerce/graphql@3.2.1
|
|
34
|
+
- @graphcommerce/image@3.1.7
|
|
35
|
+
- @graphcommerce/magento-cart@4.4.3
|
|
36
|
+
- @graphcommerce/magento-store@4.2.10
|
|
37
|
+
- @graphcommerce/react-hook-form@3.2.2
|
|
38
|
+
|
|
3
39
|
## 3.0.26
|
|
4
40
|
|
|
5
41
|
### Patch Changes
|
|
@@ -2,13 +2,12 @@ import { useFormGqlMutationCart } from '@graphcommerce/magento-cart'
|
|
|
2
2
|
import { PaymentOptionsProps } from '@graphcommerce/magento-cart-payment-method'
|
|
3
3
|
import { FormRow, InputCheckmark } from '@graphcommerce/next-ui'
|
|
4
4
|
import { useFormCompose, useFormValidFields } from '@graphcommerce/react-hook-form'
|
|
5
|
-
import {
|
|
6
|
-
import { TextField, Typography } from '@mui/material'
|
|
5
|
+
import { TextField } from '@mui/material'
|
|
7
6
|
import { PurchaseOrderOptionsDocument } from './PurchaseOrderOptions.gql'
|
|
8
7
|
|
|
9
8
|
export function PurchaseOrderOptions(props: PaymentOptionsProps) {
|
|
10
|
-
const { code, step,
|
|
11
|
-
const poNumber =
|
|
9
|
+
const { code, step, selectedPm, Container } = props
|
|
10
|
+
const poNumber = selectedPm?.purchase_order_number ?? undefined
|
|
12
11
|
|
|
13
12
|
const form = useFormGqlMutationCart(PurchaseOrderOptionsDocument, {
|
|
14
13
|
defaultValues: { code, poNumber },
|
|
@@ -21,9 +20,6 @@ export function PurchaseOrderOptions(props: PaymentOptionsProps) {
|
|
|
21
20
|
|
|
22
21
|
return (
|
|
23
22
|
<Container>
|
|
24
|
-
<Typography variant='h5' component='span'>
|
|
25
|
-
<Trans id='Pay with {title}' values={{ title }} />
|
|
26
|
-
</Typography>
|
|
27
23
|
<form onSubmit={submit} noValidate>
|
|
28
24
|
<FormRow>
|
|
29
25
|
<TextField
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-payment-included",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.1.1",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,31 +12,31 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^4.1.
|
|
16
|
-
"@graphcommerce/magento-cart-shipping-address": "3.0
|
|
17
|
-
"@graphcommerce/magento-product": "4.4.
|
|
18
|
-
"@graphcommerce/magento-product-configurable": "4.1.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^4.1.8",
|
|
16
|
+
"@graphcommerce/magento-cart-shipping-address": "3.2.0",
|
|
17
|
+
"@graphcommerce/magento-product": "4.4.8",
|
|
18
|
+
"@graphcommerce/magento-product-configurable": "4.1.15",
|
|
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.2.
|
|
26
|
-
"@graphcommerce/image": "3.1.
|
|
27
|
-
"@graphcommerce/magento-cart": "4.4.
|
|
28
|
-
"@graphcommerce/magento-cart-payment-method": "3.1
|
|
29
|
-
"@graphcommerce/magento-store": "4.2.
|
|
30
|
-
"@graphcommerce/next-ui": "4.
|
|
31
|
-
"@graphcommerce/react-hook-form": "3.2.
|
|
25
|
+
"@graphcommerce/graphql": "3.2.1",
|
|
26
|
+
"@graphcommerce/image": "3.1.7",
|
|
27
|
+
"@graphcommerce/magento-cart": "4.4.4",
|
|
28
|
+
"@graphcommerce/magento-cart-payment-method": "3.3.1",
|
|
29
|
+
"@graphcommerce/magento-store": "4.2.11",
|
|
30
|
+
"@graphcommerce/next-ui": "4.10.0",
|
|
31
|
+
"@graphcommerce/react-hook-form": "3.2.2"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@lingui/react": "^3.13.2",
|
|
35
35
|
"@lingui/core": "^3.13.2",
|
|
36
36
|
"@mui/material": "5.5.3",
|
|
37
37
|
"framer-motion": "^6.2.4",
|
|
38
|
-
"next": "12.1.2",
|
|
39
|
-
"react": "^
|
|
40
|
-
"react-dom": "^
|
|
38
|
+
"next": "^12.1.2",
|
|
39
|
+
"react": "^18.0.0",
|
|
40
|
+
"react-dom": "^18.0.0"
|
|
41
41
|
}
|
|
42
42
|
}
|