@graphcommerce/magento-cart-payment-method 9.0.0-canary.115 → 9.0.0-canary.117

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,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.117
4
+
5
+ ## 9.0.0-canary.116
6
+
3
7
  ## 9.0.0-canary.115
4
8
 
5
9
  ## 9.0.0-canary.114
@@ -8,6 +8,10 @@ const name = 'PaymentMethodOptions'
8
8
  const parts = ['root'] as const
9
9
  const { classes } = extendableComponent(name, parts)
10
10
 
11
+ /**
12
+ * @deprecated
13
+ * @public
14
+ */
11
15
  export function PaymentMethodOptions(props: PaymentMethodOptionsProps & { sx?: SxProps<Theme> }) {
12
16
  const { sx = [], ...optionsProps } = props
13
17
  const { selectedMethod, selectedModule } = usePaymentMethodContext()
@@ -1,13 +1,13 @@
1
1
  import { Scroller, ScrollerButton, ScrollerProvider } from '@graphcommerce/framer-scroller'
2
2
  import {
3
+ extendableComponent,
3
4
  Form,
4
5
  FormRow,
5
- IconSvg,
6
- ToggleButton,
7
- extendableComponent,
8
6
  iconChevronLeft,
9
7
  iconChevronRight,
8
+ IconSvg,
10
9
  responsiveVal,
10
+ ToggleButton,
11
11
  } from '@graphcommerce/next-ui'
12
12
  import type { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
13
13
  import { Controller, FormPersist, useForm, useFormCompose } from '@graphcommerce/react-hook-form'
@@ -15,8 +15,8 @@ import { i18n } from '@lingui/core'
15
15
  import type { SxProps, Theme } from '@mui/material'
16
16
  import { Box, FormControl, FormHelperText } from '@mui/material'
17
17
  import { useEffect } from 'react'
18
- import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
19
18
  import { useCartLock } from '../hooks/useCartLock'
19
+ import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
20
20
 
21
21
  export type PaymentMethodTogglesProps = Pick<UseFormComposeOptions, 'step'> & {
22
22
  sx?: SxProps<Theme>
@@ -37,6 +37,10 @@ const parts = [
37
37
  ] as const
38
38
  const { classes } = extendableComponent(cmpName, parts)
39
39
 
40
+ /**
41
+ * @deprecated
42
+ * @public
43
+ */
40
44
  export function PaymentMethodToggles(props: PaymentMethodTogglesProps) {
41
45
  const { step, sx = [] } = props
42
46
  const { methods, selectedMethod, setSelectedMethod, setSelectedModule, modules } =
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": "9.0.0-canary.115",
5
+ "version": "9.0.0-canary.117",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,18 +12,18 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.0.0-canary.115",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.115",
17
- "@graphcommerce/framer-scroller": "^9.0.0-canary.115",
18
- "@graphcommerce/graphql": "^9.0.0-canary.115",
19
- "@graphcommerce/image": "^9.0.0-canary.115",
20
- "@graphcommerce/magento-cart": "^9.0.0-canary.115",
21
- "@graphcommerce/magento-cart-shipping-address": "^9.0.0-canary.115",
22
- "@graphcommerce/magento-store": "^9.0.0-canary.115",
23
- "@graphcommerce/next-ui": "^9.0.0-canary.115",
24
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.115",
25
- "@graphcommerce/react-hook-form": "^9.0.0-canary.115",
26
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.115",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.0-canary.117",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.117",
17
+ "@graphcommerce/framer-scroller": "^9.0.0-canary.117",
18
+ "@graphcommerce/graphql": "^9.0.0-canary.117",
19
+ "@graphcommerce/image": "^9.0.0-canary.117",
20
+ "@graphcommerce/magento-cart": "^9.0.0-canary.117",
21
+ "@graphcommerce/magento-cart-shipping-address": "^9.0.0-canary.117",
22
+ "@graphcommerce/magento-store": "^9.0.0-canary.117",
23
+ "@graphcommerce/next-ui": "^9.0.0-canary.117",
24
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.117",
25
+ "@graphcommerce/react-hook-form": "^9.0.0-canary.117",
26
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.117",
27
27
  "@lingui/core": "^4.2.1",
28
28
  "@lingui/macro": "^4.2.1",
29
29
  "@lingui/react": "^4.2.1",