@graphcommerce/magento-cart-items 3.0.3 → 3.0.6

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,17 +1,58 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ - 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), [`6213f0b0f`](https://github.com/graphcommerce-org/graphcommerce/commit/6213f0b0f5f53d622b993d9f7ea96cbbeb5bd670), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a)]:
10
+ - @graphcommerce/graphql@3.0.6
11
+ - @graphcommerce/next-ui@4.5.0
12
+ - @graphcommerce/image@3.1.2
13
+ - @graphcommerce/magento-cart@4.2.2
14
+ - @graphcommerce/magento-customer@4.2.0
15
+ - @graphcommerce/magento-product@4.1.3
16
+ - @graphcommerce/magento-store@4.1.4
17
+ - @graphcommerce/react-hook-form@3.0.6
18
+
19
+ ## 3.0.5
20
+
21
+ ### Patch Changes
22
+
23
+ - [#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.
24
+
25
+ * [#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
26
+
27
+ * 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)]:
28
+ - @graphcommerce/next-ui@4.2.4
29
+ - @graphcommerce/graphql@3.0.4
30
+ - @graphcommerce/image@3.1.1
31
+ - @graphcommerce/magento-cart@4.1.4
32
+ - @graphcommerce/magento-customer@4.1.4
33
+ - @graphcommerce/magento-product@4.0.6
34
+ - @graphcommerce/magento-store@4.1.2
35
+ - @graphcommerce/react-hook-form@3.0.4
36
+
37
+ ## 3.0.4
38
+
39
+ ### Patch Changes
40
+
41
+ - [#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
42
+
43
+ - 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)]:
44
+ - @graphcommerce/magento-cart@4.1.3
45
+ - @graphcommerce/magento-customer@4.1.3
46
+ - @graphcommerce/magento-product@4.0.5
47
+ - @graphcommerce/next-ui@4.2.0
48
+
3
49
  ## 3.0.3
4
50
 
5
51
  ### Patch Changes
6
52
 
7
- - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
8
- Thanks [@paales](https://github.com/paales)! - made packages public
53
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
9
54
 
10
- - Updated dependencies
11
- [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96),
12
- [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20),
13
- [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d),
14
- [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
55
+ - 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)]:
15
56
  - @graphcommerce/graphql@3.0.3
16
57
  - @graphcommerce/image@3.1.0
17
58
  - @graphcommerce/magento-cart@4.1.2
@@ -25,30 +66,13 @@
25
66
 
26
67
  ### Patch Changes
27
68
 
