@gsa-tts/graymatter-ui 0.3.19 → 0.3.20

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gsa-tts/graymatter-ui",
3
- "version": "0.3.19",
3
+ "version": "0.3.20",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -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
- {profileMenuData}
38
+ showAppIcons={showAppIcons}
39
+ hideDiscover={hideDiscover}
40
+ profileMenuData={profileMenuData}
39
41
  apiUrl={api}
40
42
  chatUrl={chat}
41
43
  consoleUrl={console}
@@ -58,9 +60,9 @@ 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}
63
+ profileMenuData={profileMenuData}
64
+ logoLinkUrl={logoLinkUrl}
65
+ logoLinkLabel={logoLinkLabel}
64
66
  apiUrl={api}
65
67
  chatUrl={chat}
66
68
  consoleUrl={console}
@@ -71,7 +73,8 @@ const { api, chat, console, discover } = getAppUrls();
71
73
  </MobileSideMenu>
72
74
  <MobileBottomNav
73
75
  client:load
74
- {showAppIcons}
76
+ showAppIcons={showAppIcons}
77
+ hideDiscover={hideDiscover}
75
78
  apiUrl={api}
76
79
  chatUrl={chat}
77
80
  consoleUrl={console}