@graphcommerce/magento-cart-shipping-address 3.4.8 → 3.5.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,5 +1,33 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1642](https://github.com/graphcommerce-org/graphcommerce/pull/1642) [`ad63ebf4e`](https://github.com/graphcommerce-org/graphcommerce/commit/ad63ebf4e33bfb0e5c9e5e68ab69b14775f3f8a8) Thanks [@paales](https://github.com/paales)! - Introduced `<AddProductsToCartForm/>`, which is allows for adding all product types to the cart with a single react-hook-form form.
|
|
8
|
+
|
|
9
|
+
Which allows you to fully compose the form on the product page without having to modify the page.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`ad63ebf4e`](https://github.com/graphcommerce-org/graphcommerce/commit/ad63ebf4e33bfb0e5c9e5e68ab69b14775f3f8a8), [`9e6fd498e`](https://github.com/graphcommerce-org/graphcommerce/commit/9e6fd498e3242ab30602767ae77a8e22f80d9fd3)]:
|
|
14
|
+
- @graphcommerce/ecommerce-ui@1.5.0
|
|
15
|
+
- @graphcommerce/magento-store@4.3.0
|
|
16
|
+
- @graphcommerce/next-ui@4.27.0
|
|
17
|
+
- @graphcommerce/magento-cart@4.8.4
|
|
18
|
+
- @graphcommerce/magento-customer@4.11.4
|
|
19
|
+
|
|
20
|
+
## 3.4.9
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [[`fad7b6b48`](https://github.com/graphcommerce-org/graphcommerce/commit/fad7b6b48732fd631599c17abd8961de3f49c7dc), [`42e7fac75`](https://github.com/graphcommerce-org/graphcommerce/commit/42e7fac75712f9bda7a6b919ede14b3c75d07771)]:
|
|
25
|
+
- @graphcommerce/ecommerce-ui@1.4.0
|
|
26
|
+
- @graphcommerce/next-ui@4.26.0
|
|
27
|
+
- @graphcommerce/magento-cart@4.8.3
|
|
28
|
+
- @graphcommerce/magento-customer@4.11.3
|
|
29
|
+
- @graphcommerce/magento-store@4.2.35
|
|
30
|
+
|
|
3
31
|
## 3.4.8
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -34,12 +34,12 @@ export function CustomerAddressActionCard(props: CustomerAddressActionCardProps)
|
|
|
34
34
|
title={<Trans id='New address' />}
|
|
35
35
|
details={<Trans id='Add new address' />}
|
|
36
36
|
action={
|
|
37
|
-
<Button
|
|
37
|
+
<Button disableTouchRipple variant='inline' color='secondary'>
|
|
38
38
|
<Trans id='Select' />
|
|
39
39
|
</Button>
|
|
40
40
|
}
|
|
41
41
|
reset={
|
|
42
|
-
<Button
|
|
42
|
+
<Button disableTouchRipple variant='inline' color='secondary' onClick={onReset}>
|
|
43
43
|
<Trans id='Change' />
|
|
44
44
|
</Button>
|
|
45
45
|
}
|
|
@@ -63,12 +63,12 @@ export function CustomerAddressActionCard(props: CustomerAddressActionCardProps)
|
|
|
63
63
|
</>
|
|
64
64
|
}
|
|
65
65
|
action={
|
|
66
|
-
<Button
|
|
66
|
+
<Button disableTouchRipple variant='inline' color='secondary'>
|
|
67
67
|
<Trans id='Select' />
|
|
68
68
|
</Button>
|
|
69
69
|
}
|
|
70
70
|
reset={
|
|
71
|
-
<Button
|
|
71
|
+
<Button disableTouchRipple variant='inline' color='secondary' onClick={onReset}>
|
|
72
72
|
<Trans id='Change' />
|
|
73
73
|
</Button>
|
|
74
74
|
}
|
|
@@ -100,6 +100,9 @@ export function CustomerAddressForm(props: CustomerAddressListProps) {
|
|
|
100
100
|
control={control}
|
|
101
101
|
name='customerAddressId'
|
|
102
102
|
errorMessage='Please select a shipping address'
|
|
103
|
+
collapse
|
|
104
|
+
size='large'
|
|
105
|
+
color='secondary'
|
|
103
106
|
items={[
|
|
104
107
|
...(addresses ?? []).filter(Boolean).map((address) => ({
|
|
105
108
|
...address,
|
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": "3.
|
|
5
|
+
"version": "3.5.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"@playwright/test": "^1.21.1"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@graphcommerce/ecommerce-ui": "1.
|
|
21
|
+
"@graphcommerce/ecommerce-ui": "1.5.0",
|
|
22
22
|
"@graphcommerce/graphql": "3.4.8",
|
|
23
23
|
"@graphcommerce/image": "3.1.9",
|
|
24
|
-
"@graphcommerce/magento-cart": "4.8.
|
|
25
|
-
"@graphcommerce/magento-customer": "4.11.
|
|
26
|
-
"@graphcommerce/magento-store": "4.
|
|
27
|
-
"@graphcommerce/next-ui": "4.
|
|
24
|
+
"@graphcommerce/magento-cart": "4.8.4",
|
|
25
|
+
"@graphcommerce/magento-customer": "4.11.4",
|
|
26
|
+
"@graphcommerce/magento-store": "4.3.0",
|
|
27
|
+
"@graphcommerce/next-ui": "4.27.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@lingui/react": "^3.13.2",
|