@the-portland-company/shell 0.60.0 → 0.60.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 0.60.1 — 2026-09-30
2
+
3
+ ### Fixed
4
+
5
+ - **Meta footer contrast (WCAG 2.2 AA).** The commit / version / date / author rows inherited `--muted` (#718096, 4.02:1 on the light rail) and, since 0.58.0 renders Meta for every viewer, tripped Petitions' contrast regression gate (+4 fails per route). New token `--sidebar-meta-text` (light #696D72 = 5.2:1, dark #A3A3A3 = 7.2:1) scoped to the Meta block (`data-shell-meta`); separators and the env chip unchanged.
6
+
7
+ ## 0.60.0 — 2026-09-30
8
+
9
+ ### Added
10
+
11
+ - **Spec overlay: Capture my view** — compare the design against this tab (own org/theme) (#79).
12
+
1
13
  ## 0.59.0 — 2026-09-30
2
14
 
3
15
  ### Fixed — parent nav row stays active on child routes when the 'tabs' nav preference strips children (`src/app-chrome/frame.tsx`, DevNotes ebb036a1)
@@ -2486,39 +2486,46 @@ function NavSidebar({
2486
2486
  }
2487
2487
  )
2488
2488
  ] }, l.label)) }) : null,
2489
- footer.envLabel ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1.5 flex flex-col items-center gap-0.5 font-[family-name:var(--font-plex-mono)] text-[10px] text-[color:var(--muted)]", children: [
2490
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
2491
- /* @__PURE__ */ jsxRuntime.jsx(
2492
- "span",
2493
- {
2494
- className: [
2495
- "rounded-md px-1.5 py-0.5 text-[10px] font-semibold",
2496
- envChipClasses(footer.envLabel)
2497
- ].join(" "),
2498
- children: footer.envLabel
2499
- }
2500
- ),
2501
- footer.commit ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2502
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[color:var(--muted)]", children: "|" }),
2503
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: footer.commit.slice(-4) })
2504
- ] }) : null,
2505
- footer.version ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2506
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[color:var(--muted)]", children: "|" }),
2507
- /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
2508
- "v",
2509
- footer.version
2510
- ] })
2511
- ] }) : null
2512
- ] }),
2513
- footer.commitDate || footer.commitAuthor ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
2514
- footer.commitDate ? /* @__PURE__ */ jsxRuntime.jsx("span", { children: new Date(footer.commitDate).toLocaleDateString(void 0, {
2515
- month: "short",
2516
- day: "numeric"
2517
- }) }) : null,
2518
- footer.commitDate && footer.commitAuthor ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[color:var(--muted)]", children: "|" }) : null,
2519
- footer.commitAuthor ? /* @__PURE__ */ jsxRuntime.jsx("span", { children: footer.commitAuthor.split(/\s+/)[0] }) : null
2520
- ] }) : null
2521
- ] }) : null
2489
+ footer.envLabel ? /* @__PURE__ */ jsxRuntime.jsxs(
2490
+ "div",
2491
+ {
2492
+ "data-shell-meta": true,
2493
+ className: "mt-1.5 flex flex-col items-center gap-0.5 font-[family-name:var(--font-plex-mono)] text-[10px] text-[color:var(--sidebar-meta-text,var(--sidebar-text))]",
2494
+ children: [
2495
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
2496
+ /* @__PURE__ */ jsxRuntime.jsx(
2497
+ "span",
2498
+ {
2499
+ className: [
2500
+ "rounded-md px-1.5 py-0.5 text-[10px] font-semibold",
2501
+ envChipClasses(footer.envLabel)
2502
+ ].join(" "),
2503
+ children: footer.envLabel
2504
+ }
2505
+ ),
2506
+ footer.commit ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2507
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[color:var(--muted)]", children: "|" }),
2508
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: footer.commit.slice(-4) })
2509
+ ] }) : null,
2510
+ footer.version ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2511
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[color:var(--muted)]", children: "|" }),
2512
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
2513
+ "v",
2514
+ footer.version
2515
+ ] })
2516
+ ] }) : null
2517
+ ] }),
2518
+ footer.commitDate || footer.commitAuthor ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
2519
+ footer.commitDate ? /* @__PURE__ */ jsxRuntime.jsx("span", { children: new Date(footer.commitDate).toLocaleDateString(void 0, {
2520
+ month: "short",
2521
+ day: "numeric"
2522
+ }) }) : null,
2523
+ footer.commitDate && footer.commitAuthor ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[color:var(--muted)]", children: "|" }) : null,
2524
+ footer.commitAuthor ? /* @__PURE__ */ jsxRuntime.jsx("span", { children: footer.commitAuthor.split(/\s+/)[0] }) : null
2525
+ ] }) : null
2526
+ ]
2527
+ }
2528
+ ) : null
2522
2529
  ] }) : null
2523
2530
  ]
2524
2531
  }