@the-portland-company/shell 0.35.0 → 0.35.2

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
@@ -394,6 +394,13 @@ type NavOrg = {
394
394
  */
395
395
  organizations?: NavOrgOption[];
396
396
  onSwitch?: (id: string) => void;
397
+ /**
398
+ * The active org is still resolving from the chrome API. Renders a skeleton
399
+ * pill instead of a name. Required because the app's own workspace label is
400
+ * NOT the organization: showing it while the real org loads flashes a wrong
401
+ * value (Global Rules — async values shimmer, they never render a stand-in).
402
+ */
403
+ loading?: boolean;
397
404
  };
398
405
  type NavModeOption = {
399
406
  id: string;
package/dist/native.d.ts CHANGED
@@ -394,6 +394,13 @@ type NavOrg = {
394
394
  */
395
395
  organizations?: NavOrgOption[];
396
396
  onSwitch?: (id: string) => void;
397
+ /**
398
+ * The active org is still resolving from the chrome API. Renders a skeleton
399
+ * pill instead of a name. Required because the app's own workspace label is
400
+ * NOT the organization: showing it while the real org loads flashes a wrong
401
+ * value (Global Rules — async values shimmer, they never render a stand-in).
402
+ */
403
+ loading?: boolean;
397
404
  };
398
405
  type NavModeOption = {
399
406
  id: string;
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-CVBEBCID.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-HCJVMFLL.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.0",
3
+ "version": "0.35.2",
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,