@graphcommerce/magento-cart-shipping-address 10.0.0-canary.72 → 10.0.1-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,42 +1,12 @@
1
1
  # Change Log
2
2
 
3
- ## 10.0.0-canary.72
4
-
5
- ## 10.0.0-canary.71
6
-
7
- ## 10.0.0-canary.70
8
-
9
- ## 10.0.0-canary.69
10
-
11
- ## 10.0.0-canary.68
12
-
13
- ## 10.0.0-canary.67
3
+ ## 10.0.1-canary.0
14
4
 
15
5
  ### Patch Changes
16
6
 
17
- - [#2540](https://github.com/graphcommerce-org/graphcommerce/pull/2540) [`36e2bac`](https://github.com/graphcommerce-org/graphcommerce/commit/36e2bacb4fe765ce1fcd24dc36736e90bb17a7dc) - Add billingAddress permission (EDITABLE | READONLY) that controls whether the end user can update their billing address in the account section and checkout. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
18
-
19
- ## 10.0.0-canary.66
20
-
21
- ## 10.0.0-canary.65
22
-
23
- ## 10.0.0-canary.64
24
-
25
- ## 10.0.0-canary.63
7
+ - [#2568](https://github.com/graphcommerce-org/graphcommerce/pull/2568) [`dc57da4`](https://github.com/graphcommerce-org/graphcommerce/commit/dc57da4897365ddb2b779eab3ad2b3a350ed115c) - Moved from form.watch to useWatch everywhere which works even if the fields are later initialized. ([@paales](https://github.com/paales))
26
8
 
27
- ## 10.0.0-canary.62
28
-
29
- ## 10.0.0-canary.61
30
-
31
- ## 10.0.0-canary.60
32
-
33
- ## 10.0.0-canary.59
34
-
35
- ## 10.0.0-canary.58
36
-
37
- ## 10.0.0-canary.57
38
-
39
- ## 10.0.0-canary.56
9
+ ## 10.0.0
40
10
 
41
11
  ### Major Changes
42
12
 
@@ -116,121 +86,11 @@
116
86
  - `@mui/*` modern alias rewrites
117
87
  - Debug plugins (`CircularDependencyPlugin`, `DuplicatesPlugin`) ([@paales](https://github.com/paales))
118
88
 
119
- ## 9.1.0-canary.55
120
-
121
89
  ### Patch Changes
122
90
 
123
- - [#2539](https://github.com/graphcommerce-org/graphcommerce/pull/2539) [`415f9fb`](https://github.com/graphcommerce-org/graphcommerce/commit/415f9fb50454fb20cb533235969dd9ab4ffc134b) - Allow setting the cartId in the form for useFormGqlMutationCart by setting the cartId in the form AND allow setting the cartId for a whole context by wrapping with CartIdProvider ([@paales](https://github.com/paales))
124
-
125
- ## 9.1.0-canary.54
126
-
127
- ## 9.1.0-canary.53
128
-
129
- ## 9.1.0-canary.52
130
-
131
- ## 9.1.0-canary.51
132
-
133
- ## 9.1.0-canary.50
134
-
135
- ## 9.1.0-canary.49
136
-
137
- ## 9.1.0-canary.48
138
-
139
- ## 9.1.0-canary.47
140
-
141
- ## 9.1.0-canary.46
142
-
143
- ## 9.1.0-canary.45
144
-
145
- ## 9.1.0-canary.44
146
-
147
- ## 9.1.0-canary.43
148
-
149
- ## 9.1.0-canary.42
150
-
151
- ## 9.1.0-canary.41
152
-
153
- ## 9.1.0-canary.40
154
-
155
- ## 9.1.0-canary.39
156
-
157
- ## 9.1.0-canary.38
158
-
159
- ## 9.1.0-canary.37
160
-
161
- ## 9.1.0-canary.36
162
-
163
- ## 9.1.0-canary.35
164
-
165
- ## 9.1.0-canary.34
166
-
167
- ## 9.1.0-canary.33
168
-
169
- ## 9.1.0-canary.32
170
-
171
- ## 9.1.0-canary.31
172
-
173
- ## 9.1.0-canary.30
174
-
175
- ## 9.1.0-canary.29
176
-
177
- ## 9.1.0-canary.28
178
-
179
- ## 9.1.0-canary.27
180
-
181
- ## 9.1.0-canary.26
182
-
183
- ## 9.1.0-canary.25
184
-
185
- ## 9.1.0-canary.24
186
-
187
- ## 9.1.0-canary.23
188
-
189
- ## 9.1.0-canary.22
190
-
191
- ## 9.1.0-canary.21
192
-
193
- ## 9.1.0-canary.20
194
-
195
- ## 9.1.0-canary.19
196
-
197
- ## 9.1.0-canary.18
198
-
199
- ## 9.1.0-canary.17
200
-
201
- ## 9.1.0-canary.16
202
-
203
- ## 9.1.0-canary.15
204
-
205
- ## 9.0.4-canary.14
206
-
207
- ## 9.0.4-canary.13
208
-
209
- ## 9.0.4-canary.12
210
-
211
- ## 9.0.4-canary.11
212
-
213
- ## 9.0.4-canary.10
214
-
215
- ## 9.0.4-canary.9
216
-
217
- ## 9.0.4-canary.8
218
-
219
- ## 9.0.4-canary.7
220
-
221
- ## 9.0.4-canary.6
222
-
223
- ## 9.0.4-canary.5
224
-
225
- ## 9.0.4-canary.4
226
-
227
- ## 9.0.4-canary.3
228
-
229
- ## 9.0.4-canary.2
230
-
231
- ## 9.0.4-canary.1
91
+ - [#2540](https://github.com/graphcommerce-org/graphcommerce/pull/2540) [`36e2bac`](https://github.com/graphcommerce-org/graphcommerce/commit/36e2bacb4fe765ce1fcd24dc36736e90bb17a7dc) - Add billingAddress permission (EDITABLE | READONLY) that controls whether the end user can update their billing address in the account section and checkout. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
232
92
 
233
- ## 9.0.4-canary.0
93
+ - [#2539](https://github.com/graphcommerce-org/graphcommerce/pull/2539) [`415f9fb`](https://github.com/graphcommerce-org/graphcommerce/commit/415f9fb50454fb20cb533235969dd9ab4ffc134b) - Allow setting the cartId in the form for useFormGqlMutationCart by setting the cartId in the form AND allow setting the cartId for a whole context by wrapping with CartIdProvider ([@paales](https://github.com/paales))
234
94
 
235
95
  ## 9.0.2
236
96
 
@@ -5,6 +5,7 @@ import {
5
5
  FormPersist,
6
6
  TextFieldElement,
7
7
  useFormCompose,
8
+ useWatch,
8
9
  } from '@graphcommerce/ecommerce-ui'
9
10
  import { useQuery } from '@graphcommerce/graphql'
10
11
  import {
@@ -125,8 +126,8 @@ export function CustomerAddressForm(props: CustomerAddressListProps) {
125
126
  },
126
127
  })
127
128
 
128
- const { handleSubmit, error, control, setValue, watch } = form
129
- const formAddressId = watch('customer_address_id')
129
+ const { handleSubmit, error, control, setValue } = form
130
+ const formAddressId = useWatch({ control, name: 'customer_address_id' })
130
131
 
131
132
  useEffect(() => {
132
133
  if (mode === 'both' || mode === 'shipping') {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-shipping-address",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "10.0.0-canary.72",
5
+ "version": "10.0.1-canary.0",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -15,17 +15,17 @@
15
15
  ".": "./index.ts"
16
16
  },
17
17
  "peerDependencies": {
18
- "@graphcommerce/ecommerce-ui": "^10.0.0-canary.72",
19
- "@graphcommerce/eslint-config-pwa": "^10.0.0-canary.72",
20
- "@graphcommerce/graphql": "^10.0.0-canary.72",
21
- "@graphcommerce/graphql-mesh": "^10.0.0-canary.72",
22
- "@graphcommerce/image": "^10.0.0-canary.72",
23
- "@graphcommerce/magento-cart": "^10.0.0-canary.72",
24
- "@graphcommerce/magento-customer": "^10.0.0-canary.72",
25
- "@graphcommerce/magento-store": "^10.0.0-canary.72",
26
- "@graphcommerce/next-ui": "^10.0.0-canary.72",
27
- "@graphcommerce/prettier-config-pwa": "^10.0.0-canary.72",
28
- "@graphcommerce/typescript-config-pwa": "^10.0.0-canary.72",
18
+ "@graphcommerce/ecommerce-ui": "^10.0.1-canary.0",
19
+ "@graphcommerce/eslint-config-pwa": "^10.0.1-canary.0",
20
+ "@graphcommerce/graphql": "^10.0.1-canary.0",
21
+ "@graphcommerce/graphql-mesh": "^10.0.1-canary.0",
22
+ "@graphcommerce/image": "^10.0.1-canary.0",
23
+ "@graphcommerce/magento-cart": "^10.0.1-canary.0",
24
+ "@graphcommerce/magento-customer": "^10.0.1-canary.0",
25
+ "@graphcommerce/magento-store": "^10.0.1-canary.0",
26
+ "@graphcommerce/next-ui": "^10.0.1-canary.0",
27
+ "@graphcommerce/prettier-config-pwa": "^10.0.1-canary.0",
28
+ "@graphcommerce/typescript-config-pwa": "^10.0.1-canary.0",
29
29
  "@lingui/core": "^5",
30
30
  "@lingui/macro": "^5",
31
31
  "@lingui/react": "^5",