@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.
- package/CHANGELOG.md +23 -0
- package/README.md +6 -48
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +1 -1
- package/dist/app-chrome.d.ts +1 -1
- package/dist/app-chrome.js +3 -3
- package/dist/chrome.css +0 -20
- package/dist/{chunk-SJDFAK5R.js → chunk-WDVQBUWF.js} +4 -10
- package/dist/chunk-WDVQBUWF.js.map +1 -0
- package/dist/{chunk-J23MTK56.js → chunk-ZS7MQXDQ.js} +41 -402
- package/dist/chunk-ZS7MQXDQ.js.map +1 -0
- package/dist/{index-CZylXAP4.d.cts → index-Cg5aEImm.d.cts} +8 -201
- package/dist/{index-DwkSyAip.d.ts → index-DG32i0jC.d.ts} +8 -201
- package/dist/index.cjs +58 -437
- 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 +7 -19
- package/dist/index.js.map +1 -1
- package/dist/native.cjs +39 -412
- 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 +2 -13
- package/dist/chunk-J23MTK56.js.map +0 -1
- package/dist/chunk-SJDFAK5R.js.map +0 -1
- package/eslint/index.cjs +0 -172
- package/eslint/index.d.ts +0 -6
- package/eslint/index.mjs +0 -5
package/dist/app-chrome.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
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
|
/**
|
package/dist/app-chrome.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
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
|
/**
|
package/dist/app-chrome.js
CHANGED
|
@@ -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-
|
|
5
|
-
export { standardNavIcons } from './chunk-
|
|
6
|
-
import { warnDeprecated, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-
|
|
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-
|
|
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-
|
|
1985
|
-
//# sourceMappingURL=chunk-
|
|
1978
|
+
//# sourceMappingURL=chunk-WDVQBUWF.js.map
|
|
1979
|
+
//# sourceMappingURL=chunk-WDVQBUWF.js.map
|