@the-portland-company/shell 0.71.0 → 0.72.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.
- package/CHANGELOG.md +16 -0
- package/dist/app-chrome.cjs +81 -224
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +8 -7
- package/dist/app-chrome.d.ts +8 -7
- package/dist/app-chrome.js +4 -42
- package/dist/app-chrome.js.map +1 -1
- package/dist/chrome.css +7 -0
- package/dist/{chunk-B2AQL37X.js → chunk-6OM62ZTK.js} +85 -178
- package/dist/chunk-6OM62ZTK.js.map +1 -0
- package/dist/native.cjs +85 -175
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +8 -5
- package/dist/native.d.ts +8 -5
- package/dist/native.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-B2AQL37X.js.map +0 -1
package/dist/app-chrome.d.cts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { NavItem, NavBreadcrumb, StandardNavMode, NavLinkComponent, NavChromeFetcher, NavMode, NavUserMenu, NavOrgOption,
|
|
3
|
+
import { StandardNavIconKey, NavIcon, NavItem, NavBreadcrumb, StandardNavMode, NavLinkComponent, NavChromeFetcher, NavMode, NavUserMenu, NavOrgOption, NavFooter, NavDisplayMode } from './native.cjs';
|
|
4
4
|
import './theme-preference.cjs';
|
|
5
5
|
import './FormColumn-DsNP6NVG.cjs';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* The canonical icon map for standardPolitogyNav — ONE definition so every
|
|
9
|
+
* app renders identical glyphs (including the Organization Settings branch:
|
|
10
|
+
* briefcase / settings / creditCard / dollarSign / share).
|
|
11
|
+
*/
|
|
12
|
+
declare const standardNavIcons: Record<StandardNavIconKey, NavIcon>;
|
|
13
|
+
|
|
7
14
|
declare function deriveBreadcrumbs(items: NavItem[], pathname: string, opts?: {
|
|
8
15
|
search?: string;
|
|
9
16
|
origin?: string;
|
|
@@ -348,12 +355,6 @@ declare function PolitogyAppFrame({ app, pathname, search, linkComponent, sessio
|
|
|
348
355
|
children: ReactNode;
|
|
349
356
|
}): react_jsx_runtime.JSX.Element;
|
|
350
357
|
|
|
351
|
-
/**
|
|
352
|
-
* The canonical icon map for standardPolitogyNav — ONE definition so every
|
|
353
|
-
* app renders identical glyphs (including the Organization Settings branch:
|
|
354
|
-
* briefcase / settings / creditCard / dollarSign / share).
|
|
355
|
-
*/
|
|
356
|
-
declare const standardNavIcons: Record<StandardNavIconKey, NavIcon>;
|
|
357
358
|
type ChromeIdentity = {
|
|
358
359
|
userId: string;
|
|
359
360
|
userName: string | null;
|
package/dist/app-chrome.d.ts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { NavItem, NavBreadcrumb, StandardNavMode, NavLinkComponent, NavChromeFetcher, NavMode, NavUserMenu, NavOrgOption,
|
|
3
|
+
import { StandardNavIconKey, NavIcon, NavItem, NavBreadcrumb, StandardNavMode, NavLinkComponent, NavChromeFetcher, NavMode, NavUserMenu, NavOrgOption, NavFooter, NavDisplayMode } from './native.js';
|
|
4
4
|
import './theme-preference.js';
|
|
5
5
|
import './FormColumn-DsNP6NVG.js';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* The canonical icon map for standardPolitogyNav — ONE definition so every
|
|
9
|
+
* app renders identical glyphs (including the Organization Settings branch:
|
|
10
|
+
* briefcase / settings / creditCard / dollarSign / share).
|
|
11
|
+
*/
|
|
12
|
+
declare const standardNavIcons: Record<StandardNavIconKey, NavIcon>;
|
|
13
|
+
|
|
7
14
|
declare function deriveBreadcrumbs(items: NavItem[], pathname: string, opts?: {
|
|
8
15
|
search?: string;
|
|
9
16
|
origin?: string;
|
|
@@ -348,12 +355,6 @@ declare function PolitogyAppFrame({ app, pathname, search, linkComponent, sessio
|
|
|
348
355
|
children: ReactNode;
|
|
349
356
|
}): react_jsx_runtime.JSX.Element;
|
|
350
357
|
|
|
351
|
-
/**
|
|
352
|
-
* The canonical icon map for standardPolitogyNav — ONE definition so every
|
|
353
|
-
* app renders identical glyphs (including the Organization Settings branch:
|
|
354
|
-
* briefcase / settings / creditCard / dollarSign / share).
|
|
355
|
-
*/
|
|
356
|
-
declare const standardNavIcons: Record<StandardNavIconKey, NavIcon>;
|
|
357
358
|
type ChromeIdentity = {
|
|
358
359
|
userId: string;
|
|
359
360
|
userName: string | null;
|
package/dist/app-chrome.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
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-
|
|
3
|
+
import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useThemePreference, useNavChromeFetcher, useChromeOrgs } from './chunk-6OM62ZTK.js';
|
|
4
|
+
export { standardNavIcons } from './chunk-6OM62ZTK.js';
|
|
4
5
|
import { warnDeprecated } from './chunk-LPSBSAF3.js';
|
|
5
6
|
import './chunk-NHBNM5P3.js';
|
|
6
7
|
import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, isNavDisplayPreference, writeNavDisplayCookie, writeNavDisplayLocal, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-7YVJ7HQG.js';
|
|
7
8
|
import { resolveActiveOrg, isOrgId, writeActiveOrgCookie, ACTIVE_ORG_QUERY_PARAM, readActiveOrgCookie } from './chunk-W2HITMV5.js';
|
|
8
9
|
import { createContext, useMemo, useRef, useEffect, useState, useCallback, useContext } from 'react';
|
|
9
10
|
import { DevNotesMenu, createDevNotesClient, DevNotesProvider, DevNotesTaskListModal, DevNotesOverlay } from '@the-portland-company/devnotes';
|
|
10
|
-
import {
|
|
11
|
+
import { LuNotebookPen, LuContactRound, LuMegaphone, LuFilePenLine } from 'react-icons/lu';
|
|
11
12
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
12
13
|
|
|
13
14
|
// src/lib/breadcrumbs.ts
|
|
@@ -849,45 +850,6 @@ function FrameBody({
|
|
|
849
850
|
)
|
|
850
851
|
] });
|
|
851
852
|
}
|
|
852
|
-
var standardNavIcons = {
|
|
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,
|
|
874
|
-
// Campaign / Petition mode slots.
|
|
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
|
|
890
|
-
};
|
|
891
853
|
var ORG_STORAGE_KEY = "vrm.activeOrg";
|
|
892
854
|
var MODE_STORAGE_KEY = "vrm.activeMode";
|
|
893
855
|
var CORE_BASE_URL = "https://app.politogyvrm.com";
|
|
@@ -1396,6 +1358,6 @@ function useChromeMode(arg = {}) {
|
|
|
1396
1358
|
};
|
|
1397
1359
|
}
|
|
1398
1360
|
|
|
1399
|
-
export { ChromeTopBarActions, LoadingScreen, POLITOGY_APPS, PolitogyAppChrome, PolitogyAppFrame, deriveBreadcrumbs, looksLikeEmail, resolveIdentity,
|
|
1361
|
+
export { ChromeTopBarActions, LoadingScreen, POLITOGY_APPS, PolitogyAppChrome, PolitogyAppFrame, deriveBreadcrumbs, looksLikeEmail, resolveIdentity, useChromeFooter, useChromeIdentity, useChromeMode, useChromeState, useChromeUserMenu, useIsSuperAdmin };
|
|
1400
1362
|
//# sourceMappingURL=app-chrome.js.map
|
|
1401
1363
|
//# sourceMappingURL=app-chrome.js.map
|