@the-portland-company/shell 0.96.0 → 0.96.2
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 +16 -0
- package/dist/app-chrome.cjs +16 -11
- 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 +12 -11
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-5OTXPYZU.js → chunk-537NZZVP.js} +2 -2
- package/dist/{chunk-5OTXPYZU.js.map → chunk-537NZZVP.js.map} +1 -1
- package/dist/{chunk-QGNJLKT5.js → chunk-SKXBGQ33.js} +11 -7
- package/dist/chunk-SKXBGQ33.js.map +1 -0
- package/dist/{index-3YFy4JHI.d.cts → index-DJtKw0Fd.d.cts} +2 -0
- package/dist/{index-CqHKy3vG.d.ts → index-HwDXhFOA.d.ts} +2 -0
- 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 +8 -4
- 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-QGNJLKT5.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, 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-
|
|
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-DJtKw0Fd.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, 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-
|
|
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-HwDXhFOA.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-SKXBGQ33.js';
|
|
5
|
+
export { standardNavIcons } from './chunk-SKXBGQ33.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-537NZZVP.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';
|
|
@@ -829,6 +829,7 @@ function FrameBody({
|
|
|
829
829
|
name: activeCoreOrg.name,
|
|
830
830
|
id: activeCoreOrg.id,
|
|
831
831
|
logoUrl: activeCoreOrg.logoUrl,
|
|
832
|
+
iconUrl: activeCoreOrg.iconUrl ?? null,
|
|
832
833
|
brandColor: activeCoreOrg.brandColor,
|
|
833
834
|
organizations: coreOrgs,
|
|
834
835
|
onSwitch: chrome?.setOrgId
|
|
@@ -932,6 +933,7 @@ function TokenChromeStateProvider({
|
|
|
932
933
|
id: o.id,
|
|
933
934
|
name: o.name,
|
|
934
935
|
logoUrl: o.logoUrl,
|
|
936
|
+
iconUrl: o.iconUrl ?? null,
|
|
935
937
|
brandColor: o.brandColor,
|
|
936
938
|
role: o.role,
|
|
937
939
|
rawRole: o.rawRole ?? null
|
|
@@ -1192,6 +1194,7 @@ function ChromeStateProvider({
|
|
|
1192
1194
|
id: o.id,
|
|
1193
1195
|
name: o.name,
|
|
1194
1196
|
logoUrl: o.logoUrl,
|
|
1197
|
+
iconUrl: o.iconUrl ?? null,
|
|
1195
1198
|
brandColor: o.brandColor,
|
|
1196
1199
|
role: o.role,
|
|
1197
1200
|
rawRole: o.rawRole ?? null
|
|
@@ -1209,6 +1212,7 @@ function ChromeStateProvider({
|
|
|
1209
1212
|
id: o.id,
|
|
1210
1213
|
name: o.name,
|
|
1211
1214
|
logoUrl: o.logoUrl,
|
|
1215
|
+
iconUrl: o.iconUrl ?? null,
|
|
1212
1216
|
brandColor: o.brandColor,
|
|
1213
1217
|
role: o.role,
|
|
1214
1218
|
rawRole: o.rawRole ?? null
|
|
@@ -1426,14 +1430,11 @@ function useIsSuperAdmin() {
|
|
|
1426
1430
|
return (state?.orgs ?? []).some((o) => /super/i.test(o.rawRole ?? ""));
|
|
1427
1431
|
}
|
|
1428
1432
|
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
|
-
];
|
|
1433
|
+
return FOOTER_LINKS.map((l) => ({ ...l }));
|
|
1435
1434
|
}
|
|
1436
|
-
var
|
|
1435
|
+
var FOOTER_LINKS = [
|
|
1436
|
+
{ label: "Privacy", href: "https://politogyvrm.com/privacy", external: true },
|
|
1437
|
+
{ label: "Terms", href: "https://politogyvrm.com/terms-of-service", external: true },
|
|
1437
1438
|
{
|
|
1438
1439
|
label: "Subscriptions",
|
|
1439
1440
|
href: "https://politogyvrm.com/subscription-cancellation-policy",
|