@the-portland-company/shell 0.87.1 → 0.88.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.
@@ -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, f as NavIcon, N as NavItem, g as NavBreadcrumb, h as StandardNavMode, i as NavLinkComponent, j as NavChromeFetcher, k as NavMode, l as NavUserMenu, m as NavOrgOption, b as NotificationsAdapter, o as NavFooterLink, p as NavFooter, q as NavDisplayMode } from './index-bfbWLC7_.cjs';
3
+ import { p as StandardNavIconKey, q as NavIcon, N as NavItem, r as NavBreadcrumb, s as StandardNavMode, t as NavLinkComponent, u as NavChromeFetcher, v as NavMode, w as NavUserMenu, x as NavOrgOption, i as NotificationsAdapter, y as NavFooterLink, z as NavFooter, A as NavDisplayMode } from './index-tfcLFAni.cjs';
4
4
  import './theme-preference.cjs';
5
5
 
6
6
  /**
@@ -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, f as NavIcon, N as NavItem, g as NavBreadcrumb, h as StandardNavMode, i as NavLinkComponent, j as NavChromeFetcher, k as NavMode, l as NavUserMenu, m as NavOrgOption, b as NotificationsAdapter, o as NavFooterLink, p as NavFooter, q as NavDisplayMode } from './index-C31E7M9l.js';
3
+ import { p as StandardNavIconKey, q as NavIcon, N as NavItem, r as NavBreadcrumb, s as StandardNavMode, t as NavLinkComponent, u as NavChromeFetcher, v as NavMode, w as NavUserMenu, x as NavOrgOption, i as NotificationsAdapter, y as NavFooterLink, z as NavFooter, A as NavDisplayMode } from './index-DEiOABW2.js';
4
4
  import './theme-preference.js';
5
5
 
6
6
  /**
@@ -1,9 +1,9 @@
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-3JOLELB4.js';
5
- export { standardNavIcons } from './chunk-3JOLELB4.js';
6
- import { warnDeprecated, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-PRZP2SB6.js';
4
+ import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell } from './chunk-2ACN7HQC.js';
5
+ export { standardNavIcons } from './chunk-2ACN7HQC.js';
6
+ import { warnDeprecated, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-7WSGW5CC.js';
7
7
  import './chunk-BHRVZPZ7.js';
8
8
  import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, writeNavDisplayLocal, writeNavDisplayCookie, isNavDisplayPreference, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-7YVJ7HQG.js';
9
9
  import { authBaseUrl, orgIdTail, settingsBaseUrl, ORG_ID_QUERY_PARAM, readOrgSelectorFromUrl, matchOrgSelector, syncOrgIdInUrl, isOrgId, switchActiveOrg, ACTIVE_ORG_QUERY_PARAM, writeActiveOrgCookie, resolveActiveOrg, readActiveOrgCookie } from './chunk-5LO5W7W5.js';
@@ -1,10 +1,10 @@
1
- import { resolveOrgLogoUrl, topBarIconButtonClass, TopBarTooltip, TopBarPanelArrow, NavThemeControl, NAV_DISPLAY_OPTIONS, useTopBarIconSlotGlyph, resolveBrandGlyph, TOPBAR_GLYPH_SIZE, warnDeprecated, SpeculationRulesScript } from './chunk-PRZP2SB6.js';
1
+ import { PageHeaderView, BreadcrumbBarView, resolveOrgLogoUrl, topBarIconButtonClass, TopBarTooltip, TopBarPanelArrow, NavThemeControl, NAV_DISPLAY_OPTIONS, useTopBarIconSlotGlyph, resolveBrandGlyph, TOPBAR_GLYPH_SIZE, warnDeprecated, SpeculationRulesScript } from './chunk-7WSGW5CC.js';
2
2
  import { readRailPreference, writeRailPreference } from './chunk-7YVJ7HQG.js';
3
3
  import { orgIdTail, authBaseUrl } from './chunk-5LO5W7W5.js';
4
4
  import { createContext, useRef, useEffect, useMemo, useState, Fragment as Fragment$1, useContext } from 'react';
5
5
  import clsx from 'clsx';
6
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
7
  import { LuSignpost, LuDoorOpen, LuChartNoAxesColumn, LuLandmark, LuCrosshair, LuCircleUser, LuClipboardList, LuMousePointerClick, LuUsersRound, LuLayoutDashboard, LuFlag, LuTarget, LuMapPin, LuMap, LuPhone, LuShare2, LuDollarSign, LuCreditCard, LuSettings, LuBriefcase, LuChartColumn, LuUser, LuClock, LuSend, LuFileText, LuPencil, LuUpload, LuList, LuLayoutGrid, LuLifeBuoy, LuActivity, LuMessageSquare, LuMail, LuUsers, LuHouse } from 'react-icons/lu';
7
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
8
8
 
9
9
  // src/native/orgFilter.ts
10
10
  var ORG_FILTER_THRESHOLD = 8;
@@ -19,6 +19,24 @@ function shouldShowOrgFilter(count) {
19
19
  function normalize(s) {
20
20
  return s.normalize("NFD").replace(/[̀-ͯ]/g, "").toLowerCase().trim();
21
21
  }
22
+ function PageHeader(props) {
23
+ return /* @__PURE__ */ jsx(
24
+ PageHeaderView,
25
+ {
26
+ ...props,
27
+ renderCrumbLink: (href, label, className) => /* @__PURE__ */ jsx("a", { href, className, children: label })
28
+ }
29
+ );
30
+ }
31
+ function BreadcrumbBar(props) {
32
+ return /* @__PURE__ */ jsx(
33
+ BreadcrumbBarView,
34
+ {
35
+ ...props,
36
+ renderCrumbLink: (href, label, className) => /* @__PURE__ */ jsx("a", { href, className, children: label })
37
+ }
38
+ );
39
+ }
22
40
  var standardNavIcons = {
23
41
  home: LuHouse,
24
42
  users: LuUsers,
@@ -1962,6 +1980,6 @@ function NavAppShell({
1962
1980
  );
1963
1981
  }
1964
1982
 
1965
- export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, NavAppShell, NavBetaBanner, NavSidebar, NavTabStrip, NavTopBar, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, shortEnvLabel, shortUserName, standardNavIcons, standardPolitogyNav };
1966
- //# sourceMappingURL=chunk-3JOLELB4.js.map
1967
- //# sourceMappingURL=chunk-3JOLELB4.js.map
1983
+ export { BETA_BANNER_DISMISS_KEY, BreadcrumbBar, CAMPAIGN_FEATURE_AVAILABILITY, NavAppShell, NavBetaBanner, NavSidebar, NavTabStrip, NavTopBar, PageHeader, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, shortEnvLabel, shortUserName, standardNavIcons, standardPolitogyNav };
1984
+ //# sourceMappingURL=chunk-2ACN7HQC.js.map
1985
+ //# sourceMappingURL=chunk-2ACN7HQC.js.map