@graphcommerce/magento-cart-shipping-address 3.1.0 → 3.2.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,22 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1515](https://github.com/graphcommerce-org/graphcommerce/pull/1515) [`371e6cf52`](https://github.com/graphcommerce-org/graphcommerce/commit/371e6cf52916a3b6c44192bd40cc8271bd608832) Thanks [@mikekeehnen](https://github.com/mikekeehnen)! - - Shipping method UI improvements in checkout, like working ripple effect, auto select and other styling changes.
|
|
8
|
+
- Added new inline button variant
|
|
9
|
+
|
|
10
|
+
* [#1518](https://github.com/graphcommerce-org/graphcommerce/pull/1518) [`4143483f3`](https://github.com/graphcommerce-org/graphcommerce/commit/4143483f37c038d2bbf218be2685e27a31a35745) Thanks [@mikekeehnen](https://github.com/mikekeehnen)! - New ActionCardListForm implementation for Payment Methods
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`c877e438a`](https://github.com/graphcommerce-org/graphcommerce/commit/c877e438a48f30204fa3e36b611906a546e1cf5c), [`371e6cf52`](https://github.com/graphcommerce-org/graphcommerce/commit/371e6cf52916a3b6c44192bd40cc8271bd608832), [`4143483f3`](https://github.com/graphcommerce-org/graphcommerce/commit/4143483f37c038d2bbf218be2685e27a31a35745)]:
|
|
15
|
+
- @graphcommerce/magento-customer@4.5.4
|
|
16
|
+
- @graphcommerce/next-ui@4.10.0
|
|
17
|
+
- @graphcommerce/magento-cart@4.4.4
|
|
18
|
+
- @graphcommerce/magento-store@4.2.11
|
|
19
|
+
|
|
3
20
|
## 3.1.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { useQuery } from '@graphcommerce/graphql'
|
|
2
1
|
import { CustomerAddressFragment } from '@graphcommerce/magento-customer/components/CreateCustomerAddressForm/CustomerAddress.gql'
|
|
3
|
-
import {
|
|
2
|
+
import { useFindCountry } from '@graphcommerce/magento-store'
|
|
4
3
|
import { ActionCard, IconSvg, iconHome } from '@graphcommerce/next-ui'
|
|
5
|
-
import {
|
|
4
|
+
import { ActionCardItemRenderProps } from '@graphcommerce/next-ui/ActionCard/ActionCardListForm'
|
|
6
5
|
import { Trans } from '@lingui/react'
|
|
7
|
-
import {
|
|
6
|
+
import { Button } from '@mui/material'
|
|
8
7
|
import { useRouter } from 'next/router'
|
|
9
8
|
|
|
10
|
-
type CustomerAddressActionCardProps =
|
|
9
|
+
type CustomerAddressActionCardProps = ActionCardItemRenderProps<
|
|
11
10
|
CustomerAddressFragment | null | undefined
|
|
12
11
|
>
|
|
13
12
|
|
|
@@ -36,12 +35,12 @@ export function CustomerAddressActionCard(props: CustomerAddressActionCardProps)
|
|
|
36
35
|
title={<Trans id='New address' />}
|
|
37
36
|
details={<Trans id='Add new address' />}
|
|
38
37
|
action={
|
|
39
|
-
<Button disableRipple variant='
|
|
38
|
+
<Button disableRipple variant='inline' color='secondary'>
|
|
40
39
|
<Trans id='Select' />
|
|
41
40
|
</Button>
|
|
42
41
|
}
|
|
43
42
|
reset={
|
|
44
|
-
<Button disableRipple variant='
|
|
43
|
+
<Button disableRipple variant='inline' color='secondary' onClick={onReset}>
|
|
45
44
|
<Trans id='Change' />
|
|
46
45
|
</Button>
|
|
47
46
|
}
|
|
@@ -65,19 +64,19 @@ export function CustomerAddressActionCard(props: CustomerAddressActionCardProps)
|
|
|
65
64
|
</>
|
|
66
65
|
}
|
|
67
66
|
action={
|
|
68
|
-
<Button disableRipple variant='
|
|
67
|
+
<Button disableRipple variant='inline' color='secondary'>
|
|
69
68
|
<Trans id='Select' />
|
|
70
69
|
</Button>
|
|
71
70
|
}
|
|
72
71
|
reset={
|
|
73
|
-
<Button disableRipple variant='
|
|
72
|
+
<Button disableRipple variant='inline' color='secondary' onClick={onReset}>
|
|
74
73
|
<Trans id='Change' />
|
|
75
74
|
</Button>
|
|
76
75
|
}
|
|
77
76
|
secondaryAction={
|
|
78
77
|
<Button
|
|
79
78
|
color='secondary'
|
|
80
|
-
variant='
|
|
79
|
+
variant='inline'
|
|
81
80
|
onMouseDown={(e) => {
|
|
82
81
|
e.stopPropagation()
|
|
83
82
|
}}
|
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.2.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@graphcommerce/graphql": "3.2.1",
|
|
22
22
|
"@graphcommerce/image": "3.1.7",
|
|
23
|
-
"@graphcommerce/magento-cart": "4.4.
|
|
24
|
-
"@graphcommerce/magento-customer": "4.5.
|
|
25
|
-
"@graphcommerce/magento-store": "4.2.
|
|
26
|
-
"@graphcommerce/next-ui": "4.
|
|
23
|
+
"@graphcommerce/magento-cart": "4.4.4",
|
|
24
|
+
"@graphcommerce/magento-customer": "4.5.4",
|
|
25
|
+
"@graphcommerce/magento-store": "4.2.11",
|
|
26
|
+
"@graphcommerce/next-ui": "4.10.0",
|
|
27
27
|
"@graphcommerce/react-hook-form": "3.2.2"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|