@the-portland-company/shell 0.95.0 → 0.96.1

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,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { S as StandardNavIconKey, k as NavIcon, N as NavItem, l as NavBreadcrumb, m as StandardNavMode, o as NavLinkComponent, p as NavChromeFetcher, q as NavMode, s as NavUserMenu, t as NavOrgOption, f as NotificationsAdapter, u as NavFooterLink, v as NavFooter, w as NavDisplayMode } from './index-AIzWNzl-.cjs';
3
+ import { S as StandardNavIconKey, o as NavIcon, N as NavItem, p as NavBreadcrumb, q as StandardNavMode, s as NavLinkComponent, t as NavChromeFetcher, u as NavMode, v as NavUserMenu, w as NavOrgOption, f as NotificationsAdapter, x as NavFooterLink, y as NavFooter, z as NavDisplayMode } from './index-3YFy4JHI.cjs';
4
4
  import './theme-preference.cjs';
5
5
  import './brand-favicon.cjs';
6
6
 
@@ -531,9 +531,10 @@ declare function ChromeTopBarActions(): react_jsx_runtime.JSX.Element | null;
531
531
  /** True when any core-org membership carries a super-admin tier. */
532
532
  declare function useIsSuperAdmin(): boolean;
533
533
  /**
534
- * The legal pages live on Politogy ID (Reference/UI-Platform "Retirement of
535
- * app.politogyvrm.com": legal pages → `auth.politogyvrm.com`). Resolved per
536
- * call so a staging host links to the staging IdP.
534
+ * The legal pages are the public website's (Ben 2026-11-04: "Yes, point them
535
+ * now"; the Webmaster keeps these exact addresses through the relaunch). They
536
+ * were Politogy ID's `/privacy-policy` and `/terms-and-conditions`. All three
537
+ * are outside the app frame, so they open in a new tab (`external`).
537
538
  */
538
539
  declare function footerLinks(): NavFooterLink[];
539
540
  /**
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { S as StandardNavIconKey, k as NavIcon, N as NavItem, l as NavBreadcrumb, m as StandardNavMode, o as NavLinkComponent, p as NavChromeFetcher, q as NavMode, s as NavUserMenu, t as NavOrgOption, f as NotificationsAdapter, u as NavFooterLink, v as NavFooter, w as NavDisplayMode } from './index-Byjq0Whp.js';
3
+ import { S as StandardNavIconKey, o as NavIcon, N as NavItem, p as NavBreadcrumb, q as StandardNavMode, s as NavLinkComponent, t as NavChromeFetcher, u as NavMode, v as NavUserMenu, w as NavOrgOption, f as NotificationsAdapter, x as NavFooterLink, y as NavFooter, z as NavDisplayMode } from './index-CqHKy3vG.js';
4
4
  import './theme-preference.js';
5
5
  import './brand-favicon.js';
6
6
 
@@ -531,9 +531,10 @@ declare function ChromeTopBarActions(): react_jsx_runtime.JSX.Element | null;
531
531
  /** True when any core-org membership carries a super-admin tier. */
532
532
  declare function useIsSuperAdmin(): boolean;
533
533
  /**
534
- * The legal pages live on Politogy ID (Reference/UI-Platform "Retirement of
535
- * app.politogyvrm.com": legal pages → `auth.politogyvrm.com`). Resolved per
536
- * call so a staging host links to the staging IdP.
534
+ * The legal pages are the public website's (Ben 2026-11-04: "Yes, point them
535
+ * now"; the Webmaster keeps these exact addresses through the relaunch). They
536
+ * were Politogy ID's `/privacy-policy` and `/terms-and-conditions`. All three
537
+ * are outside the app frame, so they open in a new tab (`external`).
537
538
  */
538
539
  declare function footerLinks(): NavFooterLink[];
539
540
  /**
@@ -1,10 +1,10 @@
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-BA3GITRQ.js';
5
- export { standardNavIcons } from './chunk-BA3GITRQ.js';
6
- import { authBaseUrl, orgIdTail, settingsBaseUrl, ORG_ID_QUERY_PARAM, readOrgSelectorFromUrl, matchOrgSelector, syncOrgIdInUrl, isOrgId, switchActiveOrg, ACTIVE_ORG_QUERY_PARAM, writeActiveOrgCookie, resolveActiveOrg, readActiveOrgCookie } from './chunk-5LO5W7W5.js';
7
- import { warnDeprecated, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-JQ53VZO5.js';
4
+ import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell } from './chunk-V2OFN2S2.js';
5
+ export { standardNavIcons } from './chunk-V2OFN2S2.js';
6
+ import { orgIdTail, authBaseUrl, settingsBaseUrl, ORG_ID_QUERY_PARAM, readOrgSelectorFromUrl, matchOrgSelector, syncOrgIdInUrl, isOrgId, switchActiveOrg, ACTIVE_ORG_QUERY_PARAM, writeActiveOrgCookie, resolveActiveOrg, readActiveOrgCookie } from './chunk-5LO5W7W5.js';
7
+ import { warnDeprecated, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-5OTXPYZU.js';
8
8
  import './chunk-BHRVZPZ7.js';
9
9
  import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, writeNavDisplayLocal, writeNavDisplayCookie, isNavDisplayPreference, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-7YVJ7HQG.js';
10
10
  import { useBrandAssets, BrandFavicon } from './chunk-BMR5WAWH.js';
@@ -1426,14 +1426,11 @@ function useIsSuperAdmin() {
1426
1426
  return (state?.orgs ?? []).some((o) => /super/i.test(o.rawRole ?? ""));
1427
1427
  }
1428
1428
  function footerLinks() {
1429
- const auth = authBaseUrl();
1430
- return [
1431
- { label: "Privacy", href: `${auth}/privacy-policy`, external: true },
1432
- { label: "Terms", href: `${auth}/terms-and-conditions`, external: true },
1433
- ...FOOTER_LINKS_STATIC
1434
- ];
1429
+ return FOOTER_LINKS.map((l) => ({ ...l }));
1435
1430
  }
1436
- var FOOTER_LINKS_STATIC = [
1431
+ var FOOTER_LINKS = [
1432
+ { label: "Privacy", href: "https://politogyvrm.com/privacy", external: true },
1433
+ { label: "Terms", href: "https://politogyvrm.com/terms-of-service", external: true },
1437
1434
  {
1438
1435
  label: "Subscriptions",
1439
1436
  href: "https://politogyvrm.com/subscription-cancellation-policy",