@graphcommerce/magento-review 3.0.4 → 3.0.5

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,22 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1292](https://github.com/ho-nl/m2-pwa/pull/1292)
8
+ [`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0)
9
+ Thanks [@paales](https://github.com/paales)! - Renamed SvgIcon to IconSvg to prevent collisions
10
+ with MUI
11
+
12
+ - Updated dependencies
13
+ [[`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0),
14
+ [`990df655b`](https://github.com/ho-nl/m2-pwa/commit/990df655b73b469718d6cb5837ee65dfe2ad6a1d),
15
+ [`63f9b56eb`](https://github.com/ho-nl/m2-pwa/commit/63f9b56eb68ba790567ff1427e599fd2c3c8f1ee)]:
16
+ - @graphcommerce/magento-customer@4.1.3
17
+ - @graphcommerce/magento-product@4.0.5
18
+ - @graphcommerce/next-ui@4.2.0
19
+
3
20
  ## 3.0.4
4
21
 
5
22
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { SvgIcon, iconStar } from '@graphcommerce/next-ui'
1
+ import { IconSvg, iconStar } from '@graphcommerce/next-ui'
2
2
  import { Chip, ChipProps } from '@mui/material'
3
3
  import React from 'react'
4
4
 
@@ -32,7 +32,7 @@ export default function ProductReviewChip(props: ProductReviewChipProps) {
32
32
  variant='outlined'
33
33
  clickable={!!reviewSectionId}
34
34
  onClick={handleClick}
35
- icon={<SvgIcon src={iconStar} size='small' sx={{ stroke: '#FFDA1C', fill: '#FFDA1C' }} />}
35
+ icon={<IconSvg src={iconStar} size='small' sx={{ stroke: '#FFDA1C', fill: '#FFDA1C' }} />}
36
36
  color='default'
37
37
  size='small'
38
38
  label={`${normalizedRating}/5`}
@@ -1,4 +1,4 @@
1
- import { SvgIcon, iconStar, extendableComponent } from '@graphcommerce/next-ui'
1
+ import { IconSvg, iconStar, extendableComponent } from '@graphcommerce/next-ui'
2
2
  import { Box, SxProps, Theme } from '@mui/material'
3
3
  import { ProductReviewSummaryFragment } from './ProductReviewSummary.gql'
4
4
 
@@ -14,7 +14,7 @@ export default function ProductReviewSummary(props: ProductReviewSummaryProps) {
14
14
  if (!rating_summary) return null
15
15
 
16
16
  const disabledStar = (
17
- <SvgIcon
17
+ <IconSvg
18
18
  src={iconStar}
19
19
  size='xs'
20
20
  className={classes.iconStarDisabled}
@@ -23,7 +23,7 @@ export default function ProductReviewSummary(props: ProductReviewSummaryProps) {
23
23
  )
24
24
 
25
25
  const star = (
26
- <SvgIcon
26
+ <IconSvg
27
27
  src={iconStar}
28
28
  size='xs'
29
29
  className={classes.iconStar}
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.4",
5
+ "version": "3.0.5",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@graphcommerce/graphql": "^3.0.3",
22
22
  "@graphcommerce/image": "^3.1.0",
23
- "@graphcommerce/magento-customer": "^4.1.2",
24
- "@graphcommerce/magento-product": "^4.0.4",
23
+ "@graphcommerce/magento-customer": "^4.1.3",
24
+ "@graphcommerce/magento-product": "^4.0.5",
25
25
  "@graphcommerce/magento-store": "^4.1.0",
26
- "@graphcommerce/next-ui": "^4.1.3",
26
+ "@graphcommerce/next-ui": "^4.2.0",
27
27
  "@graphcommerce/react-hook-form": "^3.0.3",
28
28
  "schema-dts": "^1.1.0"
29
29
  },