@graphcommerce/magento-review 3.0.1 → 3.0.4
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,5 +1,80 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1285](https://github.com/ho-nl/m2-pwa/pull/1285)
|
|
8
|
+
[`c85294ba6`](https://github.com/ho-nl/m2-pwa/commit/c85294ba6d742ce78c074559a1e95409b25a5017)
|
|
9
|
+
Thanks [@paales](https://github.com/paales)! - upgraded dependencies
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
[[`ed9703b06`](https://github.com/ho-nl/m2-pwa/commit/ed9703b062d23ee01b1605ff9917c0ac3247fc25),
|
|
13
|
+
[`c85294ba6`](https://github.com/ho-nl/m2-pwa/commit/c85294ba6d742ce78c074559a1e95409b25a5017)]:
|
|
14
|
+
- @graphcommerce/magento-store@4.1.0
|
|
15
|
+
- @graphcommerce/magento-product@4.0.4
|
|
16
|
+
- @graphcommerce/next-ui@4.1.3
|
|
17
|
+
|
|
18
|
+
## 3.0.3
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- [#1280](https://github.com/ho-nl/m2-pwa/pull/1280)
|
|
23
|
+
[`bdd460c6f`](https://github.com/ho-nl/m2-pwa/commit/bdd460c6f09af148a96c55324012b8f53c3618f1)
|
|
24
|
+
Thanks [@paales](https://github.com/paales)! - Review forms now work by using the url_key of a
|
|
25
|
+
product instead of the SKU. Some backends do not support filtering by sku
|
|
26
|
+
|
|
27
|
+
* [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
|
|
28
|
+
Thanks [@paales](https://github.com/paales)! - made packages public
|
|
29
|
+
|
|
30
|
+
* Updated dependencies
|
|
31
|
+
[[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96),
|
|
32
|
+
[`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20),
|
|
33
|
+
[`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d),
|
|
34
|
+
[`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
|
|
35
|
+
- @graphcommerce/graphql@3.0.3
|
|
36
|
+
- @graphcommerce/image@3.1.0
|
|
37
|
+
- @graphcommerce/magento-customer@4.1.2
|
|
38
|
+
- @graphcommerce/magento-product@4.0.3
|
|
39
|
+
- @graphcommerce/magento-store@4.0.3
|
|
40
|
+
- @graphcommerce/next-ui@4.1.2
|
|
41
|
+
- @graphcommerce/react-hook-form@3.0.3
|
|
42
|
+
|
|
43
|
+
## 3.0.2
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
|
|
48
|
+
[`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
|
|
49
|
+
Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
|
|
50
|
+
`dependencies` to `peerDependencies`. The result of this is that there will be significantly less
|
|
51
|
+
duplicate packages in the node_modules folders.
|
|
52
|
+
|
|
53
|
+
* [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
|
|
54
|
+
[`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
|
|
55
|
+
Thanks [@paales](https://github.com/paales)! - Upgraded to
|
|
56
|
+
[NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
|
|
57
|
+
implementing
|
|
58
|
+
[On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
|
|
59
|
+
soon.
|
|
60
|
+
|
|
61
|
+
This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
|
|
62
|
+
frontend to be able to revalidate pages manually.
|
|
63
|
+
|
|
64
|
+
* Updated dependencies
|
|
65
|
+
[[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
|
|
66
|
+
[`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
|
|
67
|
+
[`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
|
|
68
|
+
[`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
|
|
69
|
+
[`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)]:
|
|
70
|
+
- @graphcommerce/magento-customer@4.1.1
|
|
71
|
+
- @graphcommerce/next-ui@4.1.1
|
|
72
|
+
- @graphcommerce/react-hook-form@3.0.2
|
|
73
|
+
- @graphcommerce/graphql@3.0.2
|
|
74
|
+
- @graphcommerce/image@3.0.2
|
|
75
|
+
- @graphcommerce/magento-product@4.0.2
|
|
76
|
+
- @graphcommerce/magento-store@4.0.2
|
|
77
|
+
|
|
3
78
|
## 3.0.1
|
|
4
79
|
|
|
5
80
|
### Patch Changes
|
|
@@ -33,7 +33,7 @@ const parts = [
|
|
|
33
33
|
const { classes } = extendableComponent(name, parts)
|
|
34
34
|
|
|
35
35
|
export default function ProductReviews(props: ProductReviewsProps) {
|
|
36
|
-
const { reviews, url_key,
|
|
36
|
+
const { reviews, url_key, sx = [] } = props
|
|
37
37
|
const config = 'en_US'
|
|
38
38
|
const locale = config.replace('_', '-')
|
|
39
39
|
|
|
@@ -74,7 +74,7 @@ export default function ProductReviews(props: ProductReviewsProps) {
|
|
|
74
74
|
marginTop: theme.spacings.sm,
|
|
75
75
|
})}
|
|
76
76
|
>
|
|
77
|
-
<Link href={`/account/reviews/add?
|
|
77
|
+
<Link href={`/account/reviews/add?url_key=${url_key}`} passHref>
|
|
78
78
|
<Button
|
|
79
79
|
variant='pill'
|
|
80
80
|
color='primary'
|
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.4",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,24 +12,26 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^4.0.
|
|
16
|
-
"@graphcommerce/prettier-config-pwa": "^4.0.
|
|
17
|
-
"@graphcommerce/typescript-config-pwa": "^4.0.
|
|
18
|
-
"@playwright/test": "^1.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^4.0.4",
|
|
16
|
+
"@graphcommerce/prettier-config-pwa": "^4.0.2",
|
|
17
|
+
"@graphcommerce/typescript-config-pwa": "^4.0.2",
|
|
18
|
+
"@playwright/test": "^1.19.1"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@graphcommerce/graphql": "^3.0.
|
|
22
|
-
"@graphcommerce/image": "^3.0
|
|
23
|
-
"@graphcommerce/magento-customer": "^4.
|
|
24
|
-
"@graphcommerce/magento-product": "^4.0.
|
|
25
|
-
"@graphcommerce/magento-store": "^4.0
|
|
26
|
-
"@graphcommerce/next-ui": "^4.
|
|
27
|
-
"@graphcommerce/react-hook-form": "^3.0.
|
|
21
|
+
"@graphcommerce/graphql": "^3.0.3",
|
|
22
|
+
"@graphcommerce/image": "^3.1.0",
|
|
23
|
+
"@graphcommerce/magento-customer": "^4.1.2",
|
|
24
|
+
"@graphcommerce/magento-product": "^4.0.4",
|
|
25
|
+
"@graphcommerce/magento-store": "^4.1.0",
|
|
26
|
+
"@graphcommerce/next-ui": "^4.1.3",
|
|
27
|
+
"@graphcommerce/react-hook-form": "^3.0.3",
|
|
28
|
+
"schema-dts": "^1.1.0"
|
|
29
|
+
},
|
|
30
|
+
"peerDependencies": {
|
|
28
31
|
"@lingui/macro": "^3.13.2",
|
|
29
32
|
"@mui/material": "^5.4.1",
|
|
30
33
|
"next": "^12.0.10",
|
|
31
34
|
"react": "^17.0.2",
|
|
32
|
-
"react-dom": "^17.0.2"
|
|
33
|
-
"schema-dts": "^1.0.0"
|
|
35
|
+
"react-dom": "^17.0.2"
|
|
34
36
|
}
|
|
35
37
|
}
|