@the-portland-company/shell 0.96.2 → 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 +12 -0
- package/dist/app-chrome.cjs +41 -624
- 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 +14 -23
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-537NZZVP.js → chunk-VAQNZD37.js} +32 -4
- package/dist/chunk-VAQNZD37.js.map +1 -0
- package/dist/{chunk-SKXBGQ33.js → chunk-WQR42AGC.js} +7 -6
- package/dist/chunk-WQR42AGC.js.map +1 -0
- package/dist/{index-HwDXhFOA.d.ts → index-BEMGfLpI.d.ts} +24 -1
- package/dist/{index-DJtKw0Fd.d.cts → index-BaUIPQpN.d.cts} +24 -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 +35 -3
- 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-537NZZVP.js.map +0 -1
- package/dist/chunk-SKXBGQ33.js.map +0 -1
|
@@ -579,6 +579,23 @@ declare function useThemePreference(): {
|
|
|
579
579
|
value: ThemePreference;
|
|
580
580
|
setValue: (next: ThemePreference) => void;
|
|
581
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;
|
|
582
599
|
|
|
583
600
|
/** Page header for apps with no react-router. Same view as the main entry. */
|
|
584
601
|
declare function PageHeader(props: PageHeaderProps): react_jsx_runtime.JSX.Element;
|
|
@@ -760,6 +777,12 @@ type NavItem = {
|
|
|
760
777
|
* rows on a lighter panel and support both `href` links and `onClick` actions.
|
|
761
778
|
*/
|
|
762
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;
|
|
763
786
|
};
|
|
764
787
|
type NavLinkProps = {
|
|
765
788
|
href: string;
|
|
@@ -1236,4 +1259,4 @@ type NavAppShellProps = {
|
|
|
1236
1259
|
};
|
|
1237
1260
|
declare function NavAppShell({ sidebar, topBar, betaBanner, contentWrapper, accountMenuPlacement, modeId, children, }: NavAppShellProps): react_jsx_runtime.JSX.Element;
|
|
1238
1261
|
|
|
1239
|
-
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 };
|
|
@@ -579,6 +579,23 @@ declare function useThemePreference(): {
|
|
|
579
579
|
value: ThemePreference;
|
|
580
580
|
setValue: (next: ThemePreference) => void;
|
|
581
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;
|
|
582
599
|
|
|
583
600
|
/** Page header for apps with no react-router. Same view as the main entry. */
|
|
584
601
|
declare function PageHeader(props: PageHeaderProps): react_jsx_runtime.JSX.Element;
|
|
@@ -760,6 +777,12 @@ type NavItem = {
|
|
|
760
777
|
* rows on a lighter panel and support both `href` links and `onClick` actions.
|
|
761
778
|
*/
|
|
762
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;
|
|
763
786
|
};
|
|
764
787
|
type NavLinkProps = {
|
|
765
788
|
href: string;
|
|
@@ -1236,4 +1259,4 @@ type NavAppShellProps = {
|
|
|
1236
1259
|
};
|
|
1237
1260
|
declare function NavAppShell({ sidebar, topBar, betaBanner, contentWrapper, accountMenuPlacement, modeId, children, }: NavAppShellProps): react_jsx_runtime.JSX.Element;
|
|
1238
1261
|
|
|
1239
|
-
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 };
|