@graphcommerce/magento-cart-shipping-method 8.1.0-canary.2 → 8.1.0-canary.20

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.
@@ -1,11 +1,9 @@
1
1
  fragment AvailableShippingMethod on AvailableShippingMethod {
2
2
  price_incl_tax {
3
- currency
4
- value
3
+ ...Money
5
4
  }
6
5
  price_excl_tax {
7
- currency
8
- value
6
+ ...Money
9
7
  }
10
8
  available
11
9
  carrier_code
package/CHANGELOG.md CHANGED
@@ -1,6 +1,98 @@
1
1
  # Change Log
2
2
 
3
- ## 8.1.0-canary.2
3
+ ## 8.1.0-canary.20
4
+
5
+ ## 8.1.0-canary.19
6
+
7
+ ### Patch Changes
8
+
9
+ - [#2264](https://github.com/graphcommerce-org/graphcommerce/pull/2264) [`e5291a4`](https://github.com/graphcommerce-org/graphcommerce/commit/e5291a426c57635f69fb9ec44f4abe150f04c9ed) - prevent rendering 'null' when method_title is not provided
10
+ ([@carlocarels90](https://github.com/carlocarels90))
11
+
12
+ ## 8.1.0-canary.18
13
+
14
+ ## 8.1.0-canary.17
15
+
16
+ ## 8.1.0-canary.16
17
+
18
+ ## 8.1.0-canary.15
19
+
20
+ ## 8.1.0-canary.14
21
+
22
+ ## 8.1.0-canary.13
23
+
24
+ ## 8.1.0-canary.12
25
+
26
+ ## 8.1.0-canary.11
27
+
28
+ ## 8.1.0-canary.10
29
+
30
+ ## 8.1.0-canary.9
31
+
32
+ ## 8.1.0-canary.8
33
+
34
+ ## 8.1.0-canary.7
35
+
36
+ ## 8.1.0-canary.6
37
+
38
+ ## 8.1.0-canary.5
39
+
40
+ ## 8.0.6-canary.4
41
+
42
+ ## 8.0.6-canary.3
43
+
44
+ ## 8.0.6-canary.2
45
+
46
+ ### Patch Changes
47
+
48
+ - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`530076e`](https://github.com/graphcommerce-org/graphcommerce/commit/530076e3664703cb8b577b7fcf1998a420819f60) - Moved all usages of useFormPersist to the <FormPersist/> component to prevent rerenders.
49
+ ([@FrankHarland](https://github.com/FrankHarland))
50
+
51
+ ## 8.0.6-canary.1
52
+
53
+ ## 8.0.6-canary.0
54
+
55
+ ## 8.0.5
56
+
57
+ ## 8.0.5-canary.10
58
+
59
+ ## 8.0.5-canary.9
60
+
61
+ ## 8.0.5-canary.8
62
+
63
+ ## 8.0.5-canary.7
64
+
65
+ ## 8.0.5-canary.6
66
+
67
+ ## 8.0.5-canary.5
68
+
69
+ ## 8.0.5-canary.4
70
+
71
+ ## 8.0.5-canary.3
72
+
73
+ ## 8.0.5-canary.2
74
+
75
+ ## 8.0.5-canary.1
76
+
77
+ ## 8.0.5-canary.0
78
+
79
+ ## 8.0.4
80
+
81
+ ## 8.0.4-canary.1
82
+
83
+ ## 8.0.4-canary.0
84
+
85
+ ## 8.0.3
86
+
87
+ ## 8.0.3-canary.6
88
+
89
+ ## 8.0.3-canary.5
90
+
91
+ ## 8.0.3-canary.4
92
+
93
+ ## 8.0.3-canary.3
94
+
95
+ ## 8.0.3-canary.2
4
96
 
5
97
  ## 8.0.3-canary.1
6
98
 
@@ -26,7 +26,7 @@ export function ShippingMethodActionCard(props: ShippingMethodActionCardProps) {
26
26
  const isFree = amount && amount.value === 0
27
27
 
28
28
  const title =
29
- carrier_title === 'Free Shipping' ? carrier_title : `${carrier_title} ${method_title}`
29
+ carrier_title === 'Free Shipping' ? carrier_title : `${carrier_title} ${method_title || ''}`
30
30
 
31
31
  return (
32
32
  <ActionCard
@@ -13,11 +13,9 @@ import {
13
13
  import {
14
14
  FormAutoSubmit,
15
15
  FormProvider,
16
- useFormAutoSubmit,
17
16
  useFormCompose,
18
17
  UseFormComposeOptions,
19
18
  UseFormGraphQlOptions,
20
- useFormPersist,
21
19
  useWatch,
22
20
  } from '@graphcommerce/react-hook-form'
23
21
  import { i18n } from '@lingui/core'
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": "8.1.0-canary.2",
5
+ "version": "8.1.0-canary.20",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,17 +12,17 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.2",
16
- "@graphcommerce/framer-scroller": "^8.1.0-canary.2",
17
- "@graphcommerce/graphql": "^8.1.0-canary.2",
18
- "@graphcommerce/image": "^8.1.0-canary.2",
19
- "@graphcommerce/magento-cart": "^8.1.0-canary.2",
20
- "@graphcommerce/magento-cart-shipping-address": "^8.1.0-canary.2",
21
- "@graphcommerce/magento-store": "^8.1.0-canary.2",
22
- "@graphcommerce/next-ui": "^8.1.0-canary.2",
23
- "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.2",
24
- "@graphcommerce/react-hook-form": "^8.1.0-canary.2",
25
- "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.2",
15
+ "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.20",
16
+ "@graphcommerce/framer-scroller": "^8.1.0-canary.20",
17
+ "@graphcommerce/graphql": "^8.1.0-canary.20",
18
+ "@graphcommerce/image": "^8.1.0-canary.20",
19
+ "@graphcommerce/magento-cart": "^8.1.0-canary.20",
20
+ "@graphcommerce/magento-cart-shipping-address": "^8.1.0-canary.20",
21
+ "@graphcommerce/magento-store": "^8.1.0-canary.20",
22
+ "@graphcommerce/next-ui": "^8.1.0-canary.20",
23
+ "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.20",
24
+ "@graphcommerce/react-hook-form": "^8.1.0-canary.20",
25
+ "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.20",
26
26
  "@lingui/core": "^4.2.1",
27
27
  "@lingui/macro": "^4.2.1",
28
28
  "@lingui/react": "^4.2.1",