@graphcommerce/magento-cart-shipping-address 3.0.26 → 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,51 @@
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
+
20
+ ## 3.1.0
21
+
22
+ ### Minor Changes
23
+
24
+ - [#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
25
+
26
+ ### Patch Changes
27
+
28
+ - [#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
29
+
30
+ - 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)]:
31
+ - @graphcommerce/magento-customer@4.5.3
32
+ - @graphcommerce/next-ui@4.9.0
33
+ - @graphcommerce/graphql@3.2.1
34
+ - @graphcommerce/image@3.1.7
35
+ - @graphcommerce/magento-cart@4.4.3
36
+ - @graphcommerce/magento-store@4.2.10
37
+ - @graphcommerce/react-hook-form@3.2.2
38
+
39
+ ## 3.0.27
40
+
41
+ ### Patch Changes
42
+
43
+ - Updated dependencies [[`0ab7c5465`](https://github.com/graphcommerce-org/graphcommerce/commit/0ab7c5465441cba9bf8cd185a6790ce2f443f4ed), [`711fa6e04`](https://github.com/graphcommerce-org/graphcommerce/commit/711fa6e04519bbe91825fec7e1714277c1a8fa68)]:
44
+ - @graphcommerce/next-ui@4.8.4
45
+ - @graphcommerce/magento-customer@4.5.2
46
+ - @graphcommerce/magento-cart@4.4.2
47
+ - @graphcommerce/magento-store@4.2.9
48
+
3
49
  ## 3.0.26
4
50
 
5
51
  ### 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.26",
5
+ "version": "3.2.0",
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.1",
24
- "@graphcommerce/magento-customer": "4.5.1",
25
- "@graphcommerce/magento-store": "4.2.8",
26
- "@graphcommerce/next-ui": "4.8.3",
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.4",
24
+ "@graphcommerce/magento-customer": "4.5.4",
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
  }