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

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,18 +1,62 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1378](https://github.com/graphcommerce-org/graphcommerce/pull/1378) [`b610a6e40`](https://github.com/graphcommerce-org/graphcommerce/commit/b610a6e4049e8c9e8b5d2aeff31b8e1bfc24abe5) Thanks [@paales](https://github.com/paales)! - Pin all versions internally so we can’t end up in an unfixable state for the user
8
+
9
+ - Updated dependencies [[`b610a6e40`](https://github.com/graphcommerce-org/graphcommerce/commit/b610a6e4049e8c9e8b5d2aeff31b8e1bfc24abe5), [`22ff9df16`](https://github.com/graphcommerce-org/graphcommerce/commit/22ff9df1677742ae8e07d9b7e5b12fbb487580dc)]:
10
+ - @graphcommerce/framer-scroller@2.1.4
11
+ - @graphcommerce/graphql@3.0.7
12
+ - @graphcommerce/image@3.1.3
13
+ - @graphcommerce/magento-cart@4.2.3
14
+ - @graphcommerce/magento-cart-shipping-address@3.0.6
15
+ - @graphcommerce/magento-store@4.1.5
16
+ - @graphcommerce/next-ui@4.5.1
17
+ - @graphcommerce/react-hook-form@3.0.7
18
+
19
+ ## 3.0.6
20
+
21
+ ### Patch Changes
22
+
23
+ - [#1369](https://github.com/graphcommerce-org/graphcommerce/pull/1369) [`ae6449502`](https://github.com/graphcommerce-org/graphcommerce/commit/ae64495024a455bbe5188588604368c1542840c9) Thanks [@paales](https://github.com/paales)! - Upgraded dependencies
24
+
25
+ - Updated dependencies [[`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`ae6449502`](https://github.com/graphcommerce-org/graphcommerce/commit/ae64495024a455bbe5188588604368c1542840c9), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a)]:
26
+ - @graphcommerce/graphql@3.0.6
27
+ - @graphcommerce/next-ui@4.5.0
28
+ - @graphcommerce/framer-scroller@2.1.3
29
+ - @graphcommerce/image@3.1.2
30
+ - @graphcommerce/magento-cart@4.2.2
31
+ - @graphcommerce/magento-cart-shipping-address@3.0.5
32
+ - @graphcommerce/magento-store@4.1.4
33
+ - @graphcommerce/react-hook-form@3.0.6
34
+
35
+ ## 3.0.5
36
+
37
+ ### Patch Changes
38
+
39
+ - [#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.
40
+
41
+ * [#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
42
+
43
+ * 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)]:
44
+ - @graphcommerce/next-ui@4.2.4
45
+ - @graphcommerce/framer-scroller@2.0.6
46
+ - @graphcommerce/graphql@3.0.4
47
+ - @graphcommerce/image@3.1.1
48
+ - @graphcommerce/magento-cart@4.1.4
49
+ - @graphcommerce/magento-cart-shipping-address@3.0.4
50
+ - @graphcommerce/magento-store@4.1.2
51
+ - @graphcommerce/react-hook-form@3.0.4
52
+
3
53
  ## 3.0.4
4
54
 
5
55
  ### Patch Changes
6
56
 
7
- - [#1292](https://github.com/ho-nl/m2-pwa/pull/1292)
8
- [`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0)
9
- Thanks [@paales](https://github.com/paales)! - Renamed SvgIcon to IconSvg to prevent collisions
10
- with MUI
57
+ - [#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
11
58
 
12
- - Updated dependencies
13
- [[`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0),
14
- [`990df655b`](https://github.com/ho-nl/m2-pwa/commit/990df655b73b469718d6cb5837ee65dfe2ad6a1d),
15
- [`63f9b56eb`](https://github.com/ho-nl/m2-pwa/commit/63f9b56eb68ba790567ff1427e599fd2c3c8f1ee)]:
59
+ - 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)]:
16
60
  - @graphcommerce/magento-cart@4.1.3
17
61
  - @graphcommerce/next-ui@4.2.0
18
62
 
@@ -20,18 +64,11 @@
20
64
 
21
65
  ### Patch Changes
22
66
 
23
- - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
24
- Thanks [@paales](https://github.com/paales)! - made packages public
67
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
25
68
 
26
- * [#1278](https://github.com/ho-nl/m2-pwa/pull/1278)
27
- [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20)
28
- Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Upgraded dependencies to the latest version
69
+ * [#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
29
70
 
30
- * Updated dependencies
31
- [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96),
32
- [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20),
33
- [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d),
34
- [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
71
+ * 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)]:
35
72
  - @graphcommerce/framer-scroller@2.0.3
36
73
  - @graphcommerce/graphql@3.0.3
37
74
  - @graphcommerce/image@3.1.0
@@ -45,30 +82,13 @@
45
82
 
46
83
  ### Patch Changes
47
84
 
48
- - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
49
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
50
- Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
51
- `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
52
- duplicate packages in the node_modules folders.
53
-
54
- * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
55
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
56
- Thanks [@paales](https://github.com/paales)! - Upgraded to
57
- [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
58
- implementing
59
- [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
60
- soon.
61
-
62
- This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
63
- frontend to be able to revalidate pages manually.
64
-
65
- * Updated dependencies
66
- [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
67
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
68
- [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
69
- [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
70
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d),
71
- [`5a4809b1a`](https://github.com/ho-nl/m2-pwa/commit/5a4809b1a705aa32f620f520085df48ee25f9949)]:
85
+ - [#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.
86
+
87
+ * [#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.
88
+
89
+ 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.
90
+
91
+ * 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)]:
72
92
  - @graphcommerce/magento-cart@4.1.1
73
93
  - @graphcommerce/next-ui@4.1.1
74
94
  - @graphcommerce/react-hook-form@3.0.2
@@ -82,11 +102,8 @@
82
102
 
83
103
  ### Patch Changes
84
104
 
85
- - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
86
- Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
87
- so that the packages link to back to the website and repository
88
- - Updated dependencies
89
- [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
105
+ - [`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
106
+ - Updated dependencies [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
90
107
  - @graphcommerce/framer-scroller@2.0.1
91
108
  - @graphcommerce/graphql@3.0.1
92
109
  - @graphcommerce/image@3.0.1
@@ -100,14 +117,11 @@
100
117
 
101
118
  ### Major Changes
102
119
 
103
- - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
104
- [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
105
- Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
120
+ - [#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
106
121
 
107
122
  ### Patch Changes
108
123
 
109
- - Updated dependencies
110
- [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
124
+ - Updated dependencies [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
111
125
  - @graphcommerce/framer-scroller@2.0.0
112
126
  - @graphcommerce/graphql@3.0.0
113
127
  - @graphcommerce/image@3.0.0
@@ -117,57 +131,48 @@
117
131
  - @graphcommerce/next-ui@4.0.0
118
132
  - @graphcommerce/react-hook-form@3.0.0
119
133
 
120
- All notable changes to this project will be documented in this file. See
121
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
134
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
122
135
 
123
136
  # [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)
124
137
 
125
138
  ### Features
126
139
 
127
- - added tons of translations
128
- ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
140
+ - added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
129
141
 
130
142
  ## [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)
131
143
 
132
144
  ### Bug Fixes
133
145
 
134
- - font sizes
135
- ([1cf7d45](https://github.com/ho-nl/m2-pwa/commit/1cf7d451c3f8bdd064fdf351dffafced97387aff))
136
- - styling when only 2 methods available. Hide buttons.
137
- ([6a90516](https://github.com/ho-nl/m2-pwa/commit/6a90516833e4fd1ea618111b278ecbdb76c9554a))
146
+ - font sizes ([1cf7d45](https://github.com/ho-nl/m2-pwa/commit/1cf7d451c3f8bdd064fdf351dffafced97387aff))
147
+ - styling when only 2 methods available. Hide buttons. ([6a90516](https://github.com/ho-nl/m2-pwa/commit/6a90516833e4fd1ea618111b278ecbdb76c9554a))
138
148
 
139
149
  ## [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)
140
150
 
141
151
  ### Bug Fixes
142
152
 
143
- - Shipping method scroller styles
144
- ([d48d248](https://github.com/ho-nl/m2-pwa/commit/d48d2486fabb9059dbb0c27a5331784ee676a201))
153
+ - Shipping method scroller styles ([d48d248](https://github.com/ho-nl/m2-pwa/commit/d48d2486fabb9059dbb0c27a5331784ee676a201))
145
154
 
146
155
  # [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)
147
156
 
148
157
  ### Bug Fixes
149
158
 
150
- - **shipping-method-form:** stretch scroller items when there are only two methods
151
- ([6c925fc](https://github.com/ho-nl/m2-pwa/commit/6c925fcd029ad89b2527e63703660e53d3f69265))
159
+ - **shipping-method-form:** stretch scroller items when there are only two methods ([6c925fc](https://github.com/ho-nl/m2-pwa/commit/6c925fcd029ad89b2527e63703660e53d3f69265))
152
160
 
153
161
  ### Features
154
162
 
155
- - shipping methods scroller
156
- ([3cc4413](https://github.com/ho-nl/m2-pwa/commit/3cc441320d2a3dd003c499be358a118a17e528c3))
163
+ - shipping methods scroller ([3cc4413](https://github.com/ho-nl/m2-pwa/commit/3cc441320d2a3dd003c499be358a118a17e528c3))
157
164
 
158
165
  # [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)
159
166
 
160
167
  ### Features
161
168
 
162
- - **nextjs:** upgraded to nextjs 12
163
- ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
169
+ - **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
164
170
 
165
171
  ## [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)
166
172
 
167
173
  ### Bug Fixes
168
174
 
169
- - **shipping:** sort available shipping methods by availability
170
- ([27d13ab](https://github.com/ho-nl/m2-pwa/commit/27d13ab1a0d923197bb13557256307f60a243f4a))
175
+ - **shipping:** sort available shipping methods by availability ([27d13ab](https://github.com/ho-nl/m2-pwa/commit/27d13ab1a0d923197bb13557256307f60a243f4a))
171
176
 
172
177
  ## [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)
173
178
 
@@ -177,90 +182,63 @@ All notable changes to this project will be documented in this file. See
177
182
 
178
183
  ### Bug Fixes
179
184
 
180
- - amount label optional for shippingplaceholder
181
- ([a650a18](https://github.com/ho-nl/m2-pwa/commit/a650a18f01f76d9269bfb3926fc626189b803076))
182
- - error message when no shipping method chosen
183
- ([f948ce1](https://github.com/ho-nl/m2-pwa/commit/f948ce19cbf46db8fd7e8115c93f4f7549ad4e64))
184
- - ignore md files from triggering version updates
185
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
186
- - implement next-ui barrel imports
187
- ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
188
- - make amount optional
189
- ([3be1471](https://github.com/ho-nl/m2-pwa/commit/3be1471ec1f43eebf73415ec1adc12e0a16630e6))
190
- - make amout optional for shipping method
191
- ([f744859](https://github.com/ho-nl/m2-pwa/commit/f74485927c979f76a5bdb746aab3eca5186ba4d9))
192
- - make sure ComposedForm actually submits correctly
193
- ([c6499d9](https://github.com/ho-nl/m2-pwa/commit/c6499d9d36f874cd65b310cbf7f63f5a88fa86cd))
194
- - **next-ui:** toggle button stylign
195
- ([c806d35](https://github.com/ho-nl/m2-pwa/commit/c806d358aed030c54d568275ee497f8cb9b01359))
196
- - use SetOptional for amount
197
- ([06c3330](https://github.com/ho-nl/m2-pwa/commit/06c3330d997c0fb19ca46b0c1ff4d96f681b145c))
185
+ - amount label optional for shippingplaceholder ([a650a18](https://github.com/ho-nl/m2-pwa/commit/a650a18f01f76d9269bfb3926fc626189b803076))
186
+ - error message when no shipping method chosen ([f948ce1](https://github.com/ho-nl/m2-pwa/commit/f948ce19cbf46db8fd7e8115c93f4f7549ad4e64))
187
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
188
+ - implement next-ui barrel imports ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
189
+ - make amount optional ([3be1471](https://github.com/ho-nl/m2-pwa/commit/3be1471ec1f43eebf73415ec1adc12e0a16630e6))
190
+ - make amout optional for shipping method ([f744859](https://github.com/ho-nl/m2-pwa/commit/f74485927c979f76a5bdb746aab3eca5186ba4d9))
191
+ - make sure ComposedForm actually submits correctly ([c6499d9](https://github.com/ho-nl/m2-pwa/commit/c6499d9d36f874cd65b310cbf7f63f5a88fa86cd))
192
+ - **next-ui:** toggle button stylign ([c806d35](https://github.com/ho-nl/m2-pwa/commit/c806d358aed030c54d568275ee497f8cb9b01359))
193
+ - use SetOptional for amount ([06c3330](https://github.com/ho-nl/m2-pwa/commit/06c3330d997c0fb19ca46b0c1ff4d96f681b145c))
198
194
 
199
195
  ### Features
200
196
 
201
- - **cart:** when a cart is not active anymore show a clear cart button
202
- ([5d04a14](https://github.com/ho-nl/m2-pwa/commit/5d04a14726c040b20b34c0b88f923aee1dff22e5))
203
- - **graphql:** introduced new graphql package that holds all generated files
204
- ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
205
- - **image:** introduced completely rewritten Image component
206
- ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
207
- - implemented purchase order
208
- ([3a40033](https://github.com/ho-nl/m2-pwa/commit/3a40033cd4d6712a17bb9c41a8841ebf7aa2f025))
209
- - next.js 11
210
- ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
211
- - **playwright:** added new playwright package to enable browser testing
212
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
213
- - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
214
- [@reachdigital](https://github.com/reachdigital)
215
- ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
216
- - submit composed form sequentially
217
- ([890d839](https://github.com/ho-nl/m2-pwa/commit/890d8393d635c3777aa17cfa8d4dafc13c2e6cdc))
218
- - upgraded to nextjs 11
219
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
220
- - useFormMutationCart and simpler imports
221
- ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
197
+ - **cart:** when a cart is not active anymore show a clear cart button ([5d04a14](https://github.com/ho-nl/m2-pwa/commit/5d04a14726c040b20b34c0b88f923aee1dff22e5))
198
+ - **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
199
+ - **image:** introduced completely rewritten Image component ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
200
+ - implemented purchase order ([3a40033](https://github.com/ho-nl/m2-pwa/commit/3a40033cd4d6712a17bb9c41a8841ebf7aa2f025))
201
+ - next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
202
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
203
+ - 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))
204
+ - submit composed form sequentially ([890d839](https://github.com/ho-nl/m2-pwa/commit/890d8393d635c3777aa17cfa8d4dafc13c2e6cdc))
205
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
206
+ - useFormMutationCart and simpler imports ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
222
207
 
223
208
  ### Reverts
224
209
 
225
- - Revert "chore: upgrade @apollo/client"
226
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
210
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
227
211
 
228
212
  # Change Log
229
213
 
230
- All notable changes to this project will be documented in this file. See
231
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
214
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
232
215
 
233
216
  ## [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)
234
217
 
235
218
  ### Bug Fixes
236
219
 
237
- - error message when no shipping method chosen
238
- ([f948ce1](https://github.com/ho-nl/m2-pwa/commit/f948ce19cbf46db8fd7e8115c93f4f7549ad4e64))
220
+ - error message when no shipping method chosen ([f948ce1](https://github.com/ho-nl/m2-pwa/commit/f948ce19cbf46db8fd7e8115c93f4f7549ad4e64))
239
221
 
240
222
  # [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)
241
223
 
242
224
  ### Features
243
225
 
244
- - upgraded to nextjs 11
245
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
226
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
246
227
 
247
228
  ## [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)
248
229
 
249
230
  ### Reverts
250
231
 
251
- - Revert "chore: upgrade @apollo/client"
252
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
232
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
253
233
 
254
234
  # [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)
255
235
 
256
236
  ### Features
257
237
 
258
- - **playwright:** added new playwright package to enable browser testing
259
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
238
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
260
239
 
261
240
  ## [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)
262
241
 
263
242
  ### Bug Fixes
264
243
 
265
- - ignore md files from triggering version updates
266
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
244
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
@@ -15,7 +15,7 @@ import {
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
 
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.4",
5
+ "version": "3.0.7",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,27 +12,27 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.0.3",
16
- "@graphcommerce/prettier-config-pwa": "^4.0.2",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.4",
16
+ "@graphcommerce/prettier-config-pwa": "^4.0.5",
17
17
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
- "@playwright/test": "^1.19.1"
18
+ "@playwright/test": "^1.20.1",
19
+ "type-fest": "2.12.1"
19
20
  },
20
21
  "dependencies": {
21
- "@graphcommerce/framer-scroller": "^2.0.3",
22
- "@graphcommerce/graphql": "^3.0.3",
23
- "@graphcommerce/image": "^3.1.0",
24
- "@graphcommerce/magento-cart": "^4.1.3",
25
- "@graphcommerce/magento-cart-shipping-address": "^3.0.3",
26
- "@graphcommerce/magento-store": "^4.0.3",
27
- "@graphcommerce/next-ui": "^4.2.0",
28
- "@graphcommerce/react-hook-form": "^3.0.3",
29
- "type-fest": "^2.12.0"
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"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@lingui/macro": "^3.13.2",
33
- "@mui/material": "^5.4.1",
33
+ "@mui/material": "5.5.3",
34
34
  "framer-motion": "^6.2.4",
35
- "next": "^12.0.10",
35
+ "next": "12.1.2",
36
36
  "react": "^17.0.2",
37
37
  "react-dom": "^17.0.2"
38
38
  }