@graphcommerce/magento-cart-shipping-address 2.106.47 → 3.0.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,90 +1,160 @@
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.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
8
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
9
+ Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
10
+ `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
11
+ duplicate packages in the node_modules folders.
12
+
13
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
14
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
15
+ Thanks [@paales](https://github.com/paales)! - Upgraded to
16
+ [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
17
+ implementing
18
+ [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
19
+ soon.
20
+
21
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
22
+ frontend to be able to revalidate pages manually.
23
+
24
+ * Updated dependencies
25
+ [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
26
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
27
+ [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
28
+ [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
29
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d),
30
+ [`5a4809b1a`](https://github.com/ho-nl/m2-pwa/commit/5a4809b1a705aa32f620f520085df48ee25f9949)]:
31
+ - @graphcommerce/magento-cart@4.1.1
32
+ - @graphcommerce/magento-customer@4.1.1
33
+ - @graphcommerce/next-ui@4.1.1
34
+ - @graphcommerce/react-hook-form@3.0.2
35
+ - @graphcommerce/graphql@3.0.2
36
+ - @graphcommerce/image@3.0.2
37
+ - @graphcommerce/magento-store@4.0.2
38
+
39
+ ## 3.0.1
40
+
41
+ ### Patch Changes
42
+
43
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
44
+ Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
45
+ so that the packages link to back to the website and repository
46
+ - Updated dependencies
47
+ [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
48
+ - @graphcommerce/graphql@3.0.1
49
+ - @graphcommerce/image@3.0.1
50
+ - @graphcommerce/magento-cart@4.0.1
51
+ - @graphcommerce/magento-customer@4.0.1
52
+ - @graphcommerce/magento-store@4.0.1
53
+ - @graphcommerce/next-ui@4.0.1
54
+ - @graphcommerce/react-hook-form@3.0.1
55
+
56
+ ## 3.0.0
57
+
58
+ ### Major Changes
59
+
60
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
61
+ [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
62
+ Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies
67
+ [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
68
+ - @graphcommerce/graphql@3.0.0
69
+ - @graphcommerce/image@3.0.0
70
+ - @graphcommerce/magento-cart@4.0.0
71
+ - @graphcommerce/magento-customer@4.0.0
72
+ - @graphcommerce/magento-store@4.0.0
73
+ - @graphcommerce/next-ui@4.0.0
74
+ - @graphcommerce/react-hook-form@3.0.0
5
75
 
6
- # [2.106.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-address@2.105.31...@graphcommerce/magento-cart-shipping-address@2.106.0) (2021-11-12)
76
+ All notable changes to this project will be documented in this file. See
77
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
78
 
79
+ # [2.106.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-address@2.105.31...@graphcommerce/magento-cart-shipping-address@2.106.0) (2021-11-12)
8
80
 
9
81
  ### Bug Fixes
10
82
 
11
- * even more translations ([1a1f988](https://github.com/ho-nl/m2-pwa/commit/1a1f98837c704b978f6b42b619d9c52f540b2d48))
12
-
83
+ - even more translations
84
+ ([1a1f988](https://github.com/ho-nl/m2-pwa/commit/1a1f98837c704b978f6b42b619d9c52f540b2d48))
13
85
 
14
86
  ### Features
15
87
 
16
- * added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
17
-
18
-
19
-
20
-
88
+ - added tons of translations
89
+ ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
21
90
 
22
91
  # [2.105.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-address@2.104.3...@graphcommerce/magento-cart-shipping-address@2.105.0) (2021-10-27)
23
92
 
24
-
25
93
  ### Features
26
94
 
27
- * **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
28
-
29
-
30
-
31
-
95
+ - **nextjs:** upgraded to nextjs 12
96
+ ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
32
97
 
33
98
  # [2.104.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-address@2.103.33...@graphcommerce/magento-cart-shipping-address@2.104.0) (2021-10-21)
34
99
 
35
-
36
100
  ### Features
37
101
 
38
- * ability to change shipping address after changing the billing address ([101f11a](https://github.com/ho-nl/m2-pwa/commit/101f11a6472cd6e72e08152cec961df47411f310))
39
-
40
-
41
-
42
-
102
+ - ability to change shipping address after changing the billing address
103
+ ([101f11a](https://github.com/ho-nl/m2-pwa/commit/101f11a6472cd6e72e08152cec961df47411f310))
43
104
 
44
105
  ## [2.103.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-address@2.103.0...@graphcommerce/magento-cart-shipping-address@2.103.1) (2021-09-27)
45
106
 
46
107
  **Note:** Version bump only for package @graphcommerce/magento-cart-shipping-address
47
108
 
48
-
49
-
50
-
51
-
52
109
  # 2.103.0 (2021-09-27)
53
110
 
54
-
55
111
  ### Bug Fixes
56
112
 
57
- * add removed form import ([4bfea00](https://github.com/ho-nl/m2-pwa/commit/4bfea00038cebd50fb1bc6a123bc697ac582f06d))
58
- * display empty country in country selector ([8b2a6a7](https://github.com/ho-nl/m2-pwa/commit/8b2a6a7af4ec1dec745dd96687712bc5a17b28d4))
59
- * ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
60
- * implement next-ui barrel imports ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
61
- * make sure ComposedForm actually submits correctly ([c6499d9](https://github.com/ho-nl/m2-pwa/commit/c6499d9d36f874cd65b310cbf7f63f5a88fa86cd))
62
-
113
+ - add removed form import
114
+ ([4bfea00](https://github.com/ho-nl/m2-pwa/commit/4bfea00038cebd50fb1bc6a123bc697ac582f06d))
115
+ - display empty country in country selector
116
+ ([8b2a6a7](https://github.com/ho-nl/m2-pwa/commit/8b2a6a7af4ec1dec745dd96687712bc5a17b28d4))
117
+ - ignore md files from triggering version updates
118
+ ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
119
+ - implement next-ui barrel imports
120
+ ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
121
+ - make sure ComposedForm actually submits correctly
122
+ ([c6499d9](https://github.com/ho-nl/m2-pwa/commit/c6499d9d36f874cd65b310cbf7f63f5a88fa86cd))
63
123
 
64
124
  ### Features
65
125
 
66
- * add barrel file for magento-customer ([02fb7f0](https://github.com/ho-nl/m2-pwa/commit/02fb7f004de968ee968b00e364b2b370f4f7d4f1))
67
- * always use same shipping and billing address ([7b613bf](https://github.com/ho-nl/m2-pwa/commit/7b613bf569e69c76bcc4750943bf4adaa0132eb9))
68
- * **cart:** when a cart is not active anymore show a clear cart button ([5d04a14](https://github.com/ho-nl/m2-pwa/commit/5d04a14726c040b20b34c0b88f923aee1dff22e5))
69
- * **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
70
- * **image:** introduced completely rewritten Image component ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
71
- * implemented purchase order ([3a40033](https://github.com/ho-nl/m2-pwa/commit/3a40033cd4d6712a17bb9c41a8841ebf7aa2f025))
72
- * **next-ui:** SectionContainer/SectionHeader now accepts variantLeft/variantRight as prop ([a58f8f2](https://github.com/ho-nl/m2-pwa/commit/a58f8f2962e74c9aaa41142524d42d9c8f662b8d))
73
- * next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
74
- * **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
75
- * 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))
76
- * submit composed form sequentially ([890d839](https://github.com/ho-nl/m2-pwa/commit/890d8393d635c3777aa17cfa8d4dafc13c2e6cdc))
77
- * upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
78
- * useFormMutationCart and simpler imports ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
79
-
126
+ - add barrel file for magento-customer
127
+ ([02fb7f0](https://github.com/ho-nl/m2-pwa/commit/02fb7f004de968ee968b00e364b2b370f4f7d4f1))
128
+ - always use same shipping and billing address
129
+ ([7b613bf](https://github.com/ho-nl/m2-pwa/commit/7b613bf569e69c76bcc4750943bf4adaa0132eb9))
130
+ - **cart:** when a cart is not active anymore show a clear cart button
131
+ ([5d04a14](https://github.com/ho-nl/m2-pwa/commit/5d04a14726c040b20b34c0b88f923aee1dff22e5))
132
+ - **graphql:** introduced new graphql package that holds all generated files
133
+ ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
134
+ - **image:** introduced completely rewritten Image component
135
+ ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
136
+ - implemented purchase order
137
+ ([3a40033](https://github.com/ho-nl/m2-pwa/commit/3a40033cd4d6712a17bb9c41a8841ebf7aa2f025))
138
+ - **next-ui:** SectionContainer/SectionHeader now accepts variantLeft/variantRight as prop
139
+ ([a58f8f2](https://github.com/ho-nl/m2-pwa/commit/a58f8f2962e74c9aaa41142524d42d9c8f662b8d))
140
+ - next.js 11
141
+ ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
142
+ - **playwright:** added new playwright package to enable browser testing
143
+ ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
144
+ - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
145
+ [@reachdigital](https://github.com/reachdigital)
146
+ ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
147
+ - submit composed form sequentially
148
+ ([890d839](https://github.com/ho-nl/m2-pwa/commit/890d8393d635c3777aa17cfa8d4dafc13c2e6cdc))
149
+ - upgraded to nextjs 11
150
+ ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
151
+ - useFormMutationCart and simpler imports
152
+ ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
80
153
 
81
154
  ### Reverts
82
155
 
83
- * Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
84
-
85
-
86
-
87
-
156
+ - Revert "chore: upgrade @apollo/client"
157
+ ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
88
158
 
89
159
  # Change Log
90
160
 
@@ -1,4 +1,4 @@
1
- import { useQuery } from '@apollo/client'
1
+ import { useQuery } from '@graphcommerce/graphql'
2
2
  import {
3
3
  ApolloCartErrorAlert,
4
4
  useCartQuery,
@@ -15,7 +15,7 @@ import {
15
15
  useFormPersist,
16
16
  } from '@graphcommerce/react-hook-form'
17
17
  import { t, Trans } from '@lingui/macro'
18
- import { TextField } from '@material-ui/core'
18
+ import { TextField } from '@mui/material'
19
19
  import { AnimatePresence } from 'framer-motion'
20
20
  import React from 'react'
21
21
  import { isSameAddress } from '../../utils/isSameAddress'
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-cart-shipping-address",
3
- "version": "2.106.47",
3
+ "homepage": "https://www.graphcommerce.org/",
4
+ "repository": "github:graphcommerce-org/graphcommerce",
5
+ "version": "3.0.2",
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,29 +12,26 @@
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/prettier-config-pwa": "^3.0.5",
19
- "@graphcommerce/typescript-config-pwa": "^3.1.2",
20
- "@playwright/test": "^1.17.1"
15
+ "@graphcommerce/eslint-config-pwa": "^4.0.2",
16
+ "@graphcommerce/prettier-config-pwa": "^4.0.1",
17
+ "@graphcommerce/typescript-config-pwa": "^4.0.1",
18
+ "@playwright/test": "^1.19.1"
21
19
  },
22
20
  "dependencies": {
23
- "@apollo/client": "^3.5.6",
24
- "@graphcommerce/graphql": "^2.105.13",
25
- "@graphcommerce/image": "^2.105.13",
26
- "@graphcommerce/magento-cart": "^3.10.3",
27
- "@graphcommerce/magento-customer": "^3.6.44",
28
- "@graphcommerce/magento-store": "^3.4.12",
29
- "@graphcommerce/next-ui": "^3.25.3",
30
- "@graphcommerce/react-hook-form": "^2.104.7",
31
- "@lingui/macro": "^3.13.0",
32
- "@material-ui/core": "^4.12.3",
33
- "@material-ui/lab": "^4.0.0-alpha.60",
34
- "clsx": "^1.1.1",
35
- "framer-motion": "^5.5.5",
36
- "next": "^12.0.7",
21
+ "@graphcommerce/graphql": "^3.0.2",
22
+ "@graphcommerce/image": "^3.0.2",
23
+ "@graphcommerce/magento-cart": "^4.1.1",
24
+ "@graphcommerce/magento-customer": "^4.1.1",
25
+ "@graphcommerce/magento-store": "^4.0.2",
26
+ "@graphcommerce/next-ui": "^4.1.1",
27
+ "@graphcommerce/react-hook-form": "^3.0.2"
28
+ },
29
+ "peerDependencies": {
30
+ "@lingui/macro": "^3.13.2",
31
+ "@mui/material": "^5.4.1",
32
+ "framer-motion": "^6.2.4",
33
+ "next": "^12.0.10",
37
34
  "react": "^17.0.2",
38
35
  "react-dom": "^17.0.2"
39
- },
40
- "gitHead": "41e42c8cd6f565ab0cbba81a1954a0041dc46768"
36
+ }
41
37
  }