@graphcommerce/magento-review 3.2.23 → 3.2.26

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,40 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.2.26
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`e167992df`](https://github.com/graphcommerce-org/graphcommerce/commit/e167992dfdc6964a392af719667f8a188626ab1b), [`9c2504b4e`](https://github.com/graphcommerce-org/graphcommerce/commit/9c2504b4ed75f41d3003c4d3339814010e85e37e)]:
8
+ - @graphcommerce/next-ui@4.15.0
9
+ - @graphcommerce/magento-customer@4.8.2
10
+ - @graphcommerce/magento-product@4.4.18
11
+ - @graphcommerce/magento-store@4.2.20
12
+
13
+ ## 3.2.25
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [[`01f1588c9`](https://github.com/graphcommerce-org/graphcommerce/commit/01f1588c9200bb39dd61146e260bfa2b32060612), [`84428ccab`](https://github.com/graphcommerce-org/graphcommerce/commit/84428ccab8d1d263893766197076651eae68759c)]:
18
+ - @graphcommerce/graphql-mesh@4.1.6
19
+ - @graphcommerce/graphql@3.4.3
20
+ - @graphcommerce/magento-customer@4.8.1
21
+ - @graphcommerce/magento-product@4.4.17
22
+ - @graphcommerce/magento-store@4.2.19
23
+
24
+ ## 3.2.24
25
+
26
+ ### Patch Changes
27
+
28
+ - [#1553](https://github.com/graphcommerce-org/graphcommerce/pull/1553) [`02e1988e5`](https://github.com/graphcommerce-org/graphcommerce/commit/02e1988e5f361c6f66ae30d3bbee38ef2ac062df) Thanks [@NickdeK](https://github.com/NickdeK)! - Make sure the useDateTimeFormat isn't giving hydration warnings
29
+
30
+ - Updated dependencies [[`1afc6a547`](https://github.com/graphcommerce-org/graphcommerce/commit/1afc6a5473d6e31f47b5d0188801803b31865290), [`03d01c06c`](https://github.com/graphcommerce-org/graphcommerce/commit/03d01c06c6dc13df8d38ab5b40bd100c567a9e8d), [`4a4579bb2`](https://github.com/graphcommerce-org/graphcommerce/commit/4a4579bb2f7da378f3fcc504405caf2560dc10f6), [`afcd8e4bf`](https://github.com/graphcommerce-org/graphcommerce/commit/afcd8e4bfb7010da4d5faeed85b61991ed7975f4), [`02e1988e5`](https://github.com/graphcommerce-org/graphcommerce/commit/02e1988e5f361c6f66ae30d3bbee38ef2ac062df), [`323fdee4b`](https://github.com/graphcommerce-org/graphcommerce/commit/323fdee4b15ae23e0e84dd0588cb2c6446dcfd50)]:
31
+ - @graphcommerce/graphql@3.4.2
32
+ - @graphcommerce/magento-customer@4.8.0
33
+ - @graphcommerce/react-hook-form@3.3.1
34
+ - @graphcommerce/next-ui@4.14.0
35
+ - @graphcommerce/magento-product@4.4.16
36
+ - @graphcommerce/magento-store@4.2.18
37
+
3
38
  ## 3.2.23
4
39
 
5
40
  ### Patch Changes
@@ -24,7 +24,7 @@ export function CustomerReview(props: CustomerReviewProps) {
24
24
  const valuePerStar = maxAverageRating / totalStars
25
25
  const totalFilledStars = (average_rating / maxAverageRating / valuePerStar) * 100
26
26
 
27
- const dateFormatter = useDateTimeFormat({ year: 'numeric', month: 'long', day: 'numeric' })
27
+ const dateFormatter = useDateTimeFormat({ dateStyle: 'long' })
28
28
 
29
29
  return (
30
30
  <Box
@@ -52,13 +52,7 @@ export function ProductReviews(props: ProductReviewsProps) {
52
52
 
53
53
  const { current_page, total_pages } = myReviews.page_info
54
54
 
55
- const formatter = useDateTimeFormat({
56
- year: 'numeric',
57
- month: 'long',
58
- day: 'numeric',
59
- hour: 'numeric',
60
- minute: 'numeric',
61
- })
55
+ const formatter = useDateTimeFormat({ dateStyle: 'long', timeStyle: 'short' })
62
56
 
63
57
  if (!reviews) {
64
58
  return null
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.2.23",
5
+ "version": "3.2.26",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -18,14 +18,14 @@
18
18
  "@playwright/test": "^1.21.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "3.4.1",
22
- "@graphcommerce/graphql-mesh": "4.1.5",
21
+ "@graphcommerce/graphql": "3.4.3",
22
+ "@graphcommerce/graphql-mesh": "4.1.6",
23
23
  "@graphcommerce/image": "3.1.7",
24
- "@graphcommerce/magento-customer": "4.7.2",
25
- "@graphcommerce/magento-product": "4.4.15",
26
- "@graphcommerce/magento-store": "4.2.17",
27
- "@graphcommerce/next-ui": "4.13.1",
28
- "@graphcommerce/react-hook-form": "3.3.0",
24
+ "@graphcommerce/magento-customer": "4.8.2",
25
+ "@graphcommerce/magento-product": "4.4.18",
26
+ "@graphcommerce/magento-store": "4.2.20",
27
+ "@graphcommerce/next-ui": "4.15.0",
28
+ "@graphcommerce/react-hook-form": "3.3.1",
29
29
  "schema-dts": "^1.1.0"
30
30
  },
31
31
  "peerDependencies": {