@graphcommerce/magento-cart-shipping-method 3.6.9 → 3.7.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,22 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.7.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-cart-shipping-address@3.5.0
15
+ - @graphcommerce/magento-store@4.3.0
16
+ - @graphcommerce/next-ui@4.27.0
17
+ - @graphcommerce/magento-cart@4.8.4
18
+ - @graphcommerce/framer-scroller@2.1.39
19
+
3
20
  ## 3.6.9
4
21
 
5
22
  ### Patch Changes
@@ -101,7 +101,9 @@ export function ShippingMethodForm(props: ShippingMethodFormProps) {
101
101
  <ActionCardListForm
102
102
  control={control}
103
103
  name='carrierMethod'
104
- errorMessage={i18n._(/* i18n */ 'Please select a shipping method')}
104
+ size='large'
105
+ color='secondary'
106
+ rules={{ required: i18n._(/* i18n */ 'Please select a shipping method') }}
105
107
  items={items}
106
108
  render={
107
109
  ShippingMethodActionCard as React.FC<ActionCardItemRenderProps<ActionCardItemBase>>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-shipping-method",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.6.9",
5
+ "version": "3.7.0",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -19,13 +19,13 @@
19
19
  "type-fest": "^2.12.2"
20
20
  },
21
21
  "dependencies": {
22
- "@graphcommerce/framer-scroller": "2.1.38",
22
+ "@graphcommerce/framer-scroller": "2.1.39",
23
23
  "@graphcommerce/graphql": "3.4.8",
24
24
  "@graphcommerce/image": "3.1.9",
25
- "@graphcommerce/magento-cart": "4.8.3",
26
- "@graphcommerce/magento-cart-shipping-address": "3.4.9",
27
- "@graphcommerce/magento-store": "4.2.35",
28
- "@graphcommerce/next-ui": "4.26.0",
25
+ "@graphcommerce/magento-cart": "4.8.4",
26
+ "@graphcommerce/magento-cart-shipping-address": "3.5.0",
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": {