28
- - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
29
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
30
- Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
31
- `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
32
- duplicate packages in the node_modules folders.
33
-
34
- * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
35
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
36
- Thanks [@paales](https://github.com/paales)! - Upgraded to
37
- [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
38
- implementing
39
- [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
40
- soon.
41
-
42
- This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
43
- frontend to be able to revalidate pages manually.
44
-
45
- * Updated dependencies
46
- [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
47
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
48
- [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
49
- [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
50
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d),
51
- [`5a4809b1a`](https://github.com/ho-nl/m2-pwa/commit/5a4809b1a705aa32f620f520085df48ee25f9949)]:
69
+ - [#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.
70
+
71
+ * [#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.
72
+
73
+ 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.
74
+
75
+ * 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)]:
52
76
  - @graphcommerce/magento-cart@4.1.1
53
77
  - @graphcommerce/magento-customer@4.1.1
54
78
  - @graphcommerce/next-ui@4.1.1
@@ -62,11 +86,8 @@
62
86
 
63
87
  ### Patch Changes
64
88
 
65
- - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
66
- Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
67
- so that the packages link to back to the website and repository
68
- - Updated dependencies
69
- [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
89
+ - [`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
90
+ - Updated dependencies [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
70
91
  - @graphcommerce/graphql@3.0.1
71
92
  - @graphcommerce/image@3.0.1
72
93
  - @graphcommerce/magento-cart@4.0.1
@@ -80,14 +101,11 @@
80
101
 
81
102
  ### Major Changes
82
103
 
83
- - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
84
- [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
85
- Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
104
+ - [#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
86
105
 
87
106
  ### Patch Changes
88
107
 
89
- - Updated dependencies
90
- [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
108
+ - Updated dependencies [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
91
109
  - @graphcommerce/graphql@3.0.0
92
110
  - @graphcommerce/image@3.0.0
93
111
  - @graphcommerce/magento-cart@4.0.0
@@ -97,99 +115,83 @@
97
115
  - @graphcommerce/next-ui@4.0.0
98
116
  - @graphcommerce/react-hook-form@3.0.0
99
117
 
100
- All notable changes to this project will be documented in this file. See
101
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
118
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
102
119
 
103
120
  ## [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)
104
121
 
105
122
  ### Bug Fixes
106
123
 
107
- - remove prop required in cart
108
- ([f22ba07](https://github.com/ho-nl/m2-pwa/commit/f22ba07960afa44422df1df3b80da687bbc8c5e8))
124
+ - remove prop required in cart ([f22ba07](https://github.com/ho-nl/m2-pwa/commit/f22ba07960afa44422df1df3b80da687bbc8c5e8))
109
125
 
110
126
  # [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)
111
127
 
112
128
  ### Bug Fixes
113
129
 
114
- - even more translations
115
- ([1a1f988](https://github.com/ho-nl/m2-pwa/commit/1a1f98837c704b978f6b42b619d9c52f540b2d48))
130
+ - even more translations ([1a1f988](https://github.com/ho-nl/m2-pwa/commit/1a1f98837c704b978f6b42b619d9c52f540b2d48))
116
131
 
117
132
  ### Features
118
133
 
119
- - added tons of translations
120
- ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
134
+ - added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
121
135
 
122
136
  # [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)
123
137
 
124
138
  ### Features
125
139
 
126
- - remove svg stroke definitions, set all to currentColor
127
- ([189814f](https://github.com/ho-nl/m2-pwa/commit/189814f822d111c8adc6be1fff65c9a4a4c50c65))
140
+ - remove svg stroke definitions, set all to currentColor ([189814f](https://github.com/ho-nl/m2-pwa/commit/189814f822d111c8adc6be1fff65c9a4a4c50c65))
128
141
 
129
142
  ## [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)
130
143
 
131
144
  ### Bug Fixes
132
145
 
133
- - remove delivery label
134
- ([c799405](https://github.com/ho-nl/m2-pwa/commit/c799405e18f7fc2654df67b0c401dfcdef41fd6c))
146
+ - remove delivery label ([c799405](https://github.com/ho-nl/m2-pwa/commit/c799405e18f7fc2654df67b0c401dfcdef41fd6c))
135
147
 
136
148
  ## [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)
137
149
 
138
150
  ### Bug Fixes
139
151
 
140
- - font sizes
141
- ([1cf7d45](https://github.com/ho-nl/m2-pwa/commit/1cf7d451c3f8bdd064fdf351dffafced97387aff))
152
+ - font sizes ([1cf7d45](https://github.com/ho-nl/m2-pwa/commit/1cf7d451c3f8bdd064fdf351dffafced97387aff))
142
153
 
143
154
  ## [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)
144
155
 
145
156
  ### Bug Fixes
146
157
 
147
- - mobile cart
148
- ([fcafe5d](https://github.com/ho-nl/m2-pwa/commit/fcafe5d446f14fca6579d9005dd57389040c4cd3))
149
- - remove hardcoded fontSize
150
- ([e4e09e1](https://github.com/ho-nl/m2-pwa/commit/e4e09e11baeb8edeff634550b8cdb88571d96911))
158
+ - mobile cart ([fcafe5d](https://github.com/ho-nl/m2-pwa/commit/fcafe5d446f14fca6579d9005dd57389040c4cd3))
159
+ - remove hardcoded fontSize ([e4e09e1](https://github.com/ho-nl/m2-pwa/commit/e4e09e11baeb8edeff634550b8cdb88571d96911))
151
160
 
152
161
  # [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)
153
162
 
154
163
  ### Bug Fixes
155
164
 
156
- - darkTheme
157
- ([d0517af](https://github.com/ho-nl/m2-pwa/commit/d0517af5a788532c48f567ee3e840986efa26a67))
165
+ - darkTheme ([d0517af](https://github.com/ho-nl/m2-pwa/commit/d0517af5a788532c48f567ee3e840986efa26a67))
158
166
 
159
167
  ### Features
160
168
 
161
- - darkTheme
162
- ([968f4f1](https://github.com/ho-nl/m2-pwa/commit/968f4f1360417bf7daa36454c19e6bc5cf53ae90))
163
- - darkTheme
164
- ([3ed6647](https://github.com/ho-nl/m2-pwa/commit/3ed664714670315bc9f20542549724f66cb5052d))
169
+ - darkTheme ([968f4f1](https://github.com/ho-nl/m2-pwa/commit/968f4f1360417bf7daa36454c19e6bc5cf53ae90))
170
+ - darkTheme ([3ed6647](https://github.com/ho-nl/m2-pwa/commit/3ed664714670315bc9f20542549724f66cb5052d))
165
171
 
166
172
  ## [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)
167
173
 
168
174
  ### Bug Fixes
169
175
 
170
- - External SVG's can't have alt tags
171
- ([1b1414a](https://github.com/ho-nl/m2-pwa/commit/1b1414a782d55d3acf7b0e6bcaa50f2ad5f18f39))
176
+ - External SVG's can't have alt tags ([1b1414a](https://github.com/ho-nl/m2-pwa/commit/1b1414a782d55d3acf7b0e6bcaa50f2ad5f18f39))
172
177
 
173
178
  # [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)
174
179
 
175
180
  ### Features
176
181
 
177
- - dynamic icons, update SvgImage uses to SvgImageSimple
178
- ([3d3cc0e](https://github.com/ho-nl/m2-pwa/commit/3d3cc0e0336fcde1cce6ba19705f82c1edf9bfc6))
182
+ - dynamic icons, update SvgImage uses to SvgImageSimple ([3d3cc0e](https://github.com/ho-nl/m2-pwa/commit/3d3cc0e0336fcde1cce6ba19705f82c1edf9bfc6))
179
183
 
180
184
  # [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)
181
185
 
182
186
  ### Features
183
187
 
184
- - **nextjs:** upgraded to nextjs 12
185
- ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
188
+ - **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
186
189
 
187
190
  # [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)
188
191
 
189
192
  ### Features
190
193
 
191
- - **message-snackbar:** severity props
192
- ([c7be8a5](https://github.com/ho-nl/m2-pwa/commit/c7be8a51faf7a5937b7fab5bb352df2089ae4eea))
194
+ - **message-snackbar:** severity props ([c7be8a5](https://github.com/ho-nl/m2-pwa/commit/c7be8a51faf7a5937b7fab5bb352df2089ae4eea))
193
195
 
194
196
  ## [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)
195
197
 
@@ -199,118 +201,87 @@ All notable changes to this project will be documented in this file. See
199
201
 
200
202
  ### Bug Fixes
201
203
 
202
- - app shell consistency wip
203
- ([be995ca](https://github.com/ho-nl/m2-pwa/commit/be995ca5c3e383b89fea3759186d53af4790e99b))
204
- - cart item image sizes
205
- ([e7c860c](https://github.com/ho-nl/m2-pwa/commit/e7c860c785e172b9275e1a00c8b51509d6b297a8))
206
- - **cart:** be able to remove items from cart
207
- ([9c7f939](https://github.com/ho-nl/m2-pwa/commit/9c7f9397e9904e08014e7509d3ca63df8c062032))
208
- - **cart:** display prices with taxes for specific store views
209
- ([fd25541](https://github.com/ho-nl/m2-pwa/commit/fd25541646c41111f5ea53822d244591cb08b199))
210
- - **cart:** mobile styles
211
- ([aa601af](https://github.com/ho-nl/m2-pwa/commit/aa601af28ca7190ad90c33cc180fe63a28682519))
212
- - display prices excl and incl tax
213
- ([0d41135](https://github.com/ho-nl/m2-pwa/commit/0d411350e4621928411c2800be6ea02c6125049a))
214
- - ignore md files from triggering version updates
215
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
216
- - **image:** fix build
217
- ([b730cb6](https://github.com/ho-nl/m2-pwa/commit/b730cb6ae4e50dcf2f60e2046d6acf3047caacb3))
218
- - implement next-ui barrel imports
219
- ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
204
+ - app shell consistency wip ([be995ca](https://github.com/ho-nl/m2-pwa/commit/be995ca5c3e383b89fea3759186d53af4790e99b))
205
+ - cart item image sizes ([e7c860c](https://github.com/ho-nl/m2-pwa/commit/e7c860c785e172b9275e1a00c8b51509d6b297a8))
206
+ - **cart:** be able to remove items from cart ([9c7f939](https://github.com/ho-nl/m2-pwa/commit/9c7f9397e9904e08014e7509d3ca63df8c062032))
207
+ - **cart:** display prices with taxes for specific store views ([fd25541](https://github.com/ho-nl/m2-pwa/commit/fd25541646c41111f5ea53822d244591cb08b199))
208
+ - **cart:** mobile styles ([aa601af](https://github.com/ho-nl/m2-pwa/commit/aa601af28ca7190ad90c33cc180fe63a28682519))
209
+ - display prices excl and incl tax ([0d41135](https://github.com/ho-nl/m2-pwa/commit/0d411350e4621928411c2800be6ea02c6125049a))
210
+ - ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
211
+ - **image:** fix build ([b730cb6](https://github.com/ho-nl/m2-pwa/commit/b730cb6ae4e50dcf2f60e2046d6acf3047caacb3))
212
+ - implement next-ui barrel imports ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
220
213
 
221
214
  ### Features
222
215
 
223
- - **cart:** when a cart is not active anymore show a clear cart button
224
- ([5d04a14](https://github.com/ho-nl/m2-pwa/commit/5d04a14726c040b20b34c0b88f923aee1dff22e5))
225
- - **graphql:** introduced new graphql package that holds all generated files
226
- ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
227
- - **image:** introduced completely rewritten Image component
228
- ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
229
- - next.js 11
230
- ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
231
- - **playwright:** added new playwright package to enable browser testing
232
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
233
- - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
234
- [@reachdigital](https://github.com/reachdigital)
235
- ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
236
- - **theme:** restructured fonts and applied to home and category page
237
- ([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
238
- - upgraded to nextjs 11
239
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
240
- - useFormMutationCart and simpler imports
241
- ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
216
+ - **cart:** when a cart is not active anymore show a clear cart button ([5d04a14](https://github.com/ho-nl/m2-pwa/commit/5d04a14726c040b20b34c0b88f923aee1dff22e5))
217
+ - **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
218
+ - **image:** introduced completely rewritten Image component ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
219
+ - next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
220
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
221
+ - 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))
222
+ - **theme:** restructured fonts and applied to home and category page ([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
223
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
224
+ - useFormMutationCart and simpler imports ([012f090](https://github.com/ho-nl/m2-pwa/commit/012f090e8f54d09f35d393c61ad1e2319f5a90ff))
242
225
 
243
226
  ### Reverts
244
227
 
245
- - Revert "chore: upgrade @apollo/client"
246
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
228
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
247
229
 
248
230
  # Change Log
249
231
 
250
- All notable changes to this project will be documented in this file. See
251
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
232
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
252
233
 
253
234
  ## [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)
254
235
 
255
236
  ### Bug Fixes
256
237
 
257
- - app shell consistency wip
258
- ([be995ca](https://github.com/ho-nl/m2-pwa/commit/be995ca5c3e383b89fea3759186d53af4790e99b))
238
+ - app shell consistency wip ([be995ca](https://github.com/ho-nl/m2-pwa/commit/be995ca5c3e383b89fea3759186d53af4790e99b))
259
239
 
260
240
  ## [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)
261
241
 
262
242
  ### Bug Fixes
263
243
 
264
- - **cart:** mobile styles
265
- ([aa601af](https://github.com/ho-nl/m2-pwa/commit/aa601af28ca7190ad90c33cc180fe63a28682519))
244
+ - **cart:** mobile styles ([aa601af](https://github.com/ho-nl/m2-pwa/commit/aa601af28ca7190ad90c33cc180fe63a28682519))
266
245
 
267
246
  ## [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)
268
247
 
269
248
  ### Bug Fixes
270
249
 
271
- - **cart:** display prices with taxes for specific store views
272
- ([fd25541](https://github.com/ho-nl/m2-pwa/commit/fd25541646c41111f5ea53822d244591cb08b199))
273
- - display prices excl and incl tax
274
- ([0d41135](https://github.com/ho-nl/m2-pwa/commit/0d411350e4621928411c2800be6ea02c6125049a))
250
+ - **cart:** display prices with taxes for specific store views ([fd25541](https://github.com/ho-nl/m2-pwa/commit/fd25541646c41111f5ea53822d244591cb08b199))
251
+ - display prices excl and incl tax ([0d41135](https://github.com/ho-nl/m2-pwa/commit/0d411350e4621928411c2800be6ea02c6125049a))
275
252
 
276
253
  # [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)
277
254
 
278
255
  ### Features
279
256
 
280
- - upgraded to nextjs 11
281
- ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
257
+ - upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
282
258
 
283
259
  ## [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)
284
260
 
285
261
  ### Reverts
286
262
 
287
- - Revert "chore: upgrade @apollo/client"
288
- ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
263
+ - Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
289
264
 
290
265
  # [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)
291
266
 
292
267
  ### Features
293
268
 
294
- - **theme:** restructured fonts and applied to home and category page
295
- ([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
269
+ - **theme:** restructured fonts and applied to home and category page ([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
296
270
 
297
271
  ## [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)
298
272
 
299
273
  ### Bug Fixes
300
274
 
301
- - cart item image sizes
302
- ([e7c860c](https://github.com/ho-nl/m2-pwa/commit/e7c860c785e172b9275e1a00c8b51509d6b297a8))
275
+ - cart item image sizes ([e7c860c](https://github.com/ho-nl/m2-pwa/commit/e7c860c785e172b9275e1a00c8b51509d6b297a8))
303
276
 
304
277
  # [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)
305
278
 
306
279
  ### Features
307
280
 
308
- - **playwright:** added new playwright package to enable browser testing
309
- ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
281
+ - **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
310
282
 
311
283
  ## [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)
312
284
 
313
285
  ### Bug Fixes
314
286
 
315
- - ignore md files from triggering version updates
316
- ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
287
+ - 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.3",
5
+ "version": "3.0.6",
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.1.3",
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
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "^3.0.3",
22
- "@graphcommerce/image": "^3.1.0",
23
- "@graphcommerce/magento-cart": "^4.1.2",
24
- "@graphcommerce/magento-customer": "^4.1.2",
25
- "@graphcommerce/magento-product": "^4.0.3",
26
- "@graphcommerce/magento-store": "^4.0.3",
27
- "@graphcommerce/next-ui": "^4.1.2",
28
- "@graphcommerce/react-hook-form": "^3.0.3"
21
+ "@graphcommerce/graphql": "^3.0.6",
22
+ "@graphcommerce/image": "^3.1.2",
23
+ "@graphcommerce/magento-cart": "^4.2.2",
24
+ "@graphcommerce/magento-customer": "^4.2.0",
25
+ "@graphcommerce/magento-product": "^4.1.3",
26
+ "@graphcommerce/magento-store": "^4.1.4",
27
+ "@graphcommerce/next-ui": "^4.5.0",
28
+ "@graphcommerce/react-hook-form": "^3.0.6"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@lingui/macro": "^3.13.2",