@the-portland-company/shell 0.35.2 → 0.35.4

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
@@ -235,10 +235,10 @@ interface CampaignFeatureAvailability {
235
235
  polling: boolean;
236
236
  }
237
237
  /**
238
- * Launch state at this shell version: Polling Engine (polls app) and Tribes
239
- * (Contacts app) are live; A2P, Phone Banking, Field Canvassing and Sign
240
- * Mapping are not yet deployed and stay hidden until their patch release flips
241
- * the flag.
238
+ * Launch state at this shell version: every Campaign feature is deployed and
239
+ * live (a2p / phonebank / canvass / signs .politogyvrm.com all serve the app
240
+ * behind SSO as of 2026-07-24), so no row is hidden. The flags remain so a
241
+ * future feature can ship dark, and so a caller can hide one per-deployment.
242
242
  */
243
243
  declare const CAMPAIGN_FEATURE_AVAILABILITY: CampaignFeatureAvailability;
244
244
  interface StandardNavOptions {
@@ -341,15 +341,6 @@ type NavLinkProps = {
341
341
  style?: CSSProperties;
342
342
  };
343
343
  type NavLinkComponent = ComponentType<NavLinkProps>;
344
- /**
345
- * Default active-route test. Handles three href shapes so the CURRENT app's
346
- * item + sub-item select correctly in the cross-app menu (HITL 2026-07-23):
347
- * - relative path: exact for "/", prefix otherwise (legacy behavior);
348
- * - absolute URL: active only when its host matches window.location.host,
349
- * then compared by path (and query, when the href carries one — e.g.
350
- * forms' /?tab=canvas sub-items);
351
- * - query-only relative hrefs likewise compare location.search.
352
- */
353
344
  declare function isNavItemActive(pathname: string, href: string): boolean;
354
345
  /**
355
346
  * Color-coded tone classes for the sidebar environment chip, matching the main
package/dist/native.d.ts CHANGED
@@ -235,10 +235,10 @@ interface CampaignFeatureAvailability {
235
235
  polling: boolean;
236
236
  }
237
237
  /**
238
- * Launch state at this shell version: Polling Engine (polls app) and Tribes
239
- * (Contacts app) are live; A2P, Phone Banking, Field Canvassing and Sign
240
- * Mapping are not yet deployed and stay hidden until their patch release flips
241
- * the flag.
238
+ * Launch state at this shell version: every Campaign feature is deployed and
239
+ * live (a2p / phonebank / canvass / signs .politogyvrm.com all serve the app
240
+ * behind SSO as of 2026-07-24), so no row is hidden. The flags remain so a
241
+ * future feature can ship dark, and so a caller can hide one per-deployment.
242
242
  */
243
243
  declare const CAMPAIGN_FEATURE_AVAILABILITY: CampaignFeatureAvailability;
244
244
  interface StandardNavOptions {
@@ -341,15 +341,6 @@ type NavLinkProps = {
341
341
  style?: CSSProperties;
342
342
  };
343
343
  type NavLinkComponent = ComponentType<NavLinkProps>;
344
- /**
345
- * Default active-route test. Handles three href shapes so the CURRENT app's
346
- * item + sub-item select correctly in the cross-app menu (HITL 2026-07-23):
347
- * - relative path: exact for "/", prefix otherwise (legacy behavior);
348
- * - absolute URL: active only when its host matches window.location.host,
349
- * then compared by path (and query, when the href carries one — e.g.
350
- * forms' /?tab=canvas sub-items);
351
- * - query-only relative hrefs likewise compare location.search.
352
- */
353
344
  declare function isNavItemActive(pathname: string, href: string): boolean;
354
345
  /**
355
346
  * Color-coded tone classes for the sidebar environment chip, matching the main
package/dist/native.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { CAMPAIGN_FEATURE_AVAILABILITY, CORE_APP_ORIGIN, CORE_BILLING_PATH, FuelAction, NavAppShell, NavBetaBanner, NavChromeProvider, NavDisplayAction, NavSidebar, NavTabStrip, NavThemeControl, NavTopBar, NotificationsAction, SupportAction, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, envChipClasses, isNavItemActive, standardPolitogyNav, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeFetcher, useThemePreference } from './chunk-HCJVMFLL.js';
2
+ export { CAMPAIGN_FEATURE_AVAILABILITY, CORE_APP_ORIGIN, CORE_BILLING_PATH, FuelAction, NavAppShell, NavBetaBanner, NavChromeProvider, NavDisplayAction, NavSidebar, NavTabStrip, NavThemeControl, NavTopBar, NotificationsAction, SupportAction, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, envChipClasses, isNavItemActive, standardPolitogyNav, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeFetcher, useThemePreference } from './chunk-HZXYGEEA.js';
3
3
  import './chunk-LL7RCJQN.js';
4
4
  //# sourceMappingURL=native.js.map
5
5
  //# sourceMappingURL=native.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-portland-company/shell",
3
- "version": "0.35.2",
3
+ "version": "0.35.4",
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,