@the-portland-company/shell 0.57.0 → 0.58.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 +15 -0
- package/dist/app-chrome.cjs +3 -3
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +7 -3
- package/dist/app-chrome.d.ts +7 -3
- package/dist/app-chrome.js +3 -4
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-TMOZTLUZ.js → chunk-BV2QF7NY.js} +3 -2
- package/dist/chunk-BV2QF7NY.js.map +1 -0
- package/dist/native.cjs +1 -0
- package/dist/native.cjs.map +1 -1
- package/dist/native.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-TMOZTLUZ.js.map +0 -1
package/dist/app-chrome.d.cts
CHANGED
|
@@ -402,9 +402,13 @@ declare function ChromeTopBarActions(): react_jsx_runtime.JSX.Element | null;
|
|
|
402
402
|
/** True when any core-org membership carries a super-admin tier. */
|
|
403
403
|
declare function useIsSuperAdmin(): boolean;
|
|
404
404
|
/**
|
|
405
|
-
* Sidebar footer: legal links
|
|
406
|
-
*
|
|
407
|
-
*
|
|
405
|
+
* Sidebar footer: legal links AND build metadata (env / commit / version /
|
|
406
|
+
* date / author) for every user. Reference/UI-Platform "Left bar — required
|
|
407
|
+
* elements" lists Meta unconditionally — it carries no Super Administrator
|
|
408
|
+
* gate. Gating it here (pre-2026-09-30) silently dropped the whole Meta row
|
|
409
|
+
* for every non-admin viewer, which is exactly the "Left Nav not adhering to
|
|
410
|
+
* UI/UX rules" violation DevNotes 83a4713 filed against Contacts. Pass the
|
|
411
|
+
* app's build-time metadata in; it now always reaches the rail.
|
|
408
412
|
*/
|
|
409
413
|
declare function useChromeFooter(meta: {
|
|
410
414
|
envLabel?: string;
|
package/dist/app-chrome.d.ts
CHANGED
|
@@ -402,9 +402,13 @@ declare function ChromeTopBarActions(): react_jsx_runtime.JSX.Element | null;
|
|
|
402
402
|
/** True when any core-org membership carries a super-admin tier. */
|
|
403
403
|
declare function useIsSuperAdmin(): boolean;
|
|
404
404
|
/**
|
|
405
|
-
* Sidebar footer: legal links
|
|
406
|
-
*
|
|
407
|
-
*
|
|
405
|
+
* Sidebar footer: legal links AND build metadata (env / commit / version /
|
|
406
|
+
* date / author) for every user. Reference/UI-Platform "Left bar — required
|
|
407
|
+
* elements" lists Meta unconditionally — it carries no Super Administrator
|
|
408
|
+
* gate. Gating it here (pre-2026-09-30) silently dropped the whole Meta row
|
|
409
|
+
* for every non-admin viewer, which is exactly the "Left Nav not adhering to
|
|
410
|
+
* UI/UX rules" violation DevNotes 83a4713 filed against Contacts. Pass the
|
|
411
|
+
* app's build-time metadata in; it now always reaches the rail.
|
|
408
412
|
*/
|
|
409
413
|
declare function useChromeFooter(meta: {
|
|
410
414
|
envLabel?: string;
|
package/dist/app-chrome.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { broadcastLogout, watchLogout } from './chunk-LL6LSJAH.js';
|
|
3
|
-
import { clearBetaBannerDismissal, standardPolitogyNav, NavAppShell, NavChromeProvider, FuelAction, NavDisplayAction, TopBarWidgetSlot, SpecOverlayAction, SupportAction, NotificationsAction, useChromeMe, useThemePreference, useNavChromeFetcher, useChromeOrgs } from './chunk-
|
|
3
|
+
import { clearBetaBannerDismissal, standardPolitogyNav, NavAppShell, NavChromeProvider, FuelAction, NavDisplayAction, TopBarWidgetSlot, SpecOverlayAction, SupportAction, NotificationsAction, useChromeMe, useThemePreference, useNavChromeFetcher, useChromeOrgs } from './chunk-BV2QF7NY.js';
|
|
4
4
|
import './chunk-U4RZPZET.js';
|
|
5
5
|
import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, isNavDisplayPreference, writeNavDisplayCookie, writeNavDisplayLocal, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-6UHJV2FH.js';
|
|
6
6
|
import { resolveActiveOrg, isOrgId, writeActiveOrgCookie, ACTIVE_ORG_QUERY_PARAM, readActiveOrgCookie } from './chunk-W2HITMV5.js';
|
|
@@ -1175,10 +1175,9 @@ var FOOTER_LINKS = [
|
|
|
1175
1175
|
}
|
|
1176
1176
|
];
|
|
1177
1177
|
function useChromeFooter(meta) {
|
|
1178
|
-
const isSuperAdmin = useIsSuperAdmin();
|
|
1179
1178
|
return useMemo(
|
|
1180
|
-
() =>
|
|
1181
|
-
[
|
|
1179
|
+
() => ({ links: FOOTER_LINKS, ...meta }),
|
|
1180
|
+
[meta.envLabel, meta.version, meta.commit, meta.commitDate, meta.commitAuthor]
|
|
1182
1181
|
);
|
|
1183
1182
|
}
|
|
1184
1183
|
function useChromeIdentity(fallback) {
|