@graphcommerce/magento-review 3.2.21 → 3.2.24

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,41 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.2.24
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ - 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)]:
10
+ - @graphcommerce/graphql@3.4.2
11
+ - @graphcommerce/magento-customer@4.8.0
12
+ - @graphcommerce/react-hook-form@3.3.1
13
+ - @graphcommerce/next-ui@4.14.0
14
+ - @graphcommerce/magento-product@4.4.16
15
+ - @graphcommerce/magento-store@4.2.18
16
+
17
+ ## 3.2.23
18
+
19
+ ### Patch Changes
20
+
21
+ - 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)]:
22
+ - @graphcommerce/graphql@3.4.1
23
+ - @graphcommerce/graphql-mesh@4.1.5
24
+ - @graphcommerce/magento-customer@4.7.2
25
+ - @graphcommerce/next-ui@4.13.1
26
+ - @graphcommerce/magento-product@4.4.15
27
+ - @graphcommerce/magento-store@4.2.17
28
+
29
+ ## 3.2.22
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [[`8d8fda262`](https://github.com/graphcommerce-org/graphcommerce/commit/8d8fda2623e561cb43441110c67ffa34b692668a), [`d41cff721`](https://github.com/graphcommerce-org/graphcommerce/commit/d41cff7211230561ceeb7786cf75790efd6377cd), [`cefa7b365`](https://github.com/graphcommerce-org/graphcommerce/commit/cefa7b3652b55108d2178927e3c5d98a111cf373)]:
34
+ - @graphcommerce/next-ui@4.13.0
35
+ - @graphcommerce/magento-store@4.2.16
36
+ - @graphcommerce/magento-customer@4.7.1
37
+ - @graphcommerce/magento-product@4.4.14
38
+
3
39
  ## 3.2.21
4
40
 
5
41
  ### 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.21",
5
+ "version": "3.2.24",
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.2",
22
+ "@graphcommerce/graphql-mesh": "4.1.5",
23
23
  "@graphcommerce/image": "3.1.7",
24
- "@graphcommerce/magento-customer": "4.7.0",
25
- "@graphcommerce/magento-product": "4.4.13",
26
- "@graphcommerce/magento-store": "4.2.15",
27
- "@graphcommerce/next-ui": "4.12.0",
28
- "@graphcommerce/react-hook-form": "3.3.0",
24
+ "@graphcommerce/magento-customer": "4.8.0",
25
+ "@graphcommerce/magento-product": "4.4.16",
26
+ "@graphcommerce/magento-store": "4.2.18",
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": {