@graphcommerce/magento-customer 4.1.2 → 4.1.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,21 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.1.3
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/ecommerce-ui@1.0.2
17
+ - @graphcommerce/next-ui@4.2.0
18
+
3
19
  ## 4.1.2
4
20
 
5
21
  ### Patch Changes
@@ -2,7 +2,7 @@ import {
2
2
  FullPageMessage,
3
3
  SectionContainer,
4
4
  iconHome,
5
- SvgIcon,
5
+ IconSvg,
6
6
  extendableComponent,
7
7
  } from '@graphcommerce/next-ui'
8
8
  import { Trans } from '@lingui/macro'
@@ -57,7 +57,7 @@ export default function AccountAddresses(props: AccountAddressesProps) {
57
57
  {((addresses && addresses.length === 0) || !addresses) && (
58
58
  <FullPageMessage
59
59
  title={<Trans>You have no addresses saved yet</Trans>}
60
- icon={<SvgIcon src={iconHome} size='xxl' />}
60
+ icon={<IconSvg src={iconHome} size='xxl' />}
61
61
  button={
62
62
  <Link href='/account/addresses/add' passHref>
63
63
  <Button size='large' variant='contained' color='primary'>
@@ -1,5 +1,5 @@
1
1
  import { ApolloErrorFullPage, ApolloErrorAlertProps } from '@graphcommerce/ecommerce-ui'
2
- import { iconPerson, SvgIcon } from '@graphcommerce/next-ui'
2
+ import { iconPerson, IconSvg } from '@graphcommerce/next-ui'
3
3
  import { Trans } from '@lingui/macro'
4
4
  import { Button } from '@mui/material'
5
5
  import PageLink from 'next/link'
@@ -17,7 +17,7 @@ export default function ApolloCustomerErrorFullPage(props: ApolloCustomerErrorFu
17
17
  return (
18
18
  <ApolloErrorFullPage
19
19
  error={error}
20
- icon={<SvgIcon src={iconPerson} size='xxl' />}
20
+ icon={<IconSvg src={iconPerson} size='xxl' />}
21
21
  button={
22
22
  unauthorized ? (
23
23
  <PageLink href={signInHref} passHref>
@@ -2,7 +2,7 @@ import { useQuery } from '@graphcommerce/graphql'
2
2
  import {
3
3
  iconPerson,
4
4
  DesktopHeaderBadge,
5
- SvgIcon,
5
+ IconSvg,
6
6
  extendableComponent,
7
7
  } from '@graphcommerce/next-ui'
8
8
  import { t } from '@lingui/macro'
@@ -44,7 +44,7 @@ function CustomerFabContent(props: CustomerFabContentProps) {
44
44
  variant='dot'
45
45
  overlap='circular'
46
46
  >
47
- {icon ?? <SvgIcon src={iconPerson} size='large' />}
47
+ {icon ?? <IconSvg src={iconPerson} size='large' />}
48
48
  </DesktopHeaderBadge>
49
49
  </Fab>
50
50
  </PageLink>
@@ -3,7 +3,7 @@ import {
3
3
  MenuFabSecondaryItem,
4
4
  DesktopHeaderBadge,
5
5
  iconPerson,
6
- SvgIcon,
6
+ IconSvg,
7
7
  } from '@graphcommerce/next-ui'
8
8
  import { NoSsr, SxProps, Theme } from '@mui/material'
9
9
  import React from 'react'
@@ -31,7 +31,7 @@ function CustomerMenuFabItemContent(props: CustomerMenuFabItemProps) {
31
31
  variant='dot'
32
32
  overlap='circular'
33
33
  >
34
- {icon ?? <SvgIcon src={iconPerson} size='medium' />}
34
+ {icon ?? <IconSvg src={iconPerson} size='medium' />}
35
35
  </DesktopHeaderBadge>
36
36
  }
37
37
  href={requireAuth ? guestHref : authHref}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-customer",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.1.2",
5
+ "version": "4.1.3",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -18,12 +18,12 @@
18
18
  "@playwright/test": "^1.19.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/ecommerce-ui": "^1.0.1",
21
+ "@graphcommerce/ecommerce-ui": "^1.0.2",
22
22
  "@graphcommerce/graphql": "^3.0.3",
23
23
  "@graphcommerce/image": "^3.1.0",
24
24
  "@graphcommerce/magento-graphql": "^3.0.3",
25
25
  "@graphcommerce/magento-store": "^4.0.3",
26
- "@graphcommerce/next-ui": "^4.1.2",
26
+ "@graphcommerce/next-ui": "^4.2.0",
27
27
  "@graphcommerce/react-hook-form": "^3.0.3"
28
28
  },
29
29
  "peerDependencies": {