@the-portland-company/shell 0.73.2 → 0.75.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.
@@ -2,7 +2,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
3
  import { StandardNavIconKey, NavIcon, NavItem, NavBreadcrumb, StandardNavMode, NavLinkComponent, NavChromeFetcher, NavMode, NavUserMenu, NavOrgOption, NavFooter, NavDisplayMode } from './native.cjs';
4
4
  import './theme-preference.cjs';
5
- import './FormColumn-DsNP6NVG.cjs';
6
5
 
7
6
  /**
8
7
  * The canonical icon map for standardPolitogyNav — ONE definition so every
@@ -90,7 +89,7 @@ type LoadingScreenProps = {
90
89
  declare function LoadingScreen({ bootProgress, syntheticReady, visible, onExitComplete, }: LoadingScreenProps): react_jsx_runtime.JSX.Element | null;
91
90
 
92
91
  /** Every app that renders the shared chrome. Keyed by its subdomain. */
93
- type PolitogyAppKey = 'vrm' | 'contacts' | 'forms' | 'surveys' | 'polls' | 'petitions' | 'email' | 'a2p' | 'phonebank' | 'canvass' | 'signs' | 'ctas';
92
+ type PolitogyAppKey = 'vrm' | 'contacts' | 'forms' | 'surveys' | 'polls' | 'petitions' | 'dashboard' | 'settings' | 'email' | 'a2p' | 'phonebank' | 'canvass' | 'signs' | 'ctas';
94
93
  /**
95
94
  * The operating Mode an app is scoped to, if any. It drives two things,
96
95
  * BOTH derived here from app identity so no app passes chrome config:
@@ -2,7 +2,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
3
  import { StandardNavIconKey, NavIcon, NavItem, NavBreadcrumb, StandardNavMode, NavLinkComponent, NavChromeFetcher, NavMode, NavUserMenu, NavOrgOption, NavFooter, NavDisplayMode } from './native.js';
4
4
  import './theme-preference.js';
5
- import './FormColumn-DsNP6NVG.js';
6
5
 
7
6
  /**
8
7
  * The canonical icon map for standardPolitogyNav — ONE definition so every
@@ -90,7 +89,7 @@ type LoadingScreenProps = {
90
89
  declare function LoadingScreen({ bootProgress, syntheticReady, visible, onExitComplete, }: LoadingScreenProps): react_jsx_runtime.JSX.Element | null;
91
90
 
92
91
  /** Every app that renders the shared chrome. Keyed by its subdomain. */
93
- type PolitogyAppKey = 'vrm' | 'contacts' | 'forms' | 'surveys' | 'polls' | 'petitions' | 'email' | 'a2p' | 'phonebank' | 'canvass' | 'signs' | 'ctas';
92
+ type PolitogyAppKey = 'vrm' | 'contacts' | 'forms' | 'surveys' | 'polls' | 'petitions' | 'dashboard' | 'settings' | 'email' | 'a2p' | 'phonebank' | 'canvass' | 'signs' | 'ctas';
94
93
  /**
95
94
  * The operating Mode an app is scoped to, if any. It drives two things,
96
95
  * BOTH derived here from app identity so no app passes chrome config:
@@ -1,8 +1,8 @@
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-5DHPCG7W.js';
4
- export { standardNavIcons } from './chunk-5DHPCG7W.js';
5
- import { warnDeprecated } from './chunk-LPSBSAF3.js';
3
+ import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useThemePreference, useNavChromeFetcher, useChromeOrgs } from './chunk-QUXD4PZ7.js';
4
+ export { standardNavIcons } from './chunk-QUXD4PZ7.js';
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';
8
8
  import { resolveActiveOrg, isOrgId, writeActiveOrgCookie, ACTIVE_ORG_QUERY_PARAM, readActiveOrgCookie } from './chunk-W2HITMV5.js';
@@ -527,6 +527,13 @@ var POLITOGY_APPS = {
527
527
  // Specs/Left-Navigation §9.2: Polling is a Campaign row (Research).
528
528
  polls: { title: "Polls", origin: "https://polls.politogyvrm.com", storagePrefix: "polls", mode: "campaign" },
529
529
  ctas: { title: "CTAs", origin: "https://ctas.politogyvrm.com", storagePrefix: "ctas" },
530
+ // V2 apps that replace retired app.politogyvrm.com pages (Reference/
531
+ // UI-Platform v42 "Retirement of app.politogyvrm.com"). Dashboard hosts the
532
+ // Relationship Dashboard + Campaign Battleground/District data/Campaigns
533
+ // (Specs/Relationship-Dashboard); Settings hosts org settings & billing
534
+ // (Specs/Organization-Settings).
535
+ dashboard: { title: "Dashboard", origin: "https://dashboard.politogyvrm.com", storagePrefix: "dashboard" },
536
+ settings: { title: "Settings", origin: "https://settings.politogyvrm.com", storagePrefix: "settings" },
530
537
  petitions: {
531
538
  title: "Petitions",
532
539
  origin: "https://petition-mode.politogyvrm.com",