@the-portland-company/shell 0.80.0 → 0.80.1

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.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { broadcastLogout, watchLogout } from './chunk-LL6LSJAH.js';
3
- import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell } from './chunk-KXVRYN5D.js';
4
- export { standardNavIcons } from './chunk-KXVRYN5D.js';
3
+ import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell } from './chunk-DXJOADNV.js';
4
+ export { standardNavIcons } from './chunk-DXJOADNV.js';
5
5
  import { warnDeprecated, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-TUK2IEL5.js';
6
6
  import './chunk-BHRVZPZ7.js';
7
7
  import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, writeNavDisplayLocal, writeNavDisplayCookie, isNavDisplayPreference, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-7YVJ7HQG.js';
@@ -228,7 +228,12 @@ function standardPolitogyNav(opts) {
228
228
  { kind: "section", label: "Relationship" },
229
229
  // Dashboard moved to the standalone Dashboard app (dashboard.politogyvrm.com,
230
230
  // Specs/Relationship-Dashboard) with the retirement of app.politogyvrm.com.
231
- { label: "Dashboard", icon: icon("layoutDashboard"), href: withOrg(DASHBOARD_ORIGIN) },
231
+ // The row links to the page itself (`/dashboard`), not the host root.
232
+ // The root only redirects there, and `isNavItemActive` treats a `/`
233
+ // target as active on `/` alone, so a root link left the Dashboard row
234
+ // without its active marker on the Dashboard (Left-Navigation §8.1,
235
+ // §11.3 "exactly one row is active").
236
+ { label: "Dashboard", icon: icon("layoutDashboard"), href: withOrg(`${DASHBOARD_ORIGIN}dashboard`) },
232
237
  contacts,
233
238
  {
234
239
  label: "Email broadcast",
@@ -1950,5 +1955,5 @@ function NavAppShell({
1950
1955
  }
1951
1956
 
1952
1957
  export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, NavAppShell, NavBetaBanner, NavSidebar, NavTabStrip, NavTopBar, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, shortEnvLabel, shortUserName, standardNavIcons, standardPolitogyNav };
1953
- //# sourceMappingURL=chunk-KXVRYN5D.js.map
1954
- //# sourceMappingURL=chunk-KXVRYN5D.js.map
1958
+ //# sourceMappingURL=chunk-DXJOADNV.js.map
1959
+ //# sourceMappingURL=chunk-DXJOADNV.js.map