@orangecheck/design 0.14.1 → 0.15.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.
- package/dist/chrome.d.mts +1 -0
- package/dist/chrome.d.ts +1 -0
- package/dist/chrome.js +20 -3
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +20 -3
- package/dist/chrome.mjs.map +1 -1
- package/dist/components.js +20 -3
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +20 -3
- package/dist/components.mjs.map +1 -1
- package/dist/index.js +20 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/components.mjs
CHANGED
|
@@ -1241,7 +1241,11 @@ function OcAccountMenu(props) {
|
|
|
1241
1241
|
// context (oc-www) can opt in incrementally.
|
|
1242
1242
|
roster: session.roster,
|
|
1243
1243
|
switchAccount: session.switchAccount,
|
|
1244
|
-
addAccountUrl: session.addAccountUrl
|
|
1244
|
+
addAccountUrl: session.addAccountUrl,
|
|
1245
|
+
// Structural read keeps the auth-client peer floor at
|
|
1246
|
+
// ^2.17.0 — `tabPinned` ships in 2.18.0 and is simply
|
|
1247
|
+
// undefined (no hint) on older providers.
|
|
1248
|
+
tabPinned: session.tabPinned
|
|
1245
1249
|
}
|
|
1246
1250
|
}
|
|
1247
1251
|
);
|
|
@@ -1270,7 +1274,8 @@ function OcAccountMenuView({
|
|
|
1270
1274
|
setDisplayIdentity,
|
|
1271
1275
|
roster,
|
|
1272
1276
|
switchAccount,
|
|
1273
|
-
addAccountUrl
|
|
1277
|
+
addAccountUrl,
|
|
1278
|
+
tabPinned
|
|
1274
1279
|
} = session;
|
|
1275
1280
|
const [hydrated, setHydrated] = useState(false);
|
|
1276
1281
|
const [open, setOpen] = useState(false);
|
|
@@ -1379,7 +1384,19 @@ function OcAccountMenuView({
|
|
|
1379
1384
|
/* @__PURE__ */ jsxs("div", { className: "border-border border-b p-3", children: [
|
|
1380
1385
|
/* @__PURE__ */ jsxs("div", { className: "text-primary mb-1 font-mono text-[10px] tracking-widest uppercase", children: [
|
|
1381
1386
|
"\xA7 signed in \xB7 ",
|
|
1382
|
-
hostname
|
|
1387
|
+
hostname,
|
|
1388
|
+
tabPinned ? /* @__PURE__ */ jsxs(
|
|
1389
|
+
"span",
|
|
1390
|
+
{
|
|
1391
|
+
className: "text-muted-foreground/70 normal-case",
|
|
1392
|
+
"data-oc-account-menu-tab-pin": "",
|
|
1393
|
+
title: "This tab keeps this account even if you switch accounts in another tab",
|
|
1394
|
+
children: [
|
|
1395
|
+
" ",
|
|
1396
|
+
"\xB7 this tab"
|
|
1397
|
+
]
|
|
1398
|
+
}
|
|
1399
|
+
) : null
|
|
1383
1400
|
] }),
|
|
1384
1401
|
/* @__PURE__ */ jsx(CopyableDid, { did: account.didOc }),
|
|
1385
1402
|
displayName ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground/80 mt-1 font-mono text-[10px] tracking-wide", children: displayName }) : null
|