@graphcommerce/magento-review 7.0.0-canary.21 → 7.0.0

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,6 +1,170 @@
1
1
  # Change Log
2
2
 
3
- ## 7.0.0-canary.21
3
+ ## 7.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1944](https://github.com/graphcommerce-org/graphcommerce/pull/1944) [`f0ccbb117`](https://github.com/graphcommerce-org/graphcommerce/commit/f0ccbb11797c501022f0667ff8851ba8c06b02fc) - Remove the Cancel button from the review page, as it doesn't really serve a function ([@paales](https://github.com/paales))
8
+
9
+ ## 6.2.0-canary.98
10
+
11
+ ## 6.2.0-canary.97
12
+
13
+ ## 6.2.0-canary.96
14
+
15
+ ## 6.2.0-canary.95
16
+
17
+ ## 6.2.0-canary.94
18
+
19
+ ## 6.2.0-canary.93
20
+
21
+ ## 6.2.0-canary.92
22
+
23
+ ## 6.2.0-canary.91
24
+
25
+ ## 6.2.0-canary.90
26
+
27
+ ## 6.2.0-canary.89
28
+
29
+ ## 6.2.0-canary.88
30
+
31
+ ## 6.2.0-canary.87
32
+
33
+ ## 6.2.0-canary.86
34
+
35
+ ## 6.2.0-canary.85
36
+
37
+ ## 6.2.0-canary.84
38
+
39
+ ## 6.2.0-canary.83
40
+
41
+ ## 6.2.0-canary.82
42
+
43
+ ## 6.2.0-canary.81
44
+
45
+ ## 6.2.0-canary.80
46
+
47
+ ## 6.2.0-canary.79
48
+
49
+ ## 6.2.0-canary.78
50
+
51
+ ## 6.2.0-canary.77
52
+
53
+ ## 6.2.0-canary.76
54
+
55
+ ## 6.2.0-canary.75
56
+
57
+ ## 6.2.0-canary.74
58
+
59
+ ## 6.2.0-canary.73
60
+
61
+ ## 6.2.0-canary.72
62
+
63
+ ## 6.2.0-canary.71
64
+
65
+ ## 6.2.0-canary.70
66
+
67
+ ## 6.2.0-canary.69
68
+
69
+ ## 6.2.0-canary.68
70
+
71
+ ## 6.2.0-canary.67
72
+
73
+ ## 6.2.0-canary.66
74
+
75
+ ## 6.2.0-canary.65
76
+
77
+ ## 6.2.0-canary.64
78
+
79
+ ## 6.2.0-canary.63
80
+
81
+ ## 6.2.0-canary.62
82
+
83
+ ## 6.2.0-canary.61
84
+
85
+ ## 6.2.0-canary.60
86
+
87
+ ## 6.2.0-canary.59
88
+
89
+ ## 6.2.0-canary.58
90
+
91
+ ## 6.2.0-canary.57
92
+
93
+ ## 6.2.0-canary.56
94
+
95
+ ## 6.2.0-canary.55
96
+
97
+ ## 6.2.0-canary.54
98
+
99
+ ## 6.2.0-canary.53
100
+
101
+ ## 6.2.0-canary.52
102
+
103
+ ## 6.2.0-canary.51
104
+
105
+ ## 6.2.0-canary.50
106
+
107
+ ## 6.2.0-canary.49
108
+
109
+ ## 6.2.0-canary.48
110
+
111
+ ## 6.2.0-canary.47
112
+
113
+ ## 6.2.0-canary.46
114
+
115
+ ## 6.2.0-canary.45
116
+
117
+ ## 6.2.0-canary.44
118
+
119
+ ## 6.2.0-canary.43
120
+
121
+ ## 6.2.0-canary.42
122
+
123
+ ## 6.2.0-canary.41
124
+
125
+ ## 6.2.0-canary.40
126
+
127
+ ## 6.2.0-canary.39
128
+
129
+ ## 6.2.0-canary.38
130
+
131
+ ## 6.2.0-canary.37
132
+
133
+ ## 6.2.0-canary.36
134
+
135
+ ## 6.2.0-canary.35
136
+
137
+ ## 6.2.0-canary.34
138
+
139
+ ## 6.2.0-canary.33
140
+
141
+ ## 6.2.0-canary.32
142
+
143
+ ## 6.2.0-canary.31
144
+
145
+ ## 6.2.0-canary.30
146
+
147
+ ## 6.2.0-canary.29
148
+
149
+ ## 6.2.0-canary.28
150
+
151
+ ## 6.2.0-canary.27
152
+
153
+ ## 6.2.0-canary.26
154
+
155
+ ## 6.2.0-canary.25
156
+
157
+ ### Patch Changes
158
+
159
+ - [#1944](https://github.com/graphcommerce-org/graphcommerce/pull/1944) [`f0ccbb117`](https://github.com/graphcommerce-org/graphcommerce/commit/f0ccbb11797c501022f0667ff8851ba8c06b02fc) - Remove the Cancel button from the review page, as that pattern isn't really used in the app. ([@paales](https://github.com/paales))
160
+
161
+ ## 6.2.0-canary.24
162
+
163
+ ## 6.2.0-canary.23
164
+
165
+ ## 6.2.0-canary.22
166
+
167
+ ## 6.2.0-canary.21
4
168
 
5
169
  ## 6.2.0-canary.20
6
170
 
@@ -11,6 +11,7 @@ import {
11
11
  } from '@graphcommerce/next-ui'
12
12
  import { useFormGqlMutation } from '@graphcommerce/react-hook-form'
13
13
  import { Trans } from '@lingui/react'
14
+ // eslint-disable-next-line @typescript-eslint/no-restricted-imports
14
15
  import { Box, TextField, Typography, Alert, Button, SxProps, Theme } from '@mui/material'
15
16
  import { useRouter } from 'next/router'
16
17
  import { useEffect, useState } from 'react'
@@ -205,15 +206,6 @@ export function CreateProductReviewForm(props: CreateProductReviewFormProps) {
205
206
  >
206
207
  <Trans id='Submit review' />
207
208
  </Button>
208
- <Button
209
- variant='text'
210
- color='primary'
211
- size='medium'
212
- onClick={() => router.back()}
213
- className={classes.cancelButton}
214
- >
215
- <Trans id='Cancel' />
216
- </Button>
217
209
  </FormActions>
218
210
 
219
211
  <ApolloCustomerErrorAlert error={error} />
@@ -1,4 +1,4 @@
1
- fragment JsonLdProductReview on ProductInterface @inject(into: ["ProductPageItem"]) {
1
+ fragment JsonLdProductReview on ProductInterface @inject(into: ["JsonLdProduct"]) {
2
2
  ...ProductReviews
3
3
  review_count
4
4
  rating_summary
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": "7.0.0-canary.21",
5
+ "version": "7.0.0",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,24 +12,25 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "7.0.0-canary.21",
16
- "@graphcommerce/prettier-config-pwa": "7.0.0-canary.21",
17
- "@graphcommerce/typescript-config-pwa": "7.0.0-canary.21"
15
+ "@graphcommerce/eslint-config-pwa": "7.0.0",
16
+ "@graphcommerce/prettier-config-pwa": "7.0.0",
17
+ "@graphcommerce/typescript-config-pwa": "7.0.0"
18
18
  },
19
19
  "dependencies": {
20
- "@graphcommerce/graphql": "7.0.0-canary.21",
21
- "@graphcommerce/graphql-mesh": "7.0.0-canary.21",
22
- "@graphcommerce/image": "7.0.0-canary.21",
23
- "@graphcommerce/magento-customer": "7.0.0-canary.21",
24
- "@graphcommerce/magento-product": "7.0.0-canary.21",
25
- "@graphcommerce/magento-store": "7.0.0-canary.21",
26
- "@graphcommerce/next-ui": "7.0.0-canary.21",
27
- "@graphcommerce/react-hook-form": "7.0.0-canary.21",
20
+ "@graphcommerce/graphql": "7.0.0",
21
+ "@graphcommerce/graphql-mesh": "7.0.0",
22
+ "@graphcommerce/image": "7.0.0",
23
+ "@graphcommerce/magento-customer": "7.0.0",
24
+ "@graphcommerce/magento-product": "7.0.0",
25
+ "@graphcommerce/magento-store": "7.0.0",
26
+ "@graphcommerce/next-ui": "7.0.0",
27
+ "@graphcommerce/react-hook-form": "7.0.0",
28
28
  "schema-dts": "^1.1.0"
29
29
  },
30
30
  "peerDependencies": {
31
- "@lingui/react": "^3.13.2",
32
- "@lingui/core": "^3.13.2",
31
+ "@lingui/react": "^4.2.1",
32
+ "@lingui/core": "^4.2.1",
33
+ "@lingui/macro": "^4.2.1",
33
34
  "@mui/material": "^5.10.16",
34
35
  "next": "^13.2.0",
35
36
  "react": "^18.2.0",