@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.
- package/CHANGELOG.md +20 -0
- package/dist/app-chrome.cjs +157 -40
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +1 -2
- package/dist/app-chrome.d.ts +1 -2
- package/dist/app-chrome.js +10 -3
- package/dist/app-chrome.js.map +1 -1
- package/dist/chunk-MY6G3LMN.js +125 -0
- package/dist/chunk-MY6G3LMN.js.map +1 -0
- package/dist/{chunk-5DHPCG7W.js → chunk-QUXD4PZ7.js} +68 -43
- package/dist/chunk-QUXD4PZ7.js.map +1 -0
- package/dist/index.cjs +84 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +61 -2
- package/dist/index.d.ts +61 -2
- package/dist/index.js +3 -20
- package/dist/index.js.map +1 -1
- package/dist/native.cjs +150 -40
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +25 -4
- package/dist/native.d.ts +25 -4
- package/dist/native.js +2 -2
- package/package.json +1 -1
- package/dist/FormColumn-DsNP6NVG.d.cts +0 -21
- package/dist/FormColumn-DsNP6NVG.d.ts +0 -21
- package/dist/chunk-5DHPCG7W.js.map +0 -1
- package/dist/chunk-LPSBSAF3.js +0 -26
- package/dist/chunk-LPSBSAF3.js.map +0 -1
package/dist/app-chrome.d.cts
CHANGED
|
@@ -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:
|
package/dist/app-chrome.d.ts
CHANGED
|
@@ -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:
|
package/dist/app-chrome.js
CHANGED
|
@@ -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-
|
|
4
|
-
export { standardNavIcons } from './chunk-
|
|
5
|
-
import { warnDeprecated } from './chunk-
|
|
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",
|