@graphcommerce/magento-payment-included 3.0.25 → 3.1.0

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,44 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#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
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`371e6cf52`](https://github.com/graphcommerce-org/graphcommerce/commit/371e6cf52916a3b6c44192bd40cc8271bd608832), [`4143483f3`](https://github.com/graphcommerce-org/graphcommerce/commit/4143483f37c038d2bbf218be2685e27a31a35745)]:
12
+ - @graphcommerce/next-ui@4.10.0
13
+ - @graphcommerce/magento-cart-payment-method@3.3.0
14
+ - @graphcommerce/magento-cart@4.4.4
15
+ - @graphcommerce/magento-store@4.2.11
16
+
17
+ ## 3.0.27
18
+
19
+ ### Patch Changes
20
+
21
+ - [#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
22
+
23
+ - 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)]:
24
+ - @graphcommerce/magento-cart-payment-method@3.2.0
25
+ - @graphcommerce/next-ui@4.9.0
26
+ - @graphcommerce/graphql@3.2.1
27
+ - @graphcommerce/image@3.1.7
28
+ - @graphcommerce/magento-cart@4.4.3
29
+ - @graphcommerce/magento-store@4.2.10
30
+ - @graphcommerce/react-hook-form@3.2.2
31
+
32
+ ## 3.0.26
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies [[`0ab7c5465`](https://github.com/graphcommerce-org/graphcommerce/commit/0ab7c5465441cba9bf8cd185a6790ce2f443f4ed)]:
37
+ - @graphcommerce/next-ui@4.8.4
38
+ - @graphcommerce/magento-cart@4.4.2
39
+ - @graphcommerce/magento-cart-payment-method@3.1.19
40
+ - @graphcommerce/magento-store@4.2.9
41
+
3
42
  ## 3.0.25
4
43
 
5
44
  ### 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 { Trans } from '@lingui/react'
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, selected, Container, title = '' } = props
11
- const poNumber = selected?.purchase_order_number ?? undefined
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.0.25",
5
+ "version": "3.1.0",
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.7",
16
- "@graphcommerce/magento-cart-shipping-address": "3.0.26",
17
- "@graphcommerce/magento-product": "4.4.5",
18
- "@graphcommerce/magento-product-configurable": "4.1.12",
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.0",
26
- "@graphcommerce/image": "3.1.6",
27
- "@graphcommerce/magento-cart": "4.4.1",
28
- "@graphcommerce/magento-cart-payment-method": "3.1.18",
29
- "@graphcommerce/magento-store": "4.2.8",
30
- "@graphcommerce/next-ui": "4.8.3",
31
- "@graphcommerce/react-hook-form": "3.2.1"
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.0",
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": "^17.0.2",
40
- "react-dom": "^17.0.2"
38
+ "next": "^12.1.2",
39
+ "react": "^18.0.0",
40
+ "react-dom": "^18.0.0"
41
41
  }
42
42
  }