@the-portland-company/shell 0.75.1 → 0.75.2

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.
@@ -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, useNavChromeFetcher, useChromeOrgs } from './chunk-AQMSMAK2.js';
4
- export { standardNavIcons } from './chunk-AQMSMAK2.js';
3
+ import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useThemePreference, useNavChromeFetcher, useChromeOrgs } from './chunk-2DXTSTII.js';
4
+ export { standardNavIcons } from './chunk-2DXTSTII.js';
5
5
  import { warnDeprecated } from './chunk-MY6G3LMN.js';
6
6
  import './chunk-BHRVZPZ7.js';
7
7
  import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, isNavDisplayPreference, writeNavDisplayCookie, writeNavDisplayLocal, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-7YVJ7HQG.js';
@@ -427,7 +427,9 @@ function LoadingScreen({
427
427
  padding: 0,
428
428
  border: "none",
429
429
  background: "transparent",
430
- color: "rgba(255,255,255,0.38)",
430
+ // 0.38 alpha was 3.51:1 on the ink-900 loading background —
431
+ // below WCAG 2.2 AA 4.5:1. 0.72 clears it.
432
+ color: "rgba(255,255,255,0.72)",
431
433
  fontFamily: "var(--font-family, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif)",
432
434
  fontSize: "12.5px",
433
435
  textDecoration: "underline",
@@ -454,7 +456,9 @@ function LoadingScreen({
454
456
  padding: "0 32px 30px",
455
457
  fontFamily: "var(--font-family, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif)",
456
458
  fontSize: "12.5px",
457
- color: "rgba(255,255,255,0.38)"
459
+ // 0.38 alpha was 3.51:1 on the ink-900 loading background — below
460
+ // WCAG 2.2 AA 4.5:1. 0.72 clears it.
461
+ color: "rgba(255,255,255,0.72)"
458
462
  },
459
463
  children: [
460
464
  /* @__PURE__ */ jsx("span", { children: "Politogy VRM. Built for the long game." }),
@@ -522,11 +526,17 @@ var POLITOGY_APPS = {
522
526
  storagePrefix: "contacts",
523
527
  pageTitle: false
524
528
  },
525
- forms: { title: "Forms", origin: "https://forms.politogyvrm.com", storagePrefix: "forms" },
526
- surveys: { title: "Surveys", origin: "https://surveys.politogyvrm.com", storagePrefix: "surveys" },
529
+ // 'title' for forms/surveys/polls/ctas for the same reason as petitions
530
+ // below: their pages have real names ("Volunteer Signup", "Q3 Satisfaction"),
531
+ // where the registry can only say the app's own name. Without the grant the
532
+ // page header falls back to the static registry title forever, so the
533
+ // designed "<mode> mode" eyebrow + H2 + subtitle block never gets the real
534
+ // per-page title an app passes it (UI-Platform → Page header).
535
+ forms: { title: "Forms", origin: "https://forms.politogyvrm.com", storagePrefix: "forms", grants: ["title"] },
536
+ surveys: { title: "Surveys", origin: "https://surveys.politogyvrm.com", storagePrefix: "surveys", grants: ["title"] },
527
537
  // Specs/Left-Navigation §9.2: Polling is a Campaign row (Research).
528
- polls: { title: "Polls", origin: "https://polls.politogyvrm.com", storagePrefix: "polls", mode: "campaign" },
529
- ctas: { title: "CTAs", origin: "https://ctas.politogyvrm.com", storagePrefix: "ctas" },
538
+ polls: { title: "Polls", origin: "https://polls.politogyvrm.com", storagePrefix: "polls", mode: "campaign", grants: ["title"] },
539
+ ctas: { title: "CTAs", origin: "https://ctas.politogyvrm.com", storagePrefix: "ctas", grants: ["title"] },
530
540
  // V2 apps that replace retired app.politogyvrm.com pages (Reference/
531
541
  // UI-Platform v42 "Retirement of app.politogyvrm.com"). Dashboard hosts the
532
542
  // Relationship Dashboard + Campaign Battleground/District data/Campaigns
@@ -550,7 +560,7 @@ var POLITOGY_APPS = {
550
560
  },
551
561
  // Relationship Mode Email Engine (Specs/Email-Engine) — the V2 standalone
552
562
  // app, running in parallel to VRM core's V1 Email Broadcast.
553
- email: { title: "Email", origin: "https://email.politogyvrm.com", storagePrefix: "email", mode: "relationship" },
563
+ email: { title: "Email", origin: "https://email.politogyvrm.com", storagePrefix: "email", mode: "relationship", grants: ["title"] },
554
564
  // Campaign Mode apps — each scoped to Campaign, so they render the Campaign
555
565
  // tree and a static Campaign pill. Not yet deployed; hidden from the Campaign
556
566
  // nav by CAMPAIGN_FEATURE_AVAILABILITY until their launch flips the flag.
@@ -563,11 +573,12 @@ var POLITOGY_APPS = {
563
573
  origin: "https://a2p.politogyvrm.com",
564
574
  storagePrefix: "a2p",
565
575
  mode: "campaign",
566
- dual: { modes: ["relationship", "campaign"], defaultMode: "campaign" }
576
+ dual: { modes: ["relationship", "campaign"], defaultMode: "campaign" },
577
+ grants: ["title"]
567
578
  },
568
- phonebank: { title: "Phone Banking", origin: "https://phonebank.politogyvrm.com", storagePrefix: "phonebank", mode: "campaign" },
569
- canvass: { title: "Field Canvassing", origin: "https://canvass.politogyvrm.com", storagePrefix: "canvass", mode: "campaign" },
570
- signs: { title: "Sign Mapping", origin: "https://signs.politogyvrm.com", storagePrefix: "signs", mode: "campaign" }
579
+ phonebank: { title: "Phone Banking", origin: "https://phonebank.politogyvrm.com", storagePrefix: "phonebank", mode: "campaign", grants: ["title"] },
580
+ canvass: { title: "Field Canvassing", origin: "https://canvass.politogyvrm.com", storagePrefix: "canvass", mode: "campaign", grants: ["title"] },
581
+ signs: { title: "Sign Mapping", origin: "https://signs.politogyvrm.com", storagePrefix: "signs", mode: "campaign", grants: ["title"] }
571
582
  };
572
583
  var DEFAULT_SEARCH_PLACEHOLDER = {
573
584
  contacts: "Search contacts, segments, forms"