@the-portland-company/shell 0.57.0 → 0.58.0

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.
@@ -402,9 +402,13 @@ declare function ChromeTopBarActions(): react_jsx_runtime.JSX.Element | null;
402
402
  /** True when any core-org membership carries a super-admin tier. */
403
403
  declare function useIsSuperAdmin(): boolean;
404
404
  /**
405
- * Sidebar footer: legal links for everyone; build metadata (env / commit /
406
- * version / date / author) ONLY for Super Administrators
407
- * (Reference/UI-Platform). Pass the app's build-time metadata in.
405
+ * Sidebar footer: legal links AND build metadata (env / commit / version /
406
+ * date / author) for every user. Reference/UI-Platform "Left bar — required
407
+ * elements" lists Meta unconditionally — it carries no Super Administrator
408
+ * gate. Gating it here (pre-2026-09-30) silently dropped the whole Meta row
409
+ * for every non-admin viewer, which is exactly the "Left Nav not adhering to
410
+ * UI/UX rules" violation DevNotes 83a4713 filed against Contacts. Pass the
411
+ * app's build-time metadata in; it now always reaches the rail.
408
412
  */
409
413
  declare function useChromeFooter(meta: {
410
414
  envLabel?: string;
@@ -402,9 +402,13 @@ declare function ChromeTopBarActions(): react_jsx_runtime.JSX.Element | null;
402
402
  /** True when any core-org membership carries a super-admin tier. */
403
403
  declare function useIsSuperAdmin(): boolean;
404
404
  /**
405
- * Sidebar footer: legal links for everyone; build metadata (env / commit /
406
- * version / date / author) ONLY for Super Administrators
407
- * (Reference/UI-Platform). Pass the app's build-time metadata in.
405
+ * Sidebar footer: legal links AND build metadata (env / commit / version /
406
+ * date / author) for every user. Reference/UI-Platform "Left bar — required
407
+ * elements" lists Meta unconditionally — it carries no Super Administrator
408
+ * gate. Gating it here (pre-2026-09-30) silently dropped the whole Meta row
409
+ * for every non-admin viewer, which is exactly the "Left Nav not adhering to
410
+ * UI/UX rules" violation DevNotes 83a4713 filed against Contacts. Pass the
411
+ * app's build-time metadata in; it now always reaches the rail.
408
412
  */
409
413
  declare function useChromeFooter(meta: {
410
414
  envLabel?: string;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { broadcastLogout, watchLogout } from './chunk-LL6LSJAH.js';
3
- import { clearBetaBannerDismissal, standardPolitogyNav, NavAppShell, NavChromeProvider, FuelAction, NavDisplayAction, TopBarWidgetSlot, SpecOverlayAction, SupportAction, NotificationsAction, useChromeMe, useThemePreference, useNavChromeFetcher, useChromeOrgs } from './chunk-TMOZTLUZ.js';
3
+ import { clearBetaBannerDismissal, standardPolitogyNav, NavAppShell, NavChromeProvider, FuelAction, NavDisplayAction, TopBarWidgetSlot, SpecOverlayAction, SupportAction, NotificationsAction, useChromeMe, useThemePreference, useNavChromeFetcher, useChromeOrgs } from './chunk-BV2QF7NY.js';
4
4
  import './chunk-U4RZPZET.js';
5
5
  import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, isNavDisplayPreference, writeNavDisplayCookie, writeNavDisplayLocal, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-6UHJV2FH.js';
6
6
  import { resolveActiveOrg, isOrgId, writeActiveOrgCookie, ACTIVE_ORG_QUERY_PARAM, readActiveOrgCookie } from './chunk-W2HITMV5.js';
@@ -1175,10 +1175,9 @@ var FOOTER_LINKS = [
1175
1175
  }
1176
1176
  ];
1177
1177
  function useChromeFooter(meta) {
1178
- const isSuperAdmin = useIsSuperAdmin();
1179
1178
  return useMemo(
1180
- () => isSuperAdmin ? { links: FOOTER_LINKS, ...meta } : { links: FOOTER_LINKS },
1181
- [isSuperAdmin, meta.envLabel, meta.version, meta.commit, meta.commitDate, meta.commitAuthor]
1179
+ () => ({ links: FOOTER_LINKS, ...meta }),
1180
+ [meta.envLabel, meta.version, meta.commit, meta.commitDate, meta.commitAuthor]
1182
1181
  );
1183
1182
  }
1184
1183
  function useChromeIdentity(fallback) {