@graphcommerce/magento-payment-braintree 10.0.0-canary.67 → 10.0.0-canary.68

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,7 @@
1
1
  # Change Log
2
2
 
3
+ ## 10.0.0-canary.68
4
+
3
5
  ## 10.0.0-canary.67
4
6
 
5
7
  ## 10.0.0-canary.66
@@ -3,7 +3,7 @@ import { useCartQuery, useFormGqlMutationCart } from '@graphcommerce/magento-car
3
3
  import { BillingPageDocument } from '@graphcommerce/magento-cart-checkout'
4
4
  import type { PaymentOptionsProps } from '@graphcommerce/magento-cart-payment-method'
5
5
  import { useCartLock } from '@graphcommerce/magento-cart-payment-method'
6
- import { ErrorSnackbar, FormRow, FullPageMessage } from '@graphcommerce/next-ui'
6
+ import { ErrorSnackbar, FormRow, FullPageMessage, sxx } from '@graphcommerce/next-ui'
7
7
  import type { FieldValues, Path, UseControllerProps } from '@graphcommerce/react-hook-form'
8
8
  import { FormProvider, useController, useFormCompose } from '@graphcommerce/react-hook-form'
9
9
  import { t } from '@lingui/core/macro'
@@ -115,9 +115,11 @@ export function BraintreeField<T extends FieldValues>(
115
115
  error={invalid}
116
116
  helperText={error?.message}
117
117
  focused={focused}
118
- InputProps={{ slots: { input: Field } }}
119
- InputLabelProps={{ shrink }}
120
118
  {...field}
119
+ slotProps={{
120
+ input: { slots: { input: Field } },
121
+ inputLabel: { shrink },
122
+ }}
121
123
  />
122
124
  )
123
125
  }
@@ -282,9 +284,9 @@ export function PaymentMethodOptions(props: PaymentOptionsProps) {
282
284
  />
283
285
  )}
284
286
 
285
- <Box sx={[loading && { display: 'none' }]}>
287
+ <Box sx={sxx(loading && { display: 'none' })}>
286
288
  <Container>
287
- <FormRow sx={[]}>
289
+ <FormRow sx={sxx()}>
288
290
  <BraintreeField
289
291
  control={form.control}
290
292
  name='number'
@@ -293,7 +295,6 @@ export function PaymentMethodOptions(props: PaymentOptionsProps) {
293
295
  label='Card Number'
294
296
  />
295
297
  </FormRow>
296
-
297
298
  <FormRow>
298
299
  <BraintreeField
299
300
  control={form.control}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-payment-braintree",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "10.0.0-canary.67",
5
+ "version": "10.0.0-canary.68",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -22,23 +22,23 @@
22
22
  "braintree-web": "^3.127.0"
23
23
  },
24
24
  "peerDependencies": {
25
- "@graphcommerce/eslint-config-pwa": "^10.0.0-canary.67",
26
- "@graphcommerce/graphql": "^10.0.0-canary.67",
27
- "@graphcommerce/image": "^10.0.0-canary.67",
28
- "@graphcommerce/magento-cart": "^10.0.0-canary.67",
29
- "@graphcommerce/magento-cart-payment-method": "^10.0.0-canary.67",
30
- "@graphcommerce/magento-cart-shipping-address": "^10.0.0-canary.67",
31
- "@graphcommerce/magento-product": "^10.0.0-canary.67",
32
- "@graphcommerce/magento-product-configurable": "^10.0.0-canary.67",
33
- "@graphcommerce/magento-store": "^10.0.0-canary.67",
34
- "@graphcommerce/next-ui": "^10.0.0-canary.67",
35
- "@graphcommerce/prettier-config-pwa": "^10.0.0-canary.67",
36
- "@graphcommerce/react-hook-form": "^10.0.0-canary.67",
37
- "@graphcommerce/typescript-config-pwa": "^10.0.0-canary.67",
25
+ "@graphcommerce/eslint-config-pwa": "^10.0.0-canary.68",
26
+ "@graphcommerce/graphql": "^10.0.0-canary.68",
27
+ "@graphcommerce/image": "^10.0.0-canary.68",
28
+ "@graphcommerce/magento-cart": "^10.0.0-canary.68",
29
+ "@graphcommerce/magento-cart-payment-method": "^10.0.0-canary.68",
30
+ "@graphcommerce/magento-cart-shipping-address": "^10.0.0-canary.68",
31
+ "@graphcommerce/magento-product": "^10.0.0-canary.68",
32
+ "@graphcommerce/magento-product-configurable": "^10.0.0-canary.68",
33
+ "@graphcommerce/magento-store": "^10.0.0-canary.68",
34
+ "@graphcommerce/next-ui": "^10.0.0-canary.68",
35
+ "@graphcommerce/prettier-config-pwa": "^10.0.0-canary.68",
36
+ "@graphcommerce/react-hook-form": "^10.0.0-canary.68",
37
+ "@graphcommerce/typescript-config-pwa": "^10.0.0-canary.68",
38
38
  "@lingui/core": "^5",
39
39
  "@lingui/macro": "^5",
40
40
  "@lingui/react": "^5",
41
- "@mui/material": "^5.10.16",
41
+ "@mui/material": "^7.0.0",
42
42
  "framer-motion": "^11.0.0",
43
43
  "next": "*",
44
44
  "react": "^19.2.0",