@graphcommerce/magento-payment-included 2.105.47 → 3.0.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,74 +1,112 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
8
+ Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
9
+ so that the packages link to back to the website and repository
10
+ - Updated dependencies
11
+ [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
12
+ - @graphcommerce/graphql@3.0.1
13
+ - @graphcommerce/image@3.0.1
14
+ - @graphcommerce/magento-cart@4.0.1
15
+ - @graphcommerce/magento-cart-payment-method@3.0.1
16
+ - @graphcommerce/magento-store@4.0.1
17
+ - @graphcommerce/next-ui@4.0.1
18
+ - @graphcommerce/react-hook-form@3.0.1
19
+
20
+ ## 3.0.0
21
+
22
+ ### Major Changes
23
+
24
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
25
+ [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
26
+ Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies
31
+ [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
32
+ - @graphcommerce/graphql@3.0.0
33
+ - @graphcommerce/image@3.0.0
34
+ - @graphcommerce/magento-cart@4.0.0
35
+ - @graphcommerce/magento-cart-payment-method@3.0.0
36
+ - @graphcommerce/magento-store@4.0.0
37
+ - @graphcommerce/next-ui@4.0.0
38
+ - @graphcommerce/react-hook-form@3.0.0
5
39
 
6
- # [2.105.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.104.32...@graphcommerce/magento-payment-included@2.105.0) (2021-11-12)
40
+ All notable changes to this project will be documented in this file. See
41
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
42
 
43
+ # [2.105.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.104.32...@graphcommerce/magento-payment-included@2.105.0) (2021-11-12)
8
44
 
9
45
  ### Features
10
46
 
11
- * added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
12
-
13
-
14
-
15
-
47
+ - added tons of translations
48
+ ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
16
49
 
17
50
  # [2.104.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.103.39...@graphcommerce/magento-payment-included@2.104.0) (2021-10-27)
18
51
 
19
-
20
52
  ### Features
21
53
 
22
- * **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
23
-
24
-
25
-
26
-
54
+ - **nextjs:** upgraded to nextjs 12
55
+ ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
27
56
 
28
57
  ## [2.103.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-payment-included@2.103.0...@graphcommerce/magento-payment-included@2.103.1) (2021-09-27)
29
58
 
30
59
  **Note:** Version bump only for package @graphcommerce/magento-payment-included
31
60
 
32
-
33
-
34
-
35
-
36
61
  # 2.103.0 (2021-09-27)
37
62
 
38
-
39
63
  ### Bug Fixes
40
64
 
41
- * **checkout:** purchaseorder and other build in methods wouldnt properly submit ([331cb8e](https://github.com/ho-nl/m2-pwa/commit/331cb8e2bed58c14cd41fceeab03e2cdfbe7e6a9))
42
- * ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
43
- * implement next-ui barrel imports ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
44
- * paymentDone removed in favor of a more simple clearCart method ([5314f77](https://github.com/ho-nl/m2-pwa/commit/5314f7752c2f75a55dcd926bfc26607124561e5d))
45
- * **playwright:** checkout button was renamed ([09e5b79](https://github.com/ho-nl/m2-pwa/commit/09e5b79333708cfac04232d8071d1dad72968297))
46
-
65
+ - **checkout:** purchaseorder and other build in methods wouldnt properly submit
66
+ ([331cb8e](https://github.com/ho-nl/m2-pwa/commit/331cb8e2bed58c14cd41fceeab03e2cdfbe7e6a9))
67
+ - ignore md files from triggering version updates
68
+ ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
69
+ - implement next-ui barrel imports
70
+ ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
71
+ - paymentDone removed in favor of a more simple clearCart method
72
+ ([5314f77](https://github.com/ho-nl/m2-pwa/commit/5314f7752c2f75a55dcd926bfc26607124561e5d))
73
+ - **playwright:** checkout button was renamed
74
+ ([09e5b79](https://github.com/ho-nl/m2-pwa/commit/09e5b79333708cfac04232d8071d1dad72968297))
47
75
 
48
76
  ### Features
49
77
 
50
- * **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
51
- * **image:** introduced completely rewritten Image component ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
52
- * implemented checkmo payment method ([18525b2](https://github.com/ho-nl/m2-pwa/commit/18525b2f4efe9bd0eea12a7a992d284f341e0c68))
53
- * implemented purchase order ([3a40033](https://github.com/ho-nl/m2-pwa/commit/3a40033cd4d6712a17bb9c41a8841ebf7aa2f025))
54
- * **mollie:** first version of mollie payment methods ([e2f7d78](https://github.com/ho-nl/m2-pwa/commit/e2f7d78e50a9afe928f1d8c478f946e03c63b0f2))
55
- * next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
56
- * only show free payment method when zero subtotal quote ([fd3ba86](https://github.com/ho-nl/m2-pwa/commit/fd3ba86d3060ebe7dc72ce27fca21464b46b4392))
57
- * **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
58
- * **react-hook-form:** added buttonState to ComposedSubmit ([57e77c2](https://github.com/ho-nl/m2-pwa/commit/57e77c29f17720f7f3ee3b63be82779c0e5d8714))
59
- * renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
60
- * solve issue where the order couldn’t be submitted ([ec0d357](https://github.com/ho-nl/m2-pwa/commit/ec0d3579a1277976e2dc515f420996cf716f83a6))
61
- * upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
62
- * useFormMutationCart and simpler imports ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
63
-
78
+ - **graphql:** introduced new graphql package that holds all generated files
79
+ ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
80
+ - **image:** introduced completely rewritten Image component
81
+ ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
82
+ - implemented checkmo payment method
83
+ ([18525b2](https://github.com/ho-nl/m2-pwa/commit/18525b2f4efe9bd0eea12a7a992d284f341e0c68))
84
+ - implemented purchase order
85
+ ([3a40033](https://github.com/ho-nl/m2-pwa/commit/3a40033cd4d6712a17bb9c41a8841ebf7aa2f025))
86
+ - **mollie:** first version of mollie payment methods
87
+ ([e2f7d78](https://github.com/ho-nl/m2-pwa/commit/e2f7d78e50a9afe928f1d8c478f946e03c63b0f2))
88
+ - next.js 11
89
+ ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
90
+ - only show free payment method when zero subtotal quote
91
+ ([fd3ba86](https://github.com/ho-nl/m2-pwa/commit/fd3ba86d3060ebe7dc72ce27fca21464b46b4392))
92
+ - **playwright:** added new playwright package to enable browser testing
93
+ ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
94
+ - **react-hook-form:** added buttonState to ComposedSubmit
95
+ ([57e77c2](https://github.com/ho-nl/m2-pwa/commit/57e77c29f17720f7f3ee3b63be82779c0e5d8714))
96
+ - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
97
+ [@reachdigital](https://github.com/reachdigital)
98
+ ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
99
+ - solve issue where the order couldn’t be submitted
100
+ ([ec0d357](https://github.com/ho-nl/m2-pwa/commit/ec0d3579a1277976e2dc515f420996cf716f83a6))
101
+ - upgraded to nextjs 11
102
+ ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
103
+ - useFormMutationCart and simpler imports
104
+ ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
64
105
 
65
106
  ### Reverts
66
107
 
67
- * Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
68
-
69
-
70
-
71
-
108
+ - Revert "chore: upgrade @apollo/client"
109
+ ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
72
110
 
73
111
  # Change Log
74
112
 
@@ -2,12 +2,13 @@ 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 { TextField, Typography } from '@material-ui/core'
5
+ import { Trans } from '@lingui/macro'
6
+ import { TextField, Typography } from '@mui/material'
6
7
  import React from 'react'
7
8
  import { PurchaseOrderOptionsDocument } from './PurchaseOrderOptions.gql'
8
9
 
9
10
  function PurchaseOrderOptions(props: PaymentOptionsProps) {
10
- const { code, step, selected, Container, title } = props
11
+ const { code, step, selected, Container, title = '' } = props
11
12
  const poNumber = selected?.purchase_order_number ?? undefined
12
13
 
13
14
  const form = useFormGqlMutationCart(PurchaseOrderOptionsDocument, {
@@ -23,7 +24,7 @@ function PurchaseOrderOptions(props: PaymentOptionsProps) {
23
24
  return (
24
25
  <Container>
25
26
  <Typography variant='h5' component='span'>
26
- Pay with {title}
27
+ <Trans>Pay with {title}</Trans>
27
28
  </Typography>
28
29
  <form onSubmit={submit} noValidate>
29
30
  <FormRow>
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-payment-included",
3
- "version": "2.105.47",
3
+ "homepage": "https://www.graphcommerce.org/",
4
+ "repository": "github:graphcommerce-org/graphcommerce",
5
+ "version": "3.0.1",
4
6
  "sideEffects": false,
5
7
  "prettier": "@graphcommerce/prettier-config-pwa",
6
- "browserslist": [
7
- "extends @graphcommerce/browserslist-config-pwa"
8
- ],
9
8
  "eslintConfig": {
10
9
  "extends": "@graphcommerce/eslint-config-pwa",
11
10
  "parserOptions": {
@@ -13,33 +12,28 @@
13
12
  }
14
13
  },
15
14
  "devDependencies": {
16
- "@graphcommerce/browserslist-config-pwa": "^3.0.3",
17
- "@graphcommerce/eslint-config-pwa": "^3.1.10",
18
- "@graphcommerce/magento-cart-shipping-address": "^2.106.46",
19
- "@graphcommerce/magento-product": "^3.8.12",
20
- "@graphcommerce/magento-product-configurable": "^3.6.42",
21
- "@graphcommerce/prettier-config-pwa": "^3.0.5",
22
- "@graphcommerce/typescript-config-pwa": "^3.1.2",
23
- "@playwright/test": "^1.17.1"
15
+ "@graphcommerce/eslint-config-pwa": "^4.0.1",
16
+ "@graphcommerce/magento-cart-shipping-address": "^3.0.1",
17
+ "@graphcommerce/magento-product": "^4.0.1",
18
+ "@graphcommerce/magento-product-configurable": "^4.0.1",
19
+ "@graphcommerce/prettier-config-pwa": "^4.0.1",
20
+ "@graphcommerce/typescript-config-pwa": "^4.0.1",
21
+ "@playwright/test": "^1.18.1"
24
22
  },
25
23
  "dependencies": {
26
- "@apollo/client": "^3.5.6",
27
- "@graphcommerce/graphql": "^2.105.13",
28
- "@graphcommerce/image": "^2.105.13",
29
- "@graphcommerce/magento-cart": "^3.10.2",
30
- "@graphcommerce/magento-cart-payment-method": "^2.111.46",
31
- "@graphcommerce/magento-store": "^3.4.11",
32
- "@graphcommerce/next-ui": "^3.25.2",
33
- "@graphcommerce/react-hook-form": "^2.104.7",
34
- "@lingui/macro": "^3.13.0",
35
- "@material-ui/core": "^4.12.3",
36
- "@material-ui/lab": "^4.0.0-alpha.60",
37
- "clsx": "^1.1.1",
38
- "framer-motion": "^5.5.5",
39
- "next": "^12.0.7",
24
+ "@graphcommerce/graphql": "^3.0.1",
25
+ "@graphcommerce/image": "^3.0.1",
26
+ "@graphcommerce/magento-cart": "^4.0.1",
27
+ "@graphcommerce/magento-cart-payment-method": "^3.0.1",
28
+ "@graphcommerce/magento-store": "^4.0.1",
29
+ "@graphcommerce/next-ui": "^4.0.1",
30
+ "@graphcommerce/react-hook-form": "^3.0.1",
31
+ "@lingui/macro": "^3.13.2",
32
+ "@mui/material": "^5.4.1",
33
+ "framer-motion": "^6.2.4",
34
+ "next": "^12.0.10",
40
35
  "react": "^17.0.2",
41
36
  "react-dom": "^17.0.2",
42
- "type-fest": "^2.8.0"
43
- },
44
- "gitHead": "110ddb032ee3ce6e363b9f5f7d21af71fb51b527"
37
+ "type-fest": "^2.11.2"
38
+ }
45
39
  }