@the-portland-company/shell 0.76.6 → 0.76.8
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/dist/app-chrome.cjs +133 -128
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.js +2 -2
- package/dist/chrome.css +13 -4
- package/dist/{chunk-2V3D5NML.js → chunk-RBJGWQJX.js} +14 -5
- package/dist/chunk-RBJGWQJX.js.map +1 -0
- package/dist/native.cjs +20 -3
- package/dist/native.cjs.map +1 -1
- package/dist/native.js +2 -1
- package/package.json +1 -1
- package/dist/chunk-2V3D5NML.js.map +0 -1
package/dist/app-chrome.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { broadcastLogout, watchLogout } from './chunk-LL6LSJAH.js';
|
|
3
|
-
import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useThemePreference, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-
|
|
4
|
-
export { standardNavIcons } from './chunk-
|
|
3
|
+
import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useThemePreference, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-RBJGWQJX.js';
|
|
4
|
+
export { standardNavIcons } from './chunk-RBJGWQJX.js';
|
|
5
5
|
import { warnDeprecated } from './chunk-MY6G3LMN.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';
|
package/dist/chrome.css
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
names (--font-sans, --font-mono, --font-plex-mono), none of which this
|
|
57
57
|
stylesheet emitted, so every one of those surfaces silently fell back to
|
|
58
58
|
a hardcoded stack instead of a token the shell actually controls. */
|
|
59
|
-
--font-mono: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
|
|
59
|
+
--font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
|
|
60
60
|
--type-h1-size: 2.25rem;
|
|
61
61
|
--type-h1-weight: 700;
|
|
62
62
|
--type-h1-line-height: 1.25;
|
|
@@ -312,9 +312,18 @@
|
|
|
312
312
|
border leaking out of the rail's palette. Content borders are the
|
|
313
313
|
neutral Brand G3 ramp step instead. */
|
|
314
314
|
--color-border: var(--color-g3);
|
|
315
|
-
--color-text
|
|
316
|
-
|
|
317
|
-
|
|
315
|
+
/* --color-text / --color-text-muted used to alias --foreground / --muted —
|
|
316
|
+
the topbar-scoped pair tuned for contrast on the topbar surface
|
|
317
|
+
(--muted is #5C6B80, picked for WCAG AA on the light rail, see above).
|
|
318
|
+
Page CONTENT (table cells, buttons, body copy) wants the Brand neutral
|
|
319
|
+
ramp instead: graphite for text, G4 for muted text/borders — a
|
|
320
|
+
style_diff against design (Surveys, 2026-10-09) measured live muted
|
|
321
|
+
text/borders at #5C6B80 (rgb(88,101,122)) against a design value of
|
|
322
|
+
#929599 (--color-g4, rgb(146,149,153)), the same mis-aliasing this
|
|
323
|
+
comment block already fixed once for --color-border/--color-panel. */
|
|
324
|
+
--color-text: var(--color-graphite);
|
|
325
|
+
--color-text-muted: var(--color-g4);
|
|
326
|
+
--color-muted: var(--color-g4);
|
|
318
327
|
/* The chrome's SEMANTIC accent. Chrome furniture resolves this (or the
|
|
319
328
|
per-Mode override layered over it — see --mode-accent below), never
|
|
320
329
|
--color-race-red directly: that is the PARTY identity colour the
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { warnDeprecated, SpeculationRulesScript } from './chunk-MY6G3LMN.js';
|
|
2
2
|
import { readThemeCookie, THEME_STORAGE_KEY, isThemePreference, applyThemePreference, readPendingThemeChoice, writeThemeCookie, clearPendingThemeChoice, markThemeChoicePending } from './chunk-BHRVZPZ7.js';
|
|
3
3
|
import { readRailPreference, writeRailPreference } from './chunk-7YVJ7HQG.js';
|
|
4
|
+
import { orgIdTail } from './chunk-BWV52AT6.js';
|
|
4
5
|
import { createContext, useRef, useState, useEffect, useContext, useCallback, useMemo, Fragment as Fragment$1, useSyncExternalStore } from 'react';
|
|
5
6
|
import clsx from 'clsx';
|
|
6
7
|
import { FiUser, FiSettings, FiMessageSquare, FiMail, FiInfo, FiSun, FiMoon, FiHelpCircle, FiLifeBuoy, FiAlertCircle, FiAlertTriangle, FiBell, FiGrid, FiZap, FiBatteryCharging, FiBattery } from 'react-icons/fi';
|
|
@@ -2209,6 +2210,11 @@ function useRailCollapse() {
|
|
|
2209
2210
|
const collapsible = useContext(RailCollapsibleContext);
|
|
2210
2211
|
return (cls) => collapsible ? cls : "";
|
|
2211
2212
|
}
|
|
2213
|
+
function orgPillLabel(org) {
|
|
2214
|
+
if (org.name) return org.name;
|
|
2215
|
+
if (org.id) return orgIdTail(org.id) ?? "Organization";
|
|
2216
|
+
return "No organizations";
|
|
2217
|
+
}
|
|
2212
2218
|
function OrgIconMark({ org, logoSrc }) {
|
|
2213
2219
|
const rc = useRailCollapse();
|
|
2214
2220
|
const src = resolveOrgLogoUrl(org.iconUrl) ?? logoSrc;
|
|
@@ -2450,7 +2456,7 @@ function NavSidebar({
|
|
|
2450
2456
|
{
|
|
2451
2457
|
title: org.name ?? void 0,
|
|
2452
2458
|
className: "truncate text-[12px] font-semibold leading-[1.2]",
|
|
2453
|
-
children: org
|
|
2459
|
+
children: orgPillLabel(org)
|
|
2454
2460
|
}
|
|
2455
2461
|
),
|
|
2456
2462
|
org.id && !org.loading ? /* @__PURE__ */ jsx(OrgIdCopyButton, { id: org.id }) : null
|
|
@@ -2552,7 +2558,7 @@ function NavSidebar({
|
|
|
2552
2558
|
{
|
|
2553
2559
|
title: org.name ?? void 0,
|
|
2554
2560
|
className: "truncate text-[12px] font-semibold leading-[1.2]",
|
|
2555
|
-
children: org
|
|
2561
|
+
children: orgPillLabel(org)
|
|
2556
2562
|
}
|
|
2557
2563
|
),
|
|
2558
2564
|
org.id && !org.loading ? /* @__PURE__ */ jsx(OrgIdCopyButton, { id: org.id }) : null
|
|
@@ -3500,7 +3506,10 @@ function NavTabStrip({
|
|
|
3500
3506
|
role: "tablist",
|
|
3501
3507
|
"aria-label": ariaLabel,
|
|
3502
3508
|
className: [
|
|
3503
|
-
|
|
3509
|
+
// 26px, not 24px: a style_diff against design (email-builder-desktop,
|
|
3510
|
+
// 2026-10-09) measured the rendered row gap 4px short of spec (48 vs
|
|
3511
|
+
// 52) at the 24px default.
|
|
3512
|
+
"flex items-end gap-[var(--tab-gap,26px)] border-b border-[color:var(--tab-border-color,#D7DADF)]",
|
|
3504
3513
|
className
|
|
3505
3514
|
].filter(Boolean).join(" "),
|
|
3506
3515
|
children: tabs.map((tab) => /* @__PURE__ */ jsx(NavTabButton, { tab, Link, size }, tab.key))
|
|
@@ -3703,5 +3712,5 @@ function NavAppShell({
|
|
|
3703
3712
|
}
|
|
3704
3713
|
|
|
3705
3714
|
export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, CORE_APP_ORIGIN, CORE_BILLING_PATH, FuelAction, NavAppShell, NavBetaBanner, NavChromeProvider, NavDisplayAction, NavSidebar, NavTabStrip, NavThemeControl, NavTopBar, NotificationsAction, SPECS_ORIGIN, SpecOverlayAction, SupportAction, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, resolveOrgLogoUrl, shortEnvLabel, shortUserName, standardNavIcons, standardPolitogyNav, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeDedupedFetch, useNavChromeFetcher, useThemePreference };
|
|
3706
|
-
//# sourceMappingURL=chunk-
|
|
3707
|
-
//# sourceMappingURL=chunk-
|
|
3715
|
+
//# sourceMappingURL=chunk-RBJGWQJX.js.map
|
|
3716
|
+
//# sourceMappingURL=chunk-RBJGWQJX.js.map
|