@graphcommerce/magento-customer 4.1.4 → 4.1.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,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.1.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1322](https://github.com/graphcommerce-org/graphcommerce/pull/1322) [`3b4d46de2`](https://github.com/graphcommerce-org/graphcommerce/commit/3b4d46de2555db9eed733c8fac574bc809d75da4) Thanks [@paales](https://github.com/paales)! - CustomerMenuFabItem badge was rendered with the wrong size
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`5266388ea`](https://github.com/graphcommerce-org/graphcommerce/commit/5266388eaffda41592623ef7a3ddbbe03c8e0dad), [`9b35403d9`](https://github.com/graphcommerce-org/graphcommerce/commit/9b35403d9dbb2606ac7cf3bb641a0f9cc3d8a2ba), [`0298a0de1`](https://github.com/graphcommerce-org/graphcommerce/commit/0298a0de1d13e543c4124a6a099297b4e27e2b05), [`815132ea4`](https://github.com/graphcommerce-org/graphcommerce/commit/815132ea43937b4b84b59ec9974ac593cb4eb456), [`3326742a0`](https://github.com/graphcommerce-org/graphcommerce/commit/3326742a0dceb45f0cac4741ca09dc4d4f09ad90), [`7a3799bfc`](https://github.com/graphcommerce-org/graphcommerce/commit/7a3799bfc107f26aa9991a91db5f228e3476f4aa), [`9a77f88ed`](https://github.com/graphcommerce-org/graphcommerce/commit/9a77f88ed26cbecdae9a135c3cb234a5b7ecf4df), [`0eeaad304`](https://github.com/graphcommerce-org/graphcommerce/commit/0eeaad30461b1d5b486438f0287fa76d49429044), [`bc5213547`](https://github.com/graphcommerce-org/graphcommerce/commit/bc52135471479c83d989449dad24798112e898f4), [`3f1912f55`](https://github.com/graphcommerce-org/graphcommerce/commit/3f1912f553318d5888f8af2b841918ef4ae96a84), [`b6c68cda8`](https://github.com/graphcommerce-org/graphcommerce/commit/b6c68cda8836a1d0c78ef351899cec9ec1037385)]:
|
|
10
|
+
- @graphcommerce/next-ui@4.3.0
|
|
11
|
+
- @graphcommerce/magento-store@4.1.3
|
|
12
|
+
|
|
3
13
|
## 4.1.4
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { useQuery } from '@graphcommerce/graphql'
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
DesktopHeaderBadge,
|
|
5
|
-
iconPerson,
|
|
6
|
-
IconSvg,
|
|
7
|
-
} from '@graphcommerce/next-ui'
|
|
8
|
-
import { NoSsr, SxProps, Theme } from '@mui/material'
|
|
2
|
+
import { MenuFabSecondaryItem, iconPerson, IconSvg } from '@graphcommerce/next-ui'
|
|
3
|
+
import { Badge, NoSsr, SxProps, Theme } from '@mui/material'
|
|
9
4
|
import React from 'react'
|
|
10
5
|
import { CustomerTokenDocument, CustomerTokenQuery } from '../../hooks'
|
|
11
6
|
|
|
@@ -25,14 +20,14 @@ function CustomerMenuFabItemContent(props: CustomerMenuFabItemProps) {
|
|
|
25
20
|
<MenuFabSecondaryItem
|
|
26
21
|
sx={sx}
|
|
27
22
|
icon={
|
|
28
|
-
<
|
|
23
|
+
<Badge
|
|
29
24
|
badgeContent={customerToken?.token ? 1 : 0}
|
|
30
25
|
color={customerToken?.valid ? 'primary' : 'error'}
|
|
31
26
|
variant='dot'
|
|
32
27
|
overlap='circular'
|
|
33
28
|
>
|
|
34
29
|
{icon ?? <IconSvg src={iconPerson} size='medium' />}
|
|
35
|
-
</
|
|
30
|
+
</Badge>
|
|
36
31
|
}
|
|
37
32
|
href={requireAuth ? guestHref : authHref}
|
|
38
33
|
>
|
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.
|
|
5
|
+
"version": "4.1.5",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"@graphcommerce/graphql": "^3.0.4",
|
|
23
23
|
"@graphcommerce/image": "^3.1.1",
|
|
24
24
|
"@graphcommerce/magento-graphql": "^3.0.4",
|
|
25
|
-
"@graphcommerce/magento-store": "^4.1.
|
|
26
|
-
"@graphcommerce/next-ui": "^4.
|
|
25
|
+
"@graphcommerce/magento-store": "^4.1.3",
|
|
26
|
+
"@graphcommerce/next-ui": "^4.3.0",
|
|
27
27
|
"@graphcommerce/react-hook-form": "^3.0.4"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|