@gsa-tts/graymatter-ui 0.3.19 → 0.3.21
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/package.json +1 -1
- package/src/components/index.ts +0 -3
- package/src/layouts/BaseLayout.astro +1 -1
- package/src/layouts/DocsLayout.astro +2 -0
- package/src/layouts/GlobalAppLayout.astro +9 -10
- /package/src/{components → layouts}/GoogleTagManager.astro +0 -0
- /package/src/{components → layouts}/Head.astro +0 -0
package/package.json
CHANGED
package/src/components/index.ts
CHANGED
|
@@ -15,6 +15,7 @@ const {
|
|
|
15
15
|
disableCodeCopyButtons = false,
|
|
16
16
|
postItems = null,
|
|
17
17
|
profileMenuData = null,
|
|
18
|
+
hideDiscover = true,
|
|
18
19
|
} = Astro.props;
|
|
19
20
|
---
|
|
20
21
|
|
|
@@ -28,6 +29,7 @@ const {
|
|
|
28
29
|
title={title}
|
|
29
30
|
{description}
|
|
30
31
|
{openGraphImage}
|
|
32
|
+
{hideDiscover}
|
|
31
33
|
>
|
|
32
34
|
<!-- Initialize navigation state and auto-expand submenu for section pages -->
|
|
33
35
|
<NavigationInitializer
|
|
@@ -21,6 +21,7 @@ const {
|
|
|
21
21
|
title: pageTitle,
|
|
22
22
|
description,
|
|
23
23
|
openGraphImage,
|
|
24
|
+
hideDiscover = true,
|
|
24
25
|
} = Astro.props;
|
|
25
26
|
|
|
26
27
|
const { api, chat, console, discover } = getAppUrls();
|
|
@@ -34,8 +35,9 @@ const { api, chat, console, discover } = getAppUrls();
|
|
|
34
35
|
<DesktopSideNav
|
|
35
36
|
client:load
|
|
36
37
|
ssrSelectedItem={ssrSelectedItem}
|
|
37
|
-
{showAppIcons}
|
|
38
|
-
{
|
|
38
|
+
showAppIcons={showAppIcons}
|
|
39
|
+
hideDiscover={hideDiscover}
|
|
40
|
+
profileMenuData={profileMenuData}
|
|
39
41
|
apiUrl={api}
|
|
40
42
|
chatUrl={chat}
|
|
41
43
|
consoleUrl={console}
|
|
@@ -58,20 +60,17 @@ const { api, chat, console, discover } = getAppUrls();
|
|
|
58
60
|
<nav aria-label="Mobile navigation">
|
|
59
61
|
<MobileTopNav
|
|
60
62
|
client:load
|
|
61
|
-
{profileMenuData}
|
|
62
|
-
{logoLinkUrl}
|
|
63
|
-
{logoLinkLabel}
|
|
64
|
-
apiUrl={api}
|
|
65
|
-
chatUrl={chat}
|
|
66
|
-
consoleUrl={console}
|
|
67
|
-
discoverUrl={discover}
|
|
63
|
+
profileMenuData={profileMenuData}
|
|
64
|
+
logoLinkUrl={logoLinkUrl}
|
|
65
|
+
logoLinkLabel={logoLinkLabel}
|
|
68
66
|
/>
|
|
69
67
|
<MobileSideMenu client:load {logoLinkUrl} {logoLinkLabel}>
|
|
70
68
|
<slot name="sub-nav" />
|
|
71
69
|
</MobileSideMenu>
|
|
72
70
|
<MobileBottomNav
|
|
73
71
|
client:load
|
|
74
|
-
{showAppIcons}
|
|
72
|
+
showAppIcons={showAppIcons}
|
|
73
|
+
hideDiscover={hideDiscover}
|
|
75
74
|
apiUrl={api}
|
|
76
75
|
chatUrl={chat}
|
|
77
76
|
consoleUrl={console}
|
|
File without changes
|
|
File without changes
|