@the-portland-company/shell 0.87.1 → 0.89.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,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-J23MTK56.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-SJDFAK5R.js.map
1985
+ //# sourceMappingURL=chunk-SJDFAK5R.js.map