@graphcommerce/magento-review 3.0.2 → 3.0.3
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,30 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1280](https://github.com/ho-nl/m2-pwa/pull/1280)
|
|
8
|
+
[`bdd460c6f`](https://github.com/ho-nl/m2-pwa/commit/bdd460c6f09af148a96c55324012b8f53c3618f1)
|
|
9
|
+
Thanks [@paales](https://github.com/paales)! - Review forms now work by using the url_key of a
|
|
10
|
+
product instead of the SKU. Some backends do not support filtering by sku
|
|
11
|
+
|
|
12
|
+
* [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
|
|
13
|
+
Thanks [@paales](https://github.com/paales)! - made packages public
|
|
14
|
+
|
|
15
|
+
* Updated dependencies
|
|
16
|
+
[[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96),
|
|
17
|
+
[`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20),
|
|
18
|
+
[`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d),
|
|
19
|
+
[`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
|
|
20
|
+
- @graphcommerce/graphql@3.0.3
|
|
21
|
+
- @graphcommerce/image@3.1.0
|
|
22
|
+
- @graphcommerce/magento-customer@4.1.2
|
|
23
|
+
- @graphcommerce/magento-product@4.0.3
|
|
24
|
+
- @graphcommerce/magento-store@4.0.3
|
|
25
|
+
- @graphcommerce/next-ui@4.1.2
|
|
26
|
+
- @graphcommerce/react-hook-form@3.0.3
|
|
27
|
+
|
|
3
28
|
## 3.0.2
|
|
4
29
|
|
|
5
30
|
### 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.3",
|
|
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.
|
|
17
|
-
"@graphcommerce/typescript-config-pwa": "^4.0.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^4.0.3",
|
|
16
|
+
"@graphcommerce/prettier-config-pwa": "^4.0.2",
|
|
17
|
+
"@graphcommerce/typescript-config-pwa": "^4.0.2",
|
|
18
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.1.
|
|
24
|
-
"@graphcommerce/magento-product": "^4.0.
|
|
25
|
-
"@graphcommerce/magento-store": "^4.0.
|
|
26
|
-
"@graphcommerce/next-ui": "^4.1.
|
|
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.3",
|
|
25
|
+
"@graphcommerce/magento-store": "^4.0.3",
|
|
26
|
+
"@graphcommerce/next-ui": "^4.1.2",
|
|
27
|
+
"@graphcommerce/react-hook-form": "^3.0.3",
|
|
28
28
|
"schema-dts": "^1.0.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|