@the-portland-company/shell 0.76.18 → 0.78.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.
@@ -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. `['Polls','CTAs']`.
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; apps that
422
- * still surface Polls / CTAs keep them by default. A section row with no
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. `['Polls','CTAs']`.
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; apps that
422
- * still surface Polls / CTAs keep them by default. A section row with no
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-Cu5frXRQ.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-Cu5frXRQ.cjs';
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-DJ3qBzfQ.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-DJ3qBzfQ.js';
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
@@ -2396,16 +2396,9 @@ function standardPolitogyNav(opts) {
2396
2396
  href: withOrg("https://surveys.politogyvrm.com/surveys"),
2397
2397
  children: APP_SURVEYS_CHILDREN.map((c) => ({ label: c.label, icon: icon(c.icon), href: withOrg(c.href) }))
2398
2398
  },
2399
- // Polls (polls.politogyvrm.com) — kept in the default Collect section;
2400
- // apps that want it hidden pass `hiddenItems: ['Polls']`. Regression:
2401
- // dropped entirely in 03c4dc2 when app.politogyvrm.com retired; restored
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
- },
2399
+ // No Polls row here: Polling is a Campaign Mode feature only
2400
+ // (Specs/Left-Navigation §9.1 "Polls is not a Relationship row"). Its
2401
+ // row is "Polling" under Research in the Campaign tree below.
2409
2402
  ...accountRows()
2410
2403
  ];
2411
2404
  };
@@ -2419,11 +2412,14 @@ function standardPolitogyNav(opts) {
2419
2412
  // Battleground is the Campaign landing page; there is no Campaign
2420
2413
  // Dashboard row, and Voter Contact and Tribes have no row.
2421
2414
  { kind: "section", label: "Race data" },
2422
- // Battleground moved to the Dashboard app (dashboard.politogyvrm.com)
2423
- // until a dedicated Battleground host is decided (UI-Platform route table).
2415
+ // Battleground is its own Campaign Mode app (registry key
2416
+ // `battleground`), not part of the Dashboard. It is served from the
2417
+ // dashboard deployment only until battleground.politogyvrm.com is live
2418
+ // (Reference/UI-Platform, decided 2026-10-12).
2424
2419
  { label: "Battleground", icon: icon("crosshair"), href: withOrg(`${DASHBOARD_ORIGIN}battleground`) },
2425
- // District data moved to the Dashboard app (dashboard.politogyvrm.com)
2426
- // per Reference/UI-Platform v44.
2420
+ // District Data is its own Campaign Mode app (registry key
2421
+ // `districts`); served from the dashboard deployment until
2422
+ // districts.politogyvrm.com is live.
2427
2423
  { label: "District data", icon: icon("landmark"), href: withOrg(`${DASHBOARD_ORIGIN}districts`) },
2428
2424
  { kind: "section", label: "Research" },
2429
2425
  {