@graphcommerce/magento-cart-items 3.0.4 → 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.
package/CHANGELOG.md CHANGED
@@ -1,18 +1,30 @@
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/graphql@3.0.4
14
+ - @graphcommerce/image@3.1.1
15
+ - @graphcommerce/magento-cart@4.1.4
16
+ - @graphcommerce/magento-customer@4.1.4
17
+ - @graphcommerce/magento-product@4.0.6
18
+ - @graphcommerce/magento-store@4.1.2
19
+ - @graphcommerce/react-hook-form@3.0.4
20
+
3
21
  ## 3.0.4
4
22
 
5
23
  ### Patch Changes
6
24
 
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
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
11
26
 
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)]:
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)]:
16
28
  - @graphcommerce/magento-cart@4.1.3
17
29
  - @graphcommerce/magento-customer@4.1.3
18
30
  - @graphcommerce/magento-product@4.0.5
@@ -22,14 +34,9 @@
22
34
 
23
35
  ### Patch Changes
24
36
 
25
- - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
26
- Thanks [@paales](https://github.com/paales)! - made packages public
37
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
27
38
 
28
- - Updated dependencies
29
- [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96),
30
- [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20),
31
- [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d),
32
- [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
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)]:
33
40
  - @graphcommerce/graphql@3.0.3
34
41
  - @graphcommerce/image@3.1.0
35
42
  - @graphcommerce/magento-cart@4.1.2
@@ -43,30 +50,13 @@
43
50
 
44
51
  ### Patch Changes
45
52
 
46
- - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
47
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
48
- Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
49
- `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
50
- duplicate packages in the node_modules folders.
51
-
52
- * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
53
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
54
- Thanks [@paales](https://github.com/paales)! - Upgraded to
55
- [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
56
- implementing
57
- [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
58
- soon.
59
-
60
- This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
61
- frontend to be able to revalidate pages manually.
62
-
63
- * Updated dependencies
64
- [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
65
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
66
- [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
67
- [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
68
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d),
69
- [`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)]:
70
60
  - @graphcommerce/magento-cart@4.1.1
71
61
  - @graphcommerce/magento-customer@4.1.1
72
62
  - @graphcommerce/next-ui@4.1.1
@@ -80,11 +70,8 @@
80
70
 
81
71
  ### Patch Changes
82
72
 
