@graphcommerce/magento-cart-payment-method 3.5.9 → 3.6.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,21 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1642](https://github.com/graphcommerce-org/graphcommerce/pull/1642) [`ad63ebf4e`](https://github.com/graphcommerce-org/graphcommerce/commit/ad63ebf4e33bfb0e5c9e5e68ab69b14775f3f8a8) Thanks [@paales](https://github.com/paales)! - Introduced `<AddProductsToCartForm/>`, which is allows for adding all product types to the cart with a single react-hook-form form.
8
+
9
+ Which allows you to fully compose the form on the product page without having to modify the page.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [[`ad63ebf4e`](https://github.com/graphcommerce-org/graphcommerce/commit/ad63ebf4e33bfb0e5c9e5e68ab69b14775f3f8a8)]:
14
+ - @graphcommerce/magento-store@4.3.0
15
+ - @graphcommerce/next-ui@4.27.0
16
+ - @graphcommerce/magento-cart@4.8.4
17
+ - @graphcommerce/framer-scroller@2.1.39
18
+
3
19
  ## 3.5.9
4
20
 
5
21
  ### Patch Changes
@@ -48,12 +48,12 @@ function PaymentMethodActionCard(
48
48
  ...(Array.isArray(sx) ? sx : [sx]),
49
49
  ]}
50
50
  action={
51
- <Button disableRipple variant='inline' color='secondary'>
51
+ <Button disableTouchRipple variant='inline' color='secondary'>
52
52
  <Trans id='Select' />
53
53
  </Button>
54
54
  }
55
55
  reset={
56
- <Button disableRipple variant='inline' color='secondary' onClick={onReset}>
56
+ <Button disableTouchRipple variant='inline' color='secondary' onClick={onReset}>
57
57
  <Trans id='Change' />
58
58
  </Button>
59
59
  }
@@ -113,6 +113,9 @@ export function PaymentMethodActionCardListForm(props: PaymentMethodActionCardLi
113
113
  control={control}
114
114
  name='paymentMethod'
115
115
  errorMessage='Please select a payment method'
116
+ collapse
117
+ size='large'
118
+ color='secondary'
116
119
  items={methods.map((method) => ({
117
120
  ...method,
118
121
  value: `${method.code}___${method.child}`,
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.5.9",
5
+ "version": "3.6.0",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -15,17 +15,17 @@
15
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.4.9",
18
+ "@graphcommerce/magento-cart-shipping-address": "3.5.0",
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.38",
23
+ "@graphcommerce/framer-scroller": "2.1.39",
24
24
  "@graphcommerce/graphql": "3.4.8",
25
25
  "@graphcommerce/image": "3.1.9",
26
- "@graphcommerce/magento-cart": "4.8.3",
27
- "@graphcommerce/magento-store": "4.2.35",
28
- "@graphcommerce/next-ui": "4.26.0",
26
+ "@graphcommerce/magento-cart": "4.8.4",
27
+ "@graphcommerce/magento-store": "4.3.0",
28
+ "@graphcommerce/next-ui": "4.27.0",
29
29
  "@graphcommerce/react-hook-form": "3.3.3"
30
30
  },
31
31
  "peerDependencies": {