@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.
@@ -2295,10 +2295,7 @@ function NavSidebar({
2295
2295
  ),
2296
2296
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col overflow-y-auto px-4 pb-2", children: [
2297
2297
  org ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3", children: [
2298
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between px-1", children: [
2299
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[11px] font-semibold uppercase tracking-[0.08em] text-[color:var(--sidebar-text-muted,var(--muted))]", children: "Organization" }),
2300
- org.id && !org.loading ? /* @__PURE__ */ jsxRuntime.jsx(OrgIdCopyButton, { id: org.id }) : null
2301
- ] }),
2298
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-2 flex items-center justify-between px-1", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[11px] font-semibold uppercase tracking-[0.08em] text-[color:var(--sidebar-text-muted,var(--muted))]", children: "Organization" }) }),
2302
2299
  org.loading ? /* @__PURE__ */ jsxRuntime.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: [
2303
2300
  /* @__PURE__ */ jsxRuntime.jsx(
2304
2301
  "span",
@@ -2326,14 +2323,17 @@ function NavSidebar({
2326
2323
  children: orgLogoSrc ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: orgLogoSrc, alt: "", className: "h-full w-full object-cover" }) : (org.name ?? "Org").slice(0, 2).toUpperCase()
2327
2324
  }
2328
2325
  ),
2329
- /* @__PURE__ */ jsxRuntime.jsx(
2330
- "span",
2331
- {
2332
- title: org.name ?? void 0,
2333
- className: "truncate text-sm font-semibold",
2334
- children: org.name ?? "No organizations"
2335
- }
2336
- )
2326
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex min-w-0 flex-col", children: [
2327
+ /* @__PURE__ */ jsxRuntime.jsx(
2328
+ "span",
2329
+ {
2330
+ title: org.name ?? void 0,
2331
+ className: "truncate text-sm font-semibold",
2332
+ children: org.name ?? "No organizations"
2333
+ }
2334
+ ),
2335
+ org.id && !org.loading ? /* @__PURE__ */ jsxRuntime.jsx(OrgIdCopyButton, { id: org.id }) : null
2336
+ ] })
2337
2337
  ] }),
2338
2338
  /* @__PURE__ */ jsxRuntime.jsx(ChevronDown, {})
2339
2339
  ] }),
@@ -2416,7 +2416,17 @@ function NavSidebar({
2416
2416
  children: orgLogoSrc ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: orgLogoSrc, alt: "", className: "h-full w-full object-cover" }) : (org.name ?? "Org").slice(0, 2).toUpperCase()
2417
2417
  }
2418
2418
  ),
2419
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-sm font-semibold", children: org.name ?? "No organizations" })
2419
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex min-w-0 flex-col", children: [
2420
+ /* @__PURE__ */ jsxRuntime.jsx(
2421
+ "span",
2422
+ {
2423
+ title: org.name ?? void 0,
2424
+ className: "truncate text-sm font-semibold",
2425
+ children: org.name ?? "No organizations"
2426
+ }
2427
+ ),
2428
+ org.id && !org.loading ? /* @__PURE__ */ jsxRuntime.jsx(OrgIdCopyButton, { id: org.id }) : null
2429
+ ] })
2420
2430
  ] }),
2421
2431
  /* @__PURE__ */ jsxRuntime.jsx(ChevronDown, {})
2422
2432
  ]
@@ -2549,7 +2559,7 @@ function NavSidebar({
2549
2559
  }
2550
2560
  )
2551
2561
  ] }, l.label)) }) : null,
2552
- footer.envLabel ? /* @__PURE__ */ jsxRuntime.jsxs(
2562
+ footer.envLabel && footer.envLabel.trim().toLowerCase() !== "production" ? /* @__PURE__ */ jsxRuntime.jsxs(
2553
2563
  "div",
2554
2564
  {
2555
2565
  "data-shell-meta": true,