@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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## 0.58.0 — 2026-09-30
2
+
3
+ ### Fixed — Meta build-metadata row renders for every viewer (`src/app-chrome/index.tsx`)
4
+
5
+ `useChromeFooter` gated the `env | commit | version` / `date | author` rows
6
+ behind Super Administrator. Reference/UI-Platform "Left bar — required
7
+ elements" and Specs/Left-Navigation §10 list Meta unconditionally, so every
8
+ non-admin viewer was missing a required rail element (DevNotes 83a64713).
9
+
10
+ ### Fixed — rail font pinned to the Brand token (`src/native/index.tsx`)
11
+
12
+ `NavSidebar` now sets `font-family: var(--font-family, …)` directly instead
13
+ of inheriting `body`, so an app-level font (Contacts) can no longer leak into
14
+ the left rail (DevNotes 64a4961e).
15
+
1
16
  ## 0.57.0 — 2026-09-30
2
17
 
3
18
  ### Fixed — 10DLC alert no longer auto-redirects on every login (`src/native/chromeActions.tsx`)
@@ -2094,6 +2094,7 @@ function NavSidebar({
2094
2094
  "fixed inset-y-0 left-0 w-[240px] flex-col border-r border-[color:var(--line)] bg-[color:var(--sidebar-bg,var(--nav-surface))] lg:flex",
2095
2095
  open ? "flex z-50" : "hidden z-30"
2096
2096
  ),
2097
+ style: { fontFamily: 'var(--font-family, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif)' },
2097
2098
  onKeyDown: trapTab,
2098
2099
  onClick: (e) => {
2099
2100
  if (open && e.target.closest("a[href]")) onClose?.();
@@ -4576,10 +4577,9 @@ var FOOTER_LINKS = [
4576
4577
  }
4577
4578
  ];
4578
4579
  function useChromeFooter(meta) {
4579
- const isSuperAdmin = useIsSuperAdmin();
4580
4580
  return react.useMemo(
4581
- () => isSuperAdmin ? { links: FOOTER_LINKS, ...meta } : { links: FOOTER_LINKS },
4582
- [isSuperAdmin, meta.envLabel, meta.version, meta.commit, meta.commitDate, meta.commitAuthor]
4581
+ () => ({ links: FOOTER_LINKS, ...meta }),
4582
+ [meta.envLabel, meta.version, meta.commit, meta.commitDate, meta.commitAuthor]
4583
4583
  );
4584
4584
  }
4585
4585
  function useChromeIdentity(fallback) {