@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.
- package/CHANGELOG.md +17 -0
- package/dist/app-chrome.cjs +5 -7
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +5 -4
- package/dist/app-chrome.d.ts +5 -4
- package/dist/app-chrome.js +8 -11
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-JQ53VZO5.js → chunk-5OTXPYZU.js} +257 -5
- package/dist/chunk-5OTXPYZU.js.map +1 -0
- package/dist/{chunk-BA3GITRQ.js → chunk-V2OFN2S2.js} +4 -3
- package/dist/chunk-V2OFN2S2.js.map +1 -0
- package/dist/{index-AIzWNzl-.d.cts → index-3YFy4JHI.d.cts} +46 -1
- package/dist/{index-Byjq0Whp.d.ts → index-CqHKy3vG.d.ts} +46 -1
- package/dist/index.cjs +257 -2
- 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 +2 -2
- package/dist/native.cjs +256 -0
- 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 +1 -1
- package/dist/chunk-BA3GITRQ.js.map +0 -1
- package/dist/chunk-JQ53VZO5.js.map +0 -1
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 { S as StandardNavIconKey,
|
|
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
|
|
535
|
-
*
|
|
536
|
-
*
|
|
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
|
/**
|
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 { S as StandardNavIconKey,
|
|
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
|
|
535
|
-
*
|
|
536
|
-
*
|
|
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
|
/**
|
package/dist/app-chrome.js
CHANGED
|
@@ -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-
|
|
5
|
-
export { standardNavIcons } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import { warnDeprecated, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-
|
|
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
|
-
|
|
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
|
|
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",
|