@the-portland-company/shell 0.69.0 → 0.71.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.
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { broadcastLogout, watchLogout } from './chunk-LL6LSJAH.js';
3
- import { clearBetaBannerDismissal, standardPolitogyNav, isNavItemActive, NavAppShell, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useThemePreference, useNavChromeFetcher, useChromeOrgs } from './chunk-WFUWFMCA.js';
3
+ import { clearBetaBannerDismissal, standardPolitogyNav, isNavItemActive, NavAppShell, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useThemePreference, useNavChromeFetcher, useChromeOrgs } from './chunk-B2AQL37X.js';
4
4
  import { warnDeprecated } from './chunk-LPSBSAF3.js';
5
5
  import './chunk-NHBNM5P3.js';
6
- import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, isNavDisplayPreference, writeNavDisplayCookie, writeNavDisplayLocal, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-6UHJV2FH.js';
6
+ import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, isNavDisplayPreference, writeNavDisplayCookie, writeNavDisplayLocal, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-7YVJ7HQG.js';
7
7
  import { resolveActiveOrg, isOrgId, writeActiveOrgCookie, ACTIVE_ORG_QUERY_PARAM, readActiveOrgCookie } from './chunk-W2HITMV5.js';
8
8
  import { createContext, useMemo, useRef, useEffect, useState, useCallback, useContext } from 'react';
9
9
  import { DevNotesMenu, createDevNotesClient, DevNotesProvider, DevNotesTaskListModal, DevNotesOverlay } from '@the-portland-company/devnotes';
10
- import { FiFlag, FiTarget, FiMapPin, FiMap, FiPhone, FiShare2, FiDollarSign, FiCreditCard, FiSettings, FiBriefcase, FiBarChart2, FiUser, FiClock, FiSend, FiFileText, FiEdit3, FiUpload, FiList, FiGrid, FiLifeBuoy, FiActivity, FiLayout, FiMessageSquare, FiMail, FiUsers, FiHome } from 'react-icons/fi';
10
+ import { LuSignpost, LuDoorOpen, LuChartNoAxesColumn, LuLandmark, LuCrosshair, LuCircleUser, LuClipboardList, LuMousePointerClick, LuUsersRound, LuLayoutDashboard, LuFlag, LuTarget, LuMapPin, LuMap, LuPhone, LuShare2, LuDollarSign, LuCreditCard, LuSettings, LuBriefcase, LuChartColumn, LuUser, LuClock, LuSend, LuFileText, LuPencil, LuUpload, LuList, LuLayoutGrid, LuLifeBuoy, LuActivity, LuMessageSquare, LuMail, LuUsers, LuHouse, LuNotebookPen, LuContactRound, LuMegaphone, LuFilePenLine } from 'react-icons/lu';
11
11
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
12
12
 
13
13
  // src/lib/breadcrumbs.ts
@@ -835,10 +835,7 @@ function FrameBody({
835
835
  // search yet, so this stays decorative (`NavTopBarProps.search` — "an
836
836
  // app that has not wired search yet still gets the correct chrome").
837
837
  search: { placeholder: data?.searchPlaceholder ?? DEFAULT_SEARCH_PLACEHOLDER[app] ?? "Search" },
838
- // "Build notes" — a quiet text button that starts the right-hand
839
- // group. The spec names the element and its position but not its
840
- // destination content; `onOpen` is left unset until that is defined.
841
- buildNotes: {},
838
+ // No Build notes control (Reference/UI-Platform, decided 2026-10-03).
842
839
  // The action cluster is IDENTICAL everywhere — core included. Page
843
840
  // actions sit BEFORE it, never inside it, so the Alerts bell keeps its
844
841
  // required position: farthest right, immediately before My Account.
@@ -853,33 +850,43 @@ function FrameBody({
853
850
  ] });
854
851
  }
