@graphcommerce/magento-cart-items 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.
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/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
+
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/magento-customer@4.1.3
30
+ - @graphcommerce/magento-product@4.0.5
31
+ - @graphcommerce/next-ui@4.2.0
32
+
33
+ ## 3.0.3
34
+
35
+ ### Patch Changes
36
+
37
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
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/graphql@3.0.3
41
+ - @graphcommerce/image@3.1.0
42
+ - @graphcommerce/magento-cart@4.1.2
43
+ - @graphcommerce/magento-customer@4.1.2
44
+ - @graphcommerce/magento-product@4.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/magento-customer@4.1.1
33
62
  - @graphcommerce/next-ui@4.1.1
@@ -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/graphql@3.0.1
50
76
  - @graphcommerce/image@3.0.1
51
77
  - @graphcommerce/magento-cart@4.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/graphql@3.0.0
71
94
  - @graphcommerce/image@3.0.0
72
95
  - @graphcommerce/magento-cart@4.0.0
@@ -76,99 +99,83 @@
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.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)
83
105
 
84
106
  ### Bug Fixes
85
107
 
86
- - remove prop required in cart
87
- ([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))
88
109
 
89
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)
90
111
 
91
112
  ### Bug Fixes
92
113
 
93
- - even more translations
94
- ([1a1f988](https://github.com/ho-nl/m2-pwa/commit/1a1f98837c704b978f6b42b619d9c52f540b2d48))
114
+ - even more translations ([1a1f988](https://github.com/ho-nl/m2-pwa/commit/1a1f98837c704b978f6b42b619d9c52f540b2d48))
95
115
 
96
116
  ### Features
97
117
 
98
- - added tons of translations
99
- ([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))
100
119
 
101
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)
102
121
 
103
122
  ### Features
104
123
 
105
- - remove svg stroke definitions, set all to currentColor
106
- ([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))
107
125
 
108
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)
109
127
 
110
128
  ### Bug Fixes
111
129
 
112
- - remove delivery label
113
- ([c799405](https://github.com/ho-nl/m2-pwa/commit/c799405e18f7fc2654df67b0c401dfcdef41fd6c))
130
+ - remove delivery label ([c799405](https://github.com/ho-nl/m2-pwa/commit/c799405e18f7fc2654df67b0c401dfcdef41fd6c))
114
131
 
115
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)
116
133
 
117
134
  ### Bug Fixes
118
135
 
119
- - font sizes
120
- ([1cf7d45](https://github.com/ho-nl/m2-pwa/commit/1cf7d451c3f8bdd064fdf351dffafced97387aff))
136
+ - font sizes ([1cf7d45](https://github.com/ho-nl/m2-pwa/commit/1cf7d451c3f8bdd064fdf351dffafced97387aff))
121
137
 
122
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)
123
139
 
124
140
  ### Bug Fixes
125
141
 
126
- - mobile cart
127
- ([fcafe5d](https://github.com/ho-nl/m2-pwa/commit/fcafe5d446f14fca6579d9005dd57389040c4cd3))
128
- - remove hardcoded fontSize
129
- ([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))
130
144
 
131
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)
132
146
 
133
147
  ### Bug Fixes
134
148
 
135
- - darkTheme
136
- ([d0517af](https://github.com/ho-nl/m2-pwa/commit/d0517af5a788532c48f567ee3e840986efa26a67))
149
+ - darkTheme ([d0517af](https://github.com/ho-nl/m2-pwa/commit/d0517af5a788532c48f567ee3e840986efa26a67))
137
150
 
138
151
  ### Features
139
152
 
140
- - darkTheme
141
- ([968f4f1](https://github.com/ho-nl/m2-pwa/commit/968f4f1360417bf7daa36454c19e6bc5cf53ae90))
142
- - darkTheme
143
- ([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))
144
155
 
145
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)
146
157
 
147
158
  ### Bug Fixes
148
159
 
149
- - External SVG's can't have alt tags
150
- ([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))
151
161
 
152
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)
153
163
 
154
164
  ### Features
155
165
 
156
- - dynamic icons, update SvgImage uses to SvgImageSimple
157
- ([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))
158
167
 
159
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)
160
169
 
161
170
  ### Features
162
171
 
163
- - **nextjs:** upgraded to nextjs 12
164
- ([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))
165
173
 
166
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)
167
175
 
168
176
  ### Features
169
177
 
170
- - **message-snackbar:** severity props
171
- ([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))
172
179
 
173
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)
174
181
 
@@ -178,118 +185,87 @@ All notable changes to this project will be documented in this file. See
178
185
 
179
186
  ### Bug Fixes
180
187
 
181
- - app shell consistency wip
182
- ([be995ca](https://github.com/ho-nl/m2-pwa/commit/be995ca5c3e383b89fea3759186d53af4790e99b))
183
- - cart item image sizes
184
- ([e7c860c](https://github.com/ho-nl/m2-pwa/commit/e7c860c785e172b9275e1a00c8b51509d6b297a8))
185
- - **cart:** be able to remove items from cart
186
- ([9c7f939](https://github.com/ho-nl/m2-pwa/commit/9c7f9397e9904e08014e7509d3ca63df8c062032))
187
- - **cart:** display prices with taxes for specific store views
188
- ([fd25541](https://github.com/ho-nl/m2-pwa/commit/fd25541646c41111f5ea53822d244591cb08b199))
189
- - **cart:** mobile styles
190
- ([aa601af](https://github.com/ho-nl/m2-pwa/commit/aa601af28ca7190ad90c33cc180fe63a28682519))
191
- - display prices excl and incl tax
192
- ([0d41135](https://github.com/ho-nl/m2-pwa/commit/0d411350e4621928411c2800be6ea02c6125049a))
193
- - ignore md files from triggering version updates
194
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
195
- - **image:** fix build
196
- ([b730cb6](https://github.com/ho-nl/m2-pwa/commit/b730cb6ae4e50dcf2f60e2046d6acf3047caacb3))
197
- - implement next-ui barrel imports
198
- ([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))
199
197
 
200
198
  ### Features
201
199
 
202
- - **cart:** when a cart is not active anymore show a clear cart button
203
- ([5d04a14](https://github.com/ho-nl/m2-pwa/commit/5d04a14726c040b20b34c0b88f923aee1dff22e5))
204
- - **graphql:** introduced new graphql package that holds all generated files
205
- ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
206
- - **image:** introduced completely rewritten Image component
207
- ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
208
- - next.js 11
209
- ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
210
- - **playwright:** added new playwright package to enable browser testing
211
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
212
- - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
213
- [@reachdigital](https://github.com/reachdigital)
214
- ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
215
- - **theme:** restructured fonts and applied to home and category page
216
- ([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
217
- - upgraded to nextjs 11
218
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
219
- - useFormMutationCart and simpler imports
220
- ([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))
221
209
 
222
210
  ### Reverts
223
211
 
224
- - Revert "chore: upgrade @apollo/client"
225
- ([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))
226
213
 
227
214
  # Change Log
228
215
 
229
- All notable changes to this project will be documented in this file. See
230
- [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.
231
217
 
232
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)
233
219
 
234
220
  ### Bug Fixes
235
221
 
236
- - app shell consistency wip
237
- ([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))
238
223
 
239
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)
240
225
 
241
226
  ### Bug Fixes
242
227
 
243
- - **cart:** mobile styles
244
- ([aa601af](https://github.com/ho-nl/m2-pwa/commit/aa601af28ca7190ad90c33cc180fe63a28682519))
228
+ - **cart:** mobile styles ([aa601af](https://github.com/ho-nl/m2-pwa/commit/aa601af28ca7190ad90c33cc180fe63a28682519))
245
229
 
246
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)
247
231
 
248
232
  ### Bug Fixes
249
233
 
250
- - **cart:** display prices with taxes for specific store views
251
- ([fd25541](https://github.com/ho-nl/m2-pwa/commit/fd25541646c41111f5ea53822d244591cb08b199))
252
- - display prices excl and incl tax
253
- ([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))
254
236
 
255
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)
256
238
 
257
239
  ### Features
258
240
 
259
- - upgraded to nextjs 11
260
- ([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))
261
242
 
262
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)
263
244
 
264
245
  ### Reverts
265
246
 
266
- - Revert "chore: upgrade @apollo/client"
267
- ([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))
268
248
 
269
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)
270
250
 
271
251
  ### Features
272
252
 
273
- - **theme:** restructured fonts and applied to home and category page
274
- ([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))
275
254
 
276
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)
277
256
 
278
257
  ### Bug Fixes
279
258
 
280
- - cart item image sizes
281
- ([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))
282
260
 
283
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)
284
262
 
285
263
  ### Features
286
264
 
287
- - **playwright:** added new playwright package to enable browser testing
288
- ([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))
289
266
 
290
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)
291
268
 
292
269
  ### Bug Fixes
293
270
 
294
- - ignore md files from triggering version updates
295
- ([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
 
@@ -1,5 +1,5 @@
1
1
  import { ApolloCartErrorSnackbar, useFormGqlMutationCart } from '@graphcommerce/magento-cart'
2
- import { iconClose, SvgIcon } from '@graphcommerce/next-ui'
2
+ import { iconClose, IconSvg } from '@graphcommerce/next-ui'
3
3
  import { t } from '@lingui/macro'
4
4
  import { Fab, SxProps, Theme, styled } from '@mui/material'
5
5
  import {
@@ -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
@@ -26,7 +26,7 @@ export default function RemoveItemFromCartFab(props: RemoveItemFromCartProps) {
26
26
  type='submit'
27
27
  disabled={formState.isSubmitting}
28
28
  >
29
- <SvgIcon src={iconClose} />
29
+ <IconSvg src={iconClose} />
30
30
  </Fab>
31
31
  <ApolloCartErrorSnackbar error={error} />
32
32
  </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.2",
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.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/graphql": "^3.0.2",
22
- "@graphcommerce/image": "^3.0.2",
23
- "@graphcommerce/magento-cart": "^4.1.1",
24
- "@graphcommerce/magento-customer": "^4.1.1",
25
- "@graphcommerce/magento-product": "^4.0.2",
26
- "@graphcommerce/magento-store": "^4.0.2",
27
- "@graphcommerce/next-ui": "^4.1.1",
28
- "@graphcommerce/react-hook-form": "^3.0.2"
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",