@graphcommerce/magento-cart-shipping-address 3.1.0 → 3.2.2

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,41 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`d140fca34`](https://github.com/graphcommerce-org/graphcommerce/commit/d140fca3463b73e761e23fd1d9216305727f0c1a), [`9ec0338df`](https://github.com/graphcommerce-org/graphcommerce/commit/9ec0338dfe34d37b0f2c24e36ffa6ed13ea1145e), [`735b78672`](https://github.com/graphcommerce-org/graphcommerce/commit/735b786724d5401cbe6e88f2515e121a1a0945b2)]:
8
+ - @graphcommerce/magento-cart@4.4.6
9
+ - @graphcommerce/next-ui@4.11.0
10
+ - @graphcommerce/magento-store@4.2.12
11
+ - @graphcommerce/graphql@3.3.0
12
+ - @graphcommerce/magento-customer@4.6.1
13
+
14
+ ## 3.2.1
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [[`98ff2334d`](https://github.com/graphcommerce-org/graphcommerce/commit/98ff2334d1b7dedb8bc56ebe6abb50836eefedd3)]:
19
+ - @graphcommerce/magento-customer@4.6.0
20
+ - @graphcommerce/magento-cart@4.4.5
21
+
22
+ ## 3.2.0
23
+
24
+ ### Minor Changes
25
+
26
+ - [#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.
27
+ - Added new inline button variant
28
+
29
+ * [#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
30
+
31
+ ### Patch Changes
32
+
33
+ - 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)]:
34
+ - @graphcommerce/magento-customer@4.5.4
35
+ - @graphcommerce/next-ui@4.10.0
36
+ - @graphcommerce/magento-cart@4.4.4
37
+ - @graphcommerce/magento-store@4.2.11
38
+
3
39
  ## 3.1.0
4
40
 
5
41
  ### 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 { CountryRegionsDocument, useFindCountry } from '@graphcommerce/magento-store'
2
+ import { useFindCountry } from '@graphcommerce/magento-store'
4
3
  import { ActionCard, IconSvg, iconHome } from '@graphcommerce/next-ui'
5
- import { ActionCardItemRenderer } from '@graphcommerce/next-ui/ActionCard/ActionCardListForm'
4
+ import { ActionCardItemRenderProps } from '@graphcommerce/next-ui/ActionCard/ActionCardListForm'
6
5
  import { Trans } from '@lingui/react'
7
- import { Box, Button } from '@mui/material'
6
+ import { Button } from '@mui/material'
8
7
  import { useRouter } from 'next/router'
9
8
 
10
- type CustomerAddressActionCardProps = ActionCardItemRenderer<
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='text' color='secondary'>
38
+ <Button disableRipple variant='inline' color='secondary'>
40
39
  <Trans id='Select' />
41
40
  </Button>
42
41
  }
43
42
  reset={
44
- <Button disableRipple variant='text' color='secondary' onClick={onReset}>
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='text' color='secondary'>
67
+ <Button disableRipple variant='inline' color='secondary'>
69
68
  <Trans id='Select' />
70
69
  </Button>
71
70
  }
72
71
  reset={
73
- <Button disableRipple variant='text' color='secondary' onClick={onReset}>
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='text'
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.1.0",
5
+ "version": "3.2.2",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -18,12 +18,12 @@
18
18
  "@playwright/test": "^1.21.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "3.2.1",
21
+ "@graphcommerce/graphql": "3.3.0",
22
22
  "@graphcommerce/image": "3.1.7",
23
- "@graphcommerce/magento-cart": "4.4.3",
24
- "@graphcommerce/magento-customer": "4.5.3",
25
- "@graphcommerce/magento-store": "4.2.10",
26
- "@graphcommerce/next-ui": "4.9.0",
23
+ "@graphcommerce/magento-cart": "4.4.6",
24
+ "@graphcommerce/magento-customer": "4.6.1",
25
+ "@graphcommerce/magento-store": "4.2.12",
26
+ "@graphcommerce/next-ui": "4.11.0",
27
27
  "@graphcommerce/react-hook-form": "3.2.2"
28
28
  },
29
29
  "peerDependencies": {