@graphcommerce/magento-customer 8.0.6-canary.4 → 8.0.7
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 +48 -100
- package/components/AddressFields/AddressAddition.tsx +6 -3
- package/components/AddressFields/AddressCity.tsx +6 -3
- package/components/AddressFields/AddressCountryRegion.tsx +10 -6
- package/components/AddressFields/AddressHouseNumber.tsx +6 -3
- package/components/AddressFields/AddressPostcode.tsx +6 -2
- package/components/AddressFields/AddressStreet.tsx +6 -3
- package/components/CreateCustomerAddressForm/CreateCustomerAddressForm.tsx +6 -8
- package/components/EditAddressForm/EditAddressForm.tsx +6 -11
- package/components/ForgotPasswordForm/ForgotPasswordForm.tsx +6 -9
- package/components/NameFields/NameFields.tsx +20 -11
- package/components/SignUpForm/SignUpForm.tsx +10 -8
- package/components/UpdateCustomerEmailForm/UpdateCustomerEmailForm.tsx +25 -24
- package/components/UpdateDefaultAddressForm/UpdateDefaultAddressForm.tsx +2 -2
- package/hooks/useAccountSignInUpForm.tsx +2 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,29 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 8.0.
|
|
3
|
+
## 8.0.7
|
|
4
4
|
|
|
5
|
-
## 8.0.6
|
|
6
|
-
|
|
7
|
-
## 8.0.6-canary.2
|
|
8
|
-
|
|
9
|
-
### Patch Changes
|
|
10
|
-
|
|
11
|
-
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`0767bc4`](https://github.com/graphcommerce-org/graphcommerce/commit/0767bc40f7b596209f24ca4e745ff0441f3275c9) - Upgrade input components to no longer use muiRegister, which improves INP scores
|
|
12
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
13
|
-
|
|
14
|
-
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`530076e`](https://github.com/graphcommerce-org/graphcommerce/commit/530076e3664703cb8b577b7fcf1998a420819f60) - Moved all usages of useFormPersist to the <FormPersist/> component to prevent rerenders.
|
|
15
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
16
|
-
|
|
17
|
-
## 8.0.6-canary.1
|
|
18
|
-
|
|
19
|
-
## 8.0.6-canary.0
|
|
5
|
+
## 8.0.6
|
|
20
6
|
|
|
21
7
|
## 8.0.5
|
|
22
8
|
|
|
23
9
|
### Patch Changes
|
|
24
10
|
|
|
25
|
-
- [#2243](https://github.com/graphcommerce-org/graphcommerce/pull/2243) [`c2ddb9e`](https://github.com/graphcommerce-org/graphcommerce/commit/c2ddb9e1e9d08b4363cc1ffa31e23d715ab1bdb6) - Solve an issue where the cart wouldn't be merged after the customer created a new account.
|
|
26
|
-
([@paales](https://github.com/paales))
|
|
11
|
+
- [#2243](https://github.com/graphcommerce-org/graphcommerce/pull/2243) [`c2ddb9e`](https://github.com/graphcommerce-org/graphcommerce/commit/c2ddb9e1e9d08b4363cc1ffa31e23d715ab1bdb6) - Solve an issue where the cart wouldn't be merged after the customer created a new account. ([@paales](https://github.com/paales))
|
|
27
12
|
|
|
28
13
|
## 8.0.5-canary.10
|
|
29
14
|
|
|
@@ -37,8 +22,7 @@
|
|
|
37
22
|
|
|
38
23
|
### Patch Changes
|
|
39
24
|
|
|
40
|
-
- [#2243](https://github.com/graphcommerce-org/graphcommerce/pull/2243) [`c2ddb9e`](https://github.com/graphcommerce-org/graphcommerce/commit/c2ddb9e1e9d08b4363cc1ffa31e23d715ab1bdb6) - Solve an issue where the cart wouldn't be merged after the customer created a new account.
|
|
41
|
-
([@paales](https://github.com/paales))
|
|
25
|
+
- [#2243](https://github.com/graphcommerce-org/graphcommerce/pull/2243) [`c2ddb9e`](https://github.com/graphcommerce-org/graphcommerce/commit/c2ddb9e1e9d08b4363cc1ffa31e23d715ab1bdb6) - Solve an issue where the cart wouldn't be merged after the customer created a new account. ([@paales](https://github.com/paales))
|
|
42
26
|
|
|
43
27
|
## 8.0.5-canary.5
|
|
44
28
|
|
|
@@ -62,17 +46,13 @@
|
|
|
62
46
|
|
|
63
47
|
### Patch Changes
|
|
64
48
|
|
|
65
|
-
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`6b61a93`](https://github.com/graphcommerce-org/graphcommerce/commit/6b61a93476505e66a3135844b9bce62ccdd1bdcf) - Solve an issue where the customer could not save their region in the customer account section.
|
|
66
|
-
([@paales](https://github.com/paales))
|
|
49
|
+
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`6b61a93`](https://github.com/graphcommerce-org/graphcommerce/commit/6b61a93476505e66a3135844b9bce62ccdd1bdcf) - Solve an issue where the customer could not save their region in the customer account section. ([@paales](https://github.com/paales))
|
|
67
50
|
|
|
68
|
-
- [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`3fbf3da`](https://github.com/graphcommerce-org/graphcommerce/commit/3fbf3da8a67f2fbaa7fa974a37cbbf34613844e4) - Solve an issue where the user would be presented with the Session expired dialog when the user would be logging in during the checkout process.
|
|
69
|
-
([@paales](https://github.com/paales))
|
|
51
|
+
- [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`3fbf3da`](https://github.com/graphcommerce-org/graphcommerce/commit/3fbf3da8a67f2fbaa7fa974a37cbbf34613844e4) - Solve an issue where the user would be presented with the Session expired dialog when the user would be logging in during the checkout process. ([@paales](https://github.com/paales))
|
|
70
52
|
|
|
71
|
-
- [#2207](https://github.com/graphcommerce-org/graphcommerce/pull/2207) [`4d7594c`](https://github.com/graphcommerce-org/graphcommerce/commit/4d7594ca2174f74bfa9f66a464b77b3fd04f3560) - After changing the default shipping or billing address in the account section other address would not properly update
|
|
72
|
-
([@paales](https://github.com/paales))
|
|
53
|
+
- [#2207](https://github.com/graphcommerce-org/graphcommerce/pull/2207) [`4d7594c`](https://github.com/graphcommerce-org/graphcommerce/commit/4d7594ca2174f74bfa9f66a464b77b3fd04f3560) - After changing the default shipping or billing address in the account section other address would not properly update ([@paales](https://github.com/paales))
|
|
73
54
|
|
|
74
|
-
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`dbd943d`](https://github.com/graphcommerce-org/graphcommerce/commit/dbd943d9f588f24d5c73bdf35f2d3bbc5e0e3406) - Split out AddressFields into separate components and allow renaming fields.
|
|
75
|
-
([@paales](https://github.com/paales))
|
|
55
|
+
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`dbd943d`](https://github.com/graphcommerce-org/graphcommerce/commit/dbd943d9f588f24d5c73bdf35f2d3bbc5e0e3406) - Split out AddressFields into separate components and allow renaming fields. ([@paales](https://github.com/paales))
|
|
76
56
|
|
|
77
57
|
## 8.0.3-canary.6
|
|
78
58
|
|
|
@@ -80,11 +60,9 @@
|
|
|
80
60
|
|
|
81
61
|
### Patch Changes
|
|
82
62
|
|
|
83
|
-
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`6b61a93`](https://github.com/graphcommerce-org/graphcommerce/commit/6b61a93476505e66a3135844b9bce62ccdd1bdcf) - Solve an issue where the customer could not save their region in the customer account section.
|
|
84
|
-
([@paales](https://github.com/paales))
|
|
63
|
+
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`6b61a93`](https://github.com/graphcommerce-org/graphcommerce/commit/6b61a93476505e66a3135844b9bce62ccdd1bdcf) - Solve an issue where the customer could not save their region in the customer account section. ([@paales](https://github.com/paales))
|
|
85
64
|
|
|
86
|
-
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`dbd943d`](https://github.com/graphcommerce-org/graphcommerce/commit/dbd943d9f588f24d5c73bdf35f2d3bbc5e0e3406) - Split out AddressFields into separate components and allow renaming fields.
|
|
87
|
-
([@paales](https://github.com/paales))
|
|
65
|
+
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`dbd943d`](https://github.com/graphcommerce-org/graphcommerce/commit/dbd943d9f588f24d5c73bdf35f2d3bbc5e0e3406) - Split out AddressFields into separate components and allow renaming fields. ([@paales](https://github.com/paales))
|
|
88
66
|
|
|
89
67
|
## 8.0.3-canary.4
|
|
90
68
|
|
|
@@ -94,15 +72,13 @@
|
|
|
94
72
|
|
|
95
73
|
### Patch Changes
|
|
96
74
|
|
|
97
|
-
- [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`3fbf3da`](https://github.com/graphcommerce-org/graphcommerce/commit/3fbf3da8a67f2fbaa7fa974a37cbbf34613844e4) - Solve an issue where the user would be presented with the Session expired dialog when the user would be logging in during the checkout process.
|
|
98
|
-
([@paales](https://github.com/paales))
|
|
75
|
+
- [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`3fbf3da`](https://github.com/graphcommerce-org/graphcommerce/commit/3fbf3da8a67f2fbaa7fa974a37cbbf34613844e4) - Solve an issue where the user would be presented with the Session expired dialog when the user would be logging in during the checkout process. ([@paales](https://github.com/paales))
|
|
99
76
|
|
|
100
77
|
## 8.0.3-canary.1
|
|
101
78
|
|
|
102
79
|
### Patch Changes
|
|
103
80
|
|
|
104
|
-
- [#2207](https://github.com/graphcommerce-org/graphcommerce/pull/2207) [`4d7594c`](https://github.com/graphcommerce-org/graphcommerce/commit/4d7594ca2174f74bfa9f66a464b77b3fd04f3560) - After changing the default shipping or billing address in the account section other address would not properly update
|
|
105
|
-
([@paales](https://github.com/paales))
|
|
81
|
+
- [#2207](https://github.com/graphcommerce-org/graphcommerce/pull/2207) [`4d7594c`](https://github.com/graphcommerce-org/graphcommerce/commit/4d7594ca2174f74bfa9f66a464b77b3fd04f3560) - After changing the default shipping or billing address in the account section other address would not properly update ([@paales](https://github.com/paales))
|
|
106
82
|
|
|
107
83
|
## 8.0.3-canary.0
|
|
108
84
|
|
|
@@ -110,8 +86,7 @@
|
|
|
110
86
|
|
|
111
87
|
### Patch Changes
|
|
112
88
|
|
|
113
|
-
- [#2197](https://github.com/graphcommerce-org/graphcommerce/pull/2197) [`044331c`](https://github.com/graphcommerce-org/graphcommerce/commit/044331cf1ea3a6040cfe8e0f79fb62025d5a9d90) - Revert: Change sorting for customer orders in Descending Created at order
|
|
114
|
-
([@paales](https://github.com/paales))
|
|
89
|
+
- [#2197](https://github.com/graphcommerce-org/graphcommerce/pull/2197) [`044331c`](https://github.com/graphcommerce-org/graphcommerce/commit/044331cf1ea3a6040cfe8e0f79fb62025d5a9d90) - Revert: Change sorting for customer orders in Descending Created at order ([@paales](https://github.com/paales))
|
|
115
90
|
|
|
116
91
|
## 8.0.2-canary.3
|
|
117
92
|
|
|
@@ -119,8 +94,7 @@
|
|
|
119
94
|
|
|
120
95
|
### Patch Changes
|
|
121
96
|
|
|
122
|
-
- [#2197](https://github.com/graphcommerce-org/graphcommerce/pull/2197) [`044331c`](https://github.com/graphcommerce-org/graphcommerce/commit/044331cf1ea3a6040cfe8e0f79fb62025d5a9d90) - Revert: Change sorting for customer orders in Descending Created at order
|
|
123
|
-
([@paales](https://github.com/paales))
|
|
97
|
+
- [#2197](https://github.com/graphcommerce-org/graphcommerce/pull/2197) [`044331c`](https://github.com/graphcommerce-org/graphcommerce/commit/044331cf1ea3a6040cfe8e0f79fb62025d5a9d90) - Revert: Change sorting for customer orders in Descending Created at order ([@paales](https://github.com/paales))
|
|
124
98
|
|
|
125
99
|
## 8.0.2-canary.1
|
|
126
100
|
|
|
@@ -130,24 +104,19 @@
|
|
|
130
104
|
|
|
131
105
|
### Patch Changes
|
|
132
106
|
|
|
133
|
-
- [#2177](https://github.com/graphcommerce-org/graphcommerce/pull/2177) [`816d789`](https://github.com/graphcommerce-org/graphcommerce/commit/816d7893159528bbe4ffc51c3958c806b81b58b0) - Change sorting for customer orders in Descending Created at order
|
|
134
|
-
([@LaurensFranken](https://github.com/LaurensFranken))
|
|
107
|
+
- [#2177](https://github.com/graphcommerce-org/graphcommerce/pull/2177) [`816d789`](https://github.com/graphcommerce-org/graphcommerce/commit/816d7893159528bbe4ffc51c3958c806b81b58b0) - Change sorting for customer orders in Descending Created at order ([@LaurensFranken](https://github.com/LaurensFranken))
|
|
135
108
|
|
|
136
|
-
- [#2191](https://github.com/graphcommerce-org/graphcommerce/pull/2191) [`13ffa6b`](https://github.com/graphcommerce-org/graphcommerce/commit/13ffa6b945f1c72bf1fdc9298e4ce5dd76b48d73) - When a user was logging in from the checkout react would be caught in an infinite loop and thus the page would hang
|
|
137
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
109
|
+
- [#2191](https://github.com/graphcommerce-org/graphcommerce/pull/2191) [`13ffa6b`](https://github.com/graphcommerce-org/graphcommerce/commit/13ffa6b945f1c72bf1fdc9298e4ce5dd76b48d73) - When a user was logging in from the checkout react would be caught in an infinite loop and thus the page would hang ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
138
110
|
|
|
139
|
-
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`09a2cc3`](https://github.com/graphcommerce-org/graphcommerce/commit/09a2cc35ceb5e714ffd02e573eebe7de842ae327) - Do not try to automatically invalidate the current token and fully rely on the Session Expired dialog
|
|
140
|
-
([@paales](https://github.com/paales))
|
|
111
|
+
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`09a2cc3`](https://github.com/graphcommerce-org/graphcommerce/commit/09a2cc35ceb5e714ffd02e573eebe7de842ae327) - Do not try to automatically invalidate the current token and fully rely on the Session Expired dialog ([@paales](https://github.com/paales))
|
|
141
112
|
|
|
142
|
-
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`ee969bf`](https://github.com/graphcommerce-org/graphcommerce/commit/ee969bfc5415392747b04e0484685f5c611a2559) - After signing out the currentCartId was still returning a value causing the cart to be shown after signing out
|
|
143
|
-
([@paales](https://github.com/paales))
|
|
113
|
+
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`ee969bf`](https://github.com/graphcommerce-org/graphcommerce/commit/ee969bfc5415392747b04e0484685f5c611a2559) - After signing out the currentCartId was still returning a value causing the cart to be shown after signing out ([@paales](https://github.com/paales))
|
|
144
114
|
|
|
145
115
|
## 8.0.1-canary.4
|
|
146
116
|
|
|
147
117
|
### Patch Changes
|
|
148
118
|
|
|
149
|
-
- [#2191](https://github.com/graphcommerce-org/graphcommerce/pull/2191) [`13ffa6b`](https://github.com/graphcommerce-org/graphcommerce/commit/13ffa6b945f1c72bf1fdc9298e4ce5dd76b48d73) - When a user was logging in from the checkout react would be caught in an infinite loop and thus the page would hang
|
|
150
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
119
|
+
- [#2191](https://github.com/graphcommerce-org/graphcommerce/pull/2191) [`13ffa6b`](https://github.com/graphcommerce-org/graphcommerce/commit/13ffa6b945f1c72bf1fdc9298e4ce5dd76b48d73) - When a user was logging in from the checkout react would be caught in an infinite loop and thus the page would hang ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
151
120
|
|
|
152
121
|
## 8.0.1-canary.3
|
|
153
122
|
|
|
@@ -155,8 +124,7 @@
|
|
|
155
124
|
|
|
156
125
|
### Patch Changes
|
|
157
126
|
|
|
158
|
-
- [#2177](https://github.com/graphcommerce-org/graphcommerce/pull/2177) [`816d789`](https://github.com/graphcommerce-org/graphcommerce/commit/816d7893159528bbe4ffc51c3958c806b81b58b0) - Change sorting for customer orders in Descending Created at order
|
|
159
|
-
([@LaurensFranken](https://github.com/LaurensFranken))
|
|
127
|
+
- [#2177](https://github.com/graphcommerce-org/graphcommerce/pull/2177) [`816d789`](https://github.com/graphcommerce-org/graphcommerce/commit/816d7893159528bbe4ffc51c3958c806b81b58b0) - Change sorting for customer orders in Descending Created at order ([@LaurensFranken](https://github.com/LaurensFranken))
|
|
160
128
|
|
|
161
129
|
## 8.0.1-canary.1
|
|
162
130
|
|
|
@@ -164,18 +132,15 @@
|
|
|
164
132
|
|
|
165
133
|
### Patch Changes
|
|
166
134
|
|
|
167
|
-
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`09a2cc3`](https://github.com/graphcommerce-org/graphcommerce/commit/09a2cc35ceb5e714ffd02e573eebe7de842ae327) - Do not try to automatically invalidate the current token and fully rely on the Session Expired dialog
|
|
168
|
-
([@paales](https://github.com/paales))
|
|
135
|
+
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`09a2cc3`](https://github.com/graphcommerce-org/graphcommerce/commit/09a2cc35ceb5e714ffd02e573eebe7de842ae327) - Do not try to automatically invalidate the current token and fully rely on the Session Expired dialog ([@paales](https://github.com/paales))
|
|
169
136
|
|
|
170
|
-
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`ee969bf`](https://github.com/graphcommerce-org/graphcommerce/commit/ee969bfc5415392747b04e0484685f5c611a2559) - After signing out the currentCartId was still returning a value causing the cart to be shown after signing out
|
|
171
|
-
([@paales](https://github.com/paales))
|
|
137
|
+
- [#2187](https://github.com/graphcommerce-org/graphcommerce/pull/2187) [`ee969bf`](https://github.com/graphcommerce-org/graphcommerce/commit/ee969bfc5415392747b04e0484685f5c611a2559) - After signing out the currentCartId was still returning a value causing the cart to be shown after signing out ([@paales](https://github.com/paales))
|
|
172
138
|
|
|
173
139
|
## 8.0.0
|
|
174
140
|
|
|
175
141
|
### Minor Changes
|
|
176
142
|
|
|
177
|
-
- [#2175](https://github.com/graphcommerce-org/graphcommerce/pull/2175) [`a6bcb87`](https://github.com/graphcommerce-org/graphcommerce/commit/a6bcb8785d54ef735d82154a775822d84f2b2b80) - Autofill country dropdown in CreateCustomerAddressForm so AddPostcodeNLAddressFields plugin works by default
|
|
178
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
143
|
+
- [#2175](https://github.com/graphcommerce-org/graphcommerce/pull/2175) [`a6bcb87`](https://github.com/graphcommerce-org/graphcommerce/commit/a6bcb8785d54ef735d82154a775822d84f2b2b80) - Autofill country dropdown in CreateCustomerAddressForm so AddPostcodeNLAddressFields plugin works by default ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
179
144
|
|
|
180
145
|
- [#2110](https://github.com/graphcommerce-org/graphcommerce/pull/2110) [`d2e716d`](https://github.com/graphcommerce-org/graphcommerce/commit/d2e716d437fcfed13388ef536a8e73513744027b) - ---
|
|
181
146
|
|
|
@@ -189,38 +154,27 @@
|
|
|
189
154
|
|
|
190
155
|
### Patch Changes
|
|
191
156
|
|
|
192
|
-
- [#2091](https://github.com/graphcommerce-org/graphcommerce/pull/2091) [`5b865d3`](https://github.com/graphcommerce-org/graphcommerce/commit/5b865d376fe3b830a03af15b56986a0448af4987) - Order details page in the customer account section is completely redesigned to be more in line with other areas.
|
|
193
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
157
|
+
- [#2091](https://github.com/graphcommerce-org/graphcommerce/pull/2091) [`5b865d3`](https://github.com/graphcommerce-org/graphcommerce/commit/5b865d376fe3b830a03af15b56986a0448af4987) - Order details page in the customer account section is completely redesigned to be more in line with other areas. ([@StefanAngenent](https://github.com/StefanAngenent))
|
|
194
158
|
|
|
195
|
-
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`a5c6550`](https://github.com/graphcommerce-org/graphcommerce/commit/a5c65506a7e72bd9ea101f665ce201e82396c63c) - Allow passing skip to useCustomerQuery and useGuestQuery
|
|
196
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
159
|
+
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`a5c6550`](https://github.com/graphcommerce-org/graphcommerce/commit/a5c65506a7e72bd9ea101f665ce201e82396c63c) - Allow passing skip to useCustomerQuery and useGuestQuery ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
197
160
|
|
|
198
|
-
- [#2170](https://github.com/graphcommerce-org/graphcommerce/pull/2170) [`f3e906f`](https://github.com/graphcommerce-org/graphcommerce/commit/f3e906f7e374ce22d36af29c0f3c8153e18300e6) - Solved an issue where the inactive cart would set as the current cart when the customer had signed in, checked out their cart, session expired and tried to log in again.
|
|
199
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
161
|
+
- [#2170](https://github.com/graphcommerce-org/graphcommerce/pull/2170) [`f3e906f`](https://github.com/graphcommerce-org/graphcommerce/commit/f3e906f7e374ce22d36af29c0f3c8153e18300e6) - Solved an issue where the inactive cart would set as the current cart when the customer had signed in, checked out their cart, session expired and tried to log in again. ([@FrankHarland](https://github.com/FrankHarland))
|
|
200
162
|
|
|
201
|
-
- [#2107](https://github.com/graphcommerce-org/graphcommerce/pull/2107) [`2f51504`](https://github.com/graphcommerce-org/graphcommerce/commit/2f5150456eabcce410ad8a0f1cbebeedabb6564c) - Remember email adress when going from checkout to signin/up form
|
|
202
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
163
|
+
- [#2107](https://github.com/graphcommerce-org/graphcommerce/pull/2107) [`2f51504`](https://github.com/graphcommerce-org/graphcommerce/commit/2f5150456eabcce410ad8a0f1cbebeedabb6564c) - Remember email adress when going from checkout to signin/up form ([@FrankHarland](https://github.com/FrankHarland))
|
|
203
164
|
|
|
204
|
-
- [#2128](https://github.com/graphcommerce-org/graphcommerce/pull/2128) [`2320f8f`](https://github.com/graphcommerce-org/graphcommerce/commit/2320f8fa28713f45f0a9ecfc7d8623120add2a9a) - Fixed bug which caused region to not be set properly if user swapped countries in the checkout process.
|
|
205
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
165
|
+
- [#2128](https://github.com/graphcommerce-org/graphcommerce/pull/2128) [`2320f8f`](https://github.com/graphcommerce-org/graphcommerce/commit/2320f8fa28713f45f0a9ecfc7d8623120add2a9a) - Fixed bug which caused region to not be set properly if user swapped countries in the checkout process. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
206
166
|
|
|
207
|
-
- [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`ab834fb`](https://github.com/graphcommerce-org/graphcommerce/commit/ab834fbfe057fb507c371a6d22af282cc1b195d4) - Added a new 'Session expired' dialog that is shown when a GraphQL query or mutation returns a `graphql-authorization` error. This error is returned when the user's session has expired. The dialog allows the user to sign in again and then the query or mutation is re-executed.
|
|
208
|
-
([@paales](https://github.com/paales))
|
|
167
|
+
- [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`ab834fb`](https://github.com/graphcommerce-org/graphcommerce/commit/ab834fbfe057fb507c371a6d22af282cc1b195d4) - Added a new 'Session expired' dialog that is shown when a GraphQL query or mutation returns a `graphql-authorization` error. This error is returned when the user's session has expired. The dialog allows the user to sign in again and then the query or mutation is re-executed. ([@paales](https://github.com/paales))
|
|
209
168
|
|
|
210
|
-
- [#2166](https://github.com/graphcommerce-org/graphcommerce/pull/2166) [`304b816`](https://github.com/graphcommerce-org/graphcommerce/commit/304b81659caf82d9f500401d21da4110dd40db61) - When a user is logged in the modal is dismissed immediately without showing a succes page. This speeds up the interaction with the site.
|
|
211
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
169
|
+
- [#2166](https://github.com/graphcommerce-org/graphcommerce/pull/2166) [`304b816`](https://github.com/graphcommerce-org/graphcommerce/commit/304b81659caf82d9f500401d21da4110dd40db61) - When a user is logged in the modal is dismissed immediately without showing a succes page. This speeds up the interaction with the site. ([@FrankHarland](https://github.com/FrankHarland))
|
|
212
170
|
|
|
213
|
-
- [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`c11f3b8`](https://github.com/graphcommerce-org/graphcommerce/commit/c11f3b88f187bb8e0059a6940b9835a076e5faf8) - Created a `debug.sessions` config that allows debugging sessions. Enable with `GC_DEBUG_SESSIONS=1` in your env or modify your graphcommerce.config.js
|
|
214
|
-
([@paales](https://github.com/paales))
|
|
171
|
+
- [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`c11f3b8`](https://github.com/graphcommerce-org/graphcommerce/commit/c11f3b88f187bb8e0059a6940b9835a076e5faf8) - Created a `debug.sessions` config that allows debugging sessions. Enable with `GC_DEBUG_SESSIONS=1` in your env or modify your graphcommerce.config.js ([@paales](https://github.com/paales))
|
|
215
172
|
|
|
216
|
-
- [#2087](https://github.com/graphcommerce-org/graphcommerce/pull/2087) [`42c33c6`](https://github.com/graphcommerce-org/graphcommerce/commit/42c33c6e3adceee400bc9f10ec416731db9279c0) - The message when the email was updated was unstyled.
|
|
217
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
173
|
+
- [#2087](https://github.com/graphcommerce-org/graphcommerce/pull/2087) [`42c33c6`](https://github.com/graphcommerce-org/graphcommerce/commit/42c33c6e3adceee400bc9f10ec416731db9279c0) - The message when the email was updated was unstyled. ([@StefanAngenent](https://github.com/StefanAngenent))
|
|
218
174
|
|
|
219
|
-
- [#2082](https://github.com/graphcommerce-org/graphcommerce/pull/2082) [`2e8d19c`](https://github.com/graphcommerce-org/graphcommerce/commit/2e8d19cccd305f0e8eb4c29d05161af6cfdb9d84) - Add 'Current email' translation
|
|
220
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
175
|
+
- [#2082](https://github.com/graphcommerce-org/graphcommerce/pull/2082) [`2e8d19c`](https://github.com/graphcommerce-org/graphcommerce/commit/2e8d19cccd305f0e8eb4c29d05161af6cfdb9d84) - Add 'Current email' translation ([@StefanAngenent](https://github.com/StefanAngenent))
|
|
221
176
|
|
|
222
|
-
- [#2098](https://github.com/graphcommerce-org/graphcommerce/pull/2098) [`ca45472`](https://github.com/graphcommerce-org/graphcommerce/commit/ca45472246e084f4b88f91bc700351e29c63e0e2) - Fix `<EditAddressForm />` when addition field is null or undefined
|
|
223
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
177
|
+
- [#2098](https://github.com/graphcommerce-org/graphcommerce/pull/2098) [`ca45472`](https://github.com/graphcommerce-org/graphcommerce/commit/ca45472246e084f4b88f91bc700351e29c63e0e2) - Fix `<EditAddressForm />` when addition field is null or undefined ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
224
178
|
|
|
225
179
|
## 8.0.0-canary.100
|
|
226
180
|
|
|
@@ -232,8 +186,7 @@
|
|
|
232
186
|
|
|
233
187
|
### Minor Changes
|
|
234
188
|
|
|
235
|
-
- [#2175](https://github.com/graphcommerce-org/graphcommerce/pull/2175) [`a6bcb87`](https://github.com/graphcommerce-org/graphcommerce/commit/a6bcb8785d54ef735d82154a775822d84f2b2b80) - Autofill country dropdown in CreateCustomerAddressForm so AddPostcodeNLAddressFields plugin works by default
|
|
236
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
189
|
+
- [#2175](https://github.com/graphcommerce-org/graphcommerce/pull/2175) [`a6bcb87`](https://github.com/graphcommerce-org/graphcommerce/commit/a6bcb8785d54ef735d82154a775822d84f2b2b80) - Autofill country dropdown in CreateCustomerAddressForm so AddPostcodeNLAddressFields plugin works by default ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
237
190
|
|
|
238
191
|
## 8.0.0-canary.96
|
|
239
192
|
|
|
@@ -251,8 +204,7 @@
|
|
|
251
204
|
|
|
252
205
|
### Patch Changes
|
|
253
206
|
|
|
254
|
-
- [#2170](https://github.com/graphcommerce-org/graphcommerce/pull/2170) [`f3e906f`](https://github.com/graphcommerce-org/graphcommerce/commit/f3e906f7e374ce22d36af29c0f3c8153e18300e6) - fix(GCOM-1317): fix bug where inactive cached cart could be set as currentCartId
|
|
255
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
207
|
+
- [#2170](https://github.com/graphcommerce-org/graphcommerce/pull/2170) [`f3e906f`](https://github.com/graphcommerce-org/graphcommerce/commit/f3e906f7e374ce22d36af29c0f3c8153e18300e6) - fix(GCOM-1317): fix bug where inactive cached cart could be set as currentCartId ([@FrankHarland](https://github.com/FrankHarland))
|
|
256
208
|
|
|
257
209
|
## 8.0.0-canary.89
|
|
258
210
|
|
|
@@ -260,8 +212,7 @@
|
|
|
260
212
|
|
|
261
213
|
### Patch Changes
|
|
262
214
|
|
|
263
|
-
- [#2166](https://github.com/graphcommerce-org/graphcommerce/pull/2166) [`304b816`](https://github.com/graphcommerce-org/graphcommerce/commit/304b81659caf82d9f500401d21da4110dd40db61) - Dismiss login page and go back to previous page asap when logging in
|
|
264
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
215
|
+
- [#2166](https://github.com/graphcommerce-org/graphcommerce/pull/2166) [`304b816`](https://github.com/graphcommerce-org/graphcommerce/commit/304b81659caf82d9f500401d21da4110dd40db61) - Dismiss login page and go back to previous page asap when logging in ([@FrankHarland](https://github.com/FrankHarland))
|
|
265
216
|
|
|
266
217
|
## 8.0.0-canary.87
|
|
267
218
|
|
|
@@ -301,8 +252,7 @@
|
|
|
301
252
|
|
|
302
253
|
### Patch Changes
|
|
303
254
|
|
|
304
|
-
- [#2128](https://github.com/graphcommerce-org/graphcommerce/pull/2128) [`2320f8f`](https://github.com/graphcommerce-org/graphcommerce/commit/2320f8fa28713f45f0a9ecfc7d8623120add2a9a) - Fixed bug which caused region to not be set properly if user swapped countries in the checkout process.
|
|
305
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
255
|
+
- [#2128](https://github.com/graphcommerce-org/graphcommerce/pull/2128) [`2320f8f`](https://github.com/graphcommerce-org/graphcommerce/commit/2320f8fa28713f45f0a9ecfc7d8623120add2a9a) - Fixed bug which caused region to not be set properly if user swapped countries in the checkout process. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
306
256
|
|
|
307
257
|
## 8.0.0-canary.69
|
|
308
258
|
|
|
@@ -310,11 +260,9 @@
|
|
|
310
260
|
|
|
311
261
|
### Patch Changes
|
|
312
262
|
|
|
313
|
-
- [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`ab834fb`](https://github.com/graphcommerce-org/graphcommerce/commit/ab834fbfe057fb507c371a6d22af282cc1b195d4) - Added user session reevaluation after unathenticated call. Queries will be paused untill user has signed in again
|
|
314
|
-
([@paales](https://github.com/paales))
|
|
263
|
+
- [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`ab834fb`](https://github.com/graphcommerce-org/graphcommerce/commit/ab834fbfe057fb507c371a6d22af282cc1b195d4) - Added user session reevaluation after unathenticated call. Queries will be paused untill user has signed in again ([@paales](https://github.com/paales))
|
|
315
264
|
|
|
316
|
-
- [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`c11f3b8`](https://github.com/graphcommerce-org/graphcommerce/commit/c11f3b88f187bb8e0059a6940b9835a076e5faf8) - Created a debug.sessions config that allows debugging sessions. Enable with GC_DEBUG_SESSIONS=1 in your env or modify your graphcommerce.config.js
|
|
317
|
-
([@paales](https://github.com/paales))
|
|
265
|
+
- [#1999](https://github.com/graphcommerce-org/graphcommerce/pull/1999) [`c11f3b8`](https://github.com/graphcommerce-org/graphcommerce/commit/c11f3b88f187bb8e0059a6940b9835a076e5faf8) - Created a debug.sessions config that allows debugging sessions. Enable with GC_DEBUG_SESSIONS=1 in your env or modify your graphcommerce.config.js ([@paales](https://github.com/paales))
|
|
318
266
|
|
|
319
267
|
## 7.1.0-canary.67
|
|
320
268
|
|
|
@@ -1749,31 +1697,31 @@
|
|
|
1749
1697
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1750
1698
|
|
|
1751
1699
|
```tsx
|
|
1752
|
-
import { Trans, t } from
|
|
1700
|
+
import { Trans, t } from '@lingui/macro'
|
|
1753
1701
|
|
|
1754
1702
|
function MyComponent() {
|
|
1755
|
-
const foo =
|
|
1703
|
+
const foo = 'bar'
|
|
1756
1704
|
return (
|
|
1757
1705
|
<div aria-label={t`Account ${foo}`}>
|
|
1758
1706
|
<Trans>My Translation {foo}</Trans>
|
|
1759
1707
|
</div>
|
|
1760
|
-
)
|
|
1708
|
+
)
|
|
1761
1709
|
}
|
|
1762
1710
|
```
|
|
1763
1711
|
|
|
1764
1712
|
Needs to be replaced with:
|
|
1765
1713
|
|
|
1766
1714
|
```tsx
|
|
1767
|
-
import { Trans } from
|
|
1768
|
-
import { i18n } from
|
|
1715
|
+
import { Trans } from '@lingui/react'
|
|
1716
|
+
import { i18n } from '@lingui/core'
|
|
1769
1717
|
|
|
1770
1718
|
function MyComponent() {
|
|
1771
|
-
const foo =
|
|
1719
|
+
const foo = 'bar'
|
|
1772
1720
|
return (
|
|
1773
1721
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1774
|
-
<Trans key=
|
|
1722
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1775
1723
|
</div>
|
|
1776
|
-
)
|
|
1724
|
+
)
|
|
1777
1725
|
}
|
|
1778
1726
|
```
|
|
1779
1727
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TextFieldElement, FieldValues, FieldPath } from '@graphcommerce/ecommerce-ui'
|
|
2
|
+
import { InputCheckmark } from '@graphcommerce/next-ui'
|
|
2
3
|
import { Trans } from '@lingui/react'
|
|
3
4
|
import { AddressFieldsOptions, useAddressFieldsForm } from './useAddressFieldsForm'
|
|
4
5
|
|
|
@@ -7,7 +8,7 @@ export function AddressAddition<
|
|
|
7
8
|
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
|
|
8
9
|
>(props: AddressFieldsOptions<TFieldValues, TName>) {
|
|
9
10
|
const form = useAddressFieldsForm<TFieldValues, TName>(props)
|
|
10
|
-
const { control, name, readOnly, required } = form
|
|
11
|
+
const { control, name, readOnly, required, valid } = form
|
|
11
12
|
|
|
12
13
|
return (
|
|
13
14
|
<TextFieldElement
|
|
@@ -18,8 +19,10 @@ export function AddressAddition<
|
|
|
18
19
|
required={required[name.addition]}
|
|
19
20
|
label={<Trans id='Addition' />}
|
|
20
21
|
autoComplete='address-line3'
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
InputProps={{
|
|
23
|
+
readOnly,
|
|
24
|
+
endAdornment: <InputCheckmark show={valid[name.addition]} />,
|
|
25
|
+
}}
|
|
23
26
|
/>
|
|
24
27
|
)
|
|
25
28
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TextFieldElement, FieldValues, FieldPath } from '@graphcommerce/ecommerce-ui'
|
|
2
|
+
import { InputCheckmark } from '@graphcommerce/next-ui'
|
|
2
3
|
import { Trans } from '@lingui/react'
|
|
3
4
|
import { AddressFieldsOptions, useAddressFieldsForm } from './useAddressFieldsForm'
|
|
4
5
|
|
|
@@ -7,7 +8,7 @@ export function AddressCity<
|
|
|
7
8
|
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
|
|
8
9
|
>(props: AddressFieldsOptions<TFieldValues, TName>) {
|
|
9
10
|
const form = useAddressFieldsForm<TFieldValues, TName>(props)
|
|
10
|
-
const { control, name, readOnly, required } = form
|
|
11
|
+
const { control, name, readOnly, required, valid } = form
|
|
11
12
|
|
|
12
13
|
return (
|
|
13
14
|
<TextFieldElement
|
|
@@ -17,8 +18,10 @@ export function AddressCity<
|
|
|
17
18
|
type='text'
|
|
18
19
|
required={required[name.city]}
|
|
19
20
|
label={<Trans id='City' />}
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
InputProps={{
|
|
22
|
+
readOnly,
|
|
23
|
+
endAdornment: <InputCheckmark show={valid[name.city]} />,
|
|
24
|
+
}}
|
|
22
25
|
/>
|
|
23
26
|
)
|
|
24
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SelectElement, FieldValues, FieldPath, useWatch } from '@graphcommerce/ecommerce-ui'
|
|
2
2
|
import { useQuery } from '@graphcommerce/graphql'
|
|
3
3
|
import { CountryRegionsDocument } from '@graphcommerce/magento-store'
|
|
4
|
-
import { FormRow, filterNonNullableKeys } from '@graphcommerce/next-ui'
|
|
4
|
+
import { FormRow, InputCheckmark, filterNonNullableKeys } from '@graphcommerce/next-ui'
|
|
5
5
|
import { Trans } from '@lingui/react'
|
|
6
6
|
import { useMemo } from 'react'
|
|
7
7
|
import { AddressFieldsOptions, useAddressFieldsForm } from './useAddressFieldsForm'
|
|
@@ -43,7 +43,7 @@ export function AddressCountryRegion<
|
|
|
43
43
|
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
|
|
44
44
|
>(props: AddressFieldsOptions<TFieldValues, TName>) {
|
|
45
45
|
const form = useAddressCountryRegion<TFieldValues, TName>(props)
|
|
46
|
-
const { control, name, readOnly, required, countryList, regionList } = form
|
|
46
|
+
const { control, name, readOnly, required, valid, countryList, regionList } = form
|
|
47
47
|
|
|
48
48
|
return (
|
|
49
49
|
<FormRow>
|
|
@@ -54,8 +54,10 @@ export function AddressCountryRegion<
|
|
|
54
54
|
variant='outlined'
|
|
55
55
|
label={<Trans id='Country' />}
|
|
56
56
|
required={required[name.countryCode]}
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
InputProps={{
|
|
58
|
+
readOnly,
|
|
59
|
+
endAdornment: <InputCheckmark show={valid[name.countryCode]} select />,
|
|
60
|
+
}}
|
|
59
61
|
options={countryList.map((country) => ({
|
|
60
62
|
id: country.two_letter_abbreviation,
|
|
61
63
|
label: country.full_name_locale,
|
|
@@ -70,8 +72,10 @@ export function AddressCountryRegion<
|
|
|
70
72
|
variant='outlined'
|
|
71
73
|
label={<Trans id='Region' />}
|
|
72
74
|
required
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
InputProps={{
|
|
76
|
+
readOnly,
|
|
77
|
+
endAdornment: <InputCheckmark show={valid[name.regionId]} select />,
|
|
78
|
+
}}
|
|
75
79
|
options={regionList.map((region) => ({ ...region, label: region.name }))}
|
|
76
80
|
/>
|
|
77
81
|
)}
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
FieldPath,
|
|
5
5
|
houseNumberPattern,
|
|
6
6
|
} from '@graphcommerce/ecommerce-ui'
|
|
7
|
+
import { InputCheckmark } from '@graphcommerce/next-ui'
|
|
7
8
|
import { i18n } from '@lingui/core'
|
|
8
9
|
import { Trans } from '@lingui/react'
|
|
9
10
|
import { AddressFieldsOptions, useAddressFieldsForm } from './useAddressFieldsForm'
|
|
@@ -13,7 +14,7 @@ export function AddressHousenumber<
|
|
|
13
14
|
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
|
|
14
15
|
>(props: AddressFieldsOptions<TFieldValues, TName>) {
|
|
15
16
|
const form = useAddressFieldsForm<TFieldValues, TName>(props)
|
|
16
|
-
const { control, name, readOnly, required } = form
|
|
17
|
+
const { control, name, readOnly, required, valid } = form
|
|
17
18
|
return (
|
|
18
19
|
<TextFieldElement
|
|
19
20
|
control={control}
|
|
@@ -29,8 +30,10 @@ export function AddressHousenumber<
|
|
|
29
30
|
type='text'
|
|
30
31
|
label={<Trans id='Housenumber' />}
|
|
31
32
|
autoComplete='address-line2'
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
InputProps={{
|
|
34
|
+
readOnly,
|
|
35
|
+
endAdornment: <InputCheckmark show={valid[name.houseNumber]} />,
|
|
36
|
+
}}
|
|
34
37
|
/>
|
|
35
38
|
)
|
|
36
39
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FieldPath, FieldValues, TextFieldElement } from '@graphcommerce/ecommerce-ui'
|
|
2
|
+
import { InputCheckmark } from '@graphcommerce/next-ui'
|
|
2
3
|
import { Trans } from '@lingui/react'
|
|
3
4
|
import { AddressFieldsOptions, useAddressFieldsForm } from './useAddressFieldsForm'
|
|
4
5
|
|
|
@@ -7,7 +8,7 @@ export function AddressPostcode<
|
|
|
7
8
|
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
|
|
8
9
|
>(props: AddressFieldsOptions<TFieldValues, TName>) {
|
|
9
10
|
const form = useAddressFieldsForm<TFieldValues, TName>(props)
|
|
10
|
-
const { control, name, required } = form
|
|
11
|
+
const { control, name, readOnly, required, valid } = form
|
|
11
12
|
|
|
12
13
|
return (
|
|
13
14
|
<TextFieldElement
|
|
@@ -17,7 +18,10 @@ export function AddressPostcode<
|
|
|
17
18
|
type='text'
|
|
18
19
|
required={required[name.postcode]}
|
|
19
20
|
label={<Trans id='Postcode' />}
|
|
20
|
-
|
|
21
|
+
InputProps={{
|
|
22
|
+
readOnly,
|
|
23
|
+
endAdornment: <InputCheckmark show={valid[name.postcode]} />,
|
|
24
|
+
}}
|
|
21
25
|
/>
|
|
22
26
|
)
|
|
23
27
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TextFieldElement } from '@graphcommerce/ecommerce-ui'
|
|
2
|
+
import { InputCheckmark } from '@graphcommerce/next-ui'
|
|
2
3
|
import { FieldValues, FieldPath } from '@graphcommerce/react-hook-form'
|
|
3
4
|
import { Trans } from '@lingui/react'
|
|
4
5
|
import { AddressFieldsOptions, useAddressFieldsForm } from './useAddressFieldsForm'
|
|
@@ -8,7 +9,7 @@ export function AddressStreet<
|
|
|
8
9
|
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
|
|
9
10
|
>(props: AddressFieldsOptions<TFieldValues, TName>) {
|
|
10
11
|
const form = useAddressFieldsForm<TFieldValues, TName>(props)
|
|
11
|
-
const { control, name, readOnly, required } = form
|
|
12
|
+
const { control, name, readOnly, required, valid } = form
|
|
12
13
|
return (
|
|
13
14
|
<TextFieldElement
|
|
14
15
|
variant='outlined'
|
|
@@ -18,8 +19,10 @@ export function AddressStreet<
|
|
|
18
19
|
type='text'
|
|
19
20
|
label={<Trans id='Street' />}
|
|
20
21
|
autoComplete='address-line1'
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
InputProps={{
|
|
23
|
+
readOnly,
|
|
24
|
+
endAdornment: <InputCheckmark show={valid[name.street]} />,
|
|
25
|
+
}}
|
|
23
26
|
/>
|
|
24
27
|
)
|
|
25
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApolloErrorSnackbar
|
|
1
|
+
import { ApolloErrorSnackbar } from '@graphcommerce/ecommerce-ui'
|
|
2
2
|
import { useQuery } from '@graphcommerce/graphql'
|
|
3
3
|
import { CountryCodeEnum } from '@graphcommerce/graphql-mesh'
|
|
4
4
|
import { CountryRegionsDocument, StoreConfigDocument } from '@graphcommerce/magento-store'
|
|
@@ -57,7 +57,7 @@ export function CreateCustomerAddressForm() {
|
|
|
57
57
|
{ errorPolicy: 'all' },
|
|
58
58
|
)
|
|
59
59
|
|
|
60
|
-
const { handleSubmit, formState, required, error,
|
|
60
|
+
const { handleSubmit, formState, required, error, muiRegister, valid, data } = form
|
|
61
61
|
const submitHandler = handleSubmit((_, e) => {
|
|
62
62
|
if (!formState.errors) e?.target.reset()
|
|
63
63
|
})
|
|
@@ -69,21 +69,19 @@ export function CreateCustomerAddressForm() {
|
|
|
69
69
|
<AddressFields form={form} name={{ regionId: 'region.region_id' }} />
|
|
70
70
|
|
|
71
71
|
<FormRow>
|
|
72
|
-
<
|
|
72
|
+
<TextField
|
|
73
73
|
variant='outlined'
|
|
74
74
|
type='text'
|
|
75
75
|
error={!!formState.errors.telephone}
|
|
76
76
|
required={required.telephone}
|
|
77
77
|
label={<Trans id='Telephone' />}
|
|
78
|
-
|
|
79
|
-
name='telephone'
|
|
80
|
-
rules={{
|
|
78
|
+
{...muiRegister('telephone', {
|
|
81
79
|
required: required.telephone,
|
|
82
80
|
pattern: { value: phonePattern, message: i18n._(/* i18n */ 'Invalid phone number') },
|
|
83
|
-
}}
|
|
81
|
+
})}
|
|
84
82
|
helperText={formState.isSubmitted && formState.errors.telephone?.message}
|
|
85
83
|
disabled={formState.isSubmitting}
|
|
86
|
-
|
|
84
|
+
InputProps={{ endAdornment: <InputCheckmark show={valid.telephone} /> }}
|
|
87
85
|
/>
|
|
88
86
|
</FormRow>
|
|
89
87
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
2
|
-
import { ApolloErrorSnackbar
|
|
2
|
+
import { ApolloErrorSnackbar } from '@graphcommerce/ecommerce-ui'
|
|
3
3
|
import { useQuery } from '@graphcommerce/graphql'
|
|
4
4
|
import { CountryRegionsDocument } from '@graphcommerce/magento-store'
|
|
5
5
|
import {
|
|
@@ -23,9 +23,6 @@ import { UpdateCustomerAddressDocument } from './UpdateCustomerAddress.gql'
|
|
|
23
23
|
type EditAddressFormProps = {
|
|
24
24
|
address?: AccountAddressFragment
|
|
25
25
|
sx?: SxProps<Theme>
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated not used, can be safely removed.
|
|
28
|
-
*/
|
|
29
26
|
onCompleteRoute?: string
|
|
30
27
|
}
|
|
31
28
|
|
|
@@ -78,7 +75,7 @@ export function EditAddressForm(props: EditAddressFormProps) {
|
|
|
78
75
|
{ errorPolicy: 'all' },
|
|
79
76
|
)
|
|
80
77
|
|
|
81
|
-
const { handleSubmit, formState, required, error,
|
|
78
|
+
const { handleSubmit, formState, required, error, muiRegister, valid } = form
|
|
82
79
|
const submitHandler = handleSubmit(() => {})
|
|
83
80
|
|
|
84
81
|
return (
|
|
@@ -88,21 +85,19 @@ export function EditAddressForm(props: EditAddressFormProps) {
|
|
|
88
85
|
<AddressFields form={form} name={{ regionId: 'region.region_id' }} />
|
|
89
86
|
|
|
90
87
|
<FormRow>
|
|
91
|
-
<
|
|
92
|
-
control={control}
|
|
93
|
-
name='telephone'
|
|
88
|
+
<TextField
|
|
94
89
|
variant='outlined'
|
|
95
90
|
type='text'
|
|
96
91
|
error={!!formState.errors.telephone}
|
|
97
92
|
required={required.telephone}
|
|
98
93
|
label={<Trans id='Telephone' />}
|
|
99
|
-
|
|
94
|
+
{...muiRegister('telephone', {
|
|
100
95
|
required: required.telephone,
|
|
101
96
|
pattern: { value: phonePattern, message: i18n._(/* i18n */ 'Invalid phone number') },
|
|
102
|
-
}}
|
|
97
|
+
})}
|
|
103
98
|
helperText={formState.isSubmitted && formState.errors.telephone?.message}
|
|
104
99
|
disabled={formState.isSubmitting}
|
|
105
|
-
|
|
100
|
+
InputProps={{ endAdornment: <InputCheckmark show={valid.telephone} /> }}
|
|
106
101
|
/>
|
|
107
102
|
</FormRow>
|
|
108
103
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { TextFieldElement } from '@graphcommerce/ecommerce-ui'
|
|
2
1
|
import { Button, Form, FormActions, FormRow } from '@graphcommerce/next-ui'
|
|
3
2
|
import { emailPattern, useFormGqlMutation } from '@graphcommerce/react-hook-form'
|
|
4
3
|
import { i18n } from '@lingui/core'
|
|
5
4
|
import { Trans } from '@lingui/react'
|
|
6
5
|
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
|
7
|
-
import { Alert, SxProps, Theme } from '@mui/material'
|
|
6
|
+
import { TextField, Alert, SxProps, Theme } from '@mui/material'
|
|
8
7
|
import { ApolloCustomerErrorAlert } from '../ApolloCustomerError/ApolloCustomerErrorAlert'
|
|
9
8
|
import {
|
|
10
9
|
ForgotPasswordDocument,
|
|
@@ -17,7 +16,7 @@ export function ForgotPasswordForm(props: { sx?: SxProps<Theme> }) {
|
|
|
17
16
|
const form = useFormGqlMutation<ForgotPasswordMutation, ForgotPasswordMutationVariables>(
|
|
18
17
|
ForgotPasswordDocument,
|
|
19
18
|
)
|
|
20
|
-
const {
|
|
19
|
+
const { muiRegister, handleSubmit, required, data, formState, error } = form
|
|
21
20
|
const submitHandler = handleSubmit(() => {})
|
|
22
21
|
|
|
23
22
|
if (formState.isSubmitSuccessful && data) {
|
|
@@ -38,20 +37,18 @@ export function ForgotPasswordForm(props: { sx?: SxProps<Theme> }) {
|
|
|
38
37
|
return (
|
|
39
38
|
<Form onSubmit={submitHandler} noValidate sx={sx}>
|
|
40
39
|
<FormRow>
|
|
41
|
-
<
|
|
40
|
+
<TextField
|
|
42
41
|
variant='outlined'
|
|
43
42
|
type='text'
|
|
44
43
|
error={!!formState.errors.email}
|
|
45
44
|
label={<Trans id='Email' />}
|
|
46
45
|
required={required.email}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
rules={{
|
|
46
|
+
{...muiRegister('email', {
|
|
47
|
+
required: required.email,
|
|
50
48
|
pattern: { value: emailPattern, message: i18n._(/* i18n */ 'Invalid email address') },
|
|
51
|
-
}}
|
|
49
|
+
})}
|
|
52
50
|
helperText={formState.errors.email?.message}
|
|
53
51
|
disabled={formState.isSubmitting}
|
|
54
|
-
showValid
|
|
55
52
|
/>
|
|
56
53
|
</FormRow>
|
|
57
54
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SelectElement, TextFieldElement } from '@graphcommerce/ecommerce-ui'
|
|
2
|
-
import { FormRow } from '@graphcommerce/next-ui'
|
|
2
|
+
import { FormRow, InputCheckmark } from '@graphcommerce/next-ui'
|
|
3
3
|
import { assertFormGqlOperation, UseFormReturn } from '@graphcommerce/react-hook-form'
|
|
4
4
|
import { i18n } from '@lingui/core'
|
|
5
5
|
import { Trans } from '@lingui/react'
|
|
@@ -27,7 +27,7 @@ export function NameFields(props: NameFieldProps) {
|
|
|
27
27
|
const { prefix, form, readOnly, prefixes = [mr, mrs, other] } = props
|
|
28
28
|
assertFormGqlOperation<NameFieldValues>(form)
|
|
29
29
|
|
|
30
|
-
const { control, required } = form
|
|
30
|
+
const { control, required, valid } = form
|
|
31
31
|
|
|
32
32
|
return (
|
|
33
33
|
<>
|
|
@@ -40,32 +40,41 @@ export function NameFields(props: NameFieldProps) {
|
|
|
40
40
|
required={required.prefix}
|
|
41
41
|
name='prefix'
|
|
42
42
|
label={<Trans id='Prefix' />}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
InputProps={{
|
|
44
|
+
readOnly,
|
|
45
|
+
endAdornment: <InputCheckmark show={valid.prefix} select />,
|
|
46
|
+
}}
|
|
47
|
+
options={prefixes.map((option) => ({
|
|
48
|
+
id: option,
|
|
49
|
+
label: option,
|
|
50
|
+
}))}
|
|
46
51
|
/>
|
|
47
52
|
</FormRow>
|
|
48
53
|
)}
|
|
49
54
|
<FormRow>
|
|
50
55
|
<TextFieldElement
|
|
51
|
-
control={control}
|
|
56
|
+
control={form.control}
|
|
52
57
|
name='firstname'
|
|
53
58
|
required={required.firstname}
|
|
54
59
|
variant='outlined'
|
|
55
60
|
type='text'
|
|
56
61
|
label={<Trans id='First Name' />}
|
|
57
|
-
InputProps={{
|
|
58
|
-
|
|
62
|
+
InputProps={{
|
|
63
|
+
readOnly,
|
|
64
|
+
endAdornment: <InputCheckmark show={valid.firstname} />,
|
|
65
|
+
}}
|
|
59
66
|
/>
|
|
60
67
|
<TextFieldElement
|
|
61
|
-
control={control}
|
|
68
|
+
control={form.control}
|
|
62
69
|
name='lastname'
|
|
63
70
|
required={required.lastname}
|
|
64
71
|
variant='outlined'
|
|
65
72
|
type='text'
|
|
66
73
|
label={<Trans id='Last Name' />}
|
|
67
|
-
InputProps={{
|
|
68
|
-
|
|
74
|
+
InputProps={{
|
|
75
|
+
readOnly,
|
|
76
|
+
endAdornment: <InputCheckmark show={valid.lastname} />,
|
|
77
|
+
}}
|
|
69
78
|
/>
|
|
70
79
|
</FormRow>
|
|
71
80
|
</>
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { PasswordRepeatElement
|
|
1
|
+
import { PasswordRepeatElement } from '@graphcommerce/ecommerce-ui'
|
|
2
2
|
import { graphqlErrorByCategory } from '@graphcommerce/magento-graphql'
|
|
3
3
|
import { Button, FormActions, FormRow } from '@graphcommerce/next-ui'
|
|
4
|
-
import {
|
|
4
|
+
import { useFormGqlMutation, useFormPersist } from '@graphcommerce/react-hook-form'
|
|
5
5
|
import { Trans } from '@lingui/react'
|
|
6
|
-
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
|
7
|
+
import { Alert, FormControlLabel, Switch } from '@mui/material'
|
|
7
8
|
import { useSignInForm } from '../../hooks/useSignInForm'
|
|
8
9
|
import { ApolloCustomerErrorSnackbar } from '../ApolloCustomerError/ApolloCustomerErrorSnackbar'
|
|
9
10
|
import { NameFields } from '../NameFields/NameFields'
|
|
@@ -38,11 +39,13 @@ export function SignUpForm(props: SignUpFormProps) {
|
|
|
38
39
|
{ errorPolicy: 'all' },
|
|
39
40
|
)
|
|
40
41
|
|
|
41
|
-
const { handleSubmit, required, formState, error, control } = form
|
|
42
|
+
const { muiRegister, handleSubmit, required, formState, error, control } = form
|
|
42
43
|
const [remainingError, inputError] = graphqlErrorByCategory({ category: 'graphql-input', error })
|
|
43
44
|
|
|
44
45
|
const submitHandler = handleSubmit(() => {})
|
|
45
46
|
|
|
47
|
+
useFormPersist({ form, name: 'SignUp', exclude: ['password', 'confirmPassword'] })
|
|
48
|
+
|
|
46
49
|
if (requireEmailValidation && form.formState.isSubmitSuccessful) {
|
|
47
50
|
return (
|
|
48
51
|
<Alert>
|
|
@@ -54,7 +57,6 @@ export function SignUpForm(props: SignUpFormProps) {
|
|
|
54
57
|
return (
|
|
55
58
|
<form onSubmit={submitHandler} noValidate>
|
|
56
59
|
<FormRow>
|
|
57
|
-
<FormPersist form={form} name='SignUp' exclude={['password', 'confirmPassword']} />
|
|
58
60
|
<ValidatedPasswordElement
|
|
59
61
|
control={control}
|
|
60
62
|
name='password'
|
|
@@ -82,9 +84,9 @@ export function SignUpForm(props: SignUpFormProps) {
|
|
|
82
84
|
|
|
83
85
|
<NameFields form={form} prefix />
|
|
84
86
|
|
|
85
|
-
<
|
|
86
|
-
control={
|
|
87
|
-
|
|
87
|
+
<FormControlLabel
|
|
88
|
+
control={<Switch color='primary' />}
|
|
89
|
+
{...muiRegister('isSubscribed', { required: required.isSubscribed })}
|
|
88
90
|
disabled={formState.isSubmitting}
|
|
89
91
|
label={<Trans id='Subscribe to newsletter' />}
|
|
90
92
|
/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PasswordElement
|
|
1
|
+
import { PasswordElement } from '@graphcommerce/ecommerce-ui'
|
|
2
2
|
import { graphqlErrorByCategory } from '@graphcommerce/magento-graphql'
|
|
3
3
|
import {
|
|
4
4
|
Button,
|
|
@@ -12,6 +12,7 @@ import { emailPattern, useFormGqlMutation } from '@graphcommerce/react-hook-form
|
|
|
12
12
|
import { i18n } from '@lingui/core'
|
|
13
13
|
import { Trans } from '@lingui/react'
|
|
14
14
|
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
|
15
|
+
import { TextField } from '@mui/material'
|
|
15
16
|
import { ApolloCustomerErrorSnackbar } from '../ApolloCustomerError'
|
|
16
17
|
import {
|
|
17
18
|
UpdateCustomerEmailDocument,
|
|
@@ -31,17 +32,13 @@ export function UpdateCustomerEmailForm(props: UpdateCustomerEmailFormProps) {
|
|
|
31
32
|
UpdateCustomerEmailMutationVariables & { currentEmail?: string; confirmEmail?: string }
|
|
32
33
|
>(
|
|
33
34
|
UpdateCustomerEmailDocument,
|
|
34
|
-
{
|
|
35
|
-
defaultValues: {
|
|
36
|
-
currentEmail: email,
|
|
37
|
-
},
|
|
38
|
-
},
|
|
35
|
+
{},
|
|
39
36
|
{
|
|
40
37
|
errorPolicy: 'all',
|
|
41
38
|
},
|
|
42
39
|
)
|
|
43
40
|
|
|
44
|
-
const { handleSubmit, error, required, formState, watch, reset, control } = form
|
|
41
|
+
const { handleSubmit, error, required, formState, watch, muiRegister, reset, control } = form
|
|
45
42
|
const [remainingError, authenticationError] = graphqlErrorByCategory({
|
|
46
43
|
category: 'graphql-authentication',
|
|
47
44
|
error,
|
|
@@ -54,20 +51,30 @@ export function UpdateCustomerEmailForm(props: UpdateCustomerEmailFormProps) {
|
|
|
54
51
|
return (
|
|
55
52
|
<Form onSubmit={submit} noValidate>
|
|
56
53
|
<FormRow>
|
|
57
|
-
<
|
|
54
|
+
<TextField
|
|
55
|
+
key='current-email'
|
|
58
56
|
variant='outlined'
|
|
59
57
|
type='text'
|
|
58
|
+
autoComplete='email'
|
|
59
|
+
autoFocus
|
|
60
|
+
error={formState.isSubmitted && !!formState.errors.currentEmail}
|
|
61
|
+
helperText={formState.isSubmitted && formState.errors.currentEmail?.message}
|
|
60
62
|
label={<Trans id='Current email' />}
|
|
61
63
|
required
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
value={email}
|
|
65
|
+
{...muiRegister('currentEmail', {
|
|
66
|
+
required: true,
|
|
67
|
+
pattern: { value: emailPattern, message: '' },
|
|
68
|
+
})}
|
|
69
|
+
InputProps={{
|
|
70
|
+
readOnly: true,
|
|
71
|
+
}}
|
|
66
72
|
/>
|
|
67
73
|
</FormRow>
|
|
68
74
|
|
|
69
75
|
<FormRow>
|
|
70
|
-
<
|
|
76
|
+
<TextField
|
|
77
|
+
key='email'
|
|
71
78
|
variant='outlined'
|
|
72
79
|
type='text'
|
|
73
80
|
autoComplete='off'
|
|
@@ -75,15 +82,12 @@ export function UpdateCustomerEmailForm(props: UpdateCustomerEmailFormProps) {
|
|
|
75
82
|
helperText={formState.isSubmitted && formState.errors.email?.message}
|
|
76
83
|
label={<Trans id='New email' />}
|
|
77
84
|
required={required.email}
|
|
78
|
-
|
|
79
|
-
rules={{
|
|
85
|
+
{...muiRegister('email', {
|
|
80
86
|
required: true,
|
|
81
87
|
pattern: { value: emailPattern, message: '' },
|
|
82
|
-
}}
|
|
83
|
-
showValid
|
|
84
|
-
control={control}
|
|
88
|
+
})}
|
|
85
89
|
/>
|
|
86
|
-
<
|
|
90
|
+
<TextField
|
|
87
91
|
key='confirm-email'
|
|
88
92
|
variant='outlined'
|
|
89
93
|
type='text'
|
|
@@ -92,13 +96,10 @@ export function UpdateCustomerEmailForm(props: UpdateCustomerEmailFormProps) {
|
|
|
92
96
|
helperText={formState.isSubmitted && formState.errors.confirmEmail?.message}
|
|
93
97
|
label={<Trans id='Confirm new email' />}
|
|
94
98
|
required
|
|
95
|
-
|
|
96
|
-
rules={{
|
|
99
|
+
{...muiRegister('confirmEmail', {
|
|
97
100
|
required: true,
|
|
98
101
|
validate: (value) => value === watchNewEmail || i18n._(/* i18n */ "Emails don't match"),
|
|
99
|
-
}}
|
|
100
|
-
showValid
|
|
101
|
-
control={control}
|
|
102
|
+
})}
|
|
102
103
|
/>
|
|
103
104
|
</FormRow>
|
|
104
105
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Controller,
|
|
1
|
+
import { Controller, useFormAutoSubmit, useFormGqlMutation } from '@graphcommerce/react-hook-form'
|
|
2
2
|
import { Trans } from '@lingui/react'
|
|
3
3
|
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
|
4
4
|
import { FormControl, FormControlLabel, FormHelperText, Switch } from '@mui/material'
|
|
@@ -32,6 +32,7 @@ export function UpdateDefaultAddressForm(props: UpdateDefaultAddressFormProps) {
|
|
|
32
32
|
const { handleSubmit, control, error, reset, formState } = form
|
|
33
33
|
|
|
34
34
|
const submit = handleSubmit(() => {})
|
|
35
|
+
useFormAutoSubmit({ form, submit })
|
|
35
36
|
|
|
36
37
|
useEffect(() => {
|
|
37
38
|
reset(defaultValues)
|
|
@@ -39,7 +40,6 @@ export function UpdateDefaultAddressForm(props: UpdateDefaultAddressFormProps) {
|
|
|
39
40
|
|
|
40
41
|
return (
|
|
41
42
|
<form onSubmit={() => {}} noValidate>
|
|
42
|
-
<FormAutoSubmit control={control} submit={submit} />
|
|
43
43
|
<Controller
|
|
44
44
|
name='defaultShipping'
|
|
45
45
|
control={control}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { usePageContext } from '@graphcommerce/framer-next-pages'
|
|
2
2
|
import { useQuery } from '@graphcommerce/graphql'
|
|
3
|
-
import { useUrlQuery } from '@graphcommerce/next-ui'
|
|
4
3
|
import { useFormGqlQuery } from '@graphcommerce/react-hook-form'
|
|
4
|
+
import { useRouter } from 'next/router'
|
|
5
5
|
import { useEffect } from 'react'
|
|
6
6
|
import { CustomerDocument } from './Customer.gql'
|
|
7
7
|
import {
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
IsEmailAvailableQueryVariables,
|
|
11
11
|
} from './IsEmailAvailable.gql'
|
|
12
12
|
import { useCustomerSession } from './useCustomerSession'
|
|
13
|
+
import { useUrlQuery } from '@graphcommerce/next-ui'
|
|
13
14
|
|
|
14
15
|
export type UseFormIsEmailAvailableProps = {
|
|
15
16
|
onSubmitted?: (data: { email: string }) => void
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-customer",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "8.0.
|
|
5
|
+
"version": "8.0.7",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/ecommerce-ui": "^8.0.
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^8.0.
|
|
17
|
-
"@graphcommerce/framer-next-pages": "^8.0.
|
|
18
|
-
"@graphcommerce/framer-utils": "^8.0.
|
|
19
|
-
"@graphcommerce/graphql": "^8.0.
|
|
20
|
-
"@graphcommerce/graphql-mesh": "^8.0.
|
|
21
|
-
"@graphcommerce/image": "^8.0.
|
|
22
|
-
"@graphcommerce/magento-graphql": "^8.0.
|
|
23
|
-
"@graphcommerce/magento-store": "^8.0.
|
|
24
|
-
"@graphcommerce/next-ui": "^8.0.
|
|
25
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.
|
|
26
|
-
"@graphcommerce/react-hook-form": "^8.0.
|
|
27
|
-
"@graphcommerce/typescript-config-pwa": "^8.0.
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^8.0.7",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.7",
|
|
17
|
+
"@graphcommerce/framer-next-pages": "^8.0.7",
|
|
18
|
+
"@graphcommerce/framer-utils": "^8.0.7",
|
|
19
|
+
"@graphcommerce/graphql": "^8.0.7",
|
|
20
|
+
"@graphcommerce/graphql-mesh": "^8.0.7",
|
|
21
|
+
"@graphcommerce/image": "^8.0.7",
|
|
22
|
+
"@graphcommerce/magento-graphql": "^8.0.7",
|
|
23
|
+
"@graphcommerce/magento-store": "^8.0.7",
|
|
24
|
+
"@graphcommerce/next-ui": "^8.0.7",
|
|
25
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.7",
|
|
26
|
+
"@graphcommerce/react-hook-form": "^8.0.7",
|
|
27
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.7",
|
|
28
28
|
"@lingui/core": "^4.2.1",
|
|
29
29
|
"@lingui/macro": "^4.2.1",
|
|
30
30
|
"@lingui/react": "^4.2.1",
|