@graphcommerce/magento-cart-shipping-method 3.0.2 → 3.0.5

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.
@@ -17,8 +17,8 @@ const name = 'AvailableShippingMethod' as const
17
17
  const parts = ['root', 'title', 'additional', 'error', 'amount'] as const
18
18
  const { withState } = extendableComponent<OwnerProps, typeof name, typeof parts>(name, parts)
19
19
 
20
- const AvailableShippingMethod = React.forwardRef<any, AvailableShippingMethodProps>(
21
- (props, ref) => {
20
+ export const AvailableShippingMethod = React.forwardRef(
21
+ (props: AvailableShippingMethodProps, ref) => {
22
22
  const {
23
23
  amount,
24
24
  available,
@@ -110,5 +110,3 @@ const AvailableShippingMethod = React.forwardRef<any, AvailableShippingMethodPro
110
110
  )
111
111
  },
112
112
  )
113
-
114
- export default AvailableShippingMethod
package/CHANGELOG.md CHANGED
@@ -1,33 +1,62 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655) Thanks [@paales](https://github.com/paales)! - All default exports are now named exports internally and all `index.tsx` are renamed to the component name.
8
+
9
+ * [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
10
+
11
+ * Updated dependencies [[`3d63b39f7`](https://github.com/ho-nl/m2-pwa/commit/3d63b39f7e330d1827a32dba782667d7b21adaba), [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655), [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef)]:
12
+ - @graphcommerce/next-ui@4.2.4
13
+ - @graphcommerce/framer-scroller@2.0.6
14
+ - @graphcommerce/graphql@3.0.4
15
+ - @graphcommerce/image@3.1.1
16
+ - @graphcommerce/magento-cart@4.1.4
17
+ - @graphcommerce/magento-cart-shipping-address@3.0.4
18
+ - @graphcommerce/magento-store@4.1.2
19
+ - @graphcommerce/react-hook-form@3.0.4
20
+
21
+ ## 3.0.4
22
+
23
+ ### Patch Changes
24
+
25
+ - [#1292](https://github.com/ho-nl/m2-pwa/pull/1292) [`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0) Thanks [@paales](https://github.com/paales)! - Renamed SvgIcon to IconSvg to prevent collisions with MUI
26
+
27
+ - Updated dependencies [[`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0), [`990df655b`](https://github.com/ho-nl/m2-pwa/commit/990df655b73b469718d6cb5837ee65dfe2ad6a1d), [`63f9b56eb`](https://github.com/ho-nl/m2-pwa/commit/63f9b56eb68ba790567ff1427e599fd2c3c8f1ee)]:
28
+ - @graphcommerce/magento-cart@4.1.3
29
+ - @graphcommerce/next-ui@4.2.0
30
+
31
+ ## 3.0.3
32
+
33
+ ### Patch Changes
34
+
35
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
36
+
37
+ * [#1278](https://github.com/ho-nl/m2-pwa/pull/1278) [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20) Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Upgraded dependencies to the latest version
38
+
39
+ * Updated dependencies [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96), [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20), [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d), [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
40
+ - @graphcommerce/framer-scroller@2.0.3
41
+ - @graphcommerce/graphql@3.0.3
42
+ - @graphcommerce/image@3.1.0
43
+ - @graphcommerce/magento-cart@4.1.2
44
+ - @graphcommerce/magento-cart-shipping-address@3.0.3
45
+ - @graphcommerce/magento-store@4.0.3
46
+ - @graphcommerce/next-ui@4.1.2
47
+ - @graphcommerce/react-hook-form@3.0.3
48
+
3
49
  ## 3.0.2
4
50
 
5
51
  ### Patch Changes
6
52
 
7
- - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
8
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
9
- Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
10
- `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
11
- duplicate packages in the node_modules folders.
12
-
13
- * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
14
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
15
- Thanks [@paales](https://github.com/paales)! - Upgraded to
16
- [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
17
- implementing
18
- [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
19
- soon.
20
-
21
- This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
22
- frontend to be able to revalidate pages manually.
23
-
24
- * Updated dependencies
25
- [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
26
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
27
- [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
28
- [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
29
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d),
30
- [`5a4809b1a`](https://github.com/ho-nl/m2-pwa/commit/5a4809b1a705aa32f620f520085df48ee25f9949)]:
53
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2) Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from `dependencies` to `peerDependencies`. The result of this is that there will be significantly less duplicate packages in the node_modules folders.
54
+
55
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d) Thanks [@paales](https://github.com/paales)! - Upgraded to [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be implementing [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta) soon.
56
+
57
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the frontend to be able to revalidate pages manually.
58
+
59
+ * Updated dependencies [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7), [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2), [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b), [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275), [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d), [`5a4809b1a`](https://github.com/ho-nl/m2-pwa/commit/5a4809b1a705aa32f620f520085df48ee25f9949)]:
31
60
  - @graphcommerce/magento-cart@4.1.1
32
61
  - @graphcommerce/next-ui@4.1.1
33
62
  - @graphcommerce/react-hook-form@3.0.2
@@ -41,11 +70,8 @@
41
70
 
42
71
  ### Patch Changes
43
72
 
44
- - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
45
- Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
46
- so that the packages link to back to the website and repository
47
- - Updated dependencies
48
- [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
73
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514) Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files, so that the packages link to back to the website and repository
74
+ - Updated dependencies [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
49
75
  - @graphcommerce/framer-scroller@2.0.1
50
76
  - @graphcommerce/graphql@3.0.1
51
77
  - @graphcommerce/image@3.0.1
@@ -59,14 +85,11 @@
59
85
 
60
86
  ### Major Changes
61
87
 
62
- - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
63
- [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
64
- Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
88
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258) [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05) Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
65
89
 
66
90
  ### Patch Changes
67
91
 
68
- - Updated dependencies
69
- [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
92
+ - Updated dependencies [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
70
93
  - @graphcommerce/framer-scroller@2.0.0
71
94
  - @graphcommerce/graphql@3.0.0
72
95
  - @graphcommerce/image@3.0.0
@@ -76,57 +99,48 @@
76
99
  - @graphcommerce/next-ui@4.0.0
77
100
  - @graphcommerce/react-hook-form@3.0.0
78
101
 
79
- All notable changes to this project will be documented in this file. See
80
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
102
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
81
103
 
82
104
  # [2.106.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.105.20...@graphcommerce/magento-cart-shipping-method@2.106.0) (2021-11-12)
83
105
 
84
106
  ### Features
85
107
 
86
- - added tons of translations
87
- ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
108
+ - added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
88
109
 
89
110
  ## [2.105.13](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.105.12...@graphcommerce/magento-cart-shipping-method@2.105.13) (2021-11-09)
90
111
 
91
112
  ### Bug Fixes
92
113
 
93
- - font sizes
94
- ([1cf7d45](https://github.com/ho-nl/m2-pwa/commit/1cf7d451c3f8bdd064fdf351dffafced97387aff))
95
- - styling when only 2 methods available. Hide buttons.
96
- ([6a90516](https://github.com/ho-nl/m2-pwa/commit/6a90516833e4fd1ea618111b278ecbdb76c9554a))
114
+ - font sizes ([1cf7d45](https://github.com/ho-nl/m2-pwa/commit/1cf7d451c3f8bdd064fdf351dffafced97387aff))
115
+ - styling when only 2 methods available. Hide buttons. ([6a90516](https://github.com/ho-nl/m2-pwa/commit/6a90516833e4fd1ea618111b278ecbdb76c9554a))
97
116
 
98
117
  ## [2.105.7](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.105.6...@graphcommerce/magento-cart-shipping-method@2.105.7) (2021-11-04)
99
118
 
100
119
  ### Bug Fixes
101
120
 
102
- - Shipping method scroller styles
103
- ([d48d248](https://github.com/ho-nl/m2-pwa/commit/d48d2486fabb9059dbb0c27a5331784ee676a201))
121
+ - Shipping method scroller styles ([d48d248](https://github.com/ho-nl/m2-pwa/commit/d48d2486fabb9059dbb0c27a5331784ee676a201))
104
122
 
105
123
  # [2.105.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.104.10...@graphcommerce/magento-cart-shipping-method@2.105.0) (2021-11-02)
106
124
 
107
125
  ### Bug Fixes
108
126
 
109
- - **shipping-method-form:** stretch scroller items when there are only two methods
110
- ([6c925fc](https://github.com/ho-nl/m2-pwa/commit/6c925fcd029ad89b2527e63703660e53d3f69265))
127
+ - **shipping-method-form:** stretch scroller items when there are only two methods ([6c925fc](https://github.com/ho-nl/m2-pwa/commit/6c925fcd029ad89b2527e63703660e53d3f69265))
111
128
 
112
129
  ### Features
113
130
 
114
- - shipping methods scroller
115
- ([3cc4413](https://github.com/ho-nl/m2-pwa/commit/3cc441320d2a3dd003c499be358a118a17e528c3))
131
+ - shipping methods scroller ([3cc4413](https://github.com/ho-nl/m2-pwa/commit/3cc441320d2a3dd003c499be358a118a17e528c3))
116
132
 
117
133
  # [2.104.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.103.36...@graphcommerce/magento-cart-shipping-method@2.104.0) (2021-10-27)
118
134
 
119
135
  ### Features
120
136
 
121
- - **nextjs:** upgraded to nextjs 12
122
- ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
137
+ - **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
123
138
 
124
139
  ## [2.103.10](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.103.9...@graphcommerce/magento-cart-shipping-method@2.103.10) (2021-10-04)
125
140
 
126
141
  ### Bug Fixes
127
142
 
128
- - **shipping:** sort available shipping methods by availability
129
- ([27d13ab](https://github.com/ho-nl/m2-pwa/commit/27d13ab1a0d923197bb13557256307f60a243f4a))
143
+ - **shipping:** sort available shipping methods by availability ([27d13ab](https://github.com/ho-nl/m2-pwa/commit/27d13ab1a0d923197bb13557256307f60a243f4a))
130
144
 
131
145
  ## [2.103.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.103.0...@graphcommerce/magento-cart-shipping-method@2.103.1) (2021-09-27)
132
146
 
@@ -136,90 +150,63 @@ All notable changes to this project will be documented in this file. See
136
150
 
137
151
  ### Bug Fixes
138
152
 
139
- - amount label optional for shippingplaceholder
140
- ([a650a18](https://github.com/ho-nl/m2-pwa/commit/a650a18f01f76d9269bfb3926fc626189b803076))
141
- - error message when no shipping method chosen
142
- ([f948ce1](https://github.com/ho-nl/m2-pwa/commit/f948ce19cbf46db8fd7e8115c93f4f7549ad4e64))
143
- - ignore md files from triggering version updates
144
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
145
- - implement next-ui barrel imports
146
- ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
147
- - make amount optional
148
- ([3be1471](https://github.com/ho-nl/m2-pwa/commit/3be1471ec1f43eebf73415ec1adc12e0a16630e6))
149
- - make amout optional for shipping method
150
- ([f744859](https://github.com/ho-nl/m2-pwa/commit/f74485927c979f76a5bdb746aab3eca5186ba4d9))
151
- - make sure ComposedForm actually submits correctly
152
- ([c6499d9](https://github.com/ho-nl/m2-pwa/commit/c6499d9d36f874cd65b310cbf7f63f5a88fa86cd))
153
- - **next-ui:** toggle button stylign
154
- ([c806d35](https://github.com/ho-nl/m2-pwa/commit/c806d358aed030c54d568275ee497f8cb9b01359))
155
- - use SetOptional for amount
156
- ([06c3330](https://github.com/ho-nl/m2-pwa/commit/06c3330d997c0fb19ca46b0c1ff4d96f681b145c))
153
+ - amount label optional for shippingplaceholder ([a650a18](https://github.com/ho-nl/m2-pwa/commit/a650a18f01f76d9269bfb3926fc626189b803076))
154
+ - error message when no shipping method chosen ([f948ce1](https://github.com/ho-nl/m2-pwa/commit/f948ce19cbf46db8fd7e8115c93f4f7549ad4e64))
155
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
156
+ - implement next-ui barrel imports ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
157
+ - make amount optional ([3be1471](https://github.com/ho-nl/m2-pwa/commit/3be1471ec1f43eebf73415ec1adc12e0a16630e6))
158
+ - make amout optional for shipping method ([f744859](https://github.com/ho-nl/m2-pwa/commit/f74485927c979f76a5bdb746aab3eca5186ba4d9))
159
+ - make sure ComposedForm actually submits correctly ([c6499d9](https://github.com/ho-nl/m2-pwa/commit/c6499d9d36f874cd65b310cbf7f63f5a88fa86cd))
160
+ - **next-ui:** toggle button stylign ([c806d35](https://github.com/ho-nl/m2-pwa/commit/c806d358aed030c54d568275ee497f8cb9b01359))
161
+ - use SetOptional for amount ([06c3330](https://github.com/ho-nl/m2-pwa/commit/06c3330d997c0fb19ca46b0c1ff4d96f681b145c))
157
162
 
158
163
  ### Features
159
164
 
160
- - **cart:** when a cart is not active anymore show a clear cart button
161
- ([5d04a14](https://github.com/ho-nl/m2-pwa/commit/5d04a14726c040b20b34c0b88f923aee1dff22e5))
162
- - **graphql:** introduced new graphql package that holds all generated files
163
- ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
164
- - **image:** introduced completely rewritten Image component
165
- ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
166
- - implemented purchase order
167
- ([3a40033](https://github.com/ho-nl/m2-pwa/commit/3a40033cd4d6712a17bb9c41a8841ebf7aa2f025))
168
- - next.js 11
169
- ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
170
- - **playwright:** added new playwright package to enable browser testing
171
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
172
- - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
173
- [@reachdigital](https://github.com/reachdigital)
174
- ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
175
- - submit composed form sequentially
176
- ([890d839](https://github.com/ho-nl/m2-pwa/commit/890d8393d635c3777aa17cfa8d4dafc13c2e6cdc))
177
- - upgraded to nextjs 11
178
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
179
- - useFormMutationCart and simpler imports
180
- ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
165
+ - **cart:** when a cart is not active anymore show a clear cart button ([5d04a14](https://github.com/ho-nl/m2-pwa/commit/5d04a14726c040b20b34c0b88f923aee1dff22e5))
166
+ - **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
167
+ - **image:** introduced completely rewritten Image component ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
168
+ - implemented purchase order ([3a40033](https://github.com/ho-nl/m2-pwa/commit/3a40033cd4d6712a17bb9c41a8841ebf7aa2f025))
169
+ - next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
170
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
171
+ - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
172
+ - submit composed form sequentially ([890d839](https://github.com/ho-nl/m2-pwa/commit/890d8393d635c3777aa17cfa8d4dafc13c2e6cdc))
173
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
174
+ - useFormMutationCart and simpler imports ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
181
175
 
182
176
  ### Reverts
183
177
 
184
- - Revert "chore: upgrade @apollo/client"
185
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
178
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
186
179
 
187
180
  # Change Log
188
181
 
189
- All notable changes to this project will be documented in this file. See
190
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
182
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
191
183
 
192
184
  ## [2.102.10](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.102.9...@graphcommerce/magento-cart-shipping-method@2.102.10) (2021-08-24)
193
185
 
194
186
  ### Bug Fixes
195
187
 
196
- - error message when no shipping method chosen
197
- ([f948ce1](https://github.com/ho-nl/m2-pwa/commit/f948ce19cbf46db8fd7e8115c93f4f7549ad4e64))
188
+ - error message when no shipping method chosen ([f948ce1](https://github.com/ho-nl/m2-pwa/commit/f948ce19cbf46db8fd7e8115c93f4f7549ad4e64))
198
189
 
199
190
  # [2.102.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.101.10...@graphcommerce/magento-cart-shipping-method@2.102.0) (2021-08-12)
200
191
 
201
192
  ### Features
202
193
 
203
- - upgraded to nextjs 11
204
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
194
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
205
195
 
206
196
  ## [2.101.9](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.101.8...@graphcommerce/magento-cart-shipping-method@2.101.9) (2021-08-09)
207
197
 
208
198
  ### Reverts
209
199
 
210
- - Revert "chore: upgrade @apollo/client"
211
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
200
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
212
201
 
213
202
  # [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.100.19...@graphcommerce/magento-cart-shipping-method@2.101.0) (2021-07-26)
214
203
 
215
204
  ### Features
216
205
 
217
- - **playwright:** added new playwright package to enable browser testing
218
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
206
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
219
207
 
220
208
  ## [2.100.11](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-shipping-method@2.100.10...@graphcommerce/magento-cart-shipping-method@2.100.11) (2021-07-20)
221
209
 
222
210
  ### Bug Fixes
223
211
 
224
- - ignore md files from triggering version updates
225
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
212
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
@@ -9,13 +9,13 @@ import {
9
9
  FormRow,
10
10
  iconChevronLeft,
11
11
  iconChevronRight,
12
- SvgIcon,
12
+ IconSvg,
13
13
  extendableComponent,
14
14
  } from '@graphcommerce/next-ui'
15
15
  import { Controller, useFormCompose, UseFormComposeOptions } from '@graphcommerce/react-hook-form'
16
16
  import { t, Trans } from '@lingui/macro'
17
17
  import { FormControl, Alert, Box } from '@mui/material'
18
- import AvailableShippingMethod from '../AvailableShippingMethod/AvailableShippingMethod'
18
+ import { AvailableShippingMethod } from '../AvailableShippingMethod/AvailableShippingMethod'
19
19
  import { GetShippingMethodsDocument } from './GetShippingMethods.gql'
20
20
  import {
21
21
  ShippingMethodFormDocument,
@@ -33,7 +33,7 @@ const name = 'ShippingMethodForm' as const
33
33
  const parts = ['root', 'alert', 'buttonRoot', 'buttonContainer', 'scrollerRoot'] as const
34
34
  const { withState } = extendableComponent<OwnerProps, typeof name, typeof parts>(name, parts)
35
35
 
36
- export default function ShippingMethodForm(props: ShippingMethodFormProps) {
36
+ export function ShippingMethodForm(props: ShippingMethodFormProps) {
37
37
  const { step } = props
38
38
  const { data: cartQuery } = useCartQuery(GetShippingMethodsDocument)
39
39
 
@@ -107,7 +107,7 @@ export default function ShippingMethodForm(props: ShippingMethodFormProps) {
107
107
  },
108
108
  }}
109
109
  >
110
- <SvgIcon src={iconChevronLeft} size='small' aria-label={t`Scroll Left`} />
110
+ <IconSvg src={iconChevronLeft} size='small' aria-label={t`Scroll Left`} />
111
111
  </ScrollerButton>
112
112
  </Box>
113
113
 
@@ -224,7 +224,7 @@ export default function ShippingMethodForm(props: ShippingMethodFormProps) {
224
224
  }}
225
225
  className={classes.buttonRoot}
226
226
  >
227
- <SvgIcon src={iconChevronRight} size='small' aria-label={t`Scroll Right`} />
227
+ <IconSvg src={iconChevronRight} size='small' aria-label={t`Scroll Right`} />
228
228
  </ScrollerButton>
229
229
  </Box>
230
230
  </ScrollerProvider>
package/index.ts CHANGED
@@ -2,4 +2,3 @@ export * from './Api/AvailableShippingMethods.gql'
2
2
  export * from './Api/ShippingMethodSelected.gql'
3
3
 
4
4
  export * from './ShippingMethodForm/ShippingMethodForm'
5
- export { default as ShippingMethodForm } from './ShippingMethodForm/ShippingMethodForm'
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.2",
5
+ "version": "3.0.5",
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.0.2",
16
- "@graphcommerce/prettier-config-pwa": "^4.0.1",
17
- "@graphcommerce/typescript-config-pwa": "^4.0.1",
18
- "@playwright/test": "^1.19.1"
15
+ "@graphcommerce/eslint-config-pwa": "^4.0.5",
16
+ "@graphcommerce/prettier-config-pwa": "^4.0.3",
17
+ "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
+ "@playwright/test": "^1.19.2"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/framer-scroller": "^2.0.2",
22
- "@graphcommerce/graphql": "^3.0.2",
23
- "@graphcommerce/image": "^3.0.2",
24
- "@graphcommerce/magento-cart": "^4.1.1",
25
- "@graphcommerce/magento-cart-shipping-address": "^3.0.2",
26
- "@graphcommerce/magento-store": "^4.0.2",
27
- "@graphcommerce/next-ui": "^4.1.1",
28
- "@graphcommerce/react-hook-form": "^3.0.2",
29
- "type-fest": "^2.11.2"
21
+ "@graphcommerce/framer-scroller": "^2.0.6",
22
+ "@graphcommerce/graphql": "^3.0.4",
23
+ "@graphcommerce/image": "^3.1.1",
24
+ "@graphcommerce/magento-cart": "^4.1.4",
25
+ "@graphcommerce/magento-cart-shipping-address": "^3.0.4",
26
+ "@graphcommerce/magento-store": "^4.1.2",
27
+ "@graphcommerce/next-ui": "^4.2.4",
28
+ "@graphcommerce/react-hook-form": "^3.0.4",
29
+ "type-fest": "^2.12.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@lingui/macro": "^3.13.2",