@graphcommerce/magento-review 3.0.5 → 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 +88 -165
- package/components/AccountReviews/{index.tsx → AccountReviews.tsx} +2 -2
- package/components/CreateProductReviewForm/{index.tsx → CreateProductReviewForm.tsx} +3 -4
- package/components/CustomerReview/{index.tsx → CustomerReview.tsx} +1 -1
- package/components/JsonLdProductReview/{index.ts → jsonLdProductReview.ts} +0 -0
- package/components/ProductReviewChip/{index.tsx → ProductReviewChip.tsx} +1 -1
- package/components/ProductReviewSummary/{index.tsx → ProductReviewSummary.tsx} +1 -1
- package/components/ProductReviews/{index.tsx → ProductReviews.tsx} +2 -2
- package/components/index.ts +11 -14
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,29 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655) Thanks [@paales](https://github.com/paales)! - All default exports are now named exports internally and all `index.tsx` are renamed to the component name.
|
|
8
|
+
|
|
9
|
+
* [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
|
|
10
|
+
|
|
11
|
+
* Updated dependencies [[`3d63b39f7`](https://github.com/ho-nl/m2-pwa/commit/3d63b39f7e330d1827a32dba782667d7b21adaba), [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655), [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef)]:
|
|
12
|
+
- @graphcommerce/next-ui@4.2.4
|
|
13
|
+
- @graphcommerce/graphql@3.0.4
|
|
14
|
+
- @graphcommerce/image@3.1.1
|
|
15
|
+
- @graphcommerce/magento-customer@4.1.4
|
|
16
|
+
- @graphcommerce/magento-product@4.0.6
|
|
17
|
+
- @graphcommerce/magento-store@4.1.2
|
|
18
|
+
- @graphcommerce/react-hook-form@3.0.4
|
|
19
|
+
|
|
3
20
|
## 3.0.5
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
6
23
|
|
|
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
|
|
24
|
+
- [#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
25
|
|
|
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)]:
|
|
26
|
+
- 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
27
|
- @graphcommerce/magento-customer@4.1.3
|
|
17
28
|
- @graphcommerce/magento-product@4.0.5
|
|
18
29
|
- @graphcommerce/next-ui@4.2.0
|
|
@@ -21,13 +32,9 @@
|
|
|
21
32
|
|
|
22
33
|
### Patch Changes
|
|
23
34
|
|
|
24
|
-
- [#1285](https://github.com/ho-nl/m2-pwa/pull/1285)
|
|
25
|
-
[`c85294ba6`](https://github.com/ho-nl/m2-pwa/commit/c85294ba6d742ce78c074559a1e95409b25a5017)
|
|
26
|
-
Thanks [@paales](https://github.com/paales)! - upgraded dependencies
|
|
35
|
+
- [#1285](https://github.com/ho-nl/m2-pwa/pull/1285) [`c85294ba6`](https://github.com/ho-nl/m2-pwa/commit/c85294ba6d742ce78c074559a1e95409b25a5017) Thanks [@paales](https://github.com/paales)! - upgraded dependencies
|
|
27
36
|
|
|
28
|
-
- Updated dependencies
|
|
29
|
-
[[`ed9703b06`](https://github.com/ho-nl/m2-pwa/commit/ed9703b062d23ee01b1605ff9917c0ac3247fc25),
|
|
30
|
-
[`c85294ba6`](https://github.com/ho-nl/m2-pwa/commit/c85294ba6d742ce78c074559a1e95409b25a5017)]:
|
|
37
|
+
- Updated dependencies [[`ed9703b06`](https://github.com/ho-nl/m2-pwa/commit/ed9703b062d23ee01b1605ff9917c0ac3247fc25), [`c85294ba6`](https://github.com/ho-nl/m2-pwa/commit/c85294ba6d742ce78c074559a1e95409b25a5017)]:
|
|
31
38
|
- @graphcommerce/magento-store@4.1.0
|
|
32
39
|
- @graphcommerce/magento-product@4.0.4
|
|
33
40
|
- @graphcommerce/next-ui@4.1.3
|
|
@@ -36,19 +43,11 @@
|
|
|
36
43
|
|
|
37
44
|
### Patch Changes
|
|
38
45
|
|
|
39
|
-
- [#1280](https://github.com/ho-nl/m2-pwa/pull/1280)
|
|
40
|
-
[`bdd460c6f`](https://github.com/ho-nl/m2-pwa/commit/bdd460c6f09af148a96c55324012b8f53c3618f1)
|
|
41
|
-
Thanks [@paales](https://github.com/paales)! - Review forms now work by using the url_key of a
|
|
42
|
-
product instead of the SKU. Some backends do not support filtering by sku
|
|
46
|
+
- [#1280](https://github.com/ho-nl/m2-pwa/pull/1280) [`bdd460c6f`](https://github.com/ho-nl/m2-pwa/commit/bdd460c6f09af148a96c55324012b8f53c3618f1) Thanks [@paales](https://github.com/paales)! - Review forms now work by using the url_key of a product instead of the SKU. Some backends do not support filtering by sku
|
|
43
47
|
|
|
44
|
-
* [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
|
|
45
|
-
Thanks [@paales](https://github.com/paales)! - made packages public
|
|
48
|
+
* [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
|
|
46
49
|
|
|
47
|
-
* Updated dependencies
|
|
48
|
-
[[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96),
|
|
49
|
-
[`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20),
|
|
50
|
-
[`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d),
|
|
51
|
-
[`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
|
|
50
|
+
* 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)]:
|
|
52
51
|
- @graphcommerce/graphql@3.0.3
|
|
53
52
|
- @graphcommerce/image@3.1.0
|
|
54
53
|
- @graphcommerce/magento-customer@4.1.2
|
|
@@ -61,29 +60,13 @@
|
|
|
61
60
|
|
|
62
61
|
### Patch Changes
|
|
63
62
|
|
|
64
|
-
- [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
* [
|
|
71
|
-
[`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
|
|
72
|
-
Thanks [@paales](https://github.com/paales)! - Upgraded to
|
|
73
|
-
[NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
|
|
74
|
-
implementing
|
|
75
|
-
[On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
|
|
76
|
-
soon.
|
|
77
|
-
|
|
78
|
-
This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
|
|
79
|
-
frontend to be able to revalidate pages manually.
|
|
80
|
-
|
|
81
|
-
* Updated dependencies
|
|
82
|
-
[[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
|
|
83
|
-
[`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
|
|
84
|
-
[`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
|
|
85
|
-
[`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
|
|
86
|
-
[`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)]:
|
|
63
|
+
- [#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.
|
|
64
|
+
|
|
65
|
+
* [#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.
|
|
66
|
+
|
|
67
|
+
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.
|
|
68
|
+
|
|
69
|
+
* 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)]:
|
|
87
70
|
- @graphcommerce/magento-customer@4.1.1
|
|
88
71
|
- @graphcommerce/next-ui@4.1.1
|
|
89
72
|
- @graphcommerce/react-hook-form@3.0.2
|
|
@@ -96,11 +79,8 @@
|
|
|
96
79
|
|
|
97
80
|
### Patch Changes
|
|
98
81
|
|
|
99
|
-
- [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
|
|
100
|
-
|
|
101
|
-
so that the packages link to back to the website and repository
|
|
102
|
-
- Updated dependencies
|
|
103
|
-
[[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
|
|
82
|
+
- [`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
|
|
83
|
+
- Updated dependencies [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
|
|
104
84
|
- @graphcommerce/graphql@3.0.1
|
|
105
85
|
- @graphcommerce/image@3.0.1
|
|
106
86
|
- @graphcommerce/magento-customer@4.0.1
|
|
@@ -113,14 +93,11 @@
|
|
|
113
93
|
|
|
114
94
|
### Major Changes
|
|
115
95
|
|
|
116
|
-
- [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
|
|
117
|
-
[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
|
|
118
|
-
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
|
|
119
97
|
|
|
120
98
|
### Patch Changes
|
|
121
99
|
|
|
122
|
-
- Updated dependencies
|
|
123
|
-
[[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
|
|
100
|
+
- Updated dependencies [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
|
|
124
101
|
- @graphcommerce/graphql@3.0.0
|
|
125
102
|
- @graphcommerce/image@3.0.0
|
|
126
103
|
- @graphcommerce/magento-customer@4.0.0
|
|
@@ -129,116 +106,88 @@
|
|
|
129
106
|
- @graphcommerce/next-ui@4.0.0
|
|
130
107
|
- @graphcommerce/react-hook-form@3.0.0
|
|
131
108
|
|
|
132
|
-
All notable changes to this project will be documented in this file. See
|
|
133
|
-
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
109
|
+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
134
110
|
|
|
135
111
|
# [2.111.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.110.2...@graphcommerce/magento-review@2.111.0) (2021-12-01)
|
|
136
112
|
|
|
137
113
|
### Features
|
|
138
114
|
|
|
139
|
-
- borderRadius based on theme.shape.borderRadius
|
|
140
|
-
([7c34937](https://github.com/ho-nl/m2-pwa/commit/7c349376cd41a131c628324c299106fdb7e60484))
|
|
115
|
+
- borderRadius based on theme.shape.borderRadius ([7c34937](https://github.com/ho-nl/m2-pwa/commit/7c349376cd41a131c628324c299106fdb7e60484))
|
|
141
116
|
|
|
142
117
|
# [2.110.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.109.1...@graphcommerce/magento-review@2.110.0) (2021-11-22)
|
|
143
118
|
|
|
144
119
|
### Bug Fixes
|
|
145
120
|
|
|
146
|
-
- allow styling from parent
|
|
147
|
-
|
|
148
|
-
-
|
|
149
|
-
|
|
150
|
-
-
|
|
151
|
-
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
- rename summary chip fragment
|
|
155
|
-
([bb23dfc](https://github.com/ho-nl/m2-pwa/commit/bb23dfc8bb82e99832196b4080d2c4c9f269cc5d))
|
|
156
|
-
- revert to SvgImageSimple
|
|
157
|
-
([b247c6b](https://github.com/ho-nl/m2-pwa/commit/b247c6b96979bc313e597a8ffe1275b73f38bd6a))
|
|
158
|
-
- review form size large
|
|
159
|
-
([9f45336](https://github.com/ho-nl/m2-pwa/commit/9f45336d310b120088fe6440dd95a51944ff77cb))
|
|
160
|
-
- use fragment types
|
|
161
|
-
([0a06309](https://github.com/ho-nl/m2-pwa/commit/0a0630916e191c59eed402904b9ace6b87831bd8))
|
|
121
|
+
- allow styling from parent ([ed1b4dc](https://github.com/ho-nl/m2-pwa/commit/ed1b4dc446fa19244cc73f87063256809b914d15))
|
|
122
|
+
- cleanup ([7937ac5](https://github.com/ho-nl/m2-pwa/commit/7937ac5c6163a4ffe10d8a8d61847fcc86e82a9d))
|
|
123
|
+
- make stylable ([54aea4c](https://github.com/ho-nl/m2-pwa/commit/54aea4c177c708de07df9ef9c590da6bff43aea8))
|
|
124
|
+
- remove styles ([fabde1f](https://github.com/ho-nl/m2-pwa/commit/fabde1f1dba9f75dea60bb2c7c69d4793c6197cd))
|
|
125
|
+
- rename summary chip fragment ([bb23dfc](https://github.com/ho-nl/m2-pwa/commit/bb23dfc8bb82e99832196b4080d2c4c9f269cc5d))
|
|
126
|
+
- revert to SvgImageSimple ([b247c6b](https://github.com/ho-nl/m2-pwa/commit/b247c6b96979bc313e597a8ffe1275b73f38bd6a))
|
|
127
|
+
- review form size large ([9f45336](https://github.com/ho-nl/m2-pwa/commit/9f45336d310b120088fe6440dd95a51944ff77cb))
|
|
128
|
+
- use fragment types ([0a06309](https://github.com/ho-nl/m2-pwa/commit/0a0630916e191c59eed402904b9ace6b87831bd8))
|
|
162
129
|
|
|
163
130
|
### Features
|
|
164
131
|
|
|
165
|
-
- add ReviewSummary component
|
|
166
|
-
|
|
167
|
-
- use Rating component
|
|
168
|
-
([ec54f45](https://github.com/ho-nl/m2-pwa/commit/ec54f4522adb2d330bbdecc2ce032f86f13fb7a6))
|
|
132
|
+
- add ReviewSummary component ([b823669](https://github.com/ho-nl/m2-pwa/commit/b823669d32e92238d05cac181c3453a13da49601))
|
|
133
|
+
- use Rating component ([ec54f45](https://github.com/ho-nl/m2-pwa/commit/ec54f4522adb2d330bbdecc2ce032f86f13fb7a6))
|
|
169
134
|
|
|
170
135
|
# [2.109.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.108.6...@graphcommerce/magento-review@2.109.0) (2021-11-12)
|
|
171
136
|
|
|
172
137
|
### Bug Fixes
|
|
173
138
|
|
|
174
|
-
- even more translations
|
|
175
|
-
([1a1f988](https://github.com/ho-nl/m2-pwa/commit/1a1f98837c704b978f6b42b619d9c52f540b2d48))
|
|
139
|
+
- even more translations ([1a1f988](https://github.com/ho-nl/m2-pwa/commit/1a1f98837c704b978f6b42b619d9c52f540b2d48))
|
|
176
140
|
|
|
177
141
|
### Features
|
|
178
142
|
|
|
179
|
-
- added tons of translations
|
|
180
|
-
([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
|
|
143
|
+
- added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
|
|
181
144
|
|
|
182
145
|
# [2.108.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.107.21...@graphcommerce/magento-review@2.108.0) (2021-11-09)
|
|
183
146
|
|
|
184
147
|
### Features
|
|
185
148
|
|
|
186
|
-
- added translations to all pages
|
|
187
|
-
([8cf4ecd](https://github.com/ho-nl/m2-pwa/commit/8cf4ecd5db5edfec04ab205aa49f5de433d26579))
|
|
149
|
+
- added translations to all pages ([8cf4ecd](https://github.com/ho-nl/m2-pwa/commit/8cf4ecd5db5edfec04ab205aa49f5de433d26579))
|
|
188
150
|
|
|
189
151
|
## [2.107.13](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.107.12...@graphcommerce/magento-review@2.107.13) (2021-11-03)
|
|
190
152
|
|
|
191
153
|
### Bug Fixes
|
|
192
154
|
|
|
193
|
-
- various accessibility improvements
|
|
194
|
-
([47481a9](https://github.com/ho-nl/m2-pwa/commit/47481a9a882ba87968de6dd797557b0b275d75fb))
|
|
155
|
+
- various accessibility improvements ([47481a9](https://github.com/ho-nl/m2-pwa/commit/47481a9a882ba87968de6dd797557b0b275d75fb))
|
|
195
156
|
|
|
196
157
|
## [2.107.6](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.107.5...@graphcommerce/magento-review@2.107.6) (2021-11-02)
|
|
197
158
|
|
|
198
159
|
### Bug Fixes
|
|
199
160
|
|
|
200
|
-
- remove text='bold', make contained button text stronger by default
|
|
201
|
-
|
|
202
|
-
-
|
|
203
|
-
([b832188](https://github.com/ho-nl/m2-pwa/commit/b8321887f10a4a026adc5ca39166eeef90e60669))
|
|
204
|
-
- ReviewChip should only differ from default MuiChip in product grid
|
|
205
|
-
([c22a029](https://github.com/ho-nl/m2-pwa/commit/c22a0291afbbc03099fd0487421ff9fd31caf226))
|
|
161
|
+
- remove text='bold', make contained button text stronger by default ([cd277c9](https://github.com/ho-nl/m2-pwa/commit/cd277c9f434a4a765eac372467e5a05c822d5512))
|
|
162
|
+
- remove unused imports ([b832188](https://github.com/ho-nl/m2-pwa/commit/b8321887f10a4a026adc5ca39166eeef90e60669))
|
|
163
|
+
- ReviewChip should only differ from default MuiChip in product grid ([c22a029](https://github.com/ho-nl/m2-pwa/commit/c22a0291afbbc03099fd0487421ff9fd31caf226))
|
|
206
164
|
|
|
207
165
|
## [2.107.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.107.0...@graphcommerce/magento-review@2.107.1) (2021-10-28)
|
|
208
166
|
|
|
209
167
|
### Bug Fixes
|
|
210
168
|
|
|
211
|
-
- External SVG's can't have alt tags
|
|
212
|
-
([1b1414a](https://github.com/ho-nl/m2-pwa/commit/1b1414a782d55d3acf7b0e6bcaa50f2ad5f18f39))
|
|
169
|
+
- External SVG's can't have alt tags ([1b1414a](https://github.com/ho-nl/m2-pwa/commit/1b1414a782d55d3acf7b0e6bcaa50f2ad5f18f39))
|
|
213
170
|
|
|
214
171
|
# [2.107.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.106.2...@graphcommerce/magento-review@2.107.0) (2021-10-28)
|
|
215
172
|
|
|
216
173
|
### Bug Fixes
|
|
217
174
|
|
|
218
|
-
- keep original review chip
|
|
219
|
-
|
|
220
|
-
-
|
|
221
|
-
|
|
222
|
-
- review button size
|
|
223
|
-
([9074102](https://github.com/ho-nl/m2-pwa/commit/9074102c1866b14d0e7f1f0f3dfabe6e6c0b324d))
|
|
224
|
-
- size of default ReviewChip
|
|
225
|
-
([e1d4969](https://github.com/ho-nl/m2-pwa/commit/e1d49699776b15fa056677f042f6c9939b6acada))
|
|
175
|
+
- keep original review chip ([3f2f834](https://github.com/ho-nl/m2-pwa/commit/3f2f834478b7b8252f6164442815e5c081de6411))
|
|
176
|
+
- keep original review chip for now ([9664cd9](https://github.com/ho-nl/m2-pwa/commit/9664cd90801c6776e1c694eec8f393118810a792))
|
|
177
|
+
- review button size ([9074102](https://github.com/ho-nl/m2-pwa/commit/9074102c1866b14d0e7f1f0f3dfabe6e6c0b324d))
|
|
178
|
+
- size of default ReviewChip ([e1d4969](https://github.com/ho-nl/m2-pwa/commit/e1d49699776b15fa056677f042f6c9939b6acada))
|
|
226
179
|
|
|
227
180
|
### Features
|
|
228
181
|
|
|
229
|
-
- cleanup grid, add visual star chip
|
|
230
|
-
|
|
231
|
-
-
|
|
232
|
-
([3d3cc0e](https://github.com/ho-nl/m2-pwa/commit/3d3cc0e0336fcde1cce6ba19705f82c1edf9bfc6))
|
|
233
|
-
- enable use of both small and medium chips in design
|
|
234
|
-
([4536f96](https://github.com/ho-nl/m2-pwa/commit/4536f96b031734a71faf7c10f94aa5d5da90b9a8))
|
|
182
|
+
- cleanup grid, add visual star chip ([0571569](https://github.com/ho-nl/m2-pwa/commit/057156937f603bc399f5f8f8ac2837ff5cfaef28))
|
|
183
|
+
- dynamic icons, update SvgImage uses to SvgImageSimple ([3d3cc0e](https://github.com/ho-nl/m2-pwa/commit/3d3cc0e0336fcde1cce6ba19705f82c1edf9bfc6))
|
|
184
|
+
- enable use of both small and medium chips in design ([4536f96](https://github.com/ho-nl/m2-pwa/commit/4536f96b031734a71faf7c10f94aa5d5da90b9a8))
|
|
235
185
|
|
|
236
186
|
# [2.106.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.105.37...@graphcommerce/magento-review@2.106.0) (2021-10-27)
|
|
237
187
|
|
|
238
188
|
### Features
|
|
239
189
|
|
|
240
|
-
- **nextjs:** upgraded to nextjs 12
|
|
241
|
-
([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
|
|
190
|
+
- **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
|
|
242
191
|
|
|
243
192
|
## [2.105.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.105.0...@graphcommerce/magento-review@2.105.1) (2021-09-27)
|
|
244
193
|
|
|
@@ -248,115 +197,89 @@ All notable changes to this project will be documented in this file. See
|
|
|
248
197
|
|
|
249
198
|
### Bug Fixes
|
|
250
199
|
|
|
251
|
-
- customer-order folder structure
|
|
252
|
-
|
|
253
|
-
-
|
|
254
|
-
|
|
255
|
-
- make
|
|
256
|
-
|
|
257
|
-
- remove coupon form style was too large
|
|
258
|
-
([30df274](https://github.com/ho-nl/m2-pwa/commit/30df274ecdffdcebd76710a5304d6fa248e81211))
|
|
259
|
-
- **review:** make sure chip is rendered correctly
|
|
260
|
-
([387df34](https://github.com/ho-nl/m2-pwa/commit/387df3456973290f9ce98d47823a7c71a6d95850))
|
|
261
|
-
- SvgSimpleImage sizing didn't use rem
|
|
262
|
-
([1ba07a5](https://github.com/ho-nl/m2-pwa/commit/1ba07a5694bd60ad3cee2e8102814643d2a7c79d))
|
|
200
|
+
- customer-order folder structure ([b7fabd1](https://github.com/ho-nl/m2-pwa/commit/b7fabd12014b2925d0b89c21f58e9974ce1c8b40))
|
|
201
|
+
- introduced SvgImageSimple and solve issue with review chips ([931d7fd](https://github.com/ho-nl/m2-pwa/commit/931d7fdcf0faa9d2264899b72e564138215b6bd8))
|
|
202
|
+
- make separate queries folder, create injectable for account and inject reviews ([5d82a5d](https://github.com/ho-nl/m2-pwa/commit/5d82a5d9162f687c2678cce215b77eedbaf1669e))
|
|
203
|
+
- remove coupon form style was too large ([30df274](https://github.com/ho-nl/m2-pwa/commit/30df274ecdffdcebd76710a5304d6fa248e81211))
|
|
204
|
+
- **review:** make sure chip is rendered correctly ([387df34](https://github.com/ho-nl/m2-pwa/commit/387df3456973290f9ce98d47823a7c71a6d95850))
|
|
205
|
+
- SvgSimpleImage sizing didn't use rem ([1ba07a5](https://github.com/ho-nl/m2-pwa/commit/1ba07a5694bd60ad3cee2e8102814643d2a7c79d))
|
|
263
206
|
|
|
264
207
|
### Features
|
|
265
208
|
|
|
266
|
-
- **playwright:** added new playwright package to enable browser testing
|
|
267
|
-
|
|
268
|
-
-
|
|
269
|
-
|
|
270
|
-
([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
|
|
271
|
-
- **theme:** restructured fonts and applied to home and category page
|
|
272
|
-
([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
|
|
273
|
-
- upgraded to nextjs 11
|
|
274
|
-
([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
209
|
+
- **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
210
|
+
- 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))
|
|
211
|
+
- **theme:** restructured fonts and applied to home and category page ([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
|
|
212
|
+
- upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
275
213
|
|
|
276
214
|
### Reverts
|
|
277
215
|
|
|
278
|
-
- Revert "chore: upgrade @apollo/client"
|
|
279
|
-
([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
216
|
+
- Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
280
217
|
|
|
281
218
|
# Change Log
|
|
282
219
|
|
|
283
|
-
All notable changes to this project will be documented in this file. See
|
|
284
|
-
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
220
|
+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
285
221
|
|
|
286
222
|
# [2.104.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.103.2...@graphcommerce/magento-review@2.104.0) (2021-08-12)
|
|
287
223
|
|
|
288
224
|
### Bug Fixes
|
|
289
225
|
|
|
290
|
-
- remove coupon form style was too large
|
|
291
|
-
([30df274](https://github.com/ho-nl/m2-pwa/commit/30df274ecdffdcebd76710a5304d6fa248e81211))
|
|
226
|
+
- remove coupon form style was too large ([30df274](https://github.com/ho-nl/m2-pwa/commit/30df274ecdffdcebd76710a5304d6fa248e81211))
|
|
292
227
|
|
|
293
228
|
### Features
|
|
294
229
|
|
|
295
|
-
- upgraded to nextjs 11
|
|
296
|
-
([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
230
|
+
- upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
297
231
|
|
|
298
232
|
## [2.103.2](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.103.1...@graphcommerce/magento-review@2.103.2) (2021-08-09)
|
|
299
233
|
|
|
300
234
|
### Bug Fixes
|
|
301
235
|
|
|
302
|
-
- SvgSimpleImage sizing didn't use rem
|
|
303
|
-
([1ba07a5](https://github.com/ho-nl/m2-pwa/commit/1ba07a5694bd60ad3cee2e8102814643d2a7c79d))
|
|
236
|
+
- SvgSimpleImage sizing didn't use rem ([1ba07a5](https://github.com/ho-nl/m2-pwa/commit/1ba07a5694bd60ad3cee2e8102814643d2a7c79d))
|
|
304
237
|
|
|
305
238
|
### Reverts
|
|
306
239
|
|
|
307
|
-
- Revert "chore: upgrade @apollo/client"
|
|
308
|
-
([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
240
|
+
- Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
309
241
|
|
|
310
242
|
## [2.103.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.103.0...@graphcommerce/magento-review@2.103.1) (2021-08-09)
|
|
311
243
|
|
|
312
244
|
### Bug Fixes
|
|
313
245
|
|
|
314
|
-
- **review:** make sure chip is rendered correctly
|
|
315
|
-
([387df34](https://github.com/ho-nl/m2-pwa/commit/387df3456973290f9ce98d47823a7c71a6d95850))
|
|
246
|
+
- **review:** make sure chip is rendered correctly ([387df34](https://github.com/ho-nl/m2-pwa/commit/387df3456973290f9ce98d47823a7c71a6d95850))
|
|
316
247
|
|
|
317
248
|
# [2.103.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.102.6...@graphcommerce/magento-review@2.103.0) (2021-08-06)
|
|
318
249
|
|
|
319
250
|
### Bug Fixes
|
|
320
251
|
|
|
321
|
-
- introduced SvgImageSimple and solve issue with review chips
|
|
322
|
-
([931d7fd](https://github.com/ho-nl/m2-pwa/commit/931d7fdcf0faa9d2264899b72e564138215b6bd8))
|
|
252
|
+
- introduced SvgImageSimple and solve issue with review chips ([931d7fd](https://github.com/ho-nl/m2-pwa/commit/931d7fdcf0faa9d2264899b72e564138215b6bd8))
|
|
323
253
|
|
|
324
254
|
### Features
|
|
325
255
|
|
|
326
|
-
- **theme:** restructured fonts and applied to home and category page
|
|
327
|
-
([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
|
|
256
|
+
- **theme:** restructured fonts and applied to home and category page ([6adf5f1](https://github.com/ho-nl/m2-pwa/commit/6adf5f11321bdfbf499125f1161c5abf5a1bfe4a))
|
|
328
257
|
|
|
329
258
|
# [2.102.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-review@2.101.3...@graphcommerce/magento-review@2.102.0) (2021-07-26)
|
|
330
259
|
|
|
331
260
|
### Features
|
|
332
261
|
|
|
333
|
-
- **playwright:** added new playwright package to enable browser testing
|
|
334
|
-
([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
262
|
+
- **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
335
263
|
|
|
336
264
|
## 2.101.1 (2021-07-23)
|
|
337
265
|
|
|
338
266
|
### Bug Fixes
|
|
339
267
|
|
|
340
|
-
- customer-order folder structure
|
|
341
|
-
|
|
342
|
-
- make separate queries folder, create injectable for account and inject reviews
|
|
343
|
-
([5d82a5d](https://github.com/ho-nl/m2-pwa/commit/5d82a5d9162f687c2678cce215b77eedbaf1669e))
|
|
268
|
+
- customer-order folder structure ([b7fabd1](https://github.com/ho-nl/m2-pwa/commit/b7fabd12014b2925d0b89c21f58e9974ce1c8b40))
|
|
269
|
+
- make separate queries folder, create injectable for account and inject reviews ([5d82a5d](https://github.com/ho-nl/m2-pwa/commit/5d82a5d9162f687c2678cce215b77eedbaf1669e))
|
|
344
270
|
|
|
345
271
|
# [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product-review@2.100.14...@graphcommerce/magento-product-review@2.101.0) (2021-07-21)
|
|
346
272
|
|
|
347
273
|
### Bug Fixes
|
|
348
274
|
|
|
349
|
-
- write review button mobile styles
|
|
350
|
-
([8f6b883](https://github.com/ho-nl/m2-pwa/commit/8f6b883fa0a513f84b7c6d8ed376b0e8d4b8a3bd))
|
|
275
|
+
- write review button mobile styles ([8f6b883](https://github.com/ho-nl/m2-pwa/commit/8f6b883fa0a513f84b7c6d8ed376b0e8d4b8a3bd))
|
|
351
276
|
|
|
352
277
|
### Features
|
|
353
278
|
|
|
354
|
-
- **reviews:** no reviews written message
|
|
355
|
-
([8ade3db](https://github.com/ho-nl/m2-pwa/commit/8ade3dbe830f5a59af09c002dfa38fa5349a4b61))
|
|
279
|
+
- **reviews:** no reviews written message ([8ade3db](https://github.com/ho-nl/m2-pwa/commit/8ade3dbe830f5a59af09c002dfa38fa5349a4b61))
|
|
356
280
|
|
|
357
281
|
## [2.100.11](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product-review@2.100.10...@graphcommerce/magento-product-review@2.100.11) (2021-07-20)
|
|
358
282
|
|
|
359
283
|
### Bug Fixes
|
|
360
284
|
|
|
361
|
-
- ignore md files from triggering version updates
|
|
362
|
-
([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
285
|
+
- ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SectionContainer, extendableComponent } from '@graphcommerce/next-ui'
|
|
2
2
|
import { Box, Skeleton } from '@mui/material'
|
|
3
|
-
import CustomerReview from '../CustomerReview'
|
|
3
|
+
import { CustomerReview } from '../CustomerReview/CustomerReview'
|
|
4
4
|
import { AccountReviewsFragment } from './AccountReviews.gql'
|
|
5
5
|
|
|
6
6
|
type AccountReviewsProps = AccountReviewsFragment & { loading: boolean }
|
|
7
7
|
|
|
8
8
|
const { classes } = extendableComponent('AccountReviews', ['root', 'older'] as const)
|
|
9
9
|
|
|
10
|
-
export
|
|
10
|
+
export function AccountReviews(props: AccountReviewsProps) {
|
|
11
11
|
const { items, loading } = props
|
|
12
12
|
const showLatestReviews = 2
|
|
13
13
|
const latestReviews = items?.slice(0, Math.min(items?.length, showLatestReviews))
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { useQuery } from '@graphcommerce/graphql'
|
|
2
|
-
import { ProductReviewRatingInput } from '@graphcommerce/graphql'
|
|
1
|
+
import { useQuery, ProductReviewRatingInput } from '@graphcommerce/graphql'
|
|
3
2
|
import { ApolloCustomerErrorAlert } from '@graphcommerce/magento-customer'
|
|
4
3
|
import {
|
|
5
4
|
Form,
|
|
@@ -35,7 +34,7 @@ const parts = [
|
|
|
35
34
|
] as const
|
|
36
35
|
const { classes } = extendableComponent(name, parts)
|
|
37
36
|
|
|
38
|
-
export
|
|
37
|
+
export function CreateProductReviewForm(props: CreateProductReviewFormProps) {
|
|
39
38
|
const { sku, nickname, sx = [] } = props
|
|
40
39
|
const router = useRouter()
|
|
41
40
|
const [ratings, setRatings] = useState<ProductReviewRatingInput[]>([])
|
|
@@ -88,7 +87,7 @@ export default function CreateProductReviewForm(props: CreateProductReviewFormPr
|
|
|
88
87
|
}
|
|
89
88
|
|
|
90
89
|
return (
|
|
91
|
-
<Form onSubmit={submitHandler} noValidate className={classes.root}>
|
|
90
|
+
<Form onSubmit={submitHandler} noValidate className={classes.root} sx={sx}>
|
|
92
91
|
<FormRow>
|
|
93
92
|
<TextField
|
|
94
93
|
variant='outlined'
|
|
@@ -19,7 +19,7 @@ const { classes } = extendableComponent('ScrollerDots', [
|
|
|
19
19
|
'date',
|
|
20
20
|
] as const)
|
|
21
21
|
|
|
22
|
-
export
|
|
22
|
+
export function CustomerReview(props: CustomerReviewProps) {
|
|
23
23
|
const { product, text, average_rating, created_at, sx = [] } = props
|
|
24
24
|
|
|
25
25
|
const maxAverageRating = 100
|
|
File without changes
|
|
@@ -8,7 +8,7 @@ export type ProductReviewChipProps = {
|
|
|
8
8
|
max?: number
|
|
9
9
|
} & ChipProps
|
|
10
10
|
|
|
11
|
-
export
|
|
11
|
+
export function ProductReviewChip(props: ProductReviewChipProps) {
|
|
12
12
|
const { rating, reviewSectionId = '', max = 5, ...chipProps } = props
|
|
13
13
|
|
|
14
14
|
if (!rating) return null
|
|
@@ -8,7 +8,7 @@ const name = 'ProductReviewSummary' as const
|
|
|
8
8
|
const parts = ['root', 'rating', 'iconStar', 'iconStarDisabled'] as const
|
|
9
9
|
const { classes } = extendableComponent(name, parts)
|
|
10
10
|
|
|
11
|
-
export
|
|
11
|
+
export function ProductReviewSummary(props: ProductReviewSummaryProps) {
|
|
12
12
|
const { rating_summary, sx = [] } = props
|
|
13
13
|
|
|
14
14
|
if (!rating_summary) return null
|
|
@@ -9,7 +9,7 @@ import { Trans } from '@lingui/macro'
|
|
|
9
9
|
import { Typography, Button, Box, SxProps, Theme } from '@mui/material'
|
|
10
10
|
import Link from 'next/link'
|
|
11
11
|
import React, { useState } from 'react'
|
|
12
|
-
import ProductReviewChip from '../ProductReviewChip'
|
|
12
|
+
import { ProductReviewChip } from '../ProductReviewChip/ProductReviewChip'
|
|
13
13
|
import { ProductReviewsFragment } from './ProductReviews.gql'
|
|
14
14
|
import { ProductReviewsPageDocument } from './ProductReviewsPage.gql'
|
|
15
15
|
|
|
@@ -32,7 +32,7 @@ const parts = [
|
|
|
32
32
|
] as const
|
|
33
33
|
const { classes } = extendableComponent(name, parts)
|
|
34
34
|
|
|
35
|
-
export
|
|
35
|
+
export function ProductReviews(props: ProductReviewsProps) {
|
|
36
36
|
const { reviews, url_key, sx = [] } = props
|
|
37
37
|
const config = 'en_US'
|
|
38
38
|
const locale = config.replace('_', '-')
|
package/components/index.ts
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { default as CreateProductReviewForm } from './CreateProductReviewForm'
|
|
3
|
-
export { default as CustomerReview } from './CustomerReview'
|
|
4
|
-
export { default as ProductReviews } from './ProductReviews'
|
|
5
|
-
export { default as ProductReviewChip } from './ProductReviewChip'
|
|
6
|
-
export { default as ProductReviewSummary } from './ProductReviewSummary'
|
|
7
|
-
|
|
1
|
+
export * from './AccountReviews/AccountReviews'
|
|
8
2
|
export * from './AccountReviews/AccountReviews.gql'
|
|
9
|
-
export * from './ProductReviews'
|
|
10
|
-
export * from './CustomerReview/CustomerReview.gql'
|
|
11
|
-
export * from './ProductReviewSummary/ProductReviewSummary.gql'
|
|
12
|
-
export * from './ProductReviewChip/ProductReviewSummaryChip.gql'
|
|
13
|
-
export * from './ProductReviews/ProductReviewProductName.gql'
|
|
14
3
|
export * from './CreateProductReviewForm/CreateProductReview.gql'
|
|
4
|
+
export * from './CreateProductReviewForm/CreateProductReviewForm'
|
|
15
5
|
export * from './CreateProductReviewForm/ProductReviewRatingsMetadata.gql'
|
|
16
|
-
|
|
6
|
+
export * from './CustomerReview/CustomerReview'
|
|
7
|
+
export * from './CustomerReview/CustomerReview.gql'
|
|
8
|
+
export * from './JsonLdProductReview/jsonLdProductReview'
|
|
17
9
|
export * from './JsonLdProductReview/JsonLdProductReview.gql'
|
|
18
|
-
export * from './
|
|
10
|
+
export * from './ProductReviewChip/ProductReviewChip'
|
|
11
|
+
export * from './ProductReviewChip/ProductReviewSummaryChip.gql'
|
|
12
|
+
export * from './ProductReviews/ProductReviewProductName.gql'
|
|
13
|
+
export * from './ProductReviews/ProductReviews'
|
|
14
|
+
export * from './ProductReviewSummary/ProductReviewSummary'
|
|
15
|
+
export * from './ProductReviewSummary/ProductReviewSummary.gql'
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-review",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "3.0.
|
|
5
|
+
"version": "3.0.6",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^4.0.
|
|
16
|
-
"@graphcommerce/prettier-config-pwa": "^4.0.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^4.0.5",
|
|
16
|
+
"@graphcommerce/prettier-config-pwa": "^4.0.3",
|
|
17
17
|
"@graphcommerce/typescript-config-pwa": "^4.0.2",
|
|
18
|
-
"@playwright/test": "^1.19.
|
|
18
|
+
"@playwright/test": "^1.19.2"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@graphcommerce/graphql": "^3.0.
|
|
22
|
-
"@graphcommerce/image": "^3.1.
|
|
23
|
-
"@graphcommerce/magento-customer": "^4.1.
|
|
24
|
-
"@graphcommerce/magento-product": "^4.0.
|
|
25
|
-
"@graphcommerce/magento-store": "^4.1.
|
|
26
|
-
"@graphcommerce/next-ui": "^4.2.
|
|
27
|
-
"@graphcommerce/react-hook-form": "^3.0.
|
|
21
|
+
"@graphcommerce/graphql": "^3.0.4",
|
|
22
|
+
"@graphcommerce/image": "^3.1.1",
|
|
23
|
+
"@graphcommerce/magento-customer": "^4.1.4",
|
|
24
|
+
"@graphcommerce/magento-product": "^4.0.6",
|
|
25
|
+
"@graphcommerce/magento-store": "^4.1.2",
|
|
26
|
+
"@graphcommerce/next-ui": "^4.2.4",
|
|
27
|
+
"@graphcommerce/react-hook-form": "^3.0.4",
|
|
28
28
|
"schema-dts": "^1.1.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|