@the-portland-company/shell 0.76.9 → 0.76.11

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/chrome.css CHANGED
@@ -15,9 +15,9 @@
15
15
  --color-race-blue-300: #4DA3FF;
16
16
  --color-race-red-400: #EA4751;
17
17
  --color-race-blue-400: #1A89FF;
18
- --color-race-red-500: #E63946;
18
+ --color-race-red-500: #D32F3B;
19
19
  --color-race-blue-500: #007BFF;
20
- --color-race-red-600: #C42E3A;
20
+ --color-race-red-600: #B3242F;
21
21
  --color-race-blue-600: #0061CC;
22
22
  --color-race-red-700: #9F252E;
23
23
  --color-race-blue-700: #004999;
@@ -25,10 +25,10 @@
25
25
  --color-race-blue-800: #002A52;
26
26
  --color-race-red-900: #39080D;
27
27
  --color-race-blue-900: #001124;
28
- --color-race-red: #E63946;
28
+ --color-race-red: #D32F3B;
29
29
  --color-race-blue: #007BFF;
30
30
  --color-tread-yellow: #F2C94C;
31
- --color-green-flag: #00A651;
31
+ --color-green-flag: #00783B;
32
32
  --color-graphite: #2F3136;
33
33
  --color-g3: #D7DADF;
34
34
  --color-g4: #929599;
@@ -38,9 +38,9 @@
38
38
  --color-layer-3: #FFFFFF;
39
39
 
40
40
  /* Mode palettes */
41
- --mode-relationship-primary: #E63946;
41
+ --mode-relationship-primary: #D32F3B;
42
42
  --mode-relationship-accent: #007BFF;
43
- --mode-campaign-primary: #E63946;
43
+ --mode-campaign-primary: #D32F3B;
44
44
  --mode-campaign-accent: #F2C94C;
45
45
  --mode-petition-primary: #007BFF;
46
46
  --mode-petition-accent: #F2C94C;
@@ -123,7 +123,7 @@
123
123
  --surface-3: #FFFFFF;
124
124
 
125
125
  /* Focus ring — Specs race-red (ignore stale orange focus.ringColor) */
126
- --focus-ring-color: #E63946;
126
+ --focus-ring-color: #D32F3B;
127
127
  --focus-ring-width: 3px;
128
128
  --focus-ring-offset: 0px;
129
129
 
@@ -158,6 +158,13 @@
158
158
  --tab-strip-padding-y: 14px;
159
159
  --tab-gap: 6px;
160
160
  --tab-radius: 12px;
