@the-portland-company/shell 0.63.0 → 0.64.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.
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { broadcastLogout, watchLogout } from './chunk-LL6LSJAH.js';
3
- import { clearBetaBannerDismissal, standardPolitogyNav, isNavItemActive, NavAppShell, NavChromeProvider, FuelAction, NavDisplayAction, TopBarWidgetSlot, SpecOverlayAction, SupportAction, NotificationsAction, useChromeMe, useThemePreference, useNavChromeFetcher, useChromeOrgs } from './chunk-2SF25TVU.js';
3
+ import { clearBetaBannerDismissal, standardPolitogyNav, isNavItemActive, NavAppShell, NavChromeProvider, FuelAction, NavDisplayAction, TopBarWidgetSlot, SpecOverlayAction, SupportAction, NotificationsAction, useChromeMe, useThemePreference, useNavChromeFetcher, useChromeOrgs } from './chunk-LFLN5GD6.js';
4
4
  import './chunk-U4RZPZET.js';
5
5
  import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, isNavDisplayPreference, writeNavDisplayCookie, writeNavDisplayLocal, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-6UHJV2FH.js';
6
6
  import { resolveActiveOrg, isOrgId, writeActiveOrgCookie, ACTIVE_ORG_QUERY_PARAM, readActiveOrgCookie } from './chunk-W2HITMV5.js';
package/dist/chrome.css CHANGED
@@ -482,6 +482,7 @@
482
482
  win.
483
483
  --------------------------------------------------------------------------- */
484
484
  .topbar-widget-slot button {
485
+ position: relative !important;
485
486
  height: var(--topbar-icon-button-size, 32px) !important;
486
487
  min-height: var(--topbar-icon-button-size, 32px) !important;
487
488
  width: var(--topbar-icon-button-size, 32px) !important;
@@ -2195,10 +2195,7 @@ function NavSidebar({
2195
2195
  ),
2196
2196
  /* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col overflow-y-auto px-4 pb-2", children: [
2197
2197
  org ? /* @__PURE__ */ jsxs("div", { className: "mb-3", children: [
2198
- /* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between px-1", children: [
2199
- /* @__PURE__ */ jsx("p", { className: "text-[11px] font-semibold uppercase tracking-[0.08em] text-[color:var(--sidebar-text-muted,var(--muted))]", children: "Organization" }),
2200
- org.id && !org.loading ? /* @__PURE__ */ jsx(OrgIdCopyButton, { id: org.id }) : null
2201
- ] }),
2198
+ /* @__PURE__ */ jsx("div", { className: "mb-2 flex items-center justify-between px-1", children: /* @__PURE__ */ jsx("p", { className: "text-[11px] font-semibold uppercase tracking-[0.08em] text-[color:var(--sidebar-text-muted,var(--muted))]", children: "Organization" }) }),
2202
2199
  org.loading ? /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center gap-2.5 rounded-md border border-[color:var(--line)] bg-[color:var(--panel-elevated)] px-2.5 py-2 shadow-sm", children: [
2203
2200
  /* @__PURE__ */ jsx(
2204
2201
  "span",
@@ -2226,14 +2223,17 @@ function NavSidebar({
2226
2223
  children: orgLogoSrc ? /* @__PURE__ */ jsx("img", { src: orgLogoSrc, alt: "", className: "h-full w-full object-cover" }) : (org.name ?? "Org").slice(0, 2).toUpperCase()
2227
2224
  }
2228
2225
  ),
2229
- /* @__PURE__ */ jsx(
2230
- "span",
2231
- {
2232
- title: org.name ?? void 0,
2233
- className: "truncate text-sm font-semibold",
2234
- children: org.name ?? "No organizations"
2235
- }
2236
- )
2226
+ /* @__PURE__ */ jsxs("span", { className: "flex min-w-0 flex-col", children: [
2227
+ /* @__PURE__ */ jsx(
2228
+ "span",
2229
+ {
2230
+ title: org.name ?? void 0,
2231
+ className: "truncate text-sm font-semibold",
2232
+ children: org.name ?? "No organizations"
2233
+ }
2234
+ ),
2235
+ org.id && !org.loading ? /* @__PURE__ */ jsx(OrgIdCopyButton, { id: org.id }) : null
2236
+ ] })
2237
2237
  ] }),
2238
2238
  /* @__PURE__ */ jsx(ChevronDown, {})
2239
2239
  ] }),
@@ -2316,7 +2316,17 @@ function NavSidebar({
2316
2316
  children: orgLogoSrc ? /* @__PURE__ */ jsx("img", { src: orgLogoSrc, alt: "", className: "h-full w-full object-cover" }) : (org.name ?? "Org").slice(0, 2).toUpperCase()
2317
2317
  }
2318
2318
  ),
2319
- /* @__PURE__ */ jsx("span", { className: "truncate text-sm font-semibold", children: org.name ?? "No organizations" })
2319
+ /* @__PURE__ */ jsxs("span", { className: "flex min-w-0 flex-col", children: [
2320
+ /* @__PURE__ */ jsx(
2321
+ "span",
2322
+ {
2323
+ title: org.name ?? void 0,
2324
+ className: "truncate text-sm font-semibold",
2325
+ children: org.name ?? "No organizations"
2326
+ }
2327
+ ),
2328
+ org.id && !org.loading ? /* @__PURE__ */ jsx(OrgIdCopyButton, { id: org.id }) : null
2329
+ ] })
2320
2330
  ] }),
2321
2331
  /* @__PURE__ */ jsx(ChevronDown, {})
2322
2332
  ]
@@ -2449,7 +2459,7 @@ function NavSidebar({
2449
2459
  }
2450
2460
  )
2451
2461
  ] }, l.label)) }) : null,
2452
- footer.envLabel ? /* @__PURE__ */ jsxs(
2462
+ footer.envLabel && footer.envLabel.trim().toLowerCase() !== "production" ? /* @__PURE__ */ jsxs(
2453
2463
  "div",
2454
2464
  {
2455
2465
  "data-shell-meta": true,
@@ -3387,5 +3397,5 @@ function NavAppShell({
3387
3397
  }
3388
3398
 
3389
3399
  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, resolveOrgLogoUrl, standardPolitogyNav, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeFetcher, useThemePreference };
3390
- //# sourceMappingURL=chunk-2SF25TVU.js.map
3391
- //# sourceMappingURL=chunk-2SF25TVU.js.map
3400
+ //# sourceMappingURL=chunk-LFLN5GD6.js.map
3401
+ //# sourceMappingURL=chunk-LFLN5GD6.js.map