@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.
- package/CHANGELOG.md +11 -0
- package/README.md +46 -0
- package/bin/shell-version-check.mjs +117 -0
- 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/{chunk-3JOLELB4.js → chunk-2ACN7HQC.js} +23 -5
- package/dist/chunk-2ACN7HQC.js.map +1 -0
- package/dist/{chunk-PRZP2SB6.js → chunk-7WSGW5CC.js} +409 -7
- package/dist/chunk-7WSGW5CC.js.map +1 -0
- package/dist/{index-C31E7M9l.d.ts → index-DEiOABW2.d.ts} +203 -2
- package/dist/{index-bfbWLC7_.d.cts → index-tfcLFAni.d.cts} +203 -2
- package/dist/index.cjs +230 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -79
- package/dist/index.d.ts +6 -79
- package/dist/index.js +21 -204
- package/dist/index.js.map +1 -1
- package/dist/native.cjs +432 -4
- 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/eslint/index.cjs +159 -0
- package/eslint/index.d.ts +6 -0
- package/eslint/index.mjs +5 -0
- package/package.json +17 -2
- package/dist/chunk-3JOLELB4.js.map +0 -1
- package/dist/chunk-PRZP2SB6.js.map +0 -1
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 { 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
|
/**
|
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 { 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
|
/**
|
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-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-
|
|
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-
|
|
1967
|
-
//# sourceMappingURL=chunk-
|
|
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
|