@graphcommerce/magento-cart-shipping-method 3.0.7 → 3.0.10

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.
@@ -3,7 +3,7 @@ import { ToggleButton, ToggleButtonProps, extendableComponent } from '@graphcomm
3
3
  import { Trans } from '@lingui/macro'
4
4
  import { Box, FormHelperText } from '@mui/material'
5
5
  import React from 'react'
6
- import { SetOptional } from 'type-fest'
6
+ import type { SetOptional } from 'type-fest'
7
7
  import { AvailableShippingMethodFragment } from './AvailableShippingMethod.gql'
8
8
 
9
9
  export type AvailableShippingMethodProps = SetOptional<AvailableShippingMethodFragment, 'amount'> &
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1399](https://github.com/graphcommerce-org/graphcommerce/pull/1399) [`fb277d8e1`](https://github.com/graphcommerce-org/graphcommerce/commit/fb277d8e1e3612c5e9cf890a30d19cfd1ff70542) Thanks [@paales](https://github.com/paales)! - Now using [@graphql-yoga](https://github.com/dotansimha/graphql-yoga) for GraphQL which has full support for [envelop](https://www.envelop.dev/) plugins.
8
+
9
+ * [#1399](https://github.com/graphcommerce-org/graphcommerce/pull/1399) [`fb277d8e1`](https://github.com/graphcommerce-org/graphcommerce/commit/fb277d8e1e3612c5e9cf890a30d19cfd1ff70542) Thanks [@paales](https://github.com/paales)! - Added a new @graphcommerce/cli package to generate the mesh so it can be generated _inside_ the @graphcommerce/graphql-mesh package to allow for better future extensibility.
10
+
11
+ - [#1399](https://github.com/graphcommerce-org/graphcommerce/pull/1399) [`da0ae7d02`](https://github.com/graphcommerce-org/graphcommerce/commit/da0ae7d0236e4908ba0bf0fa16656be516e841d4) Thanks [@paales](https://github.com/paales)! - Updated dependencies
12
+
13
+ - Updated dependencies [[`fb277d8e1`](https://github.com/graphcommerce-org/graphcommerce/commit/fb277d8e1e3612c5e9cf890a30d19cfd1ff70542), [`fb277d8e1`](https://github.com/graphcommerce-org/graphcommerce/commit/fb277d8e1e3612c5e9cf890a30d19cfd1ff70542), [`da0ae7d02`](https://github.com/graphcommerce-org/graphcommerce/commit/da0ae7d0236e4908ba0bf0fa16656be516e841d4)]:
14
+ - @graphcommerce/graphql@3.1.0
15
+ - @graphcommerce/magento-cart@4.2.6
16
+ - @graphcommerce/magento-store@4.1.7
17
+ - @graphcommerce/next-ui@4.6.1
18
+ - @graphcommerce/react-hook-form@3.1.1
19
+ - @graphcommerce/framer-scroller@2.1.6
20
+ - @graphcommerce/image@3.1.5
21
+ - @graphcommerce/magento-cart-shipping-address@3.0.9
22
+
23
+ ## 3.0.9
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies []:
28
+ - @graphcommerce/magento-cart@4.2.5
29
+ - @graphcommerce/magento-cart-shipping-address@3.0.8
30
+
31
+ ## 3.0.8
32
+
33
+ ### Patch Changes
34
+
35
+ - [#1379](https://github.com/graphcommerce-org/graphcommerce/pull/1379) [`b8d04130a`](https://github.com/graphcommerce-org/graphcommerce/commit/b8d04130a1b1cb8fc85308939235140288744465) Thanks [@paales](https://github.com/paales)! - Removed unused trigger: onChange for useForm handler
36
+
37
+ - Updated dependencies [[`3c801f45c`](https://github.com/graphcommerce-org/graphcommerce/commit/3c801f45c7df55131acf30ae2fe0d2344830d480), [`b8d04130a`](https://github.com/graphcommerce-org/graphcommerce/commit/b8d04130a1b1cb8fc85308939235140288744465), [`3192fab82`](https://github.com/graphcommerce-org/graphcommerce/commit/3192fab82560e2211dfcacadc3b0b305260527d8), [`104abd14e`](https://github.com/graphcommerce-org/graphcommerce/commit/104abd14e1585ef0d8de77937d25156b8fa1e201), [`0e425e85e`](https://github.com/graphcommerce-org/graphcommerce/commit/0e425e85ee8fed280349317ee0440c7bceea5823), [`2a125b1f9`](https://github.com/graphcommerce-org/graphcommerce/commit/2a125b1f98bb9272d96c3577f21d6c984caad892), [`8a354d1cd`](https://github.com/graphcommerce-org/graphcommerce/commit/8a354d1cd4757497ddfc9b1969a0addbc8ff616b)]:
38
+ - @graphcommerce/next-ui@4.6.0
39
+ - @graphcommerce/magento-cart@4.2.4
40
+ - @graphcommerce/react-hook-form@3.1.0
41
+ - @graphcommerce/image@3.1.4
42
+ - @graphcommerce/framer-scroller@2.1.5
43
+ - @graphcommerce/magento-cart-shipping-address@3.0.7
44
+ - @graphcommerce/magento-store@4.1.6
45
+
3
46
  ## 3.0.7
4
47
 
5
48
  ### Patch Changes
@@ -54,7 +54,6 @@ export function ShippingMethodForm(props: ShippingMethodFormProps) {
54
54
  ShippingMethodFormMutationVariables & { carrierMethod?: string }
55
55
  >(ShippingMethodFormDocument, {
56
56
  defaultValues: { carrierMethod, carrier, method },
57
- mode: 'onChange',
58
57
  })
59
58
 
60
59
  const { handleSubmit, control, setValue, register, required, error } = form
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.0.7",
5
+ "version": "3.0.10",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,21 +12,21 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.1.4",
16
- "@graphcommerce/prettier-config-pwa": "^4.0.5",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.5",
16
+ "@graphcommerce/prettier-config-pwa": "^4.0.6",
17
17
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
- "@playwright/test": "^1.20.1",
19
- "type-fest": "2.12.1"
18
+ "@playwright/test": "^1.21.1",
19
+ "type-fest": "^2.12.2"
20
20
  },
21
21
  "dependencies": {
22
- "@graphcommerce/framer-scroller": "2.1.4",
23
- "@graphcommerce/graphql": "3.0.7",
24
- "@graphcommerce/image": "3.1.3",
25
- "@graphcommerce/magento-cart": "4.2.3",
26
- "@graphcommerce/magento-cart-shipping-address": "3.0.6",
27
- "@graphcommerce/magento-store": "4.1.5",
28
- "@graphcommerce/next-ui": "4.5.1",
29
- "@graphcommerce/react-hook-form": "3.0.7"
22
+ "@graphcommerce/framer-scroller": "2.1.6",
23
+ "@graphcommerce/graphql": "3.1.0",
24
+ "@graphcommerce/image": "3.1.5",
25
+ "@graphcommerce/magento-cart": "4.2.6",
26
+ "@graphcommerce/magento-cart-shipping-address": "3.0.9",
27
+ "@graphcommerce/magento-store": "4.1.7",
28
+ "@graphcommerce/next-ui": "4.6.1",
29
+ "@graphcommerce/react-hook-form": "3.1.1"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@lingui/macro": "^3.13.2",