855
852
  var standardNavIcons = {
856
- home: FiHome,
857
- users: FiUsers,
858
- mail: FiMail,
859
- messageSquare: FiMessageSquare,
860
- layout: FiLayout,
861
- activity: FiActivity,
862
- lifeBuoy: FiLifeBuoy,
863
- grid: FiGrid,
864
- list: FiList,
865
- upload: FiUpload,
866
- edit: FiEdit3,
867
- fileText: FiFileText,
868
- send: FiSend,
869
- clock: FiClock,
870
- user: FiUser,
871
- barChart: FiBarChart2,
872
- briefcase: FiBriefcase,
873
- settings: FiSettings,
874
- creditCard: FiCreditCard,
875
- dollarSign: FiDollarSign,
876
- share: FiShare2,
853
+ home: LuHouse,
854
+ users: LuUsers,
855
+ mail: LuMail,
856
+ messageSquare: LuMessageSquare,
857
+ layout: LuLayoutDashboard,
858
+ activity: LuActivity,
859
+ lifeBuoy: LuLifeBuoy,
860
+ grid: LuLayoutGrid,
861
+ list: LuList,
862
+ upload: LuUpload,
863
+ edit: LuPencil,
864
+ fileText: LuFileText,
865
+ send: LuSend,
866
+ clock: LuClock,
867
+ user: LuUser,
868
+ barChart: LuChartColumn,
869
+ briefcase: LuBriefcase,
870
+ settings: LuSettings,
871
+ creditCard: LuCreditCard,
872
+ dollarSign: LuDollarSign,
873
+ share: LuShare2,
877
874
  // Campaign / Petition mode slots.
878
- phone: FiPhone,
879
- map: FiMap,
880
- mapPin: FiMapPin,
881
- target: FiTarget,
882
- flag: FiFlag
875
+ phone: LuPhone,
876
+ map: LuMap,
877
+ mapPin: LuMapPin,
878
+ target: LuTarget,
879
+ flag: LuFlag,
880
+ layoutDashboard: LuLayoutDashboard,
881
+ usersRound: LuUsersRound,
882
+ mousePointerClick: LuMousePointerClick,
883
+ clipboardList: LuClipboardList,
884
+ circleUser: LuCircleUser,
885
+ crosshair: LuCrosshair,
886
+ landmark: LuLandmark,
887
+ chartNoAxes: LuChartNoAxesColumn,
888
+ doorOpen: LuDoorOpen,
889
+ signpost: LuSignpost
883
890
  };
884
891
  var ORG_STORAGE_KEY = "vrm.activeOrg";
885
892
  var MODE_STORAGE_KEY = "vrm.activeMode";
@@ -1250,7 +1257,7 @@ function ChromeTopBarActions() {
1250
1257
  function ChromeDevNotesMenu() {
1251
1258
  const { ready, openTasks, activate } = useContext(DevNotesTasksContext);
1252
1259
  if (!ready) return null;
1253
- return /* @__PURE__ */ jsx("span", { style: { display: "contents" }, onPointerDownCapture: activate, onFocusCapture: activate, onKeyDownCapture: activate, children: /* @__PURE__ */ jsx(DevNotesMenu, { position: "top-right", onViewTasks: openTasks }) });
1260
+ return /* @__PURE__ */ jsx("span", { style: { display: "contents" }, onPointerDownCapture: activate, onFocusCapture: activate, onKeyDownCapture: activate, children: /* @__PURE__ */ jsx(DevNotesMenu, { position: "top-right", icon: LuNotebookPen, onViewTasks: openTasks }) });
1254
1261
  }
1255
1262
  function useIsSuperAdmin() {
1256
1263
  const state = useChromeState();
@@ -1306,14 +1313,14 @@ var MODE_DEFS = [
1306
1313
  {
1307
1314
  id: "relationship",
1308
1315
  label: "Relationship Mode",
1309
- icon: FiUsers,
1316
+ icon: LuContactRound,
1310
1317
  href: `${CORE_BASE_URL}/relationship/dashboard`,
1311
1318
  orgQuery: true
1312
1319
  },
1313
1320
  {
1314
1321
  id: "campaign",
1315
1322
  label: "Campaign Mode",
1316
- icon: FiBarChart2,
1323
+ icon: LuMegaphone,
1317
1324
  href: `${CORE_BASE_URL}/campaign/dashboard`,
1318
1325
  orgQuery: true
1319
1326
  },
@@ -1322,7 +1329,7 @@ var MODE_DEFS = [
1322
1329
  // petitions repo deploys production to petition-mode.politogyvrm.com.
1323
1330
  id: "petition",
1324
1331
  label: "Petition Mode",
1325
- icon: FiFlag,
1332
+ icon: LuFilePenLine,
1326
1333
  href: "https://petition-mode.politogyvrm.com/",
1327
1334
  orgQuery: true
1328
1335
  }