@graphcommerce/magento-cart-items 3.0.4 → 3.0.7

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