83
- - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
84
- Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
85
- so that the packages link to back to the website and repository
86
- - Updated dependencies
87
- [[`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)]:
88
75
  - @graphcommerce/graphql@3.0.1
89
76
  - @graphcommerce/image@3.0.1
90
77
  - @graphcommerce/magento-cart@4.0.1
@@ -98,14 +85,11 @@
98
85
 
99
86
  ### Major Changes
100
87
 
101
- - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
102
- [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
103
- 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
104
89
 
105
90
  ### Patch Changes
106
91
 
107
- - Updated dependencies
108
- [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
92
+ - Updated dependencies [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
109
93
  - @graphcommerce/graphql@3.0.0
110
94
  - @graphcommerce/image@3.0.0
111
95
  - @graphcommerce/magento-cart@4.0.0
@@ -115,99 +99,83 @@
115
99
  - @graphcommerce/next-ui@4.0.0
116
100
  - @graphcommerce/react-hook-form@3.0.0
117
101
 
118
- All notable changes to this project will be documented in this file. See
119
- [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.
120
103
 
121
104
  ## [2.110.18](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.110.17...@graphcommerce/magento-cart-items@2.110.18) (2021-12-17)
122
105
 
123
106
  ### Bug Fixes
124
107
 
125
- - remove prop required in cart
126
- ([f22ba07](https://github.com/ho-nl/m2-pwa/commit/f22ba07960afa44422df1df3b80da687bbc8c5e8))
108
+ - remove prop required in cart ([f22ba07](https://github.com/ho-nl/m2-pwa/commit/f22ba07960afa44422df1df3b80da687bbc8c5e8))
127
109
 
128
110
  # [2.110.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.109.1...@graphcommerce/magento-cart-items@2.110.0) (2021-11-12)
129
111
 
130
112
  ### Bug Fixes
131
113
 
132
- - even more translations
133
- ([1a1f988](https://github.com/ho-nl/m2-pwa/commit/1a1f98837c704b978f6b42b619d9c52f540b2d48))
114
+ - even more translations ([1a1f988](https://github.com/ho-nl/m2-pwa/commit/1a1f98837c704b978f6b42b619d9c52f540b2d48))
134
115
 
135
116
  ### Features
136
117
 
137
- - added tons of translations
138
- ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
118
+ - added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
139
119
 
140
120
  # [2.109.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.108.20...@graphcommerce/magento-cart-items@2.109.0) (2021-11-12)
141
121
 
142
122
  ### Features
143
123
 
144
- - remove svg stroke definitions, set all to currentColor
145
- ([189814f](https://github.com/ho-nl/m2-pwa/commit/189814f822d111c8adc6be1fff65c9a4a4c50c65))
124
+ - remove svg stroke definitions, set all to currentColor ([189814f](https://github.com/ho-nl/m2-pwa/commit/189814f822d111c8adc6be1fff65c9a4a4c50c65))
146
125
 
147
126
  ## [2.108.20](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.108.19...@graphcommerce/magento-cart-items@2.108.20) (2021-11-12)
148
127
 
149
128
  ### Bug Fixes
150
129
 
151
- - remove delivery label
152
- ([c799405](https://github.com/ho-nl/m2-pwa/commit/c799405e18f7fc2654df67b0c401dfcdef41fd6c))
130
+ - remove delivery label ([c799405](https://github.com/ho-nl/m2-pwa/commit/c799405e18f7fc2654df67b0c401dfcdef41fd6c))
153
131
 
154
132
  ## [2.108.15](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.108.14...@graphcommerce/magento-cart-items@2.108.15) (2021-11-09)
155
133
 
156
134
  ### Bug Fixes
157
135
 
158
- - font sizes
159
- ([1cf7d45](https://github.com/ho-nl/m2-pwa/commit/1cf7d451c3f8bdd064fdf351dffafced97387aff))
136
+ - font sizes ([1cf7d45](https://github.com/ho-nl/m2-pwa/commit/1cf7d451c3f8bdd064fdf351dffafced97387aff))
160
137
 
161
138
  ## [2.108.9](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.108.8...@graphcommerce/magento-cart-items@2.108.9) (2021-11-04)
162
139
 
163
140
  ### Bug Fixes
164
141
 
165
- - mobile cart
166
- ([fcafe5d](https://github.com/ho-nl/m2-pwa/commit/fcafe5d446f14fca6579d9005dd57389040c4cd3))
167
- - remove hardcoded fontSize
168
- ([e4e09e1](https://github.com/ho-nl/m2-pwa/commit/e4e09e11baeb8edeff634550b8cdb88571d96911))
142
+ - mobile cart ([fcafe5d](https://github.com/ho-nl/m2-pwa/commit/fcafe5d446f14fca6579d9005dd57389040c4cd3))
143
+ - remove hardcoded fontSize ([e4e09e1](https://github.com/ho-nl/m2-pwa/commit/e4e09e11baeb8edeff634550b8cdb88571d96911))
169
144
 
170
145
  # [2.108.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.107.5...@graphcommerce/magento-cart-items@2.108.0) (2021-11-02)
171
146
 
172
147
  ### Bug Fixes
173
148
 
174
- - darkTheme
175
- ([d0517af](https://github.com/ho-nl/m2-pwa/commit/d0517af5a788532c48f567ee3e840986efa26a67))
149
+ - darkTheme ([d0517af](https://github.com/ho-nl/m2-pwa/commit/d0517af5a788532c48f567ee3e840986efa26a67))
176
150
 
177
151
  ### Features
178
152
 
179
- - darkTheme
180
- ([968f4f1](https://github.com/ho-nl/m2-pwa/commit/968f4f1360417bf7daa36454c19e6bc5cf53ae90))
181
- - darkTheme
182
- ([3ed6647](https://github.com/ho-nl/m2-pwa/commit/3ed664714670315bc9f20542549724f66cb5052d))
153
+ - darkTheme ([968f4f1](https://github.com/ho-nl/m2-pwa/commit/968f4f1360417bf7daa36454c19e6bc5cf53ae90))
154
+ - darkTheme ([3ed6647](https://github.com/ho-nl/m2-pwa/commit/3ed664714670315bc9f20542549724f66cb5052d))
183
155
 
184
156
  ## [2.107.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.107.0...@graphcommerce/magento-cart-items@2.107.1) (2021-10-28)
185
157
 
186
158
  ### Bug Fixes
187
159
 
188
- - External SVG's can't have alt tags
189
- ([1b1414a](https://github.com/ho-nl/m2-pwa/commit/1b1414a782d55d3acf7b0e6bcaa50f2ad5f18f39))
160
+ - External SVG's can't have alt tags ([1b1414a](https://github.com/ho-nl/m2-pwa/commit/1b1414a782d55d3acf7b0e6bcaa50f2ad5f18f39))
190
161
 
191
162
  # [2.107.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.106.2...@graphcommerce/magento-cart-items@2.107.0) (2021-10-28)
192
163
 
193
164
  ### Features
194
165
 
195
- - dynamic icons, update SvgImage uses to SvgImageSimple
196
- ([3d3cc0e](https://github.com/ho-nl/m2-pwa/commit/3d3cc0e0336fcde1cce6ba19705f82c1edf9bfc6))
166
+ - dynamic icons, update SvgImage uses to SvgImageSimple ([3d3cc0e](https://github.com/ho-nl/m2-pwa/commit/3d3cc0e0336fcde1cce6ba19705f82c1edf9bfc6))
197
167
 
198
168
  # [2.106.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.105.7...@graphcommerce/magento-cart-items@2.106.0) (2021-10-27)
199
169
 
200
170
  ### Features
201
171
 
202
- - **nextjs:** upgraded to nextjs 12
203
- ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
172
+ - **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
204
173
 
205
174
  # [2.105.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.104.29...@graphcommerce/magento-cart-items@2.105.0) (2021-10-18)
206
175
 
207
176
  ### Features
208
177
 
209
- - **message-snackbar:** severity props
210
- ([c7be8a5](https://github.com/ho-nl/m2-pwa/commit/c7be8a51faf7a5937b7fab5bb352df2089ae4eea))
178
+ - **message-snackbar:** severity props ([c7be8a5](https://github.com/ho-nl/m2-pwa/commit/c7be8a51faf7a5937b7fab5bb352df2089ae4eea))
211
179
 
212
180
  ## [2.104.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.104.0...@graphcommerce/magento-cart-items@2.104.1) (2021-09-27)
213
181
 
@@ -217,118 +185,87 @@ All notable changes to this project will be documented in this file. See
217
185
 
218
186
  ### Bug Fixes
219
187
 
220
- - app shell consistency wip
221
- ([be995ca](https://github.com/ho-nl/m2-pwa/commit/be995ca5c3e383b89fea3759186d53af4790e99b))
222
- - cart item image sizes
223
- ([e7c860c](https://github.com/ho-nl/m2-pwa/commit/e7c860c785e172b9275e1a00c8b51509d6b297a8))
224
- - **cart:** be able to remove items from cart
225
- ([9c7f939](https://github.com/ho-nl/m2-pwa/commit/9c7f9397e9904e08014e7509d3ca63df8c062032))
226
- - **cart:** display prices with taxes for specific store views
227
- ([fd25541](https://github.com/ho-nl/m2-pwa/commit/fd25541646c41111f5ea53822d244591cb08b199))
228
- - **cart:** mobile styles
229
- ([aa601af](https://github.com/ho-nl/m2-pwa/commit/aa601af28ca7190ad90c33cc180fe63a28682519))
230
- - display prices excl and incl tax
231
- ([0d41135](https://github.com/ho-nl/m2-pwa/commit/0d411350e4621928411c2800be6ea02c6125049a))
232
- - ignore md files from triggering version updates
233
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
234
- - **image:** fix build
235
- ([b730cb6](https://github.com/ho-nl/m2-pwa/commit/b730cb6ae4e50dcf2f60e2046d6acf3047caacb3))
236
- - implement next-ui barrel imports
237
- ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
188
+ - app shell consistency wip ([be995ca](https://github.com/ho-nl/m2-pwa/commit/be995ca5c3e383b89fea3759186d53af4790e99b))
189
+ - cart item image sizes ([e7c860c](https://github.com/ho-nl/m2-pwa/commit/e7c860c785e172b9275e1a00c8b51509d6b297a8))
190
+ - **cart:** be able to remove items from cart ([9c7f939](https://github.com/ho-nl/m2-pwa/commit/9c7f9397e9904e08014e7509d3ca63df8c062032))
191
+ - **cart:** display prices with taxes for specific store views ([fd25541](https://github.com/ho-nl/m2-pwa/commit/fd25541646c41111f5ea53822d244591cb08b199))
192
+ - **cart:** mobile styles ([aa601af](https://github.com/ho-nl/m2-pwa/commit/aa601af28ca7190ad90c33cc180fe63a28682519))
193
+ - display prices excl and incl tax ([0d41135](https://github.com/ho-nl/m2-pwa/commit/0d411350e4621928411c2800be6ea02c6125049a))
194
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
195
+ - **image:** fix build ([b730cb6](https://github.com/ho-nl/m2-pwa/commit/b730cb6ae4e50dcf2f60e2046d6acf3047caacb3))
196
+ - implement next-ui barrel imports ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
238
197
 
239
198
  ### Features
240
199
 
241
- - **cart:** when a cart is not active anymore show a clear cart button
242
- ([5d04a14](https://github.com/ho-nl/m2-pwa/commit/5d04a14726c040b20b34c0b88f923aee1dff22e5))
243
- - **graphql:** introduced new graphql package that holds all generated files
244
- ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
245
- - **image:** introduced completely rewritten Image component
246
- ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
247
- - next.js 11
248
- ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
249
- - **playwright:** added new playwright package to enable browser testing
250
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
251
- - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
252
- [@reachdigital](https://github.com/reachdigital)
253
- ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
254
- - **theme:** restructured fonts and applied to home and category page
255
- ([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
256
- - upgraded to nextjs 11
257
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
258
- - useFormMutationCart and simpler imports
259
- ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
200
+ - **cart:** when a cart is not active anymore show a clear cart button ([5d04a14](https://github.com/ho-nl/m2-pwa/commit/5d04a14726c040b20b34c0b88f923aee1dff22e5))
201
+ - **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
202
+ - **image:** introduced completely rewritten Image component ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
203
+ - next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
204
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
205
+ - 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))
206
+ - **theme:** restructured fonts and applied to home and category page ([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
207
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
208
+ - useFormMutationCart and simpler imports ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
260
209
 
261
210
  ### Reverts
262
211
 
263
- - Revert "chore: upgrade @apollo/client"
264
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
212
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
265
213
 
266
214
  # Change Log
267
215
 
268
- All notable changes to this project will be documented in this file. See
269
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
216
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
270
217
 
271
218
  ## [2.103.11](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.103.10...@graphcommerce/magento-cart-items@2.103.11) (2021-08-27)
272
219
 
273
220
  ### Bug Fixes
274
221
 
275
- - app shell consistency wip
276
- ([be995ca](https://github.com/ho-nl/m2-pwa/commit/be995ca5c3e383b89fea3759186d53af4790e99b))
222
+ - app shell consistency wip ([be995ca](https://github.com/ho-nl/m2-pwa/commit/be995ca5c3e383b89fea3759186d53af4790e99b))
277
223
 
278
224
  ## [2.103.10](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.103.9...@graphcommerce/magento-cart-items@2.103.10) (2021-08-26)
279
225
 
280
226
  ### Bug Fixes
281
227
 
282
- - **cart:** mobile styles
283
- ([aa601af](https://github.com/ho-nl/m2-pwa/commit/aa601af28ca7190ad90c33cc180fe63a28682519))
228
+ - **cart:** mobile styles ([aa601af](https://github.com/ho-nl/m2-pwa/commit/aa601af28ca7190ad90c33cc180fe63a28682519))
284
229
 
285
230
  ## [2.103.8](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.103.7...@graphcommerce/magento-cart-items@2.103.8) (2021-08-18)
286
231
 
287
232
  ### Bug Fixes
288
233
 
289
- - **cart:** display prices with taxes for specific store views
290
- ([fd25541](https://github.com/ho-nl/m2-pwa/commit/fd25541646c41111f5ea53822d244591cb08b199))
291
- - display prices excl and incl tax
292
- ([0d41135](https://github.com/ho-nl/m2-pwa/commit/0d411350e4621928411c2800be6ea02c6125049a))
234
+ - **cart:** display prices with taxes for specific store views ([fd25541](https://github.com/ho-nl/m2-pwa/commit/fd25541646c41111f5ea53822d244591cb08b199))
235
+ - display prices excl and incl tax ([0d41135](https://github.com/ho-nl/m2-pwa/commit/0d411350e4621928411c2800be6ea02c6125049a))
293
236
 
294
237
  # [2.103.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.102.3...@graphcommerce/magento-cart-items@2.103.0) (2021-08-12)
295
238
 
296
239
  ### Features
297
240
 
298
- - upgraded to nextjs 11
299
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
241
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
300
242
 
301
243
  ## [2.102.2](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.102.1...@graphcommerce/magento-cart-items@2.102.2) (2021-08-09)
302
244
 
303
245
  ### Reverts
304
246
 
305
- - Revert "chore: upgrade @apollo/client"
306
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
247
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
307
248
 
308
249
  # [2.102.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.101.6...@graphcommerce/magento-cart-items@2.102.0) (2021-08-06)
309
250
 
310
251
  ### Features
311
252
 
312
- - **theme:** restructured fonts and applied to home and category page
313
- ([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
253
+ - **theme:** restructured fonts and applied to home and category page ([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
314
254
 
315
255
  ## [2.101.6](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.101.5...@graphcommerce/magento-cart-items@2.101.6) (2021-08-04)
316
256
 
317
257
  ### Bug Fixes
318
258
 
319
- - cart item image sizes
320
- ([e7c860c](https://github.com/ho-nl/m2-pwa/commit/e7c860c785e172b9275e1a00c8b51509d6b297a8))
259
+ - cart item image sizes ([e7c860c](https://github.com/ho-nl/m2-pwa/commit/e7c860c785e172b9275e1a00c8b51509d6b297a8))
321
260
 
322
261
  # [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.100.19...@graphcommerce/magento-cart-items@2.101.0) (2021-07-26)
323
262
 
324
263
  ### Features
325
264
 
326
- - **playwright:** added new playwright package to enable browser testing
327
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
265
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
328
266
 
329
267
  ## [2.100.11](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.100.10...@graphcommerce/magento-cart-items@2.100.11) (2021-07-20)
330
268
 
331
269
  ### Bug Fixes
332
270
 
333
- - ignore md files from triggering version updates
334
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
271
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
@@ -7,8 +7,8 @@ import { Badge, Box, Link, SxProps, Theme } from '@mui/material'
7
7
  import PageLink from 'next/link'
8
8
  import { PropsWithChildren } from 'react'
9
9
  import { CartItemFragment } from '../Api/CartItem.gql'
10
- import RemoveItemFromCartFab from '../RemoveItemFromCart/RemoveItemFromCartFab'
11
- import UpdateItemQuantity from '../UpdateItemQuantity/UpdateItemQuantity'
10
+ import { RemoveItemFromCartFab } from '../RemoveItemFromCart/RemoveItemFromCartFab'
11
+ import { UpdateItemQuantity } from '../UpdateItemQuantity/UpdateItemQuantity'
12
12
 
13
13
  const rowImageSize = responsiveVal(70, 125)
14
14
 
@@ -34,7 +34,7 @@ const { withState } = extendableComponent<OwnerState, typeof compName, typeof pa
34
34
  parts,
35
35
  )
36
36
 
37
- export default function CartItem(props: CartItemProps) {
37
+ export function CartItem(props: CartItemProps) {
38
38
  const { product, uid, prices, quantity, children, withOptions = true, sx = [] } = props
39
39
  const { name } = product
40
40
  const productLink = useProductLink(product)
@@ -122,7 +122,7 @@ export default function CartItem(props: CartItemProps) {
122
122
  alignSelf: 'center',
123
123
  })}
124
124
  >
125
- <PageLink href={productLink}>
125
+ <PageLink href={productLink} passHref>
126
126
  <Box
127
127
  component='a'
128
128
  className={classes.productLink}
@@ -151,7 +151,7 @@ export default function CartItem(props: CartItemProps) {
151
151
  </PageLink>
152
152
  </Badge>
153
153
 
154
- <PageLink href={productLink}>
154
+ <PageLink href={productLink} passHref>
155
155
  <Link
156
156
  variant='body1'
157
157
  className={classes.itemName}
@@ -10,7 +10,7 @@ const compName = 'CartItem' as const
10
10
  const parts = ['root', 'label', 'select'] as const
11
11
  const { classes } = extendableComponent(compName, parts)
12
12
 
13
- export default function CartItemOptionDropdown(props: CartItemOptionDropdownProps) {
13
+ export function CartItemOptionDropdown(props: CartItemOptionDropdownProps) {
14
14
  const { onChange, label, sx = [] } = props
15
15
 
16
16
  return (
@@ -9,7 +9,7 @@ export type CartItemRenderer = TypeRenderer<NonNullable<NonNullable<CartItemsFra
9
9
 
10
10
  export type CartProps = { renderer: CartItemRenderer }
11
11
 
12
- export default function CartItems(props: CartProps) {
12
+ export function CartItems(props: CartProps) {
13
13
  const { data } = useCartQuery(CartItemsQueryDocument)
14
14
  const { renderer } = props
15
15
 
@@ -8,7 +8,7 @@ const name = 'DeliveryLabel' as const
8
8
  const parts = ['root', 'labelContainer', 'label', 'popover'] as const
9
9
  const { classes } = extendableComponent(name, parts)
10
10
 
11
- export default function DeliveryLabel(props: DeliveryLabelProps) {
11
+ export function DeliveryLabel(props: DeliveryLabelProps) {
12
12
  const { sx = [] } = props
13
13
  const [anchorEl, setAnchorEl] = React.useState<HTMLButtonElement | null>(null)
14
14
 
@@ -12,7 +12,7 @@ export type RemoveItemFromCartProps = Omit<RemoveItemFromCartMutationVariables,
12
12
 
13
13
  const Form = styled('form')({})
14
14
 
15
- export default function RemoveItemFromCartFab(props: RemoveItemFromCartProps) {
15
+ export function RemoveItemFromCartFab(props: RemoveItemFromCartProps) {
16
16
  const { uid, ...formProps } = props
17
17
  const form = useFormGqlMutationCart(RemoveItemFromCartDocument, { defaultValues: { uid } })
18
18
  const { handleSubmit, formState, error } = form
@@ -9,7 +9,7 @@ import {
9
9
 
10
10
  export type UpdateItemQuantityProps = Omit<UpdateItemQuantityMutationVariables, 'cartId'>
11
11
 
12
- export default function UpdateItemQuantity(props: UpdateItemQuantityProps) {
12
+ export function UpdateItemQuantity(props: UpdateItemQuantityProps) {
13
13
  const { uid, quantity } = props
14
14
  const form = useFormGqlMutationCart(UpdateItemQuantityDocument, {
15
15
  defaultValues: { uid, quantity },
package/index.ts CHANGED
@@ -2,19 +2,8 @@ export * from './Api/CartItem.gql'
2
2
  export * from './Api/CartItems.gql'
3
3
 
4
4
  export * from './CartItem/CartItem'
5
- export { default as CartItem } from './CartItem/CartItem'
6
-
7
5
  export * from './CartItem/CartItemOptionDropdown'
8
- export { default as CartItemOptionDropdown } from './CartItem/CartItemOptionDropdown'
9
-
10
6
  export * from './CartItems/CartItems'
11
- export { default as CartItems } from './CartItems/CartItems'
12
-
13
7
  export * from './DeliveryLabel/DeliveryLabel'
14
- export { default as DeliveryLabel } from './DeliveryLabel/DeliveryLabel'
15
-
16
8
  export * from './RemoveItemFromCart/RemoveItemFromCartFab'
17
- export { default as RemoveItemFromCartFab } from './RemoveItemFromCart/RemoveItemFromCartFab'
18
-
19
9
  export * from './UpdateItemQuantity/UpdateItemQuantity'
20
- export { default as UpdateItemQuantity } from './UpdateItemQuantity/UpdateItemQuantity'
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-items",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.0.4",
5
+ "version": "3.0.5",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,20 +12,20 @@
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.0.5",
16
+ "@graphcommerce/prettier-config-pwa": "^4.0.3",
17
17
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
- "@playwright/test": "^1.19.1"
18
+ "@playwright/test": "^1.19.2"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "^3.0.3",
22
- "@graphcommerce/image": "^3.1.0",
23
- "@graphcommerce/magento-cart": "^4.1.3",
24
- "@graphcommerce/magento-customer": "^4.1.3",
25
- "@graphcommerce/magento-product": "^4.0.5",
26
- "@graphcommerce/magento-store": "^4.0.3",
27
- "@graphcommerce/next-ui": "^4.2.0",
28
- "@graphcommerce/react-hook-form": "^3.0.3"
21
+ "@graphcommerce/graphql": "^3.0.4",
22
+ "@graphcommerce/image": "^3.1.1",
23
+ "@graphcommerce/magento-cart": "^4.1.4",
24
+ "@graphcommerce/magento-customer": "^4.1.4",
25
+ "@graphcommerce/magento-product": "^4.0.6",
26
+ "@graphcommerce/magento-store": "^4.1.2",
27
+ "@graphcommerce/next-ui": "^4.2.4",
28
+ "@graphcommerce/react-hook-form": "^3.0.4"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@lingui/macro": "^3.13.2",