@graphcommerce/magento-cart-shipping-method 8.1.0-canary.3 → 8.1.0-canary.30

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,4 +1,4 @@
1
- fragment AvailableShippingMethods on Cart @injectable @inject(into: ["ShippingAddress"]) {
1
+ fragment AvailableShippingMethods on Cart @inject(into: ["ShippingAddress"]) {
2
2
  shipping_addresses {
3
3
  available_shipping_methods {
4
4
  ...AvailableShippingMethod
@@ -1,4 +1,4 @@
1
- fragment ShippingMethodSelected on Cart @injectable {
1
+ fragment ShippingMethodSelected on Cart {
2
2
  id
3
3
  shipping_addresses {
4
4
  selected_shipping_method {
@@ -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,8 +1,118 @@
1
1
  # Change Log
2
2
 
3
- ## 8.1.0-canary.3
3
+ ## 8.1.0-canary.30
4
4
 
5
- ## 8.1.0-canary.2
5
+ ## 8.1.0-canary.29
6
+
7
+ ## 8.1.0-canary.28
8
+
9
+ ## 8.1.0-canary.27
10
+
11
+ ## 8.1.0-canary.26
12
+
13
+ ## 8.1.0-canary.25
14
+
15
+ ## 8.1.0-canary.24
16
+
17
+ ## 8.1.0-canary.23
18
+
19
+ ## 8.1.0-canary.22
20
+
21
+ ## 8.1.0-canary.21
22
+
23
+ ## 8.1.0-canary.20
24
+
25
+ ## 8.1.0-canary.19
26
+
27
+ ### Patch Changes
28
+
29
+ - [#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
30
+ ([@carlocarels90](https://github.com/carlocarels90))
31
+
32
+ ## 8.1.0-canary.18
33
+
34
+ ## 8.1.0-canary.17
35
+
36
+ ## 8.1.0-canary.16
37
+
38
+ ## 8.1.0-canary.15
39
+
40
+ ## 8.1.0-canary.14
41
+
42
+ ## 8.1.0-canary.13
43
+
44
+ ## 8.1.0-canary.12
45
+
46
+ ## 8.1.0-canary.11
47
+
48
+ ## 8.1.0-canary.10
49
+
50
+ ## 8.1.0-canary.9
51
+
52
+ ## 8.1.0-canary.8
53
+
54
+ ## 8.1.0-canary.7
55
+
56
+ ## 8.1.0-canary.6
57
+
58
+ ## 8.1.0-canary.5
59
+
60
+ ## 8.0.6-canary.4
61
+
62
+ ## 8.0.6-canary.3
63
+
64
+ ## 8.0.6-canary.2
65
+
66
+ ### Patch Changes
67
+
68
+ - [#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.
69
+ ([@FrankHarland](https://github.com/FrankHarland))
70
+
71
+ ## 8.0.6-canary.1
72
+
73
+ ## 8.0.6-canary.0
74
+
75
+ ## 8.0.5
76
+
77
+ ## 8.0.5-canary.10
78
+
79
+ ## 8.0.5-canary.9
80
+
81
+ ## 8.0.5-canary.8
82
+
83
+ ## 8.0.5-canary.7
84
+
85
+ ## 8.0.5-canary.6
86
+
87
+ ## 8.0.5-canary.5
88
+
89
+ ## 8.0.5-canary.4
90
+
91
+ ## 8.0.5-canary.3
92
+
93
+ ## 8.0.5-canary.2
94
+
95
+ ## 8.0.5-canary.1
96
+
97
+ ## 8.0.5-canary.0
98
+
99
+ ## 8.0.4
100
+
101
+ ## 8.0.4-canary.1
102
+
103
+ ## 8.0.4-canary.0
104
+
105
+ ## 8.0.3
106
+
107
+ ## 8.0.3-canary.6
108
+
109
+ ## 8.0.3-canary.5
110
+
111
+ ## 8.0.3-canary.4
112
+
113
+ ## 8.0.3-canary.3
114
+
115
+ ## 8.0.3-canary.2
6
116
 
7
117
  ## 8.0.3-canary.1
8
118
 
@@ -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.3",
5
+ "version": "8.1.0-canary.30",
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.3",
16
- "@graphcommerce/framer-scroller": "^8.1.0-canary.3",
17
- "@graphcommerce/graphql": "^8.1.0-canary.3",
18
- "@graphcommerce/image": "^8.1.0-canary.3",
19
- "@graphcommerce/magento-cart": "^8.1.0-canary.3",
20
- "@graphcommerce/magento-cart-shipping-address": "^8.1.0-canary.3",
21
- "@graphcommerce/magento-store": "^8.1.0-canary.3",
22
- "@graphcommerce/next-ui": "^8.1.0-canary.3",
23
- "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.3",
24
- "@graphcommerce/react-hook-form": "^8.1.0-canary.3",
25
- "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.3",
15
+ "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.30",
16
+ "@graphcommerce/framer-scroller": "^8.1.0-canary.30",
17
+ "@graphcommerce/graphql": "^8.1.0-canary.30",
18
+ "@graphcommerce/image": "^8.1.0-canary.30",
19
+ "@graphcommerce/magento-cart": "^8.1.0-canary.30",
20
+ "@graphcommerce/magento-cart-shipping-address": "^8.1.0-canary.30",
21
+ "@graphcommerce/magento-store": "^8.1.0-canary.30",
22
+ "@graphcommerce/next-ui": "^8.1.0-canary.30",
23
+ "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.30",
24
+ "@graphcommerce/react-hook-form": "^8.1.0-canary.30",
25
+ "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.30",
26
26
  "@lingui/core": "^4.2.1",
27
27
  "@lingui/macro": "^4.2.1",
28
28
  "@lingui/react": "^4.2.1",