@the-portland-company/shell 0.77.0 → 0.79.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 +22 -0
- package/dist/app-chrome.cjs +23 -20
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +3 -3
- package/dist/app-chrome.d.ts +3 -3
- package/dist/app-chrome.js +15 -6
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-GGM4AD43.js → chunk-KXVRYN5D.js} +12 -18
- package/dist/{chunk-GGM4AD43.js.map → chunk-KXVRYN5D.js.map} +1 -1
- package/dist/{index-DJ3qBzfQ.d.ts → index-KGYMc_1i.d.ts} +3 -4
- package/dist/{index-Cu5frXRQ.d.cts → index-fydj5EU2.d.cts} +3 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/native.cjs +10 -16
- 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 +1 -1
- package/package.json +1 -1
|
@@ -415,12 +415,11 @@ interface StandardNavOptions {
|
|
|
415
415
|
count?: string | number | null;
|
|
416
416
|
};
|
|
417
417
|
/**
|
|
418
|
-
* Top-level rows to OMIT, by label (case-insensitive), e.g. `['
|
|
418
|
+
* Top-level rows to OMIT, by label (case-insensitive), e.g. `['Forms','Surveys']`.
|
|
419
419
|
* The Specs/Contacts design rail lists Relationship → Collect → Account with
|
|
420
420
|
* exactly Dashboard · Contacts · Email broadcast · SMS/MMS blast / Calls to
|
|
421
|
-
* action · Forms · Surveys / My profile · Organization settings
|
|
422
|
-
*
|
|
423
|
-
* remaining items is dropped too.
|
|
421
|
+
* action · Forms · Surveys / My profile · Organization settings. A section
|
|
422
|
+
* row with no remaining items is dropped too.
|
|
424
423
|
*/
|
|
425
424
|
hiddenItems?: string[];
|
|
426
425
|
/**
|
|
@@ -415,12 +415,11 @@ interface StandardNavOptions {
|
|
|
415
415
|
count?: string | number | null;
|
|
416
416
|
};
|
|
417
417
|
/**
|
|
418
|
-
* Top-level rows to OMIT, by label (case-insensitive), e.g. `['
|
|
418
|
+
* Top-level rows to OMIT, by label (case-insensitive), e.g. `['Forms','Surveys']`.
|
|
419
419
|
* The Specs/Contacts design rail lists Relationship → Collect → Account with
|
|
420
420
|
* exactly Dashboard · Contacts · Email broadcast · SMS/MMS blast / Calls to
|
|
421
|
-
* action · Forms · Surveys / My profile · Organization settings
|
|
422
|
-
*
|
|
423
|
-
* remaining items is dropped too.
|
|
421
|
+
* action · Forms · Surveys / My profile · Organization settings. A section
|
|
422
|
+
* row with no remaining items is dropped too.
|
|
424
423
|
*/
|
|
425
424
|
hiddenItems?: string[];
|
|
426
425
|
/**
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactNode, CSSProperties } from 'react';
|
|
4
|
-
import { N as NavItem } from './index-
|
|
5
|
-
export { C as CommsNotification, a as CommsNotificationKind, F as FormColumn, b as NotificationsAdapter, c as NotificationsFeed, d as createCommsNotificationsAdapter, e as emptyNotificationsFeed, n as normalizeNotificationsFeed } from './index-
|
|
4
|
+
import { N as NavItem } from './index-fydj5EU2.cjs';
|
|
5
|
+
export { C as CommsNotification, a as CommsNotificationKind, F as FormColumn, b as NotificationsAdapter, c as NotificationsFeed, d as createCommsNotificationsAdapter, e as emptyNotificationsFeed, n as normalizeNotificationsFeed } from './index-fydj5EU2.cjs';
|
|
6
6
|
import { User, Session, SupabaseClient } from '@supabase/supabase-js';
|
|
7
7
|
import './theme-preference.cjs';
|
|
8
8
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactNode, CSSProperties } from 'react';
|
|
4
|
-
import { N as NavItem } from './index-
|
|
5
|
-
export { C as CommsNotification, a as CommsNotificationKind, F as FormColumn, b as NotificationsAdapter, c as NotificationsFeed, d as createCommsNotificationsAdapter, e as emptyNotificationsFeed, n as normalizeNotificationsFeed } from './index-
|
|
4
|
+
import { N as NavItem } from './index-KGYMc_1i.js';
|
|
5
|
+
export { C as CommsNotification, a as CommsNotificationKind, F as FormColumn, b as NotificationsAdapter, c as NotificationsFeed, d as createCommsNotificationsAdapter, e as emptyNotificationsFeed, n as normalizeNotificationsFeed } from './index-KGYMc_1i.js';
|
|
6
6
|
import { User, Session, SupabaseClient } from '@supabase/supabase-js';
|
|
7
7
|
import './theme-preference.js';
|
|
8
8
|
|
package/dist/native.cjs
CHANGED
|
@@ -2206,6 +2206,8 @@ var SIGNS_ORIGIN = "https://signs.politogyvrm.com/";
|
|
|
2206
2206
|
var POLLS_ORIGIN = "https://polls.politogyvrm.com/";
|
|
2207
2207
|
var SETTINGS_ORIGIN = "https://settings.politogyvrm.com/";
|
|
2208
2208
|
var DASHBOARD_ORIGIN = "https://dashboard.politogyvrm.com/";
|
|
2209
|
+
var BATTLEGROUND_ORIGIN = "https://battleground.politogyvrm.com/";
|
|
2210
|
+
var DISTRICTS_ORIGIN = "https://districts.politogyvrm.com/";
|
|
2209
2211
|
var AUTH_ORIGIN = "https://auth.politogyvrm.com/";
|
|
2210
2212
|
var PETITION_MODE_ORIGIN = "https://petition-mode.politogyvrm.com/";
|
|
2211
2213
|
function applyHiddenItems(items, hidden) {
|
|
@@ -2396,16 +2398,9 @@ function standardPolitogyNav(opts) {
|
|
|
2396
2398
|
href: withOrg("https://surveys.politogyvrm.com/surveys"),
|
|
2397
2399
|
children: APP_SURVEYS_CHILDREN.map((c) => ({ label: c.label, icon: icon(c.icon), href: withOrg(c.href) }))
|
|
2398
2400
|
},
|
|
2399
|
-
// Polls
|
|
2400
|
-
//
|
|
2401
|
-
//
|
|
2402
|
-
// here (this row is independent of the retired app).
|
|
2403
|
-
{
|
|
2404
|
-
label: "Polls",
|
|
2405
|
-
icon: icon("chartNoAxes"),
|
|
2406
|
-
href: withOrg(POLLS_ORIGIN),
|
|
2407
|
-
children: APP_POLLS_CHILDREN.map((c) => ({ label: c.label, icon: icon(c.icon), href: withOrg(c.href) }))
|
|
2408
|
-
},
|
|
2401
|
+
// No Polls row here: Polling is a Campaign Mode feature only
|
|
2402
|
+
// (Specs/Left-Navigation §9.1 "Polls is not a Relationship row"). Its
|
|
2403
|
+
// row is "Polling" under Research in the Campaign tree below.
|
|
2409
2404
|
...accountRows()
|
|
2410
2405
|
];
|
|
2411
2406
|
};
|
|
@@ -2419,12 +2414,11 @@ function standardPolitogyNav(opts) {
|
|
|
2419
2414
|
// Battleground is the Campaign landing page; there is no Campaign
|
|
2420
2415
|
// Dashboard row, and Voter Contact and Tribes have no row.
|
|
2421
2416
|
{ kind: "section", label: "Race data" },
|
|
2422
|
-
// Battleground
|
|
2423
|
-
//
|
|
2424
|
-
{ label: "Battleground", icon: icon("crosshair"), href: withOrg(`${
|
|
2425
|
-
// District
|
|
2426
|
-
|
|
2427
|
-
{ label: "District data", icon: icon("landmark"), href: withOrg(`${DASHBOARD_ORIGIN}districts`) },
|
|
2417
|
+
// Battleground is the Campaign Mode landing page, its own app on its own
|
|
2418
|
+
// host (registry key `battleground`; Specs/Left-Navigation §9.2, §13, §14).
|
|
2419
|
+
{ label: "Battleground", icon: icon("crosshair"), href: withOrg(`${BATTLEGROUND_ORIGIN}battleground`) },
|
|
2420
|
+
// District Data is its own Campaign Mode app on its own host (registry key `districts`).
|
|
2421
|
+
{ label: "District data", icon: icon("landmark"), href: withOrg(`${DISTRICTS_ORIGIN}districts`) },
|
|
2428
2422
|
{ kind: "section", label: "Research" },
|
|
2429
2423
|
{
|
|
2430
2424
|
label: "Polling",
|