@graphcommerce/magento-product-bundle 4.0.3 → 4.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CartItem, CartItemProps } from '@graphcommerce/magento-cart-items'
|
|
2
2
|
import { BundleCartItemFragment } from './BundleCartItem.gql'
|
|
3
3
|
|
|
4
|
-
export
|
|
4
|
+
export function BundleCartItem(props: BundleCartItemFragment & CartItemProps) {
|
|
5
5
|
const { bundle_options, ...cartItemProps } = props
|
|
6
6
|
return (
|
|
7
7
|
<CartItem {...cartItemProps} withOptions>
|
|
@@ -2,13 +2,13 @@ import { BundleItemsFragment } from './BundleItems.gql'
|
|
|
2
2
|
|
|
3
3
|
type BundleItemsFormProps = BundleItemsFragment
|
|
4
4
|
|
|
5
|
-
export
|
|
5
|
+
export function BundleItemsForm(props: BundleItemsFormProps) {
|
|
6
6
|
const { items } = props
|
|
7
7
|
return (
|
|
8
8
|
<>
|
|
9
9
|
{items?.map((item) => {
|
|
10
10
|
if (!item?.type) return null
|
|
11
|
-
const type = item.type as 'radio' | 'checkbox'
|
|
11
|
+
// const type = item.type as 'radio' | 'checkbox'
|
|
12
12
|
|
|
13
13
|
return (
|
|
14
14
|
<div key={item?.uid ?? ''}>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,56 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.0.6
|
|
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)]:
|
|
10
|
+
- @graphcommerce/graphql@3.0.7
|
|
11
|
+
- @graphcommerce/magento-cart@4.2.3
|
|
12
|
+
- @graphcommerce/magento-cart-items@3.0.7
|
|
13
|
+
- @graphcommerce/magento-product@4.1.4
|
|
14
|
+
- @graphcommerce/magento-product-simple@4.0.6
|
|
15
|
+
- @graphcommerce/magento-product-virtual@4.0.6
|
|
16
|
+
|
|
17
|
+
## 4.0.5
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#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
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`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)]:
|
|
24
|
+
- @graphcommerce/graphql@3.0.6
|
|
25
|
+
- @graphcommerce/magento-cart@4.2.2
|
|
26
|
+
- @graphcommerce/magento-cart-items@3.0.6
|
|
27
|
+
- @graphcommerce/magento-product@4.1.3
|
|
28
|
+
- @graphcommerce/magento-product-simple@4.0.5
|
|
29
|
+
- @graphcommerce/magento-product-virtual@4.0.5
|
|
30
|
+
|
|
31
|
+
## 4.0.4
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- [#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.
|
|
36
|
+
|
|
37
|
+
* [#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
|
|
38
|
+
|
|
39
|
+
* Updated dependencies [[`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655), [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef)]:
|
|
40
|
+
- @graphcommerce/graphql@3.0.4
|
|
41
|
+
- @graphcommerce/magento-cart@4.1.4
|
|
42
|
+
- @graphcommerce/magento-cart-items@3.0.5
|
|
43
|
+
- @graphcommerce/magento-product@4.0.6
|
|
44
|
+
- @graphcommerce/magento-product-simple@4.0.4
|
|
45
|
+
- @graphcommerce/magento-product-virtual@4.0.4
|
|
46
|
+
|
|
3
47
|
## 4.0.3
|
|
4
48
|
|
|
5
49
|
### Patch Changes
|
|
6
50
|
|
|
7
|
-
- [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
|
|
8
|
-
Thanks [@paales](https://github.com/paales)! - made packages public
|
|
51
|
+
- [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
|
|
9
52
|
|
|
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)]:
|
|
53
|
+
- Updated dependencies [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96), [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20)]:
|
|
13
54
|
- @graphcommerce/graphql@3.0.3
|
|
14
55
|
- @graphcommerce/magento-cart@4.1.2
|
|
15
56
|
- @graphcommerce/magento-cart-items@3.0.3
|
|
@@ -21,29 +62,13 @@
|
|
|
21
62
|
|
|
22
63
|
### Patch Changes
|
|
23
64
|
|
|
24
|
-
- [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
* [
|
|
31
|
-
[`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
|
|
32
|
-
Thanks [@paales](https://github.com/paales)! - Upgraded to
|
|
33
|
-
[NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
|
|
34
|
-
implementing
|
|
35
|
-
[On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
|
|
36
|
-
soon.
|
|
37
|
-
|
|
38
|
-
This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
|
|
39
|
-
frontend to be able to revalidate pages manually.
|
|
40
|
-
|
|
41
|
-
* Updated dependencies
|
|
42
|
-
[[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
|
|
43
|
-
[`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
|
|
44
|
-
[`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
|
|
45
|
-
[`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d),
|
|
46
|
-
[`5a4809b1a`](https://github.com/ho-nl/m2-pwa/commit/5a4809b1a705aa32f620f520085df48ee25f9949)]:
|
|
65
|
+
- [#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.
|
|
66
|
+
|
|
67
|
+
* [#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.
|
|
68
|
+
|
|
69
|
+
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.
|
|
70
|
+
|
|
71
|
+
* Updated dependencies [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7), [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2), [`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)]:
|
|
47
72
|
- @graphcommerce/magento-cart@4.1.1
|
|
48
73
|
- @graphcommerce/graphql@3.0.2
|
|
49
74
|
- @graphcommerce/magento-cart-items@3.0.2
|
|
@@ -55,11 +80,8 @@
|
|
|
55
80
|
|
|
56
81
|
### Patch Changes
|
|
57
82
|
|
|
58
|
-
- [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
|
|
59
|
-
|
|
60
|
-
so that the packages link to back to the website and repository
|
|
61
|
-
- Updated dependencies
|
|
62
|
-
[[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
|
|
83
|
+
- [`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
|
|
84
|
+
- Updated dependencies [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
|
|
63
85
|
- @graphcommerce/graphql@3.0.1
|
|
64
86
|
- @graphcommerce/magento-cart@4.0.1
|
|
65
87
|
- @graphcommerce/magento-cart-items@3.0.1
|
|
@@ -71,14 +93,11 @@
|
|
|
71
93
|
|
|
72
94
|
### Major Changes
|
|
73
95
|
|
|
74
|
-
- [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
|
|
75
|
-
[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
|
|
76
|
-
Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
|
|
96
|
+
- [#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
|
|
77
97
|
|
|
78
98
|
### Patch Changes
|
|
79
99
|
|
|
80
|
-
- Updated dependencies
|
|
81
|
-
[[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
|
|
100
|
+
- Updated dependencies [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
|
|
82
101
|
- @graphcommerce/graphql@3.0.0
|
|
83
102
|
- @graphcommerce/magento-cart@4.0.0
|
|
84
103
|
- @graphcommerce/magento-cart-items@3.0.0
|
|
@@ -86,22 +105,19 @@
|
|
|
86
105
|
- @graphcommerce/magento-product-simple@4.0.0
|
|
87
106
|
- @graphcommerce/magento-product-virtual@4.0.0
|
|
88
107
|
|
|
89
|
-
All notable changes to this project will be documented in this file. See
|
|
90
|
-
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
108
|
+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
91
109
|
|
|
92
110
|
# [3.2.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product-bundle@3.1.31...@graphcommerce/magento-product-bundle@3.2.0) (2021-11-12)
|
|
93
111
|
|
|
94
112
|
### Features
|
|
95
113
|
|
|
96
|
-
- added tons of translations
|
|
97
|
-
([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
|
|
114
|
+
- added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
|
|
98
115
|
|
|
99
116
|
# [3.1.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product-bundle@3.0.37...@graphcommerce/magento-product-bundle@3.1.0) (2021-10-27)
|
|
100
117
|
|
|
101
118
|
### Features
|
|
102
119
|
|
|
103
|
-
- **nextjs:** upgraded to nextjs 12
|
|
104
|
-
([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
|
|
120
|
+
- **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
|
|
105
121
|
|
|
106
122
|
## [3.0.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product-bundle@3.0.0...@graphcommerce/magento-product-bundle@3.0.1) (2021-09-27)
|
|
107
123
|
|
|
@@ -111,62 +127,39 @@ All notable changes to this project will be documented in this file. See
|
|
|
111
127
|
|
|
112
128
|
### Bug Fixes
|
|
113
129
|
|
|
114
|
-
- address fragments
|
|
115
|
-
|
|
116
|
-
-
|
|
117
|
-
|
|
118
|
-
-
|
|
119
|
-
|
|
120
|
-
-
|
|
121
|
-
([098798a](https://github.com/ho-nl/m2-pwa/commit/098798aec353a8a571928faae02a303fed395977))
|
|
122
|
-
- remove conflicting files
|
|
123
|
-
([0c17ae4](https://github.com/ho-nl/m2-pwa/commit/0c17ae46be62b775ac83b35f11c532ce2d9401a3))
|
|
124
|
-
- update magento-product imports
|
|
125
|
-
([63621b4](https://github.com/ho-nl/m2-pwa/commit/63621b44be7149014f4a5af8ac87ad1c4b0327be))
|
|
126
|
-
- yarn workspace packages hot reload
|
|
127
|
-
([d03fc9f](https://github.com/ho-nl/m2-pwa/commit/d03fc9fdda3486476761786f2b56a934cc92befc))
|
|
130
|
+
- address fragments ([96e68c3](https://github.com/ho-nl/m2-pwa/commit/96e68c3f96e40dded50ec5859909a7326b47e37b))
|
|
131
|
+
- ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
132
|
+
- make sure an empty cart gets initialized properly ([12df845](https://github.com/ho-nl/m2-pwa/commit/12df8456117393cc7c387ba6e072190a831b7a58))
|
|
133
|
+
- product specs on product pages ([098798a](https://github.com/ho-nl/m2-pwa/commit/098798aec353a8a571928faae02a303fed395977))
|
|
134
|
+
- remove conflicting files ([0c17ae4](https://github.com/ho-nl/m2-pwa/commit/0c17ae46be62b775ac83b35f11c532ce2d9401a3))
|
|
135
|
+
- update magento-product imports ([63621b4](https://github.com/ho-nl/m2-pwa/commit/63621b44be7149014f4a5af8ac87ad1c4b0327be))
|
|
136
|
+
- yarn workspace packages hot reload ([d03fc9f](https://github.com/ho-nl/m2-pwa/commit/d03fc9fdda3486476761786f2b56a934cc92befc))
|
|
128
137
|
|
|
129
138
|
### Features
|
|
130
139
|
|
|
131
|
-
- added PaymentModule API and persistent selection of form fields
|
|
132
|
-
|
|
133
|
-
-
|
|
134
|
-
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
- **graphql:**
|
|
138
|
-
|
|
139
|
-
-
|
|
140
|
-
|
|
141
|
-
-
|
|
142
|
-
|
|
143
|
-
- **magento-graphql:** added core magentoTypePolicies
|
|
144
|
-
([bdf15d0](https://github.com/ho-nl/m2-pwa/commit/bdf15d0d3c04e88339a8385d76f3b1ab9589fde3))
|
|
145
|
-
- next.js 11
|
|
146
|
-
([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
|
|
147
|
-
- **playwright:** added new playwright package to enable browser testing
|
|
148
|
-
([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
149
|
-
- renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
|
|
150
|
-
[@reachdigital](https://github.com/reachdigital)
|
|
151
|
-
([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
|
|
152
|
-
- upgrade to node 14
|
|
153
|
-
([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
|
|
154
|
-
- upgraded to nextjs 11
|
|
155
|
-
([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
140
|
+
- added PaymentModule API and persistent selection of form fields ([b67f735](https://github.com/ho-nl/m2-pwa/commit/b67f7358f62edd56a8232d625ecee56af350bfb8))
|
|
141
|
+
- barrel files for magento-product pages ([c8fdcf2](https://github.com/ho-nl/m2-pwa/commit/c8fdcf2f5b98821dffe2c47f5ea4e1847bd3bb1e))
|
|
142
|
+
- created stacked-pages package ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
|
|
143
|
+
- **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
|
|
144
|
+
- groundwork for complete reimplementation of product pages ([b224da8](https://github.com/ho-nl/m2-pwa/commit/b224da8273eb5c8173ad30d006391b2291331623))
|
|
145
|
+
- introduced magento-product-types package ([1a0932b](https://github.com/ho-nl/m2-pwa/commit/1a0932b5d882608dcf8fd2e3b17ee9868f5f5776))
|
|
146
|
+
- **magento-graphql:** added core magentoTypePolicies ([bdf15d0](https://github.com/ho-nl/m2-pwa/commit/bdf15d0d3c04e88339a8385d76f3b1ab9589fde3))
|
|
147
|
+
- next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
|
|
148
|
+
- **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
149
|
+
- 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))
|
|
150
|
+
- upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
|
|
151
|
+
- upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
156
152
|
|
|
157
153
|
## 2.0.8 (2020-10-28)
|
|
158
154
|
|
|
159
155
|
### Bug Fixes
|
|
160
156
|
|
|
161
|
-
- make sure themes extensions are found
|
|
162
|
-
([5aa18db](https://github.com/ho-nl/m2-pwa/commit/5aa18db514fd2e2f50681367e39523f8e742ece0))
|
|
157
|
+
- make sure themes extensions are found ([5aa18db](https://github.com/ho-nl/m2-pwa/commit/5aa18db514fd2e2f50681367e39523f8e742ece0))
|
|
163
158
|
|
|
164
159
|
### Features
|
|
165
160
|
|
|
166
|
-
- added generated graphql.ts files
|
|
167
|
-
|
|
168
|
-
- split into packages
|
|
169
|
-
([2ee7fd6](https://github.com/ho-nl/m2-pwa/commit/2ee7fd6c0056f467d114f04d92c6c0ddf622d151))
|
|
161
|
+
- added generated graphql.ts files ([3e44415](https://github.com/ho-nl/m2-pwa/commit/3e44415b018e74b502e9e98479aa5e84041f337d))
|
|
162
|
+
- split into packages ([2ee7fd6](https://github.com/ho-nl/m2-pwa/commit/2ee7fd6c0056f467d114f04d92c6c0ddf622d151))
|
|
170
163
|
|
|
171
164
|
### BREAKING CHANGES
|
|
172
165
|
|
|
@@ -174,26 +167,22 @@ All notable changes to this project will be documented in this file. See
|
|
|
174
167
|
|
|
175
168
|
# Change Log
|
|
176
169
|
|
|
177
|
-
All notable changes to this project will be documented in this file. See
|
|
178
|
-
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
170
|
+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
179
171
|
|
|
180
172
|
# [2.102.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product-bundle@2.101.10...@graphcommerce/magento-product-bundle@2.102.0) (2021-08-12)
|
|
181
173
|
|
|
182
174
|
### Features
|
|
183
175
|
|
|
184
|
-
- upgraded to nextjs 11
|
|
185
|
-
([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
176
|
+
- upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
186
177
|
|
|
187
178
|
# [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product-bundle@2.100.19...@graphcommerce/magento-product-bundle@2.101.0) (2021-07-26)
|
|
188
179
|
|
|
189
180
|
### Features
|
|
190
181
|
|
|
191
|
-
- **playwright:** added new playwright package to enable browser testing
|
|
192
|
-
([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
182
|
+
- **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
193
183
|
|
|
194
184
|
## [2.100.11](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product-bundle@2.100.10...@graphcommerce/magento-product-bundle@2.100.11) (2021-07-20)
|
|
195
185
|
|
|
196
186
|
### Bug Fixes
|
|
197
187
|
|
|
198
|
-
- ignore md files from triggering version updates
|
|
199
|
-
([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
188
|
+
- ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ProductListItem, ProductListItemProps } from '@graphcommerce/magento-product'
|
|
2
|
-
import React from 'react'
|
|
3
2
|
import { ProductListItemBundleFragment } from './ProductListItemBundle.gql'
|
|
4
3
|
|
|
5
4
|
export type ProdustListItemBundleProps = ProductListItemBundleFragment & ProductListItemProps
|
|
6
5
|
|
|
7
|
-
export
|
|
6
|
+
export function ProductListItemBundle(props: ProdustListItemBundleProps) {
|
|
8
7
|
const { children } = props
|
|
9
8
|
|
|
10
9
|
return <ProductListItem {...props}>{children}</ProductListItem>
|
package/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from './ProductListItemBundle'
|
|
2
|
+
export * from './BundleItemsForm/BundleItemsForm'
|
|
3
|
+
export * from './BundleCartItem/BundleCartItem'
|
|
3
4
|
export * from './BundleProductPage.gql'
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-product-bundle",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "4.0.
|
|
5
|
+
"version": "4.0.6",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,22 +12,22 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^4.
|
|
16
|
-
"@graphcommerce/prettier-config-pwa": "^4.0.
|
|
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.
|
|
18
|
+
"@playwright/test": "^1.20.1"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@graphcommerce/graphql": "
|
|
22
|
-
"@graphcommerce/magento-cart": "
|
|
23
|
-
"@graphcommerce/magento-cart-items": "
|
|
24
|
-
"@graphcommerce/magento-product": "
|
|
25
|
-
"@graphcommerce/magento-product-simple": "
|
|
26
|
-
"@graphcommerce/magento-product-virtual": "
|
|
21
|
+
"@graphcommerce/graphql": "3.0.7",
|
|
22
|
+
"@graphcommerce/magento-cart": "4.2.3",
|
|
23
|
+
"@graphcommerce/magento-cart-items": "3.0.7",
|
|
24
|
+
"@graphcommerce/magento-product": "4.1.4",
|
|
25
|
+
"@graphcommerce/magento-product-simple": "4.0.6",
|
|
26
|
+
"@graphcommerce/magento-product-virtual": "4.0.6"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@lingui/macro": "^3.13.2",
|
|
30
|
-
"next": "
|
|
30
|
+
"next": "12.1.2",
|
|
31
31
|
"react": "^17.0.2",
|
|
32
32
|
"react-dom": "^17.0.2"
|
|
33
33
|
}
|