@the-portland-company/shell 0.96.2 → 0.97.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 +12 -0
- package/dist/app-chrome.cjs +41 -624
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +6 -3
- package/dist/app-chrome.d.ts +6 -3
- package/dist/app-chrome.js +14 -23
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-537NZZVP.js → chunk-VAQNZD37.js} +32 -4
- package/dist/chunk-VAQNZD37.js.map +1 -0
- package/dist/{chunk-SKXBGQ33.js → chunk-WQR42AGC.js} +7 -6
- package/dist/chunk-WQR42AGC.js.map +1 -0
- package/dist/{index-HwDXhFOA.d.ts → index-BEMGfLpI.d.ts} +24 -1
- package/dist/{index-DJtKw0Fd.d.cts → index-BaUIPQpN.d.cts} +24 -1
- 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 +35 -3
- 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-537NZZVP.js.map +0 -1
- package/dist/chunk-SKXBGQ33.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { orgIdTail, authBaseUrl } from './chunk-5LO5W7W5.js';
|
|
2
|
-
import { PageHeaderView, BreadcrumbBarView, resolveOrgLogoUrl, topBarIconButtonClass, TopBarTooltip, TopBarPanelArrow, NavThemeControl, NAV_DISPLAY_OPTIONS, useTopBarIconSlotGlyph, resolveBrandGlyph, TOPBAR_GLYPH_SIZE, resolveTabGlyph, warnDeprecated, SpeculationRulesScript } from './chunk-
|
|
2
|
+
import { PageHeaderView, BreadcrumbBarView, resolveOrgLogoUrl, topBarIconButtonClass, TopBarTooltip, TopBarPanelArrow, NavThemeControl, NAV_DISPLAY_OPTIONS, useTopBarIconSlotGlyph, resolveBrandGlyph, TOPBAR_GLYPH_SIZE, resolveTabGlyph, warnDeprecated, SpeculationRulesScript } from './chunk-VAQNZD37.js';
|
|
3
3
|
import { readRailPreference, writeRailPreference } from './chunk-7YVJ7HQG.js';
|
|
4
4
|
import { createContext, useRef, useEffect, useMemo, useState, Fragment as Fragment$1, useContext } from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
@@ -241,13 +241,14 @@ function standardPolitogyNav(opts) {
|
|
|
241
241
|
});
|
|
242
242
|
};
|
|
243
243
|
const accountRows = () => [
|
|
244
|
-
{ kind: "section", label: "Account" },
|
|
244
|
+
{ kind: "section", label: "Account", railHidden: true },
|
|
245
245
|
// My Profile moved to the Politogy ID account app (auth.politogyvrm.com)
|
|
246
246
|
// with the retirement of app.politogyvrm.com.
|
|
247
|
-
{ label: "My profile", icon: icon("circleUser"), href: withOrg(`${AUTH_ORIGIN}my-profile`) },
|
|
247
|
+
{ label: "My profile", icon: icon("circleUser"), href: withOrg(`${AUTH_ORIGIN}my-profile`), railHidden: true },
|
|
248
248
|
{
|
|
249
249
|
label: "Organization settings",
|
|
250
250
|
icon: icon("settings"),
|
|
251
|
+
railHidden: true,
|
|
251
252
|
// Organization settings moved to the standalone Settings app
|
|
252
253
|
// (settings.politogyvrm.com, Specs/Organization-Settings v12).
|
|
253
254
|
href: withOrg(`${SETTINGS_ORIGIN}organization-settings`),
|
|
@@ -904,7 +905,7 @@ function NavSidebar({
|
|
|
904
905
|
] }),
|
|
905
906
|
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col overflow-y-auto px-[10px] py-3", children: /* @__PURE__ */ jsxs("nav", { className: "flex flex-col gap-0.5", children: [
|
|
906
907
|
nav.groupLabel ? /* @__PURE__ */ jsx("p", { className: `${NAV_EYEBROW_CLASS} px-2 pb-1.5 pt-1 ${rc("max-md:hidden")}`, children: nav.groupLabel }) : null,
|
|
907
|
-
nav.items.map((item, idx) => {
|
|
908
|
+
nav.items.filter((item) => !item.railHidden).map((item, idx) => {
|
|
908
909
|
if (item.kind === "section") {
|
|
909
910
|
return /* @__PURE__ */ jsx(
|
|
910
911
|
NavSectionRow,
|
|
@@ -2030,5 +2031,5 @@ function NavAppShell({
|
|
|
2030
2031
|
}
|
|
2031
2032
|
|
|
2032
2033
|
export { BETA_BANNER_DISMISS_KEY, BreadcrumbBar, CAMPAIGN_FEATURE_AVAILABILITY, NavAppShell, NavBetaBanner, NavSidebar, NavTabStrip, NavTopBar, PageHeader, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, shortEnvLabel, shortUserName, standardNavIcons, standardPolitogyNav };
|
|
2033
|
-
//# sourceMappingURL=chunk-
|
|
2034
|
-
//# sourceMappingURL=chunk-
|
|
2034
|
+
//# sourceMappingURL=chunk-WQR42AGC.js.map
|
|
2035
|
+
//# sourceMappingURL=chunk-WQR42AGC.js.map
|