@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/app-chrome.cjs +30 -5
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +6 -0
- package/dist/app-chrome.d.ts +6 -0
- package/dist/app-chrome.js +13 -4
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-CVBEBCID.js → chunk-HCJVMFLL.js} +20 -4
- package/dist/chunk-HCJVMFLL.js.map +1 -0
- package/dist/native.cjs +18 -2
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +7 -0
- package/dist/native.d.ts +7 -0
- package/dist/native.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-CVBEBCID.js.map +0 -1
package/dist/native.cjs
CHANGED
|
@@ -1569,9 +1569,25 @@ function NavSidebar({
|
|
|
1569
1569
|
org ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3", children: [
|
|
1570
1570
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between px-1", children: [
|
|
1571
1571
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[11px] font-semibold uppercase tracking-[0.08em] text-[color:var(--muted)]", children: "Organization" }),
|
|
1572
|
-
org.id ? /* @__PURE__ */ jsxRuntime.jsx(OrgIdCopyButton, { id: org.id }) : null
|
|
1572
|
+
org.id && !org.loading ? /* @__PURE__ */ jsxRuntime.jsx(OrgIdCopyButton, { id: org.id }) : null
|
|
1573
1573
|
] }),
|
|
1574
|
-
org.
|
|
1574
|
+
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: [
|
|
1575
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1576
|
+
"span",
|
|
1577
|
+
{
|
|
1578
|
+
"aria-hidden": true,
|
|
1579
|
+
className: "h-7 w-7 shrink-0 animate-pulse rounded-full bg-[color:var(--panel)]"
|
|
1580
|
+
}
|
|
1581
|
+
),
|
|
1582
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1583
|
+
"span",
|
|
1584
|
+
{
|
|
1585
|
+
"aria-hidden": true,
|
|
1586
|
+
className: "h-4 flex-1 animate-pulse rounded bg-[color:var(--panel)]"
|
|
1587
|
+
}
|
|
1588
|
+
),
|
|
1589
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Loading organization" })
|
|
1590
|
+
] }) : org.organizations && org.organizations.length > 0 && org.onSwitch ? /* @__PURE__ */ jsxRuntime.jsxs("details", { "data-nav-details": true, className: "group relative", children: [
|
|
1575
1591
|
/* @__PURE__ */ jsxRuntime.jsxs("summary", { className: "flex w-full cursor-pointer list-none items-center justify-between gap-2 rounded-md border border-[color:var(--line)] bg-[color:var(--panel-elevated)] px-2.5 py-2 text-left text-[color:var(--foreground)] shadow-sm transition hover:bg-[color:var(--panel)] [&::-webkit-details-marker]:hidden", children: [
|
|
1576
1592
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex min-w-0 items-center gap-2.5", children: [
|
|
1577
1593
|
/* @__PURE__ */ jsxRuntime.jsx(
|