@the-portland-company/shell 0.91.0 → 0.92.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.
@@ -89,7 +89,7 @@ type LoadingScreenProps = {
89
89
  declare function LoadingScreen({ bootProgress, syntheticReady, visible, onExitComplete, }: LoadingScreenProps): react_jsx_runtime.JSX.Element | null;
90
90
 
91
91
  /** Every app that renders the shared chrome. Keyed by its subdomain. */
92
- type PolitogyAppKey = 'vrm' | 'contacts' | 'forms' | 'surveys' | 'polls' | 'petitions' | 'dashboard' | 'settings' | 'battleground' | 'districts' | 'email' | 'a2p' | 'phonebank' | 'canvass' | 'signs' | 'ctas';
92
+ type PolitogyAppKey = 'vrm' | 'contacts' | 'forms' | 'surveys' | 'polls' | 'petitions' | 'dashboard' | 'settings' | 'auth' | 'battleground' | 'districts' | 'email' | 'a2p' | 'phonebank' | 'canvass' | 'signs' | 'ctas';
93
93
  /**
94
94
  * The operating Mode an app is scoped to, if any. It drives two things,
95
95
  * BOTH derived here from app identity so no app passes chrome config:
@@ -89,7 +89,7 @@ type LoadingScreenProps = {
89
89
  declare function LoadingScreen({ bootProgress, syntheticReady, visible, onExitComplete, }: LoadingScreenProps): react_jsx_runtime.JSX.Element | null;
90
90
 
91
91
  /** Every app that renders the shared chrome. Keyed by its subdomain. */
92
- type PolitogyAppKey = 'vrm' | 'contacts' | 'forms' | 'surveys' | 'polls' | 'petitions' | 'dashboard' | 'settings' | 'battleground' | 'districts' | 'email' | 'a2p' | 'phonebank' | 'canvass' | 'signs' | 'ctas';
92
+ type PolitogyAppKey = 'vrm' | 'contacts' | 'forms' | 'surveys' | 'polls' | 'petitions' | 'dashboard' | 'settings' | 'auth' | 'battleground' | 'districts' | 'email' | 'a2p' | 'phonebank' | 'canvass' | 'signs' | 'ctas';
93
93
  /**
94
94
  * The operating Mode an app is scoped to, if any. It drives two things,
95
95
  * BOTH derived here from app identity so no app passes chrome config:
@@ -567,6 +567,11 @@ var POLITOGY_APPS = {
567
567
  battleground: { title: "Battleground", origin: "https://battleground.politogyvrm.com", storagePrefix: "battleground", mode: "campaign" },
568
568
  districts: { title: "District Data", origin: "https://districts.politogyvrm.com", storagePrefix: "districts", mode: "campaign" },
569
569
  settings: { title: "Settings", origin: "https://settings.politogyvrm.com", storagePrefix: "settings" },
570
+ // Politogy ID's My profile (Specs/Left-Navigation §9.4: the Account section
571
+ // is in every mode). Unscoped like Settings, so it draws the rows of the
572
+ // mode the user is in. Auth screens (sign-in etc.) stay chrome-less
573
+ // (Reference/UI-Platform "Scope — which apps render Navigation").
574
+ auth: { title: "My profile", origin: "https://auth.politogyvrm.com", storagePrefix: "auth" },
570
575
  petitions: {
571
576
  title: "Petitions",
572
577
  origin: "https://petition-mode.politogyvrm.com",