@the-portland-company/shell 0.89.0 → 0.91.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 { v as StandardNavIconKey, w as NavIcon, N as NavItem, x as NavBreadcrumb, y as StandardNavMode, z as NavLinkComponent, A as NavChromeFetcher, D as NavMode, E as NavUserMenu, G as NavOrgOption, o as NotificationsAdapter, J as NavFooterLink, K as NavFooter, L as NavDisplayMode } from './index-CZylXAP4.cjs';
3
+ import { S as StandardNavIconKey, h as NavIcon, N as NavItem, i as NavBreadcrumb, j as StandardNavMode, k as NavLinkComponent, l as NavChromeFetcher, m as NavMode, o as NavUserMenu, p as NavOrgOption, d as NotificationsAdapter, q as NavFooterLink, r as NavFooter, s as NavDisplayMode } from './index-Cg5aEImm.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 { v as StandardNavIconKey, w as NavIcon, N as NavItem, x as NavBreadcrumb, y as StandardNavMode, z as NavLinkComponent, A as NavChromeFetcher, D as NavMode, E as NavUserMenu, G as NavOrgOption, o as NotificationsAdapter, J as NavFooterLink, K as NavFooter, L as NavDisplayMode } from './index-DwkSyAip.js';
3
+ import { S as StandardNavIconKey, h as NavIcon, N as NavItem, i as NavBreadcrumb, j as StandardNavMode, k as NavLinkComponent, l as NavChromeFetcher, m as NavMode, o as NavUserMenu, p as NavOrgOption, d as NotificationsAdapter, q as NavFooterLink, r as NavFooter, s as NavDisplayMode } from './index-DG32i0jC.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-SJDFAK5R.js';
5
- export { standardNavIcons } from './chunk-SJDFAK5R.js';
6
- import { warnDeprecated, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-J23MTK56.js';
4
+ import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell } from './chunk-WDVQBUWF.js';
5
+ export { standardNavIcons } from './chunk-WDVQBUWF.js';
6
+ import { warnDeprecated, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-ZS7MQXDQ.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';
package/dist/chrome.css CHANGED
@@ -599,23 +599,3 @@
599
599
  box-shadow: none !important;
600
600
  }
601
601
 
602
-
603
- /* ---- Card + Checkbox surface tokens (shell 0.89.0) ---------------------
604
- * `Card` and `Checkbox` read these so they follow the theme. Light values are
605
- * the Brand "Card" white, G3 border, graphite text; the muted text is #5C6B80
606
- * (5.9:1 on white) rather than --color-g4, which is 3.0:1 on white and fails AA.
607
- * Dark values are the neutral-black ramp (theme/colors.ts `neutral`): surface
608
- * #161616, border #333333, text #E8E8E8, muted #A3A3A3 (6.9:1 on the surface).
609
- * `applyThemePreference` puts `.dark` on <html>. The Brand stylesheet's `.dark {}` may override any of them. */
610
- :root {
611
- --app-card-bg: #FFFFFF;
612
- --app-card-border: #D7DADF;
613
- --app-card-fg: #2F3136;
614
- --app-card-fg-muted: #5C6B80;
615
- }
616
- .dark {
617
- --app-card-bg: #161616;
618
- --app-card-border: #333333;
619
- --app-card-fg: #E8E8E8;
620
- --app-card-fg-muted: #A3A3A3;
621
- }
@@ -1,4 +1,4 @@
1
- import { PageHeaderView, BreadcrumbBarView, resolveOrgLogoUrl, topBarIconButtonClass, TopBarTooltip, TopBarPanelArrow, NavThemeControl, NAV_DISPLAY_OPTIONS, useTopBarIconSlotGlyph, resolveBrandGlyph, TOPBAR_GLYPH_SIZE, warnDeprecated, SpeculationRulesScript } from './chunk-J23MTK56.js';
1
+ import { PageHeaderView, BreadcrumbBarView, resolveOrgLogoUrl, topBarIconButtonClass, TopBarTooltip, TopBarPanelArrow, NavThemeControl, NAV_DISPLAY_OPTIONS, useTopBarIconSlotGlyph, resolveBrandGlyph, TOPBAR_GLYPH_SIZE, warnDeprecated, SpeculationRulesScript } from './chunk-ZS7MQXDQ.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';
@@ -20,13 +20,7 @@ function normalize(s) {
20
20
  return s.normalize("NFD").replace(/[̀-ͯ]/g, "").toLowerCase().trim();
21
21
  }
22
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
- );
23
+ return /* @__PURE__ */ jsx(PageHeaderView, { ...props });
30
24
  }
31
25
  function BreadcrumbBar(props) {
32
26
  return /* @__PURE__ */ jsx(
@@ -1981,5 +1975,5 @@ function NavAppShell({
1981
1975
  }
1982
1976
 
1983
1977
  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
1978
+ //# sourceMappingURL=chunk-WDVQBUWF.js.map
1979
+ //# sourceMappingURL=chunk-WDVQBUWF.js.map