@the-portland-company/shell 0.90.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.
- package/CHANGELOG.md +17 -0
- package/README.md +4 -47
- package/dist/app-chrome.cjs +5 -0
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +2 -2
- package/dist/app-chrome.d.ts +2 -2
- package/dist/app-chrome.js +8 -3
- package/dist/app-chrome.js.map +1 -1
- package/dist/chrome.css +0 -20
- package/dist/{chunk-LZ5TLJDG.js → chunk-WDVQBUWF.js} +3 -3
- package/dist/{chunk-LZ5TLJDG.js.map → chunk-WDVQBUWF.js.map} +1 -1
- package/dist/{chunk-VBDI7UZS.js → chunk-ZS7MQXDQ.js} +13 -361
- package/dist/chunk-ZS7MQXDQ.js.map +1 -0
- package/dist/{index-CaMJSRDb.d.cts → index-Cg5aEImm.d.cts} +5 -200
- package/dist/{index-C3jzqN9K.d.ts → index-DG32i0jC.d.ts} +5 -200
- package/dist/index.cjs +15 -375
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -11
- package/dist/index.js.map +1 -1
- package/dist/native.cjs +10 -364
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +1 -1
- package/dist/native.d.ts +1 -1
- package/dist/native.js +2 -2
- package/package.json +2 -13
- package/dist/chunk-VBDI7UZS.js.map +0 -1
- package/eslint/index.cjs +0 -172
- package/eslint/index.d.ts +0 -6
- package/eslint/index.mjs +0 -5
package/dist/app-chrome.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { S as StandardNavIconKey, h as NavIcon, N as NavItem, i as NavBreadcrumb, j as StandardNavMode, k as NavLinkComponent, l as NavChromeFetcher, m as NavMode, o as NavUserMenu, p as NavOrgOption, d as NotificationsAdapter, q as NavFooterLink, r as NavFooter, s as NavDisplayMode } from './index-Cg5aEImm.cjs';
|
|
4
4
|
import './theme-preference.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -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:
|
package/dist/app-chrome.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { S as StandardNavIconKey, h as NavIcon, N as NavItem, i as NavBreadcrumb, j as StandardNavMode, k as NavLinkComponent, l as NavChromeFetcher, m as NavMode, o as NavUserMenu, p as NavOrgOption, d as NotificationsAdapter, q as NavFooterLink, r as NavFooter, s as NavDisplayMode } from './index-DG32i0jC.js';
|
|
4
4
|
import './theme-preference.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -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:
|
package/dist/app-chrome.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { broadcastLogout, watchLogout } from './chunk-LL6LSJAH.js';
|
|
3
3
|
import { writeUrlState } from './chunk-GVQKZI5X.js';
|
|
4
|
-
import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell } from './chunk-
|
|
5
|
-
export { standardNavIcons } from './chunk-
|
|
6
|
-
import { warnDeprecated, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-
|
|
4
|
+
import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell } from './chunk-WDVQBUWF.js';
|
|
5
|
+
export { standardNavIcons } from './chunk-WDVQBUWF.js';
|
|
6
|
+
import { warnDeprecated, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-ZS7MQXDQ.js';
|
|
7
7
|
import './chunk-BHRVZPZ7.js';
|
|
8
8
|
import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, writeNavDisplayLocal, writeNavDisplayCookie, isNavDisplayPreference, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-7YVJ7HQG.js';
|
|
9
9
|
import { authBaseUrl, orgIdTail, settingsBaseUrl, ORG_ID_QUERY_PARAM, readOrgSelectorFromUrl, matchOrgSelector, syncOrgIdInUrl, isOrgId, switchActiveOrg, ACTIVE_ORG_QUERY_PARAM, writeActiveOrgCookie, resolveActiveOrg, readActiveOrgCookie } from './chunk-5LO5W7W5.js';
|
|
@@ -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",
|