@the-portland-company/shell 0.75.1 → 0.76.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/dist/native.d.cts CHANGED
@@ -198,7 +198,9 @@ type ChromeOrgSummary = {
198
198
  * fetcher. Exposed as a hook so the org switcher in the sidebar and the
199
199
  * org-scoped widgets share one request.
200
200
  */
201
- declare function useChromeOrgs(): {
201
+ declare function useChromeOrgs({ enabled }?: {
202
+ enabled?: boolean;
203
+ }): {
202
204
  orgs: ChromeOrgSummary[] | null;
203
205
  loading: boolean;
204
206
  error: boolean;
@@ -246,8 +248,12 @@ declare function FuelAction({ orgId }: {
246
248
  declare function NotificationsAction({ orgId }: {
247
249
  orgId: string | null;
248
250
  }): react_jsx_runtime.JSX.Element;
249
- declare function SupportAction({ orgId }?: {
251
+ declare function SupportAction({ orgId, orgs: knownOrgs, }?: {
250
252
  orgId?: string | null;
253
+ orgs?: {
254
+ id: string;
255
+ name: string | null;
256
+ }[];
251
257
  }): react_jsx_runtime.JSX.Element;
252
258
  declare function SpecOverlayAction({ orgId, orgName }?: {
253
259
  orgId?: string | null;
package/dist/native.d.ts CHANGED
@@ -198,7 +198,9 @@ type ChromeOrgSummary = {
198
198
  * fetcher. Exposed as a hook so the org switcher in the sidebar and the
199
199
  * org-scoped widgets share one request.
200
200
  */
201
- declare function useChromeOrgs(): {
201
+ declare function useChromeOrgs({ enabled }?: {
202
+ enabled?: boolean;
203
+ }): {
202
204
  orgs: ChromeOrgSummary[] | null;
203
205
  loading: boolean;
204
206
  error: boolean;
@@ -246,8 +248,12 @@ declare function FuelAction({ orgId }: {
246
248
  declare function NotificationsAction({ orgId }: {
247
249
  orgId: string | null;
248
250
  }): react_jsx_runtime.JSX.Element;
249
- declare function SupportAction({ orgId }?: {
251
+ declare function SupportAction({ orgId, orgs: knownOrgs, }?: {
250
252
  orgId?: string | null;
253
+ orgs?: {
254
+ id: string;
255
+ name: string | null;
256
+ }[];
251
257
  }): react_jsx_runtime.JSX.Element;
252
258
  declare function SpecOverlayAction({ orgId, orgName }?: {
253
259
  orgId?: string | null;
package/dist/native.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, CORE_APP_ORIGIN, CORE_BILLING_PATH, FuelAction, NavAppShell, NavBetaBanner, NavChromeProvider, NavDisplayAction, NavSidebar, NavTabStrip, NavThemeControl, NavTopBar, NotificationsAction, SPECS_ORIGIN, SpecOverlayAction, SupportAction, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, resolveOrgLogoUrl, shortEnvLabel, shortUserName, standardPolitogyNav, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeFetcher, useThemePreference } from './chunk-AQMSMAK2.js';
2
+ export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, CORE_APP_ORIGIN, CORE_BILLING_PATH, FuelAction, NavAppShell, NavBetaBanner, NavChromeProvider, NavDisplayAction, NavSidebar, NavTabStrip, NavThemeControl, NavTopBar, NotificationsAction, SPECS_ORIGIN, SpecOverlayAction, SupportAction, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, resolveOrgLogoUrl, shortEnvLabel, shortUserName, standardPolitogyNav, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeFetcher, useThemePreference } from './chunk-WHF6YW27.js';
3
3
  export { FormColumn } from './chunk-MY6G3LMN.js';
4
4
  import './chunk-BHRVZPZ7.js';
5
5
  import './chunk-7YVJ7HQG.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-portland-company/shell",
3
- "version": "0.75.1",
3
+ "version": "0.76.0",
4
4
  "description": "Shared chrome (header, sidebar, footer, theme, auth) for politogy apps. Drop into any Vite SPA to inherit the politogy look and signed-in user.",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,