@graphcommerce/next-ui 3.23.1 → 3.24.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/AppShell/GlobalHead.tsx +3 -2
- package/AppShell/Logo.tsx +1 -1
- package/AppShell/MenuFab.tsx +1 -1
- package/CHANGELOG.md +44 -0
- package/Layout/components/LayoutHeader.tsx +3 -1
- package/package.json +3 -3
package/AppShell/GlobalHead.tsx
CHANGED
|
@@ -26,9 +26,10 @@ export function GlobalHead(props: GlobalHeadProps) {
|
|
|
26
26
|
<meta name='apple-mobile-web-app-title' content={name} key='apple-mobile-web-app-title' />
|
|
27
27
|
<meta name='format-detection' content='telephone=no' key='format-detection' />
|
|
28
28
|
<meta name='mobile-web-app-capable' content='yes' key='mobile-web-app-capable' />
|
|
29
|
-
<link rel='
|
|
29
|
+
<link rel='icon' href='/favicon.ico' sizes='any' />
|
|
30
|
+
<link rel='icon' href='/favicon.svg' type='image/svg+xml' />
|
|
31
|
+
<link rel='apple-touch-icon' href='/apple-touch-icon.png' />
|
|
30
32
|
<link rel='manifest' href='/manifest.webmanifest' key='manifest' />
|
|
31
|
-
<link rel='icon' href='/manifest/favicon.ico' key='icon' />
|
|
32
33
|
</Head>
|
|
33
34
|
)
|
|
34
35
|
}
|
package/AppShell/Logo.tsx
CHANGED
|
@@ -32,7 +32,7 @@ export default function Logo(props: LogoProps) {
|
|
|
32
32
|
const router = useRouter()
|
|
33
33
|
const classes = useStyles(props)
|
|
34
34
|
|
|
35
|
-
return router.asPath === '/' ? (
|
|
35
|
+
return router.asPath.split('?')[0] === '/' ? (
|
|
36
36
|
<div className={classes.parent}>
|
|
37
37
|
<Image layout='fixed' loading='eager' {...image} className={classes.logo} />
|
|
38
38
|
</div>
|
package/AppShell/MenuFab.tsx
CHANGED
|
@@ -140,7 +140,7 @@ export default function MenuFab(props: MenuFabProps) {
|
|
|
140
140
|
<ListItem
|
|
141
141
|
button
|
|
142
142
|
dense
|
|
143
|
-
selected={router.asPath === '/'}
|
|
143
|
+
selected={router.asPath.split('?')[0] === '/'}
|
|
144
144
|
classes={{ root: classes.menuItem }}
|
|
145
145
|
>
|
|
146
146
|
<ListItemText classes={{ primary: classes.menuItemText }}>Home</ListItemText>
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.24.3](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.24.2...@graphcommerce/next-ui@3.24.3) (2022-01-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* prevent layout from breaking when url has params ([9197bf7](https://github.com/ho-nl/m2-pwa/commit/9197bf72c5c3e422d70741cadbc40b19a1ae4936))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.24.2](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.24.1...@graphcommerce/next-ui@3.24.2) (2022-01-21)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* favicon.svg path ([fefe20b](https://github.com/ho-nl/m2-pwa/commit/fefe20bd1d8392b9d39632c6335395dd4931af2f))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [3.24.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.24.0...@graphcommerce/next-ui@3.24.1) (2022-01-18)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* favicon and manifest ([304d6dd](https://github.com/ho-nl/m2-pwa/commit/304d6dd7769d349b02b06dfdfdc3f9d22a4af081))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# [3.24.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.23.1...@graphcommerce/next-ui@3.24.0) (2022-01-17)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
* manifest and favicon ([a82202c](https://github.com/ho-nl/m2-pwa/commit/a82202c0e572f005cbcfca815936af9356eb2767))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
## [3.23.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.23.0...@graphcommerce/next-ui@3.23.1) (2022-01-04)
|
|
7
51
|
|
|
8
52
|
|
|
@@ -131,7 +131,7 @@ export function LayoutHeader(props: LayoutHeaderProps) {
|
|
|
131
131
|
divider: !!divider,
|
|
132
132
|
})
|
|
133
133
|
|
|
134
|
-
return (
|
|
134
|
+
return children ? (
|
|
135
135
|
<div {...className('sticky')}>
|
|
136
136
|
<LayoutHeaderContent
|
|
137
137
|
left={left}
|
|
@@ -144,5 +144,7 @@ export function LayoutHeader(props: LayoutHeaderProps) {
|
|
|
144
144
|
{children}
|
|
145
145
|
</LayoutHeaderContent>
|
|
146
146
|
</div>
|
|
147
|
+
) : (
|
|
148
|
+
<></>
|
|
147
149
|
)
|
|
148
150
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/next-ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.24.3",
|
|
4
4
|
"author": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@apollo/client": "^3.5.6",
|
|
13
13
|
"@graphcommerce/framer-next-pages": "^2.109.2",
|
|
14
|
-
"@graphcommerce/framer-scroller": "^1.2.
|
|
14
|
+
"@graphcommerce/framer-scroller": "^1.2.8",
|
|
15
15
|
"@graphcommerce/framer-utils": "^2.103.21",
|
|
16
16
|
"@graphcommerce/graphql": "^2.105.13",
|
|
17
17
|
"@graphcommerce/image": "^2.105.13",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"project": "./tsconfig.json"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "058c76b8990aae1a2a018a5b659dc7dda0651af8"
|
|
55
55
|
}
|