@graphcommerce/magento-payment-included 3.0.27 → 3.1.2

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,34 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @graphcommerce/magento-cart@4.4.5
9
+ - @graphcommerce/magento-cart-payment-method@3.3.2
10
+
11
+ ## 3.1.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`64c7b6b45`](https://github.com/graphcommerce-org/graphcommerce/commit/64c7b6b4595a13110453f98680ffd69f27f2c656)]:
16
+ - @graphcommerce/magento-cart-payment-method@3.3.1
17
+
18
+ ## 3.1.0
19
+
20
+ ### Minor Changes
21
+
22
+ - [#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
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [[`371e6cf52`](https://github.com/graphcommerce-org/graphcommerce/commit/371e6cf52916a3b6c44192bd40cc8271bd608832), [`4143483f3`](https://github.com/graphcommerce-org/graphcommerce/commit/4143483f37c038d2bbf218be2685e27a31a35745)]:
27
+ - @graphcommerce/next-ui@4.10.0
28
+ - @graphcommerce/magento-cart-payment-method@3.3.0
29
+ - @graphcommerce/magento-cart@4.4.4
30
+ - @graphcommerce/magento-store@4.2.11
31
+
3
32
  ## 3.0.27
4
33
 
5
34
  ### 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.27",
5
+ "version": "3.1.2",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@graphcommerce/eslint-config-pwa": "^4.1.8",
16
- "@graphcommerce/magento-cart-shipping-address": "3.1.0",
17
- "@graphcommerce/magento-product": "4.4.7",
18
- "@graphcommerce/magento-product-configurable": "4.1.14",
16
+ "@graphcommerce/magento-cart-shipping-address": "3.2.1",
17
+ "@graphcommerce/magento-product": "4.4.9",
18
+ "@graphcommerce/magento-product-configurable": "4.1.16",
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",
@@ -24,10 +24,10 @@
24
24
  "dependencies": {
25
25
  "@graphcommerce/graphql": "3.2.1",
26
26
  "@graphcommerce/image": "3.1.7",
27
- "@graphcommerce/magento-cart": "4.4.3",
28
- "@graphcommerce/magento-cart-payment-method": "3.2.0",
29
- "@graphcommerce/magento-store": "4.2.10",
30
- "@graphcommerce/next-ui": "4.9.0",
27
+ "@graphcommerce/magento-cart": "4.4.5",
28
+ "@graphcommerce/magento-cart-payment-method": "3.3.2",
29
+ "@graphcommerce/magento-store": "4.2.11",
30
+ "@graphcommerce/next-ui": "4.10.0",
31
31
  "@graphcommerce/react-hook-form": "3.2.2"
32
32
  },
33
33
  "peerDependencies": {