@the-portland-company/shell 0.96.1 → 0.97.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 +20 -0
- package/dist/app-chrome.cjs +52 -628
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +6 -3
- package/dist/app-chrome.d.ts +6 -3
- package/dist/app-chrome.js +18 -23
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-5OTXPYZU.js → chunk-VAQNZD37.js} +32 -4
- package/dist/chunk-VAQNZD37.js.map +1 -0
- package/dist/{chunk-V2OFN2S2.js → chunk-WQR42AGC.js} +14 -10
- package/dist/chunk-WQR42AGC.js.map +1 -0
- package/dist/{index-CqHKy3vG.d.ts → index-BEMGfLpI.d.ts} +26 -1
- package/dist/{index-3YFy4JHI.d.cts → index-BaUIPQpN.d.cts} +26 -1
- 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 +2 -2
- package/dist/native.cjs +42 -7
- 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 +1 -1
- package/dist/chunk-5OTXPYZU.js.map +0 -1
- package/dist/chunk-V2OFN2S2.js.map +0 -1
|
@@ -481,6 +481,8 @@ type ChromeOrgSummary = {
|
|
|
481
481
|
id: string;
|
|
482
482
|
name: string | null;
|
|
483
483
|
logoUrl: string | null;
|
|
484
|
+
/** Brand Kit icon mark (switcher list, collapsed rail). Chrome API ≥ contacts#425. */
|
|
485
|
+
iconUrl?: string | null;
|
|
484
486
|
brandColor: string | null;
|
|
485
487
|
role: string | null;
|
|
486
488
|
/** Un-mapped VRM-core membership role (e.g. "super_admin"). */
|
|
@@ -577,6 +579,23 @@ declare function useThemePreference(): {
|
|
|
577
579
|
value: ThemePreference;
|
|
578
580
|
setValue: (next: ThemePreference) => void;
|
|
579
581
|
};
|
|
582
|
+
type TopBarLinkActionProps = {
|
|
583
|
+
/** Accessible name and tooltip title. */
|
|
584
|
+
label: string;
|
|
585
|
+
/** One-line callout under the title in the tooltip. */
|
|
586
|
+
description: string;
|
|
587
|
+
href: string;
|
|
588
|
+
icon: NavIconLike;
|
|
589
|
+
};
|
|
590
|
+
declare function TopBarLinkAction({ label, description, href, icon: Icon }: TopBarLinkActionProps): react_jsx_runtime.JSX.Element;
|
|
591
|
+
/** Organization settings for the active org (Settings app, `org_id` tail). */
|
|
592
|
+
declare function OrganizationSettingsAction({ href }: {
|
|
593
|
+
href: string;
|
|
594
|
+
}): react_jsx_runtime.JSX.Element;
|
|
595
|
+
/** The user's Politogy ID profile (Left-Navigation §9.4), for the active org. */
|
|
596
|
+
declare function MyProfileAction({ href }: {
|
|
597
|
+
href: string;
|
|
598
|
+
}): react_jsx_runtime.JSX.Element;
|
|
580
599
|
|
|
581
600
|
/** Page header for apps with no react-router. Same view as the main entry. */
|
|
582
601
|
declare function PageHeader(props: PageHeaderProps): react_jsx_runtime.JSX.Element;
|
|
@@ -758,6 +777,12 @@ type NavItem = {
|
|
|
758
777
|
* rows on a lighter panel and support both `href` links and `onClick` actions.
|
|
759
778
|
*/
|
|
760
779
|
children?: NavItem[];
|
|
780
|
+
/**
|
|
781
|
+
* Kept in the tree (breadcrumbs, active-row matching, prefetch rules) but
|
|
782
|
+
* not drawn in the left bar. Ben 2026-11-04: My profile and Organization
|
|
783
|
+
* settings moved to the top bar, so the ACCOUNT section is rail-hidden.
|
|
784
|
+
*/
|
|
785
|
+
railHidden?: boolean;
|
|
761
786
|
};
|
|
762
787
|
type NavLinkProps = {
|
|
763
788
|
href: string;
|
|
@@ -1234,4 +1259,4 @@ type NavAppShellProps = {
|
|
|
1234
1259
|
};
|
|
1235
1260
|
declare function NavAppShell({ sidebar, topBar, betaBanner, contentWrapper, accountMenuPlacement, modeId, children, }: NavAppShellProps): react_jsx_runtime.JSX.Element;
|
|
1236
1261
|
|
|
1237
|
-
export { type CreditHealthState as $, AI_CREDITS_STATE_TITLES as A, type BreadcrumbBarProps as B, Card as C, BETA_BANNER_DISMISS_KEY as D, BreadcrumbBar as E, FormColumn as F, CAMPAIGN_FEATURE_AVAILABILITY as G, HeaderTabBar as H, CORE_APP_ORIGIN as I, CORE_BILLING_PATH as J, KNOWN_TAB_GLYPHS as K, CREDIT_TYPE_LABELS as L, CREDIT_TYPE_ORDER as M, type NavItem as N, type CampaignFeatureAvailability as O, type PageHeaderProps as P, type ChromeMe as Q, RowMenu as R, type StandardNavIconKey as S, type TabGlyphComponent as T, type ChromeNotificationAlert as U, type ChromeNotificationImport as V, type ChromeNotificationQuarantine as W, type ChromeNotificationReply as X, type ChromeNotificationsPayload as Y, type ChromeOrgSummary as Z, type CommunicationsFuelStatus as _, AiCreditsState as a, type CreditTypeKey as a0, CreditsAction as a1, type CreditsIconState as a2, FuelAction as a3, type FuelChannelStatus as a4,
|
|
1262
|
+
export { type CreditHealthState as $, AI_CREDITS_STATE_TITLES as A, type BreadcrumbBarProps as B, Card as C, BETA_BANNER_DISMISS_KEY as D, BreadcrumbBar as E, FormColumn as F, CAMPAIGN_FEATURE_AVAILABILITY as G, HeaderTabBar as H, CORE_APP_ORIGIN as I, CORE_BILLING_PATH as J, KNOWN_TAB_GLYPHS as K, CREDIT_TYPE_LABELS as L, CREDIT_TYPE_ORDER as M, type NavItem as N, type CampaignFeatureAvailability as O, type PageHeaderProps as P, type ChromeMe as Q, RowMenu as R, type StandardNavIconKey as S, type TabGlyphComponent as T, type ChromeNotificationAlert as U, type ChromeNotificationImport as V, type ChromeNotificationQuarantine as W, type ChromeNotificationReply as X, type ChromeNotificationsPayload as Y, type ChromeOrgSummary as Z, type CommunicationsFuelStatus as _, AiCreditsState as a, useThemePreference as a$, type CreditTypeKey as a0, CreditsAction as a1, type CreditsIconState as a2, FuelAction as a3, type FuelChannelStatus as a4, MyProfileAction as a5, NavAppShell as a6, type NavAppShellProps as a7, NavBetaBanner as a8, type NavBetaBannerProps as a9, type ThemePreference as aA, TopBarCountBadge as aB, type TopBarIconTone as aC, TopBarLinkAction as aD, type TopBarLinkActionProps as aE, TopBarPanelArrow as aF, TopBarPopover as aG, TopBarTooltip as aH, TopBarWidgetSlot as aI, clearBetaBannerDismissal as aJ, creditGaugeRatio as aK, creditStateWord as aL, creditTooltipLine as aM, creditsAriaLabel as aN, creditsIconState as aO, envChipClasses as aP, isNavItemActive as aQ, modeIdFromLabel as aR, resolveOrgLogoUrl as aS, shortEnvLabel as aT, shortUserName as aU, standardPolitogyNav as aV, topBarIconButtonClass as aW, useChromeMe as aX, useChromeOrgs as aY, useNavChromeDedupedFetch as aZ, useNavChromeFetcher as a_, type NavBrand as aa, NavChromeProvider as ab, NavDisplayAction as ac, type NavLinkProps as ad, type NavLinkedAccount as ae, type NavModeOption as af, type NavOrg as ag, type NavRoleBadge as ah, NavSidebar as ai, type NavSidebarProps as aj, type NavTab as ak, NavTabStrip as al, type NavTabStripProps as am, NavThemeControl as an, NavTopBar as ao, type NavTopBarAction as ap, type NavTopBarProps as aq, type NavUser as ar, NotificationsAction as as, OrganizationSettingsAction as at, PageHeader as au, type PageHeaderMode as av, SPECS_ORIGIN as aw, SpecOverlayAction as ax, type StandardNavOptions as ay, SupportAction as az, type AiCreditsStateKind as b, type CommsNotification as c, type CommsNotificationKind as d, type HeaderTabBarItem as e, type NotificationsAdapter as f, type NotificationsFeed as g, RowMenuItem as h, type RowMenuPlacement as i, aiCreditsWalletUrl as j, createCommsNotificationsAdapter as k, emptyNotificationsFeed as l, rowMenuPosition as m, normalizeNotificationsFeed as n, type NavIcon as o, type NavBreadcrumb as p, type StandardNavMode as q, resolveTabGlyph as r, type NavLinkComponent as s, type NavChromeFetcher as t, type NavMode as u, type NavUserMenu as v, type NavOrgOption as w, type NavFooterLink as x, type NavFooter as y, type NavDisplayMode as z };
|
|
@@ -481,6 +481,8 @@ type ChromeOrgSummary = {
|
|
|
481
481
|
id: string;
|
|
482
482
|
name: string | null;
|
|
483
483
|
logoUrl: string | null;
|
|
484
|
+
/** Brand Kit icon mark (switcher list, collapsed rail). Chrome API ≥ contacts#425. */
|
|
485
|
+
iconUrl?: string | null;
|
|
484
486
|
brandColor: string | null;
|
|
485
487
|
role: string | null;
|
|
486
488
|
/** Un-mapped VRM-core membership role (e.g. "super_admin"). */
|
|
@@ -577,6 +579,23 @@ declare function useThemePreference(): {
|
|
|
577
579
|
value: ThemePreference;
|
|
578
580
|
setValue: (next: ThemePreference) => void;
|
|
579
581
|
};
|
|
582
|
+
type TopBarLinkActionProps = {
|
|
583
|
+
/** Accessible name and tooltip title. */
|
|
584
|
+
label: string;
|
|
585
|
+
/** One-line callout under the title in the tooltip. */
|
|
586
|
+
description: string;
|
|
587
|
+
href: string;
|
|
588
|
+
icon: NavIconLike;
|
|
589
|
+
};
|
|
590
|
+
declare function TopBarLinkAction({ label, description, href, icon: Icon }: TopBarLinkActionProps): react_jsx_runtime.JSX.Element;
|
|
591
|
+
/** Organization settings for the active org (Settings app, `org_id` tail). */
|
|
592
|
+
declare function OrganizationSettingsAction({ href }: {
|
|
593
|
+
href: string;
|
|
594
|
+
}): react_jsx_runtime.JSX.Element;
|
|
595
|
+
/** The user's Politogy ID profile (Left-Navigation §9.4), for the active org. */
|
|
596
|
+
declare function MyProfileAction({ href }: {
|
|
597
|
+
href: string;
|
|
598
|
+
}): react_jsx_runtime.JSX.Element;
|
|
580
599
|
|
|
581
600
|
/** Page header for apps with no react-router. Same view as the main entry. */
|
|
582
601
|
declare function PageHeader(props: PageHeaderProps): react_jsx_runtime.JSX.Element;
|
|
@@ -758,6 +777,12 @@ type NavItem = {
|
|
|
758
777
|
* rows on a lighter panel and support both `href` links and `onClick` actions.
|
|
759
778
|
*/
|
|
760
779
|
children?: NavItem[];
|
|
780
|
+
/**
|
|
781
|
+
* Kept in the tree (breadcrumbs, active-row matching, prefetch rules) but
|
|
782
|
+
* not drawn in the left bar. Ben 2026-11-04: My profile and Organization
|
|
783
|
+
* settings moved to the top bar, so the ACCOUNT section is rail-hidden.
|
|
784
|
+
*/
|
|
785
|
+
railHidden?: boolean;
|
|
761
786
|
};
|
|
762
787
|
type NavLinkProps = {
|
|
763
788
|
href: string;
|
|
@@ -1234,4 +1259,4 @@ type NavAppShellProps = {
|
|
|
1234
1259
|
};
|
|
1235
1260
|
declare function NavAppShell({ sidebar, topBar, betaBanner, contentWrapper, accountMenuPlacement, modeId, children, }: NavAppShellProps): react_jsx_runtime.JSX.Element;
|
|
1236
1261
|
|
|
1237
|
-
export { type CreditHealthState as $, AI_CREDITS_STATE_TITLES as A, type BreadcrumbBarProps as B, Card as C, BETA_BANNER_DISMISS_KEY as D, BreadcrumbBar as E, FormColumn as F, CAMPAIGN_FEATURE_AVAILABILITY as G, HeaderTabBar as H, CORE_APP_ORIGIN as I, CORE_BILLING_PATH as J, KNOWN_TAB_GLYPHS as K, CREDIT_TYPE_LABELS as L, CREDIT_TYPE_ORDER as M, type NavItem as N, type CampaignFeatureAvailability as O, type PageHeaderProps as P, type ChromeMe as Q, RowMenu as R, type StandardNavIconKey as S, type TabGlyphComponent as T, type ChromeNotificationAlert as U, type ChromeNotificationImport as V, type ChromeNotificationQuarantine as W, type ChromeNotificationReply as X, type ChromeNotificationsPayload as Y, type ChromeOrgSummary as Z, type CommunicationsFuelStatus as _, AiCreditsState as a, type CreditTypeKey as a0, CreditsAction as a1, type CreditsIconState as a2, FuelAction as a3, type FuelChannelStatus as a4,
|
|
1262
|
+
export { type CreditHealthState as $, AI_CREDITS_STATE_TITLES as A, type BreadcrumbBarProps as B, Card as C, BETA_BANNER_DISMISS_KEY as D, BreadcrumbBar as E, FormColumn as F, CAMPAIGN_FEATURE_AVAILABILITY as G, HeaderTabBar as H, CORE_APP_ORIGIN as I, CORE_BILLING_PATH as J, KNOWN_TAB_GLYPHS as K, CREDIT_TYPE_LABELS as L, CREDIT_TYPE_ORDER as M, type NavItem as N, type CampaignFeatureAvailability as O, type PageHeaderProps as P, type ChromeMe as Q, RowMenu as R, type StandardNavIconKey as S, type TabGlyphComponent as T, type ChromeNotificationAlert as U, type ChromeNotificationImport as V, type ChromeNotificationQuarantine as W, type ChromeNotificationReply as X, type ChromeNotificationsPayload as Y, type ChromeOrgSummary as Z, type CommunicationsFuelStatus as _, AiCreditsState as a, useThemePreference as a$, type CreditTypeKey as a0, CreditsAction as a1, type CreditsIconState as a2, FuelAction as a3, type FuelChannelStatus as a4, MyProfileAction as a5, NavAppShell as a6, type NavAppShellProps as a7, NavBetaBanner as a8, type NavBetaBannerProps as a9, type ThemePreference as aA, TopBarCountBadge as aB, type TopBarIconTone as aC, TopBarLinkAction as aD, type TopBarLinkActionProps as aE, TopBarPanelArrow as aF, TopBarPopover as aG, TopBarTooltip as aH, TopBarWidgetSlot as aI, clearBetaBannerDismissal as aJ, creditGaugeRatio as aK, creditStateWord as aL, creditTooltipLine as aM, creditsAriaLabel as aN, creditsIconState as aO, envChipClasses as aP, isNavItemActive as aQ, modeIdFromLabel as aR, resolveOrgLogoUrl as aS, shortEnvLabel as aT, shortUserName as aU, standardPolitogyNav as aV, topBarIconButtonClass as aW, useChromeMe as aX, useChromeOrgs as aY, useNavChromeDedupedFetch as aZ, useNavChromeFetcher as a_, type NavBrand as aa, NavChromeProvider as ab, NavDisplayAction as ac, type NavLinkProps as ad, type NavLinkedAccount as ae, type NavModeOption as af, type NavOrg as ag, type NavRoleBadge as ah, NavSidebar as ai, type NavSidebarProps as aj, type NavTab as ak, NavTabStrip as al, type NavTabStripProps as am, NavThemeControl as an, NavTopBar as ao, type NavTopBarAction as ap, type NavTopBarProps as aq, type NavUser as ar, NotificationsAction as as, OrganizationSettingsAction as at, PageHeader as au, type PageHeaderMode as av, SPECS_ORIGIN as aw, SpecOverlayAction as ax, type StandardNavOptions as ay, SupportAction as az, type AiCreditsStateKind as b, type CommsNotification as c, type CommsNotificationKind as d, type HeaderTabBarItem as e, type NotificationsAdapter as f, type NotificationsFeed as g, RowMenuItem as h, type RowMenuPlacement as i, aiCreditsWalletUrl as j, createCommsNotificationsAdapter as k, emptyNotificationsFeed as l, rowMenuPosition as m, normalizeNotificationsFeed as n, type NavIcon as o, type NavBreadcrumb as p, type StandardNavMode as q, resolveTabGlyph as r, type NavLinkComponent as s, type NavChromeFetcher as t, type NavMode as u, type NavUserMenu as v, type NavOrgOption as w, type NavFooterLink as x, type NavFooter as y, type NavDisplayMode as z };
|