@graphcommerce/magento-review 3.2.22 → 3.2.25

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,42 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.2.25
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`01f1588c9`](https://github.com/graphcommerce-org/graphcommerce/commit/01f1588c9200bb39dd61146e260bfa2b32060612), [`84428ccab`](https://github.com/graphcommerce-org/graphcommerce/commit/84428ccab8d1d263893766197076651eae68759c)]:
8
+ - @graphcommerce/graphql-mesh@4.1.6
9
+ - @graphcommerce/graphql@3.4.3
10
+ - @graphcommerce/magento-customer@4.8.1
11
+ - @graphcommerce/magento-product@4.4.17
12
+ - @graphcommerce/magento-store@4.2.19
13
+
14
+ ## 3.2.24
15
+
16
+ ### Patch Changes
17
+
18
+ - [#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
19
+
20
+ - 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)]:
21
+ - @graphcommerce/graphql@3.4.2
22
+ - @graphcommerce/magento-customer@4.8.0
23
+ - @graphcommerce/react-hook-form@3.3.1
24
+ - @graphcommerce/next-ui@4.14.0
25
+ - @graphcommerce/magento-product@4.4.16
26
+ - @graphcommerce/magento-store@4.2.18
27
+
28
+ ## 3.2.23
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [[`18054c441`](https://github.com/graphcommerce-org/graphcommerce/commit/18054c441962ba750bed3acc39ab46c8d3a341ce), [`c5c539c44`](https://github.com/graphcommerce-org/graphcommerce/commit/c5c539c44eeac524cd62ce649e132d2e00333794), [`6f69bc54c`](https://github.com/graphcommerce-org/graphcommerce/commit/6f69bc54c6e0224452817c532ae58d9c332b61ea), [`21886d6fa`](https://github.com/graphcommerce-org/graphcommerce/commit/21886d6fa64a48d9e932bfaf8d138c9b13c36e43)]:
33
+ - @graphcommerce/graphql@3.4.1
34
+ - @graphcommerce/graphql-mesh@4.1.5
35
+ - @graphcommerce/magento-customer@4.7.2
36
+ - @graphcommerce/next-ui@4.13.1
37
+ - @graphcommerce/magento-product@4.4.15
38
+ - @graphcommerce/magento-store@4.2.17
39
+
3
40
  ## 3.2.22
4
41
 
5
42
  ### 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.22",
5
+ "version": "3.2.25",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,20 +12,20 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.1.8",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.9",
16
16
  "@graphcommerce/prettier-config-pwa": "^4.0.6",
17
- "@graphcommerce/typescript-config-pwa": "^4.0.3",
17
+ "@graphcommerce/typescript-config-pwa": "^4.0.4",
18
18
  "@playwright/test": "^1.21.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "3.4.0",
22
- "@graphcommerce/graphql-mesh": "4.1.4",
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.1",
25
- "@graphcommerce/magento-product": "4.4.14",
26
- "@graphcommerce/magento-store": "4.2.16",
27
- "@graphcommerce/next-ui": "4.13.0",
28
- "@graphcommerce/react-hook-form": "3.3.0",
24
+ "@graphcommerce/magento-customer": "4.8.1",
25
+ "@graphcommerce/magento-product": "4.4.17",
26
+ "@graphcommerce/magento-store": "4.2.19",
27
+ "@graphcommerce/next-ui": "4.14.0",
28
+ "@graphcommerce/react-hook-form": "3.3.1",
29
29
  "schema-dts": "^1.1.0"
30
30
  },
31
31
  "peerDependencies": {