@graphcommerce/magento-cart-shipping-address 9.0.0 → 9.0.1-canary.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,21 +1,31 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.0
3
+ ## 9.0.1-canary.1
4
4
 
5
- ### Minor Changes
5
+ ### Patch Changes
6
6
 
7
- - [#2319](https://github.com/graphcommerce-org/graphcommerce/pull/2319) [`a3409e8`](https://github.com/graphcommerce-org/graphcommerce/commit/a3409e8a629ee95413da6547cbdcf48aa2502c23) - Created a new `<TelephoneElement />` component to make re-use easier. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
7
+ - [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`3066a2f`](https://github.com/graphcommerce-org/graphcommerce/commit/3066a2fea83b40ca2ab96987adf1261f63d24e77) - When a Customer deselected their shipping address, but had a shipping note filled in it would try to submit the form causing an error. By making the customer_address_id field required we prevent this. ([@paales](https://github.com/paales))
8
+
9
+ ## 9.0.0
10
+
11
+ ### Major Changes
8
12
 
9
13
  - [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Added `<CompanyFields/>` with `<CompanyName />` and `<CompanyVAT />` to shipping and billing forms. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
10
14
 
11
- - [#2307](https://github.com/graphcommerce-org/graphcommerce/pull/2307) [`20cb571`](https://github.com/graphcommerce-org/graphcommerce/commit/20cb57171ae5bff0b86a341ea4db59ea3f4f639a) - Add a 'save in address book' checkbox to the shipping address form. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
15
+ - [#2307](https://github.com/graphcommerce-org/graphcommerce/pull/2307) [`20cb571`](https://github.com/graphcommerce-org/graphcommerce/commit/20cb57171ae5bff0b86a341ea4db59ea3f4f639a) - Add a 'Save in address book' checkbox to the shipping address form. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
12
16
 
13
17
  - [#2313](https://github.com/graphcommerce-org/graphcommerce/pull/2313) [`511e75c`](https://github.com/graphcommerce-org/graphcommerce/commit/511e75c3f8c077e617ed17e5042796e2411f312f) - Add the `customerNote` field to the shipping and customer address forms. Added configuration `customerAddressNoteEnable` to enable or disable the field. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
14
18
 
15
- - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`1d6512d`](https://github.com/graphcommerce-org/graphcommerce/commit/1d6512d4118cfb46602aa1f2432c3566fdb3261d) - Rename `experimental_useV2` prop to `deprecated_useV1` in `useFromGql` and enable it by default. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
19
+ - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`530076e`](https://github.com/graphcommerce-org/graphcommerce/commit/530076e3664703cb8b577b7fcf1998a420819f60) - INP improvements: Moved all usages of `useFormPersist` to the `<FormPersist/>` component to prevent rerenders. ([@FrankHarland](https://github.com/FrankHarland))
20
+
21
+ ### Minor Changes
22
+
23
+ - [#2319](https://github.com/graphcommerce-org/graphcommerce/pull/2319) [`a3409e8`](https://github.com/graphcommerce-org/graphcommerce/commit/a3409e8a629ee95413da6547cbdcf48aa2502c23) - Created a new `<TelephoneElement />` component to make re-use easier. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
16
24
 
17
25
  ### Patch Changes
18
26
 
27
+ - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`1d6512d`](https://github.com/graphcommerce-org/graphcommerce/commit/1d6512d4118cfb46602aa1f2432c3566fdb3261d) - Rename `experimental_useV2` prop to `deprecated_useV1` in `useFromGql` and enable it by default. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
28
+
19
29
  - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`3043f94`](https://github.com/graphcommerce-org/graphcommerce/commit/3043f945c4caa2931c46f1f9ad940fd80b07e999) - In the shipping step show errors with a `<ApolloCartErrorSnackbar />` instead of a `<ApolloCartErrorAlert />`. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
20
30
 
21
31
  - [#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. ([@FrankHarland](https://github.com/FrankHarland))
@@ -26,106 +36,12 @@
26
36
 
27
37
  - [#2300](https://github.com/graphcommerce-org/graphcommerce/pull/2300) [`19adebe`](https://github.com/graphcommerce-org/graphcommerce/commit/19adebe2ff896c65d21543fc9243a36393747e06) - Fixed `<CustomerAddressForm/>` resetting to a saved address when trying to use a new address. ([@bramvanderholst](https://github.com/bramvanderholst))
28
38
 
29
- - [#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. ([@FrankHarland](https://github.com/FrankHarland))
30
-
31
39
  - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - The billing and shipping address of a customer would not be recognized as the same address although they would effectively be the same ([@FrankHarland](https://github.com/FrankHarland))
32
40
 
33
41
  - [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Fix bug with persist not applying saved changes by moving `<FromPersist/>` below the form components. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
34
42
 
35
43
  - [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`cb8d2f0`](https://github.com/graphcommerce-org/graphcommerce/commit/cb8d2f0059d64242260e30ce34655868f204ef4c) - Made all component prop types exported ([@bramvanderholst](https://github.com/bramvanderholst))
36
44
 
37
- ## 9.0.0-canary.118
38
-
39
- ## 9.0.0-canary.117
40
-
41
- ## 9.0.0-canary.116
42
-
43
- ## 9.0.0-canary.115
44
-
45
- ## 9.0.0-canary.114
46
-
47
- ## 9.0.0-canary.113
48
-
49
- ## 9.0.0-canary.112
50
-
51
- ## 9.0.0-canary.111
52
-
53
- ## 9.0.0-canary.110
54
-
55
- ## 9.0.0-canary.109
56
-
57
- ## 9.0.0-canary.108
58
-
59
- ### Patch Changes
60
-
61
- - [#2438](https://github.com/graphcommerce-org/graphcommerce/pull/2438) [`cb8d2f0`](https://github.com/graphcommerce-org/graphcommerce/commit/cb8d2f0059d64242260e30ce34655868f204ef4c) - Made all component prop types exported ([@bramvanderholst](https://github.com/bramvanderholst))
62
-
63
- ## 9.0.0-canary.107
64
-
65
- ## 9.0.0-canary.106
66
-
67
- ## 9.0.0-canary.105
68
-
69
- ## 9.0.0-canary.104
70
-
71
- ## 9.0.0-canary.103
72
-
73
- ## 9.0.0-canary.80
74
-
75
- ### Minor Changes
76
-
77
- - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`1d6512d`](https://github.com/graphcommerce-org/graphcommerce/commit/1d6512d4118cfb46602aa1f2432c3566fdb3261d) - Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
78
-
79
- ### Patch Changes
80
-
81
- - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`3043f94`](https://github.com/graphcommerce-org/graphcommerce/commit/3043f945c4caa2931c46f1f9ad940fd80b07e999) - In the shipping step show errors with a ApolloCartErrorSnackbar instead of a ApolloCartErrorAlert ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
82
-
83
- - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`3101681`](https://github.com/graphcommerce-org/graphcommerce/commit/3101681180e1a5a0cfba1bb89d72deb02cafdbbf) - When saving a shipping address it would always save the company after it was once saved. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
84
-
85
- ## 8.1.0-canary.46
86
-
87
- ### Minor Changes
88
-
89
- - [#2313](https://github.com/graphcommerce-org/graphcommerce/pull/2313) [`511e75c`](https://github.com/graphcommerce-org/graphcommerce/commit/511e75c3f8c077e617ed17e5042796e2411f312f) - Add the customerNote field to the shipping and customer address forms ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
90
-
91
- ## 8.1.0-canary.39
92
-
93
- ### Minor Changes
94
-
95
- - [#2307](https://github.com/graphcommerce-org/graphcommerce/pull/2307) [`20cb571`](https://github.com/graphcommerce-org/graphcommerce/commit/20cb57171ae5bff0b86a341ea4db59ea3f4f639a) - Add save in address book checkbox to shipping address form ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
96
-
97
- ## 8.1.0-canary.38
98
-
99
- ### Minor Changes
100
-
101
- - [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Add company and vat fields to shipping and billing forms ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
102
-
103
- ### Patch Changes
104
-
105
- - [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Fix bug with persist not applying saved changes by moving <FromPersist/> below the form components ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
106
-
107
- ## 8.1.0-canary.37
108
-
109
- ### Patch Changes
110
-
111
- - [#2300](https://github.com/graphcommerce-org/graphcommerce/pull/2300) [`19adebe`](https://github.com/graphcommerce-org/graphcommerce/commit/19adebe2ff896c65d21543fc9243a36393747e06) - Fixed CustomerAddressForm resetting to a saved address when trying to use a new address ([@bramvanderholst](https://github.com/bramvanderholst))
112
-
113
- ## 8.1.0-canary.30
114
-
115
- ### Patch Changes
116
-
117
- - [#2295](https://github.com/graphcommerce-org/graphcommerce/pull/2295) [`0ca6827`](https://github.com/graphcommerce-org/graphcommerce/commit/0ca682793bf7feb0cae2bd776a4eaa2899d980a0) - Fixed shipping address not getting set for logged-in customers with default address ([@bramvanderholst](https://github.com/bramvanderholst))
118
-
119
- ## 8.0.6-canary.2
120
-
121
- ### Patch Changes
122
-
123
- - [#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 ([@FrankHarland](https://github.com/FrankHarland))
124
-
125
- - [#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. ([@FrankHarland](https://github.com/FrankHarland))
126
-
127
- - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - The billing and shipping address of a customer would not be recognized as the same address although they would effectively be the same ([@FrankHarland](https://github.com/FrankHarland))
128
-
129
45
  ## 8.0.5
130
46
 
131
47
  ### Patch Changes
@@ -158,6 +158,7 @@ export function CustomerAddressForm(props: CustomerAddressListProps) {
158
158
  collapse
159
159
  size='large'
160
160
  color='secondary'
161
+ required
161
162
  items={[
162
163
  ...customerAddresses.map((address) => ({ ...address, value: address.id })),
163
164
  { value: -1 },
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": "9.0.0",
5
+ "version": "9.0.1-canary.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,17 +12,17 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.0.0",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.0",
17
- "@graphcommerce/graphql": "^9.0.0",
18
- "@graphcommerce/graphql-mesh": "^9.0.0",
19
- "@graphcommerce/image": "^9.0.0",
20
- "@graphcommerce/magento-cart": "^9.0.0",
21
- "@graphcommerce/magento-customer": "^9.0.0",
22
- "@graphcommerce/magento-store": "^9.0.0",
23
- "@graphcommerce/next-ui": "^9.0.0",
24
- "@graphcommerce/prettier-config-pwa": "^9.0.0",
25
- "@graphcommerce/typescript-config-pwa": "^9.0.0",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.1-canary.1",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.1-canary.1",
17
+ "@graphcommerce/graphql": "^9.0.1-canary.1",
18
+ "@graphcommerce/graphql-mesh": "^9.0.1-canary.1",
19
+ "@graphcommerce/image": "^9.0.1-canary.1",
20
+ "@graphcommerce/magento-cart": "^9.0.1-canary.1",
21
+ "@graphcommerce/magento-customer": "^9.0.1-canary.1",
22
+ "@graphcommerce/magento-store": "^9.0.1-canary.1",
23
+ "@graphcommerce/next-ui": "^9.0.1-canary.1",
24
+ "@graphcommerce/prettier-config-pwa": "^9.0.1-canary.1",
25
+ "@graphcommerce/typescript-config-pwa": "^9.0.1-canary.1",
26
26
  "@lingui/core": "^4.2.1",
27
27
  "@lingui/macro": "^4.2.1",
28
28
  "@lingui/react": "^4.2.1",