@the-portland-company/shell 0.99.0 → 0.100.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 +17 -0
- package/dist/app-chrome.cjs +117 -10
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +8 -1
- package/dist/app-chrome.d.ts +8 -1
- package/dist/app-chrome.js +41 -4
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-YMCWLO2L.js → chunk-2JH5AWUG.js} +74 -4
- package/dist/chunk-2JH5AWUG.js.map +1 -0
- package/dist/{index-Di9AyVsU.d.ts → index-2RNBy1XE.d.ts} +16 -1
- package/dist/{index-DhrhpBVm.d.cts → index-B57_u6pS.d.cts} +16 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/native.cjs +73 -0
- 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 +1 -1
- package/package.json +1 -1
- package/dist/chunk-YMCWLO2L.js.map +0 -1
|
@@ -655,6 +655,21 @@ declare function MyProfileAction({ href }: {
|
|
|
655
655
|
href: string;
|
|
656
656
|
}): react_jsx_runtime.JSX.Element;
|
|
657
657
|
|
|
658
|
+
type PageIdentity = {
|
|
659
|
+
pathname: string;
|
|
660
|
+
mode: string | null;
|
|
661
|
+
page: string | null;
|
|
662
|
+
tab: string | null;
|
|
663
|
+
};
|
|
664
|
+
declare function pageIdentityOf(pathname: string, search: string): PageIdentity;
|
|
665
|
+
/** True when `next` is a different page from `prev` under the rule above. */
|
|
666
|
+
declare function isNewPage(prev: PageIdentity, next: PageIdentity): boolean;
|
|
667
|
+
/**
|
|
668
|
+
* Rendered once by `NavAppShell`. Scrolls the window to the top whenever the
|
|
669
|
+
* URL moves to a new page (see the rule at the top of this file).
|
|
670
|
+
*/
|
|
671
|
+
declare function useScrollToTopOnNewPage(): void;
|
|
672
|
+
|
|
658
673
|
/** Page header for apps with no react-router. Same view as the main entry. */
|
|
659
674
|
declare function PageHeader(props: PageHeaderProps): react_jsx_runtime.JSX.Element;
|
|
660
675
|
|
|
@@ -1336,4 +1351,4 @@ type NavAppShellProps = {
|
|
|
1336
1351
|
};
|
|
1337
1352
|
declare function NavAppShell({ sidebar, topBar, betaBanner, contentWrapper, accountMenuPlacement, modeId, children, }: NavAppShellProps): react_jsx_runtime.JSX.Element;
|
|
1338
1353
|
|
|
1339
|
-
export { CREDIT_TYPE_LABELS as $, AI_CREDITS_STATE_TITLES as A, type BreadcrumbBarProps as B, CONTACTS_ORIGIN as C, type NavBreadcrumb as D, type StandardNavMode as E, FormColumn as F, type NavLinkComponent as G, HeaderTabBar as H, type NavChromeFetcher as I, type NavMode as J, KNOWN_TAB_GLYPHS as K, type NavUserMenu as L, type NavOrgOption as M, type NavItem as N, type NavFooterLink as O, type PageHeaderProps as P, type NavFooter as Q, RowMenu as R, type StandardNavIconKey as S, type TabGlyphComponent as T, type NavDisplayMode as U, VRM_TIER_LABELS as V, BETA_BANNER_DISMISS_KEY as W, BreadcrumbBar as X, CAMPAIGN_FEATURE_AVAILABILITY as Y, CORE_APP_ORIGIN as Z, CORE_BILLING_PATH as _, AiCreditsState as a,
|
|
1354
|
+
export { CREDIT_TYPE_LABELS as $, AI_CREDITS_STATE_TITLES as A, type BreadcrumbBarProps as B, CONTACTS_ORIGIN as C, type NavBreadcrumb as D, type StandardNavMode as E, FormColumn as F, type NavLinkComponent as G, HeaderTabBar as H, type NavChromeFetcher as I, type NavMode as J, KNOWN_TAB_GLYPHS as K, type NavUserMenu as L, type NavOrgOption as M, type NavItem as N, type NavFooterLink as O, type PageHeaderProps as P, type NavFooter as Q, RowMenu as R, type StandardNavIconKey as S, type TabGlyphComponent as T, type NavDisplayMode as U, VRM_TIER_LABELS as V, BETA_BANNER_DISMISS_KEY as W, BreadcrumbBar as X, CAMPAIGN_FEATURE_AVAILABILITY as Y, CORE_APP_ORIGIN as Z, CORE_BILLING_PATH as _, AiCreditsState as a, creditsIconState as a$, CREDIT_TYPE_ORDER as a0, type CampaignFeatureAvailability as a1, type ChromeMe as a2, type ChromeNotificationAlert as a3, type ChromeNotificationImport as a4, type ChromeNotificationQuarantine as a5, type ChromeNotificationReply as a6, type ChromeNotificationsPayload as a7, type ChromeOrgSummary as a8, type CommunicationsFuelStatus as a9, type NavTopBarAction as aA, type NavTopBarProps as aB, type NavUser as aC, NotificationsAction as aD, OrganizationSettingsAction as aE, PageHeader as aF, type PageHeaderMode as aG, type PageIdentity as aH, SPECS_ORIGIN as aI, SpecOverlayAction as aJ, type StandardNavOptions as aK, SupportAction as aL, type ThemePreference as aM, TopBarCountBadge as aN, type TopBarIconTone as aO, TopBarLinkAction as aP, type TopBarLinkActionProps as aQ, TopBarPanelArrow as aR, TopBarPopover as aS, TopBarTooltip as aT, TopBarWidgetSlot as aU, buildLineParts as aV, clearBetaBannerDismissal as aW, creditGaugeRatio as aX, creditStateWord as aY, creditTooltipLine as aZ, creditsAriaLabel as a_, type CreditHealthState as aa, type CreditTypeKey as ab, CreditsAction as ac, type CreditsIconState as ad, FuelAction as ae, type FuelChannelStatus as af, MyProfileAction as ag, NavAppShell as ah, type NavAppShellProps as ai, NavBetaBanner as aj, type NavBetaBannerProps as ak, type NavBrand as al, NavChromeProvider as am, NavDisplayAction as an, type NavLinkProps as ao, type NavLinkedAccount as ap, type NavModeOption as aq, type NavOrg as ar, type NavRoleBadge as as, NavSidebar as at, type NavSidebarProps as au, type NavTab as av, NavTabStrip as aw, type NavTabStripProps as ax, NavThemeControl as ay, NavTopBar as az, type AiCreditsStateKind as b, envChipClasses as b0, isNavItemActive as b1, isNewPage as b2, modeIdFromLabel as b3, pageIdentityOf as b4, resolveOrgLogoUrl as b5, shortEnvLabel as b6, shortUserName as b7, standardPolitogyNav as b8, topBarIconButtonClass as b9, useChromeMe as ba, useChromeOrgs as bb, useNavChromeDedupedFetch as bc, useNavChromeFetcher as bd, useScrollToTopOnNewPage as be, useThemePreference as bf, Card as c, type CommsNotification as d, type CommsNotificationKind as e, ContactSlideIn as f, type ContactSlideInProps as g, type HeaderTabBarItem as h, type NotificationsAdapter as i, type NotificationsFeed as j, RowMenuItem as k, type RowMenuPlacement as l, VRM_VERIFIED_TOOLTIP as m, VrmVerifiedBadge as n, type VrmVerifiedBadgeProps as o, type VrmVerifiedTier as p, aiCreditsWalletUrl as q, contactEmbedUrl as r, contactPageUrl as s, createCommsNotificationsAdapter as t, emptyNotificationsFeed as u, normalizeNotificationsFeed as v, resolveTabGlyph as w, rowMenuPosition as x, useContactSlideIn as y, type NavIcon as z };
|
|
@@ -655,6 +655,21 @@ declare function MyProfileAction({ href }: {
|
|
|
655
655
|
href: string;
|
|
656
656
|
}): react_jsx_runtime.JSX.Element;
|
|
657
657
|
|
|
658
|
+
type PageIdentity = {
|
|
659
|
+
pathname: string;
|
|
660
|
+
mode: string | null;
|
|
661
|
+
page: string | null;
|
|
662
|
+
tab: string | null;
|
|
663
|
+
};
|
|
664
|
+
declare function pageIdentityOf(pathname: string, search: string): PageIdentity;
|
|
665
|
+
/** True when `next` is a different page from `prev` under the rule above. */
|
|
666
|
+
declare function isNewPage(prev: PageIdentity, next: PageIdentity): boolean;
|
|
667
|
+
/**
|
|
668
|
+
* Rendered once by `NavAppShell`. Scrolls the window to the top whenever the
|
|
669
|
+
* URL moves to a new page (see the rule at the top of this file).
|
|
670
|
+
*/
|
|
671
|
+
declare function useScrollToTopOnNewPage(): void;
|
|
672
|
+
|
|
658
673
|
/** Page header for apps with no react-router. Same view as the main entry. */
|
|
659
674
|
declare function PageHeader(props: PageHeaderProps): react_jsx_runtime.JSX.Element;
|
|
660
675
|
|
|
@@ -1336,4 +1351,4 @@ type NavAppShellProps = {
|
|
|
1336
1351
|
};
|
|
1337
1352
|
declare function NavAppShell({ sidebar, topBar, betaBanner, contentWrapper, accountMenuPlacement, modeId, children, }: NavAppShellProps): react_jsx_runtime.JSX.Element;
|
|
1338
1353
|
|
|
1339
|
-
export { CREDIT_TYPE_LABELS as $, AI_CREDITS_STATE_TITLES as A, type BreadcrumbBarProps as B, CONTACTS_ORIGIN as C, type NavBreadcrumb as D, type StandardNavMode as E, FormColumn as F, type NavLinkComponent as G, HeaderTabBar as H, type NavChromeFetcher as I, type NavMode as J, KNOWN_TAB_GLYPHS as K, type NavUserMenu as L, type NavOrgOption as M, type NavItem as N, type NavFooterLink as O, type PageHeaderProps as P, type NavFooter as Q, RowMenu as R, type StandardNavIconKey as S, type TabGlyphComponent as T, type NavDisplayMode as U, VRM_TIER_LABELS as V, BETA_BANNER_DISMISS_KEY as W, BreadcrumbBar as X, CAMPAIGN_FEATURE_AVAILABILITY as Y, CORE_APP_ORIGIN as Z, CORE_BILLING_PATH as _, AiCreditsState as a,
|
|
1354
|
+
export { CREDIT_TYPE_LABELS as $, AI_CREDITS_STATE_TITLES as A, type BreadcrumbBarProps as B, CONTACTS_ORIGIN as C, type NavBreadcrumb as D, type StandardNavMode as E, FormColumn as F, type NavLinkComponent as G, HeaderTabBar as H, type NavChromeFetcher as I, type NavMode as J, KNOWN_TAB_GLYPHS as K, type NavUserMenu as L, type NavOrgOption as M, type NavItem as N, type NavFooterLink as O, type PageHeaderProps as P, type NavFooter as Q, RowMenu as R, type StandardNavIconKey as S, type TabGlyphComponent as T, type NavDisplayMode as U, VRM_TIER_LABELS as V, BETA_BANNER_DISMISS_KEY as W, BreadcrumbBar as X, CAMPAIGN_FEATURE_AVAILABILITY as Y, CORE_APP_ORIGIN as Z, CORE_BILLING_PATH as _, AiCreditsState as a, creditsIconState as a$, CREDIT_TYPE_ORDER as a0, type CampaignFeatureAvailability as a1, type ChromeMe as a2, type ChromeNotificationAlert as a3, type ChromeNotificationImport as a4, type ChromeNotificationQuarantine as a5, type ChromeNotificationReply as a6, type ChromeNotificationsPayload as a7, type ChromeOrgSummary as a8, type CommunicationsFuelStatus as a9, type NavTopBarAction as aA, type NavTopBarProps as aB, type NavUser as aC, NotificationsAction as aD, OrganizationSettingsAction as aE, PageHeader as aF, type PageHeaderMode as aG, type PageIdentity as aH, SPECS_ORIGIN as aI, SpecOverlayAction as aJ, type StandardNavOptions as aK, SupportAction as aL, type ThemePreference as aM, TopBarCountBadge as aN, type TopBarIconTone as aO, TopBarLinkAction as aP, type TopBarLinkActionProps as aQ, TopBarPanelArrow as aR, TopBarPopover as aS, TopBarTooltip as aT, TopBarWidgetSlot as aU, buildLineParts as aV, clearBetaBannerDismissal as aW, creditGaugeRatio as aX, creditStateWord as aY, creditTooltipLine as aZ, creditsAriaLabel as a_, type CreditHealthState as aa, type CreditTypeKey as ab, CreditsAction as ac, type CreditsIconState as ad, FuelAction as ae, type FuelChannelStatus as af, MyProfileAction as ag, NavAppShell as ah, type NavAppShellProps as ai, NavBetaBanner as aj, type NavBetaBannerProps as ak, type NavBrand as al, NavChromeProvider as am, NavDisplayAction as an, type NavLinkProps as ao, type NavLinkedAccount as ap, type NavModeOption as aq, type NavOrg as ar, type NavRoleBadge as as, NavSidebar as at, type NavSidebarProps as au, type NavTab as av, NavTabStrip as aw, type NavTabStripProps as ax, NavThemeControl as ay, NavTopBar as az, type AiCreditsStateKind as b, envChipClasses as b0, isNavItemActive as b1, isNewPage as b2, modeIdFromLabel as b3, pageIdentityOf as b4, resolveOrgLogoUrl as b5, shortEnvLabel as b6, shortUserName as b7, standardPolitogyNav as b8, topBarIconButtonClass as b9, useChromeMe as ba, useChromeOrgs as bb, useNavChromeDedupedFetch as bc, useNavChromeFetcher as bd, useScrollToTopOnNewPage as be, useThemePreference as bf, Card as c, type CommsNotification as d, type CommsNotificationKind as e, ContactSlideIn as f, type ContactSlideInProps as g, type HeaderTabBarItem as h, type NotificationsAdapter as i, type NotificationsFeed as j, RowMenuItem as k, type RowMenuPlacement as l, VRM_VERIFIED_TOOLTIP as m, VrmVerifiedBadge as n, type VrmVerifiedBadgeProps as o, type VrmVerifiedTier as p, aiCreditsWalletUrl as q, contactEmbedUrl as r, contactPageUrl as s, createCommsNotificationsAdapter as t, emptyNotificationsFeed as u, normalizeNotificationsFeed as v, resolveTabGlyph as w, rowMenuPosition as x, useContactSlideIn as y, type NavIcon as z };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PageHeaderProps, B as BreadcrumbBarProps, N as NavItem } from './index-
|
|
2
|
-
export { A as AI_CREDITS_STATE_TITLES, a as AiCreditsState, b as AiCreditsStateKind, C as CONTACTS_ORIGIN, c as Card, d as CommsNotification, e as CommsNotificationKind, f as ContactSlideIn, g as ContactSlideInProps, F as FormColumn, H as HeaderTabBar, h as HeaderTabBarItem, K as KNOWN_TAB_GLYPHS, i as NotificationsAdapter, j as NotificationsFeed, R as RowMenu, k as RowMenuItem, l as RowMenuPlacement, T as TabGlyphComponent, V as VRM_TIER_LABELS, m as VRM_VERIFIED_TOOLTIP, n as VrmVerifiedBadge, o as VrmVerifiedBadgeProps, p as VrmVerifiedTier, q as aiCreditsWalletUrl, r as contactEmbedUrl, s as contactPageUrl, t as createCommsNotificationsAdapter, u as emptyNotificationsFeed, v as normalizeNotificationsFeed, w as resolveTabGlyph, x as rowMenuPosition, y as useContactSlideIn } from './index-
|
|
1
|
+
import { P as PageHeaderProps, B as BreadcrumbBarProps, N as NavItem } from './index-B57_u6pS.cjs';
|
|
2
|
+
export { A as AI_CREDITS_STATE_TITLES, a as AiCreditsState, b as AiCreditsStateKind, C as CONTACTS_ORIGIN, c as Card, d as CommsNotification, e as CommsNotificationKind, f as ContactSlideIn, g as ContactSlideInProps, F as FormColumn, H as HeaderTabBar, h as HeaderTabBarItem, K as KNOWN_TAB_GLYPHS, i as NotificationsAdapter, j as NotificationsFeed, R as RowMenu, k as RowMenuItem, l as RowMenuPlacement, T as TabGlyphComponent, V as VRM_TIER_LABELS, m as VRM_VERIFIED_TOOLTIP, n as VrmVerifiedBadge, o as VrmVerifiedBadgeProps, p as VrmVerifiedTier, q as aiCreditsWalletUrl, r as contactEmbedUrl, s as contactPageUrl, t as createCommsNotificationsAdapter, u as emptyNotificationsFeed, v as normalizeNotificationsFeed, w as resolveTabGlyph, x as rowMenuPosition, y as useContactSlideIn } from './index-B57_u6pS.cjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { ReactNode, CSSProperties } from 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PageHeaderProps, B as BreadcrumbBarProps, N as NavItem } from './index-
|
|
2
|
-
export { A as AI_CREDITS_STATE_TITLES, a as AiCreditsState, b as AiCreditsStateKind, C as CONTACTS_ORIGIN, c as Card, d as CommsNotification, e as CommsNotificationKind, f as ContactSlideIn, g as ContactSlideInProps, F as FormColumn, H as HeaderTabBar, h as HeaderTabBarItem, K as KNOWN_TAB_GLYPHS, i as NotificationsAdapter, j as NotificationsFeed, R as RowMenu, k as RowMenuItem, l as RowMenuPlacement, T as TabGlyphComponent, V as VRM_TIER_LABELS, m as VRM_VERIFIED_TOOLTIP, n as VrmVerifiedBadge, o as VrmVerifiedBadgeProps, p as VrmVerifiedTier, q as aiCreditsWalletUrl, r as contactEmbedUrl, s as contactPageUrl, t as createCommsNotificationsAdapter, u as emptyNotificationsFeed, v as normalizeNotificationsFeed, w as resolveTabGlyph, x as rowMenuPosition, y as useContactSlideIn } from './index-
|
|
1
|
+
import { P as PageHeaderProps, B as BreadcrumbBarProps, N as NavItem } from './index-2RNBy1XE.js';
|
|
2
|
+
export { A as AI_CREDITS_STATE_TITLES, a as AiCreditsState, b as AiCreditsStateKind, C as CONTACTS_ORIGIN, c as Card, d as CommsNotification, e as CommsNotificationKind, f as ContactSlideIn, g as ContactSlideInProps, F as FormColumn, H as HeaderTabBar, h as HeaderTabBarItem, K as KNOWN_TAB_GLYPHS, i as NotificationsAdapter, j as NotificationsFeed, R as RowMenu, k as RowMenuItem, l as RowMenuPlacement, T as TabGlyphComponent, V as VRM_TIER_LABELS, m as VRM_VERIFIED_TOOLTIP, n as VrmVerifiedBadge, o as VrmVerifiedBadgeProps, p as VrmVerifiedTier, q as aiCreditsWalletUrl, r as contactEmbedUrl, s as contactPageUrl, t as createCommsNotificationsAdapter, u as emptyNotificationsFeed, v as normalizeNotificationsFeed, w as resolveTabGlyph, x as rowMenuPosition, y as useContactSlideIn } from './index-2RNBy1XE.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { ReactNode, CSSProperties } from 'react';
|
package/dist/native.cjs
CHANGED
|
@@ -407,6 +407,75 @@ function SpeculationRulesScript({ items }) {
|
|
|
407
407
|
}, [items, origin]);
|
|
408
408
|
return null;
|
|
409
409
|
}
|
|
410
|
+
var PAGE_KEYS = ["mode", "page", "tab"];
|
|
411
|
+
function pageIdentityOf(pathname, search) {
|
|
412
|
+
const params = new URLSearchParams(search.startsWith("?") ? search.slice(1) : search);
|
|
413
|
+
const path = pathname.length > 1 ? pathname.replace(/\/+$/, "") : pathname;
|
|
414
|
+
return {
|
|
415
|
+
pathname: path || "/",
|
|
416
|
+
mode: params.get("mode") || null,
|
|
417
|
+
page: params.get("page") || null,
|
|
418
|
+
tab: params.get("tab") || null
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
function isNewPage(prev, next) {
|
|
422
|
+
if (prev.pathname !== next.pathname) return true;
|
|
423
|
+
return PAGE_KEYS.some((k) => prev[k] !== null && next[k] !== prev[k]);
|
|
424
|
+
}
|
|
425
|
+
function scrollWindowToTop() {
|
|
426
|
+
if (window.scrollX === 0 && window.scrollY === 0) return;
|
|
427
|
+
try {
|
|
428
|
+
window.scrollTo({ top: 0, left: 0, behavior: "instant" });
|
|
429
|
+
} catch {
|
|
430
|
+
window.scrollTo(0, 0);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
var lastIdentity = null;
|
|
434
|
+
var listeners = 0;
|
|
435
|
+
var detach = null;
|
|
436
|
+
function currentIdentity() {
|
|
437
|
+
return pageIdentityOf(window.location.pathname, window.location.search);
|
|
438
|
+
}
|
|
439
|
+
function check(traverse = false) {
|
|
440
|
+
const next = currentIdentity();
|
|
441
|
+
const prev = lastIdentity;
|
|
442
|
+
lastIdentity = next;
|
|
443
|
+
if (!prev || traverse) return;
|
|
444
|
+
if (!isNewPage(prev, next)) return;
|
|
445
|
+
if (window.location.hash) return;
|
|
446
|
+
scrollWindowToTop();
|
|
447
|
+
}
|
|
448
|
+
function attach() {
|
|
449
|
+
const nav = window.navigation;
|
|
450
|
+
if (nav && typeof nav.addEventListener === "function") {
|
|
451
|
+
const onEntryChange = (e) => {
|
|
452
|
+
check(e.navigationType === "traverse");
|
|
453
|
+
};
|
|
454
|
+
nav.addEventListener("currententrychange", onEntryChange);
|
|
455
|
+
return () => nav.removeEventListener("currententrychange", onEntryChange);
|
|
456
|
+
}
|
|
457
|
+
const onPopState = () => check(true);
|
|
458
|
+
window.addEventListener("popstate", onPopState);
|
|
459
|
+
return () => window.removeEventListener("popstate", onPopState);
|
|
460
|
+
}
|
|
461
|
+
var useIsoLayoutEffect = typeof window === "undefined" ? react.useEffect : react.useLayoutEffect;
|
|
462
|
+
function useScrollToTopOnNewPage() {
|
|
463
|
+
react.useEffect(() => {
|
|
464
|
+
if (listeners === 0) detach = attach();
|
|
465
|
+
listeners += 1;
|
|
466
|
+
return () => {
|
|
467
|
+
listeners -= 1;
|
|
468
|
+
if (listeners === 0) {
|
|
469
|
+
detach?.();
|
|
470
|
+
detach = null;
|
|
471
|
+
}
|
|
472
|
+
};
|
|
473
|
+
}, []);
|
|
474
|
+
useIsoLayoutEffect(() => {
|
|
475
|
+
if (lastIdentity) check();
|
|
476
|
+
else lastIdentity = currentIdentity();
|
|
477
|
+
});
|
|
478
|
+
}
|
|
410
479
|
|
|
411
480
|
// src/native/credits.ts
|
|
412
481
|
var CREDIT_TYPE_ORDER = [
|
|
@@ -5167,6 +5236,7 @@ function NavAppShell({
|
|
|
5167
5236
|
children
|
|
5168
5237
|
}) {
|
|
5169
5238
|
useCloseNavDetailsOnOutsideClick();
|
|
5239
|
+
useScrollToTopOnNewPage();
|
|
5170
5240
|
if (contentWrapper === "bare") {
|
|
5171
5241
|
warnDeprecated(
|
|
5172
5242
|
"contentWrapper",
|
|
@@ -5312,7 +5382,9 @@ exports.creditsAriaLabel = creditsAriaLabel;
|
|
|
5312
5382
|
exports.creditsIconState = creditsIconState;
|
|
5313
5383
|
exports.envChipClasses = envChipClasses;
|
|
5314
5384
|
exports.isNavItemActive = isNavItemActive;
|
|
5385
|
+
exports.isNewPage = isNewPage;
|
|
5315
5386
|
exports.modeIdFromLabel = modeIdFromLabel;
|
|
5387
|
+
exports.pageIdentityOf = pageIdentityOf;
|
|
5316
5388
|
exports.resolveOrgLogoUrl = resolveOrgLogoUrl;
|
|
5317
5389
|
exports.resolveTabGlyph = resolveTabGlyph;
|
|
5318
5390
|
exports.rowMenuPosition = rowMenuPosition;
|
|
@@ -5325,6 +5397,7 @@ exports.useChromeOrgs = useChromeOrgs;
|
|
|
5325
5397
|
exports.useContactSlideIn = useContactSlideIn;
|
|
5326
5398
|
exports.useNavChromeDedupedFetch = useNavChromeDedupedFetch;
|
|
5327
5399
|
exports.useNavChromeFetcher = useNavChromeFetcher;
|
|
5400
|
+
exports.useScrollToTopOnNewPage = useScrollToTopOnNewPage;
|
|
5328
5401
|
exports.useThemePreference = useThemePreference;
|
|
5329
5402
|
exports.watchBrandFavicon = watchBrandFavicon;
|
|
5330
5403
|
//# sourceMappingURL=native.cjs.map
|