@graphcommerce/magento-cart-payment-method 3.4.11 → 3.5.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,47 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @graphcommerce/magento-store@4.2.29
9
+ - @graphcommerce/magento-cart@4.7.1
10
+
11
+ ## 3.5.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#1602](https://github.com/graphcommerce-org/graphcommerce/pull/1602) [`5f781a217`](https://github.com/graphcommerce-org/graphcommerce/commit/5f781a217ce63ed56bc1a9983487b04400a8a315) Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Default styles and layout fixes
16
+
17
+ - Scaled icons and fonts down. Size in typography is now more gradual: https://graphcommerce.vercel.app/test/typography
18
+ - Multiple accessibility fixes. Missing button/input labels, and fixed spacing issues resulting in high % appropriately sized tap targets
19
+ - Replaced responsiveVal usage with better performaning breakpointVal where possible
20
+ - All buttons are now Pill by default.
21
+ - Cleaned up checkout styles
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [[`04708dacc`](https://github.com/graphcommerce-org/graphcommerce/commit/04708daccc213c6ea927bc67fa3bd0d5b1fad619), [`bb94e7045`](https://github.com/graphcommerce-org/graphcommerce/commit/bb94e7045460cb671c45d612a0833731d7c20c30), [`b0dc4e2e1`](https://github.com/graphcommerce-org/graphcommerce/commit/b0dc4e2e1982d502d38dd50a0f493396360a7a15), [`4a5286dfe`](https://github.com/graphcommerce-org/graphcommerce/commit/4a5286dfeaa1719e594a0078f274fbab53969c4e), [`d46d5ed0c`](https://github.com/graphcommerce-org/graphcommerce/commit/d46d5ed0cc5794391b7527fc17bbb68ec2212e33), [`e573278e4`](https://github.com/graphcommerce-org/graphcommerce/commit/e573278e43506a6b17a2981e61d0e9fad41eb2eb), [`5f781a217`](https://github.com/graphcommerce-org/graphcommerce/commit/5f781a217ce63ed56bc1a9983487b04400a8a315), [`ac6eedbb1`](https://github.com/graphcommerce-org/graphcommerce/commit/ac6eedbb14d3abd8cf1231a98dc2a8b7f4659f1f)]:
26
+ - @graphcommerce/next-ui@4.22.0
27
+ - @graphcommerce/magento-cart@4.7.0
28
+ - @graphcommerce/magento-store@4.2.28
29
+ - @graphcommerce/framer-scroller@2.1.33
30
+ - @graphcommerce/graphql@3.4.7
31
+ - @graphcommerce/image@3.1.9
32
+
33
+ ## 3.4.12
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [[`1f7ee6f6c`](https://github.com/graphcommerce-org/graphcommerce/commit/1f7ee6f6cfb28544439ed36e10929ac530d1b2b7), [`707dbc73d`](https://github.com/graphcommerce-org/graphcommerce/commit/707dbc73d181204d88fdbbd2e09340e25b2b5f7b)]:
38
+ - @graphcommerce/next-ui@4.21.0
39
+ - @graphcommerce/graphql@3.4.6
40
+ - @graphcommerce/framer-scroller@2.1.32
41
+ - @graphcommerce/magento-cart@4.6.9
42
+ - @graphcommerce/magento-store@4.2.27
43
+ - @graphcommerce/image@3.1.8
44
+
3
45
  ## 3.4.11
4
46
 
5
47
  ### Patch Changes
@@ -45,7 +45,7 @@ function PaymentMethodActionCard(
45
45
  <Card
46
46
  sx={[
47
47
  {
48
- '& .ActionCard-title': { typography: 'h5', lineHeight: 0 },
48
+ '& .ActionCard-title': { typography: 'h6', lineHeight: 0 },
49
49
  '& .ActionCard-details': { lineHeight: 1.5 },
50
50
  },
51
51
  ...(Array.isArray(sx) ? sx : [sx]),
@@ -1,6 +1,5 @@
1
- import { AnimatedRow, extendableComponent } from '@graphcommerce/next-ui'
1
+ import { extendableComponent } from '@graphcommerce/next-ui'
2
2
  import { Box, SxProps, Theme } from '@mui/material'
3
- import { AnimatePresence } from 'framer-motion'
4
3
  import { PaymentMethodOptionsProps } from '../Api/PaymentMethod'
5
4
  import { usePaymentMethodContext } from '../PaymentMethodContext/PaymentMethodContext'
6
5
 
@@ -17,13 +16,11 @@ export function PaymentMethodOptions(props: PaymentMethodOptionsProps & { sx?: S
17
16
  className={classes.root}
18
17
  sx={[(theme) => ({ marginBottom: theme.spacings.sm }), ...(Array.isArray(sx) ? sx : [sx])]}
19
18
  >
20
- <AnimatePresence initial={false}>
21
- {selectedModule && selectedMethod && (
22
- <AnimatedRow layout key={selectedMethod.code}>
23
- <selectedModule.PaymentOptions {...selectedMethod} {...optionsProps} />
24
- </AnimatedRow>
25
- )}
26
- </AnimatePresence>
19
+ {selectedModule && selectedMethod && (
20
+ <Box key={selectedMethod.code}>
21
+ <selectedModule.PaymentOptions {...selectedMethod} {...optionsProps} />
22
+ </Box>
23
+ )}
27
24
  </Box>
28
25
  )
29
26
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-payment-method",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.4.11",
5
+ "version": "3.5.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,20 +12,20 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.1.9",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.10",
16
16
  "@graphcommerce/prettier-config-pwa": "^4.0.6",
17
17
  "@graphcommerce/typescript-config-pwa": "^4.0.4",
18
- "@graphcommerce/magento-cart-shipping-address": "3.3.8",
18
+ "@graphcommerce/magento-cart-shipping-address": "3.4.1",
19
19
  "@playwright/test": "^1.21.1",
20
20
  "type-fest": "^2.12.2"
21
21
  },
22
22
  "dependencies": {
23
- "@graphcommerce/framer-scroller": "2.1.31",
24
- "@graphcommerce/graphql": "3.4.5",
25
- "@graphcommerce/image": "3.1.7",
26
- "@graphcommerce/magento-cart": "4.6.8",
27
- "@graphcommerce/magento-store": "4.2.26",
28
- "@graphcommerce/next-ui": "4.20.0",
23
+ "@graphcommerce/framer-scroller": "2.1.33",
24
+ "@graphcommerce/graphql": "3.4.7",
25
+ "@graphcommerce/image": "3.1.9",
26
+ "@graphcommerce/magento-cart": "4.7.1",
27
+ "@graphcommerce/magento-store": "4.2.29",
28
+ "@graphcommerce/next-ui": "4.22.0",
29
29
  "@graphcommerce/react-hook-form": "3.3.2"
30
30
  },
31
31
  "peerDependencies": {