161
+ /* Unselected/disabled NavTabStrip label+icon color. Was --color-g4
162
+ (#929599, the Brand content-neutral gray) — only 2.58-2.76:1 against
163
+ --tab-row-bg/--tab-content-bg/white, below WCAG 2.2 AA 4.5:1 (axe scan
164
+ 2026-10-09, 26 violations across the UI). --muted (#5C6B80) is already
165
+ measured at 5.42:1 on the light rail and clears 4.5:1+ on every tab-strip
166
+ surface too, so nav tabs reuse it instead of a new one-off shade. */
167
+ --tab-text-muted: var(--muted, #5C6B80);
161
168
 
162
169
  /* Sidebar (nav chrome) */
163
170
  --sidebar-width: 236px;
@@ -207,8 +214,8 @@
207
214
  --app-color-brand-200: #F8B6BD;
208
215
  --app-color-brand-300: #EF6671;
209
216
  --app-color-brand-400: #EA4751;
210
- --app-color-brand-500: #E63946;
211
- --app-color-brand-600: #C42E3A;
217
+ --app-color-brand-500: #D32F3B;
218
+ --app-color-brand-600: #B3242F;
212
219
  --app-color-brand-700: #9F252E;
213
220
  --app-color-brand-800: #660F17;
214
221
  --app-color-brand-900: #39080D;
@@ -229,7 +236,7 @@
229
236
  --app-field-bg: #FFFFFF;
230
237
  --app-field-border: #E2E8F0;
231
238
  --app-field-border-hover: #A0AEC0;
232
- --app-field-focus: #E63946;
239
+ --app-field-focus: #D32F3B;
233
240
  --app-field-radius: 10px;
234
241
  --form-placeholder-font-size: 14px;
235
242
  --form-select-icon: #64748B;
@@ -244,8 +251,8 @@
244
251
  --app-btn-size: 44px;
245
252
  --app-btn-radius: 10px;
246
253
  --app-btn-font-size: 14px;
247
- --app-btn-primary-bg: #E63946;
248
- --app-btn-primary-bg-hover: #C42E3A;
254
+ --app-btn-primary-bg: #D32F3B;
255
+ --app-btn-primary-bg-hover: #B3242F;
249
256
  --app-btn-primary-fg: #FFFFFF;
250
257
  --app-btn-secondary-bg: #FFFFFF;
251
258
  --app-btn-secondary-bg-hover: #F8FAFC;
@@ -265,10 +272,10 @@
265
272
  --app-tab-radius: 12px;
266
273
 
267
274
  /* Mode-active colors (overwritten by app at mode-switch time) */
268
- --mode-primary-color: #E63946;
269
- --mode-input-border-color: #E63946;
270
- --mode-input-hover-border-color: #C42E3A;
271
- --mode-input-focus-shadow-color: #E63946;
275
+ --mode-primary-color: #D32F3B;
276
+ --mode-input-border-color: #D32F3B;
277
+ --mode-input-hover-border-color: #B3242F;
278
+ --mode-input-focus-shadow-color: #D32F3B;
272
279
 
273
280
  /* Native chrome semantic layer — shell-owned aliases over the
274
281
  canonical tokens above, consumed by the ./native export
@@ -292,7 +299,7 @@
292
299
  page/panel/border/text/accent. Emitted HERE so no app has to
293
300
  declare them: every app used to define its own fallback palette
294
301
  in globals.css and they drifted (surveys' accent was #C8102E
295
- where every other app was #E63946; --tab-content-bg resolved
302
+ where every other app was #D32F3B; --tab-content-bg resolved
296
303
  #1F1F1F on forms and #161616 on polls). Apps must consume these,
297
304
  never redeclare them (HITL 2026-07-23). Both spellings of the
298
305
  surface pair are emitted because apps historically used both. */
@@ -338,7 +345,7 @@
338
345
  they must not follow a Mode accent. Same value as before. */
339
346
  --chrome-danger: var(--color-race-red);
340
347
 
341
- /* Nav row hover sweep. Was hardcoded #EA4751 → #E63946 in native/index.tsx
348
+ /* Nav row hover sweep. Was hardcoded #EA4751 → #D32F3B in native/index.tsx
342
349
  (race-red 400 → 500); same two stops, now overridable. */
343
350
  --nav-hover-gradient: linear-gradient(
344
351
  90deg,
@@ -540,7 +547,7 @@
540
547
  width: auto !important;
541
548
  padding: 0 0.25rem !important;
542
549
  border-radius: 9999px !important;
543
- background: var(--chrome-danger, #e63946) !important;
550
+ background: var(--chrome-danger, #d32f3b) !important;
544
551
  color: #fff !important;
545
552
  font-size: 10px !important;
546
553
  font-weight: 700 !important;
@@ -1,7 +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
+ import { orgIdTail } from './chunk-FBUF7LUE.js';
5
5
  import { createContext, useRef, useState, useEffect, useContext, useCallback, useMemo, Fragment as Fragment$1, useSyncExternalStore } from 'react';
6
6
  import clsx from 'clsx';
7
7
  import { FiUser, FiSettings, FiMessageSquare, FiMail, FiInfo, FiSun, FiMoon, FiHelpCircle, FiLifeBuoy, FiAlertCircle, FiAlertTriangle, FiBell, FiGrid, FiZap, FiBatteryCharging, FiBattery } from 'react-icons/fi';
@@ -500,7 +500,7 @@ function FuelRow({
500
500
  {
501
501
  className: [
502
502
  "h-full rounded-full transition-[width]",
503
- low ? "bg-[color:var(--chrome-danger)]" : "bg-[color:var(--color-ok,#00A651)]"
503
+ low ? "bg-[color:var(--chrome-danger)]" : "bg-[color:var(--color-ok,#00783B)]"
504
504
  ].join(" "),
505
505
  style: { width: `${ratio}%` }
506
506
  }
@@ -2854,21 +2854,28 @@ function NavSectionRow({
2854
2854
  variant = "top"
2855
2855
  }) {
2856
2856
  const rc = useRailCollapse();
2857
- const collapsed = variant === "sub" ? "" : first ? rc("max-md:sr-only") : rc(
2858
- "max-md:mx-2 max-md:my-2 max-md:h-px max-md:overflow-hidden max-md:bg-[color:var(--sidebar-line,var(--line))] max-md:p-0 max-md:text-transparent"
2859
- );
2860
- return /* @__PURE__ */ jsx(
2861
- "p",
2862
- {
2863
- className: [
2864
- NAV_EYEBROW_CLASS,
2865
- variant === "sub" ? "px-3 pb-0.5" : "px-2 pb-1.5 pt-1",
2866
- first ? "" : variant === "sub" ? "mt-3" : "mt-[14px]",
2867
- collapsed
2868
- ].join(" "),
2869
- children: label
2870
- }
2871
- );
2857
+ const labelCollapsed = variant === "sub" ? "" : rc("max-md:sr-only");
2858
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
2859
+ variant !== "sub" && !first ? /* @__PURE__ */ jsx(
2860
+ "div",
2861
+ {
2862
+ "aria-hidden": true,
2863
+ className: rc("max-md:mx-2 max-md:my-2 max-md:h-px max-md:bg-[color:var(--sidebar-line,var(--line))]")
2864
+ }
2865
+ ) : null,
2866
+ /* @__PURE__ */ jsx(
2867
+ "p",
2868
+ {
2869
+ className: [
2870
+ NAV_EYEBROW_CLASS,
2871
+ variant === "sub" ? "px-3 pb-0.5" : "px-2 pb-1.5 pt-1",
2872
+ first ? "" : variant === "sub" ? "mt-3" : "mt-[14px]",
2873
+ labelCollapsed
2874
+ ].join(" "),
2875
+ children: label
2876
+ }
2877
+ )
2878
+ ] });
2872
2879
  }
2873
2880
  function NavRow({
2874
2881
  item,
@@ -3427,7 +3434,7 @@ function NavTabButton({
3427
3434
  const sizeClass = size === "sm" ? "py-2 text-[12px]" : "py-3 text-[13px]";
3428
3435
  const stateClass = disabled ? "cursor-not-allowed opacity-50" : "hover:text-[color:var(--tab-hover-color,#2F3136)]";
3429
3436
  const className = `${base} ${sizeClass} ${stateClass}`;
3430
- const color = disabled ? "var(--color-g4,#929599)" : selected ? "var(--tab-selected-color,#2F3136)" : "var(--color-g4,#929599)";
3437
+ const color = disabled ? "var(--tab-text-muted,#5C6B80)" : selected ? "var(--tab-selected-color,#2F3136)" : "var(--tab-text-muted,#5C6B80)";
3431
3438
  const style = selected && !disabled ? {
3432
3439
  textAlign: "center",
3433
3440
  borderBottomWidth: 2,
@@ -3712,5 +3719,5 @@ function NavAppShell({
3712
3719
  }
3713
3720
 
3714
3721
  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 };
3715
- //# sourceMappingURL=chunk-RBJGWQJX.js.map
3716
- //# sourceMappingURL=chunk-RBJGWQJX.js.map
3722
+ //# sourceMappingURL=chunk-34NXDWIS.js.map
3723
+ //# sourceMappingURL=chunk-34NXDWIS.js.map