@graphcommerce/magento-cart-shipping-address 3.0.27 → 3.2.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,5 +1,49 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`98ff2334d`](https://github.com/graphcommerce-org/graphcommerce/commit/98ff2334d1b7dedb8bc56ebe6abb50836eefedd3)]:
8
+ - @graphcommerce/magento-customer@4.6.0
9
+ - @graphcommerce/magento-cart@4.4.5
10
+
11
+ ## 3.2.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#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.
16
+ - Added new inline button variant
17
+
18
+ * [#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
19
+
20
+ ### Patch Changes
21
+
22
+ - 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)]:
23
+ - @graphcommerce/magento-customer@4.5.4
24
+ - @graphcommerce/next-ui@4.10.0
25
+ - @graphcommerce/magento-cart@4.4.4
26
+ - @graphcommerce/magento-store@4.2.11
27
+
28
+ ## 3.1.0
29
+
30
+ ### Minor Changes
31
+
32
+ - [#1503](https://github.com/graphcommerce-org/graphcommerce/pull/1503) [`a9213f1f5`](https://github.com/graphcommerce-org/graphcommerce/commit/a9213f1f5a410d217768386ccb6d9b5ce7bd5782) Thanks [@mikekeehnen](https://github.com/mikekeehnen)! - Bug fixes for shipping methods in /checkout
33
+
34
+ ### Patch Changes
35
+
36
+ - [#1490](https://github.com/graphcommerce-org/graphcommerce/pull/1490) [`d311ef48b`](https://github.com/graphcommerce-org/graphcommerce/commit/d311ef48bb3e97806d992af5516d6b7f183ec9cb) Thanks [@paales](https://github.com/paales)! - upgraded packages
37
+
38
+ - Updated dependencies [[`8a626ecf7`](https://github.com/graphcommerce-org/graphcommerce/commit/8a626ecf7ed00c46a28088e0b9bae00a4e1ae019), [`a9213f1f5`](https://github.com/graphcommerce-org/graphcommerce/commit/a9213f1f5a410d217768386ccb6d9b5ce7bd5782), [`d311ef48b`](https://github.com/graphcommerce-org/graphcommerce/commit/d311ef48bb3e97806d992af5516d6b7f183ec9cb)]:
39
+ - @graphcommerce/magento-customer@4.5.3
40
+ - @graphcommerce/next-ui@4.9.0
41
+ - @graphcommerce/graphql@3.2.1
42
+ - @graphcommerce/image@3.1.7
43
+ - @graphcommerce/magento-cart@4.4.3
44
+ - @graphcommerce/magento-store@4.2.10
45
+ - @graphcommerce/react-hook-form@3.2.2
46
+
3
47
  ## 3.0.27
4
48
 
5
49
  ### Patch 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.0.27",
5
+ "version": "3.2.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,27 +12,27 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.1.7",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.8",
16
16
  "@graphcommerce/prettier-config-pwa": "^4.0.6",
17
17
  "@graphcommerce/typescript-config-pwa": "^4.0.3",
18
18
  "@playwright/test": "^1.21.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "3.2.0",
22
- "@graphcommerce/image": "3.1.6",
23
- "@graphcommerce/magento-cart": "4.4.2",
24
- "@graphcommerce/magento-customer": "4.5.2",
25
- "@graphcommerce/magento-store": "4.2.9",
26
- "@graphcommerce/next-ui": "4.8.4",
27
- "@graphcommerce/react-hook-form": "3.2.1"
21
+ "@graphcommerce/graphql": "3.2.1",
22
+ "@graphcommerce/image": "3.1.7",
23
+ "@graphcommerce/magento-cart": "4.4.5",
24
+ "@graphcommerce/magento-customer": "4.6.0",
25
+ "@graphcommerce/magento-store": "4.2.11",
26
+ "@graphcommerce/next-ui": "4.10.0",
27
+ "@graphcommerce/react-hook-form": "3.2.2"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@lingui/react": "^3.13.2",
31
31
  "@lingui/core": "^3.13.2",
32
32
  "@mui/material": "5.5.3",
33
33
  "framer-motion": "^6.2.4",
34
- "next": "12.1.2",
35
- "react": "^17.0.2",
36
- "react-dom": "^17.0.2"
34
+ "next": "^12.1.2",
35
+ "react": "^18.0.0",
36
+ "react-dom": "^18.0.0"
37
37
  }
38
38
  }